Skip to content

fix(scorers): raise humaneval/mbpp verify timeout 3s -> 10s - #7

Merged
nhat-di merged 2 commits into
mainfrom
verify-timeout-30s
Oct 20, 2026
Merged

nhat-di merged 2 commits into
mainfrom
verify-timeout-30s

Conversation

@nhat-di

@nhat-di nhat-di commented Oct 16, 2026 •

Copy link
Copy Markdown

The humaneval/mbpp verify timeout is wall clock, measured on the inspect event loop. In DeepInfra's quality monitor (128 streaming connections), a burst of finished samples saturates the single inspect process: about 1.0 core, the GIL-bound loop, on an otherwise idle node. Correct answers then hit the 3s timer. Qwen3.8-27B humaneval went 0.99 -> 0.30, then 0.85 on a re-run with no serving change. The straggler samples, verified alone, pass at ~100%.

Canonical HumanEval solutions through the real verify() (820 samples, width 128, --cpus=1, mock model):

load TIMEOUT 3 TIMEOUT 10
none 1.000 —
event loop 95% busy (prod-like) 0.840 1.000
3 CPU hogs 0.884 1.000 (also at width 512)

Effect on scores: a correct solution that takes 3-10s now passes, where upstream fails it. On HumanEval this should be about zero, since canonical solutions finish well under 1s. It is still a deliberate small divergence from upstream's harness. Why 10 and not 30: a runaway sample holds a verify slot for the full timeout (+2s grace), and 10s already rescues every arm.

This ships with deepinfra/backend#6346, which caps --max-subprocesses at 2 for jobs that run humaneval/mbpp. Image openbench:main-<sha>-r1 follows after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_012SGrRPrAXX7iTxNrHDKCKN

nhat-di and others added 2 commits October 16, 2026 15:13
The timeout is wall clock measured on the harness event loop. At 128
connections a burst of finished samples saturates the single inspect
process and correct answers time out: Qwen3.8-27B humaneval 0.99 -> 0.30
in DeepInfra's quality monitor, while the same answers verified alone
pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SGrRPrAXX7iTxNrHDKCKN
…le timeout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SGrRPrAXX7iTxNrHDKCKN
@nhat-di nhat-di changed the title fix(scorers): raise humaneval/mbpp verify timeout 3s -> 30s fix(scorers): raise humaneval/mbpp verify timeout 3s -> 10s Oct 16, 2026
@nhat-di

nhat-di commented Oct 20, 2026

Copy link
Copy Markdown
Author

Quality Checks failure is pre-existing on main, not from this PR: ruff-format on datasets/hle_250_ids.py + evals/hle.py and mypy in datasets/hle.py:88 / scorers/hle.py:70, all from #6 (merged without CI). Left untouched so the hle code in the image stays byte-identical. Tests 3.10-3.13 + integration pass. Merging per Nhat's ack.

@nhat-di
nhat-di marked this pull request as ready for review October 20, 2026 10:03
@nhat-di
nhat-di merged commit 1b7fc3e into main Oct 20, 2026
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant