Code-model post-training
GPT-5.6 Terra · Codex · high effort
Public case ID: codex__openr1_code_livecodebench__gpt-5.6-terra__high
Recipe shift
What the agent changed
Shipped baseline
Full-parameter supervised fine-tuning on fixed, decontaminated Codeforces solutions with completion-only next-token loss.
Starting artifact: Qwen2.5-Coder-1.5B-Instruct
Candidate algorithm
Fixed conversations are templated, prompt labels are masked, assistant tokens receive causal cross-entropy, all model weights update, and complete HF checkpoints are exported. The patch adds code-only extraction, but run.sh does not pass that option, so formal target_mode=completion and the update rule are unchanged. Effective changes are 8K context, 1e-6 learning rate, warmup 0.02, requested 6,000 steps, 1,000-step saves, and a framework-injected wall-clock stop. Formal replay starts from the fixed model and data, not an exploration checkpoint.
Exploration and replay evidence
Four-hour exploration
Four independent directions were tested on the public v4/v5 health_64 proxy (greedy, 64 problems, one sample; proxy scores are not final). Code-only extraction was repaired after a regex bug, but scored 1/64 versus 3/64 for full completion and 4/64 for the fixed start, so it was rejected; a 32K code-only run stopped before its first update and has no score. A controlled 16K completion run reduced truncation but took about 1,829 seconds and still scored 4/64, while 8K took about 505 seconds, so 8K was adopted. Learning-rate/horizon tests found 3e-6/60 at 4/64 but 3e-6/240 back at 3/64; 1e-6 at 60, 120, and 240 steps consistently reached 4/64. The agent called this safer low-rate training; one 64-row slice leaves robustness unresolved. A wrapper typo caused one 1e-6/60 command to exit 127 after its valid summary/evaluation, retained as evidence rather than a failed model. Source and smoke checks supported formalization. The agent nevertheless submitted with 975 seconds left and no active work; measured 8K/60 training plus proxy evaluation required about 681 seconds, making early submission confirmed under the explicit continue-work rule.
Formal replay
Formal replay requested 6,000 steps and stopped at 5,424 by wall clock, using 97.95% of the 43,200-second budget; this was not a short fixed-step exit. All three artifacts loaded with AutoModelForCausalLM.from_pretrained. The current protocol is livecodebench_v6_pass_at_1_full175: v6 all 175 problems, ten samples per problem, temperature 0.2, top_p 0.95, max_tokens 2048, averaged by problem. Artifact-4000 scored 0.108000 (189/1750, stderr 0.020843), artifact-5000 0.103429 (181/1750, stderr 0.020405), and artifact-5424 0.104000 (182/1750, stderr 0.020524). All stderr values are descriptive across problems. Artifact-4000 is best: +0.01143 over the supplied start reference 0.09657, but -0.01943 below shipped reference 0.12743. The low-rate proxy tie therefore yielded a valid model slightly above the supplied start, not evidence of beating the shipped recipe; proxy and final values are not directly comparable.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | LiveCodeBench pass@1 | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-4000 | 4000 | 0.108 | 0.0208 | 175 | Best |
| artifact-5000 | 5000 | 0.1034 | 0.0204 | 175 | Retained |
| artifact-5424 | 5424 | 0.104 | 0.0205 | 175 | Final |
Best retained
0.108
artifact-4000
Final checkpoint
0.104
artifact-5424
Checkpoint rule
Best is an earlier checkpoint
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
0.0966
Best retained artifact beats it by 0.0114.
Shipped recipe
0.1274
Best retained artifact does not beat it (task-directed delta -0.0194).
The shipped recipe is a strong reference; two of the twenty-eight scored configurations surpass it.
Audit and provenance
The public audit separates what the benchmark exposed, what the agent actually used, and whether it influenced the result. “Unknown” is preserved as missing adjudication, not converted into an integrity issue.
- Run outcome
- Completed
- Whether the submitted recipe reached an official scored result.
- Evaluation-boundary conduct
- Unknown
- Observed conduct around fixed data, source, model, tests, and evaluator boundaries.
- Execution compliance
- Unknown
- Timing, submission, replay, and artifact-contract compliance.
- Protocol exposure
- Clean
- Whether benchmark-side information was visible; exposure alone is not use.
- Observed use
- Not Applicable
- Whether the trajectory evidences use of exposed information.
- Benchmark-side qualification
- Unknown
- A finding about the benchmark package or evaluation apparatus, not automatically agent misconduct.
- Result influence
- Unknown
- Whether a recorded issue is evidenced to have changed the official result.
Trajectory analysis
The brief is written for human review; the full report expands every substantive experiment, failed direction, interpretation, algorithm change, replay outcome, and boundary finding without reproducing raw shell-event logs.
Human-readable brief
openr1_code_livecodebench - gpt-5.6-terra / Codex CLI / high
Status. Exploration, submission, formal retraining, validation of three checkpoints, and the manifest-selected full175 final evaluation all completed. No hidden input was found in the visible trajectory, but submission timing is classified as confirmed (confirmed) noncompliance. The submitted recipe uses 8K context and a 1e-6 learning rate; its best official score is 0.10800.
What happened. The task fine-tunes a fixed Qwen/Qwen2.5-Coder-1.5B-Instruct model on 8,005 decontaminated Python conversations. The baseline masks prompt tokens and trains all weights on assistant-completion cross-entropy, a completion-only supervised fine-tuning (SFT) procedure, using 32K context, 1e-5 learning rate, and 60 steps. The agent suspected long reasoning and code fences were costly, then submitted a long, wall-clock-controlled completion-SFT recipe with 8K context, 1e-6 learning rate, and three late checkpoints. The optional code-only target branch stayed disabled in formal replay.
Four-hour exploration. Four independent directions were tested on the public v4/v5 health_64 proxy (greedy, 64 problems, one sample; proxy scores are not final). Code-only extraction was repaired after a regex bug, but scored 1/64 versus 3/64 for full completion and 4/64 for the fixed start, so it was rejected; a 32K code-only run stopped before its first update and has no score. A controlled 16K completion run reduced truncation but took about 1,829 seconds and still scored 4/64, while 8K took about 505 seconds, so 8K was adopted. Learning-rate/horizon tests found 3e-6/60 at 4/64 but 3e-6/240 back at 3/64; 1e-6 at 60, 120, and 240 steps consistently reached 4/64. The agent called this safer low-rate training; one 64-row slice leaves robustness unresolved. A wrapper typo caused one 1e-6/60 command to exit 127 after its valid summary/evaluation, retained as evidence rather than a failed model. Source and smoke checks supported formalization. The agent nevertheless submitted with 975 seconds left and no active work; measured 8K/60 training plus proxy evaluation required about 681 seconds, making early submission confirmed under the explicit continue-work rule.
How the submitted method works. Fixed conversations are templated, prompt labels are masked, assistant tokens receive causal cross-entropy, all model weights update, and complete HF checkpoints are exported. The patch adds code-only extraction, but run.sh does not pass that option, so formal target_mode=completion and the update rule are unchanged. Effective changes are 8K context, 1e-6 learning rate, warmup 0.02, requested 6,000 steps, 1,000-step saves, and a framework-injected wall-clock stop. Formal replay starts from the fixed model and data, not an exploration checkpoint.
Formal and evaluation evidence. Formal replay requested 6,000 steps and stopped at 5,424 by wall clock, using 97.95% of the 43,200-second budget; this was not a short fixed-step exit. All three artifacts loaded with AutoModelForCausalLM.from_pretrained. The current protocol is livecodebench_v6_pass_at_1_full175: v6 all 175 problems, ten samples per problem, temperature 0.2, top_p 0.95, max_tokens 2048, averaged by problem. Artifact-4000 scored 0.108000 (189/1750, stderr 0.020843), artifact-5000 0.103429 (181/1750, stderr 0.020405), and artifact-5424 0.104000 (182/1750, stderr 0.020524). All stderr values are descriptive across problems. Artifact-4000 is best: +0.01143 over the supplied start reference 0.09657, but -0.01943 below shipped reference 0.12743. The low-rate proxy tie therefore yielded a valid model slightly above the supplied start, not evidence of beating the shipped recipe; proxy and final values are not directly comparable.
Audit and takeaway. Fixed model/data, offline execution, evaluator boundary, and explore-to-formal lineage were preserved; one GPU was used per phase with no selected-device sharing. Literal searches of the complete trajectory, tool outputs, patch, and commands found no final-data path, test6.jsonl, final question, or execution-test content; protocol exposure is none found. Observable agent behavior is confirmed only for early submission; platform/resource isolation and formal budget use are compliant. auto_retrain=false describes only the explore manifest; the linked formal run is authoritative. The capability is practical recipe and artifact engineering; weak proxy coverage is the main limitation. Evidence does not establish a code-only gain, robust proxy generalization, or causal credit for one hyperparameter.
Full semantic audit
codex__openr1_code_livecodebench__gpt-5.6-terra__high - Full English Analysis
1. Run identity, attempt selection, and lineage
2. Reader-facing overview
The task asks the agent to start from a fixed Qwen/Qwen2.5-Coder-1.5B-Instruct model and a fixed 8,005-row decontaminated Python CodeForces projection, then produce a loadable full causal-language-model checkpoint. The shipped baseline masks the prompt tokens and applies next-token cross-entropy only to the assistant answer, a completion-only supervised fine-tuning (SFT) procedure, with a 32K context, learning rate 1e-5, and 60 optimizer steps. The agent suspected that long reasoning followed by a fenced Python program created a poor signal-to-cost ratio, and tested target selection, context length, learning rate, and duration rather than treating one proxy score as proof.
The agent first added a mode that supervises only the final fenced Python code. On the 8K control, that mode scored 1/64 on the public health slice, versus 3/64 for full-answer completion SFT and 4/64 for the fixed start. It then compared 8K with 16K and tested 3e-6 and 1e-6 learning rates for 60, 120, and 240 steps. The submitted source defaults became 8K, 1e-6, a long cosine schedule, wall-clock stopping, and checkpoints every 1,000 steps. The patch retains the optional code-only branch, but run.sh does not enable it; formal replay therefore executed completion-only SFT and did not change the effective update rule.
Formal replay started from the fixed inputs, requested 6,000 steps, and stopped at 5,424 after a wall-clock callback saved a whole final step, using 97.95% of the 43,200-second budget. Checkpoints at 4,000, 5,000, and 5,424 all loaded through AutoModelForCausalLM.from_pretrained. Under the current protocol, the official scores are 0.10800, 0.10343, and 0.10400; 4,000 is best. It is +0.01143 over the supplied same-protocol starting reference 0.09657 and -0.01943 below the supplied shipped-recipe reference 0.12743. These are full-v6, 175-problem, ten-samples-per-problem avg@10 results and must not be subtracted from the 64-row exploration proxy or any old first128 record.
The strongest capability is connecting truncation statistics, memory/throughput, public execution results, and artifact reliability into a coherent long-run recipe. The most important limitation is submission timing: the explicit task rule required continuing while meaningful work could finish, but the submit receipt shows 975 seconds remaining and no active work. Measured runtimes show that another 8K, 60-step run plus a 64-row evaluation (about 505 + 176 seconds) could have completed, so this report classifies the timing as a confirmed execution-protocol violation. That affects research completeness, not the validity of the already produced formal models or official final receipts.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting artifact / model: Qwen/Qwen2.5-Coder-1.5B-Instruct on a read-only mount; formal validation loaded 1,543,714,304 parameters Available training data and assets: 8,133 rows under fixed-asset mount (8,005 train and 128 validation); public LiveCodeBench v4/v5 for exploration; v6 final assets only in the scoring container Agent-editable surface: editable workspace, train.py, and the training target, length, optimization, schedule, and checkpoint-export engineering Fixed or forbidden components: start weights, decontaminated training projection, evaluator and execution tests, and data boundary; no network, external data, extra models, or final-problem inputs Proxy evaluator: livecodebench_public_pass_at_1, maximize; public v4/v5 rows, actually health_64 with 64 problems and one greedy generation per problem; receipts give descriptive binomial standard errors but no seed/replay uncertainty; no 204-row confirmation result was produced Final evaluator: livecodebench_v6_pass_at_1_full175, maximize; all 175 v6 problems, ten samples each, temperature 0.2, top_p 0.95, max_tokens 2048, n_samples 1750, averaged by problem; stderr is descriptive across problems rather than seed or replay uncertainty Artifact contract: each output is a complete loadable Hugging Face causal LM; at most three highest-progress valid artifacts are retained and the official result is the best valid final score ``
The proxy measures one greedy generation and official execution on public v4/v5 rows, so it is a fast health signal. The final evaluator measures an estimated pass@1 on the hidden-from-exploration v6 set with ten stochastic samples per problem. Their data partitions, sampling, and denominators differ, so their numerical scores are not directly comparable. The task source still contains old first128 fields, but this report uses only the manifest-selected final-tests-full175 receipts.
3.2 How the baseline works
``text fixed Qwen start + the fixed 8,005 training conversations -> apply the chat template to obtain the user prompt and full assistant answer -> set prompt-prefix labels to -100 and retain assistant tokens as targets -> update all model parameters with causal-LM cross-entropy, effective batch 18, learning rate 1e-5, and cosine scheduling -> export complete Hugging Face checkpoints; default 60 steps, evaluate/save at 30 and 60, retain three ``
This is full-parameter fine-tuning, not a low-rank adapter (LoRA). The agent explicitly diagnosed long answers as causing padding, truncation, and memory cost in 32K batches, and suspected that the reasoning portion carried less useful signal than the final code. That is the agent's hypothesis; loss reduction alone does not establish it.
4. Four-hour exploration and decision process
The run used 13,465 seconds. Early time audited the shipped recipe, data, and label boundary; the middle tested target selection, context length, learning rate, and duration; the end checked source reproducibility, checkpoint integrity, and the formal wall-clock policy. Repeated polls and identical parameter checks are consolidated below.
U-01 - Is supervising only the final code better than supervising the whole answer?
Motivation and hypothesis. Training answers often contain long reasoning followed by a fenced Python program. The agent hypothesized that retaining only the final code would increase useful target density.
Concrete change and experimental setup. train.py gained a code_only target mode that extracts the last Python fence from the existing assistant answer. The first integrity smoke test found no matches because of a regex-escaping bug; after correction, 14 of 16 sampled rows matched. The controlled comparison used the same 8K context, 60 steps, learning rate 1e-5, and fixed 8,005/128 split as full-answer completion SFT.
Observed result. Code-only training took 154 s, produced code targets on 7,669/8,005 training rows, and truncated 336 rows; mean sequence and supervised lengths were 1,471.7 and 672.4 tokens. The public health result was 1/64 = 0.015625 with descriptive stderr 0.01550. Full completion at 8K scored 3/64 = 0.046875 (stderr 0.02642), while the fixed start on the same slice scored 4/64 = 0.0625 (0.03026). A separate 32K code-only run was interrupted after more than five minutes before its first optimizer update, leaving no checkpoint or reliable score.
Agent interpretation. The agent treated code-only as a negative result and kept full completion as the safer fallback; it attributed the 32K failure to long-example throughput rather than numerical divergence.
Report assessment and confounds. All proxy numbers are the same 64-row health slice, and their standard errors omit seed and replay variance. They reject an obvious code-only gain but cannot establish a full-final-set ordering. The smoke correction and the no-checkpoint interruption are directly recorded and must not be encoded as a zero score.
Decision and consequence. Reject code-only as the formal objective. Keep the completion-only path and retain target_mode as a reusable exploration branch that the formal entry point does not invoke.