Vibeleaderboard
← All Intel
Intel / post

Start Evals Dirty: Five Examples Beat Waiting for a Perfect Harness

Source
x.com
Publisher
Andrew Ng
Date
Andrew Ng@AndrewYNg

I’ve noticed that many GenAI application projects put in automated evaluations (evals) of the system’s output probably later — and rely on humans to judge outputs longer — than they should. This is because building evals is viewed as a massive investment (say, creating 100 or 1,000 examples, and designing and validating metrics) and there’s never a convenient moment to put in that up-front cost. Instead, I encourage teams to think of building evals as an iterative process. It’s okay to start with a quick-and-dirty implementation (say, 5 examples with unoptimized metrics) and then iterate and improve over time. This allows you to gradually shift the burden of evaluations away from humans and toward automated evals. I wrote previously in The Batch about the importance and difficulty of creating evals. Say you’re building a customer-service chatbot that responds to users in free text. There’s no single right answer, so many teams end up having humans pore over dozens of example outputs with every update to judge if it improved the system. While techniques like LLM-as-judge are helpful, the details of getting this to work well (such as what prompt to use, what context to give the…

Read the full post on X

Context

Automated evaluations, or , are tests that score an AI system’s output so a team does not have to judge every change by hand. In an April 2025 letter, Andrew Ng argues that many generative AI projects probably add them later than they should, because a proper eval looks like a large up-front job: creating 100 or 1,000 examples and designing and validating metrics. His alternative is to start with something rough, such as 5 examples with unoptimized metrics, and improve it over time while people keep reviewing outputs alongside it.

A rough eval can also measure less than everything. In his customer-service example, an that should both call an to issue a refund and write a suitable message to the user could at first be checked only on whether it calls the API correctly. Ng’s condition is that a partial measure like this should correlate with overall performance. Examples can be added as the project grows, or dropped when they prove too easy or too hard to tell versions of the system apart.

What keeps a quick eval from misleading the team is that the eval itself is tested against human judgment. Ng’s criteria compare two versions of a system: if a skilled human judge finds one significantly better, the eval should give it a significantly higher score, and if the two perform similarly, their scores should be similar. When a pair of versions breaks that rule, he treats it as an error in the eval and adjusts it, in the same spirit as error analysis on a machine learning . Development then runs as two loops, one improving the system and one bringing the eval closer to human judgment. The letter, also published in The Batch issue 297, is advice from his experience rather than a measured study.

Terms in this piece · Glossary
  • eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Andrew Ng
Recommended reads