Skip to content
AISpendbook

Finance

Decision record

Forecasts with their information cutoff, scenarios and recommendation decisions stored as made, then scored against actual spend.

The decision record keeps three kinds of dated record and scores each one later against what was spent. None of them is rewritten.

Forecast records

  • The baseline forecast is stored once per UTC day by a scheduled job, six months ahead by default. Analysts can also record one by hand.
  • There is one record per day. A second run on the same day returns the first.
  • A month is scored once it has ended and has data from its first day. Error is (forecast minus actual) divided by actual.
  • Accuracy is shown by horizon, the number of months ahead: mean absolute error, bias (positive means forecasts ran high) and, for forecasts that had a range, the share whose range held the actual.
  • A forecast has a p10 to p90 range when at least four months with spend were fitted, with at least three of them complete. The current month counts at its run rate once it has seven days of data. With less history it is a single figure.

Information cutoff

  • Each forecast record stores what it could know: the last UTC day with spend data it saw, the complete days of the current month before it was made, the days of that month that had data, and the version of the calculation.
  • Scores are split by timing. Before month: the forecast saw no data from the month it forecasts. Within month: the last day of data it saw falls in that month or later, so it already knew part of the answer.
  • The two timings are never averaged together.
  • A record stored before the cutoff was kept is placed by the day it was made.
  • The method is an extrapolation of past monthly spend. Launches, price changes and migrations are not forecast drivers. Scenarios cover those.

Backtest

Until a record is old enough to score, a backtest gives accuracy figures: the same method re-run on history that stops before each ended month. All its scores are before-month scores. It uses today's ledger, not what was known at the time, so it is labelled separately from the records.

Scenario snapshots

An analyst can freeze a scenario. The snapshot stores its inputs and projected months as they were, and each month is scored the same way once it has ended.

Official forecast

On the Forecasts tab an analyst can make a saved scenario the official forecast for 3 to 36 months. One is official at a time and earlier ones stay in the history. Official forecast scores sit next to the baseline scores; a month is scored against the promotion that was official when it began. Months already ended or in progress when a forecast was promoted are not scored for it. See budget plans.

Recommendation decisions

  • A recommendation can be marked accepted, rejected or implemented, with a note. The recommendation is stored as it was shown when first decided, read from the server.
  • Changing a decision keeps the earlier one in its history.
  • For an implemented recommendation, the realized saving is the fall in cost per request for the same feature, 30 days before against up to 30 days after, times the requests after. Other changes in that period are not separated out.
  • When the feature has no request telemetry before or after, no figure is shown and the reason is stated.

Deals and change reviews

Two other decisions keep their own record and are compared with what happened later: an approved deal against the customer's actual months, and an approved change review against the observed cost per request.