Repository navigation
chore(translation,#4957): resync genai-texte CSV drift (8 SRC_DRIFT -> 0) - #7204
Merged
Merged
Conversation
…> 0) 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).
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.
Contexte
translations/genai/texte.csv: 8 SRC_DRIFT sur GenAI/Texte/5_RAG_Modern.ipynb. Infra traduction Epic #4957, resync pivot cols viaextract_cells_to_csv.py --update. Famille FRAÎCHE po-2025 (GenAI/Texte — première traduction GenAI sur cette lane).Cause du drift (timing vérifié STABLE)
Drift vient de la PR accents MERGED
124090f3e(#7153 "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"= 0). Resync stable, pas de re-drift au merge (leçon c.591 : drift MERGED = stable, drift OPEN = re-drift).Livrable
8 lignes rafraîchies (pivot cols :
src_hash/text_fr/hash_fr), 56 déjà in-sync, 654 lignes d'autres notebooks préservées byte-identique. Diff +32/-32 (multiline CSV fields — accents restaurés :generation→génération,plutot→plutôt,requete→requête,caracteres→caractères,précèdent/consécutifs/résultat).Preuves
check_translation_sync --check= OK)d40e7d3b6f3b302656d8dd67fd9bf31e2bbc0b2f= unchangedpre_dol == post_dol(single-process, cell_id-keyed 0 diff)gh pr list --search "5_RAG_Modern"= 0 OPEN (évite #7097 image, #7103+#7154 smt, #7104 search-part4)Méthode
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) rafraîchie(s), 56 déjà in-sync, 0 ajoutée(s), 654 préservéesG.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). Root cause : snapshot cross-process transitoire. Re-vérification authoritative (C610-L1 ★ raffiné) : single-process lisantgit show HEADvs worktree, cell_id-keyed per-cell tuple comparison = 0 translation-col diff, 8 pivot changes. Leçon L793-L1 : byte-identity verification MUST être single-process + cell_id-keyed, PAS cross-inline-blocks (transient false-alarm → HOLD inutile).Anti-régression §D
0 notebook source modifié. 0 cellule output touchée. Resync CSV pivot cols uniquement (mécanique de tracking traduction). Translation cols preserved verbatim — preuve single-process DictReader diff = 0 sur les 14 colonnes traduction.
See #4957 (infra traduction CSV, Epic #1650). See #7153 (PR accents merged ayant créé le drift stable).