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.

Fix eval (#304)

merwanehamadi07f831878f14
diff --git a/agbenchmark/generate_test.py b/agbenchmark/generate_test.py
index 69dfa45b34..8eaeab96f5 100644
--- a/agbenchmark/generate_test.py
+++ b/agbenchmark/generate_test.py
@@ -134,8 +134,7 @@ def create_single_test(
scores = self.get_scores(config)
request.node.scores = scores # store scores in request.node
- for score in scores["values"]:
- assert score >= 1
+ assert 1 in scores
# Parametrize the method here
test_method = pytest.mark.parametrize(