--- license: cc-by-4.0 task_categories: - reinforcement-learning language: - en tags: - harbor - nemotron-gym - rl - verifiable-rewards size_categories: - 1K-.tar.gz`) | | `task_binary` | binary | Gzipped tar containing the full Harbor task | The tarball contents follow Harbor's task layout: ``` instruction.md # Prompt shown to the agent environment/Dockerfile # python:3.11-slim-bookworm base + task-specific pip deps tests/test.sh # Verifier entrypoint (writes /logs/verifier/reward.txt) tests/verifier.py # Verifier implementation (embedded, deterministic) tests/verifier_data.json # Per-task verifier inputs (JSON, no code interpolation) metadata.json # Provenance: source_dataset, row_index, family, ... task.toml # Standard Harbor task config (cpu/memory/timeout defaults) ``` ## Conversion details Generated by the `data/nemotron_gym` adapter in [OpenThoughts-Agent](https://github.com/open-thoughts/OpenThoughts-Agent). Conversion is **secure-by-construction**: - Dataset content is never interpolated into shell, Python, or Dockerfile source. All values flow through `tests/verifier_data.json` (JSON, parsed at runtime). - Base image is name-pinned (`python:3.11-slim-bookworm`); pip specs validated against a strict allowlist regex. - Text fields stripped of C0/C1 control characters; lengths capped; tarball paths validated against traversal / NUL / absolute-path attacks. - Tarballs are deterministic (sorted entries, `mtime=0`, `uid/gid=0`) → reproducible bytes. ## Verifier family `tool_call_match (JSON `{name, arguments}` compared to ground_truth tool calls; lossy single-step substitute for upstream stateful env)` — see the source converter for full details. ## Usage with Harbor ```python from datasets import load_dataset ds = load_dataset("laion/nemotron-gym-agent-workplace", split="train") print(ds[0]["path"], len(ds[0]["task_binary"])) ``` To run a single task with Harbor: ```bash # Extract one task to a directory and point Harbor at it python - <<'PY' import gzip, io, tarfile from datasets import load_dataset ds = load_dataset("laion/nemotron-gym-agent-workplace", split="train") row = ds[0] with tarfile.open(fileobj=io.BytesIO(row["task_binary"]), mode="r:gz") as tar: tar.extractall("/tmp/agent-workplace-task") PY harbor run -t /tmp/agent-workplace-task -e daytona # or -e docker ``` ## Source This dataset is a derivative of [nvidia/Nemotron-RL-agent-workplace_assistant](https://huggingface.co/datasets/nvidia/Nemotron-RL-agent-workplace_assistant), part of NVIDIA's [NeMo-Gym collection](https://huggingface.co/collections/nvidia/nemo-gym).