Problem
A grocery chain with over 26 thousand stores must forecast sales for every promo in every store, usually 40 to 70 days ahead and sometimes 200 to 365 days ahead. The forecast drives supplier production, logistics and printed catalogs. Promo history per item is short, mechanics vary (2+1, coupons, progressive discounts), and past sales are distorted by stock-outs, advertising and price changes.
Example from the article: a forecast for a line of 10 products in all formats, with 5 promo variants and 30 customers, needs 26,000 * 10 * 5 * 30 = 39,000,000 records for each production algorithm.
Solution in brief
The team treats nine problem areas with targeted fixes: sliced and clustered training, mechanic features with discount substitution, cleaning the history of stock-outs and advertising, analog-based forecasts for new items, price normalization and blending of model types. Changes are checked with retro-tests, parallel calculation and A/B tests, chosen by a RICE score.
Questions this case answers
- How to forecast demand under planned price and discount changes when the history is short, sparse and distorted by stock-outs and other interventions
- How to validate forecasting-model improvements quickly when the prediction horizon makes a controlled experiment take months
- How to forecast items with no history when the models are trained on a huge number of entity slices
- How to forecast promo demand for tens of thousands of stores and thousands of SKUs when promo history per item is short?
Tools and methods
- Spark, Airflow, Delta Lake, Hive, Tableau — data layers, per-slice training, forecast output, BI debugging
- Prophet, Orbit — seasonal and holiday uplifts per category and territory
- Gradient boosting, linear and multiplicative models, blending — stable forecast on unseen prices and discounts
- Retro-test, parallel calculation, A/B test, RICE — validation ladder
Google or a one-time email code. No password.
