OtherIdeaEN
Small shop inventory forecast
Demo idea: weekly reorder suggestions for a fictional neighbourhood shop.
Esempi BestIAPublished on 24 November 2026
- Maturity
- Idea
- Category
- Other
- Entry language
- English
- Published
- 24 November 2026
01The problem
The owner of a made-up shop reorders by gut feeling, running out of best sellers and overstocking slow items.
02The solution
A spreadsheet add-on reads past sales and suggests weekly quantities, explaining each suggestion in plain words.
03Role of AI
For ideas this describes the intended use.
Intended use: a classic forecasting model computes quantities; a language model only writes the plain-language explanation.
04Technical architecture
README.md
ShelfCast — small shop inventory forecast
Demo idea for a fictional shop.
Overview
A spreadsheet add-on that suggests weekly reorder quantities. A classic forecast computes the numbers; the language model only writes a plain-language explanation for each suggestion.
Architecture
[Sales sheet] --> [Apps Script add-on]
|
v
[Forecast: weekly seasonal moving average]
| safety stock = z * sigma * sqrt(lead time)
v
[Reorder qty = forecast + safety - on hand]
|
v
[LLM API] --> one-sentence explanation per product
|
v
[New tab "Suggestions"] --> owner accepts or editsStack
| Part | Technology |
|---|---|
| Runtime | Google Sheets, Apps Script |
| Forecast | moving average with weekly seasonality |
| AI | intended: LLM via API (explanations only) |
Formula
forecast_w = mean(sales[w-1..w-4]) * season_index[weekday mix]
safety = 1.65 * stdev(sales[w-1..w-8]) * sqrt(lead_time_weeks)
reorder = max(0, forecast_w + safety - on_hand)Data handling
- Sales stay inside the spreadsheet; only product names (anonymised codes optional) and the computed numbers are sent for explanations.
- Script quotas respected with batched requests (20 products per call).
Roadmap
- Promotions calendar as a forecast feature.
- Supplier lead times per product.
- Weekly email summary to the owner.
05Results and lessons
Goals (not verified yet)Goal: fewer stock-outs on the top 20 products.