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: Use 'latest' image tag for SWE-Bench images (#1029)

Kilian Lieretb4f3ef452f19
diff --git a/sweagent/run/batch_instances.py b/sweagent/run/batch_instances.py
index 80f8841a..0e193017 100644
--- a/sweagent/run/batch_instances.py
+++ b/sweagent/run/batch_instances.py
@@ -145,7 +145,7 @@ class SimpleBatchInstance(BaseModel):
if image_name is None:
# Docker doesn't allow double underscore, so we replace them with a magic token
id_docker_compatible = iid.replace("__", "_1776_")
- image_name = f"swebench/sweb.eval.x86_64.{id_docker_compatible}:v1"
+ image_name = f"swebench/sweb.eval.x86_64.{id_docker_compatible}:latest"
return cls(
image_name=image_name,
problem_statement=instance["problem_statement"],