Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.22 KB

File metadata and controls

22 lines (17 loc) · 1.22 KB

Seed data: demo-en (default) and demo-zh

Milestone: M2 · Labels: pm:queue · Blocked-by: 03

Scope

src/data/demo-en/, src/data/demo-zh/, src/data/index.ts selecting by OS_SEED_LOCALE (default en), pnpm demo / pnpm demo:zh scripts as Duly does.

Spec — DESIGN.md §10

One fictional company, six months of history, the counts in the §10 table, the status spread for clm_contract, 10 contracts expiring within 30 days, obligations and payment plans due in the next 30 days and some overdue. externalId prefixed clm:. Users are not seeds; the README states which positions to assign after creating users. Dynamic dates relative to boot (daysFromNow) so the demo never ages. Industry-neutral schema: the company's industry shows only in names and descriptions.

Acceptance

  • pnpm demo on a clean checkout boots with every list non-empty; pnpm demo:zh is row-for-row identical.
  • The fictional company is a multi-entity group (US parent, EU and APAC subsidiaries) with contracts in USD, EUR and GBP, governing law spread across US-NY, England and Wales, and Germany.
  • No seeded value that looks computed (roll-ups are recomputed by the engine, not seeded).

Out of scope

Dashboards reading the seeds (10).