The Script Runtime has accepted a harness job. The evaluation coordinator has the run it meant to start, but its write to record the runtime’s receipt fails. When a replacement coordinator takes over, how does it pick up the same job?
We designed Trialground so the coordinator saves the identity of the work before it submits it. Follow that identity through a lost receipt and you can see how a harness job becomes a result on the original run.
Freeze the question before executing it
A saved Harness Version identifies the candidate: the Python bundle and its declared runtime requirements. A Benchmark Version supplies frozen case content and the applicable assessment settings. Trialground binds these to the accepted execution, including the prepared image used for the submitted work. A draft edit, a change to the case pool, or a later image build should not silently change the run already in progress.
That distinction matters in practice. The runtime needs the actual inputs and declared materials for each case, not just a pointer to whatever the case happens to contain today. The evaluator needs the selected response and criterion, not the latest response or rubric with the same name. Without those boundaries, a result might be internally consistent while answering a different question from the one the engineer asked.
| Record | What it establishes |
|---|---|
| Accepted experiment | Which saved harness, prepared environment, benchmark version, and cases were selected. |
| Execution evidence | Which accepted work produced each output, what was captured, and which inputs lack usable evidence. |
| Evaluation evidence | Which response or captured trajectory was judged against which rubric and evaluator settings, and how the Regime combines judgments. |
With those versions in the run record, engineers can trace a result back to the exact setup and compare two harnesses on the same Cases. The harness controls the dependencies and per-case state it uses during execution.
Lose the receipt, keep the job
There are three records in play. The evaluation coordinator owns the execution plan, including the batch and its Agent Run identities. Script Runtime owns the Script Run it accepts under a submission key. The evaluation side owns the outputs applied to the Agent Runs and the evaluation that reads them.
- Record intent. The coordinator saves the batch and its Agent Run identities and begins those Agent Runs. It uses the batch’s stable submission key to ask Script Runtime to execute the prepared harness.
- Accept the job. Script Runtime records the accepted job under that key and returns its Script Run ID. In this sequence, the coordinator’s write of that ID fails. The batch and Agent Run identities are still in the execution record.
- Recover the receipt. A replacement coordinator reloads the batch and resends the submission with the same key and Agent Run identities. Script Runtime resolves it to the original Script Run. The coordinator records the recovered ID and resumes tracking that job.
- Apply the output. When the job finishes, the coordinator applies the returned output to the original Agent Run. In a Lemon Goal candidate run, the evaluation also keeps its original identity and consumes that output.
Two submissions lead to one logical Script Run, one applied output in this sequence, and one candidate evaluation. The important ordering is that the coordinator has the intent and its identifiers before crossing into Script Runtime. A replacement worker has enough information to recover the receipt even though the first worker never saved it.
Record execution and evaluation separately
Trialground records what the harness returns, then evaluates the evidence each rubric is written to judge. A response rubric uses the candidate’s answer. A trajectory rubric can examine the actions recorded along the way. A run can produce several kinds of result side by side:
| What happened | What the run records |
|---|---|
| The harness produced usable output | The answer and its captured execution evidence, ready for assessment. |
| The harness returned an invalid result for a Case | A Case-level execution failure, alongside any usable outputs from other Cases. |
| The platform stopped the execution | The infrastructure failure, recorded separately from rubric judgments. |
The same record separation matters when a batch returns mixed results. The coordinator can retain the successful Case output and record the neighboring Case’s execution failure against its own identity. If the platform itself stops execution, Trialground records the infrastructure outcome separately. The rubric verdicts come from evidence the evaluator actually received.
That’s why the receipt matters. It’s the link between the batch we planned and the Script Run that executed it. Once that link is restored, output collection and evaluation continue from the original run, with the same Harness Version, Cases, and assessment.