Skip to content

Commit a11e36a

Browse files
Add LongMemEval benchmark harness
1 parent 48a8bb5 commit a11e36a

7 files changed

Lines changed: 1541 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ media/*.mov
1010
__pycache__/
1111
*.pyc
1212
.DS_Store
13+
benchmarks/data/longmemeval_*.json
14+
benchmarks/data/longmemeval_results/

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,28 @@ All tests run offline with deterministic embedders (no Gemini API key required):
513513
.venv/bin/python tests/test_offline_episodic_eval.py
514514
```
515515

516+
### LongMemEval benchmark harness
517+
518+
The repo also ships a LongMemEval harness for long-term conversational memory benchmarking.
519+
520+
```bash
521+
# Fast oracle smoke test over MCP using Gemini Embedding 1
522+
.venv/bin/python benchmarks/longmemeval_eval.py \
523+
--dataset oracle \
524+
--backend mcp \
525+
--embedding-model gemini-embedding-001 \
526+
--limit 5
527+
528+
# Faster direct-runtime debug run
529+
.venv/bin/python benchmarks/longmemeval_eval.py \
530+
--dataset oracle \
531+
--backend runtime \
532+
--embedding-model gemini-embedding-001 \
533+
--limit 5
534+
```
535+
536+
The harness downloads the official cleaned LongMemEval dataset into `benchmarks/data/` on first run and writes hypotheses plus summaries under `benchmarks/data/longmemeval_results/`.
537+
516538
---
517539

518540
## Project structure

0 commit comments

Comments
 (0)