Skip to content

docs(genre): coverage audit + genre-generalization program plan (PR-G1) - #210

Merged
slittycode merged 1 commit into
mainfrom
accuracy/genre-coverage-audit
Jul 13, 2026
Merged

docs(genre): coverage audit + genre-generalization program plan (PR-G1)#210
slittycode merged 1 commit into
mainfrom
accuracy/genre-coverage-audit

Conversation

@slittycode

Copy link
Copy Markdown
Owner

What

Kicks off the genre-generalization program with two docs — no code changes:

  1. audits/genre-coverage-2026-07-13.md — maps the three genre-aware surfaces against the priority electronic genres:
    1. _GENRE_SIGNATURES (apps/backend/analyze_detection.py:1031, 34 signatures) + _GENRE_FAMILY_MAP
    2. the synthetic fundamentals corpus (scripts/build_synthetic_corpus.py, 29 clips)
    3. the mix-doctor genre profiles (apps/ui/src/data/genreProfiles.ts)
  2. plans/genre-generalization-program.md — the PR-G2..G7 execution plan the audit feeds.

Named gaps

  1. No signature/profile/clip at all for: trap, footwork, hardstyle, gabber (nothing above 180 BPM anywhere), electro, halftime, downtempo, speed garage.
  2. 2-step scores against its own family: the uk-garage signature's sidechainStrength (0.35–0.65) encodes 4×4 pumping that 2-step doesn't have.
  3. Corpus rhythm span is one pattern: every grid clip is kick-on-every-beat 4/4. No broken kick, no halftime (kick 1 / snare 3 — the tempo-octave trap), no 16th-grid shuffle (which compute_swing_detail structurally can't see — IOI window 0.30–0.70 beats, gridResolution hardwired "8th"), no beatless-abstention clip, no 85/150/190 BPM.
  4. Cross-boundary trap for the fixes: genreFamily is a closed 8-value union on the TS side (types/measurement.ts:652, backendPhase1Client.ts:1134) and uk-garage/bassline/garage are missing from _GENRE_FAMILY_MAP — new families must land on both sides.

Validation

Docs only, but the full gate ran anyway: backend unittest discover (1334 tests, OK), synthetic corpus --check + evaluate_fundamentals.py --fail-on-skip (15/15), apps/ui npm run verify (51 smoke passed).

Every factual claim in the audit carries the file/line it was read from; nothing in this PR changes behavior.

🤖 Generated with Claude Code

Maps the three genre-aware surfaces (_GENRE_SIGNATURES, synthetic
fundamentals corpus, mix-doctor genre profiles) against the priority
electronic genres and names the gaps: trap, footwork, hardstyle, gabber,
electro, IDM, 2-step, speed garage, halftime, breakbeat, downtempo. Sets
the PR-G2..G7 sequence (corpus expansion first, then per-measurement
fixes, classifier/profile widening last). Docs only; no behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@slittycode
slittycode merged commit 325ad9b into main Jul 13, 2026
4 checks passed
@slittycode
slittycode deleted the accuracy/genre-coverage-audit branch July 13, 2026 05:51
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.

1 participant