Feedgarden

Browse

TestPrism: Rethinking Test Evaluation Beyond a Single Reference

https://arxiv.org/abs/2610.12289v1

Test generation by large language model coding agents has improved across many programming tasks, but the usual evaluation practice—checking generated tests against one reference solution—ignores other valid implementations and can overstate test quality. The authors present TestPrism, a benchmark assembled from 300 test tasks drawn from 17 sources, paired with 3000 candidate implementations split evenly between valid and invalid solutions.

TestPrism's primary metric is the Joint Success Function. A generated test suite must satisfy three conditions at once: it must fail on the initial program state, accept every valid candidate implementation, and reject every invalid one. Across fourteen baseline coding agent configurations, the Joint Success Function reaches only 28.00%, while the conventional single-reference success measure reaches 59.67%—a large gap showing how much the single-reference convention inflates apparent test quality.

Analysis of the failures points to distinct weaknesses: tests miss behaviors, make assertions the problem statement does not support, and are constructed incorrectly. To address these, the authors introduce TestHelix, which combines heterogeneous synthesis of test-and-repair pairs with peer cross validation and recursive self improvement (RSI). Across two models, TestHelix improves the Joint Success Function by 8.67 to 9.00 percentage points over the native harness comparators used in its evaluation, indicating that the joint criterion is a stricter but improvable target.

Search this site

The index loads when search opens.

    Image