Session search benchmark
How RepoOps session search scores on BEAM, a public benchmark of long conversational memory: what was measured and how, the scores with their spread, and an archive of every answer and judge reply so you can recompute each total yourself.
How to
Node 20 or later, and tar (built into macOS, Linux and Windows 10 or later). No API key, no account and no network once the archive is downloaded.
- Download the archive.
beam-session-search.tar.gz (3.6 MB) holds the three published run folders, the method, the configuration and the scoring code. Its sha256 is
6df460a3264ee5ba26ef10b260282668c4fb2229857d552350041105da1470d8. - Unpack it.
tar -xzf beam-session-search.tar.gz cd beam-session-search
- Recompute the totals.
node scripts/bench-beam/rescore.mjs --check
For each question it recomputes the score from the judge's score on each rubric item (for event ordering, from the stored order score), then each ability, each run and each size, with the same code the harness ran. It prints each size's mean and spread and says whether each
scores.jsonmatches. Without--checkit rewrites eachscores.jsonfromraw/. - Read any question.
Each file under
runs/<run>/raw/run-N/<size>/is one conversation in one run. Each question in it carries the hits search returned (session, turn, date and score), a hash of the exact prompt the answer model saw, the answer, the judge's score and reason for each rubric item, and the tokens and cost of each call.
Use cases
Comparing memory tools
- Situation
- An engineering lead is choosing a tool that lets agents search past sessions and wants a score they can trace to answers.
- You do
- They read the score table, then open the raw files for event ordering, the weakest ability, to see which hits the answers were built from.
- You see
- They see that search finds the turns but returns them best first, so the answer loses the order of events, and they judge the score on what it measured.
Doubting a total
- Situation
- A reviewer wants to know whether the published mean really follows from the judge replies.
- You do
- They run the rescore script with --check, then change one judge score in a raw file and run it again.
- You see
- The first run reports every scores.json matching its raw outputs; the second names the run folder that now differs.
Expected outcome
Next step: Use Node 20 or later, and run it from the beam-session-search folder so scripts/bench-beam/core.mjs sits beside it.
Next step: A file changed after the download. Download the archive again and compare its sha256 with the one above.
Next step: Any program that opens .tar.gz files works, such as 7-Zip on older Windows.
What else to consider
What was measured
BEAM ("Beyond a Million Tokens", Tavakoli and others, ICLR 2026, arXiv:2510.27246) has 100 synthetic conversations of 100K to 10M tokens and 2,000 questions over ten memory abilities. For each conversation at each history size, the harness:
- writes the conversation into a throwaway transcript store in the shape RepoOps keeps Claude Code sessions: one session per BEAM batch, one record per user message and the reply after it, dated by BEAM's time anchors;
- asks each question of
search_sessions, the RepoOps session search tool, in keyword mode with its default of ten hits and tool output left out; nothing about the benchmark is tuned; - has Claude Opus 5.5 answer from those ten hits with BEAM's own retrieval prompt;
- has Claude Sonnet 5.5 score the answer against each rubric item with BEAM's own judge prompt (1, 0.5 or 0), and scores event ordering by Kendall tau-b as BEAM does;
- averages as BEAM's report does: per ability within each conversation, then over conversations, then over the ten abilities.
Both models run at medium effort with adaptive thinking. config.json fixes the model ids, the API version and the prices. The models take no temperature, so answers vary from run to run, and each size ran 3 times to measure by how much. A score is between 0 and 1.
The scores
Keyword mode is what every install runs by default, and it is the published score: 0.515 at 100K and 0.495 at 500K, each the mean of 3 runs.
| History size | Conversations | Questions | Run 1 | Run 2 | Run 3 | Mean | Spread (min to max) |
|---|---|---|---|---|---|---|---|
| 100K | 20 | 400 | 0.521 | 0.514 | 0.509 | 0.515 | 0.509 to 0.521 |
| 500K | 35 | 700 | 0.491 | 0.493 | 0.500 | 0.495 | 0.491 to 0.500 |
| 1M | Not run (see below) | ||||||
| 10M | Not run (see below) | ||||||
Two other retrieval settings at 100K, one run each, so they carry no spread:
| Setting | Score |
|---|---|
| Hybrid: keyword plus the local embedding model | 0.579 |
| Hybrid, oldest first, with session summaries | 0.593 |
By ability
Each figure is the mean of the runs in its column.
| Ability | Keyword 100K | Keyword 500K | Hybrid 100K | Combined 100K |
|---|---|---|---|---|
| Abstention | 0.77 | 0.66 | 0.75 | 0.72 |
| Contradiction resolution | 0.58 | 0.59 | 0.65 | 0.67 |
| Event ordering | 0.17 | 0.18 | 0.16 | 0.20 |
| Information extraction | 0.72 | 0.61 | 0.81 | 0.84 |
| Instruction following | 0.53 | 0.56 | 0.56 | 0.55 |
| Knowledge update | 0.59 | 0.49 | 0.70 | 0.70 |
| Multi-session reasoning | 0.50 | 0.52 | 0.61 | 0.61 |
| Preference following | 0.69 | 0.71 | 0.76 | 0.74 |
| Summarization | 0.26 | 0.33 | 0.30 | 0.35 |
| Temporal reasoning | 0.35 | 0.29 | 0.49 | 0.54 |
Search is weakest where a question needs the whole history or its order. Ten hits cannot cover a summary of a long history, and hits ranked best first lose the order of events. Oldest-first order and session summaries were built for those two cases and lift them a little at 100K.
Why 1M and 10M were not run
The owner decided on 2026-11-19 not to run them. The two sizes measured cost about $280, the score moved by 0.02 between them, and 10M alone would cost several times that estimate. They run again when hybrid search becomes the default for everyone.
Where this differs from BEAM's code
- Retrieval is RepoOps search, which is what is measured. BEAM's baselines embed chunks of the conversation and return five; RepoOps search ranks single turns by BM25, reads at most eight query words and returns ten.
- The search index reads at most 400 days back. A few conversations span longer, so their days were written to consecutive day files in the same order; each turn keeps and shows its real date.
- A blank answer line counts as no match, an undefined tau-b scores 0, and a judge reply with no readable score scores 0 and is marked in the raw output.
What you can check, and what you cannot rerun
The RepoOps repository is private. The archive holds the raw answers, every judge reply and the scoring code, so anyone can recompute every total from them. A full rerun of the retrieval needs the RepoOps search code, which is not public, so a new set of answers cannot be produced from the archive alone.
Session search is built in RepoOps and is on at repoops.ai. In the desktop app it stays off until REPOOPS_SESSION_SEARCH=1 is set on your machine; Search sessions describes the tools.
Licences
- The BEAM conversations and questions are read as published from github.com/mohammadtavakoli78/BEAM at commit
b2da22eac88bb0874c64665f13457eb99835774a, licensed CC BY-SA 4.0. No question was written or changed. The conversations are synthetic, so the raw outputs hold no customer data. - The answer prompt, the judge prompt, the event-ordering check and the averaging are ported from that repository's code, MIT License, Copyright (c) 2025 Mohammad Tavakoli. The prompts are copied word for word, and the archive's ABOUT.md carries the full licence text.