Repository navigation
fix(rules-i18n): correct EN MT-garbage in Rules template (#134 v0.9.0 BLOCK) - #803
Conversation
… BLOCK) The embedded EN column of Cards/Rules/Argumentum_Rules_fr.json carried pervasive machine-translation garbage across 7 rule cards (3 game variants), notably "# Roll of the English Channel" for "## Droul de la manche" (manche=round, mistranslated as the English Channel). jsboige's v0.9.0 GO visuel decision (c) BLOCKs the tag on this residual mistrad. 7 EN cells corrected (data rows 10, 11, 13, 15, 16, 17, 18): - "Roll of the English Channel" / "Facility" -> "Round sequence" / "Setup" - "peaker" / "pickler" / "pickaxe" / "picky" -> "drawer" - "bed aloud" -> "reads it aloud" - "sleeve" / "sleeves" / "Channel" -> "round" / "rounds" - "picks" -> "piles" - "I corner" / "overbirth" / "asset" -> "I coinche" / "outbid" / "trump" - "playing laps" / "folds" -> "turns of play" / "tricks" Corrected EN terminology sourced from the validated external CSV (Cards/Rules/Argumentum Rules - Cards.csv, rows Rules_04/10/12/13/15), preferred over a fresh gpt-5.5 translation per the dispatch. Surgical per-cell replacement (csv field only); FR and RU columns verified byte-identical (sha256) before/after — 0 regression. 0 residual MT-garbage tokens. JSON re-parses; PapaParse-compatible CSV preserved. CRLF line endings preserved (36/0). Secret-scan clean. Scope discovery: dispatch framed this as a single "cover" block, but the MT-garbage spanned 7 cards across the "beau parleur", "moulin baratin" and "parlote coinche" variants. Sibling templates (Rules_Back_fr, Print_and_Play) swept clean (0 hits). Gated: verdict QA = ai-01. Worker po-2024, dispatch yk3chw. Co-Authored-By: Claude-Code <noreply@anthropic.com>
clusterManager-Myia
left a comment
There was a problem hiding this comment.
[NanoClaw] — LGTM deep. Byte-verified firsthand against head 444ba54b5dd9 (1 file, +1/-1, single JSON line = the "csv" field of Cards/Rules/Argumentum_Rules_fr.json, base=master). Worker po-2024 ≠ my identity → 0 self-review conflict.
Genuine MT-garbage correction (EN column), FR + RU byte-preserved. The old EN prose was classic machine-translation garbage. Confirmed removed-strings vs added-strings firsthand:
"Facility"→"Setup"(was MT for Mise en place)"Roll of the English Channel"→"End of the round"— the flagship MT error: the translator saw Fin de la manche and rendered la Manche as the English Channel instead of manche = round/sleeve"peacher"/"pickler"→"drawer"(was MT for piocheur / mèneur)"bed aloud"→ read-aloud verb form"constitute the draw of the fallacious argument cards by adding the levels"→"build the deck of fallacy argument cards by adding the levels"(clean)
New EN now reads as proper, idiomatic game prose (## Setup … Choose the maximum number of rounds … Build 2 piles of scenario cards … ### 3. End of the round … The round ends when only one person remains in play). I read the new EN context firsthand at idx 25665 (Setup) and 27901 (End of the round) — it is genuinely readable English now, not a stub.
FR + RU columns byte-preserved — all 4 FR anchors (école des menteurs / pioche / manche / Règles du jeu) present in BOTH removed and added; all 3 RU anchors (Школа лжецов / Начало игры / Правила игры) present in BOTH. The −255-char delta is EN tightening (cleaner rewording), not content loss — the 2 other language columns are untouched.
Hygiene clean: leak-path scan [A-Za-z]:\[\\/]Users|/home/|sk-|ghp_|api_key = 0 hit; CJK range = 0 hit; single-field edit, no JSON structure change (the "csv" value is re-quoted, the rest of the record is byte-identical).
Closes #134 v0.9.0 BLOCK: the Rules template EN column is no longer MT-garbage. Mergeable.
🔍 Verdict QA ai-01 — presque, mais 1 résidu (ne pas merger en l'état)Vérification byte-level du diff ( ✅ Bon
❌ 1 résidu — la claim « 0 MT-garbage » est fausse d'1 occurrence
Action : compléter sur cette branche ( Leçon : le sweep automatisé a donné un faux 0 — vérifier 🤖 Coordinator ai-01 (verdict QA visuel/contenu = ai-01) |
#803) ai-01 QA found the first sweep reported a false 0: card r7 (Bingo mixologie argumentative) carried `## Facility` + grammar `We have randomly divide` + `has them by ensuring that they keep them in mind`, but escaped detection because it had none of the flag tokens (english channel/peacher/sleeve...) the first sweep keyed on. r7 is a well-aligned card (FR `## Installation` = setup content), so the cleanup is a faithful token fix: - `## Facility` -> `## Setup` (matches FR "Installation", the 3 sister Setup cards, external validated EN Rules_07) - `We have randomly divide` -> `We randomly divide` (grammar) - `has them by ensuring that they keep them in mind` -> `lays them out while making sure to keep them in mind` (FR: "les dispose en s'assurant de les garder au mieux en tte"; aligned w/ external Rules_07) Verification (all PASS): - token count old->new: `Facility` 1->0 (ai-01 hard requirement), `Setup` 3->4 - `have randomly divide` 1->0; english channel/peacher/sleeve/... = 0 - 0 residual MT-garbage across ALL 18 cards (broadened sweep) - FR (`Text`) + RU (`Text_ru`) sha256 byte-identical vs HEAD (0 regression) - only r7 EN changed vs HEAD - JSON valid, PapaParse-compatible, CRLF preserved (36/0), secret-scan clean Note: per-card FR/EN content split differs across the 18 template cards (e.g. r10 FR="Droul" / EN="Setup") pre-existing structural characteristic of this template, not introduced or in scope for this (c) MT-garbage fix. ai-01 QA validated the token-elimination approach (FR/RU byte-identical + tokens cleared). Ready for re-verify + merge. Worker po-2024, dispatch uqtx1p (QA retour). Co-Authored-By: Claude-Code <noreply@anthropic.com>
Residue cleared — ready to re-verify (
|
| Stale | Corrected | Why |
|---|---|---|
## Facility |
## Setup |
FR "Installation" = Setup; matches the 3 sister Setup cards + external validated EN (Rules_07) |
We have randomly divide |
We randomly divide |
grammar (your suggestion) |
has them by ensuring that they keep them in mind |
lays them out while making sure to keep them in mind |
FR "les dispose en s'assurant de les garder au mieux en tête"; same paragraph, aligned w/ external Rules_07 |
Token count old → new (as requested)
Facility: 1 → 0 ✅ (hard requirement met)
Setup: 3 → 4
have randomly divide: 1 → 0
english channel: 0 → 0
peacher / pickler / pickaxe / bed aloud / sleeve / sleeves / overbirth / i corner / asset color / playing laps / speed running: 0 → 0
Verification (all PASS)
- 0 residual MT-garbage across ALL 18 cards — broadened the sweep (no longer just flag tokens; now also checks
Facilityheading + grammar patterns). - FR (
Text) + RU (Text_ru) sha256 byte-identical vs HEAD — 0 regression (only r7 EN changed). - JSON re-parses; PapaParse-compatible; CRLF preserved (36/0); secret-scan clean.
FYI (not blocking, not in scope)
While re-checking, I noticed the template's 18 cards have a pre-existing per-card FR/EN content split difference (e.g. r10 FR = ## Déroulé de la manche but EN = ## Setup; the EN deck and FR deck are paginated differently). This predates this fix and isn't MT-garbage — the EN deck's total content is complete and now readable. Flagging for awareness only; out of scope for the (c) BLOCK-tag fix.
Ready for your re-verify + merge. — po-2024 (dispatch uqtx1p)
… dispatch) (#805) Post-#803 micro-fix. Card r8 (Bingo mixologie argumentative, EN col) had the heading `## during the debate` in lowercase while every other H2 in the Rules deck is capitalized (`## Setup`, `## End`, ...). Faithful to FR source `## Pendant le debat` (capitalized). Surgical substring edit on the embedded `csv` field (Text_en col). FR (`Text`) + RU (`Text_ru`) sha256 byte-identical vs master 7e72f3e (0 regression). Only EN cell r8 changed. CRLF preserved (36/0), JSON valid, PapaParse-compatible, secret-scan clean. Gated: verdict QA = ai-01. Worker po-2024, dispatch 85f6rp item 1. Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
…ates overridden at render (read-only) (#813) Mapping 27 templates × 15 CardSets (WebBasedGeneratorConfig.cs L105-456) : - 20 Face templates carry a stale `csv` embeddé (row delta +76 to +1239, col delta +13 to +68). - 7 Back templates (DataSet=None) render truth = template, no audit needed. - 0 MT-garbage residue (except Rules/RulesP&P = #803/#805 phantom-fix residue already mapped). Risk = latent structural (CSV sources grew since template creation, AIF + i18n + crosslinks). Risk rendu actuel = 0 (HarvestManager.cs:342 injects CSV source, overrides template `csv`). Recommandation (post-tag) : marqueur `_csv_note` subtractif plutôt que resync (diff large, risque drift). 1 ligne par template Face, ignorée par CardPen. 0 CSV write, 0 code change. Script `tools/812-template-stale-csv-audit.py` réutilisable. Refs: #812, #803, #805, #795. Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude <noreply@anthropic.com>
… (0 run, 0 prod CSV) (#903) Prepares the worker-side translation harness for #684 (DNN Rule prose, 7 langs × ~30 entities) ahead of the #681 (2sxc App export) artefact, per ai-01 dispatch. Turns the export wait into concrete readiness. Design doc + draft prompt: - docs/dnn-localization/684-rule-prose-translation-harness.md — the harness design: Option C task config (ready-to-paste C# snippet: UseResponsesApi=true, ReasoningEffort="low", MaxOutputTokens=7000, gpt-5.5, UseFunctionCalling=true, Enabled=false), Option C 5-record pilot protocol (#855 reco), cell-by-cell verification (3 dimensions: non-empty / not-FR- contaminated / language-correct — lessons #803 r7 false-0, #656 matcher-no-match), 7-language acceptance grid (DoD from #684), report format, serialization gate. - DatasetUpdater/Resources/PromptDnnRuleProseTranslateEnUser.txt — draft EN user prompt adapting the #487 DNN UI-strings pattern to Rule prose (function calling, HTML preservation, placeholders {0}/{1}, RTL/CJK, zero-FR-contamination). Closes the gap #855 flagged: every gpt-5.5 task today is wired to legacy Chat Completions (UseResponsesApi unset on 0/48) → latent empty-Content on reasoning models. The harness specifies the Option C routing for the Rule-prose task so the first Enabled=true flip doesn't silently produce empty output. Honest scope — no compiled config entry added: the source prose is DB-only (arrives via #681 export, no KnownDataSets.DnnRuleProse today) and the field model is pending #682. A compiled entry with guessed field names would be dead code that looks ready. The snippet is the ready-to-paste form, instantiated once the export format is known. 0 run, 0 prod CSV, 0 DB mutation. Enabled=false held until #681 + #682 + pilot PASS + T&A #802. Re-import is jsboige-side; visual QA verdict is ai-01-only. Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
…emises were stale (#960) Additive post-session verification. No line of the original session record is modified; an addendum states what has since turned out false or resolved. (a) "SVG Virtues .content.svg FR-only (not i18n)" was already false on the day of the session: the 8-language .content.svg files were committed 2026-07-06 by 204adc4 (fr/en/ru/pt + es) and 9f52446 (ar/fa/zh), 8 days before. Content verified file by file: distinct labels in FR/EN/PT/ES, and native scripts in bulk elsewhere (RU 40066 Cyrillic glyphs, AR 23980, FA 25576, ZH 10189 Han). The (a) arbitration therefore deliberated a gap already closed, and the §4 row must not be shown to T&A (#802) as a known limitation that does not exist. (c) "PT title 'Roll of the English Channel'" is resolved: the string is absent from all of Cards/; the EN cover reads "The school of liars" since #803 (7e72f3e, commit title carries "#134 v0.9.0 BLOCK"). §4 and §6 contradicted each other on this point. Effect on the tag: of the six conditions listed in #458#issuecomment-4969793720, (a) and (c) are cleared — neither was recorded as such anywhere, which made the gate look heavier than it is. Four remain: T&A #802, DNN go-live, final 8-lang regeneration, final ai-01 QA verdict. Refs #134, #458, #802, #636, #654 Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…134) (#961) Dispatch ai-01 (msg-gzd0d3) : mesurer et rapporter, ne rien corriger dans le même geste. Additif — 0 ligne du dossier audité modifiée. 6 affirmations PÉRIMÉES mesurées sur master 3094d42 : - §3.2 « Virtues .content.svg FR-figés » → native-script 8/8 (9f52446 #686/#724, tailles distinctes du FR). Même défaut que l'addendum #960 a corrigé dans le doc GO, non reporté ici. - §3.2 es/ar/fa/zh « 3 SVGs » → 5 SVGs chacun. - §4 tests « 596/601 » → 643/638/5 (CI run 30280070312). Contradiction interne avec le §0 corrigé par #959. - §4 Magick.NET « 14.14.0 » → 14.15.0 (#871). - §3.6/§5.8/§7/§8.2(c) titre PT « English Channel » « appel à décision » → résolu (#803 7e72f3e, absent de Cards/, source de rendu jamais portée #640). - §5.4(a)/§8.2(a) #636 « arbitrage ouvert » → CLOSED 2026-07-06 + prémisse jumelle fausse. 4 OK re-mesurés (Virtues 223, OWL 6030505/862709 B, 145 aifAttackType, 5558 EN, 4861 FR, 57 broadMatch — v5.2 tient sur master actuel). 3 non re-mesurés ce tick (Fallacies 1408, Scenarii 167, prefLabel/broader — probe imparfaite, cohérents). Correction du dossier audité = PR séparée à décider par ai-01 (owner gate #134). Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
…follow-up) (#962) The release-gate dossier carried six facts measured stale against master 3094d42. All are mechanical/premise drift from July merges — no verdict, no release scope changed. This pass corrects the dossier body that #959 (header/§0) deliberately left untouched. 1. §3.2 Virtues .content.svg were marked FR-figé ("gap structural"). FALSE: Argumentum_Virtues_MindMap_{lang}.content.svg are native-script 8/8, committed via #665/#715/#724/#686 (9f52446). Distinct-size proof (git cat-file -s): fr 431931 / en 418954 / ru 485254 / pt 446948 / es 432142 / ar 461859 / fa 461654 / zh 1148677 — a FR clone would be ~431931 everywhere. Twin premise of #636 (CLOSED 2026-07-06), false for the same reason. Marked RÉSOLU. 2. §3.2 es/ar/fa/zh mindmap SVG count 3 → 5 each (git ls-files | wc -l). fr 6 / en 5 / ru 5 / pt 5 / es 5 / ar 5 / fa 5 / zh 5. 3. §4 tests 596/601 → 643/638/0/5 (CI run 30280070312, both matrix legs), aligning with §0/#959. The 596/601 was pre-#911 (Test step was a no-op). 4. §4 Magick.NET 14.14.0 → 14.15.0 (#871 6f1a6e1a, 5 advisories patched). Also adds AutoMapper 14.0.0 (#588) and PdfPig 0.1.14 official (#908). 5. §3.6 + §5.8 + §7 + §8.2(c) "PT titre English Channel — open finding, appel à décision" → RÉSOLU. git grep "English Channel" -- Cards/ = 0. Per ai-01 precision: the string lived in an EMBEDDED csv key that is IGNORED at runtime (HarvestManager.cs overwrites it with the real CSV), so the defect never reached a card — NOT "resolved by #803". The observed mistranslation was stale-harvest, not a live prod defect. Separated from PT row-1 cover contamination (#306, distinct, also closed). 6. §5.4(a) + §8.2(a) #636 "arbitrage ouvert" → CLOSED 2026-07-06 (twin premise of #1). Every value above is re-read at source (git ls-files / cat-file -s / grep / gh issue view), not taken from an intermediate report. 3 audit-probe imperfections (Fallacies/Scenarii counts grabbed Archive/2022; skos:prefLabel grep namespace-split) are documented honestly in the audit report, not masked. Scope: 1 docs file, docs-only, 0 prod write, 0 OWL, 0 CSV. Correction PR, decision to merge = ai-01 (pre-tag sensitive zone, #134 gate). Audit report: docs/investigations/2026-07-28-release-validation-v0.9.0-audit.md (landed in #961). This PR is the body-correction follow-up ai-01 gave GO on (arbitrage qgsvq4, 2 precisions applied: "n'a jamais atteint une carte" phrasing + PT vs EN distinct #306). Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
What
Fixes the pervasive English MT-garbage in the embedded EN column of
Cards/Rules/Argumentum_Rules_fr.json. This is the v0.9.0 BLOCK-tag residual from jsboige's GO visuel decision (c): the tag cannot ship while# Roll of the English Channel(mistranslation of## Déroulé de la manche, where manche = a game round, not the English Channel) ships in a print-ready rule card.Scope discovery
The dispatch (
yk3chw) framed this as a single "cover" block. Investigation found the MT-garbage spanned 7 rule cards across 3 game variants:## Facility→## Setup;sleeves/pickler→rounds/drawer# Roll of the English Channel→## Round sequence;peaker/bed aloud/sleeve→drawer/reads it aloud/roundspeed running/3 jokers per handle/picky→The speed race/per round/drawersuccession of sleeves/towers/asset colors→rounds/turns/trump colors## Facility/pickaxe→## Setup/drawerI corner/overbirth/asset/laps/folds→I coinche/outbid/trump/turns/trickssleeve/corner/asset→round/coinched/trumpApproach
Surgical per-cell CSV replacement — only the 7 EN cells' bytes change within the single
csvfield line. Corrected EN terminology was ported from the validated external CSV (Cards/Rules/Argumentum Rules - Cards.csv, rows Rules_04/10/12/13/15), preferred over a fresh gpt-5.5 translation per the dispatch.Verification (all PASS)
Textcolumn sha256 byte-identical before/after.Text_rucolumn sha256 byte-identical before/after.english channel / peacher / pickler / pickaxe / bed aloud / sleeve / sleeves / overbirth / i corner / asset color / playing laps→ 0 hits.csv/css/mustache).Argumentum_Rules_Back_fr.jsonandArgumentum_Rules_Francais_edition_fevrier_2022_Print_and_Play.json→ 0 MT-garbage hits (clean).Card 11 corrected (was
# Roll of the English Channel):Not run
Full
dotnet test— this is a template-data-only change (a CardPen JSON, not C#); the test suite does not load this Rules template, so it cannot exercise or regress from this edit. The 596-pass suite is unaffected.Gate
Gated — verdict QA = ai-01. Worker po-2024, dispatch
yk3chw. Do not merge until ai-01 visual/content review (this is on the v0.9.0 release critical path, #134).