Skip to content

test(core): separate quantized distance correctness from timing - #1241

Merged
ruvnet merged 3 commits into
mainfrom
fix/quantization-distance-test-20261021
Oct 24, 2026
Merged

ruvnet merged 3 commits into
mainfrom
fix/quantization-distance-test-20261021

Conversation

@proffesor-for-testing

@proffesor-for-testing proffesor-for-testing commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@proffesor-for-testing
proffesor-for-testing changed the base branch from main to fix/zip9-rust188-remediation-20261021 October 21, 2026 11:52
@ruvnet
ruvnet changed the base branch from fix/zip9-rust188-remediation-20261021 to main October 24, 2026 18:56
@ruvnet
ruvnet merged commit 372d84c into main Oct 24, 2026
88 of 106 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.

2 participants