Repository navigation
fix(eval): reject -i/--input in end-to-end eval run instead of silently ignoring it - #2709
Merged
Merged
Conversation
…ly ignoring it E2ERolloutCollectionConfig has no input_jsonl_fpath field, so pydantic's default extra='ignore' dropped a user-passed -i/--input and e2e collection overwrote it with the prepared split path — the user's file was silently ignored. Fail loud with a ConfigError telling the user to either add --no-serve (to use their file) or drop -i (to use prepared data). Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Adil Asif <[email protected]>
adil-a
enabled auto-merge (squash)
August 24, 2026 18:10
bxyu-nvidia
approved these changes
Aug 24, 2026
5 tasks
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.
What
gym eval run -i myfile.jsonlwithout--no-servesilently ignores-i:E2ERolloutCollectionConfighas noinput_jsonl_fpathfield (Pydanticextra="ignore"drops it), and the e2e path then unconditionally overwrites the input with the prepared split it generates. The run proceeds on different data than the user asked for, with no warning.Fix
A
model_validatoronE2ERolloutCollectionConfigraises a cleanConfigErrorwheninput_jsonl_fpathis passed in e2e mode, telling the user to either add--no-serve(run on their file against already-running servers) or drop-i(use the prepared data).--no-serve -ibehavior is unchanged. E2e mode generating its own input is correct and unchanged — this only makes the contradictory flag combination loud instead of a silent no-op.Tests
3 new tests (error fires in e2e; e2e without
-istill validates;--no-serve+-iunaffected); fulltest_rollout_collection.pysuite passes.🤖 Generated with Claude Code