Skip to main content

aip_sdk.PartitionMetricAvailability

aip_sdk.PartitionMetricAvailability

Per-metric availability for one partition on one dataset version.

Carries verdicts only, never span payloads.

deployment_checked is False when the platform could not determine which metrics are deployed in the environment. The verdicts are then about the metric's contract alone: an available metric fits this partition but is not confirmed runnable, and no metric can report OP_NOT_DEPLOYED. It is True on a healthy platform.

ground_truth_checked is the same shape for a different gate: False means the platform could not read this TRACE partition's ground-truth annotation values, so agent.step_accuracy/agent.tool_selection_accuracy silently report no occurrence ambiguous on that one gate rather than a verified answer — see MetricUnavailableReason.AMBIGUOUS_TRACE_GROUND_TRUTH. Always True when the partition isn't TRACE-typed or neither of those two metrics was requested, since that gate could never fire there regardless.

aip_sdk.PartitionMetricAvailability.available_metrics​

aip_sdk.PartitionMetricAvailability.available_metrics: list[str]

The names of the metrics that can score this partition, in response order.

aip_sdk.PartitionMetricAvailability.dataset_version_id​

aip_sdk.PartitionMetricAvailability.dataset_version_id: str

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.deployment_checked​

aip_sdk.PartitionMetricAvailability.deployment_checked: bool = True

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.ground_truth_checked​

aip_sdk.PartitionMetricAvailability.ground_truth_checked: bool = True

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.metrics​

aip_sdk.PartitionMetricAvailability.metrics: list[MetricAvailability] = Field(default_factory=list[MetricAvailability])

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.model_config​

aip_sdk.PartitionMetricAvailability.model_config = ConfigDict(extra='allow')

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.partition_id​

aip_sdk.PartitionMetricAvailability.partition_id: str

No docstring is defined in the source.

aip_sdk.PartitionMetricAvailability.partition_type​

aip_sdk.PartitionMetricAvailability.partition_type: PartitionType

No docstring is defined in the source.