Skip to content

VerdictCheck

Source code in docs_src/capo_cloudwatchomni/types/verdict_check.py
class VerdictCheck(TypedDict, closed=True):
    metric: "capo_cloudwatchomni.types.run_metric.RunMetric"
    """The gate's metric."""
    bound: NotRequired["capo_cloudwatchomni.types.gate_bound.GateBound"]
    """The gate's bound. Absent for regressedScores, which takes none."""
    observed: NotRequired["float"]
    """The metric's value for this run."""
    control_observed: NotRequired["float"]
    """The control's value of the metric. Present for vsControl checks."""
    delta: NotRequired["float"]
    """The change from the control, in the bound's mode, signed so that positive is better. Absent when the change is not finite, such as in RATIO mode against a control value of 0."""
    passed: "bool"
    """Whether the gate held."""
    decisive: "bool"
    """Whether this check decided a FAILED verdict."""
    observed_by_evaluator: NotRequired[
        "capo_cloudwatchomni.types.evaluator_count_list.EvaluatorCountList"
    ]
    """The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed."""

bound instance-attribute

bound: NotRequired[GateBound]

The gate's bound. Absent for regressedScores, which takes none.

control_observed instance-attribute

control_observed: NotRequired[float]

The control's value of the metric. Present for vsControl checks.

decisive instance-attribute

decisive: bool

Whether this check decided a FAILED verdict.

delta instance-attribute

delta: NotRequired[float]

The change from the control, in the bound's mode, signed so that positive is better. Absent when the change is not finite, such as in RATIO mode against a control value of 0.

metric instance-attribute

metric: RunMetric

The gate's metric.

observed instance-attribute

observed: NotRequired[float]

The metric's value for this run.

observed_by_evaluator instance-attribute

observed_by_evaluator: NotRequired[EvaluatorCountList]

The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.

passed instance-attribute

passed: bool

Whether the gate held.