feat(performance): tune simulator and link to engine UI
blueeye-3184
f001f4d
Made-with: Cursor
feat(performance): link simulator metrics to selected engine
blueeye-3184
53bcb77
Made-with: Cursor
feat(inventory): use precomputed dashboard safety stock values
blueeye-3184
2ea0a9e
- Detect when Inventory, Safety_Stock and Status are already present (dashboard_sales_data.sql)
- Preserve precomputed Inventory/Safety_Stock/Status instead of re-simulating them
- Normalize types and backfill Frozen_Money from price, quantity and Inventory when needed
- Fall back to existing simulation pipeline for legacy 01.data SQL/CSV sources
Made-with: Cursor
chore(dashboard): align sales_data with CSV schema, drop Stock_quantity
blueeye-3184
2049b8c
- Replace store_stock_quantity/inventory/frozen_money/safety_stock/status in dashboard_sales_data.sql with values from data_02_inventory_final.csv (Safety_Stock, Inventory, Status, Frozen_Money)
- Rename columns to PascalCase: Inventory, Frozen_Money, Safety_Stock, Status; remove Stock_quantity column
- Add load_sales_data compatibility: map PascalCase to snake_case aliases and use Inventory for store_stock_quantity when present
- Add patch_inventory_from_csv.py and patch_inventory_one_hundredth.py for reproducible SQL updates
Made-with: Cursor
refactor: move safety-stock logic to Inventory Optimization module and add tests
blueeye-3184
bdf918d
- Remove inline inventory/safety-stock logic from main.py (~460 lines)
- Load all safety-stock functions from model-server/05.Inventory Optimization/
- main.py only routes and calls module functions (README role separation)
- Add backend pytest suite (73 tests, 52% coverage, 45% threshold)
- Add frontend Jest tests for lib/country.ts and coverage thresholds
- Add TDD.md, pytest.ini, jest.config.mjs; ignore coverage artifacts in .gitignore
Made-with: Cursor
chore: add prediction model smoke test entrypoint
blueeye-3184+1: Cursor
95856e5
Co-authored-by: Cursor <cursoragent@cursor.com>
fix: compute risky items order quantity from Danger status only
blueeye-3184+1: Cursor
54ea92a
Co-authored-by: Cursor <cursoragent@cursor.com>
feat: add risky items top 5 card below overstock status (API + table UI)
blueeye-3184+1: Cursor
058a945
Co-authored-by: Cursor <cursoragent@cursor.com>
fix: adjust overstock multiplier range to 300??50% and update changelog