Repository navigation
test(core): separate quantized distance correctness from timing - #1241
Merged
Merged
Conversation
…antization-distance-test-20261021
proffesor-for-testing
changed the base branch from
main
to
fix/zip9-rust188-remediation-20261021
October 21, 2026 11:52
ruvnet
changed the base branch from
fix/zip9-rust188-remediation-20261021
to
main
October 24, 2026 18:56
5 of 10 tasks
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.
The quantized-distance correctness test requires 100,000 unoptimized calls within one second. It fails on unchanged main and #1161 under controlled CPU contention; quantization kernels and profiles are identical. Replace the stopwatch with independent scalar/Hamming reference checks across eight SIMD boundary/tail dimensions. Preserve performance measurement in optimized Criterion and add the original 512-dimension workload.
Validation: 36 quantization tests pass; the oracle passes three repeats under contention; strict scoped Clippy passes. Diagnostic optimized measurements do not establish a latency guarantee or prove the precise hosted scheduling cause. Related: #1161.
Stack: #1230 → #1242 → #1245, then this feature. The shared graph repair retains rUv’s source from #1180. ZIP advisories are repaired without an exception; Rust 1.88 was explicitly accepted. Supply-chain PR triggers now cover stacked branches.
Combined qualification is running on exact commit
335102e9cd97a4ec7fc081d26b17733b2e7d9692: workspace, strict Clippy, Python wheels, portfolio, supply chain, GNN, benchmark smoke. Pending results are not represented as passes. CI workflow changes are separately reviewed in #1248.Prepared by Codex acting for Dragan. Review requested; no main merge, release, tag or registry publication is authorized.