aip_sdk.ConfigIdentityMatch
aip_sdk.ConfigIdentityMatch(metric: str, config_name: str, config_version: str, config_scope: str, match: bool, in_run_a: bool = False, in_run_b: bool = False, params: dict[str, Any] | None = None, param_diff: dict[str, tuple[Any, Any]] = dict[str, tuple[Any, Any]]())
One config identity's comparability between two diffed runs.
An entry in the mapping returned by RunDiff.config_identity_match(),
keyed on the opaque "{config_name}@{config_version}@{config_scope}"
string. Each entry repeats its metric and config identity so results can
be grouped or filtered without parsing the key.
Attributes
metricstr: Name of the metric this config was resolved for.config_namestr: Name of the stored metric config.config_versionstr: Version of the stored metric config.config_scopestr: Scope the config was stored under — a workspace id, the literal"platform"for a platform-wide config, or""for a run scored before the platform recorded scope at all.matchbool:Falseonly when both runs pinned this metric to different stored-config identities; an unpinned side imposes no comparability constraint and reportsTrue.in_run_abool: Whether run A resolved this identity. Bothin_run_a/in_run_bareTruefor a shared identity; exactly one isTruefor either side of a mismatch.in_run_bbool: Whether run B resolved this identity.paramsdict[str, Any] | None: This identity's stored params — fetched client-side, only withinclude_params=True;Noneif unresolvable (e.g. a platform-wide/legacy scope, or a since-deleted config).param_diffdict[str, tuple[Any, Any]]: Per-param(value_a, value_b)where run A/B's configs for this metric disagree. A side that never set the key reportsPARAM_ABSENTrather thanNone, which means the key was set to null. Only populated for a clean one-config-per-side mismatch with both sides' params fetched.
aip_sdk.ConfigIdentityMatch.config_name
aip_sdk.ConfigIdentityMatch.config_name: str
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.config_scope
aip_sdk.ConfigIdentityMatch.config_scope: str
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.config_version
aip_sdk.ConfigIdentityMatch.config_version: str
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.in_run_a
aip_sdk.ConfigIdentityMatch.in_run_a: bool = False
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.in_run_b
aip_sdk.ConfigIdentityMatch.in_run_b: bool = False
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.match
aip_sdk.ConfigIdentityMatch.match: bool
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.metric
aip_sdk.ConfigIdentityMatch.metric: str
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.param_diff
aip_sdk.ConfigIdentityMatch.param_diff: dict[str, tuple[Any, Any]] = field(default_factory=dict[str, tuple[Any, Any]])
No docstring is defined in the source.
aip_sdk.ConfigIdentityMatch.params
aip_sdk.ConfigIdentityMatch.params: dict[str, Any] | None = None
No docstring is defined in the source.