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

Function episode_sort_key

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

Source from the content-addressed store, hash-verified

627
628
629def episode_sort_key(item: Tuple[str, List[Dict[str, Any]]]) -> Tuple[str, str, str]:
630 episode_id, rows = item
631 first = rows[0] if rows else {}
632 return (
633 str(first.get("user_id") or episode_id.split("::", 1)[0]),
634 str(first.get("date") or ""),
635 episode_id,
636 )
637
638
639def update_feedback_state(

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected