Incomplete Data and Inference · Vol. 1 No. 1 (2026)
Original publication: October 17, 2026
William Bennett — Czechia; Joseph Stone — Poland; Matthew Fisher — Hungary
Executed robustness study of public check functions and fixed artificial code mutations. A mutation surviving a finite check is not thereby a correct implementation.
Partial test access changes the evidence available to judge a code edit. Using 370 fixed literal mutations across 115 reference-passing HumanEval tasks, we removed approximately half the static assertion sites without changing the remaining setup or control flow. Retaining the first half reduced equal-task detection from 91.43% to 81.70%. Retaining alternating sites detected 82.82%, but its advantage over prefix retention was uncertain: 1.12 percentage points, with a working interval from -4.49 to 6.73. Assertion count alone therefore did not identify a reliably better partial suite, although removing sites clearly weakened detection in the specified experiment.
A coding assistant may be evaluated with only part of a program's test suite. Some assertions may be unavailable during development, expensive to run, or omitted from a public release. A candidate that completes the visible suite then has a different evidential status from a candidate completing the original suite. Treating those two outcomes as interchangeable can obscure the effect of incomplete observation on the measured quality of an edit.
We ask whether distributing retained assertion sites through a check function preserves more mutation detection than retaining an equally sized prefix. The question holds the code mutations fixed and changes the evidence used to inspect them. It does not ask which coding model generates better solutions, nor whether the particular mutation operator resembles the natural error distribution of any assistant.
Tao and Kamata, 2026 study teaching coding assistants what to change using pairwise preferences. A preference between edits requires some basis for judging their behavior. Our contribution concerns the incompleteness of one such basis: finite program checks. We neither reproduce the preference-training procedure nor assume its judgments were constructed from the partial suites considered here. The connection is the reliability of evidence used to distinguish candidate edits.
The code-evaluation setting in Chen et al., 2021 and the broader task collection in Austin et al., 2021 establish why finite executable checks are useful. Liu et al., 2023 also illustrates that the amount of testing can alter what an evaluation detects. Those benchmarks do not make a passing label a proof of general correctness. The oracle problem discussed in Barr et al., 2015 remains separate from how many assertions happen to be visible.
Mutation testing deliberately changes programs to probe tests. DeMillo et al., 1978 introduced a foundational perspective on small program perturbations, and Jia and Harman, 2011 review the resulting testing literature. We use a restricted numeric-literal mutation family because its implementation and execution history are fully retained. The analysis estimates detection within that finite family, not the prevalence of real software defects.
The mutation set is shared explicitly with the earlier full-suite study in this project. It contains single changes between numeric zero and one inside the entry function body, preserving integer or floating-point type. Boolean constants, signature defaults, and constants outside the entry body are excluded. Reusing a fixed set is appropriate for comparing test availability, but it does not create an independent replication of the original mutation experiment.
The source HumanEval collection contains 164 tasks. One task with a dynamic evaluation call was statically excluded before the earlier execution; three original references exceeded the declared line-event bound. Of the 160 references whose original checks completed, 115 had eligible mutation sites, producing 370 variants. This eligibility reflects reference execution and syntax, not whether a partial suite gave a favorable result.
All 115 original references also completed both reduced checks used here. That check is important because omission should not silently create a malformed suite that rejects its reference implementation. It does not establish semantic perfection of every reference or show that the omitted assertions were redundant. It confirms that the two constructed partial suites remain executable for the retained source references under our execution convention.
For each task, we locate static assertion statements inside its check function and order them by source line and column. If there are m sites, both policies retain the ceiling of m divided by two. Prefix retention keeps the first such sites. Spread retention keeps source positions zero, two, four, and so forth. Selection uses source order only; neither policy sees which mutants a site would detect.
Across the 115 tasks there are 905 assertion sites, of which each policy retains 485. Rounding explains why this is slightly more than half the total. The policies have identical menus in two tasks. All those tasks remain in the analysis. Excluding them would exaggerate the opportunity for menu choice to matter and would change the declared population of eligible source tasks.
A static site is not a dynamic test case. One assertion inside a loop can check many generated values; several adjacent assertions can repeat nearly the same input. Retaining half the sites therefore does not imply retaining half the candidate calls, runtime, behavioral coverage, or information. Source complexity measures such as McCabe, 1976 likewise describe program structure rather than directly measure the usefulness of every check.
Prioritization in Rothermel et al., 2001 and cost-aware ordering in Elbaum et al., 2001 concern how to obtain testing evidence efficiently. Jain et al., 2024 addresses a broader code-evaluation setting through LiveCodeBench; it is not the task source here. Our two menus depend only on assertion positions in fixed HumanEval checks. They use no historical fault coverage or learned utility, so the measured detection differences concern that transparent omission rule rather than a new coding benchmark or an optimized test-prioritization method.
Removed assertions are replaced by no-operation statements through Python's abstract syntax tree. Imports, assignments, loops, function definitions, and other setup remain. The parsing and tree operations follow the documented interfaces in Python Software Foundation, 2026a. This method avoids deleting an entire loop or branch merely because its body contains an omitted assertion.
We execute each mutant with each partial suite in a fresh namespace, reset the same pseudorandom seed, and discard incidental printed output. Candidate and suite execution share a bound of 200,000 traced Python source-line events, using the tracing interface in Python Software Foundation, 2026b. An exception or bound event counts as detected under this operational rule. A bound event is not a proof that the underlying computation would never terminate.
Assertions can evaluate expressions with side effects. Their removal can consequently affect subsequent state as well as remove a behavioral comparison. We do not assume a universal monotonicity theorem saying that every omitted assertion can only reduce detection. In the executed records, neither reduced policy detected a mutant that passed the full check. That observed property is retained as a diagnostic rather than generalized beyond these source programs.
The source full-suite statuses are taken from the saved execution of the identical fixed mutants. Partial statuses are newly executed. The analysis retains all 370 variants in both partial conditions, including variants that previously raised exceptions. Bug classifications such as Herzig et al., 2013 provide a richer description of real failures than this one-operator experiment, so we avoid claiming that the tested variants cover the complete error vocabulary of practical coding work.
For each task and policy, detection is the fraction of its eligible mutants that do not complete the check. We first compute the prefix-minus-full difference within task. We also compute spread-minus-prefix within task. The task then contributes one row to each mean regression, irrespective of whether it supplies one mutant or many.
Both regressions use HC3 covariance and a t reference with 114 residual degrees of freedom. White, 1980 motivates heteroskedasticity-robust uncertainty, while Carroll et al., 2006 helps distinguish measured detection from latent semantic correctness. The estimand is an equal-task detection contrast. It is not an equal-mutant mean, a percentage of faulty production programs, or a probability that a passing edit is correct.
Little and Rubin, 2002 provides useful missing-data terminology, but the omitted assertions here are chosen deterministically. We do not label their absence random, impute what they would have observed, or invoke a missing-at-random identification assumption. Their complete outcomes are available from the source full check precisely because omission is an imposed robustness experiment.
The regression models contain only an intercept and report zero R-squared by construction. N is 115 tasks. Shared templates and the narrow mutation family may make those tasks less independent than a population sampling model would require. Thus the reported intervals are conditional working descriptions, with no assurance that they cover a future code benchmark or a different mutation distribution.
Figure 1. Assertion-site omission changes observed checking evidence while keeping the source mutation menu fixed. Static site count is not an execution-time budget.
Full checks detected 333 of the 370 variants. Prefix-half checks detected 301, and spread-half checks detected 306. These pooled counts are useful for inspecting actual executions but do not determine the equal-task regression means, because tasks contribute different numbers of mutations.
The equal-task full-check detection fraction was 0.914303. Prefix retention reduced it to 0.817001, a difference of -0.097302. Its working interval was -0.139414 to -0.055189. Under this constructed omission, the loss of observed checking evidence was therefore substantial on the stated task-average scale.
Spread retention yielded an equal-task detection fraction of 0.828182. Its advantage over prefix retention was 0.011180, with a standard error of 0.028323 and an interval from -0.044927 to 0.067287. The point estimate favors spreading, but the interval accommodates both a disadvantage and a materially larger advantage. It does not support declaring one position-only rule generally preferable.
Table 1. Paired differences in mutation-detection fractions. N counts tasks; intercept-only OLS, HC3 standard errors, t114 intervals. Equal task weights, no controls or fixed effects. Detection includes assertion failures, other exceptions, and bounded-execution noncompletion.
| Model | Term | Estimate (SE) | 95% CI | N |
|---|---|---|---|---|
| M1 | Mean outcome/contrast | -0.097302 (0.021258) | [-0.139414, -0.055189] | 115 |
| M1: fit | R-squared = 0.0000 | - | - | 115 |
| M2 | Mean outcome/contrast | 0.011180 (0.028323) | [-0.044927, 0.067287] | 115 |
| M2: fit | R-squared = 0.0000 | - | - | 115 |
Model labels: M1 = Prefix-half minus full check detection; M2 = Spread-half minus prefix-half detection.
The two results should not be collapsed into the statement that all partial suites are equally informative. Prefix omission clearly reduced detection in the chosen experiment. The uncertain spread-versus-prefix contrast instead says that equal static site counts and dispersed positions did not provide strong evidence of recovery. The design separates having less evidence from deciding where that evidence should come from.
The spread policy can reach assertions near the end of a check function, but a later source line need not represent a new behavioral category. A suite author might group related cases together, alternate cases deliberately, or put most variation inside one loop. Conversely, the prefix could contain broad checks followed by narrow special cases. The policies have no semantic model of those conventions. Their equal site budgets therefore control a visible structural quantity while leaving the distribution of exercised behaviors uncontrolled.
The small and uncertain difference is informative in that limited sense. It provides no evidence that a simple spacing rule reliably substitutes for understanding the tests. It also does not establish that test content is irrelevant: content was not randomized or held identical between the two menus. A future content-aware comparison would need an explicit way to describe behavioral categories and would have to keep coverage information used for selection separate from outcomes used for evaluation.
These distinctions matter for a partially visible development workflow. The developer may know that five assertions remain while having little idea whether they inspect five distinct boundaries or repeat one ordinary case. Reporting the visible source count is useful for reproducibility, but interpreting it as complete checking strength requires evidence beyond the count. The present design quantifies one consequence of that gap without filling it with unobserved semantic judgments.
The testing evidence can be relevant to several assistant designs without evaluating those systems directly. Rafailov et al., 2023 concerns preference optimization, and Ouyang et al., 2022 studies learning from human feedback. Shinn et al., 2023 investigates iterative improvement through verbal feedback, while Yao et al., 2022 interleaves reasoning and action. A partial executable check could inform such processes, but our experiment measures neither their learned behavior nor a human's preference for a surviving mutation.
Schick et al., 2023 studies learning to use tools, which further distinguishes tool access from reliable interpretation of tool outputs. A checker returning success under omitted assertions provides a bounded observation about that checker. It does not automatically support an unqualified success label for a larger reasoning chain. Preference records should preserve the visible test policy when that policy materially changes what was observed.
Code-review research in Bacchelli and Bird, 2013 concerns human judgments and collaborative practice, not just executable assertions. Kitchenham et al., 2002 motivates systematic empirical reporting in software engineering. Together, these sources explain why the present narrow result should complement broader evidence about edits rather than replace it. A task description, a review, and an executable check can answer different parts of the correctness question.
Some surviving mutations may be semantically equivalent or affect unreachable paths. We have not adjudicated that distinction for every variant, so reduced detection is not equated with a measured false-acceptance rate. The experiment also omits possible changes to strings, operators, types, control structure, and external state. Those families could produce different relationships between assertion positions and usefulness.
Leakage concerns in Kapoor and Narayanan, 2023 motivate keeping full-suite outcomes out of menu construction. The two policies satisfy that boundary, but they remain analyst-specified synthetic omissions. Influence reasoning from Cook, 1977 supports retaining task-level rows, including extreme losses, rather than suppressing them. Wasserstein and Lazar, 2016 cautions against calling the uncertain menu contrast equivalent to zero merely because its interval spans zero.
Detection fractions require an explicit measurement definition, as emphasized by Stevens, 1946. The production-failure and tracing setting of Yan, 2026 offers a related distinction between recording an event and establishing a diagnosis. Our partial checks record bounded assertion outcomes for fixed variants; they do not observe interservice propagation or identify root causes. Documentation in Gebru et al., 2021 retains the mutation sites, assertion menus, source bounds, reference statuses, and task summaries needed to interpret that narrower signal. A reproducible pass remains evidence about the retained checks, rather than certification of semantic correctness.
Removing roughly half the assertion sites weakened detection within a fixed public mutation experiment. Dispersing the retained sites produced a small average gain over a prefix, with substantial uncertainty. The practical lesson is to record which checks were visible when an edit was judged and to avoid reading a site budget as a complete measure of checking strength. Claims about coding-assistant improvement still require evidence about the assistant itself, beyond the robustness of the finite checks examined here.