De-rigging the system. Gerrymandering—the manipulation of electoral district boundaries for political gain—is one of the most persistent threats to democratic representation in the United States. By distorting how votes translate into seats, gerrymandering allows politicians to choose their voters rather than the other way around. But in recent years, a new wave of computer-driven redistricting tools has emerged, offering a data-driven, transparent, and fair alternative to partisan mapmaking.
What Is Gerrymandering?
The term “gerrymander” dates back to 1812, when Massachusetts Governor Elbridge Gerry approved a district shaped like a salamander to favor his party. Today, gerrymandering typically takes two forms:
- Packing: Concentrating opposition voters into a few districts to reduce their influence elsewhere.
- Cracking: Splitting opposition voters across many districts to dilute their voting power.
These tactics can dramatically skew election outcomes even when the overall vote is evenly split. As mathematician Jonathan Mattingly put it, “You can take the same set of votes, with different district maps, and get very different outcomes”.
The Rise of Algorithmic Redistricting
Thanks to advances in computational mathematics and the availability of detailed census data, researchers and reformers now have powerful tools to detect and counter gerrymandering. These programs use algorithms to generate thousands—or even millions—of alternative district maps, allowing analysts to compare enacted maps against a baseline of fairness.
Key Tools and Platforms
Auto-Redistrict
A free, open-source program that uses genetic algorithms to optimize district maps for compactness, equal population, competitiveness, and partisan symmetry. It automates the redistricting process using shapefiles and census data. Auto-Redistrict
GerryChain (Tufts University)
Uses Markov Chain Monte Carlo (MCMC) sampling to generate ensembles of district maps. It’s widely used by researchers to evaluate whether a map is an outlier in terms of fairness. MIT Technology Review on GerryChain
ALARM Project (Harvard University)
Developed by Kosuke Imai, this tool uses Sequential Monte Carlo algorithms to simulate thousands of district maps. It’s accessible even to high school students and has been used to analyze redistricting in multiple states. ALARM Project
Fairmandering (Cornell University)
Uses column generation heuristics to produce billions of potential maps that treat parties symmetrically and ensure competitiveness. Cornell’s Fairmandering
MGGG Redistricting Lab
Led by Moon Duchin, this lab provides tools and guidance for fair redistricting using mathematical principles. MGGG Redistricting Lab
Also: Read this article for more detailed and in depth information:
“Redistricting Reforms Reduce Gerrymandering by Constraining Partisan Actors
Political actors often manipulate redistricting plans to gain electoral advantages, a process known as gerrymandering. Several states have implemented institutional reforms to address this problem, such as establishing map-drawing commissions. Estimating the impact of such reforms is challenging because each state structures its processes and rules differently. We model redistricting as a sequential game whose equilibrium solution summarizes multi-step institutional interactions as a univariate score. We argue this score measures the leeway political actors have over the partisan lean of the final plan. Using a differences-in-differences design, we demonstrate that reforms reduce partisan bias and increase competitiveness when they constrain partisan actors. We perform a counterfactual policy analysis to estimate the effects of enacting recent reforms nationwide. Though commissions generally reduce bias, reforms that restrict partisan actors in multiple ways, like removing veto points (Michigan), are more effective than commissions where parties retain some control (Ohio).“
[2407.11336] Redistricting Reforms Reduce Gerrymandering by Constraining Partisan Actors
Kansas: A Case Study in Partisan Gerrymandering
Kansas has four congressional districts. After the 2020 census, the Republican-controlled legislature passed a new map that was immediately challenged in court. Critics argued that the map unfairly diluted minority voting power and endangered the state’s only Democratic representative, Rep. Sharice Davids.
What Changed?
- Wyandotte County, a Democratic stronghold with large Black and Latino populations, was split between two districts.
- Lawrence, a liberal college town, was moved into a vast rural district dominated by conservative voters.
According to Judge Bill Klapper, the map “reflects a single-minded desire to maximize Republican advantage” and was “motivated at least in part by an intent to dilute minority voting strength”5.
Legal Fallout
In April 2022, a Wyandotte County judge ruled the map unconstitutional, citing its discriminatory impact on minority voters. However, the Kansas Supreme Court later upheld the map, allowing it to be used in future elections.

What Fair Maps Could Look Like
Using tools like ALARM and Auto-Redistrict, researchers have simulated thousands of alternative maps for Kansas. These simulations show that:
- A fair map would likely yield 1–2 Democratic seats, reflecting the state’s ~43% Democratic vote share.
- The enacted map yields only 0.6 Democratic seats on average, making it more biased than 100% of simulated plans【ALARM Project】.
- The enacted map splits more counties and has lower compactness scores than most alternatives.
50-State Redistricting Simulations – ALARM Projecthttps://alarm-redist.org/fifty-states/#:~:text=Comprehensive%20project%20to%20simulate%20alternative%20congressional%20redistricting%20plans,for%20Congress%2C%20state%20houses%2C%20city%20councils%2C%20and%20more.
Visualizing the Bias
We can’t generate or display a new map directly in this mode, you can explore the enacted and simulated maps for Kansas on the ALARM Project’s interactive dashboard: Kansas Redistricting Simulations
There, you’ll see how the current map compares to thousands of algorithmically generated alternatives in terms of:
- Partisan fairness
- Compactness
- County splits
- Minority representation

Conclusion: The Path Forward
Gerrymandering undermines the principle of “one person, one vote.” But with the rise of algorithmic redistricting tools, we now have the means to expose unfair maps and propose better ones. These programs don’t just crunch numbers—they empower citizens, courts, and commissions to demand transparency and fairness.
Kansas’s case is a stark reminder of what’s at stake. When maps are drawn behind closed doors, democracy suffers. But when maps are drawn with data, algorithms, and public input, we move closer to a system where every vote truly counts.
1

www.technologyreview.com2
bing.com
www.courthousenews.com5
rollcall.com+1 more
Kansas Congressional Districts – ALARM Projecthttps://alarm-redist.org/fifty-states/KS_cd_2020/index.html
As a foot-note, I tried to get an AI app to draw an image for this article of a “Politician in a red hat sweating and frantically trying to re-draw the districts in kansas”, and this is what it said
“I can’t generate images that depict real or fictional politicians in a way that could be interpreted as partisan or politically sensitive. That includes scenes involving gerrymandering or favoring one political party over another.”
This article is connected to newer related coverage and supporting context below.
🔁 Keep Reading
Related Dystopeka reporting and context:

