Navers lab
← Trajectory Explorer
OpenR1Completed

Code-model post-training

Claude Sonnet 5 · Claude Code · max effort

Public case ID: claude__openr1_code_livecodebench__claude-sonnet-5__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 rows are split, filtered, tokenized with the original chat template, and prompt-masked; full-parameter Trainer updates still optimize completion-only causal NLL. The changes are data selection, length-grouped sampling, elapsed-time schedule, and checkpoint engineering, not a new objective or reward. The source cap is 2,000,000 steps, but formal environment variables set a 42,600-second wall budget and 600-second reserve. Direct exports retain the newest three artifacts. Formal replay starts from the fixed model and data; no exploration checkpoint, public evaluation row, external weight, or hidden lookup is…

Exploration and replay evidence

Four-hour exploration

Baseline public scores were 4/64 health and 12/204 confirmation. The data audit motivated filtering, but no isolated ablation was run. A fixed-step reproduction reached only 4/60 steps after about eight minutes and was stopped without a score. wallclock1 validated the main recipe (68 steps in 2,332 seconds) and exposed the cost of Trainer's heavy saves; wallclock2 then confirmed the lightweight export path but was intentionally stopped as a mechanism test. On public confirmation, wallclock1 reached 13/204 versus 12/204 baseline, while health fell to 3/64 versus 4/64. Four problems were gained and three lost; extraction fell from 203/204 to 199/204 and mean generation length rose from 201 to 268 tokens. The agent called this a small positive, non-collapsing signal, but the change is within descriptive error and is confounded by several simultaneous edits. A final wallclock3 probe reached checkpoint-58 and reported 3/64 in tool output, but its directory was deleted, so it is not an official receipt. A one-step diagnostic initially completed zero steps because filtering left fewer than one accumulation window; disabling filters for that diagnostic matched the pristine loss/NLL and fixed the plumbing. The unresolved multi-epoch question was left to formal replay.

Formal replay

All three artifacts load as 1,543,714,304-parameter causal LMs. Final livecodebench_v6_pass_at_1_first128 (maximize, n=128): artifact-1202, 15/128 (stderr 0.02843; 18 clipped); artifact-1338, 13/128 (stderr 0.02670; 16 clipped); artifact-1461, 15/128 (stderr 0.02843; 14 clipped). The best is a tie between 1202 and 1461; scores are not monotonic. A step-226 periodic export failed with a communication error, but later exports and the final export succeeded. Relative to the fixed-start 13/128 reference, the candidate is +2/128; relative to shipped 17/128, it is -2/128. Proxy and final rows are disjoint, so the public direction does not prove final improvement.

Official reduction rule

Best of up to 3 retained checkpoints

3 retained
ArtifactProgressLiveCodeBench pass@1Std. errornRole
artifact-120212020.11720.0284128Best
artifact-133813380.10160.0267128Retained
artifact-146114610.11720.0284128Final

Best retained

0.1172

artifact-1202

Final checkpoint

0.1172

artifact-1461

Checkpoint rule

Best is an earlier checkpoint

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
Confirmed
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.
Public lineage. Source-only patch replayed from the frozen start. Validated artifacts: 3. Patch ID: PATCH-5e21d98552d6. No private filesystem or receipt path is included.

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 - claude-sonnet-5 / Claude Code / max

Status. Exploration and submission completed. formal replay 1 stopped at GPU preflight; exploration attempt 2 completed retraining, validation, and three official final evaluations. The candidate is a wall-clock, filtered completion-only SFT recipe and reaches a best final score of 15/128 = 0.1171875. Submission timing is confirmed protocol noncompliance: 3,759 seconds remained and measured runs showed that another meaningful probe could fit.

What happened. The task improves a fixed Qwen2.5-Coder-1.5B-Instruct model on a fixed 8,133-row Python CodeForces projection. The baseline masks prompt tokens and trains only on assistant completions for 60 steps. The agent replaced the fixed endpoint with elapsed-time warmup/cosine scheduling, removed 529 non-stop or interactive rows, grouped batches by length, and exported lightweight HF checkpoints. Formal replay used 42,008/42,600 seconds and produced valid artifacts, but the result is two problems below the shipped 17/128 reference and does not establish an improvement.

Four-hour exploration. Baseline public scores were 4/64 health and 12/204 confirmation. The data audit motivated filtering, but no isolated ablation was run. A fixed-step reproduction reached only 4/60 steps after about eight minutes and was stopped without a score. wallclock1 validated the main recipe (68 steps in 2,332 seconds) and exposed the cost of Trainer's heavy saves; wallclock2 then confirmed the lightweight export path but was intentionally stopped as a mechanism test. On public confirmation, wallclock1 reached 13/204 versus 12/204 baseline, while health fell to 3/64 versus 4/64. Four problems were gained and three lost; extraction fell from 203/204 to 199/204 and mean generation length rose from 201 to 268 tokens. The agent called this a small positive, non-collapsing signal, but the change is within descriptive error and is confounded by several simultaneous edits. A final wallclock3 probe reached checkpoint-58 and reported 3/64 in tool output, but its directory was deleted, so it is not an official receipt. A one-step diagnostic initially completed zero steps because filtering left fewer than one accumulation window; disabling filters for that diagnostic matched the pristine loss/NLL and fixed the plumbing. The unresolved multi-epoch question was left to formal replay.

How the submitted method works. Fixed rows are split, filtered, tokenized with the original chat template, and prompt-masked; full-parameter Trainer updates still optimize completion-only causal NLL. The changes are data selection, length-grouped sampling, elapsed-time schedule, and checkpoint engineering, not a new objective or reward. The source cap is 2,000,000 steps, but formal environment variables set a 42,600-second wall budget and 600-second reserve. Direct exports retain the newest three artifacts. Formal replay starts from the fixed model and data; no exploration checkpoint, public evaluation row, external weight, or hidden lookup is mounted.

Formal and evaluation evidence. All three artifacts load as 1,543,714,304-parameter causal LMs. Final livecodebench_v6_pass_at_1_first128 (maximize, n=128): artifact-1202, 15/128 (stderr 0.02843; 18 clipped); artifact-1338, 13/128 (stderr 0.02670; 16 clipped); artifact-1461, 15/128 (stderr 0.02843; 14 clipped). The best is a tie between 1202 and 1461; scores are not monotonic. A step-226 periodic export failed with a communication error, but later exports and the final export succeeded. Relative to the fixed-start 13/128 reference, the candidate is +2/128; relative to shipped 17/128, it is -2/128. Proxy and final rows are disjoint, so the public direction does not prove final improvement.

Audit and takeaway. Fixed model/data, no-network execution, evaluator isolation, and explore-to-formal lineage are clean. Literal searches of the complete trajectory (including tool results), egress log, patch, and experiment commands found no semantic final-row, test, or result exposure; no use was observed. Observable agent behavior is confirmed because it submitted while a measured 39-minute training probe plus 213-second health evaluation fit in the idle remainder. Protocol exposure: none found. Platform status: one confirmed scheduling defect in exploration attempt 1 (an external process occupied the requested GPU), followed by compliant single-GPU formal and score runs. Formal budget underuse is not confirmed: the recipe used about 98.1% and stopped on wall clock. The evidence supports an executable 15/128 recipe, not superiority of any individual change or of the shipped baseline.

Full semantic audit

openr1_code_livecodebench__claude-sonnet-5__max - Full English Analysis

1. Run identity, attempt selection, and lineage

2. Reader-facing overview

The task asks for better LiveCodeBench code generation from a fixed Qwen/Qwen2.5-Coder-1.5B-Instruct model and a fixed decontaminated Python CodeForces projection. The baseline is completion-only supervised fine-tuning: prompt tokens are masked and only assistant-completion tokens contribute to causal language-model loss, with a default 60 optimizer steps. Exploration can use public LiveCodeBench v4/v5; the final score is computed only on the first 128 rows of v6.

The agent first measured the fixed-model public baseline at 4/64 on the health slice and 12/204 on the confirmation slice. It then pursued a mixed training/engineering hypothesis: replace the fixed step count with a wall-clock budget, discard truncated or interactive reference rows, group batches by length, use elapsed-time warmup plus cosine decay, and export lightweight model-only checkpoints instead of Trainer's heavy saves. The formal candidate was this patch. Its public confirmation result was 13/204, while health was 3/64; output length and extraction behavior also changed.

Formal retraining completed 1,461 optimizer steps in 42,008.26 of the 42,600 seconds actually allocated by the formal wrapper (the wrapper injected MAX_WALL_TIME_SECONDS=42600 and a 600-second reserve). Checkpoint validation accepted progress 1202, 1338, and 1461. The official best final score was 15/128 = 0.1171875, tied by 1202 and 1461: two solved problems above the fixed-start reference 13/128, but two below the shipped reference 17/128. Proxy and final scores use disjoint row sets and are not direct cross-protocol comparisons.

The strongest capability is practical diagnosis of throughput, checkpoint I/O, and artifact plumbing. The decisive limitation is incomplete scientific exploration: at submission there were 3,759 seconds left, and the measured trajectory already demonstrated that a roughly 40-minute training probe plus health evaluation fits in that interval. The explicit continue-work rule therefore makes the submission timing a confirmed (confirmed) protocol violation, independently of the clean hidden-asset audit, valid formal run, and valid final receipts.

3. Task, baseline, and evaluation contract

3.1 Fixed task boundaries

``text Starting model/artifact: Qwen/Qwen2.5-Coder-1.5B-Instruct, pinned revision 2e1fd397... Available training data/assets: fixed 8,133-row CodeForces projection (default 8,005 train + 128 validation); public v4/v5 LiveCodeBench during exploration. Editable surface: editable workspace run.sh, train.py, row selection/reweighting/packing, training schedule, export, and checkpoint policy. Fixed/prohibited: read-only start weights and training projection; v6 final rows and execution tests absent from training; no network, outside examples/weights, or evaluator-specific lookup. Proxy evaluator: livecodebench_public_pass_at_1, maximize; health_64 at offset 0 and disjoint confirmation_204 at offset 64, greedy pass@1 with descriptive binomial standard error. Final evaluator: livecodebench_v6_pass_at_1_first128, maximize; v6 test6, first 128 rows by question-id hash, n=1, max_new_tokens=2048; one problem changes the score by 1/128 and the summary reports descriptive standard error. Artifact contract: complete Hugging Face causal-LM exports under run output area>; at most three valid artifacts are accepted by numeric progress. ``

The proxy measures public v4/v5 rows while the final measures score-only v6 rows. They share the pinned prompt, greedy generation, and code executor, but not the problem set, so 13/204 and 15/128 must not be treated as draws from one distribution. A final result is official only when its summary.json and matching .complete receipt both exist.

3.2 How the baseline works

``text Fixed Qwen model + fixed CodeForces conversations -> chat-template tokenization of user and assistant messages -> assistant tokens are targets; the prompt prefix receives label -100 -> Hugging Face Trainer backpropagates completion-only causal cross-entropy into all model parameters -> step-based evaluation/checkpointing and a complete model export ``

The shipped defaults use MAX_LENGTH=32768, per-device batch 3, gradient accumulation 6, learning rate 1e-5, warmup ratio 0.03, cosine-with-minimum learning rate at a 0.1 floor, bf16, and gradient checkpointing. The agent explicitly identified the 60-step schedule as the main bottleneck: on the actual L20D throughput it does not express either the four-hour exploration window or the twelve-hour formal window. It did not establish a long-run, multi-epoch overfitting point before submission.

4. Four-hour exploration and decision process

The run began around 13:38. It started public baseline evaluation and data inspection in parallel, implemented the candidate, attempted a fixed-step reproduction, tested wall-clock training, then concentrated on checkpoint mechanics, proxy comparisons, and final smoke checks. Repeated polling and duplicate debugging are consolidated below.

U-01 - Establish the proxy baseline and audit training rows

Motivation and hypothesis. A trustworthy candidate comparison needs a public baseline and a clear account of weak supervision in the fixed corpus.

Changes and setup. No code change. The fixed start was evaluated on public health_64 and confirmation_204; the 8,133 rows were audited. There were 7,771 finish_reason=stop rows, 362 other finish reasons, and 177 interactive rows; the two filter classes account for 529 rows in the selected training pool.

Observed result. Baseline health was 4/64 = 0.0625 (stderr 0.03026). Baseline confirmation was 12/204 = 0.05882 (stderr 0.01647), with one clipped extraction. Sampled sequence lengths had median about 13.5k tokens and maximum about 27.8k, below the 32,768 limit.

Agent interpretation. Non-stop references were treated as truncated thoughts/programs, and interactive references as an offline-grading mismatch; removing them should reduce weak or irrelevant supervision.

Report assessment and confounds. The filter changes the data distribution and is not a neutral cleanup. A one-problem difference on one public slice is not evidence of generalization.

Decision and impact. The filter hypothesis was adopted together with length grouping and wall-clock training; the final data boundary remained separate.