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]
Enh: Log total stats for reviewer itself
Kilian Lieret1b2cb3ab7084
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.pyindex 24732696..b1d8f418 100644--- a/sweagent/agent/agents.py+++ b/sweagent/agent/agents.py@@ -294,6 +294,7 @@ class RetryAgent(AbstractAgent):**self._attempt_data[best_attempt_idx],}data["info"]["best_attempt_idx"] = best_attempt_idx+ data["info"]["rloop_model_stats"] = self._rloop.model_stats.model_dump()# Overwrite model stats with total statsdata["info"]["model_stats"] = (self._total_instance_stats + self._rloop.model_stats).model_dump()