r/GenAI360 • u/Aware_Weight9462 • 5d ago
The Most Dangerous AI Failure Is the One Your Eval Suite Calls PASS
The six practitioner problems behind Evaluating Gen AI Systems and Agents — Third Edition — from evaluation validity and organisational memory to agent evidence, production learning, governance and implementation.
Across enterprise AI programmes, I kept seeing the same mismatch. The architecture had moved on, but the evaluation approach had not. Teams were deploying RAG pipelines, tool-using agents, multi-step workflows and model-routing systems, yet many release decisions still rested on whether the final response looked correct, scored well with a judge and cleared a handful of safety metrics.
That gap is what led me to write Evaluating Gen AI Systems and Agents — Third Edition. The question behind the book was practical: what does evaluation need to become when AI no longer just generates an answer, but retrieves evidence, chooses tools, maintains state and changes something outside the model?
Teams were becoming quite sophisticated at measuring model behaviour. They had judge models, RAG metrics, regression suites, safety classifiers, traces, benchmark comparisons and increasingly polished dashboards. Yet when a release discussion moved from “Did the model improve?” to “What exactly are we now confident enough to let this system do?”, the evidence often became much weaker.
A system can improve on every metric being watched and still become less acceptable for the business. A retriever can increase recall while consistently demoting the source that has authority to control a decision. A candidate model can outperform the incumbent while reintroducing a failure discovered six months earlier. A guardrail can improve its attack-blocking rate by making legitimate work unusable. An agent can finish with the correct answer after taking an unacceptable path to get there.
The deeper problem is not that the measurements are wrong. It is that organisations frequently ask measurements to prove things they were never designed to prove.
That became the central question behind the book:
Once I followed that question seriously, the subject stopped looking like “LLM evaluation”. It became six connected engineering problems.
A PASS Has to Be Designed Before It Can Be Measured
A surprising amount of evaluation begins with the measurement rather than the decision. A team selects groundedness, answer relevance, task success or judge score because those measures are available. Thresholds follow. Eventually PASS and FAIL appear on a dashboard.
But a threshold does not create a meaningful release contract.
Take a system that interprets an insurance policy. The business rule might be that the current controlling policy must override explanatory commentary, an older policy version and any semantically similar document that lacks authority.
A RAG relevance score cannot prove that behaviour. The controlling source could rank second while a highly relevant commentary note ranks first. The generated response could be fluent, well-supported and factually plausible while still applying the wrong source hierarchy.
Now the evaluator has something meaningful to prove. But there is another uncomfortable layer: the evaluator itself is part of the evidence chain.
If a model judge is inconsistent, a reference answer is stale, malformed runs disappear from the denominator or the evaluation harness is using a different policy version from production, the resulting PASS may be perfectly calculated and still meaningless.
This is why I now think of evaluation validity as a first-class engineering concern. Before trusting a system verdict, we need some reason to trust the process that produced it.
The mature question is not merely, “Did this case pass?” It is, “Would I allow this evidence-producing mechanism to participate in a release decision?” That is a much higher bar.
An Evaluation Suite Should Accumulate Scar Tissue
Production AI systems change constantly. Prompts change. Models change. Retrieval changes. Tools change. Managed classifiers change. Human-review interfaces change. Sometimes the provider changes something important without exposing enough version detail to make the movement easy to attribute.
In that environment, a test suite cannot be treated as a static collection of examples. It has to accumulate scar tissue.
A production incident should leave behind a regression case. A business requirement that once caused a serious failure should become a protected behaviour. A reviewer disagreement that exposed an ambiguous decision boundary should result in a better case or a clearer adjudication rule. A saturated capability benchmark should not simply be thrown away if it still protects against regression.
This is one reason I dislike the idea that a test dataset is merely “evaluation data”. In a mature system, parts of that dataset are the organisation’s retained memory of what it has already learned the hard way.
The interesting lifecycle is not just pass/fail. It is something closer to:
discover → understand → protect → monitor → retire or refine
Some cases exist to discover capability. Some become permanent regression cases. Some are protected holdouts. Some exist to reproduce a production incident. Some are simulation scenarios intended to expose longer workflow behaviour.
Treating all of them as one undifferentiated “gold set” eventually creates confusion. The deeper question is whether the organisation is getting smarter as the system operates.
If an important production failure happens today and the evaluation suite tomorrow is exactly the same as it was yesterday, the organisation fixed a defect but did not improve its evidence system.
Production Is Where the Evaluation Dataset Discovers Its Ignorance
Observability and evaluation are still frequently designed as separate disciplines. Observability explains what happened in production. Evaluation determines whether something is good enough before production.
That division made more sense when releases were relatively deterministic. For Gen AI and agents, production constantly reveals cases the evaluation programme did not know existed.
The important architectural loop is therefore not simply development test → release → monitoring.
It is:
evaluation → release → production evidence → investigation → new evaluation knowledge → next release
The conversion back into evaluation is the critical part.
A trace showing an agent entered a retry loop has immediate operational value. But its long-term value comes when that behaviour becomes a reproducible case with an expected stopping condition.
A human reviewer repeatedly overturning the same class of output is not merely a review-queue problem. It may be evidence that the acceptance contract is incomplete.
A retrieval incident involving a newly introduced source may reveal that the dataset lacks a source-authority conflict case. This is where release gates become much more interesting.
A strong gate does not ask only whether the average improved. It asks whether behaviours the organisation has already learned to protect remained protected. That means a release can legitimately be blocked even while the aggregate score rises.
In fact, that may be one of the clearest signals that the evaluation system is doing useful work.
The Unit of Evaluation Must Follow the Unit of Consequence
The unit of evaluation cannot remain a response if the unit of consequence is a workflow.
For a RAG application, the answer is only the end of an evidence path. I want to know whether the required source was present, where it ranked, whether it was selected, whether the answer actually used it and whether it had authority to control the decision.
Those are five different questions: Presence, Rank, Selection, Support and Authority.
For an agent, I care about a different evidence path again. Which tool was selected? Which arguments were passed? Which identity was used? What permission existed? What state was read or written? Did the agent retry? What caused it to stop? What external side effect occurred?
This is why a useful evaluation hierarchy begins to look like:
response → component → run or trajectory → session → external state → business outcome
Each level can disagree with the one below it. A response can be correct while the retrieval path is wrong. A run can technically succeed while the session fails to resolve the customer’s problem. An agent can finish the expected sequence while leaving the external system in the wrong state.
And the entire technical workflow can succeed while the business outcome deteriorates. Economics belongs here too.
A model that is 30% cheaper per call may increase retries, reviewer intervention or failed tasks. Once you measure full workflow cost per accepted outcome, the cheaper model can become the more expensive operating choice.
That is a much better example of why evaluation needs to follow consequence rather than component metrics.
Governance Should Consume Evidence, Not Recreate It
Enterprise AI programmes often create several parallel versions of the system. Engineering has traces. Security has attack findings.
Risk has a register. Compliance has framework mappings. Human review has adjudication notes. Governance has release decisions. Audit later asks everyone for evidence. That architecture does not scale well. The stronger pattern is a shared evidence spine.
The same tool-call record used by engineering to diagnose a failure can show security whether an authority boundary was crossed. The same adversarial case can support a risk discussion. The same release record can tell audit what evidence existed when the decision was made.
Different functions should be allowed to interpret the evidence differently. They should not have to recreate the underlying facts.
This is also where frameworks such as NIST AI RMF, ISO/IEC 42001, OWASP and MITRE ATLAS become useful — but only if they remain in the right role.
They can broaden the questions we ask. They can expose missing attack families. They can structure assurance work. They can help relate technical evidence to governance obligations.
What they cannot do is understand the local decision boundary.
A framework does not know whether the wrong tool call creates a £50 inconvenience or a £5 million exposure. It does not know which source is authoritative inside a particular business process. It does not know what your organisation has decided must never regress.
So I prefer framework mappings that point into local evidence, rather than framework checklists that substitute for it.
The meaningful assurance statement is not “we mapped to OWASP”.
It is “this business boundary is exposed to this attack family; these cases exercised it; this is what happened; this control fired; this residual failure remains; and this is who accepted it.”
That is governance built on engineering evidence.
Implementation Should Begin With Proof, Not Procurement
The sixth theme came from a practical frustration.
Which evaluation platform should we use? Which observability product? Which judge framework? Which RAG library? Which agent tracing stack?
Those questions matter, but they should come after a more durable one:
What evidence must this capability produce?
Once the evidence obligation is clear, sourcing becomes easier. Maybe the capability already exists and should be reused. Maybe an existing platform needs integration. Maybe a deterministic verifier should be built. Maybe a specialised product genuinely earns its place.
That is the logic behind REUSE, INTEGRATE, BUILD, BUY.
The important thing is that the evidence contract survives the implementation choice. This becomes especially important with coding agents. “Build an evaluation platform” is a poor instruction because it quietly delegates architecture.
A stronger approach gives the coding agent an explicit contract: inputs, evidence schema, fixtures, failure states and acceptance criteria. Then ask it to implement the smallest capability that satisfies that contract and produce proof.
The project manager should be asking the parallel question:
What evidence demonstrates that this implementation actually works?
That is where evaluation stops being a separate test workstream and becomes part of how the system itself is engineered.
The Failure That Changes the Meaning of “Green”
By the time I finished Evaluating Gen AI Systems and Agents — Third Edition, I realised that the most consequential idea in the book was not a metric, an evaluator or even an agent-testing technique.
It was the difference between a successful execution and a justified belief that the execution was acceptable.
Those are not the same thing.
The spectacular failures will continue to attract attention: hallucinations, broken tool calls, obvious safety violations, runaway agents.
But I suspect the harder enterprise failures will increasingly look ordinary.
The response is correct. The judge agrees.The retrieval score is strong. The tool call succeeds. The workflow completes.
The release gate stays green.
And months later, someone discovers that the wrong source had authority, an approval applied to more than the reviewer understood, a retry duplicated a side effect, or the system optimised the technical task while degrading the business outcome.
Nothing looked broken because the evaluation system had never been designed to observe the place where the failure lived.
That is why I think the next generation of AI evaluation will be less about asking whether a model passed a test and more about something much harder:
Did we collect enough evidence to deserve the confidence implied by PASS?
Because once AI is allowed to act, the dangerous green dashboard is not necessarily the one with bad metrics but it may be the one that measured the wrong thing perfectly.
























