Repository navigation
Run IFBench tasks in the reasoning regime by default - #420
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 414ee2d655
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
ifeval_ood and both ifeval_mt tasks generated greedily with a fixed 2048-token budget, which a thinking model spends on its trace before it reaches an answer. Their defaults now match the repo's other reasoning-regime tasks: temperature 0.6, top-p 0.95, and max_tokens=None so generation is bounded only by the model context. The previous greedy 2048-token regime stays available as each task's :tulu variant. Co-Authored-By: Claude Code <[email protected]>
The values live in each task's SamplingParams; the docstrings now name the regime and the :tulu variant without restating them, per AGENTS.md. Addresses Codex review on #420. Co-Authored-By: Claude Opus 5.5 <[email protected]>
414ee2d to
7ffc06f
Compare
The values live in each task's SamplingParams; the docstrings now name the regime and the :tulu variant without restating them, per AGENTS.md. Addresses Codex review on #420. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ench's budget The nesting check looked only at direct children, so AVERAGE -> NONE -> GAP passed and the runner then averaged the gap's two leaves. It now walks every descendant. With #420 in this branch, ifeval_ood generates to the model context, so the budget test that held it as a known failure now asserts it like every other task in the pass. Addresses Codex review on #422. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The values live in each task's SamplingParams; the docstrings now name the regime and the :tulu variant without restating them, per AGENTS.md. Addresses Codex review on #420. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ench's budget The nesting check looked only at direct children, so AVERAGE -> NONE -> GAP passed and the runner then averaged the gap's two leaves. It now walks every descendant. With #420 in this branch, ifeval_ood generates to the model context, so the budget test that held it as a known failure now asserts it like every other task in the pass. Addresses Codex review on #422. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Note that newer EMO models may need higher temperature. |
Update approved IFBench defaults with current main
Written by the Claude Code session
ledger-worker(session id72ea05cb-832c-5396-b05b-5bece635b222), for hill-climb-evals (#378).Part of reasoning-responses-truncated (#399). Per-task cap-hit / empty / unclosed-think counts come in a follow-up PR.
Description
ifeval_ood(IFBench) and bothifeval_mttasks generated greedily with a fixed 2048-token budget. A thinking model uses that budget up on its reasoning trace and never produces an answer. reasoning-responses-truncated (#399) measured 95–97% of responses with an unclosed<think>block on this task.Their defaults now match the repo's other reasoning-regime tasks (
ifeval,gpqa_diamond:cot,mmlu_cot,omega_500,popqa:chat): temperature 0.6, top-p 0.95,max_tokens=None. Withmax_tokens=None, generation is bounded only by the model's context.strip_thinkingwas already on for all three tasks (thinking-removal (#375)).Repro on main, driving the real
-opath (CLI parse → dotlist merge → runner split →prepare_task_items) with the dataset stubbed:max_tokenson main-t ifeval_ood/-t ifeval_mt_*-o max_tokens=32768-o max_tokens=null'null'-o sampling_params.max_tokens=32768AttributeError(sampling-params-override (#397))So the override path worked, but the default was wrong for every thinking model and there was no way to ask for "uncapped" from the command line.
Why
Noneand not 32768. The closest oe-eval-internal config (ifeval_ood::tulu-thinker-deepseek) caps at 32768. A fixed cap above a smaller model's context makes every request fail. On main that failure also reports Success with 0.0; fail-batched-requests-loudly (#418, still open) makes an over-context cap fail the task loudly instead.Noneis the repo's convention for these tasks and works on any context size.-o max_tokens=32768still gives the bounded cap. I left out oe-eval's</answer>stop sequence: no other reasoning task here uses it.Follow-ups, not in this PR:
-o max_tokens=nullpasses the string'null'rather thanNone, so an uncapped budget cannot be requested on a task whose default is capped.Type of Change
Testing
pytest tests/ --ignore=tests/integration/): 2899 passed, 19 skipped.TestIFBenchSamplingRegimechecks the three tasks' defaults (uncapped, sampled,strip_thinkingon) and that their:tuluvariants keep greedy 2048. It fails on main (6 subtests) and passes here.ruff checkandruff format --checkare clean.ty check src/ alembic/shows the same 11 pre-existing diagnostics as main (vLLM provider typing and unused ignores, in files this PR does not touch), and none in the changed files.Review
SamplingParams. For the record, the closest oe-eval-internal configuration to the newifeval_ooddefault isifeval_ood::tulu-thinker-deepseek(same sampling, 32,768 cap,</answer>stop).:tuluvariant matches main's oldSamplingParamsfield for field, and every provider handlesmax_tokens=None.Checklist
🤖 Generated with Claude Code