powermem icon indicating copy to clipboard operation
powermem copied to clipboard

evaluation: add a bounded LongMemEval-V2 workload

Open AlexStocks opened this issue 3 months ago • 1 comments

Goal

Add a bounded, reproducible LongMemEval-V2 workload for PowerContext as an evaluation-specific child of #1263 and the roadmap in #1352.

This issue is independent evaluation work. Its completion is not a prerequisite for closing the core reliable-install or cross-host product journey.

Upstream:

  • https://github.com/xiaowu0162/LongMemEval-V2

Why this benchmark

PowerContext already evaluates LoCoMo and SWE-bench Pro paths. LongMemEval-V2 focuses on whether memory helps an Agent become an experienced colleague in a customized environment, including dynamic state tracking and workflow knowledge. It is a useful external comparison for Memory and Experience behavior, but it does not replace PowerContext-native Work Continuity acceptance.

Scope

  • Implement a PowerContext memory backend/adapter through supported public interfaces.
  • Preserve upstream dataset, question, context-budget, answer, and scoring semantics.
  • Provide a small fixed smoke subset covering the benchmark's published ability categories.
  • Provide a separately documented full-run configuration.
  • Record exact dataset, harness, model, PowerContext, integration, and policy revisions.
  • Use immutable baseline support when available through #1328.
  • Keep evaluation artifacts independent from normal Runtime persistence unless explicitly configured.

Required report

Report together:

  • answer/task accuracy;
  • query/retrieval latency;
  • prepare latency;
  • Context bytes/tokens;
  • ingestion tokens/cost;
  • exact citation availability where applicable;
  • abstention behavior;
  • infrastructure, retrieval, generation, and judge failures separately.

Any partial run must be labeled subset. A smoke subset must not be presented as a complete benchmark result.

Experiment arms

The initial adapter should support fair comparison of:

  • current Memory/Experience granularity;
  • query-time compact index;
  • write-time L0/L1 summary, only as an experiment;
  • hybrid retrieval;
  • temporal filtering;
  • task-lensed selection.

These arms do not authorize public Memory schema changes. Persistent L0/L1 or temporal fields require separate evidence and an accepted RFC.

Acceptance criteria

  • A one-command local smoke run produces complete, inspectable artifacts.
  • The adapter uses normal PowerContext interfaces rather than benchmark-only private writes.
  • Dataset and harness revisions are pinned.
  • Model and judge settings are explicit.
  • Failures are classified rather than converted to incorrect answers.
  • Token/latency/cost accounting is reported with accuracy.
  • Subset and full-run reports are visibly distinct.
  • A replay of the same saved outputs produces the same deterministic scoring inputs.
  • Documentation explains what the benchmark does and does not prove about Handoff and Work Continuity.

Non-goals

  • Replacing LoCoMo or SWE-bench Pro immediately.
  • Claiming benchmark leadership from a partial run.
  • Modifying upstream gold labels or prompts to favor PowerContext.
  • Treating one benchmark score as product acceptance.
  • Adding a general dataset registry or evaluation platform.

Coordination

  • Track shared benchmark infrastructure under #1263.
  • Reuse baseline work from #1328 when it is available.
  • Keep PowerContext-native cross-host Work Continuity acceptance in its own Issue.

AlexStocks avatar Aug 26 '26 05:08 AlexStocks

Hi @AlexStocks, I’m interested in contributing a small LongMemEval-V2 smoke workload for #1359. Could I take this on?

chenncy avatar Sep 02 '26 07:09 chenncy