Raise default LLM confidence thresholds and automatically retry segments with low-confidence corrections

This commit is contained in:
2026-04-22 17:50:18 -05:00
parent d7788da1f4
commit 10bec989ce
6 changed files with 160 additions and 9 deletions

View File

@@ -50,6 +50,10 @@ def test_apply_corrections_ignores_below_threshold():
assert result.transcript[0].text == "I ask Chontia for help."
assert result.skipped == []
assert result.ignored_ids == [1]
assert len(result.ignored) == 1
assert result.ignored[0].id == 1
assert result.ignored[0].reason == "correction confidence below threshold"
def test_apply_corrections_allows_multiple_distinct_spans_in_one_segment():