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
  • 7Auditing benchmarks for exploits

    Exercise answers

    • Answer: Red-team your Quillmoor benchmark
    • Answer: Score with evidence bounds and break a replay agent
  • 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 7

Auditing benchmarks for exploits

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

75 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

  • Classify grader flaws into eight recurring classes and name the design change that closes each one
  • Run white-box and black-box adversarial audits of your own tasks with a coding agent, confirm each exploit with reward-independent evidence, and patch it
  • Label runs Evidence Pass, Evidence Fail or Unknown and compute evidence-supported score bounds
  • Explain why pass@k on a deterministic environment equals a replay exploit's success rate, and how varying the environment breaks the equivalence

On this page

  • A benchmark is a security boundary
  • Eight flaw classes
  • Trust boundaries in a Harbor task
  • Running the audit
  • Worked example: a Quillmoor audit
  • pass@k rewards a replay exploit
  • Evidence labels and score bounds
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01A benchmark is a security boundary
  2. 02Eight flaw classes
  3. 03Trust boundaries in a Harbor task
  4. 04Running the audit
  5. 05pass@k rewards a replay exploit
  6. 06Evidence labels and score bounds
  7. 07Connections
  8. 08Summary

Sources & further reading

  • Do Androids Dream of Breaking the Game? Systematically Auditing AI Agent Benchmarks with BenchJackPaper · Wang, Li, Mang, Cheung, Sen, Song · UC Berkeley · 2026The eight flaw classes, an automated auditing agent, and 219 flaws across 10 benchmarks. Read section 4.1 for the taxonomy and 5.3 for why code-only patches get re-hacked.
  • Computer Use at the Edge of the Statistical PrecipicePaper · D'Oro et al. · 2026A 1 MB replay script beats frontier models on static benchmarks, and Remark 1 proves its success rate equals the source agent's pass@k. Section 2.1 and Appendix A are short and worth reading in full.
  • Can Agent Benchmarks Support Their Scores? Evidence-Supported Bounds for Interactive-Agent EvaluationPaper · Shanshan Gao, Liyi Zhou · 2026The evidence layer: a locked checklist, three evidence labels and partial-identification bounds, applied to five public benchmarks including τ³-bench retail and AppWorld. The counting rule is in section 3.
  • Hack-Verifiable Terminal Bench: Evaluating Reward Hacking in Terminal TasksPaper · Roth, Bercovich, Efroni · 2026Plants leaked solutions and tests as honeypots in 89 Harbor tasks and measures how often five frontier agents use them, with and without warnings. Table 2 has the per-model rates.
  • Establishing Best Practices for Building Rigorous Agentic BenchmarksPaper · Zhu, Jin et al. · UIUC and others · 2025The Agentic Benchmark Checklist's outcome-validity checks, with worked exploits on SWE-Lancer, WebArena, KernelBench and τ-bench. Section 5 reads like a casebook.
  • Cracking down on reward hackingDocs · Harbor · 2026Harbor's October 2026 hardening: separate verifiers by default, reward files cleared, sanitised artifacts, non-root agents, harbor lint and harbor analyze. The practical checklist for the tasks in this course.
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