code: def group_evidence_edges(edges: Iterable[EdgeTuple]) -> Iterable[Tuple[str, Iterable[EdgeTuple]]]:
      
      return itt.groupby(edges, key=_evidence_sort_key)
docs: Return an iterator over pairs of evidence values and their corresponding edge iterators.