Skip to content
WeChat · AI Era (Xinzhiyuan)·Indexed by this site · Originally published· AI updates →SelectedAttention38

Nanjing University team proposes the TestPrism benchmark: Coding Agents collectively fail at writing tests, and the success rate is overestimated by a factor of two

Coding agent写测试集体失败!AI代码合格率被高估一倍

AI summary

The team of Liu Jiaheng at Nanjing University proposes the test generation benchmark TestPrism, showing that a single reference evaluation systematically overestimates the reliability of tests written by Coding Agents. The benchmark collects 300 test tasks and 3000 candidate implementations from 17 sources; each task is equipped with 1 reference implementation, 4 correct alternative implementations and 5 incorrect implementations, and the core metric JSF requires the test to fail on the original code, accept all correct implementations and reject all incorrect implementations. Among 14 Coding Agent configurations, the best-performing Claude Fable 5.1 has a single-reference success rate of 59.67% and a JSF of only 28.00%, while the JSF of DeepSeek V4 Pro and GLM 5.3 is only 13.33% and 11.33% respectively. The team summarizes 286 failure trajectories into 3 major categories and 7 error mechanisms, and proposes the TestHelix framework, which under the same inference budget raises the JSF of GPT 5.6 sol and Kimi K3 by 11.67 to 12.00 percentage points. The paper is at arXiv 2610.12289, and the data and code are open-sourced on GitHub.

Why it was selected

The paper uses a multi-implementation panel to reveal that a single reference evaluation overestimates test quality; teams that rely on agents writing their own tests for verification can refer to its inspection approach.

Read originalmp.weixin.qq.com