feat(backend): demo seed — veteran Andrey (day 0..13) and 7 cabinet patients
CI / ruff · pytest (pull_request) Successful in 1m44s
CI / ruff · pytest (pull_request) Successful in 1m44s
- scripts/seed_demo.py: doctor doc-smirnova (on call), Andrey day 0 (connect code, no consent) or day N with history; 7 patients with seeded-random histories. Alerts and colours come from the real rules evaluated day by day. - --reset drops/recreates both DBs and zeroes the demo clock; seed keeps the persisted clock offset so dates match the running app. - data/synthetic/andrey.jsonl: console scenario for days 0..13 generated from config button labels (--write-scenario). - tests: idempotency, modes, colours, scenario format/sync and a full replay of the scenario through the real engine, scheduler and monitoring. Refs #18 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in: