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

Function load_roles

experiments/baselines/scinup_strict/runner.py:174–177  ·  view source on GitHub ↗
(roles_file: Path)

Source from the content-addressed store, hash-verified

172
173
174def load_roles(roles_file: Path) -> Dict[str, Dict[str, Any]]:
175 payload = load_json(roles_file)
176 roles = payload.get("roles") if isinstance(payload, dict) else {}
177 return roles if isinstance(roles, dict) else {}
178
179
180def load_user_metadata(input_dir: Path) -> Dict[str, Dict[str, Any]]:

Callers 1

rerank_episodesFunction · 0.70

Calls 2

getMethod · 0.80
load_jsonFunction · 0.70

Tested by

no test coverage detected