{ "evaluated_at": "2026-11-29T22:22:45Z", "lock_path": "$TMPDIR/kinyarwanda-edge-model-run.lock", "lock_wait_sec": 0.0, "machine": { "os": "macOS 27.2.1 (26B131)", "arch": "arm64", "chip": "Apple M3 Pro", "ram_gb": 18.0, "python_version": "3.12.13", "torch_version": "2.9.1", "transformers_version": "4.57.6", "llama_server_version": "version: 1.1.0 (build 12774, commit 171527522)" }, "models": { "asr": { "repo_id": "DigitalUmuganda/whisper_small_kinyarwanda", "revision": "e29a6667dc1dad18ae9c2177492cd0022c6e5ad5", "cold_load_sec": 0.8309, "decoding_config": { "repo_id": "DigitalUmuganda/whisper_small_kinyarwanda", "revision": "e29a6667dc1dad18ae9c2177492cd0022c6e5ad5", "language": "sw", "task": "transcribe", "forced_decoder_ids": [ [ 1, 50318 ], [ 2, 50359 ], [ 3, 50363 ] ], "do_sample": false, "num_beams": 1, "max_new_tokens": 224, "use_cache": true, "dtype": "float32", "device": "mps" } }, "llm": { "repo_id": "Qwen/Qwen3-1.7B-GGUF", "revision": "90862c4b9d2787eaed51d12237eafdfe7c5f6077", "filename": "Qwen3-1.7B-Q8_0.gguf", "cold_load_sec": 2.0633, "runtime": "llama-server (llama.cpp Metal, -ngl 99 -c 2048 --reasoning off --reasoning-budget 0)", "use_json_schema": true } }, "dataset": { "name": "Bateesa/rw-tts-dataset", "revision": "94c2d411a30a01e84addae6def3e067b3d26d113", "license": "cc-by-4.0", "pilot_scope": "Studio-read Kinyarwanda speech pilot (40 deterministic samples from Bateesa/rw-tts-dataset; AfriVoice gated with HTTP 401 without HF token). Does not contain campus-intent semantic labels.", "sample_size": 40, "total_audio_duration_sec": 258.2339 }, "normalization_rule": "Unicode NFC -> lowercase -> curly/backtick apostrophes normalized to ASCII ' -> edge apostrophes stripped while preserving intra-word apostrophes (e.g. n'abandi, b'abanyeshuri) -> remaining punctuation replaced with spaces -> whitespace collapsed", "timer_definitions": { "asr_cold_load_sec": "Time to load WhisperProcessor and WhisperForConditionalGeneration from local disk and move/sync on target PyTorch device.", "llm_cold_load_sec": "Time from spawning llama-server subprocess until GET /health returns HTTP 200.", "audio_decode_resample_sec": "Server-side WAV validation, mono downmix, and scipy polyphase resample to 16 kHz.", "asr_inference_sec": "Server-side WhisperProcessor feature extraction + model.generate() + torch.mps.synchronize() (if MPS) + decode.", "asr_rtf": "asr_inference_sec / audio_duration_sec (corpus RTF = sum(asr_inference_sec) / sum(audio_duration_sec)).", "routing_inference_sec": "Wall time for local HTTP POST /v1/chat/completions to llama-server.", "upload_to_result_sec": "Client-side wall time from sending multipart POST /api/intake to receiving and parsing the full JSON response." }, "asr_metrics": { "corpus_wer": 0.1008, "corpus_cer": 0.0184, "corpus_rtf": 0.1445, "total_ref_words": 506, "total_ref_chars": 3702, "word_errors": { "substitutions": 40, "deletions": 7, "insertions": 4 }, "char_errors": { "substitutions": 28, "deletions": 23, "insertions": 17 }, "per_clip_wer_stats": { "min": 0.0, "mean": 0.0972, "p50": 0.0718, "p95": 0.3333, "max": 0.3636 }, "per_clip_cer_stats": { "min": 0.0, "mean": 0.018, "p50": 0.0118, "p95": 0.0611, "max": 0.119 }, "per_clip_rtf_stats": { "min": 0.1137, "mean": 0.1456, "p50": 0.1367, "p95": 0.1885, "max": 0.2137 }, "asr_inference_sec_stats": { "min": 0.4807, "mean": 0.9331, "p50": 0.8766, "p95": 1.3282, "max": 1.5373 } }, "latency_metrics": { "upload_to_result_sec": { "min": 1.3421, "mean": 1.8522, "p50": 1.7437, "p95": 2.3666, "max": 3.0494 }, "total_server_sec": { "min": 1.3407, "mean": 1.8497, "p50": 1.7424, "p95": 2.3634, "max": 3.0287 }, "routing_inference_sec": { "min": 0.6938, "mean": 0.9124, "p50": 0.894, "p95": 1.1814, "max": 1.5618 } }, "real_audio_routing_functional_checks": { "dataset_kind": "studio_speech_pilot_audio", "speaker_reviewed_campus_labels": false, "semantic_intent_accuracy": "pending (Bateesa studio-read corpus has no campus-intent labels)", "valid_json_rate": 1.0, "evidence_grounded_rate_on_routed": null, "destination_counts": { "registration": 0, "office_hours": 0, "needs_review": 40 }, "fallback_count": 0 }, "controlled_text_fixture_routing": { "evaluated_at": "2026-11-29T22:22:45Z", "dataset_kind": "controlled_text_fixture", "speaker_reviewed": false, "model": "Qwen/Qwen3-1.7B-GGUF/Qwen3-1.7B-Q8_0.gguf", "model_revision": "90862c4b9d2787eaed51d12237eafdfe7c5f6077", "use_json_schema": true, "llm_cold_load_sec": 2.0633, "total_cases": 18, "non_empty_cases": 17, "valid_json_rate": 1.0, "evidence_grounded_rate_on_routed": 1.0, "controlled_fixture_accuracy": 0.8889, "correct_count": 16, "latency_sec": { "min": 0.6984, "mean": 1.4495, "p50": 1.5784, "p95": 2.0896, "max": 2.4859 } }, "observed_notable_cases": { "first_routing_fallback_in_pilot": null, "highest_wer_pilot_clip": { "clip_id": "bateesa_rw_0014", "row_idx": 609, "filename": "bateesa_rw_0014.wav", "duration_sec": 6.75, "original_sample_rate": 44100, "reference_text": "abavugabutumwa bakomeye n'abaririmbyi ni bo bafatanyije n'abari aho mu kuramya imana", "transcript": "Abavugabutumwa bakomeye n’abaririmbyi nibo bafatanyije n’abari aho mukuramya Imana", "normalized_reference": "abavugabutumwa bakomeye n'abaririmbyi ni bo bafatanyije n'abari aho mu kuramya imana", "normalized_hypothesis": "abavugabutumwa bakomeye n'abaririmbyi nibo bafatanyije n'abari aho mukuramya imana", "wer": 0.3636, "cer": 0.0238, "audio_decode_resample_sec": 0.0032, "asr_inference_sec": 0.8532, "asr_rtf": 0.1264, "routing_inference_sec": 0.7915, "total_server_sec": 1.6479, "upload_to_result_sec": 1.6494, "destination": "needs_review", "quote": "", "evidence_verified": false, "fallback_triggered": false, "routing_status": "ok", "raw_destination": "needs_review", "raw_quote": "", "raw_output": "{\n \"destination\": \"needs_review\",\n \"quote\": \"\",\n \"reason\": \"The transcript contains no clear indication of registration, office hours, or any other campus-related activity.\"\n}", "json_valid": true, "tokens_per_sec": 53.3 } }, "hybrid_comparison": { "executed": false, "reason": "No pre-authorized hosted LLM API key is configured in the environment." } }