← Back to the redistricting map

How the scenario maps were made

Exploratory analysis; not a legal plan. Companion to the redistricting map.

1. How the districts are drawn, in plain language

North Carolina has to be divided into 14 congressional districts of almost exactly equal population (745,671 people each, from the 2020 Census), and every district must be one connected piece. Within those two rules there are astronomically many ways to draw the map. Each scenario here is a different answer to the question "what are we trying to achieve?", and the computer searches for a map that achieves it.

The building blocks

The map is assembled from the state's 2,656 voting precincts, like a jigsaw where each piece is a precinct. Precincts are the right size to work with (about 3,900 people each on average) and they are the units in which election results are reported. At the very end, individual census blocks (the smallest Census unit; there are 236,638) are used to fine-tune the borders so that every district's population matches to within a few dozen people.

The score

Each scenario gives the computer a score to minimize, a weighted sum of penalties. For example: "long district borders are bad", "splitting a county is bad", "a lopsided partisan outcome is bad". The weights say how much each one matters relative to the others. Change the weights and you get a different kind of map. That is what distinguishes one scenario from another (see the table in section 3).

The search

  1. Start with a rough map. The computer picks 14 starting precincts at random and grows districts outward from them, always giving the next nearby precinct to the district that currently has the fewest people. The result is a crude but complete map.
  2. Improve it one precinct at a time. Millions of times over, it picks a precinct on a district border and asks: "if this precinct switched to the neighbouring district, would the score get better?" Moves that would break a district into two pieces, or push its population too far from equal, are never allowed.
  3. Keep good moves, and sometimes bad ones early on. Better moves are always kept. Early in the search, some worse moves are kept too, which lets the map escape dead ends where every single change looks bad but a bigger rearrangement would be better. As the search goes on it becomes stricter, until at the end only improvements are accepted. This technique is called simulated annealing, after the way metal is cooled slowly so its structure settles into a strong arrangement. A typical search makes 20 to 50 million attempted moves.
  4. Big picture first, then detail. For most scenarios the first stage treats every county under 250,000 people as a single piece, so the overall layout is settled using whole counties; the second stage switches to individual precincts and refines the borders. This tends to give maps with fewer county splits.
  5. Try many times, keep the best. Each search starts from a different random rough map and ends somewhere different. Each scenario was run 12 to 32 times and the best-scoring result kept.
  6. Balance population exactly, splitting as few precincts as possible. The search ends with districts within 0.5% of equal (up to about 3,700 people). The finishing step works the way a person drawing lines would: (a) a short extra pass of the same search with a penalty for any district more than 0.1% off, so balance improves without spoiling the shapes; (b) whole boundary precincts moved where that brings neighbouring districts closer to equal; (c) a calculation of exactly how many people must cross each district border (a minimum-cost flow, using at most 13 borders), with each of those transfers made inside a single boundary precinct; (d) the last few people settled inside the precincts already divided. Every district ends within 1-2 people of the target, as in the enacted maps, with about 16-28 precincts divided statewide (the enacted maps divide 14-22). Three versions of this finishing step were tried for each plan and the most compact one that met the rules (and kept the plan's seat outcome) was kept. Every district is checked to be one connected piece.
  7. Score it the same way as every other plan. The finished map is run through exactly the same measurements as the real enacted maps, so all comparisons are like for like.

Rules that apply to every plan

2. Where the numbers come from

3. The scenarios, side by side

Weights are the importance given to each goal in the score. Each penalty is put on a comparable scale first: border length, county pieces and city pieces are divided by the baseline map's (so the baseline, REF-22, scores 1 on each); partisan fairness and competitiveness are scaled so that a typical neutral map scores about 1; the seat and minority goals run from 0 (fully met) to 1 (not met at all). So a weight of 0.50 means that goal counts for roughly half of the total. "-" means the goal is not in the score at all. The partisan goals count a district as won only with a margin of 1.5 points (R1, R3, D3) or 3 points (R2, D1, D2). The result column uses the composite of nine races.

PlanWhat it isCompactnessCounty integrityCity integrityPartisan fairnessCompetitivenessRepublican seatsDemocratic seatsMinority opportunityPerimeter capHow it differs from the closest planHow it was foundResult
Reference maps
REF-22Baseline: 2022 court-ordered interim map
The yardstick. Drawn by court-appointed special masters in 2022 with partisan-fairness tests; used for the 2022 election.
drawn outside this project--Official block assignment file from the General Assembly.7 D seats · 6/7 safe D/R · 4 competitive · compactness 0.33 · 13 counties split
REF-23Enacted 2023 map (SL 2023-145)
Enacted map used for the 2024 election.
drawn outside this project--Official block assignment file.4 D seats · 3/10 safe D/R · 3 competitive · compactness 0.24 · 11 counties split
REF-25Enacted 2025 map (SL 2025-95)
Enacted map for the 2026 election.
drawn outside this project--Official block assignment file.3 D seats · 3/10 safe D/R · 4 competitive · compactness 0.25 · 12 counties split
Neutral (no election or race data)
N1Compact and county-aware
What a map looks like when drawn only from geography: short district borders and few county splits. No election or race data used.
0.500.50------noneThe starting point for the plans drawn here.32 random starts; whole counties first, then precincts; best by score.6 D seats · 5/7 safe D/R · 5 competitive · compactness 0.35 · 19 counties split
N2Compactness and equal population only
The pure-shape benchmark: county lines ignored entirely.
1.00-------nonevs N1: county term removed; compactness gets all the weight.32 random starts, precincts from the start; best by border length.7 D seats · 6/6 safe D/R · 5 competitive · compactness 0.38 · 38 counties split
Goal-based
G1Partisan fairness
A fair map: partisan fairness balanced with reasonable shapes.
0.250.25-0.50----110% of REF-22vs N1: fairness term added with half the weight; total border length capped at 110% of the baseline's (3,259 km).12 random starts.7 D seats · 6/6 safe D/R · 4 competitive · compactness 0.26 · 21 counties split
G2Competitive districts
As many close districts (45-55% Democratic) as possible.
0.250.20-0.100.45---115% of REF-22vs G1: a competitiveness term takes most of the fairness weight; cap loosened to 115%.12 random starts.7 D seats · 6/6 safe D/R · 8 competitive · compactness 0.23 · 21 counties split
G3Communities of interest
Keeps cities and towns (2,500+ people) and counties whole.
0.200.301.00-----115% of REF-22vs G1: fairness term replaced by a heavily weighted city term; cap 115%; cities kept whole in the first stage.12 random starts; cities treated as single pieces in the first stage.7 D seats · 6/7 safe D/R · 5 competitive · compactness 0.27 · 23 counties split
G4Minority opportunity (descriptive)
Raises the Black voting-age share of the two highest districts toward 45%. Illustrative only; not a Voting Rights Act analysis.
0.250.20-----0.55115% of REF-22vs G1: fairness term replaced by the minority term; cap 115%.12 random starts.6 D seats · 5/7 safe D/R · 3 competitive · compactness 0.29 · 13 counties split
Republican benchmarks
R1Most Republican seats, compactness capped
The most Republican map the search can find while staying as compact as the least compact enacted map.
0.100.10---0.80--REF-23's lengthvs N1: shape and county weights cut to 0.1 each; a Republican seat-maximizing term added (a win = 1.5 points or more); border length capped at REF-23's.24 random starts plus 9 starts from existing extreme plans; best random start kept.3 D seats · 3/11 safe D/R · 3 competitive · compactness 0.28 · 18 counties split
R2Most Republican seats + minority opportunity
Does creating minority-opportunity districts change the Republican maximum?
0.100.10---0.50-0.30REF-23's lengthvs R1: part of the partisan weight moved to the minority term (3-point win margin).12 random starts.4 D seats · 4/10 safe D/R · 1 competitive · compactness 0.24 · 18 counties split
R3Most Republican seats, no limits
The most Republican map found with only two rules: contiguous districts and equal population.
-----1.00--nonevs R1: every term except the partisan one removed, and the border-length cap removed.8 random starts plus 5 starts from extreme plans, precincts only; then a contiguity repair and 6 re-optimizations.3 D seats · 3/11 safe D/R · 0 competitive · compactness 0.02 · 94 counties split
Democratic benchmarks
D1Most Democratic seats, compactness capped
The mirror image of R1 for Democrats.
0.100.10----0.80-REF-23's lengthMirror of R1, but with a stricter win margin (3 points), so it may understate the Democratic maximum.12 random starts.8 D seats · 8/6 safe D/R · 0 competitive · compactness 0.27 · 20 counties split
D2Most Democratic seats + minority opportunity
The same question as R2, for Democrats.
0.100.10----0.500.30REF-23's lengthMirror of R2.12 random starts.8 D seats · 8/6 safe D/R · 1 competitive · compactness 0.27 · 17 counties split
D3Most Democratic seats, no limits
The mirror image of R3 for Democrats.
------1.00-noneMirror of R3.Same as R3.10 D seats · 10/4 safe D/R · 0 competitive · compactness 0.02 · 96 counties split
Cautionary
X1Fairness-first, no shape limit
Kept to show what happens when a fairness number is optimized directly with no shape limit: stringy districts.
0.250.25-0.50----nonevs G1: same weights but no cap on border length.24 random starts, whole counties first.7 D seats · 5/5 safe D/R · 4 competitive · compactness 0.23 · 18 counties split

How to read the progression

4. What each metric means

Democratic seats (composite, and by race)
WhatHow many of the 14 districts have a Democratic two-party share above 50%, using the composite or a single race (2020 president, 2024 president).
Read itThe statewide vote is about 50/50, so a map that mirrors the vote would give roughly 7. Neutral random maps mostly give 5 to 7. Seats are what a map would produce under that electorate, not a forecast.
Composite lean (district or precinct colour)
WhatThe average two-party Democratic share across the nine statewide races.
WhyAny single race reflects its candidates (the 2024 governor's race was 57.8% Democratic statewide, the 2016 Senate race 47.0%); averaging nine races gives a steadier picture of how an area usually votes.
Competitive districts (45-55% D)
WhatDistricts whose composite Democratic share is between 45% and 55%, close enough that either party could win in a normal year.
Read itMore means voters have more effect on outcomes. REF-22 has 4, G2 has 8, the no-limits benchmarks (R3, D3) have 0.
Safe D / safe R districts
WhatDistricts at 53%+ Democratic (safe D) or 47% or below (safe R) on the composite. The rest are in the competitive middle.
Read itPartisan maps convert as many districts as possible into safe seats for one side.
NoteThe bands overlap with the competitive band: a district at 46% Democratic counts as both safe R (47% or below) and competitive (45-55%). That is why a benchmark such as R1 can count most of its districts as safe and still show several competitive ones: its Republican seats sit just inside both bands.
Counties split / extra county pieces
WhatCounties divided between two or more districts, and the total number of extra pieces (a county in three districts counts two extra pieces). Counted on populated census blocks.
Read itSome splits are unavoidable: Wake and Mecklenburg each have more people than one district. The baseline splits 13; the county-aware scenarios split 12-20; the no-limits plans split 90+.
Cities split / city residents outside their city's main district
WhatFor the 227 incorporated cities and towns of 2,500+ people: how many are divided at all, and how many of their residents live outside the district that holds most of their city. Cities over 250,000 (Charlotte, Raleigh, Greensboro, Durham) are left out of the second figure because they must or nearly must be split.
Why two"Any split" is harsh: a city line that cuts through a precinct can leave a few blocks in the next district and count as a split. The residents measure shows how much of the city is actually separated.
Compactness (Polsby-Popper), mean and least compact district
What4π × area ÷ perimeter² for each district. A circle scores 1; a long thin or jagged shape scores near 0. Mean over the 14 districts, and the lowest single district.
Read itReal districts typically score 0.2-0.4. The baseline averages 0.33, the enacted 2023 and 2025 maps 0.24-0.25, the no-limits maps 0.02. Coastlines and state borders lower everyone's score a little.
Total perimeter (used inside the search)
WhatThe total length of all district borders inside the state, in km (the state outline is the same for every plan). The search uses this instead of Polsby-Popper because it can be updated instantly as one precinct moves. It is also what the perimeter caps limit: 3,259 km (110% of the baseline's 2,962 km), 3,407 km (115%), or the 2023 map's 3,543 km.
Population range
WhatThe gap in people between the largest and smallest district. Courts expect congressional districts to be as equal as practicable. Because the ideal (745,670.57) is not a whole number, a range of 1 is the best possible. The enacted maps have a range of 1-2 people; the scenarios 1-3.
Black VAP share / Hispanic VAP share
WhatThe share of a district's voting-age population that is Black (alone) or Hispanic (any race), from the 2020 Census. The scorecard shows the highest and the two highest Black VAP shares.
Read itDescriptive only. Whether a district gives minority voters a real opportunity depends on voting patterns (racially polarized voting), which this project has not analysed.
Efficiency gap
WhatA measure of how many votes each party "wastes". In every district, all votes for the loser are wasted, as are the winner's votes beyond the 50% needed to win. The gap is (Democratic wasted − Republican wasted) ÷ total votes. Positive numbers favour Republicans here.
Read it0 is balanced. With 14 seats, each 7 points of gap is worth about one seat. The baseline is about −1 point; neutral random maps average about +5 (geography mildly favours Republicans because Democratic voters are concentrated in cities); the enacted 2023 and 2025 maps are +17 to +27.
Median district vs statewide (skew)
WhatLine the 14 districts up from most to least Democratic; take the middle one's Democratic share and subtract the statewide share.
Read itNegative means the middle district is more Republican than the state, so in a close year Republicans win the majority of seats. Neutral maps are about −2 points; the enacted maps about −6.
Random-map percentiles (ReCom rows)
WhatThe share of 7,200 random valid maps (section 5) that are as extreme as the plan or more: as few Democratic seats, an efficiency gap at least as Republican-favouring, or a median district at least as Republican.
Read itA small number means the plan is unusual among maps drawn without partisan intent under the same rules. It shows how unusual a result is, not why.
Precincts divided
WhatPrecincts (July 2024 lines) whose population ends up in more than one district. Each one needs two ballot styles at the same polling place, so fewer is better for running elections.
Read itExact population equality needs some splits, roughly one per pair of neighbouring districts. The baseline divides 14, the enacted 2023 and 2025 maps 21-22, the scenarios 16-28.

5. The random-map comparison (ReCom)

To judge whether a map's partisan result is unusual, it helps to know what results maps without a partisan aim tend to produce. The ReCom method ("recombination") generates thousands of random valid maps: it repeatedly merges two neighbouring districts and splits the combined area again at a random point that keeps both halves equal in population and connected. After many such steps, the collection of maps it has visited is a sample of the valid maps under the chosen rules.

6. Limits and caveats

← Back to the redistricting map