Repository navigation
replay --paged-reads: an unranged read answers with its first page; measure prefill and the extra pages she needed (S1) - #5488
Merged
Conversation
Contributor
Author
|
Cormac at 37ecdf6: PASS (example-only; this review covers the one commit on top of #5487's 1b0af10, which I passed earlier). Verified:
Note for the live trial (S1 line, not this PR): an unranged |
…e and names the rest; measure prefill, turnovers and the extra page requests her acts show she needed (plan S1) The page is the longest run of whole lines that fits the view's measured per-act headroom (shared equally among an act's unranged reads), the same quantity --outline-results decides by; no constant of its own. The need for later pages is a lower bound: a later quote of a line past the page charges one extra request appending that page; a ranged read past it is a request she made anyway, so it marks the first page as insufficient without an extra charge. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
force-pushed
the
fable/replay-paged-reads
branch
from
October 26, 2026 20:31
37ecdf6 to
de994ad
Compare
Contributor
Author
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.
This serves the residents' speed (plan path step 1, line S1). It measures offline whether
code/readwith no range should answer with a first page plus[lines 1-N of M; page with start_line/end_line]. That isn't a clip of her newest result: she gets what the tool says it gives, and knows the rest is there.Stacked on #5487 (
fable/replay-outline-results). Merge that first; this diff is one commit (37ecdf6).What it adds
--paged-reads(with--append-tail) adds two variants to the replay. The new file isexamples/replay/paged.rs(278 lines, one test mod, 2 tests).View::appended_per_act, the same quantity--outline-resultsuses). A page is the longest run of whole lines from line 1 that fits a read's share. A read that fits is sent whole. Before the first epoch has measured a headroom, every read is sent whole.old_strings count.Measured
Replay of M5 prompt captures from 2026-10-26, as in #5487:
replay --purpose "" --append-tail 173 --outline-results --paged-reads <caps>, at 173 tok/s prefill, on 37ecdf6.How to read the last column:
Not measured
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo