Lesson 11.09 · Phase 11 · Evaluation & Observability

Benchmarks: SWE-bench to τ-bench

A benchmark is a task set plus a grading rule, and the grading rule is what makes it worth reading. SWE-bench counts a patch as resolved only if the failing tests now pass and every previously passing test still passes, with the official tests restored. τ-bench ignores what the agent says and compares the final database state, then asks whether it works every time (pass^k), not just once. Rebuild both small, and benchmark scores become something you can interpret instead of something you quote.

Learning objectives

  • Explain SWE-bench's FAILTOPASS and PASSTOPASS grading, and why the official tests are restored before grading.
  • Grade an agent's conversation by end state, τ-bench style, and compute pass^k over repeated trials.
  • Name what each major agent benchmark measures and how it grades.
  • Read a benchmark claim critically: which split, which harness, how many trials, at what cost.

A model card says "72% on SWE-bench Verified", a blog says "state of the art on τ-bench", and your team wants to know which model to use for your agent. These numbers aren't comparable with each other, often not with other runs of the same benchmark (different scaffolds, different trial counts), and never directly with your tasks.

Loading the full lesson…