task_desc stringlengths 51 87 | targe stringclasses 1
value |
|---|---|
{"task_name": "test-conductivity", "var_num": 194, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 390, "jar_path": ""} | |
{"task_name": "find-plant", "var_num": 147, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 364, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 269, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 113, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 381, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 66, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 676, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 469, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 183, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 12, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 65, "jar_path": ""} | |
{"task_name": "find-living-thing", "var_num": 59, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 313, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 311, "jar_path": ""} | |
{"task_name": "mendelian-genetics-known-plant", "var_num": 44, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 162, "jar_path": ""} | |
{"task_name": "boil", "var_num": 4, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 118, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 221, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 376, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 18, "jar_path": ""} | |
{"task_name": "find-living-thing", "var_num": 96, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 675, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 235, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 243, "jar_path": ""} | |
{"task_name": "grow-plant", "var_num": 26, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 242, "jar_path": ""} | |
{"task_name": "find-living-thing", "var_num": 101, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 278, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 400, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 53, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 79, "jar_path": ""} | |
{"task_name": "grow-plant", "var_num": 9, "jar_path": ""} | |
{"task_name": "find-plant", "var_num": 29, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 10, "jar_path": ""} | |
{"task_name": "find-living-thing", "var_num": 20, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 468, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 663, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 27, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 213, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 0, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 278, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 40, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 493, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 4, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 496, "jar_path": ""} | |
{"task_name": "boil", "var_num": 1, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 94, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 91, "jar_path": ""} | |
{"task_name": "inclined-plane-determine-angle", "var_num": 32, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 203, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 316, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 373, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 166, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 33, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 181, "jar_path": ""} | |
{"task_name": "find-living-thing", "var_num": 128, "jar_path": ""} | |
{"task_name": "change-the-state-of-matter-of", "var_num": 7, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 301, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 223, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 611, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 287, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 416, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 128, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 29, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 66, "jar_path": ""} | |
{"task_name": "find-plant", "var_num": 28, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 161, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 312, "jar_path": ""} | |
{"task_name": "find-plant", "var_num": 39, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 364, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 72, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 72, "jar_path": ""} | |
{"task_name": "inclined-plane-determine-angle", "var_num": 19, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 23, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 667, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 38, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 62, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 292, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 399, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 423, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 31, "jar_path": ""} | |
{"task_name": "inclined-plane-determine-angle", "var_num": 44, "jar_path": ""} | |
{"task_name": "melt", "var_num": 8, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 4, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 92, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 544, "jar_path": ""} | |
{"task_name": "inclined-plane-determine-angle", "var_num": 31, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 148, "jar_path": ""} | |
{"task_name": "use-thermometer", "var_num": 227, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 219, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 193, "jar_path": ""} | |
{"task_name": "grow-plant", "var_num": 14, "jar_path": ""} | |
{"task_name": "lifespan-shortest-lived", "var_num": 21, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 115, "jar_path": ""} | |
{"task_name": "inclined-plane-friction-named-surfaces", "var_num": 403, "jar_path": ""} | |
{"task_name": "test-conductivity", "var_num": 113, "jar_path": ""} | |
{"task_name": "measure-melting-point-known-substance", "var_num": 30, "jar_path": ""} |
ScienceWorld — TCOD task-type split
The ScienceWorld task list used by TCOD and FutureBridge-OPD, in the exact row format their workflows parse, with the machine-local jar path removed so the rows load anywhere.
| split | rows | task types |
|---|---|---|
| train | 2294 | 17 |
| test | 1308 | 13 |
The 1308-row test split is the one reported as "all 1,308 entries in the disjoint
task-type test split" in FutureBridge-OPD's configs/README.md.
This is a task list, not trajectories. Each row names a ScienceWorld task
type and variation; the environment generates the episode at rollout time. You
need the scienceworld package (and a JVM) installed to use it.
Schema
Two columns, matching what TCOD's buffer reader expects with
format.prompt_key: task_desc:
| column | type | contents |
|---|---|---|
task_desc |
string | JSON: {"task_name": ..., "var_num": ..., "jar_path": ""} |
targe |
string | always "" |
targe is TCOD's own spelling of "target". It is kept as-is so their loader finds
the key it expects.
About jar_path: ""
Upstream's generator writes the absolute path of the local scienceworld.jar
into every row, which makes the files unusable on any other machine. Here it is
blanked, which is safe and portable:
- TCOD's loader does
jar_path = task_config.get("jar_path", ""), thenScienceWorldEnv("", jar_path, envStepLimit=...) ScienceWorldEnv.__init__doesserverPath = serverPath or JAR_PATH
An empty string is falsy, so the simulator falls back to the jar shipped inside
the installed scienceworld package. Nothing downstream needs patching. If you
do need a specific jar, set the field yourself.
Usage
Straight from a TCOD / Trinity-RFT YAML
_load_task_dataset falls through to load_dataset(path, split=...), so the repo
id works as a path — no manual download:
buffer:
explorer_input:
taskset:
name: sciworld
storage_type: file
path: SeanWang0027/scienceworld-tcod-split
split: train
format:
prompt_key: 'task_desc'
rollout_args:
temperature: 1.0
logprobs: 0
workflow_args:
temperature: 1.0
max_env_steps: 30
eval_tasksets:
- name: sciworld_eval
storage_type: file
path: SeanWang0027/scienceworld-tcod-split
split: test
total_steps: 1308
task_selector:
selector_type: sequential
format:
prompt_key: 'task_desc'
rollout_args:
temperature: 0.4
logprobs: 0
default_workflow_type: 'OPD_scienceworld_workflow'
As a plain dataset
from datasets import load_dataset
import json
ds = load_dataset("SeanWang0027/scienceworld-tcod-split")
cfg = json.loads(ds["test"][0]["task_desc"])
# {'task_name': 'find-non-living-thing', 'var_num': 85, 'jar_path': ''}
from scienceworld import ScienceWorldEnv
env = ScienceWorldEnv("", cfg["jar_path"], envStepLimit=100)
env.load(cfg["task_name"], cfg["var_num"], "easy", generateGoldPath=False)
obs, info = env.reset()
Note the third load argument: TCOD's workflow passes
simplification_str="easy" by default.
How the split was made
Reproduced from TCOD_examples/scienceworld/get_sciworld_data.py, not
re-implemented — build_split.py in this repo imports that script and calls its
create_dataset_files with percentage=0.5 and upstream's hardcoded 17-task
train list. Test task types come from a set difference, so the two splits are
disjoint by construction.
For each task type, variations 0 .. int(count * 0.5) - 1 are taken.
Verification
- Row-for-row identical to the upstream generator on
(task_name, var_num)and ordering; onlyjar_pathdiffers. - No task type appears in both splits (17 train / 13 test, 30 total).
- All 30 hardcoded variation counts match ScienceWorld 1.2.3's own
get_variations_train/dev/testtotals, so no emittedvar_numis out of range. - Sampled rows from both splits load,
reset()andstep()through TCOD's own_create_scienceworld_envusing the package's builtin jar.
Caveats worth knowing before you report numbers
This is not ScienceWorld's official split. The official one splits variations
within each of the 30 task types (env.get_variations_train/dev/test()), so every
task type appears in both train and test. This one holds out whole task types.
The two measure different things and are not comparable.
Many held-out types are near-siblings of trained ones. 8 of the 13 test types
have a close analogue in train: measure-melting-point-known-substance →
-unknown-substance, test-conductivity → test-conductivity-of-unknown-substances,
inclined-plane-friction-named-surfaces → -unnamed-surfaces,
mendelian-genetics-known-plant → -unknown-plant, find-living-thing/find-plant →
find-non-living-thing/find-animal, lifespan-shortest-lived →
lifespan-longest-lived, chemistry-mix-paint-secondary-color → -tertiary-color,
power-component → power-component-renewable-vs-nonrenewable-energy. Zero-shot
transfer to a new task type is a weaker claim here than the phrasing suggests.
There is no dev split. Upstream YAMLs point eval_tasksets straight at test,
so anything used to pick a checkpoint is also what gets reported. Fix the
reporting rule in advance (e.g. always report the final checkpoint), or carve a
dev set out of train.
Test is dominated by two task types. test-conductivity-of-unknown-substances
(300) and mendelian-genetics-unknown-plant (240) are 41% of the 1308 rows, while
identify-life-stages-1 has 7. Rows are shuffled with seed 42, so a truncated
evaluation still samples proportionally — but a plain mean over the test split is
largely those two task types. Per-task-type breakdowns are in split_stats.json.
Half of every task type's variations are unused. Only indices below
count * 0.5 are emitted, in both splits — 3605 variations are dropped entirely.
Reward
TCOD's ScienceWorld workflow uses best_score / 100.0, where best_score is the
highest info["score"] seen at any point in the episode. ScienceWorld scores range
over [-100, 100], so this reward can be negative, and a mid-episode peak is
not lost by later mistakes.
License and provenance
Apache-2.0, matching TCOD and FutureBridge-OPD. The underlying environment is ScienceWorld; the split definition is from TCOD.
- Downloads last month
- 45