General Context Labs

Domains

Scientific Computing

Models are increasingly capable of scientific work, and benchmarks like Terminal-Bench Science are starting to measure it. These tasks push further, into problems where approximate answers don't pass: solving a stiff PDE to one part in a million, forecasting groundwater nitrate through decades of lag, and inferring matrix structure that linear-algebra rewrites can safely rely on.

Scientific Computing results
Scientific Computing results Pass@1 results
#ModelPass@1Avg tokensAvg steps
1GPT-6.1 Sol max75%44.8M145
2GPT-6 Astra xhigh56.25%48.8M150
3Claude Sonnet 5.5 max37.5%186.4M414
4Claude Opus 5.5 max31.25%94.6M231
5GPT-5.6 Sol max12.5%140.9M454
6Qwen3.8 Max xhigh6.25%90.1M266
7Muse Spark 1.3 max6.25%113.9M477
8Kimi K3 max6.25%61.8M263
9Gemini 3.8 Flash high0%92.3M325
10GLM 5.3 Flash max0%117.0M447
11Grok 4.7 xhigh0%35.7M158
How it's scored

Results by task

Task results by model. Use arrow keys to inspect cells.
Success %TaskAstraSol 6.1Sonnet 5.5Opus 5.5Qwen3.8Sol 5.6Kimi K3Grok 4.7Muse 1.3GLM 5.3Gemini 3.8
45%Cahn-Hilliard Solver3/44/44/44/41/42/41/40/41/40/40/4
18%PyTensor Matrix Assumptions4/43/40/41/40/40/40/40/40/40/40/4
14%SuperCollider Synth Resampling1/43/42/40/40/40/40/40/40/40/40/4
7%Groundwater Nitrate Legacy Lag1/42/40/40/40/40/40/40/40/40/40/4

Example task · 12 hours · C++

Task overview. The Cahn-Hilliard equation describes how a mixture separates into two phases, like oil and water settling out. Here it is forced and posed on an eccentric annulus, a ring whose hole is off-center, which makes the geometry and the numerics hard. The agent gets the problem only through black-box data oracles and has to write a C++ solver that matches the true solution to one part in a million, within fixed CPU and time limits.

How it's graded. The sources are built with a fixed command and run once per hidden instance under CPU and wall-clock limits scaled to the grading machine's speed. The solver passes only if the worst relative L2 error over all graded instances is at most 1e-6.

Toolchain
g++ 12.2 with OpenMP, Eigen 3.4, CMake 3.25, gdb 13.1, Python 3.12 (standard library)
Compute
4 CPUs · 8 GB RAM
Time limit
12 hours

Other example tasks in Scientific Computing

Groundwater Nitrate Legacy Lag
Nitrate from fertilizer can take decades to reach groundwater, because it is stored in the soil above the aquifer and in the aquifer itself. Predict how groundwater nitrate responds to proposed fertilizer programs from monitoring data, accounting for that multi-decade lag. The task is complete when the predictions are correct on the hidden program cases, including every fertilizer-cut case.
PyTensor Matrix Assumptions
PyTensor is the tensor library behind PyMC. Build a system that infers structural facts about matrices (diagonal, triangular, symmetric, positive definite) across a computation graph and lets the linear-algebra rewrites use them. The task is complete when every inferred fact is sound on hidden graphs and the rewritten graphs still compute the right answer.
SuperCollider Synth Resampling
SuperCollider is a real-time audio synthesis platform. Let a single synth run at its own block size and sample rate, resampling audio at its boundaries, in both of SuperCollider's servers. The task is complete when audio converts exactly at every boundary and real-time scheduling stays intact under the hidden tests.