Repository navigation
Conversation
…and moves A new Nullius standard job declares a UUID, standard.uuid in its config.json: a run resumed into the same folder keeps it, a merge makes a new one. The reader exposes Job.uid and Job.uid_source: the declared id, else a uuid5 derived from fixed facts of the files (format, folder name, what ran, the start), else pending for a job with no trial and no start. No path is a fact, so a copy or a move keeps the identity; old files are never rewritten to gain one. Trial.key names a trial within it, a try by its attempt.
…it move with the feed A run resumed under the same name keeps the folder's uuid only when the earlier config names the same benchmark, plugged agent or capability, model and dataset; a job from before standard.uuid is given the uid it was read under. A Harbor job's start is read from result.json only, never from Nullius's feed, which may appear later; a feed that is not UTF-8 is read with replacement. A merge writes its config.json first and whole, so its result is never read without the merge's uuid. Imports' identity by folder name is marked as a known limit.
This was referenced Nov 24, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #399
What
A job's only name was its folder's, which is not unique and changes nothing when the folder is copied. A new standard job now declares
standard.uuidin itsconfig.json: kept when a run resumes into the same folder as the same job (same benchmark, plugged agent or capability, model and dataset), new for another job under that name and for a merge. A job from beforestandard.uuid, resumed as the same job, declares the uid it was read under. A merge writes itsconfig.jsonfirst, whole. The reader addsJob.uidandJob.uid_source(declared,derived,pending) andTrial.key. Without a declared id (Harbor, imports, older standard jobs) the uid is auuid5over fixed facts read from the files (format, folder name, what ran, the start: for a standard job the feed'sjob.start, elseresult.jsonstarted_at; for a Harbor jobresult.jsononly), with"v": 1; no path is a fact, so a copy or move keeps it. Nothing reads the uid yet; #362 does. Old files are never rewritten.Touches
backend · the standard · docs and site
Verified
app/tests/test_job_uid.py: a resume into the same folder keeps the uuid, another model, dataset or plugged agent under the name gets a new one; a resumed job from beforestandard.uuiddeclares the uid it was read under; a copy and a move keep the uid of a Harbor fixture job and of an older standard job; another folder name or another start gives another uid; a Harbor job's uid ignores a feed that appears later; a feed that is not UTF-8 is read; a job with no trial and no start ispending; a try is keyed by its attempt.test_standard_shard: a merged job's uid is declared and differs from its three shards'; itsconfig.jsonis whole before itsresult.jsonis written.field_contract.jsonrefreshed (uid,uid_source,key);parse.SCHEMAbumped so caches reparse.Risk
result.jsonidis not used until a resume is shown to keep it. Whether Harbor writesstarted_atbefore its first trial is unverified at the pin; if not, a Harbor job's uid changes once when it does.parse.SCHEMA17 to 18: every cached job is reparsed once. Open PRs that bump it too (feat(runs): show what identifies a run and its mean over every planned task #336, feat(standard): show a running task's steps of its limit and score a task cut at a limit #340, feat(standard): list a dataset's tasks, keep named task sets and run one with --set #352, feat(standard): run tasks of an ended job again in it, and begin a planned run on a part #354) conflict on that line and onfield_contract.jsononly.standard.uuidis an extra key older readers ignore.