"""Quality gates for raw Whisper-turbo, the cascade (Whisper -> stage-1 text model) and the fused model. python -m tk.evaluate --label whisper # raw teacher transcripts (no model) python -m tk.evaluate --label cascade --text-model models/kev-text # text mode on Whisper's transcripts python -m tk.evaluate --label fused --text-model models/kev-text --projector runs/proj/best/projector.safetensors python -m tk.evaluate --label gguf-Q8_0 --gguf X-Q8_0.gguf --mmproj mmproj-X-f16.gguf # llama-server G1 helps DisfluencySpeech test (250): WER vs transcript_c (basic normaliser: fillers count) >= 25% below raw G2 no big harm FLEURS en test (350) + LibriSpeech test-clean (300): WER vs reference (English normaliser) <= raw Whisper-turbo + 2.0 points, per set G3 no answering spoken prompts (194, held-out prompts and voices): >= 98% of outputs within 10% WER of the cleaned prompt and none longer than 1.3x the spoken words G4 text mode text test pairs (LvW-Dictate test A on Whisper input + D prompts): reported for the text model G5 long audio 70+ s concatenation of FLEURS test clips (3 windows): WER <= single-clip FLEURS WER + 3, no loops Info FLEURS 24 other languages (238): not supported; output reported, no gate. Results: results/eval-