WhoBuilt

How to Build Better AI Evals with Claude Code in 5 Steps

Aug 23, 2026· 54 min· 14K views·Watch on YouTube

Speakers

Peter Yang hosts AI evaluation experts Shreya Shankar and Hamel Husain, instructors of an AI eval course, to discuss building and using evals with Claude Code and other AI tools.

Separate top-down and bottom-up evals

Hamel says to start with real examples and error analysis so you can make your judgment explicit before writing evals. Top-down criteria come from understanding the task, such as whether podcast takeaways are actionable; bottom-up criteria emerge from reviewing outputs and noticing recurring problems. He cautions that Claude can help propose top-down criteria, but people need to discover bottom-up ones over time.

Review samples with an AI-built interface

Shreya demonstrates a five-step error discovery workflow: identify the data type, design a visual way to display it, build a review interface, select a diverse sample, then use an interactive feedback loop to develop rubric criteria. As she reviews generated articles, she flags issues such as negative contrasts and short fragments. The agent groups her notes, scans other samples for those patterns, and surfaces suggestions for her to check.

Turn discovered failures into measurable evals

Shreya explains that reviewed examples and annotations can become a rubric, with LLM judges checking specific criteria and the annotated dataset serving as a benchmark. She recommends reviewing enough examples to feel confident that the failure modes are covered. Hamel adds that separate subagents can evaluate different criteria, with results summarized in a spreadsheet for human review.

Combine automation with human review

Shreya and Hamel describe benchmarking automated eval tools against human-annotated data. The tools can catch clear issues, but they often miss product-specific failures that require judgment, such as a rental agent failing to respond usefully to a sales objection or using Markdown in text messages. Shreya says the tools’ best-case precision was 80% to 90%, so people should check both false positives and missed errors.

Use evals to improve products over time

Shreya says their course also covers productionizing evals, aligning teams on criteria, CI/CD, monitoring drift, and safety testing. She describes using evals in cost and accuracy improvement loops, including cases where students and consultants cut costs by up to 100 times compared with using Opus. Hamel and Shreya emphasize that reviewing product data helps teams define what good looks like.

Takeaways

  • Write down task-based criteria separately from failure patterns you discover by reviewing real outputs.
  • Use a purpose-built interface to review diverse samples and record feedback where it appears.
  • Turn recurring human feedback into rubric criteria, then benchmark judges against labeled examples.
  • Use separate evaluators for distinct criteria and inspect their results before acting on them.
  • Automated evals can speed up error discovery, but manually review data to catch product-specific failures and false positives.

Mentioned in this talk

Search inside this talk

What was claimed 9

  • feature
    Claude Code: Can help create top-down evals, but is very bad at generating bottom-up evals
    “Claude is very, very bad at coming up with bottom-up evals.”
    YouTube
    Unverified1 source· Talk
  • metric
    Hamel Husain: The AI eval course has taught over 4,500 students
    “I think they've taught over 4,500 students now.”
    YouTube
    Unverified1 source· Talk
  • uses
    “I'm going to start by invoking a Claude session.”
    YouTube
    Unverified1 source· Talk
  • feature
    Error Discovery skill: Reads a dataset, designs a visual encoding and review interface, selects samples, and iteratively turns human feedback into rubric criteria
    “Finally, it runs an interactive loop.”
    YouTube
    Unverified1 source· Talk
  • uses
    “I've been using Codex a lot more.”
    YouTube
    Unverified1 source· Talk
  • feature
    Codex: Supports mobile sessions, steering, model switching, artifact viewing, and coordination between threads
    “You can access all the same things: queue messages, steer, switch models, and see artifacts.”
    YouTube
    Unverified1 source· Talk
  • built
    “I’m the one who came up with this process.”
    YouTube
    Unverified1 source· Talk
  • feature
    automated eval tools: Can catch obvious problems but may miss issues requiring product judgment and taste
    “These automated tools all tend to miss the same thing: finding errors that aren’t obvious and require product judgment and taste.”
    YouTube
    Unverified1 source· Talk
  • metric
    automated eval tools: Best-case precision is 80% to 90%; 10% to 20% of identified errors may be false positives
    “The precision on these is 80% to 90% in the best case.”
    YouTube
    Unverified1 source· Talk

Related talks