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

Ruida Hu, Chao Peng, Jingyi Ren, Bo Jiang, Xiangxin Meng +4 more
12/19/2024
cs.SEcs.AI

Official code: kinesiatricssxilm14/CodeRepoQA (15 stars, last commit 2025-02-19).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

CodeRepoQA dataset

150Dec 18, 20241 years ago

Similar Papers

Cite this paper

@article{hu2024coderepoqa,
  title  = {CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answering},
  author = {Ruida Hu and Chao Peng and Jingyi Ren and Bo Jiang and Xiangxin Meng and Qinyun Wu and Pengfei Gao and Xinchen Wang and Cuiyun Gao},
  year   = {2024},
  eprint = {2412.14764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14764v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14764.svg)](https://codeofpaper.com/paper/2412.14764)

Discussion