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

    Exercise answers

    • Answer: Package five Quillmoor tasks for Harbor and run the controls
    • Answer: Port a Quillmoor task to Inspect and compare the logs
  • 5Noise, reproducibility and eval infrastructure

3 · Benchmarks you can trust

  • 6Contamination, saturation and broken tasks
  • 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 2 · Running benchmarks · Lesson 4

Task specs, harnesses and sandboxes

What 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.

80 min 2 videos 3 exercises 7-question quiz Answers
Setup for the exercises:Run agent tasks with HarborDocker and Docker ComposePython with uvInstall Claude CodeMCP servers in Claude CodeRun evals with InspectGet an OpenRouter key

By the end of this lesson you can

  • Name the parts of a reusable agent task and say which runtime role (agent, sandbox, verifier, oracle) may see each one
  • Package the same stateful task for Harbor (instruction, environment, test script that writes a reward, reference solution) and for Inspect (dataset, solver, scorer, sandbox)
  • Run oracle and empty-agent controls and interpret each of the four possible outcomes
  • Run Claude Code on a subscription inside a container with a long-lived OAuth token, with repeated independent attempts
  • Choose between Harbor, Inspect, τ-bench and a custom harness for a given evaluation

On this page

  • What a task has to contain
  • Harbor: the task as a directory
  • Inspect: the task as Python
  • τ-bench: the task as a scenario in a domain
  • Controls: the oracle and the empty agent
  • Worked example: five Quillmoor tasks
  • Running Claude Code on your subscription in a container
  • Choosing a harness
  • Misconceptions and limits
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01What a task has to contain
  2. 02Harbor: the task as a directory
  3. 03Inspect: the task as Python
  4. 04τ-bench: the task as a scenario in a domain
  5. 05Controls: the oracle and the empty agent
  6. 06Running Claude Code on your subscription in a container
  7. 07Choosing a harness
  8. 08Misconceptions and limits
  9. 09Connections
  10. 10Summary

Sources & further reading

  • Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line InterfacesPaper · Merrill, Shaw, Carlini et al. · 2026The benchmark Harbor was built to run. 89 tasks, each with its own environment, a human-written solution and tests. Read the task-construction and verification sections for what a well-built task looks like.
  • What Makes a Terminal-Bench Task Hard? Separating Genuine Hardness from Fake-Hardness on an Adjudicated Agentic CorpusPaper · Lue Chee Lip et al. · 2026Evidence for controls. Reference-solution runs and empty-solution controls showed that 14 of 125 all-fail tasks had broken oracles. Read the abstract and the validity screen.
  • Establishing Best Practices for Building Rigorous Agentic BenchmarksPaper · Zhu, Jin, Pruksachatkun et al. · 2025The Agentic Benchmark Checklist. Its headline examples include τ-bench counting empty responses as successes, with errors of up to 100% in relative terms. Skim the task-validity items.
  • Harbor documentation: task overviewDocs · Harbor FrameworkThe task directory (instruction, task.toml, environment, solution, tests), the reward file contract and the trial lifecycle. Then read the Verifier, Solution and Separate verifier pages.
  • τ-bench: Task Schema and EvaluationDocs · SierraHow a conversational task is scored. The reference actions are replayed to derive a target database state, and the reward is a product of components. Includes the worked example in which doing nothing earns full reward.
  • Inspect: SandboxingDocs · UK AI Security InstitutePer-sample Docker sandboxes, where tool code runs versus where commands run, and why a custom compose file must turn the network off itself.
  • Claude Code: AuthenticationDocs · Anthropic`claude setup-token`, `CLAUDE_CODE_OAUTH_TOKEN`, which credential wins when several are set, and why `--bare` can't use the token.
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.

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