Skip to main content

Before calling repair data useful, keep the missing pairs

A fictional comparison shows why a healthy-only average is not the planned study.

Updated 4 min readMarkdown
Before calling repair data useful, keep the missing pairs

A favorable subset can be true and still fail to answer your study question.

In a fictional repair study, feedback training appears to beat code-only training by 25 percentage points among the pairs with healthy outcomes. But the prespecified comparison includes every planned source cluster. Its possible difference ranges from minus 25 to 0 percentage points. The favorable subset and the planned study answer different questions.

This is a small, runnable worksheet, not a trained-model result. It contains two authored ledgers, four declared source clusters, two seed labels shared across those clusters, five cases and three arms. There are 60 arm slots across both ledgers. Those slots are not 60 independent observations.

The intended real experiment compares code-only repair supervision with the same targets plus authentic execution feedback. The untouched starting model is a descriptive baseline. It cannot substitute for the trained code-only control. At evaluation, all three models would receive the same broken candidate, public diagnostic and fixed revision allowance.

Our incomplete fictional ledger makes the weighting visible. Cluster A has two cases; each other cluster has one. Across the two seed labels, A contributes four paired wins, B contributes two paired losses and C contributes two ties. D has one unresolved attempted feedback outcome and one positively unstarted feedback slot; its control succeeds in both. Keeping only the eight healthy pairs gives two net wins divided by eight: 25 percentage points.

The planned endpoint weights source clusters equally. A contributes plus 1, B minus 1, C zero, and D a difference between minus 1 and 0. Averaging those four contributions gives minus 1/4 to 0. This is not a correction that can be applied to any score after seeing it. The source groups, weighting and outcome policy were fixed before the worksheet ran.

Unresolved is not another word for incorrect. The report retains K for a healthy accepted result, F for a healthy attributed non-success, U for an attempted but unresolved result, and Z for a positively unstarted slot. For the arithmetic bounds only, an unknown binary outcome can be either 0 or 1. Its recorded state never changes. The output preserves the base arm, every row, all failure reasons, healthy coverage and the different conditional denominator.

The other ledger has identical code-only and feedback outcomes. Its finite-ledger difference is exactly zero. That is a useful result the reporting path must permit. It does not establish population equivalence or prove that feedback can never help.

The worksheet also shows each cluster, each seed label and every leave-one-cluster-out result. Dropping the negative cluster can make the incomplete example look more favorable. That is an influence check, not permission to discard it. Shared seeds do not create extra independent source groups. The bounds and leave-one-cluster values are not confidence intervals, p-values or power estimates.

The accompanying evaluation card keeps untouched confirmation separate from development. The real study would need a meaningful-effect threshold and inference appropriate to source and seed dependence, fixed before unblinding. An interval clearing zero and a point estimate meeting that threshold are separate requirements. Poor coverage remains inconclusive.

Matching also needs evidence. Keep the same repair targets, examples, order policy, loss-bearing target tokens and updates. Report differing input lengths and observed compute separately. Equal text or padded sequence lengths alone do not establish equal tokenization, masks, attention work, GPU time or cost. Preserve judge controls, rights, performance guardrails and all acquisition, failed-attempt and cleanup costs before claiming practical value.

The downloadable evaluation card, source, fixture and saved output make these reporting choices inspectable. One local standard-library invocation passed fourteen authored controls; no model, tokenizer, GPU or provider was called. Actual sample-size and power planning remain pending. A useful next discussion starts with your model, the effect that would matter, and a confirmation plan capable of returning no gain.

Download the source, fixtures and retained output. Read the original Nodus article.

Statistical context: Agarwal et al., Dror et al., and Winkler et al.. Their work motivates attention to uncertainty and dependence; this worksheet does not implement a calibrated inference procedure.

About the author

No comments yet. Be the first to comment.