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

Function load_roles

experiments/baselines/discourse_aware/runner.py:326–329  ·  view source on GitHub ↗
(roles_file: Path)

Source from the content-addressed store, hash-verified

324
325
326def load_roles(roles_file: Path) -> Dict[str, Dict[str, Any]]:
327 payload = load_json(roles_file)
328 roles = payload.get("roles") if isinstance(payload, dict) else {}
329 return roles if isinstance(roles, dict) else {}
330
331
332def _direction_terms(direction: Any) -> List[str]:

Callers 1

rerank_episodesFunction · 0.70

Calls 2

getMethod · 0.80
load_jsonFunction · 0.70

Tested by

no test coverage detected