audit(embed-perf-quality): baseline + tokenizer parity tests#105
Merged
Conversation
Fill BASELINE.toml pending_measurement fields with honest values: - cold_start_latency / cache_hit_latency: n/a (model files not in CI worktree) - simd_parity_avx2_neon_scalar: pass_neon_19_of_19 (AVX2/AVX-512 not on host) - mrl_wiring_status: wired_qwen3_only (was stale "not_wired") Add crates/inference/tests/audit_tokenizer_parity.rs covering 28 cases across BGE WordPiece (9), Qwen BPE (10), and E5 SentencePiece (9). 3/3 test functions FAIL intentionally — these failures are the Phase C priority list: E5 0/9 — all missing <s>/</s> framing Qwen 0/10 — all missing </s>, +1 URL regex divergence BGE 8/9 — single AddedToken split bug on [CLS]/[SEP] Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Layer
L0 — baseline + testing infrastructure (PR1 of 11 in
embed-perf-qualityshow)What
crates/embed/BASELINE.tomlwith measured tokenizer parity gap (8/28 pre-fixes), cold-start latency notes, SIMD parity statuscrates/inference/tests/audit_tokenizer_parity.rswith 28 audit cases across BGE (WordPiece), Qwen (BPE), E5 (SentencePiece)Why
The audit baseline + failing test cases gate every subsequent fix. PR2-PR6 close the audit gap one tokenizer at a time.
State
Stack
This PR is the foundation of the show. Umbrella: #104.
🤖 Generated with Claude Code