UltraTerminals / README.md
burtenshaw's picture
burtenshaw HF Staff
Claude Opus 5.5
Merge main into this PR and rebuild the docker_image column on it
073233b
|
Raw History Blame
18.1 kB
metadata
license: other
license_name: mixed-per-task
license_link: >-
  https://huggingface.co/datasets/harness-hub/UltraTerminals/blob/main/LICENSES.md
language:
  - en
size_categories:
  - 1K<n<10K
pretty_name: UltraTerminals
tags:
  - agents
  - coding
  - cyber
  - knowledge-work
  - business-automation
  - harbor
  - openenv
  - reinforcement-learning
configs:
  - config_name: default
    data_files:
      - split: coding
        path: data/coding.jsonl
      - split: cyber
        path: data/cyber.jsonl
      - split: knowledge_work
        path: data/knowledge_work.jsonl
dataset_info:
  features:
    - name: task_id
      dtype: string
    - name: pool
      dtype: string
    - name: instruction
      dtype: string
    - name: quality_bar
      dtype: string
    - name: nine_point_qualified
      dtype: bool
    - name: training_admissible
      dtype: bool
    - name: usage
      dtype: string
    - name: source_license
      dtype: string
    - name: task_repo
      dtype: string
    - name: task_revision
      dtype: string
    - name: task_path
      dtype: string
    - name: task_url
      dtype: string
    - name: bundle_archive
      dtype: string
    - name: bundle_sha256
      dtype: string
    - name: docker_image
      dtype: string
    - name: source_record_json
      dtype: string
    - name: validation_record_json
      dtype: string

UltraTerminals

UltraTerminals is an inventory of 2,597 runnable agent tasks for reinforcement learning, covering coding, defensive authorization, knowledge work and business automation. Each task is a Harbor bundle with an instruction, a sandboxed environment, a private grader and a reference solution. Each row describes one task: what it asks, where it came from, how it was checked and where to download its files.

The release has three stored splits. coding has 885 tasks: 871 coding_baseline and 14 coding_additions. cyber has 1,000 cyber_authorization tasks. knowledge_work has 712 tasks: 502 knowledge_work tasks that passed the nine-point review and 210 business_automation tasks with a three-test review.

Not every row is ready for training. Only the 502 knowledge_work tasks have passed the nine-point review (nine_point_qualified=true). The other pools keep the review records from their sources, and the coding baseline keeps its source's quarantine_only label.

What’s inside

Split Pool Tasks Source Recorded review
coding coding_baseline 871 490 SWE-smith Python, 227 SWE-smith Go and 130 SWE-Gym tasks converted to Harbor, plus 24 Tasksmith tasks Historical coding validation. The source marks these rows training_admissible=false and usage=quarantine_only
coding coding_additions 14 Tasksmith tasks from merged pull requests in 10 Python projects Historical validation passed, with reference, no-op and replay controls
cyber cyber_authorization 1,000 610 Cedar and 390 OpenFGA policy reviews (140 Check, 250 ListObjects), built from Apache-2.0 fixtures Historical OpenEnv controls
knowledge_work knowledge_work 502 Contracts (MAUD, CUAD), financial reports and tables (FinQA, ConvFinQA, TAT-QA, TAT-DQA, MultiHiertt), spreadsheets (Spreadsheet-RL), SEC filings and U.S. public statistics Nine-point review
knowledge_work business_automation 210 Original workflows in 10 families, including commissions, fulfilment, field service, lead handoff, supplier invoices, HR, marketing and support Three-test review; the nine-point review is outstanding

The nine-point review checks provenance, well-posedness, a blind check of the answer key, solvability, dependence on the inputs, grader correctness in both directions, realism, stability and unique instructions. The three-test review checks the answer key, the sandbox gate and the grader canaries. The source dataset card defines both bars.

How the tasks were made

Two routes into one pipeline. Tasksmith turns merged GitHub PRs into 38 tasks, and 847 SWE-smith and SWE-Gym tasks are converted. Both become 885 Harbor bundles, pass OpenEnv checks, then go to model rollouts and a training canary.

Coding tasks took two routes into one pipeline. Tasksmith turned merged GitHub pull requests into tasks. It removes the PR’s fix from the repository, grades the agent with the PR’s tests and keeps the fix as the reference solution. Existing SWE-smith and SWE-Gym tasks from the Hub were converted to Harbor bundles. Tasksmith produced 38 of the 885 coding tasks, and conversion produced the other 847. OpenEnv then built and deployed each environment and checked its grader: the reference solution has to pass, a no-op has to fail, and a replay of the reference has to pass again. Rollouts then measured how often a model solves each task. A one-step GRPO canary on three harder tasks ran the training loop end to end, although all 24 of its rollouts scored zero.

Knowledge-work, automation and authorization tasks were packaged as Harbor tasks too. Knowledge-work tasks turn public documents and tables into deliverables with a private answer key. Authorization tasks ask the agent to evaluate access requests against a set of Cedar policies or OpenFGA relationships.

Anatomy of a task

Anatomy of task tasksmith-a7e859277e7a from numpy-financial PR #108. The instruction and the repository with the fix removed go to an agent sandbox with no network. The 12 tests run in a separate verifier, which gives reward 1 only if exactly those tests pass. The reference solution scores 1, a no-op scores 0 and a replay scores 1.

Each bundle has the same parts:

  • instruction.md is the task text the agent reads.
  • task.toml sets time, CPU and memory limits, the network policy and the files the agent submits.
  • environment/ is the agent’s starting workspace. For a Tasksmith task, it holds the repository at the PR head with the fix removed.
  • tests/ is the private grader. It runs in a separate verifier sandbox and writes the reward.
  • solution/ is the reference solution, used for the grader controls.

Only the instruction and the files under environment/ belong in the agent’s workspace. Keep tests/ and solution/ out of the agent’s reach and out of training data.

The figure follows tasksmith-a7e859277e7a, made from numpy-financial PR #108. Its 12 tests are 9 that fail before the fix and 3 that must keep passing, and the verifier gives a reward of 1 only if exactly those tests pass. When the task was validated, the reference solution scored 1, a no-op 0 and a replay of the reference 1.

Choose tasks for the model you train

Outcome matrix for the 466 coding tasks graded by both Qwen3.8-27B and Qwen3.8-Flash-Next. 116 tasks are mixed for both models. 61 of Qwen3.8-27B's 177 mixed tasks are all-pass or all-fail for Flash-Next, and 88 other tasks become mixed for Flash-Next.

GRPO learns from a task only when the model’s attempts disagree, with at least one pass and one fail. Which tasks those are depends on the model. On the 466 baseline coding tasks graded by both Qwen3.8-27B and Qwen3.8-Flash-Next, 177 were mixed for Qwen3.8-27B and 204 for Flash-Next, but only 116 were mixed for both. Score the tasks against the model you plan to train before you pick a training set.

Qwen3.8-27B had 4 to 8 graded attempts per task. Flash-Next had 8 and needed at least 6 valid grades to assign an outcome; provider and verifier errors didn’t count as failures. The gray row covers the 405 baseline tasks without a Qwen3.8-27B grade, 404 of which Flash-Next classified.

The rows already carry these measurements:

  • coding_baseline: Qwen3.8-27B results in source_record_json (qwen_status, qwen_solve_rate, qwen_valid_attempts, qwen_protocol and Wilson intervals). 463 tasks have complete scores, and 177 of them are mixed.
  • knowledge_work and business_automation: eight Qwen3.8-27B attempts per task, in base_difficulty, base_solved and base_valid.
  • cyber_authorization: eight-attempt Qwen3.8-27B measurements in difficulty_measurement, for 113 tasks.
  • scores/inkling-python-r2-high-v3/: one Inkling 2 Mini attempt at high reasoning effort on 392 Python coding tasks, with 389 graded and 269 solved. The runtime setups those runs used are in runtime-revisions/.

Qwen3.8-Flash-Next classified 870 of the 871 baseline coding tasks and found 425 mixed. Those per-task results aren’t stored here.

Token budgets matter too. Inkling 2 Mini solved 433 of the 1,000 authorization tasks with responses capped at 8,192 tokens. Retrying the capped responses at 16,384 and then 32,768 tokens raised that to 842.

Early training results

Training Qwen3.8-27B (rank-32 LoRA, GRPO, 75 steps) on knowledge-work tasks with mixed base-model outcomes raised its score on a held-out knowledge-work panel by 5.9 points over base. A control arm gained 4.0, and the difference between the arms was within noise (+1.9 points, 95% interval −0.6 to +4.5). On public AutomationBench, the mixed-outcome arm gained 3.2 points and the control 4.2. These runs used the transfer75 splits of automation-adapter-envs rather than the 502 reviewed tasks here.

An Inkling 2 Mini RL run on coding and authorization tasks raised Terminal-Bench 2.1 from 45.2% to 58.7% at checkpoint 100. Most of the gain came from more runs finishing within the time limits (49% to 72%); runs that finished passed about 78% of the time both before and after training.

Load the inventory

from datasets import load_dataset

tasks = load_dataset("harness-hub/UltraTerminals", split="all")
coding = load_dataset("harness-hub/UltraTerminals", split="coding")
reviewed = tasks.filter(lambda row: row["nine_point_qualified"])

split="all" loads every task once. data/tasks.jsonl holds the same 2,597 rows in one file.

Download task files

pip install huggingface_hub
python download_task.py TASK_ID --output ./task-files

download_task.py follows each row’s pinned reference, or verifies and extracts its archive. The task files live here:

Pool Task files
coding_baseline harness-hub/harness-adapters, at the row’s task_revision
coding_additions bundles/<task_id>.tar.gz in this dataset
cyber_authorization bundles/cyber-authorization.tar.gz in this dataset, one archive for all 1,000 tasks
knowledge_work, business_automation harness-hub/automation-adapter-envs, at the row’s task_revision

Each row records the exact repository, revision and path, and each archive’s SHA-256 hash is in bundle_sha256. The 490 SWE-smith Python bundles are pinned at revision df43f14c04a1ee2edeb101b52061e9b14da48da6 on the testbed-path branch of harness-adapters, which fixes their Python test environment (see the limitations below). The other 381 baseline bundles are pinned at 5d320e93b7832c6c66e6a5acd8403fb1a3c50bc6. Container images are external dependencies and aren’t included. Each task’s task.toml names its runtime and the files the agent must submit.

The replacement archive for tasksmith-ae872f5c3953 contains only the two plain-text email fixtures its six grading cases need. If you downloaded that task from the initial snapshot, download it again into an empty directory so the old fixtures don’t remain. The repair record identifies the replacement digest and its control results.

Runtime images

docker_image names a public, digest-pinned image that each task runs in, as repository@sha256:.... 2,382 of the 2,597 rows have one, and every image can be pulled without credentials:

Split With an image Images
cyber 1,000 of 1,000 public.ecr.aws/docker/library/python, AWS ECR's mirror of Docker Hub's python, which rate-limits pulls
knowledge_work 712 of 712 ghcr.io/younesbelkada/apex: the digest the task configuration pins as registry.hf.space/harness-hub-apex-office-tools-env, under a name short enough for HF Sandboxes
coding 670 of 885 ghcr.io/younesbelkada/scale800 (632) and ghcr.io/younesbelkada/hat (38 Go and Tasksmith tasks, built for this release)

The image replaces the task configuration's docker_image, or provides one where it builds from a Dockerfile. A null docker_image means no runnable image is published yet. This applies to 205 Python coding tasks whose base image does not contain the repository under test, and to 10 coding tasks whose images were never built (5 Go, 5 coding additions).

Fields

Field Contents
task_id Unique task identifier. Use it as the key, because 82 automation tasks share their instruction text with others in the same family
pool Source pool, one of the five above
instruction The task text the agent reads
quality_bar Review recorded for the row: historical-coding-validation, historical-openenv-authorization-controls, nine-point or three-test
nine_point_qualified true only for the 502 knowledge_work tasks
training_admissible The source’s training decision: false for coding_baseline, null where the source made none
usage The source’s usage label: quarantine_only for coding_baseline, otherwise null
source_license Licence of the source material
task_repo, task_revision, task_path, task_url Where the task files are
bundle_archive, bundle_sha256 Archive path and hash, for coding additions and cyber tasks
docker_image Public, digest-pinned runtime image as repository@sha256:..., or null where none is published yet. See Runtime images
source_record_json Source metadata as JSON: provenance, revisions, licences, quality flags and difficulty measurements. Paths inside it keep their source-relative meaning
validation_record_json Historical control results for coding additions and cyber tasks

Provenance and limitations

  • Python test environment. The runtime images for the 490 SWE-smith Python tasks install pytest and the project into the testbed conda environment but put the base environment first on PATH, so an agent’s non-interactive shell got a python with neither. Their bundles now set [environment.env] PATH in task.toml with /opt/miniconda3/envs/testbed/bin first, which Harbor 0.22 and later applies to every sandbox command, and their instructions end with an Environment note. The instruction column carries the new text. Grading is unchanged, because tests/test.sh activates testbed itself. The change record lists each task’s old and new file hashes and the sandbox checks. The difficulty measurements in the rows, the runtime-revisions/ receipts and the Inkling grades in scores/ all predate this fix; the receipts describe the original bundles at 5d320e9.
  • Historical checks. The coding additions’ controls were recorded on historical adapted runtime images, and the cyber controls come from historical OpenEnv runs. The archives here aren’t a claim of fresh runtime qualification.
  • Excluded candidate. The original coding-additions export had 15 candidates. Only the 14 with validation=pass are included; the other stays in the provenance manifest.
  • Related tasks. Cedar tasks’ source_group values identify shared policy fixtures. Keep related tasks together when you make train and evaluation splits.
  • Shared instructions. 82 automation tasks share instruction text within their families. Each has its own inputs and answers, so key tasks by task_id.
  • Network access. The automation tasks run with network access enabled.
  • Benchmark overlap. Held-out evaluation splits and repeated experiment splits are excluded, but that doesn’t establish semantic non-overlap with other benchmarks. For example, srl-formulas-24d17de1caed7c60 shares a workbook with SpreadsheetBench Verified task 44296. Original restrictions remain in the source metadata.
  • Provenance files. provenance/ keeps the input manifests, source documentation, coding-addition provenance and build hashes. SHA256SUMS lists a hash for each file it covers.

Licences

This collection has no single licence. Each task keeps its source licence and notices. Check source_license, source_record_json, the task’s own licence files and LICENSES.md before use.

  • Coding: source code under MIT (525 tasks), BSD-3-Clause (209), Apache-2.0 (110) and BSD-2-Clause (41).
  • Cyber authorization: Apache-2.0 fixtures from Cedar and OpenFGA.
  • Knowledge work and automation: mostly CC-BY-4.0 (431), MIT (147) and CC-BY-SA-4.0 (45), plus public-domain U.S. government data and public filings.

This aggregation grants no additional rights to upstream material.

Related resources

Inventory assembled on 2026-11-27. Counts and historical quality claims describe the selected source artifacts.