Repository navigation
chore(translation,#4957): resync SMT z3-api CSV drift (2 SRC_DRIFT -> 0) - #7103
Merged
Merged
Conversation
Sister PR c.580 (#7097, GenAI/Image 1 SRC_DRIFT). Ferme 2 SRC_DRIFT sur translations/smt/z3-api.csv (cell db8cd9f9 markdown + cell e3af6499 code), traces du refactor Plotly-CDN -> SVG inline (post-#6927 c.532-c.539 detector + #6942 SvgChartHelper + #6958 Overlay). Drift = 2 -> 0. G.1: 514 lignes d'autres notebooks preservees (L298 byte-identity). R3: 1 file, 23/44 (cell e3af6499 = code refactor substantive). See #4957
This was referenced Jul 17, 2026
Merged
This was referenced Jul 18, 2026
jsboige
added a commit
that referenced
this pull request
Jul 18, 2026
…> 0) (#7204) translations/genai/texte.csv : 8 SRC_DRIFT sur GenAI/Texte/5_RAG_Modern.ipynb. Infra traduction Epic #4957, resync pivot cols via extract_cells_to_csv.py --update. ## Cause du drift (timing verifie STABLE) Drift vient de la PR accents **MERGED** #7153 (commit 124090f "fix(genai,#2876): restore FR accents in 5_RAG_Modern markdown"). PAS de PR OPEN touchant 5_RAG_Modern (G.1 verify : gh pr list --search "5_RAG_Modern" count = 0). Resync stable, pas de re-drift au merge (lecon c.591 : drift MERGED = stable, drift OPEN = re-drift). ## Livrable 8 lignes rafraichies (pivot cols : src_hash/text_fr/hash_fr), 56 deja in-sync, 654 lignes d'autres notebooks preservees. Diff +32/-32 (multiline CSV fields, accents restaurés : generation -> génération, plutot -> plutôt, requete -> requête, etc.). ## Preuves | Preuve | Resultat | |--------|----------| | Drift pre-resync | 8 anomalies (5_RAG_Modern x8) | | Drift post-resync | 0 (check_translation_sync --check = OK) | | Parity rows | 718 = 718 (DictReader) | | OTHER rows byte-identity (654 rows) | sha1 d40e7d3b6f3b302656d8dd67fd9bf31e2bbc0b2f = unchanged | | Translation cols identity (TARGET 64 rows, 14 cols) | pre_dol == post_dol (single-process, cell_id-keyed 0 diff) | | Pivot cols changed (src_hash+hash_fr) | 8 = exactement les 8 SRC_DRIFT cells | | CRLF dans le diff | 0 (LF preserve, 17548 LF) | | R3 collision | gh pr list --search "5_RAG_Modern" = 0 OPEN (evite #7097 image, #7103+#7154 smt, #7104 search-part4) | ## Methode python scripts/translation/extract_cells_to_csv.py \ MyIA.AI.Notebooks/GenAI/Texte/5_RAG_Modern.ipynb \ --update translations/genai/texte.csv \ -o translations/genai/texte.csv # -> 8 ligne(s) rafraichie(s), 56 deja in-sync, 0 ajoutee(s), 654 preservees ## G.1 -- false-alarm resolved (single-process verification) Premier snapshot translation-cols (dict-of-list format, inline blocks dans 2 processus Python distincts) semblait montrer mismatch (MATCH TRANSL: False). Re-verification authoritative (C610-L1 ★ raffine) : single-process lisant git-show-HEAD vs worktree, cell_id-keyed per-cell tuple comparison = 0 translation-col diff, 8 pivot changes. Lecon L793-L1 : byte-identity verification MUST etre single-process + cell_id-keyed, PAS cross-inline-blocks (transient false-alarm). ## Anti-regression section D 0 notebook source modifie. 0 cellule output touchee. Resync CSV pivot cols uniquement (mecanique de tracking traduction). Translation cols preserved verbatim (preuve single-process DictReader diff = 0 sur les 14 colonnes). See #4957 (infra traduction CSV, Epic #1650). See #7153 (PR accents merged ayant cree le drift stable).
jsboige
added a commit
that referenced
this pull request
Jul 18, 2026
…t (3 SRC_DRIFT -> 0) (#7104) Sister PR c.580/c.581 (#7097 GenAI/Image, #7103 SMT/z3-api). Ferme 3 SRC_DRIFT sur translations/search-part4/search-part4.csv (cells mgs10-c08 MGS-10-CenterBias + 8ac959bc MGS-15-LandscapeAnalysis + c04 MGS-17-ParameterControl), traces du meme refactor Plotly-CDN -> SVG inline post-#6927. G.1: 386 lignes d'autres notebooks preservees (L298 byte-identity). R3: 1 file, 87/58 (3 cellules code refactor substantive). See #4957
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.
Summary
chore(translation,#4957): resync SMT z3-api CSV drift (2 SRC_DRIFT -> 0)
Sister PR c.580 (#7097, GenAI/Image 1 SRC_DRIFT) + 7 resyncs antérieurs (#6943 search-part1, #6929 iit, #6939 smt, #6945 genai-video, #6947 tweety, #6951 genai/texte, #7071 probas-decinfer). Ferme 2 SRC_DRIFT détectés par
scripts/translation/check_translation_sync.pysur la partitiontranslations/smt/z3-api.csv.Cible :
MyIA.AI.Notebooks/SymbolicAI/SMT/Z3-API/Z3-Python-06-Advanced-Optimization-Csharp.ipynb— 2 cells modifiées hors cycle CSV. Drift = 2 lignes.Root cause
Les cells
db8cd9f9(markdown) ete3af6499(code) du notebookZ3-Python-06-Advanced-Optimization-Csharp.ipynbont été modifiées lors du refactor Plotly-CDN → SVG inline (post-#6927 c.532-c.539 detector + #6942SvgChartHelper.csMERGED + #6958 Overlay primitive MERGED). Le CSV sync n'a pas suivi car aucun pipeline T1 (=extract_cells_to_csv.py --update) n'avait été ré-exécuté.Substance du refactor (dans la source notebook):
> Le twin C# utilise **Plotly** (rendu HTML via le formatteur builtin...)→> Le twin C# utilise **SVG inline** (rendu statique zero-dependance...).<script src="cdn.plot.ly/...">(BLANC en consultation statique GitHub/nbviewer/offline, cf detector feat(tools,#6927,#3801): Plotly-CDN static-render risk detector + plan 22 nb / 31 cells #6931) →SvgChartHelper.Overlay(...)zero-dependance (rend statique).Hash src dérive:
db8cd9f9: CSVfabd638e7d2a636f→ actuelcc88108996c0053ce3af6499: CSVdfbce36b7e1bff83→ actuelc2ab4bb72db36183G.1 firsthand verification
check_translation_sync.py translations/smt/z3-api.csvsrc_hashupdatedgit diff --statextract_cells_to_csv.py --updatereturnProcedure (reproducible)
Anti-regression §D PASS
sk-...literals leak. Diff = refactor Plotly-CDN → SVG inline (substance du refactor post-investigate(infer,#3801): jumeaux .NET Infer/DecInfer tracent en Plotly.js-CDN = blanc en rendu statique (8 nb), diverge du jumeau PyMC matplotlib #6927, déjà mergé dans le notebook source).Self-pick rationale (R6 anti-monotonie)
C.580 a livré PR #7097 (GenAI/Image 1 SRC_DRIFT). C.581 pivote vers SMT (registre Translation #4957 T2 distinct du c.580 GenAI/Image, registre #2876 accents c.579 antérieur, registre Lean docs c.576/c.577 antérieur). Le détecteur
check_translation_sync.pytrouve 141 SRC_DRIFT totaux sur 33 CSV ; ce PR ferme le 2ᵉ plus petit scope (2 hits sursmt/z3-api.csv) — atomique R3.Why SMT z3-api : track Translation #4957 T2 actif, fichier = SMT/Z3-API partition, 2 hits = 2ᵉ plus petit scope détecté. Permet ship 1 PR cleanly atomique sans collision (L679-L1 pré-flight a confirmé 0 PR active sur
translations/smt).Plan (NOT in this PR, since R3 atomique + R6 anti-monotonie) :
Caveats / post-merge follow-up
text_en/text_es/...déposés par T3 quand activés).References
--updatechirurgical.gh pr list --search.gh apiJSON payloads → file-based.Verdict
Atomic, R3-compliant, anti-regression-verified, secrets-clean. Diff = 1 file, 23 insertions(+), 44 deletions(-) — substance refactor Plotly-CDN → SVG inline héritée du notebook source. Detector confirms 0 drift post-fix. T2 resync = standard, deterministic, source-only refresh.