Shay
|
6b25069da8
|
feat(adr-0054): vault recall indexing/batching + holdout split wired
Two doctrine-aligned CLAUDE.md items closed together.
Part 1 — vault indexing + batching (item #4):
- VaultStore lazy _matrix_cache (invalidated on store / reproject /
eviction); vault_recall(prebuilt_matrix=...) skips deque→ndarray
rebuild on hot path
- New vault_recall_batch + VaultStore.recall_batch — B queries
scored in one component-serial sweep, bit-identical to per-query
vault_recall (3 seeds × 7 queries × N=137 parity test)
- No approximation, no hot-path repair, scoring arithmetic
unchanged
Part 2 — holdout split wired:
- LaneInfo.holdout_cases_path resolves plaintext holdouts in fixed
priority; sealed (.age) holdouts stay in holdout_runner
- framework.run_lane(split="holdout") + argparse --split choices
- First official cognition holdout numbers: 19 cases, intent 100%,
surface 94.7%, term_capture 70.8%, versor 100% — single miss is
predicted correction_truth_040 (ADR-0053 scope-limit)
Tests: 21 new vault tests + 10 new framework tests. Lanes: smoke
67, cognition 121, runtime 19, teaching 17, packs 6, algebra 132 —
all green. versor_condition < 1e-6 invariant preserved.
|
2026-05-18 07:58:57 -07:00 |
|