Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Fix: Save sb-cli-report in correct dir

Kilian Lieret672e0d67afc9
diff --git a/sweagent/run/hooks/swe_bench_evaluate.py b/sweagent/run/hooks/swe_bench_evaluate.py
index 55b2ebf4..44efb31c 100644
--- a/sweagent/run/hooks/swe_bench_evaluate.py
+++ b/sweagent/run/hooks/swe_bench_evaluate.py
@@ -29,6 +29,8 @@ class SweBenchEvaluate(RunHook):
self.output_dir / "preds.json",
"--run_id",
self.output_dir.name,
+ "--output_dir",
+ self.output_dir / "sb-cli-reports",
],
check=True,
stdout=sys.stdout,