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]
Use a shorter timeout duration for tests (#264)
Kilian Lieret41b3ce473fdd
diff --git a/tests/conftest.py b/tests/conftest.pyindex 12b2c064..77113a30 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -4,6 +4,7 @@ import sysfrom pathlib import Pathfrom pytest import fixture+import sweagent.environment.utils as env_utils# this is a hack and should be removed when we have a better solution_this_dir = Path(__file__).resolve().parent@@ -12,6 +13,7 @@ package_dir = root_dir / "sweagent"sys.path.insert(0, str(root_dir))sys.path.insert(1, str(package_dir))os.environ["SWE_AGENT_EXPERIMENTAL_COMMUNICATE"] = "1"+env_utils.START_UP_DELAY = 1@fixture