Beyond Benchmarks: How Do We Measure Trust, Evidence, and Reliability in AI Coding Agents?

Beyond Benchmarks: How Do We Measure Trust, Evidence, and Reliability in AI Coding Agents?
By Neel Shah · November 12, 2026
Last time I argued that the real cost of an AI coding agent isn't $/token — it's the cost of getting a correct, tested, reviewable change. That raises a sharper question, and it's the one every team using agents eventually hits: when an agent says the task is done, how do you actually know it is?
The honest answer is that most of our measurements don't tell us. We lean on token counts, benchmark scores, and the agent's own summary of what it did — and none of those three measures whether the work is trustworthy. This post is about replacing "looks done" with "provably done": what counts as evidence, how evidence differs from claims, and how to build an evaluation framework around outcomes you can verify.
Why our current measurements don't measure quality
Three things we routinely treat as quality signals, and why each one isn't:
Token usage doesn't measure quality. It measures effort, and as the research from my last post showed, effort is wildly decoupled from outcome — the same task can vary 30× in tokens with no relationship to whether it succeeded. A cheap run can be correct; an expensive one can be garbage. Cost is a budgeting number, not a quality number.
Passing tests doesn't prove correctness — and in 2026 we have a stark demonstration of why. OpenAI stopped reporting SWE-bench Verified scores after auditing the hard tasks their model couldn't reliably solve: 59.4% had material test or description problems. 35.5% had "narrow" tests that reject functionally correct fixes for not matching an exact implementation; 18.8% had "wide" tests checking behavior the problem never specified. On top of that, they found training-data contamination — models passing tasks partly because they'd seen the answer. When the gold-standard benchmark's own tests are broken 59% of the time, "the tests pass" is clearly not the same statement as "the code is correct."
Agent-generated summaries aren't independent evidence. "I added input validation and wrote tests for the three edge cases" is a claim. It's generated by the same system whose work is in question, with the same fluency whether it's true or false. Trusting the agent's self-report to evaluate the agent is like grading a student from their own description of their exam.
So if tokens measure effort, benchmarks can be contaminated and broken, and summaries are self-reported — what's left to trust?
What actually counts as evidence
Evidence is a record of something that happened, produced by a system other than the one being evaluated. For a coding agent, the evidence trail is concrete:
- Tests executed and their results — not "I ran the tests," but the actual run, its output, and which assertions passed, captured by the test runner.
- Linting and type-checking — the linter and compiler are independent judges with no stake in the agent's claim.
- Build verification — did the thing actually compile and build in a clean environment?
- Tool execution records — the real log of commands the agent ran and what they returned, not its narration of them.
- Pull-request changes and review history — the diff itself, the CI status on it, and the human review trail.
This is exactly where the research is heading. A cluster of 2026 work treats the execution trace as the unit of agent trust — see the survey From Agent Traces to Trust: Evidence Tracing and Execution Provenance in LLM Agents. The thesis across that literature is simple: don't ask the agent what it did; read the provenance of what the system recorded it doing.
Evidence versus claims: the distinction that matters
Line up four versions of "the task is done" and you can see the trust gradient:
| Source | What it is | Trust |
|---|---|---|
| What the agent says it did | A claim, self-reported | Low — treat as a hypothesis |
| What telemetry records | The actual tool/command log | Medium — real, but the agent chose what to run |
| What CI independently verifies | Tests, lint, types, build on a clean runner | High — an independent witness |
| What human review confirms | Judgment about the diff and intent | Highest — the only step that reads meaning |
The jump that matters is from the agent's own run to independent CI. If the same agent writes the implementation and the tests and runs them, green checks only prove internal consistency with its own understanding — including its own misunderstanding. The moment those same tests run on a clean CI runner that the agent doesn't control, they become evidence. And the top row still can't be automated away: CI verifies that code does what the tests say; only a human verifies that the tests encode what you actually wanted. Tools like LEDGER's claim-to-evidence trace graphs exist precisely to map each agent claim to the recorded evidence that does — or doesn't — support it.
An evidence-based evaluation framework
Here's how I'd score an agent's work on a task — six dimensions, each backed by evidence rather than the agent's say-so:
- Task completion — does the change actually implement the requirement? (Measured against an acceptance checklist written before the agent ran, not inferred from its output.)
- Validation coverage — tests, lint, type-check, build: which ran, and did they pass on an independent runner? Partial coverage is a partial result.
- Evidence completeness — is there a trace for every claim? A change with no test output, no CI record, and no reviewable diff scores zero here regardless of how good it looks.
- Correctness — independently evaluated: does it do the right thing and avoid regressions? (The regression half is what agents most often miss.)
- Human intervention — how much correction did a person have to apply to make it mergeable? This is a direct, honest reliability signal.
- Total cost per verified change — the metric from last time:
(agent + verification + human review cost) ÷ changes that pass acceptance. Evidence makes the denominator meaningful.
The shift in mindset: you're not grading the agent's answer, you're grading the evidence package it leaves behind. An agent that produces a clean diff, a green independent CI run, and a readable change you can review in two minutes is more valuable than one that produces a more clever solution you can't verify — because the second one's cost lands on you.
Limitations: evidence can lie too
An evidence-based approach is a large improvement, not a guarantee. The failure modes to stay honest about:
- Missing telemetry. If the harness doesn't capture tool calls, test output, and CI status, you're back to trusting the summary. You can only evaluate what you record — instrument first.
- False confidence from passing tests. Green CI on a weak test suite is reassuring and wrong. Passing tests raise the probability of correctness; they don't prove it.
- Incomplete test coverage. The agent (or you) can write tests that avoid the hard cases. Coverage percentage is itself a claim worth checking — high coverage of trivial paths is theater.
- Tampered or untrusted evidence. Once evidence drives decisions, the evidence becomes a target. This is a real enough concern that 2026 research is already building for it — see NovaFabric: Tamper-Evident, Replayable Evidence for Autonomous AI Agent Runs. The practical version: your CI runner and provenance records need the same integrity guarantees as any other part of your supply chain.
None of these are reasons to go back to trusting the summary. They're reasons to treat your evidence pipeline as infrastructure that deserves its own scrutiny.
Takeaways
- Token counts, benchmark scores, and agent summaries don't measure trust. OpenAI dropped SWE-bench Verified after finding 59% of hard tasks had broken tests plus contamination — "passing" and "correct" are different claims.
- Evidence is a record of what happened, produced by something other than the agent: test runs, lint/types, build, tool logs, CI status, the diff and its review.
- There's a trust gradient from the agent's claim → its own run → independent CI → human review. The leap to independent CI is where self-report becomes evidence; provenance research treats the execution trace as the real unit of trust.
- Evaluate the evidence package, not the answer — across completion, validation coverage, evidence completeness, correctness, human intervention, and cost per verified change.
- Evidence has failure modes too — missing telemetry, weak tests, gamed coverage, and tampering. Instrument deliberately and treat the pipeline as infrastructure.
AI coding agents have earned a place in the workflow. What they haven't earned is blind trust — and the fix isn't to trust them less, it's to measure them with evidence instead of successful-looking responses. A diff is a claim. A verified change is a fact. Build your process to tell the difference.
Sources & further reading
- OpenAI — Why we no longer evaluate SWE-bench Verified (benchmark test flaws and contamination)
- From Agent Traces to Trust: Evidence Tracing and Execution Provenance in LLM Agents (survey)
- LEDGER: Claim-to-Evidence Trace Graphs for Auditing LLM Agents
- NovaFabric: Tamper-Evident, Replayable Evidence for Autonomous AI Agent Runs
- My earlier post — The Hidden Cost of AI Coding Agents (cost per verified change)
Neel Shah
Contract full-stack developer building e-commerce and SaaS products with Next.js, Node.js and MongoDB from Ahmedabad, India.
Work with me →Related posts
// contact
Working on something similar?
Happy to compare notes or help out — say hello.