Skip to content

Releases: mggg/GerryChain

Minor fixes

11 Feb 15:40
a392a36
Compare
Choose a tag to compare

Fixed a PopulatedGraph bug, which required a totpop field.

GerryChain v0.2.9 (RevRecom + fixes)

21 Jan 20:02
Compare
Choose a tag to compare

This release adds Reversible Recom to GerryChain. This entails

  • A recom proposal that is reversible reversible_recom()
  • A function to produce a uniform spanning tree via Wilson's algorithm
  • a faster memoization algorithm to find balanced edge cuts

All of these above changes were led by @pjrule (thanks!)

There are also some fixes that had been sitting for a while:

  • Assignment validation (#281 & #285 --- thanks @zschutzman!)
  • Non-recursive ReCom, fixing recursion depth errors (#283)
  • Fix a bug in the MarkovChain's acceptance function logic (#290)
  • Fix ignore_errors being ignore in Graph.from_file (#291)

We also moved both the partisan scores (previously in gerrychain.scores) and compactness scores (previously in gerrychain.updaters) to a new gerrychain.metrics submodule. This is a breaking change for anyone using gerrychain.scores.

Note -- even though GitHub says Max released this version, it is only partially true. The RevRecom changes were the doing of Bhushan - who should be blamed for any breaks with this release!

GerryChain v0.2.8

27 Feb 17:46
Compare
Choose a tag to compare

Quite a few things have changed since the last release, so it's time for a new one.

Some highlights:

  • More informative error warnings for invalid geometries (thanks @pjrule !) #262
  • A .from_districtr_file() method for creating a Partition using a plan drawn in Districtr #272
  • Test coverage is now at 90%
  • A .plot() method for more easily plotting districting plans #271
  • Support for setting a random seed for reproducibility, along with documentation with reproducibility tips
  • GerryChain is now licensed under the BSD 3-Clause License! #264

GerryChain v0.2.7

04 Jan 20:32
8d9f80a
Compare
Choose a tag to compare
  • Switch to GPLv3 instead of AGPL #259
  • Support repeatable/reproducible chain runs (with some environment setup) #257

GerryChain v0.2.3

03 Dec 17:28
3c61a13
Compare
Choose a tag to compare

Notable changes:

  • Fixes serialization errors in Graph.to_json()
  • Removes PySAL dependency by implementing our own graph creation logic, which also drastically improved graph creation times

GerryChain v0.2.1 (fixes)

18 Oct 15:27
875a5d6
Compare
Choose a tag to compare

This release fixes some issues in the Graph class, bringing it in line with the Getting started guide.

GerryChain initial release

15 Oct 21:03
ccd117e
Compare
Choose a tag to compare

🎉

This is the initial release of the GerryChain package, for generating ensembles of districting plans using Markov chain Monte Carlo. This library is authored by the Metric Geometry and Gerrymandering Group as part of our efforts to support basic research into gerrymandering and empower public participation in the redistricting process.

User feedback (bug reports, feature requests, questions) is welcome! Open an issue in our GitHub repository to start the conversation. Contributions are also welcome in the form of pull requests.