[CLAIM] VSP-24: unit tests for the XMA tables in vesper-formats #43
Labels
No labels
accessibility
benchmark
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
task-claim
telemetry
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/monte-alt--vesper#43
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?
@imShangLi on GitHub · 2026-12-02 10:51 UTC · original
Proposed scoped task (new): Add a #[cfg(test)] module to crates/vesper-formats/src/xma/tables.rs verifying the WMA Pro Huffman and level tables are well-formed.
Scope (Primary Files): crates/vesper-formats/src/xma/tables.rs (+ narrow unit test in the same file). No other files, no dependency bumps.
Rationale: xma/tables.rs (~393 lines) is currently the largest module in esper-formats without any unit tests. It holds the canonical (symbol, code length) pairs for the WMA Pro bitstream that XMA2 frames use. A test module can assert invariants the decoder relies on:
Verification: cargo test -p vesper-formats --locked plus the repo's standard gates (cargo test -p xtask --locked, cargo clippy --workspace --all-targets --locked -- -D warnings, cargo test --workspace --locked -- --test-threads=1). Pure data, no game assets, no GPU/audio hardware required.
AI disclosure: Assisted by an AI agent (LobsterAI / DSH). Implementation, checks, and local verification will be personally run and reported. No game data, no banned third-party or franchise names.
Requesting maintainer approval to scope and claim this task.