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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user