THE SERIES

A · The Pages of the Series

Read them in order or go straight to your problem. Each page names the framework stages it teaches and closes each result with its data, model, validation, uncertainty, decision and measure.

00All eight stages, as an overview

Framework (this page)

The eight stages, the lifecycle of each, and an illustrative ROI model with a P10 to P90 band.

01Stages 01 Theory, 05 Model Simulation

BOM stock

Why beginning-of-month stock runs well above the next month of forecast sales: presentation minimums, size runs, lead time and safety stock.

02Stages 03 Data Science, 05 Model Simulation, 08 Optimization

Forecasting and in-stock

Forecasts from department down to colour and size, how they are backtested, and the safety stock and in-stock they lead to.

03Stages 01 Theory, 05 Model Simulation, 08 Optimization

Assortment and GMROI

Breadth and depth of the assortment, margin and markdowns, and how the mix moves GMROI.

05Stages 03 Data Science, 04 Insights

Sales audit and loss prevention

Tender and card matching, exception flags by store and cashier, and how to tell a real signal from noise.

06Stages 02 Data Platform

Data platform

The tables every model stands on: fact tables and their grain, reconciliations as data quality tests, and why sales are not demand when the shelf was empty.

07Stages 05 Model Simulation, 06 Advanced Apps

Advanced apps: distribution and PO

How a decision engine turns forecasts and minimums into DC to store picks and store POs, and the chance of a stockout in the next 7 days.

08Stages 07 Automation, 08 Optimization

Automation

When a decision can run unattended: guardrails on each run, drift monitoring, safe rollouts and the audit trail.

Page0102030405060708

Every stage is taught on at least one series page.

CLOSED-LOOP DECISION ARCHITECTURE

B · End-to-End Closed-Loop Workflow Chart

Click any stage node (01 to 08) in the diagram and trace a retail use case to inspect inputs, mathematical engines, Cybex technology stack, and governance gates.

TRACE RETAIL USE CASE
ROW 1 · FOUNDATION & INTELLIGENCE ROW 2 · DECISION, EXECUTION & OPTIMIZATION HUMAN-IN-THE-LOOP GATE Closed-Loop Telemetry, FVA Drift & Parameter Recalibration (08 → 01, 02, 03) 01 · THEORY Retail Operations Science GMROI, OTB, FWOS & SPC Financial & Math Axioms 02 · DATA PLATFORM Unified Enterprise DW SQL Server · Postgres · SQLite Customer-Owned Data 03 · DATA SCIENCE Forecast, Elasticity & SPC Middle-Out Forecast · ETS · SBA Python · T-SQL · Elasticity 04 · INSIGHTS Executive BI & Attribution Heatmaps, WMAPE & Comp Exception Triage Signals 05 · MODEL SIMULATION Deterministic Replay What-If & Shock Stress Tests Simulate Before Commit 06 · ADVANCED APPS Purpose-Built Workbenches C#/.NET · DevExpress · WebView2 Native Desktop & SmartPOS 07 · AUTOMATION Exception-Driven Execution PO, Rebalance & AP Proposals Released by People 08 · OPTIMIZATION Closed-Loop Calibration Frontier Choice & Refit Weekly Recalibration
STAGE 01 · FOUNDATION

01 · Theory: Retail Operations Science & Financial Mathematics

Trace: Full Framework Overview
Stage Purpose & Inputs

Core Engine / Mathematical Method

Cybex Technology Stack

Output Artifacts & Governance Gate

ILLUSTRATIVE PLANNING ASSUMPTIONS

C · Planning Assumptions and Targets

The first three cards are the assumptions that drive the ROI model in section I, each a triangular distribution (low, most likely, high) shown as its P10 to P90. The last two are targets. All five are planning assumptions for illustration, not measured results or figures from a study.

Gross Margin Lift, P10 to P90
+134 to +201 bps
Most likely +175 bps, the total of the stage waterfall in section F.
Inventory Reduction, P10 to P90
19% to 27%
Most likely 24%; the safety stock model in section G gives 23.9% at baseline.
Shrink & Leakage Recovered, P10 to P90
20% to 33%
Most likely 28% of the shrink and audit leakage is recovered.
Forecast Error Drop (target)
25% to 30%
Illustrative target: WMAPE against the current method in a rolling-origin backtest, as taught on the forecasting page.
Merchant Time Reclaimed (target)
40%
Illustrative target, not measured: exception-first apps replace manual spreadsheet reconciliation.
END-TO-END ARCHITECTURAL DISCIPLINES

D · The Eight Stages of the Cybex Framework

Each stage builds on the one before it, turning retail mathematics into store and supply chain decisions that people approve and the system learns from. Each card links to the series pages that teach the stage.

DATA SCIENCE LIFECYCLE BY STAGE

E · Stage Lifecycle: Data, Model, Validation, Uncertainty, Decision, KPI

One row per stage. The series pages fill in the same six steps for their own problem, in the panel under each result.

StageDataModelValidationUncertaintyDecisionKPI
VALUE ATTRIBUTION (ILLUSTRATIVE)

F · Margin Lift by Stage

An assumed split of the full-depth margin lift across the eight stages. The ROI model in section I uses the same numbers: its most likely margin lift is this total, and its adoption depths use the 01 to 04, 05 to 06 and 07 to 08 shares. The figures are illustrative.

Total Margin Lift
+175 bps
Sum of the eight stage steps (the ROI's most likely value)
Share in Stages 01 to 04
36%
Of the margin lift, from data and insights
Share in Stages 05 to 08
64%
From simulation, apps, automation and optimization
Ready to Release (illustrative)
82% to 94%
Routine items within tolerance, Cybex bars in the second tab

Data science: margin lift by stage

Data
None yet: the split is an assumption. After go-live it is measured from margin rate by store, class and month before and after each stage is switched on.
Model
Additive waterfall: cumulative lift = sum of the stage steps. The group shares set the ROI's adoption depths.
Validation
Staged roll-out with holdout stores: difference in differences on margin rate by store and month.
Uncertainty
The total is varied P10 to P90 in sections C and I; the split between stages is not varied.
Decision
Which stages to adopt first (the depth slider in section I).
Measure
Margin rate against the holdout stores, each quarter, on the BI insight pages.
STRESS TEST OF A SAFETY STOCK MODEL

G · Model Simulation: Working Capital vs. In-Stock

Four ways of running the same retailer, from static rules to the full closed loop, under four shocks. Every point comes from the base-stock and safety stock model in the panel below; the inputs in the table are illustrative assumptions.

Regime (illustrative inputs)Forecast error cvService factor zAged and surplus stock (weeks)Re-plans for a shock

Fixed for all regimes: lead time 6 weeks (sd 0.8), weekly review, presentation minimums 12 weeks of demand, 50% of stockout demand lost. Calibrated to the ROI default retailer: $75M sales, 58% margin and $18M inventory at cost under static rules.

Data science: working capital vs. in-stock

Data
In practice: weekly demand and on-hand by store × SKU, receipts against PO dates (lead time and its spread), and forecast errors by week. Here: the assumed inputs in the table.
Model
Base-stock with weekly review R and lead time L: SS = z × μ × √((L + R)·cv² + σL²). A shock the regime does not re-plan for leaves a shortfall that eats safety stock; in-stock = Φ((SS − shortfall) / σ). Inventory = presentation minimums + aged stock + μR/2 + max(0, SS − shortfall). Lost margin = demand × 50% × (1 − in-stock) × GM%.
Validation
Replay last season with the current rules (the distribution and PO simulators do this read-only) and check modelled in-stock and inventory against actuals before trusting any delta.
Uncertainty
Shocks are scenarios, not probabilities. cv itself comes from the backtest errors of stage 03, so a wider forecast band moves every point to the right.
Decision
Choose the service factor and the minimums per store grade, and which stages to adopt to move the curve.
Measure
Core-size in-stock and weeks of supply after release, against the simulated point.
CYBEX APPLICATIONS

H · Cybex Retail Apps by Domain

Filter purpose-built desktop, web, and SmartPOS applications that operationalize the eight framework stages across merchandising, supply chain, store ops, and finance.

INTERACTIVE FINANCIAL & OWNERSHIP MODEL

I · Live Framework ROI, Working Capital & TCO Simulator

An illustrative model of annual EBITDA lift, working capital release, shrink recovery, and 5-year cost of a Cybex platform on the retailer's own infrastructure vs. multi-tenant SaaS. Every rate in it is an assumption, not a measured result.

RETAIL PROFILE PRESETS
Annual EBITDA Lift
$1.98M
GM + shrink + 5-yr avg cost saving
Gross Margin Expansion
+175 bps
58.0% → 59.8%
Working Capital Released
$4.32M
Inventory cash freed
Projected GMROI
3.28×
vs 2.42× baseline
Shrink & AP Recovery
$357K/yr
Preventable leakage
Merchant Time Reclaimed
3,835 hrs
Per year, illustrative: scales with sales
5-Yr TCO Savings vs SaaS
$1.58M
Incl. build, migration, support
Estimated Payback
16 mos
From project start

P10 to P90 band over the three main assumptions (2,000 seeded draws)

EBITDA Lift
$1.65M to $2.18M
Margin Expansion
+134 to +201 bps
Working Capital
$3.36M to $4.86M
Payback
16 mos
Value Capture Breakdown Across the 8 Stages ($K / yr) Total: $1,985K / yr
5-Year Cumulative Cost: Cybex Platform vs. Multi-Tenant SaaS 5-Yr Net Savings: $1.58M

Cybex line: build, migration and support. Net savings are after the SaaS bill paid during the 10-month build ($396K).

Most likely values at full depth: margin +175 bps (the waterfall total in section F), inventory -24%, 28% of shrink and audit leakage recovered; depths 1 and 2 reach 36% and 68% of that (the waterfall shares). The band draws each assumption from a triangular distribution (low, most likely, high: margin 105, 175, 225 bps; inventory 15%, 24%, 30%; recovery 15%, 28%, 38%), independently and with a fixed seed so it is repeatable. The margin and working capital bands are exact quantiles; EBITDA and payback are sampled. If the assumptions move together, the true band is wider. Build cost grows with revenue and depth, plus 25% for data migration, parallel running and training; support is 18% of the build a year. The SaaS bill keeps running until go-live (4, 7 or 10 months by depth) and rises 4% a year; benefits ramp up over the 12 months after go-live.

Data science: ROI and its band

Data
The slider inputs: sales, inventory at cost, margin, shrink and the SaaS bill. In a real case these come from the data warehouse: sales and margin by month, inventory at cost, shrink from stock counts.
Model
Annual value = sales × margin bps + sales × shrink × recovery, times the depth share; monthly cash flow over 10 years with build, migration, support and SaaS; payback = first month the cumulative net is at or above zero.
Validation
None is possible in advance. After go-live each line is compared with measured margin, inventory and shrink against holdout stores or the prior year.
Uncertainty
Monte Carlo P10 to P90 over the three main assumptions (triangular, independent, fixed seed). Costs are held at their stated values.
Decision
Whether to proceed, and to what depth.
Measure
Realised margin bps, inventory at cost and shrink rate each quarter, against the P10 to P90 band.
ENTERPRISE SYSTEMS & GOVERNANCE BLUEPRINT

J · Customer-Owned Enterprise Architecture & Governance

Four-layer architecture keeping operational data, the data warehouse, and statistical models inside the retailer's own cloud or on-premise boundary. The retailer owns its system and data; Cybex builds and maintains the applications.

LAYER 1 · OMNICHANNEL EDGE & OPERATIONAL SOURCES POS / Android SmartPOS Shopify / Magento eCom WMS / DC Inventory Vendor EDI / AP Docs Door Traffic Counters LAYER 2 · CUSTOMER-OWNED DATA PLATFORM & SCIENCE CORE SQL Server / Azure SQL / PostgreSQL Ledger Data Warehouse: Fact Tables & DW Views T-SQL / Python Statistical Engine LAYER 3 · DECISION INTELLIGENCE, SIMULATION & ADVANCED APPS C# / .NET + DevExpress + WebView2 Host Distribution & Assortment Simulators Interactive BI, Audit & Traffic Workbenches LAYER 4 · AUTOMATION, GOVERNANCE & CLOSED-LOOP OPTIMIZATION Exception-Driven PO & Rebalance Proposals Human-in-the-Loop Approval Thresholds Continuous FVA & Parameter Calibration Customer-Owned Data & Infrastructure · No Per-Seat SaaS Fees · Full Auditability

Your Data, Your Infrastructure

Transactional ledgers and the data warehouse live inside your own infrastructure, with no multi-tenant lock-in and no per-seat fees.

Simulate Before You Commit Capital

Allocations, OTB and stock level shifts, and markdown schedules can be replayed in a simulator before a purchase order or price change reaches production.

Exception-First Automation, Human Judgment

Routine in-tolerance work arrives ready to release in one step, freeing planners, auditors, and store leaders for the high-impact >2.5σ exceptions.

Closed-Loop Calibration Every Week

Actual POS sell-through, vendor OTIF, and confirmed audit outcomes feed back each week into the Layer 2 models, and a tracking signal shows when a forecast drifts.