What to build
Centralize the shared CMS, HLL, KLL, and DDSketch accuracy formulas in asap_types, with a small interface over normalized family parameters. The control plane and data plane should retain only their source-specific parameter extraction and any backend-only augmentation, then derive the same AccuracyProfile through the shared formulas.
This removes the current duplicated policy logic while preserving the physical-plan compile, publish, install, and serving behavior.
Acceptance criteria
Blocked by
None - can start immediately
What to build
Centralize the shared CMS, HLL, KLL, and DDSketch accuracy formulas in
asap_types, with a small interface over normalized family parameters. The control plane and data plane should retain only their source-specific parameter extraction and any backend-only augmentation, then derive the sameAccuracyProfilethrough the shared formulas.This removes the current duplicated policy logic while preserving the physical-plan compile, publish, install, and serving behavior.
Acceptance criteria
asap_types.AccuracyProfilevalues for identical normalized CMS, HLL, KLL, and DDSketch inputs.Blocked by
None - can start immediately