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]
challenge name bug fix
Talor Abramovich740bfe932f3a
diff --git a/sweagent/environment/utils.py b/sweagent/environment/utils.pyindex da287f7c..99156d87 100644--- a/sweagent/environment/utils.py+++ b/sweagent/environment/utils.py@@ -674,7 +674,7 @@ class InstanceBuilder:self.set_problem_statement_from_text(f"{challenge['name']} {challenge['description']}")self.args["instance_id"] = (# sanitize 'name' to only alphanumeric characters- challenge.get("category", "misc") + "_" + "".join(a for a in self.args["name"] if a.isalnum())+ challenge.get("category", "misc") + "_" + "".join(a for a in self.args["challenge"]["name"] if a.isalnum()))def set_problem_statement_from_file(self, file_path: str):