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' as tag for SB instances
Kilian Lieretf09337a1668c
diff --git a/sweagent/run/batch_instances.py b/sweagent/run/batch_instances.pyindex 1c23fd03..b3e272c3 100644--- a/sweagent/run/batch_instances.py+++ b/sweagent/run/batch_instances.py@@ -152,7 +152,7 @@ class SimpleBatchInstance(BaseModel):iid = instance["instance_id"]# Docker doesn't allow double underscore, so we replace them with a magic tokenid_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"],