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

面向仓库级别的软件工程评估的时间一致性基准

ATime-Consistent Benchmark for Repository-Level Software Engineering Evaluation

Xianpeng, Sun, Haonan Sun, Tian Yu, Sheng Ma, Qincheng Zhang, Lifei Rao, Chen Tian

AI总结:

本文提出时间一致性基准方法,通过冻结仓库时间点并利用历史代码知识评估未来任务,展示提示构造对软件工程评估的重要性。

摘要:

对仓库感知的软件工程系统进行评估常受合成任务设计、提示泄露和时间污染的影响。本文提出一种时间一致性基准方法,通过在时间T0冻结仓库,仅使用T0之前可用的代码知识构建代码知识,并在T0到T1期间的合并请求衍生的任务上进行评估。每个历史合并请求通过LLM辅助的提示生成管道转换为自然语言任务,基准方法被形式化为匹配的A/B比较,同一软件工程代理在有无仓库衍生代码知识的情况下进行评估,其他变量保持不变。此外,本文还报告了在DragonFly和React两个开源仓库上使用三个Claude家族模型和四个提示粒度的基线研究。在两个仓库中,文件级F1值从最小到受指导提示单调增加,达到DragonFly 0.8081和React 0.8078。这些结果表明提示构造是首要的基准变量。更广泛地说,该基准强调时间一致性和提示控制是仓库感知软件工程评估的核心有效性要求。

英文摘要:

Evaluation of repository-aware software engineering systems is often confounded by synthetic task design, prompt leakage, and temporal contamination between repository knowledge and future code changes. We present a time-consistent benchmark methodology that snapshots a repository at time T0, constructs repository-derived code knowledge using only artifacts available before T0, and evaluates on engineering tasks derived from pull requests merged in the future interval (T0, T1]. Each historical pull request is transformed into a natural-language task through an LLM-assisted prompt-generation pipeline, and the benchmark is formalized as a matched A/B comparison in which the same software engineering agent is evaluated with and without repository-derived code knowledge while all other variables are held constant. We also report a baseline characterization study on two open-source repositories, DragonFly and React, using three Claude-family models and four prompt granularities. Across both repositories, file-level F1 increases monotonically from minimal to guided prompts, reaching 0.8081 on DragonFly and 0.8078 on React for the strongest tested model. These results show that prompt construction is a first-order benchmark variable. More broadly, the benchmark highlights that temporal consistency and prompt control are core validity requirements for repository-aware software engineering evaluation.

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

↑