Raise default LLM confidence thresholds and automatically retry segments with low-confidence corrections
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user