Case study Part 2 of 6 · reading the corpus
Let the model read
The usual design puts keyword search first, because reading everything sounds too expensive. A decision model changes that. Jev read every paragraph in the corpus for 23 cents, and on the question we traced, that showed where facts had been lost: at the keyword gate, before any model saw them. After that, the main lesson was about depth. Reading further down a list moved results far more than rewording the question.
A full read is affordable
Don't plan on the burst. The 2 s figure is a rested account. The account's documented limit is 100,000 tokens a second, which would make this read about 56 s. We measured far above that and can't explain why. Budget for the sustained rate, and treat your rate limit as part of the design.
Keyword gates can lose facts
A trace of one weak answer showed the leak. BM25 had reached only 6 to 12% of the podcast paragraphs, because spoken paragraphs often never name their subject. When Jev read everything, the seven fact paragraphs ranked 1, 2, 4, 34, 52, 73 and 134. Here is how many of the 148 gold facts each list was credited with over all 24 questions. Read the two groups separately:
The BM25 bars are floors, so don't compare them with Jev's. Only graded paragraphs could count, and the grading pool came mostly from Jev's lists: 95 to 97% of each BM25 list was never graded. Jev's top 250 was fully graded. The BM25 bars do compare fairly with each other: better search terms clearly helped.
So this chart can't say Jev's top 250 beats BM25's top 5,000. The firmer evidence is the trace above, plus what 5,000 means in practice: at that depth, a keyword list still leaves Jev to read about a fifth of the corpus. Keyword search is free, and it finds exact names that Jev may rank low. We now use it as a second list rather than as a gate, but that choice still needs a blind test on fresh questions.
What each tier ended up doing
Exact and free
Grep for names, date filters, deduplication, blending rankings, tracking what's been read and what it cost. Reliable when it adds to a list, risky when it removes from one.
Judgment at scale
One statement about each paragraph, then rank by score. Also decides where a passage ends, and rereads with a draft in hand.
Reasoning and prose
Writes the draft and the answer, and can choose the search. Most of the time goes here: about 10 of the stack's 14 s.
Reading further beats rewording
Jev's top list took the same statement each time:
This paragraph states something an answer to the question in `question` would rely on.
We tested 16 ways of asking, and Opus proposed six more after reading low-ranked useful paragraphs. Opus graded 8,363 paragraphs blind to rank. Rerunning the same wording moves results about 1 point, so that's the noise floor.
rely list | Facts of 148 | Useful, tuning | Useful, held out |
|---|---|---|---|
| Top 40 | 96 | 34.7% | 39.6% |
| Top 60 | 109 | 42.7% | 51.2% |
| Top 100 | 113 | 53.3% | 69.0% |
| Top 250 | 129 | not measured | not measured |
"Useful" is the share of all useful paragraphs in the graded pool that the list reached. No wording reliably improved the top 40. Most wordings that gained on tuning questions lost the gain on held-out ones. Only rely plus a graded Score held on both, and only by +4.3 and +2.1 points at top 100. That differs from email, where wording moved accuracy a lot. Our best guess is that a ranking cares less about the wording, and that most misses here come from what Jev is shown. We haven't tested that explanation.
Wording also changes the score scale. On the textbooks, the share of paragraphs scoring 0.5 or more ran from 0.8% to 12.9% across wordings. A fixed "hot" threshold belongs to one wording, so use ranks.
Many wordings at once
We also had Jev score each paragraph with 21 wordings, one pass per wording, and blended the saved scores ten ways, from a simple max to a learned ranker. Blending helped modestly, mostly past the top 40: over all 24 questions, mean of log-odds gained +5.7 points at top 100 and a CatBoost ranker +9.2, each judged on questions it wasn't trained on. CatBoost also used source, length, digit share and headings, and trained on tuning questions and judged on held-out ones, it gained +4.1. Max was the least steady. Part 3 has every wording, every blend and what the extra wordings cost.
Which LLM for which step?
| Step | Haiku 5.5 | Sonnet 5.5 | Result |
|---|---|---|---|
| Search terms for BM25, facts in top 5,000 (floors) | ≥117 | ≥124 | Sonnet, +8.2 points [2.5, 13.8] of useful paragraphs, +16/−6. Question words alone: at least 99 |
| Splitting a question into parts, facts at top 100 | 118 | 120 | A tie |
| Writing the answer | −13 points | baseline | Sonnet: a Haiku writer lost 13 points and took longer overall |
Better terms only matter if BM25 stays as a gate. A full Jev read doesn't depend on them.
Next: Wording and blending: every way of asking we tried, and how to combine them.