Answer stability round 1: 0 🔴, 8 🟡; tests for a 10, the ID order, five nearest, a numeric file name, render and a plan without a table, and a live mutation recipe

This commit is contained in:
2026-10-13 11:49:10 +02:00
parent b0e9d206a2
commit 4e07db755b
5 changed files with 36 additions and 16 deletions
+1
View File
@@ -187,6 +187,7 @@ def rank(text: str, readme: str, decisions: str) -> Ranked | Failure:
def read_scoring(text: str, lines: list[str], readme: str) -> Scoring | Failure:
if ITEMS_HEADER not in lines and "## Items" not in lines:
return Failure("todo.md is not in the scored-table format; rank_todo.py --help shows a valid one")
# Item 87: a table without C fails, so no chunk starts on an unscored item; each project scores C before its next todo.md commit.
if WITHOUT_C in lines:
return Failure("todo.md's items table has no C column; add one after S, and score each item's C from 1 to 10 per rank_todo.py --help")
goals = readme_goals(readme)