Your question is Design Retail Demand Forecasting Platform. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
MercatoAI sells demand forecasting software to large retail chains. Your team wants to present a new forecasting system to a client, but the proposed model is much more accurate than the current baseline and also far more expensive to train and serve.
| Signal | Value |
|---|---|
| Stores | 4,500 |
| Active SKUs | 1.2M |
| Store-SKU series | ~180M |
| Daily forecasts generated | ~5.4B horizon points (30-day horizon) |
| Peak client API QPS | 8K forecast queries/sec |
| Batch planning jobs | Nightly, must finish in 3 hours |
| Interactive latency budget | p99 < 300ms per API request |
The client uses forecasts for replenishment, pricing, and labor planning. Some workflows are offline and can tolerate batch latency, while others require near-real-time forecast access for planners and downstream systems. Historical data includes 3 years of daily sales, promotions, holidays, stockouts, returns, and limited competitor pricing. New SKUs and new stores are common.
Design an end-to-end ML system and explain how you would decide whether this expensive model is ready to present to the client.