Skip to content

Training a coding model under a time limit

Train a coding model from scratch in 200 minutes on one H100. The grader reruns the recipe and measures bits per byte on held-out software engineering trajectories.

By Joachim Baumann and Ricardo Olmedo
On this page
  1. Task and metric
  2. Results
  3. Statistics
  4. Validation and hidden test

Task and metric

Full task description

Improve a training recipe for a coding-agent language model trained from scratch in 200 minutes on one H100: the submitted train.sh is rerun by the verifier, and the exported model is scored by bits per byte on held-out SWE-agent trajectories.

Reward. Bits per byte (lower is better) of the model produced by rerunning the submitted train.sh from scratch in the verifier (one H100, 200-minute hard limit, offline, unprivileged, hidden seed), on the assistant turns (reasoning text and tool-call JSON) of 973 held-out Nemotron 3.5 Lightning trajectories from 39 repositories that are absent from the training corpus: the summed -log2 probability of the tokens of those turns, each conditioned on the full preceding trajectory, divided by their UTF-8 bytes, so the score does not depend on the tokenizer.

Full reward definition

Bits per byte (lower is better) of the model produced by rerunning the submitted train.sh from scratch in the verifier (one H100, 200-minute hard limit, offline, unprivileged, hidden seed), on the assistant turns (reasoning text and tool-call JSON) of 973 held-out Nemotron 3.5 Lightning trajectories from 39 repositories that are absent from the training corpus: the summed -log2 probability of the tokens of those turns, each conditioned on the full preceding trajectory, divided by their UTF-8 bytes, so the score does not depend on the tokenizer. Trajectories are cut at message boundaries to 131,072 tokens of the baseline's tokenizer, which leaves all but one whole. Invalid submissions score 8.0 (a uniform byte model); valid scores are capped at 8.0. theoretical_best is 0, the lower bound of bits per byte; the true floor (the entropy of the teacher's sampling) is above it.

Normalized score. The baseline below corresponds to 0 points and the theoretical best to 100. The theoretical best is not always achievable in practice. A valid submission that performs below baseline receives a negative score, bounded at −100. An invalid submission receives 0. Score formula

SetupValue
Research areaPre-training
DirectionLower is better
Baseline, hidden-test mean0.2214
Baseline, hidden-test std0.003897
Theoretical best0
Time budget12 h
Compute1 × H100
GPU-hours12
Task author's note on difficulty

The baseline is a strong expert recipe, not a do-nothing one: the trajectory launch of the current nanoswe record (Muon, FP8, sliding-window attention, document masking, horizon-scaled batch size, learning rate and weight decay), scaled to one H100 and 200 minutes with the model size picked by a sweep at that budget. Beating it takes changes to how the model is trained: architecture, optimizer and schedules, data selection and ordering over the 1.26M trajectories, loss masking, tokenization, precision, and throughput engineering for 128k-token rows on one 80 GB GPU. Every full-scale test costs 200 minutes of the 12-hour session, so at most three fit; agents must run small-scale experiments and reason about which results transfer. Memorized nanoGPT speedrun tricks are tuned for short web text and do not carry over directly to long agentic trajectories with loss masking.

Results

The two highest mean scores were 10.8 (GPT-6.2 Astra) and 8.0 (GPT-6 Astra). Across all 13 models, the mean was 3.2 points. Of those, 10 averaged above baseline.

Mean hidden-test score by model

  • Claude Code
  • Codex
  • Antigravity SDK
  • Muse Code
  • Grok Build
  • Terminus 2
Mean hidden-test score by modelBar chart with 13 bars; every value is in the data table.−5051015Normalized scoreGPT-6.2 Astra10.8GPT-6 Astra8.0Claude Fable 5.27.6Claude Sonnet 5.55.9Claude Opus 5.53.9GPT-6.1 Sol3.7Gemini 4 Carbon3.2Muse Wonder2.3DeepSeek V4.1 Flash1.2Kimi K30.1Grok 4.7−0.7GLM-5.3−1.7Qwen3.8-Max−2.8
Each bar averages the model’s scored attempts on this task. Zero marks the starting baseline. Scoring rules.
View data
Mean hidden-test score by model: data
LabelSeriesMean score
GPT-6.2 AstraCodex10.8
GPT-6 AstraCodex8.0
Claude Fable 5.2Claude Code7.6
Claude Sonnet 5.5Claude Code5.9
Claude Opus 5.5Claude Code3.9
GPT-6.1 SolCodex3.7
Gemini 4 CarbonAntigravity SDK3.2
Muse WonderMuse Code2.3
DeepSeek V4.1 FlashTerminus 21.2
Kimi K3Terminus 20.1
Grok 4.7Grok Build−0.7
GLM-5.3Terminus 2−1.7
Qwen3.8-MaxTerminus 2−2.8

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1GPT-6.2 Astra10.814.133 valid
2GPT-6 Astra8.08.533 valid
3Claude Fable 5.27.69.133 valid
4Claude Sonnet 5.55.96.733 valid
5Claude Opus 5.53.94.533 valid
6GPT-6.1 Sol3.76.033 valid
7Gemini 4 Carbon3.24.132 valid, 1 out of time
8Muse Wonder2.34.133 valid
9DeepSeek V4.1 Flash1.22.033 valid
10Kimi K30.10.833 valid
11Grok 4.7−0.71.033 valid
12GLM-5.3−1.72.833 valid
13Qwen3.8-Max−2.80.532 valid, 1 invalid

Statistics

StatisticValue
IRT difficulty0.99
IRT discrimination2.21
IRT pass bar (normalized score)3.5
Attempts above the pass bar46.2%
Median share of time budget used91%
Median output tokens per attempt426k
Median validation runs per attempt8

IRT: two-parameter model of pass or fail against the pass bar (statistics).

Time and tokens over all tasks: results. Medians are over this task's 39 scored attempts.

The trajectory of 1 of 39 attempts (Gemini 4 Carbon, out of time) was not recorded: the output-token and validation-run medians cover 38 attempts.

Validation and hidden test

Validation measureValue
Attempts with a recorded validation score34
Attempts scoring at least 99 on validation3
Mean hidden-test score for those attempts0.3

Validation and hidden-test results across tasks