Repository navigation
fix(modelinfo): keep the 1-hour cache-write rate; set it per model - #937
Conversation
BEHAVIOR CHANGE. It affects only an operator who sets the new cache_write_1h_frac key in the price list. Nobody else sees a change. - Old: every 1-hour cache write was priced at 2.0x the input rate. - New: an entry with cache_write_1h_frac uses that multiple instead. - To turn it off, leave the key unset. Unset keeps 2.0x (Anthropic's rate), so every existing entry prices exactly as before. Bug fix: Price.Resolved cleared Write1hFrac. Table.Price calls Resolved on every lookup, so a 1-hour rate was always lost. The dashboard row and the keep-alive costs then fell back to 2.0x. Resolved now keeps Write1hFrac. Feature: a price-list entry may set cache_write_1h_frac, the 1-hour cache-write rate as a multiple of in. A negative value is a load error. The shipped price list sets the key on no row. The key is documented in docs/reference/reference.md and at the top of prices.example.yaml. Tests: - ParseTable reads the key, rejects a negative value, and leaves it 0 when unset. - Resolved and Table.Price keep the multiple. - An entry with 1.0 adds no 1-hour extra cost through Event.Price, pingCost and sweepAnswerUSD. A Claude entry without the key keeps its exact 2.0x rate. - No row of the shipped list sets the key. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Vitaly Zabershinsky <[email protected]>
vz-ibm
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (claude, user of @vz-ibm) | Claude Code 2.1.316 | offload-review skill, @vz-ibm's session | fresh | 1 of 2 | 1 of 2 | 88257769f05d |
blocking |
Verdict: blocking
Findings
-
kvcache/pricing.go:122 — the KV-cache simulator and every
NewPriceListcaller ignorecache_write_1h_frac- What fails: an operator sets
{match: acme/flat-1, in: 3, out: 15, cache_write_1h_frac: 1.0}.Table.Pricenow returnsWrite1hFrac = 1.0. ThenFromPriceoverwrites it with the deployment default. The simulator row showsWrite1h = 6e-6(2.0x), not3e-6. The dashboard request row prices the same model at 1.0x. Two pages now give two prices for one model. - Proof:
kvcache/pricing.go:120-122:m = m.WithDefaults()setsm.Write1h = 2.0when the caller left it 0 (pricing.go:98-100). Thenp.Write1hFrac = m.Write1hreplaces the entry's value without a check.pricing.go:142:out.Write1h = p.CacheWrite1hFor(model)then reads 2.0.- Callers that get the wrong rate:
dash/kvcachesim.go:251,562,dash/kvcache.go:813,dash/kvcachesuggest.go:253,397,dash/summarizeattr.go:133(passesMultipliers{}, so always 2.0),dash/compactepisode.go:1280.pricing.go:338usesp.Write1hfor the simulated 1-hour cost. - The PR text says "an entry with
cache_write_1h_fracuses that multiple instead". This is not true on these paths. No test covers them.
- Fix: treat Write1h like the read multiple. Keep
p.Write1hFracwhen the caller did not setMultipliers.Write1h(userMult.Write1h == 0); override only when the caller set it. Also check thepricing.go:144fallback, which usesm.Write1h. Add aFromPrice/NewPriceListtest with aTableentry at1.0.
- What fails: an operator sets
-
dash/keepalive.go:1145 — the live keep-alive 1-hour breakeven still uses the 2.0x constant
- What fails: for the same
acme/flat-1entry,Breakeven1hPingsandBreakeven1hMinutesusep.Input*write1hMultiple(2.0x). The 1-hour lapse cost is too high, so the page shows too many breakeven pings for a 1-hour entry. - Proof:
dash/keepalive.go:980const write1hMultiple = modelinfo.AnthropicCacheWrite1hFrac; line 1145miss1h := float64(r.Prefix) * (p.Input*write1hMultiple - p.CacheRead).pcomes from the same price function, sop.CacheWrite1h()is now available and correct. The comment at 973-979 ("the list carries onecache_writerate per model") is also out of date after this PR. - Fix: use
p.CacheWrite1h()at line 1145, remove or update the constant and its comment, and add a test row with the key set.
- What fails: for the same
Non-blocking
cache_write_1h_frac: 0means "default 2.0x", not "free". This matches the other multiples, but the docs could say it in one line.- A value below the 5-minute rate (for example
1.0on a Claude entry) gives no premium inCostWithCacheWrite1hand gets clamped inFromPrice:148. Both paths end at the 5-minute rate, so they agree. The docs could say that a value below the 5-minute rate has no effect. - The PR names the behavior change at the top. A human developer must still confirm it before merge (CLAUDE.md, "No behavior change ... without a human developer's permission").
What I checked
- Read the full diff (7 files) and the commit message.
- Read
Price,CacheWrite1hFor,Resolved,CostWithCacheWrite1hininternal/modelinfo/modelinfo.go, andParseTable/Table.Priceintable.go. - Checked the other
Resolvedcaller (internal/modelinfo/litellm/litellm.go:219): LiteLLM sets noWrite1hFrac, so there is no change there. - Found every reader of
CacheWrite1h(),CacheWrite1hFor,Write1hFracandAnthropicCacheWrite1hFrac.dash/event.go,keepalive(pingCost,sweepAnswerUSD),tooldefer/ledger.go,dash/spendexplain.go,dash/adapttools.go,dash/toolsuggest.go,dash/cachestate.go,dash/adaptcompaction.goall readp.CacheWrite1h()and get the new rate. The two sites above do not. - Checked
proxy/proxy.go:906selfRates:TokenRateshas no 1-hour field, so it is not affected. - Checked the new tests: the arithmetic in the
dash,keepaliveandmodelinfotests is correct (20319 = 4 + 20315 at 1.0x; the Claude premium is 0.75 x $3/MTok).TestShippedPriceListSetsNoCacheWrite1hFracpins the shipped file. - Fail open: no new error path at request time. A negative value is a startup error, which matches the other rate keys.
- Data dependence: metadata only (a price rate). No component row changes.
- I did not run Go builds or tests (not approved, Go is not installed).
vz-ibm
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (claude, user of @vz-ibm) | Claude Code 2.1.316 | offload-review skill, @vz-ibm's session | fresh | 2 of 2 | 1 of 2 | 88257769f05d |
blocking |
Verdict: blocking
The Resolved fix is correct. It changes nothing for an entry without the new key: no source other than Table sets Write1hFrac before Resolved, and LiteLLM leaves it 0. But the new key reaches only some of the places that price a 1-hour write. Other pages still use 2.0x, or use a different floor. The docs say the key sets "the 1-hour cache-write rate", so an operator expects one rate everywhere.
Findings
-
kvcache/pricing.go:122 — the KV-cache simulator overwrites the entry's
cache_write_1h_fracwith 2.0x- What fails: an entry has
cache_write_1h_frac: 1.0.Table.Pricenow returnsWrite1hFrac = 1.0.FromPricethen runsp.ReadFrac, p.WriteFrac, p.Write1hFrac = userRead, m.Write5m, m.Write1h.m = m.WithDefaults(), som.Write1his always 2.0 unless themult_w1hquery parameter is set.CacheWrite1hFor(line 142) then returns 2.0x input. The dashboard row (Event.Price) prices the 1-hour write at 1.0x. The simulator, the keep-alive suggestions, and the compaction episode pages price the same write at 2.0x. That is everyNewPriceListcaller:dash/kvcachesim.go:251,562,dash/kvcache.go:813,dash/kvcachesuggest.go:253,397,dash/summarizeattr.go:133,dash/compactepisode.go:1280. - Proof:
kvcache/pricing.go:119-122and:141-142. Before this PR,Write1hFracwas always 0 when it got to this point, so the overwrite lost nothing. This PR makes the overwrite drop a real value. No test coversFromPriceorNewPriceListwith the new key. - Fix: in
FromPrice, keepp.Write1hFracwhen it is > 0 and the caller did not setMultipliers.Write1h. This is the same rule thatCacheReaduses withuserRead. Use the same effective multiple in theout.Input == 0branch (line 144). Add aNewPriceListtest with aTableentry that sets the key.
- What fails: an entry has
-
dash/keepalive.go:1145 — the live keep-alive row's 1-hour break-even uses the constant 2.0x
- What fails:
miss1h := float64(r.Prefix) * (p.Input*write1hMultiple - p.CacheRead).write1hMultipleisAnthropicCacheWrite1hFrac(line 980). An entry withcache_write_1h_frac: 1.0still getsBreakeven1hPingsandBreakeven1hMinutesfrom 2.0x. That number is about 2x too high, so the page tells the user that the 1-hour tier tolerates more pings than it does. - Proof:
dash/keepalive.go:973-980and:1145.pcomes from the samePricer(line 1133), sop.CacheWrite1h()would give the entry's rate. - Fix: use
p.CacheWrite1h()in place ofp.Input*write1hMultiple. Remove the constant if it has no other user. Update its comment, which says the list "carries onecache_writerate per model".
- What fails:
-
internal/modelinfo/table.go:117 — a multiple below the 5-minute rate prices differently on different paths; the documented
1.0example fails on a Claude entry- What fails: a Claude entry (5-minute write = 1.25x) sets
cache_write_1h_frac: 1.0, the example indocs/reference/reference.md. Then:CostWithCacheWrite1h(modelinfo.go:142) adds a premium only when it is > 0. The dashboard row and the keep-alive costs bill the 1-hour tokens at 1.25x, not 1.0x.NextRequestUSD(dash/cachestate.go:378),adaptRates(dash/adaptcompaction.go:1024,1036),tooldefer/ledger.go:57,dash/toolsuggest.go:236anddash/adapttools.go:481readCacheWrite1h()directly. They use 1.0x.kvcache.FromPrice(pricing.go:150) clamps up to the 5-minute rate: 1.25x (after finding 1 is fixed).
- Proof: the new tests use
acme/flat-1, a non-Claude id, where the 5-minute rate is also 1.0x. The comment onTestEntryWithOneHourFracOfOneAddsNoExtraCostsays this. No test covers a Claude entry with a multiple below 1.25. - Fix: choose one rule and enforce it at load. For example, reject
cache_write_1h_fracbelow the entry's effective 5-minute multiple, or clamp it inCacheWrite1hFor. Then fix the doc example so that it is true for a Claude entry, or so that it names a non-Claude gateway.
- What fails: a Claude entry (5-minute write = 1.25x) sets
Non-blocking
cache_write_1h_frac: 0, when set explicitly, means "unset" (2.0x). A gateway that does not bill a 1-hour write cannot say so. That is fine, but the docs could state that 0 means the default, as they do for other keys.- The PR says the change affects only an operator who sets the key. That is true. Findings 1-3 are about that same operator. They are not about the default path.
What I checked
- The full diff (7 files, 1 commit) and the commit message.
Price.Resolved,CacheWrite1hFor,CostWithCacheWrite1handTable.Price. With no key,Write1hFracstays 0, so every existing price is the same as before.- Every non-test reader of
Write1hFrac,CacheWrite1h()andCacheWrite1hForin the repo (the grep is in the findings). litellm.go:219:Resolvedruns there withWrite1hFrac = 0, so nothing changes.- The keep-alive path:
Keeper.price→Dispatcher.Price→ the proxy's price function.pingCostandsweepAnswerUSDuseCostWithCacheWrite1h, and the new test covers them. ParseTableusesKnownFields(true), so a mistyped key fails at load. The negative-value check and its test are correct.- The data-dependence statement: metadata only, with no component row. That is correct.
- I did not run tests. Go is not installed, and live tests are not approved.
The review of #937 found 3 paths that did not use the entry's cache_write_1h_frac: - kvcache.FromPrice replaced it with the 2.0x default. It now keeps the entry's multiple when the caller sets none. - The live keep-alive row used a 2.0x constant for the 1-hour break-even. It now uses Price.CacheWrite1h. - A multiple below the 5-minute rate gave 1.0x on some paths and the 5-minute rate on others. CacheWrite1hFor now raises the operator's rate to the 5-minute rate, so all paths agree. The docs say that 0 means the default, and that a value below the 5-minute rate gives the 5-minute rate. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Vitaly Zabershinsky <[email protected]>
Round 1: repliesAll findings are fixed in R1-1 and R2-1:
R1-2 and R2-2: the live keep-alive row used the 2.0x constant. Fixed.
R2-3: a multiple below the 5-minute rate gave different prices on different paths. Fixed.
Non-blocking: 0 means the default. The docs now say "Unset or 0", and that a value below the 5-minute rate gives the 5-minute rate ( Non-blocking: a human's yes. Yes. The PR body names the behavior change at the top. It now also names the pages it reaches. Checks
|
vz-ibm
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (claude, user of @vz-ibm) | Claude Code 2.1.316 | offload-review skill, @vz-ibm's session | resumed | 1 of 2 | 2 of 2 | ee8815211202 |
approve |
Verdict: approve
Findings
None.
Earlier findings
- R1-1 / R2-1 (
kvcache.FromPricereplaced the entry's multiple): fixed.pricing.go:121-125keepsp.Write1hFracwhen the caller set noMultipliers.Write1h.m.Write1hthen holds the effective multiple, so theInput == 0branch (pricing.go:147) uses it too.TestFromPriceKeepsTheEntryOneHourFraccovers both the entry value and a caller value that wins. - R1-2 / R2-2 (live keep-alive row used 2.0x): fixed.
dash/keepalive.go:1136usesp.CacheWrite1h(). The constant and its old comment are gone. I found no other user ofwrite1hMultiple. - R2-3 (a multiple below the 5-minute rate gave different prices): fixed.
CacheWrite1hForreturnsmax(Input*Write1hFrac, CacheWrite5mFor(model)). Every reader ofCacheWrite1h()now gets the 5-minute rate in that case. This agrees withCostWithCacheWrite1h(no premium) and with theFromPriceclamp. The default path (no key) does not change: it still returnsInput * 2.0with no clamp. - The author's reason not to reject the value at load is correct. A family entry such as
claude-*has a 5-minute rate that depends on the queried model, soParseTablecannot know it.
Non-blocking
NewPriceList(pricing.go:232-233) still reportsMultipliers.Write1h = 2.0for the whole list when the caller set none. A row for an entry withcache_write_1h_frac: 1.0uses 1.0x. The code already avoids this mismatch for the read multiple ("so one payload never states 0.1 beside a row priced at 0.05"). The row rates are correct. Only the reported multiple can be wrong. Consider storing the caller's value (0) here, as the read multiple does.CacheWrite1h()passes""as the model toCacheWrite5mFor. This is safe on every current path:Table.Priceresolves first, soCacheWriteis a stated rate. An unresolved price withWrite1hFrac > 0and noCacheWritewould use the default 5-minute rate for"". No caller does this today.dash/write1hfrac_test.go:56comment says the prefix is 100k.kaAgentsetsCacheRead = 50_000, so the prefix is 150k. The result is the same (0.63 / 0.045015 = 13.99, so 13; at 2.0x 0.855 / 0.045015 = 18.99, so 18). Only the comment is wrong.- The behavior change still needs a human developer's yes before merge. The PR body names it.
What I checked
- Last review: round 1,
88257769f05da2d761cd9883ff394fc775364ffe, 2026-11-08T09:17:40Z - New commits read: 1 (
ee881521fix(modelinfo): use the 1-hour rate on every pricing path) - Read in full: 2 reviews, 1 comment, 0 inline comments (from the three files)
- New items since my last review:
- Reviewer 2 round-1 review (09:18:01Z): read all 3 findings. Findings 1 and 2 match mine. Finding 3 is new; I checked its fix above.
- Author's reply comment (09:33:17Z): checked each claimed fix against the diff. All match. Accepted the reason for not rejecting at load.
- Read the full diff
88257769..ee881521(8 files) and the code around each change:FromPricein full,CacheWrite1hFor,CacheWrite5mFor,KeepAliveLivearound line 1136. - Checked the arithmetic of the 3 new tests (
3e-6,6e-6,3.75e-6, 13 vs 18 pings). - Checked the doc text in
reference.mdandprices.example.yamlagainst the new code. It matches. - Fail open: no new error path. Data dependence: still metadata only.
- I did not run Go builds or tests (not approved, Go is not installed). The author reports
make lintexit 0 andgo test ./...with only failures that also happen on the base.
vz-ibm
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (claude, user of @vz-ibm) | Claude Code 2.1.316 | offload-review skill, @vz-ibm's session | resumed | 2 of 2 | 2 of 2 | ee8815211202 |
approve |
Verdict: approve
ee881521 fixes all round-1 findings from both reviewers. Every path that prices a 1-hour write now gets the same rate from Price.CacheWrite1hFor. The default path (no key) is unchanged.
Findings
None.
Status of round-1 findings
- R2-1 (same as R1-1),
kvcache.FromPriceoverwrote the entry's multiple: fixed.kvcache/pricing.go:121-126: whenMultipliers.Write1his unset andp.Write1hFrac > 0,m.Write1htakes the entry's value. A caller'smult_w1hstill wins. Theout.Input == 0branch (m.Write1h / m.Write5m) uses the same effective value.NewPriceListpasses theTableprice straight toFromPrice, so all 7NewPriceListcallers get the fix.TestFromPriceKeepsTheEntryOneHourFraccovers the unset case and the caller-wins case. Arithmetic checked: 1.0 × 3e-6 and 2.0 × 3e-6.- The reported
PriceList.Multipliers.Write1h(pricing.go:233) still shows the deployment default 2.0, not each entry's own multiple. That is a page-wide label, and each row'sWrite1hrate is correct. I do not count it as a defect.
- R2-2 (same as R1-2), live keep-alive break-even used 2.0x: fixed.
dash/keepalive.go:1136usesp.CacheWrite1h(). The constant and its old comment are removed. A grep finds no other user.- Default path:
Write1hFrac = 0givesInput × 2.0, the same as before. The existingTestTheLivePanelPricesOneSessionsOwnBreakevenstill pins 18.
- R2-3, a multiple below the 5-minute rate gave different rates on different paths: fixed (another fix than the one I proposed, and I accept it).
modelinfo.go:107-108:max(Input × Write1hFrac, CacheWrite5mFor(model)). The direct readers (NextRequestUSD,adaptRates,tooldefer,toolsuggest,adapttools) now agree withCostWithCacheWrite1h(no negative premium) and with theFromPriceclamp (pricing.go:150).- The author's reason not to reject at load is correct. A family entry such as
claude-*can serve models with different 5-minute rates (Table.Priceresolves with the queried model, table.go:214), so a load check cannot know the floor. CacheWrite1h()passes""as the model. That is safe here: afterResolvedthe 5-minute rate is a stated field, soCacheWrite5mFordoes not read the model.TestOneHourFracBelowTheFiveMinuteRateGivesTheFiveMinuteRatecovers a Claude entry at 1.0 → 3.75e-6.- The docs now say that a value below the 5-minute rate gives the 5-minute rate. So the
1.0example is correct for every entry.
- Non-blocking "0 means the default": fixed in
reference.mdandprices.example.yaml. - R1 non-blocking "a human's yes": the author answered "Yes" and named the pages in the PR body. A human developer must still confirm before merge. I do not decide that.
Non-blocking
dash/write1hfrac_test.go:56: the comment says a 100k prefix.kaAgentsetsCacheRead = 50_000and the test does not clear it, so the prefix is 150k. The result is the same: 150k × 4.2e-6 / (150k × 3e-7 + 15e-6) = 13.99 → 13, and at 2.0x it is 18.99 → 18. The assertion is correct and still fails without the fix. Only the comment is wrong.
What I checked
- Last review: round 1,
88257769f05da2d761cd9883ff394fc775364ffe, 2026-11-08T09:18:01Z - New commits read: 1 (
ee881521fix(modelinfo): use the 1-hour rate on every pricing path) - Read in full: 2 reviews, 1 comment, 0 inline comments (from
.review-in-reviews.txt,.review-in-comments.txt,.review-in-inline.txt) - New items since my last review:
- Commit
ee881521: read the full diff (8 files, 177 lines) and the code around each change (FromPrice,NewPriceList,KeepAliveLive,CacheWrite1hFor,Table.Price). - Comment by vz-ibm at 2026-11-08T09:33:17Z (round-1 replies): checked each reply against the code. See "Status of round-1 findings".
- Reviewer 1's round-1 review (09:17:40Z, posted before mine, read now for the first time): R1-1 and R1-2 match my R2-1 and R2-2, and both are fixed. Its non-blocking points are handled.
- Commit
- Grep of every non-test
Write1hFracuser after the commit: onlymodelinfo.go,table.goandkvcache/pricing.go. - Default path: with no key,
CacheWrite1hForreturnsInput × 2.0with no clamp, the same as before. No new error path at request time, so fail-open is not affected. - Data dependence: metadata only (a price rate). No component row changes.
- I did not run tests. Go is not installed, and live tests are not approved. The author reports
make lintexit 0 andgo test ./...failures that also occur on the base.
check-ready.sh now fails a PR whose head has no passing CodeQL check run from GitHub's code-scanning app. RELEASING.md gets new rules: a PR opened before #945 needs a new push before it merges; after an --admin merge, read the merge's rule results and tell the owner of any failed rule other than the review rule; a PR's scan covers only its changed lines, so read main for all open alerts; a false positive is dismissed only with the owner's yes. Why: on 2026-11-08 #943, #937 and #944 merged past the code-scanning rule because they were opened before the CodeQL workflow (#945). CodeQL scans of main afterwards found no new alert. --admin does not say which rules it bypasses, and the script did not check code scanning. New integrator rule: an integrator talks with many sessions and with the owner, so its main session must stay free. Implementation work goes to subagents, and the main session only coordinates. The owner asked for this. Behavior change: none. Release scripts and docs only. Data dependence: none. The script reads GitHub check runs only. Reviews: 2 offload reviews (GLM), round 3 (owner granted round 3), both approve at df9d719. Assisted-By: Claude Opus 5.5 <[email protected]> Signed-off-by: DAVID AMID <[email protected]>
…te (#970) Bob bills a 1-hour cache write at the input rate. On a real Bob account (2026-11-04), Bob's own credits matched that rate on 20 calls. The example price list now says so, with the per-entry key from #937. Behavior change: operators who install deploy/service/prices.example.yaml and see Bob traffic. Old: a Bob 1-hour write cost 2.0x the input rate. New: the 6 Bob tier rows set cache_write_1h_frac: 1.0, so a 1-hour write costs the input rate. The KV-cache simulator now picks write_1h for long holds, and the sticky break-even is 0. The harbor cost model (deploy/harbor) reads the key too, so its Bob rate matches Go. To turn it off, remove cache_write_1h_frac: 1.0 from those rows in your copy of the file. Owner's yes, 2026-11-09, in the integrator session: "all bob changes are approved, since this is effectively our first release we will start to have bob users". Data dependence: none. A price list holds rates, not data. Reviews: 2 offload reviews (claude backend), round 2, both approve at 5f68125. Signed-off-by: Vitaly Zabershinsky <[email protected]> Assisted-By: Claude (Anthropic AI) <[email protected]>
Summary
A price-list entry can now set its 1-hour cache-write rate. This also fixes a bug that threw away a 1-hour rate on every price lookup.
What we found
Price.ResolvedclearedWrite1hFrac.Table.PricecallsResolvedon every lookup.What changed
internal/modelinfo/modelinfo.go:ResolvedkeepsWrite1hFrac. It still clearsReadFracandWriteFrac, because their values move into stated fields.internal/modelinfo/table.go: a new optional per-entry keycache_write_1h_frac, the 1-hour cache-write rate as a multiple ofin. A negative value is a load error.kvcache/pricing.go:FromPricekeeps the entry's 1-hour multiple when the caller sets none (review round 1).dash/keepalive.go: the live row's 1-hour break-even usesPrice.CacheWrite1h, not a 2.0x constant (review round 1).CacheWrite1hForraises an operator rate below the 5-minute rate to the 5-minute rate (review round 1).docs/reference/reference.mdand at the top ofdeploy/service/prices.example.yaml.Data dependence
Metadata only: the change reads a price rate from the operator's price file. It stores nothing new. It is the same at every storage level (off, metadata only, everything). No component is added or changed, so
docs/data-dependence.mdhas no row to update.How it was tested
ParseTablereads the key, rejects a negative value, and leaves it 0 when unset.ResolvedandTable.Pricekeep the multiple. These tests fail with the oldResolvedline.1.0adds no 1-hour extra cost throughEvent.Price,pingCostandsweepAnswerUSD.TestShippedPriceListLoadsandTestEveryGatewayModelIsPricedpass.go test -raceoninternal/modelinfo,dash,keepaliveandproxy;go vet ./...andgofmtare clean.Two tests fail on this branch and on plain
mainalike, so they are not caused by this change:TestRateFillTableAndPrice: a float-formatting fixture (8.4e-05vs8.399999999999998e-05).TestALateFirstByteOnTheRealTransportNeverReachesTheClient: flaky, 11 of 20 runs fail onmain(test: TestALateFirstByteOnTheRealTransportNeverReachesTheClient is flaky under -race #847).Not tested end to end with a running proxy and a price file that sets the key.