Skip to content

feat: Phase G G6 — calibration-overfit warning for small cohorts - #771

Merged
cschanhniem merged 1 commit into
mainfrom
loop84-phase-g6
Jul 9, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
loop84-phase-g6

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Adds check_cohort_overfit_risk() and run_overfit_check() to flag when a calibration cohort is too small relative to model parameters. Warns at three severity levels (critical/warning/caution/none). CLI subcommand calibration-overfit-check. JSON + Markdown output. Schema (schemas/calibration_overfit_check.schema.json). make calibration-overfit-check target. 21 tests. 2995 total tests. Prevents false learning from under-powered cohorts.

@cschanhniem
cschanhniem merged commit 4c9106d into main Jul 9, 2026
0 of 2 checks passed
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