Files
WhisperLiveKit/whisperlivekit
Quentin Fuxa f5eee67b11 fix: silence double-counting bug, add metrics module and runtime instrumentation
- Fix _begin_silence pushing same object reference as _end_silence,
  causing the consumer to process two ended events and double the
  silence duration.
- Fix initial silence never cleared when VAC is disabled, causing
  the no-VAC path to enqueue zero audio.
- Add sample-precise silence boundaries (at_sample parameter).
- Add whisperlivekit/metrics.py with WER computation (word-level
  Levenshtein) and timestamp accuracy (greedy alignment). No
  external dependencies.
- Add whisperlivekit/metrics_collector.py with SessionMetrics
  dataclass for per-session runtime observability. Instrumented
  at 6 points in AudioProcessor: init, process_audio,
  transcription_processor, _end_silence, results_formatter, cleanup.
  Emits SESSION_METRICS structured log line on session end.
2026-02-22 23:27:12 +01:00
..
2025-11-23 11:20:00 +01:00
2025-11-23 11:20:00 +01:00
2026-02-20 20:49:57 +01:00
2026-02-20 20:49:57 +01:00
2025-11-23 11:20:00 +01:00
2026-02-20 20:49:57 +01:00
2025-11-23 11:20:00 +01:00