docs: take an estimated day baseline's scale from the day's first sample
With the newest sample's scale, use from the web or another device moved an estimated day baseline, and the daily budget moved with it while today stayed within its plan (review of #15). Refs #13
This commit is contained in:
+8
-3
@@ -172,7 +172,8 @@ probe.
|
|||||||
`(100 − u₀) · today's share / (r − s)`; use during the day does not change it. A later day's
|
`(100 − u₀) · today's share / (r − s)`; use during the day does not change it. A later day's
|
||||||
budget is `(100 − max(u, u₀ + today's budget)) · its share / (r − end of today)`, so later days
|
budget is `(100 − max(u, u₀ + today's budget)) · its share / (r − end of today)`, so later days
|
||||||
lose budget only once today's use passes today's budget. `u₀` is measured, or estimated as
|
lose budget only once today's use passes today's budget. `u₀` is measured, or estimated as
|
||||||
below and then marked; without it there is no budget.
|
below and then marked. An estimated `u₀` takes `k` from the first sample at or after `s`, not
|
||||||
|
the newest, so later samples do not move it. Without `u₀` there is no budget.
|
||||||
- **Estimates from tokens.** Where samples do not cover a span, its use is estimated from the
|
- **Estimates from tokens.** Where samples do not cover a span, its use is estimated from the
|
||||||
token history. Tokens are weighted by the provider's API price ratios: Claude input 1,
|
token history. Tokens are weighted by the provider's API price ratios: Claude input 1,
|
||||||
output 5, cache write 1.25, cache read 0.1; Codex uncached input 1, cached input 0.1,
|
output 5, cache write 1.25, cache read 0.1; Codex uncached input 1, cached input 0.1,
|
||||||
@@ -202,7 +203,9 @@ date shows from the first point over pace. The day figures answer "how much of t
|
|||||||
use today" and "how much may I use per day from now on" (developer feedback, 2026-10-14). A
|
use today" and "how much may I use per day from now on" (developer feedback, 2026-10-14). A
|
||||||
budget computed from `u` and the time now fell with every use, even within the day's plan, and
|
budget computed from `u` and the time now fell with every use, even within the day's plan, and
|
||||||
held a partial first day to a full day's pace; a budget set at the start of the day can be
|
held a partial first day to a full day's pace; a budget set at the start of the day can be
|
||||||
compared with the day's bar (developer feedback, 2026-10-18).
|
compared with the day's bar (developer feedback, 2026-10-18). An estimated `u₀` with the newest
|
||||||
|
`k` moved whenever use from the web or another device changed the scale, and the budget moved
|
||||||
|
with it.
|
||||||
Measured samples alone left the day chart empty until the app had run for a whole week, while the
|
Measured samples alone left the day chart empty until the app had run for a whole week, while the
|
||||||
token history already covers it; the estimate fills it at once and agrees with the measured use
|
token history already covers it; the estimate fills it at once and agrees with the measured use
|
||||||
of the instance by construction (developer feedback, 2026-10-15). A window that is ahead early is
|
of the instance by construction (developer feedback, 2026-10-15). A window that is ahead early is
|
||||||
@@ -217,7 +220,9 @@ the first hours a forecast can move by days.
|
|||||||
Measured day figures are only as fine as the samples (D5 keeps one per hour while the value
|
Measured day figures are only as fine as the samples (D5 keeps one per hour while the value
|
||||||
stands still). Estimates miss use from other devices and from claude.ai or the web, which
|
stands still). Estimates miss use from other devices and from claude.ai or the web, which
|
||||||
counts against the limit but leaves no local tokens; they also miss changes in model mix within
|
counts against the limit but leaves no local tokens; they also miss changes in model mix within
|
||||||
an instance and any weighting the provider applies beyond the price ratios.
|
an instance and any weighting the provider applies beyond the price ratios. An estimated `u₀`
|
||||||
|
keeps the first sample's scale for the whole day, even when later samples would estimate it
|
||||||
|
better.
|
||||||
|
|
||||||
## D8 — Desktop app
|
## D8 — Desktop app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user