Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
23
26
goal
stringlengths
35
42
difficulty
stringclasses
4 values
max_depth
int64
2
12
num_craft_steps
int64
1
549
target_items
stringlengths
12
19
initial_inventory
stringlengths
26
684
gold_trajectory
stringlengths
97
63.3k
textcraft_synth.train.0
Craft the following items: 3x a1_i5
medium
5
22
{"a1_i5": 3}
{"raw_a1": 71, "raw_a9": 27, "raw_a4": 48, "raw_a0": 42, "raw_a3": 26, "raw_a2": 26, "raw_t0": 1}
[{"action": "craft", "target": ["a9_i1", 4], "ingredients": {"raw_a1": 8}, "result_count": 12}, {"action": "craft", "target": ["a2_i1_22", 4], "ingredients": {"raw_a9": 4}, "result_count": 8}, {"action": "craft", "target": ["a0_i1", 2], "ingredients": {"raw_a4": 4}, "result_count": 8}, {"action": "craft", "target": ["a...
textcraft_synth.train.1
Craft the following items: 3x a3_i6_6_13
medium
6
24
{"a3_i6_6_13": 3}
{"raw_a4": 56, "raw_a0": 18, "raw_a7": 4, "raw_a1": 51, "raw_a2": 31, "raw_a3": 43, "raw_a6": 7, "raw_a9": 18, "raw_o8": 2}
[{"action": "craft", "target": ["a0_i1", 2], "ingredients": {"raw_a4": 4}, "result_count": 8}, {"action": "craft", "target": ["a4_i1_24", 1], "ingredients": {"raw_a7": 1}, "result_count": 3}, {"action": "craft", "target": ["a1_i1_11", 1], "ingredients": {"raw_a1": 1}, "result_count": 3}, {"action": "craft", "target": [...
textcraft_synth.train.2
Craft the following items: 1x t9_i9_9_19
hard
9
131
{"t9_i9_9_19": 1}
{"raw_t1": 1347, "raw_t3": 838, "raw_t0": 1312, "raw_t4": 615, "raw_t8": 1020, "raw_t6": 421, "raw_t5": 1185, "raw_t9": 733, "raw_t7": 324, "m5_ore": 3}
[{"action": "craft", "target": ["t0_i1", 31], "ingredients": {"raw_t1": 62}, "result_count": 93}, {"action": "craft", "target": ["t6_i1", 43], "ingredients": {"raw_t3": 86}, "result_count": 172}, {"action": "craft", "target": ["t8_i1", 129], "ingredients": {"raw_t1": 129}, "result_count": 258}, {"action": "craft", "tar...
textcraft_synth.train.3
Craft the following items: 1x o6_i5
medium
5
25
{"o6_i5": 1}
{"raw_o2": 3, "raw_o5": 15, "raw_o7": 16, "raw_o3": 8, "raw_o9": 30, "raw_o8": 5, "raw_a0": 5, "raw_a9": 4}
[{"action": "craft", "target": ["o9_i1_19", 1], "ingredients": {"raw_o5": 1}, "result_count": 4}, {"action": "craft", "target": ["o0_i1_10", 1], "ingredients": {"raw_o7": 2}, "result_count": 3}, {"action": "craft", "target": ["o1_i1", 1], "ingredients": {"raw_o3": 2}, "result_count": 2}, {"action": "craft", "target": [...
textcraft_synth.train.4
Craft the following items: 3x c4_i6_6
medium
6
54
{"c4_i6_6": 3}
{"c1_ore": 54, "c9_ore": 152, "c3_ore": 72, "c4_ore": 54, "c6_ore": 89, "c8_ore": 36, "c5_ore": 209, "c7_ore": 46, "c2_ore": 23, "c0_ore": 31, "raw_o4": 4}
[{"action": "craft", "target": ["c0_i1", 6], "ingredients": {"c1_ore": 6}, "result_count": 18}, {"action": "craft", "target": ["c3_i1_13", 8], "ingredients": {"c9_ore": 8}, "result_count": 24}, {"action": "craft", "target": ["c4_i1_14", 5], "ingredients": {"c3_ore": 5}, "result_count": 15}, {"action": "craft", "target"...
textcraft_synth.train.5
Craft the following items: 2x a8_i11_11
extreme
11
163
{"a8_i11_11": 2}
{"raw_a1": 9161, "raw_a9": 2606, "raw_a4": 10577, "raw_a0": 5681, "raw_a3": 3293, "raw_a2": 1418, "raw_a6": 548, "raw_a7": 733, "raw_o8": 1, "raw_t6": 5, "raw_o3": 5}
[{"action": "craft", "target": ["a9_i1", 413], "ingredients": {"raw_a1": 826}, "result_count": 1239}, {"action": "craft", "target": ["a2_i1_22", 394], "ingredients": {"raw_a9": 394}, "result_count": 788}, {"action": "craft", "target": ["a0_i1", 166], "ingredients": {"raw_a4": 332}, "result_count": 664}, {"action": "cra...
textcraft_synth.train.6
Craft the following items: 1x c3_i3_13
easy
3
4
{"c3_i3_13": 1}
{"c5_ore": 6, "c0_ore": 6, "c1_ore": 5, "raw_t4": 5, "raw_t2": 3}
[{"action": "craft", "target": ["c9_i1_19", 1], "ingredients": {"c5_ore": 2}, "result_count": 3}, {"action": "craft", "target": ["c1_i1_11", 1], "ingredients": {"c5_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["c6_i2", 1], "ingredients": {"c9_i1_19": 1, "c0_ore": 2}, "result_count": 3}, {"action": "craf...
textcraft_synth.train.7
Craft the following items: 2x o8_i10_10
extreme
10
135
{"o8_i10_10": 2}
{"raw_o9": 1939, "raw_o3": 1413, "raw_o7": 3282, "raw_o5": 937, "raw_o2": 1630, "raw_o1": 606, "raw_o4": 981, "raw_o8": 623, "raw_o0": 102, "c4_ore": 5, "raw_a0": 5}
[{"action": "craft", "target": ["o0_i1", 125], "ingredients": {"raw_o3": 125}, "result_count": 250}, {"action": "craft", "target": ["o0_i1_10", 163], "ingredients": {"raw_o7": 326}, "result_count": 489}, {"action": "craft", "target": ["o9_i1_19", 3], "ingredients": {"raw_o5": 3}, "result_count": 12}, {"action": "craft"...
textcraft_synth.train.8
Craft the following items: 2x c1_i3_11
easy
3
4
{"c1_i3_11": 2}
{"c1_ore": 12, "c4_ore": 5, "c9_ore": 4, "c6_ore": 6, "raw_t6": 3}
[{"action": "craft", "target": ["c5_i1", 1], "ingredients": {"c1_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["c5_i2_15", 2], "ingredients": {"c5_i1": 4, "c4_ore": 2}, "result_count": 4}, {"action": "craft", "target": ["c2_i2_22", 2], "ingredients": {"c9_ore": 2, "c6_ore": 2}, "result_count": 4}, {"acti...
textcraft_synth.train.9
Craft the following items: 1x o2_i3_12
easy
3
5
{"o2_i3_12": 1}
{"raw_o7": 6, "raw_o1": 4, "raw_o2": 2, "m3_ore": 5}
[{"action": "craft", "target": ["o0_i1_10", 1], "ingredients": {"raw_o7": 2}, "result_count": 3}, {"action": "craft", "target": ["o4_i1", 1], "ingredients": {"raw_o1": 1}, "result_count": 3}, {"action": "craft", "target": ["o5_i1", 1], "ingredients": {"raw_o2": 1}, "result_count": 2}, {"action": "craft", "target": ["o6...
textcraft_synth.train.10
Craft the following items: 2x m1_i9_9_11
hard
9
121
{"m1_i9_9_11": 2}
{"m9_ore": 565, "m1_ore": 1101, "m0_ore": 449, "m3_ore": 896, "m4_ore": 593, "m7_ore": 503, "m6_ore": 253, "m5_ore": 186, "m8_ore": 125, "raw_t8": 4, "raw_a2": 3, "raw_a6": 2}
[{"action": "craft", "target": ["m8_i1", 53], "ingredients": {"m1_ore": 106}, "result_count": 106}, {"action": "craft", "target": ["m9_i1_19", 13], "ingredients": {"m0_ore": 26}, "result_count": 39}, {"action": "craft", "target": ["m2_i1_22", 19], "ingredients": {"m3_ore": 38}, "result_count": 76}, {"action": "craft", ...
textcraft_synth.train.11
Craft the following items: 2x c2_i7_7_22
hard
7
46
{"c2_i7_7_22": 2}
{"c3_ore": 46, "c4_ore": 48, "c8_ore": 53, "c9_ore": 82, "c6_ore": 36, "c5_ore": 54, "c7_ore": 52, "c2_ore": 10, "c0_ore": 4, "c1_ore": 18, "m7_ore": 5, "raw_o1": 2}
[{"action": "craft", "target": ["c4_i1_14", 3], "ingredients": {"c3_ore": 3}, "result_count": 9}, {"action": "craft", "target": ["c3_i1_23", 4], "ingredients": {"c8_ore": 4}, "result_count": 8}, {"action": "craft", "target": ["c1_i1_21", 6], "ingredients": {"c7_ore": 6}, "result_count": 12}, {"action": "craft", "target...
textcraft_synth.train.12
Craft the following items: 3x c0_i3_10
easy
3
5
{"c0_i3_10": 3}
{"c1_ore": 8, "c4_ore": 3, "c5_ore": 8, "c6_ore": 10, "c9_ore": 3, "raw_t8": 3, "raw_o3": 5}
[{"action": "craft", "target": ["c5_i1", 1], "ingredients": {"c1_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["c5_i2_15", 1], "ingredients": {"c5_i1": 2, "c4_ore": 1}, "result_count": 2}, {"action": "craft", "target": ["c4_i2_24", 1], "ingredients": {"c5_ore": 2, "c6_ore": 2}, "result_count": 2}, {"acti...
textcraft_synth.train.13
Craft the following items: 2x t0_i8_8_20
hard
8
107
{"t0_i8_8_20": 2}
{"raw_t3": 357, "raw_t0": 731, "raw_t4": 270, "raw_t8": 497, "raw_t9": 614, "raw_t6": 218, "raw_t5": 582, "raw_t7": 215, "raw_t1": 595, "m0_ore": 2, "c8_ore": 1, "m2_ore": 2}
[{"action": "craft", "target": ["t6_i1", 12], "ingredients": {"raw_t3": 24}, "result_count": 48}, {"action": "craft", "target": ["t6_i1_16", 26], "ingredients": {"raw_t0": 26}, "result_count": 78}, {"action": "craft", "target": ["t8_i1_18", 9], "ingredients": {"raw_t9": 18}, "result_count": 27}, {"action": "craft", "ta...
textcraft_synth.train.14
Craft the following items: 1x c8_i6_6_18
medium
6
40
{"c8_i6_6_18": 1}
{"c9_ore": 38, "c0_ore": 9, "c5_ore": 62, "c8_ore": 16, "c3_ore": 18, "c4_ore": 24, "c2_ore": 2, "c6_ore": 17, "c7_ore": 12, "c1_ore": 8, "m5_ore": 5, "m2_ore": 3}
[{"action": "craft", "target": ["c2_i1", 2], "ingredients": {"c9_ore": 4}, "result_count": 4}, {"action": "craft", "target": ["c7_i1_17", 1], "ingredients": {"c0_ore": 1}, "result_count": 2}, {"action": "craft", "target": ["c1_i1_11", 2], "ingredients": {"c5_ore": 2}, "result_count": 8}, {"action": "craft", "target": [...
textcraft_synth.train.15
Craft the following items: 2x t1_i7_7_11
hard
7
51
{"t1_i7_7_11": 2}
{"raw_t9": 190, "raw_t8": 39, "raw_t3": 76, "raw_t4": 37, "raw_t6": 96, "raw_t0": 183, "raw_t5": 323, "raw_t1": 155, "raw_t7": 58, "m5_ore": 4, "raw_a8": 1}
[{"action": "craft", "target": ["t8_i1_18", 4], "ingredients": {"raw_t9": 8}, "result_count": 12}, {"action": "craft", "target": ["t6_i1", 3], "ingredients": {"raw_t3": 6}, "result_count": 12}, {"action": "craft", "target": ["t6_i1_16", 11], "ingredients": {"raw_t0": 11}, "result_count": 33}, {"action": "craft", "targe...
textcraft_synth.train.16
Craft the following items: 1x c5_i3_15
easy
3
4
{"c5_i3_15": 1}
{"c5_ore": 2, "c7_ore": 3, "c2_ore": 3, "c9_ore": 4, "raw_a4": 2}
[{"action": "craft", "target": ["c1_i1_21", 1], "ingredients": {"c7_ore": 1}, "result_count": 2}, {"action": "craft", "target": ["c0_i1_20", 1], "ingredients": {"c2_ore": 1}, "result_count": 3}, {"action": "craft", "target": ["c6_i2_16", 1], "ingredients": {"c5_ore": 2, "c1_i1_21": 2}, "result_count": 3}, {"action": "c...
textcraft_synth.train.17
Craft the following items: 2x a6_i10_10
extreme
10
168
{"a6_i10_10": 2}
{"raw_a1": 9914, "raw_a0": 6771, "raw_a9": 2063, "raw_a2": 1563, "raw_a3": 3422, "raw_a7": 676, "raw_a4": 9304, "raw_a6": 708, "raw_o6": 1}
[{"action": "craft", "target": ["a9_i1", 406], "ingredients": {"raw_a1": 812}, "result_count": 1218}, {"action": "craft", "target": ["a0_i1_20", 136], "ingredients": {"raw_a0": 136}, "result_count": 544}, {"action": "craft", "target": ["a8_i1", 63], "ingredients": {"raw_a9": 63}, "result_count": 126}, {"action": "craft...
textcraft_synth.train.18
Craft the following items: 1x t8_i4
medium
4
11
{"t8_i4": 1}
{"raw_t4": 6, "raw_t9": 6, "raw_t0": 8, "raw_t5": 4, "raw_t7": 2, "raw_o8": 2}
[{"action": "craft", "target": ["t3_i1_13", 1], "ingredients": {"raw_t4": 2}, "result_count": 3}, {"action": "craft", "target": ["t0_i1_10", 1], "ingredients": {"raw_t9": 2}, "result_count": 3}, {"action": "craft", "target": ["t1_i1_11", 1], "ingredients": {"raw_t0": 2}, "result_count": 3}, {"action": "craft", "target"...
textcraft_synth.train.19
Craft the following items: 2x m2_i5
medium
5
22
{"m2_i5": 2}
{"m3_ore": 57, "m4_ore": 14, "m9_ore": 32, "m1_ore": 12, "m0_ore": 12, "m7_ore": 17, "m6_ore": 4, "c1_ore": 3, "raw_t8": 2}
[{"action": "craft", "target": ["m1_i1", 1], "ingredients": {"m3_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["m5_i1", 1], "ingredients": {"m4_ore": 1}, "result_count": 2}, {"action": "craft", "target": ["m4_i1_24", 1], "ingredients": {"m4_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["m8...
textcraft_synth.train.20
Craft the following items: 2x m4_i7_7_14
hard
7
27
{"m4_i7_7_14": 2}
{"m4_ore": 12, "m8_ore": 15, "m7_ore": 23, "m9_ore": 41, "m3_ore": 35, "m6_ore": 18, "m1_ore": 15, "m0_ore": 18, "m5_ore": 6, "c6_ore": 4}
[{"action": "craft", "target": ["m5_i1", 2], "ingredients": {"m4_ore": 2}, "result_count": 4}, {"action": "craft", "target": ["m1_i1_11", 1], "ingredients": {"m7_ore": 1}, "result_count": 4}, {"action": "craft", "target": ["m7_i1_17", 3], "ingredients": {"m9_ore": 3}, "result_count": 12}, {"action": "craft", "target": ...
textcraft_synth.train.21
Craft the following items: 3x m5_i3
easy
3
3
{"m5_i3": 3}
{"m9_ore": 3, "m1_ore": 7, "raw_t9": 1, "raw_t2": 2, "m8_ore": 3}
[{"action": "craft", "target": ["m8_i1", 2], "ingredients": {"m1_ore": 4}, "result_count": 4}, {"action": "craft", "target": ["m2_i2_22", 1], "ingredients": {"m9_ore": 1}, "result_count": 3}, {"action": "craft", "target": ["m5_i3", 3], "ingredients": {"m2_i2_22": 3, "m8_i1": 3}, "result_count": 3}]
textcraft_synth.train.22
Craft the following items: 2x a6_i3_16
easy
3
6
{"a6_i3_16": 2}
{"raw_a1": 9, "raw_a0": 6, "raw_a9": 2, "c1_ore": 1, "raw_t1": 5, "raw_o2": 5}
[{"action": "craft", "target": ["a9_i1", 1], "ingredients": {"raw_a1": 2}, "result_count": 3}, {"action": "craft", "target": ["a0_i1_20", 1], "ingredients": {"raw_a0": 1}, "result_count": 4}, {"action": "craft", "target": ["a8_i1", 1], "ingredients": {"raw_a9": 1}, "result_count": 2}, {"action": "craft", "target": ["a5...
textcraft_synth.train.23
Craft the following items: 2x o3_i11_11
extreme
11
167
{"o3_i11_11": 2}
{"raw_o3": 4438, "raw_o9": 5613, "raw_o1": 1327, "raw_o4": 2263, "raw_o5": 2345, "raw_o7": 7557, "raw_o2": 3729, "raw_o8": 1795, "raw_o0": 226, "raw_t7": 4, "raw_a4": 2, "raw_a8": 3}
[{"action": "craft", "target": ["o6_i1", 147], "ingredients": {"raw_o9": 294}, "result_count": 588}, {"action": "craft", "target": ["o0_i1", 288], "ingredients": {"raw_o3": 288}, "result_count": 576}, {"action": "craft", "target": ["o8_i1", 9], "ingredients": {"raw_o4": 18}, "result_count": 36}, {"action": "craft", "ta...
End of preview. Expand in Data Studio

TextCraft-Synth

The 3,154 TextCraft-Synth tasks of Recursive Agent Optimization (Gandhi et al., 2026), as one row per task, for datasets.load_dataset. The rows are platoon's task files (extensions/textcraft/src/platoon_textcraft/data/textcraft_synth_{train,val}.jsonl, MIT) and the recipes config is the world (recipes.json) of the published Harbor export apurvaga/textcraft-synth. Content is unchanged; only the layout differs.

Split Tasks easy medium hard extreme
train 2,522 588 852 544 538
val 632 147 213 136 136

Columns (default): id, goal, difficulty, max_depth, num_craft_steps, and JSON-encoded target_items, initial_inventory and gold_trajectory (dict fields are strings so the schema stays flat). Columns (recipes, split world, one row per item): item, is_base, depth, result_count, and JSON-encoded ingredients ({item: count}); base items have null result_count and ingredients.

from datasets import load_dataset

tasks = load_dataset("<org>/textcraft-synth-flat", revision="<commit>")
medium = tasks["train"].filter(lambda r: r["difficulty"] == "medium")  # RAO's 852 training tasks
world = load_dataset("<org>/textcraft-synth-flat", "recipes", split="world", revision="<commit>")
Downloads last month
47

Paper for PumeTu/TextCraft-Synth