Signal/python-backend/core
Kisa bd92126384 feat: patient rollup + nested patients payload (plan 02, P3)
core/rollup.py implements the locked truth table: worst gradeable line wins;
a Plan Type Needed line caps the patient at Action Needed; non-gradeable
lines are displayed but never touch the light; no-graded-lines patients carry
None (no label invented). /api/upload gains additive patients[] (one entry
per patient, nested device lines with doc checklists, citations, timing
flags, dedup display fields) and patient_stats (counts patients, not rows).
Flat records payload untouched until P6. Independent audit: SHIP; its LOW
findings fixed (date coercion on timing keys, empty-rollup guard, severity
divergence documented). 151 tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 05:20:45 -04:00
..
__init__.py feat: FastAPI backend + full deployment stack (Railway + Vercel) 2026-05-18 19:01:35 -04:00
audit_logger.py fix(audit): add Supabase client support to audit logger, format cleanup, update cascade test 2026-06-21 16:16:34 -04:00
coverage_calculator.py feat: citation rule IDs on every documentation requirement (plan 02, P2) 2026-07-07 05:10:52 -04:00
dedup.py Add readiness-model dedup + coverage-line grouping foundation 2026-06-27 00:22:01 -04:00
doc_state_machine.py add pitch assets, fix UI and backend bugs, add test utilities 2026-06-19 12:52:29 -04:00
persistence.py feat: doc status persistence, empty state, status legend, and Clear to Ship guard 2026-06-14 05:09:06 -04:00
readiness.py feat: citation rule IDs on every documentation requirement (plan 02, P2) 2026-07-07 05:10:52 -04:00
rollup.py feat: patient rollup + nested patients payload (plan 02, P3) 2026-07-07 05:20:45 -04:00
rules.py feat: citation rule IDs on every documentation requirement (plan 02, P2) 2026-07-07 05:10:52 -04:00
supabase_client.py add phase 2 supabase persistence layer 2026-05-29 06:50:34 -04:00
worklist_readiness.py feat: patient rollup + nested patients payload (plan 02, P3) 2026-07-07 05:20:45 -04:00