audio_config: document radio track label keys and add counts-only checker (OLD-9979) #1266

Open
github-bot wants to merge 1 commit from github-bot/gh-1266 into main AGit
Owner

@⁠IlyassRS3 on GitHub · 2026-11-24 21:03 UTC · original
IlyassRS3:carry/old-9979-track-labels → main · +210 −0 · 3 files · 1 commits · open

What changed

Carries forward old-pr/9979 (draft #244, original commit by @⁠Elijah-J) rebased cleanly onto current main (0b45fdc21), preserving the original author commit:

  • docs/audio_config.md: document the marker-derived radio title/artist label keys (joaat("<N>s") and joaat("<N>a")) and counts-only checker invocation.
  • tools/track_labels.py: local counts-only checker reporting marker_rows, distinct_numbers, and title/artist present/empty/absent counts for extracted AWC banks against one string-table resource, emitting fixed path-free errors on invalid inputs.
  • tests/test_track_labels.py: hand-built AWC bank and string-table fixture tests verifying aggregation, independence from stream-name hashes, and path-/sentinel-free error handling.

Item ID

  • Coordination issue #14 item: OLD-9979 (carries forward old-pr/9979 / draft #244, #17)
  • Depends on: none

Verification

Tested on macOS 27.2.1 (Apple M5 arm64), Python 3.14 (no game files, no GPU, standard library only):

  • python3 -I tests/test_track_labels.py -v -> 3/3 OK
  • python3 -I tests/test_tool_startup.py -v -> 2/2 OK
  • python3 -I tests/test_tool_stdout_encoding.py -> 4/4 OK
  • All 12 tests/test_docs_*.py suites -> all OK
  • python3 -I tests/test_ci_registration.py -> 15/15 OK (new test file selected by CI stdlib loop)
  • python3 -I tests/test_text_write_line_endings.py -> 3/3 OK
  • python3 -m compileall -q tools/track_labels.py tests/test_track_labels.py -> OK
  • python3 -I scripts/check_no_game_data.py docs/audio_config.md tools/track_labels.py tests/test_track_labels.py -> OK

Checklist

  • No game files, binaries, shaders, textures, audio, or logs quoting them
  • No keys, decryption, or online services
  • Claimed in the coordination issue (#14) before opening this PR
  • AI-assisted: yes (carried forward, audited, rebased, and verified with AI assistance; original commit by @⁠Elijah-J preserved)
**@⁠IlyassRS3** on GitHub · 2026-11-24 21:03 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1266) `IlyassRS3:carry/old-9979-track-labels` → `main` · +210 −0 · 3 files · 1 commits · open ## What changed Carries forward `old-pr/9979` (draft #244, original commit by @⁠Elijah-J) rebased cleanly onto current `main` (`0b45fdc21`), preserving the original author commit: - `docs/audio_config.md`: document the marker-derived radio title/artist label keys (`joaat("<N>s")` and `joaat("<N>a")`) and counts-only checker invocation. - `tools/track_labels.py`: local counts-only checker reporting `marker_rows`, `distinct_numbers`, and title/artist `present`/`empty`/`absent` counts for extracted AWC banks against one string-table resource, emitting fixed path-free errors on invalid inputs. - `tests/test_track_labels.py`: hand-built AWC bank and string-table fixture tests verifying aggregation, independence from stream-name hashes, and path-/sentinel-free error handling. ## Item ID - Coordination issue #14 item: `OLD-9979` (carries forward `old-pr/9979` / draft #244, #17) - Depends on: none ## Verification Tested on macOS 27.2.1 (Apple M5 arm64), Python 3.14 (no game files, no GPU, standard library only): - `python3 -I tests/test_track_labels.py -v` -> **3/3 OK** - `python3 -I tests/test_tool_startup.py -v` -> **2/2 OK** - `python3 -I tests/test_tool_stdout_encoding.py` -> **4/4 OK** - All 12 `tests/test_docs_*.py` suites -> **all OK** - `python3 -I tests/test_ci_registration.py` -> **15/15 OK** (new test file selected by CI stdlib loop) - `python3 -I tests/test_text_write_line_endings.py` -> **3/3 OK** - `python3 -m compileall -q tools/track_labels.py tests/test_track_labels.py` -> OK - `python3 -I scripts/check_no_game_data.py docs/audio_config.md tools/track_labels.py tests/test_track_labels.py` -> OK ## Checklist - [x] No game files, binaries, shaders, textures, audio, or logs quoting them - [x] No keys, decryption, or online services - [x] Claimed in the coordination issue (#14) before opening this PR - [x] AI-assisted: yes (carried forward, audited, rebased, and verified with AI assistance; original commit by @⁠Elijah-J preserved)
Describe the marker-derived keys and add a local checker that reports
title and artist coverage for a single text table. Use hand-built
fixtures to verify aggregation and path-free errors.

The translator suite reproduced two upstream baseline failures.

Co-Authored-By: Codex <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:45:02 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-24 21:03 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-24 21:03 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1266#pullrequestreview-6047374710) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1266/head:github-bot/gh-1266'
git switch 'github-bot/gh-1266'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1266'
git switch 'github-bot/gh-1266'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1266'
git switch 'github-bot/gh-1266'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1266'
git switch 'main'
git merge --squash 'github-bot/gh-1266'
git switch 'main'
git merge --ff-only 'github-bot/gh-1266'
git switch 'main'
git merge 'github-bot/gh-1266'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.