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

CodeRepoQA:一个用于软件工程问答的大规模基准

CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answering

ByteDance(字节跳动)

Ruida Hu, Chao Peng, Jingyi Ren, Bo Jiang, Xiangxin Meng, Qinyun Wu, Pengfei Gao, Xinchen Wang, Cuiyun Gao

AI总结:

本文提出软件工程领域的大规模多轮问答基准 CodeRepoQA,涵盖5种编程语言与585,687条目;通过评估10个大型语言模型,发现其在该领域问答能力仍存局限,且中等长度上下文更有利于模型表现。

摘要:

在这项工作中,我们介绍了 CodeRepoQA,这是一个大规模基准,专门设计用于评估软件工程领域的仓库级问答能力。CodeRepoQA 涵盖五种编程语言并覆盖广泛场景,能够对语言模型进行全面评估。为构建该数据集,我们从最大的代码托管与协作平台 GitHub 上的 30 个知名仓库中抓取数据,并仔细过滤原始数据。总而言之,CodeRepoQA 是一个包含 585,687 条目的多轮问答基准,覆盖多种软件工程场景,每条目平均有 6.62 个对话轮次。我们在我们的数据集上评估了十个流行的大型语言模型,并提供了深入分析。我们发现,大型语言模型在软件工程领域的问答能力上仍存在局限性,且中等长度的上下文更有利于大型语言模型的表现。整个基准已公开发布于 https://github.com/kinesiatricssxilm14/CodeRepoQA。

英文摘要:

In this work, we introduce CodeRepoQA, a large-scale benchmark specifically designed for evaluating repository-level question-answering capabilities in the field of software engineering. CodeRepoQA encompasses five programming languages and covers a wide range of scenarios, enabling comprehensive evaluation of language models. To construct this dataset, we crawl data from 30 well-known repositories in GitHub, the largest platform for hosting and collaborating on code, and carefully filter raw data. In total, CodeRepoQA is a multi-turn question-answering benchmark with 585,687 entries, covering a diverse array of software engineering scenarios, with an average of 6.62 dialogue turns per entry. We evaluate ten popular large language models on our dataset and provide in-depth analysis. We find that LLMs still have limitations in question-answering capabilities in the field of software engineering, and medium-length contexts are more conducive to LLMs' performance. The entire benchmark is publicly available at https://github.com/kinesiatricssxilm14/CodeRepoQA.

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

↑