docs: cap estimates, start forecasts at 10 %, end instances early (D7)

On real data, estimates of past weeks passed 200 %, a Codex window one
hour old forecast 100 % within two days, and Codex windows that ended
early were labelled with reset dates in the future. D7 now caps
estimates at the limit, starts forecasts once 10 % of the window has
passed, and ends an instance when the next one begins.

Refs #5
This commit is contained in:
Florian Schmidt
2026-10-15 09:18:41 +02:00
parent d2ff67bb69
commit 06b358570c
+8 -3
View File
@@ -153,7 +153,9 @@ probe.
that passes 100 % (that is, `d > 0`, whatever the threshold), the time of reaching 100 %,
`t + (100 − u) · e·W / u`, is shown; it always comes before `r`. A second forecast uses the
recent rate: the rise of `u` over the window's samples from the last 24 h, when they span at
least 3 h. It is shown beside the average forecast, never instead of it.
least 3 h. It is shown beside the average forecast, never instead of it. Forecasts start once
10 % of the window has passed (30 min of a session, about 17 h of a week); before that, one
hour at 1 % already "reaches" 100 % within days, which is noise.
- **Window instance.** The samples of one window whose reset times lie within 15 minutes of each
other. Claude reports resets to the minute and drifts by a minute between probes ("8pm", then
"7:59pm"), so exact equality would split one week. A reset starts a new instance at 0 %.
@@ -172,8 +174,11 @@ probe.
tokens into percent of the limit; the newest sample gives `k`. A day, or a stretch of the
window chart, then uses samples where they exist at both ends, and `k` × its weighted tokens
where they do not. A finished instance uses its own last sample for `k` when it has one, else
the current `k`. Estimates are always marked as estimates. No tokens in the instance means no
estimate.
the current `k`. Estimates are always marked as estimates and never exceed 100 %: a limit that
is reached stops use, so an estimate that would pass it shows "limit reached (estimated)" at
the time it crosses. No tokens in the instance means no estimate. An instance ends at its reset
or when the next instance's samples begin, whichever comes first (Codex can start a new window
early); past instances are labelled with their real start and end.
A window without a known length or reset has no pace; FinalToken never guesses one; an estimate
is a marked calculation from measured tokens, not a guess.