Repository navigation
feat(benchmark): add LoCoMo-Plus evaluation - #1693
Merged
Merged
Conversation
Add public Runtime integration, full-history smoke and full profiles, comparison modes, resumable runs, and offline reporting. Include ten complete cognitive samples, configuration examples, and benchmark tests. Refs oceanbase#1601, oceanbase#1263.
Alanxtl
reviewed
Sep 21, 2026
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.
Which issue or RFC does this PR close?
Closes #1692.
Related to #1601 and #1263.
Rationale for this change
LoCoMo-Plus extends factual recall evaluation with cognitive memory: whether an agent retains implicit user constraints and applies them to later requests. It covers causal, state, goal, and value constraints.
This benchmark evaluates PowerContext’s complete memory workflow, from conversation ingestion and Memory extraction to retrieval, answer generation, and scoring.
What changes are included in this PR?
memory,memory-source,full-context,query-only, andoracle-cuemodes..env.example, benchmark-local ignore rules, and automated tests.Are there any user-facing changes?
Contributors can run the benchmark through
python -m benchmark.locomo_plus, inspect workloads with--dry-run, and evaluate the bundled samples without downloading the full dataset.No changes to public PowerContext APIs or the existing LoCoMo workflow are required. Runtime artifacts remain local and are excluded from version control.
How was this change tested?
Automated validation
uv run pytest tests/test_locomo_plus*.py -q uv run prek run -aAll 49 tests and all pre-commit checks passed. Coverage includes dataset loading, complete-history preservation, scoring, failure diagnostics, configured request limits, checkpoint recovery, and offline replay.
Fresh real-service smoke test
Ran
cognitive:0000through thememorymode with all 20 historical sessions and 371 dialogue turns.anthropic:MiniMax-M3openai:text-embedding-v4Ten-case smoke comparison
Both modes used the same ten cognitive cases and all 253 historical sessions, with identical answer-model and judge settings.
memoryfull-contextbaselineThese are fixed-subset smoke results. The full benchmark was not executed, and generation and judging used the same model.
AI usage statement
OpenAI Codex assisted with implementation, documentation and smoke validation.