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

Function episode_sort_key

experiments/baselines/scholar_inbox/runner.py:716–723  ·  view source on GitHub ↗
(item: Tuple[str, List[Dict[str, Any]]])

Source from the content-addressed store, hash-verified

714
715
716def episode_sort_key(item: Tuple[str, List[Dict[str, Any]]]) -> Tuple[str, str, str]:
717 episode_id, rows = item
718 first = rows[0] if rows else {}
719 return (
720 str(first.get("user_id") or episode_id.split("::", 1)[0]),
721 str(first.get("date") or ""),
722 episode_id,
723 )
724
725
726def rerank_episodes(

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected