Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
144d76e
feat(cal): cross-target denominator audit
jeliason Jul 31, 2026
437c359
feat(cal): cohort and readout registries; retire population_spread
jeliason Jul 31, 2026
9c0aa9d
feat(cal): reported distributions as a flat list of statistics
jeliason Jul 31, 2026
6625b99
feat: measurement attributes on Observable, drop the readout registry
jeliason Aug 1, 2026
2685861
feat(cal): flag cohorts whose rows are deterministic functions of eac…
jeliason Aug 1, 2026
0524187
docs(cal): bring the extraction prompts onto the current schema
jeliason Aug 1, 2026
7800752
feat(cal): Readout object; row identity from the declaration, not the…
jeliason Aug 1, 2026
4363c70
docs(cal): re-sync the calibration prompt to the nested readout
jeliason Aug 1, 2026
43ede34
feat(cal): the cohort owns n; literature targets drop sample_size
jeliason Aug 1, 2026
92ccba7
feat(cal): a readout describes an assay, so only literature targets h…
jeliason Aug 1, 2026
cbbf643
fix(cal): a reported uncertainty is a row, not an error bar
jeliason Aug 1, 2026
97985a1
revert(cal): drop the aggregate alias map
jeliason Aug 1, 2026
8285b16
feat(cal): a min/max pair is a reported width
jeliason Aug 1, 2026
2e6b130
feat(cal): a standard error is a population width per sqrt(n)
jeliason Aug 1, 2026
350706b
docs(cal): the two block relations need opposite draws
jeliason Aug 2, 2026
947b6af
feat(cal): blocks count out who cohorts share
jeliason Aug 2, 2026
508978f
feat: record which quantile estimator a source used
jeliason Aug 3, 2026
ec423cc
style: format the new calibration tests with the pinned black
jeliason Aug 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions src/maple/core/calibration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@

# Enums
from maple.core.calibration.enums import (
AssayModality,
Compartment,
QuantityKind,
REQUIRES_REFERENCE,
ExtractionMethod,
Indication,
IndicationMatch,
Expand Down Expand Up @@ -66,6 +69,11 @@
SupportType,
)

from maple.core.calibration.readout import (
Readout,
ReadoutReference,
)

# Experimental context
from maple.core.calibration.experimental_context import (
ExperimentalContext,
Expand All @@ -88,6 +96,31 @@
SourceRelevanceAssessment,
SubmodelInput,
UncertaintyType,
DistributionShape,
ExperimentalUnitType,
ObservedDistribution,
POPULATION_SPREAD_SOURCES,
ReportedStatistic,
QuantileConvention,
SpreadSource,
StatKind,
)

# Cohort registry
from maple.core.calibration.cohort import (
Cohort,
CohortRegistry,
EligibilityInterval,
load_cohorts,
)
from maple.core.calibration.registry_audit import (
RegistryProblem,
check_registries,
covariance_blocks,
find_registry_problems,
resolve_n,
warn_merged_blocks,
warn_unused_cohorts,
)

# Validators
Expand Down Expand Up @@ -184,6 +217,30 @@
"SourceType",
"ExtractionMethod",
"enum_field_description",
"AssayModality",
"QuantityKind",
"REQUIRES_REFERENCE",
# Reported distribution
"DistributionShape",
"ExperimentalUnitType",
"ObservedDistribution",
"POPULATION_SPREAD_SOURCES",
"ReportedStatistic",
"QuantileConvention",
"SpreadSource",
"StatKind",
# Cohort registry
"Cohort",
"CohortRegistry",
"EligibilityInterval",
"load_cohorts",
"RegistryProblem",
"check_registries",
"covariance_blocks",
"find_registry_problems",
"resolve_n",
"warn_merged_blocks",
"warn_unused_cohorts",
# Scenario
"Intervention",
"Scenario",
Expand All @@ -193,6 +250,8 @@
"ConstantSourceType",
"PopulationAggregation",
"Observable",
"Readout",
"ReadoutReference",
"ObservableConstant",
"SupportType",
"Submodel",
Expand Down
350 changes: 166 additions & 184 deletions src/maple/core/calibration/calibration_target_models.py

Large diffs are not rendered by default.

Loading
Loading