Fix eval_start_step logic with eval_interval#4585
Open
zxhe-sean wants to merge 1 commit into
Open
Conversation
zxhe-sean
requested review from
RissyRan,
abhinavclemson,
bvandermoon,
gagika,
gobbleturk,
khatwanimohit,
richjames0,
shralex and
vipannalla
as code owners
July 23, 2026 22:04
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
zxhe-sean
requested review from
A9isha,
NuojCheng,
SurbhiJainUSC,
aireenmei,
darisoy,
dipannita08,
hengtaoguo,
huytransformer,
igorts-git,
jiangjy1982,
suexu1025 and
xibinliu
as code owners
July 23, 2026 22:04
zxhe-sean
force-pushed
the
zxhe/eval_start_step
branch
2 times, most recently
from
July 23, 2026 22:44
164ebe2 to
62de2e9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
zxhe-sean
force-pushed
the
zxhe/eval_start_step
branch
4 times, most recently
from
July 24, 2026 00:57
fc17d60 to
35ede7a
Compare
zxhe-sean
force-pushed
the
zxhe/eval_start_step
branch
from
July 24, 2026 01:00
35ede7a to
25702cd
Compare
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.
Description
This PR resolves the logic conflict and confusion when both
eval_start_stepandeval_intervalare specified.Previously, when users set both
eval_start_stepandeval_interval, the evaluation logic had conflicting behaviors—either waiting until the end of the first full interval before starting or misaligning the initial evaluation step with subsequent intervals.Standardizing the behavior so that evaluation explicitly starts at
eval_start_stepand subsequently followseval_intervalsteps ((step - eval_start_step) % eval_interval == 0).eval_interval=10evaluating at steps 9, 19, 29...), they can achieve it under this unified model by settingeval_start_step=9.FIXES: b/535641549
Tests
Tested locally
Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.