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: undefined local var replay_task_instances_path
Kilian Lieretd411312db1af
diff --git a/run_replay.py b/run_replay.pyindex 09a1d659..863d4b26 100644--- a/run_replay.py+++ b/run_replay.py@@ -64,7 +64,7 @@ def process_single_traj(traj_path: str, config_file: str, data_path: str, suffixwith open(tmp_path, "w") as f:for d in data:print(json.dumps(d), file=f, end="\n", flush=True)- return replay_task_instances_path+ return tmp_pathis_github = Falseif data_path.endswith(".jsonl"):