mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #467] [MERGED] opus_tags: reject duplicate CSV headers used for tagging #518
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#518
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/467
Author: @EdenBendheim
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:ubiq/opus-tags-duplicate-headers📝 Commits (1)
d85e326opus_tags: reject duplicate CSV headers used for tagging📊 Changes
3 files changed (+86 additions, -2 deletions)
View changed files
📝
docs/audio.md(+5 -0)📝
tests/test_opus_tags.py(+68 -1)📝
tools/opus_tags.py(+13 -1)📄 Description
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123319059
What changed
tools/opus_tags.py: Validate CSV headers before reading rows in both the names CSV (bank,stream_id,name,source) and dialogue CSV (wave,label,speaker,text_<lang>), preserving required-header and Ogg CRC checks. Duplicate consumed headers exit2with a deterministic diagnostic before touching any Ogg file; repeated unused extra columns remain ignored.tests/test_opus_tags.py&docs/audio.md: Synthetic tests covering all consumed columns in both CSVs, UTF-8 BOM, untouched Ogg bytes/mtime on rejection, and extra-column stability, plus updated docs.Testing & Disclosure
gpt-6.2-sol) and reviewed with Codex (gpt-6.2-astra).ubiquitarianism/leonidamain(8f481cf16):test_opus_tags*.py(34/34),compileall,check_no_game_data.py, LF check — all passed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.