Answer stability round 1: name the base rule's two conditions, skip the plan for a moved Mean run, and test the floor that blocks nothing

This commit is contained in:
2026-10-09 11:27:20 +02:00
parent 030e29a52d
commit 60a00ce54f
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -131,7 +131,9 @@ def measured_commit(changes: list[HistoryChange]) -> str | None:
added = [entry for entry in entries(change.after) if entry.heading not in held]
rulings = sorted((entry for entry in added if entry.paired), key=lambda entry: entry.time)
last = rulings[-1] if rulings else None
if last and last.ruling == "better" or any(not entry.paired for entry in added) and not (last and last.fell):
ruled_better = last is not None and last.ruling == "better"
scored_without_fall = any(not entry.paired for entry in added) and not (last and last.fell)
if ruled_better or scored_without_fall:
return change.commit
return None