Skip to content

ExperimentRunSummary

Source code in docs_src/capo_cloudwatchomni/types/experiment_run_summary.py
class ExperimentRunSummary(TypedDict, closed=True):
    run_id: "capo_cloudwatchomni.types.experiment_run_id.ExperimentRunId"
    """The ID of the run."""
    source: "capo_cloudwatchomni.types.experiment_run_source.ExperimentRunSource"
    """Whether the run is reported by the caller's code or hosted by the service."""
    status: "capo_cloudwatchomni.types.experiment_run_status.ExperimentRunStatus"
    """The status of the run."""
    status_reason: NotRequired[
        "capo_cloudwatchomni.types.experiment_run_status_reason.ExperimentRunStatusReason"
    ]
    """Why the run did not finish. Present when status is DID_NOT_FINISH."""
    producer_kind: NotRequired["capo_cloudwatchomni.types.producer_kind.ProducerKind"]
    """The kind of producer that reports the run. Reported runs only."""
    target_version: NotRequired["str"]
    """The version of the run's target."""
    dataset_source: NotRequired[
        "capo_cloudwatchomni.types.dataset_source_type.DatasetSourceType"
    ]
    """The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID."""
    dataset_id: NotRequired["str"]
    """The ID of the run's dataset."""
    dataset_name: NotRequired["str"]
    """The name of the run's dataset."""
    dataset_version: NotRequired["str"]
    """The version of the run's dataset."""
    rule_name: NotRequired["str"]
    """The name of the run's rule."""
    rule_content_hash: NotRequired["str"]
    """The contentHash of the run's rule. Runs with equal hashes have the same case criteria and gates."""
    metadata: NotRequired["capo_cloudwatchomni.types.run_metadata_map.RunMetadataMap"]
    """Key-value facts about what the run tested."""
    description: NotRequired["capo_cloudwatchomni.types.description.Description"]
    """The description of the run."""
    trace_stats: NotRequired["capo_cloudwatchomni.types.run_trace_stats.RunTraceStats"]
    """The trace stats of the run. Absent on an experiment's latestRun."""
    verdict: NotRequired["capo_cloudwatchomni.types.verdict.Verdict"]
    """The verdict of the run. Present only for runs with a rule, once the run has ended."""
    verdict_reason_code: NotRequired[
        "capo_cloudwatchomni.types.verdict_reason_code.VerdictReasonCode"
    ]
    """The reason for the run's verdict."""
    verdict_reason: NotRequired["str"]
    """A readable explanation of verdictReasonCode, such as "pass rate 82% (required 90%)"."""
    pass_rate: NotRequired["float"]
    """The share of the run's cases that passed, from 0 to 1. Runs with a rule only."""
    control_pass_rate: NotRequired["float"]
    """The control's pass rate under this run's caseCriteria, set when the run ends."""
    role: "capo_cloudwatchomni.types.run_role.RunRole"
    """The role of the run: TARGET, or CONTROL for a live control run."""
    control_run_id: NotRequired[
        "capo_cloudwatchomni.types.experiment_run_id.ExperimentRunId"
    ]
    """The ID of the run this run is compared with."""
    cases_total: NotRequired["int"]
    """The total number of cases in the run."""
    passed: NotRequired["int"]
    """The number of cases that passed."""
    created_at: "datetime.datetime"
    """The time when the run was created."""
    completed_at: NotRequired["datetime.datetime"]
    """The time when the run ended."""

cases_total instance-attribute

cases_total: NotRequired[int]

The total number of cases in the run.

completed_at instance-attribute

completed_at: NotRequired[datetime]

The time when the run ended.

control_pass_rate instance-attribute

control_pass_rate: NotRequired[float]

The control's pass rate under this run's caseCriteria, set when the run ends.

control_run_id instance-attribute

control_run_id: NotRequired[ExperimentRunId]

The ID of the run this run is compared with.

created_at instance-attribute

created_at: datetime

The time when the run was created.

dataset_id instance-attribute

dataset_id: NotRequired[str]

The ID of the run's dataset.

dataset_name instance-attribute

dataset_name: NotRequired[str]

The name of the run's dataset.

dataset_source instance-attribute

dataset_source: NotRequired[DatasetSourceType]

The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID.

dataset_version instance-attribute

dataset_version: NotRequired[str]

The version of the run's dataset.

description instance-attribute

description: NotRequired[Description]

The description of the run.

metadata instance-attribute

metadata: NotRequired[RunMetadataMap]

Key-value facts about what the run tested.

pass_rate instance-attribute

pass_rate: NotRequired[float]

The share of the run's cases that passed, from 0 to 1. Runs with a rule only.

passed instance-attribute

passed: NotRequired[int]

The number of cases that passed.

producer_kind instance-attribute

producer_kind: NotRequired[ProducerKind]

The kind of producer that reports the run. Reported runs only.

role instance-attribute

role: RunRole

The role of the run: TARGET, or CONTROL for a live control run.

rule_content_hash instance-attribute

rule_content_hash: NotRequired[str]

The contentHash of the run's rule. Runs with equal hashes have the same case criteria and gates.

rule_name instance-attribute

rule_name: NotRequired[str]

The name of the run's rule.

run_id instance-attribute

The ID of the run.

source instance-attribute

Whether the run is reported by the caller's code or hosted by the service.

status instance-attribute

The status of the run.

status_reason instance-attribute

status_reason: NotRequired[ExperimentRunStatusReason]

Why the run did not finish. Present when status is DID_NOT_FINISH.

target_version instance-attribute

target_version: NotRequired[str]

The version of the run's target.

trace_stats instance-attribute

trace_stats: NotRequired[RunTraceStats]

The trace stats of the run. Absent on an experiment's latestRun.

verdict instance-attribute

verdict: NotRequired[Verdict]

The verdict of the run. Present only for runs with a rule, once the run has ended.

verdict_reason instance-attribute

verdict_reason: NotRequired[str]

A readable explanation of verdictReasonCode, such as "pass rate 82% (required 90%)".

verdict_reason_code instance-attribute

verdict_reason_code: NotRequired[VerdictReasonCode]

The reason for the run's verdict.