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

SWE-DIVE:基于动态用户模拟的多轮编码智能体评估

SWE-DIVE: Multi-Turn Coding Agent Evaluation with Dynamic User Simulation

University of Innsbruck(因斯布鲁克大学);Microsoft(微软)

Lorenz Brehme, Benjamin Steenhoek, Ruth Breu

AI总结:

针对现有编码智能体评估未考虑实际多轮非规范提示的问题,提出SWE-DIVE框架,含用户模拟器与对话验证器,在Harbor环境中实现多轮编码智能体评估。

摘要:

编码智能体通常使用单次、格式规范的提示进行评估,SWE-bench等基准将现有GitHub问题作为编码智能体的输入,评估其是否成功解决任务。但在实际使用场景中,提示往往不如现有GitHub问题规范或结构化,且编码智能体会话不限于单次提示,通常涉及多轮交互,用户会迭代添加智能体需完成的新任务与需求。为评估这些能力,我们开发了SWE-DIVE,这是一种用于多轮环境下编码智能体基准测试的动态交互式验证与评估框架。为实现该目标,我们引入了可模拟不同行为模式并与编码智能体交互的用户模拟器,还引入了对话验证器,用于评估用户模拟器的输出,判断其是否满足初始需求并引导智能体成功解决任务。整个框架嵌入Harbor环境,该环境编排编码智能体、用户模拟器与对话验证器,并执行测试环境以确定智能体是否成功解决任务。我们的结果与源代码可在GitHub仓库(this https URL)获取。

英文摘要:

Coding agents are typically evaluated using one-shot, well-formulated prompts. Benchmarks such as SWE-bench use existing GitHub issues as input for a coding agent and evaluate whether the agent successfully solves the task. However, in real-world use cases, prompts are often not as well-formulated or structured as existing GitHub issues. Additionally, a coding agent session is not limited to a single prompt; it typically involves a multi-turn interaction in which the user iteratively adds new tasks and requirements that the agent must fulfill. To benchmark these abilities, we developed SWE-DIVE, a dynamic, interactive validation and evaluation framework for benchmarking coding agents in a multi-turn environment. To achieve this, we introduce a user simulator that can simulate different behavioral patterns and communicate with the coding agent. We also introduce a conversation validator that evaluates the user simulator's outputs to determine whether they fulfill the initial requirements and guide the agent toward successfully solving the task. The entire framework is embedded in a Harbor environment, which orchestrates the coding agent, user simulator, and conversation validator, and executes the test environment to determine whether the agent successfully solves the task. Our results and source code are available in our GitHub repository (https://github.com/lorenzbrehme/swe-dive_usersim).

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

↑