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]

Fix: --traj_path is required (#525)

Kilian Lieret60fb0a44337c
diff --git a/run_replay.py b/run_replay.py
index 6bb8adb2..1046c3e2 100644
--- a/run_replay.py
+++ b/run_replay.py
@@ -117,7 +117,7 @@ def main(
def get_args(args=None):
parser = ArgumentParser(description=__doc__)
- parser.add_argument("--traj_path", help="Path to trajectory to replay", default=None)
+ parser.add_argument("--traj_path", help="Path to trajectory to replay", required=True)
parser.add_argument("--config_file", help="Path to template", required=True)
parser.add_argument(
"--data_path",