← APEX case study · Live demo

APEX Forecast — walk-forward backtest

Data: Northwind Design Co. demo books, frozen at 2026-06-30 (apex/test/fixtures) — synthetic demo data, not a real business
Forecast dates: 26 (every Monday, 2025-10-06 to 2026-03-30), each scored over 13 weeks = 338 predictions per model
Versions: model apex-d-1.0.0, inputs apex-pit-1.0.0, harness apex-bt-1.0.0, data fingerprint 372c275de873c19b, code fingerprint f76c0258569a2e06
Reproduce: cd ledgerly && TZ=UTC node apex/test/run-backtest.mjs

Headline

ModelAverage miss (closing cash, weeks 1–13)Bias (+ = too high)Predictions
APEX deterministic$7,259$1,648338
Cash stays flat$9,492−$5,392338
Recent trend continues$9,972−$1,237338
Same weeks last yearnot enough history—0
APEX ranges, middle (P50)$5,546$214338

By weeks ahead

WeekAPEXFlatTrendAPEX vs flat
1$7,213$7,560$7,8675% better
2$7,878$7,549$7,6364% worse
3$7,292$8,855$9,61418% better
4$5,672$8,074$8,37530% better
5$6,742$9,226$10,77327% better
6$5,968$8,312$8,63828% better
7$6,876$10,914$11,43637% better
8$5,764$10,577$10,24646% better
9$6,488$11,109$11,78542% better
10$7,325$10,596$10,62831% better
11$8,249$10,375$11,48020% better
12$8,847$9,527$10,0157% better
13$10,051$10,715$11,1476% better

Volatile weeks vs calm weeks

"Volatile" = the quarter of weeks with the biggest actual cash swing (≥ $11,540 in a week).

WeeksnAPEXFlatTrend
Volatile89$7,416$11,754$10,205
Calm249$7,203$8,683$9,889

Stability

Forecast datesAPEXFlat
Before 2026-01-05$7,226$9,945
From 2026-01-05$7,292$9,038

Low-cash warnings

Threshold: $126,744 — the lowest quarter of actual week-end cash in the test window (no minimum was set in the books).

Ranges (probabilistic model apex-p-1.0.0, 400 simulations per forecast)

An honest 80% range (P10–P90) should contain actual cash about 80% of the time; an honest 50% range (P25–P75) about 50%.

RangeShould containActually contained
P10–P9080%92% (actual below P10: 4%, above P90: 4%)
P25–P7550%64%

Middle (P50) average miss $5,546 (deterministic $7,259). Average pinball loss (P10/P50/P90) $1,858.

WeekInside P10–P90Average range width
165%$12,836
285%$16,598
385%$18,188
488%$20,245
596%$22,770
696%$25,107
796%$27,655
896%$28,800
992%$29,913
10100%$30,274
11100%$31,244
1296%$31,439
1396%$31,995

Method

Limitations

Per forecast date

DateAPEXFlatTrend
2025-10-06$9,455$13,882$9,057
2025-10-13$11,052$12,711$8,470
2025-10-20$6,072$15,222$15,208
2025-10-27$18,845$6,275$5,864
2025-11-03$4,458$9,571$8,620
2025-11-10$6,152$15,602$18,060
2025-11-17$4,415$19,428$20,358
2025-11-24$5,608$6,119$5,280
2025-12-01$5,112$4,397$4,753
2025-12-08$7,246$8,153$15,206
2025-12-15$5,226$4,980$4,235
2025-12-22$4,991$7,435$15,636
2025-12-29$5,300$5,508$6,151
2026-01-05$10,882$8,345$4,930
2026-01-12$5,857$6,701$7,886
2026-01-19$5,037$8,754$5,671
2026-01-26$6,044$10,867$10,462
2026-02-02$6,260$6,941$7,569
2026-02-09$11,084$15,381$10,828
2026-02-16$8,051$9,072$6,832
2026-02-23$6,911$9,481$7,374
2026-03-02$6,491$5,949$10,831
2026-03-09$6,393$5,581$5,858
2026-03-16$8,528$6,765$6,085
2026-03-23$7,228$9,676$13,344
2026-03-30$6,030$13,986$24,709