Skip to content

ReportedRunInfo

Source code in docs_src/capo_cloudwatchomni/types/reported_run_info.py
class ReportedRunInfo(TypedDict, closed=True):
    producer: "capo_cloudwatchomni.types.experiment_producer.ExperimentProducer"
    """The tool or system that runs the cases and reports their results."""
    rule: NotRequired["capo_cloudwatchomni.types.experiment_rule.ExperimentRule"]
    """The rule to check the run against. Optional; with a rule, the run gets a verdict when it completes."""
    control: NotRequired["capo_cloudwatchomni.types.control_source.ControlSource"]
    """An earlier run to compare this run with. Only runId or latestPassed is supported (CONTROL_TARGET_UNSUPPORTED for target). Required by rules that use vsControl bounds or paired metrics."""
    evaluators: NotRequired[
        "capo_cloudwatchomni.types.experiment_evaluator_list.ExperimentEvaluatorList"
    ]
    """The evaluators the run is scored with, from 1 to 20. Required on the creating call. The rule and every reported case can name only these evaluators. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH)."""
    target: NotRequired["capo_cloudwatchomni.types.target_config.TargetConfig"]
    """The version of the experiment's target that the run tested. Must be the same kind as the experiment's target."""
    dataset: "capo_cloudwatchomni.types.experiment_run_dataset.ExperimentRunDataset"
    """The dataset the run tested. Required on the creating call, with its identity and caseCount. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH)."""
    metadata: NotRequired["capo_cloudwatchomni.types.run_metadata_map.RunMetadataMap"]
    """Key-value facts about what the run tested, beyond the target and dataset versions."""
    description: NotRequired["capo_cloudwatchomni.types.description.Description"]
    """A description of what the run is for, up to 1024 characters with no control characters. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH)."""
    started_at: NotRequired["datetime.datetime"]
    """The time when the producer started the run, if it began before the first PutExperimentRunResults call."""

control instance-attribute

control: NotRequired[ControlSource]

An earlier run to compare this run with. Only runId or latestPassed is supported (CONTROL_TARGET_UNSUPPORTED for target). Required by rules that use vsControl bounds or paired metrics.

dataset instance-attribute

The dataset the run tested. Required on the creating call, with its identity and caseCount. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

description instance-attribute

description: NotRequired[Description]

A description of what the run is for, up to 1024 characters with no control characters. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

evaluators instance-attribute

evaluators: NotRequired[ExperimentEvaluatorList]

The evaluators the run is scored with, from 1 to 20. Required on the creating call. The rule and every reported case can name only these evaluators. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

metadata instance-attribute

metadata: NotRequired[RunMetadataMap]

Key-value facts about what the run tested, beyond the target and dataset versions.

producer instance-attribute

The tool or system that runs the cases and reports their results.

rule instance-attribute

rule: NotRequired[ExperimentRule]

The rule to check the run against. Optional; with a rule, the run gets a verdict when it completes.

started_at instance-attribute

started_at: NotRequired[datetime]

The time when the producer started the run, if it began before the first PutExperimentRunResults call.

target instance-attribute

target: NotRequired[TargetConfig]

The version of the experiment's target that the run tested. Must be the same kind as the experiment's target.