Fix smart shopping: skip one-time purchases, better frequency for short history

- Products bought only once (buy_count=1) and out of stock are skipped entirely
  (not enough history to predict repurchase need, e.g. piadelle)
- usesPerMonth for items tracked 7-30 days now normalized instead of using raw count
- usesPerMonth for items tracked <7 days halved to avoid inflation
- Critical urgency now requires buy_count >= 2
This commit is contained in:
dadaloop82
2026-03-29 19:58:43 +00:00
parent 4b3e5f2ce4
commit b954be4cac
2 changed files with 9 additions and 3 deletions
BIN
View File
Binary file not shown.