"""Synthetic market scenario generation for overfitting detection and robustness testing.

Public API:
    from libs.backtest.scenarios import build_synthetic_store, SCENARIO_REGISTRY
    from libs.backtest.scenarios.scenarios import ScenarioConfig, SCENARIO_REGISTRY
    from libs.backtest.scenarios.robustness import run_scenario_test, RegimeRobustnessReport
"""
from libs.backtest.scenarios.price_gen import PriceRegime, generate_price_paths
from libs.backtest.scenarios.macro_gen import VIXConfig, HYSpreadConfig, generate_macro_data
from libs.backtest.scenarios.event_gen import EventDistribution, generate_events
from libs.backtest.scenarios.coupling import couple_events_to_prices
from libs.backtest.scenarios.scenarios import ScenarioConfig, SCENARIO_REGISTRY, SCENARIO_GROUPS
from libs.backtest.scenarios.store_builder import build_synthetic_store
from libs.backtest.scenarios.robustness import (
    ScenarioResult,
    RegimeRobustnessReport,
    run_scenario_test,
    compute_rrs,
)

__all__ = [
    "PriceRegime",
    "generate_price_paths",
    "VIXConfig",
    "HYSpreadConfig",
    "generate_macro_data",
    "EventDistribution",
    "generate_events",
    "couple_events_to_prices",
    "ScenarioConfig",
    "SCENARIO_REGISTRY",
    "SCENARIO_GROUPS",
    "build_synthetic_store",
    "ScenarioResult",
    "RegimeRobustnessReport",
    "run_scenario_test",
    "compute_rrs",
]
