compare_partitions_noise

Function compare_partitions_noise 

Source
pub fn compare_partitions_noise(
    filter_a: &RowFilter,
    filter_b: &RowFilter,
    dir: Option<&Path>,
    spread_threshold_pct: f64,
    phase_opts: &PhaseDisplayOptions,
    gate: &GateOptions,
) -> Result<i32>
Expand description

Noise-adjusted variant of compare_partitions: keeps every per-run row and gates a confident regression on the two sides being SEPARATED (a two-sided Welch t-test, or fully disjoint [min, max] bands) AND the mean delta being MATERIAL (the registry default_abs + default_rel dual-gate), instead of a fixed single-run threshold. When the scenarios carry phases it also renders a per-phase spread + coverage block (render-only, honoring phase_opts; per-phase never affects the exit). See crate::stats::compare_partitions_noise for the full contract.