How to evaluate an AI system before your business relies on it
Why vibe checks fail, how to build an evaluation set from real work, which measures matter for generative AI, when to use model graders, and how evaluation keeps running after launch.
Shyam Prabahar · · 5 min read

Most AI systems are approved on a feeling. Someone senior tries ten questions, the answers look sharp, and the project moves forward. Weeks later the system meets real inputs, and nobody can say whether a change made it better or worse, because nobody ever measured it.
Evaluation is the discipline that replaces that feeling with evidence. It decides what you launch, what you change, and when you stop trusting a system. It's also the part most teams skip.
Why vibe checks fail
Generative AI is variable. The same system can give an excellent answer to one phrasing and a poor answer to a slight rewording. A handful of hand-picked questions mostly tests the questions the builders already thought of.
Changes make it worse. A new prompt, a new model version or a new data source can fix one behaviour and quietly break three others. Without a fixed set of cases to rerun, those regressions surface as complaints.
Start with what good means
Before writing a single test, agree in plain language what a good output is for this job. For a support assistant, that might be: correct, uses only approved sources, follows the refund policy, hands over to a person when the customer is upset, and stays under a set length.
Turn each point into something you can check. Some checks are exact, such as "contains the correct order number" or "returns valid JSON". Others need judgement, such as "the tone is calm and specific". Knowing which is which shapes how you grade.
Build the evaluation set from real work
The best test cases come from the work itself: past tickets, real documents, recorded calls, actual forms. Synthetic examples are useful to fill gaps, but they tend to be cleaner than reality.
A strong set covers:
- The common cases, in proportion to how often they happen
- The hard cases: ambiguous requests, missing information, conflicting sources
- The risky cases: anything involving money, health, legal terms, personal data or angry customers
- The out-of-scope cases, where the right behaviour is to decline or hand over
Tip · Write the expected behaviour, not just the expected answer
For many tasks there's no single right wording. Record what a correct output must contain, must not contain, and when it should refuse. That makes grading consistent across reviewers.
Measure more than one thing
A single accuracy score hides the problems you most need to see. Track a small set of measures side by side:
| Measure | What it tells you |
|---|---|
| Task success | Did the output do the job, by the agreed definition? |
| Groundedness | Is every claim supported by the sources the system used? |
| Policy and safety | Did it stay within rules on data, tone, advice and escalation? |
| Appropriate refusal | When it shouldn't answer, does it decline or hand over? |
| Latency | Is it fast enough for the way people use it? |
| Cost per task | What does each run cost at expected volume? |
Splitting the measures tells you where to work. High task success with poor groundedness means the system is right for the wrong reasons, which won't last. Strong quality at an unworkable cost means the design needs to change, not the prompt.
How to grade at scale
There are three ways to grade, and mature teams use all three.
Code checks handle anything exact: formats, required fields, numbers that must match, banned phrases. They're cheap, fast and fully repeatable.
Model graders handle judgement at volume. A separate model scores outputs against a written rubric, for instance whether every sentence is supported by the cited passage. They're powerful, but they're instruments that need calibrating. Compare their scores with human ratings on a sample before you rely on them, and recheck whenever you change the grader.
Human review sets the standard and covers the highest-stakes cases. Domain experts should review a regular sample and every case the other graders flag as uncertain.
Watch out · Don't grade with the model you're testing
A model judging its own outputs tends to be generous to them. Use a different grader, and confirm it agrees with your experts.
Set the bar before you test
Decide the launch thresholds before you see results. For example: task success above an agreed level overall, near-perfect behaviour on the risky cases, and refusal working on every out-of-scope case. Setting the bar afterwards invites moving it.
Thresholds should reflect the cost of mistakes. A drafting tool that a person always reviews can launch earlier than a system that sends messages to customers on its own.
Evaluation after launch
Production is where you learn what your test set missed. Build the loop in from the start:
- Log inputs, outputs, sources used and grader scores for every run, within your data rules
- Give users a quick way to flag a bad output, and review those flags weekly
- Add the useful failures to the evaluation set, so each one becomes a permanent test
- Rerun the full set before every change to prompts, models, data or tools
- Watch for drift: falling scores, rising escalations or a change in the kinds of inputs arriving
Over time the evaluation set becomes one of the most valuable assets you own. It captures what your business means by "good" in a form any future model can be tested against. That's also what makes it safe to switch to a cheaper or better model later: you can prove the new one is at least as good on your work.
A starting checklist
- A written definition of good for the task, agreed with the business owner
- An evaluation set drawn from real work, covering common, hard, risky and out-of-scope cases
- Separate measures for outcome, quality, safety, latency and cost
- Code checks, calibrated model graders and expert review working together
- Launch thresholds set before testing
- Production logging, user feedback and a weekly review that feeds the set
Teams that evaluate this way ship faster, not slower, because every change comes with an answer to "is it better?"
Work with us
Private Models by Zaiphr Labs
Models fine-tuned exclusively on your data, evaluated against your own benchmarks and deployed in your cloud or on-premise.

Written by
Shyam Prabahar · Founder & CEO, Zaiphr Labs
Twelve years building and scaling products, including at a FAANG company, a world-leading premium automaker and a Fortune 500 multinational, and 350+ brands since. Now building private models, agents and platforms companies own.
Questions people ask
A fixed collection of real inputs, each paired with what a good output looks like or the rules a good output must follow. You run every version of the system against it, so you can compare changes on evidence rather than impressions.
Enough to cover the situations that matter, including the rare and risky ones. A few hundred well-chosen cases usually tell you more than thousands of random ones. Start smaller, then grow the set every time production shows you something new.
Yes, for criteria that are hard to check with code, such as whether an answer is supported by its sources or follows a tone guide. Treat the grader as an instrument: check it against human judgements on a sample, and keep humans reviewing the high-stakes cases.
When it meets thresholds you agreed before testing, on the measures tied to the business outcome and the risks, and when you have monitoring and a fallback for the cases it gets wrong. Decide the bar first, then test against it.
Keep reading
All insights →
AI for Business · 5 min read ·
Private model or API? How to decide when to train on your own data
When a general-purpose model API is enough, when a model fine-tuned on your own data earns its keep, and what a private-model project actually involves, from evaluation set to deployment in your cloud.

AI for Business · 4 min read ·
Choosing your first AI use case: a scorecard for leaders
How to pick the AI use case most likely to reach production and pay back: where to look, five questions to score each idea, the traps to avoid, and how to frame the business case.

AI for Business · 4 min read ·
RAG that doesn't make things up: building enterprise knowledge AI people trust
Why retrieval-augmented generation demos fail in production, the five layers that make enterprise knowledge AI accurate and permission-aware, and how to measure it before anyone relies on it.