Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Include score in reasoning

Magnus Müller551deea62b4e
diff --git a/eval/comprehensive_judge.py b/eval/comprehensive_judge.py
index c854947b6..2b62220f4 100644
--- a/eval/comprehensive_judge.py
+++ b/eval/comprehensive_judge.py
@@ -593,7 +593,7 @@ async def judge_with_repeat_and_average(
# concat reasoning with 1. and 2....
reasoning = ''
for eval in evaluations:
- reasoning += f'Reasoning judge {i + 1}: {eval.reasoning}\n'
+ reasoning += f'Judge {i + 1} score: {eval.final_score}\n{eval.reasoning}\n'
# Create averaged result
return JudgeResult(