May 24, 2026
The Illusion of Passing Tests
Jason Tang
The illusion of passing tests is the false belief that visible test success is enough to justify deployment readiness at a security-critical trust boundary. In trustworthy software, generating code is no longer the bottleneck. The bottleneck has become verifying what the AI actually writes. Because complete formal specifications rarely exist in practice, we built a bounded deployment gate for narrow-waist components.
Treating specifications as executable oracles to constrain the LLM’s degrees of freedom, our spec-as-evaluator workflow evaluates candidate implementations in a strict accept/reject/review loop. On a frozen suite of 24 narrow-waist Python tasks, we observed pervasive visible-pass / hidden-fail behavior, catching semantic regressions that LLM coders introduce.
By triaging against both visible and hidden checks, the deployment gate reduced secure false accepts from 7 tasks to 1. Crucially, it also surfaced review boundaries: instances where passing automated checks did not resolve residual Trusted Computing Base (TCB) assumptions, requiring escalation to human review. We also document a fundamental limit of evaluation-only interventions: an executable oracle cannot rescue a task when the generator fails to produce a structurally sound candidate.
No reviews are available yet
Cite this work
@misc {
title={
(HckPrj) The Illusion of Passing Tests
},
author={
Jason Tang
},
date={
5/24/26
},
organization={Apart Research},
note={Research submission to the research sprint hosted by Apart.},
howpublished={https://apartresearch.com}
}


