aip_sdk.TraceScoreResult
aip_sdk.TraceScoreResult(input_id: str, scorer: str, score: float, explanation: str | None = None, config_identity: list[MetricConfigIdentity] = list['MetricConfigIdentity'](), partition_type: PartitionType | None = None, partition_id: str | None = None, target_ref: str | None = None, trace_id: str | None = None, metric: str | None = None)
A ScoreResult from a trace-metric run, identifying its occurrence.
Inherited input_id carries that occurrence's own scope_ref verbatim — a
span, trace, or session id depending on the target's partition_type, opaque and not
meant to be parsed. Use target_ref/trace_id for the typed identity instead.
Attributes
partition_typePartitionType | None: The granularity this occurrence was scored 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.target_refstr | None: The concrete span/trace/session id this row identifies — the typed counterpart to inheritedinput_id's opaquescope_ref.trace_idstr | None: The trace this occurrence belongs to.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.TraceScoreResult.metric
aip_sdk.TraceScoreResult.metric: str | None = None
No docstring is defined in the source.
aip_sdk.TraceScoreResult.partition_id
aip_sdk.TraceScoreResult.partition_id: str | None = None
No docstring is defined in the source.
aip_sdk.TraceScoreResult.partition_type
aip_sdk.TraceScoreResult.partition_type: PartitionType | None = None
No docstring is defined in the source.
aip_sdk.TraceScoreResult.target_ref
aip_sdk.TraceScoreResult.target_ref: str | None = None
No docstring is defined in the source.
aip_sdk.TraceScoreResult.trace_id
aip_sdk.TraceScoreResult.trace_id: str | None = None
No docstring is defined in the source.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceScoreResult.config_identity
aip_sdk.TraceScoreResult.config_identity: list[MetricConfigIdentity] = field(default_factory=list['MetricConfigIdentity'])
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceScoreResult.explanation
aip_sdk.TraceScoreResult.explanation: str | None = None
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceScoreResult.input_id
aip_sdk.TraceScoreResult.input_id: str
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceScoreResult.score
aip_sdk.TraceScoreResult.score: float
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/models.py
aip_sdk.TraceScoreResult.scorer
aip_sdk.TraceScoreResult.scorer: str
No docstring is defined in the source.