You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verdict: no blocking findings. 4 agents (RL expert, test reviewer, bug finder, devil's advocate). 3 candidate findings raised; all three fell below the confidence×impact bar and none land on a line in this diff.
CI
All checks green on 9cfeea9 — 78 passed, 13 skipped, 0 failed.
The relevant one is L0_Unit_Tests_Algorithms, which runs unit/algorithms/. Neither fixed test carries a pytest mark (and test_grpo.py has no module-level pytestmark), so neither is routed to the mcore or nemo_gym shards, and neither appears in the FAST=1 deselect list in excluded_unit_tests.sh. Both therefore ran in that shard and passed — confirming the two assertions this PR fixes.
L0_Unit_Tests_Environments and L0_Unit_Tests_Nemo_Gym are also green, which is consistent with the test_nemo_gym_health.py item below being latent rather than broken.
Review analysis itself was static — no GPU and no pytest/uv on the host where the skill ran, so conclusions below come from reading source, AST checks, and the #3668/#3391 patches. CI supplies the execution evidence.
Root cause confirmed
Both tests are red on main. spinup_nemo_gym_actor takes tokenizer as keyword-only with no default (added in #3668) and grpo.py:751 passes it, but the two assert_called_once_with blocks added in #3391 still list the pre-#3668 kwarg set. #3668 never touched tests/unit/algorithms/test_grpo.py, so nothing conflicted textually — clean merge, stale assertions.
Checked
No shadowing in either hunk. The asserted tokenizer is the same object handed to setup, so both assertions test real forwarding rather than passing vacuously. In test_setup_starts_nemo_gym_for_trtllm the MagicMock() had to be bound to a name for that to hold, which is what the second hunk does.
No production bug masked by this fix. Specifically checked whether the single-controller path was missing the kwarg — that would be a runtime TypeError a green suite would hide. It is not.
setup's tokenizer is non-Optional and built unconditionally by every entrypoint, so there is no None path into _spinup_nemo_gym.
Follow-up (not this PR)
#3668 also removedrun_rollouts' positional tokenizer, and one caller still has the old shape: test_nemo_gym_health.py:82 calls run_rollouts([...], None, "timing/x"), which now binds timer_prefix=None and deduplicate_multimodal_data="timing/x". It stays green because _require_spinup() raises before either argument is read — which is exactly what that test asserts — so nothing is broken today. Out of scope here; happy to fold it in if a reviewer prefers.
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
CI:LfastRuns a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version)
2 participants
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.
fix the unit test fail comes from the silent merge conflict of #3668 + #3391.
validated
test_setup_initializes_noncolocated_dynamo_with_nemo_gymandtest_setup_starts_nemo_gym_for_trtllmadded in #3391 could pass.