How Post-Training Doubles Coding Agent Scores
This article examines how post-training can nearly double a coding agent's score, rising from about 38.9% to 58.2%, while a base model scores 66.0% in individual competition. It explains the difference between team and individual evaluation formats, outlines two post-training tracks—supervised fine-tuning and reinforcement learning—and shares a reusable practice path along with common pitfalls to avoid.
1. The Phenomenon and Problem Definition
A recurring pattern appears in coding tool evaluations: the same base model, after domain-specific post-training, can improve its score on coding tasks from about 38.9% to 58.2%, nearly doubling. The base version scores 66.0% in individual competition. These numbers suggest that a model’s capability ceiling is not determined by parameter count alone; the choice of training paradigm, data distribution, and evaluation criteria often delivers greater marginal gains.
It is important to stress that numbers across different leaderboards and evaluation sets cannot be compared directly. Team and individual competitions differ in sampling methods, collaboration overhead, and context length. This article therefore treats the numbers only as trend evidence and focuses on methodology.
2. Capability Dimensions Behind the Two Competition Formats
Team competition evaluates the coordination of a “main model + partner model”: task decomposition, subtask delegation, result aggregation, and conflict resolution. A common approach is for the main model to handle planning and key decisions, while a cheaper, lightweight model takes on subtasks such as retrieval, local rewriting, and test execution to control overall cost.
Individual competition strips away the collaboration variable and roughly measures a single model’s code understanding, defect localization, and patch generation. Observing both formats together is what lets us separate “capability improvement” from “collaboration gain.”
3. Two Main Tracks of Post-Training
3.1 Supervised Fine-Tuning: Turning Correct Trajectories into Priors
The core idea is to filter successful samples from real or synthetic coding trajectories and build four-part tuples of “requirement description—code context—patch—verification result,” so the model learns common industry engineering habits: read context before acting, prefer minimal changes, and cover edge cases.
Sample structure (illustrative){"task": "Fix exception caused by parsing empty input","context": ["relevant file snippets", "call chain summary", "failing test case"],"action": "generate patch","verify": {"unit_test": "pass", "lint": "pass"}}
3.2 Reinforcement Learning: Turning Verification Signals into Optimization Objectives
In environments where outcomes can be judged automatically, use test pass rate, static checks, and whether regressions introduce new problems as rewards, letting the model discover more stable repair strategies through many attempts. Three engineering points matter: rewards must be dense and reproducible; sampling must be stratified by difficulty to avoid vanishing gradients from tasks that are all too easy or too hard; and format and safety constraints must be set to prevent shortcuts like “deleting tests” or “changing assertions.”
4. A Reusable Practice Path
- Build a replayable sandbox environment, containerize and isolate dependencies, and ensure the same task produces consistent results across repeated runs.
- Start with small-scale supervised fine-tuning to establish a baseline, then introduce reinforcement learning to amplify gains, avoiding excessive reward noise during cold start.
- Use difficulty-bucketed sampling and classify failure samples by cause: localization error, solution error, or verification environment error.
- Track the training and inference pipeline with logging services and monitoring alerts, and roll back quickly when metrics go abnormal.
- Fix the evaluation set and random seeds; when reporting score rate, also give the win/loss/draw distribution and a “goals scored/conceded”-style output-to-consumption ratio, so a single average does not hide variance.
5. Common Pitfalls
Treating parameter count as the only lever; designing rewards that look only at passing and ignore regressions; training data and evaluation set coming from the same source, causing inflated scores; ignoring context length and cost constraints, making the solution unusable in production. A more robust engineering approach is to first fix the evaluation criteria, then iterate on data and rewards, and only then consider scaling up.
