All Politics is Local: Redistricting via Local Fairness††thanks: This work is supported by NSF grants CCF-2113798, IIS-1814493, CCF-2007556, and CCF-2223870.
Abstract
In this paper, we propose to use the concept of local fairness for auditing and ranking redistricting plans. Given a redistricting plan, a deviating group is a population-balanced contiguous region in which a majority of individuals are of the same interest and in the minority of their respective districts; such a set of individuals have a justified complaint with how the redistricting plan was drawn. A redistricting plan with no deviating groups is called locally fair. We show that the problem of auditing a given plan for local fairness is NP-complete. We present an MCMC approach for auditing as well as ranking redistricting plans. We also present a dynamic programming based algorithm for the auditing problem that we use to demonstrate the efficacy of our MCMC approach. Using these tools, we test local fairness on real-world election data, showing that it is indeed possible to find plans that are almost or exactly locally fair. Further, we show that such plans can be generated while sacrificing very little in terms of compactness and existing fairness measures such as competitiveness of the districts or seat shares of the plans.
1 Introduction
Redistricting in the United States is the process of partitioning a state into districts, each of which elects one representative to the Congress, for the most part, via simple majority voting. As of April 2022, one year after the US Census Bureau released the results of the 2020 decennial census, 41 out of the 50 states have finished redrawing the congressional redistricting plans for the next decade [29]. This process has triggered numerous debates and litigation along the way. Much of this debate centers on whether the plans are gerrymandered so that one of the two parties gets more representatives. Given its high-stakes impact and mathematical richness, there has been persistent interest in tackling redistricting as an algorithmic question since the early s [7].
There is ongoing debate around what a “desirable” redistricting plan should be. It is commonly agreed that “desirable” plans should, at minimum, produce population balanced, contiguous, and compact districts [1]. Beyond this basic agreement, there is still debate on richer notions of desirability, particularly notions related to the “fairness” of a plan. This has motivated a long line of recent work [15, 14, 23] as well as software tools [4, 29] on auditing a given redistricting plan against various fairness concepts. Some of these concepts have since been adopted in Wisconsin’s and Michigan’s redistricting efforts [11]. It should be noted that under most notions of desirability proposed in literature, the problem of redistricting is computationally hard [27], leading to the study of heuristic approaches, which we outline later.
Global versus Local Fairness. Zooming into fairness criteria, most extant notions of fairness focus on the global outcomes of the redistricting plans, e.g., whether the seat shares proportionally represent the demographics [41], or how competitive the districts drawn are [14]. However, it is argued in [5] that global metrics do not always distinguish between natural gerrymandering – when the distribution of voters unavoidably prohibits certain globally fair outcomes – and artificial gerrymandering – when the plans are manipulated to favor a demographic group. This issue is typically addressed via statistical tests [15]: a probabilistic method is used to generate an ensemble of population balanced, contiguous, and compact plans, and the global fairness score in question is computed for each of these plans, yielding a histogram of scores. The plan in question is deemed “fair” if its global fairness score is not an outlier in this histogram.
Global fairness, such as proportional seat shares, despite being desirable and statistically testable, may not represent the local concerns of voters. For instance, imagine the blue party cares about rising sea levels and climate change, while the red party does not. In North Carolina, if at least one seat on the eastern coast has blue majority, that representative may advocate to mitigate the impacts of climate change to the coastal residents on the state or federal level. On the other hand, a better seat share may lead to a plan in which all districts near the coast have red majority, while the districts in the western mountains have blue majority. However, the latter set of representatives may not advocate for issues impacting the coastal residents, since it is not of local concern to the geographic area. This motivates the need for local fairness as a separate fairness measure, capturing at some level the saying “all politics is local”.
Borrowing the notion of core from cooperative game theory, the work of [5] defines local fairness notion as follows: given a redistricting plan, a voter is unsatisfied if the majority demographic in her district does not match her own demographic. A redistricting plan is locally fair if no group of unsatisfied voters could deviate and draw a different district such that this group of unsatisfied voters has a majority in the new district.
As in the scenario above, such a local notion of fairness has the advantage of capturing justified complaints of groups of voters, as has happened in earlier court judgements [2]. It also provides a way of auditing enacted plans without resorting to statistical tests, making it more human interpretable and explainable.
Research Questions. The notion of local fairness is appealing; however, the analysis and results in [5] are theoretical and apply only to a simplified one-dimensional model. In this paper, we develop algorithms to audit plans for local fairness, and systematically study this concept on real-world electoral data. In particular, we study the following questions:
-
•
Given a redistricting plan, can we efficiently test (or audit) whether the plan is locally fair?
-
•
Are locally fair plans achievable in real redistricting tasks? If not, can we quantify how far a given plan is from being locally fair?
-
•
Is local fairness empirically compatible with other existing global fairness concepts?
1.1 Related Work
Redistricting as Optimization. We first focus on the task of drawing plans, or computational redistricting. The idea of using computational tools in redistricting dates back to the 1960s [39, 24]. Since then, an extensive line of work (see [7] for a comprehensive survey) cast the redistricting task as an optimization problem, in which the input contains only spatial location of individuals, but not their political affiliations. The objective and constraints capture the population balance, contiguity, and compactness criteria of the districts. This problem is computationally intractable in the worst case [13], and multiple algorithmic approaches have been proposed, including Voronoi diagrams [28, 20], local search [26], simulated-annealing and hill climbing [6], and spatial evolutionary algorithms [31]. On the flip side, it is argued in [10, 42] that such “neutral” districting plans – as outputs of algorithms without political inputs – may contain unintentional biases, as well as unexpected outcomes such as “natural gerrymandering” [8, 19], i.e., the geographic distributions of voters naturally lead to disproportionate seat shares. Therefore, fairness objectives such as partisan representativeness are typically incorporated into the redistricting problem as objectives; however, these additional requirements further add to the computational difficulty of the problem [27].
Ensemble Approaches to Redistricting. Instead of optimizing and finding a single best redistricting plan, another line of work focuses on generating a large ensemble of districting plans, with the hope of some of these plans being fair. These methods include Flood Fill [12, 32], Column Generation [21], and the widely adopted Markov Chain Monte Carlo (MCMC) approach [38, 18, 30]. The latter approach samples from the space of feasible plans with a bias towards “desirable” or fairness properties. For instance, it is shown in [35] that the widely used ReCom MCMC method [15] provably biases towards compact plans. We provide a more in-depth description of ReCom in Section 3. The work of [17] proposes a method for choosing one representative plan from such an ensemble based on defining distances between plans.
Auditing and Combating Gerrymandering. A somewhat different question from constructing a desirable plan is the question of auditing a given plan for desirability and fairness. As mentioned before, ensemble based approaches provide a natural, statistical way of auditing [23, 22]: The properties of the enacted plan is compared against the histogram of the corresponding property on the ensemble; if the plan is a statistical outlier, then it is considered more “gerrymandered” and hence less desirable. The recent work of [30] instead uses plans in the ensemble as comparators to identify manipulation in redistricting plans. On the non-statistical side, numerous approaches to auditing have also been proposed via appropriate desirability scores. These are either scores based on compactness of the plan (such as the Reock [36] and Polsby-Popper [34] scores), or scores based on partisan outcomes generated by the plan (such as the efficiency gap [37], mean-median gap [40], partisan symmetry [41], and the GEO metric [9]), or scores based on competitiveness of the plan [14]. Many of these measures are used in publicly available tools [4, 3]. Finally, there is a recent line of work that attempts to eliminate gerrymandering by completely revamping the winner-takes-all, single-member district mechanism into a multiwinner election [19].
1.2 Our Contribution
In this paper, we take the standard view of redistricting as partitioning a planar graph on precincts into population-balanced, contiguous, and (in a heuristic sense) compact regions. We naturally extend the local fairness concept proposed in [5] to this task.
We first focus on the question of auditing a given plan for local fairness, that is, the non-existence of a population-balanced contiguous region in which a majority of voters are of the same party and is minority in the given plan. We show that this problem is computationally intractable in the worst case. Our first contribution is two heuristics for the auditing problem. Our first approach, that is scalable and practical, extends existing ensemble-based methods in a novel way: we assume the districts in the ensemble are the only districts to which voters can deviate, and given a plan to be audited, we test each of these districts as a potential deviation on that plan. Our second approach drills deeper into plans where the ensemble based method finds no deviating group; indeed, if the method found a deviating group, the plan was already deemed not locally fair. On the former set, we generate several random spanning trees, and devise a polynomial time dynamic programming algorithm that audits each tree for local fairness. If any of these audits finds a deviating group, the original plan was not locally fair. The dynamic program is not as efficient as the ensemble-based method; however, we provide empirical evidence that the ensemble method suffices to deem a plan locally fair, and the dynamic program typically does not find additional compact deviating groups. Finally, for redistricting plans that are not locally fair, we propose a measure that quantifies the unfairness of the plans by the portion of population with a justified complaint.
As our second contribution, we empirically study the notion of local fairness on real data on recent elections in the US. We generate plans using the (by now) standard ReCom [15] ensemble method, and audit each plan for local fairness using the ensemble method, thereby producing an ordering of the plans via our unfairness measure. We empirically show that applying the criterion of local fairness prunes the space of candidate plans considerably, while still returning a set of potential candidates. Most global and statistical notions of fairness fail to do such pruning, since they are endogenously defined relative to the order statistics on the ensemble. We further show that not only is local fairness achievable on real redistricting tasks, but it is also compatible with extant global fairness properties. Indeed, when we compare locally fair plans and those with many deviating groups, the former tend to be just as compact, have comparable seat share outcomes, and sacrifice only a small amount of competitiveness. Thus local fairness can be used as an additional fairness criterion in conjunction with a global fairness criterion. We also investigate robustness of the local fairness concept, and show that fair redistricting plans remain consistent across different elections used. We finally show visualizations of fair and unfair plans; in particular showing that the visualization of deviating groups makes the local fairness notion explainable.
Taken together, our results demonstrate local fairness as an effective pruning criterion for candidate redistricting plans while sacrificing little in other desired properties. We also note that in practice, there could be other considerations when choosing the “best” plan even among many locally-fair plans; we leave the question of choosing these considerations to policy makers.
2 Model and Preliminaries
In keeping with recent literature [16, 15, 13, 21], the input to the redistricting problem is a planar connected graph where each vertex represents an indivisible geographic unit (a precinct or a census block),111Typically, precincts are not split by redistricting plans [15]. and an edge is placed between two vertices if they are geographically adjacent. Going forward, we refer to each as a precinct and as the precinct graph.
Redistricting Plans. For each precinct , let denote its population and let denote the number of voters in .222We assume that we know the exact number of people who cast a vote in each precinct, along with which candidate they voted for, such as is available for historical elections. We let and denote the fraction of who vote red and blue, respectively. Note that it is assumed each individual voter is exactly one of the two colors. For an arbitrary subset of precincts , set , , , and .
Definition 1 (-redistricting plan).
A -redistricting plan of is a partition of into pairwise-disjoint subsets , called districts. Each district assumes the color of the majority of its voters. For a redistricting plan , let (resp. ) denote the set of precincts in blue (resp. red) districts in .
In the following, we fix an error parameter , and the desired number of partitions . Note that the average population per district is . We say a district is -feasible if: (1) induces a connected subgraph, and (2) the population of is at most away from average, i.e., . A redistricting plan is -feasible if each district is -feasible.
We note that this definition of an -feasible plan is consistent with the general practice in the U.S, where the sizes of districts should be balanced in terms of their population, based on census information, not in terms of the number of eligible voters. Since and will be fixed throughout, we drop the prefixes and refer to -redistritcting plans and -feasible districts as redistricting plans and feasible districts, respectively.
Local Fairness. We extend the notion of local fairness proposed by [5] to the graph-based redistricting problem. We say that a feasible district is red-majority (red in short) if , and blue-majority (blue) otherwise. We call this majority color as the color of . Given a redistricting plan , any voter whose color agrees with the color of its assigned district in is deemed happy with respect to , and the remaining voters are unhappy.
Definition 2 (-locally fair).
Given a feasible redistricting plan of and a constant , a feasible district is a red -deviating group with respect to if is red and at least a -fraction of its voters are unhappy red voters in , or formally, A blue -deviating group is defined analogously. We call a feasible redistricting plan of -locally fair if there are no red or blue -deviating groups with respect to .
When , only a simple majority of voters in a deviating group must be unhappy. In this special case, we omit the prefix by referring to red deviating groups, blue deviating groups, and locally fair redistricting plans. Throughout, we refer to locally fair redistricting plans as fair plans.
We are thus interested in the following two problems.
- LF Auditing problem.
-
Given a feasible redistricting plan and a parameter , decide whether is -locally fair.
- LFP Generation problem.
-
Given a precinct graph and parameters and , compute a feasible redistricting plan of such that is -locally fair, or report that none exists.
For a redistricting plan that is not locally fair, we quantify its degree of unfairness as follows. Consider all deviating groups of , and define the unfairness score of as the fraction of all voters that are unhappy in some deviating group. Formally, let
denote the set of red precincts that lie in some blue deviating group of . Similarly, define . Then the unfairness score of is defined as:
This score captures the fraction of voters that are both (i) unhappy in and (ii) in the majority color of some deviating group of . Note that , and equals zero if is locally fair.
Compactness. In addition to requiring that districts be contiguous and population balanced, many redistricting models also require that the districts be compact. However, in contrast to the former two criteria, there is no universally agreed measure of compactness [7, 21]. For example, the Princeton Redistricting Report Cards333https://gerrymander.princeton.edu/ uses Reock [36] and Polsby-Popper [34] scores, both of which are derived from the area and perimeter of the geographic districts drawn. It also uses the number of counties split into multiple districts. In the discrete model of precinct graphs, one common measure of compactness is the number of cut edges formed by the plan, i.e., the number of edges whose endpoints lie in different districts of [15, 13]. Though we do not enforce compactness in the generation and audit problems, the algorithms we use are biased towards compact plans, as we empirically demonstrate.
3 Heuristics for Efficiently Auditing Local Fairness
In Appendix A, we prove that both the LF Auditing and LFP Generation problem are NP-complete, thereby necessitating heuristic or approximately optimal approaches.
Our main contribution in this section is efficient heuristics for LF Auditing. The methods trade off computational efficiency for accuracy in determining local fairness. We describe the types of inaccuracy (one-sided versus two-sided error) that arise after describing the methods. We also provide empirical evidence that the more computationally efficient of these methods suffices to deem plans as locally fair. For LFP Generation, we simply generate an ensemble of feasible redistricting plans using existing MCMC approaches, and run the LF Auditing algorithm to find the unfairness score for each generated plan , thereby ranking the plans in the ensemble in terms of fairness.
3.1 Ensemble-based Auditing
The computationally more efficient approach makes use of ensembles in a novel way as follows:
-
1.
Generation. Generate an ensemble of redistricting plans .
-
2.
Districts to test. Let be the collection of districts in the plans in .
-
3.
Audit. Treat as the candidate set of deviating groups. For each plan , compute if each is a -deviating group (either red or blue). This step yields, for each , the set of precincts in blue deviating groups (which we use as an approximation of ), and similarly . We then use and to compute the unfairness score for each .
For the first step of an ensemble of plans , we use the ReCom algorithm [15]. This algorithm develops a Markov Chain whose state space is the full set of (-)feasible (-)partitions of . In each step, it randomly combines two (or more in its general form) districts of the current redistricting plan, generates a random spanning tree of the subgraph induced by the combined districts, and re-partitions the subgraph into two parts by cutting edges in the spanning tree so that the new resulting districts remain population balanced. The random spanning tree step biases the Markov chain towards plans with compact districts, where compactness is measured by number of cut edges [35].
In the remainder of the paper, we describe our auditing framework when ReCom is used as the ensemble generation technique. We note however that we can use any other method that produces compact plans, for instance, iterative-merging flood-fill algorithms [10].
3.2 Auditing via Dynamic Programming on Trees
The ensemble-based LF Auditing method makes one-sided error – if it finds a deviating group, then the plan is not fair, while the absence of a deviating group from only means the plan is likely fair. Indeed, in our experiments, there are often multiple redistricting plans that the ensemble-based audit deems likely fair, calling for a more systematic method for further analyzing the candidate plans that are potentially fair. This motivates the approach we now describe.
We show that the LF Auditing problem is efficiently solvable if is a tree. We then exploit this fact and use this as a heuristic to solve LF Auditing on a general planar graph , given partition , as follows:
-
1.
Random spanning trees. First generate a collection of random spanning trees of .
-
2.
Audit each tree. For each tree , decide if there exists a feasible deviating group with respect to such that this district is a connected subtree of . Note that such a district will also be a connected subgraph in .
We implement step for a tree using dynamic programming. We check for the existence of a blue deviating group for in a tree as follows; the case for red groups and larger follows similarly. Note that the range for the size of a district is , where . For each precinct , let denote the district that contains in . Let the number of unhappy blue individuals in precinct be denoted if , and zero otherwise. The task is to decide whether there is a connected subtree such that and .
For each , let be the subtree of rooted at . For a vertex and two parameters , let denote the maximum number of unhappy blue voters in a subtree such that , , and . To compute , we take the best subset of children of such that unhappy blue voters are maximized subject to population and voter constraints.
For a leaf of , if and , and otherwise.
Next, let be an internal node of . Let denote the set of ’s children in . Let and . We have
(1) |
To compute the second term in Equation (1) efficiently, let denote the maximum number of total unhappy blue voters in a union of subtrees rooted at with total voter count at most and total population level . The second term of the RHS in Equation (1) is . We then have for all , and for all we have
(2) |
The algorithm thus proceeds by computing all in an outer loop in increasing order of and and in bottom-up order of . Each computation of proceeds with an inner loop that computes in increasing order of , , and . For each , after computing all , we check if there is any such that . If so, there exists a blue deviating group rooted at with population , total voter count at most , and total number of unhappy blue voters .
Time complexity. The algorithm computes values of , each computing values of . Computing each requires -time to loop through all values of and . Hence the overall time complexity is . We conclude the following.
Theorem 1.
LF Auditing problem on a tree can be solved in time . Here, is the maximum degree of a node in .
Ensemble-based Auditing is Approximately Sufficient
The dynamic programming method is less desirable because of two significant limitations. The first is its running time, which is prohibitively high for practical use. The second limitation is the introduction of a different type of error from the ensemble-based method. Note that as with the ensemble-based method, the non-existence of a deviating group in the DP only provides high confidence (but not absolute certainty) about the plan being locally fair. At the same time, there is a more subtle type of error the DP can make in the other direction: even if it finds a deviating group on the tree, this may not be a compact deviating group in the original graph. Therefore, the algorithm can output “not locally fair" when the only deviating groups are non-compact. We therefore need a final step where we check the deviating group to see that it is both feasible and compact on the original graph.
In Appendix B.1, we first show approaches to speed up the running time of the dynamic program to make it practical. In Appendix B.2, we describe additional assumptions under which the dynamic program runs efficiently, we empirically show that it fails to find compact -deviating groups in plans that the ensemble-based audit method deems -locally fair, for slightly larger than . On the other hand, it easily finds such deviating groups in plans that the ensemble-based method deems unfair. In summary, the dynamic programming approach obviates its own use in practice, since we provide strong evidence that the ensemble-based auditing method suffices in order to deem redistricting plans as locally fair, assuming the strength of the deviating group is relaxed slightly.
4 Experiments
In our experiments, we attempt to answer the following questions. First, is local fairness achievable on real redistricting tasks? Second, is it compatible with extant measures of global fairness? Finally, is the notion robust if the underlying data changes? Given the previous discussion, our experiments in this section focus exclusively on the ensemble based method. In Appendix B we discuss the experiments for auditing via dynamic programming.
4.1 Datasets and Methods
All data used in our experiments is obtained from the MGGG States open repository [33]. We obtain shapefiles and precinct graphs for Massachusetts (MA), Maryland (MD), Michigan (MI), North Carolina (NC), Pennsylvania (PA), Texas (TX), and Wisconsin (WI).444These are chosen to represent a spectrum from states whose elections are typically competitive (e.g., NC and WI) to states whose elections are typically lopsided (e.g., MA and TX). We set to the 2010 census total population in each precinct . The default election we use is the 2016 presidential election, while the 2012 presidential election is also used in the robustness tests. For each precinct , we collect the number of total votes for the Republican party and the total vote amount for the Democrat party in the 2016 presidential election from [33]. We set , , and , so is the total number of red (Republican) and blue (Democrat) voters.
Using the ReCom algorithm, we generate an ensemble of redistricting plans for each state.555Note that ReCom generates plans without taking into account electoral data. Each ensemble consists of redistricting plans, each being the outcome of an independent -step Markov chain (with default population balance parameter ) seeded with a recent congressional electoral plan of the state. We set to be the number of congressional districts in the 2016 election in each state. We then obtain the collection of candidate districts for each state by taking the union of the districts in each plan in the ensemble. The properties of input graphs of states and their corresponding ensembles are summarized in Table 1.
State | ||||||
---|---|---|---|---|---|---|
MA | 2.1K | 5.9K | 6.55M | 5.13M | 9 | 8.5K |
MD | 1.8K | 4.7K | 5.77M | 4.42M | 8 | 7.8K |
MI | 4.8K | 12.5K | 9.88M | 7.54M | 14 | 14.0K |
NC | 2.7K | 7.6K | 9.53M | 7.25M | 13 | 12.9K |
TX | 8.9K | 24.7K | 25.14M | 18.28M | 36 | 35.9K |
PA | 9.2K | 25.7K | 12.70M | 9.91M | 18 | 18.0K |
WI | 7.1K | 19.5K | 5.69M | 4.35M | 8 | 7.87K |
State | MA | MD | MI | NC | PA | TX | WI |
---|---|---|---|---|---|---|---|
100% | 26.7% | 0.3% | 4.9% | 12.0% | 2.8% | 76.9% | |
100% | 27.0% | 1.6% | 8.7% | 28.6% | 5.4% | 83.6% | |
100% | 28.0% | 11.9% | 14.8% | 41.4% | 8.7% | 87.2% | |
100% | 31.5% | 35.2% | 63.9% | 95.2% | 26.0% | 94.0% |
4.2 Locally Fair Plans: Counts and Visualizations




We first use the ensemble-based audit method to audit each plan in the ensemble against the set of districts from the entire ensemble. For each , we count the number of plans in the ensemble without -deviating groups in . We present the results in Table 2. For all values of , there exists plans in the ensemble that admit no -deviating groups in and thus are identified locally fair by the ensemble-based algorithm. Clearly, a larger value of implies more plans are identified as locally fair. With , very few (but a non-zero number of) plans are identified as fair in four of the seven states. Every plan in the MA ensemble is identified as fair with all districts won by one party. Hence, we omit MA from all subsequent experiments.
In Figures 1(a) and 1(c), we present examples of fair plans (with no -deviating groups) in NC and PA respectively, while in Figures 1(b) and 1(d), we present “unfair” plans with many -deviating groups. We show visualizations for other states in Appendix E.






We note that a large fraction of plans are locally fair in some states (WI), while others have many deviating groups, even for a large setting of (MI). To understand where deviating groups are located, in Figure 2, we plot a heat-map of the precincts, counting the number of -deviating groups (of either color) that contain that precinct, with yellow representing large counts and purple representing low counts. In every state except MD,666We discuss MD in more detail in Appendix E. we observe that precincts with highest counts are located either in an urban area or in proximity of one. This phenomenon is consistent with the perceived correlation between voter distribution and type of residence [8, 42]. In states with multiple dense urban areas (e.g., NC), there is sufficient flexibility in the redistricting process to “crack” a highly-concentrated urban demographic into multiple districts. In this case, the urban area may form a deviating group resulting in high numbers of unfair plans.
We note that our visualizations – in particular, the deviating groups in unfair plans, as well as the heat-map of likelihood of unhappiness of a precinct – make the local fairness concept explainable.



4.3 Compatibility with Extant Fairness and Compactness Notions
The ensemble-based auditing approach can be viewed as a pruning method that identifies a subset of plans as locally fair. We now ask: how do locally fair plans perform on extant global fairness and compactness criteria compared to average plans in the ensemble? Towards this end, for , we rank the plans in the ensemble by the unfairness score . We compare properties of the top 5% plans in the ranking (which are most locally fair) against the entire ensemble, as well as a recent enacted congressional redistricting plan.777If more than the of the plans are locally fair, we take an arbitrary subset of the locally fair plans to serve as the top .
Seat share outcomes. For each plan, we compute Blue%, the percentage of seat shares claimed by the Democratic candidate. The resulting distribution is shown in Figure 3(a). The seat share distributions of the top 5% locally fair plans are comparable to the entire ensemble, sometimes achieving lower variance.
Number of competitive districts. The Princeton Gerrymandering Project [4] defines a district as competitive if the majority color is at most % of the total votes. Following this definition, in Figure 3(b), we compare the percent of competitive districts in a plan. The locally fair plans produce slightly fewer competitive districts: since larger majorities reduce the number of unhappy voters, finding a deviating group becomes harder. However, there exist fair plans that produce the median percentage of competitive districts in the ensemble in all but one state, and they are comparable with or better than the enacted plan in all states. We present results using a different competitiveness metric in Appendix C.
Minimum compactness. Another measure of quality of districting plans is compactness – a non-compact district not only makes less geographic sense, but is also more likely to have been gerrymandered to favor one party over another. Two commonly used metrics to evaluate the compactness in redistricting plans are the average and minimum Polsby-Popper scores [34] of the districts in the plan [4]: For a district , the Polsby-Popper score is defined as where and are the area and the perimeter of the planar region , respectively; a higher value implies a more compact district. In Figure 3(c), we show that the minimum compactness of the locally fair plans remains comparable to that of the entire ensemble. We present results on the average Polsby-Popper score in Appendix C.
Taken together, our results show that local fairness is compatible with fair seat share and compactness, while sacrificing only a small amount on number of competitive districts.
4.4 Actual Plans and Additional Results
We also compute the local fairness of plans actually enacted for previous elections. As it is relatively easy to find a locally fair plan in WI, its actual plan is indeed locally fair, while the actual plans for all other states are not locally fair.888Note that all experiments use the 2016 presidential election data, while the plans in use are mostly drawn in 2011, except the NC one that is drawn in 2019. Using the unf ranks, the enacted plan falls in the percentile (fairer than of the plans) in MD, percentile in MI, percentile in NC, percentile in PA, and percentile in TX. While the MI and NC plans are (somewhat surprisingly) above average in local fairness, they have very few (or no) competitive districts. In general, enacted plans that achieve above average local fairness compared to the ensemble (MD, MI, and NC) have fewer competitive districts, and enacted plans with more competitive districts perform below average in local fairness. On the other hand, our results demonstrate that it is possible to find locally fair plans with a comparable (to the ensemble) amount of districts remaining competitive.
In Appendix D, we show that the locally fair notion is also robust to voting patterns in the sense that there is a large overlap between fair plans identified by auditing the ensemble using the voter data from the 2012 and the 2016 presidential elections for the states of NC, PA, and TX.
5 Conclusions
In summary, in contrast to extant global notions of fairness in redistricting such as seat distribution or district competitiveness, the notion of local fairness is an explainable notion that mitigates justified complaints of populations in compact geographic regions. Our experiments show that local fairness is not only possible to achieve in practice, but choosing locally fair plans also does not come at the expense of other global fairness properties.
Several open questions arise from our work. In terms of algorithm design, it is an open question of whether there is an approximation algorithm for either the LF Auditing or LFP Generation problem, and whether such an algorithm could take into account compactness. It would also be interesting to extend our methods to capture additional real-world criteria used in redistricting, such as a penalty for splitting up counties, or a requirement for a majority-minority district. In particular, can fair plans be locally modified so that they remain fair and such real-world criteria are satisfied?
Finally, our exploration of robustness of local fairness to voter turnout is preliminary, since it compares the outcomes between two election data in one state. It would be interesting to extend our work to a stochastic setting, where each individual in the population has a “likely voter” score (or probability to vote), and we need high confidence in the non-existence of a -deviating group.
References
- [1] Reynolds v. Sims. https://supreme.justia.com/cases/federal/us/377/533/, 1964.
- [2] Cooper v. Harris. https://supreme.justia.com/cases/federal/us/581/15-1262/, 2017.
- [3] GEO metric: A metric to detect gerrymandering which uses both Geography and Election Outcomes. https://www.the-geometric.com/, 2022.
- [4] Princeton gerrymandering project. https://gerrymander.princeton.edu/, 2022.
- [5] P. K. Agarwal, S. Ko, K. Munagala, and E. Taylor. Locally fair partitioning. In AAAI, pages 4752–4759, 2022.
- [6] M. Altman and M. P. McDonald. BARD: Better automated redistricting. Journal of Statistical Software, 42:1–28, 2011.
- [7] A. Becker and J. Solomon. Redistricting algorithms. In M. Duchin and O. Walch, editors, Political Geometry: Rethinking Redistricting in the US with Math, Law, and Everything In Between, chapter 16, pages 303–340. Springer, 2022.
- [8] A. Borodin, O. Lev, N. Shah, and T. Strangway. Big city vs. the great outdoors: voter distribution and how it affects gerrymandering. In IJCAI, pages 98–104, 2018.
- [9] M. Campisi, T. Ratliff, S. Somersille, and E. Veomett. Geography and election outcome metric: An introduction. Election Law Journal: Rules, Politics, and Policy, 2022.
- [10] J. Chen, J. Rodden, et al. Unintentional gerrymandering: Political geography and electoral bias in legislatures. Quarterly Journal of Political Science, 8(3):239–269, 2013.
- [11] M. Chen. Tufts research lab aids states with redistricting process. https://tuftsdaily.com/news/2021/04/06/tufts-research-lab-aids-states-with-redistricting-process/, 2021.
- [12] C. Cirincione, T. A. Darling, and T. G. O’Rourke. Assessing South Carolina’s 1990s congressional districting. Political Geography, 19(2):189–211, 2000.
- [13] V. Cohen-Addad, P. N. Klein, D. Marx, A. Wheeler, and C. Wolfram. On the computational tractability of a geographic clustering problem arising in redistricting. In FORC, pages 3:1–3:18, 2021.
- [14] D. DeFord, M. Duchin, and J. Solomon. A computational approach to measuring vote elasticity and competitiveness. Statistics and Public Policy, 7(1):69–86, 2020.
- [15] D. DeFord, M. Duchin, and J. Solomon. Recombination: A family of markov chains for redistricting. Harvard Data Science Review, 3(1), 3 2021. https://hdsr.mitpress.mit.edu/pub/1ds8ptxu.
- [16] M. Duchin and B. E. Tenner. Discrete geometry for electoral geography. arXiv preprint arXiv:1808.05860, 2018.
- [17] S. A. Esmaeili, H. Grape, and B. Brubach. Centralized fairness for redistricting. arXiv preprint arXiv:2203.00872, 2022.
- [18] B. Fifield, M. Higgins, K. Imai, and A. Tarr. Automated redistricting simulation using Markov chain Monte Carlo. Journal of Computational and Graphical Statistics, 29(4):715–728, 2020.
- [19] N. Garg, W. Gurnee, D. Rothschild, and D. B. Shmoys. Combatting gerrymandering with social choice: The design of multi-member districts. In EC, pages 560–561, 2022.
- [20] P. Gawrychowski, H. Kaplan, S. Mozes, M. Sharir, and O. Weimann. Voronoi diagrams on planar graphs, and computing the diameter in deterministic time. SIAM Journal on Computing, 50(2):509–554, 2021.
- [21] W. Gurnee and D. B. Shmoys. Fairmandering: A column generation heuristic for fairness-optimized political districting. In SIAM ACDA, pages 88–99, 2021.
- [22] G. Herschlag, H. S. Kang, J. Luo, C. V. Graves, S. Bangia, R. Ravier, and J. C. Mattingly. Quantifying gerrymandering in North Carolina. Statistics and Public Policy, 7(1):30–38, 2020.
- [23] G. Herschlag, R. Ravier, and J. C. Mattingly. Evaluating partisan gerrymandering in Wisconsin. arXiv preprint arXiv:1709.01596, 2017.
- [24] S. W. Hess, J. Weaver, H. Siegfeldt, J. Whelan, and P. Zitlau. Nonpartisan political redistricting by computer. Operations Research, 13(6):998–1006, 1965.
- [25] D. S. Hochbaum and A. Pathria. Node-optimal connected k-subgraphs. University of California, Berkeley, 1994.
- [26] D. M. King, S. H. Jacobson, and E. C. Sewell. Efficient geo-graph contiguity and hole algorithms for geographic zoning and dynamic plane graph partitioning. Mathematical Programming, 149(1):425–457, 2015.
- [27] R. Kueng, D. G. Mixon, and S. Villar. Fair redistricting is hard. Theoretical Computer Science, 791:28–35, 2019.
- [28] H. A. Levin and S. A. Friedler. Automated congressional redistricting. ACM Journal of Experimental Algorithmics, 24(1):1.10:1–1.10:24, 2019.
- [29] J. Levitt. All about redistricting. https://redistricting.lls.edu/, 2022.
- [30] J. Lin, C. Chen, M. Chmielewski, S. Zaman, and B. Fain. Auditing for gerrymandering by identifying disenfranchised individuals. In 2022 ACM FAccT, pages 1125–1135, 2022.
- [31] Y. Y. Liu, W. K. T. Cho, and S. Wang. PEAR: A massively parallel evolutionary computation approach for political redistricting optimization and analysis. Swarm and Evolutionary Computation, 30:78–92, 2016.
- [32] D. B. Magleby and D. B. Mosesson. A new approach for developing neutral redistricting plans. Political Analysis, 26(2):147–167, 2018.
- [33] MGGG. MGGG states. https://github.com/mggg-states, 2022.
- [34] D. D. Polsby and R. D. Popper. The third criterion: Compactness as a procedural safeguard against partisan gerrymandering. Yale Law & Policy Review, 9:301, 1991.
- [35] A. D. Procaccia and J. Tucker-Foltz. Compact redistricting plans have many spanning trees. In ACM-SIAM SODA, pages 3754–3771, 2022.
- [36] E. C. Reock. A note: Measuring compactness as a requirement of legislative apportionment. Midwest Journal of Political Science, 5(1):70–74, 1961.
- [37] N. O. Stephanopoulos and E. M. McGhee. Partisan gerrymandering and the efficiency gap. University of Chicago Law Review, 82:831, 2015.
- [38] W. K. Tam Cho and Y. Y. Liu. Toward a talismanic redistricting tool: A computational method for identifying extreme redistricting plans. Election Law Journal, 15(4):351–366, 2016.
- [39] W. Vickrey. On the prevention of gerrymandering. Political Science Quarterly, 76(1):105–110, 1961.
- [40] S. S.-H. Wang. Three tests for practical evaluation of partisan gerrymandering. Stanford Law Review, 68:1263, 2016.
- [41] G. S. Warrington. Quantifying gerrymandering using the vote distribution. Election Law Journal, 17(1):39–57, 2018.
- [42] A. Wheeler and P. N. Klein. The impact of highly compact algorithmic redistricting on the rural-versus-urban balance. In SIGSPATIAL/GIS, pages 397–400, 2020.
Appendix
Appendix A NP-Hardness Proofs
Theorem 2.
LF Auditing is NP-complete.
Proof.
We reduce the NP-complete Connected -Subgraph Problem on Planar Graphs with Binary Weights (CS-PB) [25] to the LF Auditing problem. Given a connected planar graph where , a vertex weight for each , a size , and a targeted total weight ,999We use and here to avoid confusing with the notations and in our problem. the decision version of CS-PB asks whether there is a subset of vertices such that its induced subgraph is connected and . Here it is assumed that and for each ; otherwise the problem is trivial.
Given an arbitrary instance of CS-PB, we construct an instance for LF Auditing as follows. For each vertex , we construct two precinct nodes and , and an edge between and . For each edge , we construct an edge between and . Hence, the resulting graph has precinct nodes and edges, and is still planar.
For all , we let and ; note that each is in and each is an integer. For all , we let , and . We call the precinct nodes regular and the precinct nodes auxiliary. Let , , and pick such that . Finally, let , where for all . Observe that we have for all , i.e., we have and . Note that since , we have and , and thus every feasible district has total population exactly .
Suppose the CS-PB instance is a Yes instance, i.e., there is a subset of vertices such that its induced subgraph is connected, and . Let be the set of regular precinct nodes corresponding to the vertices in . Then we have and thus . Furthermore, we have
Since induces a connected subgraph of , it is a red -deviating group of .
For the other direction, suppose the LF Auditing instance is a Yes instance, i.e., there is a red -deviating group of . Suppose contains at least one auxiliary precinct node . Recall that . Hence, we have
a contradiction. Hence can only contain regular precinct nodes. Then we have , and
Since induces a connected subgraph of , the corresponding CS-PB instance is a Yes instance.
Combining the above, there is a polynomial-time reduction from CS-PB to LF Auditing. Since LF Auditing is trivially in NP, we conclude that it is NP-complete. ∎
We then observe that the same reduction also gives the hardness of LFP Generation.
Theorem 3.
LFP Generation is NP-complete.
Proof.
Observe that in each LF Auditing instance constructed in the proof for Theorem 2, the associated plan is the only feasible redistricting plan. To see this, notice that every auxiliary node has a single neighbor and does not possess enough population to form a feasible district itself, and thus every must be paired with its corresponding to make a district. Therefore, the LF Auditing and LFP Generation are identical on this family of instances, and the hardness of LFP Generation follows from the same reduction. ∎
Remarks.
We note that the proofs above still hold even if we add more edges to the constructed graph. More specifically, for both the proof of Theorems 2 and 3, we can safely add edges as long as (i) planarity is preserved and (ii) at least one of the endpoints of each additional edge is an auxiliary precinct node. To see this, observe that adding additional edges does not impact the feasibility of , and since valid deviating groups contain only regular precinct nodes, the set of possible deviating groups for remains identical. For the proof of Theorem 3, the additional edges may allow multiple feasible redistricting plans, but each of the feasible redistricting plans must still contain districts of one regular and one auxiliary precinct node each, and by the same reduction, either all or none of them are locally fair (corresponding to Yes and No CS-PB instances).
Note further that in both LF Auditing and LFP Generation, we do not explicitly require the districts and deviating groups to be compact with respect to any specific criteria. Under certain restrictive compactness constraints, the problems may become tractable. For example, if the districts and deviating groups are restricted to be subsets of precincts fully contained in a circle centered around a precinct point, then the set of possible districts and deviating groups has polynomial size, and thus LF Auditing can be solved by enumeration in polynomial time.
Appendix B Speeding up the DP and Sufficiency of Ensemble-based Auditing
Although our dynamic programming algorithm for solving LF Auditing on trees run in polynomial time, the time complexity of the algorithm is prohibitively high to be efficient in practice. Our goal in this section is to empirically demonstrate that this approach is not needed in practice, that is, it does not find reasonable deviating groups on plans that the ensemble-based method deems locally fair, hence showing that the ensemble-based auditing method is sufficient and obviating the need for the computationally inefficient dynamic programming.
Towards this end, we first show that the dynamic program can be sped up significantly if (among other things) we interpolate the voter information to the entire population of a precinct, so that for each precinct . After performing such interpolation on the data used in our experiments (Section 4), we first run the ensemble-based auditing method to find fair and unfair plans for . Next, for each of these plans, we run the dynamic program to find deviating groups, checking each one for compactness and the value for which it is a -deviating group. We show that the dynamic program is unable to find compact deviating groups with on the ensemble-audited -locally fair plans (on the interpolated data). This demonstrates the the sufficiency of ensemble-based auditing if we relax the strength of the deviating group slightly.
We note that our main experiments in Section 4 use actual voter data, since it is unclear how such data should be interpolated in a principled way to the entire population. In the current section, we perform the interpolation in a simple way only to make the DP run efficiently, which in turn enables us to demonstrate the conceptual point that the ensemble-based method suffices. This provides strong evidence that even without interpolation, the ensemble-based method will suffice.
B.1 Improving Running Time of Dynamic Program
We first describe our approach to speed up the running time of the dynamic program.
Special case of .
We first assume that holds for all , i.e., every individual is labeled red or blue in every precinct. In this case, we can reduce the state space by dropping the state variable , that is, we let denote the maximum number of unhappy blue voters in a subtree such that and . In this case, for leaf precincts we have
and for general precincts (with children ) we have
(3) |
where for all , and for all we have
(4) |
Now, the algorithm computes values of , each computing values of , each requiring -time to loop through all values of . The overall time complexity thus drops to .
Relaxing size of deviation.
We next modify the state to be the maximum number of unhappy blue voters in a subtree such that and , i.e., it is now allowed that the subtree has an aggregate population of less than . Note that this induces a potential one-sided error in checking for the existence of deviating groups. To see this, consider the case when the algorithm finds some such that and . Now this corresponds to a subtree rooted at with a population (or voter count) of at most and a total number of unhappy blue voters of at least . While this still ensures a majority of voters in are unhappy voters of the same color, the actual population size may be less than and thus outside of the acceptable range . However, we observe that this error is one-sided: Suppose there is indeed a deviating group of the correct population size with a total number of unhappy blue voters of at least , our algorithm must either find , or find a deviating group with population at most and a larger number of unhappy blue voters. Therefore, if the algorithm does not find any deviating group under the relaxed definition, we can still conclude that there is no deviating group (with respect to the current spanning tree ).
Pruning the states.
Under the modified semantics of , we observe that each is non-decreasing in and each is non-decreasing in . Now consider the computation of some fixed . We maintain an upper bound and a lower bound of . whenever , we terminate the computation early and return as . Since the are computed in increasing order of , we initialize and let if . We also initialize .
When the function in Eq. (4) is evaluated in increasing order of , we update:
-
•
;
-
•
The second step is because that for any , we have
Therefore, is the maximum possible value of if the function is maximized at any . If this is matched by , then the final maximum value will be exactly . In this case, we terminate the computation without examining any in Eq. (4).
The same idea is applied to the computation of : We maintain a lower bound for (initialized to ), and whenever
we return .
Rounding the population.
For a fixed threshold parameter , we round each down to the largest multiple of that is smaller than or equal to . Formally, let . For any subtree , we have
Let denote the output of the algorithm when the rounded population level is used instead of . Then we have . Therefore, running our algorithm with rounding introduces one-sided error: If there exists any deviating group of of population level , then the algorithm with rounding can also output since it has the same number of unhappy blue voters with a rounded-down population level. We must then relax the acceptable size range from to to accommodate this error and so that becomes a candidate deviating group.
Final running time.
With all these strategies incorporated, the running time of the dynamic program is reduced to as there are now only population levels. This is the version of the algorithm that we implement.
B.2 Empirical Results and Sufficiency of Ensemble-based Auditing
We now use both our ensemble approach and the dynamic program to audit the ensemble for NC. We use the same experimental setup as in Section 4, except for one change. Since the DP assumes , we need to interpolate the voter labels to the entire precinct. We do this in the natural way. We keep the same and values determined from an election, but let . The number of red and blue voters in a precinct become and , respectively. This is equivalent to assuming that in each precinct , the rate of red/blue preferences of non-voters is identical to that of the voters. Accordingly, a -deviating group must have a fraction of the total population being unhappy individuals of the same color.
Using the interpolated voter labels on NC data, we first run the ensemble-based auditing method assuming . We find that 52 among the 1,000 plans () in the ensemble do not have -deviating groups and are deemed fair by the ensemble approach. We again rank the plans in the ensemble by their unfairness score . We then construct two groups of plans: (1) 26 Plans deemed -fair by the ensemble approach; (2) 10 Plans in the bottom 5% (most unfair, in terms of unf score) in the ranking. We generate random spanning trees of the NC precinct graph. For each plan and each spanning tree, we run the dynamic program where the population rounding parameter is set as . For each group of plans (fair and unfair), we obtain the set of all deviating groups found by the dynamic program on any spanning tree. We measure the Polsby-Popper compactness score of each deviating group on the original graph and the strength for which the group is a -deviating group in that plan (the largest for which the group is indeed deviating). Note that a larger value of implies the deviation is robust to small population changes, and is more significant in terms of unfairness.






In Figures 4(a) and 4(b), we plot the heatmaps of the deviating groups found by the dynamic program for the fair and unfair sets of plans, respectively, where the -axis and -axis demonstrate their Polsby-Popper score and their strength respectively. As shown, for the plans deemed -fair by the ensemble approach, most deviating groups are either not compact (having low Polsby-Popper scores of ) or not strong (having strength values close to ). As context, the minimum and average Polsby-Popper scores over all NC districts in the ReCom-generated NC ensemble are and , respectively (corresponding to the two vertical lines in both plots); in other words, deviating groups with Polsby-Popper scores of (to the left of the dashed vertical line) are less compact than every one of the 10k districts in the ensemble.
In fact, our dynamic program finds no deviating group with an above-average Polsby-Popper score for any -fair plan. The closest deviating group, shown as D1 in Figure 4(a), has Polsby-Popper score and a strength of ; we visualize it in Figure 5(a). In Figure 5(b), we visualize another deviating group found by the dynamic program (shown as D2 in Figure 4(a)) with a Polsby-Popper score of and a strength of . As manifested in the visualizations, deviating groups with very low Polsby-Popper scores like are spurious with artificial shapes (such as holes) and should not be considered when it comes to determining whether a redistricting plan is fair. All the deviating groups for the -fair plans with a Polsby-Popper score at least have lower strength (). In summary, we can reasonably conclude that most of the fair plans found by the ensemble-based auditing approach do not admit strong, contiguous, and reasonably compact deviating groups even when audited by the dynamic program.
In contrast, for the plans ranked in the bottom according to the ensemble-based approach, the dynamic program is able to find both strong and compact deviating groups quite easily. In Figures 5(c) and 5(d) we show (a) a -deviating group with a Polsby-Popper score (D3 in Figure 4(b)), and (b) a -deviating group with a Polsby-Popper score (D4 in Figure 4(b)) that the dynamic program find for one of the unfairest plans. These results show that the strengths of deviating groups for fair plans (according to ensemble based auditing) are considerably lower than that for unfair plans. In other words, the results via DP validates that via the ensemble based approach.
Appendix C Alternative Fairness and Compactness Metrics


Average partisanship. For each district, let its partisanship be the percentage of votes in the majority color. Therefore, a low partisanship (towards 50%) implies better competitiveness in that district. We define the average partisanship of to be the average of partisanship values over its districts (ignoring small differences in population) as an alternative to the competitiveness metric used in Figure 3(b). In Figure 6(a), we compare the average partisanship among the three subsets of plans used in Section 4.3 (top-5% fairest plans, whole ensemble, and real enacted plans).
Results show that fair plans generate slightly more partisan districts. However, compared to the whole ensemble, the (roughly) 2-3% of shift in average partisanship is small and comparable to other uncertainties (e.g., voter turnouts or year-to-year election result gaps). Furthermore, the median average partisanship of the fair plans is smaller than that of the real-world redistricting plan for all but one state, showing that local fairness remains compatible with reasonably small partisanship.
Average compactness. We define the average compactness of to be the average of Polsby-Popper scores over its districts. In Figure 6(b) we compare the average compactness among the three subsets of plans. Similar to the results for minimum compactness, the average compactness of the locally fair plans remains comparable to that of the entire ensemble. On the other hand, the enacted plans perform better on average compactness than on minimum compactness, showing that enacted plans have larger variances in the compactness scores than plans in the ensemble.
Appendix D Robustness of Local Fairness to Voting Patterns
To test the robustness of the local fairness notion to changes in voting patterns, we repeat the ensemble-based audit process in Section 4 for MD, NC, PA, and TX with , and values replaced by label values obtained from the presidential election. We do not consider MI (only a few plans are fair, so the sample size is too small) and WI (most plans are fair, and thus the ensemble and fair plans yield similar statistics).
For , we obtain the set of locally fair plans (i.e., plans without -deviating groups) when audited using 2012 (resp. 2016) voter labels. We then compute the unfairness of these plans using the 2016 (resp. 2012) voter data, i.e., from the other election. We repeat this for all the plans in the ensemble, obtaining the unf score for each plan. We plot the histograms of these unf values in Figure 7, where the x-axis is the bucketed unf score, and the -axis is the percentage of plans among the fair maps (resp. ensemble) that fall in that bucket.


For MD, NC, and TX, the blue bars are skewed significantly towards the left compared to the entire ensemble, showing that the fairest plans identified by auditing with a specific election remains significantly fairer compared to the entire ensemble when measured by another election. This shows the local fairness notion is fairly robust, or insensitive to year-to-year election result fluctuations. For PA, the fair plans are more sensitive to the specific election used, which reflects the role of PA as a swing state across elections.
Appendix E Visualization of Fair and Unfair Plans for Other States
We show additional visualizations of fair plans and deviating groups found using ensemble-based auditing. As before, we show deviating groups with black outline, and the districts are coded by its color and the extent of partisanship: districts with a larger value of (resp. ) are colored in darker red (resp. blue). For each state (MD, MI, TX, WI), we show a fair plan (Figures 8(a), 9(a), 10(a), 11(a)), and an example of a deviating group of each color. We discuss the deviating groups in each state.
In MD, the central blue districts tend to not be competitive, and the geography of the state contributes to the difficulty of forming red deviating groups. Thus MD is the only state where the precincts in the most deviating groups are not densely populated areas (see Figure 2(a)). Instead, the two “panhandles” (the western and coastal eastern regions of the state) tend to be part of deviating groups, see Figures 8(b) and 8(c).
In Figures 9(b) and 9(c) we show a red and a blue deviating group in MI. Michigan had the lowest number of fair plans in the ensemble (see Table 2). The precincts in deviating groups are clustered in one region of MI, where the districting is sensitive to which precincts belong in red or blue districts. Both red and blue deviating groups are concentrated around this area.
In contrast, some deviating groups in TX concentrate around urban areas, while others intersect a large area of less densely populated precincts. The districting shown in Figure 10(b) shows a blue deviating group in proximity to an urban area. In contrast, Figure 10(c) shows a red deviating group on a districting plan intersecting a large blue district.
In Figure 11(b), a blue deviating group of WI pulls in a portion of an urban area (left) and spans across to another blue district. In the fair plan, the urban counties are contained fully in a blue district, while the middle red precincts that deviate in Figure 11(c) are in their own red district.











