StockoutZero AIResearch prototype · Browser demoSource repository
Inventory intelligence

Sales are not always demand.

Estimate latent customer demand when limited stock hides potential sales. This interactive demo runs the original Phase 2B Python/SciPy forecasting engine in your browser; it does not place orders or call a hosted FastAPI service.

01 / Inventory observations

Enter a JSON array of daily observations. Use null for unknown availability. A day with zero available stock does not identify demand.

Loading Python and SciPy (first visit may take a moment)…

02 / Decision result

Choose a sample and run the model.

Estimated daily demand—Units per day
Recommended reorder—Units, rounded to whole cases
Daily demand P10–P90—Predictive quantiles
90% mean interval—Profile-likelihood parameter uncertainty
Usable observations—
Stockout-censored observations—
Naive usable sales mean—Descriptive comparator only
Daily median P50—

The stationary Poisson assumption is a research baseline. All-censored histories cannot identify a finite demand mean; the engine abstains. Reorder quantities are decision support, not purchase instructions. Sample observations are fictitious.

03 / Research method

Observed sales are the minimum of latent demand and available stock. Non-stockout days contribute a Poisson probability mass; positive-stock sell-outs contribute a Poisson survival probability. The model maximizes the combined censored likelihood and reports separate predictive quantiles and parameter uncertainty.

The browser demo exposes the merged Phase 2B model only. Hierarchical demand, uncertain inventory and audit-policy experiments remain separate research work. No merchant pilot or production accuracy is claimed.

Forecast source · Research closeout · Phase 3 research PR