data(fallacies): shorten 13 verbose desc_fr (#191) - #308
Merged
Conversation
Surgical raccourcissement de 13 entrees Fallacies desc_fr >200 chars (verbosite parent/enfant, redondances internes). Preserve semantique scientifique exacte selon validation po-2023 cycle 42. Q1/Q2/Q3 jsboige integres (cycle 42 arbitrages, 2026-05-18): - Q1: PK 460/915 (Lance incendie) et PK 138/1074 (Lampadaire) sont des cross-link intentionnels (PAS de fusion), meme texte applique aux 2 PKs de chaque paire. - Q2: Issue #191 confirmee (verified OPEN). - Q3: PR FR seule, EN/RU/PT regeneres ulterieurement via DatasetUpdater post-merge (coherence multilingue maintenue par re-run gpt-5.5). Scope: - Cellules modifiees: 13 (PK 138, 145, 208, 371, 373, 460, 505, 522, 607, 613, 915, 917, 1074) - Textes distincts (post-dedup paires): 11 - Reduction totale: 2962 -> 1610 chars (-46%) - Max: PK 145 (-63%), Min: PK 371 (-25%) Aucune autre colonne touchee (text_fr, example_fr, desc_en/ru/pt inchanges). Closes #191 phase 1 (FR). EN/RU/PT regeneration suit. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 24, 2026
jsboige
added a commit
that referenced
this pull request
Jun 10, 2026
…uping (#449) The Mémo Back card collapsed from the spec 7×3×3 taxonomy grid (7 families × 3 sub-families × 3 sub-sub-families) to an irregular shape. Root cause: the template grouped the grid via name-coincidence markers ({{#ifCond Famille "==" text_fr}} …) that fired only on rows whose text_fr happened to equal their own level label. FR rename campaigns (#351 ×27, #308 ×13) changed text_fr → the coincidences vanished → families collapsed (Tricherie sub-families = 0, Erreur math/raisonnement = 1, …). The taxonomy DATA is correct; only the template's grouping was broken. Fix (lane ai-01 = TEMPLATE, data is fine): - CardPen main.js: add 3 control-break helpers reading the language-invariant FR taxonomy columns (Sous-Famille / Soussousfamille), present in every row regardless of render language. They carry NO column token, so the localizer (CardSetLocalization.FormatField appends "}}") cannot corrupt the helper call: ifFamilyHeader = Sous-Famille=='' && Soussousfamille=='' ifSubfamilyHeader= Sous-Famille!='' && Soussousfamille=='' ifLeafFirst = Soussousfamille!='' on first occurrence (control-break) - Argumentum_Memo_Back_fr.json: swap the 3 name-coincidence conditions for the new helpers (display tokens {{Famille}}/{{Sous-Famille}}/{{Soussousfamille}} unchanged → localization preserved); fix colorPalette to iterate the rowset and emit one swatch per family-root (was fixed indices 0/25/50/…/150, which duplicated Influence and omitted Obstruction). Single shared template → fix propagates to all 8 languages. Validated three ways on the real injected data (taxonomy WHERE carte∈{1,2}, 176 rows): (1) Node + vendored Handlebars → 7 families / 21 sub-families / 63 leaves; (2) OLD-template render proving the regression (10/53, Tricherie=0); (3) LIVE CardPen engine (Playwright) → 7×3×3 DOM + 7 distinct palette colors (Obstruction red present, no Influence duplicate) + viewed screenshot. Refs #443 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jun 10, 2026
…-up) (#450) * fix(memo): #443 Mémo Back grid — language-invariant control-break grouping The Mémo Back card collapsed from the spec 7×3×3 taxonomy grid (7 families × 3 sub-families × 3 sub-sub-families) to an irregular shape. Root cause: the template grouped the grid via name-coincidence markers ({{#ifCond Famille "==" text_fr}} …) that fired only on rows whose text_fr happened to equal their own level label. FR rename campaigns (#351 ×27, #308 ×13) changed text_fr → the coincidences vanished → families collapsed (Tricherie sub-families = 0, Erreur math/raisonnement = 1, …). The taxonomy DATA is correct; only the template's grouping was broken. Fix (lane ai-01 = TEMPLATE, data is fine): - CardPen main.js: add 3 control-break helpers reading the language-invariant FR taxonomy columns (Sous-Famille / Soussousfamille), present in every row regardless of render language. They carry NO column token, so the localizer (CardSetLocalization.FormatField appends "}}") cannot corrupt the helper call: ifFamilyHeader = Sous-Famille=='' && Soussousfamille=='' ifSubfamilyHeader= Sous-Famille!='' && Soussousfamille=='' ifLeafFirst = Soussousfamille!='' on first occurrence (control-break) - Argumentum_Memo_Back_fr.json: swap the 3 name-coincidence conditions for the new helpers (display tokens {{Famille}}/{{Sous-Famille}}/{{Soussousfamille}} unchanged → localization preserved); fix colorPalette to iterate the rowset and emit one swatch per family-root (was fixed indices 0/25/50/…/150, which duplicated Influence and omitted Obstruction). Single shared template → fix propagates to all 8 languages. Validated three ways on the real injected data (taxonomy WHERE carte∈{1,2}, 176 rows): (1) Node + vendored Handlebars → 7 families / 21 sub-families / 63 leaves; (2) OLD-template render proving the regression (10/53, Tricherie=0); (3) LIVE CardPen engine (Playwright) → 7×3×3 DOM + 7 distinct palette colors (Obstruction red present, no Influence duplicate) + viewed screenshot. Refs #443 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * fix(rules): index-independent heading CSS + cover titles (#438 follow-up) The 24->15 Rules deck restructure (#438) broke the heading CSS, which keyed banners and number-boxes to card INDEX (nth-of-type + hardcoded content '01'..'05' + [class~="4"]). After the restructure those indices were wrong: 1. «Déroulé de la manche» rendered in a colored banner instead of a plain big title like «Règles du jeu…». 2. «Argumentum» rendered big on the sub-game cover cards instead of the rule name. 3. Inconsistent paragraph headers: empty floating number boxes + size mismatches on cards 6/10/12/14/15. Fix (index-independent, semantic headings): - h2:first-child = card main title -> plain, big, no banner - other h2 = section sub-head -> plain, thin theme-colored underline - h3 = numbered step -> theme-colored banner; the «1.» number is already in the heading text, so no separate (broken) box - removed the leading «# Argumentum» line from the 4 sub-game cover rows (Rules_07/09/11/13) across all 8 language columns so «## <rule name>» becomes the title; Rules_01 (main cover) keeps «# Argumentum». - tightened heading margins/padding so the densest cards do not overflow worse than the committed baseline. Validated live on the real CardPen engine (all 15 cards): zero bannered titles, covers lead with the rule name, uniform theme-colored step banners; total text overflow reduced 208px -> 110px vs baseline (cards 11/13 fully un-clipped, only card 12 +1px = parity). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jul 3, 2026
…iduals NO-OP proof (#661) Secondaire dispatch ai-01 (msg kp26j6) — data pendant of visual verdict #140. Rules audit (Cards/Rules/Argumentum Rules - Cards.csv, read-only): - 15 records x 8 languages = 120/120 cells OK (populated + correct script). - 0 empty, 0 contamination residual post-#640 (scanner #647 = 0). - 2 heuristic flags cleared as false positives: Rules_01 ZH (说谎者学校 present, latin inflation from brand "Argumentum"); embromador (canonical PT game-term for baratineur, 77x in Scenarii PT). Primaire (Fallacies EN residuals) = NO-OP, proven empirically: - 0 empty desc_en across 1408 rows; PK 371/607 (cited empty) already populated (120/79 chars). - Scanner #647 TOTAL=0; 0 EN identical-to-FR; 0 EN reading as French. - The #351/#308 drift (40 PK) was resolved in an earlier cycle. Reporting the no-op rather than fabricating work / spending gpt-5.5 on nothing (pattern: verify before concluding, [[matcher-no-match-is-not-content-absent]]). Read-only, 0 CSV write. Base 9c19e51. Co-authored-by: Your <your.email@example.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
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
Surgical raccourcissement de 13 entrées Fallacies
desc_fr>200 chars (verbosité parent/enfant, redondances internes). Préserve sémantique scientifique exacte selon validation po-2023 cycle 42.Scope (Q3 cycle 42 ack jsboige)
desc_fruniquement, 13 cellulesDoublons (Q1 cycle 42 ack jsboige)
Statistiques
Patterns appliqués
Implementation
Application via script Python byte-level surgical (cf.
feedback_csv_surgical_editspattern, déjà utilisé PRs #301 et #306). Préserve quoting/encoding/whitespace.11 textes uniques substitués (2 pour les paires cross-link + 9 unitaires) = 13 cellules au total.
Verification
git diff --stat: 13 insertions / 13 deletions exactementTest plan
Issue
Closes #191 phase 1 (FR). EN/RU/PT régénération suit (post smoke test gpt-5.5 + cycle 56 stratégie).
🤖 Generated with Claude Code