An ML demand-forecasting engine pilot for a 400+-store retailer, showed -31% errors and -24% stockouts against a pre-launch baseline.
About the client
An omnichannel retailer of home goods with 400+ stores and 6 distribution centers across the U.S. asked Devox Software to help reduce their operating costs with a custom demand-forecasting engine
About the Product
An in-house demand-forecasting engine was made to predict weekly sales for every SKU in every store and distribution center up to 12 weeks ahead. It helped to accurately optimize pre-holiday demand with fewer stockouts.
Through a dashboard fueled by ML forecasts fed into the client’s replenishment system, planners can see each item’s predicted demand and identify the main sales drivers behind it: price, promotions, seasonality, weather, and local events.
Introduction
In our experience, most forecasting projects’ accuracy depends on data pipelines and infrastructure more than on models. Moreover, the new model’s effectiveness is often compared with a wrong version of history. This project is not an exception. The client had already been through these versions. That’s why this time the CFO set one condition: no rollout until the new system beat the old process on numbers frozen before launch.
As Devox Software has built a similar forecasting engine before, we gladly took over this case. After we proved it worked, the client then scaled it to every store in their 400+ network.
Project Team
1 Delivery manager
1 Solution architect
3 Data scientists/ML engineers
2 Data engineers
1 Backend engineer
1 BI developer
1 QA engineer
worked during 9 months, straight from discovery to chain-wide rollout.
Challenges
Tech Stack
Data platform: Snowflake, Databricks, Delta Lake
Pipelines and orchestration: Apache Airflow, dbt
Modeling: Python, LightGBM, Temporal Fusion Transformer (PyTorch), Prophet (benchmark)
MLOps: MLflow, Great Expectations, Docker
Serving and integration: FastAPI, REST connector to the replenishment system
Cloud: Azure
Reporting: Power BI
Solution
The first thing we’ve done is that Devox Software agreed on how success would be measured before writing any model code. Then, after all requirements, data pipelines, and infrastructure were ok, the team built the engine and ran a controlled pilot against that baseline. It was performed in several steps:
Results
Over the 16-week pilot, the new engine beat the frozen baseline on every agreed metric. Finance confirmed the results against the control stores which showed no significant change over the same period proving the change comes from the demand forecasting solution.
| Metric | Pre-launch baseline | Pilot stores |
| Forecast error (weighted MAPE) | 38% | 26% |
| Forecast bias | +9% | +2% |
| Stockout rate, fast movers | 10% | 8.5% |
| Days of inventory on hand | 41 | 35 |
| Planner overrides | 40% | 12% |
Following the phased rollout, the client projected approximately $4.2 million in annual financial benefits from improved inventory efficiency and reduced lost-sales exposure.
Sum Up
The client got a better forecast. However, along with it, It got proof and resilience for future. The same framework now runs as part of the engine, so every model update is measured the same way.
Having trouble booking? Open the booking page.
Tell us where your system needs help — we’ll show you how to move forward with clarity and speed. From architecture to launch — we’re your engineering partner.
Book your free consultation. We’ll help you move faster, and smarter.
Share the details of your project – like scope or business challenges. Our team will carefully study them and then we’ll figure out the next move together.
We appreciate you reaching out. Your message has been received, and a member of our team will get back to you within 24 hours.
In the meantime, feel free to follow our social.
Welcome to the Devox Software community! We're excited to have you on board. You'll now receive the latest industry insights, company news, and exclusive updates straight to your inbox.