Repository navigation
Done
Feature
Copy link
Labels
Description
Priority
high by depth: the job reader (app/nullius/runs/parse.py) and the standard runner's job records (app/nullius/standard/runner/job.py, merge.py). Placeholder until #362 is scheduled; #362 needs it.
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
Today
Job.job_idis the folder's base name (parse.py,parse_job). Two roots can hold two jobs of one name (Deleting a launch keeps its judgements when a deleted job of the same id is still in the workspace's job index #358).- A standard job's
result.jsonwrites"id": <job name>(job.py,write_result;merge.py). A merge copies shard 0'sconfig.json, so nothing tells the merged job from its shard. - Harbor's
result.jsoncarries a UUIDid, but whether a resume keeps it is unverified. - What Nullius records about a job (judgements, Judgements belong to a workspace, not to the job: deleting the workspace deletes them, and two workspaces keep two copies #362) can only be keyed by that name, or by the folder's path, which a copy or a move changes.
Wanted
- A new standard job declares a UUID,
standard.uuidin itsconfig.json, at creation. A run resumed into the same folder (same--name) as the same job keeps it, another job under that name gets a new one; a merge writes a new one. - The reader gives every job
Job.uidandJob.uid_source:declared(the job's own id), elsederived(auuid5over fixed facts of the files: format, folder name, benchmark or agents, model, launch, shard, start; no path), elsependingfor a job with no trial and no start. - Harbor jobs and imports use derived identity for now; a Harbor job's start comes from its
result.jsononly. Two imports of sources with one base name share an identity until each source gets an id of its own (a separate issue). A trial is keyed by its name within the job (Trial.key); a try underretried/by its attempt's name. - Old files are never rewritten to gain an id.
Acceptance
- A new standard job's
config.jsonhasstandard.uuid; writing the config again into the same folder for the same job keeps it, for another job replaces it (test). - A merged job has a
standard.uuidnone of its shards has (test). - A copy and a move of a Harbor job and of an older standard job keep
Job.uid(test). - Two jobs of one folder name with different starts have different
Job.uid(test). - A job with no trial and no start has
uid_sourcepending(test). - A job from before
standard.uuid, resumed as the same job, keeps the uid it was read under (test). - A Harbor job's uid does not change when a feed appears in its folder (test).
-
field_contract.jsonlistsuid,uid_sourceandkey.
Dependencies and related
Needed by #362 (judgements keyed by the job). Related: #358 (two jobs of one id), #336 (a different, configuration-level identity on the job; no shared name).
Activity