Manuscript Offprint

arXiv:2611.00707

Verification-Gated Redraw and Repair for Local Small Language Models: A Paired Evaluation

Fedir Rykhtik

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Executable checks can reject incorrect model-generated programs, but rejection alone does not determine whether fresh sampling or diagnostic repair is preferable. We present a controlled, resource-bounded conceptual replication and extension of established recovery policies: a single answer (N), one verification-triggered redraw (R), and one diagnostic repair (D), for Ornith 1.5 9B and Gemma 4 E4B served locally in nominal 4-bit MLX format. The frozen evaluation contains 72 tasks: 40 HumanEval+ problems, 16 SQL tasks and 16 shell tasks. Policies share initial responses and use only public checks for online decisions; every candidate is model-generated. Each task has one stochastic trajectory per model, so the study does not estimate variation across independent sampling blocks. Redraw increases observed final-test success from 51.4% to 59.7% for Ornith and from 55.6% to 62.5% for Gemma. Diagnostic repair reaches 52.8% and 63.9%, respectively. None of four internally prespecified paired contrasts is significant after Holm correction (minimum adjusted p=0.125p = 0.125). Public checks falsely accept 25 Ornith and 11 Gemma candidates, demonstrating that acceptance is not a correctness guarantee. A post-review audit of initial answers gives perfect-retry upper bounds of 76.4% and 87.5%, respectively: accepted initial errors cannot trigger recovery under the fixed gate. This one-block, resource-bounded study provides a finite-cohort experimental record, not policy equivalence, a general model ranking or universal reliability.

1 Introduction

Local small language models (SLMs) can generate executable solutions under explicit resource limits. A plausible program is not necessarily correct, and a public example set can accept a program that fails a held-out case. When a public verifier does reject a response, a recovery policy must decide whether to sample a fresh solution or ask the model to repair its rejected candidate.

We study two questions: does one verifier-triggered fresh sample improve selected-answer quality over a single response, and does diagnostic repair improve on that redraw? We distinguish the answer actually selected by a public policy from candidate availability, which uses a hidden oracle after collection. Only the former is deployable under the stated information boundary.

The contribution is a controlled, resource-bounded conceptual replication and extension of existing recovery comparisons [1, 6, 9, 11]. Here, conceptual replication means revisiting the same repair-versus-resampling question with newly collected responses and a different operational design, rather than reproducing the cited studies' exact protocols, models or numerical results. This does not assert that all benchmark tasks are disjoint from those earlier studies. Specifically, we provide a paired, internally prespecified comparison of fresh redraw and diagnostic repair with common requested decoding settings and output caps; extend the task scope to Python, SQL and shell on two local nominal 4-bit checkpoints; and report selected-answer outcomes, verifier errors and recorded costs together. Shared initial candidates and diagnostic/final test separation are established controls, not new algorithms. Our one-block design samples a single trajectory per task and cannot characterize run-to-run stability. Historical experiments and development tasks contribute no observations to the primary endpoint. The study is deliberately narrow and does not aim to rank SLMs generally. Figure 1 summarizes the observed policy differences; the protocol and task inventory appear in Appendices A–B.