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: Command line args for retry configs

Kilian Lieretb8b8f744a327
diff --git a/docs/usage/competitive_runs.md b/docs/usage/competitive_runs.md
index b7ee4970..84c169da 100644
--- a/docs/usage/competitive_runs.md
+++ b/docs/usage/competitive_runs.md
@@ -19,6 +19,11 @@ We recently used two configurations for SWE-bench submissions
This is a very expensive configuration.
If you use it, also make sure to use Claude 3.7 instead of claude 3.5.
+!!! warning "Retry configurations and command line arguments"
+ Note that the structure of the configuration with agents that run multiple attempts is different from the one of the
+ default agent. In particular, supplying options like `--agent.model.name` etc. will cause (potentially confusing)
+ error messages. Take a look at the above configuration file to see the structure!
+
You can find the command with which to run each config at the top of the config file.
In order to run on multiple workers with Claude, you need to use multiple API keys in order to have enough cache break points
@@ -76,4 +81,4 @@ You can use a sentinel script like the following to clean them up periodically
* The simplest setting to keep cost in check is the per instance cost limit or turn limit.
Without limiting cost, the average cost will also converge to infinity, as the agent will never stop iterating.
With Claude 3.7, a cost-conservative limit would be $1 instance limit or lower and a turn count limit of 50.
- For our swe-bench submissions we use slightly higher limits (see the configs above).
\ No newline at end of file
+ For our swe-bench submissions we use slightly higher limits (see the configs above).