Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Agent Benchmarks and Simulations

Free · sign in to start and track progress

1 · Simulated worlds

  • 1Stateful environments and end-state grading
  • 2Building user simulators
  • 3Validating user simulators

2 · Running benchmarks

  • 4Task specs, harnesses and sandboxes
  • 5Noise, reproducibility and eval infrastructure

3 · Benchmarks you can trust

  • 6Contamination, saturation and broken tasks

    Exercise answers

    • Answer: Re-annotate a Quillmoor suite with planted flaws
    • Answer: Probe a public benchmark for memorisation
  • 7Auditing benchmarks for exploits
  • 8Item analysis, difficulty and time horizons
  • 9Reporting results and reading model cards
CapstoneA benchmark for the account-support agent you'd defendReference implementation

Module 3 · Benchmarks you can trust · Lesson 6

Contamination, saturation and broken tasks

How a benchmark stops measuring what it claims (leaked test data, saturated scores, underspecified tasks and wrong tests), traced through SWE-bench Verified from its 2024 re-annotation to its 2026 retirement, and how to audit and repair your own suite.

80 min 2 videos 3 exercises 8-question quiz Answers
Setup for the exercises:Install Claude CodePython with uvDocker and Docker ComposeRun agent tasks with Harbor

By the end of this lesson you can

  • Explain construct, task and outcome validity, and test a benchmark's headline claim against them
  • Detect and mitigate contamination with fresh or private tasks, held-out splits, canaries and memorisation probes
  • Compute a saturation index for a leaderboard, and certify an all-fail task with oracle, empty-solution and infrastructure evidence instead of calling it hard
  • Run a re-annotation pass that finds underspecified tasks and verifiers that reject correct work or accept wrong work, and fix what it finds

On this page

  • Four ways an exam goes wrong
  • Construct validity, task validity, outcome validity
  • The case study: SWE-bench Verified
  • Worked example: where the honest ceiling was
  • Contamination: detect it, then design it out
  • Saturation, and why all-fail is not hard
  • Re-annotation: finding underspecified tasks and wrong tests
  • Worked example: two annotators and the controls
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Four ways an exam goes wrong
  2. 02Construct validity, task validity, outcome validity
  3. 03The case study: SWE-bench Verified
  4. 04Contamination: detect it, then design it out
  5. 05Saturation, and why all-fail is not hard
  6. 06Re-annotation: finding underspecified tasks and wrong tests
  7. 07Connections
  8. 08Summary

Sources & further reading

  • Measuring what Matters: Construct Validity in Large Language Model BenchmarksPaper · Bean, Kearns et al. · University of Oxford and others · 202529 experts review 445 benchmarks and turn what they found into eight recommendations with a checklist. Read section 3 (the recommendations) and the checklist in the appendix; this lesson's vocabulary comes from here.
  • Establishing Best Practices for Building Rigorous Agentic BenchmarksPaper · Zhu, Jin et al. · UIUC and others · 2025The Agentic Benchmark Checklist. Splits rigour into task validity and outcome validity, and finds a do-nothing agent scoring 38% on τ-bench airline. Section 4 is the checklist itself.
  • What Makes a Terminal-Bench Task Hard? Separating Genuine Hardness from Fake-Hardness on an Adjudicated Agentic CorpusPaper · Lue Chee Lip et al. · 2026Of 125 tasks no agent solved, only 78 survive an ordered validity screen. The source of this lesson's certification procedure; section 3 explains the screen and its strictness ladder.
  • When AI Benchmarks Plateau: A Systematic Study of Benchmark SaturationPaper · Akhtar, Reuel et al. · 2026Defines saturation as lost discriminative power, gives an uncertainty-aware saturation index, and finds nearly half of 60 benchmarks saturated. ICML 2026. Section 2.2 has the formulas used below.
  • Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation BenchmarksPaper · Jacovi, Caciularu, Goldman, Goldberg · 2023Three cheap mitigations for anyone publishing tasks: encrypt and licence the test data, demand training-exclusion controls, and avoid items whose solutions already sit on the web. EMNLP 2023; short and practical.
  • Introducing SWE-bench VerifiedLab research · OpenAI · 2024The re-annotation campaign: 93 developers, 1,699 tasks labelled three times on a 0–3 severity scale, 500 kept. The best worked example of a re-annotation protocol you can copy.
  • Why SWE-bench Verified no longer measures frontier coding capabilitiesLab research · OpenAI · 2026The retirement notice: an audit of 138 hard tasks (59.4% with material flaws, split into narrow and wide tests) and an automated contamination probe that recovered gold patches from three labs' models.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 8 more sections
  • 3 hands-on exercises
  • A 8-question quiz
  • Progress, quiz scores and bookmarks