Repository navigation
docs(benchmark): add "vs competitors" summary page (SWE-bench Verified) - #21
Merged
Merged
Conversation
OsherElhadad
force-pushed
the
docs/vs-competitors
branch
from
August 9, 2026 08:09
3928421 to
4322621
Compare
Adds a mechanism-first summary of the four-arm SWE-bench Verified study for readers who want to understand *why* the numbers came out as they did, rather than another table. The existing comparison page keeps the per-task detail. New page `results/vs-competitors.md`: - where the three layers intercept, as a diagram — rtk is a shell hook that compresses Bash output before it enters the transcript, headroom is a proxy that rewrites the live zone, context-guru is a proxy that compacts the whole messages array and then freezes each decision and replays it byte-identically; - why removing the *least* content per request still wins: 1.09%/req vs headroom's 2.64%, yet cheapest overall, because one frozen decision is subtracted from every subsequent cache-read while the cached prefix stays byte-stable — cache-read -17.8%, cache-write within 1% of baseline; - why cache-write discipline matters even where it costs nothing (one cache-write is priced at 11.5 cache-reads); - fail-open / never-worse / reversible, and why they make aggression safe; - whole-request reach vs rtk's Bash-only ceiling, and the -13.9% step reduction that does most of the work behind the -13.2% cost win; - what each competitor owns and pays for, crediting rtk's operate-at-the-source idea and headroom's lossless tool-schema layer as things worth adopting. The honest-read section states plainly that the reward spread (43/44/40/43 at n=1) is within run-to-run noise, that the cost claim rests on the deterministic cache signals, and that SWE-bench is the favourable regime for compaction — no claim is made that -13.2% transfers to long-horizon workloads. Docs-only. `mkdocs build --strict` clean. Assisted-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Osher-Elhadad <[email protected]>
OsherElhadad
force-pushed
the
docs/vs-competitors
branch
from
August 9, 2026 09:20
4322621 to
53480be
Compare
This was referenced Nov 4, 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.
What
Adds a mechanism-first summary page —
docs/results/vs-competitors.md— explaining whatcontext-guru does differently from headroom and rtk on SWE-bench Verified, and why
those design choices produced the better result. The existing comparison page
keeps the per-task tables and plots; this page is the "why", not another table.
Docs-only: three files (
docs/results/vs-competitors.md, a pointer indocs/RESULTS.md, onenav entry).
The page
output before it enters the transcript; headroom is a proxy that rewrites the live zone;
context-guru is a proxy that compacts the whole
messagesarray and then freezes eachdecision and replays it byte-identically.
headroom's 2.64% and is still the cheapest arm, because a frozen decision is subtracted from
every subsequent cache-read while the cached prefix stays byte-stable → cache-read −17.8%,
cache-write within 1% of baseline.
priced at 11.5 cache-reads, so mutating already-cached content rarely breaks even.
aggressive compaction safe to ship (the
Offloadtype enforces reversibility).does most of the work behind the −13.2% cost win.
headroom's lossless tool-schema layer as things worth adopting, not dismissing them.
Headline it explains
On the claims
The honest-read section states plainly that:
and the cost claim rests on the deterministic cache-write / cache-read / per-component signals;
cache-read dominating the bill — and no claim is made that −13.2% transfers to
long-horizon, large-context workloads;
conversations a net loss for any arm.
Terminal-Bench results are deliberately not part of this PR.
Verification
mkdocs build --strict— clean, no warnings, no broken internal links.mainis 3 files; no runtime code, no harness scripts.origin/main; unrelated local WIP (the cacheinject/sticky-anchor Go work) isexcluded.