Kill the surviving mutants of the replay comparison and the transcript-read rule

This commit is contained in:
2026-11-18 15:37:08 +01:00
parent eee3ce08b4
commit 897fe3ed1a
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -14,12 +14,12 @@ def compared(reviewed: str, project: Rung, chosen: list[Round], change: Change,
"""Replays chosen three times unchanged and once with change, as found_on(round, change or None) finds, and reports the comparison of the rounds no replay failed on; the Limited where claude hit its usage limit."""
runs: list[list[set[int] | Failure]] = []
for applied in (None, None, None, change):
label = (applied or change).changed if applied else change.unchanged
label = change.changed if applied else change.unchanged
def replay_one(one: Round, _: Rung, applied: Change | None = applied, label: str = label) -> set[int] | Failure | Limited:
found = found_on(one, applied)
if isinstance(found, Failure):
print(f" {one.root} {one.at} {label} failed, so the round is left out: {found.reason}", file=sys.stderr, flush=True)
print(f" {one.root} {one.at} {label} failed, so the round is left out: {found.reason}", file=sys.stderr)
return found
found: list[set[int] | Failure] | Limited = replayed_on(chosen, project, replay_one, f"{reviewed} rounds {label}")