rdatools / rdabase

Redistricting analytics data & shared code
MIT License
0 stars 0 forks source link

Fix frontiers #18

Closed alecramsay closed 6 months ago

alecramsay commented 6 months ago

Something's not right

alecramsay commented 6 months ago

The problem was duplicate pairs of ratings--more than one map can have the same pair of ratings.

The solution was to build an index of unique pairs of ratings to a list of one or more maps with that value, find the frontier of the unique pairs, and then grab the associated plans for the frontier points.