Wink Pings

SWE-bench Author Looks Back: No One Used the Leaderboard for Four Months After Launch—It Was Stuck on Being Too Troublesome to Run

Stanford CS329Z Lecture 12 update: SWE-bench author John Yang spends 80 minutes discussing Agent evaluation and benchmark design. A good leaderboard must trade off among 7 dimensions, and "ease of running" has long been undervalued. SWE-bench itself learned this the hard way.

Stanford CS329Z Lecture 12 has been updated. The full course title is Engineering AI Agents, Fall 2026, taught by Diyi Yang, Michael Ryan (DSPy core contributor), and John Yang (SWE-bench co-creator). Lecture 12 focuses on evaluation, presented by John Yang, 80 minutes, with bilingual Chinese-English subtitles.

Original YouTube video, Bilibili bilingual subtitles are here.

John Yang breaks down several layers of benchmark design in the lecture. He opens with a framework: a good benchmark usually makes trade-offs among 7 dimensions, including challenging, realistic and natural, discriminative, easy to run, reliably verifiable, interpretable, and resistant to data contamination.

Seven dimensions are hard to max out simultaneously. Realistic, natural tasks are often cumbersome to verify; discriminative questions are easily contaminated by data. Designing a leaderboard is essentially choosing which dimensions to compromise on.

He particularly calls out an often overlooked dimension: ease of running. The gist is that this dimension is severely undervalued.

Then he shares an early SWE-bench experience. For the first four or five months after SWE-bench was released, it remained lukewarm. The reason wasn't that the problems were bad, but that the verification process was too slow and cumbersome. When others wanted to try it, they found that a single run took a long time and environment setup was tedious, so they simply didn't try.

When the evaluation community prioritizes, challenge and realism usually come first, and ease of running is placed far behind. But in actual use, a benchmark that can't be run is tantamount to not existing. No matter how impressive the score, if no one runs it, there is no discussion.

The second point is about leaderboard gaming. Pouring SFT and RL heavily into a single coding leaderboard can indeed raise scores, at the cost that the model's general instruction-following ability and cross-domain ability tend to degrade. In the lecture, this is called the cost of over-optimizing for leaderboards. In practical work, it means using training signals from a narrow leaderboard to cover general capabilities; short-term it looks like optimization, long-term it is lopsided.

The lecture also goes through mainstream Agent evaluations: WebArena, tau-bench, OSWorld, Terminal-Bench, BrowseComp, PaperBench, DeepSWE. It explains in some detail what problem each leaderboard solves and where it gets stuck.

Let me add some course background. CS329Z is positioned as shifting from a single large model to compound AI systems, combining components such as LLMs, retrievers, tools, optimizers, and memory to build complete systems ranging from pipelines to autonomous Agents. Assignments are engineering-oriented, and both sets have already been made public.

The above is the first lecture, where Diyi Yang talks about the history and basic structure of Agents. Lecture 12 can be watched directly on YouTube or Bilibili.

HW1 is designed by Michael Ryan: build an Agent Harness from scratch, similar to a mini Claude Code. It requires not using existing frameworks, only using the chat completion API plus your own code, and doing retrieval, summarization, tool calling, terminal, and memory based on real company email corpora. The cost to run the reference implementation through the tests is about less than $1.

Agent Harness

The repository is at cs329z/assignment1-harness.

HW2 is designed by John Yang: use the Harbor framework to build real evaluation tasks close to the Terminal-Bench style. Students design their own problems, runtime environments, and verifiers.

Agent Evals

The repository is at cs329z/assignment2-evals. The course website is at cs329z.stanford.edu.

If you remember only one thing, remember John Yang's judgment on benchmarks: being runnable is more important than being accurate. At least that's true for the ecosystem. A leaderboard no one runs has zero value no matter how high its accuracy.

发布时间: 2026-12-02 18:29