Repository navigation
fix(notebook-lean,#18329): regenerer Lean-9 sous python3-lean (CPython 3.13.15) - #18340
Conversation
…n 3.13.15) Switch kernelspec de python3 (3.11.9) a python3-lean (3.13.15).
|
No organ-duplication: no added def/class collides with another series organ API (scripts/audit/organ_api_index.yaml). Detector: |
Notebook outputs-required (H.4 schema): PASS (every code cell carries an
|
|
Scope = notebooks CHANGED in this PR, not the whole corpus. Explicit |
|
Grain tag obligatoire (#10045, bloquant).
Pour passer ce gate, le body doit porter en tete une ligne de la forme : Le |
Golden-Set Execution (H.7 P3)✅ 8/8 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] Secretaire verificateur (myia-po-2026:CoursIA-3), 29/09 04:28Z -- Dossier tiers READY a tete exacte
|
Grain: DEEP/notebook-lean -- lane myia-po-2027:CoursIA-2 -- prev: DEEP/notebook-lean #18236
PR body — fix(notebook-lean,#18329): regenerer Lean-9 sous python3-lean (CPython 3.13.15)
Issue
#18329 — Suivi de #17476 (PyMC kernels dérive diagnostic + fork Lean-9 regen) : carnet
MyIA.AI.Notebooks/SymbolicAI/Lean/Lean-9-SK-Multi-Agents.ipynbporte un kernelspecpython3-leaninadéquat (kernel historique), language_info3.11.x. Régénération sous python3-lean CPython 3.13.15 demandée pour aligner les kernels de la série Lean Python.Diagnostic dérive
Type : KERNEL drift (couvert par
check_kernel_drift.py, voirCANONICAL_LANGUAGE_TRANSITIONS).python3python3-leanPython 3Python 3 (Lean)pythonpython(inchangé)3.11.x3.13.15La transition Python 3.11 → 3.13 n'est pas dans la table canonique de
check_kernel_drift.py(seul C# 12→13 l'est). C'est une transition supportée par CPython (versions stables), pas une régression, mais l'organe a besoin du diagnostic explicite pour la blanchir.Verdict :
CAUSE_FIXED— la cause du drift était la persistance d'un kernelspec antérieur à la migration Python 3.13 de la série Lean Python. La régénération souspython3-lean3.13.15 aligne le carnet sur le runtime canonique de la série.Cause technique : exécution du carnet via Papermill avec
python3-leankernel (le kernel local installé pour la série Lean). Le passageipykernel install --user --name python3-leana été vérifié surMyIA.AI.Notebooks/SymbolicAI/Lean/(ipykernel install --user --name python3-lean --display-name "Python 3 (Lean)").Environnement d'exécution :
ANTHROPIC_API_KEYet autres secrets chargés depuis.secrets/master.env(gitignored), propagés viaos.environau kernel Papermill. Vérification pre-exec : clé présente (echo $ANTHROPIC_API_KEYnon-vide après load).Exécution
Semantic drift observé (8 cellules)
Aucun de ces drifts n'affecte le contenu pédagogique ni la reproductibilité du carnet (kernel/runtime/kernel-spec aligned sur la cible). Le scan ratchet kernel/signature rend
OK.Périmètre
1 fichier :
MyIA.AI.Notebooks/SymbolicAI/Lean/Lean-9-SK-Multi-Agents.ipynb(1084 lignes, +541/-543).Substance
DEEP/notebook-lean — grain de CONTENU. Couvre une instance KERNEL drift identifiée par ai-01 comme le périmètre de fond du suivi #17476 (créé depuis mon dossier 27/09 c.1297).
Demande
Re-tampon + merge. La substance est un notebook exécuté end-to-end (C.2), sans erreur volontaire (C.1), avec diagnostic dérive écrit (C.5).
🤖 Generated with Claude Code