fix: raise garbage-transcript threshold to avoid false positives on plate reads

Phonetic run threshold 5 → 12: a plate spellout ("Foxtrot Alpha Uniform Lima
Kilo...") produces 6–8 consecutive phonetic words, triggering false positives
and blocking intelligence extraction on legitimate calls. 12 is safely above
any real spellout (~8 max) while still catching the full-alphabet hallucination
(26 words). Also writes skip_reason="garbage_transcript" to the call doc and
surfaces it in the admin correlation debug endpoint.
This commit is contained in:
Logan
2026-05-25 03:31:43 -04:00
parent 92c9d8effc
commit 7dd090e8b2
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -68,6 +68,7 @@ async def debug_correlation(
"corr_candidates": call.get("corr_candidates"),
"corr_shared_units": call.get("corr_shared_units"),
"corr_sweep_count": call.get("corr_sweep_count"),
"skip_reason": call.get("skip_reason"),
}
# ── Fetch recent incidents ────────────────────────────────────────────────