def heuristics_v{version}(edge_attr: np.ndarray) -> np.ndarray: