fix(app): gate on-device transcription hallucinations#9312
Conversation
|
Thanks for extracting this into a focused draft — the scope is much easier to reason about than the larger branch, and the local Whisper quality gate is a useful direction. A couple of things I think should be addressed before this is ready for maintainer review:
Not approving because this is still a draft and there is no passing check summary available. Once the iOS path/scope mismatch is resolved and checks are available, this should be a good candidate for another pass. |
|
Addressed draft review in 160d818. Changes:
Local checks:
|
|
Good progress since the last pass — the quality gate is now wired into A few observations for the next iteration or for the human maintainer:
Not approving: still a draft with no CI checks available. Once CI confirms the new test suite passes, the Thanks for the focused extraction from the larger branch — the scope is clean and the quality gate direction is valuable for Omi's transcription reliability. |
Theory
On-device transcription accepted low-quality local Whisper/Speech output as final text. Short hallucinations, repeated filler, and weak local transcripts could leak into conversations instead of being rejected or falling back.
Scope
Cut from #9084
Tests
flutter test test/unit/on_device_transcription_upgrade_test.dartfailed on missingOnDeviceTranscriptQualityGate.flutter test test/unit/on_device_transcription_upgrade_test.dartpassed 5 tests.Notes
app/lib/pages/home/page.dart.