potentialpaper

Selecting Tests for Generated Code: Failure Coverage and Transfer Limits

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Covering a surrogate test bank is not target-error coverage. OEA selects code with a fixed evidence budget, but no test order gives a distribution-free guarantee for natural failures.

Abstract. Test-time code generation is often improved by sampling several programs and selecting one that passes a limited set of tests. However, distinct test inputs can expose the same errors and miss failures specific to the target generator. We define certificate identifiability and distinguish identity-orthogonal evidence from mode-orthogonal evidence, which provides additional information about correctness. We then introduce transfer-aware Orthogonal Evidence Acquisition (OEA), which allocates a fixed test budget using naturally occurring proxy failures and structural support cases, and executes the selected evidence in fail-fast order. An impossibility result shows that complete coverage of a surrogate failure bank gives no distribution-free guarantee for natural target errors. We bound missed failure mass in terms of proxy coverage and distribution shift, and show why no ordering can detect failures unsupported by the test pool. On an official 96-task MBPP+ confirmation, support-hybrid budget-eight selection agrees with exhaustive-design candidate ranks on all 96 tasks while reducing online design calls by 83.8%. A prespecified ClassEval confirmation does not reproduce a holdout-only risk improvement. These results show that a small test subset can match exhaustive use of the design pool on MBPP+ under the frozen task-level protocol, but the benefit depends on which target errors the available tests can detect. The observed saving is an online design-call saving; it is not an end-to-end latency or compute claim. A support-matched failure-frequency baseline selects the same candidates with no greater online cost, so these results do not establish an additional benefit from proxy-mode diversification.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:02 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…