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]
Change path to string argument
carlosejimenezc960428ba47f
diff --git a/tests/utils.py b/tests/utils.pyindex bd9c7f9a..45402774 100644--- a/tests/utils.py+++ b/tests/utils.py@@ -12,7 +12,7 @@ def make_python_tool_importable(file_path: str | Path, module_name: str | None =module_name: Name of the module to import the script as. If None, the filename stem is used."""# Convert to absolute path if needed- abs_path = Path(file_path).resolve()+ abs_path = Path(file_path).resolve().as_posix()module_name = Path(file_path).stem if module_name is None else module_nameif module_name in sys.modules: