Electoral Systems Simulator: An Open Framework for Comparing Electoral Mechanisms Across Voter Distribution Scenarios

This paper introduces \texttt{electoral\_sim}, an open-source Python framework that simulates and compares various electoral systems across diverse voter preference distributions using Euclidean distance to the geometric median as a primary performance metric, including a novel theoretical benchmark based on a Boltzmann softmax kernel.

Sumit Mukherjee

Published Wed, 11 Ma
📖 5 min read🧠 Deep dive

Imagine you are trying to organize a massive, chaotic potluck dinner for 5,000 people. Everyone has different tastes: some want spicy food, some want sweet, some want vegetarian, and some want meat. The goal is to pick a menu that makes the most people happy, or at least minimizes how unhappy anyone is.

This paper is about a digital "Potluck Simulator" built by a researcher named Sumit Mukherjee. It's a computer program designed to test different ways of voting to see which method picks the best "menu" (or leader) for different types of crowds.

Here is a breakdown of the paper using simple analogies:

1. The Map of Tastes (The Ideological Space)

Instead of just asking people "Do you like pizza?", the simulator puts everyone on a giant 2D map.

  • Left/Right Axis: Think of this as "Budget" (Spending vs. Saving).
  • Top/Bottom Axis: Think of this as "Rules" (Strict vs. Free).

Every voter is a dot on this map. Every candidate is also a dot. The closer a candidate is to a voter, the more that voter likes them. The simulator assumes people vote for the candidate closest to them on the map.

2. The Goal: Finding the "Sweet Spot"

The researchers wanted to know: Which voting system picks the candidate closest to the "center of gravity" of the crowd?

They call this the Geometric Median.

  • Analogy: Imagine the voters are magnets. The "Geometric Median" is the exact spot where a magnet would feel the least total pull from all the other magnets combined. It's the true center of the crowd, even if the crowd is split into two angry groups on opposite sides.

3. The Contenders (The Voting Systems)

The simulator tested 10 different ways to pick a winner, ranging from the familiar to the weird:

  • The "Popular Vote" (Plurality/FPTP): Everyone picks their favorite. The one with the most votes wins.
    • The Flaw: If the crowd is split 40/40/20, the 20% winner takes all, even though 80% didn't want them.
  • The "Runoff" (Two-Round & Instant Runoff): If no one gets 50%, the loser is eliminated, and their votes go to the next choice.
  • The "Scorecard" (Score & Approval): Instead of picking one, you give everyone a score (1–5 stars) or a "Yes/No."
  • The "Math Wizard" (Condorcet/Schulze): This method asks, "If Candidate A fought Candidate B in a one-on-one duel, who would win?" It finds the candidate who beats everyone else in head-to-head matchups.
  • The "Proportional" (PR): Instead of picking one winner, it picks a whole team (a legislature) that matches the crowd's makeup.
  • The "Magic" System (Fractional Ballot): This is the paper's big experiment. It's a made-up system where your vote isn't a single point; it's a cloud of influence. You give a little bit of your vote to your favorite, a tiny bit to the next best, and so on. It's like spreading peanut butter on toast rather than dropping a single dollop.

4. The Scenarios (The Different Crowds)

The researchers didn't just test one crowd. They simulated 8 different types of societies:

  • The "Consensus" Crowd: Everyone agrees on the center (like a small, happy town).
  • The "Polarized" Crowd: The crowd is split into two angry camps (like the US or UK today) with a huge empty space in the middle.
  • The "Chaotic" Crowd: Many small groups with different ideas (like a fragmented parliament).

5. The Results: What Worked?

The Bad News:
In a Polarized Crowd (two angry camps), the standard "Popular Vote" (Plurality) fails miserably. It picks the candidate from the slightly larger camp, ignoring the fact that the "true center" is actually in the empty space between them. It's like picking the winner of a tug-of-war even though the rope is snapped.

The Good News:
Systems that look at the whole picture (like Condorcet, Score Voting, and Ranked Choice) do much better. They find the candidate who is "least disliked" by everyone.

The "Magic" System (Fractional Ballot):
The made-up "Fractional Ballot" system was the champion. Because it spreads your vote out like a cloud, it naturally gravitated toward the geometric median (the true center) in almost every scenario.

  • Why it matters: It acts as a "gold standard." It shows us the theoretical best possible outcome. If a real-world system gets close to this, it's doing a great job.

The One Failure:
The "Magic" system failed in a Dominant Party scenario (where one huge group controls everything). Because the biggest group was far away from the center, the "cloud" of votes got dragged toward them. This teaches us that no system is perfect; if one group is too big and too far from the middle, they will always win, no matter the math.

6. Why This Matters

The author isn't just playing with numbers; they built a toolkit (a Python software package) that anyone can use.

  • For Politicians: It helps test if a new voting law will actually work before passing it.
  • For Researchers: It's a playground to see how different crowds react to different rules.
  • For You: It proves that the way we vote matters a lot. In a divided country, the "first-past-the-post" system might be making things worse, while other systems could find a middle ground.

The Bottom Line

This paper is a simulation lab for democracy. It shows that while no voting system is perfect, some are much better at finding the "center of the crowd" than others. The "Fractional Ballot" is a cool, theoretical idea that shows us what the perfect system would look like, helping us judge how good our current systems really are.

Where to find the tool: The code is free and open on GitHub, so anyone can download it and run their own "potluck" experiments.