When Does Verification Help Low-Data Code Learning? Target Quality and Transfer Across Four Studies
Executable tests can select training programs or supply binary labels, but success on a test does not quantify what a student learns. We study both uses in four low-data experiments spanning a synthetic rule-compilation task (V4 IG-96) and three Python benchmarks (MBPP+, HumanEval+, and BigCodeBench-SafeSci), across pure BF16 LoRA runs at 3B-14B scales and two model families (Qwen2.5 and StarCoder2). On MBPP+, weakly verified targets yielded a -0.74 percentage-point difference in all-pass accuracy relative to matched random code for a 7B model (95% CI [-3.03, +1.54], fixed predictions scored with a revised evaluator), tightly excluding gains >= +2 points. On a 191-task BigCodeBench subset, adding two selection tests improved held-out audit all-pass target quality by +1.97 points ([+0.35, +3.95]), yet this reflects a sharp dose collapse: 90.1% strong-support coverage masked a target-change rate of only 18/303 (5.94%) task-seed events (26/432 = 6.02% self-generated training rows), with a +33.3-point (6/18) net audit gain across the 18 replaced selections; the corresponding unseen student all-pass difference was +0.70 points ([-1.47, +2.85]). For a 3B student trained with auxiliary pass/fail verdicts, real versus shuffled feedback changed mean test-method error by -1.90 points ([-4.25, +0.31]), whereas a secondary comparison against zero auxiliary loss yielded -4.03 points ([-7.11, -1.11]; 97.5% percentile CI [-7.60, -0.74]). Across all four studies, pre-registered primary endpoints remain inconclusive, frozen base models remain competitive on all-pass accuracy while Strong-Fallback-Weak 7B exhibits a post-hoc paired error-rate reduction within the shared-failure subset relative to Frozen (-7.85 pts [-13.66, -2.50]; tasks still failing), and all-pass versus per-case error can invert recipe rankings. These results motivate reporting how often verification changes supervision, how it changes target quality, and how a separately evaluated student responds.
Authors
- Jingchao Zhu
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24732162
- Primary Topic
- Teaching and Learning Programming
- Type
- preprint