Answer stability round 2: 0 🔴, 1 🟡 (0 misread); name the plan's file where its table lacks a column, and test the refusal for a file without a table

This commit is contained in:
2026-11-14 16:19:41 +01:00
parent e4ac0dead0
commit c61cab9ac8
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ def edited(todo: str, id_: int, named: dict[str, str], detail: str | None, label
if isinstance(at, Failure):
return at
if absent := [column for column in named if column not in table.columns]:
return Failure(f"todo.md's items table has no {', '.join(absent)} column")
return Failure(f"{label}'s items table has no {', '.join(absent)} column")
held = cells(lines[at], len(table.columns))
details = item_details(todo)
if isinstance(held, Failure):