Answer the product-owner review's first round

This commit is contained in:
2026-10-01 22:39:51 +02:00
parent 2f3b2f0f6c
commit be2d96a808
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ def run_judge(root, args, prompt, transcript) -> Verdict | Failure:
return Failure(proc.stderr.strip() or f"the judge exited {proc.returncode}")
verdict = verdict_from(structured_output(proc.stdout))
if isinstance(verdict, Failure):
return Failure(f"{verdict.reason}; it replied: {proc.stdout.strip()}")
return Failure(f"{verdict.reason}; it replied: {proc.stdout.strip() or 'nothing'}")
if not grounded(verdict, transcript):
return Failure(f"the judge quoted {verdict.evidence!r}, nothing in the transcript" + (f", for the question: {verdict.question}" if verdict.interrupt else ""))
return verdict