EU Parliament Monitor — API Documentation - v0.8.24
    Preparing search index...

    Function deriveCoalitionShiftSignals

    • Derive coalition shift signals from current voting patterns, detecting patterns that diverge from traditional EP political group alignments.

      Signals detected:

      • cross-party-alignment: a group is voting consistently with a traditionally opposing bloc (e.g. EPP aligning with S&D)
      • bloc-fragmentation: low cohesion (< 0.4) indicating internal breakdown
      • isolation: group voting against all others (only pattern with very low cohesion while all others have high cohesion)
      • new-bloc-formation: multiple groups from different blocs all showing high cohesion

      Parameters

      • currentPatterns: readonly VotingPattern[]

        Current voting patterns with cohesion scores

      Returns CoalitionShiftSignal[]

      Array of CoalitionShiftSignal objects ordered by confidence (high → low)