Add durable bounded corrections for early LLM phases and validated review
This commit is contained in:
1 parent
5f3680b003
commit
0c750dbb74
16 files changed
+815
-24
No files matched your search
+3
-3
@@ -142,12 +142,12 @@ def test_dispatch_yield_resumes_without_repeating_first_model_call(tool_case):
|
||||
assert result["status"] == "OUTPUT_READY" and adapter.calls == 8
|
||||
|
||||
|
||||
def test_invalid_early_model_reply_stops_after_one_call(case_setup):
|
||||
def test_invalid_early_model_reply_reaches_bounded_review(case_setup):
|
||||
from test_case_interpreter import payload
|
||||
adapter = FixtureAdapter({**payload(), "unexpected": "invalid"})
|
||||
result = asyncio.run(drive(case_setup[0], gateway(adapter), *CASE))
|
||||
assert result["status"] in {"ERROR", "REJECTED"}
|
||||
assert len(adapter.requests) == 1
|
||||
assert result["status"] == "REVIEW"
|
||||
assert len(adapter.requests) == 3
|
||||
|
||||
|
||||
def test_cli_corrupt_inbox_is_quarantined_without_model_calls(tmp_path, monkeypatch, capsys):
|
||||
|
||||
Reference in new issue
Block a user