Repository navigation
feat(nemo-user-sim): add generated validation tasks - #3802
Conversation
43b2489 to
f50fed1
Compare
f50fed1 to
289c573
Compare
b85cd2c to
c6f39ef
Compare
This comment was marked as resolved.
This comment was marked as resolved.
c6f39ef to
36a07ee
Compare
36a07ee to
f93d5c7
Compare
b7686a2 to
833347c
Compare
ananthsub
left a comment
There was a problem hiding this comment.
mostly small comments that should be addressed before merge
|
Thanks for the quick turnaround. I checked each of the previous comments against this head:
One item still blocks the merge: the persona version is recorded but not enforced. See the comment on One more request: fix the preparation command in the PR description. There's still no rollout evidence for the 14 generated tasks. #3800's rollouts cover the five example rows only. Please run the validation split once and record the reward and masking results here. |
ananthsub
left a comment
There was a problem hiding this comment.
Thanks, this addresses most of the last round. I checked each item against this head:
- The persona pin is real now.
prepare.pychecks the SHA-256 of the persona file before materializing, and fails with the command that downloads exactly 0.0.2. - The seed check decides from the row. Rows recording
"synthetic"or the configured version pass, whatever their taskset is called. gym eval prepareprepares every dataset that declares a script, and the "exactly one benchmark" error is gone.- The missing-file branch is tested now, and
exclude_ifwas replaced with a serializer that works on any pydantic 2 release.
Two items block the merge:
- The committed example rollouts were edited after they were recorded. See the comment on
example.jsonlL1. - CI's
secrets-detectorjob fails on the new digest constant. See the comment onprepare.pyL22.
The fix for the fresh-checkout message also needs another pass: it suggests a config that can't prepare this dataset. See the comment on train_data_utils.py L664.
Two items from the last round are still open:
- The PR description still says
gym eval prepare --environment nemo_user_sim, which fails with "unrecognized arguments". - There is still no rollout evidence for the 14 generated tasks.
|
Thanks for the detailed follow-up. I addressed all five inline threads and resolved them:
I also corrected the preparation command in this PR and in the dependent #3910 tutorial/READMEs: gym eval prepare --config environments/nemo_user_sim/config.yamlThe initial full validation produced 5 unmasked and 9 masked rows. Investigation showed that the nine judge failures were caused by UserSim's 4,096-token maximum output budget being shared with hidden reasoning: the captured judge responses ended mid-JSON, and one returned empty answer text. Commit I then reran the full validation
Current focused validation also includes 122 core tests, 34 resources/data tests, 26 environment-server tests, strict 14-row generation, scoped pre-commit, and Fern validation on #3910. |
|
/ok to test 77e58fc |
|
/ok to test 97823b9 |
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
|
/ok to test 73a6309 |
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
@ffrujeri, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
|
/ok to test fbd9147 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37657795827 |
Summary
environments/nemo_user_sim/data/nemo_user_sim.jsonl.type: validationwith tasksetnemo_user_sim:validationand a Gym-managed preparation script.0.0.2by version and the SHA-256 ofen_US.parquet, honoring Data Designer managed-asset path precedence.examplerows for CI data validation and re-record compact rollout evidence tied to each row digest.gym eval prepareto prepare non-benchmark datasets and report the config that declares a missing prepared dataset.Why
This is a validation suite rather than a published benchmark. The preparation script materializes the complete probe set; users then run it with
--split validation.Validation
uv run pytest -q tests/unit_tests/test_benchmarks.py tests/unit_tests/test_train_data_utils.py— 122 passed.uv run pytest -q resources_servers/nemo_user_sim/tests— 34 passed, 1 warning.uv run pytest -q environment_servers/nemo_user_sim/tests— 26 passed.gym eval prepare --config environments/nemo_user_sim/config.yaml— generated 14 tasks covering 14 distinct probes.null.git diff --checkand IDE diagnostics — passed.Live rollout evidence
The initial 14-task run with
env.yamlproduced 9judge_failedmasks. Captured responses showed that the configured reasoning support model exhausted UserSim's 4,096-token judge budget: failed JSON ended mid-string, and one response spent the full budget in reasoning and returned empty answer text.The Resources Server now configures 16,384 judge output tokens (32,768 for non-ASCII locales), with a regression test covering the reasoning-model budget. Re-running the same five example tasks with the same
env.yamlproduced:0.8.resolved_row_sha256values match the current example rows.Compatibility
Generate rows with:
gym eval prepare --config environments/nemo_user_sim/config.yamlThen run them with
--environment nemo_user_sim --split validationor load the same config explicitly. Theexampledataset remains CI-only. Upstream UserSim package and row-field names retain their existingusersimidentifiers.