Skip to content

benchmark: locomo improvements#185

Open
you06 wants to merge 2 commits into
mem9-ai:mainfrom
you06:benchmark/locomo
Open

benchmark: locomo improvements#185
you06 wants to merge 2 commits into
mem9-ai:mainfrom
you06:benchmark/locomo

Conversation

@you06

@you06 you06 commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Key changes: fetchWithRetry, multi-tenant provisioning, evidence recall tracking, temporal prompt enhancement, Qwen support, stopword fix, macro-averaged stats, split concurrency flags, messages ingest mode

Changes

File Change
fetch.ts New — HTTP retry with exponential backoff (429/5xx), 10min timeout
concurrency.ts New — Generic concurrent task runner
llm.ts Detailed temporal reasoning prompt, Qwen enable_thinking: false, fetchWithRetry
evaluation.ts Fix stopword list (remove erroneous 'and')
types.ts Add evidence_recall, retrieved_dia_ids, macro stats, nullable LLM scores, multi-tenant meta
retrieve.ts Extract dia_id from metadata/content, computeEvidenceRecall()
mem9.ts Multi-tenant provisionSpace(), ingestMessages(), retrieval limit default 20
ingest.ts raw + messages mode, concurrent raw ingest, session key regex parsing
stats.ts Evidence recall metrics, macro-averaged F1/LLM, null safety
cli.ts --ingest-mode, --judge-model, --sample-concurrency, --ingest-concurrency, --evaluation-concurrency, per-sample tenant provisioning
package.json Remove unused picospinner dependency

Test plan

  • TypeScript typecheck passes (npx tsc --noEmit)
  • Run locomo benchmark with --ingest-mode raw and verify results match previous baseline
  • Run locomo benchmark with --ingest-mode messages and verify smart ingest works

🤖 Generated with Claude Code

@netlify

netlify Bot commented Apr 3, 2026

Copy link
Copy Markdown

👷 Deploy request for mem9 pending review.

A Netlify team Owner will need to approve the deploy before you can run your build.

Are you a team Owner? Visit the deploys page to approve it

Need more help? Learn more in the Netlify docs

Name Link
🔨 Latest commit e898f57

@you06 you06 changed the title benchmark: port locomo improvements from mem9-benchmark benchmark: port locomo improvements Apr 3, 2026
@you06 you06 changed the title benchmark: port locomo improvements benchmark: locomo improvements Apr 3, 2026
- Add fetch.ts (retry with exponential backoff for 429/5xx)
- Add concurrency.ts (generic concurrent task runner)
- llm.ts: detailed temporal reasoning prompt, Qwen support, fetchWithRetry
- evaluation.ts: fix stopword list (remove erroneous 'and')
- types.ts: add evidence_recall, retrieved_dia_ids, macro stats, nullable LLM scores
- retrieve.ts: extract dia_ids for evidence recall computation
- mem9.ts: multi-tenant provisioning, ingestMessages, retrieval limit 20
- ingest.ts: messages mode, concurrent raw ingest, session key regex parsing
- stats.ts: evidence recall metrics, macro-averaged F1/LLM scores, null safety
- cli.ts: --ingest-mode, --judge-model, split concurrency flags, per-sample tenant
- package.json: remove unused picospinner dependency

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@you06
you06 force-pushed the benchmark/locomo branch from c11ee35 to 5491a45 Compare April 3, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant