Results
Mean tasks solved, out of 26. Each setup ran the full suite four times. First round counts tasks that pass on the first try. Two rounds counts tasks solved by the end of the second round, after test feedback.
| Setup | Prompt contract | First round | Two rounds | Recovery |
|---|---|---|---|---|
| GLM-4.7-Flash base | original prompts | 0.50 (1.9%) | 4.50 (17.3%) | 16/102 (15.7%) |
| Luna reference | original prompts, hosted elsewhere | 6.25 (24.0%) | 16.75 (64.4%) | 42/79 (53.2%) |
| SFT v5 | fixed26-contract | 6.00 (23.1%) | 10.25 (39.4%) | 17/80 (21.2%) |
| Synth v1, epoch 50 | fixed26-contract-v2 | 9.50 (36.5%) | 12.00 (46.2%) | 10/66 (15.2%) |
| Execution-midband RL v1 | fixed26-contract-v2 | 8.25 (31.7%) | 13.00 (50.0%) | 19/71 (26.8%) |
| Execution-midband RL v2 | fixed26-contract-v2 | 10.50 (40.4%) | 14.50 (55.8%) | 16/62 (25.8%) |
| Phone Number, iter 14 | fixed26-contract-v2 | 11.25 (43.3%) | 15.25 (58.7%) | 16/59 (27.1%) |
| Generalized C++, iter 14 (selected cohort) | fixed26-contract-v2 | 11.75 (45.2%) | 16.00 (61.5%) | 17/57 (29.8%) |
Method
Execution checks both the exercise and the answer. Take the phone-number exercise. The verifier compiles each candidate against the required C++17 interface. It then runs twelve Boolean checks in four groups: valid input, formatting and rejection rules, boundary cases, and combined interface checks. The twelve outcomes become one reward:
R = (1/12) · Σ (2bₖ − 1), k = 1 … 12
All twelve passing gives +1. Ten passing gives +2/3. None passing gives −1. The verifier writes the twelve outcomes to the test log. The reward parser accepts them only when the harness's completion marker follows them. That marker carries a fresh random token for the run.
- Construct. Compiler errors and failing tests name the failure. The task builder turns each one into a repair exercise. It checks the exercise with a reference solution and faulty controls before use.
- Train. A whole-file supervised warm start, then GRPO: sample candidate programs, compile and test them, score the behaviour, and update a LoRA adapter on the relative rewards.
- Evaluate. Saved checkpoints run the 26 C++ tasks of Fixed26 through Aider, four trials each. That is 104 task-trial runs per setup, scored on first-round success and finish within two rounds.
Training record
The phone-number validation run, as recorded (Table 7).
| Setting | Recorded value |
|---|---|
| Base model and adaptation | GLM-4.7-Flash; LoRA rank 16, alpha 32 |
| Hardware | 8 × H100 80 GB; BF16; tensor parallel 4; expert parallel 8 |
| Rollout and batch | 8 prompts × 32 samples; global batch 256; 20 GRPO updates |
| Optimization | Learning rate 3 × 10⁻⁵; warmup fraction 0.1; KL coefficient 0.1 |
| Scored checkpoint | Phone Number adapter, iteration 14 |
Task-level outcomes
First-round successes out of four trials (Table 5).
| Task | Synth v1 | Phone Number |
|---|---|---|
| Phone Number | 1 / 4 | 4 / 4 |
| Parallel Letter Frequency | 0 / 4 | 3 / 4 |
| Gigasecond | 3 / 4 | 0 / 4 |
| Sublist | 3 / 4 | 1 / 4 |
- These are dev-suite evals. Prompt contracts differ between setups, so the comparisons mix model updates with changes to the eval setup.
- The Generalized C++ result uses a selected best-four cohort and has six training task IDs in common with Fixed26.
- Luna is a reference eval hosted elsewhere under its own setup.
- Task-level results include regressions as well as gains. The intervals above show the spread across this small suite.
Artifacts
Adapters, datasets, and eval archives, hosted under WootzappLab on Hugging Face. The repositories are private at the time of writing; Appendix B.3 of the study lists them.
- Phone-number validation adapter and run archive (model)
- Multi-task C++ adapter and selected evals (model)
- Supervised training dataset, Synth v1 (dataset)
- Checkpoint eval archive, Synth v1 (dataset)
Run manifests name the datasets, adapters, eval archives, and launch configs behind each experiment. The repository includes audit scripts that recompute the SFT v5 and Phone Number results.