Docs

What WeightBench measures, how a task is scored and audited, and how to run one.

What it measures

Whether a coding agent can turn what it knows about a kind of data (what doodles, heartbeats, chess positions or Python code look like) into the weights of a working network, without the usual route of training on examples. Each task fixes a small architecture and its exact forward pass; the agent writes code that sets every weight, then submits one safetensors file. Nothing about the held-out data is in the sandbox, and the sandbox has no network besides the agent's model API.

Rules

The task text gives each task's rules in full, including what knowledge of its domain is allowed. The whole session is recorded and read.

Scoring

Each task has a metric on held-out data (accuracy, balanced accuracy, Q3, mean squared error, or bits per symbol). Its baseline is a weak reference point the task text fixes and states: a little above chance or above the best constant prediction (0.15 where chance is 0.10; 0.3 for the activity and heartbeat tasks), the majority class, the mean, or a uniform model; and its trained reference is the same architecture trained by us on the task's training split. A trial's score is its metric's position between the two, clipped to [0, 1]; a missing or invalid submission scores 0, and a trial ruled a rule break scores 0.

Every agent runs every task three times (agents still running have fewer trials so far). An agent's cell score on a task is the mean of its trials' scores after rulings; its leaderboard score is the mean of its 21 cell scores. The ± is one standard error from trial-to-trial variation: SE = √(Σt st² / kt) / T, where st is the standard deviation of the agent's kt trial scores on task t and T = 21; the 95% interval is the score ± 1.96 SE. This SE answers how much the score would move if the same agent ran the same tasks again. The spread across tasks is a different question (how much the score depends on which tasks were picked); its SE is in the table below. "Before rulings" is the same mean with every trial at its graded score. An agent joins the leaderboard once it has a counted trial on every task.

AgentScoreSE, trials95% intervalSE, tasksBefore rulingsTrials
GPT-6.2 Astra62.8%0.6%61.6% – 63.9%5.2%62.8% ± 0.6%63
GPT-6.2 Sol50.1%2.0%46.3% – 54.0%4.6%51.6% ± 1.4%63
Opus 5.547.0%2.1%42.8% – 51.1%5.7%53.4% ± 1.7%63
GPT-6 Astra46.1%1.7%42.8% – 49.4%5.2%47.5% ± 1.1%63
GPT-6.1 Sol45.6%1.3%42.9% – 48.2%5.3%45.6% ± 1.3%63
GPT-6.1 Terra40.6%2.1%36.5% – 44.6%5.3%43.4% ± 1.6%63
Wonder Full 1.031.8%2.0%27.9% – 35.8%6.2%39.4% ± 1.0%63
Gemini 4 Carbon31.8%3.1%25.7% – 37.9%5.5%40.8% ± 2.6%63
Sonnet 5.528.1%2.6%22.9% – 33.2%4.8%49.4% ± 1.0%63
Gemini 4 Hydrogen27.7%1.7%24.3% – 31.1%6.2%39.2% ± 1.1%63
Kimi K3.1 Pro26.8%2.3%22.3% – 31.3%4.2%28.5% ± 2.0%63
Haiku 5.526.3%1.9%22.5% – 30.1%5.5%31.7% ± 1.3%63
GPT-6 Luna24.4%1.1%22.2% – 26.5%5.1%24.4% ± 1.1%63
DeepSeek V4.1 Flash14.5%1.5%11.6% – 17.4%4.3%30.4% ± 2.0%63
MiMo V2.6 Pro11.1%1.9%7.4% – 14.7%4.0%19.0% ± 1.7%63
GLM-5.37.5%2.1%3.4% – 11.6%2.5%26.6% ± 1.5%63

Three of the tasks predate the others and score differently. Qwen3.5-0.8B, BERT-Tiny and classic control combine several metrics: each metric's position between its floor and a trained reference, weighted, times the share of gate checks passed (the verifier audit's score). They ran in native-001 with three trials per agent (MiMo V2.6 Pro's, GLM-5.3's, Gemini 4 Hydrogen's, Gemini 4 Carbon's, Wonder Full 1.0's, GPT-6.2 Sol's and GPT-6.2 Astra's trials each ran later, in the k=3 run), and their published folders here are the ones without the optional hint.

Method audit

Two reviewer models of different families (Claude Opus 5.5 and GPT-6.1 Sol) read each recorded session against the task's rubric and flag training, fitting, running the network or computing statistics from examples. Since 2026-11-13 they judge only what a session executed (its tool calls and their outputs) and the files it wrote, for every agent; steps that exist only in a model's visible reasoning do not count, since Codex sessions do not record theirs. Flags are evidence; a ruling decides. A trial ruled a rule break scores 0 and keeps its graded score on record.

Rulings made so far, under that rule: every trial of the k=3 record named under Reproduce. That is three trials of Opus 5.5, Sonnet 5.5, GPT-6.1 Sol, Haiku 5.5, DeepSeek V4.1 Flash, Kimi K3.1 Pro, MiMo V2.6 Pro, GLM-5.3, GPT-6 Astra, GPT-6 Luna, GPT-6.1 Terra, Gemini 4 Hydrogen, Gemini 4 Carbon, Wonder Full 1.0, GPT-6.2 Sol and GPT-6.2 Astra on all 21 tasks; on Qwen, BERT-Tiny and classic control they are native-001's trials, except MiMo V2.6 Pro's, GLM-5.3's, Gemini 4 Hydrogen's, Gemini 4 Carbon's, Wonder Full 1.0's, GPT-6.2 Sol's and GPT-6.2 Astra's, which ran in the k=3 run. Each trial both reviewers passed is clean. Each both failed on executed steps is a rule break. Each split was reviewed again by both and then read.

GPT-6.2 Sol and GPT-6.2 Astra (three trials each on all 21 tasks, run and ruled on 2026-11-18) ran on Codex 0.166.0 with codex-acp 2.7.0, the first Codex release OpenAI's backend serves these models to on a ChatGPT login; the other GPT rows ran Codex 0.159.3 with codex-acp 2.0.1. Their record is tasks/weightbench/gates/weightbench-1.1-k3-gpt62.json.

Run a task

Every task page has its BenchFlow task folder: the instruction (task.md), the agent's sandbox (environment/), the grader (verifier/) and an oracle (oracle/), with a download and a file browser. With the open BenchFlow SDK (0.10 or later), unpack a folder and run an agent on it:

tar xzf wbp-f-eurosat.tar.gz
bench run ./wbp-f-eurosat -a claude-agent-acp -m claude-opus-5-5 -e max
bench run ./wbp-f-eurosat -a codex-acp -m gpt-6.1-sol -e max

Withheld from every folder: the grader's held-out test data and the trained reference network's weight file (the task pages draw its first layer for comparison). Each task says how many files it withholds. Without them the agent side runs end to end, but the grader stops without a score.

Reproduce

WeightBench 1.0 is registry entry weightbench@1.1 in tasks/weightbench/registry.json: these 21 task folders, each pinned to its freeze commit, scored from the k=3 runs and rulings of 2026-11-13 to 2026-11-18 (the record is tasks/weightbench/gates/weightbench-1.1-k3.json with its Kimi K3.1 Pro batch weightbench-1.1-k3-kimi.json, its MiMo V2.6 Pro batch weightbench-1.1-k3-mimo.json, its GLM-5.3 batch weightbench-1.1-k3-glm.json, its GPT-6 Astra, GPT-6 Luna and GPT-6.1 Terra batch weightbench-1.1-k3-codex.json, its Gemini 4 Hydrogen batch weightbench-1.1-k3-hydrogen.json, its Gemini 4 Carbon batch weightbench-1.1-k3-carbon.json, its Wonder Full 1.0 batch weightbench-1.1-k3-wonder.json and its GPT-6.2 Sol and GPT-6.2 Astra batch weightbench-1.1-k3-gpt62.json, the rulings tasks/weightbench/audit/weightbench-1.1/RULINGS.md, RULINGS-kimi.md, RULINGS-mimo.md, RULINGS-glm.md, RULINGS-codex.md, RULINGS-hydrogen.md, RULINGS-carbon.md, RULINGS-wonder.md and RULINGS-gpt62.md) and, for Qwen, BERT-Tiny and classic control, native-001's three trials per agent and its A2 rulings (MiMo V2.6 Pro's, GLM-5.3's, Gemini 4 Hydrogen's, Gemini 4 Carbon's, Wonder Full 1.0's, GPT-6.2 Sol's and GPT-6.2 Astra's from their k=3 batches). The entry is named 1.1 because weightbench@1.0 was already taken, by the sixteen-task set the k=3 run was first scoped to, and pinned records cite both names; the public name of the 21-task set is WeightBench 1.0.

Cite

@misc{weightbench2026,
  title  = {WeightBench: can coding agents write neural-network weights by hand?},
  author = {BenchFlow team},
  year   = {2026},
  note   = {https://www.benchflow.ai/weightbench}
}

Credits

The task pages' file browser is the BenchFlow file browser (bf-filetree). Its icons are the ones @pierre/trees draws, and its code colours are the Pierre Light and Pierre Dark themes from @pierre/theme 2.0.0 (Apache-2.0: license, notice). Its tree runs on @pierre/trees 1.0.0-beta.5 (Apache-2.0: license, notice), with Preact (MIT: license, render-to-string); code is highlighted with Prism 1.30.0 (MIT: license). The page layout and leaderboard format are adapted from SkillsBench (Apache-2.0, license). The agents' brand marks are from @lobehub/icons-static-svg 1.102.0 (MIT), and Xiaomi's from simple-icons 13.21.0 (CC0-1.0). Type: BenchFlow Sans Display and BenchFlow Mono (OFL, OFL). Training examples on the task pages come from each dataset's public training split.