Dataset Viewer
Auto-converted to Parquet Duplicate
name
stringlengths
3
18
split
stringclasses
1 value
game
stringlengths
3
18
source
stringclasses
1 value
prompt
stringlengths
4.65k
16.6k
system_prompt
stringclasses
1 value
episodes
int64
1k
1k
task_id
int64
0
321
family
stringclasses
2 values
upstream_source_url
stringlengths
120
135
upstream_revision
stringclasses
1 value
native_source_url
stringlengths
111
138
βŒ€
marusansi
train
marusansi
synth
Write from scratch the weights of a policy network that plays Marusansi as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits`...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
0
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/marusansi.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameMarusansi.c
thunder
train
thunder
synth
Write from scratch the weights of a policy network that plays Thunder as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
1
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/thunder.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-11-games/blob/6fea4eefe2deaa42706051d96a04ec9e36104696/docs/thunder/main.js
up_shot
train
up_shot
synth
Write from scratch the weights of a policy network that plays Up Shot as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
2
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/up_shot.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/upshot/main.js
ladder_drop
train
ladder_drop
synth
Write from scratch the weights of a policy network that plays Ladder Drop as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edit...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
3
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/ladder_drop.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameLadderDrop.c
scrambird
train
scrambird
synth
Write from scratch the weights of a policy network that plays Scrambird as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits`...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
4
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/scrambird.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/scrambird/main.js
battle_zone
train
battle_zone
synth
Write from scratch the weights of a policy network that plays Battle Zone as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edit...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
5
atari_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/battle_zone.py
4038830175c4201ca10e004ed4441985f2acddf2
null
b_blast
train
b_blast
synth
Write from scratch the weights of a policy network that plays B Blast as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
6
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/b_blast.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameBBlast.c
zaxxon
train
zaxxon
synth
Write from scratch the weights of a policy network that plays Zaxxon as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` co...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
7
atari_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/zaxxon.py
4038830175c4201ca10e004ed4441985f2acddf2
null
cate_p
train
cate_p
synth
Write from scratch the weights of a policy network that plays Cate P as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` co...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
8
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/cate_p.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/catep/main.js
tt_fence
train
tt_fence
synth
Write from scratch the weights of a policy network that plays Tt Fence as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` ...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
9
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/tt_fence.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/ttfence/main.js
cross_line
train
cross_line
synth
Write from scratch the weights of a policy network that plays Cross Line as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
10
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/cross_line.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/crossline/main.js
geocent
train
geocent
synth
Write from scratch the weights of a policy network that plays Geocent as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
11
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/geocent.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/geocent/main.js
skiing
train
skiing
synth
Write from scratch the weights of a policy network that plays Skiing as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` co...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
12
atari_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/skiing.py
4038830175c4201ca10e004ed4441985f2acddf2
null
monkey_t
train
monkey_t
synth
Write from scratch the weights of a policy network that plays Monkey T as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` ...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
13
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/monkey_t.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameMonkeyT.c
zip_fall
train
zip_fall
synth
Write from scratch the weights of a policy network that plays Zip Fall as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` ...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
14
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/zip_fall.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameZipFall.c
hoard_spout
train
hoard_spout
synth
Write from scratch the weights of a policy network that plays Hoard Spout as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edit...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
15
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/hoard_spout.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameHoardSpout.c
twin_jumpers
train
twin_jumpers
synth
Write from scratch the weights of a policy network that plays Twin Jumpers as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edi...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
16
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/twin_jumpers.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameTwinJumpers.c
block_stacker
train
block_stacker
synth
Write from scratch the weights of a policy network that plays Block Stacker as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `ed...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
17
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/block_stacker.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameBlockStacker.c
phoenix
train
phoenix
synth
Write from scratch the weights of a policy network that plays Phoenix as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
18
atari_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/phoenix.py
4038830175c4201ca10e004ed4441985f2acddf2
null
graveler
train
graveler
synth
Write from scratch the weights of a policy network that plays Graveler as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` ...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
19
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/graveler.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/graveler/main.js
c_nodes
train
c_nodes
synth
Write from scratch the weights of a policy network that plays C Nodes as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` c...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
20
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/c_nodes.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/cnodes/main.js
teeter
train
teeter
synth
Write from scratch the weights of a policy network that plays Teeter as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` co...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
21
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/teeter.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/abagames/crisp-game-lib-games/blob/cfb39d2f988feb5918eb83697145b5a35adabf58/docs/teeter/main.js
b_math
train
b_math
synth
Write from scratch the weights of a policy network that plays B Math as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edits` co...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
22
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/b_math.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameBMath.c
timber_test
train
timber_test
synth
Write from scratch the weights of a policy network that plays Timber Test as well as possible. There is no training, data, loss, gradients, fine-tuning, code execution, calculator, or environment feedback. This is one response. Briefly describe the strategy and hidden units, then provide the weights in the final `edit...
You directly program neural-network weights. Follow the task constraints exactly.
1,000
23
crisp_synthetic
https://github.com/Trajectorylabs/minatar-synth/blob/4038830175c4201ca10e004ed4441985f2acddf2/minatar_synth/games/timber_test.py
4038830175c4201ca10e004ed4441985f2acddf2
https://github.com/joyrider3774/crisp-game-lib-portable-sdl/blob/04bc2c4cfc2853628eda25a46190bb7ac6fe216a/src/games/gameTimberTest.c
End of preview. Expand in Data Studio

WeightProgramBench

Write the weights of a small game-playing neural network in one response, without tools. Each task provides the game rules, observation layout, game source, and network format. A CPU scorer reads numeric tensor assignments and plays the resulting policy; it never executes model-written code or trains the submitted network. Reinforcement learning can train the language model between submissions.

This dataset preserves the expanded MinAtar Synth v4 corpus: 317 training games and five held-out original MinAtar games. It contains task prompts, game implementations, the frozen scorer, and source attribution. It does not contain reference solutions, model weights, or model-generated trajectories.

Splits

Split Games Family
Train 51 Atari-style synthetic Python conversions
Train 266 Crisp-inspired synthetic Python conversions
Test 5 Original MinAtar: Asterix, Breakout, Freeway, Seaquest, Space Invaders

Training environments are compact Python adaptations, not Atari ROM emulation or native Crisp gameplay. All use 10 Γ— 10 Γ— 6 binary observations. The five original MinAtar games have their observation channels mapped into the same six-channel input. The split holds out game identities; it does not establish that every test mechanic is absent from training.

Load the tasks

from datasets import load_dataset

tasks = load_dataset("neilkale/WeightProgramBench")
print(len(tasks["train"]), len(tasks["test"]))  # 317, 5
task = tasks["test"][0]
messages = [
    {"role": "system", "content": task["system_prompt"]},
    {"role": "user", "content": task["prompt"]},
]

Each row preserves the original fields name, split, game, source, prompt, system_prompt, and episodes. Additional columns are:

  • task_id: zero-based index in the original 322-row task file. These IDs are not renumbered within splits.
  • family: atari_synthetic, crisp_synthetic, or minatar_original.
  • upstream_source_url and upstream_revision: implementation provenance.
  • native_source_url: pinned native Crisp source, where applicable.

For reproducible experiments, pin the same dataset commit using revision= when loading tasks and downloading runtime files.

Policy and scoring

Every task uses a 600 β†’ 32 β†’ 32 β†’ 6 network with 20,486 float32 parameters, two tanh hidden layers, and softmax-sampled actions. All parameters start at zero. The model supplies numeric tensor assignments in a fenced edits block, following the task's format. The scorer validates assignments with Python's AST and literal parser; it does not execute the response as Python.

Each submitted policy plays 1,000 episodes:

  • Environment seed: 1729 + episode_index, covering 1729–2728.
  • Independent action RNG seed: 7919 + episode_index, covering 7919–8918.
  • Sticky-action probability: 0.1.
  • Episode limit: termination or 10,000 actions.
  • Original MinAtar difficulty ramping: disabled.

Seeds are fixed across games and submissions. The reward is clip(mean_game_score, 0, game_score_cap) / game_score_cap. Each synthetic game declares its own cap. Original MinAtar caps are 1,000, except Freeway's cap of 100. These scales do not make games equally difficult. Invalid submissions receive zero. Keep raw scores alongside normalized rewards when comparing policies.

The frozen runtime uses NumPy 2.3.4 and MinAtar 1.0.15. Policy inference and replay run on CPU. One policy's 1,000 episodes are one language-model sample, not 1,000 independent model generations.

Score a saved response locally

Install the replay dependencies; installing MinAtar without dependencies avoids adding optional visualization and training packages:

python -m pip install huggingface_hub 'numpy==2.3.4'
python -m pip install --no-deps 'MinAtar==1.0.15'

Save the model's complete response, including its edits block, in answer.txt. Then evaluate it against the matching game:

import json
from pathlib import Path
import sys
from huggingface_hub import snapshot_download

snapshot = Path(snapshot_download("neilkale/WeightProgramBench", repo_type="dataset"))
runtime = snapshot / "runtime"
sys.path.insert(0, str(runtime))
from verify import apply_edits, evaluate, score_cap

tasks = [json.loads(line) for line in (runtime / "tasks.jsonl").read_text().splitlines()]
task = next(task for task in tasks if task["game"] == "breakout" and task["source"] == "original")
answer = Path("answer.txt").read_text()
weights, edit_count = apply_edits(answer)
raw_score, mean_episode_length = evaluate(task["game"], task["source"], weights, task["episodes"])
cap = score_cap(task["game"], task["source"])
reward = min(max(raw_score, 0.0), cap) / cap
print({"raw_score": raw_score, "reward": reward, "mean_episode_length": mean_episode_length})

This example raises on malformed responses so local debugging is explicit. For the benchmark's invalid-submission handling, use verify.grade_answer(game, source, answer, episodes), which returns a reward and grading metadata. Full 1,000-episode replay can take several minutes, depending on the game and CPU.

The Trajectory integration lives in the WeightProgramBench cookbook PR. Model inference and training are separate from the local scorer.

Files and integrity

  • data/train.jsonl, data/test.jsonl: Hugging Face task splits with provenance columns added.
  • runtime/tasks.jsonl: byte-identical frozen task records in their original order, without added columns.
  • runtime/minatar_synth/games/: the 317 frozen Python training environments.
  • runtime/verify.py: frozen policy parser and CPU scorer.
  • runtime/source.json: SHA-256 digests for the original task file, scorer, and all 317 game files.
  • TASK_ORIGINS.json: per-game source mappings, pinned revisions, and prompt and implementation digests.
  • THIRD_PARTY_NOTICES.md, runtime/NOTICE.txt, and runtime/LICENSE-*: credits and applicable upstream notices.

Synthetic source revision: 4038830175c4201ca10e004ed4441985f2acddf2. Frozen task-file SHA-256: cc2d728fc3c820f217ecf43a4fdc0c9e2a5e292fcdd8b4afb0cb1d34774691e6.

Credits and licensing

The weight-space programming setup follows Rikiya Takehi, Jayden Teoh, Alex Zhang, and Omar Khattab's experiments, particularly Experiment 5. The expanded training environments come from Trajectory Labs, Jerry Chan, and contributors to MinAtar Synth. Crisp game designs and sources are credited to ABA Games and contributors, and the portable SDL/C versions to Joyrider3774 and contributors. Original MinAtar is by Kenny Young and Tian Tian.

Licensing differs by component: original MinAtar source is GPL-3.0, the cited native Crisp source collections carry MIT notices, and the original experiment's prompt/log materials are attributed under CC BY 4.0. The pinned MinAtar Synth repository does not declare a license for its converted implementations. This dataset does not assert a blanket license for those files. See THIRD_PARTY_NOTICES.md for the exact scopes and source links; the original MinAtar source embedded in prompts retains its GPL scope.

Downloads last month
489