Repository navigation
fix(scicode): record trajectory and model calls so rollouts are observed - #4468
Merged
Merged
Conversation
Signed-off-by: Giulio Lovisotto <[email protected]> Signed-off-by: Wojciech Prazuch <[email protected]>
laszkiewiczp
approved these changes
Oct 12, 2026
Contributor
Author
|
/ok to test 611e0ed |
wprazuch
enabled auto-merge
October 12, 2026 12:21
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/38249342430 |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's broken
SciCode rollouts come back "unobserved". The agent makes one model call per sub-step, but it never links those calls to the rollout. So there is no trajectory and no
ng_perf, and a health gate that needs observed rollouts cannot pass.What this does
This carries only the SciCode change from #4239 (original commit by Giulio Lovisotto, cherry-picked unchanged onto current main).
ModelCallRef).ng_trajectory, so the collector can buildng_perf(turns, tokens, coverage, latency).Testing
responses_api_agents/scicode_agenttests, in their own venv: 45 passed. The new test fails on the old code.resources_servers/scicodetests, in their own venv: 19 passed.pre-commit run --all-files: passed.Known limitations (not changed here)
scipy>=1.14.1.scipy.integrate.simps. SciCode test problems 2 and 28 import it, so they always fail now (about 4 of 291 sub-steps).