Repository navigation
test: evaluate held-out structured answers across four-model routes - #264
Closed
gspark-etri wants to merge 7 commits into
Closed
gspark-etri wants to merge 7 commits into
gspark-etri wants to merge 7 commits into
Conversation
gspark-etri
added a commit
that referenced
this pull request
Oct 30, 2026
…248, #263) (#286) Add opt_prime/examples/pd/http_matrix with the reusable parts of the HTTP work from #243, #252 and #264: - validate.py: HTTP lifecycle validation through serve_batched.build - benchmark.py, benchmark_server.py, atom_server.py: warm native/dp2/pd HTTP benchmark with token parity checks and external-server configs - heldout_quality.py and frozen fixtures for four models (fixtures/) - tests moved to opt_prime/tests so CI collects them Adjustments: atom_server.py module overrides are optional (default to the in-tree modules); heldout_quality.py reads .json.gz fixtures and accepts --model for the request name; the Qwen3-0.6B fixture records the Hub name instead of a local cache path (manifest hash updated; input IDs and per-case hashes unchanged). Run outputs are git-ignored. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Landed on optimus-rm via #286. Closing; the branch is archived locally (experiment records and evidence included). |
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.
Background
Existing four-question fixtures cannot determine whether cross-backend token differences change structured-answer correctness. Track this independently of unresolved strict-token failures in #256/#261.
Changes
Freeze 36 unseen synthetic cases per model for Qwen3-0.6B, Qwen3-4B, KONI-8B and Gemma3-1B: arithmetic, passkey retrieval and Korean table lookup at short/~2K/~8K contexts. Include compressed exact input IDs and hashes, greedy normal-EOS HTTP runner, separate parsed-answer/JSON-format scoring, and paired correct→wrong/wrong→correct/token comparison. Refuse overwriting prior outputs. No production inference changes.
Verification
git diff --checkand scoped sensitive scan passed. Published log copies only trim trailing whitespace.Compatibility and limits
Stacked on #260 for previously validated runtime context. Expected four routes: nativeGPU, RNGD→GPU, nativeATOM, RNGD→ATOM. This small synthetic structured-answer test is not a general quality benchmark or statistical equivalence proof. Exact-token failures remain failures, regardless of answer scores. Local nativeGPU/RNGD-GPU uses BF16 runtime32ce5d5, four slots, page64, context9216, caches off; startup is excluded from request timing. Frozen fixtures, exact GPU launch argv/environment, HTTP responses and source hashes are recorded in evidence263; all four routes and final cleanup evidence are included.
Related Issue
Refs #263, #201, #256, #261. Does not close them yet.
Exploratory content diagnostic (frozen primary unchanged)
Re-analysis of the same576 responses removes only an outer JSON/unlabelled code fence and accepts integer arithmetic answers as exact decimal strings. Gemma content scores are29/30/29/29 outof36 (nativeGPU/RNGD-GPU/nativeATOM/RNGD-ATOM), while primary remains0/0/0/0. All36 outputs per route are fenced and8 additionally use integer arithmetic answers. Six or seven genuine content errors and the retained single Korean city-lookup cross-route difference remain. Other models’ scores are unchanged. These post-hoc rules are diagnostic, not a revised acceptance gate.
Analyzer has rejection self-checks, verifies paired input hashes/expected answers, and reproduces the published JSON byte-for-byte. All16 raw inputs match the previous published evidence; no new inference or engine change. See evidence263/analyze_quality263_content.py and quality263-content-diagnostic.json.