The backtester behind this demand forecast scores every model on 164 walk-forward folds, at horizons of 7, 14 and 28 days, and measures error as weekly weighted MAPE on total e-commerce orders. Before it reports anything, it runs a dummy model that can look up every real order count in the dataset, test dates included. If the folds are built correctly the dummy never gets to use that lookup, falls back to copying last week, and misses by more than 15 percent on every test fold, while on its training data it scores under 5 percent. If it does better than 15 percent on test, the test set has leaked into training and the run stops.
Under that harness the best model, AutoARIMA on the total order series, scored 32.2 percent weekly wMAPE. The evaluation it replaced, a single train/test split on all-channel data, had put the best model at 24.58 percent MAPE. The 32.2 is the more accurate figure: it averages over four years of forecast windows, every holiday season among them, and it weights each week's miss by that week's volume.
The system is a daily order forecast for one online retailer: 13 product categories, orders from 2021-01-01 to 2026-03-16, e-commerce channels only. The first evaluation compared fifteen approaches; the walk-forward rebuild compared six. The retailer's order volumes and revenue are theirs, so every result here is a percentage.
Fifteen approaches on one split
The first round put fifteen forecasting approaches through one split. Training data ran up to 25 May 2024 and the test window ran from there to the end of the December 2024 extract. Error was MAPE on daily orders: each day's absolute miss as a percentage of that day's actual count, averaged over the test days, with zero-order days skipped. Every day counted the same, whether it was a quiet Tuesday in August or Black Friday.
The top three rows were all one method. Each top-level product category was forecast on its own with StatsForecast and the categories were summed to a total. With AutoARIMA inside it scored 24.58 percent, with SeasonalNaive 28.99, and with an ensemble 32.71. Prophet came fourth at 35.22. A deeper version of the same hierarchy, reconciled across every level of the product tree, had been tried before that and produced MAPE in the quadrillions, so the script kept only the top level.
The neural approaches finished at the bottom. A reduced Transformer scored 44.06 percent and NHITS with XGBoost 45.08. Flow matching came in at 130.31 percent, a probabilistic quantile model at 172.59, and a custom Torch model at about 425 percent. A model that misses by 425 percent on average is predicting several times the real order count on a typical day.
The columns are rankings, not one scale: the left is daily MAPE on one fixed split of all-channel orders, every day counted equally; the right is weekly wMAPE on total e-commerce orders, each week weighted by its orders. The left’s hierarchical rows forecast each category and sum them; the right’s models forecast the total series. The dashed join is the ensemble, which averaged SeasonalNaive, AutoARIMA and AutoETS on the split and averages AutoARIMA and AutoETS on the walk-forward. Prophet was re-run only at category level (43.3%), not on total orders.
source: demand-forecast project README.md lines 212-228 (single split, December 2024 data) and lines 143, 162-167 (walk-forward backtest on total e-commerce orders, March 2026) · honestForecasting.data.ts
One split measures one stretch of calendar. This one started in late May and included a single holiday season, so a model's score depended on how well it handled those seven months and nothing else. Black Friday entered the average as one day in about seven months of test days. Nothing in the table could say whether 24.58 would hold for a forecast made in October, when the holiday spike is two to four weeks out.
Walk-forward, weighted, e-commerce only
The rebuild in March 2026 replaced the split with walk-forward cross-validation. The backtester picks a forecast start, trains on everything before it, forecasts 7, 14 or 28 days ahead, then moves the start forward 28 days and repeats. Training needs at least a year of history. If the regular schedule misses Black Friday or the holiday window, the backtester adds folds that cover them. The full run over 2021-01-01 to 2026-03-16 produced 164 folds.
Three hard assertions run on every fold: training ends before the forecast starts, every prediction date falls inside the forecast window, and the two windows don't overlap. Any model goes in through one interface, a function that takes a training frame and a horizon and returns a forecast frame. That interface is how six different models, from seasonal naive to Prophet, ran through identical folds.
Error is weekly wMAPE. Daily forecasts are rolled up to ISO weeks, and the error is the sum of absolute misses divided by the sum of actual orders. A week with three times the orders carries three times the weight, and a near-empty day can't produce a huge percentage that swamps the average. For a retailer whose volume swings with promotions, that weighting puts the error on the weeks that carry the most orders.
The first ranking was by category. AutoARIMA and AutoETS averaged together, the arima_ets_ensemble, led at 37.9 percent, followed by a model that forecasts new and returning customers' orders separately at 41.8, plain AutoARIMA at 42.4, a weekly AutoARIMA at 43.0 and Prophet at 43.3. Seasonal naive, which repeats the same weekday from last week, was last at 51.0. But its non-holiday error was 33.6, the same as the leader's. Its holiday error was 132.5.
Category totals overstate the business. An order with products from two categories counts once in each, so the 13 category series sum to more orders than the store took. The number the business plans against is total e-commerce orders, so the six models were run again on the single total series.
On total orders AutoARIMA came first at 32.2 percent, with a bias of minus 1.9 percent (a slight under-forecast). New-versus-returning was 32.3, the ensemble 33.0, weekly AutoARIMA 33.1. The top four span 0.9 of a point. A model that adds learned lift ratios for Black Friday, Cyber Monday, the summer sale and US holidays, called uplift, was fifth at 34.3 percent. Seasonal naive was last at 43.3.
Weekly wMAPE: daily forecasts summed to ISO weeks, error as the sum of absolute misses over the sum of actual orders, over 164 walk-forward folds at horizons of 7, 14 and 28 days. Holiday weeks are 26 October to 15 December. The left-hand number is the all-weeks figure the models are ranked by. Ordinary-week values: AUTOARIMA 30.9, NEW/RETURNING 30.8, ARIMA+ETS ENS. 30.2, WEEKLY ARIMA 30.5, UPLIFT 29.4, SEASONAL NAIVE 28.3.
source: demand-forecast project README.md lines 143, 162-167 (walk-forward backtest, total e-commerce orders, March 2026); holiday window 26 Oct to 15 Dec per experiments/shared/evaluation.py lines 38-39 · honestForecasting.data.ts
The README for the project lists four reasons the best error rose from 24.58 to 32.2. The folds include the hard periods, where the single split had one test window. Horizons of 14 and 28 days pull the error up against the old 7-day-only evaluation. The new data excludes point-of-sale orders, about 20 percent of volume, which changes the series being forecast. And the metric changed from MAPE, where every day counts equally, to wMAPE, where each week counts by its volume. One change to the data moved the other way. Adding the mobile app and subscription order streams to the e-commerce series improved every model by 1 to 2 points, because those orders recur on a schedule.
32 percent is the error on any given week of a forecast made up to four weeks ahead, and it is about 11 points better than seasonal naive, repeating the same weekday from last week, which is the baseline any model has to beat. The monthly projection in the last section turns it into a narrower range by forecasting only the days that haven't happened yet.
A dummy model that must fail
The fold assertions catch leaks they were written for. A leak nobody anticipated, such as a feature built from the full series or a merge that pulls test rows into training, passes them. The memorizing dummy is a model built to exploit any such leak. At construction it gets a lookup table of every (date, category, orders) row in the full dataset. At forecast time it checks each date it is asked about. If that date is in the training frame it was handed, it returns the true value. If not, it returns the same weekday from one to seven weeks back in training.
Run through a correct backtester, the lookup branch never fires on a test date, and the dummy is a weak seasonal-naive model. Run through a leaking one, it returns the actual values and its test error drops to almost zero. The check runs the dummy through three 7-day folds, 90 days apart with a year of training each, and asserts that every fold's test wMAPE is above 15 percent, with the training wMAPE under 5 percent. A faithful reduction (not the project's code):
cheat = make_memorizing_model(full_panel) # sees every real value, test dates includedfor fold in run_backtest(panel, cheat, leak_config): err = wmape(fold.actuals, fold.predictions) assert err > 0.15, f"memorizer scored {err:.1%} on fold {fold.fold_id}: test data reached training"A second assertion runs first and checks the measuring stick. It copies the last seven days of actuals in as predictions and requires a wMAPE under 1 percent. If perfect predictions don't score near zero, the scoring path is broken and the leak test would mean nothing.
The 15 percent line has room on both sides. A fully leaked fold scores near zero. The dummy's honest fallback is close to seasonal naive, and seasonal naive scored 51.0 percent at category level in the full backtest. The leakage test passed on the March 2026 run.
Holidays are where the error lives
The backtest scores the holiday window, 26 October to 15 December, separately from the rest of the year. On total orders, holiday wMAPE ranged from 39.9 percent for AutoARIMA to 112.7 for seasonal naive. Non-holiday wMAPE ranged from 28.3 to 30.9. Seasonal naive had the lowest non-holiday error of the six and the highest holiday error, more than 2.5 times AutoARIMA's.
The uplift model was the direct attempt to fix holidays. It takes the ensemble's forecast and multiplies event days by lift ratios learned from training data. Each ratio is mean orders on that event's days over mean orders on other days, per category, for Black Friday, Cyber Monday, the summer sale and US holidays. It scored 29.4 percent on non-holiday weeks, the best of the five fitted models. On holiday weeks it scored 58.8, worse than the ensemble it was built on (48.0), and that put it fifth overall.
The lift ratios are static. A Black Friday with deep discounts and one with shallow discounts get the same multiplier. November's year-over-year gain came with heavier promotions and December's drop came with lighter discounting.
The same promotions move order value, which matters for the revenue forecast. Revenue is forecast orders times average order value, and promotion periods have their own. So revenue uses a regime-aware AOV, learned separately for normal days, Black Friday, Cyber Monday, the holiday period and the summer sale.
Each fold’s wMAPE is its summed absolute daily miss over its summed actual orders, from the ensemble the projection uses; a month’s bar is the median over its 28-day folds. The holiday window is 26 October to 15 December, so a 28-day forecast started in October runs into it. The March 2026 projection applied March’s figure, rounded to 36%, only to its 13 forecast days, which put the interval at ±16% of the month’s total.
source: demand-forecast project experiments/results/monthly_wmape.json (median wMAPE of the arima_ets_ensemble h=28 folds by start month, run_comparison.py lines 224-238, evaluation.py lines 357-395); March 2026 projection, README.md lines 181-185 · honestForecasting.data.ts
The interval comes from the backtest
The deliverable is a monthly projection. Partway through a month it adds the orders and revenue already booked to a forecast for the days that remain. The March 2026 projection ran with 18 days of actuals and 13 days of forecast. The interval around it is the backtest's own error for that calendar month: the median wMAPE of the 28-day folds that started in March, which was 36 percent.
That error is applied only to the forecast part. The booked days are known, so the low end is actuals plus the forecast remainder times 0.64, and the high end is actuals plus the remainder times 1.36. The forecast remainder was 44 percent of projected March revenue, and 36 percent of 44 percent is about 16 percent of the total, which is the width the projection reported. On the first of the month the interval is the full 36 percent.
The interval comes from measured error instead of a model's own prediction interval. A model's interval assumes the model is right about the series. The backtest error is what the forecasts actually missed by, in that month, across four years of folds. It also changes by month: October's figure is 74.7 percent, because October forecasts run into the holiday window, and February's is 16.1.
The single split was 24.58 percent on one seven-month window with every day weighted the same. The walk-forward number is 32.2 percent over 164 folds with every week weighted by its orders, a dummy model that has to fail before the run counts, and a per-month error that becomes the projection's interval. That second setup is the one to build first in any forecasting project: the memorizing dummy is one model function and one assertion loop, and it runs before any real model is scored.