Repository navigation
chore(translation,#4957): consolidate GenAI CSVs under translations/genai/ (Option A) - #6969
Merged
Merged
Conversation
…enai/ (Option A) The GenAI translation series lived in TWO layouts, seeded by different PRs/ agents: 3 consolidated CSVs (translations/genai/: finetuning, posttraining, texte) + 6 per-series CSVs (translations/genai-<serie>/: audio, casestudies, finetuning, image, texte, video). The 2 duplicated series (finetuning + texte) were double-counted by check_translation_sync.py translations (rglob *.csv checks both layouts) — 48 of 55 apparent repo drift was the same cells counted twice, not 48 independent drifts. Consolidation (uniform canonical layout translations/genai/<serie>.csv): - 4 git mv: genai-audio/genai-audio.csv -> genai/audio.csv, + casestudies, image, video (byte-identical renames, 0 content diff). - 2 git rm: genai-finetuning/genai-finetuning.csv + genai-texte/genai-texte.csv (duplicate copies of the consolidated finetuning.csv / texte.csv; confirmed identical content — finetuning sha256-equal, texte same 17548 records, just glob reordering, both resynced to 0 by #6951). - Remove 6 now-empty per-series dirs (README-only). - Rewrite translations/genai/README.md: 7 series table (audio/casestudies/ finetuning/image/posttraining/texte/video, 3310 cells), preserve per-series functional scope prose, pre-flight secret note, regen -o paths updated to consolidated layout. - Update translations/README.md index: tree (drop genai-*/ dirs, genai/ now 7 series), family table (consolidated GenAI paths + fix pre-existing serie-column bugs: FineTuning/PostTraining were tagged "GenAI/Texte/"), add 4 previously missing families (symbolicai-lean 1178, GenAI-CaseStudies 113, GenAI-Video 486, partner-course-quant-trading 198). Disk-truth recount: 33 CSV / 24254 cells (was stale "29 CSV / 22265"). Validation: - check_translation_sync.py translations: anomaly_count 4 (unchanged) — all 4 are pre-existing SRC_DRIFT on SVG-rollout notebooks (Infer-17/App-7b/MGS-15), NOT GenAI; 0 genai anomalies = no new drift from the move (CSV notebook paths are repo-relative, so a directory move is content-neutral). - 4 moved CSVs byte-identical to origin/main (sha256 verified). - 0 secret patterns across genai CSVs (pre-flight safe). - Catalog byte-identical to main (0 diff), no CATALOG-STATUS touch. See #4957 (partial — layout consolidation of the translation epic; does not close the epic which spans T3 motor). Decision GO by ai-01 (coord c.resume 2026-07-17T03:10Z). Co-Authored-By: Claude-Code <noreply@anthropic.com>
jsboige
commented
Jul 17, 2026
jsboige
left a comment
Owner
Author
There was a problem hiding this comment.
[Hermes] COMMENT — catalog hygiene consolidation, self-review cap (jsboige author = COMMENT only).
Vérifications passées :
- Security scan : 0 nouveau secret. Les 5 matches (
sk-abc...,OPENAI_API_KEY_*) sont tous sur lignes-(CSV supprimés) = contenu cellule notebook pré-existant, redacted samples pédagogiques, retirés par ce PR. - 4
git mv: diff montre0/0 additions/deletionssur les CSV renommés → byte-identique confirmé (cohérent avec claim sha256). - Table GenAI 7-séries : sommes cohérentes (1128+113+161+533+171+718+486 = 3310 ✓).
- Index
translations/README.md: 4 familles manquantes ajoutées, série-column bugs corrigés (FineTuning/PostTraining n'étaient plus taggésGenAI/Texte/), recount disk-truth (33 CSV / 24254 cells viacsv.reader).
Un point de vigilance (non bloquant) : le diff affiche 60 additions / 20505 deletions — explicable (deletion de 2 gros CSV dupliqués : texte 17548 lignes + finetuning 2689), mais suggère que le check_translation_sync.py continuera de reporter les 4 anomalies SRC_DRIFT pré-existantes sur les notebooks SVG-rollout (Infer-17, App-7b, MGS-15) — confirmé inchangé dans le PR body.
LGTM conceptuel. La consolidation élimine proprement le double-comptage drift phantom. RAS pour le merge côté layout.
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
Consolidates the duplicated GenAI translation CSV layout into one uniform canonical location (
translations/genai/<série>.csv), eliminating the drift double-count. Decision GO by ai-01 (coord c.resume 2026-07-17T03:10Z), option investigated firsthand by po-2025 c.556/c.560.Problem: GenAI series lived in two layouts — 3 consolidated (
translations/genai/: finetuning, posttraining, texte) + 6 per-series (translations/genai-<série>/: audio, casestudies, finetuning, image, texte, video). The checker globstranslations/**/*.csv→ the 2 duplicated series (finetuning + texte) were counted twice → 48 of 55 apparent repo drift was phantom (same cells, not 48 independent drifts).Changes
git mv×4genai-{audio,casestudies,image,video}/genai-*.csv→genai/*.csvgit rm×2genai-finetuning/genai-finetuning.csv,genai-texte/genai-texte.csvgit rm -r×6genai-*/dirs (README-only, now empty)translations/genai/README.md-opaths updatedtranslations/README.mdgenai-*/), family table (consolidated GenAI paths + fix pre-existing série-column bugs + add 4 missing families), disk-truth recountResult:
translations/genai/= 7 CSV (audio, casestudies, finetuning, image, posttraining, texte, video) + README.Validation (disk-truth, rule §E)
check_translation_sync.py translationsanomaly_count: 4unchanged — all 4 are pre-existing SRC_DRIFT on SVG-rollout notebooks (Infer-17 #6946, App-7b #6954, MGS-15 #6960), 0 genai anomalies (CSV notebook paths are repo-relative → directory move is content-neutral)translations/only (1 commit, 4 renames + 8 deletes + 2 README rewrites)Index disk-truth recount (translations/README.md)
The top-level index was stale on multiple axes — corrected in this PR:
csv.readerrecords (notwc -l, which over-counts multi-line quoted cells).symbolicai-lean(1178),GenAI-CaseStudies(113),GenAI-Video(486),partner-course-quant-trading(198).GenAI/Texte/(pre-existing error, §E) → nowGenAI/FineTuning/,GenAI/PostTraining/.Scope (atomique, catalog hygiene)
translations/only.See #4957(partial — layout consolidation of the translation epic; does not close the epic, which spans the T3 Argumentum motor).See #4957.