This is the accompanying Jupyter notebook for the paper
"Should Robots Be Obedient?" Smitha Milli, Dylan Hadfield-Menell, Anca Dragan, and Stuart Russell. IJCAI 2017. arxiv
Every experiment in the paper can be replicated by running this notebook. In addition, it should be easy to play around and explore your own ideas.