Retire the section-headers decision, reject an interrupt without a question, and name file_writes by what it does
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user