European Parliament MCP Server API - v1.3.9
    Preparing search index...

    Function resolveGroupMajority

    • Resolve the plurality position of a group-breakdown row.

      Ties are broken alphabetically (ABSTAIN < AGAINST < FOR) so the result is deterministic and fixture-stable.

      Parameters

      • row: { abstain: number; against: number; for: number } | undefined

        DOCEO group-breakdown counts. undefined for groups absent from the vote.

      Returns VotePosition | null

      Plurality position or null when the row is missing or all zero.