aip_sdk.TraceMetric
aip_sdk.TraceMetric(scorer: str, mean: float, std: float, count: int, pass_rate: float, partition_type: PartitionType | None = None, partition_id: str | None = None, metric: str | None = None)
A Metric from a trace-metric run, identifying its series.
partition_type/partition_id are the identity of the measurement this summarises
— present whenever the platform recorded them, regardless of how many targets the run
scored — and None only when reading an artifact that predates those columns.
Attributes
partition_typePartitionType | None: The granularity this metric was measured at, orNonefor an artifact written before this column existed.partition_idstr | None: The partition scored, orNonefor aSESSION/TRACEtarget that named no saved partition, or for an artifact predating this column.metricstr | None: The bare metric name (e.g."agent.custom_judge_rubric") — distinct fromscorer, the RESULT COLUMN a metric scored under several stored configs occupies one of ({metric}__cfg__{config_name}). Equal toscorerfor a metric resolving a single config.
aip_sdk.TraceMetric.metric
aip_sdk.TraceMetric.metric: str | None = None
No docstring is defined in the source.
aip_sdk.TraceMetric.partition_id
aip_sdk.TraceMetric.partition_id: str | None = None
No docstring is defined in the source.
aip_sdk.TraceMetric.partition_type
aip_sdk.TraceMetric.partition_type: PartitionType | None = None
No docstring is defined in the source.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceMetric.count
aip_sdk.TraceMetric.count: int
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceMetric.mean
aip_sdk.TraceMetric.mean: float
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceMetric.pass_rate
aip_sdk.TraceMetric.pass_rate: float
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceMetric.scorer
aip_sdk.TraceMetric.scorer: str
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceMetric.std
aip_sdk.TraceMetric.std: float
No docstring is defined in the source.