Add AUC explainer film; size score decode buffer by duration - #1
Merged
Merged
Conversation
videos/auc-ml: an intuition-first narrated explainer of AUC (11:48). - Title card after the cold-open hook; end card with the takeaway. - Diagrams build on the sentence that explains them: one natural Kokoro take per scene, sentence onsets measured from the take's own pauses (prepare-timing.mjs, sentence-bounds.mjs), exposed as lineStarts(). - Original quiet score (src/score.ts) ducked under speech, varied per lesson part, resolving A -> D onto the end card. - Fonts with full Latin coverage (Schibsted Grotesk, Fragment Mono, Instrument Serif); the shared showcase Space Grotesk subset lacks A-Z. - verify_math.py checks every on-screen number with exact fractions. packages/cli: the reverb decode buffer was capped at 256 MB, so any score longer than about 11 minutes failed with "Cannot decode <track> for room processing". Size it from the score duration. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
check:public requires every woff2 to have a license entry. The film reuses Fragment Mono, Instrument Serif and Schibsted Grotesk files already inventoried for intern-promo; add the copied paths with matching hashes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
videos/auc-ml: an intuition-first narrated explainer, AUC in machine learning (11:48, 1080p30, 22 chapters).packages/cli/src/music-render.ts: one-line fix. The reverb decode buffer had a fixed 256 MB cap, so any score longer than about 11 minutes failed withCannot decode <track> for room processing. It is now sized from the score duration.How the film is built
prepare-timing.mjsandsentence-bounds.mjsfind the sentence onsets from the take's own pauses. Each boundary has a plausibility check.lineStarts(id)(k, offset, fraction), so each diagram step lands on the sentence that explains it.src/score.tsis a quiet 60 BPM bed (piano, viola, cello, harp).videos/showcase/src/fonts/fonts.csslabels a Space Grotesk latin-ext file as "latin". That file has no A–Z, so films importing it silently fall back to a system font. This PR does not touch that shared file.Verification
pnpm testpasses: 51 tests.biome checkis clean on the changed files.python3 videos/auc-ml/verify_math.pypasses. It checks every on-screen number with exact fractions (7/9, 29/36, 55/72, McClish ≈ 0.649, and the rest).out/folder, so they are not part of this PR. To regenerate:pnpm --dir videos/auc-ml render.🤖 Generated with Claude Code