Skip to content

fix(data): strip Rules CSV BOM + clear 10 EN role-term garbles -> smooth talker - #330

Merged
jsboige merged 1 commit into
masterfrom
fix/csv-en-garbles-smooth-talker
May 22, 2026
Merged

fix(data): strip Rules CSV BOM + clear 10 EN role-term garbles -> smooth talker#330
jsboige merged 1 commit into
masterfrom
fix/csv-en-garbles-smooth-talker

Conversation

@jsboige

@jsboige jsboige commented May 22, 2026

Copy link
Copy Markdown
Contributor

Scope (ai-01) — fix-forward chirurgical, base master reelle b5605524

Correction de base : la premiere version de cette PR avait ete construite sur un master local perime (364569a0, pre-merges #303/#311/#320/#321/#322 du 2026-05-21). Rebasee et re-verifiee sur le master reel b5605524. Commit unique (59854365).

Ce que fait cette PR

  1. Strip du BOM UTF-8 sur Cards/Rules/Argumentum Rules - Cards.csv
    • Le fichier sur master commence par EF BB BF -> l'en-tete pk devient pk != pk -> CsvHelper charge 0 records.
    • Apres : le fichier commence par pk,Text,... (verifie xxd).
  2. 10 garbles de role EN -> smooth talker (residus que fix(rules): correct EN/PT contamination in Rules translations #320/fix(scenarii): correct PT contamination — replace FR role terms #321 n'avaient pas attrapes : corruptions a syllabe doublee baratinerer/baratinener/barater + peacher) :
    • Rules Text_en : ligne 524 (peacher), ligne 737 (baratinerer).
    • Scenarii context_en (8 cellules) : senateur, gladiateur, employe, 5G, journaliste, alliance, fidelite, vieil-ami.

Hors scope (po-2023, cell-by-cell re-run verifie)

  • Garbles PT : Rules ligne 283 (o baratinener), Scenarii Tom Thumb (o barater comeu) -> terme PT canonique (O Embromador).
  • Qualite plus profonde EN : By comming by the neighbor's left, this is a choice for my kittens, Saynet->saynete, etc.
  • 76 lignes RU/PT vides Scenarii.

Garanties chirurgicales

  • Phrases anglaises completes et uniques en remplacement -> les cellules PT (qui contiennent aussi barater) ne sont jamais touchees.
  • Ecriture binaire : pas de BOM reecrit, fins de ligne LF preservees, aucun CRLF introduit.
  • Diff equilibre 11/11 (Rules : 2 garbles + 1 ligne BOM ; Scenarii : 8 garbles).

Gate

  • Merge sur GO jsboige uniquement (NO PUSH master sans GO).
  • Lie au gate v0.9.0 (EN/RU/PT 100% complets + verifies).

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

@clusterManager-Myia clusterManager-Myia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

APPROVED — fix(csv): normalize residual EN garbles

What it does

Replaces residual garbled EN translations with correct terms in 2 CSV files:

  • Rules CSV: "peacher" → "smooth talker" (5 occurrences)
  • Scenarii CSV: "peacher" → "smooth talker" (5 occurrences)

"Smooth talker" is the correct translation of the French "baratineur" in the game context.

Concerns

None. Text-only change, no logic modification. Merge state dirty — likely a rebase is needed.

Same-owner → COMMENT event.

…oth talker

Surgical fix-forward on real master b560552 (prior PR #330 branch was built
on a stale local base; rebased here).

- Cards/Rules CSV: strip UTF-8 BOM (EF BB BF) that breaks CsvHelper header
  mapping (pk -> pk -> 0 records).
- 10 EN-column garbles -> "smooth talker" (residue #320/#321 missed:
  doubled-syllable corruptions baratinerer/baratinener/barater + peacher):
  Rules Text_en: lines 524 (peacher), 737 (baratinerer).
  Scenarii context_en: senator, gladiator, employee, 5G, journalist,
  alliance, loyalty, old-friend (8 cells).

Full unique English phrases used so PT cells (po-2023 scope: Rules 283,
Scenarii Tom Thumb) are untouched. No BOM written back, LF preserved,
balanced 11/11 diff.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jsboige
jsboige force-pushed the fix/csv-en-garbles-smooth-talker branch from 8a4f0bd to 5985436 Compare May 22, 2026 10:57
@jsboige jsboige changed the title fix(csv): normalize residual EN garbles to "smooth talker" fix(data): strip Rules CSV BOM + clear 10 EN role-term garbles -> smooth talker May 22, 2026

@clusterManager-Myia clusterManager-Myia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

APPROVED — strip BOM + clear EN garbles

Updated HEAD: BOM strip + more garble fixes. Text-only. Same-owner → COMMENT.

@jsboige
jsboige merged commit 144327e into master May 22, 2026
3 checks passed
@jsboige
jsboige deleted the fix/csv-en-garbles-smooth-talker branch May 22, 2026 23:19
jsboige added a commit that referenced this pull request May 23, 2026
#338 added a UTF-8 BOM (ef bb bf) to the Scenarii CSV header; master has
none (#330 deliberately stripped the Rules BOM for the same reason). The
BOM corrupts the first CsvHelper column name (path). Only the 3
leading bytes are removed; PT translation content unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

2 participants