harbor run -d luosuu/SWE-kokkos-bench100 verified SWE-bench-style coding tasks from the Kokkos ecosystem
harbor run -d luosuu/SWE-kokkos-benchpretty_name: SWE-kokkos-bench language:
SWE-kokkos-bench is a public, verifier-backed benchmark of 100 repository-level software-engineering tasks mined from merged pull requests in the Kokkos ecosystem. Each task starts from the parent revision of a real pull request and asks an agent to implement the corresponding change. Correctness is checked by task-specific build and regression commands against a held-out test patch.
The dataset supports two complementary interfaces:
Version 2.3 keeps the 100 task environments and verifiers from v2.2 and replaces the task instructions with verifier-aligned problem statements audited by Full Inkling and manually reviewed. The release preserves the clean-room network and Git-history constraints while making required API, compatibility, and observable behavior explicit.
tinker-cookbook forkLoad the metadata with datasets:
from datasets import load_dataset
dataset = load_dataset("luosuu/SWE-kokkos-bench", split="test")
print(dataset.num_rows) # 100
print(dataset[0]["instance_id"])
print(dataset[0]["problem_statement"])
Run the executable benchmark through Harbor:
uvx harbor run \
-d luosuu/SWE-kokkos-bench@v2.3 \
-a <agent> \
-m <model>
Use the immutable v2.3 tag for reported results. latest currently points to the same
revision but may move in the future.
| Source repository | Tasks |
|---|---|
kokkos/kokkos |
90 |
kokkos/kokkos-kernels |
8 |
kokkos/pykokkos |
2 |
| Total | 100 |
The verifier signal is a compile failure for 76 tasks and a runtime test failure for 24 tasks. All packaged tasks use CPU validation environments; tasks requiring unsupported GPU execution were not admitted to this release.
The dataset has a single test split. It is intended for evaluation, RL environment
construction, and research on software-engineering agents—not as a conventional supervised
train/test benchmark with a hidden public leaderboard split.
instances.jsonl contains one object per task. Important fields are:
| Field | Meaning |
|---|---|
repo |
Upstream GitHub repository, such as kokkos/kokkos. |
instance_id |
Stable identifier derived from repository and pull-request number. |
base_commit |
Parent revision checked out when the task begins. |
problem_statement |
User-visible issue or pull-request description, sanitized to avoid solution leakage. |
patch |
Full merged pull-request diff, retained for research compatibility. |
code_patch |
Production portion of the gold change. |
test_patch |
Held-out test portion injected by the verifier. |
FAIL_TO_PASS / fail_to_pass |
Checks expected to fail before and pass after the fix. |
PASS_TO_PASS / pass_to_pass |
Regression checks expected to remain passing. |
configure_command |
Command that configures the parent checkout. |
build_command, build_targets |
Narrow build command or targets used for validation. |
f2p_commands, p2p_commands |
Exact executable checks used by the verifier. |
changed_files |
Structured metadata for files changed by the source pull request. |
metadata |
Build system, toolchain, failure stage, accelerator requirements, and source URL. |
The uppercase and lowercase F2P/P2P fields are intentionally both present: uppercase fields preserve SWE-bench compatibility, while lowercase fields retain the recipe's typed source representation.
The Harbor release contains one directory per task:
| Path | Purpose |
|---|---|
instruction.md |
Problem statement shown to the agent. |
task.toml |
Task identity, environment, verifier, and resource configuration. |
environment/Dockerfile |
Reproducible repository checkout and build environment. |
tests/test.sh |
Offline grader entrypoint. |
tests/test.patch |
Held-out test changes injected only during grading. |
solution/gold.patch |
Oracle production patch used for release validation. |
metadata.json |
SWE-compatible source row and construction metadata. |
The agent receives the instruction, repository checkout, shell tool, and pre-warmed build
tree. tests/ and solution/ are not copied into the agent image. Harbor submits only the
agent's repository patch to the clean grader, which returns binary reward 1 for a fully
passing solution and 0 otherwise. The dataset metric is mean reward across the selected
tasks, with missing task results treated as zero.
The construction pipeline is available in the public
tinker-cookbook
fork and is separated into dataset/ and rl/ packages.
Mining rejects documentation-only changes, dependency bumps, changes without both production and test modifications, oversized diffs, unsupported source layouts, and tasks whose required runtime cannot be reproduced in the release environment. Candidate counts are not a release criterion; only end-to-end validated tasks are included.
Every accepted task demonstrated these transitions in a fresh sandbox:
For v2.0, all 100 Oracle trials returned reward 1 and all 100 NOP trials returned reward 0, with no infrastructure exceptions. The 30 unchanged v1.0 task payloads retained identical Harbor digests; the 70 additions were independently validated for the v2.0 release.
For v2.3, all 100 refreshed task digests independently passed the release gate: every Oracle trial returned reward 1 and every NOP trial returned reward 0, with no infrastructure exceptions. Repository revisions, graders, held-out tests, and Oracle patches are unchanged from v2.2; only verifier-aligned task instructions and their resulting digests changed.
The agent cannot rely on modifying the scoring apparatus. Before grading, the verifier rejects or restores protected test, CMake-registration, and CI paths, injects the held-out test patch, and runs without network access.
Pass@1 results on the 70 tasks added in v2.0:
| Model | Effort | Turns | Tool calls | Passed | Pass rate | Errors |
|---|---|---|---|---|---|---|
thinkingmachines/Inkling:peft:262144 |
0.99 | 40 | 60 | 36/70 | 51.4% | 0 |
thinkingmachines/Inkling-Small:peft:262144 |
0.9 | 40 | 80 | 42/70 | 60.0% | 0 |
openai/gpt-oss-120b:peft:131072 |
not applicable | 20 | 40 | 4/70 | 5.7% | 0 |
All three runs used temperature 1.0, a maximum of 16,384 tokens per model turn, a 112K-token trajectory cap, and a 64K sampled-token cap. Tasks were evaluated once and in parallel using the same terminal-agent scaffold and clean Harbor grader.
Full Inkling and GPT-OSS used settings directly comparable to their v1.0 evaluations. Their combined scores over all 100 v2.0 tasks are respectively 53/100 (53.0%) and 5/100 (5.0%). Inkling Small has no complete evaluation on the unchanged 30-task subset, so a 100-task score is not reported for that model.
These are single-rollout observations, not calibrated per-task success probabilities. Exact scores depend on the model revision, renderer, agent scaffold, temperature, thinking effort, turn limit, tool-call limit, and trajectory token budget. Report all of those settings with benchmark results.
For RL, sample multiple trajectories per task. Tasks that always pass or always fail within a group provide little centered-advantage signal; a one-shot baseline is only a coarse guide for curriculum design.
patch, code_patch, and test_patch support research and
reproducibility. Evaluation harnesses must prevent the agent from reading dataset metadata
or solution files during a rollout.The dataset construction code in tinker-cookbook is Apache-2.0. The task content is derived
from public Kokkos ecosystem repositories and pull requests; source files, patches, issue text,
and tests remain subject to their respective upstream licenses and attribution requirements.
Because the Hub repository contains material from multiple upstream projects, its metadata is
marked license: other. Consult the source URL in each row's metadata.html_url and the
corresponding upstream repository before redistribution or commercial use.
v1.0: 30 tasks.v2.0: 100 tasks, consisting of the unchanged v1.0 payloads plus 70 new Kokkos Core tasks.v2.1: the same 100 task specifications and verifiers as v2.0, with clean-room runtime
packaging that removes Git history and disables agent sandbox network access.v2.2: the same environments and verifiers as v2.1, with instructions that state those
clean-room constraints and prioritize local diagnosis, production edits, and focused public
build/test targets.v2.3: verifier-aligned problem statements audited with Full Inkling and reviewed to expose
required API and compatibility behavior without revealing held-out tests or reference
implementations. Environments, repository revisions, graders, and patches remain unchanged.When citing results, use the dataset name, immutable version, model identifier, and complete rollout configuration. A suggested textual citation is:
SWE-kokkos-bench v2.3, a 100-task verifier-backed benchmark mined from merged Kokkos ecosystem pull requests, released through Harbor and Hugging Face in 2026.