Savings are the counterfactual estimates. AddressableCount is a count, NOT time/$ — it must never be summed into TotalHours/TotalDollars. ContextTokens is set by BuildStats from real file sizes after ComputeSavings.
| 62 | // NOT time/$ — it must never be summed into TotalHours/TotalDollars. |
| 63 | // ContextTokens is set by BuildStats from real file sizes after ComputeSavings. |
| 64 | type Savings struct { |
| 65 | AutomationHours float64 |
| 66 | ContextSwitchHours float64 |
| 67 | ContextTokens int64 |
| 68 | AddressableCount int |
| 69 | TotalHours float64 |
| 70 | TotalDollars float64 |
| 71 | } |
| 72 | |
| 73 | // ComputeSavings applies the counterfactual model. TotalHours sums only the |
| 74 | // two time-valued levers (automation + context-switch); ContextTokens (tokens) |
nothing calls this directly
no outgoing calls
no test coverage detected