nemo_gym.eval.recovery.evidence
nemo_gym.eval.recovery.evidence
The evidence collector of gym eval resubmit --recover: one self-contained Python script, run on the run’s host
over the executor’s connection (or locally), that reads the job directory and prints one JSON object.
Decisions live in nemo_gym.eval.recovery.planner; this module holds the script and the constants it embeds.
Module Contents
Classes
Functions
Data
OPERATOR_CONTINUATION_JOURNAL_NAME
API
Bases: BaseModel
Bases: BaseModel
Read-only facts from the authoritative Store, not a second retry policy.
Bases: BaseModel
Where the last operator continuation started the chain’s accounting: its chain length and walltime baseline.
Hash one stable file with bounded memory, using the exporter’s existing identity checks.
Two streaming passes must agree on stat identity and bytes: a same-size in-place rewrite within one timestamp tick changes no stat field. This doubles source reads; it does not make the reader atomic against ABA writes.
Session trial metadata from the bound saved config and the Store’s own inputs, after Store selection.
Returns the results with materialized_task_id on each session row and the effective checkpoint setting, or
the results unchanged and None when any fact is missing. Self-contained: the remote Store reader runs this
source inside the saved install, on that install’s Store, materialization and checkpoint APIs.
Read locally accessible Store history in this installed Gym process; never copy its selection rules.
The plain remote collector remains dependency-free. Call only on the same host as the installed caller, after collection. Both snapshots must include the manifest and journal and remain byte-identical.