General Context Labs

Domains

Software Engineering

The hard part of a real feature is rarely the core idea. It's everything the feature touches. Coroutines in the Haxe compiler have to survive every loop, try/catch, and closure. Mergeable containers in Loro have to converge on every replica, whatever order the edits arrive in. Wide-column entities in RocksDB have to come back intact after flush, compaction, and garbage collection. Every task starts from a real upstream commit, and hidden tests probe exactly those corners.

Software Engineering results
Software Engineering results Pass@1 results
#ModelPass@1Avg tokensAvg steps
1GPT-6 Astra xhigh60.42%36.1M136
2Claude Opus 5.5 max50%91.8M253
3GPT-6.1 Sol max50%29.3M129
4Claude Sonnet 5.5 max50%147.3M352
5Qwen3.8 Max xhigh12.5%91.8M328
6Grok 4.7 xhigh6.25%62.2M252
7Kimi K3 max4.17%93.1M411
8GPT-5.6 Sol max2.08%201.7M622
9GLM 5.3 Flash max2.08%244.1M941
10Muse Spark 1.3 max2.08%132.4M524
11Gemini 3.8 Flash high0%153.0M487
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
43%pixi Rich Platform Specifiers4/41/43/44/44/41/41/40/41/40/40/4
34%RocksDB Wide-Column Blobs4/44/44/40/40/40/40/42/40/41/40/4
34%systemd OCI Image Pull3/44/44/44/40/40/40/40/40/40/40/4
25%MiniZinc Named Arguments4/42/44/41/40/40/40/40/40/40/40/4
23%Turso MVCC Sequences2/43/43/42/40/40/40/40/40/40/40/4
20%Loro Mergeable Containers4/41/41/43/40/40/40/40/40/40/40/4
18%Ash Temporal Resources1/41/43/42/40/40/41/40/40/40/40/4
18%Logseq DB Sync over Cloudflare1/43/40/42/41/40/40/41/40/40/40/4
16%OCaml Polymorphic Parameters2/42/40/43/40/40/40/40/40/40/40/4
11%Coroutines in Haxe2/41/40/42/40/40/40/40/40/40/40/4
9%egglog Container Proofs0/40/42/41/41/40/40/40/40/40/40/4
9%mypy Closed TypedDicts2/42/40/40/40/40/40/40/40/40/40/4

Example task · 4 hours · OCaml

Task overview. Haxe is an open-source language whose compiler is written in OCaml, which turns a program into many targets (C++, Python, etc). This task asks the agent to ship coroutines to the compiler, starting from the upstream commit. Each language construct has to survive a pause: loops, break and continue, switch, try/catch, closures and evaluation order.

How it's graded. The compiler is rebuilt from the agent's commit in a separate environment and tested on both the eval interpreter and JavaScript: 15 of the project's existing test suites with no new failures, every test in hxcoro's own suite, and 177 hidden generated programs in six families (sequential flow, value positions, exceptions, captured variables, concurrent tasks and failures), compared on printed output. A run passes only if every suite passes and each family reaches 90%.

Toolchain
OCaml 5.3.0, opam, dune, Node.js 18, neko 2.3 (haxelib)
Compute
4 CPUs · 8 GB RAM
Time limit
4 hours

Other example tasks in Software Engineering

MiniZinc Named Arguments
MiniZinc is a constraint-modelling language used in operations research and scheduling. Add named arguments and default values to its function and predicate calls. The task is complete when the compiler parses, type-checks and evaluates named and default arguments correctly on the hidden test suite.
Loro Mergeable Containers
Loro is a CRDT library for building local-first collaborative apps. Implement mergeable child containers so that when two users concurrently create a named child inside the same parent, the results converge to a single shared container with correct persistence. The task is complete when concurrent creation, nested updates and reload all pass the hidden convergence tests.
OCaml Polymorphic Parameters
OCaml is a functional language with a strict static type system. Add polymorphic function parameters to its compiler, so a function can take an argument it uses at two different types. The task is complete when hidden programs type-check or fail exactly as the language rules require, and every program accepted today keeps its type and meaning.