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]

Doc: Note about different default splits (#712)

Kilian Lieret5bb8a68f795a
diff --git a/docs/usage/benchmarking.md b/docs/usage/benchmarking.md
index 614cc2d8..3638b333 100644
--- a/docs/usage/benchmarking.md
+++ b/docs/usage/benchmarking.md
@@ -46,4 +46,10 @@ python -m swebench.harness.run_evaluation \
Head over to [SWE-bench](https://github.com/princeton-nlp/SWE-bench/) for details.
+!!! note "Default split"
+
+ When running `swe-agent` it uses the SWE-bench lite `dev` split by default (i.e., when not specifying `--data_path` or `--split`).
+ However, `swe-bench` assumes the SWE-bench lite `test` split by default.
+ When you get warnings from `swe-bench` about missing instances, make sure you specify `--split test` or `--split dev` appropriately.
+
{% include-markdown "../_footer.md" %}