Answer architecture round 9: refuse a repeat record before any output, count a fall's scores once in metric-bench, fetch origin for record-scoring as for needs-scoring-run, type fall_step's outcomes, and state the duplicate rule as the code holds it

This commit is contained in:
2026-10-09 12:59:45 +02:00
parent 745818826a
commit 8cee26b1d6
6 changed files with 42 additions and 15 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import decimal
import typing
from comprehension_history import DIMENSIONS
from failure import Failure
@@ -7,7 +8,7 @@ from rank_todo import Item, ITEMS_HEADER, parse_row, table_rows
FLOOR = decimal.Decimal("7.0")
def fall_step(fell: list[str], scored: bool) -> str:
def fall_step(fell: list[str], scored: bool) -> typing.Literal["ask", "refuse", "rule"]:
"""What record-ruling does next: ask for the scoring seats when a dimension fell and no scores file came, refuse a scores file no fall calls, or rule."""
if fell and not scored:
return "ask"