Code-model post-training
GPT-5.6 Terra · Codex · max effort
Public case ID: codex__openr1_code_livecodebench__gpt-5.6-terra__max
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 prompts and full supplied completions are tokenized to 32,768 tokens; prompt positions are masked, completion-token cross-entropy backpropagates through every model parameter, and complete weights are published every 100 steps. Formal TARGET_MODE was completion, so optional code-only, compact, and accepted-code branches in the patch did not affect training. No reward, external labels, evaluator feedback, or explore weights entered replay. The objective and update rule were unchanged; only hyperparameters, schedule, engineering, and checkpoint policy changed. Formal replay restarted from the fixed model…
Exploration and replay evidence
Four-hour exploration
The public v4/v5 health proxy maximizes livecodebench_public_pass_at_1 on 64 problems; its binomial standard errors describe problem outcomes, not seed variance. Completion step 30 scored 4/64 (stderr 0.0303), versus 2/64 at step 60; both loaded, although live source editing caused a post-export wrapper syntax error that was repaired. Code-only supervision shortened mean targets to 379 tokens and trained 300 steps in 671 seconds, but scored 1/64, 0/64, and 1/64, so it was rejected. Retaining 512 rationale tokens scored 2/64, 3/64, then 4/64, tying completion but extracting only 60/64 outputs. It scored 14/204 (stderr 0.0177) on a disjoint confirmation slice with 25 clips, but the agent never ran its promised baseline control on those rows; superiority is therefore unresolved. A 128-token rationale fell to 2/64. A compact accepted-code mix first failed safely on ambiguous fence-like text, then used historical accepted code for 2,514 of 7,625 targets and scored 3/64; it was rejected. Atomic publication produced a loadable one-step model. Finally, a controlled 30-step 3e-6 completion run had worse validation NLL than the 1e-5 control, 1.170 versus 1.001, and time precluded pass@1; the agent nevertheless submitted the lower rate as a conservative long-horizon choice.
Formal replay
Orchestration injected a 42,600-second training wall clock with a 600-second reserve. Replay consumed 42,370.705/43,200 seconds (98.08%) and stopped on time at step 844, not at a short fixed endpoint. Checkpoints 700, 800, and 844 all loaded. On livecodebench_v6_pass_at_1_first128, maximize, hidden v6_only, n=128, they scored 14/128 (stderr 0.02759; 125 extracted, 3 clipped), 14/128 (0.02759; 122, 6), and 15/128 (0.02843; 125, 3). Step 844 was best, but no formal public proxy ran, and formal did not replay compact-512; the exploration conclusion did not survive as a tested final hypothesis. The two-problem difference from either task-provided reference is descriptive, not a paired or multi-seed claim.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | LiveCodeBench pass@1 | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-700 | 700 | 0.1094 | 0.0276 | 128 | Retained |
| artifact-800 | 800 | 0.1094 | 0.0276 | 128 | Retained |
| artifact-844 | 844 | 0.1172 | 0.0284 | 128 | Best · final |
Best retained
0.1172
artifact-844
Final checkpoint
0.1172
artifact-844
Checkpoint rule
Best is final
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
0.1016
Best retained artifact beats it by 0.0156.
Shipped recipe
0.1328
Best retained artifact does not beat it (task-directed delta -0.0156).
The shipped recipe is a strong reference; no scored configuration strictly surpasses 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
- Clean
- 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 / max
Status. Exploration, explicit submission, formal retraining, validation of three artifacts, all three final evaluations, and the boundary audit completed. The submitted completion-SFT recipe lowered learning rate from 1e-5 to 3e-6, trained to the formal wall clock, and added atomic checkpoints; its best hidden-v6 result was 15/128, above the fixed start's 13/128 but below the shipped baseline's 17/128.
What happened. The task trains fixed Qwen2.5-Coder-1.5B-Instruct on 8,005 fixed CodeForces rows and evaluates greedy pass@1. Baseline supervised fine-tuning (SFT) masks prompt tokens and applies next-token cross-entropy to the pre-existing rationale-plus-code completion, updating all 1.54B parameters. The agent found mean sequences near 13,591 tokens and partial, older coverage by historical accepted code.
Four-hour exploration. The public v4/v5 health proxy maximizes livecodebench_public_pass_at_1 on 64 problems; its binomial standard errors describe problem outcomes, not seed variance. Completion step 30 scored 4/64 (stderr 0.0303), versus 2/64 at step 60; both loaded, although live source editing caused a post-export wrapper syntax error that was repaired. Code-only supervision shortened mean targets to 379 tokens and trained 300 steps in 671 seconds, but scored 1/64, 0/64, and 1/64, so it was rejected. Retaining 512 rationale tokens scored 2/64, 3/64, then 4/64, tying completion but extracting only 60/64 outputs. It scored 14/204 (stderr 0.0177) on a disjoint confirmation slice with 25 clips, but the agent never ran its promised baseline control on those rows; superiority is therefore unresolved. A 128-token rationale fell to 2/64. A compact accepted-code mix first failed safely on ambiguous fence-like text, then used historical accepted code for 2,514 of 7,625 targets and scored 3/64; it was rejected. Atomic publication produced a loadable one-step model. Finally, a controlled 30-step 3e-6 completion run had worse validation NLL than the 1e-5 control, 1.170 versus 1.001, and time precluded pass@1; the agent nevertheless submitted the lower rate as a conservative long-horizon choice.
How the submitted method works. Fixed prompts and full supplied completions are tokenized to 32,768 tokens; prompt positions are masked, completion-token cross-entropy backpropagates through every model parameter, and complete weights are published every 100 steps. Formal TARGET_MODE was completion, so optional code-only, compact, and accepted-code branches in the patch did not affect training. No reward, external labels, evaluator feedback, or explore weights entered replay. The objective and update rule were unchanged; only hyperparameters, schedule, engineering, and checkpoint policy changed. Formal replay restarted from the fixed model, requested 1,200 steps, and retained only the latest three artifacts.
Formal and evaluation evidence. Orchestration injected a 42,600-second training wall clock with a 600-second reserve. Replay consumed 42,370.705/43,200 seconds (98.08%) and stopped on time at step 844, not at a short fixed endpoint. Checkpoints 700, 800, and 844 all loaded. On livecodebench_v6_pass_at_1_first128, maximize, hidden v6_only, n=128, they scored 14/128 (stderr 0.02759; 125 extracted, 3 clipped), 14/128 (0.02759; 122, 6), and 15/128 (0.02843; 125, 3). Step 844 was best, but no formal public proxy ran, and formal did not replay compact-512; the exploration conclusion did not survive as a tested final hypothesis. The two-problem difference from either task-provided reference is descriptive, not a paired or multi-seed claim.
Audit and takeaway. Formal mounted only the fixed model, fixed data, and the hash-matched 45,806-byte patch; resume was empty, final v6 appeared only during scoring, one GPU was visible, and no outside data/model or GPU sharing was found. Evaluator-only statements, starter code, tests, identifiers, titles, and release hash were literally searched across complete decoded tool results, commands, and the patch: full statement/starter/test/hash and nonnumeric-ID hits were zero; four-digit IDs and generic short titles produced only unrelated collisions, never hidden-problem context. Submission left 93 idle seconds, less than the measured 189.40-second minimum complete proxy, while formal used 98.08%; both timing decisions were compliant. Observable agent behavior is clean, protocol exposure was not found, and platform/resource isolation was compliant. The work shows strong ablation and artifact engineering, but key controls were missing and the submitted learning rate had negative short-run evidence; it cannot establish an improvement over the shipped baseline.
Full semantic audit
codex__openr1_code_livecodebench__gpt-5.6-terra__max - Full English Analysis
1. Run identity, attempt selection, and lineage
The raw trajectory establishes the explore history, and the formal manifest establishes lineage. The explore manifest's auto_retrain=false means only that this explore run did not itself create formal replay; the analysis manifest links a separately orchestrated formal run.
2. Reader-facing overview
The task asks the agent to improve fixed Qwen2.5-Coder-1.5B-Instruct weights using a fixed CodeForces projection, with hidden LiveCodeBench v6 first-128 greedy pass@1 as the objective. The shipped baseline performs completion-only supervised fine-tuning (SFT): prompt tokens are excluded from loss, while every token in the pre-existing assistant rationale and code completion is a next-token label. The agent measured mean sequences of about 13,591 tokens and found that the 64-row public proxy fell from 4/64 at step 30 to 2/64 at step 60.
During four hours, the agent tested code-only targets, compact targets retaining 512 or 128 rationale tokens, and compact rationales paired with historical accepted Python code already present in the fixed rows. Code-only, 128-token, and accepted-code variants ended at 1/64, 2/64, and 3/64. The 512-token variant reached 4/64, tying the step-30 completion fallback but showing more extraction failures and clipping. It scored 14/204 on a disjoint public confirmation slice, but the promised baseline evaluation on that same slice never ran. The submission did not use that proxy-tied target: it retained completion SFT, lowered learning rate from 1e-5 to 3e-6, requested 1,200 steps, and added wall-clock-safe atomic checkpoint publication and latest-three retention.
Formal replay restarted from the fixed model and consumed 42,370.705 of 43,200 seconds (98.08%). The wall-clock guard stopped it at 844 of 1,200 requested steps; checkpoints 700, 800, and 844 all loaded successfully. Their official hidden livecodebench_v6_pass_at_1_first128 scores were 14/128, 14/128, and 15/128, respectively. The best point estimate is two problems above the task-provided fixed-start reference of 13/128 and two below the shipped baseline's 17/128. Its descriptive standard error is about 0.028, with no paired or multi-seed uncertainty, so this is not evidence of a reliable improvement.
The trajectory demonstrates useful ablation discipline, artifact validation, and robust long-run checkpoint engineering. Its central scientific weakness is candidate selection: the only controlled short run of the submitted 3e-6 learning rate had worse validation negative log-likelihood, 1.170 versus 1.001 for the 1e-5 step-30 baseline, and no proxy execution score. No hidden inputs, outside data, explore weights, or extra model entered the candidate or formal run; observable agent behavior is classified clean.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
~~~text Starting artifact / model: fixed Qwen2.5-Coder-1.5B-Instruct Available training data and assets: 8,133 fixed CodeForces rows, formally split into 8,005 train and 128 validation rows; public LiveCodeBench v4/v5 is additionally visible only during exploration Agent-editable surface: training source under editable workspace, submitted as candidate.patch Fixed or forbidden components: starting weights, fixed corpus, hidden v6 rows, evaluator, and metric; no outside examples, solutions, weights, or network data Proxy evaluator: livecodebench_public_pass_at_1, maximize; v4/v5 hash order; health_64 is offset 0 with n=64 and confirmation_204 is disjoint offset 64 with n=204; uncertainty is descriptive problem-level binomial stderr Final evaluator: livecodebench_v6_pass_at_1_first128, maximize; hidden v6 hash-order prefix, n=128; the same descriptive stderr excludes training-seed and paired uncertainty Artifact contract: run output area>; if more than three are valid, only the three greatest progress values are accepted, and the best accepted official score is selected ~~~
Proxy and final evaluation share the frozen LiveCodeBench prompt style, one greedy completion, a 2,048-new-token cap, code extraction, and official test execution. They use different releases and rows. Comparisons within health_64, within confirmation_204, or within the hidden v6 set are valid; treating 4/64, 14/204, and 15/128 as measurements from one distribution is not.
3.2 How the baseline works
~~~text [fixed model, problem prompt, and pre-existing assistant completion] -> [tokenize prompt plus rationale and fenced Python code, capped at 32,768 tokens] -> [mask prompt positions with -100; use every assistant-completion next token as a label] -> [completion-token cross-entropy with a cosine learning-rate schedule] -> [update and export all 1.54B Qwen parameters as a Hugging Face checkpoint] ~~~
The baseline uses the fixed 8,005/128 split, seed 42, learning rate 1e-5, per-device batch 3, gradient accumulation 6 (effective batch 18), 32,768-token context, and 60 requested steps. It evaluates and saves at steps 30 and 60, retains at most three checkpoints, and does not load the best checkpoint at the end. The agent diagnosed two concrete bottlenecks. First, the synthetic completions were very long: mean supervised length was about 12,791 tokens, potentially placing code after extensive rationale. Second, historical accepted submissions existed only for a subset concentrated in older contests, making wholesale replacement a coverage and domain-shift risk. The baseline is defined by run.sh and train.py.
4. Four-hour exploration and decision process
The agent first read the training and scoring paths and launched a full baseline, preparing opt-in target transformations on CPU while it ran. The middle of the session trained and serially scored code-only and compact-rationale branches. The final hour covered rationale length, accepted-code substitution, long-run checkpoint engineering, and a controlled learning-rate probe. Trustworthy checkpoints were preserved as fallbacks, and proxy evaluations did not contend with training on the GPU.
U-01 - Did long-completion training peak before the shipped endpoint?
Motivation and hypothesis. The agent needed a reproducible fallback and suspected that continuing to fit extremely long synthetic completions could hurt program-execution performance.
Concrete change and experimental setup. It ran the shipped 60-step configuration over all 8,005 rows, preserved steps 30 and 60, and evaluated both on identical health_64 rows. A live edit to the still-running wrapper caused a post-export shell syntax error while normalizing saved directories. The agent repaired the syntax, recovered the step-30 Trainer save, and validated both exported models with the frozen loader.
Observed result. Step 60 had train loss 1.023, completion-validation NLL 0.990, and 3,033.65 seconds of training. Step 30 scored 4/64=0.0625, descriptive stderr 0.0303, with 64/64 extraction and no clipping. Step 60 scored 2/64=0.03125, stderr 0.0217, also with complete extraction. Both artifacts were valid.
Agent interpretation. It viewed the earlier checkpoint as clearly better on public execution and retained step 30 as the completion fallback, strengthening the case for code-focused labels.
Report assessment and confounds. The direction matches the observations, but one problem moves the score by 0.015625 and only one training seed exists. The 4-versus-2 gap is not proof of overfitting. The shell error occurred after complete weights were written and validation supports usability, but editing executable source during a run weakened reproducibility.
Decision and consequence. Step 30 became the proxy fallback; step 60 was rejected as the default, and target shortening became the next question.