# `causalis.scenarios.cuped.refutation.config`

## Module Contents

### Classes

`CUPEDRefutationConfig` | Configuration for CUPED regression refutation checks and actions.

### API

class causalis.scenarios.cuped.refutation.config.CUPEDRefutationConfig

  Configuration for CUPED regression refutation checks and actions.

  run_regression_checks: bool

    True

  check_action: Literal[ignore, raise]

    ‘ignore’

  raise_on_yellow: bool

    False

  condition_number_warn_threshold: float

    100000000.0

  corr_near_one_tol: float

    1e-10

  vif_warn_threshold: float

    20.0

  winsor_q: Optional[float]

    0.01

  tiny_one_minus_h_tol: float

    1e-08

  __post_init__() → None
  signal_assumption_flags(table: pandas.DataFrame, skip_test_ids: Optional[set[str]] = None) → None

    Raise according to GREEN/YELLOW/RED assumption table flags.

  signal_message(msg: str) → None

    Raise a configured refutation exception for a plain message.

  to_model_options() → dict[str, object]

    Return JSON-friendly fields for CausalEstimate.model_options.