Skip to content

Replay

ReplayReport dataclass

ReplayReport(
    mode: ReplayMode,
    verdict: ReplayVerdict,
    integrity: BundleIntegrity,
    recorded_environment: Mapping[str, Any],
    current_environment: Mapping[str, Any],
    reasons: tuple[str, ...] = (),
    differences: tuple[str, ...] = (),
    bitwise_floats: bool | None = None,
    verdict_changed_near_threshold: tuple[str, ...] = (),
)

What replay did and what it found. Both, always, and never one standing for the other.

ReplayPolicy dataclass

ReplayPolicy(rerun: bool = True)

§4.2: reproduce's policy. The comparison policy is always run.compare.POLICY_ID.