Skip to content

feat(seed): rich two-week demo dataset for the demo video - #33

Merged
Harsha-code-per merged 1 commit into
mainfrom
feat/demo-seed
Sep 26, 2026
Merged

Harsha-code-per merged 1 commit into
mainfrom
feat/demo-seed

Conversation

@Harsha-code-per

Copy link
Copy Markdown
Owner

python -m app.seed_demo --yes → realistic business: 4 users, 3 warehouses / 9 locations, 20 products, ~130 validated operations over 14 days via the real engine, low & out-of-stock items, board with ready/waiting/draft work (incl. a staff count awaiting a manager), and a scripted high-risk Count next item (Office Chair: 2 past discrepancies + 23 movements → HIGH). Steel Rod untouched at 0 kg for the live demo story.

History timestamps are re-dated across 14 days (timestamps only; quantities/balances are what the engine produced). The append-only trigger is disabled only for that UPDATE inside the seeding transaction and re-enabled before commit — the test asserts integrity OK and trigger enabled. Backend 76 tests pass.

python -m app.seed_demo --yes wipes and loads 4 users, 3 warehouses /
9 locations, 20 products, ~130 validated operations through the real
engine (receipts, deliveries, transfers, cycle counts with
discrepancies), low/out-of-stock items, open ready/waiting/draft work,
and a scripted high-risk 'Count next' item. Steel Rod stays at 0 for
the live story. History is re-dated across 14 days (timestamps only;
append-only trigger re-enabled in the same transaction). Tested.
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stocksense Ready Ready Preview Sep 26, 2026 11:55am UTC

@Harsha-code-per
Harsha-code-per merged commit ed75319 into main Sep 26, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — e41a7fea Deployed Sep 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant