semvec/pypi-packages huggingface dataset:
locality-splitting 0.2.1
Implementation of locality splitting metrics for political redistricing plans
Requires Python: >=3

Code for running metrics that quantify locality (e.g. county, community of interest) splitting in districting plans, including:
- Geography-based
	- Number of localities split
	- Number of locality-district intersections
- Population-based
	- Effective splits
	- Conditional entropy
	- Square root entropy
	- Split pairs

Options are provided to ignore zero-population regions and to calculate symmetric splitting scores.