Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Yes, in a controlled test run before the plugin was built, with direct questions
A stronger reader doesn't remove the need. On the 384 questions after the fifth compaction that all three models answered, the summary alone scored 0.42 on `claude-haiku-5-5` and 0.43 on `claude-opus-5-5`; with search, 0.72 and 0.85. On Opus, though, search cost about as much per correct answer as the bigger summary.

<picture>
<source media="(prefers-color-scheme: dark)" srcset="results/charts/main-dark.svg">
<img alt="Score against mean tokens per question for each arm on claude-haiku-5-5, with 95% intervals: summary 0.53, summary-big 0.72, search 0.80, search-nudged 0.83, ceiling 0.95, floor 0.00" src="results/charts/main-light.svg">
<source media="(prefers-color-scheme: dark)" srcset="results/charts/three-models-dark.svg">
<img alt="Score per arm for each of three models on the same 384 questions after the fifth compaction, in the order claude-haiku-5-5, claude-sonnet-5-5, claude-opus-5-5: summary 0.42, 0.42, 0.43; summary-big 0.56, 0.62, 0.62; search 0.72, 0.81, 0.85; search-nudged 0.77, 0.80, 0.86" src="results/charts/three-models-light.svg">
</picture>

The test also found a blind spot: the agent nearly always searched when the summary had left something out, but much less often when the summary gave a wrong answer, and seldom fixed those. [The test behind it](#the-test-behind-it) has the method and every hypothesis, and [REPORT.md](REPORT.md) is the full write-up.
Expand Down Expand Up @@ -83,6 +83,11 @@ When a long agent session runs out of context, the conversation is replaced by a

A search returns at most 3 excerpts of at most 500 characters, and the reader gets at most 3 searches per question, so a search arm sees at most about 1,200 tokens of the original: less than the 3,072 extra tokens `summary-big` gets. Scoring is CompactBench's own scorer; no judge model is used. The main run asked 1,802 questions in each arm.

<picture>
<source media="(prefers-color-scheme: dark)" srcset="results/charts/main-dark.svg">
<img alt="Score against mean tokens per question for each arm on claude-haiku-5-5, with 95% intervals: summary 0.53, summary-big 0.72, search 0.80, search-nudged 0.83, ceiling 0.95, floor 0.00" src="results/charts/main-light.svg">
</picture>

### What happened

Four hypotheses were fixed in [PLAN.md](PLAN.md) before any paid run. Three passed.
Expand Down
9 changes: 9 additions & 0 deletions REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,15 @@ On the questions both models answered:

An extra, added after the plan and recorded in [PLAN.md's Deviations](PLAN.md#deviations): the second-model run again on `claude-opus-5-5`, a stronger reader, to see whether searching still pays off when the reader itself is stronger. It uses the same four arms, questions and effort as the Sonnet run, and decides no hypothesis.

<!-- generated:chart:three-models -->

<picture>
<source media="(prefers-color-scheme: dark)" srcset="results/charts/three-models-dark.svg">
<img alt="Score per arm for each of the three models on their shared questions" src="results/charts/three-models-light.svg">
</picture>

<!-- /generated:chart:three-models -->

<!-- generated:third-model -->

`claude-opus-5-5` at effort `high`, 48 cases.
Expand Down
7 changes: 4 additions & 3 deletions docs/charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,23 @@ Each chart is written four times as `<name>-<theme>.<format>`, with `light` and
| Name | Shows |
| --- | --- |
| `main` | Score against mean tokens per question (log scale) for `summary`, `summary-big`, `search` and `search-nudged`, with 95% intervals; `floor` and `ceiling` as dashed reference lines, labelled at the right edge with their tokens per question. Thin lines join `summary` to `summary-big`, and `summary` to `search` to `search-nudged`. The subtitle gives the model, cases and questions per arm |
| `three-models` | Score for each of the three models in each of the four arms, as grouped bars, on the questions all three answered (after the fifth compaction), each bar labelled with its score, the arms named in plain words ("4x summary", "Summary + search"). This is the README's lead chart |
| `recovery-by-state` | Recovery rate on *held*, *missing* and *misled* questions for both search arms, each bar labelled with the share that searched |
| `stale-and-trap` | Stale-answer rate and trap rate per arm, with 95% intervals and counts |
| `cycles` | Each arm's score at cycle 0 and cycle 4 (the first and last cycle every arm was asked at), as a slope chart |
| `families` | Each arm's score in each of the eight families, as a dot grid (dot area is the score) |
| `second-model` | The main model and the second model on their shared questions: score per arm, search rate for the search arms |
| `flip` | Flip rate between the two `summary` runs, by family, with the overall rate as a reference line |

`second-model` needs a second-model run and `flip` a second `summary` run; without them the command skips those charts and removes any earlier copies. `cycles` compares the first and last cycle every arm was asked at.
`second-model` needs a second-model run, `three-models` a third-model run and `flip` a second `summary` run; without them the command skips those charts and removes any earlier copies. `cycles` compares the first and last cycle every arm was asked at.

## Look

- **Fixed size and font.** Every chart is 8 × 5 inches: 576 × 360 pt as SVG, 1600 × 1000 px as PNG. Text is DejaVu Sans, which matplotlib ships, and SVG text is drawn as paths, so a chart looks the same on any machine. The same summary gives the same SVG bytes everywhere and the same PNG pixels; PNG files themselves are encoded differently on macOS and Linux, so `scripts/check_report.py` compares PNGs by pixel.
- **Themes.** Ink and backgrounds follow GitHub's light and dark pages. SVGs are transparent and PNGs are filled with the page colour.
- **Colour.** Arms that see the same 1,024-token memory (`summary`, `search`, `search-nudged`) are three steps of one blue, `summary-big` is orange, and `floor` and `ceiling` are grey. Every mark colour clears 3:1 against its page. The blues are ordered by contrast with the page, so `search-nudged` is the darkest blue on light and the lightest on dark. They differ in lightness, not hue, so every arm is named beside its mark, on the axis or in a legend, and colour never identifies an arm on its own. On the main, stale-and-trap and cycles charts, search arms are drawn as diamonds and the others as circles.
- **Colour.** Arms that see the same 1,024-token memory (`summary`, `search`, `search-nudged`) are three steps of one blue, `summary-big` is orange, and `floor` and `ceiling` are grey. In `three-models`, the bars are the models, not arms: three steps of one green, with the strongest model's the darkest on light and the lightest on dark, named in a legend under the subtitle. Every mark colour clears 3:1 against its page. The blues are ordered by contrast with the page, so `search-nudged` is the darkest blue on light and the lightest on dark. They differ in lightness, not hue, so every arm is named beside its mark, on the axis or in a legend, and colour never identifies an arm on its own. On the main, stale-and-trap and cycles charts, search arms are drawn as diamonds and the others as circles.

To show the main chart in a README with the theme the reader uses:
The README leads with `three-models` and shows `main` under "The test behind it". To show a chart in a README with the theme the reader uses:

```html
<picture>
Expand Down
Binary file added results/charts/three-models-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading