Files
SkillCompiler/scripts/dynamic_compile/fast/scoring/identity.py
T
2026-09-04 14:58:42 +08:00

14 lines
243 B
Python

from __future__ import annotations
from typing import Any
from ..models import TraceKey
ScoreKey = tuple[str, str, str]
def composite_id(row: dict[str, Any]) -> ScoreKey:
return TraceKey.from_record(row).as_tuple()
return result