Repository navigation
test(grpo): cover zero-age startup barrier - #3761
jthomson04 wants to merge 1 commit into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
jthomson04
left a comment
There was a problem hiding this comment.
Reviewed by a team of five agents (RL-codebase expert, bug-finder, test-agent, devil's advocate, plus collation). Findings were adversarially challenged before posting — 4 candidate findings were dropped as noise, and one was dropped as factually wrong.
The core change looks correct, and I traced it rather than taking the premise on faith. _calculate_target_weights returns [v+1 .. v+lead] at every non-initial weight version, and weight_version only advances at refit — so target v+1 is always generated concurrently with training step v. A fresh run's step 0 therefore has exactly the same one-training-step of slack that every subsequent step already relies on; if that were unsafe, training would stall at every step, not just the first. The restored case is genuinely different: the buffer arrives pre-filled, so the wait loop can break at iteration 0 before the collector has reserved anything. The asymmetry the PR encodes is real.
One item turns CI red (import ordering); the rest are suggestions.
Verified locally: the new test passes, and the two has_complete_batch / config facts cited below were checked against source. Notably, two independent mutations to the new predicate survive the added test — details inline.
Generated by Claude Code
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test 8646691 |
8646691 to
16c92b2
Compare
|
/ok to test 16c92b2 |
16c92b2 to
5198912
Compare
|
/ok to test 5198912 |
Signed-off-by: jthomson04 <[email protected]>
5198912 to
7ccdb5a
Compare
|
/ok to test 7ccdb5a |
Summary
This test-only diff removes the uncovered production line that caused the previous Codecov patch failure.
Testing