Benchmarks

Coding

ProgramBench

Building from scratch: recreating software behavior using only an executable and its documentation

What it measures

ProgramBench was introduced by researchers at Meta Superintelligence Labs, Stanford University and Harvard University to test whether coding agents can design and implement complete programs from scratch. Its 200 tasks range from CLI utilities such as jq and ripgrep to SQLite, FFmpeg and PHP, with more than 248,000 behavioral tests in total.

Think of receiving a machine without its blueprints: you can press buttons, observe the outputs and read the manual, but cannot look inside; the agent must build a replacement with matching observable behavior. Agents can execute the reference binary but cannot access its source, decompile it or retrieve implementations from the internet; they must choose the language, architecture and module boundaries and submit source code with a build script.

Hidden tests compare the candidate with the original, and a task counts as resolved only when every behavioral test passes. Unlike DeepSWE tasks that modify an existing repository, this benchmark emphasizes starting from a blank slate, discovering requirements and verifying completeness; the official leaderboard currently uses mini-SWE-agent, so results reflect both the model and that scaffold.

Reading the scores

Resolved is the share of tasks passing every hidden behavioral test, not the average test pass rate. Resolving 9 out of 200 programs gives 4.5%, even if many other programs pass numerous individual tests. Almost is the share of tasks passing at least 95% of tests and includes fully resolved tasks, so the two percentages must not be added; it is an auxiliary measure of partial progress. This snapshot contains all 21 model configurations on the official September 9, 2026 leaderboard, retaining published effort settings; the default order is Resolved, then Almost, then average test pass rate. Low scores reflect the strict requirement to recreate complete programs, and 0% does not mean no coding ability; finite tests cannot prove equivalence for every possible input. Factory’s study in our selected readings uses a curated subset of 24 tasks and different execution setups, so its results must not be mixed with this full 200-task leaderboard.

SourceProgramBench · Meta / Stanford / Harvard

Related reading: Factory on completing large software tasks

Model performance

Checked 21 results

ProgramBench — Model performance. Select a column heading to sort.
Claude Opus 5 (xhigh)AnthropicAgent · mini-SWE-agent
mini-SWE-agent4.5%37.0%
GPT-5.6 Sol (xhigh)OpenAIAgent · mini-SWE-agent
mini-SWE-agent1.0%15.5%
GPT-5.5 (xhigh)OpenAIAgent · mini-SWE-agent
mini-SWE-agent0.5%13.5%
GPT 5.5 (high)OpenAIAgent · mini-SWE-agent
mini-SWE-agent0.5%5.0%
Gemini 3.6 FlashGoogleAgent · mini-SWE-agent
mini-SWE-agent0.5%4.0%
GPT-5.6 SolOpenAIAgent · mini-SWE-agent
mini-SWE-agent0.5%2.5%
Claude Opus 4.8 (xhigh)AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%16.5%
GLM-5.2Z AIAgent · mini-SWE-agent
mini-SWE-agent0.0%8.5%
Gemini 3.7 FlashGoogleAgent · mini-SWE-agent
mini-SWE-agent0.0%5.5%
Claude Opus 4.7 (xhigh)AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%4.5%
Gemini 3.5 FlashGoogleAgent · mini-SWE-agent
mini-SWE-agent0.0%3.0%
Claude Opus 4.7AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%3.0%
Claude Opus 4.6AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%2.5%
GPT 5.5OpenAIAgent · mini-SWE-agent
mini-SWE-agent0.0%1.5%
Claude Sonnet 4.6AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%1.0%
GPT 5.4OpenAIAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%
Gemini 3.1 ProGoogleAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%
Gemini 3 FlashGoogleAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%
Claude Haiku 4.5AnthropicAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%
GPT 5.4 miniOpenAIAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%
GPT 5 miniOpenAIAgent · mini-SWE-agent
mini-SWE-agent0.0%0.0%

⌘KSearch the knowledge base

RECENTLY ADDED

Loading the knowledge index…