Skip to content

Utility method for subtracting profiles #384

Description

@graceg571

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions