I'm the author of [pandemic](https://github.com/microprediction/pandemic) and a friend suggested I get in touch. I'll poke around you code and see what I can learn.