Skip to content

fix(data): restore Scenarii normalize lost in PR #296 regression - #300

Merged
jsboige merged 1 commit into
masterfrom
data/scenarii-restore-normalize-296-regression
May 17, 2026
Merged

fix(data): restore Scenarii normalize lost in PR #296 regression#300
jsboige merged 1 commit into
masterfrom
data/scenarii-restore-normalize-296-regression

Conversation

@jsboige

@jsboige jsboige commented May 17, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #296 (data/scenarii-proper-noun-fix) was branched from PR #291 (2b0de3ae) instead of master post-#294. When merged at 16:40 (5 min after #294), it silently overwrote PR #294's normalization work because the diff was a full-file replacement (167 insertions / 167 deletions).

This PR restores #294's normalized state on top of current master and preserves #296's intentional fixes.

Damage quantified (master HEAD pre-fix vs PR #294 final)

Metric PR #294 final (fb5dd84) Master HEAD after #296 Δ
TitleCase category EN 167/167 25/167 −142
TitleCase subcategory EN 162/167 19/167 −143
EMPTY category EN cells 0/167 74/167 +74
EMPTY subcategory_pt 162/167 → 5 reduced reverted mixed

Visible regression examples on master before this PR:

What this PR does

Verification

Post-fix state (this branch):

TitleCase category EN: 167/167
TitleCase subcategory EN: 162/167
EMPTY category EN: 0/167
Row 1.2.4 drawer EN: "A suffragette"
Row 1.2.4 drawer_pt: "Uma sufragista"
First 3 bytes: 706174 (no BOM)

Pattern recognition

Same silent regression pattern as #228#233 (memorized in ai-01 feedback memory feedback_merge_cross_check_audit.md). Cross-checking merge HEAD vs PR mergeCommit after concurrent rebases caught this within 24 h.

Test plan

  • Manual diff review (focus: rows 1.1.1-1.1.6, 1.2.4, 7.2.5)
  • dotnet test passes (CsvHelper parse OK)
  • CI green (xUnit + build matrix)
  • Confirm row 1.2.4 proper noun fix preserved

🤖 Generated with Claude Code

PR #296 (data/scenarii-proper-noun-fix) was branched from #291 instead of
master post-#294. When merged, it silently overwrote PR #294's category/
subcategory normalization work across all 167 rows.

Damage from #296 merge (master HEAD pre-fix):
- TitleCase category EN: 167/167 -> 25/167 (-142 reverts)
- TitleCase subcategory EN: 162/167 -> 19/167 (-143 reverts)
- EMPTY category EN: 0/167 -> 74/167 (+74 cells re-emptied)

This commit restores #294's normalized state and preserves #296's
intentional fixes:
- Row 1.2.4 drawer EN: "Olympus of Gouge" -> "A suffragette"
- Row 1.2.4 drawer_pt: "Um sufragio" -> "Uma sufragista"
- No BOM (already absent in #294, #296 BOM strip only mattered for Virtues)

Pattern: same silent regression as #228 -> #233 (memorized).

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.

APPROVE — correct regression fix.

Verified: PR #296 branched from pre-#294 state, silently overwrote 142 TitleCase EN categories + created 74 empty cells. This PR restores PR #294's normalization and preserves PR #296's proper noun fixes (row 1.2.4: suffragette/sufragista).

Sampled row 1.2.4: history,antiquityHistory,Middle Ages and modern era. Correct.

@jsboige
jsboige merged commit 1789b4f into master May 17, 2026
3 checks passed
@jsboige
jsboige deleted the data/scenarii-restore-normalize-296-regression branch June 1, 2026 21:41
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