Repository navigation
bench(eval): LongMemEval-S + V2 harness — recall@5 0.970, MRR 0.894 on full public S - #71
Merged
Merged
Conversation
…94; groundable-coverage 0.896 - Full public LongMemEval-S (500q / 23.8k sessions) through the shipped hybrid retriever: recall@1 0.836, recall@5 0.970, MRR 0.894. Raw answer-coverage@5 0.466 with the abstraction caveat documented (0.896 among the 260 questions whose answer text exists verbatim in the corpus). - LongMemEval-V2 small: coverage-only floor 0.421 (no supports labels shipped). - V2 loader (convert_v2), per-question haystack isolation regression tests, contradiction-labeled dataset for Phase 2 stale-metric validation.
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 — LongMemEval benchmark harness + first full public-benchmark numbers
What
Phase 1 of the benchmark roadmap: the auto-recall A/B harness now runs the real public benchmarks end-to-end, and this PR ships the first full-run numbers.
eval/longmemeval_convert.py): official v1 JSON → native{corpus, questions}; per-questiondocsrestrict retrieval to that question's own haystack (no cross-contamination)._trajectory_bodyflattening goal/outcome/actions/thoughts/accessibility-trees.eval/bench_recall_ab.py:--shard i/nfor resumable runs, purecompute_rank_row/aggregate_metrics,--write-results, HaluMem-style stale-ahead metrics for contradiction-labeled sets.tests/test_bench_harness.py: 12 regression tests, including the isolation bug class (a question's ranking must never see another question's docs).eval/bench_dataset_contradictions.json: 14-question contradiction-labeled set (Phase 2's stale-metric validation input).Results (full runs, this machine, shipped config)
The raw coverage number carries a documented caveat: LongMemEval answers are often abstractions ("February 14th") appearing verbatim in no session body (260/500 groundable). Among groundable questions, top-5 context contains the answer 89.6% of the time. Condition A (empty brain) is 0.000 by construction.
Runtime: ~4 h for the S run on an M4 Pro (embedding 23.8k sessions dominates).
Test plan
pytest tests/ -q -m "not embeddings and not machine"— 2359 passed, 2 skipped on this branch (12 new)eval/data/, not committed — regenerable)Out of scope (later phases)
Phase 2 (temporal validity + supersession) builds on the contradiction dataset here and is already developed on
phase-2/temporal-supersession— merge this first.