Repository navigation
Conversation
|
Tested Negative control on
|
|
checked: #7979 | with: python -m pytest -q tests/test_bink_names.py | on: Windows 10, CPython 3.13, head aa09275, CPU only | result: 34 passed, 40 subtests passed; 1 pre-existing Windows failure (test_unreadable_mount_directory_preserves_the_report, permission-denied message format) unrelated to this PR, covered by #5760. The new duplicate-column tests pass. No game data, no GPU. |
|
I checked two additional CLI controls on Windows 11 / CPython 3.12.14 at With reordered, quoted UTF-8/CRLF headers and input filenames containing spaces and a non-ASCII character, HEAD named both recognized duplicates ( |
|
Tested
AI-assisted (Claude Code). |
Summary
Reject repeated CSV columns that
bink_names.pyuses in stream indexes and--pinsfiles. Python'scsv.DictReaderkeeps the last value for a repeated header, which can silently change a stream offset or send a pin to a different source. Both inputs now get a specific error before the tool writes a report.Coordination issue #7913, new BUILD item awaiting an ID. Claim.
Verification
Windows 11 build 26340, Python 3.14.7, CPU only. AI-assisted (Codex).
origin/mainatdde82f27because the tool exits 0. Both pass with the fix, and all 7 report-error tests pass.python -m compileall -q make_game.py tools tests,git diff --check, andpython -I scripts/check_no_game_data.py tools/bink_names.py tests/test_bink_names.pypass.origin/main. Each has the same existing failure before and after: Windows mount-path formatting intest_bink_names.py, the extra(KB2)in a diagnostic intest_bink_index.py, and missing explicit line endings intools/leonida_tui.pyandtools/wave_diff.py.