pub fn generate_rank_combinations( rank_pairs: &[[RankIndex; 2]], ) -> [HashMap<RankIndex, String>; 2]