Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

debug(benchmark): Make sure `TestResult` validator error output is sufficient to debug

Reinier van der Leere2b519ef3bff
diff --git a/benchmark/agbenchmark/reports/processing/report_types.py b/benchmark/agbenchmark/reports/processing/report_types.py
index 0475455a71..a3ad8af427 100644
--- a/benchmark/agbenchmark/reports/processing/report_types.py
+++ b/benchmark/agbenchmark/reports/processing/report_types.py
@@ -33,7 +33,7 @@ class TestResult(BaseModel):
logger.error(
"Error validating `success ^ fail_reason` on TestResult: "
f"success = {repr(values['success'])}; "
- f"fail_reason = {repr(v)}"
+ f"fail_reason = {repr(v)} ({v})"
)
if v:
success = values["success"]