brainy/tests/unit/hnsw
David Snelling 0f3a88429d feat: add SQ8 vector quantization, lazy loading, and two-phase rerank to HNSW
- SQ8 scalar quantization (8-bit) for 4x vector storage reduction
- Lazy vector loading: evict float32 vectors after graph construction,
  load on-demand from storage via UnifiedCache
- Two-phase search: over-retrieve with SQ8 approximate distances,
  rerank top candidates with exact float32 distances
- Configuration surface: hnsw.quantization and hnsw.vectorStorage in BrainyConfig
- All features disabled by default (zero behavior change for existing users)
- 27 new tests covering quantization accuracy, lazy loading, reranking
- Remove GitHub Actions CI (build locally, cortex CI handles native builds)
2026-01-31 12:41:53 -08:00
..
lazy-vectors.test.ts feat: add SQ8 vector quantization, lazy loading, and two-phase rerank to HNSW 2026-01-31 12:41:53 -08:00
quantization.test.ts feat: add SQ8 vector quantization, lazy loading, and two-phase rerank to HNSW 2026-01-31 12:41:53 -08:00