Skip to content

fix(fallacies): fill 2 empty desc_en (PK 371, 607) surgically — supersedes #343 - #344

Merged
jsboige merged 1 commit into
masterfrom
fix/fallacies-desc-en-371-607-final
May 23, 2026
Merged

fix(fallacies): fill 2 empty desc_en (PK 371, 607) surgically — supersedes #343#344
jsboige merged 1 commit into
masterfrom
fix/fallacies-desc-en-371-607-final

Conversation

@jsboige

@jsboige jsboige commented May 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Fills the 2 remaining empty desc_en cells in the Fallacies taxonomy CSV:

  • PK 371 (path 2.3.1.1.2.1.1, Lecture à chaud / Warm reading)
  • PK 607 (path 3.1.1.2.3.1, Cueillette des noix / Nutpicking)

This is the last data residual for the Fallacies taxonomy (already ~100% translated EN/RU/PT — verified cell-by-cell). Completes P2 of the v0.9.0 data-gate.

Why this supersedes #343

#343 wrote PK 371's desc_en unquoted. That value contains a comma ("...apply to anyone, as if..."), so the comma split the field → all downstream columns on row 371 shifted by +1 (103→104 cols), misaligning desc_ru / desc_pt / desc_ar / desc_es / etc. on that row. The +2/−2 line-diff and a csv.DictReader smoke test both masked it (line-counting and DictReader silently absorb extra columns).

This branch fixes it by serialising with csv.QUOTE_MINIMAL (which correctly quotes the comma-bearing value) + CRLF, autocrlf disabled.

Surgical verification (cell-by-cell, vs origin/master)

  • Exactly 2 differing cells, both desc_en (PK 371 + 607) — nothing else touched
  • PK 371 = 103 columns (corruption from fix(fallacies): fill 2 empty desc_en fields (PK 371, 607) #343 fixed); PK 607 = 103 columns
  • No PKs added/removed; FR/RU/PT untouched
  • No BOM (504b 2c = "PK,")
  • Line endings byte-identical to master (CRLF=1409, embedded LF=176)
  • Byte delta = +171 (exactly the 2 desc_en additions)

Closes #343 (superseded).
Part of #335 (P2 — Fallacies taxonomy gaps).

🤖 Generated with Claude Code

…sedes #343

#343 inserted PK 371's desc_en unquoted; its embedded comma split the field,
shifting all 103->104 downstream columns for that row (desc_ru/pt/ar/es/zh/fa
all misaligned). The +2/-2 git stat and csv.DictReader test masked it.

This version writes both desc_en via csv.writer QUOTE_MINIMAL + CRLF
(PK 371 properly quoted for its comma), preserving master's byte format.
Verified cell-by-cell: exactly 2 cells changed (both desc_en), PK 371 back
to 103 columns, no BOM, CRLF preserved, no other field touched.

PK 371 (Warm reading): "You make psychological observations vague enough to apply to anyone, as if you could read minds."
PK 607 (Nutpicking): "You generalize the traits of a group's worst members to the entire group."

Closes #343 (superseded). Part of #335 P2 (Fallacies taxonomy gaps).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jsboige
jsboige merged commit 3f6e8f4 into master May 23, 2026
3 checks passed
@jsboige
jsboige deleted the fix/fallacies-desc-en-371-607-final branch May 23, 2026 19:25
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