I am trying to solve a puzzle using Hypothesis similar to what has been done here:
http://nchammas.com/writing/how-not-to-die-hard-with-hypothesis
Unfortunately it fails intermittently with the Flaky error and I am not able to track down the problem using pdb.
My program source is at:
https://gist.github.com/sureshvv/0fb78ef221fb8c1ed85dd034c83abefa
It can be run using py.test.
Any assistance to diagnose and solve the problem appreciated.