mirror of
https://github.com/joeseesun/subcast.git
synced 2026-12-07 05:57:33 +08:00
scripts/eval-translate.mjs scores segmentation (token coverage, cue length, <1s, >1s silence) and translation (half sentences, >16/>32 chars, >9 chars/s, term consistency, chrF) per fixture, optionally MQM via an LLM judge (EVAL_*) and fresh translations with the app's own ai.ts (TRANSLATE_*). scripts/eval-fixture.mjs exports 10-minute slices from the local database. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>