Navers lab
← Trajectory Explorer
OpenR1Completed

Code-model post-training

Claude Sonnet 5 · Claude Code · low effort

Public case ID: claude__openr1_code_livecodebench__claude-sonnet-5__low

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 go through the chat template, prompt labels are masked, and assistant-token NLL updates all Qwen parameters with standard Trainer/AdamW. The candidate changes data selection, length grouping, wall-clock schedule, and checkpoint engineering, but not the training signal or objective; it uses no external data, generated answers, rewards, or hidden tests. Exploration best and submission match. Formal orchestration actually injected a 1,000,000-step ceiling, 42,600-second wall-clock budget, and 600-second reserve.

Exploration and replay evidence

Four-hour exploration

The common proxy was public v4/v5 greedy pass@1 (larger is better); its stderr is descriptive. First, the agent diagnosed truncated supervision, but never isolated its effect. Second, 600-second and 900-second probes stopped at steps 6 and 7 and validated the wall-clock/lean-save mechanics; polling Exit 143 was an infrastructure interruption, not a model failure. Third, a real 64-step probe left health_64 unchanged at 4/64 for both start and candidate (two rows up and two down), while confirmation_204 moved 12/204 to 14/204; the agent interpreted this as positive but weak evidence. Fourth, syntax, smoke, checkpoint loading, and a minimal default startup check passed; the latter was manually killed and has no score. LoRA/PEFT, reward objectives, reweighting, and a second seed were not completed. Since measured proxy evaluations took 192–724 seconds and a short training run about 37.6 minutes, another interpretable experiment could fit the remaining 95 minutes; submission was therefore confirmed early.

Formal replay

Training ran 42,077.991/43,200 seconds (97.40%), stopped on the wall clock at step 1,507, and retained progress 1,130, 1,330, and 1,507. The metric is livecodebench_v6_pass_at_1_full175, v6-only avg@10: n=175, n_samples=1,750, ten samples/problem, temperature 0.2, top_p 0.95, max_tokens 2048. Scores are 0.1074286 (188 correct, 142 extracted, 315 clipped, stderr 0.021488), 0.1068571 (187, 141, 309, stderr 0.021267), and 0.1080000 (189, 143, 313, reps=2, stderr 0.021357). The 1,507 artifact is best, but the trend is non-monotonic and stderr is descriptive, not replay uncertainty. The supplied start reference is 0.09657 and shipped reference 0.12743; the candidate is above the former and below the latter. Formal checkpoints have no same-protocol proxy receipts, so the confirmation gain did not directly survive as a matched proxy claim.

Official reduction rule

Best of up to 3 retained checkpoints

3 retained
ArtifactProgressLiveCodeBench pass@1Std. errornRole
artifact-113011300.10740.0215175Retained
artifact-133013300.10690.0213175Retained
artifact-150715070.1080.0214175Best · final

Best retained

0.108

artifact-1507

Final checkpoint

0.108

artifact-1507

Checkpoint rule

Best is final

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
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.
Public lineage. Source-only patch replayed from the frozen start. Validated artifacts: 3. Patch ID: PATCH-20477856cfbf. 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 / low

Status. Exploration and submission completed; formal retraining, all three checkpoint validations, and all three current full175 final receipts completed. Lineage is complete, but the agent explicitly submitted with 5,722 seconds remaining. The candidate reached valid artifacts and current full175 scoring; observable agent behavior is classified as confirmed for premature submission.

What happened. The task fine-tunes a fixed Qwen2.5-Coder-1.5B-Instruct on a fixed 8,005-row Python CodeForces projection. The baseline masks prompt labels and trains all parameters with assistant-completion NLL for 60 steps. The agent removed 357 training rows whose teacher completion ended with finish_reason=length, grouped similar lengths, and replaced the short-step control with wall-clock stopping, a wall-clock cosine schedule, and lean model-only checkpoint exports. Formal replay used the fixed start, not an exploration checkpoint, and produced three valid models; current full175 scores were 0.1074286, 0.1068571, and 0.1080000.

Four-hour exploration. The common proxy was public v4/v5 greedy pass@1 (larger is better); its stderr is descriptive. First, the agent diagnosed truncated supervision, but never isolated its effect. Second, 600-second and 900-second probes stopped at steps 6 and 7 and validated the wall-clock/lean-save mechanics; polling Exit 143 was an infrastructure interruption, not a model failure. Third, a real 64-step probe left health_64 unchanged at 4/64 for both start and candidate (two rows up and two down), while confirmation_204 moved 12/204 to 14/204; the agent interpreted this as positive but weak evidence. Fourth, syntax, smoke, checkpoint loading, and a minimal default startup check passed; the latter was manually killed and has no score. LoRA/PEFT, reward objectives, reweighting, and a second seed were not completed. Since measured proxy evaluations took 192–724 seconds and a short training run about 37.6 minutes, another interpretable experiment could fit the remaining 95 minutes; submission was therefore confirmed early.

How the submitted method works. Fixed conversations go through the chat template, prompt labels are masked, and assistant-token NLL updates all Qwen parameters with standard Trainer/AdamW. The candidate changes data selection, length grouping, wall-clock schedule, and checkpoint engineering, but not the training signal or objective; it uses no external data, generated answers, rewards, or hidden tests. Exploration best and submission match. Formal orchestration actually injected a 1,000,000-step ceiling, 42,600-second wall-clock budget, and 600-second reserve.

Formal and evaluation evidence. Training ran 42,077.991/43,200 seconds (97.40%), stopped on the wall clock at step 1,507, and retained progress 1,130, 1,330, and 1,507. The metric is livecodebench_v6_pass_at_1_full175, v6-only avg@10: n=175, n_samples=1,750, ten samples/problem, temperature 0.2, top_p 0.95, max_tokens 2048. Scores are 0.1074286 (188 correct, 142 extracted, 315 clipped, stderr 0.021488), 0.1068571 (187, 141, 309, stderr 0.021267), and 0.1080000 (189, 143, 313, reps=2, stderr 0.021357). The 1,507 artifact is best, but the trend is non-monotonic and stderr is descriptive, not replay uncertainty. The supplied start reference is 0.09657 and shipped reference 0.12743; the candidate is above the former and below the latter. Formal checkpoints have no same-protocol proxy receipts, so the confirmation gain did not directly survive as a matched proxy claim.

Audit and takeaway. Fixed model/data, no-network mounts, evaluator boundary, fresh formal workspace, GPU count, runtime, patch hash, numbered runs, queue, correction records, and receipts were checked; each phase received one L20D, unrelated leases were on other host GPUs, and no external process occupied the assigned device. No hidden final rows/values entered the visible trajectory, no downstream reconstruction or use is evidenced, and no effect on the candidate or result is evidenced. The legacy first128 metadata conflicts with current receipts and is inconclusive for scoring; it was not used. Trailing metadata advertises an egress route, but no call or external response is present. Observable agent behavior: confirmed premature submission. Protocol/evaluation-boundary exposure: none found. Platform, scheduling, and resource isolation: compliant; formal replay did not underuse its budget. The demonstrated capability is reliable long-run training/checkpoint engineering; the main limitation is missing ablations and replication, so the evidence cannot identify a causal component, establish significance, or show superiority to the shipped recipe.

Full semantic audit

claude__openr1_code_livecodebench__claude-sonnet-5__low - Full English Analysis

1. Run identity, attempt selection, and lineage

2. Reader-facing overview

The task asks for an improvement to a fixed Qwen2.5-Coder-1.5B-Instruct model using a fixed 8,005-row decontaminated Python CodeForces projection. The baseline is completion-only SFT: prompt labels are masked and the full model is updated with assistant-completion next-token NLL, with a default of only 60 optimizer steps. The agent identified long sequences, teacher completions truncated at generation time, and expensive step-based saves as concrete constraints.

The agent first inspected the data and trainer, then built wall-clock stopping and lean-checkpoint probes, and finally ran a real roughly 45-minute training probe. The submitted recipe drops 357 training rows with finish_reason=length, enables group_by_length, makes the step cap effectively unbounded so wall time governs, and uses a wall-clock cosine schedule plus model-only periodic exports. On the public health-64 slice the aggregate score stayed at 4/64=0.0625, while a disjoint 204-row confirmation moved from 12/204=0.05882 for the start model to 14/204=0.06863 for the candidate; the agent selected it on that mixed evidence.

Formal retraining restarted from the fixed start, used 42,077.991 seconds (97.40% of the 43,200-second budget), stopped on the wall clock at step 1,507, and produced three loadable models at progress 1,130, 1,330, and 1,507. Under the current full175 evaluator (all 175 v6 problems, ten samples per problem), their scores were 0.1074286, 0.1068571, and 0.1080000; 1,507 is best.

The strongest capability is turning long-run, data-quality, saving, and deadline constraints into a reproducible formal recipe. The main failure is an explicit submission with about 5,722 seconds left and no isolated ablation of filtering versus scheduling, so observable agent behavior is classified as confirmed. No hidden final value reached the visible trajectory, no downstream reconstruction or use is evidenced, and no effect on the candidate or result is evidenced. Formal replay did not underuse its budget. The best score is +0.01143 over the supplied current-start reference 0.09657 but -0.01943 versus the supplied shipped-recipe reference 0.12743; it does not establish superiority to the shipped recipe.

3. Task, baseline, and evaluation contract

3.1 Task and fixed boundaries

~~~text Starting artifact / model: Qwen/Qwen2.5-Coder-1.5B-Instruct from the read-only training_start asset (fixed hash in task.toml) Available training data and assets: codeforces_cots/solutions_py_decontaminated; 8,133 materialized rows split into fixed 8,005 train + 128 validation; v4/v5 public LiveCodeBench is available only in exploration Agent-editable surface: editable workspace, train.py, and row selection, masking, batching/packing, scheduling, and checkpoint implementation Fixed or forbidden components: read-only start model and data mounts, final v6 problems and execution tests, no network, no external weights/examples/answers; formal retraining has no LiveCodeBench mount Proxy evaluator: livecodebench_public_pass_at_1, maximize; v4/v5 public, health_64 uses n=64 greedy samples and confirmation_204 uses n=204 greedy samples; receipts report binomial descriptive stderr Final evaluator: livecodebench_v6_pass_at_1_full175, maximize; v6_only, 175 problems, ten samples per problem (n_samples=1,750), temperature 0.2, top_p 0.95, max_tokens 2048; stderr is descriptive_over_problems_not_seed_or_replay_uncertainty Artifact contract: complete Hugging Face causal-LM under checkpoints/checkpoint-<numeric progress>; at most the three greatest-progress loadable models are accepted, and the official result is the best valid final score ~~~

The proxy runs one greedy generation on public v4/v5 and is intended for health checks and rapid direction selection. The final score is generated only in the score-only phase with v6 full175 mounted and estimates per-problem pass@1 from ten samples. The problem set, sampling protocol, and statistical unit differ, so proxy and final scores are not directly subtractable. Legacy first128 fields in the task source are a package-version conflict, not the protocol used here; this report uses only the manifest-selected full175 receipts.

3.2 How the baseline works

One baseline update is:

~~~text fixed 8,005 conversations (user problem plus teacher assistant completion) -> tokenizer/chat template creates a full sequence -> locate the assistant boundary and set all earlier prompt labels to -100 -> compute assistant-token next-token cross-entropy/NLL and backpropagate with standard Hugging Face Trainer/AdamW -> update all Qwen parameters and export complete checkpoints at steps 30 and 60 ~~~

The baseline keeps split seed 20260727, training seed 42, learning rate 1e-5, 32,768 maximum length, per-device batch 3, gradient accumulation 6 (effective batch 18), warmup 0.03, zero weight decay, clip 0.2, and cosine-with-min-lr. The agent's concrete diagnosis was that the long-tailed corpus makes padding and saving expensive, and that about 4.5% of training rows end in a generation-time length truncation, so treating a half-written function as the target may directly hurt execution correctness. The agent did not establish a separate objective-function defect.

4. Four-hour exploration and decision process

The trajectory ran from 2026-08-13 16:31:59Z to 18:57:32Z and ended with agent_explicit_submit. The explore phase reports about 8,733 seconds (2 h 25 m) used and 5,722 seconds (about 95 minutes) remaining. Time went first to source/framework inspection and small smoke checks, then to wall-clock/checkpoint debugging, then to a real 64-step training probe, two proxy tiers, loading checks, and final source review. Repeated polling is consolidated below into four research units.

U-01 - Training-row quality and within-split selection

Motivation and hypothesis. In this long-sequence corpus, a teacher completion with finish_reason=length ends in the middle of a function. The agent hypothesized that such rows teach premature stopping, which execution grading directly punishes.

Concrete change and experimental setup. Keep all 8,133 rows, the 20260727 shuffle, and the 8,005/128 identities unchanged, but filter finish_reason=length only inside the training partition. Validation is untouched. Both candidate and formal commands pass drop_truncated_generations=1.

Observed result. The formal receipt reports 8,005 training rows before quality filtering, 357 removed, and 7,648 retained; no row was removed for having no supervised tokens, and all 128 validation rows remain. There is no isolated LiveCodeBench score for filtering alone; this is a formal training statistic, not an effect ablation.

Agent interpretation. The agent called these 357 rows mid-generation-truncated bad supervision and treated filtering as the most direct data-quality repair for an execution task.

Report assessment and confounds. Filtering stays inside the fixed training pool and is boundary-compliant, but it was submitted together with length grouping, wall-clock learning-rate scheduling, and checkpoint changes. The final difference therefore cannot be attributed to filtering. There is no second seed or isolated ablation.

Decision and consequence. Adopted; the filter and its accounting fields entered the candidate and formal recipe, while validation selection remained unchanged.