-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected district duplication in ReCom chains #426
Comments
Hey @proebsting, thanks for the replication code: it was very helpful in figuring out what is going Let's handle the point (1) first. When I ran the code on a 20x30 grid with a population tolerance And then, in the very next step, I get the exact same partition. But this is weird since ReCom Now on to point (2) the "reincarnation" phenomenon. This is a natural extension of the And here are some surrounding steps so you can see the chain in action: We can see here that district 9 in step 1365 is the same as district 4 in step 1348 Hopefully this answers your question! I'll leave this issue open for a little bit so that you |
We are seeing two unexpected behaviors from ReCom/GerryChain:
Put another way, we have evidence that some districts are being created by multiple independent steps of the chain. Even more concerning, we are seeing some districts being created many independent times over the course of a single chain. (We had one district appear from 42 different recombination/split steps in a 10,000-long chain.)
I have attached a bundle that can reproduce both phenomena. The quickest is with the 20x30 uniform grid.
bundle.zip
The reproduction with a 40x40 uniform grid with 4 districts is particularly noteworthy given that each step is splitting 800 nodes in half, which ought to have an astronomical number of unique possibilities.
(Note, this happens with both the Kruskal and Wilson spanning tree algorithms.)
The text was updated successfully, but these errors were encountered: