nemo_gym.eval_plan
nemo_gym.eval_plan
Build a benchmark’s evaluation plan: every task once, with a stable id and a content digest.
The plan file format is versioned by its schema label and only changes additively within a version.
Module Contents
Classes
Functions
Data
API
Bases: BaseModel
A benchmark’s tasks, each listed once, sorted by task id.
Bases: BaseModel
The benchmark the plan was made for.
Bases: BaseModel
The Gym that produced the plan.
Bases: BaseModel
One task: its identity and a digest of the exact input a run receives.
Turn prepared benchmark rows into a plan.
Every row must carry its own id in one of TASK_ID_FIELDS. Unlike collation, there is no fallback to
the row’s position, because a position-based id names a different task once rows are reordered.
taskset is the dataset’s declared taskset, or the benchmark name when it declares none.
Serialize a plan deterministically: the same plan always gives the same bytes.