Skip to content

A unit stopped with its run reads as Unknown and counts as a miss in the adjusted rate #53

Closed

Description

@aitianshi

Priority

high

Components

  • app/nullius (backend)
  • app/web (routes)
  • templates and static files
  • docs and the site
  • catalogue (benchmarks, agents, capabilities)
  • the standard (ports, kits, relay, runs)
  • CI, workflows and skills

Evidence

A standard run stopped while units were in progress (Ctrl-C) writes each of them with the exception type CancelledError (app/nullius/standard/run.py, CANCELLED = "CancelledError"). app/nullius/runs/classify.py has that name on none of its lists, so from_verdict returns unknown, which stays in the adjusted rate's denominator.

One job, read two ways. HumanEval, 80 tasks planned, stopped after 10 had begun: 1 passed, 1 ended at its own spending cap, 8 were in progress.

the run's feed (events.jsonl, trial.end):  cancelled 8, agent_error 1, resolved 1
the job as the pages read it (parse_job):  unknown 8,   agent_error 1, resolved 1    n_infra 0

The job page reads "Adjusted rate 10% 1/10".

The classifier's comment says of an exception neither side claims: "Not the agent's fault by default: the trial stays counted and nobody is charged". For a unit the user stopped that keeps it in the rate as a miss.

Screenshot

None attached.

Reproduction

  1. Start a standard run of an agent whose units take some seconds, several at a time.
  2. Stop it with Ctrl-C while units are in progress.
  3. Open the job: the units that were in progress read Unknown, inside the adjusted rate.

Expected

A unit that was stopped with its run had no attempt: it reads as cancelled, as the live feed already says, and is outside the adjusted rate.

Acceptance

  • A trial a standard run wrote as CancelledError is classified apart from Unknown, with a label that says the run was stopped.
  • It is outside the adjusted rate.
  • The outcome vocabulary of docs/field-guide.md follows, and app/tests/test_field_guide.py passes.
  • A test with such a trial.

Dependencies and related

Found while validating the spending cap (#49) on a real provider; older than it: both the CancelledError label and its absence from the classifier's lists predate those pull requests. Placeholder priority: the cause is in the backend, the effect is one number on a run the user stopped on purpose.

Activity

  1. self-assigned this
    on Nov 11, 2026
  2. added
    bug
    on Nov 11, 2026
  3. added theissue type on Nov 11, 2026
  4. added
    P2
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions