Repository navigation
test(terminal_bench_4): control verifier deadline phases - #5860
Conversation
Signed-off-by: Martyna Patelka <[email protected]>
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found. I reviewed the clock fixture and all six deadline cases, compared them with the base, and traced the verifier, SDK timeout forwarding, and transfer cleanup paths. The tests retain explicit checks for pre-expiry progress, cancellation, remaining allowance, reward preservation, diagnostics, and skipped cleanup without elapsed-time bounds.
Static review only; I didn't execute tests or independently verify the validation results reported in the PR.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42656904159 |
The #5844 merge-queue run failed
test_optional_transfer_uses_remaining_budget_and_retains_reward[archive]: its reward-preservation assertions passed, then elapsed time was 0.6774s against the fixture's <0.45s bound. This CI failure is the tracked issue for this focused repair.Advance an isolated event-loop clock at the fake sandbox boundary instead of sleeping and asserting elapsed time. The six existing cases still run the real verifier,
Environment.exec, transfers andasyncio.timeout_at. They observe progress before expiry, actual cancellation after expiry, the remaining SDK time allowance, authoritative reward persistence, diagnostics and skipped cleanup. No runtime, configuration or benchmark data changes are included.Validation for
c96cedca5013ce67847054609e0fd56b2f98e3a4:should_validate_data=true: 347 passed, 2 skipped; example data validated. Local platform: macOS, Python 3.13.14, locked component environment, uv 0.13.4. The existing skips include the unavailable separate tmpfs boundary.Model rollout evidence: N/A for this change to existing test fixtures. The verifier's shared-deadline and saved-reward contracts from #5072 remain the behaviors under test. Hosted CI and an applicable independent reviewer approval are required before merge.