Integrate CaMa follow-up, descriptive analysis and L3 with dev

Preserve dev risk batches and governance, individual patient selection, optional access and explicit cohort reader overrides. Register one CaMa implementation and retain legacy Python blueprint consumers. Validated with 681 WebApi tests on the integrated parent and submodules.
This commit is contained in:
Angel Capetillo Zavala
2026-11-17 10:44:07 -06:00
parent 0571b5e6af
commit b1bbbc25b4
27 changed files with 2729 additions and 12 deletions
+12
View File
@@ -0,0 +1,12 @@
"""CaMa's descriptive analysis (`/cama/analisis`): counts and proportions of the BI-RADS cohort, never survival or risk.
stats.py Wilson intervals, the chi-square test of homogeneity, quantiles
suppression.py the rule for small groups, with the complementary suppression that keeps a difference from giving them away
calculations.py the cohort's figures, pure functions over its rows
service.py the selection, the calculation and the common header of every answer
routes.py the routes
"""
# Compatibility for callers that explicitly mount the previous blueprints.
# create_app registers only the L1-L3 routes.
from webapi.cama_analysis_legacy import analysis, revision_of, SelectionError, selection_response