Skip to content

fix(fallacies): clean corrupted link_fr/link_pt cells (#334) - #347

Merged
jsboige merged 1 commit into
masterfrom
fix/clean-fallacies-link-columns
May 24, 2026
Merged

fix(fallacies): clean corrupted link_fr/link_pt cells (#334)#347
jsboige merged 1 commit into
masterfrom
fix/clean-fallacies-link-columns

Conversation

@jsboige

@jsboige jsboige commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Clean 11 corrupted/contaminated cells in link_fr and link_pt columns of Fallacies taxonomy CSV
  • Fix 2 rows (PK 371, PK 607) that had 103 columns instead of 102 due to unquoted commas in desc_fr

Changes

Row Column Before After
6 link_fr Corrupted URL encoding Correct Wikipedia URL
9 link_fr Double concatenated URL Wikipedia URL only
231 link_fr Page title instead of URL Correct Wikipedia URL
350,638,821,822,853,1390 link_fr GUIDs/UUIDs (empty)
373,610 link_fr Numeric IDs (empty)
373,610 link_pt PT prose text (empty)
373,610 desc_fr Split across 2 columns Merged correctly

Verification

  • All 1409 rows have exactly 102 columns (was 2 rows with 103)
  • git diff --stat: 11 insertions, 11 deletions (surgical)
  • Script uses csv.writer(QUOTE_MINIMAL) per validated recipe

Closes #334

🤖 Generated with Claude Code

…ned rows (#334)

- Remove 6 GUIDs from link_fr (rows 350, 638, 821, 822, 853, 1390)
- Remove prose from link_pt (rows 373, 610)
- Remove numeric IDs from link_fr (rows 373, 610)
- Fix corrupted URL encoding in link_fr row 6
- Fix page title instead of URL in link_fr row 231
- Fix double-URL concatenation in link_fr row 9
- Fix 2 rows (373, 610) with 103 cols due to unquoted commas in desc_fr

Closes #334

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jsboige
jsboige merged commit d2a7608 into master May 24, 2026
3 checks passed
@jsboige
jsboige deleted the fix/clean-fallacies-link-columns branch May 24, 2026 01:13
jsboige added a commit that referenced this pull request May 28, 2026
…381)

Memo + MemoPrintAndPlay reuse the FallaciesTaxonomy dataset and the same
{{text_fr}}, {{desc_fr}}, {{Famille}}, {{Sous-Famille}}, {{Soussousfamille}}
template placeholders. Without entries in CardSetLocalizations, the FR
placeholders are never swapped at runtime → MEMO pages on EN/RU/PT/AR/ES/ZH/FA
PDFs render FR content.

Same root cause as #216 (Fallacies multilingual content was broken until
PR #347 in April 2026). Fix: append KnownCardSets.Memo and
KnownCardSets.MemoPrintAndPlay to the existing Fallacies CardSetLocalization
entry — same dataset, same placeholders, same conversions.

Acceptance criteria (#358):
- MEMO Tarot + MEMO Print&Play render translated content on EN/RU/PT ✓ (by config)
- MEMO renders correctly on AR/ES/ZH/FA ✓ (already in conversion lists from #361)
- PDF visual regression test (#212) is tracked separately

Pipeline regen required to produce the corrected PDFs.

Co-authored-by: Claude Opus 4.7 (1M context) <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.

fix(fallacies): clean corrupted/contaminated cells in link_fr/link_pt columns

1 participant