Journal of Robust Systems · Vol. 1 No. 1 (2026)
Original publication: October 13, 2026
Henry Turner — Lithuania; Mason Coleman — Iceland; Paul Lewis — Luxembourg
Executed CPU continuation scoring for a frozen small language model. Reference labels use a declared finite-test convention; no code was generated or preference-tuned.
One extra blank-line prefix changed a code-pair selection even though neither candidate changed. Using a fixed Pythia-14M checkpoint, we scored twenty-six QuixBugs pairs under three task-name-only layouts. Leading blank lines increased reference selections from sixteen to seventeen; a heading marker retained sixteen. Average shifts in the reference-minus-buggy likelihood margin were small, and both intervals included zero. The isolated flip occurred near a zero margin. This experiment supports reporting the scoring prefix and decision margin, while offering no population estimate of coding-assistant robustness.
Suppose two code candidates are already available and a language model is asked only to score their likelihood. No sampling is needed, no repair is generated, and the same source checkpoint can be used for every comparison. It may then seem that the candidate pair fully determines the result. In an autoregressive model, however, the continuation is conditioned on its prefix. Presentation choices can enter the comparison even when the program text is held fixed.
We ask whether changing the layout of a task-name-only prefix alters the evidence assigned to the same buggy and reference code pair. This is a deliberately small, reproducible experiment with a fourteen-million-parameter source model. The principal outcomes are the shift in the reference-minus-buggy mean negative-log-likelihood margin and any consequent change in the selected candidate. The selection rule remains fixed across layouts, avoiding a simultaneous change in both prompt and scoring normalization.
Pairwise preferences are central to the coding-assistant fine-tuning problem studied by Tao and Kamata, 2026. Our numerical selections are not those preferences and are not presented as an evaluation of its trained system. The connection is methodological: before using a pairwise score as an operational label, one should know whether seemingly incidental context affects its sign and how far the score lies from the decision boundary.
Research on contextual calibration Zhao et al., 2021 and few-shot prompt ordering Lu et al., 2021 shows why presentation deserves examination in language-model evaluation. Those studies concern different models and tasks, and we do not transfer their effect sizes to this experiment. Here there are no demonstrations to reorder and no calibrated answer options. The only intervention is a small alteration to the prefix surrounding the same task identifier.
The code pairs come from the acquired QuixBugs source snapshot Lin et al., 2017. We reuse the fifty-two normalized candidates previously recorded for twenty-six eligible program pairs. Eligibility requires the supplied reference implementation to pass all its captured JSON cases under the declared execution and comparison convention, while the buggy implementation has at least one nonpassing case. The fixed candidate file is hashed so that later scoring can be traced to precisely the same source text.
The inherited oracle convention materializes generator outputs, canonicalizes nested tuple and list containers, and compares numeric outputs with relative and absolute tolerances of one ten-billionth. Source functions were executed under a one-hundred-thousand-source-line bound during preparation of the candidate resource. This is stricter than an unchecked reference label, but it is not literal Python equality. We state the convention because different output-representation choices can otherwise change which reference candidates appear eligible.
Finite tests remain finite evidence. The oracle problem Barr et al., 2015 explains why matching captured expected outputs cannot certify universal program correctness, and expanded generated-code testing Liu et al., 2023 motivates retaining that boundary. The current study does not add hidden tests or execute model-written code. It uses the established pair labels to ask a distinct question about conditional scoring, with the source label convention held constant across all three prefixes.
The normalization removes inert bare-string expression notes and comments, then unparses the remaining abstract syntax tree and appends a terminal newline. Value-bearing string constants and executable syntax remain. This limits the risk that an explanatory note saying which implementation is correct becomes an accidental scoring cue. It also changes the empirical object: the model sees standardized source modules, not the original comments, full task specifications, or a developer's natural repository context.
Coding-model evaluations Chen et al., 2021 and crowd-sourced programming tasks Austin et al., 2021 provide broader context for the gap between program behavior and a textual score. They do not enlarge this sample or supply new reference labels. Likewise, direct preference optimization Rafailov et al., 2023 and learning from human feedback Ouyang et al., 2022 describe training approaches that were not run here. Our candidates were neither generated by the checkpoint nor selected by human judges for this experiment.
The baseline prefix is the text Python function, followed by the program name, a colon, and a newline. The second layout prepends two blank lines to that exact string. The third prepends a hash marker and a space. All three retain the same task-name words and introduce no behavioral specification, examples, test cases, or indication of which candidate is the reference. These layouts are concrete interventions, rather than random samples from a defined population of possible prompts.
The hash marker can suggest a comment or heading, and leading blank lines can alter the distributional context. We therefore describe the intervention as task-name layout, not a certified semantic-invariance transformation. The experiment cannot establish that every user or model interprets all three forms identically. What it controls is the task identifier, candidate source, checkpoint, scoring rule, and presence of additional task facts.
Tokenization requires its own control. Subword construction Sennrich et al., 2015 means a seemingly simple whitespace edit can change how the prefix and continuation meet. An initial trailing-blank-line variant failed our canonical prefix-boundary check before alternative model scores were inspected. It was replaced with leading blank lines. That technical deviation is recorded; the chosen layout was not selected because it produced a desired score change or candidate flip.
For all retained continuations, canonical full-string encoding begins with exactly the separately encoded prefix tokens. Decoding recovers the complete input string, candidate token counts are identical across the three layouts, and no sequence exceeds the checkpoint context bound. These checks use the retained tokenizer implementation Hugging Face contributors, 2025. They establish a common candidate-token denominator, preventing an observed margin shift from being explained by a changed number of scored candidate tokens.
We load the public Pythia-14M source checkpoint Biderman et al., 2023 with strict state matching and execute it in float32 evaluation mode on the CPU. The implementation uses the stored Transformers configuration Wolf et al., 2019 and PyTorch execution Paszke et al., 2019, with eager attention, disabled cache for the scored pass, and four computation threads. There is no remote generation service, paid model call, weight update, quantization intervention, or model-specific repair procedure.
Each candidate is appended to each of the three prefixes, yielding 156 continuation scores. The forward pass produces the full next-token vocabulary distribution, and cross-entropy is retained only for candidate tokens. Its mean is the candidate's score. The baseline scores reproduce the previously saved baseline within an absolute tolerance of two millionths. This is a check on the computational setup, not evidence of a repeated-run uncertainty distribution across model checkpoints.
For every program, we subtract the buggy candidate's mean score from the reference candidate's mean score. A negative margin selects the reference because lower negative log likelihood means higher average conditional likelihood. A zero margin would be recorded as a tie. We then subtract the baseline margin from each altered-layout margin. This paired construction uses the same program and candidate texts on both sides, isolating a prefix-conditioned change in the declared score.
Figure 1. Three prefix layouts condition the same frozen model and fixed candidate pairs; paired score-margin shifts and discrete selection transitions are summarized at the program level.
Model 1 estimates the mean margin shift for leading blank lines, while Model 2 estimates the shift for the heading marker. Both are intercept-only OLS summaries over twenty-six program pairs with HC3 standard errors White, 1980 and normal-reference intervals. The programs, not the 156 forward passes, define the observational units. Dependence-aware reasoning Cameron and Miller, 2015 matters because treating both versions and all layouts as unrelated observations would inflate the apparent sample size.
Figure 1 separates continuous margin changes from discrete selection changes. The latter are reported as finite counts, without a zero-width population interval when no flips occur. General calibration work Guo et al., 2017 and proper scoring-rule analysis Gneiting and Raftery, 2007 do not make this mean continuation score a calibrated probability of program correctness. Decision-theoretic treatment of errors Elkan, 2001 similarly requires a specified loss, which the simple lower-score choice does not obtain from developer preferences.
The baseline selects the reference in sixteen of twenty-six pairs, with mean reference-minus-buggy margin -0.013648. Leading blank lines select seventeen references, while the heading marker selects sixteen. No pair has an exactly zero margin under any layout. These are candidate selections under the declared rule, not pass rates for code generated by a language model. The reference and buggy source files existed before the scoring experiment.
The mean leading-blank-line shift is -0.002322, with standard error 0.002298 and interval -0.006826 to 0.002183. The heading-marker shift is -0.001534, with standard error 0.001769 and interval -0.005002 to 0.001933. Both estimated averages move toward the reference, but both intervals cross zero. An average improvement in reference selection or broad robustness benefit is therefore not established by these margin summaries.
Table 1. Paired changes in reference-minus-buggy mean continuation NLL. Negative coefficients mean the altered layout moves the score toward the reference relative to baseline. Each model contains an intercept only, N26 program pairs. HC3 standard errors and normal-reference intervals condition on this fixed checkpoint and candidate corpus; fit R-squared is zero for these mean-only summaries.
| Model | Term | Estimate (SE) | 95% CI | N |
|---|---|---|---|---|
| M1 | Mean outcome/contrast | -0.0023 (0.0023) | [-0.0068, 0.0022] | 26 |
| M1: fit | R-squared = 0.0000 | - | - | 26 |
| M2 | Mean outcome/contrast | -0.0015 (0.0018) | [-0.0050, 0.0019] | 26 |
| M2: fit | R-squared = 0.0000 | - | - | 26 |
Model labels: M1 = Leading blank lines minus baseline reference-vs-buggy mean-NLL margin; M2 = Heading marker minus baseline reference-vs-buggy mean-NLL margin.
The one leading-blank-line flip occurs for get_factors. Its baseline margin is 0.000340, narrowly selecting the buggy candidate; with leading blank lines the margin becomes -0.000611, selecting the reference. The heading-marker margin is 0.002734 and keeps the buggy selection. Thus the same altered form need not move every local decision in the same direction, and a small numerical shift can matter when the baseline margin is close to zero.
Individual margin shifts also span both signs. Leading-blank-line shifts range from -0.045054 to 0.011691, and heading-marker shifts from -0.039055 to 0.009184. The continuous score therefore changes even when a selection does not. Conversely, a single boundary crossing says little about the average magnitude across all pairs. Keeping both outcomes visible prevents either the mean or the flip count from becoming a complete description of prefix sensitivity.
The heading-marker condition produces no selection changes in this captured corpus. It would be incorrect to turn that finite observation into a guarantee that the model ignores heading syntax. The margin shifts directly contradict literal score invariance. It would also be incorrect to treat the small sample as a representative estimate for contemporary coding assistants, larger checkpoints, full specifications, or interactive repair conversations.
Uncertainty under changing inputs and distributions Ovadia et al., 2019 motivates broader validation, but the current evidence has only three hand-defined layouts and one checkpoint. It contains no random prompt generator or development set for choosing layouts. Selection-bias considerations Varma and Simon, 2006 are why we retain both planned contrasts, the boundary-check deviation, and the absence of a heading flip. We do not search additional spellings until a dramatic failure appears.
The two mean contrasts are exploratory descriptions rather than a multiplicity-adjusted collection of significance claims. Multiple-testing principles Benjamini and Hochberg, 1995 reinforce the importance of declaring the set of comparisons. The context-sensitive reading of statistical evidence encouraged by Wasserstein and Lazar, 2016 is especially appropriate here: intervals spanning zero do not establish equivalence, while one near-boundary decision change does not establish a pervasive failure mode.
If conditional model likelihood is used to filter or prioritize candidate pairs, the prefix should be retained with the label and its numerical margin. Otherwise a later user can reproduce the code and weights but still obtain a different sign. A robust data record should also identify normalization, candidate length, oracle convention, and whether the score represents a human judgment or merely an automated selection rule. Those distinctions determine what a downstream learner can legitimately treat as supervision.
Validation units must match the intended claim Roberts et al., 2017. A larger number of token losses from these same twenty-six programs would not provide more independent programs, and running the same checkpoint repeatedly would not sample different training histories. Measurement-error reasoning Carroll et al., 2006 likewise discourages treating a surrogate margin as the latent construct of developer preference. Establishing that construct would require a different design with relevant users, tasks, and comparative judgments.
Computational comparisons can change under apparently routine setup choices Mytkowicz et al., 2009, making a saved execution boundary valuable even when timing is not the endpoint. Benchmarking discipline Kalibera and Jones, 2013 supports recording the actual implementation and reproducibility checks rather than relying on a model name. Here the immutable candidate hash, exact prefix strings, source configuration, and per-candidate scores provide that record without promising bit-identical floating-point output on every future machine.
Documentation principles Gebru et al., 2021 and reusable research provenance Wilkinson et al., 2016 also matter at the label level. A pairwise dataset should preserve enough information to distinguish finite-test support from preference, likelihood from correctness, and presentation from task content. The present experiment demonstrates one local reason for that care. It does not resolve which prefix should be preferred, prescribe a robust training algorithm, or establish that automated likelihood labels should replace human feedback.
With fixed code and a fixed model, prefix layout still altered the continuous pairwise score, and leading blank lines changed one near-boundary selection. Most selections survived, and the two average margin-shift intervals included zero. The empirical lesson is to preserve conditioning context and decision margins when reporting automated code-pair labels, while keeping claims proportional to the single small checkpoint and finite candidate corpus actually examined.