19Practices

Eval-driven development

Write evals first, run them on every change, and turn each reported failure into a test case.

Also called Continuous evaluation, EDD

Shankar et al., Anthropic, OpenAI, Eugene Yan, Hamel Husain

passesfailuresChangeCodeEvalsContextTest casesReleasePersonUsers
How to read this

The problem

Without evals, you fix what users report and cannot tell whether the fix broke something else.

Absent evals, debugging is reactive: wait for complaints, reproduce manually, fix the bug, and hope nothing else regressed.
AnthropicDemystifying evals for AI agentsJan 9, 2026
Addressing one failure mode led to the emergence of others, resembling a game of whack-a-mole.
Hamel HusainYour AI Product Needs EvalsMar 29, 2024

Therefore

Set up continuous evaluation (CE) to run evals on every change, monitor your app to identify new cases of nondeterminism, and grow the eval set over time.
OpenAIEvaluation best practices
Converting user-reported failures into test cases ensures your suite reflects actual usage; prioritizing by user impact helps you invest effort where it counts.
AnthropicDemystifying evals for AI agentsJan 9, 2026
First, write some evals; then, build systems that pass those evals.
Eugene YanAn LLM-as-Judge Won't Save The Product—Fixing Your Process Will

In use

Claude Code

Claude Code started with fast iteration based on feedback from Anthropic employees and external users. Later, we added evals—first for narrow areas like concision and file edits, and then for more complex behaviors like over-engineering.
AnthropicDemystifying evals for AI agentsJan 9, 2026

Where it breaks

A suite that always passes shows nothing to improve, criteria shift as people grade, and automated graders still need human oversight.

In particular, we identify a phenomenon we dub criteria drift: users need criteria to grade outputs, but grading outputs helps users define criteria.
Shankar et al.Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences
An eval at 100% tracks regressions but provides no signal for improvement.
AnthropicDemystifying evals for AI agentsJan 9, 2026
Human oversight is still needed even with automated evaluators (aka LLM-as-judge).
Eugene YanAn LLM-as-Judge Won't Save The Product—Fixing Your Process Will

Sources

  1. Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human PreferencesShreya Shankar, J.D. Zamfirescu-Pereira, Björn Hartmann, Aditya G. Parameswaran, Ian Arawjo, Shankar et al.
  2. Demystifying evals for AI agentsAnthropic, Jan 9, 2026
  3. Evaluation best practicesOpenAI
  4. An LLM-as-Judge Won't Save The Product—Fixing Your Process WillEugene Yan
    Eval-driven development (EDD) helps us build better AI products.
  5. Your AI Product Needs EvalsHamel Husain, Mar 29, 2024

Added Nov 14, 2026