done-or-not
The agent says "Done." Was it?
An offline harness for grading the verifiers that answer that question for computer-using agents:
910 trajectories, three simulated computers, eleven ways to be wrong. No API key, no downloads.
Every pipeline that trains or evaluates a computer-using agent ends in a verifier: something that looks at
what the agent did and decides whether the task is complete. Usually it is a vision-language model reading
screenshots, or a script checking whatever state it can reach. [*VeriCUA*](https://arxiv.org/abs/2610.40578)
(Sun, Yu, Knop et al., October 2026) points out that both can miss the decisive evidence: the judge sees
only the screenshots it is handed, the script sees only the state it can read. Its proposal is to treat
verification as **exploration**: build a rubric from the task, then go and *look* at the computer as it is
now, with GUI checks or code checks per requirement, and combine what you find under explicit evidence
rules. No code was released.
**done-or-not** is an open, dependency-free test bed for that idea. It gives you simulated computers whose
hidden state the harness knows exactly, agents that fail in labelled ways, read-only probes with a cost
meter, and a scoreboard. You can plug in any verifier: a Python class, any program that speaks JSON lines,
or an LLM behind an OpenAI-compatible endpoint.
```
$ done-or-not show w_close-02/optimistic_ui
...
--- 3: set('status', 'Closed')
[Helpdesk] Ticket #957 — Docking station not detected
Status: Closed
Assignee: dara
Priority: Normal
▸ Details (collapsed)
✓ Saved
CLAIM Done: I closed ticket #957.
$ done-or-not probe w_close-02/optimistic_ui gui open_ticket id=957 # reload the page
[Helpdesk] Ticket #957 — Docking station not detected
Status: Pending
...
```
The page said *Saved*. The server dropped the write. Every screenshot the agent took looks exactly like a
real success, and only a fresh look at the server shows that it isn't one. Code can't make that check
either, because the database is on a server the verifier sandbox has no credentials for:
```
$ done-or-not probe w_close-02/optimistic_ui code read_file path=/srv/db
error: not accessible: the Helpdesk database lives on a remote server; the verifier sandbox has no credentials for it
```
## The scoreboard
Every number here comes from running this repository on itself. Run `python scripts/results.py` to
regenerate them; `pytest` fails if the committed copy in [`results/`](results/table.md) goes stale.
| verifier | accuracy | balanced acc. | accepts a false "Done" | mean probe cost |
|---|---:|---:|---:|---:|
| `explorer`: rubric, then probe every requirement, code first | **1.000** | **1.000** | **0.000** | 3.18 |
| `code-only`: probe what code can reach, nothing else | 0.912 | 0.833 | 0.000 | 1.30 |
| `trajectory-strict`: every screenshot; unseen = fail | 0.835 | 0.888 | 0.273 | 0 |
| `trajectory-lenient`: every screenshot; unseen = pass | 0.800 | 0.864 | 0.329 | 0 |
| `final-frame-strict`: last screenshot only; unseen = fail | 0.736 | 0.620 | 0.164 | 0 |
| `final-frame-lenient`: last screenshot only; unseen = pass | 0.586 | 0.719 | 0.684 | 0 |
| `trust-claim`: control, believes the agent | 0.396 | 0.590 | 1.000 | 0 |
| `always-accept`: control | 0.264 | 0.500 | 1.000 | 0 |
| `always-reject`: control | 0.736 | 0.500 | 0.000 | 0 |
| `coin-flip`: control | 0.508 | 0.505 | 0.484 | 0 |
Ablations of the explorer: GUI probes only, 1.000 at cost 5.67; no screenshots at all, 1.000 at cost
3.18; **trusting the screenshots and probing only what they left open, 0.835**. That last one is exactly
the strict trajectory judge's score.

Read the heatmap by column. Each judge has a column that defeats it, and different judges fail on
different columns:
* **Code-only** can't see the server, so it rejects every web task. Its 0.00 on `server only` is
successes it can't confirm. It also scores 1.00 on `optimistic ui`, for the wrong reason: it rejects
those because it can't see them either.
* **Trajectory judges** catch nearly everything an agent did *on screen*, including side effects. They
are blind to anything that happened after the last screenshot (`reverted`: a sync, an automation rule
or battery saver undid the change) and to screens that lie (`optimistic ui`).
* **Final-frame judges** trade one error for another. Strict ones fail real successes the last screen
doesn't show. Lenient ones accept anything the last screen doesn't contradict, so they accept every
unsaved edit, because the editor's `•` reads as "not evidence" rather than "no".

The budget sweep says the paper's thesis more sharply than the table does. **Screenshots are history.**
A verifier that probes only the requirements the screenshots left open (yellow) never improves, however
much budget you give it. A verifier that re-checks what the screenshots seemed to settle reaches 1.000 at
a budget of 3, which is one GUI probe or three code probes. Without the trajectory (green) it takes twice
that.
## What this is, and what it is not
**The failure modes are designed, so the baselines' blind spots exist by construction.** The table
illustrates the paper's argument. It is not evidence for it: I built a world where screenshots go stale,
and so screenshot judges fail when they do. The same goes for `explorer` at 1.000. It was written by
the person who wrote the worlds, with the same view parsers, so of course it's perfect. It shows that a
perfect score is *reachable*. It doesn't show that exploration is easy.
What *is* the contribution is the harness:
* **Exact labels.** Every case is labelled by an oracle over the full hidden state, not by the name of
the failure mode, and the tests check that the two agree on all 910 cases.
* **An honest comparison.** All the built-in verifiers share one rubric parser, one set of screenshot
readers and one set of evidence rules (in `verifiers.py`). The rows differ only in which evidence they
may use and in what they do with a requirement nothing settled. The table compares evidence sources,
not prompts.
* **Controls that pin the floor.** `always-accept` and `always-reject` score exactly the base rates, and
balanced accuracy is exactly 0.5. `trust-claim` accepts every false claim. `pytest` enforces all three,
and checks that no control gets within reach of the reference.
* **A plug for real verifiers.** That's where the interesting numbers will come from.
**No LLM verifier has been graded here yet.** The adapter ships and is tested against a scripted local
server, but running it costs money and I didn't spend any. If you run one, please send the numbers.
## Grade your own verifier
```bash
git clone https://github.com/tatra-labs/done-or-not && cd done-or-not
pip install -e .
done-or-not grade explorer # 1.000, about two seconds
done-or-not table # every built-in verifier
done-or-not show d_replace-03/unsaved_edit --reveal
```
**In Python:**
```python
from done_or_not.verifiers import Verifier, Verdict
from done_or_not.bench import grade, metrics
class Mine(Verifier):
name = "mine"
def verify(self, case, probe):
# case: task, platform, started_at, frames [{action, view}], claim, budget, catalogue
obs = probe.gui("open_ticket", id=957) # or probe.code("read_file", path="notes/todo.txt")
return Verdict(accept=..., reason="...")
print(metrics(grade(Mine())))
```
**Any language,** over JSON lines on stdin and stdout. [`examples/minimal_verifier.py`](examples/minimal_verifier.py)
is a 30-line skeleton with no imports from this package:
```bash
done-or-not grade --cmd "python examples/minimal_verifier.py"
```
```
-> {"type": "case", "case": {"id": ..., "task": ..., "frames": [...], "claim": ..., "budget": 12, "catalogue": {...}}}
<- {"type": "probe", "kind": "gui", "cmd": "open_ticket", "args": {"id": 957}}
-> {"type": "observation", "ok": true, "text": "[Helpdesk] Ticket #957 ...", "cost": 3, "remaining": 9}
<- {"type": "verdict", "accept": false, "reason": "the reloaded page says Pending"}
```
**An LLM** (OpenAI, vLLM, llama.cpp, Ollama, anything that serves `/chat/completions`):
```bash
done-or-not grade --llm my-model --base-url http://localhost:8000/v1 --limit 100
```
The model sees the task, every screenshot, the claim, the probe catalogue and the budget. Each turn it
answers with one JSON object, either a probe or a verdict. The prompt is in
[`done_or_not/llm.py`](done_or_not/llm.py).
Case ids end in the failure mode (`w_close-02/optimistic_ui`) so that results are readable. A verifier
that reads its answer out of the id is cheating; the LLM prompt doesn't include the id.
## The three computers
| | what code can reach | what the GUI shows | probes |
|---|---|---|---|
| **desktop**: files plus an editor | the disk | the editor, **including unsaved buffers** (marked `•`) | `read_file`, `list_dir`, `list_modified` · `open_file`, `file_manager`, `recent_files` |
| **web**: a helpdesk app | **nothing**: the database is on a server | a fresh page load, with no optimistic values | `open_ticket`, `ticket_list`, `open_profile`, `activity_log` |
| **mobile**: settings and notifications | settings and notifications, over a debug bridge | settings, search, the notification shade | `settings_get`, `settings_list`, `notifications_list` · `open_settings`, `search_settings`, `open_shade` |
Screens are text with limited viewports: lists paginate, settings scroll, the ticket's Details section is
collapsed. A GUI probe costs 3 and a code probe costs 1. The default budget is 12. Probes are read-only,
and the tests check that too.
There are 12 task templates × 10 seeds = 120 tasks, each run under every failure mode that applies to it:
| mode | label | what happened |
|---|---|---|
| `success` | done | done, and the last screen shows it |
| `success_offscreen` | done | done; the last screen is somewhere else |
| `server_only` | done | done on the web; only a page load can confirm it |
| `false_claim` | not done | looked at the target, changed nothing, said "Done" |
| `honest_failure` | not done | changed nothing, said so |
| `partial` | not done | did one of two things |
| `unsaved_edit` | not done | the editor shows the change; the disk doesn't have it |
| `side_effect` | not done | did it, and also changed something the task said to leave alone |
| `wrong_target` | not done | did it to the neighbour: `#124` for `#142`, `todo_archive.txt`, *Wi-Fi calling* |
| `reverted` | not done | did it; a sync, automation rule or battery saver undid it after the last screenshot |
| `optimistic_ui` | not done | the page said **✓ Saved**; the server dropped the write |
## Differences from the paper
This is an independent reading of the abstract, not the authors' code, and the numbers aren't comparable:
* the paper uses real desktop, mobile and web environments and real agent trajectories. These are three
small simulations and scripted agents;
* the paper's rubric is built by a model from context. Here the task text follows a fixed grammar and the
rubric is parsed, so rubric quality is not under test. An LLM verifier plugged in through `--llm` has to
build its own;
* the evidence rules in `verifiers.py` (state over fresh view over screenshot; a claim is never evidence;
a self-declared unsaved view is not evidence of stored state) are this repository's. The abstract says
only that findings are combined "under explicit evidence rules".
Not affiliated with the authors.
## Licence
MIT. The paper is [arXiv:2610.40578](https://arxiv.org/abs/2610.40578), *VeriCUA: Verification as
Agentic Exploration for Computer-Using Agents*, by Qiushi Sun, Da Yu, Alexander Knop, Amer Sinha, Lingpeng Kong,
Ben Kao, Ravi Kumar and Pritish Kamath.