Skip to content

chore(translation,#4957): consolidate GenAI CSVs under translations/genai/ (Option A) - #6969

Merged
jsboige merged 1 commit into
mainfrom
feature/genai-csv-consolidation-4957
Jul 17, 2026
Merged

jsboige merged 1 commit into
mainfrom
feature/genai-csv-consolidation-4957

Conversation

@jsboige

@jsboige jsboige commented Jul 17, 2026

Copy link
Copy Markdown
Owner

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 globs translations/**/*.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

Op Files Content
git mv ×4 genai-{audio,casestudies,image,video}/genai-*.csv → genai/*.csv byte-identical renames (sha256 verified)
git rm ×2 genai-finetuning/genai-finetuning.csv, genai-texte/genai-texte.csv duplicate copies of consolidated finetuning/texte (confirmed identical — finetuning sha256-equal; texte same 17548 records, glob reordering, both resynced to 0 by #6951)
git rm -r ×6 genai-*/ dirs (README-only, now empty) content folded into consolidated README
rewrite translations/genai/README.md 7-series table (3310 cells), per-series functional scope preserved, regen -o paths updated
update translations/README.md tree (drop genai-*/), family table (consolidated GenAI paths + fix pre-existing série-column bugs + add 4 missing families), disk-truth recount

Result: translations/genai/ = 7 CSV (audio, casestudies, finetuning, image, posttraining, texte, video) + README.

Validation (disk-truth, rule §E)

Check Result
check_translation_sync.py translations anomaly_count: 4 unchanged — 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)
4 moved CSVs byte-identical to origin/main (sha256)
2 removed dupes finetuning sha256-identical to consolidated; texte same 17548 records (glob reordering only)
Secret pre-flight 0 secret patterns across genai CSVs (gitleaks via CI)
Catalog byte-identity 0 diff (untouched), no CATALOG-STATUS touch
Scope 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:

  • Total: 33 CSV / 24254 cells (was "29 CSV / 22265"); counted via csv.reader records (not wc -l, which over-counts multi-line quoted cells).
  • 4 previously-missing families added: symbolicai-lean (1178), GenAI-CaseStudies (113), GenAI-Video (486), partner-course-quant-trading (198).
  • GenAI série-column bug fixed: FineTuning + PostTraining were tagged GenAI/Texte/ (pre-existing error, §E) → now GenAI/FineTuning/, GenAI/PostTraining/.

Scope (atomique, catalog hygiene)

  • Single subject (GenAI CSV layout consolidation), single commit, translations/ only.
  • No catalogue regen, byte-identical to main.
  • See #4957 (partial — layout consolidation of the translation epic; does not close the epic, which spans the T3 Argumentum motor).

See #4957.

…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 jsboige left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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 montre 0/0 additions/deletions sur 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és GenAI/Texte/), recount disk-truth (33 CSV / 24254 cells via csv.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.

@jsboige
jsboige merged commit 9a76547 into main Jul 17, 2026
11 checks passed
@jsboige
jsboige deleted the feature/genai-csv-consolidation-4957 branch September 2, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant