# SPDX-License-Identifier: AGPL-3.0-only
# Copyright (C) 2026 SWGY, Inc.
"""Parametric bootstrap on the IO-HMM-fitted population (Build 4).
This subpackage resamples households with replacement, refits the IO-HMM on
each replicate, and runs simulations under a sweep of warning-time shifts so
the chapter can plot policy outcomes (Fig. 6) with parametric-bootstrap
uncertainty bands.
See ``docs/bootstrap.md`` for the procedure and the rationale for warm
starting + deterministic simulation seeds.
"""
from __future__ import annotations
from iohmm_evac.bootstrap.aggregate import BandResult, compute_bands
from iohmm_evac.bootstrap.resample import (
ResampledFitData,
index_fit_data,
resample_indices,
)
from iohmm_evac.bootstrap.runner import (
BootstrapFit,
load_bootstrap_fits,
run_bootstrap_fits,
)
from iohmm_evac.bootstrap.shift_sweep import (
ShiftSweepResult,
SweepRow,
load_sweep_result,
run_shift_sweep,
)
__all__ = [
"BandResult",
"BootstrapFit",
"ResampledFitData",
"ShiftSweepResult",
"SweepRow",
"compute_bands",
"index_fit_data",
"load_bootstrap_fits",
"load_sweep_result",
"resample_indices",
"run_bootstrap_fits",
"run_shift_sweep",
]