Repository navigation
feat(notebooks,#13934): brancher-plusieurs-providers — 6 lectures ancrees aux sorties (1004->1394) - #14048
Merged
Conversation
…rees aux sorties (1004->1394) Enrichissement markdown-only ADDITIF : 6 cellules 'Lecture' lisent les sorties commitees qu'aucune cellule markdown ne lisait (catalogue qwen3.6-35b-a3b 8192/4096, poignee custom + env inexistant, ai_envs 2 entrees, bascule default_env vllm-secours puis vllm-local, purge reversible). Corrige le run de 4 cellules code consecutives [13]-[16]. Code byte-identique (12/12), zero re-execution (C.2/C.3 exception markdown). See #13934.
Contributor
Contributor
Golden-Set Execution (H.7 P3)✅ 8/8 notebooks passed (certified reproducible)
Pinned lockfile: |
Contributor
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grain: MED/notebook-python — lane myia-po-2027:CoursIA — prev: MED/notebook-dotnet #14043 (substance distincte : notebook Python d'API multi-provider AI Engine, et non GameTheory-05 C#)
Sujet
brancher-plusieurs-providers-par-l-api.ipynbsortait à 1004 c/cell (seuil 1200) et portait un run de 4 cellules code consécutives ([13]-[16]) sans aucune interprétation entre elles, plus les cellules [7]/[8]. Les sorties committées — 1 modèleqwen3.6-35b-a3b(8192/4096 tokens), poignéeprovider=custom, env inexistantFalse« Environment not found. »,ai_envs2 entrées après déclaration, basculedefault_env vllm-secourspuis remisevllm-local, purge — n'étaient lues par aucune cellule markdown.Ajout de 6 cellules markdown « Lecture » ADDITIVES, chacune ancrée aux valeurs committées qu'aucune autre cellule ne lit :
ai/models)qwen3.6-35b-a3b,features=['completion'], contexte 8192/4096, prix 0/0, tags['core','chat']— le catalogue comme source de véritéai/test_connection)success=True,provider=custom, 1 modèle ; env inventé →False« Environment not found. » — l'API valide l'envId, échec explicitevllm-secours)copy.deepcopydevllm-local,update=True,ai_envs→ 2 entrées — read-modify-write (contre-mesure du piège §4)['qwen3.6-35b-a3b'],connect True« Found 1 models. » — enveloppe de repli, même backenddefault_env vllm-local → vllm-secours → vllm-local,modelsuit l'env — inversion maîtriséeenvs final=['vllm-local'],default_env=vllm-local,module_embeddings=True, connexion OK — réversibilité du read-modify-write, instance sans état résiduelValidation
outputs+execution_count+metadatacomparés JSON-normalisés contreorigin/main, sanstext=True— pas de faux mojibake cp1252). Enrichissement markdown-only, exempt de re-exécution (C.2/C.3 exception modifs uniquement markdown) ; pre-commit H.3 passé (cellules code conserventexecution_count+outputs).pedagogy_density.py1004 → 1394 c/cell (seuil 1200 atteint, « 0 below ») ; 26 → 32 cellules ; 6 insertions, 0 deletions.detect_consecutive_code_cells.py: Run >= 2 = 0 — le run de 4 consécutives [13]-[16] est corrigé par cette PR (défaut pré-existant signalé, résolu en ajoutant l'interprétation manquante entre chaque cellule).detect_markdown_rendering.py0 violation ·detect_code_in_markdown_cells.py0 nouveau vs baseline (2) ·scan_cell_ordering.py0 finding ·check_interp_positioning.py0 finding.twin_pairs.dne référence ce notebook) ; catalogue intact (catalog-pr-hygiene).AI-Engine-WordPressà densité < seuil → les items basse-densité y sont déjà interprétés (auditer-la-conformite-visuelle : 843 c/cell = artefact 9273/11, interprétation complète) → pivot vers ce notebook, seul à détenir un vrai gap (run de 4 consécutives + sorties non lues). REFUS documenté de l'item 2 (auditer) sur l'issue Enrichissement AI-Engine-WordPress : 1 notebook restant sous la norme 1200 (parler-au-chatbot — po-2026) #13934, commentaire 5493162598.See #13934