Code for a fascinating study run in the IPCS Lab at Stanford.