harbor run -d morris-biotech/historical-systems-bugsharbor run -d morris-biotech/historical-systems-bugsTwo historical C systems bug-fix tasks for coding agents: Linux DesignWare SPI chip selects and Unikraft cooperative scheduler wakeups, graded by running the real code.
harbor run -d morris-biotech/historical-systems-bugsTwo historical C systems bug-fix tasks for coding agents: Linux DesignWare SPI chip selects and Unikraft cooperative scheduler wakeups, graded by running the real code.
harbor run -d morris-biotech/historical-systems-bugsTwo historical bug-fix tasks in C, for training and evaluating coding agents, in the Harbor task format (the format DeepSWE uses), each graded by running the real code: the task's own build, and its hidden tests on the patched tree, with only hardware modelled. Released for anyone to train or evaluate on.
Both tasks recreate publicly reported bugs with upstream fixes. They are suitable for training and regression evaluation; results should account for possible exposure to the reports or fixes during model training.
| Task | Project | What the agent is told | Graded by |
|---|---|---|---|
linux-dw-spi-cs |
Linux, DesignWare SPI driver | Devices with active-high or GPIO chip selects do not work reliably; make every chip-select type and polarity work without breaking what works | The driver's own transfer path and interrupt handler, run in a QEMU arm64 guest against a modelled controller, for native and GPIO chip selects of each polarity, and the platform callback |
unikraft-sched-wakeup |
Unikraft, cooperative scheduler | Unikraft issue #643: an interrupt before yield() early in boot leaves the unikernel stuck in its idle thread |
Reproducers run as linuxu unikernels: a wakeup while the woken thread is being switched out, a wakeup into the idle thread, and sleepers that must still wake |
The instructions say only what a bug reporter would: no hints, no file lists beyond the report's. The agent works in the task's environment and commits; the commits are exported as a patch and graded in a separate, pristine verifier container with no network.
Each task's tests/verdict.json declares its cases (fail-to-pass: the bug;
pass-to-pass: what must keep working) and the steps that observe them.
historical-verdict (Apache-2.0, built from tests/verdict-src inside the
verifier image) runs the steps, holds every observation to the step that
owns it, and writes one typed result: pass, fail, or unjudgeable (a step of
the harness, not the patch, failed). reward.json is derived from it:
reward 1 only on a pass, the cases' counts beside it. A patch that does
not build fails; a case the run never reached is never counted as passed.
Each task was validated before release against wrong fixes, each with the
cases it must be caught failing, and (for linux-dw-spi-cs) other right
fixes, which must pass; the base commit fails every fail-to-pass case and
passes every pass-to-pass case, and the reference solution (solution/)
passes every case, graded twice into one directory. Those wrong and right
fixes are not part of the package.
linux-dw-spi-cs's modelled registers are plain memory, clear of all QEMU
loads, which its test zeroes before the driver probes, as the slave-select
register (SER) resets on the hardware. In dataset version 1.0.0 that memory
held part of QEMU's device tree blob, so a fix that read SER before writing
it was failed on every case; validation now requires that fix to pass.
Full-KV Qwen3.8-27B with OpenCode 1.18.35 at maximum reasoning effort, 12 attempts per task; the table reports the attempts graded so far:
| Task | Attempts graded | Passed | Some target case passed | An existing case broken |
|---|---|---|---|---|
linux-dw-spi-cs |
21 | 3 | 10 | 4 |
unikraft-sched-wakeup |
12 | 2 | 4 | 2 |
harbor run -p <this dataset> -a <agent> -m <model>
The task images are prebuilt (docker_image in each task.toml); each
can also be built from its environment/Dockerfile. The verifier image
builds from tests/Dockerfile. See PROVENANCE.md for the upstream
projects and their licenses.
Two historical bug-fix tasks in C, for training and evaluating coding agents, in the Harbor task format (the format DeepSWE uses), each graded by running the real code: the task's own build, and its hidden tests on the patched tree, with only hardware modelled. Released for anyone to train or evaluate on.
Both tasks recreate publicly reported bugs with upstream fixes. They are suitable for training and regression evaluation; results should account for possible exposure to the reports or fixes during model training.
| Task | Project | What the agent is told | Graded by |
|---|---|---|---|
linux-dw-spi-cs |
Linux, DesignWare SPI driver | Devices with active-high or GPIO chip selects do not work reliably; make every chip-select type and polarity work without breaking what works | The driver's own transfer path and interrupt handler, run in a QEMU arm64 guest against a modelled controller, for native and GPIO chip selects of each polarity, and the platform callback |
unikraft-sched-wakeup |
Unikraft, cooperative scheduler | Unikraft issue #643: an interrupt before yield() early in boot leaves the unikernel stuck in its idle thread |
Reproducers run as linuxu unikernels: a wakeup while the woken thread is being switched out, a wakeup into the idle thread, and sleepers that must still wake |
The instructions say only what a bug reporter would: no hints, no file lists beyond the report's. The agent works in the task's environment and commits; the commits are exported as a patch and graded in a separate, pristine verifier container with no network.
Each task's tests/verdict.json declares its cases (fail-to-pass: the bug;
pass-to-pass: what must keep working) and the steps that observe them.
historical-verdict (Apache-2.0, built from tests/verdict-src inside the
verifier image) runs the steps, holds every observation to the step that
owns it, and writes one typed result: pass, fail, or unjudgeable (a step of
the harness, not the patch, failed). reward.json is derived from it:
reward 1 only on a pass, the cases' counts beside it. A patch that does
not build fails; a case the run never reached is never counted as passed.
Each task was validated before release against wrong fixes, each with the
cases it must be caught failing, and (for linux-dw-spi-cs) other right
fixes, which must pass; the base commit fails every fail-to-pass case and
passes every pass-to-pass case, and the reference solution (solution/)
passes every case, graded twice into one directory. Those wrong and right
fixes are not part of the package.
linux-dw-spi-cs's modelled registers are plain memory, clear of all QEMU
loads, which its test zeroes before the driver probes, as the slave-select
register (SER) resets on the hardware. In dataset version 1.0.0 that memory
held part of QEMU's device tree blob, so a fix that read SER before writing
it was failed on every case; validation now requires that fix to pass.
Full-KV Qwen3.8-27B with OpenCode 1.18.35 at maximum reasoning effort, 12 attempts per task; the table reports the attempts graded so far:
| Task | Attempts graded | Passed | Some target case passed | An existing case broken |
|---|---|---|---|---|
linux-dw-spi-cs |
21 | 3 | 10 | 4 |
unikraft-sched-wakeup |
12 | 2 | 4 | 2 |
harbor run -p <this dataset> -a <agent> -m <model>
The task images are prebuilt (docker_image in each task.toml); each
can also be built from its environment/Dockerfile. The verifier image
builds from tests/Dockerfile. See PROVENANCE.md for the upstream
projects and their licenses.