nemo_gym.data.tasks.harbor.scaffold
nemo_gym.data.tasks.harbor.scaffold
gym dataset init: a dataset folder in exactly the shape the loader accepts.
One task, ready to validate and run. Everything written here is read back by the loader in a
test, so the scaffold cannot drift from what gym eval run and gym dataset validate expect.
Module Contents
Functions
Data
API
Write <root>/<name without org>/ with dataset.toml and one task folder; refuses to overwrite.
name is org/name or a bare name, which is written as local/<name> so that Harbor accepts the
manifest. The folder is the name without the org, as harbor task init does for a task. With
parameterized the folder is a template instead: task.toml at its root (its [task].name is rewritten to
<org>/<task_id> in every rendered task, the name Harbor keys a task on), instruction.template.md,
tasks.jsonl with two rows, task_data.py, a Python verifier that reads answer.md and the reference
answer as solution/answer.template.md, which prepare renders into one task folder per row
(nemo_gym.data.tasks.harbor.parameterized).
org/name as Harbor 0.22.0 requires it; a bare name gets DEFAULT_ORG.
Raises ValueError for a name Harbor’s manifest would reject, so nothing is written for it.