UPDATE: In the comments, dr z kindly posted links to the students’ open source code, and to their original research paper. I’m posting links here to the research paper and infographic in case anyone who isn’t participating in the comments wants to read them:
Hacking The Election | Infographic
—————
Back in 2020, three middle school students from Eastern New York solved the issue of gerrymandering, and their team leader won a $10,000 STEM prize for it. Kai Vernooy, James Lian, and Arin Khare devised a method for determining the level of gerrymandering in a state, and then applied a mathematical algorithm to draw fair and balanced districts. Coincidentally, in this 2020 article from Forbes about their project, Alabama was used as an example.
Kai explained that, “Alabama is a good example of a state that has experienced partisan gerrymandering over the last decade. In the 2010 redistricting cycle, Republicans drew district lines to pack together several major Democratic communities into a single district, ensuring that Democrats were only elected to one seat. Alabama's District 7, shown here in yellow, reaches into several other districts' regions to pick out Democratic voters.”
The Forbes article at the link above describes the three students’ methodology to solve the problem of gerrymandering. Personally, I would like the court to apply it to Alabama when they redraw the state’s districts. Heck, I would like to see gerrymandering undone in every state in the country, but I’d be happy to start with Alabama.