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]

config_file is a required arg in run_replay.sh (#48)

Kilian Lieret55c21923edcf
diff --git a/run_replay.py b/run_replay.py
index 1f402ae3..b4d02f90 100644
--- a/run_replay.py
+++ b/run_replay.py
@@ -135,7 +135,7 @@ if __name__ == "__main__":
parser = ArgumentParser()
parser.add_argument("--action_trajs_path", help="Path to action trajectories to replay", default=None)
parser.add_argument("--traj_path", help="Path to trajectory to replay", default=None)
- parser.add_argument("--config_file", help="Path to template")
+ parser.add_argument("--config_file", help="Path to template", required=True)
parser.add_argument("--data_path", help="(Optional) Path to data file containing task instances ref'ed by replay trajectories", default=None)
parser.add_argument("--suffix", help="(Optional) Suffix argument appended to end of traj path", default=None)
args = parser.parse_args()