Skip to content

ExperimentCaseResult

Source code in docs_src/capo_cloudwatchomni/types/experiment_case_result.py
class ExperimentCaseResult(TypedDict, closed=True):
    case_id: "capo_cloudwatchomni.types.case_id.CaseId"
    """The ID of the dataset case. Each case can appear at most once in a request."""
    session_id: NotRequired["str"]
    """The ID of the session in which the target ran the case."""
    execution_status: (
        "capo_cloudwatchomni.types.case_execution_status.CaseExecutionStatus"
    )
    """The outcome of running the case against the target, before scoring."""
    status_reason: NotRequired[
        "capo_cloudwatchomni.types.case_status_reason.CaseStatusReason"
    ]
    """The reason for the execution status. Required when executionStatus is TARGET_ERROR or TIMED_OUT, optional for NOT_RUN, and absent for COMPLETED."""
    turns: NotRequired["capo_cloudwatchomni.types.case_turn_list.CaseTurnList"]
    """The turns of the case, up to 50, in the order they ran."""
    evaluators: NotRequired[
        "capo_cloudwatchomni.types.case_evaluator_result_list.CaseEvaluatorResultList"
    ]
    """The evaluator results for the case, up to 20. Each entry refers to one of the run's evaluators."""

case_id instance-attribute

case_id: CaseId

The ID of the dataset case. Each case can appear at most once in a request.

evaluators instance-attribute

evaluators: NotRequired[CaseEvaluatorResultList]

The evaluator results for the case, up to 20. Each entry refers to one of the run's evaluators.

execution_status instance-attribute

execution_status: CaseExecutionStatus

The outcome of running the case against the target, before scoring.

session_id instance-attribute

session_id: NotRequired[str]

The ID of the session in which the target ran the case.

status_reason instance-attribute

status_reason: NotRequired[CaseStatusReason]

The reason for the execution status. Required when executionStatus is TARGET_ERROR or TIMED_OUT, optional for NOT_RUN, and absent for COMPLETED.

turns instance-attribute

turns: NotRequired[CaseTurnList]

The turns of the case, up to 50, in the order they ran.