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

  1. AI Academy
  2. /
  3. Path 2
  4. /
  5. Agent Benchmarks and Simulations
AdvancedFree coursePath 2 · Evaluation and Optimisation · Part 3 of 6

Agent Benchmarks and Simulations

Evaluate multi-turn, stateful agents with simulated users and real environments, and build benchmarks whose numbers survive an audit.

3 modules · 9 lessons~32 hoursUpdated 2026-11-01Certificate included

See the curriculum
  • Lessons9
  • Quizzes9
  • Sources58
  • Of study~32h

About this course

About this course

Single-task evals stop working once an agent holds a conversation and changes the world it acts on. This course builds the next layer: stateful environments graded on the end state they are left in, user simulators that talk back and must be validated before you trust them, tasks packaged for current harnesses such as Harbor and Inspect, and the infrastructure that keeps scores reproducible. The second half turns you into a benchmark auditor: contamination, saturation and broken tasks, exploits that score without solving, item analysis and time horizons, and reports and model cards read the way a reviewer would. Code is Python with Docker, and agents run as Claude Code on your Claude subscription.

About the running example

The examples follow Quillmoor, a fictional company that sells project-management software, and its account-support agent. The agent changes plans and seats, issues refunds within a written policy (duplicate charges included) and recovers accounts through tools over a SQLite backend, while simulated customers (some impatient, some uncooperative) talk to it. Every account, invoice and conversation is synthetic.

Outcomes

What you'll learn.

  1. 1Build a stateful evaluation environment (backend as tools, a written policy, gold-action replay) and grade agents on end state, collateral damage and required communication
  2. 2Write a user simulator with a persona, a hidden goal, a stop condition, its own tools and uncooperative variants, and measure its fidelity and its sensitivity to the simulator model
  3. 3Package tasks for a current harness (Harbor or Inspect) with sandboxes and oracle and empty-agent controls, and run repeated trials of Claude Code reproducibly from a run manifest
  4. 4Audit a benchmark for contamination, saturation, broken or underspecified tasks and exploitable graders, and fix what you find
  5. 5Fit item difficulty and discrimination to a trials matrix, prune a suite without losing ranking fidelity, and explain how time-horizon metrics are computed and where they break
  6. 6Report results with a noise breakdown, cost per success and reliability metrics, and critique a frontier model's benchmark claims from its footnotes
Curriculum

3 modules, 9 lessons.

11h 20m of lessons

  1. Module 1 · 3 lessons · 3h 40m

    Simulated worlds

    Replace fixtures with a world that changes and a user who talks back, then check that the simulated user behaves like a real one.

    1
    1. 1Stateful environments and end-state gradingWhy multi-turn agents need an environment rather than tool stubs, and how to grade the world an agent leaves behind with gold-action replay, state hashes, targeted assertions and collateral-damage checks.1h 15m7-question quiz7 sources
    2. 2Building user simulatorsDesign the second model in the loop, a simulated user with a persona, a hidden goal, limited knowledge and a stop rule, and drive it turn by turn against a headless agent, including dual-control tasks and deliberately difficult users.1h 15m7-question quiz7 sources
    3. 3Validating user simulatorsMeasure how far a simulated user is from real ones and how much a score depends on the simulator model, then attribute every trial to the agent, the simulator, the environment or the grader before reporting a number.1h 10m7-question quiz5 sources
  2. Module 2 · 2 lessons · 2h 35m

    Running benchmarks

    Turn tasks into a harness you and others can rerun, and separate the noise from the signal.

    2
    1. 4Task specs, harnesses and sandboxesWhat a reusable agent task contains (instruction, environment, verifier and reference solution), how Harbor, Inspect and τ-bench each package one, and the oracle and empty-agent controls that prove a task is solvable and not passed for free.1h 20m7-question quiz7 sources
    2. 5Noise, reproducibility and eval infrastructureWhere the variance in an agent benchmark score comes from beyond the model (task sampling, resource limits, time limits, concurrency and provider errors), and how to run large eval jobs that are isolated, pinned, logged and comparable.1h 15m7-question quiz6 sources
  3. Module 3 · 4 lessons · 5h 5m

    Benchmarks you can trust

    Find out whether a number means what it claims, close the exploits that inflate it, and report it honestly.

    3
    1. 6Contamination, saturation and broken tasksHow 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.1h 20m8-question quiz7 sources
    2. 7Auditing benchmarks for exploitsAgents optimise the grader, not the intent. The recurring flaw classes that let an agent score without solving the task, how to red-team your own benchmark with an adversarial coding agent and patch what it finds, and how to report evidence-backed score bounds instead of a bare pass rate.1h 15m8-question quiz6 sources
    3. 8Item analysis, difficulty and time horizonsTreat a benchmark as a test: fit item response models to a configs-by-tasks success matrix, find saturated, broken and useless tasks, choose smaller subsets that keep the ranking, and see how 50% time horizons are computed and where they stop being reliable.1h 20m8-question quiz7 sources
    4. 9Reporting results and reading model cardsWhat a trustworthy benchmark report contains (uncertainty, trials per task, pass^k, cost per success, infrastructure errors, harness and settings), how to compare agents at matched budgets, and how to read a frontier model launch's benchmark footnotes the way a reviewer would.1h 10m8-question quiz6 sources
Capstone

A benchmark for the account-support agent you'd defend

Build a 24-task benchmark for a stateful, conversational agent, with simulated customers, Harbor packaging, controls and repeated trials from a manifest, then audit it for broken tasks and exploits, analyse it item by item, and publish a report card whose numbers survive a reviewer.

Open the project brief
Certificate · free

Finish it. Get certified.

Complete every lesson of Agent Benchmarks and Simulations and you get a certificate with your name on it. Free, like the course.

  • A public page with a certificate ID anyone can check
  • Download it as a PDF
  • Add it to LinkedIn in one click
It also counts towards the Evaluation and Optimisation path certificate, for finishing all 6 courses in Path 2.
Sample
FAQ

Agent Benchmarks and Simulations, answered.

Is Agent Benchmarks and Simulations free?

Yes, for everyone: all 9 lessons, 9 quizzes, the capstone brief and the certificate are free, with no card and no trial. The hands-on exercises need the tools listed under Prerequisites.

Do I get a certificate?

Yes. Finish every lesson of Agent Benchmarks and Simulations and you get a certificate with your name and a certificate ID, on a public page anyone can check. Finishing every course in a learning path earns the path certificate too. You can download each one as a PDF and add it to LinkedIn. They're certificates of completion from the Coders In Hoods AI Academy, not an accredited qualification.

How long does Agent Benchmarks and Simulations take?

About 32 hours: 3 modules and 9 lessons, at your own pace. Your progress is saved to your account, on every device.

What do I need before I start?

Evaluating and Scoring Agents: graders, calibrated judges, pass^k, confidence intervals and paired comparisons. Building Agents with Claude and eve, or equivalent experience with MCP tools and Claude Code headless runs. Comfortable with Python (uv) and Docker. Claude Code on a Claude subscription; an OpenRouter key or Ollama only for the simulator and model-comparison stretch work.

Before you start

Prerequisites

  • Evaluating and Scoring Agents: graders, calibrated judges, pass^k, confidence intervals and paired comparisons
  • Building Agents with Claude and eve, or equivalent experience with MCP tools and Claude Code headless runs
  • Comfortable with Python (uv) and Docker
  • Claude Code on a Claude subscription; an OpenRouter key or Ollama only for the simulator and model-comparison stretch work
Path 2

More in Evaluation and Optimisation.

See the whole path
Next in Evaluation and Optimisation · Course 4Prompt and Context OptimisationTreat prompts, examples, tool descriptions and skills as versioned, measured artefacts, and improve them by hand, by optimiser and in production without breaking what already works.
  • IntermediateAI agents · Evals

    Evaluating and Scoring Agents

    Turn "it seems better" into numbers you can defend: error analysis, code graders, calibrated LLM judges and honest statistics.

    7 lessons ~20hFree
  • IntermediateResearch methods · Evals

    Think Like a PhD Student

    Ask a question, design the experiment, annotate the data, doubt the result, write it up and get it reviewed: the research discipline for AI agent work.

    10 lessons ~26hFree
  • AdvancedEvals · Human feedback

    Human Feedback at Scale

    Collect, measure and trust the judgements of reviewers and users: study design, rater agreement, preference rankings, real-use signals and quality estimates from a few labels.

    7 lessons ~28hFree
  • AdvancedFine-tuning · Reinforcement learning

    Fine-Tuning and RL for Agents

    Train a small open model for one agent step with supervised fine-tuning, preference optimisation and reinforcement learning, and prove with your eval suite whether it beats an optimised prompt.

    8 lessons ~38hFree