nemo_gym.batch_status
nemo_gym.batch_status
Validated Eval Factory batch manifests and compact, atomic Gym status artifacts.
Module Contents
Classes
Functions
Data
BATCH_STATUS_WRITE_INTERVAL_SECONDS
API
Bases: BaseModel
Versioned, secret-free handoff from Eval Factory to Gym.
Bases: BaseModel
Eval Factory’s expectations for one logical benchmark in a shared Gym run.
Bases: BaseModel
The repeat shape Gym must observe for every task belonging to one member.
Validate one batch manifest and materialize its current per-agent status.
Reject malformed IDs and records belonging to a different materialized batch.
Build status from expected identities, raising ConfigError for mismatched result records.
Atomically refresh status, throttling progress writes unless force is true.
Dataset and repeat facts derived from materialized Gym input rows.
Canonicalize task content independently of routing, repeats, retries, and skills.
Copy only non-secret diagnostics into batch_status.json.
Load a manifest and return it with the SHA-256 of the exact input bytes.
Derive per-agent dataset fingerprints and repeat policies from full materialized inputs.
The dataset digest hashes one canonical row per task in its materialized order. Runtime
routing and identity fields, repeat seeds, retry attempts, and run-level skills are excluded;
prompt-expanded inputs and task_source remain part of the dataset identity.
Reject any manifest expectation that disagrees with Gym’s materialized inputs.