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.

regression test creation

Silen Naihina7972ad8737a
diff --git a/agbenchmark/start_benchmark.py b/agbenchmark/start_benchmark.py
index 3a6a2b860e..6adcc09bfc 100644
--- a/agbenchmark/start_benchmark.py
+++ b/agbenchmark/start_benchmark.py
@@ -39,10 +39,17 @@ def start(category, noreg):
config = json.load(f)
# create workspace directory if it doesn't exist
- workspace_path = config_dir = os.path.abspath(config["workspace"])
+ workspace_path = os.path.abspath(config["workspace"])
if not os.path.exists(workspace_path):
os.makedirs(workspace_path, exist_ok=True)
+ regression_path = os.path.abspath(
+ "agbenchmark/tests/regression/regression_tests.txt"
+ )
+ if not os.path.exists(regression_path):
+ with open(regression_path, "a"):
+ pass
+
print("Current configuration:")
for key, value in config.items():
print(f"{key}: {value}")