// Frontier SWE

Five long-horizon tasks, measured on thirty rollouts

An implementation of an extended FrontierSWE: what a task is, the taxonomy every task is placed in, and five tasks measured on thirty Claude Opus 5.5 rollouts.

01Task taxonomy

Each task belongs to one of three categories, set by what the agent starts with and how the result is graded. Subcategories within a category fix the grading method. Where this batch sits is highlighted in blue.

ImplementationThe agent builds a whole program or subsystem
aTranslation
The original source, to move to another language or framework with the same behaviour. The same inputs go to both versions and outputs must match byte for byte.
bImplementation from spec 4 in this batch
No source for the target: docs or a spec, and at most a probe that returns the original's outputs. Hidden requests go to the build and to the reference.
OptimizationA working baseline, a measurement tool, and a counted metric to beat
aSpeed 1 in this batch
The runtime cost of a hot path, priced as instruction count under a pinned emulated CPU so results are hardware-independent. Correctness gate: every output hashes identically to the baseline.
bSize
A deliverable that must reproduce a fixed corpus exactly, compressed smaller than a standard codec. Gate: a clean-room decode reproduces every file byte for byte.
cQuality
A better solution than a strong baseline to a hard combinatorial problem under a fixed budget, re-scored by a deterministic simulator.
ML / researchData, an environment or a scientific problem, scored on inputs never seen
aTrain from scratch
A model implemented and trained from a spec with no given weights, scored on a held-out metric against a baseline.
bAdapt base weights
Given open weights fine-tuned as an adapter or model, scored on a hidden eval the verifier runs itself.
cAgents & games
A policy, search engine or bot, scored on play against hidden seeds, positions, maps or opponents.
dCompress weights
A trained model made smaller or cheaper under a fixed budget, with quality kept on a hidden eval.
eFrozen-model systems
A system around fixed, hash-checked weights, scored on a hidden query set.
fVisual reasoning
A renderer or encoder that reproduces the original's frames or images, scored on pixel or signal error against the original on hidden inputs. Covers animation renderers, barcode encoders and image readers.
gScientific computing
A program that computes a scientific quantity within the domain's constraints, with numbers within a stated tolerance of the original on fresh seeded inputs. Named solver domains include compressible-flow CFD and Poisson–Boltzmann.

02The five tasks

ShapoGFX frame reproduction

Implementation from spec
re-implementationC++17gold 23,967 lines

A 2D, vector, skeletal and 3D renderer, shipped as an execute-only binary. The agent writes its own renderer and must reproduce the original's frame buffers byte for byte on scenes it has never seen.

Graded on
Each frame scores half on exactly matching pixels and half on mean error, averaged within six equally weighted feature families, rescaled so the public upstream project scores zero.
Gates
Determinism and input-sensitivity probes per family, a fresh grading container holding only the renderer, symlink rejection, and every frame valid.
Result
Mean 0.845 over six rollouts, range 0.653 to 0.967.

sextant SVG reproduction

Implementation from spec
re-implementationC++20gold 58,203 lines

A plotting library that emits SVG. The agent rebuilds it so that its output matches the original byte for byte across eight equally weighted figure families, from line and scatter charts to contour, polar and multi-panel layouts.

Graded on
Half byte-exact SVG and half a raster pixel score, with family scores rescaled so the public upstream scores zero.
Gates
Per-family determinism probes, a width-perturbation probe that proves the renderer actually responds to input, and a grading container that holds only the agent's renderer.
Result
Mean 0.408 over six rollouts, range 0.256 to 0.492.

CFD solver reproduction

Implementation from spec
re-implementationFortran original → C++gold 24,421 lines

A compressible finite-volume Euler and Navier–Stokes solver, available only as a binary. The agent rebuilds it so converged fields match on sixty hidden seeded decks.

Graded on
Fields within 1e-6 relative tolerance across six weighted families: ghost cells carry the heaviest weight, then Navier–Stokes and 3-D, then WENO3, MUSCL and first-order.
Gates
Offline build, determinism probe, and every case producing valid outputs.
Result
Mean 0.703, one rollout at 1.000, the widest spread in the batch. Every run matched nine or ten of ten first-order and MUSCL decks; ghost cells, Navier–Stokes and 3-D separated them.

BEM solvation solver reproduction

Implementation from spec
re-implementationRust original → C++gold 9,233 lines

A boundary-element solver for the linearised Poisson–Boltzmann equation with a Gaussian molecular-surface mesher, shipped run-only. The agent reproduces its meshes, solvation energies and potential grids on sixty hidden seeded molecules.

Graded on
A case matches when the mesh faces are identical with vertices inside tolerance and energies and potential grids are within 1e-6 relative, averaged over six equally weighted families.
Gates
Offline build, determinism probe, every case valid, and zero anchors that score 0.
Result
Bimodal: two rollouts reproduced five of six families exactly and scored 0.833, missing only the large-molecule preconditioner; four plateaued at 0.167 to 0.233.

dav1d RISC-V vector speed-up

Speed optimization
performance-optimizationC and RISC-V vectorgold 11,083 lines

dav1d is a production AV1 decoder with no RISC-V-specific code, so on a RISC-V vector CPU it runs only compiler-vectorized C. The agent makes it decode AV1 with as little work as possible on a fixed emulated CPU, without changing a single decoded byte.

Graded on
Instructions executed on the guest, priced by a published cost model, taken as the geometric mean of the speed-up over 8-bit camera and screen-content streams.
Gates
Every stream's MD5 identical to the reference build, damaged streams returning the same code, dav1d's own kernel tests passing across 1,606 functions, a C library call allowlist, and no system call of the library's own.
Result
Mean 0.784 over six rollouts, range 0.678 to 0.879, read as the fraction of the reference optimisation's 2.343x speed-up reached.

03Rollout scores

Six Claude Opus 5.5 rollouts per task, thirty in all, each graded by the task's own verifier. Each dot is one rollout.

ShapoGFX
CFD solver
dav1d
BEM solvation
sextant
0.000.250.500.751.00
TaskMeanRangeSpreadTool callsPeak contextGold lines
ShapoGFX0.8450.653–0.967σ 0.1191,290574k23,967
CFD solver0.7030.533–1.000σ 0.192363483k24,421
dav1d0.7840.678–0.879σ 0.075583344k11,083
BEM solvation0.4220.167–0.833σ 0.292276519k9,233
sextant0.4080.256–0.492σ 0.079572896k58,203

Tool calls are the per-rollout mean and peak context the median across the six rollouts. Spread is the standard deviation of the partial score. Gold lines count the original project's own implementation source, excluding tests, examples and bundled third-party code; for dav1d they count the reference optimisation's RISC-V vector code. dav1d's score is the fraction of that reference's speed-up reached, not an output-match score.