Repository navigation
Fix(lean,#15629): Lean-03b formalized logic -- encoding=utf-8 sur les 4 appels subprocess text=True - #19417
Conversation
… 4 appels subprocess text=True Le decodage cp1252 des pipes (locale Windows) faisait dependre l'executabilite de PYTHONUTF8=1 dans l'environnement du lanceur. Encodage explicite + re-exec complete (A/B preuve: outputs identiques sans PYTHONUTF8, 0 erreur). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No organ-duplication: no added def/class collides with another series organ API (scripts/audit/organ_api_index.yaml). Detector: |
|
✅ No prose/output mismatch detected in the notebooks this PR changed. Scope = notebooks CHANGED in this PR, not the whole corpus. Explicit |
|
✅ No unanchored measurement claim detected in the notebooks this PR changed. Scope = notebooks CHANGED in this PR, not the whole corpus. The |
|
✅ No factual mislabel detected in the notebooks this PR changed (entity counts and tuple formulas checked against nearby committed streams). Scope = notebooks CHANGED in this PR, not the whole corpus. The |
Golden-Set Execution (H.7 P3)✅ 9/9 notebooks passed (certified reproducible)
Pinned lockfile: |
Notebook outputs-required (H.4 schema): PASS (every code cell carries an
|
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
|
[ADJOINT PREFLIGHT] |
Grain: MED/notebook-python -- lane myia-po-2026:CoursIA -- prev: MED/notebook-python #19415
Summary — tapis #15629 (7/9)
Lean-03b-Formalized-Formal-Logic-Lean-Python.ipynb: les 4 appelssubprocess.run(..., text=True)sansencoding=décodent leurs pipes en cp1252 (locale Windows) — crash silencieux du thread lecteur ou mojibake selon l'environnement. Ajout deencoding="utf-8"sur les 4 appels (résolution du lakeformal_logic_lean×2,lake buildtimeout=1800, timeout=900).Diagnostic dérive
text=Truesansencoding=décode en cp1252 sous locale Windows ; l'exécution précédente dépendait dePYTHONUTF8=1dans l'environnement du lanceur — invisible dans le notebook.Preuve A/B (outputs inchangés par le fix)
env -u PYTHONUTF8 papermill ... -k python313PYTHONUTF8=1 papermill ... -k python313Comparaison par cellule (streams concaténés +
execute_resulttext/plain, normalisée pour la segmentation de flush stdout) : 0 cellule avec outputs différents.Validation
formal_logic_leanpréchauffé avant exécution (cache oleans natif : 8360 archives d'oleans décompressées, build 878 jobsFormalLogic.Bridge— pas de compilation mathlib depuis la source).py -3.13 -m papermill, kernelpython313(base language_info 3.13.7 — drift guard major.minor OK).execution_count+ outputs ; 0 erreur volontaire.See #15629
🤖 Generated with Claude Code