Answer architecture round 5: give record_scoring's moved Mean its own path, and take pending_fall from a paired entry alone

This commit is contained in:
2026-10-09 11:40:13 +02:00
parent 6a8bbcfff9
commit 885396370a
6 changed files with 121 additions and 31 deletions
+8 -1
View File
@@ -70,7 +70,14 @@ def chunk_entries(default_history: str, history: str) -> list[Entry]:
def pending_fall(chunk: list[Entry]) -> list[str]:
"""The dimensions that fell in the chunk's newest entry, empty unless that entry is a paired ruling."""
return chunk[-1].fell if chunk else []
return chunk[-1].fell if chunk and chunk[-1].paired else []
def uncalled(chunk: list[Entry]) -> str:
"""Why a scoring run nothing calls fails, and what to do instead."""
if chunk and not chunk[-1].paired:
return "the chunk's newest entry is already a scoring run; record a paired ruling first, or name the item IDs the chunk ships"
return "no plan item, release or fall calls this scoring run; name the item IDs the chunk ships, as needs-scoring-run took them"
def standing_ratchet(chunk: list[Entry]) -> str | None: