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: Need to recurse down to find preds
Kilian Liereta71a4a289ecd
diff --git a/sweagent/run/merge_predictions.py b/sweagent/run/merge_predictions.pyindex e9c6e4cd..e2b3551b 100644--- a/sweagent/run/merge_predictions.py+++ b/sweagent/run/merge_predictions.py@@ -20,7 +20,7 @@ def merge_predictions(directories: list[Path], output: Path | None = None) -> No"""preds = []for directory in directories:- new = list(directory.glob("*.pred"))+ new = list(directory.rglob("*.pred"))preds.extend(new)logger.debug("Found %d predictions in %s", len(new), directory)logger.info("Found %d predictions", len(preds))