A project of ISTC-CNR
Istituto di Scienze e Tecnologie della Cognizione

Research infrastructure · planning and decision-making

One data model for planning experiments.

Planning 101 (P101) stores planning and decision-making experiments of two or more steps, with people or artificial agents, in one schema. Each study is described as a task: states, actions, transitions, rewards. Each participant's behaviour is a sequence of steps in that task. Studies stored this way can be combined and read by the same code, from planning algorithms to large language models.

One move, one step Loading map…
statenone yet
actionnone yet
next statenone yet
Trial start

Click a node linked to the token.

Illustration, not data: a small map in the style of ThinkAhead (Eluchans et al., 2025). States and actions are written in the P101 form; the reward is 1.0 on the move that collects the last gem.

Schema
Version 0.2.0, 8 entities
Mapped
9 of 9 selected experiments, 35 mapping rules
Full build
1,686,072 steps of 4,872 subjects, 18 October 2026
Status
In development (v0.x); no public data release yet

Problem

Released datasets cannot be combined as they are.

Many planning studies publish their data, but reading it takes the study's own code and conventions. Four obstacles recur.

Every study, its own format

The nine studies P101 covers arrive as per-participant CSV files, MATLAB cell arrays, JSON tables and browser event logs, Python pickle files of data tables, a SQLite database and a text file of board positions coded as integers.

Situations written as codes

A choice is a key code or a screen side, a board position is packed into the bits of an integer, and a cell belongs to a maze shown rotated. Recovering the situation behind a choice means rerunning the logic of the task.

Sequences taken apart

Some releases keep a whole trial in one row, with the moves packed into lists; others keep one row per key press and leave the trial to be rebuilt. Which choice led to which situation has to be reconstructed each time.

Conventions left unstated

What was hidden from the participant sits next to what was seen, clocks start at different moments, and exclusions or dropped columns leave no trace in the processed file.

P101 addresses all four. Each conversion records what it did and keeps every record, states are written in one fixed form, hidden values are kept apart and every clock is declared. Analyses across studies, such as comparing people with planning agents, then read from one structure.

Multi-step

Built for decisions that unfold over steps.

In a single choice, one row per trial says everything. In planning, a choice matters through the situation it leads to and the choices it makes possible. These experiments study how far ahead people plan and what they find out before acting, and both show only in the sequence of choices. P101 is built around that sequence.

One choice is not a plan

A task with one choice per trial needs only a row per trial, and P101 is not designed for it. What P101 adds is the link between Steps: each Step ends where the next begins, so a choice can be read against the situation it led to and the choices that followed.

Two steps or more

The smallest case is the two-step task, where the first choice matters through the transition it causes. The nine studies range from two-step trials to whole games.

Information before action

A Step need not be a move. In Mouselab-MDP a click that reveals a hidden reward is a Step, because it changes what the participant knows.

Seen and hidden

A Task declares whether its state is fully observable. What the participant could not see, such as hidden rewards, goals or drifting reward probabilities, is stored outside the state, so a model can be given only what the participant saw while the hidden values stay available for analysis.

Data model

Three layers, eight entities.

The layers separate what a task is, how a study ran it, and what participants did. Each step belongs to one episode, each episode to one session, each session to one subject and one experiment, each experiment to one task. The links are enforced, so code written against them works on any P101 dataset.

Specification
TaskA decision problem: states, actions, transitions, rewards, what is observable.
Deployment
ExperimentOne study of a task: parameters, cover story, instructions, source.
SubjectOne participant, human or agent.
SessionOne sitting of a subject in an experiment.
Trace
EpisodeOne trial, from start to end.
StepOne transition: state, action, next state, reward, timing.
TraceOne sample within a step: finger, gaze, pupil.
MeasureOne answer to a probe about the task, e.g. a chosen subgoal.
A step, as storedThinkAhead, one move between two nodes
s_pre
{"node":"n_1","remaining":["g_2","g_3"]}
action
{"to":"n_2","type":"move"}
s_post
{"node":"n_2","remaining":["g_3"]}
reward
0.01.0 on the move that collects the last gem
t_step_onset_ms
3200
t_response_ms
3800
terminal
false
valid
trueInvalid steps are kept and flagged

One form per state

States and actions are written as JSON with a fixed key order, so equal states are equal strings in every study.

Seen and hidden

The state holds what the participant sees. Hidden parameters, such as reward probabilities, are stored apart.

Nothing dropped or invented

Invalid records are flagged, not removed. Every value comes from the source or is a declared placeholder.

Cover stories share a task

Two versions of one game, such as carpets and spaceships, are two experiments of one task.

Agents are subjects

An artificial agent is a subject of type agent, in the same tables as people.

Versions and provenance

Each dataset records the schema version, the rule and its version, the source version, and every derivation applied.

Experiments

Nine studies, 35 mapping rules.

The project selected nine experiments in September 2026 and mapped them in order of coding effort. For each study: the reasoning behind its conversion (what a sequence of decisions is, what one decision is, what stays out of the state), how its data become P101 steps, one trial as the database stores it, and the finding of the source paper recomputed from the converted data.

1ThinkAhead

Eluchans et al. (2025), Royal Society Open Science · DOI

Collect all gems on a map of nodes and links. Maps differ in how many gems ahead a player has to plan to solve them.

RationaleEach move on the map is a decision. The state is where the player stands and which gems remain, so two players at the same point of the same map are in the same state. The published table keeps only each trial's outcome; it is stored in the same task, so the game's move-by-move recordings fit beside it.

Rules
5: the main study at trial level, and four for the mobile game's logs and the ThinkAhead-2 touch and eye-tracking pilot (two at move level, two at event level). Their files are not in a repository the build can fetch, so these four are not in the full build.
State
{"node","remaining"}: the current node and the gems not yet collected.
Action
Main study: {"type":"solve_trial"}, one step per trial, since the release records no moves. Move-level rules: {"to","type"}.
Reward
synthetic_success_indicator: 1 on a success, a convention of the conversion. The game's own score is not in the release.
Clock
step_relative in the main study: onset 0, response the trial's total time.
Full source
160 participants, 17,782 trials, 394 maps (main study).
Licences
Article: CC BY 4.0 (publisher's page)
Code and data repository: No licence declared (repository at c44d513)
Recomputed from the converted data

Maps that need deeper planning are solved less often and more slowly. A planner limited to each map's required depth predicts best, on average, how many gems participants collect before their first step back.

One trial as storedS1, first problem · 1 step
step 0
s_pre{"node":"22","remaining":["10","13","16","18","20"]}
action{"type":"solve_trial"}
s_post{"node":"terminal","remaining":[]}
reward 1 · terminal true · 0 → 15868.7849 ms

The start node and the five gems are decoded from the trial's ID. The trial was solved, so the reward is 1 and no gems remain.

2Two-step task

Feher da Silva & Hare (2020), Nature Human Behaviour · DOI

Two choices in a row. The first usually leads to one place and occasionally to the other; the second is rewarded with slowly drifting probabilities.

RationaleA trial is two decisions linked by a transition, the structure the paper studies. The reward probabilities the participant could not see stay out of the state. The magic-carpet and spaceship stories, and the story-free version of Kool, Cushman and Gershman (2016) that Feher da Silva and Hare reanalysed, are versions of one task.

Rules
3: Magic Carpet, Spaceship, and the common-instructions data of Kool et al. (2016). The three are experiments of one Task.
State
{"stage":0}, then {"second_stage_state","stage"}.
Action
{"choice":"A"|"B"}, then {"choice":"o1"|"o2"}. A missed choice is {"timeout":true}, kept with valid = false.
Reward
drifting_bernoulli, recorded: the trial's 0 or 1 outcome, on the second step.
Clock
step_relative: each step's onset is 0 and its response the reaction time. The fixed screens between stages are not logged.
Also stored
The four reward probabilities, which participants do not see, on the Episode.
Licences
Article: Licence not confirmed (publisher's page)
Code and data repository: GNU GPL 3.0 or later (LICENSE.txt at 4567763)
Article of Kool, Cushman, Gershman (2016): CC BY 4.0 (publisher's page)
Code and data repository of Kool, Cushman, Gershman (2016): No licence declared (repository at 6f849e1)
Recomputed from the converted data

Repeat choices depend on reward and transition together (model-based pattern) with Magic Carpet and Spaceship; a mixed pattern with common instructions, as reported.

One trial as storedS1, Magic Carpet, main task, trial 0 · 2 steps
step 0
s_pre{"stage":0}
action{"choice":"B"}
s_post{"second_stage_state":"sB","stage":1}
reward 0 · terminal false · 0 → 735.3431611 ms
step 1
s_pre{"second_stage_state":"sB","stage":1}
action{"choice":"o1"}
s_post{"stage":"terminal"}
reward 1 · terminal true · 0 → 310.3965602 ms

Carpet B leads to sB by a common transition. Lamp o1 pays 1.

3Reduced two-step task

Kool, Cushman & Gershman (2016), PLOS Comput. Biol. · DOI

A variant of the two-step task: one of two start states is drawn, each first choice always leads to the same planet, and the second stage only collects that planet's points.

RationaleThe same two-step structure, with a fixed first transition. The state keeps where the trial started, because the paper asks whether a reward earned from one start changes the choice from the other. The planets' current values stay out of the state, since participants see only what they collect.

Rules
1: the novel paradigm.
State
{"stage":0,"start_state"}, then {"second_stage_state","stage"}.
Action
{"stimulus":n}, then {"type":"collect"}.
Reward
drifting_integer, recorded: the points collected, −4 to +5.
Clock
step_relative.
Full source
200 subjects, 30,000 episodes, 58,976 steps.
Licences
Article: CC BY 4.0 (publisher's page)
Code and data repository: No licence declared (repository at 6f849e1)
Recomputed from the converted data

After a reward, people return to the same place even from a different start, which requires knowing the task's structure.

One trial as storedS1, task trial 2 · 2 steps
step 0
s_pre{"stage":0,"start_state":"s2"}
action{"stimulus":4}
s_post{"second_stage_state":"p2","stage":1}
reward 0 · terminal false · 0 → 778 ms
step 1
s_pre{"second_stage_state":"p2","stage":1}
action{"type":"collect"}
s_post{"stage":"terminal"}
reward 4 · terminal true · 0 → 298 ms

Stimulus 4 is even, so it leads to planet p2, which pays 4 points.

4Chunking

Tomov et al. (2020), PLOS Comput. Biol. · DOI

Travel to a goal on a ring of stations. Some trips are trained far more often than others, which can lead people to group the stations like the neighbourhoods of a city.

RationaleEach move between stations is a decision; key presses that change nothing are kept with the trial but are not decisions. The state is the current station and the goal, so the groups people form show in the routes they take. Test trials, which score only the first move, are marked apart from training.

Rules
10: the ten conditions of Experiments 1 to 5 (of 8), with a local view or a full map.
State
{"goal","node"}.
Action
{"to":"n_k"}, the next station. Key presses that move nothing give no step.
Reward
synthetic_goal_indicator: 1 on reaching the goal, a convention. No reward was paid per trial.
Clock
episode_real_time: a press's time is the running sum of the recorded reaction times. Where presses moved nothing, the task's key handler is replayed to find the moves.
Full source
918 subjects, 90,087 episodes, 295,157 steps.
Licences
Article: CC BY 4.0 (publisher's page)
Code and data repository: No licence declared (repository at 2ba7fa6)
Recomputed from the converted data

On the ambiguous test route, the first move follows the learned groups. The published counts are reproduced in all 10 conditions (58 of 87 participants in Experiment 1).

One trial as storedS1, first training trial (Experiment 5) · 3 steps
step 0
s_pre{"goal":"n_8","node":"n_9"}
action{"to":"n_8"}
s_post{"goal":"n_8","node":"n_8"}
reward 0 · terminal false · 0 → 3397 ms
step 1
s_pre{"goal":"n_8","node":"n_8"}
action{"to":"n_9"}
s_post{"goal":"n_8","node":"n_9"}
reward 0 · terminal false · 3397 → 8855 ms
step 2
s_pre{"goal":"n_8","node":"n_9"}
action{"to":"n_8"}
s_post{"goal":"n_8","node":"n_8"}
reward 1 · terminal true · 8855 → 10539 ms

Seven key presses, three moves. The walk passes the goal at step 0 and ends on it at step 2.

5Task decomposition

Correa et al. (2023), PLOS Comput. Biol. · DOI

Learn an eight-node map by moving through it, then answer questions about it, such as which stop you would aim for first between a start and a goal.

RationaleEach move along an edge is a decision. The state names the map the participant learned, since node numbers mean nothing from one map to the next. The questions about the map, such as which stop to aim for, are answers about the task rather than moves, and are stored beside the routes.

Rules
1: the pre-registered experiment.
State
{"goal","node","world"}: world names the participant's graph, since node numbers mean nothing across graphs.
Action
{"to":"n_j"}.
Reward
synthetic_goal_indicator, a convention.
Clock
episode_real_time, from the onset of the navigation screen.
Measures
The 21 probes of each complete run, with the node chosen as the answer.
Full source
1,049 subjects, 58,201 episodes, 138,065 steps.
Licences
Article: CC BY 4.0 (publisher's page)
Code and data repository: No licence declared (repository at fd4d89a)
Recomputed from the converted data

Navigation is near optimal; subgoal answers concentrate on shared choices. A coarse check: the paper's model comparison is not recomputed.

One trial as storedS1, third navigation trial · 4 steps
step 0
s_pre{"goal":"n_2","node":"n_0","world":"g_16"}
action{"to":"n_5"}
s_post{"goal":"n_2","node":"n_5","world":"g_16"}
reward 0 · terminal false · 0 → 4664 ms
step 3
s_pre{"goal":"n_2","node":"n_7","world":"g_16"}
action{"to":"n_2"}
s_post{"goal":"n_2","node":"n_2","world":"g_16"}
reward 1 · terminal true · 10975 → 12111 ms

Four moves to the goal against an optimal cost of 2. Only the last step is rewarded.

6Value-guided construal

Ho et al. (2022), Nature · DOI

Steer through mazes with walls and obstacles to a goal, then rate or recall the obstacles. In two experiments the obstacles stay hidden until pointed at with the mouse before the first move.

RationaleEvery attempted move is a decision, moves into walls included, so the path is complete. Most rounds show a maze rotated or flipped: the state holds what the participant saw, and the original maze is kept, so rounds of the same maze can be compared. Reports about the obstacles are answers about the task and are stored beside the path.

Rules
7: Experiments 1, 2, 3, 4a, 4b, 6a and 6b (of 9); the perceptual controls record no moves.
State
{"maze","x","y"}. A press into a wall stays a step, with the next state equal to the state.
Action
{"move":"left"|"right"|"up"|"down"}.
Reward
bonus_not_recorded_per_move: the step's reward is 0; the bonus paid is on the Session.
Clock
episode_real_time, from the start of the round.
Measures, Traces
Awareness and recall probes and hover times as Measures; in Experiments 4a and 4b the cursor samples as Trace rows (nearly all of the full build's 7.2 million).
Licences
Article: Licence not confirmed (publisher's page)
Code and data repository: No licence declared (repository at 983f2c7)
vgc_project package (setup.py): MIT (vgc_project/setup.py at 983f2c7)
Recomputed from the converted data

Awareness, recall and hover time follow the obstacles that a simplified plan needs (the static value-guided construal model): twelve statistics of the authors' analyses are reproduced.

One trial as storedS1, Experiment 1, round 0 · 17 steps
step 0
s_pre{"maze":"grid-8-0-base","x":10,"y":0}
action{"move":"left"}
s_post{"maze":"grid-8-0-base","x":9,"y":0}
reward 0 · terminal false · 0 → 1070 ms
step 11
s_pre{"maze":"grid-8-0-base","x":3,"y":4}
action{"move":"up"}
s_post{"maze":"grid-8-0-base","x":3,"y":4}
reward 0 · terminal false · 3335 → 3450 ms · blocked by a wall
step 16
s_pre{"maze":"grid-8-0-base","x":2,"y":7}
action{"move":"up"}
s_post{"maze":"grid-8-0-base","x":2,"y":8}
reward 0 · terminal true · 4699 → 4872 ms

Step 11 meets a wall, so the position does not change. The other 16 presses equal the shortest route.

7Navigation with rollouts

Jensen, Hennequin & Mattar (2024), Nature Neuroscience · DOI

Find a hidden reward in a 4 × 4 maze, then return to it again and again from other places. In the main experiment the maze's edges wrap around; in a control they do not.

RationaleEach return to the goal is its own sequence of decisions, starting from a new place, and each key press is a decision. The goal's location is unknown until found, so it is kept out of the state and the task is declared partially observable.

Rules
2: the main experiment, with periodic boundaries, and the control without them.
State
{"maze","x","y"}: maze is a digest of the walls and boundary rule. The goal is stored apart, since it is hidden until found.
Action
{"move":…}, one key press.
Reward
task_goal_event, recorded: 1 on a press that reaches the goal.
Clock
episode_real_time, from the start of each journey to the goal.
Full source
Periodic: 116 subjects, 50,659 episodes, 226,401 steps. Control: 63, 39,397, 145,202.
Licences
Article: CC BY 4.0 (publisher's page)
Code and data repository: No licence declared (repository at a9c03b4)
Recomputed from the converted data

People think longer before a move the farther they are from the goal. The 94 analysed participants are reproduced, and the correlation of thinking time with goal distance is close to the published one (0.259 against 0.272; the authors keep only the moves their network had time for).

One trial as storedS2, trial play04, second journey · 3 steps
step 0
s_pre{"maze":"wea8c88acef39","x":0,"y":1}
action{"move":"right"}
s_post{"maze":"wea8c88acef39","x":1,"y":1}
reward 0 · terminal false · 0 → 1126 ms
step 1
s_pre{"maze":"wea8c88acef39","x":1,"y":1}
action{"move":"up"}
s_post{"maze":"wea8c88acef39","x":1,"y":2}
reward 0 · terminal false · 1126 → 1707 ms
step 2
s_pre{"maze":"wea8c88acef39","x":1,"y":2}
action{"move":"up"}
s_post{"maze":"wea8c88acef39","x":1,"y":3}
reward 1 · terminal true · 1707 → 2049 ms

The journey starts 400 ms after the previous goal press. The third press reaches the goal.

8Mouselab-MDP

Callaway et al. (2022), Nature Human Behaviour · DOI

Reveal rewards hidden in a small graph, each click costing time, then choose a route from the start to an end.

RationaleClicks and moves are both decisions: a click changes what the participant knows, a move changes where they are. The state holds the current node and the values revealed so far; values still hidden stay out of it. The paper studies which nodes people inspect before acting, so inspection is part of the sequence.

Rules
5: Experiments 1 to 4 and a supplementary experiment.
State
{"at","revealed","trial"}: the current node and the rewards revealed so far.
Action
{"click":n} or {"move":n}: clicks and moves are two kinds of step.
Reward
sum_of_node_rewards, recorded: a move earns the node's value; a click earns 0, its cost is time.
Clock
episode_real_time; Experiment 4 records no times (ordinal).
Also stored
The hidden rewards, which participants do not see, on the Episode.
Licences
Article: Publisher's exclusive licence (publisher's page)
Code and data repository: No licence declared (repository at e7baaa7)
Recomputed from the converted data

People mostly click next to what they already know, and on the most promising path. The participant counts and the published shares of best-first (81.5%), expanding (92.4% and 92.8%) and interleaved (3.9%) clicks are reproduced; with the participants who withdrew consent removed, 20 of the 26 statistics are still checked exactly.

One trial as storedS1, Experiment 1, test trial 15 · 8 steps
step 0
s_pre{"at":0,"revealed":{},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
action{"click":9}
s_post{"at":0,"revealed":{"9":10.0},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
reward 0 · terminal false · 0 → 885 ms
step 5
s_pre{"at":0,"revealed":{"10":-10.0,"13":10.0,"14":10.0,"16":10.0,"9":10.0},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
action{"move":13}
s_post{"at":13,"revealed":{"10":-10.0,"13":10.0,"14":10.0,"16":10.0,"9":10.0},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
reward 10 · terminal false · 14542 → 16242 ms
step 7
s_pre{"at":14,"revealed":{"10":-10.0,"13":10.0,"14":10.0,"16":10.0,"9":10.0},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
action{"move":16}
s_post{"at":16,"revealed":{"10":-10.0,"13":10.0,"14":10.0,"16":10.0,"9":10.0},"trial":"4O8nSiCFkbB-A0FcZsRAU31"}
reward 10 · terminal true · 17074 → 17835 ms

Five clicks, then three moves. A move earns the value of the node it reaches.

9Four-in-a-row

van Opheusden et al. (2023), Nature · DOI

Two players take turns placing a piece on any empty square of a board of four rows by nine columns; four in a row wins.

RationaleEach player's side of a game is a sequence of decisions. The opponent's reply is treated as the environment's response, as in a one-player task, so the same tools apply. A position is written the same way in every game, so positions can be matched across games and players.

Rules
1: the human-vs-human games. The paper's other experiments are released on OSF only.
State
{"board","to_move"}: four rows of nine characters.
Action
{"col","row"}.
Reward
game_result: +1 on a winning move, −1 when the opponent's reply wins, computed from the positions.
Clock
episode_real_time, from the game's start.
Episode
One player's side of one game; the opponent is part of the environment (decision D6, provisional).
Full source
40 participants, 325 games, 5,482 moves.
Licences
Article: Publisher's exclusive licence (publisher's page)
Code and data repository: No licence declared (repository at d276900)
Recomputed from the converted data

The games' outcomes (150 won by Black, 116 by White, of 325), the positions with two open threes and the chance level of move prediction are reproduced exactly from the converted games.

One trial as storedS1, game 1, as Black · 5 steps
step 0
s_pre{"board":[".........",".........",".........","........."],"to_move":"black"}
action{"col":8,"row":3}
s_post{"board":[".........",".........","....W....","........B"],"to_move":"black"}
reward 0 · terminal false · 0 → 12245 ms
step 4
s_pre{"board":[".....BW..",".....B...","....WWW..","...B....B"],"to_move":"black"}
action{"col":7,"row":2}
s_post{"board":[".....BW..",".....B...","...WWWWB.","...B....B"],"to_move":"black"}
reward -1 · terminal true · 117824 → 119958 ms

The next state includes the opponent's reply. At step 4 the reply completes four white pieces in row 2, so the reward is −1.

The examples come from the samples committed with the code, as in the application's presentation; subjects appear as S1 and S2. Times are in milliseconds on the rule's clock. “Recomputed” findings are the reproduction checks declared in each rule, run on the full source data; the reports are in docs/reproductions/. Each dataset remains the work of its authors.

Available

  • Schema, validation and versioned output (Parquet or CSV)
  • Rules for all nine experiments, with reproduction checks and audits against the source
  • Rule builder for new datasets, with optional AI assistance
  • Conversion of many files at once, and of trials split across files
  • The P101 database of every dataset, each step traced to its rule and source row
  • A release export: the entity tables, a flat Steps view and a record of what each release holds
  • Simulators: Magic Carpet and ThinkAhead replays; planning agents

Next

  • The other four-in-a-row experiments, with gaze
  • Tomov et al. Experiment 7 (rewards)
  • Release v0.2
  • One analysis run unchanged on every dataset

Process

From a study's files to one database.

Four stages, each a page of the P101 application. The conversion also runs from the command line.

  1. 1 · MapMapping rule

    Build Mapping Rules

    A rule says where each P101 field is in the study's files. Rules for the mapped experiments are stored with the code; on this page new ones are written and stored ones read and edited.

  2. 2 · ConvertP101 dataset

    Map datasets to P101

    The rule is applied to the data files. The result is validated and written with its provenance. An invalid result is not written.

  3. 3 · AssembleP101 database

    Build database

    Every dataset is stored in one database, every entity and field kept. Each step traces back to the rule applied and the source row it came from.

  4. 4 · ReplayRound trip

    Simulators

    Sessions are replayed from converted data under the task's rules. A round trip checks that they equal replays of the original files. Available for Magic Carpet and ThinkAhead.

Command line: python -m planning101.ingest <paradigm> --manifest <rule> --out <dir> --reproduce

A mapping rule, excerpt · manifests/thinkahead_trial_events_json.yaml
streams:
  - role: steps                 # each event becomes a step
    record_path: "TrialEventData"
    state_fields: ["touchedNode"]
    onset: {kind: field, field: "time", unit: s}
  - role: trace                 # finger samples
    record_path: "UserTrajectory"
    offset: {kind: field, field: "x", unit: s}   # x is the clock
    channels: {y: "y", z: "z"}
  - role: episode_extras        # trial summary
    fields: {trial_score: "TrialScore"}
On the committed example, one trial file gives22 stepsfinger samples (Trace)trial summary (Episode extras)

What a mapping rule declares

A rule is a YAML file in manifests/. The paradigm's ingest code carries it out, and its semantic audit checks the result against the source.

  • the source repository, the commit it pins and the files it reads;
  • how each source field becomes a P101 field, or why it is left out;
  • the fields that are private and never converted;
  • the clock convention, the fixed delays and the reward kind;
  • the published results the converted data must reproduce.

Validation

Four checks, and an independent review.

Checks 1 and 2 run on every conversion; a failure stops the write. Check 3 recomputes a published result. Check 4 compares the converted data with the source files themselves.

  1. 1

    Schema

    Types, required fields, links between entities, the chain of steps in each episode, the integrity of samples and measures.

  2. 2

    Task rules

    Each action is legal in its state and leads to a possible next state. Applied where the task's rules are known; otherwise recorded as not applied.

  3. 3

    Reproduction

    A finding of the source paper is recomputed from the converted data. The findings checked are listed with each study above.

  4. 4

    Semantic audit

    The audit reads the source files itself. Every unit must be converted or left out for a documented reason, every field declared, and every converted value equal to the source's. It also links each step to its source row.

Each audit has tests showing that it fails when a value, a unit or a field is lost. The audits pass on every committed sample and on the full source of the 31 rules in the full build.

The review of 18 October 2026

An independent validation reviewed the v0.1 sample database and its flat export, in one coordinating section and eight reports, one per paradigm. The response maps each finding to a fix, a decision held for later, or a stated reason for no change. The fixes came in eight work packages, among them:

  • every rule declares its clock convention, and the two-stage tasks use step-relative clocks;
  • a timeout at the first stage of the two-stage tasks is one flagged step;
  • Tomov et al. moves are timed by replaying the task's key handler;
  • every episode has a trial role, and the trials Jensen et al.'s files record twice are flagged;
  • labels and reward declarations say what the data are, with a generated conventions page;
  • a release export with a typed flat view of the Steps.

After the fixes, the rules whose conversion or audit changed were converted again from their full sources: every audit passed, with the same reproduction results (docs/validation/).

Conventions

What the values mean.

Studies record time and reward in different ways. Each rule declares the convention its values follow, so a reader can tell a recorded payment from a convention of the conversion. Counts are of the 35 rules.

Clocks

ConventionMeaningRules
episode_real_timeOnsets and responses on one real clock from the start of the episode.29
step_relativeEach step's onset is 0 and its response the reaction time; the time between steps is not recorded.5
ordinalNo times recorded; the onset is the step's index.1

Step-relative: the four rules of the two-stage family and the ThinkAhead trial summary. Ordinal: Callaway et al., Experiment 4.

Rewards

What Step.reward holds, by kind.

Recorded by the source12 rules

The reward as the source records it.

drifting_bernoullidrifting_integersum_of_node_rewardstask_goal_eventgame_result
A convention of the conversion14 rules

1 on reaching the goal or on a success; not a payment the source records.

synthetic_goal_indicatorsynthetic_success_indicator
Not recorded per step9 rules

0: a bonus was paid but not per move, or nothing is rewarded at that level.

bonus_not_recorded_per_moveevent_flag_onlynone_recorded_at_sample_granularity

Trial roles

Every episode carries one role, so an analysis can select the trials of interest without the source's own codes.

main
a trial of the task
practice
a rehearsal trial before the task
tutorial
an instructed trial before the task
filler
a trial between the trials of interest
probe
a trial that tests what was learned
duplicate_record
the source holds the same trial twice, press for press; the copy's steps are valid = false
possible_duplicate_record
the same trial and start time as the previous one, with different presses

The conventions page, generated from the rules, lists each rule's clock, fixed delays and lock-outs, reward kind, trial roles, outcomes and known source quirks (docs/conventions.md).

Models

One base for algorithms and for language models.

P101 is meant as common ground for computational accounts of planning, whether they are written as algorithms or built on large language models (LLMs). Both read the same Steps.

Without LLMs

Learning and planning algorithms

  • Learning models. Each Step is a transition (state, action, reward, next state) in a declared task: the input of reinforcement-learning models and of the model-based and model-free accounts fitted to two-step data.
  • Planners and search. The task's states and actions are declared and its transition rules are coded, so a planner can run on the decisions people faced. The simulators replay recorded sessions of the magic-carpet two-step task and of ThinkAhead and let agents play them: a random agent on the first; shortest-path, random and depth-limited planner agents on ThinkAhead, the planners reimplemented from the ThinkAhead paper.
  • Response times. Each Step has an onset and, where the source records one, a response time, on the clock its conversion declares: the input of models of how long people think before acting.
  • Counts and comparisons. Equal states are equal strings, so visit counts, transition estimates and comparisons across subjects need no study-specific code.
With LLMs

Language models, as readers and as players

  • Text without decoding. States and actions are short JSON texts with fixed keys, so a language model can read a Step without the study's own code. The map or maze a state names is stored with its Episode or Session.
  • Prompts without leaks. Hidden values sit outside the state, so a prompt built from a Step's state gives the model only what the participant saw, and its choice can be scored against the participant's choice in the same state.
  • Context for a prompt. The Task describes the problem in words, and the Experiment records its cover story and instructional condition where the study has them. These are notes for researchers; a prompt still has to spell them out.
  • Transcripts from structure. A trial can be written out as text from its Steps. The simulators already narrate magic-carpet and ThinkAhead trials in plain lines; there is no transcript exporter yet. Collections such as Psych-101 (Binz et al., 2025) train and test models of cognition on transcripts of this kind; P101 keeps the states, transitions, hidden values and times such transcripts can be written from.
  • Models as subjects. The schema has a Subject of type agent, with the model's name, its parameters and its random seed, in the same tables as people. A language model that plays a task can be stored there and compared with people state by state; none has been run on these tasks yet.

One Step, as stored

s_pre
{"goal":"n_2","node":"n_5","world":"g_16"}
action
{"to":"n_4"}
s_post
{"goal":"n_2","node":"n_4","world":"g_16"}
reward
0 · not the end
times
onset 4664 ms · response 7387 ms

The same Step, as text

On graph 16 you are at node 5, and your goal is node 2. You move to node 4, 2.7 seconds after the previous move. No reward yet.

A Step from the task-decomposition study (Correa et al., 2023), timed from the start of the trial. The first panel is what P101 stores; the second is one way to render it as text. Stopped before the move, the same text becomes a question, and a language model's answer can be scored against the stored action.

Access

Data access and privacy.

The database is not yet released.

How a release works

  • A release holds each dataset as the eight entity tables (Parquet) with its dataset_meta.yaml, a flat Steps view (CSV and XLSX), the conventions page, and RELEASE.yaml: the versions, the commit, and each dataset included or left out, with the reason.
  • Its metadata are a DCAT catalogue of the release (catalog.jsonld) with its Dublin Core record (catalog_dublin_core.xml) and, for each dataset, a DCAT record (dcat.jsonld) and a Dublin Core record (dublin_core.xml).
  • A release built from the sample database is marked DEMO in its folder name, its RELEASE.yaml and its README.
  • The database itself is a build artefact. With the code, one command rebuilds it from the pinned sources: python -m planning101.database build.

Privacy

  • Identifiers, free text and quiz answers are not converted. Fields a rule declares private, and any identifier-like field (worker, assignment or Prolific ids, tokens, emails), are removed from the stored source rows.
  • The rules leave out the time of day of the Callaway et al. and Jensen et al. sessions, and Jensen et al.'s trial dates.
  • Participants of Callaway et al. who withdrew consent are removed with their trials and only counted (decision D12).
  • This page shows aggregate figures and examples from the committed samples, with subjects as S1 and S2. It shows no data from the ThinkAhead mobile-game logs or the ThinkAhead-2 pilot.

Application

The P101 application.

The application runs the same conversion code as the command line, one page per use. In the Experiments Explorer, each rule runs by default on a small sample of its source that is stored with the code.

Open the P101 application
experiment.planning101.app

Presentation

The project: problem, data model, process, status.

Experiments Explorer

The nine selected experiments, their mapping rules, and what each rule makes of the original data.

Build Mapping Rules

Write a mapping rule for a dataset that has none; read and edit the stored rule files.

Map datasets to P101

Convert data files with an existing rule.

Build database

Build the P101 database from the built-in rules, add converted datasets; browse it, each row traced back to its rule and source row.

Simulators

Replay sessions from P101 data; watch agents play ThinkAhead maps.

Team

A project of ISTC-CNR.

Planning 101 is a project of the Institute of Cognitive Sciences and Technologies (ISTC) of the National Research Council of Italy (CNR).

Consiglio Nazionale delle Ricerche ISTC-CNR, Istituto di Scienze e Tecnologie della Cognizione
ISTC
Istituto di Scienze e Tecnologie della Cognizione
Institute of Cognitive Sciences and Technologies
CNR
Consiglio Nazionale delle Ricerche
National Research Council of Italy

People

Giovanni Pezzulo
Mattia Eluchans
Gianguglielmo Calvi

The data of the nine experiments come from the authors of the original studies, listed in the references.

References

Papers and standards.

The nine selected experiments

Papers and the code or data released with them.

  1. Adaptive planning depth in human problem-solving. Eluchans, Lancia, Maselli, D'Alessandro, Gordon & Pezzulo (2025). Royal Society Open Science 12(4), 241161. DOI · Code
  2. Humans primarily use model-based inference in the two-stage task. Feher da Silva & Hare (2020). Nature Human Behaviour 4(10), 1053–1066. DOI · Code
  3. When does model-based control pay off? Kool, Cushman & Gershman (2016). PLOS Computational Biology 12(8), e1005090. DOI · Code
  4. Discovery of hierarchical representations for efficient planning. Tomov, Yagati, Kumar, Yang & Gershman (2020). PLOS Computational Biology 16(4), e1007594. DOI · Code
  5. Humans decompose tasks by trading off utility and computational cost. Correa, Ho, Callaway, Daw & Griffiths (2023). PLOS Computational Biology 19(6), e1011087. DOI · Code
  6. People construct simplified mental representations to plan. Ho, Abel, Correa, Littman, Cohen & Griffiths (2022). Nature 606, 129–136. DOI · Code
  7. A recurrent network model of planning explains hippocampal replay and human behavior. Jensen, Hennequin & Mattar (2024). Nature Neuroscience 27(7), 1340–1348. DOI · Code
  8. Rational use of cognitive resources in human planning. Callaway, van Opheusden, Gul, Das, Krueger, Griffiths & Lieder (2022). Nature Human Behaviour 6(8), 1112–1125. DOI · Data
  9. Expertise increases planning depth in human gameplay. van Opheusden, Kuperwajs, Galbiati, Bnaya, Li & Ma (2023). Nature 618, 1000–1005. DOI · Code

Background

The framing of the project and the conventions it follows.

  • Planning in the brain. Mattar & Lengyel (2022). Neuron 110(6), 914–934. DOI
  • Model-based influences on humans' choices and striatal prediction errors. Daw, Gershman, Seymour, Dayan & Dolan (2011). Neuron 69(6), 1204–1215. The original two-step task. DOI
  • A foundation model to predict and capture human cognition. Binz, Akata et al. (2025). Nature 644, 1002–1009. The Psych-101 collection of experiments. DOI
  • BIDS, the Brain Imaging Data Structure. The model for a declarative, shared data format. Site
  • PROV-O, the W3C provenance ontology. The vocabulary behind the provenance records. Spec

The P101 application

The experiments, their mapping rules and conversions, the P101 database and the simulators.