predict_stockout
Identify inventory items at risk of stockout based on current stock and recent daily demand. Provides days of stock remaining and risk levels to prioritize replenishment.
Instructions
Predict which inventory items are at risk of stockout based on current stock and recent daily demand. Returns days-of-stock-remaining per item with risk levels: critical (≤7 days), low (≤30), moderate (≤60), ok.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Max items to return (default 50) | |
| demandDays | No | Days of sales history to derive daily demand (default 90) |