Repository navigation
Preserve typed sampling parameters for nested task overrides - #522
Merged
Merged
Conversation
Preserve typed sampling params for nested task overrides
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
abhishekraok
commented
Nov 3, 2026
abhishekraok
left a comment
Collaborator
Author
There was a problem hiding this comment.
Written by Claude Code session fix-pr-review
Reviewed at e0eff8d (after update from main). Looks correct; no blockers.
- Checked end to end with the mock provider:
olmo-eval run -m mock -t ifeval -o sampling_params.max_tokens=32768 -o limit=3 --no-uploadcompletes and storesmax_tokens: 32768in the task config; tests cover flat-vs-nested precedence and Beaker-preview/runtime parity. - Non-blocking:
AsyncEvalRunnerstill callsget_task(spec, overrides)for its pre-checks (runners/asynq/runner.py~L1039) with the rawsampling_paramsdict; onlyconfigure_taskhydrates it. Harmless today because those checks don't hash the config, but hydrating in one place would remove the trap. - Composes with null-override-parse (#517):
-o sampling_params.max_tokens=nullyieldsNoneonce both land; all five open fix PRs merged together pass the CPU suite.
gregorybchris
approved these changes
Nov 9, 2026
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.
Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5
Merge
-o sampling_params.max_tokens=32768into typed task sampling parameters instead of replacing them with a dictionary. Preserve the task's other sampling defaults and existing flat overrides; flat keys take precedence if both spellings are supplied. Build Beaker task previews through the same configuration path as runtime.Fixes #397. No default task specifications or pinned task hashes change. Reference: current CLI/runtime behavior at
1b9fe6f3; no external benchmark changes.Validation at
52c4464a:uv run --frozen --no-group vllm ruff check src/ tests/andruff format --check src/ tests/: pass.uv run --frozen --no-group vllm ty check src/: pass. The olderty check src/ alembic/command fails because this revision has no rootalembic/directory.PATH=<bundled-git>:$PATH TERM=xterm-256color COLUMNS=200 uv run --frozen --no-group vllm pytest tests/ --ignore=tests/integration -q --basetemp=/tmp/oe397: 5,063 passed, 41 skipped. CLI/Beaker focused tests: 107 passed.No GPU or Beaker run; the regression exercises CLI parsing, runtime task configuration, hashable sampling parameters, and launch preview consistency on CPU.