scimeatlas

Research map / Large language models / Agents, code and math

Can LLMs Generate High-Quality Test Cases for Algorithm Problems? TestCase-Eval: A Systematic Evaluation of Fault Coverage and Exposure

Zheyuan Yang, Zexi Kuang, Xue Xia, Yilun Zhao

ACL 2025Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach18 citations (OpenAlex)

Tongji University · Northeastern University · Hong Kong University of Science and Technology · Yale University

Read the paperPlace an idea next to itCheck your own paper ↗

8measured effects
5improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Chain-of-thought prompting

use chain-of-thought prompting instead of direct output · TestCase-Eval · fault exposure Improved

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use reasoning models (Qwen3-32B) instead of general-purpose modelstest-case generation · Task 1 Fault CoverageCov@1: 50.8 vs 47.8 (Llama-3.1-70B), 45.3 (GPT-4.1)Improved
use Qwen3-32B instead of GPT-4.1test-case generation · Task 1 Fault CoverageCov@20: 80.0 -> 95.7Improved
use reasoning models (Qwen3-32B, R1-Distill-Qwen-32B)test-case generation · Task 2 Fault Exposurefault exposure rate: 43.8% and 41.6% vs 36.5% (GPT-4.1)Improved
use chain-of-thought prompting instead of direct output (ablation)LLM test-case generation · TestCase-Evalfault exposureImproved
compare model with human expertsbest model Qwen3-32B · Task 2 Fault Exposurefault exposure rate: 93.3% (human) vs 43.8%Hurt
target Python rather than C++/Java faulty solutionsLLMs · Task 2 Fault Exposurefault exposure rateImproved
target resource faults (TLE/MLE) instead of WA/RELLMs · Task 2 Fault Exposurefault exposure rate: e.g. Qwen3-32B WA 52.2 vs TLE 21.2Hurt
use proprietary instead of open-source modelstest-case generation · Task 1 / Task 2Cov@1, fault exposure: GPT-4.1 45.3 cov@1 vs Qwen3-32B 50.8No clear effect

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy