Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T12:59:56.751Z Has data issue: false hasContentIssue false

Gerrymandering and Compactness: Implementation Flexibility and Abuse

Published online by Cambridge University Press:  16 December 2020

Richard Barnes*
Affiliation:
Energy & Resources Group, UC Berkeley, Berkeley, CA 94720, USA. Email: richard.barnes@berkeley.edu Berkeley Institute for Data Science, UC Berkeley, Berkeley, CA 94720,  USA Computer Science and Artificial Intelligence Laboratory (CSAIL), MIT, Cambridge, MA 02139,  USA. Email: jsolomon@mit.edu
Justin Solomon
Affiliation:
Computer Science and Artificial Intelligence Laboratory (CSAIL), MIT, Cambridge, MA 02139,  USA. Email: jsolomon@mit.edu
*
Corresponding author Richard Barnes
Rights & Permissions [Opens in a new window]

Abstract

Political districts may be drawn to favor one group or political party over another, or gerrymandered. A number of measurements have been suggested as ways to detect and prevent such behavior. These measures give concrete axes along which districts and districting plans can be compared. However, measurement values are affected by both noise and the compounding effects of seemingly innocuous implementation decisions. Such issues will arise for any measure. As a case study demonstrating the effect, we show that commonly used measures of geometric compactness for district boundaries are affected by several factors irrelevant to fairness or compliance with civil rights law. We further show that an adversary could manipulate measurements to affect the assessment of a given plan. This instability complicates using these measurements as legislative or judicial standards to counteract unfair redistricting practices. This paper accompanies the release of packages in C++, Python, and R that correctly, efficiently, and reproducibly calculate a variety of compactness scores.

Information

Type
Article
Copyright
© The Author(s) 2020. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 Reock and Convex Hull scores for Louisiana 01 shown with both the PS and PT interpretation depicted. It is coincidental that ReockPT and ReockPS are the same here. Note that for both the ReockPT and CvxHullPT scores the hull polygons overlap; this overlap is potentially problematic since it could be considered double-counting.

Figure 1

Figure 2 Wisconsin’s 61st Assembly District showing noncontiguous regions. See text for discussion. Figure drawn from (Legislative Technology Services Bureau 2017).

Figure 2

Figure 3 Absolute value of differences in definitions of scores for districts of the 114th Congress. Shown are CvxHullPT vs. CvxHullPS and ReockPT vs. ReockPS. Districts are only shown if their score changed between definitions and they were part of a multidistrict state, giving 47 data points for CvxHull and 38 for Reock. The data resolution was 1:500,000.

Figure 3

Figure 4 Holes, islands, and narrow regions. The region shown is drawn from Wisconsin$^{\prime }$s Assembly Districts (Legislative Technology Services Bureau 2017) and shows how poor digitization or subsequent simplification can lead to subtle data issues that are not visually apparent without significant magnification. Many borders are axis-aligned. Such alignment may reflect reality, but may also be an artifact arising from discretization of input data, demarcation choices, simplification algorithms, or even the visualization software. Regardless, axis alignment causes numerical issues in many simple geometric algorithms.

Figure 4

Figure 5 Effects of constraining compactness measures using the boundaries of political superunits for the 144th Congress. The convex hull and, for the Reock score, the minimum bounding circle were cropped to state borders before being used to calculate scores. Only districts which were part of multidistrict states and whose scores changed are shown: 215 for the convex hull and 320 for the Reock, of 441 total. District and state data were at 1:500,000 resolution.

Figure 5

Figure 6 Electoral districts of the 114th Congress including maritime regions. Two datasets of electoral districts are overlaid. The gray area depicts electoral district boundaries cropped to coastlines whereas the dashed red line indicates the full extent of the electoral districts. Note the growth of the district$^{\prime }$s areas and the relative smoothness of the perimeters. Data were drawn from the US Census Bureau (United States Census Bureau 2016); cropped data is from the Cartographic Boundaries dataset, for example, cb_2015_us_cd114_rr.zip, whereas uncropped data are from the TIGER/Line dataset, for example, tl_2015_us_cd114.shp.

Figure 6

Figure 7 Misaligned boundaries. Different sources of data place state and district boundaries in different places. The border shown here lies between Maryland 06 and West Virginia 01. The “true boundary” is drawn from data at 1:500,000 resolution and is shown by the transition between solid colors, while the black line shows the same boundary using 1:5,000,000 data. Differing data resolutions is only one instance in which a mismatch might occur: Shifts in data (as from projections), differing collection procedures, or deliberate manipulation are all possible as well.

Figure 7

Figure 8 Approximate percent uncertainty in area introduced by border misalignment. Areas with especially high uncertainty are usually coastal where the lower resolution data introduce significant areas of water into a district. Using the data from Figure 7, an exclusive-or on each district and state yielded areas of misalignment. Districts and states were shrunk and expanded to form border outlines which were intersected with the exclusive-or thereby limiting misalignment to border areas. The remaining area divided by the original, high-resolution areas gives the percentage. A few especially small districts ($<$10 km$^2$) were culled from the analysis as this method made the entirety of the districts uncertain.

Figure 8

Figure 9 Change in score between a locally optimized projection and nationally and globally optimized projections for all electoral districts of the 114th Congress. Each district was projected into locally fitted Lambert Conformal Conic and Albers Equal Area Conic projections; into conterminous US (CONUS)-fitted Albers Equal Area (EPSG:102003), Lambert Conformal Conic (EPSG:102004), and Equidistant Conic (EPSG:102005) projections; and into globally fitted Mercator, Robinson, Molleweide, and Gall stereographic projections. For each district, the maximum range between any value in the local group and any value in the conterminous and global groups was calculated. For the conterminous projections, boxplot bodies appear as thin black lines indicating the bulk of districts experienced negligible change under different projections; in fact, the 99th quantile score across all districts was 0.009. The outlier is Alaska, for which a conterminous projection should never be used due to excessive distortion. If the entire United States, including Hawaii and Alaska, needs to be processed at once, Snyder$^{\prime }$s GS50 projection (Snyder 1984) is a good choice as it provides $<$2$\%$ scale distortion throughout this region. Data were at 1:500,000 resolution.

Figure 9

Figure 10 Difference in Polsby–Popper scores when calculated on the plane versus with topography. Topography-inclusive area of districts was calculated using the 30m USGS National Elevation Dataset (U.S. Geological Survey (USGS) 2016). Districts were cropped using 1:500,000 resolution boundaries from the US Census Bureau for the 114th Congress (United States Census Bureau 2016). Surface area was calculated using RichDEM’s implementation (R. Barnes 2016) of an algorithm by Jenness (2004). Perimeter was taken as the summed length of all the cells at the edge of a district and was constant with respect to topographic considerations.

Figure 10

Figure 11 Effect of polygon simplification on districts and their compactness scores. Districts from the 114th Congress are shown at 1:500,000 (500k), 1:5,000,000 (5m), and 1:20,000,000 (20m) resolution. Simplification was performed by the US Census Bureau using in-house algorithms that ensure border alignment. Here, PP stands for PolsbyPTAH while CH stands for CvxHullPT; note how these scores change with resolution. Kentucky 03 encompasses metropolitan Louisville and is bounded on the north by Kentucky’s state border and the Ohio River. Louisiana 01 is bounded by the Mississippi Delta, divided by Louisiana 02, and includes unexpected parts of New Orleans. After simplification, the rough edges of Kentucky 03 disappear, as do entire bays and islands in Louisiana 01.

Figure 11

Figure 12 Effect of resolution on compactness scores. Scores were calculated for districts from the 114th Congress at resolutions 1:500,000 (500k), 1:5,000,000 (5m), and 1:20,000,000 (20m). Score differences versus the 1:500,000 values are shown for those districts whose scores changed. Area and perimeter values are log-transformed.

Figure 12

Figure 13 Effect of polygon simplification on compactness scores. Districts from the 114th Congress were simplified by Shapely (Gillies et al.2007) using a topology-preserving algorithm from GEOS (OSGeo 2017) with the indicated tolerances.

Figure 13

Figure 14 The Koch Snowflake (Von Koch 1904) shown for its first eight levels of resolution (the 0th level is omitted). At each resolution both the shape and boundary of the snowflake are visually similar, especially at higher resolutions; however, the levels have markedly different scores. For each increase in resolution the Polsby–Popper score decreases by 77% and the Schwartzberg score by 33%. After initial increases, the Convex Hull and Reock scores stabilize.

Figure 14

Figure 15 Implementation affects ranking. Here, the compactness scores for the 114th Congress at 1:500,000 resolution are plotted for two different interpretations of the convex hull score. Only the 136 out of 441 districts whose score changed as a result of the differing interpretations are shown.

Figure 15

Figure 16 Correlations of rankings. Rankings of compactness scores for the 114th Congress at 1:500,000 resolution are compared against each other using Spearman’s rank correlation coefficient. A value of one indicates perfect agreement of relative rankings while a value of zero indicates no correlation.

Figure 16

Figure 17 Applied gerrymandering: abusing implementation flexibility. This figure shows several districts from the 114th Congress that appear incontrovertibly gerrymandered. We compare their compactness versus other districts in their state and nationally. The compactness scores of all the districts are shown in histograms with a black line indicating where the focal district falls in each distribution. Compactness ranges from 0 on the left-hand side of each histogram to 1 on the right. Scores for districts were generated by performing a grid search over a range of values for each implementation choice and choosing those values which minimized and maximized the difference between a districts’ compactness score and the mean compactness score across all districts; that is, we found the choices which made each district look both the most gerrymandered as well as the most reasonable. Further details for the figure are in Table 1.

Figure 17

Table 1 Applied gerrymandering: abusing implementation flexibility. This table shows the choices made to produce the histograms shown in Figure 17. Recall that each of district which appeared incontrovertibly gerrymandered was paired with two histograms, one of which made the district’s compactness score seem like an outlier and the other of which made it seem reasonable. The districts’ scores are listed here, along with the absolute value of their difference from the mean of the distribution. The set of implementation choices made for each distribution is also shown: the compactness score, the simplification tolerance of the data, the map projection, and whether or not districts which comprised the entirety of their political superunit (districts in which a choice of boundaries was not possible) were included.

Supplementary material: Link

Barnes and Solomon Dataset

Link