For now, this is a loose collection of scripts I put together for a series of papers on communication and common interest co-written with Peter Godfrey-Smith. At some point I'll try to turn this into a proper library.
See this Jupyter notebook if you want to know how it works, and perhaps use it for your own research.