Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 3.01 KB

README.md

File metadata and controls

61 lines (35 loc) · 3.01 KB

🗺️ Gerrymandering Impossibility Theorem Simulation

📚 About This Repository

This repository contains a comprehensive simulation and analysis toolkit for exploring the Impossibility Theorem for Gerrymandering, as described in the work of Alexeev and Mixon. Our project aims to provide a deeper understanding of the complexities involved in creating fair districting systems and the challenges in detecting and preventing gerrymandering.

🎯 Key Objectives:

  1. Develop a sophisticated simulation model for generating various districting scenarios.
  2. Evaluate the implications of different districting strategies on electoral fairness and efficiency.
  3. Refine and enhance the analysis of the interplay between voter distribution homogeneity, population balance, and geometric compactness in districting.

🧪 Repository Contents

📊 Simulation and Analysis

  • simulation.ipynb: The core simulation code for the impossibility theorem.
  • data_analysis.ipynb: Jupyter notebook for analyzing simulation outputs saved as CSV files.

🖥️ Interactive Visualization

  • district_visualization: Folder containing a Python app that provides an interactive version of the simulation.
  • interactivebook.ipynb: Jupyter notebook version of the district visualization web app.
  • Live Demo: Try out our interactive visualization app!

📄 Documentation

  • pdf: Folder containing related academic papers and resources.

🔬 About the Research

Our research builds upon the foundational concepts laid out in "An Impossibility Theorem for Gerrymandering" by Alexeev and Mixon. We focus on computationally enhancing existing models to simulate and scrutinize the effects of varied district configurations on election results.

The core challenge we address is the development of objective, quantifiable measures to evaluate the fairness of district boundaries. Our approach combines mathematical rigor with practical applicability, offering insights valuable for policymakers, political analysts, and engaged citizens.

🔑 Key Concepts

  • Districting System: A method of dividing a larger electoral area into smaller districts, aiming for balanced populations and geometric compactness.
  • Gerrymandering: The manipulation of electoral district boundaries for political gain.
  • Efficiency Gap: A measure of wasted votes used to assess the fairness of district boundaries.

🚀 Getting Started

  1. Clone the repository
  2. Install required dependencies (list them here or refer to a requirements.txt file)
  3. Explore the Jupyter notebooks to run simulations and analyze results
  4. Check out the interactive visualization in the district_visualization folder

🤝 Contributing

We welcome contributions!

📞 Contact

mahdisaeediv@gmail.com


We hope this repository serves as a valuable resource for those interested in the mathematical and computational aspects of electoral fairness and the challenges of gerrymandering. Happy exploring!