Skip to content

A trial's stop reason stays cached after its verifier/score.json changes #432

Backlog

Description

@harenome

Priority

P3 · When convenient: no Nullius writer changes score.json alone, and Refresh reads the job again.

Evidence

Since #340 Trial.ended_by comes from verifier/score.json. The cache signature covers result.json, trajectory.json and trace.json only. Editing or removing score.json keeps the old stop reason; the trial page's Steps row reads it fresh and disagrees.

Main a8226ba, detail.ended from done to steps, then the file removed:

load_jobs, first                 ended_by='done' state=finished
fresh parse after edit           ended_by='steps' state=finished
load_jobs, same process          ended_by='done' state=finished
load_jobs, signature path        ended_by='done' state=finished
load_jobs, new process           ended_by='done'
fresh parse, score.json removed  ended_by='' state=finished
load_jobs, new process           ended_by='done'

Reproduction

  1. A finished standard job, a trial's score.json with "ended": "done".
  2. Change it to "steps", or delete it.
  3. Reload the job page.

Expected

The stop reason follows score.json, as a fresh parse does.

Acceptance

  • A trial's cache signature covers verifier/score.json, its absence included.
  • Changing or removing only score.json changes ended_by on the next load (test).

Related

#340

Activity

  1. added
    bug
    P3
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions