"""Statistical validation suite (López de Prado discipline machinery, ported from the Rust ml-validation
crates) — the honesty backbone: Deflated Sharpe, PBO, permutation test, and FDR control."""
from fxhnt.domain.validation.fdr import FDRResult, fdr_correct, harmonic_sum
from fxhnt.domain.validation.statistical import (
    DsrResult,
    PboResult,
    PermutationResult,
    binomial_coefficient,
    deflated_sharpe_ratio,
    excess_kurtosis,
    normal_cdf,
    normal_ppf,
    permutation_test,
    probability_of_backtest_overfitting,
    sharpe_ratio,
    skewness,
)

__all__ = [
    "normal_cdf", "normal_ppf", "sharpe_ratio", "skewness", "excess_kurtosis",
    "deflated_sharpe_ratio", "DsrResult", "permutation_test", "PermutationResult",
    "probability_of_backtest_overfitting", "PboResult", "binomial_coefficient",
    "fdr_correct", "FDRResult", "harmonic_sum",
]
