nemo_gym.cli.dev
nemo_gym.cli.dev
Module Contents
Functions
Data
API
Escape ${ (and any backslashes directly before it) so OmegaConf hands the text back unchanged instead of
treating it as an interpolation.
Compare two rollout JSONL files task by task (identical, flipped, masked, missing) and print the losing side’s verifier output for every flip. A temporary migration aid: the gate before an old resources server is deleted in favour of its Harbor-path replacement.
cli_values are the paths and quoted options exactly as argparse parsed them (see _dev_compare in main.py);
they seed the config directly because Hydra’s override grammar mangles non-ASCII and backslashes, with ${
escaped so OmegaConf does not interpolate them either. Hydra overrides on the command line (+tail=3,
+json=true) still apply on top.
Examples:
Run core NeMo Gym tests with coverage reporting (runs pytest with —cov flag).
Examples: