跳到正文

静态展示版 · 文章日期见正文,网站更新时间见全部动态

Physical AI Hot
原文
复旦大学 ROILab·AI 评分64

MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution

MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution

发布者:复旦大学 ROILab · 采集:arXiv直采 · 本站收录:2024/3/26

摘要快讯 · 依据平台提供的回答摘要或作者摘要整理,未取得原文全文。

一句话结论

MAGIS通过Manager、Repository Custodian、Developer和Quality Assurance Engineer四类协作代理处理GitHub仓库级问题,在SWE-bench上解决率达到13.94%,较直接使用GPT-4提高约八倍。

摘要

In software development, resolving the emergent issues within GitHub repositories is a complex challenge that involves not only the incorporation of new code but also the maintenance of existing code. Large Language Models (LLMs) have shown promise in code generation but face difficulties in resolving Github issues, particularly at the repository level. To overcome this challenge, we empirically study the reason why LLMs fail to resolve GitHub issues and analyze the major factors. Motivated by the empirical findings, we propose a novel LLM-based Multi-Agent framework for GitHub Issue reSolution, MAGIS, consisting of four agents customized for software evolution: Manager, Repository Custodian, Developer, and Quality Assurance Engineer agents. This framework leverages the collaboration of various agents in the planning and coding process to unlock the potential of LLMs to resolve GitHub issues. In experiments, we employ the SWE-bench benchmark to compare MAGIS with popular LLMs, including GPT-3.5, GPT-4, and Claude-2. MAGIS can resolve 13.94% GitHub issues, significantly outperforming the baselines. Specifically, MAGIS achieves an eight-fold increase in resolved ratio over the direct application of GPT-4, the advanced LLM.

意义与影响为编辑分析。

为什么重要编辑分析

原材料未提供足够信息。

对 AI 研究或应用的影响编辑分析

原材料未提供足够信息。

值得继续追的问题

原材料未提供足够信息。

来源:复旦大学 ROILab · arxiv.org

下载文章 Markdown ↓