7b-code-model-fine-tuned-competitive-programming-tasks-training-emit-fixed-schema CLM-0195
observationsingle paperReviewed by AI

For a 7B code model fine-tuned on competitive-programming tasks, training it to emit a fixed-schema requirement specification (goals, input/output constraints, examples, edge cases, dependencies) before the code raises Pass@1 more than training it to emit free-form reasoning or a stepwise implementation plan of similar length, with the largest margin on an out-of-distribution benchmark.

Capability: Generating and editing working code

Observed on

Qwen2.5-7B-Coder-Instruct, specification-rich competitive programming benchmarks (APPS, CodeContests in-distribution; xCodeEval out-of-distribution); intermediate representations f.

Sources

  • One backbone, one paper. Generation-only ablation (Table 5): APPS 0.172 vs 0.166/0.170/0.168, CodeContests 0.061 vs 0.055/0.060/0.061, xCodeEval 0.127 vs 0.080/0.103/0.093, with reported 95% CIs that overlap on the in-distribution benchmarks; only the OOD gap is wide relative to the intervals. Output length is reported (694.7 tokens vs 568.2/539.0), so the comparison is not length-matched, though the authors argue length alone does not explain the gap. No second backbone or seed variation.
Reviewed by AI (Claude Opus 5)Last checked: 2026-09-18Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafter linked technique "chain-of-thought", which does not list this capability in addresses -- recorded, not asserted. Drafted confidence: low. Falsifier as drafted: Under the same matched training budget and data pipeline, free-form rationale or planning-CoT pre-generation matching or exceeding the fixed-schema specification arm's Pass@1, especially on held-out out-of-distribution benchmarks. Proposed technique, not catalogued: Structured specification analysis before code.