refactor(memory-mem0): drop the old engine from the search-quality bench (P2.2)

The bench compared mem0 with MindDB, FrameStore and HybridSearch from
the hive-mind substrate, which @waggle/core no longer exports and which
left the repository. It now runs mem0, mem0-rerank and cosine; the
recorded comparison stays in docs/oss/research/memory-search-quality.md.
This commit is contained in:
shumeiko.it
2026-11-01 00:42:47 +01:00
parent 4c1b404339
commit 613b23be17
2 changed files with 21 additions and 88 deletions

View File

@@ -315,13 +315,14 @@ What this bench does not cover:
## How to re-run
From the repository root, after `npm ci` and `npm run build:packages`:
From the repository root, after `npm ci` and `npm run build:packages`. The old engine left
the repository in P2.2, so the bench runs mem0, mem0-rerank and cosine:
```bash
# All engines this checkout has (old, old-rerank, mem0, mem0-rerank, cosine)
# All engines (mem0, mem0-rerank, cosine)
npx tsx packages/memory-mem0/bench/search-quality.ts
# After the old engine is removed
# Without the reranker model
npx tsx packages/memory-mem0/bench/search-quality.ts --engines mem0,cosine
# Per-query results as JSON