Improving a primal-dual hybrid gradient solver
Improve a PyTorch primal-dual hybrid gradient solver.
Task and metric
Reward. Mean clipped negative-log optimality-error score over LPs, gated on PDHG compliance; failed cases contribute zero.
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
| Setup | Value |
|---|---|
| Research area | Infra & Systems |
| Direction | Higher is better |
| Baseline, hidden-test mean | 0.133 |
| Baseline, hidden-test std | 0.02478 |
| Theoretical best | 1 |
| Time budget | 2 h |
| Compute | 1 × H100 |
| GPU-hours | 2 |
Results
The two highest mean scores were 71.4 (GPT-6 Astra) and 71.2 (Claude Opus 5.5). Across all 13 models, the mean was 40.1 points. Of those, 13 averaged above baseline.
Mean hidden-test score by model
- Claude Code
- Codex
- Antigravity SDK
- Muse Code
- Grok Build
- Terminus 2
View data
| Label | Series | Mean score |
|---|---|---|
| GPT-6 Astra | Codex | 71.4 |
| Claude Opus 5.5 | Claude Code | 71.2 |
| Claude Fable 5.2 | Claude Code | 66.1 |
| GPT-6.1 Sol | Codex | 59.2 |
| Claude Sonnet 5.5 | Claude Code | 55.0 |
| GPT-6.2 Astra | Codex | 50.9 |
| Muse Wonder | Muse Code | 31.1 |
| Gemini 4 Carbon | Antigravity SDK | 30.8 |
| Qwen3.8-Max | Terminus 2 | 27.1 |
| Kimi K3 | Terminus 2 | 25.0 |
| Grok 4.7 | Grok Build | 13.1 |
| GLM-5.3 | Terminus 2 | 11.3 |
| DeepSeek V4.1 Flash | Terminus 2 | 9.2 |
Download CSV · 13 rows
| # | Model | Mean of 3 | Best of 3 | Attempts | Outcomes |
|---|---|---|---|---|---|
| 1 | GPT-6 Astra | 71.4 | 74.0 | 3 | 3 valid |
| 2 | Claude Opus 5.5 | 71.2 | 71.8 | 3 | 3 valid |
| 3 | Claude Fable 5.2 | 66.1 | 73.9 | 3 | 3 valid |
| 4 | GPT-6.1 Sol | 59.2 | 71.0 | 3 | 3 valid |
| 5 | Claude Sonnet 5.5 | 55.0 | 60.2 | 3 | 3 valid |
| 6 | GPT-6.2 Astra | 50.9 | 80.4 | 3 | 2 valid, 1 invalid |
| 7 | Muse Wonder | 31.1 | 37.5 | 3 | 3 valid |
| 8 | Gemini 4 Carbon | 30.8 | 46.6 | 3 | 3 out of time |
| 9 | Qwen3.8-Max | 27.1 | 57.3 | 3 | 3 valid |
| 10 | Kimi K3 | 25.0 | 39.2 | 3 | 3 valid |
| 11 | Grok 4.7 | 13.1 | 15.8 | 3 | 3 valid |
| 12 | GLM-5.3 | 11.3 | 17.0 | 3 | 3 valid |
| 13 | DeepSeek V4.1 Flash | 9.2 | 15.0 | 3 | 3 valid |
Statistics
| Statistic | Value |
|---|---|
| IRT difficulty | −1.64 |
| IRT discrimination | 0.98 |
| IRT pass bar (normalized score) | 5.7 |
| Attempts above the pass bar | 89.7% |
| Median share of time budget used | 80% |
| Median output tokens per attempt | 184k |
| Median validation runs per attempt | 8.5 |
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 3 of 39 attempts (Gemini 4 Carbon, out of time) was not recorded: the output-token and validation-run medians cover 36 attempts.
Validation and hidden test
| Validation measure | Value |
|---|---|
| Attempts with a recorded validation score | 33 |
| Attempts scoring at least 99 on validation | 6 |
| Mean hidden-test score for those attempts | 58.1 |