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

Evaluating and Scoring Agents

Free · sign in to start and track progress

1 · Foundations of evaluation

  • 1Why evals, and their vocabulary
  • 2Error analysis from traces

    Exercise answers

    • Answer: Build a trace viewer and a counted taxonomy
    • Answer: Generate a balanced 24-task dataset
  • 3Code-based graders

2 · Scoring that you can trust

  • 4LLM-as-judge
  • 5Calibrating judges
  • 6Rubrics per task
  • 7Statistics, trials and CI gates
CapstoneA full eval suite for your drafting agentReference implementation

Module 1 · Foundations of evaluation · Lesson 2

Error analysis from traces

Read agent traces systematically, turn your notes into a failure taxonomy, and build a first balanced dataset of 20–50 tasks from what actually goes wrong.

75 min 2 videos 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodeNode.js, pnpm and TypeScript

By the end of this lesson you can

  • Find and read eve and Claude Code traces, and identify the first upstream failure in each
  • Run open coding and axial coding on a sample of traces to produce a counted failure taxonomy
  • Decide, for each failure mode, whether to fix it directly, grade it with code, or grade it with a judge
  • Build a balanced 20–50 task dataset with reference solutions, including negative cases, using synthetic inputs when real traffic is scarce

On this page

  • Why bottom-up beats top-down
  • Where the traces are
  • The method
  • 1. Sample
  • 2. Open coding: write what went wrong
  • 3. Axial coding: group into failure modes
  • 4. Count
  • 5. Decide what to do with each mode
  • 6. Repeat until saturation
  • Worked example: the enquiries agent
  • Using Claude to help, without letting it do your thinking
  • From taxonomy to a first dataset
  • Balance
  • When you don't have enough real traces
  • Store it as data
  • Misconceptions and limits
  • How this sets up the next lesson
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Why bottom-up beats top-down
  2. 02Where the traces are
  3. 03The method
  4. 04Worked example: the enquiries agent
  5. 05Using Claude to help, without letting it do your thinking
  6. 06From taxonomy to a first dataset
  7. 07Misconceptions and limits
  8. 08How this sets up the next lesson
  9. 09Summary

Sources & further reading

  • Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human PreferencesPaper · Shreya Shankar, J.D. Zamfirescu-Pereira, Björn Hartmann, Aditya G. Parameswaran, Ian Arawjo · 2024Introduces criteria drift: people need to grade outputs to discover their criteria. The empirical reason error analysis comes before rubric writing. Read the findings on criteria drift.
  • Demystifying evals for AI agentsLab research · Mikaela Grace, Jeremy Hadfield, Rodrigo Olivares, Jiri De Jonghe · Anthropic · 2026The section on building a first eval: 20–50 tasks from real failures, unambiguous tasks with reference solutions, balanced positive and negative cases, and clean environments.
  • How to read a title registerDocs · HM Land RegistryWhat the property, proprietorship and charges registers contain. You need this to judge whether a title-review trace missed something.
  • eve docs: Running evals (artifacts)Docs · VercelWhere eve writes per-eval artifacts and session events under .eve/evals/, which are the traces you'll read.
  • Claude Code docs: Manage sessionsDocs · AnthropicWhere Claude Code stores transcripts and the supported ways to get structured session data from scripts.
  • A Field Guide to Rapidly Improving AI ProductsArticle · Hamel Husain · 2025The clearest statement of bottom-up error analysis: write notes on bad behaviour, build a taxonomy, count. Read the sections on error analysis and on custom data viewers.
  • AI Evals: Everything You Need to KnowArticle · Hamel Husain, Shreya Shankar · 2026Answers on how many traces to review, when to stop (theoretical saturation), and how to sample production traces.
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.

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