Function
episode_sort_key
(item: Tuple[str, List[Dict[str, Any]]])
Source from the content-addressed store, hash-verified
| 627 | |
| 628 | |
| 629 | def 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 | |
| 639 | def update_feedback_state( |
Callers
nothing calls this directly
Tested by
no test coverage detected