arXiv:2608.02685cs.SEcs.AI2026-08

评测代码合并队列中交互式变更的协同决策能力

BulkPR-Bench: Benchmarking Queue-Level Governance of Interacting Pull Requests

  • 构建可执行基准,需识别变更间依赖并排序安全合并
  • 最高关系交付得分66.6%,优于单步基线53.1%
  • 现有模型难以完整恢复队列顺序,依赖关系召回率不足60%

代码智能体基准正向长周期、端到端、交互式开发演进,但通常仅处理单一目标或固定变更序列。当合并请求(PR)存在相互作用时,确保安全交付需联合决策合并内容与顺序。我们提出BulkPR-Bench,一个可执行基准,要求智能体在滚动发布协议下,识别关键的PR关系并返回大规模安全可执行的合并子集。该基准包含18个真实仓库冻结快照上的581个新编候选PR,通过注册状态的逐阶段仓库执行(含隐藏安全检查)验证真实关系图,精确推理最大安全子集。主指标关系交付得分(RDS)衡量关系组内的安全交付与正确拒绝;全局安全门控产量(Global-SGY)独立评估整体队列计划的严格执行。在批量大小K=32的缓冲主协议下,六种模型中前三名的RDS估计分别为66.6%、62.0%和57.9%,优于最强的顺序基线53.1%。仅有8/324次模型运行完整完成队列。关键关系召回率在35.2%至57.7%之间,提供真实关系的诊断运行显示仍有显著提升空间。因此,关系组上的改进尚未转化为可靠的全队列治理。

原文摘要 · Abstract (English)

Coding-agent benchmarks increasingly cover long-horizon, end-to-end, and interactive development, but typically retain one requested outcome or a fixed change sequence. Sequential policies can process a pull-request (PR) queue one candidate at a time, but when queued PRs interact, maximizing safe delivery can require jointly deciding which changes to merge and in what order. We introduce BulkPR-Bench, an executable benchmark in which an agent must recover consequential PR relations and return a large safe subset in executable order under a rolling-release protocol. The suite contains 581 newly authored candidate PRs on frozen snapshots of 18 real repositories. Registered state-by-state repository execution, including hidden safety checks, validates the gold relation graph; an exact oracle then computes the largest safe subset. Our primary metric, Relational Delivery Score (RDS), scores safe delivery and correct rejection over relation groups from the realized merge trace; Global Safety-Gated Yield (Global-SGY) separately measures strict delivery of the realized whole-queue plan. Under the buffered primary protocol with batch size $K=32$, the three highest RDS estimates among the six models are 66.6%, 62.0%, and 57.9%, compared with 53.1% for the strongest sequential baseline. Only 8 of 324 model runs complete a queue exactly. Critical-relation recall ranges from 35.2% to 57.7%, and diagnostic runs supplied with the gold relations show substantial remaining headroom. Gains on relation groups therefore do not yet translate into dependable whole-queue governance.

代码生成智能体评测协作开发

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。