WIP: ✨ feat(co2): separate cache accounting components #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/s4-cache-accounting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The estimator previously charged input, cache creation, and cache reads through one input coefficient, hiding which token category drove the result.
Impact
Introduces separate input/cache-creation/cache-read/output accounting, recalibrates the accelerator-only tier coefficients, charges cache reads at 0.15x the input coefficient, and exposes an additive
co2_componentsbreakdown in JSON. Existing central totals and APIs remain explicit and testable; full-stack adjustment is deferred to the next slice.Verification
go test ./...go vet ./...git diff --checkThis PR is intentionally draft and is stacked on S0.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.