Shay
|
523c072818
|
feat: vault recall index, Rust versor parity, cognitive pack expansion
Phase 3 — vault exact recall index:
- Replace O(N) np.array_equal scan with hash-based exact-match index
- Add optional max_entries with deterministic FIFO eviction
- Index rebuilds on reproject for consistency
Phase 4 — Rust versor_apply parity:
- Fix CGA metric signature (+,+,+,+,-) and blade ordering to match Python
- Implement versor_apply_closed with null-vector preservation, f64 unitize,
and construction seed fallback matching Python closure semantics
- Gate Rust dispatch behind CORE_BACKEND=rust; Python remains default
- Add f64 geometric product for closure-path precision
Phase 5 — cognitive quality pack expansion:
- Expand lexicon from 55 to 70 entries (evidence, inference, procedure,
verification, distinction, relation, thought, understanding, judgment,
principle, order, connectives)
- Improve semantic templates for cause, procedure, comparison, recall,
verification intents
- Expand eval cases from 20 to 45 across all categories
Validation: 491 tests pass, 45 eval cases at 100% all metrics.
|
2026-05-15 15:34:39 -07:00 |
|
Shay
|
366f7a08c4
|
Add cognitive eval harness and calibration replay (#30)
* feat: add cognitive eval harness with CLI integration
20 eval cases across 8 categories (definition, comparison, cause,
procedure, recall, correction, verification, unknown). Metrics:
intent accuracy, term capture, surface groundedness, versor closure,
trace determinism. CLI: `core eval cognition [--json] [--report PATH]`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add operator calibration replay with deterministic grid search
Bounded parameter tuning via eval replay evidence. Grid search over
salience_top_k and inhibition_threshold with invariant regression
guard (versor closure must not regress). Frozen CalibrationParams,
before/after metrics, no pack or identity mutation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-05-15 07:41:36 -07:00 |
|