Implemented a --modules CLI flag to allow runtime selection of the modules to be run
This commit is contained in:
@@ -207,13 +207,13 @@ def test_process_transcript_result_uses_injected_fake_client_and_applies_sequent
|
||||
|
||||
assert result.transcript[0].text == "There were Jesters at the damn."
|
||||
assert [call["stage_name"] for call in client.calls] == [
|
||||
"glossary_primary:proposal",
|
||||
"glossary_primary:spoken_form_plausibility_review",
|
||||
"glossary_primary:meaning_reversal_review",
|
||||
"glossary_1:proposal",
|
||||
"glossary_1:spoken_form_plausibility_review",
|
||||
"glossary_1:meaning_reversal_review",
|
||||
"homophones:proposal",
|
||||
"homophones:spoken_form_plausibility_review",
|
||||
"homophones:meaning_reversal_review",
|
||||
"glossary_secondary:proposal",
|
||||
"glossary_2:proposal",
|
||||
]
|
||||
assert "There were Jesters at the dam." in client.calls[3]["messages"][1]["content"]
|
||||
|
||||
@@ -263,9 +263,9 @@ def test_process_transcript_result_rejects_below_threshold_proposals_before_llm_
|
||||
|
||||
assert result.transcript[0].text == "There were gestures at the temple."
|
||||
assert [call["stage_name"] for call in client.calls] == [
|
||||
"glossary_primary:proposal",
|
||||
"glossary_1:proposal",
|
||||
"homophones:proposal",
|
||||
"glossary_secondary:proposal",
|
||||
"glossary_2:proposal",
|
||||
]
|
||||
assert result.report.skipped_corrections[0].reason == "proposal confidence below threshold"
|
||||
assert result.report.skipped_corrections[0].source == "validator:proposal_confidence_guard"
|
||||
|
||||
Reference in New Issue
Block a user