Power Analysis Results Schema

power_analysis_results.csv has one row per effect-size and duration pair.

FieldMeaning
schema_versionRow contract version (1.0).
target_powerCLI planning threshold copied from YAML.
effect_size, duration, alphaSimulated grid and detection threshold.
powern_significant / n_successful.
power_ci_lower, power_ci_upperWilson interval using alpha as the interval tail setting.
n_simulations, n_successful, n_significant, n_failedMonte Carlo counts.
failure_rate, failure_rate_threshold, validFailure diagnostics. valid does not validate DGP plausibility.
random_seed, simulation_seed, placebo_seed_root, placebo_seed_strategyReproducibility metadata.
dgp_rank, dgp_explained_var, dgp_factor_dynamicsFitted DGP metadata.
requested_max_n_pl, possible_placebos, effective_max_n_pl, p_value_placebo_modePlacebo support.
dgp_backend, generation_backend, seeded_reproducibility_modeExecution metadata.
effect_pattern, effect_baseline, effect_full_absolute, effect_baseline_definitionInjection contract.
detection_rule, power_denominatorExplicit detection and denominator labels.
warningsSemicolon-delimited row warnings.

Direct calls to SparseSCPowerCalculator.calculate_power() do not add the CLI’s target_power column; target power affects MDE selection, not simulation.