Governance

How to Evaluate AI Quality Using Real Business Cases

A demonstration proves a system can work once. An evaluation set built from your own cases, including the awkward ones and those where stopping is the right answer, tells you whether it works often enough to release.

BYBO Editorial10 min read

FigureWhat belongs in an evaluation set
  • Everyday cases, in the mix you actually receive
  • Awkward ones: poor scans, mixed languages, missing fields
  • Cases where the right answer is to stop
  • A written expected outcome for every case
  • Every past failure, added after it was fixed
  • A held-back set the prompt writers never see
Contents
  1. In brief
  2. Why do demonstrations pass and real work fail?
  3. How do you build an evaluation set from real work?
  4. What is the right answer when stopping is the right answer?
  5. How do you score work that is not simply right or wrong?
  6. How do you know your reviewers agree?
  7. What is good enough to release, and when do you run it again?
  8. How do you stop test cases leaking, and protect the data in them?
  9. Where this has limits
  10. Questions
  11. Sources

In brief

  • An evaluation set is a fixed collection of real cases with the correct outcome written down for each one.
  • Include the awkward cases, and the cases where stopping to ask a person is the correct answer.
  • Score against a written rubric, weight by consequence, and check that two reviewers agree before trusting the number.
  • Re-run after every change, including model updates you did not ask for, and keep every result dated.

Why do demonstrations pass and real work fail?

A demonstration uses the file somebody chose. It is legible, complete and typical of nothing. Real work arrives as a photograph of a delivery challan taken at an angle in poor light, an enquiry that asks two questions in two languages, an invoice from a supplier who changed their layout last month, and the same purchase order sent twice because the first email bounced. A system that handles the chosen file beautifully can still be wrong again and again on a normal Tuesday.

An evaluation set closes that gap. It is a fixed collection of real cases with the correct outcome written down for each, run the same way every time, so that a change in the score means a change in the system rather than a change in which examples someone tried. It is the difference between believing a system is good and being able to show it, and it is the only honest basis for the decision to release.

How do you build an evaluation set from real work?

Take the cases from the work itself, over a period long enough to include a month-end and at least one quiet week. Do not write cases from imagination; you will invent the problems you already know about and miss the ones that actually happen.

  • Size: enough to show a pattern, few enough that a person can review the results in an afternoon. Forty to eighty cases per workflow is a workable start.
  • Mix by frequency: if two-thirds of your invoices come from ten suppliers, the set should look like that, or your score will describe work you rarely do.
  • Add the awkward ones deliberately: the poor scan, the message in three languages, the missing GSTIN, the duplicate, the supplier who changed their format, the customer who asks two things at once.
  • Include cases where the correct outcome is to refuse, escalate or ask a question.
  • Include a few cases from before the system existed, where you know how the business actually decided and why.
  • Freeze it and version it. A set that quietly changes between runs cannot tell you whether anything improved.

What is the right answer when stopping is the right answer?

Every case needs an expected outcome written before the system sees it. Otherwise the review becomes a discussion of whether the output looks reasonable, which it usually does. What the expected outcome contains depends on the kind of work:

  • Extraction: the exact values for each required field, and where in the document they came from.
  • An answer: the facts that must appear, the facts that must not, and the source it should be drawn from.
  • An action: what should change in the other system, and what should not change.
  • Stop and ask: the case is ambiguous, incomplete or outside the agreed limits, so the correct output is a question to a named person, with the reason.

That last category changes behaviour more than any other. If your set only rewards answers, you are training your reviewers and your suppliers to prefer a confident guess to an honest stop. Mark those cases clearly, and treat a system that answered them anyway as having failed, even when the answer happened to be right. Deciding where a workflow should pause is a design question in its own right, covered in designing the human decision into the workflow.

How do you score work that is not simply right or wrong?

Right and wrong is too blunt for most business work. An answer can be correct but missing a caveat, or correct with a small edit, or wrong in a way that would have cost money. A short rubric, agreed in advance and applied the same way by everyone, gives you a number you can compare between runs.

A five-level scoring rubric
ScoreWhat it meansWhat it triggers
CorrectRight result, right reason, right sourceNothing
Correct with an editRight result, small correction neededNote the pattern of edits
IncompleteA required field or caveat is missingFix the rule or the source
WrongWrong value, answer or actionBlocks the release
Wrong and confidentWrong, and it did not askBlocks the release, weighted highest

Weight the score by consequence rather than counting cases equally. A wrong pin code and a wrong bank account are not the same event. The NIST AI Risk Management Framework makes the same point in its own language: performance or assurance criteria should be measured and demonstrated for conditions similar to the setting the system will be deployed in, and the test sets and tools used should be documented.

How do you know your reviewers agree?

Two experienced people scoring the same case can reach different verdicts, particularly on the middle categories. If your quality figure depends on who happened to score the run, it cannot be compared with last month. So test the scorers before you trust the score: give two people the same twenty cases, independently, and compare.

Where they disagree, the rubric is unclear, not the reviewer. Rewrite the definition, add an example of each score, and run the twenty again. It is also worth involving someone who did not build the system. The NIST framework asks that internal experts who did not serve as front-line developers, or independent assessors, take part in regular assessments, with domain experts and users consulted as needed. In a smaller company, that can simply be the colleague who does the work every day rather than the person who wrote the instructions.

What is good enough to release, and when do you run it again?

Agree the pass level with the business owner before anyone sees the results, or the threshold will quietly become whatever the system scored. Express it in categories rather than a single average, because one number hides the failures that matter:

  • No wrong and confident results at all on anything that moves money, changes a master record or commits you to a customer.
  • An agreed, small number of incomplete results elsewhere, each with a route for a person to catch it.
  • A ceiling on the edit rate, since a system that is right but always edited is costing the reviewer more than it saves.
  • A floor on the stop-and-ask cases: they must be handled correctly, not answered anyway.

Then re-run the set after every change: a revised prompt, a new source, a new document type, a changed integration, and above all a new model version, including one your provider deploys without asking you. Re-run on a schedule as well, perhaps quarterly, even when nothing on your side changed, because suppliers, formats and customers change under you. Keep each result dated and tied to the version it describes. Evaluation, logs and cost visibility are the everyday work of running a system, which is what our Infrastructure & Governance practice sets up; if you are still deciding which workflow deserves a build, the AI Opportunity Blueprint is a paid diagnostic that maps the work and assesses readiness first.

How do you stop test cases leaking, and protect the data in them?

There is a quiet way to fool yourself. A case fails, someone pastes it into the system’s instructions as an example of how to handle that situation, and the next run passes. You have not taught the system to reason; you have told it the answer. Keep the examples inside the prompt separate from the cases you score, and hold back a portion of the set that the people writing instructions never see. When a failure teaches you something general, write the general rule and add a fresh, similar case to the set rather than the one you fixed.

Evaluation sets are made of real customer records, so treat them as such. Under India’s Digital Personal Data Protection Act, 2023, an organisation must protect personal data in its possession with reasonable security safeguards and erase it, unless a law requires retention, once it is reasonable to assume the purpose is no longer being served. The Digital Personal Data Protection Rules, 2025 describe those safeguards in practical terms: measures such as encryption, masking or tokens, control over who can reach the data, and visibility of access through logs, monitoring and review.

In practice that means a few habits. Keep the set inside systems you already control, not on a laptop or a personal drive. Mask what the test does not need, since a name and an account number rarely affect whether a total was read correctly. Keep the list of who can open it short, and note where the cases came from and when they should be removed. Where a case is too sensitive to copy, test against it in place.

Where this has limits

  • An evaluation set shows how a system behaves on the cases in it. It cannot prove the next unusual case will be handled well, so sampling and review continue after release.
  • Scores drift as the business changes. A set built around last year’s suppliers, products or questions slowly stops describing your work.
  • Some work has no single right answer, such as tone in a customer reply. There, judge against clear criteria and accept a range rather than pretending to be exact.
  • This is general information, not legal advice. Using real customer records for testing may carry obligations under data protection law and your own contracts.

Frequently asked questions

How many test cases do we need to evaluate an AI system?

Fewer than most people expect, if they are chosen well. Forty to eighty cases per workflow is a workable start: enough to show a pattern, few enough for a person to review the results in an afternoon. What matters more than volume is the mix. The set should match the work you actually receive and include the awkward cases and the ones where the right answer is to stop.

Can we use real customer data to test an AI system?

Often yes, with care. Keep the cases inside systems you already control, mask the details the test does not need, limit who can open the set and note when it should be removed. India’s data protection framework requires reasonable security safeguards and erasure once the purpose is served. Treat it as a legal question as well as a practical one and take advice on your own situation.

What accuracy should a business AI system reach before launch?

There is no universal figure, and a single average is the wrong shape of answer. Set the level by consequence: no confidently wrong results on anything that moves money or commits you to a customer, a small agreed number of incomplete results elsewhere, and correct handling of every case where the system should stop and ask. Agree it with the business owner before you see the results.

How often should we re-run the evaluation?

After every change: a revised prompt, a new source or document type, a changed connection, and any new model version, including one your provider rolls out without asking. Then on a schedule, perhaps quarterly, even when nothing changed on your side, because formats, suppliers and customer behaviour move. Keep each result dated and attached to the version it describes.

Who should score the results of an AI evaluation?

The people who do the work, not the person who wrote the instructions. Have two reviewers score the same twenty cases independently first; where they disagree, the rubric needs rewriting rather than the reviewer needing correcting. Keep the domain reviewer’s scores as the record, and let the builder see them rather than produce them.

Where BYBO fits

Sources

  1. Artificial Intelligence Risk Management Framework (AI RMF 1.0)National Institute of Standards and Technology (NIST)
  2. The Digital Personal Data Protection Act, 2023 (No. 22 of 2023)Ministry of Electronics and Information Technology, Government of India
  3. Digital Personal Data Protection Rules, 2025 (G.S.R. 846(E))Ministry of Electronics and Information Technology, Government of India

General information for business readers, not legal, financial or regulatory advice. Examples are illustrative, not client work. Published 11 September 2026.

Build a system you can explain.

See Infrastructure & Governance