Mar 31, 2016
Page ranking my twitter network using Python
I follow too many people on twitter. It makes my stream a bit of a mismatch of things and I often end up missing tweets from accounts I’m really interested in. I’m not too sure how to solve this problem but I am sure that it must start with my understanding my network. In this post I’ll show a simple python script that grabs my twitter network (disclaimer it takes time) and then some simple graph theoretic analysis of my network....
Mar 7, 2016
Property based testing, hypothesis and finding a bug
I really have fallen in love with test driven development and as much as is reasonable stick to it. This mainly revolves around writing Python unit tests, which makes programming a lot easier (for me). In Namibia I was lucky enough to meet and chat with David MacRiver, the main developer of the hypothesis package. Before that the Axelrod project had already incorporated some of what hypothesis is for: property based testing. This blog post will briefly describe what that is, how it took some hours of sleep away from me (in a good way) and why it’s particularly great for research software....
Feb 22, 2016
Iterated Prisoners dilemma tournament in class (2016 edition)
Last week we introduced repeated games by playing an iterated prisoners dilemma tournament in class. This post, mirrors this similar one from last year....
- Feb 15, 2016 Rock paper scissors lizard spock tournament (2016 edition) ...
Feb 4, 2016
Playing against a mixed strategy in class
This post mirrors this post from last year in which I described how my students and I played against various mixed strategies in a modified version of matching pennies....