[tor-commits] [compass/master] Refactor RelayStats._get_group_function