# 1. Download datasets
chmod +x download.sh
./download.sh
# 2. Run benchmarks
cd .. && go test ./bench/... -v -timeout 30m
# 3. Run specific benchmark with reporting
go run ./bench/locomo -data bench/datasets/locomo10.json -report bench/results/locomo.json
Evaluation Methodology
Ingest — Parse dataset conversations into Cortex sessions + observations
Query — For each question, run mem_search (FTS5 + optional graph boost)
Score — F1 token overlap (always) + LLM-as-Judge (optional, needs API key)
Aggregate — Per-type and overall accuracy
LLM Judge (Optional)
Set an API key to enable LLM-based answer evaluation: