codeburn/scripts/upgrade-path
Resham Joshi 6dc81f5ce6
Some checks are pending
CI / semgrep (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
fix: four cost accuracy bugs in export and pricing (#1544)
* fix: four cost accuracy bugs in export and pricing

- export daily rows bucket each call on its own day (same rule as the day
  aggregator) and no longer skip a turn without a timestamp
- cache-write tokens on a non-Anthropic model with no published write rate
  bill at the input rate instead of a fabricated 1.25x (calculateCost and
  audit); daily cache v35 and pricing schema 4 so stored figures re-derive
- OpenCode/Kilo messages with output but no usage, and Copilot transcript
  calls with no token count, are marked estimated
- export records keep unrounded cost and gain estimated/unpriced columns

* fix: plain-decimal CSV costs, re-parse cached copilot transcripts for the estimated flag

* ci(upgrade-path): compare copilot records at cent precision across the export rounding change
2026-09-24 15:55:23 +02:00
..
compare.mjs docs(pricing): bound the codex repricing drift in verify:upgrade, fix stale comments 2026-08-21 12:49:05 -07:00
gen-corpus.mjs ci(upgrade-path): guard durable history across a bump on an extant source 2026-08-19 12:46:01 -07:00
run.mjs fix: four cost accuracy bugs in export and pricing (#1544) 2026-09-24 15:55:23 +02:00