Skip to content

feat: Phase X X4 recalibration confidence certificate schema (RCC-) - #1011

Merged
cschanhniem merged 1 commit into
mainfrom
feat/x4-recalibration-confidence-certificate
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/x4-recalibration-confidence-certificate

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • Adds RCC- recalibration confidence certificate schema
  • Machine-checkable A/B/C/D grade for calibration weight reliability based on cohort size and cross-batch consistency
  • Grade A (≥4 batches + consistent), B (≥2 batches + consistent/moderately_consistent), D (insufficient_data when <2 batches or inconsistent)
  • VALID_RCC_GRADES (4), VALID_RCC_VERDICTS (4), VALID_CONSISTENCY_RATINGS (4); BatchCohortEntry helper; cit_id/lpr_id prefix-validated; dry_lab_only=True
  • 76 tests; BASELINE updated 10367→10443

Test plan

  • 76 tests passed
  • BASELINE updated to 10443
  • NEXT_100_PR_MAP.md marks X4 complete

…- machine-checkable A/B/C/D grade for calibration weight reliability based on cohort size and cross-batch consistency (#852)

VALID_RCC_GRADES (A-D), VALID_RCC_VERDICTS (4: high_confidence/moderate_confidence/low_confidence/insufficient_data),
VALID_CONSISTENCY_RATINGS (4: consistent/moderately_consistent/inconsistent/unknown).
BatchCohortEntry helper; grade A (>=4 batches consistent), B (>=2 batches consistent/moderately_consistent),
D (insufficient_data when <2 batches or inconsistent).
cit_id and lpr_id prefix-validated; dry_lab_only=True enforced; 76 tests.
BASELINE updated 10367->10443.
@cschanhniem
cschanhniem merged commit fa18d22 into main Jul 10, 2026
1 check failed
@cschanhniem
cschanhniem deleted the feat/x4-recalibration-confidence-certificate branch July 10, 2026 09:00
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