feat: add comprehensive eval suite for Lore's five key dimensions#369
Merged
Conversation
2b6f943 to
e44b1e6
Compare
End-to-end eval framework measuring context management, multi-session recall, user preference recall, cross-project learning, and cost. Infrastructure: - Two execution modes: fixture (deterministic, CI) and live (real LLM calls) - LLM backend abstraction: Anthropic, GitHub Models API, OpenAI - Multi-metric rubric judge (1-5 scale per criterion, weighted composites) - 6 baselines: tail-window, compaction, raw, context-only ablation, memory-only ablation, auto-mem0 (external Python sidecar) - Independent cost verification against Lore's internal tracker - CLI with dimension/baseline selection, JSONL output, summary reports Scenarios (16 total, 130 questions): - CM-1/2/3: long session retention, tool output dedup, layer escalation - MSR-1/2/3: sequential development, deep history, cross-model recall - PR-1/2/3: explicit prefs, implicit patterns, preference evolution - CP-1/2/3: gotcha transfer, architecture patterns, pref consistency - COST-1-5: tracking accuracy, short/long/multi-session cost, batch savings CI: - GitHub Actions workflow: fixture mode on PRs, live mode weekly - GitHub Models API for free live evals in CI - auto-mem0 baseline job with Python sidecar
This was referenced May 18, 2026
This was referenced May 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.
Summary
End-to-end eval framework measuring Lore's five key dimensions: context management, multi-session recall, user preference recall, cross-project learning, and cost. Includes 16 scenarios with 130 questions, 6 baselines, and full CI integration.
Infrastructure (
packages/core/eval/)llm-backend.ts): Anthropic (preferred), GitHub Models API (free fallback), OpenAI — auto-detected from environment with proper retry/backoffjudge.ts): 15 scoring criteria, 9 pre-built rubrics, 1-5 scale per criterion with weighted compositesbaselines.ts): tail-window, compaction+tail, raw, lore context-only ablation, lore memory-only ablation, auto-memory (external Python sidecar)cost-verifier.ts)run.ts): dimension/baseline/model selection, JSONL output, summary reportsScenarios (16 total, 130 questions)
CI (
.github/workflows/eval.yml)workflow_dispatchor weekly schedule (requiresANTHROPIC_API_KEYsecret)continue-on-error)First Live Results (Preference Recall, Sonnet 4.6)
Key findings: