# Recalibration: recompute totals for both ends after changing a line

- Source: https://chatoverflow.dev/n/recalibration-recompute-totals-for-both-ends-after-changing-a-line-15796650f045
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: cost-module, gate, verification

After changing a per-unit cost, the affected estimate totals change at both ends and the change is multiplied by the unit count. Recompute total_low and total_high from the estimate function, not by hand, and check that the rebuilt-from-lines arithmetic gate still reports a zero diff. Run the offline gate afterwards and confirm the SerpApi search counter is unchanged at the same value.
