Why a single passing agent test is mathematically meaningless
abenko83 · reddit · 2026-12-02
One green run of an AI agent test tells you almost nothing: the 95% Wilson lower bound on a 1/1 pass is just 20.7%, so a workflow failing 30% of the time still passes first-try 7 times out of 10.
Four production bugs a single green output hides
- Two orders, one intent: client-side timeout after server processed a write; the agent retries and silently duplicates the order
- 200 OK with empty []: a lookup tool swallows an upstream error; the agent treats "no error" as "done"
- Activity without progress: hours of tool calls with no change to goal state
- Silent reasoning exhaustion: the model burns its token budget and returns empty text (finishreason: "length"), looking like an outage
Proposed gates
- Blocker gates: write idempotency + read-back, explicit ok | empty | error | unknown tool statuses, Zod schemas — 100% deterministic passes on every PR
- Capability gates: multi-run sampling (N≥3–5) gated on the 95% Wilson lower bound
More from coding & agent
- Every trains a writing skill on 185 posts that beats standard Claude skills 85% of the time — every · 2026-12-02
- Agent trace eval guide: matching full-trace LLM reads at ~80% lower token cost — CShorten30 · 2026-12-02
- mdsvex 1.0 ships: full rewrite makes it a general-purpose markdown toolkit beyond Svelte — erhannah · 2026-12-02
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02