jedarden
|
9fd6bd73a7
|
Phase 1 — Core Routing: Final verification summary
All Definition of Done items verified:
- Rendezvous determinism (unit + proptest)
- Minimal reshuffling bounds on add/remove
- Uniform shard distribution
- Write targets return RG × RF nodes
- Query group distributes evenly (chi-square test)
- Covering set returns one node per shard
- Merger passes all merge/facet/limit tests
- Coverage: router.rs 100%, topology.rs 100%, merger.rs 94.26%
Test results: 516 passed, 0 failed
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-23 16:04:42 -04:00 |
|
jedarden
|
c5cd8b91c0
|
P1.6: Verify Phase 1 Core Routing Implementation
Phase 1 Core Routing (router, topology, merger, scatter) already fully
implemented and tested. This commit documents the verification.
Components Verified:
- router.rs: 15 tests passing (HRW, write_targets, covering_set)
- topology.rs: 26 tests passing (state machine, groups, serialization)
- merger.rs: 39 tests passing (RRF, score merge, facets)
- scatter.rs: 25 tests passing (plan, execute, scatter-gather, DFS preflight)
Total: 105 tests passing, 0 failures
All DoD items verified:
✓ Deterministic HRW assignment
✓ Minimal reshuffle on node add/remove
✓ Uniform shard distribution (18-26 shards/node for 64/3/RF=1)
✓ write_targets returns RG × RF nodes
✓ query_group distributes evenly (chi-square test)
✓ covering_set returns one node per shard
✓ Merger passes all plan §8 tests
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-23 13:12:45 -04:00 |
|
jedarden
|
e322e3e0a6
|
P1.6: Verify property tests and benchmarks for router/merger
Verified all acceptance criteria are met:
- cargo bench -p miroir-core runs all criterion benches
- cargo test -p miroir-core runs property tests with 1024 cases
- cargo bench --no-run compiles benches for CI regression gates
Property tests cover:
- Router: determinism, reshuffling bounds, uniformity, RF validation
- Merger: determinism, pagination, monotonicity, RRF correctness
Criterion benchmarks target plan §8 goals:
- Rendezvous assignment (64 shards, 3 nodes, 10K docs) < 1 ms
- Merger (1000 hits, 3 shards) < 1 ms
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-23 13:03:54 -04:00 |
|