updatesupport ============= .. raw:: html
Claim audits for aggregation bias

Know whether a reported aggregate survives hidden subgroup recomposition.

updatesupport audits whether coarse public categories are stable enough for a reported estimate, decision, model metric, risk measure, or causal effect.

Quickstart API surface GitHub
Claim audits Declare the claim, then audit it.

Pass, fail, or explain why the current public representation is inconclusive.

Simple surface One front door, deeper tools behind it.

Use us.claim(...).audit(rows); drop lower when you need evidence internals.

Refinement intelligence Find the smallest useful public representation.

Rank refinements, inspect interactions, and search reporting-design frontiers.

Stress tests Choose the recomposition model explicitly.

Saturated fibers, TV/KL/chi-square budgets, Wasserstein, balance drift, and custom CVXPY sets.

Quickstart ---------- .. code-block:: bash pip install updatesupport .. code-block:: python import updatesupport as us claim = us.claim( "reported lift remains positive", public=["segment"], hidden=["segment", "channel", "tenure_band", "device"], target="treatment_minus_control_lift", weight="users", candidate_refinements=["channel", "tenure_band", "device"], decision=us.threshold_decision(">=", 0.0), ) audit = claim.audit(rows_or_frame) print(audit.to_markdown()) What The Audit Separates ------------------------ .. raw:: html
Reported estimate

The target value supplied by your model, estimator, dashboard, or metric pipeline.

Statistical uncertainty

Optional standard errors or intervals from the upstream statistical workflow.

Hidden-composition ambiguity

The partial-ID interval induced by retained but not publicly reported subgroups.

Refinement recommendations

Which hidden variables most improve the public representation for this claim.

Documentation Map ----------------- Start with :doc:`quickstart`, then read :doc:`api-surface` for the consolidated Python surface. Use :doc:`framework` and :doc:`mathematical-statistical-soundness` for the modeling assumptions, and :doc:`transport-presets` when choosing a stress-test family. .. toctree:: :maxdepth: 2 :caption: Getting Started :hidden: quickstart framework api/index .. toctree:: :maxdepth: 1 :caption: Core Guides :hidden: representation-adequacy api-surface positioning-and-lineage mathematical-statistical-soundness theory-and-backends transport-presets historical-tv-calibration public-representation-frontier categorical-rollup-design shared-representation-design calibrated-public-report-design minimum-claim-breaking-witness representation-stability-certificates reporting-claims audit-specs data-diagnostics structured-exports model-assisted-joint-analysis breakdown-point-analysis robust-comparison-ranking interaction-aware-refinements .. toctree:: :maxdepth: 1 :caption: Integrations And Case Studies :hidden: causal-library-integration conformal-mapie-integration residopt-integration benchmark-gallery revops-funnel-analysis extensions folktables-acs-income-interpretation .. toctree:: :maxdepth: 1 :caption: Project :hidden: releasing