Parker J. Rule

Results 10 issues of Parker J. Rule

`gerrychain.random` sets a default random seed (`2018`) globally: https://github.com/mggg/GerryChain/blob/198f43dae397a7e361dcaa059a7ac8a4e0ff18f3/gerrychain/random.py#L5 This is bad—for starters, the state of other packages could be affected without users immediately noticing.

We just discovered a ~~very serious~~ issue with how partitions are scored: `eval_score_on_partition` and `eval_score_on_districts` don't actually use new proposal information, so old scores are returned. **(Update: this only affects...

Putting Humpty Dumpty back together again. (Tests pending.)

This PR is too big, which probably means the balance edge algorithms should live in their own file so that they can be reviewed separately. Right now, this PR contains:...

This PR provides an efficient mechanism for storing the output of chains with a high number of self-loops.

This PR is derived from #85.

This issue was reported by @gabeschoenbach and can be resolved by incrementing each value in the assignment column by 1. Assignment values are used as array indices in some places—we...

Chains shouldn't expect specific constraints in a specific order—it creates a proliferation of arguments and is slightly inflexible. We'd like to replace all (`PopulationConstraint`, `ContiguityConstraint`) argument pairs with one list...

enhancement
from-asana

This would catch some trivial mistakes we've encountered.