Repository navigation
fix(lean,#18053): tranche Lean -- DANGLING_INTRO Lean-01-Setup cell[3] + INTERP_BEFORE_CODE Lean-7b-Examples cell[21] - #19878
Conversation
…NTERP_BEFORE_CODE Lean-7b-Examples cell[21] Lean-01-Setup cell[3] : la phrase finale promettait le code « suivant » mais cell[4] est la table des plateformes (markdown) ; reformulee pour nommer la position reelle du bloc de diagnostic (cell[5]). Lean-7b-Examples cell[21] : « Interpretation de la solution » decrivait correction_loop_solution, definie nulle part avant elle (grep dossier Lean : 0 definition) -- l'Exercice 2 qui la vise est 11 cellules plus bas. Titre et chapeau reformules : presentation prospective de l'architecture attendue, plus lecture d'une sortie inexistante. Markdown-only : cellules code byte-identiques (8+11), ids preserves, pas de re-execution due (C.3). scan_cell_ordering : 2 findings MED elimines ; residuel LOW SECTION_GAP 7.7 hors scope (numerotation, pas ordre code/interp). Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Notebook outputs-required (H.4 schema): PASS (every code cell carries an
|
|
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 |
|
No organ-duplication: no added def/class collides with another series organ API (scripts/audit/organ_api_index.yaml). Detector: |
Golden-Set Execution (H.7 P3)✅ 9/9 notebooks passed (certified reproducible)
Pinned lockfile: |
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-2 -- prev: DEEP/notebook-python #19773
fix(#18053): tranche Lean -- DANGLING_INTRO Lean-01-Setup + INTERP_BEFORE_CODE Lean-7b-Examples
See #18053 (audit du 27/09, ordre code/interpretation). Tranche 2/9 du dispatch ai-01 tapis central 06/10 (apres la tranche GameTheory PR #19773).
2 constats CONFIRMED firsthand (G.9, re-verification sur main vif avant edition)
Lean-01-Setup-Lean-Python cell[3] (DANGLING_INTRO, 3/3) : la cellule se terminait par « Executez la cellule suivante pour diagnostiquer votre environnement : » mais la cellule suivante [4] est le markdown « Plateformes supportees » ; le bloc de code de diagnostic est en cell[5]. Fix = reformulation (pattern fix(notebooks,#18053): Argumentation-08b -- la note technique pointe sa vraie cible #18535) : la phrase nomme la position reelle du bloc « Diagnostic complet de l'environnement Lean 4 », la promesse d'une cellule suivante code disparait.
Lean-7b-Examples-Python cell[21] (INTERP_BEFORE_CODE, 3/3) : « ### Interpretation de la solution » decrivait la fonction
correction_loop_solution-- qui n'est definie NULLE PART avant elle (grep du dossier Lean : 0 definition, seules 2 references, cell[21] et les consignes de l'Exercice 2 en cell[32]). L'exercice qui la vise vient 11 cellules plus bas. Fix = reformulation titre + chapeau : « Architecture de la boucle de correction », presentation prospective de la cible de l'Exercice 2, plus lecture d'une sortie inexistante. Le corps (tableau, note pedagogique) est conserve tel quel.Perimetre
Verifications pre-commit
scan_cell_ordering.pypost-edition : Lean-01-Setup 1 clean, 0 findings ; Lean-7b-Examples le finding MED INTERP_BEFORE_CODE elimine, residuel LOW SECTION_GAP 7.7 (numerotation de sections) hors scope de l'issue.detect_md_content_loss.py --base origin/main --head HEAD: findings=0 sur les 2 carnets (normalized_chars identiques).Conformite
Suite de la file dispatch (ai-01 tapis central 06/10)
🤖 Generated with Claude Code