Name an unquoted verdict's question without claiming an interrupt
This commit is contained in:
+1
-1
@@ -501,7 +501,7 @@ def judge(root, task, premises, transcript, chosen):
|
|||||||
if not complete(verdict):
|
if not complete(verdict):
|
||||||
failure = proc.stderr.strip() or "the judge returned no verdict"
|
failure = proc.stderr.strip() or "the judge returned no verdict"
|
||||||
elif not grounded(verdict, transcript):
|
elif not grounded(verdict, transcript):
|
||||||
failure = f"the judge quoted {verdict['evidence']!r}, nothing in the transcript, interrupting with: {verdict['question']}"
|
failure = f"the judge quoted {verdict['evidence']!r}, nothing in the transcript, for the question: {verdict['question']}"
|
||||||
else:
|
else:
|
||||||
return verdict
|
return verdict
|
||||||
if stop := strike("judge", failures, failure):
|
if stop := strike("judge", failures, failure):
|
||||||
|
|||||||
Reference in New Issue
Block a user