Repository navigation
Harness and Evals
Eduards Čemis edited this page Nov 25, 2026
·
2 revisions
Cognitive Memory follows Continuous Harness Engineering (Agent = Model + Harness): retrieval, deduplication, and temporal changes are measured quantitatively and gated in CI.
pnpm verifyRuns Biome lint/format, strict TypeScript (tsc -b), root build, all 116 root Vitest tests (including deterministic offline evals gates), and UI build + 23 Vitest tests.
| Mode | Recall@5 | Hit@1 | MRR | nDCG@5 | Default-Threshold Recall | Neg Abstention | Contradictions@1 |
|---|---|---|---|---|---|---|---|
bm25 (zero-Ollama) |
81.3% | 66.7% | 71.9% | 73.1% | 60.4% | 100.0% | 100.0% (0% leak) |
vector (hash baseline) |
81.3% | 70.8% | 74.8% | 75.3% | 14.6% | 100.0% | 100.0% (0% leak) |
hybrid (BM25 + RRF) |
85.4% | 70.8% | 76.2% | 77.3% | 60.4% | 100.0% | 100.0% (0% leak) |
-
Auto-Dream Zero-LLM Dedup:
100.0%precision ·75.0%recall ·87.5%accuracy (protects conflicting versions/negations/entities). -
60-Distractor Noise Stress (
arXiv:2605.15184): Hybrid RRF holds85.4%Recall@5 and100.0%negative abstention.
pnpm eval # live Hybrid RRF via local Ollama
pnpm eval:ci # deterministic offline hash baseline
npx tsx evals/run.ts --embedder none --mode bm25 # pure zero-Ollama SQLite FTS5 BM25
npx tsx evals/run.ts --embedder hash --mode compare --noise 60