jedarden
|
1136291100
|
Phase 1 - Core Routing: Complete verification
Verified all Definition of Done requirements for miroir-cdo bead:
Router Module (router.rs):
- ✅ Determinism verified by test_determinism()
- ✅ Minimal reshuffle on add (test_reshuffle_bound_on_add)
- ✅ Uniformity: 64 shards / 3 nodes / RF=1 → 17-26 shards/node
- ✅ RF=2 placement stability (test_rf2_placement_stability)
- ✅ write_targets returns RG × RF nodes
- ✅ query_group distributes evenly (chi-square test)
- ✅ covering_set covers all shards with replica rotation
Topology Module (topology.rs):
- ✅ Topology struct with node grouping
- ✅ Complete health state machine
- ✅ YAML serialization (plan §4 format)
Scatter Module (scatter.rs):
- ✅ Fan-out orchestration with plan_search_scatter()
- ✅ Execution primitives with mock client
- ✅ OP#4 Global-IDF preflight (dfs_query_then_fetch)
- ✅ Session pinning support
- ✅ Settings version floor filtering
Merger Module (merger.rs):
- ✅ RRF merge strategy (k=60 default)
- ✅ Score-based merge for global-IDF
- ✅ Global sort, offset/limit, facet aggregation
- ✅ Field stripping, tie-breaking, degraded handling
Test Results: 103 Phase 1 tests, all passing
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-23 14:05:01 -04:00 |
|