MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / label_key

Function label_key

experiments/baselines/discourse_aware/runner.py:600–601  ·  view source on GitHub ↗
(row: Dict[str, Any])

Source from the content-addressed store, hash-verified

598
599
600def label_key(row: Dict[str, Any]) -> Tuple[str, str]:
601 return (str(row.get("episode_id") or ""), paper_identity(row))
602
603
604def build_label_map(label_rows: Sequence[Dict[str, Any]]) -> Dict[Tuple[str, str], Dict[str, Any]]:

Callers 3

build_label_mapFunction · 0.70
update_feedback_stateFunction · 0.70
rerank_episodesFunction · 0.70

Calls 2

getMethod · 0.80
paper_identityFunction · 0.70

Tested by

no test coverage detected