读见

如何构建和维护智能体评测

原题How to build and maintain an agentic evaluation

约 31 分钟约 7,635 字原文英文已翻译

推荐理由要维护智能体评测,先拿真实失败案例检验任务定义,再确认验证器是否接受不同的正确路径。适合已有演示、正在补测试的团队。

读前速览

4 个要点

这份全面指南介绍了如何为 AI 系统构建和维护智能体评测,涵盖评测设计的三个阶段、八步构建流程、常见基准测试陷阱,以及开源策略。

  1. 智能体评测通过考察 AI 系统的行动及其对环境造成的变化来评估系统,而不只是检查输出

    这类评测需要复杂的设置,将智能体运行框架、环境和验证流程纳入考量;每个组成部分都可能影响最终得分。例如,只更换运行框架,Terminal-Bench 的分数就可能相差高达 29.9 个百分点。

  2. 构建智能体评测包含从定义主张到比较模型的八个实用步骤

    指南以拉曼光谱分析任务为例,展示如何复用 Harbor 和 Terminal-Bench 等现有开源组件,借助领域专业知识调整任务,并通过参考解答、智能体测试和捷径检测来进行验证。

  3. 公开审查对于发现和纠正基准测试中的错误至关重要

    例如,Terminal-Bench 根据用户报告修复了 89 项任务中的 28 项;OpenAI 通过开放审查,在 SWE-bench Verified 的问题中发现了占比 59.4% 的问题。这说明评测构建者需要公开证据,并提供问题报告渠道,以便接受外部审查。

  4. 评测必须真正检验其声称要衡量的能力,而不能只追求高分

    文章提醒要警惕构念效度问题,即任务和指标无法支撑能力主张。文章引用的 Measuring what Matters 评审发现了一些反复出现、会削弱效度的模式;Harder Than the Task 则指出,不到 25% 的基准测试涵盖权威关系和分布式知识等组织层面因素。

完整摘要

本文提供了一套详细框架,介绍如何构建和维护智能体评测:这类评测通过考察 AI 系统的行动及其对环境造成的变化来评估系统,而不只是检查输出。文章梳理了 AI 评测的三个发展阶段:问答基准测试、智能体基准测试,以及团队/群体评测。指南以物理实验室中的拉曼光谱分析任务为例,逐步讲解构建智能体评测的八个实用步骤,展示如何调整现有开源组件、验证任务,以及应对走捷径或作弊行为。文章还讨论了基准测试常见的失误,强调公开审查有助于发现并纠正错误,并举例说明 Terminal-Bench 的修复,以及 OpenAI 在 SWE-bench Pro 中发现的问题。最后,文章就哪些组件适合开源、哪些可以继续保密提供了策略建议,并附上评测术语表。

目录 · 25 节

查看原文
Overview

AI 评测有助于影响人们构建、采用和信任哪些系统。评测会向系统提供任务,检查其回答或操作,并得出评分。因此,构建并维护有用的评测需要投入切实的工作:定义能够体现领域专业知识的任务、可靠地评分,并检查结果是否支持所提出的主张。当方法、代码和数据都不公开时,其他人就更难审查这项工作或在此基础上继续推进。AI evaluations help shape which systems people build, adopt, and trust. An evaluation gives a system tasks, checks its answers or actions, and produces a score. Building and maintaining a useful evaluation therefore takes real work: defining tasks that reflect domain expertise, scoring them reliably, and checking that the results support the claims made. When methods, code, and data stay private, that work is harder for others to scrutinize or build on.

开源为构建更强大、更新更频繁且更具可比性的评测及其配套基础设施提供了一种途径。现有的任务、环境和工具为构建者提供了起点,使他们能够将精力投入到领域专业知识和验证工作中。分享评测的构建过程,包括遇到的问题,能让其他人发现错误、加以改进并重复使用。Open source offers a means to build stronger, more frequently updated, and more comparable evaluations and the infrastructure around them. Existing tasks, environments, and tools give builders a starting point, so their effort can go to domain expertise and validation. Sharing how an evaluation was built, including what went wrong, lets others find errors, improve it, and reuse it.

Hugging Face Hub 是 AI 评测的中心:我们托管着约 3500 个评测排行榜。过去一年,Hub 上的评测数据集增长了约 16 倍,达到约 17000 个。近几个月来,我们还加入了与评测相关的智能体抽象支持。例如,Traces 可以以便于审查和分享的方式记录智能体的工作;Benchmarks 展示用于通过排行榜评测模型的数据集;Environments 则展示用作智能体强化学习或评测环境的数据集。The Hugging Face hub is the home for AI evaluation: we host around 3500 eval leaderboards and have seen about a 16X growth in eval datasets on the hub in the past year, to about 17000 datasets. In recent months, we have also incorporated support for agentic abstractions that are relevant to evaluation. For example, Traces that store an agent’s work in an easily reviewable and sharable way; Benchmarks that highlight datasets used to evaluate models with leaderboards; and Environments that show datasets used as agentic RL or evaluation environments.

本指南涵盖四项内容:This guide covers four things:

  • 评估的三个时代(第 1 节)。评估从检查答案,发展到检查智能体做了什么,再发展到检查智能体团队产出的成果。每一步都加入了可能改变评分的软件。
    Three eras of evaluation (section 1). Evaluations moved from checking answers, to checking what an agent did, to checking what a team of agents produces. Each step adds software that can change the score.
  • 智能体评估中的步骤(第 2 节)。我们跟踪一项任务经历的八个步骤,从提出主张到报告分数。附录 A 中提供了完整的操作演示及相关命令。
    The steps in an agentic evaluation (section 2). We follow one task through eight steps, from the claim to the reported score. The full walkthrough, with commands, is in Appendix A.
  • 当基准测试出错时(第 3 节)。任务和评分器中经常会出现错误。我们将探讨如何发现并纠正这些错误。
    When a benchmark is wrong (section 3). Errors in tasks and graders are common. We look at how they are found and corrected.
  • 战略性地开放哪些内容以及原因(第4节)。表格逐项列出了应共享的内容,以及可以继续保护的内容。
    What to open strategically and why (section 4). A table sets out, component by component, what to share and what can stay protected.
在研究领域,AI 评估术语向来不统一。文末的术语表定义了我们使用的每个术语,并列出了你可能遇到的其他称谓。

In the research community, AI evaluation terminology is notoriously inconsistent. The glossary at the end defines each term we use and notes the other names you may come across.

1. 引言:评估设计的变化方式 1. Introduction: how evaluation design has changed

随着语言模型能力不断增强、能够执行更复杂的工作,AI 评估设计已发展出三种形式:问答式、智能体式,以及团队或群体式。MMLU(2020)和 GPQA(2023)等问答基准通过模型给出的答案来衡量其知识和推理能力。随着模型逐渐具备规划和使用工具的能力,SWE-bench 和 WebArena 等智能体基准将评估范围扩展到解决软件问题和完成网站任务。这些任务要求评估设置考虑系统运行的环境及其所做的改变。AI evaluation design has evolved in three forms as language models have become more capable and able to perform more complex work: question answer, agentic, and teams or swarms. Question-answer benchmarks such as MMLU (2020) and GPQA (2023) measure knowledge and reasoning through the answers models produce. As models became capable of planning and using tools, agentic benchmarks such as SWE-bench and WebArena expanded the scope to resolving software issues and completing tasks on websites. These tasks require evaluation setups that account for the environment in which the system operates and the changes it makes.

近年来,多智能体系统研究开始纳入另一个维度:智能体如何协调,以及它们共同完成了什么。这包括去中心化的智能体群、由编排器管理的团队,以及协作开展科学研究的专业智能体。图 1 粗略展示了这三个评估时代的时间线。Lately, research on multi-agent systems has started to add another dimension: how agents coordinate and what they accomplish together. This includes decentralized swarms, teams managed by an orchestrator, and specialized agents collaborating on scientific work. Figure 1 shows a rough timeline of these three eras of evaluations.

图 1. 三种语言模型评测。问答基准根据答案要点检查回答。智能体基准检查智能体在环境中做了哪些改变。团队和群体基准则评估一组智能体产出的成果。Figure 1. Three types of language model evals. Question-and-answer benchmarks check a response against a key. Agentic benchmarks check what an agent changed in an environment. Team and swarm benchmarks score what a group of agents produced.

本文将重点讨论智能体评测,原因有二。首先,随着用户和企业对智能体部署的兴趣日益浓厚,这类评测正逐渐成为模型发布公告中最受关注的类型。其次,它们为理解评测设计如何影响模型性能提供了一个有益的切入点。团队和群体评测会因智能体之间的交互而引入更多复杂性,这超出了本指南的讨论范围。智能体一旦使用工具完成任务,周边软件的每个组成部分都可能影响其得分。例如,在一项针对 Terminal-Bench 的审计中,研究人员保持模型不变,只更换了智能体运行框架,准确率最高相差 29.9 个百分点。为理解这类差异,我们将剖析智能体评测的构成,并追踪一项任务从智能体收到的指令,到判定任务是否通过的检查流程。We’ll focus on agentic evaluations in this article for two reasons. First, they are becoming increasingly the most prominent type in model release announcements due to high user and enterprise interest in agentic deployment. Second, they offer a useful starting point for understanding how evaluation design affects model performance. Team and swarm evaluations introduce further complexity through interactions between agents, which we leave outside the scope of this guide. Once an agent uses tools to complete a task, each part of the surrounding software can affect its score. For instance, in an audit of Terminal-Bench, researchers kept the model fixed and changed the agent harness. Accuracy varied by up to 29.9 percentage points. To understand differences like that, we examine the anatomy of an agentic evaluation and follow one task from the instructions the agent receives to the checks that determine whether it passed.

智能体评估的构成 The anatomy of an agentic evaluation

图 2. 智能体评估的不同组成部分。Figure 2. The different components of an agentic evaluation.

智能体评测包含多个部分。任务向智能体提供指令。智能体运行框架封装模型及其工具,使其能够在固定环境中工作。在一次运行过程中,智能体会从头到尾尝试完成任务:它可能运行多条命令、检查输出,并在停止前反复尝试。评测运行框架会为每项任务执行多次运行。每次运行结束时,验证器都会评估环境的最终状态。每次运行还会留下轨迹,轨迹和评分共同构成最终发布的证据的一部分。各个部分都可以单独发布、检查和复用。There are various parts to an agentic evaluation. A task gives the agent its instruction. The agent harness wraps the model and its tools, letting it work inside a pinned environment. During one rollout, the agent attempts the task from start to finish: it may run several commands, inspect their output, and try again before it stops. The evaluation harness runs several rollouts for each task. When a rollout ends, the verifier grades the environment's final state. Each rollout also leaves a trace, and traces and scores together become part of the final published evidence. Each part can be published, inspected, and reused separately.

为什么基准测试的发布决策至关重要 Why benchmark release decisions matter

对独立评估的需求正在增长。政策制定者、企业和研究人员都希望评估结果能够得到验证,但目前大多数情况下做不到:98.2%的模型基准测试得分仅由一方报告,研究人员也指出,内部评估并不足够。Demand for independent evaluation is growing. Policymakers, enterprises, and researchers want evaluations they can verify, and today they mostly cannot: 98.2% of model-benchmark scores are reported by only one party, and researchers have argued that in-house evaluation is not enough.

与此同时,越来越多的基准测试开始保留测试题目,以减少污染:也就是问题或答案进入训练数据,导致分数可能反映模型此前接触过这些内容。Artificial Analysis 表示,其于 2026 年 10 月公布的 Intelligence Index v5 中,60% 的评估采用了私有测试集或留出的答案。Google DeepMind 最近试行了双盲评估:通过安全飞地,对外部评估方隐藏测试提示词,对模型提供方隐藏模型权重。虽然这有助于减少污染,但仅靠保密并不能保证质量,而不提供辅助材料也会增加专家审查的难度。我们认为,开发者仍然可以、也应该分享基础设施、评分方法以及关于任务设计的证据。监督审查有赖于为他人提供质疑测量结果和纠正错误的途径;若不适合公开发布,也可以采取受控审查。At the same time, more benchmarks are holding back test items to reduce contamination: questions or solutions entering training data, so scores may reflect prior exposure. Artificial Analysis says 60% of its Intelligence Index v5, announced in October 2026, rests on evaluations with private test sets or held-out answers. Google DeepMind recently piloted double-blind evaluations, where a secure enclave hides an outside evaluator's test prompts from the model provider and the model's weights from the evaluator. While that can reduce contamination, privacy by itself does not guarantee quality, and withholding supporting materials can make expert review harder. We argue that builders can and should still share infrastructure, grading methods, and evidence about task design. Scrutiny depends on giving others a way to question the measurement and correct mistakes, including controlled review where public release is unsuitable.

2. 构建评估:复用、调整和验证哪些内容 2. Building an eval: what to reuse, adapt, and validate

完成架构设计后,我们现在针对一个实际用例构建一项智能体评测:让智能体分析物理实验室的测量数据。我们不从头开始,而是改编一项开放任务,因此大部分精力都投入到领域专业知识和验证上。With the anatomy in place, we now build one agentic evaluation for a real use case: an agent that analyzes measurements for a physics lab. Rather than starting from scratch, we adapt an open task, so most of our effort goes into domain expertise and validation.

我们通过八个步骤开展工作:定义主张、寻找任务、原样运行任务、对其进行调整、检查评估、阅读轨迹、报告得分,并比较模型。随后,我们盘点了复用了哪些内容。完整的演练过程见附录 A。图 3 展示了这些步骤,以及在我们的示例中每一步的产出。We work through eight steps: define the claim, find a task, run it unchanged, adapt it, check the evaluation, read the traces, report the score, and compare models. We then take stock of what we reused. The full walkthrough is in Appendix A. Figure 3 maps the steps and what each produced in our example.

图 3. 构建智能体评估的八个步骤。左侧面板依次突出显示各个步骤,右侧面板展示了在我们的示例中每个步骤的具体内容。黄色步骤用于构建评估本身,橙色步骤用于运行模型并读取结果。Figure 3. The eight steps of building an agentic evaluation. The left panel highlights each step in turn, and the right panel shows what it involved in our example. Yellow steps work on the evaluation itself, and orange steps run models and read the results.

方法 Method

主张。设想一个物理实验室希望智能体拟合拉曼光谱中的峰。拉曼光谱是一种测量结果,其峰值可以揭示材料的性质;这里的材料是石墨烯。智能体要做的是常规编程工作:读取数据文件,为每个峰拟合一条曲线,并保存结果(附录 A 中的图 5)。就本文而言,我们的主张有意限定在较窄的范围内:拟合指定的峰,计算所要求的 D/G 比值(一个峰的强度相对于另一个峰的强度,这可以表明材料中是否存在缺陷;我们也称之为缺陷比),并始终如一地保存准确结果。审阅整份实验室报告还需要额外的技能和证据。Claim. Consider a physics lab that wants an agent to fit peaks in a Raman spectrum. A Raman spectrum is a measurement whose peaks reveal properties of a material, here graphene. The agent's job is ordinary coding: read the data file, fit a curve to each peak, and save the results (Figure 5 in Appendix A). For the purposes of this article, our claim is deliberately narrow: fit the specified peaks, calculate the requested D-to-G ratio (the intensity of one peak relative to another, which can indicate defects in the material; we also call it the defect ratio), and save accurate results consistently. Reviewing a whole lab report would need additional skills and evidence.

起始任务与基线。我们复用了 Harbor 的任务格式和 Terminal-Bench 的拉曼拟合任务。Harbor 是一个开源评测框架,Terminal-Bench 则是一个开放基准,其中的任务由智能体在终端中完成。我们先运行了该任务的参考解,结果通过;随后使用 Terminus-2(一种终端智能体框架)和 gpt-oss-120b(OpenAI 的开放权重模型)运行了原始任务三次。Harbor 在 HF Job 中运行,每次 rollout 都使用各自的 HF Sandbox,Inference Providers 则提供模型响应。复用运行器和任务格式,让我们能够专注于物理问题、评分和审查。只有智能体框架无需任何新开发。其他所有组件都需要检查或重新开发;我们在附录 A 末尾逐项列出了这些内容。Starting task and baseline. We reused the Harbor task format and Terminal-Bench's raman-fitting task. Harbor is an open source evaluation harness, and Terminal-Bench is an open benchmark of tasks that an agent completes in a terminal. We first ran the task's reference solution, which passed, and then ran the original task three times with Terminus-2, a terminal agent harness, and gpt-oss-120b, an open-weight model from OpenAI. Harbor ran inside an HF Job, each rollout used its own HF Sandbox, and Inference Providers supplied the model responses. Reusing the runner and task format let us concentrate on the physics, grading, and review. Only the agent harness needed no new work. Every other component needed checking or new work, which we list part by part at the end of Appendix A.

适配。我们构建了 raman-lab:包含八条合成光谱,参数已知,噪声水平和缺陷水平各不相同。该适配拟合三个峰,而不是两个,并报告缺陷比率。我们借助智能体生成光谱,再逐一人工审核,并编写了新的指令、参考拟合结果和输出检查项。新指令明确说明了原版未明确给出的单位和参数定义。这八项任务构成了开发集,也就是我们在构建评测时使用的任务集;更广泛的覆盖范围应反映实际测量中的变化。Adaptation. We built raman-lab: eight synthetic spectra with known parameters and varied noise and defect levels. The adaptation fits three peaks instead of two and reports a defect ratio. We used an agent to help generate the spectra, reviewed them by hand, and wrote new instructions, reference fits, and output checks. The new instructions state the units and parameter definitions that the original left implicit. These eight tasks are a development set, meaning tasks we use while building the evaluation; broader coverage should follow the variation in real measurements.

校验。在运行更多模型之前,我们先测试了评估本身。我们运行了参考解答、一个什么都不做的智能体,以及一个跳过所需工作的捷径方案。参考解答应通过每项任务,而另外两者应失败。我们的捷径方案直接从数据中读取每个峰的高度,并猜测其宽度。它在没有拟合光谱的情况下,在全部八项任务中都返回了预期的缺陷比率,因此我们增加了针对拟合本身的检查。Checks. Before executing more model runs, we tested the evaluation itself. We ran the reference solution, an agent that does nothing, and a shortcut that skips the required work. The reference solution should pass every task, and the other two should fail. Our shortcut read the height of each peak straight from the data and guessed the widths. It returned the expected defect ratio on all eight tasks without fitting the spectra, so we added checks on the fit itself.

捷径。我们还测试了一种捷径,以检查评估对作弊的防范能力。这个捷径是一个跳过实际拟合的短脚本。它直接从数据中读取每个峰的最高点,猜测峰宽,然后用 D 峰高度除以 G 峰高度。即便如此,它在全部八项任务中都得出了预期的缺陷比,因此,如果评分器只检查这个比值,就会给它满分。我们增加了对每个拟合峰的检查,最终验证器会拒绝它。Shortcut. We also tested a shortcut to check how robust the evaluation is against cheating. Our shortcut is a short script that skips the actual fitting. It reads the tallest point of each peak straight from the data, guesses the peak widths, and divides the D height by the G height. Even so, it returned the expected defect ratio on all eight tasks, so a grader that checked only the ratio would have given it full marks. We added checks on each fitted peak, and the final verifier rejects it.

结果 Results

图 4. 构建评测时,通过测量不同方面得出的发现。(A) 使用捷径测试评分器,发现仅检查比率很容易被欺骗。(B) 阅读 gpt-oss-120b 的轨迹后发现,它的大多数失败都是因为过早停止。(C) 运行其他模型表明,这些任务是可以解决的。附录 A 中的图 7(gpt-oss-120b 的尝试是如何结束的)、图 8(全部六个模型)和图 9(各模型在何时表示已完成)给出了详细结果。Figure 4. What we learned by measuring different aspects while building the evaluation. (A) Testing the grader with a shortcut showed that a ratio-only check could be fooled. (B) Reading gpt-oss-120b’s traces showed that most of its failures came from stopping early. (C) Running other models showed that the tasks can be solved. Appendix A has the detailed results in Figure 7 (how gpt-oss-120b’s attempts ended), Figure 8 (all six models) and Figure 9 (when each model said it was done).

基线。在原始任务中,gpt-oss-120b 的 3 次尝试全部未通过。其中两次,它在观察到相关输出之前就宣告任务完成;第三次,它无法读取数据文件。该文件使用了小数逗号,而参考解决方案会在加载前将其转换。仅凭得分无法区分这些失败与拟合错误。执行轨迹却可以。Baseline. On the original task, gpt-oss-120b passed 0 of 3 rollouts. In two it declared completion before observing relevant output; in the third it could not read the data file, which uses decimal commas that the reference solution converts before loading. The score alone could not tell these failures from an incorrect fit. The traces could.

轨迹与得分。在这 8 个适配后的任务上,每个任务运行了 3 次。适配后的配置在 24 次运行中通过了 11 次。有 19 次中,模型在首次响应时调用了 mark_task_complete;其中 11 次尝试没有生成结果文件。几次尝试一开始就因缺少 NumPy 或 SciPy 而导致脚本运行失败,而任务要求智能体安装这些软件包。因此,大多数失败是由于过早停止或缺少软件包所致,13 次失败中只有 2 次未通过拟合检查(附录 A 中的图 7)。我们的 pass@3 为 7/8:7 个任务至少成功了一次。我们的 pass^3 为 1/8:只有 1 个任务每次都成功。有人检查输出时,重试或许可以接受;无人值守处理则需要稳定一致,因此第二个指标更重要。平均通过率为 0.46;按任务对运行进行聚类后,标准误约为 0.11。另一次重复运行通过了 24 次中的 10 次。由于只有 8 个开发任务,对于将这两个结果中的任何一个推广到新的光谱,我们都会持谨慎态度。Traces and score. On the eight adapted tasks, we ran three rollouts per task. The adapted setup passed 11 of 24 rollouts. In 19, the model called mark_task_complete in its first response; 11 of those attempts produced no results file. Several of these began with a script failing because NumPy or SciPy was missing, which the task expects the agent to install. Most failures therefore came from stopping early or from a missing package, and only two of the 13 failed the fit check (Figure 7 in Appendix A). Our pass@3 was 7/8: seven tasks succeeded at least once. Our pass^3 was 1/8: one task succeeded every time. Retries may be acceptable when a person reviews the output. Unattended processing needs consistency, so the second measure matters more. The mean pass rate was 0.46, with a standard error of about 0.11 when rollouts are clustered by task. A repeat run passed 10 of 24. With eight development tasks, we would be cautious about generalizing either result to new spectra.

模型比较。随后,我们在相同的八项任务上比较了六个模型(图 4)。多个提供商可以通过不同的量化方式和上下文长度限制提供同一个开放权重模型,因此我们为每个模型固定了一个提供商。将 DeepInfra 固定为提供商后,gpt-oss-120b 在 24 次运行中通过了 13 次;而在此前使用默认提供商的运行中,它通过了 11 次。只有 gpt-oss-120b 在 24 次运行中的 22 次首次响应里就声明任务已完成。其他五个模型在任何一次运行中都没有这样做(附录 A 中的图 9)。比较结果也显示了开发集的局限性。Qwen3.8-27B、DeepSeek-V4.1-Flash 和 MiniMax-M3.1-Flash 在 raman-lab 的 24 次运行中全部通过,因此这些任务无法对它们进行排名。要做到这一点,需要更难的任务。Model comparison. We then compared six models on the same eight tasks (Figure 4). Several providers can serve the same open-weight model with different quantization and context limits, so we pinned one provider per model. With DeepInfra pinned as the provider, gpt-oss-120b passed 13 of 24 rollouts, compared with 11 of 24 in the earlier run, which used the default provider. Only gpt-oss-120b declared completion in its first response, in 22 of 24 rollouts. None of the other five models did so in any rollout (Figure 9 in Appendix A). The comparison also shows the limits of the development set. Qwen3.8-27B, DeepSeek-V4.1-Flash, and MiniMax-M3.1-Flash passed all 24 raman-lab rollouts, so these tasks cannot rank them. That will take harder tasks.

3. 惨痛教训:当基准测试出错时 3. Bitter lessons: when a benchmark is wrong

我们的捷径无需拟合光谱,就返回了预期的缺陷比率。如果验证器只检查比率,它会在全部八项任务中给出满分。我们通过尝试用一个明知不完整的解法攻破评分器,发现了这个问题,随后增加了对拟合光谱的检查(附录 A,第 5 步)。Our shortcut returned the expected defect ratio without fitting a spectrum. A verifier that checked only the ratio would have given it full marks on all eight tasks. We found it by trying to break the grader with a solution we knew was incomplete, then added checks on the fitted spectrum (Appendix A, Step 5).

这个捷径虽然得出了正确答案,理由却不对,就像学生抄下最终数字,却没有写出解题过程。我们从中得到的教训是,要检验输出实际体现了什么。更快但有效的方法应该通过;跳过必备技能的方法则不应该通过。领域专家可以帮助设定容差,让验证器接受其他正确的拟合结果,同时不接受那些偏离任务重点的作答。The shortcut got the right answer for the wrong reason, like a student who copies the final number without the working. The lesson for us was to test what the output demonstrates. A faster valid method should pass; a method that skips a required skill should not. Domain experts can help set tolerances so the verifier accepts alternative correct fits without accepting work that misses the point of the task.

这类错误很常见,而且会显著影响得分。一项对智能体基准测试的评估发现,任务设置或奖励设计中的缺陷,可能使测得的性能相对变化高达 100%。Such errors are common, and they move scores considerably. A review of agentic benchmarks found that flaws in task setup or reward design can shift measured performance by up to 100% in relative terms.

公开评审对于纠正基准测试至关重要。 Public review is essential for correcting benchmarks

公开评审可以发现基准测试构建者遗漏的指令和测试错误。Terminal-Bench 2.1 根据用户反馈修正了 89 项任务中的 28 项,其中一项的测试要求使用 Spark SQL,而指令却要求使用 PostgreSQL;修正前后,智能体排名保持稳定。Public review can expose errors in instructions and tests that benchmark builders missed. Terminal-Bench 2.1 fixed 28 of its 89 tasks after user reports, including one whose tests expected Spark SQL while its instructions asked for PostgreSQL, and agent rankings stayed stable through the correction.

能否获取证据,也决定了外部审计需要投入多少工作。CritPt 将其参考解答保密,因此审计它的物理学家必须先亲自解题,之后才在他们审查的 56 道挑战题中发现了 21 道存在错误。随后,作者发布了修正版。OpenAI 对 SWE-bench Verified 的审计发现,在其检查的 138 道题中,有 59.4% 存在实质性问题;此次审计依据的是任何人都能阅读的任务和测试。对构建者而言,外部审查是验证工作的一部分:公开审查者质疑任务所需的材料,提供问题反馈渠道,并记录所做的更改。Access to the evidence also determines how much work an outside audit takes. CritPt keeps its reference solutions private, so the physicists who audited it had to solve the problems themselves before finding errors in 21 of the 56 challenges they reviewed. The authors then released a corrected version. OpenAI's audit of SWE-bench Verified found material issues in 59.4% of the 138 problems it examined, working from tasks and tests that anyone can read. For a builder, outside scrutiny is part of validation: publish what reviewers need to challenge a task, give them a way to report problems, and record what changed.

SWE-bench Pro 也暴露出了类似的缺陷。2026 年 7 月,OpenAI 估计 SWE-Bench Pro 中约有 30% 的任务存在问题,并撤回了对采用该基准的建议。基准测试的验证工作需要在发布后继续进行。Similar flaws emerged in SWE-bench Pro. In July 2026 OpenAI estimated that about 30% of SWE-Bench Pro tasks were broken and withdrew its recommendation to adopt it. Benchmark validation needs to continue after release.

同时检查这一说法和代码。 Check the claim as well as the code

一致的分数仍可能测量错了东西。《衡量重要之事》这篇由 29 位专家评审员对 445 项 LLM 基准测试进行的综述,发现任务和指标中反复出现一些模式,损害了构念效度:也就是任务和指标能否支撑关于预期能力的论断。A consistent score can still measure the wrong thing. Measuring what Matters, a review of 445 LLM benchmarks by 29 expert reviewers, found recurring patterns in tasks and metrics that undermine construct validity: whether the tasks and metrics support claims about the intended capability.

例如,拟合合成光谱并不能证明智能体能够审核实验室报告。这可能还需要识别测量结果不佳的情况或寻求帮助。如果每项任务都提供可用的光谱,这项测试就无法说明智能体是否知道何时不适合进行拟合。For example, fitting synthetic spectra does not establish that an agent can review lab reports. That may also require recognizing a poor measurement or asking for help. If every task supplies a usable spectrum, the test cannot show whether the agent knows when a fit would be inappropriate.

《Harder Than the Task》将这一问题延伸到组织工作中,因为在这类工作里,权限、分散的知识和依赖关系都可能决定成败。作者发现,声称涵盖这类维度的知名基准测试不到四分之一。智能体可能需要从另一个团队获取校准数据,或获得更换某项测量方式的许可,而一开始就提供所有这些资源,会消除上述难题。如果这些因素关系到所作的主张,就应将其纳入评估;如果无关,只需说明这些方面尚未经过测试。Harder Than the Task extends this concern to organizational work, where authority, distributed knowledge, and dependencies can decide success. Its authors find that fewer than one quarter of prominent benchmarks claim to cover any such dimension. An agent may need calibration data from another team or permission to replace a measurement, and supplying everything at the outset removes those difficulties. If they matter to the claim, they belong in the evaluation. If they do not, it is enough to say that they remain untested.

每个错误都值得简要记录:失效的假设、发现问题的方式,以及做出的变更。记录还应注明受影响的版本,并说明此前的分数是否仍可比较。Each error is worth a short record: the failed assumption, how it was found, and what changed. The record should also name the affected versions and say whether earlier scores remain comparable.

污染与饱和 Contamination vs saturation

上文提到的 SWE-bench Verified 审计还发现了数据污染:所有受测的前沿模型都能针对某些任务复现参考补丁或原样复述问题细节。SWE-bench 的公开代码仓库和广泛使用,使这些任务暴露在训练过程中。开放性让人们得以审查糟糕的测试,但也让评测前更容易接触到这些题目。The SWE-bench Verified audit described above also found contamination: every frontier model tested could reproduce the reference patch or verbatim problem details for some tasks. SWE-bench's public repositories and wide use exposed tasks to training. The openness that enabled scrutiny of bad tests also made items easier to encounter before evaluation.

然而,如果在训练过程中对数据污染进行严格控制,仅仅隐藏测试集并不能防止基准测试饱和。一项针对 60 个语言模型基准测试的研究发现,公开和私有基准测试都出现了类似的饱和现象,并得出结论:一旦某个基准测试被广泛采用,隐藏测试数据也无法防止其饱和。这意味着,一个优秀的基准测试会因饱和而失去实用价值,开发者也就无法从中学习并在此基础上改进。与较低饱和度相关的因素是专家筛选和更大的测试集。However, if contamination is carefully controlled for during training, hiding the test set by itself does not prevent saturation. A study of 60 language model benchmarks found similar saturation in public and private ones, and concluded that hiding test data does not prevent saturation once a benchmark is widely adopted, meaning a good benchmark falls out of use due to saturation without developers being able to learn from and build on it. What did correspond to lower saturation was expert curation and a larger test set.

这就引出了一个实际的发布问题:在保护正在进行的测试项目的同时,我们可以公开哪些内容供审核?This leaves a practical release question: what can we expose for review while protecting active test items?

4. 有策略地开源评测 4. Open sourcing an evaluation strategically

要在污染风险与饱和度之间取得平衡,需要对公开哪些内容采取策略性做法。基准测试的创建者不必将开放视为非此即彼的选择,而是可以逐项决定发布内容,在防止活跃测试任务发生数据泄漏的同时,分享底层基础设施、评分方法和参考示例,让外部研究人员能够审计评估并在此基础上开展工作。Balancing contamination risks against saturation requires a strategic approach to what content is made public. Rather than treating openness as an all-or-nothing decision, benchmark creators can decide what to release part by part, protecting active test tasks from data leakage while still sharing the underlying infrastructure, grading methods, and reference examples that allow external researchers to audit and build upon the evaluation.

现有基准测试的开放程度各不相同。ARC-AGI-2 发布了训练集和包含 120 项任务的评测集,并保留各包含 120 项任务的半私有集和私有集。AILuminate 对官方提示词保密,公开其方法和分类体系,并将底层证据留作受控审查,仅供获授权的审计员和可信研究人员查阅。Terminal-Bench 发布其任务,并在任务文件中标注一段金丝雀字符串,要求不要将这些文件纳入训练语料。公众审查者无法核验受保护的条目,因此,任何不公开的内容都需要有专门的审查渠道。Existing benchmarks show a range of openness. ARC-AGI-2 publishes a training set and a 120-task evaluation set, and holds back semi-private and private sets of 120 tasks each. AILuminate keeps its official prompts confidential, publishes its methods and taxonomy, and keeps the underlying evidence for controlled review by authorized auditors and trusted researchers. Terminal-Bench publishes its tasks and marks their files with a canary string asking that they stay out of training corpora. No public reviewer can check a protected item, so whatever stays closed needs a review route of its own.

表 1 概述了将一项评估开源时需要考虑的核心问题:哪些内容可以公开、它们在 Hugging Face Hub 上的存放位置,以及哪些内容可以继续受到保护。表中每一行对应图 2 中的一个组件,方便你直接查看即将发布的部分。Table 1 outlines the core considerations of open sourcing an evaluation: what can be open, where it lives on the Hugging Face Hub, and what may stay protected. It has one row for each component in Figure 2, so you can go straight to the part you are about to release.

Part What can be open How to share on the Hugging Face Hub What can stay protected with alternatives for public review
Task Specifications, categories, construction methods, and a public development split A dataset repository, with a dataset card recording the source task, changes, license, and limitations Active test items and answers, kept in a separate gated dataset with manual approval of each access request. Release retired items where permissible.
Environment Container definition, build files, pinned dependencies, and synthetic fixtures In the dataset repository, declared as an environment type in the dataset card Private data, credentials, licensed assets, or dangerous details. Document how public substitutes differ.
Agent harness and tools Agent-loop code, tool interfaces, adapters, permissions, and budgets A link to the harness source and its pinned version, kept in the run record with the configuration used. Give the pinned harness version in the notes field of each .eval_results entry, so it’s next to the score Secrets, private services, and sensitive tool implementations. Provide safe substitutes and authorized inspection.
Rollout and trace Public-task traces, reviewed excerpts, and analysis code A dataset or storage bucket. Harbor's trace exporter pushes rollout records, and the Hub's trace viewer opens supported session formats. Link scores to these traces through the source field of each .eval_results entry Traces exposing tasks, private data, or restricted model behavior. Offer protected analysis and case inspection.
Reference solution Solution method and code for public examples The dataset repository, with each task Solutions that reveal protected items. Let authorized reviewers check them against the task.
Evaluation harness Rollout orchestration, model configuration, logging, score aggregation, and version records A run record kept with the dataset: the job script, model and harness configuration, and package versions. Inspect writes its logs straight to an hf://buckets/ path Credentials and item-identifying configuration. Keep a reviewable record of the exact restricted run.
Verifier Rubrics, grader code, tolerances, and worked examples The dataset repository, with each task Reference answers and logic that reveal protected items. Authorized experts should inspect disputed judgments.
Claims and task design Intended use, selection rationale, contextual assumptions, and validation evidence The dataset card. Bundle the task dataset, trace dataset, any harness Space, and the paper into one Hub Collection Sensitive source material may need redaction.
Results Scores, uncertainty, costs, exclusions, and limitations, with the model setup and other reproducibility details Register the dataset as a Hub Benchmark with an eval.yaml. Scores go in each model repo's .eval_results/ folder, opened as a pull request, with source linking to the trace dataset. Optionally, also convert them to the EEE schema Task-revealing detail in results. Publish safe summaries and arrange review of the underlying evidence.
Corrections A correction history that names the affected versions Pull requests and discussions on the repository, with a change log in the card The protected example behind a correction. Still record which versions it affected.

表 1. 对于每个评估组件,应打开哪些内容、如何在 Hugging Face Hub 上分享,以及哪些内容可以保持受保护。Table 1. What to open, how to share it on the Hugging Face Hub, and what can stay protected, for each evaluation component.

我们自己的示例也采用了这种方法。我们将 raman-lab 作为数据集发布在 Hub 上。它包含八条采用 Harbor 任务格式的合成石墨烯光谱,每条都附有环境、参考拟合结果、验证器和容差。我们还将支撑结果的原始运行轨迹作为单独的数据集共享,其中包括六个模型的 Harbor 试验文件夹,内含轨迹和验证器输出。光谱生成器、分析代码和结果则存放在配套的 GitHub 仓库中,因此,智能体运行框架和评估框架都可以供人检查并重新运行。Our own example follows this approach. We released raman-lab as a dataset on the Hub. It includes eight synthetic graphene spectra in Harbor task format, each with its environment, reference fit, verifier, and tolerances. The raw rollouts behind our results are shared as a separate dataset including Harbor trial folders with trajectories and verifier output for all six models. The spectrum generator, analysis code, and results are in a companion GitHub repository, so both the agent harness and the evaluation harness can be inspected and rerun.

在更敏感的领域,可以开放临床评测的环境定义、评测框架、工具接口和评分框架,并提供用于开发的合成案例。患者记录和参考答案则应受到访问控制,同时允许经授权的审查人员核查有争议的评判结果。每项限制都应附带重新审视该限制的条件。In a more sensitive domain, a clinical evaluation could open its environment definition, harness, tool interfaces, and grading framework, with synthetic cases for development use. Patient records and reference answers would stay under controlled access while authorized reviewers inspect disputed judgments. Each restriction should come with a condition for revisiting it.

战略性开源清单 Strategic open sourcing checklist

我们建议使用一份简短清单,其中部分内容取自更全面的《智能体基准测试清单》。在发布或停用一项评测之前,请确认其他构建者能够:We recommend a short checklist, drawn in part from the more comprehensive Agentic Benchmark Checklist. Before releasing or retiring an evaluation, check that another builder can:

  • 确定它测量的是什么、预期用途是什么,以及它未涵盖哪些条件。
    Identify what it measures, its intended use, and the conditions it leaves out.
  • 查找可重复使用的制品、它们的许可证和版本,以及报告问题的方式。
    Find the reusable artifacts, their licenses and versions, and a way to report problems.
  • 查看一个什么都不做的智能体能得多少分,并尽可能了解人类专家的表现。
    See how a do-nothing agent scores and, where possible, how a human expert does.
  • 解读每项评分时,应考虑其不确定性,并参考已知缺陷对评分的影响说明。
    Read each score with its uncertainty, and with guidance on what known flaws mean for it.
  • 了解发现了哪些缺陷、它们是如何处理的,以及这些缺陷可能在多大程度上影响结果。
    Learn which flaws were found, how they were handled, and how far they could move the results.
  • 了解任务将如何以及何时刷新,以限制数据污染和过拟合。
    Know how and when tasks will be refreshed to limit contamination and overfitting.

这些发布决策也决定了,当该基准测试不再能区分其原本旨在比较的系统时,哪些内容仍然有用。These release decisions also determine what remains useful when the benchmark no longer separates the systems it was built to compare.

5. 结论:让评估发挥持久价值 5. Conclusion: giving the evaluation a useful afterlife

基准测试有其生命周期。它们被构建、采用,随后成为优化目标,最终不再能区分原本旨在比较的系统。第 3 节的饱和度研究将其评估的 60 项语言模型基准测试中的 29 项评为高度饱和,且饱和率随时间推移而上升。饱和本身并不意味着失败,因为这可能说明相关能力已经实现。Benchmarks have a lifecycle. They are built, adopted, optimized against, and in time stop separating the systems they were made to compare. The saturation study from section 3 rated 29 of its 60 language model benchmarks as highly saturated, with rates rising with age. Saturation is not a failure in itself, since it can mean the capability has arrived.

一项基准测试能留下什么,取决于它开放到什么程度。只公布分数,留给未来构建者的可运行、可改造内容就很少。任务、环境、验证器和轨迹都开放时,即使排行榜不再更新,它们也能继续发挥作用。已解决的任务可以成为新测试框架的回归检查;它的环境和验证器也可以为难度更高的后续任务提供基础。开放基准测试还会得到修复并重新发布:MMLU 的题目后来形成了 MMLU-Redux,而 Terminal-Bench 2.0 则通过社区贡献发展为 2.1。我们自己的演练也是这种延续的一例:raman-lab 最初只是一个为通用终端任务而构建的基准测试中的单项任务。What a benchmark leaves behind depends on how open it was. Publishing only scores leaves future builders little they can run or adapt. When the tasks, environments, verifiers, and traces are open, each keeps working after the leaderboard stops. A solved task becomes a regression check for a new harness. Its environment and verifier can seed a harder successor. Open benchmarks also get repaired and reissued: MMLU's questions became MMLU-Redux, and Terminal-Bench 2.0 became 2.1 through community contributions. Our own walkthrough is an afterlife of this kind: raman-lab began as one task in a benchmark built for general terminal work.

这就是公开构建评测的意义所在。为一项评测所付出的努力,可能比评测基准本身存续得更久,为他人提供基础,让他们提出新问题、测试新能力,并在前人成果的基础上继续改进。我们分享构建成果和经验越多,每项新评测就越不必从零开始。That is the promise of building evaluations openly. The work that goes into an evaluation can outlive the benchmark itself, giving others a foundation to ask new questions, test new capabilities, and improve on what came before. The more we share what we build and learn, the less each new evaluation has to start from scratch.

如果你想了解实际操作是什么样的,不妨跟着我们的实例来做。If you’re curious what this looks like in practice, then follow our practical example.

附录 A:实践示例:物理实验室中的智能体式部署 Appendix A. Practical example: agentic deployment in a physics lab

设想一个物理实验室希望训练一个智能体来拟合拉曼光谱中的峰。拉曼光谱法通过激光照射样品,并测量散射光的频率偏移;由此产生的峰可以揭示材料的性质。对于石墨烯——一种只有一个原子厚度的碳片——位于 1580 和 2700 cm⁻¹ 附近的 G 峰和 2D 峰可以确定其层数。当晶格存在无序时,会出现第三个峰 D 峰,其相对于 G 峰的强度可以反映缺陷情况。图 5 展示了该装置。Consider a physics lab that wants an agent to fit peaks in a Raman spectrum. Raman spectroscopy shines a laser on a sample and measures shifts in the frequency of the scattered light; the resulting peaks reveal properties of the material. For graphene, an atom-thick sheet of carbon, the G and 2D peaks near 1580 and 2700 cm⁻¹ identify the number of layers. A third peak, D, appears when the lattice is disordered, and its intensity relative to G can indicate defects. Figure 5 shows the setup.

图 5. 我们设想的实验装置。激光照射石墨烯样品,光谱仪记录散射光发生的频移。智能体接收光谱文件,对每个峰拟合曲线,并保存拟合值。验证器将保存的数值与参考拟合结果进行核对。图中曲线为示意图,并非实测数据。Figure 5. Our intended setup. A laser lights a graphene sample, and a spectrometer records how the scattered light has shifted. The agent receives that spectrum as a file, fits a curve to each peak, and saves the fitted values. The verifier checks the saved values against reference fits. The curve shown is a sketch, not measured data.

我们首先基于一项开放基准中的任务展开。Terminal-Bench 2 已包含 raman-fitting:将洛伦兹曲线(一种数学峰形)拟合到这两个峰中的每一个,并将八个参数保存到 /app/results.json。这为范围更窄的实验室评测提供了一个可运行的起点。我们使用开源评测框架 Harbor 运行这些任务。表 2 列出了该任务提供的内容,以及复用各部分之前需要检查的事项。We start by building on a task from an open benchmark. Terminal-Bench 2 already includes raman-fitting: fit a Lorentzian curve, a mathematical peak shape, to each of those two peaks and save eight parameters to /app/results.json. That gives us a runnable starting point for a narrower lab evaluation. We run these on the open source evaluation harness, Harbor. Table 2 lists what the task provides and what to check before reusing each part.

Part In raman-fitting Check before reuse
Task instruction.md asks for two peak fits saved to /app/results.json. Are units, parameter definitions, and the output format explicit?
Environment A pinned container image holding the spectrum; task.toml sets resources and limits. Which packages must the agent install? Are resources and permissions suitable?
Agent harness and tools Terminus-2 connects the model to shell commands. Can the agent inspect what its commands produced?
Rollout and trace One attempt, recorded in agent/trajectory.json. Does the record show what happened before the agent stopped?
Reference solution solution/solve.sh runs the known fit. Does it pass in the supplied environment?
Evaluation harness Harbor runs rollouts and collects scores and traces. Are versions and execution settings recorded?
Verifier tests/test.sh checks eight fitted values against reference tolerances. Does it grade the saved file and accept valid alternative fits?

表 2. 重新使用每个组件前需要检查的内容。Table 2. What to check before reusing each component.

步骤 1:定义主张 Step 1. Define the claim

一个很好的起点是明确一项能力声明:用一句简单的话说明智能体能做什么,而评估的目的就是验证这项声明。“智能体能够拟合拉曼光谱”是一项能力声明,“智能体能够处理实验室报告”也是如此。接下来,你可以把这项声明拆解成更小的技能,逐一检查,例如读取文件、定位峰值和编写输出。A good place to start is a claim: a plain statement of what the agent can do, which the evaluation is meant to support. "The agent can fit a Raman spectrum" is a claim, and so is "the agent can process a lab report." From there, you can break the claim into smaller skills that can be checked one at a time, such as reading the file, locating the peaks, and writing the output.

本文有意将主张限定在较窄的范围内:拟合指定峰、计算所要求的 D/G 比值,并始终如一地保存准确结果。审核整份实验室报告则需要额外的技能和证据。For the purposes of this article, our claim is deliberately narrow: fit the specified peaks, calculate the requested D-to-G ratio, and save accurate results consistently. Reviewing a whole lab report would need additional skills and evidence.

领域专家可以在这方面提供帮助。我们建议请他们选择切合实际的噪声水平、容差和可用软件,然后独立评估示例,并调查分歧。接下来,你可以把这一主张拆分为可验证的部分,并将每一部分对应到各项任务所测试的内容。Domain experts can help here. We suggest asking them to choose realistic noise levels, tolerances, and available software, then score examples independently and investigate disagreements. From there, you can break the claim into parts you can check and map each part to what each task tests.

第 2 步:找到一个起始任务 Step 2. Find a starting task

对于你自己的领域,Hugging Face Hub 上的 Benchmark 和 Environment 类型数据集是很好的查找起点。找到候选数据集后,值得仔细查看其中的说明、环境、参考解答和测试。即使是模型已经能够解决的任务,也可能提供有用的基础设施。我们从 raman-fitting 借鉴了一套可用的任务格式。不过,它只有一条光谱,而实验室的测量结果各不相同,因此我们会在此基础上进一步扩展这个任务,具体内容见步骤 4。For your own domain, the Hugging Face Hub is a good place to look, under its Benchmark and Environment dataset types. When you find a candidate, it is worth inspecting its instructions, environment, reference solution, and tests. Even a task that models already solve can provide useful infrastructure. From raman-fitting we inherit a working task format. It has only one spectrum, though, and a lab's measurements vary, so we expand on this task further as described in Step 4.

第 3 步:原样运行任务 Step 3. Run the task unchanged

在运行任何模型之前,先运行参考解决方案(也称为 oracle)会很有帮助。如果它运行失败,问题就出在任务、环境或验证器上,需要先修复,再分析模型失败的原因。之后,你可以在不更改设置的情况下多次运行模型。Before running any model, it helps to run the reference solution (also called oracle). If it fails, the fault lies in the task, environment, or verifier, and needs to be fixed before you read anything into model failures. After that, you can run the model several times without changing the setup.

我们在 HF Job 中运行 Harbor,由它为 runner 提供计算资源。每次 rollout 都使用各自的 HF Sandbox 来执行命令和处理文件,而模型响应则由 Inference Providers 提供。安装 Harbor 的 hf-sandbox extra 并设置 HF_TOKEN 后,这些命令会先测试 oracle,然后使用 Terminus-2(一种终端代理框架)和 gpt-oss-120b(OpenAI 的开放权重模型)运行三次 rollout。We ran Harbor inside an HF Job, which supplied compute for the runner. Each rollout used its own HF Sandbox for commands and files, and Inference Providers supplied the model responses. With Harbor's hf-sandbox extra installed and HF_TOKEN set, these commands test the oracle, then run three rollouts with Terminus-2, a terminal agent harness, and gpt-oss-120b, an open-weight model from OpenAI.

harbor run -t terminal-bench/raman-fitting \
  -a oracle -e hf-sandbox

OPENAI_API_KEY="$HF_TOKEN" harbor run \
  -t terminal-bench/raman-fitting -k 3 -e hf-sandbox \
  -a terminus-2 -m openai/openai/gpt-oss-120b \
  --ak api_base=https://router.huggingface.co/v1

在这些命令中,-t 指定任务,-a 指定代理,-e 指定环境,-m 指定模型,-k 指定每项任务的 rollout 次数。In these commands, -t names the task, -a the agent, -e the environment, -m the model, and -k the number of rollouts per task.

模型在 3 次运行尝试中全部未通过。两次它在观察到相关输出之前就宣告任务完成;第三次它无法读取数据文件,因为文件使用小数逗号,而参考解法会在加载前将其转换。仅凭分数无法判断这些失败与拟合错误有何不同,但执行轨迹可以。The model passed 0 of 3 rollouts. In two it declared completion before observing relevant output; in the third it could not read the data file, which uses decimal commas that the reference solution converts before loading. The score alone could not tell these failures from an incorrect fit. The traces could.

第 4 步:调整任务 Step 4. Adapt the task

我们构建了 raman-lab:包含八个合成光谱,其参数已知,噪声和缺陷水平各不相同。调整后的模型拟合三个峰,而不是两个,并报告缺陷比率。我们借助智能体生成光谱,随后进行了人工审核,并编写了新的说明、参考拟合结果和输出检查。这八项任务构成一个开发集,也就是我们在构建评测时使用的任务集;更广泛的覆盖范围应当反映真实测量中的变化。We built raman-lab: eight synthetic spectra with known parameters and varied noise and defect levels. The adaptation fits three peaks instead of two and reports a defect ratio. We used an agent to help generate the spectra, reviewed them by hand, and wrote new instructions, reference fits, and output checks. These eight tasks are a development set, meaning tasks we use while building the evaluation; broader coverage should follow the variation in real measurements.

D 峰与 G 峰的强度比可以反映缺陷情况,但其解读取决于激光激发能量和无序程度。要求评估“缺陷比”时,必须说明采用哪些峰、强度指峰高还是积分面积,以及如何验证结果。The D-to-G intensity ratio can indicate defects, but its interpretation depends on the laser excitation energy and the disorder regime. An evaluation asking for a "defect ratio" must say which peaks, whether intensity means height or integrated area, and how the result is checked.

原始的 instruction.md 说明了这类定义为何重要:它要求提供 x0、gamma、amplitude 和 offset,却没有说明这些参数的含义或单位。参考解答将它们分别视为峰中心、半高半宽、背景以上的峰高以及背景值,并将 x 轴从纳米转换为拉曼位移。我们将这类选择写入改编后的说明中,以便清楚呈现验证器的要求。图 6 并列展示了这两个文件。The original instruction.md shows why such definitions matter: it asks for x0, gamma, amplitude, and offset without defining them or their units. The reference solution treats them as peak center, half-width at half-maximum, height above background, and background level, and converts the x-axis from nanometres to Raman shift. We put choices like these into the adapted instructions, so that the verifier's requirements are visible. Figure 6 shows the two files side by side.

图 6. raman-fitting 和 raman-lab 的 instruction.md 文件并排展示。高亮部分是新增内容,涵盖了这项声明的新部分:D 峰、缺陷比,以及将两者都保存在结果中。剩余部分——处理不同的测量数据——体现在数据中:所有八个 raman-lab 任务都共用这条指令,只有光谱(包括其噪声和缺陷程度)会发生变化。Figure 6. The instruction.md files for raman-fitting and raman-lab, side by side. The highlighted additions cover the new parts of the claim: the D peak, the defect ratio, and both in the saved results. The remaining part, handling varied measurements, lives in the data: all eight raman-lab tasks share this instruction, and only the spectrum, with its noise and defect level, changes.

验证器遵循三条规则:The verifier is guided by three rules:

  • 评估代理生成的结果:检查保存的输出,而不是它声称已完成。τ-bench 通过将最终数据库状态与带注释的目标状态进行比较来实现这一点。
    Grade what the agent produced: inspect the saved output, not its claim to have finished. τ-bench does this by comparing the final database state with an annotated goal state.
  • 明确列出指令中所有已核实的事实,包括单位、参数约定、公差和必填字段。
    State every checked fact in the instruction, including units, parameter conventions, tolerances, and required fields.
  • 根据已知参数生成合成数据,以便获得参考答案,然后检查这些示例是否能代表预期的问题。
    Generate synthetic data from known parameters so the reference answer is available, then review whether the examples represent the intended problem.

共享格式可以保持不变,同时调整数据和检查项。此命令会创建任务脚手架:The shared format can stay as it is while the data and checks change. This command creates a task scaffold:

harbor task init my-org/task-01 -p datasets/my-evals

步骤 5:检查评估结果 Step 5. Check the evaluation

在运行更多模型之前,先测试评估本身。适配后的任务位于 datasets/my-evals 中。Before executing more model runs, test the evaluation itself. Here datasets/my-evals contains the adapted tasks.

harbor run -p datasets/my-evals -a oracle -e hf-sandbox
harbor run -p datasets/my-evals -a nop -e hf-sandbox
  • 预言机应当通过每一项任务,也就是说,已知解法必须能在提供的环境中运行。
    The oracle should pass every task, i.e., the known solution must work in the supplied environment.
  • 空操作智能体什么也不做,因此它应该在每项任务中都失败。空白试卷不应该及格。对智能体基准测试的审查发现,有一个基准把空响应算作成功。
    The no-op agent does nothing, so it should fail every task. A blank exam paper should not pass. A review of agentic benchmarks found one that counted empty responses as successes.
  • 跳过必需工作的捷径应该判定为失败。一种测试方法是故意使用一个偷懒的方案,例如不做实际工作就输出看似合理的答案,以检验验证器是否会接受它。还应尝试看似合理的错误答案以及其他正确方法,以发现误判通过和误判失败的情况。
    A shortcut that skips required work should fail. One way to test this is with a deliberately lazy solution, such as one that outputs a plausible answer without doing the work, to see whether the verifier accepts it. Also try plausible wrong answers and alternative correct methods, to catch both false passes and false failures.

我们的捷径在全部八项任务中都返回了预期的缺陷比率,却没有拟合光谱,因此我们增加了针对拟合本身的检查。第 3 节将说明这对验证器设计意味着什么。Our shortcut returned the expected defect ratio on all eight tasks without fitting the spectra, so we added checks on the fit itself. Section 3 explains what that means for verifier design.

第 6 步:运行它并查看跟踪信息 Step 6. Run it and read the traces

阅读成功和失败的运行轨迹都很有帮助。Harbor 使用 ATIF(一种通用追踪格式)在 agent/trajectory.json 中记录消息、工具调用和观测结果。按原因对失败进行分类,能让模式更清晰:解析数据、执行工具、过早停止,或评估输出。It is helpful to read both successful and failed rollouts. Harbor records messages, tool calls, and observations in agent/trajectory.json using ATIF, a shared trace format. Grouping failures by cause makes the patterns easier to see: parsing the data, executing a tool, stopping too early, or grading the output.

调整后的配置在24次 rollout 中通过了11次。在19次 rollout 中,模型在首次响应时调用了 mark_task_complete;其中11次尝试未生成结果文件。The adapted setup passed 11 of 24 rollouts. In 19, the model called mark_task_complete in its first response; 11 of those attempts produced no results file.

图 7. 在 24 次尝试中,智能体有 19 次在首次响应中调用了 mark_task_complete。其中 11 次未生成结果文件,7 次通过,1 次未通过拟合检查。在剩余 5 次尝试中,4 次通过,1 次未通过拟合检查。Figure 7. On 19 of 24 attempts, the agent called mark_task_complete in its first response. Eleven produced no results file, seven passed, and one failed the fit check. Of the five remaining attempts, four passed and one failed the fit check.

若干缺少文件的故障,最初都是因为缺少 NumPy 或 SciPy。已发布的任务要求智能体安装这些依赖;其参考解法一开始就执行了 pip install。对于使用所提供工具进行拟合的实验室评估,可以提前安装并锁定这些依赖的版本。依赖项也会发生变化:Terminal-Bench 2.1 修复了九个因外部依赖在发布后发生变化而受到影响的任务。Several missing-file failures began with missing NumPy or SciPy. The published task expects the agent to install them; its reference solution starts with a pip install. A lab evaluation of fitting with supplied tools could install and pin them in advance. Dependencies also drift: Terminal-Bench 2.1 repaired nine tasks whose external dependencies had changed after release.

预先安装会改变评估条件,因此比较这两种设置时,应保持模型、测试框架、任务和 rollout 次数不变。Preinstalling changes the evaluation condition, so keep the model, harness, tasks, and rollout count fixed when comparing the two setups.

最后,我们调整配置,重复第 5 步中的检查,然后重新运行。Harbor 的跟踪导出器可以整理记录,以便在 Hub 上分享。建议先检查记录中是否包含受保护的内容,并同时保留成功和失败的记录,以便其他人调查结果。Finally, we adapt the setup, repeat the checks in step 5, and rerun. Harbor's trace exporter can prepare records for sharing on the Hub. It is worth reviewing them for protected content first, and keeping both successes and failures so others can investigate the result.

第 7 步:报告得分 Step 7. Report the score

合适的指标取决于你需要做出的决策:The right metric depends on the decision you need to make:

  • pass@k 用来判断 k 次生成中是否至少有一次成功。我们的 pass@3 为 7/8:有七项任务至少成功了一次。
    pass@k asks whether at least one of k rollouts succeeds. Our pass@3 was 7/8: seven tasks succeeded at least once.
  • pass^k 表示 k 次 rollout 是否全部成功。我们的 pass^3 为 1/8:有一个任务每次都成功。
    pass^k asks whether all k rollouts succeed. Our pass^3 was 1/8: one task succeeded every time.

如果有人审核输出,重试或许可以接受。无人值守处理需要保持一致性,因此第二项指标更为重要。Retries may be acceptable when a person reviews the output. Unattended processing needs consistency, so the second measure matters more.

均值旁边附上不确定性会更有参考价值。针对同一光谱进行的多次 rollout 难度相同,因此彼此并不独立,标准误应按任务聚类。聚类后的平均成功率为 0.46,标准误约为 0.11。重复运行时,24 次 rollout 中有 10 次通过,而首次运行中有 11 次通过。开发任务仅有八项,因此我们会谨慎地将这两项结果推广到新的光谱上。A mean is more useful with its uncertainty beside it. Rollouts of the same spectrum share its difficulty, so they are not independent, and the standard error should be clustered by task. Clustering gave a mean success rate of 0.46 with a standard error of about 0.11. A repeat run passed 10 of 24 rollouts, compared with 11 of 24 in the first run. With only eight development tasks, we would be cautious about generalizing either result to new spectra.

Harbor 会为每次 rollout 写入一个 result.json,并将其称为一次 trial。我们按任务对这些结果分组,检查每项任务是否有三次 rollout,并记录错误或排除项。在分数旁报告 token 数、耗时和工具调用次数,能让读者比较以不同成本取得相近结果的配置。Harbor writes a result.json per rollout, which it calls a trial. We group these by task, check that each task has three rollouts, and record errors or exclusions. Reporting tokens, elapsed time, and tool calls beside the score lets readers compare setups that reach similar results at different costs.

步骤 8:比较模型 Step 8. Compare models

当单个模型无法完成某项任务时,仅凭这一次运行无法判断问题出在哪里。原因可能是模型、智能体运行框架,也可能是评估本身。在相同任务上运行更多模型有助于缩小排查范围。如果多个模型都在同一任务上失败,就检查指令、环境和验证器,看是否存在共同原因。如果某个模型反复以独特的方式失败,就将其运行轨迹与成功的尝试进行比较。When a single model fails a task, that run alone cannot tell us what went wrong. It could be the model, the agent harness, or the evaluation itself. Running more models on the same tasks helps narrow the possibilities. When several models fail the same task, inspect the instructions, environment, and verifier for a shared cause. When one model repeatedly fails in a distinctive way, compare its traces with successful attempts.

Inference Providers 通过同一个路由器提供许多开放权重模型,因此每个新模型都可以作为 -m 的另一个取值。多个提供商可能会以不同的量化方式和上下文限制提供同一模型,因此最好用 :deepinfra 这样的后缀指定其中一个,并将其与分数一起记录。Inference Providers serves many open-weight models through the same router, so each new model is one more value for -m. Several providers can serve the same model with different quantization and context limits, so it helps to pin one with a suffix such as :deepinfra and record it beside the score.

OPENAI_API_KEY="$HF_TOKEN" harbor run -p datasets/my-evals -k 3 \
  -e hf-sandbox -a terminus-2 -m openai/Qwen/Qwen3.8-27B:deepinfra \
  --ak api_base=https://router.huggingface.co/v1

图 8 展示了每个模型的 raman-lab 结果。Figure 8 shows the raman-lab results for each model.

图 8. 各模型的 raman-lab 结果,包括 pass@3、pass^3,以及带聚类标准误的平均通过率。选择一个方块即可查看对应的 rollout。Figure 8. raman-lab results per model, with pass@3, pass^3, and the mean pass rate with its clustered standard error. Select a square to inspect that rollout.

这一比较让 gpt-oss-120b 的一种模式更加明显:它经常在看到命令输出之前就宣布完成。在这次单独运行中,提供商固定为 DeepInfra,它在 24 次运行中的 22 次于首次响应中调用了 mark_task_complete,而其他五个模型都没有这样做(图 9)。第 6 步的运行使用路由器的默认提供商,记录到 24 次运行中有 19 次提前宣布完成。该运行通过了 24 次中的 11 次,而 DeepInfra 运行通过了 24 次中的 13 次。两组计数采用相同的测试标准:模型是否在首次响应中调用了 mark_task_complete。The comparison makes one pattern in gpt-oss-120b clearer: it often declares completion before seeing command output. In this separate run with DeepInfra pinned as the provider, it called mark_task_complete in its first response in 22 of 24 rollouts, while none of the other five models did so (Figure 9). The Step 6 run used the router's default provider and recorded 19 of 24 such early completions. It passed 11 of 24 rollouts, compared with 13 of 24 in the DeepInfra run. Both counts use the same test: whether the model called mark_task_complete in its first response.

图 9. 按智能体声明完成时间划分的 raman-lab 运行结果。左:智能体先观察了命令输出。右:智能体在首次响应中调用了 mark_task_complete。Figure 9. raman-lab rollout outcomes by when the agent declared completion. Left: the agent observed command output first. Right: it called mark_task_complete in its first response.

这一比较也显示了开发集的局限性。Qwen3.8-27B、DeepSeek-V4.1-Flash 和 MiniMax-M3.1-Flash 均通过了全部 24 次 raman-lab 运行,因此这些任务无法对它们进行排名。要做到这一点,需要更难的任务。The comparison also shows the limits of the development set. Qwen3.8-27B, DeepSeek-V4.1-Flash, and MiniMax-M3.1-Flash passed all 24 raman-lab rollouts, so these tasks cannot rank them. That will take harder tasks.

按路由服务商的标价,六个模型的推理成本都不到 5 美元。raman-lab 的中位数 rollout 中,gpt-oss-120b 使用约 6,000 个 token,而 MiniMax-M3.1-Flash 使用约 90,000 个。配套仓库包含运行轨迹、每次 rollout 的结果,以及用于添加其他模型的脚本。Inference for all six models cost under $5 at the router's list prices. The median raman-lab rollout used about 6,000 tokens for gpt-oss-120b and about 90,000 for MiniMax-M3.1-Flash. The companion repository holds the traces, the per-rollout results, and the scripts to add another model.

我们如何复用现有的开源组件 How we reused existing open components

复用运行器和任务格式,让我们能够专注于物理、评分和审查。我们之所以能够复用它们,是因为 Harbor 和 Terminal-Bench 都公开了自己的代码和任务。Reusing the runner and task format let us concentrate on the physics, grading, and review. We could reuse them because Harbor and Terminal-Bench publish their code and tasks.

  • 任务:我们沿用了 Harbor 任务格式和 Terminal-Bench 的拉曼拟合任务。新工作聚焦于更狭义的主张、技能覆盖范围,以及针对 raman-lab 的说明。

    Task: We reused the Harbor task format and Terminal-Bench's raman-fitting task. The new work was a narrower claim, skill coverage, and instructions for raman-lab.

  • 任务数据:原始光谱被用作起始示例。我们构建了一个生成器,用于生成八个参数已知的光谱,并对其进行了人工审查。

    Task data: The original spectrum served as a starting example. We built a generator for eight spectra with known parameters and reviewed them manually.

  • 环境:Harbor 的环境支持和 HF Sandbox 执行了这些任务。我们检查了软件包要求,并诊断出缺失的依赖项。

    Environment: Harbor's environment support and HF Sandbox ran the tasks. We checked package requirements and diagnosed missing dependencies.

  • 智能体运行框架和工具:Terminus-2(可访问 shell),并使用 Inference Providers 获取模型响应。这部分无需开展新工作。

    Agent harness and tools: Terminus-2 with shell access, with Inference Providers for model responses. This part needed no new work.

  • 发布与追踪:Harbor 的发布记录和 ATIF 记录了每次运行。我们审查了成功和失败的情况,并按原因进行了归类。

    Rollout and trace: Harbor's rollout records and ATIF captured each run. We reviewed successes and failures and grouped them by cause.

  • 参考解决方案:我们保留了运行 solution/solve.sh 的惯例,并为每个新任务编写了一个参考解。

    Reference solution: We kept the convention of running solution/solve.sh and wrote a reference fit for each new task.

  • 评测框架:Harbor 在一个 HF Job 中运行。我们配置了此次运行,并按任务对结果进行了分组。

    Evaluation harness: Harbor ran in an HF Job. We configured the run and grouped results by task.

  • 验证者:我们复用了 tests/test.sh 入口点及其将分数写入文件的方式。新增工作包括拟合和比例检查,以及针对捷径和错误输出的测试。

    Verifier: We reused the tests/test.sh entry point and its way of writing the score to a file. The new work was fit and ratio checks, plus tests for shortcuts and incorrect outputs.

参考文献 References

  • Akhtar, M., Reuel, A., Soni, P., 等(2026)。《当 AI 基准测试陷入瓶颈:基准测试饱和的系统性研究》。arXiv:2602.16763。https://huggingface.co/papers/2602.16763
    Akhtar, M., Reuel, A., Soni, P., et al. (2026). When AI Benchmarks Plateau: A Systematic Study of Benchmark Saturation. arXiv:2602.16763. https://huggingface.co/papers/2602.16763
  • Ansari, A., Sun, H., Liu, A. Z., 等(2026)。前沿模型的物理学能力究竟如何?专家重新评分揭示评估失效及领先基准几近饱和。arXiv:2609.13009。https://arxiv.org/abs/2609.13009
    Ansari, A., Sun, H., Liu, A. Z., et al. (2026). How Good Are Frontier Models at Physics? Expert Re-Grading Reveals Broken Evaluations and Near-Saturation of Leading Benchmarks. arXiv:2609.13009. https://arxiv.org/abs/2609.13009
  • Anthropic。(2026)。《揭开 AI 智能体评估的神秘面纱》。Anthropic 工程团队,2026 年 1 月。https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
    Anthropic. (2026). Demystifying evals for AI agents. Anthropic Engineering, January 2026. https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
  • ARC Prize Foundation。(无日期)。ARC-AGI-2。https://arcprize.org/arc-agi/2
    ARC Prize Foundation. (n.d.). ARC-AGI-2. https://arcprize.org/arc-agi/2
  • Artificial Analysis。(2026)。宣布推出 Artificial Analysis Intelligence Index v5。发表于 X,2026 年 10 月。https://x.com/ArtificialAnlys/status/2115265133467635877
    Artificial Analysis. (2026). Announcing Artificial Analysis Intelligence Index v5. Post on X, October 2026. https://x.com/ArtificialAnlys/status/2115265133467635877
  • Barres, V., Barton, A., Foss, N. J., & Nielsen, H. M. (2026). 比任务本身更难:AI 基准测试中从技术难题到组织难题。arXiv:2611.03494. https://arxiv.org/abs/2611.03494
    Barres, V., Barton, A., Foss, N. J., & Nielsen, H. M. (2026). Harder Than the Task: From Technical to Organizational Difficulty in AI Benchmarking. arXiv:2611.03494. https://arxiv.org/abs/2611.03494
  • Bean, A. M., Kearns, R. O., Romanou, A. 等(2025)。《衡量真正重要的内容:大型语言模型基准测试中的构念效度》。arXiv:2511.04703。https://huggingface.co/papers/2511.04703
    Bean, A. M., Kearns, R. O., Romanou, A., et al. (2025). Measuring what Matters: Construct Validity in Large Language Model Benchmarks. arXiv:2511.04703. https://huggingface.co/papers/2511.04703
  • Buchanan, E. K., Linderman, S., & Ré, C. (2026). 基准测试即软件:关于 Terminal-Bench 的案例研究。ICML 2026。https://icml.cc/virtual/2026/82793
    Buchanan, E. K., Linderman, S., & Ré, C. (2026). Benchmarks as Software: A Case Study on Terminal-Bench. ICML 2026. https://icml.cc/virtual/2026/82793
  • Cançado, L. G., Jorio, A., Ferreira, E. H., 等(2011)。通过不同激发能量下的拉曼光谱定量分析石墨烯中的缺陷。《Nano Letters》,11(8),3190–3196。https://pubmed.ncbi.nlm.nih.gov/21696186/
    Cançado, L. G., Jorio, A., Ferreira, E. H., et al. (2011). Quantifying defects in graphene via Raman spectroscopy at different excitation energies. Nano Letters, 11(8), 3190–3196. https://pubmed.ncbi.nlm.nih.gov/21696186/
  • Chen, M., Tworek, J., Jun, H., 等人(2021)。《评估在代码上训练的大型语言模型》。arXiv:2107.03374。https://huggingface.co/papers/2107.03374
    Chen, M., Tworek, J., Jun, H., et al. (2021). Evaluating Large Language Models Trained on Code. arXiv:2107.03374. https://huggingface.co/papers/2107.03374
  • Ferrari, A. C., & Basko, D. M. (2013). 拉曼光谱作为研究石墨烯性质的多功能工具. Nature Nanotechnology, 8, 235–246. https://arxiv.org/abs/1306.5856
    Ferrari, A. C., & Basko, D. M. (2013). Raman spectroscopy as a versatile tool for studying the properties of graphene. Nature Nanotechnology, 8, 235–246. https://arxiv.org/abs/1306.5856
  • Ferrari, A. C., Meyer, J. C., Scardaci, V. 等(2006)。石墨烯及石墨烯层的拉曼光谱。《Physical Review Letters》,97,187401。https://arxiv.org/abs/cond-mat/0606284
    Ferrari, A. C., Meyer, J. C., Scardaci, V., et al. (2006). Raman spectrum of graphene and graphene layers. Physical Review Letters, 97, 187401. https://arxiv.org/abs/cond-mat/0606284
  • Gema, A. P., Leang, J. O. J., Hong, G. 等(2024)。我们已经完成 MMLU 了吗?arXiv:2406.04127。https://huggingface.co/papers/2406.04127
    Gema, A. P., Leang, J. O. J., Hong, G., et al. (2024). Are We Done with MMLU? arXiv:2406.04127. https://huggingface.co/papers/2406.04127
  • Ghosh, A., Reuel, A., Chim, J., 等(2026)。《评估卡片:AI 评估报告的解释层》。arXiv:2606.09809。https://huggingface.co/papers/2606.09809
    Ghosh, A., Reuel, A., Chim, J., et al. (2026). Evaluation Cards: An Interpretive Layer for AI Evaluation Reporting. arXiv:2606.09809. https://huggingface.co/papers/2606.09809
  • Harbor Framework.(无日期)。Harbor 文档。https://docs.harborframework.com/
    Harbor Framework. (n.d.). Harbor documentation. https://docs.harborframework.com/
  • Isaac, W.、Messing, S. 和 Lum, K.(2026)。试行全球首个双盲 AI 评估。Google DeepMind,2026 年 8 月。https://deepmind.google/blog/piloting-the-worlds-first-double-blind-ai-evaluations/
    Isaac, W., Messing, S., & Lum, K. (2026). Piloting the world's first double-blind AI evaluations. Google DeepMind, August 2026. https://deepmind.google/blog/piloting-the-worlds-first-double-blind-ai-evaluations/
  • Longpre, S., Klyman, K., Appel, R. E. 等(2025)。《仅靠内部评估还不够:迈向通用人工智能稳健的第三方缺陷披露》。arXiv:2503.16861。https://huggingface.co/papers/2503.16861
    Longpre, S., Klyman, K., Appel, R. E., et al. (2025). In-House Evaluation Is Not Enough: Towards Robust Third-Party Flaw Disclosure for General-Purpose AI. arXiv:2503.16861. https://huggingface.co/papers/2503.16861
  • Miller, E. (2024). 为评测添加误差条:语言模型评估的统计方法。arXiv:2411.00640. https://huggingface.co/papers/2411.00640
    Miller, E. (2024). Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations. arXiv:2411.00640. https://huggingface.co/papers/2411.00640
  • MLCommons。(无日期)。AILuminate:常见问题。https://mlcommons.org/ailuminate/faq/
    MLCommons. (n.d.). AILuminate: frequently asked questions. https://mlcommons.org/ailuminate/faq/
  • OpenAI。(2026)。《我们为何不再评估 SWE-bench Verified》。2026年2月。https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
    OpenAI. (2026). Why we no longer evaluate SWE-bench Verified. February 2026. https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
  • OpenAI。(2026)。《在编码评估中区分信号与噪声》。2026年7月。https://openai.com/index/separating-signal-from-noise-coding-evaluations/
    OpenAI. (2026). Separating signal from noise in coding evaluations. July 2026. https://openai.com/index/separating-signal-from-noise-coding-evaluations/
  • Paniego, S., & Gosthipaty, A. R. (2026). Harness、脚手架,以及值得准确理解的 AI Agent 术语。Hugging Face 博客,2026年5月。https://huggingface.co/blog/agent-glossary
    Paniego, S., & Gosthipaty, A. R. (2026). Harness, Scaffold, and the AI Agent Terms Worth Getting Right. Hugging Face blog, May 2026. https://huggingface.co/blog/agent-glossary
  • Skarlinski, M., Laurent, J., Bou, A., & White, A. (2025)。《人类最后的考试》中约30%的化学/生物学答案可能是错误的。FutureHouse,2025年7月。https://www.futurehouse.org/research/hle-exam
    Skarlinski, M., Laurent, J., Bou, A., & White, A. (2025). About 30% of Humanity's Last Exam chemistry/biology answers are likely wrong. FutureHouse, July 2025. https://www.futurehouse.org/research/hle-exam
  • Terminal-Bench. (2026). Terminal-Bench 2.1。发布说明,2026年5月。https://www.tbench.ai/news/terminal-bench-2-1
    Terminal-Bench. (2026). Terminal-Bench 2.1. Release notes, May 2026. https://www.tbench.ai/news/terminal-bench-2-1
  • Wei, K.(2026)。《面向政策制定者的人工智能评估入门:第一部分》。《Matters of Scale》,2026年11月。https://ai.scal.ing/p/evals-intro-1
    Wei, K. (2026). A primer on AI evaluations for policymakers: Part I. Matters of Scale, November 2026. https://ai.scal.ing/p/evals-intro-1
  • XLANG Lab.(2025)。介绍 OSWorld-Verified。2025年7月。https://xlang.ai/blog/osworld-verified
    XLANG Lab. (2025). Introducing OSWorld-Verified. July 2025. https://xlang.ai/blog/osworld-verified
  • Yao, S., Shinn, N., Razavi, P., & Narasimhan, K. (2024). τ-bench:真实世界领域中工具—智能体—用户交互的基准测试。arXiv:2406.12045. https://huggingface.co/papers/2406.12045
    Yao, S., Shinn, N., Razavi, P., & Narasimhan, K. (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. arXiv:2406.12045. https://huggingface.co/papers/2406.12045
  • Zhu, Y., Jin, T., Pruksachatkun, Y., 等(2025)。《为构建严谨的智能体基准测试确立最佳实践》。arXiv:2507.02825。https://huggingface.co/papers/2507.02825
    Zhu, Y., Jin, T., Pruksachatkun, Y., et al. (2025). Establishing Best Practices for Building Rigorous Agentic Benchmarks. arXiv:2507.02825. https://huggingface.co/papers/2507.02825

术语表 Glossary

智能体运行框架:模型周边的软件,它会将模型的响应转化为操作,例如 shell 命令。本文中的智能体运行框架是 Terminus-2。Agent harness: The software around a model that turns its responses into actions, such as shell commands. Terminus-2 is the agent harness in this post.

智能体评估:对智能体在环境中所做的更改进行评分,而不仅仅是对其返回的文本进行评分。Agentic evaluation: An evaluation that scores what an agent changed in an environment, not only the text it returned.

ATIF:智能体轨迹交换格式,是一种用于记录智能体消息、工具调用和观察结果的通用格式。ATIF: Agent Trajectory Interchange Format, a shared format for recording an agent's messages, tool calls and observations.

金丝雀字符串:基准测试文件中的唯一标记,便于模型训练人员找到这些文件并将其从训练数据中排除。Canary string: A unique marker in benchmark files that lets model trainers find and exclude them from training data.

聚类标准误:将同一任务的多次运行视为彼此相关的标准误,因此相比将每次运行视为独立事件,会得到更宽、也更诚实的误差范围。Clustered standard error: A standard error that treats rollouts of the same task as related, which gives a wider and more honest margin than treating each rollout as independent.

容器镜像:一个包含操作系统、文件和软件的固定软件包,确保每次部署都从相同的环境开始。Container image: A fixed package of operating system, files and software, so every rollout starts from the same environment.

污染:测试题目或解答出现在训练数据中,因此得分可能反映的是记忆,而非能力。Contamination: Test questions or solutions appearing in training data, so a score may reflect memory rather than skill.

上下文限制:模型在一次请求中能够读取的文本最大量,以 token 数量计算。Context limit: The maximum amount of text, counted in tokens, that a model can read in one request.

D、G 和 2D 峰:石墨烯拉曼光谱中的特征。G 和 2D 峰可表明层数,D 峰则会在碳晶格存在缺陷时出现。D, G and 2D peaks: Features in graphene's Raman spectrum. G and 2D indicate the number of layers, and D appears when the carbon lattice has defects.

缺陷比:D 峰强度与 G 峰强度之比,用于表征石墨烯中的缺陷。也称为 D/G 比。Defect ratio: The intensity of the D peak divided by that of the G peak, used to indicate defects in graphene. Also called the D-to-G ratio.

开发集:在构建和调试评估时使用的任务集,与用于最终评分的保留测试集相对。Development set: Tasks used while building and debugging an evaluation, as opposed to a held-back test set used for final scores.

环境:智能体执行任务期间使用的软件、文件和资源。Environment: The software, files and resources an agent works in during a task.

评测框架:运行任务、重复执行 rollout、收集轨迹并汇总分数的软件。本文中的评测框架是 Harbor。Evaluation harness: The software that runs tasks, repeats rollouts, collects traces and aggregates scores. Harbor is the evaluation harness in this post.

受限数据集:一种 Hugging Face 数据集,只有在所有者批准访问请求后才能下载。Gated dataset: A Hugging Face dataset that can be downloaded only after the owner approves an access request.

Harbor:一个用于智能体任务的开源评测框架。Harbor: An open-source evaluation harness for agentic tasks.

HF Job:在 Hugging Face 上运行脚本的计算任务。这里运行的是 Harbor。HF Job: Compute on Hugging Face that runs a script. Here it runs Harbor.

HF Sandbox:一个隔离的 Hugging Face 环境,单次 rollout 在其中运行命令并存储文件。HF Sandbox: An isolated Hugging Face environment where a single rollout runs its commands and stores its files.

保留测试集:保持私密的测试项,确保模型无法针对这些测试项进行训练或调优。Held-out test set: Test items kept private so that models cannot be trained or tuned on them.

推理提供商:一种 Hugging Face 服务,通过一个名为 router 的 API 将模型请求路由到第三方提供商。Inference Providers: A Hugging Face service that routes model requests to third-party providers through one API, called the router.

洛伦兹曲线:一种常用于模拟光谱峰形状的数学曲线。Lorentzian: A mathematical curve commonly used to model the shape of a spectral peak.

空操作智能体:什么也不做的智能体。合理的评估会给它打零分。No-op agent: An agent that does nothing. A sound evaluation gives it a score of zero.

开放权重模型:其训练参数已公开,任何人都可以下载并运行。Open-weight model: A model whose trained parameters are published for anyone to download and run.

Oracle:运行参考解决方案的智能体,用于检查每项任务是否都能在所提供的环境中完成。Oracle: An agent that runs the reference solution, used to check that every task can be solved in the supplied environment.

pass@k:至少有一次成功的 k 次运行所占的任务比例。pass@k: The share of tasks where at least one of k rollouts succeeds.

pass^k:所有 k 次执行都成功的任务占比。pass^k: The share of tasks where all k rollouts succeed.

固定版本:锁定软件、镜像或模型提供商的确切版本,以便重复运行。Pinning: Fixing the exact versions of software, images or model providers so a run can be repeated.

量化:以较低的数值精度存储模型权重,从而提升运行速度并降低成本,但可能会略微改变输出结果。Quantization: Storing model weights at lower numerical precision to run faster and cheaper, which can change outputs slightly.

拉曼位移:激光与样品散射光之间的频率差,单位为 cm⁻¹。Raman shift: The difference in frequency between the laser light and the light a sample scatters, measured in cm⁻¹.

拉曼光谱法:一种将激光照射到样品上,并测量散射光的频移以识别材料性质的技术。Raman spectroscopy: A technique that shines a laser on a sample and measures shifts in the scattered light to identify properties of the material.

参考解决方案:与任务一同存储的已知正确完成方法。Reference solution: A known correct way to complete a task, stored with the task.

运行记录:智能体对一项任务的一次尝试。Harbor 将其称为一次试验。Rollout: One attempt by an agent at one task. Harbor calls it a trial.

运行记录:关于某个评分背后执行了什么的记录,包括确切的任务、环境、模型配置和代码版本。Run record: A record of what ran behind a score: the exact task, environment, model configuration and code versions.

饱和:大多数模型在某个基准测试中达到最高分的阶段,因此该测试不再能区分它们。Saturation: The point where most models reach top scores on a benchmark, so it no longer separates them.

合成数据:根据已知参数生成的数据,因此可以预先确定正确答案。Synthetic data: Data generated from known parameters, so the correct answer is known in advance.

Terminal-Bench:一个开放基准,包含由智能体在计算机终端中完成的任务。Terminal-Bench: An open benchmark of tasks that an agent completes in a computer terminal.

Terminus-2:本文中使用的终端代理框架。它将模型连接到 shell 命令。Terminus-2: The terminal agent harness used in this post. It connects the model to shell commands.

Token:模型读取和生成文本的单位,大致相当于一个短词或词的一部分。Token: The unit of text a model reads and writes, roughly a short word or part of a word.

轨迹记录:一次 rollout 的完整记录,包括模型的消息、调用的工具,以及每条命令的返回结果。也称为轨迹。Trace: The full record of a rollout: the model's messages, its tool calls and what each command returned. Also called a trajectory.

验证器:通过检查已保存的输出或环境的最终状态来评估一次运行的代码。Verifier: The code that grades a rollout by checking the saved output or the environment's final state.

值得记下

  1. AI 评测有助于塑造人们构建、采用和信任哪些系统。评测会为系统设置任务,检查其回答或行动,并生成分数。
  2. 当方法、代码和数据都不公开时,其他人就更难审查这项工作,也更难在其基础上继续开展工作。
  3. 如果验证器只检查比例,那么它就会给全部八项任务打满分。
  4. 公开审查可以揭示基准测试构建者未能发现的指令和测试错误。
  5. 分数再稳定,也仍然可能衡量错了东西。

← 回到本期 · 第 8 条