Articles

Guide

How much stock is enough for next week?

At Cornerstore’s Sunday review, olive oil has 23 units on hand and average sales of 10 units a day. Seven days at that pace would take 70 units. That gap makes olive oil worth checking. How useful is the same rule across the whole shelf?

Write down the rule before counting the wins

Flag a product when units_on_hand < 7 × daily_sales. This gives the buyer a concrete comparison for a trained stockout model. Both approaches should use information available when the buyer decides whether to reorder.

The downloadable Cornerstore CSV contains eight products per weekly review. To reproduce the counts below, select the 56 rows dated August 16 through September 27, 2026, inclusive. Count a caught stockout when the rule flags a row and its stockout value is true. Count a false alarm when the rule flags a row and the value is false.

Decide what to do with incoming stock

The first rule flags 28 product-weeks. It catches 23 of the 24 stockouts and raises five false alarms. Now add the receipts expected that week to the units on hand before checking coverage. The revised rule flags 22 rows, catches 20 stockouts and raises two false alarms.

Same 56 synthetic product reviews
Counting methodFlaggedMissed stockoutsFalse alarms
On hand2815
On hand + expected receipts2242

Counting incoming stock saves six checks and misses three additional stockouts in this example. For a real shop, the choice depends partly on when the truck arrives. A delivery on Saturday can leave the shelf empty on Friday even when the weekly totals balance.

Give the model the same test

Cornerstore’s trained model uses stock on hand and recent daily sales. Its output is a probability, so a buyer can rank the products when there’s time to check only a few. To compare it fairly with a coverage rule, use the same review dates, the same stockout definition, and the same number of checks. The counts above grade the two arithmetic rules.