dirconn.AssumptionCheck#

class dirconn.AssumptionCheck(name: str, status: str, detail: str = '', value: float | None = None)#

Outcome of one assumption diagnostic.

Parameters:
  • name (str) – Assumption name, for example "stationarity".

  • status ({"pass", "warn", "fail", "not_checked"}) – Diagnostic outcome. Diagnostics inform; they never block a run.

  • detail (str) – Human-readable explanation, for example the test used.

  • value (float, optional) – Test statistic or p-value behind the status.

__init__(name: str, status: str, detail: str = '', value: float | None = None) → None#

Methods

__init__(name, status[, detail, value])

from_dict(data)

Rebuild a check from to_dict() output.

to_dict()

Return a JSON-compatible dictionary.

Attributes

detail

value

name

status