nemo_gym.path_utils

View as Markdown

Module Contents

Functions

NameDescription
aggregate_metrics_path_forresults/rollouts.jsonl -> results/rollouts_aggregate_metrics.json.
failures_path_for-

API

nemo_gym.path_utils.aggregate_metrics_path_for(
output_fpath: pathlib.Path
) -> pathlib.Path

results/rollouts.jsonl -> results/rollouts_aggregate_metrics.json.

Mirrors how rollout collection and reverification name the file they write, so consumers (e.g. gym eval compare) derive the same path the writers produced.

nemo_gym.path_utils.failures_path_for(
output_fpath: pathlib.Path
) -> pathlib.Path