arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.04078cs.SEcs.AI
收藏

RepoDebug:大语言模型仓库级多任务与多语言调试评估

RepoDebug: Repository-Level Multi-Task and Multi-Language Debugging Evaluation of Large Language Models

School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);East China Normal University(华东师范大学);School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);Baidu Inc.(百度公司)

Jingjing Liu, Zeming Liu, Zihao Cheng, Mengliang He, Xiaoming Shi, Yuhang Guo, Xiangrong Zhu, Yuanfang Guo, Yunhong Wang, Haifeng Wang

AI总结:

本文提出RepoDebug,一个多任务多语言仓库级代码调试数据集,涵盖22种错误子类型、8种语言和3种任务,并评估10个LLM,发现最佳模型Claude 3.5 Sonnet在仓库级调试中仍表现不佳。

摘要:

大语言模型(LLMs)在代码调试方面表现出显著的能力,尤其是在自动程序修复中,这可能大幅减少开发者的时间消耗并提高其效率。调试数据集方面已取得重大进展,以促进代码调试的发展。然而,这些数据集主要侧重于评估LLM的函数级代码修复能力,忽略了更复杂且更现实的仓库级场景,导致对LLM在仓库级调试中面临的挑战理解不完整。尽管已有一些仓库级数据集被提出,但它们往往存在任务、语言和错误类型多样性有限等局限性。为缓解这一挑战,本文引入了RepoDebug,一个多任务、多语言的仓库级代码调试数据集,包含22种错误子类型,支持8种常用编程语言和3种调试任务。此外,我们对10个LLM进行了评估实验,其中表现最佳的模型Claude 3.5 Sonnet在仓库级调试中仍无法表现出色。

英文摘要:

Large Language Models (LLMs) have exhibited significant proficiency in code debugging, especially in automatic program repair, which may substantially reduce the time consumption of developers and enhance their efficiency. Significant advancements in debugging datasets have been made to promote the development of code debugging. However, these datasets primarily focus on assessing the LLM's function-level code repair capabilities, neglecting the more complex and realistic repository-level scenarios, which leads to an incomplete understanding of the LLM's challenges in repository-level debugging. While several repository-level datasets have been proposed, they often suffer from limitations such as limited diversity of tasks, languages, and error types. To mitigate this challenge, this paper introduces RepoDebug, a multi-task and multi-language repository-level code debugging dataset with 22 subtypes of errors that supports 8 commonly used programming languages and 3 debugging tasks. Furthermore, we conduct evaluation experiments on 10 LLMs, where Claude 3.5 Sonnect, the best-performing model, still cannot perform well in repository-level debugging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑