domain-level constraints

This commit is contained in:
2026-03-04 16:53:58 -06:00
parent 00cc8dd9ef
commit 843baa15ad
11 changed files with 188 additions and 21 deletions

View File

@@ -251,10 +251,10 @@ def test_blocked_combos_have_results(seeded_repo):
assert total_with_results == result.pass1_failed + result.pass3_scored
# Failed combos should have pass_reached=1 and composite_score=0.0
failed_results = [r for r in all_results if r["combination"].status == "p1_fail"]
# (includes both entity-blocked and domain-blocked combos)
failed_results = [r for r in all_results if r["pass_reached"] == 1]
assert len(failed_results) == result.pass1_failed
for br in failed_results:
assert br["pass_reached"] == 1
assert br["composite_score"] == 0.0