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

Trace2Eval:基于真实轨迹的编码智能体情境化评估

Trace2Eval: Contextualized Evaluation of Coding Agents from Real-World Traces

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))

Ji Shi, Lirong Jie, Lexiao Zou, Yaoming Zhu, Yifan Yang, Xuezhi Cao, Xunliang Cai, Miao Zhang

AI总结:

提出Trace2Eval管道,从真实交互轨迹构建编码智能体评估基准,通过多智能体重构等技术校准评估智能体,使模型制品得分平均提升10.05个百分点。

摘要:

编码智能体正越来越多地应用于不同领域的真实工作流中,这推动了基于真实用户任务的评估。然而,现有基准大多依赖带有参考补丁或隐藏测试的静态公开任务。因此,下一代编码智能体基准应超越固定任务的正确性,转向对真实用户工作流中整体制品质量的持续更新评估。我们提出Trace2Eval,这是一种可动态更新的管道,能从真实交互轨迹构建基准。Trace2Eval采用多智能体重构系统分析过滤后的轨迹,恢复原始用户查询,将工作区文件还原到交互前状态,并重建与轨迹等效的执行环境。随后,候选智能体执行重构后的查询以生成初始制品。为评估这些制品,该管道通过标注者间对齐迭代优化人类 rubric(评分标准),并利用源代码和运行时证据校准 judge agents(评估智能体)。在Trace2Eval管道的反馈指导下,模型修改其初始制品,在19种模型-工具配置中平均得分提升10.05个百分点,其中DeepSeek-V4-Pro与Claude Code组合的得分提升最大,达19.28个百分点,这表明评分标准反馈可作为制品改进的可行指导。

英文摘要:

Coding agents are increasingly used in real-world workflows across diverse domains, motivating evaluation grounded in real user tasks. Existing benchmarks, however, largely rely on static public tasks with reference patches or hidden tests. Next-generation coding-agent benchmarks should therefore move beyond correctness on fixed tasks toward continually renewed evaluation of overall artifact quality in real user workflows. We propose Trace2Eval, a dynamically updatable pipeline that constructs benchmarks from real-world interaction trajectories. Trace2Eval employs a multi-agent reconstruction system to analyze the filtered trajectory, recover the original user query, restore the workspace files to their pre-interaction state, and rebuild a trajectory-equivalent execution environment. A candidate agent then executes the reconstructed query to produce an initial artifact. To evaluate these artifacts, the pipeline iteratively refines human rubrics through inter-annotator alignment, and calibrates judge agents against human assessments using source-code and runtime evidence. Guided by feedback from the Trace2Eval pipeline, models revise their initial artifacts, yielding a mean score gain of 10.05 percentage points across 19 model-harness configurations and a maximum of 19.28 percentage points for DeepSeek-V4-Pro with Claude Code, which supports rubric feedback as actionable guidance for artifact improvement.

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

↑