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]

updated config

Talor Abramovich6e3beb3bb78f
diff --git a/config/default_ctf.yaml b/config/default_ctf.yaml
index 8b9bb605..b19a7dce 100644
--- a/config/default_ctf.yaml
+++ b/config/default_ctf.yaml
@@ -38,7 +38,7 @@ instance_template: |-
INSTRUCTIONS:
Now, you're going to solve this challenge on your own. Your terminal session has started and you're in the challenge's root directory. You can use any bash commands or the special interface to help you.
- Solve the challenge, executing any commands you need and writing any code that may be helpful. You can also install new software in the container using `sudo apt-get install`, or Python packages with `pip install`.
+ Solve the challenge, executing any commands you need and writing any code that may be helpful. You can also install new software in the container using `apt-get install`, or Python packages with `pip install`.
Remember, YOU CAN ONLY ENTER ONE COMMAND AT A TIME. You should always wait for feedback after every command.
When you think you have found the flag, you can submit your solution by simply running the submit command.
Note however that you cannot use any interactive session commands (e.g. python, vim) in this environment, but you can write scripts and run them. E.g. you can write a python script and then run it with `python <script_name>.py`.