Pairwise MEP voting-similarity helper for network OSINT.
Fetches DOCEO RCV records once and computes Jaccard-like agreement
scores over the set of decisive votes (FOR / AGAINST only — abstentions
excluded) that two MEPs jointly participated in.
similarity(A, B) = sharedAgreements(A, B) / sharedDecisiveVotes(A, B)
Pairs with fewer than MIN_SHARED_DECISIVE_VOTES co-participations
are skipped to suppress spurious edges with poor statistical support.
The helper is intentionally narrow — it does NOT cache the matrix, since
each network_analysis call may scope to a different MEP subset.
Fileoverview
Pairwise MEP voting-similarity helper for network OSINT.
Fetches DOCEO RCV records once and computes Jaccard-like agreement scores over the set of decisive votes (FOR / AGAINST only — abstentions excluded) that two MEPs jointly participated in.
similarity(A, B) = sharedAgreements(A, B) / sharedDecisiveVotes(A, B)Pairs with fewer than MIN_SHARED_DECISIVE_VOTES co-participations are skipped to suppress spurious edges with poor statistical support.
The helper is intentionally narrow — it does NOT cache the matrix, since each
network_analysiscall may scope to a different MEP subset.Behaviour mirrors
computeCoalitionCohesionFromDoceo:withTimeoutAndAbort(default 5 s — larger than the 2 s cohesion guard because individual-vote XML is heavier)ISMS Policy: SC-002, AC-003, AU-002. GDPR Article 5(1)(d) — accuracy (Open-data public-figure data, decisive RCVs only).
Since
1.4.0