Improvements around reporting and work directory retention options
This commit is contained in:
@@ -33,6 +33,9 @@ def test_apply_corrections_uses_threshold_and_preserves_id_order():
|
||||
assert [segment.speaker for segment in result.transcript] == ["Eric", "Mike"]
|
||||
assert result.transcript[0].text == "I ask Chauntea for help."
|
||||
assert result.skipped == []
|
||||
assert len(result.applied_corrections) == 1
|
||||
assert result.applied_corrections[0].segment_text_before == "I ask Chontia for help."
|
||||
assert result.applied_corrections[0].segment_text_after == "I ask Chauntea for help."
|
||||
|
||||
|
||||
def test_apply_corrections_ignores_below_threshold():
|
||||
@@ -75,6 +78,7 @@ def test_apply_corrections_allows_multiple_distinct_spans_in_one_segment():
|
||||
|
||||
assert result.transcript[0].text == "I ask Chauntea for guidance."
|
||||
assert result.skipped == []
|
||||
assert len(result.applied_corrections) == 2
|
||||
|
||||
|
||||
def test_apply_corrections_skips_missing_substring():
|
||||
|
||||
Reference in New Issue
Block a user