Categories
Self-Hosted LLM Evaluation AI Research Analytics Dashboard Benchmarking Context Management Long Context Retrieval Augmented GenerationStars
Forks
Watchers
Developer links
LongContext-Eval
A benchmark suite and web observatory for long chats; it scores how sixteen memory strategies hold on to facts, constraints, and timelines. Seven task types probe fact retrieval, constraint tracking, temporal order, entity resolution, contradictions, summaries, and topic recall. Bundled synthetic fixtures are deterministic, so any run can be reproduced exactly. Strategies span recent-window truncation, BM25, hybrid fusion, reranking, rolling summaries, and structured memory. Separate tracks cover 4K and 8K token budgets, full context, and an oracle for diagnosis. Leaderboards carry 95% bootstrap confidence intervals clustered by conversation. The memory map plots every turn on a timeline, with arcs from each question to its evidence. Failures are split into retrieval omissions and reasoning errors. Inside the context lab, a budget and a strategy are chosen and the selected and omitted messages are shown. OpenAI, vLLM, and Ollama endpoints connect through an OpenAI-compatible adapter. From the terminal, a CLI runs diagnostics, ingestion, and evaluations. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Compare sixteen memory strategies fairly
- Recent-window, BM25, dense, hybrid, reranked, summary, and structured-memory strategies run under the same token budgets and splits, so differences in scores reflect the strategy rather than the setup.
- Scores with honest error bars
- Leaderboards report 95% bootstrap confidence intervals clustered by conversation, and tasks from one conversation stay in the same train, dev, or test split to prevent contamination.
- See why a model got it wrong
- The failure view separates retrieval omissions, where evidence never reached the context window, from reasoning errors, where the evidence was present but the model failed to use it.
- Runs without any API key
- Deterministic fixtures and simulated baseline models let the whole pipeline run with no API key, then OpenAI-compatible endpoints, vLLM, or Ollama can be added when real model scores are needed.
Features
- Sixteen Context Strategies
- Built-in strategies include no_context, recent_window, BM25, dense and hybrid retrieval with reciprocal rank fusion, MMR, cross-encoder reranking, rolling summaries, structured memory, and an oracle.
- Seven Task Categories
- Fact retrieval, constraint tracking, temporal ordering, entity resolution, contradiction detection, conversation summarization, and topic retrieval are scored with exact match, token F1, Kendall's tau, macro F1, and nDCG.
- Conversation Memory Map
- An interactive timeline renders every turn with token-length bars, topic bands, and Bezier evidence arcs that link evaluation questions to the ground-truth turns they depend on.
- Context Laboratory
- Token budget sliders, strategy selection, utilization meters, and selected versus omitted message views support live experiments against local or remote model adapters.
- FastAPI And Next.js Stack
- A Python FastAPI backend with DuckDB storage serves a Next.js web observatory, started with docker compose on ports 8000 and 3000 or run through the longcontext-eval CLI.
- Python SDK And CLI
- The CLI offers doctor, datasets inspect, ingest, evaluate, experiments list, and serve commands, and the Python SDK exposes EvaluationRunner and ExperimentConfig for custom evaluation workflows.