How to check a Harbor task’s verifier: five checks, both sides.
A task’s verifier decides what an agent gets paid for. Before you publish a Harbor or Terminal-Bench task, or train on one, confirm two things: the right work earns full reward, and wrong work earns none. Each check below gives the control to confirm, the command to run and what a healthy result looks like.
Checked against Harbor 0.26.0, the Harbor documentation and the SWE-bench harness 5.0.2, all read November 19, 2026. Versions · SWE-bench-style grading · Run the mechanical checks free
1. The grading pieces of a Harbor task
Harbor is the harness Terminal-Bench runs in (“Terminal-Bench runs in Harbor”, tbench.ai). A Harbor task is a folder. Five parts of it make up the grading.
a Harbor task folderlayout
my-task/
instruction.md what the agent is asked to do
task.toml timeouts, resources, verifier settings
environment/ Dockerfile, or a published image named in task.toml
solution/solve.sh the reference solution, run by the oracle agent
tests/test.sh the verifier: it writes the reward
- The instruction
instruction.mdis “markdown passed to the agent at the start of a trial”. The agent receives it as text, not as a file in the environment. - The environment
environment/“defines the environment the agent and verifier run in”: most often aDockerfileordocker-compose.yaml, or a prebuilt image named in[environment].docker_image. - The oracle:
solution/solve.shThe reference solution. Harbor’s oracle agent copies
solution/to/solutionand runs it “to sanity-check that a task is solvable”. Without it, the oracle cannot run. - The verifier:
tests/test.sh“The entrypoint for the verifier.” By default Harbor uploads
tests/to/tests/after the agent runs, in the agent’s own environment (shared verification). A task can instead grade in a separate verifier sandbox, which starts fresh; outputs the task declares as artifacts are collected and copied into it. - The reward file
test.shmust write a number to/logs/verifier/reward.txt(“usually 1 or 0”) or labeled metrics to/logs/verifier/reward.json. If both exist, Harbor usesreward.json./logs/agent/is optional agent logging, and/logs/is copied to the host after each trial, so you can read every run.
Quotes from the Harbor documentation (Overview, Instruction, Environment, Solution, Verifier), read November 19, 2026. Sources in section 6.
2. The checklist: the right work paid, wrong work refused
Run it on every task before a release, and again whenever the image, the tests or a dependency changes. A grader can fail in two directions: it can pay for wrong work (a false pass) or refuse correct work (a false fail). The checks cover both. Each maps to a criterion of the Reward Integrity Criteria (RIC-1 to RIC-8), an open floor of evidence for any reward; version 1.0 is in final review, and the draft is open for comment.
First, with no sandbox. harbor lint path/to/my-task (Harbor 0.26.0) checks task files without running anything. Among its default rules: shared-verifier (the verifier shares the agent’s sandbox) and agent-image-test-leak (a Dockerfile copies tests/ or solve.sh into the agent’s image).
Side A. The right work gets paid
- A1. The reference passes in a fresh container, every time
Confirm:
solution/solve.shearns full reward on several runs, each in a new container started from the task’s own configuration.Run:
harbor run -p path/to/my-task -a oracle -k 3Healthy: Full reward (1 on a 0-1 scale) on 3 of 3 trials. Any run below full reward needs triage before release: the cause can sit in the reference, the environment, the verifier or the harness, so read the logs in
/logs/verifier/first. RIC-1. - A2. A valid alternative passes
Confirm: A correct solution written a different way from the reference also earns full reward.
Run: Write a second solution that meets the instruction by another route: another algorithm, or another output order or format the instruction allows. In a copy of the task, put it in
solution/solve.shand run the oracle again.Healthy: Full reward. If it fails, triage it: the alternative may be wrong after all, or the verifier may be checking the reference’s choices rather than the requirement. If it is the verifier, it would refuse correct work in training. RIC-5 (its false-fail clause).
Side B. Wrong work, and luck, do not get paid
- B1. A do-nothing run fails
Confirm: A run that changes nothing earns no reward, and a verifier that crashes or times out earns none either.
Run:
harbor run -p path/to/my-task -a nop(Harbor’snopagent does nothing). Intest.sh, write the reward last, from the test command’s result, as Harbor’s own pytest template does: 1 on success, 0 otherwise.Healthy: Reward 0, the lowest your scale allows. With partial credit, any credit above the floor counts as reward. In Harbor 0.26.0 a trial with no reward file is an error, not a pass. RIC-2.
- B2. The verifier reads only state the task defines
Confirm: Every file and program
test.shreads or runs comes fromtests/, from the image as built, or is an output the instruction asks for. Nothing it trusts sits in a location the agent was free to write, and the reference and expected answers are not readable from the agent’s side.Run: List those inputs by reading
test.shand the files it calls. Then prefer a separate verifier: setenvironment_mode = "separate"under[verifier]intask.tomland declare the outputs you grade as artifacts. Harbor then grades in a fresh sandbox, and the agent’s other filesystem changes are not carried into it.Healthy:
harbor lintreports noshared-verifieroragent-image-test-leakfinding, and every input on your list is either part of the task or a declared output. RIC-3 and RIC-4. - B3. The verifier is deterministic
Confirm: The same end state gets the same reward every time, so no reward is luck.
Run: Grade the same trial again (Harbor can rerun the verifier for existing trials when the task uses a separate verifier environment), or repeat A1 and B1 with a higher
-k. Pin the image (docker_imageby digest), the test dependencies and any data the tests load.Healthy: Identical rewards on every rerun, and nothing in grading depends on the clock, the network or run order unless the task declares and pins it. Repeated identical rewards are evidence of determinism, not proof. RIC-7.
These checks are mechanical. A task can pass all five and still pay for a wrong solution, because its tests miss a requirement. Only a search for wrong solutions, each proved wrong by a separate check, finds those (RIC-5). That search is what a Plumbline audit runs. In one fixed search pass over 11 public coding task sets, 190 of 487 testable tasks paid full reward for a wrong fix that a separate behavioral check proved wrong; a deeper search finds more, so that count is a floor.
Keep the receipts. Write down k, each reward, the task commit and the image digest. That record is your evidence under RIC-8, and it lets anyone re-run your result.
3. The same idea for SWE-bench-style grading
In SWE-bench-format tasks the harness applies the candidate patch and runs the instance’s tests; then get_eval_report (swebench/harness/grading.py) marks the instance resolved only when every FAIL_TO_PASS test passes and every PASS_TO_PASS test still passes. FAIL_TO_PASS is “the set of tests resolved by the PR and tied to the issue resolution”; PASS_TO_PASS lists “tests that should pass before and after the PR application” (SWE-bench Verified dataset card).
- The gold patch resolves, twice
Run:
python -m swebench.harness.run_evaluation --predictions_path gold --instance_ids <id> --run_id validate-gold, the harness documentation’s own gold check, then once more.Healthy: Resolved on both runs. A test that changes result between runs needs triage before release. RIC-1, RIC-7.
- Require a non-empty regression list that fails before the fix
Healthy:
FAIL_TO_PASSlists at least one test, and each one fails on the original repository with only the test patch applied. RIC-2. PASS_TO_PASSguards the code the fix touchesHealthy: The tests around the changed code are on the list and pass with the gold patch.
- The tests check the issue, not the gold patch’s choices
Healthy: A correct fix written differently from the gold patch also resolves, as in A2 above. RIC-5.
- A run that never ran is not a pass
Healthy: A run whose log shows the test suite never started is not resolved, in whichever runner or fork you grade with. RIC-2.
Resolution rule: get_resolution_status in swebench 5.0.2 (PyPI), read November 19, 2026. Passing these checks shows the tests run cleanly. Whether they are strong enough is the search question in the box above.
4. Run the mechanical checks free: Plumbline Scan
Plumbline Scan 0.4.1 is our open-source (Apache-2.0) command-line checker for Harbor-format tasks. It needs Docker and the task folder: no API keys, no models, no account, and no scan results are uploaded. It runs six checks locally with Docker, two of them straight from this list (the reference passes in every one of k fresh containers, default 3; an empty run fails), and static checks that read the verifier without running it.
Plumbline Scan 0.4.1install and run
$ git clone --branch v0.4.1 https://github.com/plumblinegrader/plumbline-scan
$ cd plumbline-scan && pip install .
$ plumbline-scan path/to/tasks/ -o scan-out
$ plumbline-scan path/to/tasks/ -o scan-out --static-only # no Docker, in seconds
| Checklist item | Scan 0.4.1 check |
|---|---|
| A1 Reference passes | PS-1 Reference passes (k fresh containers; some passing runs are reported as flaky) |
| A2 Valid alternative | Not automated: write the alternative yourself |
| B1 Do-nothing fails | PS-2 Empty fails |
| B2 Reads only task state | PS-3 Leaked answer, PS-5 Verifier trusts editable inputs, PS-7 Answer or logic readable by the agent |
| B3 Deterministic | PS-1 flaky runs; PS-6 Network dependence |
In its first validation (version 0.1.0, October 8, 2026), on 38 public tasks in four collections, Scan raised no clear false alarm after two fixes made during validation, with one arguable case, and caught a leaked answer on 14 of 14 tasks in one collection. It does not search for wrong solutions; only a search finds those. Source, checks and limits: github.com/plumblinegrader/plumbline-scan.
When you want the search, not just the checks
A sample audit of a public benchmark
Name a public coding benchmark you train or evaluate on. Once fit is confirmed, we audit up to 20 of its eligible runnable tasks and send evidence for each confirmed finding. $0, no obligation.
Request a free sample →Up to 25 tasks, one task family
Up to 25 agreed runnable coding tasks from one task family, at one frozen revision, the same price whatever we find. Evidence for every confirmed finding, and verified replacement tests.
Request the First pilot →We hold our own audit to both sides too. In our known-answer test (the October 17, 2026 re-measure, on 75 tasks from three public coding task sets; checked by scripts and AI models), it reported 0 of 150 known-correct fixes as findings and caught 43 of 50 known wrong fixes. How we measure ourselves.
5. Versions
Each version of this checklist is dated, and every change is logged here.
Our public record: eight of our findings on Inspect Evals are public GitHub issues, filed at the maintainers’ invitation. As of November 19, 2026 all eight are open, and our two pull requests with fixes for four of them await review. See the public record.
6. Sources
- Harbor documentation, docs.harborframework.com: Overview, Instruction, Environment, Solution, Verifier, Lint. Read November 19, 2026.
- Harbor 0.26.0 on PyPI (the
oracleandnopagents,harbor run -k,harbor lintdefault rules, the verifier’s missing-reward error, the pytest task template). Read November 19, 2026. - Terminal-Bench documentation, tbench.ai/docs: “Terminal-Bench runs in Harbor.” Read November 19, 2026.
- SWE-bench: harness reference (the gold check); the SWE-bench Verified dataset card (field definitions);
swebench5.0.2 on PyPI,swebench/harness/grading.py(get_eval_report,get_resolution_status). Read November 19, 2026. - Reward Integrity Criteria, rewardintegrity.org: RIC-1 to RIC-8. Version 1.0 is in final review; the draft is open for comment. Stewarded by Plumbline Grader; we did not coin the term “reward integrity”.
- Plumbline Scan 0.4.1, README and limits; validation figures from its version 0.1.0 run of October 8, 2026.
- Our method: How Plumbline audits a task’s grader, method specification v0.3.1 (PDF): how SWE-bench-format and Harbor tasks are graded in an audit, step by step.
Harbor, Terminal-Bench and SWE-bench belong to their own maintainers, who have not reviewed this page. Quotes are theirs; the checklist and its wording are ours.
Checks catch the obvious failures. A search finds the rest.
Name a public coding benchmark. Once fit is confirmed, we audit up to 20 of its eligible runnable tasks and send evidence for each confirmed finding. $0, no obligation.