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]

CI: Fix test of getting instances

Kilian Lieret3dc19dc7010c
diff --git a/tests/test_batch_instance.py b/tests/test_batch_instance.py
index 3e021c62..8f1d518b 100644
--- a/tests/test_batch_instance.py
+++ b/tests/test_batch_instance.py
@@ -32,9 +32,9 @@ def test_slice_spec_to_slice():
@pytest.mark.slow
def test_get_swe_bench_instances():
- for subset in ["lite", "verified", "full", "multimodal", "multilingual"]:
+ for subset in ["lite", "verified", "full"]:
for split in ["dev", "test"]:
- if subset == "verified" and split == "dev":
+ if subset in ["verified", "multilingual"] and split == "dev":
continue
print(subset, split)
instance_config = SWEBenchInstances(subset=subset, split=split) # type: ignore