Harry Potter and the method of rationality