Retire the section-headers decision, reject an interrupt without a question, and name file_writes by what it does

This commit is contained in:
2026-09-28 16:46:18 +02:00
parent 9bfb2fe173
commit b40893bc70
9 changed files with 10 additions and 13 deletions
+2 -1
View File
@@ -85,9 +85,10 @@ def judge_prompt(task, premises, transcript):
def complete(verdict):
return isinstance(verdict, dict) and all(
typed = isinstance(verdict, dict) and all(
isinstance(verdict.get(name), bool if JUDGE_SCHEMA["properties"][name]["type"] == "boolean" else str) for name in JUDGE_SCHEMA["required"]
)
return typed and not (verdict["interrupt"] and not verdict["question"].strip())
def grounded(verdict, transcript):