AI evals are repeatable tests for AI products, and teams that skip them tend to learn about failures from customers. A new beginner’s guide to AI evals lays out a six-step method that needs no code: read real outputs, turn failures into pass or fail checks, build a fixed test set, check your graders, set a bar, and let the score decide what ships.
Why a demo isn’t a test
Most AI features ship on a demo. A few questions get typed in a meeting, the answers look fine, and everyone relaxes. Then customers arrive with ten thousand questions nobody tried.
Ordinary software gives the same answer each time, so a test checks one exact result. AI can answer the same question two ways, sometimes with one wrong in a costly way. So an eval runs many inputs and reports a pass rate, such as 92 of 100. A single success in a demo doesn’t count. GitHub gave a short definition when it launched its own eval tool on November 17, 2026: a repeatable test for AI behavior.
The cost of skipping evals is concrete. The team behind Fin, Intercom’s AI agent, describes a release that started promising things it couldn’t do, such as telling customers a refund had already been processed. An AI grader caught it and the release was blocked. A better version took about two months more work to ship.
Step 1: Read before you write
Start by reading at least 100 real outputs, one at a time, and write a sentence on what’s wrong with each. If nothing is, write “fine.” Researchers Hamel Husain and Shreya Shankar recommend reviewing at least 100 traces, where a trace is the complete record of one request. They also advise labeling at least 30 yourself before any AI tool suggests labels.
The key move is sorting those notes into a short list of failure types. For a tool that drafts customer emails, the notes might show two main problems: promising things the business can’t deliver, and inventing facts. A reply that runs too long is real but cheaper.
Rank each type by how often it appears times what it costs a customer. A weekly invented order number can outweigh ten wordy replies. Test only the top two or three failures first.
Step 2: Make every failure a yes or no question
Turn each failure type into a yes or no question, such as whether the reply promises anything outside the refund policy. Use pass or fail, never a 1 to 5 scale, because a middling 3 lets the grader hedge, and the ship decision is yes or no regardless.
Then pick the cheapest grader that can answer. Anthropic names three types: code-based, model-based and human.
- Use code when a rule can answer it, such as checking that every order number in a reply exists on the account.
- Use an AI judge for judgment calls, with the policy attached and one question per judge.
- Use a person for the hardest calls, at least at first.
Step 3: Build the fixed test set
The set of inputs you run every time is often called a golden set. Anthropic calls 20 to 50 simple tasks taken from real failures a solid start. Add normal requests, hard edge cases like angry customers, and slices for each type of request, since averages hide a broken slice.
A good case is one where two domain experts, working separately, would reach the same verdict. Record who labeled each case, who confirmed the label and which failure inspired it. Labels produced by an AI and never reviewed by a person only measure how much you agree with a model.
Step 4: Check the graders
An AI judge is a second AI and makes mistakes. Compare it with a person’s labels on the same cases and look at two numbers: how many real failures it catches, and how many good outputs it lets through. Plain agreement misleads: if 90% of outputs are good, a judge that approves everything matches people 90% of the time while catching no failures.
Husain and Shankar suggest labeling 100 to 200 examples per failure type, then splitting them: 10% to 20% as examples for the judge, 40% to 45% to tune its prompt, and the remaining 40% to 45% held back for one final test. Recheck often, since a grader can drift. In one case a classifier went from 89% on held-out data to 61% in real use within six weeks.
Step 5: Set the bar before you run
Decide the passing number in advance. Small samples are fuzzy. Suppose the rule is fewer than 5% bad outputs and 200 tests show 3% bad. The plausible range runs from about 0.6% up to 5.4%, so a pass can’t be claimed. With 400 samples it narrows to roughly 1.3% to 4.7%. Cutting uncertainty in half takes four times the samples.
For agents, one success isn’t enough. Pass@k asks whether at least one of k tries worked, while pass^k asks whether all of them did. An agent that works 75% of the time per try completes three consecutive tries only about 42% of the time. Sierra’s tau-bench test showed the same gap in 2024: the best agent passed fewer than half the tasks, and it fell to about 25% when the retail test required eight successes in a row.
Capability evals should start with a low pass rate, since they measure what the product can’t do yet. Regression evals guard what already works and should sit near 100%.
Step 6: Run the loop
The last step is to run the checks on every change and let the score decide what ships. A team that can name its failures, grade them cheaply and trust its judge has a number to point to instead of a feeling.
Source: falkster.com