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

Function label_key

experiments/baselines/scinup_strict/runner.py:159–160  ·  view source on GitHub ↗
(row: Dict[str, Any])

Source from the content-addressed store, hash-verified

157
158
159def label_key(row: Dict[str, Any]) -> Tuple[str, str]:
160 return str(row.get("episode_id") or ""), paper_identity(row)
161
162
163def build_label_map(label_rows: Sequence[Dict[str, Any]]) -> Dict[Tuple[str, str], Dict[str, Any]]:

Callers 1

build_label_mapFunction · 0.70

Calls 2

getMethod · 0.80
paper_identityFunction · 0.70

Tested by

no test coverage detected