-
Notifications
You must be signed in to change notification settings - Fork 284
Harden the CyberGym runner for reproducible trials #294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
NidTamil
wants to merge
13
commits into
NVIDIA-NeMo:main
Choose a base branch
from
NidTamil:chore/sunchaser-official-preflight
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
54f53c4
feat: harden CyberGym official-run pipeline
NidTamil b26fc47
fix(cybergym): calibrate reasoning floor from trial
NidTamil 3c08976
test(cybergym): pin resolved model provenance
NidTamil cbf95b8
fix(cybergym): record resolved worker model
NidTamil e572f17
test(cybergym): require hard worker cell timeout
NidTamil 80ff00b
fix(cybergym): hard-timeout generated worker cells
NidTamil 7226810
fix: bound control calls and preserve PoC candidates
NidTamil 5a2d6d7
fix: stabilize crash families and review timing
NidTamil 0c27c2c
fix: preserve large verifier responses
NidTamil ba0c398
fix: preserve finals across outer timeouts
NidTamil 299d237
fix: reject unresolved task data
NidTamil 76bd6ab
fix: pace CyberGym verifier submissions
NidTamil 98caf17
fix: rank CyberGym target family before PoC size
NidTamil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
1,691 changes: 1,691 additions & 0 deletions
1,691
examples/cybergym/nooa_cybergym/_vendor/code_validator.py
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
The site-packages overlay creates a mixed-version
nooainstall and breaks the pinned-commit provenance.Line 41 installs
nooafromNOOA_COMMITwith hashed requirements. Lines 47-50 then copy working-tree code oversite-packages/nooa. Three consequences follow:COPYmerges into the existing directory. Any module that the pinned wheel installed but the working tree no longer contains stays in the image. The runtime then imports a mix of two versions.dist-infometadata still reportsNOOA_COMMIT, so the recorded provenance no longer matches the executed code. For an official-score run this weakens the evidence trail./usr/local/lib/python3.12/site-packagesis hardcoded. If the base image moves to another Python minor version, everyCOPYwrites to an unused directory and the build silently keeps the installednooainstead. The failure is silent, not a build error.Install the local checkout as a package instead of overlaying it, and resolve the site-packages path at build time.
🛠️ Proposed direction
If the overlay must stay, at minimum resolve the path dynamically:
🤖 Prompt for AI Agents