Eval(智能体评估体系)


1. 介绍

1.1. 背景:模型分数的信任危机与自评叙事的失效

2025 至 2026 年,软件工程行业的 AI 采用已经越过了普及阈值,但"效果如何"这个问题却越来越难回答。三组事实共同勾勒出这一困境:

  • 公开榜单数字不再能代表真实能力。OpenAI 于 2026-02-23 发布《Why we no longer evaluate SWE-bench Verified》,正式弃用这一曾被视为编码智能体行业标准的基准:复审中发现至少 59.4% 的常失题存在缺陷测试(拒绝功能正确的提交),且所有被测前沿模型都能凭 task ID 复现 gold patch 的逐字片段——分数提升越来越反映的是训练期暴露(训练污染),而非真实能力。
  • 主观体感与客观测量系统性背离。METR 于 2025-07-10 发布的随机对照试验显示,资深开源开发者使用 AI 工具后实测慢 19%,而同一批开发者自评快 20%。DORA 2025(2025-11-12)显示 90% 以上的开发者已在工作中使用 AI、约 80% 感知到生产力提升、30% 的任务单次耗时超过 4 小时——感知提升普遍存在,但感知不是测量。Stack Overflow 2025 开发者调查(2025-07-30)同样显示 84% 的开发者正在使用或计划使用 AI 工具,而 46% 对 AI 输出准确性表示不信任。
  • 评估本身成为被评估的对象。当团队试图回答"我们的智能体做得好不好"时,很快会发现:输入—输出评估看不见过程中的错误推理,公开基准与生产分布脱节,LLM-as-a-Judge 自身会幻觉、有偏好、跨相似案例自相矛盾。评估体系自身的可靠性,成为比模型能力更前置的问题。

这三组事实指向同一个结论:任何没有建立内部评估体系的团队,都无法回答"这次改动是变好了还是变坏了"。Eval 方向存在的理由,就是把这个问题从主观叙事变成可复现的工程测量。

1.2. 定义

Eval 方向(智能体评估体系):研究与建设智能体系统质量的测量基础设施的工程领域。它不负责让智能体变得更强,而负责让"强弱"可判定。核心工作对象包括四类:

  1. 回归集(Regression Set / Eval Set):把典型任务与已知失败固化为带期望产出的数据集,每次变更(提示词、模型、工具、Harness 配置)后全量重跑并留存评分卡。
  2. 轨迹评估(Trajectory Evaluation):不只看最终答案,而是评估智能体"走的过程"——调用了哪些工具、参数是否正确、步数是否合理、是否陷入循环、是否遗漏必需步骤。
  3. 评估器体系(Evaluator Stack):代码评估器(确定性、毫秒级)、LLM-as-a-Judge(规模化语义判断、秒级)、人工标注(Ground Truth 与校准)三层协同,并持续校准评估器自身。
  4. 在线评估(Online Evaluation):对生产流量按采样率持续施加评估,捕捉漂移、新颖输入与真实世界的工具失败。

1.3. 在 AI Harness 体系中的定位

图 1-1|Eval 在 Harness 六层能力模型中的定位

Eval 在 Harness 六层能力模型中的定位 主层 L5 · 次层 L1/L4 · 参与 L2/L3/L6 · 映射为本文分析 L1 上下文工程 次层 评估器 prompt、Rubric、Golden Set 装配 上下文装配与预算控制 L2 工具与执行 参与 评估任务沙箱执行、评测 harness 运行 沙箱化执行环境 L3 编排与控制 参与 评估结果接入 CI/CD 与发布门控 失败样本回流回归集 L4 记忆与状态 次层 失败案例库、历史分数库、评估器版本记录 评估元数据沉淀 L5 评估与观测 主层 回归集、轨迹追踪、评分器、在线指标 A/B 分流 · 在线采样 L6 治理与安全 参与 Judge 隔离、数据脱敏、评分不可操纵 评估安全红线 评估体系本身也是 Harness 的一部分 结构解读:评估体系本身也是 Harness 的一部分——L5 为主层,L1/L4 为次层,L2/L3/L6 参与。 关键联动:Golden Set 由 L1 装配,评估结果上送 L3 门控,评估元数据沉淀为 L4 组织记忆。

数据来源:基于本文分析绘制的示意图。

依据项目参数卡的六层能力模型,本方向主层为 L5 评估与观测层,次层为 L1 上下文工程层L4 记忆与状态层。本方向有一个独特的结构性特征:评估体系本身也是 Harness 的一部分——Golden Set 是 L1 的装配对象,评估器 prompt 是 L1 的制品,评估结果是 L3 的门控输入,评估元数据沉淀为 L4 的组织记忆。

Harness 层本方向的职责具体形态
L1 上下文工程评估器 prompt、评分准则(Rubric)、Golden Set 的上下文装配与预算控制
L2 工具与执行参与评估任务的沙箱化执行、评测 harness 的运行
L3 编排与控制参与评估结果作为 CI/CD 与发布门控的输入;失败样本回流为回归集条目
L4 记忆与状态失败案例库、评估历史分数库、评估器版本记录
L5 评估与观测回归集、轨迹追踪、评分器、在线指标、A/B 分流
L6 治理与安全参与Judge 与被测系统隔离、评估数据脱敏、评分不可被被测方操纵

与前序文档的衔接:01-agents.md 关注"谁在做",02-coding.md 关注"做出什么",两者都以 04.3 节的落地检查清单引用了评估门控;本方向提供的是那个门控的内部构造。评测标准本身的方法学审查则由 06-benchmark.md 承担——本方向回答"我们做得好不好",Benchmark 方向回答"我们用来判断的尺子准不准"。

1.4. 瓶颈所在层

本方向的瓶颈不在模型能力,也不在采集基础设施,而在以下三个环节:

  1. 评估器自身的可靠性。LLM-as-a-Judge 会系统性偏差:幻觉、风格偏好、对冗长回答的偏好、跨相似案例自相矛盾。若评估器与被测系统使用同一模型,自我评分风险进一步放大。业界给出的校准底线是:Judge 与人类标注的一致性应达到约 80% 以上;当分歧超过 20% 时,应先收紧评分准则或降低 Judge 温度,再依赖它做门禁与监控。
  2. 评估—生产鸿沟(Evaluation-Production Gap)。公开基准高分不等于私有代码库约定下的成功。基准只作基线验证,团队必须构建匹配生产数据分布的私有评估集——而这恰恰是公开榜单帮不上忙的部分。
  3. 方差控制。智能体是非确定性系统:同一配置多次运行的结果存在显著方差(详见 3.3 案例与 06-benchmark.md)。单次评估的分数可能是噪声,不带方差分析的结论不可作为决策依据。

1.5. 价值

  • 把"凭感觉"变成"凭评分卡"。每次变更可归因:变好还是变坏、变在哪个维度、代价是什么。
  • 把失败变成资产。每一条生产失败轨迹被固化后,都永久成为回归集条目,同一个错误不会付两次学费。
  • 让团队敢做变更。有回归门禁的团队才敢持续迭代提示词、升级模型、替换工具;没有门禁的团队只能冻结系统。
  • 让对外叙事可辩护。引用任何效果数字时能同时给出评测日期、配置与样本量,经得起 06-benchmark.md 所述的方法学审查。

2. 名词解释

术语英文 / 缩写释义
评估Evaluation / Eval对智能体系统质量的系统化测量,涵盖离线回归与在线监控
回归集Regression Set / Eval Set固化的任务集合,附期望产出或判定标准,用于变更后的全量重跑
黄金数据集Golden Set / Golden Data经人工验证的理想响应集合,作为对比与校准的基准真值
轨迹Trace智能体全过程的结构化记录:每一步的工具调用、参数、返回与中间推理
轨迹评估Trajectory Evaluation评估智能体执行路径质量的评估方式,区别于只看最终答案
输入—输出评估IO Evaluation只比对最终输入与输出结果的评估方式,无法发现过程中的隐藏失败
隐藏失败Hidden Failure最终答案正确但过程存在错误(如幻觉的工具调用碰巧走运)的失败模式
评估器Evaluator对智能体产出或轨迹打分的组件,分代码评估器、LLM Judge、人工三类
LLM-as-a-JudgeLLM-as-a-Judge用 LLM 按评分准则对被测对象做语义判断的评估技术
评分准则RubricJudge 或人工使用的成文判定规则:通过/失败条件、边界案例、证据要求
代码评估器Code Evaluator以确定性脚本实现的评估器(断言、模式校验、指标计算),毫秒级且零边际成本
人工标注Human Annotation由人按照规程对样本打分,用于建立 Ground Truth 与校准自动化评估器
评估者间一致性Inter-Annotator Agreement多名标注者对同样本打分的一致程度,是评估体系自身的元指标
离线评估Offline Evaluation在变更发布前、按需或在 CI 中对精选数据集运行的评估
在线评估Online Evaluation持续作用于生产流量的评估,由采样率控制成本,捕捉漂移与新颖输入
忠实度Faithfulness检查智能体响应能否从其提供的上下文中逻辑推导出来,捕捉"听起来对但无依据"的输出
任务成功率Task Success Rate完成任务的比例;使用时必须与单任务成本和延迟配对,防止用重试虚增
单任务成本Cost per Task完成单个任务的平均 Token/调用成本,是防止"烧钱换成功率"的配对指标
采样率Sampling Rate在线评估覆盖生产流量的比例,是在线评估成本的控制阀
校准Calibration用人类标注样本度量并改进评估器,使自动化评估与人类判断保持一致的过程
评估—生产鸿沟Evaluation-Production Gap公开基准表现与生产环境实际表现之间的系统性差距
失败模式分类学Failure Taxonomy按失败家族(路由、工具使用、控制流、检索、恢复、安全等)对失败进行分类的体系
评分卡Scorecard一次评估运行的完整结果记录:各维度分数、配置、日期、样本量与方差
A/B 分流A/B Testing将流量随机分流至新旧版本以获得因果结论的实验方法

3. 案例

说明:以下案例依据公开可核实的一手来源整理。案例中的效果数字均为来源方公布口径,引用时须连同评测日期与配置一并标注。

3.1. 案例一:大规模生产环境中的 LLM-as-a-Judge 评估闭环

来源:Google SRE《AI in SRE: How Google is Engineering the Future of Reliable Operations》,https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/

3.1.1. 背景

Google 的 AI Operator 作为 AI 值守智能体已运行在数千起事故上,需要持续改进,但不可能对所有执行轨迹做人工评分。同时,SRE 场景对评估的要求极高:评估不仅要判断"做没做对",还要驱动改进,否则评估就只是成本。

3.1.2. 方案

Google 建立了一套评估驱动改进的闭环

  • 全部执行轨迹留存:每一条事故处理 trace 存入 Spanner,供严格调试与持续改进。
  • Golden Data 对比:评估框架分析事故元数据,将智能体的自动化动作与人类专家的理想响应("Golden Data")对比。
  • LLM-as-a-Judge 评判:使用 LLM-as-a-Judge 技术评估智能体性能,判定成功场景(正确诊断并缓解)与失败场景(错误诊断根因且缓解失败)。
  • 评估结果直接驱动改进:失败场景下,Judge 自动生成对智能体逻辑的批评,并提交一个包含具体实施计划的 bug 工单,用以改进 AI Operator 的未来表现。
  • 晋升门控:自治级别(L1 辅助诊断至 L4 完全自治)的晋升,必须先在人类验证的 Golden 评估数据上展示出持续、统计学显著的成功率。
3.1.3. 效果
  • 评估不再是事后记录,而成为改进的引擎:Judge 的评判直接转化为可执行的 bug 工单,形成"trace → Golden Data 对比 → LLM 评判 → 自动发单 → 改进再评"的完整闭环。
  • Golden Data 成为自治权限晋升的依据:只有在 Golden 数据上持续统计学显著,智能体才能对特定有界场景获得更高自治级别。这一设计把评估体系与安全治理(L6)直接挂钩。
  • 该案例是当前唯一公开发布的、具有规模量级(数千起事故)与完整评估闭环的 AI 值守生产实践。

3.2. 案例二:多智能体系统的内部评估与方差归因

来源:Anthropic《How we built our multi-agent research system》,2025-06-13,https://www.anthropic.com/engineering/multi-agent-research-system

3.2.1. 背景

Anthropic 在构建多智能体研究系统时面临两个评估难题:一是多智能体系统的效果无法用通用基准衡量,必须自建内部评估;二是智能体行为方差大,单次运行分数不稳定,需要找出方差的主导因子。

3.2.2. 方案
  • 自建内部评估集:以内部 research eval 为主要度量,配合人工评估。Anthropic 明确建议:不要等凑齐数百条测试用例才开始,应从少量用例的小规模测试立刻起步
  • LLM-as-a-Judge 与人工评估并用:LLM Judge 用于规模化打分,人类测试者负责发现系统性盲点。
  • 方差归因分析:对性能方差做归因分解,识别主导因子。
3.2.3. 效果
  • 多智能体系统(Opus 4 编排 + Sonnet 4 子智能体)在 Anthropic 内部 research eval 上比单智能体高出 90.2%(注意:这是内部评测结果,不可外推为行业通用基准)。
  • 成本剖面:普通智能体流程约消耗 chat 交互 4 倍的 token,多智能体研究约 15 倍(多智能体 : 单智能体 : chat ≈ 15 : 4 : 1)——评估必须与成本配对,否则 90.2% 的提升无法判断性价比。
  • BrowseComp 上的方差归因:token 使用量单独解释 80% 的性能方差;加上工具调用次数与模型选择,三者合计解释 95%。这说明在智能体评估中,资源消耗水平本身就是最强预测因子,评估设计必须控制或记录 token 预算。
  • 人工评估不可替代的实证:人类测试者发现早期智能体一致偏好 SEO 优化的内容农场而非权威来源(学术 PDF、个人博客)——这是 LLM Judge 没有捕捉到的系统性盲点,加入来源质量启发式后才解决。
  • 生产形态参数:编排者并行拉起 3–5 个子智能体,子智能体返回 1,000–2,000 token 的浓缩摘要,避免了过程上下文污染主评估。

3.3. 案例三:厂商 Harness 的受控对比评估

来源:GitHub 官方博客《Evaluating performance and efficiency of the GitHub Copilot agentic harness across models and tasks》,2026,https://github.blog/ai-and-ml/github-copilot/evaluating-performance-and-efficiency-of-the-github-copilot-agentic-harness-across-models-and-tasks/

3.3.1. 背景

模型提供原始智能,而 Harness 决定这份智能被应用得有多有效——GitHub 官方原话是「the harness shapes how effectively that intelligence is applied」。当厂商要证明自家 Harness 不劣于、甚至优于模型厂商自带 Harness(Claude Code、Codex CLI)时,普通跑一次基准的做法无法给出可信结论:智能体的运行方差会淹没真实差异。

3.3.2. 方案

GitHub 的评估方法学(本案例的核心价值)是一套控制变量评测(φ 方法)

  • 控制变量清单:同一模型、同一基准任务、上下文窗口归一化、相同的推理努力度(reasoning effort)、相同的工具选择与 MCP servers——只有 Harness 本身作为变量。
  • 方差分析:在 Terminal-Bench 2.0 上,每个 agent-model 组合至少运行 5 次,用 ±1σ 椭圆刻画离散度。
  • 多维基准矩阵:SWE-bench Verified(编码标准)、SWE-bench Pro(复杂工程)、SkillsBench(技能扩展性)、Terminal-Bench(终端工作流)、Win-Hill(跨操作系统泛化),避免单一基准偏差。
3.3.3. 效果
  • 在固定模型与任务下,GitHub Copilot agentic harness 的任务完成率与模型厂商自带 harness 相当(on-par),而 token 消耗在多数配置下更低。
  • 关键方法论结论:观察到的差异落在模型随机性导致的 run-to-run 方差之内——"看起来差几个百分点的榜单差异,很可能只是运行方差"。这一结论直接挑战了不带方差分析的单次榜单比较的效力,也是 06-benchmark.md 核心论点(harness 已成评测变量)的实证支点之一。
  • 对企业团队的启示:内部评估若每配置只跑一次,其分数应视为单次采样而非能力估计;预算允许时至少 5 次重复并报告区间。

4. 实践标准

4.1. AGENTS.md 规范

以下为本方向的完整 AGENTS.md 原文,置于代码块中以便直接复制。使用时须叠加组级 AGENTS.md 的共同条款,冲突时以就近优先原则消解。

# AGENTS.md —— 软件工程 · Eval 方向(智能体评估体系)

## 角色与边界

- 本文件约束**建设与运行智能体评估体系**的工作:回归集构建、轨迹评估器开发、LLM-as-a-Judge 设计与校准、在线评估与采样策略、评估结果接入发布门控。
- 允许自行完成:编写评估用例与判定脚本、设计评分准则、实现代码评估器、配置采样率、维护回归集与失败样本库。
- 禁止自行完成:修改或删除已有回归集条目的期望产出、绕过评估门禁合入变更、调整在线评估采样率以隐藏退化、把 Judge 评分直接作为对外宣传数字。
- 边界判定:凡影响"某变更能否通过门禁"的改动(阈值、判定逻辑、样本集),一律视为门禁相关变更,须人工评审并留痕。

## 环境假设

- 提供 Trace 采集与存储,智能体全过程工具调用可回放。
- 提供评估数据集存储与版本管理,回归集条目带唯一 ID 与版本号。
- 提供 LLM Judge 运行环境,Judge 所用模型版本与温度可配置且被记录。
- 提供评估运行器,支持批量执行、超时控制与成本计量。
- 提供评分历史存储,支持跨版本趋势查看。
- 缺失任一项时,在评估报告中显式声明缺失项,不得静默降级。

## 上下文加载顺序(Context Budget)

1. 评估任务契约:被测对象、评估维度、通过阈值、预算上限(固定,不压缩)
2. 失败模式分类学:本系统已知的失败家族与典型样本
3. 相关评分准则(Rubric)与 Judge prompt 当前版本
4. 回归集条目清单(ID、维度、期望产出类型)
5. 评分历史:近版本分数趋势与已知波动区间
6. 采样与门禁配置
7. 被测变更的差异说明(按需加载)

## 工具契约

- 评估运行工具:输入为数据集版本 + 被测配置,输出为评分卡;必须记录每次运行的配置快照。
- Judge 调用工具:必须固定并记录模型版本、温度、prompt 版本;输出必须为结构化 schema(label / score / failure_mode / explanation)。
- Trace 查询工具:支持按任务 ID、时间窗、失败类别检索。
- 所有评估工具输出禁止包含被评估数据之外的用户敏感信息;确需脱敏示例时先脱敏再入库。

## 任务执行流程(SOP)

1. 明确评估问题:这次评估要回答什么(回归检测?版本对比?上限校准?)。
2. 选择评估维度:轨迹 / 工具使用 / 任务完成 / 多轮稳定,明确各维度的指标与判定方式。
3. 构建或扩充数据集:优先从生产失败轨迹转化;新用例须覆盖已知失败类别与边界案例。
4. 为需要语义判断的维度设计 Judge:一条 Judge 只判一个准则,写明证据要求、通过/失败条件、边界案例与结构化输出 schema。
5. 校准:人类标注样本与 Judge 比对,一致性达到约 80% 以上方可用于门禁;不达标先收紧 Rubric 或换 Judge 模型。
6. 运行评估:每配置至少多次运行并报告均值与离散度;记录成本与延迟。
7. 产出评分卡与结论:结论必须注明配置、日期、样本量与方差;不带四要素的分数不得写入报告。
8. 回流:失败样本永久加入回归集;评估器缺陷记入评估器版本变更记录。

## 验证与证据要求

必须满足并留存证据:

| 验证项 | 判定方式 | 证据 |
|---|---|---|
| 判定可复现 | 同一配置重复运行,结果在报告的方差区间内 | 多次运行记录 |
| Judge 与人类一致 | 校准样本上一致性不低于约 80% | 校准报告 + 样本清单 |
| 无自我评分 | Judge 模型与被测智能体所用模型不同版本或经隔离验证 | 配置记录 |
| 回归集防过拟合 | 回归集未参与被测对象的任何优化循环;有held-out子集 | 数据集版本记录 |
| 成本配对 | 成功率与单任务成本、延迟同时报告 | 评分卡 |
| 门禁生效 | 低于阈值的变更被实测拒绝合入 | 门禁触发记录 |
| 评估器版本可追溯 | 每个分数可对应到评估器 prompt 与 Judge 模型版本 | 版本台账 |

禁止以单次运行分数作为结论;禁止以"多数用例通过"替代逐条失败清单。

## 失败与升级策略

| 失败 | 处理 |
|---|---|
| Judge 与人类分歧超过 20% | 停用该 Judge 的门禁资格,收紧 Rubric 或更换 Judge 模型后重新校准 |
| 评估分数与主观体感背离 | 优先怀疑评估集分布偏差;检查评估集是否覆盖真实任务类型 |
| 同配置分数大幅波动 | 扩大重复次数并报告区间;波动持续则排查沙箱环境漂移 |
| 回归集疑似被过拟合 | 引入 held-out 子集与轮换集;冻结部分条目不进入优化回路 |
| 在线指标与离线评分背离 | 检查采样代表性;生产失败样本回流扩充离线集 |
| 评估成本超预算 | 先降采样率与 Judge 覆盖面,禁止牺牲重复次数换取覆盖面 |

升级三要素:现象与数据、已排除的原因、建议选项。缺一无效。

## 安全与合规红线

1. 禁止评估数据集包含未脱敏的用户数据、密钥与生产凭证。
2. 禁止被测智能体访问评估集的期望产出;评测环境与被测环境必须隔离。
3. 禁止修改门禁阈值以放行未达标变更;阈值调整须人工评审并记录。
4. 禁止在报告中混用自评口径与实测口径的数字;引用厂商数字必须标注 self-reported。
5. 禁止删除评分历史;历史分数是趋势分析与质疑复盘的证据。
6. 涉及对外发布的效果声明,须能回溯到评分卡原始记录。

## 禁止事项

1. 禁止用最终答案正确掩盖过程缺陷;轨迹维度必须独立评估。
2. 禁止让一条 Judge 同时评判正确性、语气、安全、效率等多个准则。
3. 禁止只因轨迹与参考路径不同就判失败——只要替代路径安全、正确且不更低效,应判通过。
4. 禁止把公开榜单分数作为内部能力结论;榜单只作上限校准。
5. 禁止引用不带评测日期、配置与样本量的分数。
6. 禁止使用 `[待填写]`、`XX`、`___` 之外的非标准占位符;不确定处统一使用 `[待填写]`。

## 输出格式

- 评分卡:维度分数、配置快照、评测日期、样本量、均值与离散度、单任务成本
- 失败清单:逐条列出失败用例、失败类别、根因假设
- 校准报告:一致性数值、分歧样本分析、评估器版本
- 回归集变更记录:新增/冻结条目及理由
- 评估器变更记录:prompt/Rubric/Judge 模型的版本差异与影响

## 评估与自检

| 自检项 | 判定 |
|---|---|
| 每个维度是否都有独立评估器 | 是 / 否 |
| Judge 是否单准则、结构化输出、与被测模型隔离 | 是 / 否 |
| 是否经过人类校准且一致性达标 | 是 / 否 |
| 分数是否带四要素(模型、日期、配置、样本量) | 是 / 否 |
| 成功率是否与成本延迟配对报告 | 是 / 否 |
| 失败样本是否已回流回归集 | 是 / 否 |
| 门禁是否实测拒绝过未达标变更 | 是 / 否 |
| 评估器版本是否可追溯 | 是 / 否 |

任一"否"须显式列出;自检不通过即任务未完成。

4.2. SKILL.md 规范

---
name: agent-eval-regression-suite
description: 为智能体系统构建并运行一套回归评估体系:从失败模式分类学出发设计评估维度,建立 Golden Set 与回归集,配置三层评估器(代码断言、LLM Judge、人工校准),接入 CI 门禁并产出带方差与成本的评分卡。当需要为智能体建立质量门禁、在模型或提示词变更后做回归验证、或评估分数出现不可解释波动时使用。
version: 1.0
created: 2026-09-12
---

# 智能体回归评估体系构建

## 适用场景

- 智能体系统即将进入持续迭代,需要建立"每次变更都可归因"的度量基线。
- 模型升级、提示词修改、工具替换后,需要判断是变好还是变坏。
- 评估分数出现不可解释的波动,需要做方差分析与归因。
- 生产出现新的失败模式,需要固化为回归条目防止复发。

不适用于:模型预训练评测、公开榜单刷榜、无判定标准的纯主观体验调研。

## 前置条件

| 类别 | 要求 | 缺失时处置 |
|---|---|---|
| Trace | 智能体全过程可回放 | 先补 Trace 采集,否则只能做 IO 评估并声明局限 |
| 任务类型清单 | 主要任务类型与占比已知 | 依据生产日志聚类补齐 |
| 判定标准 | 至少核心维度有可判定或可语义判断的标准 | 先从代码评估器可覆盖的维度起步 |
| Judge 环境 | 独立 LLM 可调用且版本可固定 | 暂缓语义维度,先跑确定性检查 |
| 预算 | 评估运行的 token/调用预算上限 | 设定保守默认上限并记录 |

## 输入

- 被测智能体配置(模型版本、Harness 配置、工具清单)
- 生产失败轨迹样本(如有)
- 已知失败模式清单与边界案例
- 通过阈值与成本预算

## 输出

- 回归集数据集(条目带 ID、维度、期望产出、来源标注)
- 三层评估器配置(代码断言脚本、Judge prompt 与 schema、人工标注规程)
- 评分卡(各维度分数、均值与离散度、单任务成本、配置快照)
- 校准报告(Judge 与人类一致性、分歧样本分析)
- 失败清单与回流记录

## 执行步骤

1. **失败模式分类先行**:不要从通用"helpfulness evaluator"出发,先按失败家族(路由错误、工具误用、参数非法、跳过必需校验、重复动作、检索无关、恢复失败、无依据断言、目标漂移、未经批准的关键操作)归类已知失败。
2. **构建起步集**:从 30–50 个精心标注的用例开始,覆盖主要任务类型加少量对抗性边界;从少量用例立刻起步,不要等凑齐数百条。
3. **维度分解**:按轨迹(步数、循环、必需步骤)、工具使用(选型、参数、错误恢复)、任务完成(有/无 Ground Truth 的达成度)、多轮(上下文保持、目标漂移)四维选择指标。
4. **三层评估器配置**:
   - 每条采样 trace 先跑廉价的代码检查(确定性、毫秒级);
   - 需要语义判断的子集交给 LLM Judge——一条 Judge 只判一个准则,输出结构化 schema(label: pass/fail/insufficient_evidence,score 0.0–1.0,failure_mode,explanation);
   - 分歧或低置信度案例路由到人工标注队列。
5. **Judge 校准**:人类标注样本比对,一致性达到约 80% 以上方可用于门禁;分歧记录而非强制统一——分歧本身可能揭示 Rubric 歧义。
6. **方差控制**:每个配置至少多次运行,报告均值与离散度;对照 run-to-run 方差解读差异,单次采样不得作为结论。
7. **接入门禁**:触及提示词/工具/模型配置的变更必须跑场景评估并以 status check 发布分数;任务成功率低于基线或单任务成本超限则构建失败。
8. **回流闭环**:生产失败 trace → 转为数据集条目 → 在评估中复现 → 修复 → 永久保留为回归测试项。
9. **持续校准**:agent 或 Harness 变更、prompt/Rubric 变更、Judge 模型变更、工具或上下文变更、用户分布变更、门限变更——六类触发条件任一发生即重新校准评估器,并递增评估器版本号。

## 质量标准(DoD)

1. 评估维度覆盖轨迹、工具使用、任务完成至少三维,且维度间独立打分。
2. 每条 Judge 单准则、结构化输出、证据要求明确,且与被测模型隔离。
3. Judge 与人类标注一致性不低于约 80%,校准报告可追溯。
4. 回归集含 held-out 子集,未参与被测对象的优化循环。
5. 分数报告包含四要素(模型、日期、配置、样本量)与重复次数。
6. 成功率与单任务成本、延迟配对报告。
7. 失败样本已回流,生产失败 trace 的转化记录完整。
8. 门禁经实测拒绝过未达标变更(有触发记录)。
9. 评估器版本台账完整,"产品质量变化"与"度量方式变化"可区分。
10. 评估数据无未脱敏敏感信息,期望产出对被测智能体不可见。

## 常见失败与处理

| 失败 | 表现 | 处理 |
|---|---|---|
| 评估—生产鸿沟 | 公开基准高分但私有库任务失败 | 构建匹配生产分布的私有评估集,基准只作基线验证 |
| Judge 自我评分 | Judge 与被测同模型,分数系统性偏高 | 更换独立模型作 Judge,或引入隔离验证 |
| 多准则混评 | 一条 Judge 同时打六个维度分,结果不可解释 | 拆分为独立评估器,逐维度出分 |
| 路径惩罚误判 | 替代解法被参考路径比对判失败 | 改为结果导向判定:安全、正确、不更低效即通过 |
| 用重试虚增成功率 | 成功率高但单任务成本飙升 | 成功率与成本强制配对,设成本上限门禁 |
| 回归集过拟合 | 离线分数涨、线上指标跌 | 引入 held-out 与轮换集;检查条目是否泄漏进优化回路 |
| 方差淹没差异 | 版本间差异小于 run-to-run 波动 | 增加重复次数并报告区间;差异在方差区间内即判"无可辨别差异" |

## 示例

**场景**:某团队的代码修复智能体升级了提示词,需要判断是否合入。

- 起步集:42 条用例(30 条典型修复 + 8 条边界 + 4 条对抗输入),全部来自历史任务与生产失败轨迹。
- 维度:任务完成(测试通过率,代码评估器)、轨迹质量(必需工具命中 + 步数上限,代码评估器)、修复说明质量(单准则 Judge,判"是否说明了根因与验证方式")。
- Judge 校准:人类标注 50 条,与 Judge 一致性 86%,达标,允许用于门禁。
- 运行:新旧配置各跑 5 次。新配置任务成功率 78.4% ± 2.1,旧配置 77.9% ± 2.3;差异落在方差区间内,判"无可辨别差异";但新配置单任务成本下降 12%,为主要收益依据。
- 门禁:合入;评分卡与失败清单(3 条轨迹类失败已回流回归集)随 PR 归档。

4.3. 落地检查清单

评估设计阶段

  • [ ] 评估问题明确:回归检测 / 版本对比 / 上限校准三者至少其一
  • [ ] 失败模式分类学已建立,覆盖本系统已知失败家族
  • [ ] 评估维度覆盖轨迹 / 工具使用 / 任务完成 / 多轮至少三维,且独立打分
  • [ ] 起步评估集 30–50 条,覆盖主要任务类型与对抗性边界
  • [ ] 回归集条目带唯一 ID、版本号与来源标注
  • [ ] 回归集含 held-out 子集,且未参与被测对象优化循环

评估器与校准

  • [ ] 代码评估器覆盖全部可确定性判定的检查
  • [ ] 每条 LLM Judge 单准则、结构化输出(label / score / failure_mode / explanation)、证据要求明确
  • [ ] Judge 模型与被测智能体模型隔离,版本与温度被记录
  • [ ] Judge 与人类标注一致性达到约 80% 以上,校准报告可追溯
  • [ ] 人工标注规程包含九类样本(明显通过、明显失败、边界、各失败类别、不同用户与任务段、不同版本、对抗措辞、答案好过程坏、过程好外部失败)
  • [ ] 标注者在不看自动评分的情况下标注,分歧被记录而非强制统一

运行与方差

  • [ ] 每配置至少多次运行,报告均值与离散度
  • [ ] 单次运行分数未被用作结论
  • [ ] 成功率与单任务成本、延迟配对报告
  • [ ] 每次运行的配置快照(模型、Harness、工具、日期)被留存
  • [ ] 六类评估器重校准触发条件有监控与责任人

门禁与回流

  • [ ] 触及提示词/工具/模型配置的变更强制跑评估并以 status check 发布
  • [ ] 成功率低于基线或成本超限时构建失败,且实测触发过
  • [ ] 生产失败 trace 有转化为回归条目的固定通道
  • [ ] 门禁阈值调整有人工评审记录
  • [ ] 评估器版本台账完整,评分可回溯到评估器版本

合规

  • [ ] 评估数据无未脱敏敏感信息
  • [ ] 期望产出对被测智能体不可见
  • [ ] 自评口径与实测口径的数字未混用,厂商数字标注 self-reported

5. 总结

Eval 方向回答的问题是:当智能体系统持续迭代时,谁来证明每一次改动是变好而不是变坏?

本方向的核心结论有四点:

  1. 评估是 Harness 的 L5 层,且评估体系本身也是 Harness 的一部分。Golden Set 是上下文工程的制品,评估结果是编排层的门控输入,失败样本库是组织记忆,评估元数据是治理审计的原料。把评估当作 Harness 之外的"测试环节",是本方向最常见的定位错误。
  2. 轨迹评估是智能体评估与传软件测试的分水岭。正确答案会隐藏错误推理:幻觉的工具调用可能碰巧走运,迂回的路径可能仍达成目标。只看输入—输出,就会为延迟、成本与安全风险埋单而不自知。但轨迹评估的判定必须结果导向——只要替代路径安全、正确且不更低效,不应因偏离参考路径而判失败。
  3. LLM-as-a-Judge 是必需品,也是有边界的工具。它的正确用法是:单准则、结构化输出、与被测模型隔离、经人类校准(一致性约 80% 以上)、分歧路由人工。Anthropic 的实践同时提醒:Judge 抓不到所有系统性盲点(如内容来源质量偏好),人类评估不可被完全替代。
  4. 不带方差与成本的分数没有决策价值。GitHub 的受控对比(每配置至少 5 次、±1σ 刻画离散度)证明,几个百分点的差异可能只是运行方差;Anthropic 的归因分析证明,token 预算本身可解释大部分性能方差。评估结论必须以"均值 + 离散度 + 单任务成本"的形态呈现。

对落地团队的建议是:从 30–50 条真实失败样本起步,先建确定性检查,再引入单准则 Judge,最后接入门禁与在线采样。评估体系与智能体能力应同步生长——一个没有回归集的智能体系统,每一次提示词改动都是在黑暗中跳崖。


信息缺口声明

  1. 公开 AI SRE 基准:完全无结果。本轮检索未找到任何公开的、用于评估 AI 故障定位 / RCA / 值守能力的权威基准;本方向所述 Golden Set 与 Judge 闭环均以内部评估形态存在,企业落地只能自建。
  2. 公开 DevOps / IaC 智能体基准:严重缺口。SWE-Lancer 全集中 Infrastructure/DevOps 类任务仅占 0.41%(3 个),公开经济化基准对基础设施方向几乎无覆盖。
  3. 中国 GB/T 类 AI 编码相关标准:未检索到,本文档未引用任何国内标准编号,亦严禁后续补写编造编号。
  4. LLM-as-a-Judge 的具体校准阈值(约 80% 一致性)来自厂商方法论文档(Arize、assisters.io 等),属工程经验口径而非标准条文,引用时须注明来源属性。
  5. DORA 2025 的使用率数字,本组前序文档统一采用 90% 以上口径(该报告调研窗口为 2025-06-13 至 2025-07-21);不同转述来源存在 90%/95% 两种表述,本文采用与前序文档一致的口径。
  6. 案例 3.2 中 Anthropic 内部 research eval 的 90.2% 提升为内部评测结果,不可外推为行业通用基准或跨厂商比较依据。

6. 参考资料

  1. Why we no longer evaluate SWE-bench Verified — OpenAI(Mia Glaese & Olivia Watkins),2026-02-23。https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
  2. AI in SRE: How Google is Engineering the Future of Reliable Operations — Google SRE。https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/
  3. How we built our multi-agent research system — Anthropic,2025-06-13。https://www.anthropic.com/engineering/multi-agent-research-system
  4. Evaluating performance and efficiency of the GitHub Copilot agentic harness across models and tasks — GitHub Blog,2026。https://github.blog/ai-and-ml/github-copilot/evaluating-performance-and-efficiency-of-the-github-copilot-agentic-harness-across-models-and-tasks/
  5. AI agent tracing and evaluation: The complete developer guide — Arize AI,2026。https://arize.com/?p=30432/
  6. LLM Evaluation Framework: Trajectories vs. Outputs — LangChain,2026。https://www.langchain.com/resources/llm-evaluation-framework
  7. AI agent evaluation: trajectory, tool calls, and task completion — Langfuse,2026。https://langfuse.com/resources/engineering/ai-agent-evaluation
  8. AI Agent Evaluation Framework: Metrics & Best Practices — annotation.academy,2026。https://annotation.academy/blog/ai-agent-evaluation-framework
  9. How to Test and Evaluate AI Agents in 2026 — assisters.io,2026。https://www.assisters.io/blogs/how-to-test-and-evaluate-ai-agents
  10. SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks — arXiv:2602.12670,2026-02-13。https://arxiv.org/html/2602.12670v1
  11. SWE-Lancer: Can Frontier LLMs Earn $1 Million from Real-World Freelance Software Engineering? — OpenAI,arXiv:2502.12115。https://arxiv.org/html/2502.12115v4
  12. Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity(随机对照试验) — METR,2025-07-10。https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/
  13. State of AI-assisted Software Development 2025 — DORA / Google Cloud,2025-11-12。https://dora.dev/research/2025/dora-report/
  14. Stack Overflow 2025 Developer Survey — Stack Overflow,2025-07-30。https://survey.stackoverflow.co/2025/
  15. Terminal-Bench 官方榜单 — Laude Institute 等。https://www.tbench.ai/

Eval (Agent Evaluation System)

1. Introduction

1.1. Background: The Crisis of Trust in Model Scores and the Failure of Self-Assessment Narratives

Between 2025 and 2026, AI adoption in the software engineering industry has passed the saturation threshold, yet the question "how effective is it?" has become increasingly hard to answer. Three sets of facts together sketch out this predicament:

  • Public leaderboard numbers no longer represent real capability. On 2026-02-23, OpenAI released Why we no longer evaluate SWE-bench Verified, formally abandoning this benchmark once regarded as the coding-agent industry standard: re-examination found that at least 59.4% of the frequently-failed tasks contained flawed tests (rejecting functionally correct submissions), and that every frontier model tested could reproduce verbatim fragments of the gold patch from the task ID alone — score gains increasingly reflect training-set exposure (training contamination) rather than real capability.
  • Subjective perception and objective measurement systematically diverge. In a randomized controlled trial released by METR on 2025-07-10, experienced open-source developers were measured to be 19% slower with AI tools, while the same developers self-reported being 20% faster. DORA 2025 (2025-11-12) shows over 90% of developers already use AI at work, about 80% perceive productivity gains, and 30% of tasks take over 4 hours per run — perceived gains are widespread, but perception is not measurement. The Stack Overflow 2025 developer survey (2025-07-30) likewise shows 84% of developers are using or planning to use AI tools, while 46% express distrust in the accuracy of AI output.
  • Evaluation itself becomes the object of evaluation. When a team tries to answer "is our agent doing well?", it quickly discovers: input–output evaluation cannot see erroneous reasoning in the process, public benchmarks diverge from production distributions, and LLM-as-a-Judge itself hallucinates, has preferences, and contradicts itself across similar cases. The reliability of the evaluation system itself becomes a more fundamental concern than model capability.

These three sets of facts point to a single conclusion: any team that has not established an internal evaluation system cannot answer whether a given change made things better or worse. The reason the Eval direction exists is to turn this question from a subjective narrative into reproducible engineering measurement.

1.2. Definition

Eval direction (Agent Evaluation System): the engineering field that researches and builds measurement infrastructure for the quality of agent systems. It does not make agents stronger; it makes "strong or weak" decidable. Its core working objects fall into four categories:

  1. Regression Set (Regression Set / Eval Set): solidify typical tasks and known failures into a dataset with expected outputs, then fully re-run and retain scorecards after every change (prompt, model, tool, or Harness configuration).
  2. Trajectory Evaluation: rather than only looking at the final answer, evaluate the "path the agent took" — which tools were invoked, whether parameters were correct, whether the step count was reasonable, whether it fell into loops, and whether required steps were missed.
  3. Evaluator Stack: a three-layer collaboration of code evaluators (deterministic, millisecond-scale), LLM-as-a-Judge (scalable semantic judgment, second-scale), and human annotation (Ground Truth and calibration), with continuous calibration of the evaluators themselves.
  4. Online Evaluation: continuously apply evaluation to production traffic at a sampling rate, capturing drift, novel inputs, and real-world tool failures.

1.3. Position in the AI Harness Architecture

图 1-1|Eval 在 Harness 六层能力模型中的定位

Eval 在 Harness 六层能力模型中的定位 主层 L5 · 次层 L1/L4 · 参与 L2/L3/L6 · 映射为本文分析 L1 上下文工程 次层 评估器 prompt、Rubric、Golden Set 装配 上下文装配与预算控制 L2 工具与执行 参与 评估任务沙箱执行、评测 harness 运行 沙箱化执行环境 L3 编排与控制 参与 评估结果接入 CI/CD 与发布门控 失败样本回流回归集 L4 记忆与状态 次层 失败案例库、历史分数库、评估器版本记录 评估元数据沉淀 L5 评估与观测 主层 回归集、轨迹追踪、评分器、在线指标 A/B 分流 · 在线采样 L6 治理与安全 参与 Judge 隔离、数据脱敏、评分不可操纵 评估安全红线 评估体系本身也是 Harness 的一部分 结构解读:评估体系本身也是 Harness 的一部分——L5 为主层,L1/L4 为次层,L2/L3/L6 参与。 关键联动:Golden Set 由 L1 装配,评估结果上送 L3 门控,评估元数据沉淀为 L4 组织记忆。

数据来源:基于本文分析绘制的示意图。

Per the six-layer capability model in the project parameter card, this direction's primary layer is the L5 Evaluation and Observability layer, with secondary layers being the L1 Context Engineering layer and the L4 Memory and State layer. This direction has a unique structural feature: the evaluation system itself is part of the Harness — the Golden Set is an assembly object of L1, the evaluator prompt is an artifact of L1, evaluation results are gating inputs to L3, and evaluation metadata is deposited as organizational memory in L4.

Harness layerThis direction's roleConcrete form
L1 Context EngineeringSecondaryEvaluator prompts, scoring criteria (Rubric), and context assembly and budget control for the Golden Set
L2 Tools & ExecutionParticipatesSandboxed execution of evaluation tasks and running of evaluation harnesses
L3 Orchestration & ControlParticipatesEvaluation results serve as inputs to CI/CD and release gating; failed samples flow back as regression-set items
L4 Memory & StateSecondaryFailure case library, historical score library, and evaluator version records
L5 Evaluation & ObservabilityPrimaryRegression sets, trajectory tracing, scorers, online metrics, and A/B splitting
L6 Governance & SecurityParticipatesJudge isolation from the system under test, evaluation data anonymization, and scores that cannot be manipulated by the party under test

Linkage with the preceding documents: 01-agents.md is concerned with "who is doing the work," and 02-coding.md is concerned with "what is produced," and both reference evaluation gating through the implementation checklist in section 04.3; this direction provides the internal construction of that gate. Methodological review of evaluation standards themselves is undertaken by 06-benchmark.md — this direction answers "how well are we doing," while the Benchmark direction answers "is the ruler we judge with accurate."

1.4. The Bottleneck Layer

This direction's bottleneck is not in model capability, nor in collection infrastructure, but in the following three links:

  1. The reliability of the evaluators themselves. LLM-as-a-Judge is subject to systematic bias: hallucination, style preference, preference for verbose answers, and self-contradiction across similar cases. If the evaluator uses the same model as the system under test, the self-scoring risk is further amplified. The calibration baseline given by the industry is: agreement between the Judge and human annotation should reach about 80% or higher; when disagreement exceeds 20%, first tighten the scoring criteria or lower the Judge temperature before relying on it for gating and monitoring.
  2. The Evaluation–Production Gap. High scores on public benchmarks do not equal success under the conventions of a private codebase. Benchmarks serve only as baseline verification; teams must build private evaluation sets that match the production data distribution — and this is precisely the part that public leaderboards cannot help with.
  3. Variance control. Agents are non-deterministic systems: repeated runs of the same configuration produce results with significant variance (see the case in 3.3 and 06-benchmark.md). A single-run score may be noise; a conclusion that does not account for variance cannot serve as a basis for decisions.

1.5. Value

  • Turn "going by feel" into "going by scorecard". Every change becomes attributable: whether it improved or worsened, on which dimension, and at what cost.
  • Turn failure into an asset. Once a production failure trajectory is solidified, it permanently becomes a regression-set item — the same mistake does not get paid for twice.
  • Let teams dare to make changes. Only teams with a regression gate dare to keep iterating on prompts, upgrading models, and swapping tools; teams without a gate can only freeze the system.
  • Make external narratives defensible. Citing any effect number can always be accompanied by the evaluation date, configuration, and sample size, holding up to the methodological scrutiny described in 06-benchmark.md.

2. Glossary

TermEnglish / AbbreviationDefinition
EvaluationEvaluation / EvalSystematic measurement of an agent system's quality, covering offline regression and online monitoring
Regression SetRegression Set / Eval SetA solidified set of tasks with expected outputs or judging criteria, used for full re-runs after changes
Golden SetGolden Set / Golden DataA set of ideal responses verified by humans, serving as the ground truth for comparison and calibration
TraceTraceA structured record of the agent's entire process: each step's tool calls, parameters, returns, and intermediate reasoning
Trajectory EvaluationTrajectory EvaluationAn evaluation approach that assesses the quality of the agent's execution path, as opposed to only looking at the final answer
IO EvaluationIO EvaluationAn evaluation approach that only compares the final input and output, unable to uncover hidden failures in the process
Hidden FailureHidden FailureA failure mode in which the final answer is correct but the process contains errors (e.g., a hallucinated tool call that happens to get lucky)
EvaluatorEvaluatorA component that scores an agent's output or trajectory, in three types: code evaluators, LLM Judges, and human evaluation
LLM-as-a-JudgeLLM-as-a-JudgeAn evaluation technique that uses an LLM to make semantic judgments about the object under test according to scoring criteria
RubricRubricWritten judging rules used by a Judge or a human: pass/fail conditions, boundary cases, and evidence requirements
Code EvaluatorCode EvaluatorAn evaluator implemented as a deterministic script (assertions, pattern checks, metric computations), millisecond-scale with zero marginal cost
Human AnnotationHuman AnnotationScores assigned by humans to samples according to protocol, used to establish Ground Truth and calibrate automated evaluators
Inter-Annotator AgreementInter-Annotator AgreementThe degree to which multiple annotators agree on scores for the same samples; a meta-metric of the evaluation system itself
Offline EvaluationOffline EvaluationEvaluation run on curated datasets before a change ships, on demand, or in CI
Online EvaluationOnline EvaluationEvaluation continuously applied to production traffic, with cost controlled by the sampling rate, capturing drift and novel inputs
FaithfulnessFaithfulnessChecking whether an agent's response can be logically derived from the context it provided, catching outputs that "sound right but have no basis"
Task Success RateTask Success RateThe proportion of tasks completed; when used it must be paired with per-task cost and latency to prevent inflation through retries
Cost per TaskCost per TaskThe average token/call cost of completing a single task; the pair metric that prevents "burning money for success rate"
Sampling RateSampling RateThe proportion of production traffic covered by online evaluation; the control valve for online evaluation cost
CalibrationCalibrationThe process of using human-annotated samples to measure and improve evaluators, keeping automated evaluation aligned with human judgment
Evaluation-Production GapEvaluation-Production GapA systematic gap between performance on public benchmarks and actual performance in production environments
Failure TaxonomyFailure TaxonomyA system for classifying failures by failure family (routing, tool use, control flow, retrieval, recovery, safety, etc.)
ScorecardScorecardThe complete result record of one evaluation run: scores by dimension, configuration, date, sample size, and variance
A/B TestingA/B TestingAn experimental method that randomly splits traffic between new and old versions to draw causal conclusions

3. Case Studies

Note: The following cases are compiled from publicly verifiable primary sources. All effect figures in the cases are the figures published by the source; when citing them, the evaluation date and configuration must be noted together with the figure.

3.1. Case 1: An LLM-as-a-Judge Evaluation Loop in a Large-Scale Production Environment

Source: Google SRE, AI in SRE: How Google is Engineering the Future of Reliable Operations, https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/

3.1.1. Background

Google's AI Operator, an AI on-call agent, has run across thousands of incidents and needs continuous improvement, but it is impossible to manually score every execution trajectory. At the same time, SRE scenarios place extremely high demands on evaluation: evaluation must not only judge whether things were "done correctly" but also drive improvement; otherwise evaluation is merely a cost.

3.1.2. Approach

Google established an evaluation-driven improvement loop:

  • All execution trajectories are retained: every incident-handling trace is stored in Spanner, for rigorous debugging and continuous improvement.
  • Golden Data comparison: the evaluation framework analyzes incident metadata and compares the agent's automated actions against human experts' ideal responses ("Golden Data").
  • LLM-as-a-Judge evaluation: LLM-as-a-Judge is used to evaluate agent performance, determining success scenarios (correct diagnosis and mitigation) and failure scenarios (misdiagnosed root cause and failed mitigation).
  • Evaluation results directly drive improvement: in failure scenarios, the Judge automatically generates a critique of the agent's logic and files a bug ticket containing a concrete implementation plan to improve the AI Operator's future performance.
  • Promotion gating: promotion across autonomy levels (L1 assisted diagnosis to L4 full autonomy) must first demonstrate a sustained, statistically significant success rate on human-validated Golden evaluation data.
3.1.3. Results
  • Evaluation is no longer an after-the-fact record but becomes an engine of improvement: the Judge's judgment is directly converted into an actionable bug ticket, forming a complete loop of "trace → Golden Data comparison → LLM evaluation → automated ticket → improve and re-evaluate."
  • Golden Data becomes the basis for promoting autonomy: only when performance on Golden data is consistently statistically significant can the agent obtain a higher autonomy level for a specific bounded scenario. This design directly ties the evaluation system to security governance (L6).
  • This case is currently the only publicly released AI on-call production practice with a large scale (thousands of incidents) and a complete evaluation loop.

3.2. Case 2: Internal Evaluation and Variance Attribution for a Multi-Agent System

Source: Anthropic, How we built our multi-agent research system, 2025-06-13, https://www.anthropic.com/engineering/multi-agent-research-system

3.2.1. Background

When building its multi-agent research system, Anthropic faced two evaluation challenges: first, the effectiveness of a multi-agent system cannot be measured with general-purpose benchmarks, so it had to build its own internal evaluation; second, agent behavior has high variance, so single-run scores are unstable and the dominant drivers of variance must be identified.

3.2.2. Approach
  • Build an internal evaluation set: use an internal research eval as the primary metric, supplemented by human evaluation. Anthropic explicitly advises: do not wait until hundreds of test cases are gathered to start; instead, start immediately with small-scale testing on a few cases.
  • Use LLM-as-a-Judge and human evaluation together: the LLM Judge handles scoring at scale, while human testers are responsible for discovering systematic blind spots.
  • Variance attribution analysis: attribute the performance variance through decomposition to identify the dominant drivers.
3.2.3. Results
  • The multi-agent system (Opus 4 orchestrator + Sonnet 4 sub-agents) scored 90.2% higher than a single agent on Anthropic's internal research eval (note: this is an internal evaluation result and cannot be extrapolated as a general industry benchmark).
  • Cost profile: a normal agent flow consumes roughly 4× the tokens of a chat interaction, while multi-agent research consumes about 15× (multi-agent : single-agent : chat ≈ 15 : 4 : 1) — evaluation must be paired with cost, otherwise the value of the 90.2% improvement cannot be judged.
  • Variance attribution on BrowseComp: token usage alone explains 80% of performance variance; adding tool-call counts and model selection explains 95% combined. This shows that in agent evaluation, the level of resource consumption itself is the strongest predictor, and evaluation design must control or record the token budget.
  • Empirical evidence that human evaluation is irreplaceable: human testers found that early agents consistently preferred SEO-optimized content farms over authoritative sources (academic PDFs, personal blogs) — a systematic blind spot that the LLM Judge did not catch, resolved only after adding a source-quality heuristic.
  • Production-shape parameters: the orchestrator spins up 3–5 sub-agents in parallel, and each sub-agent returns a condensed summary of 1,000–2,000 tokens, which avoids process context contaminating the main evaluation.

3.3. Case 3: Controlled Comparative Evaluation of Vendor Harnesses

Source: GitHub official blog, Evaluating performance and efficiency of the GitHub Copilot agentic harness across models and tasks, 2026, https://github.blog/ai-and-ml/github-copilot/evaluating-performance-and-efficiency-of-the-github-copilot-agentic-harness-across-models-and-tasks/

3.3.1. Background

The model provides raw intelligence, while the Harness determines how effectively that intelligence is applied — GitHub's own words are "the harness shapes how effectively that intelligence is applied". When a vendor wants to prove that its own Harness is not inferior to, or even better than, the Harness that comes with the model vendor (Claude Code, Codex CLI), a single ordinary benchmark run cannot produce a credible conclusion: the agent's run-to-run variance drowns out real differences.

3.3.2. Approach

GitHub's evaluation methodology (the core value of this case) is a set of controlled-variable evaluation (the φ method):

  • Controlled-variable checklist: the same model, the same benchmark tasks, normalized context window, the same reasoning effort, the same tool selection and MCP servers — only the Harness itself is the variable.
  • Variance analysis: on Terminal-Bench 2.0, each agent-model combination is run at least 5 times, with dispersion characterized by a ±1σ ellipse.
  • Multi-dimensional benchmark matrix: SWE-bench Verified (coding standard), SWE-bench Pro (complex engineering), SkillsBench (skill extensibility), Terminal-Bench (terminal workflows), Win-Hill (cross-OS generalization), avoiding the bias of any single benchmark.
3.3.3. Results
  • Under a fixed model and task, the GitHub Copilot agentic harness achieves a task completion rate on par with the harness that ships with the model vendor, while its token consumption is lower in most configurations.
  • Key methodological conclusion: the observed differences fall within the run-to-run variance caused by model randomness — "a leaderboard difference of a few percentage points is very likely just run variance." This conclusion directly challenges the validity of single-run leaderboard comparisons without variance analysis, and is one of the empirical pillars of the core argument of 06-benchmark.md (that the harness has become an evaluation variable).
  • Implication for enterprise teams: if an internal evaluation runs only once per configuration, the score should be treated as a single sample rather than a capability estimate; when budget allows, run at least 5 repetitions and report the interval.

4. Practice Standards

4.1. AGENTS.md Specification

The following is the complete AGENTS.md text for this direction, placed in a code block so it can be copied directly. When using it, overlay the group-level AGENTS.md common clauses; where they conflict, resolve them by the nearest-first principle.

# AGENTS.md —— 软件工程 · Eval 方向(智能体评估体系)

## 角色与边界

- 本文件约束**建设与运行智能体评估体系**的工作:回归集构建、轨迹评估器开发、LLM-as-a-Judge 设计与校准、在线评估与采样策略、评估结果接入发布门控。
- 允许自行完成:编写评估用例与判定脚本、设计评分准则、实现代码评估器、配置采样率、维护回归集与失败样本库。
- 禁止自行完成:修改或删除已有回归集条目的期望产出、绕过评估门禁合入变更、调整在线评估采样率以隐藏退化、把 Judge 评分直接作为对外宣传数字。
- 边界判定:凡影响"某变更能否通过门禁"的改动(阈值、判定逻辑、样本集),一律视为门禁相关变更,须人工评审并留痕。

## 环境假设

- 提供 Trace 采集与存储,智能体全过程工具调用可回放。
- 提供评估数据集存储与版本管理,回归集条目带唯一 ID 与版本号。
- 提供 LLM Judge 运行环境,Judge 所用模型版本与温度可配置且被记录。
- 提供评估运行器,支持批量执行、超时控制与成本计量。
- 提供评分历史存储,支持跨版本趋势查看。
- 缺失任一项时,在评估报告中显式声明缺失项,不得静默降级。

## 上下文加载顺序(Context Budget)

1. 评估任务契约:被测对象、评估维度、通过阈值、预算上限(固定,不压缩)
2. 失败模式分类学:本系统已知的失败家族与典型样本
3. 相关评分准则(Rubric)与 Judge prompt 当前版本
4. 回归集条目清单(ID、维度、期望产出类型)
5. 评分历史:近版本分数趋势与已知波动区间
6. 采样与门禁配置
7. 被测变更的差异说明(按需加载)

## 工具契约

- 评估运行工具:输入为数据集版本 + 被测配置,输出为评分卡;必须记录每次运行的配置快照。
- Judge 调用工具:必须固定并记录模型版本、温度、prompt 版本;输出必须为结构化 schema(label / score / failure_mode / explanation)。
- Trace 查询工具:支持按任务 ID、时间窗、失败类别检索。
- 所有评估工具输出禁止包含被评估数据之外的用户敏感信息;确需脱敏示例时先脱敏再入库。

## 任务执行流程(SOP)

1. 明确评估问题:这次评估要回答什么(回归检测?版本对比?上限校准?)。
2. 选择评估维度:轨迹 / 工具使用 / 任务完成 / 多轮稳定,明确各维度的指标与判定方式。
3. 构建或扩充数据集:优先从生产失败轨迹转化;新用例须覆盖已知失败类别与边界案例。
4. 为需要语义判断的维度设计 Judge:一条 Judge 只判一个准则,写明证据要求、通过/失败条件、边界案例与结构化输出 schema。
5. 校准:人类标注样本与 Judge 比对,一致性达到约 80% 以上方可用于门禁;不达标先收紧 Rubric 或换 Judge 模型。
6. 运行评估:每配置至少多次运行并报告均值与离散度;记录成本与延迟。
7. 产出评分卡与结论:结论必须注明配置、日期、样本量与方差;不带四要素的分数不得写入报告。
8. 回流:失败样本永久加入回归集;评估器缺陷记入评估器版本变更记录。

## 验证与证据要求

必须满足并留存证据:

| 验证项 | 判定方式 | 证据 |
|---|---|---|
| 判定可复现 | 同一配置重复运行,结果在报告的方差区间内 | 多次运行记录 |
| Judge 与人类一致 | 校准样本上一致性不低于约 80% | 校准报告 + 样本清单 |
| 无自我评分 | Judge 模型与被测智能体所用模型不同版本或经隔离验证 | 配置记录 |
| 回归集防过拟合 | 回归集未参与被测对象的任何优化循环;有held-out子集 | 数据集版本记录 |
| 成本配对 | 成功率与单任务成本、延迟同时报告 | 评分卡 |
| 门禁生效 | 低于阈值的变更被实测拒绝合入 | 门禁触发记录 |
| 评估器版本可追溯 | 每个分数可对应到评估器 prompt 与 Judge 模型版本 | 版本台账 |

禁止以单次运行分数作为结论;禁止以"多数用例通过"替代逐条失败清单。

## 失败与升级策略

| 失败 | 处理 |
|---|---|
| Judge 与人类分歧超过 20% | 停用该 Judge 的门禁资格,收紧 Rubric 或更换 Judge 模型后重新校准 |
| 评估分数与主观体感背离 | 优先怀疑评估集分布偏差;检查评估集是否覆盖真实任务类型 |
| 同配置分数大幅波动 | 扩大重复次数并报告区间;波动持续则排查沙箱环境漂移 |
| 回归集疑似被过拟合 | 引入 held-out 子集与轮换集;冻结部分条目不进入优化回路 |
| 在线指标与离线评分背离 | 检查采样代表性;生产失败样本回流扩充离线集 |
| 评估成本超预算 | 先降采样率与 Judge 覆盖面,禁止牺牲重复次数换取覆盖面 |

升级三要素:现象与数据、已排除的原因、建议选项。缺一无效。

## 安全与合规红线

1. 禁止评估数据集包含未脱敏的用户数据、密钥与生产凭证。
2. 禁止被测智能体访问评估集的期望产出;评测环境与被测环境必须隔离。
3. 禁止修改门禁阈值以放行未达标变更;阈值调整须人工评审并记录。
4. 禁止在报告中混用自评口径与实测口径的数字;引用厂商数字必须标注 self-reported。
5. 禁止删除评分历史;历史分数是趋势分析与质疑复盘的证据。
6. 涉及对外发布的效果声明,须能回溯到评分卡原始记录。

## 禁止事项

1. 禁止用最终答案正确掩盖过程缺陷;轨迹维度必须独立评估。
2. 禁止让一条 Judge 同时评判正确性、语气、安全、效率等多个准则。
3. 禁止只因轨迹与参考路径不同就判失败——只要替代路径安全、正确且不更低效,应判通过。
4. 禁止把公开榜单分数作为内部能力结论;榜单只作上限校准。
5. 禁止引用不带评测日期、配置与样本量的分数。
6. 禁止使用 `[待填写]`、`XX`、`___` 之外的非标准占位符;不确定处统一使用 `[待填写]`。

## 输出格式

- 评分卡:维度分数、配置快照、评测日期、样本量、均值与离散度、单任务成本
- 失败清单:逐条列出失败用例、失败类别、根因假设
- 校准报告:一致性数值、分歧样本分析、评估器版本
- 回归集变更记录:新增/冻结条目及理由
- 评估器变更记录:prompt/Rubric/Judge 模型的版本差异与影响

## 评估与自检

| 自检项 | 判定 |
|---|---|
| 每个维度是否都有独立评估器 | 是 / 否 |
| Judge 是否单准则、结构化输出、与被测模型隔离 | 是 / 否 |
| 是否经过人类校准且一致性达标 | 是 / 否 |
| 分数是否带四要素(模型、日期、配置、样本量) | 是 / 否 |
| 成功率是否与成本延迟配对报告 | 是 / 否 |
| 失败样本是否已回流回归集 | 是 / 否 |
| 门禁是否实测拒绝过未达标变更 | 是 / 否 |
| 评估器版本是否可追溯 | 是 / 否 |

任一"否"须显式列出;自检不通过即任务未完成。

4.2. SKILL.md Specification

---
name: agent-eval-regression-suite
description: 为智能体系统构建并运行一套回归评估体系:从失败模式分类学出发设计评估维度,建立 Golden Set 与回归集,配置三层评估器(代码断言、LLM Judge、人工校准),接入 CI 门禁并产出带方差与成本的评分卡。当需要为智能体建立质量门禁、在模型或提示词变更后做回归验证、或评估分数出现不可解释波动时使用。
version: 1.0
created: 2026-09-12
---

# 智能体回归评估体系构建

## 适用场景

- 智能体系统即将进入持续迭代,需要建立"每次变更都可归因"的度量基线。
- 模型升级、提示词修改、工具替换后,需要判断是变好还是变坏。
- 评估分数出现不可解释的波动,需要做方差分析与归因。
- 生产出现新的失败模式,需要固化为回归条目防止复发。

不适用于:模型预训练评测、公开榜单刷榜、无判定标准的纯主观体验调研。

## 前置条件

| 类别 | 要求 | 缺失时处置 |
|---|---|---|
| Trace | 智能体全过程可回放 | 先补 Trace 采集,否则只能做 IO 评估并声明局限 |
| 任务类型清单 | 主要任务类型与占比已知 | 依据生产日志聚类补齐 |
| 判定标准 | 至少核心维度有可判定或可语义判断的标准 | 先从代码评估器可覆盖的维度起步 |
| Judge 环境 | 独立 LLM 可调用且版本可固定 | 暂缓语义维度,先跑确定性检查 |
| 预算 | 评估运行的 token/调用预算上限 | 设定保守默认上限并记录 |

## 输入

- 被测智能体配置(模型版本、Harness 配置、工具清单)
- 生产失败轨迹样本(如有)
- 已知失败模式清单与边界案例
- 通过阈值与成本预算

## 输出

- 回归集数据集(条目带 ID、维度、期望产出、来源标注)
- 三层评估器配置(代码断言脚本、Judge prompt 与 schema、人工标注规程)
- 评分卡(各维度分数、均值与离散度、单任务成本、配置快照)
- 校准报告(Judge 与人类一致性、分歧样本分析)
- 失败清单与回流记录

## 执行步骤

1. **失败模式分类先行**:不要从通用"helpfulness evaluator"出发,先按失败家族(路由错误、工具误用、参数非法、跳过必需校验、重复动作、检索无关、恢复失败、无依据断言、目标漂移、未经批准的关键操作)归类已知失败。
2. **构建起步集**:从 30–50 个精心标注的用例开始,覆盖主要任务类型加少量对抗性边界;从少量用例立刻起步,不要等凑齐数百条。
3. **维度分解**:按轨迹(步数、循环、必需步骤)、工具使用(选型、参数、错误恢复)、任务完成(有/无 Ground Truth 的达成度)、多轮(上下文保持、目标漂移)四维选择指标。
4. **三层评估器配置**:
   - 每条采样 trace 先跑廉价的代码检查(确定性、毫秒级);
   - 需要语义判断的子集交给 LLM Judge——一条 Judge 只判一个准则,输出结构化 schema(label: pass/fail/insufficient_evidence,score 0.0–1.0,failure_mode,explanation);
   - 分歧或低置信度案例路由到人工标注队列。
5. **Judge 校准**:人类标注样本比对,一致性达到约 80% 以上方可用于门禁;分歧记录而非强制统一——分歧本身可能揭示 Rubric 歧义。
6. **方差控制**:每个配置至少多次运行,报告均值与离散度;对照 run-to-run 方差解读差异,单次采样不得作为结论。
7. **接入门禁**:触及提示词/工具/模型配置的变更必须跑场景评估并以 status check 发布分数;任务成功率低于基线或单任务成本超限则构建失败。
8. **回流闭环**:生产失败 trace → 转为数据集条目 → 在评估中复现 → 修复 → 永久保留为回归测试项。
9. **持续校准**:agent 或 Harness 变更、prompt/Rubric 变更、Judge 模型变更、工具或上下文变更、用户分布变更、门限变更——六类触发条件任一发生即重新校准评估器,并递增评估器版本号。

## 质量标准(DoD)

1. 评估维度覆盖轨迹、工具使用、任务完成至少三维,且维度间独立打分。
2. 每条 Judge 单准则、结构化输出、证据要求明确,且与被测模型隔离。
3. Judge 与人类标注一致性不低于约 80%,校准报告可追溯。
4. 回归集含 held-out 子集,未参与被测对象的优化循环。
5. 分数报告包含四要素(模型、日期、配置、样本量)与重复次数。
6. 成功率与单任务成本、延迟配对报告。
7. 失败样本已回流,生产失败 trace 的转化记录完整。
8. 门禁经实测拒绝过未达标变更(有触发记录)。
9. 评估器版本台账完整,"产品质量变化"与"度量方式变化"可区分。
10. 评估数据无未脱敏敏感信息,期望产出对被测智能体不可见。

## 常见失败与处理

| 失败 | 表现 | 处理 |
|---|---|---|
| 评估—生产鸿沟 | 公开基准高分但私有库任务失败 | 构建匹配生产分布的私有评估集,基准只作基线验证 |
| Judge 自我评分 | Judge 与被测同模型,分数系统性偏高 | 更换独立模型作 Judge,或引入隔离验证 |
| 多准则混评 | 一条 Judge 同时打六个维度分,结果不可解释 | 拆分为独立评估器,逐维度出分 |
| 路径惩罚误判 | 替代解法被参考路径比对判失败 | 改为结果导向判定:安全、正确、不更低效即通过 |
| 用重试虚增成功率 | 成功率高但单任务成本飙升 | 成功率与成本强制配对,设成本上限门禁 |
| 回归集过拟合 | 离线分数涨、线上指标跌 | 引入 held-out 与轮换集;检查条目是否泄漏进优化回路 |
| 方差淹没差异 | 版本间差异小于 run-to-run 波动 | 增加重复次数并报告区间;差异在方差区间内即判"无可辨别差异" |

## 示例

**场景**:某团队的代码修复智能体升级了提示词,需要判断是否合入。

- 起步集:42 条用例(30 条典型修复 + 8 条边界 + 4 条对抗输入),全部来自历史任务与生产失败轨迹。
- 维度:任务完成(测试通过率,代码评估器)、轨迹质量(必需工具命中 + 步数上限,代码评估器)、修复说明质量(单准则 Judge,判"是否说明了根因与验证方式")。
- Judge 校准:人类标注 50 条,与 Judge 一致性 86%,达标,允许用于门禁。
- 运行:新旧配置各跑 5 次。新配置任务成功率 78.4% ± 2.1,旧配置 77.9% ± 2.3;差异落在方差区间内,判"无可辨别差异";但新配置单任务成本下降 12%,为主要收益依据。
- 门禁:合入;评分卡与失败清单(3 条轨迹类失败已回流回归集)随 PR 归档。

4.3. Implementation Checklist

Evaluation Design Stage

  • [ ] The evaluation question is clear: at least one of regression detection / version comparison / upper-bound calibration
  • [ ] A failure-mode taxonomy has been established, covering the known failure families of this system
  • [ ] Evaluation dimensions cover at least three of trajectory / tool use / task completion / multi-turn, with independent scoring
  • [ ] A starter evaluation set of 30–50 items covers the main task types and adversarial boundaries
  • [ ] Regression-set items carry a unique ID, version number, and source annotation
  • [ ] The regression set includes a held-out subset that does not participate in the optimization loop of the object under test

Evaluators and Calibration

  • [ ] Code evaluators cover all checks that can be decided deterministically
  • [ ] Each LLM Judge uses a single criterion, structured output (label / score / failure_mode / explanation), and clear evidence requirements
  • [ ] The Judge model is isolated from the agent model under test, with its version and temperature recorded
  • [ ] Judge–human annotation agreement reaches about 80% or higher, with a traceable calibration report
  • [ ] The human annotation protocol covers nine sample types (clearly pass, clearly fail, boundary, each failure category, different users and task segments, different versions, adversarial phrasing, correct answer with bad process, good process with external failure)
  • [ ] Annotators label without seeing the automated scores, and disagreements are recorded rather than forcibly unified

Execution and Variance

  • [ ] Each configuration is run multiple times, reporting mean and dispersion
  • [ ] Single-run scores are not used as a conclusion
  • [ ] Success rate is reported together with per-task cost and latency
  • [ ] A configuration snapshot (model, Harness, tools, date) is retained for each run
  • [ ] The six types of evaluator re-calibration triggers have monitoring and an owner

Gating and Feedback

  • [ ] Changes touching prompt/tool/model configuration are forced to run evaluation and publish scores as a status check
  • [ ] The build fails when success rate is below baseline or cost exceeds the cap, and this has actually been triggered
  • [ ] There is a fixed channel for converting production failure traces into regression items
  • [ ] Gate threshold adjustments have a human-review record
  • [ ] The evaluator version ledger is complete, and scores can be traced back to the evaluator version

Compliance

  • [ ] Evaluation data contains no un-anonymized sensitive information
  • [ ] Expected outputs are not visible to the agent under test
  • [ ] Self-assessed and measured figures are not mixed; vendor figures are labeled self-reported

5. Summary

The question the Eval direction answers is: when an agent system keeps iterating, who proves that each change makes things better rather than worse?

This direction has four core conclusions:

  1. Evaluation is the L5 layer of the Harness, and the evaluation system itself is also part of the Harness. The Golden Set is an artifact of context engineering, evaluation results are gating inputs to the orchestration layer, the failure-sample library is organizational memory, and evaluation metadata is the raw material for governance audits. Treating evaluation as a "testing stage" outside the Harness is the most common positioning mistake of this direction.
  2. Trajectory evaluation is the watershed between agent evaluation and traditional software testing. A correct answer can hide faulty reasoning: a hallucinated tool call may happen to get lucky, and a convoluted path may still reach the goal. Looking only at input–output means paying for latency, cost, and security risk without realizing it. But trajectory evaluation must be outcome-oriented — as long as an alternative path is safe, correct, and no less efficient, it should not be judged a failure for deviating from the reference path.
  3. LLM-as-a-Judge is a necessity, but also a tool with limits. Its correct usage is: single criterion, structured output, isolation from the model under test, human calibration (about 80% or higher agreement), and routing of disagreements to humans. Anthropic's practice also reminds us: the Judge cannot catch every systematic blind spot (such as content-source quality bias), and human evaluation cannot be fully replaced.
  4. Scores without variance and cost have no decision value. GitHub's controlled comparison (at least 5 runs per configuration, dispersion characterized by ±1σ) proves that differences of a few percentage points may just be run variance; Anthropic's attribution analysis proves that the token budget itself can explain most of the performance variance. Evaluation conclusions must be presented in the form of "mean + dispersion + per-task cost."

The recommendation for teams rolling this out is: start with 30–50 real failure samples, first build deterministic checks, then introduce single-criterion Judges, and finally connect gating and online sampling. The evaluation system and agent capability should grow together — an agent system without a regression set is jumping off a cliff in the dark with every prompt change.


Information Gap Statement

  1. Public AI SRE benchmarks: no results at all. This round of search found no authoritative public benchmark for evaluating AI fault localization / RCA / on-call capability; the Golden Set and Judge loop described in this direction exist only in internal-evaluation form, so enterprises can only build their own when implementing.
  2. Public DevOps / IaC agent benchmarks: a severe gap. Infrastructure/DevOps-type tasks account for only 0.41% (3 items) of the full SWE-Lancer set, and public monetized benchmarks have almost no coverage of the infrastructure direction.
  3. Chinese GB/T-type AI coding standards: none found. This document cites no domestic standard numbers, and strictly forbids fabricating numbers later.
  4. The specific calibration threshold for LLM-as-a-Judge (about 80% agreement) comes from vendor methodology documents (Arize, assisters.io, etc.) and is an engineering-experience measure rather than a standard provision; when citing it, the source nature must be noted.
  5. For the DORA 2025 usage figures, this group's preceding documents uniformly use the over-90% measure (the report's survey window was 2025-06-13 to 2025-07-21); different retold sources have both 90%/95% formulations, and this document uses the measure consistent with the preceding documents.
  6. The 90.2% improvement in Anthropic's internal research eval in Case 3.2 is an internal evaluation result and cannot be extrapolated as a general industry benchmark or a basis for cross-vendor comparison.

6. References

  1. Why we no longer evaluate SWE-bench Verified — OpenAI (Mia Glaese & Olivia Watkins), 2026-02-23. https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
  2. AI in SRE: How Google is Engineering the Future of Reliable Operations — Google SRE. https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/
  3. How we built our multi-agent research system — Anthropic, 2025-06-13. https://www.anthropic.com/engineering/multi-agent-research-system
  4. Evaluating performance and efficiency of the GitHub Copilot agentic harness across models and tasks — GitHub Blog, 2026. https://github.blog/ai-and-ml/github-copilot/evaluating-performance-and-efficiency-of-the-github-copilot-agentic-harness-across-models-and-tasks/
  5. AI agent tracing and evaluation: The complete developer guide — Arize AI, 2026. https://arize.com/?p=30432/
  6. LLM Evaluation Framework: Trajectories vs. Outputs — LangChain, 2026. https://www.langchain.com/resources/llm-evaluation-framework
  7. AI agent evaluation: trajectory, tool calls, and task completion — Langfuse, 2026. https://langfuse.com/resources/engineering/ai-agent-evaluation
  8. AI Agent Evaluation Framework: Metrics & Best Practices — annotation.academy, 2026. https://annotation.academy/blog/ai-agent-evaluation-framework
  9. How to Test and Evaluate AI Agents in 2026 — assisters.io, 2026. https://www.assisters.io/blogs/how-to-test-and-evaluate-ai-agents
  10. SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks — arXiv:2602.12670, 2026-02-13. https://arxiv.org/html/2602.12670v1
  11. SWE-Lancer: Can Frontier LLMs Earn $1 Million from Real-World Freelance Software Engineering? — OpenAI, arXiv:2502.12115. https://arxiv.org/html/2502.12115v4
  12. Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity (randomized controlled trial) — METR, 2025-07-10. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/
  13. State of AI-assisted Software Development 2025 — DORA / Google Cloud, 2025-11-12. https://dora.dev/research/2025/dora-report/
  14. Stack Overflow 2025 Developer Survey — Stack Overflow, 2025-07-30. https://survey.stackoverflow.co/2025/
  15. Terminal-Bench official leaderboard — Laude Institute et al. https://www.tbench.ai/