arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.29957cs.AIcs.CLcs.SE
收藏

SWE-Together:在交互式用户会话中评估编码代理

SWE-Together: Evaluating Coding Agents in Interactive User Sessions

Meta

Yifan Wu, Zhuokai Zhao, Songlin Li, Ho Hin Lee, Jiacheng Zhu, Shirley Wu, Tianhe Yu, Serena Li, Lizhu Zhang, Xiangjun Fan, Shengzhi Li

AI总结:

提出SWE-Together基准,从真实用户-代理编码会话中重建多轮交互任务,并利用基于LLM的用户模拟器评估编码代理的协作能力,发现强代理成功率更高且干预更少。

摘要:

大多数编码代理基准是静态的:代理事先收到完整的任务描述,仅根据最终代码进行评判。真正的编码辅助是交互式的,用户在多轮对话中澄清目标、添加约束并纠正错误。我们引入了SWE-Together,一个从真实用户-代理编码会话中重建的多轮基准。为了使真实交互可验证,我们从11,260个记录会话中筛选出109个仓库级任务,选择具有可恢复仓库状态、清晰用户目标和可观察结果的会话。为了跨代理重放这些交互,我们构建了一个反应式的基于LLM的用户模拟器,该模拟器保留原始用户的意图,并在编码代理的进展需要时提供反馈。为了评估代理作为协作者,我们同时测量最终仓库的正确性以及交互过程中所需的纠正性反馈轮数。与前沿编码代理的实验表明,更强的代理通常达到更高的最终成功率,同时需要更少的干预,这表明用户体验得到了改善。

英文摘要:

Most coding-agent benchmarks are static: an agent receives a complete task description up front and is judged only by its final code. Real coding assistance is interactive, with users clarifying goals, adding constraints, and correcting mistakes over multiple turns. We introduce SWE-Together, a multi-turn benchmark reconstructed from real user-agent coding sessions. To make real interactions verifiable, we curate 109 repository-level tasks from 11,260 recorded sessions, selecting sessions with recoverable repository states, clear user goals, and observable outcomes. To replay these interactions across agents, we build a reactive LLM-based user simulator that preserves the original users' intents and provides feedback when the coding agent's progress requires it. To evaluate agents as collaborators, we measure both final repository correctness and the number of corrective feedback turns required during the interaction. Experiments with frontier coding agents show that stronger agents generally achieve higher final success rates while requiring fewer interventions, suggesting an improved user experience.

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

↑