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]
Remove irrelevant log messages from datasets etc. (#732)
Kilian Lieret6d9b26b8452b
diff --git a/sweagent/__init__.py b/sweagent/__init__.pyindex 2265baf1..047bcfeb 100644--- a/sweagent/__init__.py+++ b/sweagent/__init__.py@@ -2,8 +2,13 @@ from __future__ import annotations__version__ = "0.6.1"+from logging import WARNING, getLoggerfrom pathlib import Path+# See https://github.com/princeton-nlp/SWE-agent/issues/585+getLogger("datasets").setLevel(WARNING)+getLogger("numexpr.utils").setLevel(WARNING)+PACKAGE_DIR = Path(__file__).resolve().parentassert PACKAGE_DIR.is_dir()REPO_ROOT = PACKAGE_DIR.parent