Profiles can currently be combined using + operator or sum_profiles. With the new ballot pattern search function search_profile_for_rank_pattern, we can retrieve ballots where a candidate pair is separated at most x rank positions. To support the inverse query, separation of at least x, we need profile subtraction.
Profiles with same ballot rankings but differing weights could subtract the weights and leave the voter set untouched.
Profiles can currently be combined using
+operator orsum_profiles. With the new ballot pattern search functionsearch_profile_for_rank_pattern, we can retrieve ballots where a candidate pair is separated at most x rank positions. To support the inverse query, separation of at least x, we need profile subtraction.Profiles with same ballot rankings but differing weights could subtract the weights and leave the voter set untouched.