Trace2Eval:从真实交互轨迹构建编程智能体评测基准
Trace2Eval: Contextualized Evaluation of Coding Agents from Real-World Traces
一组研究者把真实用户和编程智能体的交互记录变成可复用的评测集,19 个配置平均涨了 10 个点,评测和改进方法都能参考。
arXiv 论文 Trace2Eval 提出从真实用户交互轨迹动态构建编程智能体评测基准的流水线,替代依赖静态公共任务的现有 benchmark。该方法用多智能体重建系统恢复原始用户查询、还原工作区文件并重建等效执行环境,再通过标注者对齐迭代细化人工评分标准,并用源码与运行时证据校准 judge 智能体。基于 Trace2Eval 反馈,19 个 model-harness 配置平均得分提升 10.05 个百分点,其中 DeepSeek-V4-Pro 配合 Claude Code 最高提升 19.28 个百分点。
Trace2Eval: Contextualized Evaluation of Coding Agents from Real-World Traces
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.