跳到主要内容Skip to main content

Models · Evals

Terminal-Bench 4.1Terminal-Bench 4.1

终端环境里完成真实软件工程任务的能力Ability to complete real software-engineering tasks in a terminal

测什么What it measures终端环境里完成真实软件工程任务的能力Ability to complete real software-engineering tasks in a terminal
任务与数据Tasks and data66 个容器化专业任务,覆盖代码修复、数据处理、系统操作等;每题最多 5 次尝试、单次最长 8 小时66 containerised professional tasks covering code fixes, data processing and system operations; up to five attempts per task and eight hours per attempt
指标Metric任务解决率(resolution rate),带 95% 置信区间Resolution rate with a 95% confidence interval
污染风险Contamination risk滚动题集会随 agent 进步修订;4.1 加固了验证器以抵抗 reward hacking,但公开任务仍有被训练集见过的风险。Medium; tasks are public but long interactive trajectories are hard to memorise.
复现Reproduction按官方 Harbor 环境跑固定题集,记录 agent 脚手架、模型档位、尝试次数与成本;不要只报单次最好成绩。High; per-task attempts can run for hours, suited to teams with budget.
成本Cost高;单题最长 8 小时 × 5 次尝试,适合有预算的团队High; up to eight hours × five attempts per task.
快照日Snapshot2026-11-19
核验日Verified2026-11-19

怎么读How to read it

它测的是「模型 + agent 脚手架」的完整系统,不是裸模型;同一模型换 harness 分数会变。读榜先看解析率、置信区间与 token/成本,再看排名。A heavyweight terminal-agent benchmark. Report attempts, time budget and container image.

下一步Next steps

  • 固定仓库快照、工具权限与超时,把失败拆成编译、测试、越权与环境四类。Pin the repo snapshot, tool permissions and timeout; split failures into build, test, permission and environment.
  • 用你自己的 20–50 个真实 issue 或任务复跑,区分“能写出代码”和“能交付可用结果”。Re-run on 20–50 of your real issues or tasks; separate “can write code” from “can deliver a usable result”.
  • 把 pass@1、token 成本与人工复核时间一起报;只看通过率会漏掉返工成本。Report pass@1 with token cost and human review time; pass rate alone hides rework.
榜单 / 来源Leaderboard / source:https://www.tbench.ai/ · 快照Snapshot 2026-11-19