Repository navigation
test(eval): set the chat-template ARC acc_norm floor from measurement - #6682
Merged
Merged
Conversation
The test requires chat-template ARC-Challenge acc_norm >= 0.34, but the same checkpoint has scored 0.3378839590443686 on GPU 3 since at least 4c5d902 (Oct 1): identical at aff56aa (parent of the device_map=None rejection), d2dfb93 (Transformers 5.23 port), 0071b1a (pre-port) and with #6676. The 0.34 floor is 0.15 binomial SE above the observed score (n=1172, SE=0.0138), so it is not a meaningful quality gate. The commented 0.3515 is the raw-prompt acc, not the chat-template acc_norm: the same checkpoint scores 0.3771 acc_norm without the chat template and 0.3379 with it; the backend spread with the chat template is only 0.17 points (Marlin 0.3379 vs ExLlamaV2/Torch 0.3396). Set the floor to 0.32 (1.3 SE below the observed score, just above the 95% one-sided lower bound 0.315) and record the measurements so the next adjustment is evidence-based. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
tests/test_eval_runtime.py::TestEvalRuntime::test_eval_directrequires thechat-template ARC-Challenge
acc_normto be>= 0.34, but the same checkpointhas scored 0.3379 on GPU since at least 2026-10-01. The
0.34floor isonly 0.15 binomial standard errors above the observed score (n=1172,
SE=0.0138), so the test is a coin flip on a number that has not moved in
months, not a quality gate.
This is a test-only change. It was found while verifying #6676: before that
fix, every evalution-backed eval failed on
device_map=None; after it, thequality gate became visible again.
What Changed
tests/test_eval_runtime.py: set the chat-template ARCacc_normfloor to0.32 (1.3 SE below the observed 0.337884, just above the 95% one-sided
lower confidence bound 0.315) and record the measurements in the comment.
No product code changed.
Measurements (same model, evalution 0.0.17, GPU 3, full 1172 samples)
aff56aa1ad2dfb93850071b1aa04c5d902a842dbe43cfThe score is bit-identical at the parent of the
device_map=Nonerejection(#6473), at the Transformers 5.23 port, and with #6676, so this is not a
quality regression from either change. The test's commented historical value
0.3515is the raw-prompt acc, not the chat-templateacc_norm:The backend spread with the chat template is 0.17 points; the 3.9-point
difference is the prompt format. The April 2026 code cannot be evaluated with
the current transformers 5.23 stack (
transformers.utils.hub.create_repoisgone), so the old commented value is not a comparable baseline.
Tests
Red on
main+ #6676 (the threshold is the failure once thedevice_maprejection is fixed):
Green on this PR with #6676 applied (the PR branch itself only changes the
threshold; #6676 is still a separate draft):
bash format/check.sh→All checks passed!(ruff 0.14.2).Measured Impact
Not applicable: test-only threshold change; no VRAM, performance, or accuracy
path changed.
Model Support / Module Plan
Not applicable: no model definition or module plan changed.
AWQ onboarding safety
Not applicable: no AWQ code changed.
Logic Flow Documentation
Not applicable: no control flow changed.
Review Requirements
Kernel Accuracy Requirements
Not applicable: no kernel changed.
Notes
The threshold is still a quality gate: 0.32 catches a >5% drop from the
observed 0.3379, and the raw-prompt path (0.3771) is unaffected. If the
chat-template formatting changes again, the measurement comment makes the
next adjustment evidence-based rather than a blind loosening.
🤖 Generated with Claude Code