paperbot · PL 论文追踪

全部论文 待读 收藏

RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklists

RepoProbe:基于检查表的架构感知仓库理解基准评测
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 2 inbox
Yuexi Yang, Alyssa Wu, Ji Luo, Richeng Xuan, Zhichao Hu, Yuhong Liu, Zhen Qin
crossref: 2026-10-09

AI 速览

一句话:提出 RepoProbe 基准,用 GitHub Discussions 开放式问答与检查表验证协议评测 LLM 的仓库架构理解,并量化 edit bias。

随着大语言模型(LLM)被用于软件工程,研究重心已从函数级代码生成转向仓库级辅助。然而现有基准多基于 GitHub Issues 中的缺陷报告,模型可借助错误日志上的模式匹配绕过真正的理解,从而低估了 Edit Bias——即模型在理解既有仓库架构之前就过早提出代码修改的倾向;同时 LLM-as-a-Judge 的标量打分方差大、可解释性差。本文提出 RepoProbe,一个基于 GitHub Discussions 的开放式问答基准,聚焦架构性提问而非缺陷报告;并提出基于检查表的验证协议,将答案分解为原子化、可验证的事实,以客观验证取代主观评分。对当前最优 LLM 的评测显示,答案表述清晰度与有证据支撑的技术正确性之间存在持续差距,并定量证实了 edit bias 的普遍性;该验证协议相比传统标量打分显著提升了评测可靠性。

问题
现有仓库级代码理解基准依赖 GitHub Issues 的缺陷报告,模型可通过错误日志模式匹配绕过真正的架构理解,导致对 edit bias(过早生成代码而非理解架构)的低估,且标量式 LLM 评判方差大、可解释性低。
方法
构建 RepoProbe 基准,采用 GitHub Discussions 中的开放式架构性问答,并提出基于检查表的验证协议,把答案拆解为原子、可验证的事实以实现客观评测。
评估
对多种 SOTA LLM 进行评测,发现其答案清晰度与有证据支撑的技术正确性之间存在持续差距,定量确认 edit bias 普遍存在,并证明检查表验证协议比传统标量打分具有更高评测可靠性。
原文摘要(Abstract)

The integration of Large Language Models (LLMs) into software engineering has shifted the focus from function-level generation to repository-scale assistance. However, existing benchmarks largely rely on bug reports from GitHub Issues, which often allow models to bypass genuine understanding via pattern matching on error logs. This misalignment under-measures Edit Bias, which refers to premature generation, where models prematurely propose code modifications instead of understanding the existing repository architecture. Furthermore, current LLM-as-a-Judge scalar scoring suffers from high variance and low interpretability. This work introduces RepoProbe, a novel benchmark for evaluating repository-level code understanding through open-ended Q&A using GitHub Discussions, which focuses on open-ended architectural inquiries rather than defect reporting. To ensure rigorous evaluation, we propose a Checklist-Based Verification Protocol that decomposes answers into atomic, verifiable facts, thereby replacing subjective ratings with objective verification. Our evaluation of state-of-the-art (SOTA) LLMs reveals a persistent gap between high clarity and evidence-grounded technical correctness. It also quantitatively confirms the prevalence of edit bias, in which models prioritize code generation instead of architectural analysis. Finally, we demonstrate that our verification protocol significantly improves evaluation reliability compared to traditional evaluations with scalar scoring.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12599,
  title = {RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklists},
  author = {Yuexi Yang and Alyssa Wu and Ji Luo and Richeng Xuan and Zhichao Hu and Yuhong Liu and Zhen Qin},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3837452}
}