AI evaluation and reliability

The benchmark I want is the work we actually do

How I design AI evaluations around realistic tasks, hard cases, measurable failure, and what happens after shipping.

A measurement bench with physical test samples and precision instruments for repeated trials.
AI-generated editorial illustration.

When I worked on getting Windows apps through testing and ready for the Store, the interesting stuff usually began after the happy path. What happens on another machine? What happens after the app has been running a while? Can I reproduce the failure with what the developer gave me? I bring a lot of that same mindset to AI. Give me one failure I can reproduce and I can start to fix something.

Name what a success looks like

“The assistant understood the issue” is difficult to grade. “It identified which release introduced the problem and linked to the evidence” is much easier. I start an evaluation by making the expected outcome observable. For an AI coding workflow, I want the original problem fixed, supported behavior preserved, and enough evidence for review. A persuasive explanation can be helpful once those conditions are met.

I would score the components as well as the finish. Did the assistant search the correct repository? Did it inspect the right revision? Did its test reproduce the failure? A final pass rate tells me whether the workflow worked. Component measurements give me a place to go looking when it did not. They also show where better tooling would help more than swapping the language model.

Public benchmarks still help. METR’s task time horizon gives a way to talk about completion across different task lengths on a defined set of tasks. I use that kind of result to form a question about my environment. If I hand the system a twenty-minute task with two flaky tools and an ambiguous issue, will it know when to ask for clarification and will I be able to see what it verified?

Build a set you can learn from

I like a small set of examples that reviewers know well. Bring in routine work, errors we have seen before, and cases that can produce an expensive mistake. Keep some untouched while you tune the system. If every hard example is used to refine the prompt, a rising score might tell you the prompt is getting better at those examples. I want to see what happens on work the team has held back.

For wildlife detection, I would separate fresh footage by site, session, and conditions where possible. For market forecasting, I would split on time and preserve the information available when the forecast was made. For a document assistant, I would hold out versions and test what happens when the answer has changed. The split needs to resemble the variation the feature is going to encounter after release.

Pick a baseline a real person could choose. A person searching the documented policy, a heuristic that flags thermal motion, or a simple forecast built from recent information can make a fair comparison. Give both systems the same inputs and a consistent decision deadline. Then look at misses and review time alongside the aggregate score. That is where you find out if the upgrade helps.

Four kinds of evaluation cases A release decision is easier when the mix of test cases is visible.
  • Routine workKnown inputs that represent the tasks people do most often.
  • Known regressionsCases from real defects that should stay fixed.
  • High-impact edge casesExamples where a plausible wrong result could cause harm.
  • Abstention casesCases where missing evidence should lead to a handoff.

Find out what confidence means

A numerical confidence score sounds like a probability, so people often treat it that way. A calibrated system assigning 80 percent confidence to a large set of comparable predictions would be correct about 80 percent of the time on that set. Guo and colleagues showed calibration problems in modern neural networks and studied ways to improve them. In practice I would check calibration for the particular output and dataset we are using.

A language model saying “I am 80 percent sure” has a looser meaning. For a draft answer I would measure whether answers backed up by direct evidence are actually more reliable and whether the system can detect when evidence is missing. If I am going to route work using a score, I need to know the error rate at each threshold and how many cases are pushed to reviewers.

Take a thermal review queue as a hypothetical example. If the system catches nearly every event but also sends a reviewer 300 useless clips, something has gone wrong at the use-case level. I can vary the threshold, measure time per useful observation, and check that rarer wildlife still has a fair chance to get through. The trade-off belongs in the product decision where both costs are visible.

Watch real work after release

A test run gives me a dated snapshot. Once the feature is out, inputs change. The upstream service starts returning a new field, the traffic mix shifts, or a model version changes. Google’s SRE material on monitoring distributed systems is a good reminder to start with operator-visible signals. For AI, I would watch outcomes alongside errors and latency. A service can be fast and fully available while quietly doing worse work.

At Black Box Crypto, our MLTFT forecasting work makes the boundary between a produced model artifact and usable inference concrete. The useful question is whether a version can load and generate the expected outputs in the environment where they are needed. At a higher layer I care whether those outputs are fresh and how a later outcome compares. Those are independent signals and both need a place in the evaluation.

I like staged exposure because it makes comparisons concrete. Start with replay or silent observation. Keep the outputs available to people who can compare them against the existing workflow. If that holds up, try a limited release with a rollback path and an owner. I want to know who gets the alert if the system suddenly abstains on half its work and what they can do about it.

From offline tests to production feedback Examples of real failures can become durable tests for later releases.
  1. ReplayCheck representative work and reproducible failures offline.
  2. ObserveCompare outputs with the existing workflow under real traffic.
  3. ExposeRelease to a limited group with metrics and an owner.
  4. LearnInvestigate failures, update the test set, and review thresholds.

Make the decision reproducible

For a real release I would keep the version, the task set, the measurement definitions, and the reasons we accepted particular errors. A teammate should be able to refer back to that decision after the person who ran the evaluation is on vacation. If a standard changes, I want to be able to explain what we learned from production that caused us to change it.

This is part of the work I enjoy. Watching the system surprise you can be frustrating in the moment, but it is a chance to make the next revision better in a way you can demonstrate. I will take a modest improvement on a failure we can reproduce over a big score change that nobody on the team can explain.

Connect with me on LinkedIn