A forecast nobody checked at the input is just a nice chart

A forecasting model accepts any number it is given. Sales recorded in units one month and in cartons the next. A month with no data loaded as zero. A promotion nobody flagged. Each of these produces a smooth curve with an uncertainty band that looks exactly like a curve computed from good data.

Describing quantitative models among its trends for 2027, Gartner names two steps that usually slide to the end of the project list: validation protocols for numerical data and continuous monitoring of the model after deployment. Below is what those two steps look like in a data pipeline.

Four checks before data reaches the model

Units and definitions. Every measure has one unit and one definition across the whole history. If the way returns are counted changed halfway through last year, the history has a seam there and the model will read it as a change in demand.

Continuity. Missing data and zero are two different facts. The pipeline has to tell them apart, and either fill gaps explicitly by a documented method or stop the calculation.

Exceptional events. Promotions, stock-outs, downtime and one-off contracts are flagged in the data. Low sales in a month when the warehouse was empty say something about the warehouse, not about demand.

Leakage from the future. Training and testing use only information that was known on the day the forecast is made for. Corrections entered after the fact and “as of today” values can produce a model that predicts the past superbly.

Each of these checks is a rule in the pipeline code, with a threshold and a decision: warn or stop. A check done by hand before the first run will be gone by the third.

A backtest with a baseline

A backtest is to a forecast what an evaluation set is to a language system, and like one it is built before the feature. You hide the latest period, compute the forecast from earlier data and compare it with what happened. Then you move the window and repeat, because one period proves nothing.

Two things decide whether the test means anything.

The first is the baseline. The model’s result is compared with the simplest sensible forecast, for example “the same as in the same period a year earlier”. A model that does not beat it is not ready, however it is built.

The second is a threshold set before the test. What improvement over the baseline justifies the cost of maintaining the model is written down before anyone sees results. After the fact, any result can be called promising.

Infographic

From data to a forecast you can trust

  1. 01Input checksUnits, continuity, exceptional events, no leakage from the future.
  2. 02Backtest against a baselineSeveral windows, a threshold agreed in advance.
  3. 03Forecast with its context recordedModel version, data range, uncertainty interval.
  4. 04Settling against realityError computed as soon as data for the forecast period arrives.
  5. 05Reacting to movement in the errorReview the data, retrain, or fall back to the baseline.
Without the second step nobody knows whether the model beats the simplest forecast.

After go-live a forecast settles its own account

A forecast has an advantage over a text answer: after a while the truth is known. A system that does not use this wastes the cheapest quality signal there is.

Every forecast issued is stored with its model version and data range. When actual values arrive, the pipeline computes the error and appends it to the history. Alerts run on that history, and as with language systems that drift rather than crash, movement matters more than level. An error that rises for a third period in a row means more than one bad month.

The input is watched separately. A shift in the distribution of the data, a new product category or a new source of orders are leading signals: the model has not been wrong yet, but it is already working on data unlike what it was tested on.

Finally, decide in advance what the system does when the error crosses the threshold. A sensible containment path is falling back to the baseline, clearly marked for the user. A worse forecast known to be simple is safer than a better one nobody understands any more.

Who owns this

Input checks belong to the data team, because they concern the pipeline. Thresholds belong to the owner of the decision the forecast feeds, because they know what an error costs in each direction. If one engineer holds both roles, the thresholds will be whatever turned out to be achievable.

In the previous article we described how to join a language model with a quantitative one. That arrangement is as good as the data flowing into it. Building a pipeline that rejects bad input on its own and settles its own forecasts is data engineering work.

Sources

  • Gartner Press Release, “Gartner Identifies the Top Strategic Technology Trends for 2027”, 20 October 2026. gartner.com
  • Gartner, “Top 10 Strategic Technology Trends for 2027”, e-book, October 2026. gartner.com