As the two-part finale of the Harry Potter movie series fast approaches — both parts directed by David Yates — it’s worth looking back at the Potter pantheon thus far. There have been six so far, ranging in quality from endless snooze to contemporary classic, depending on a number of factors: How much does Ron ham it up, and how adorable is Hermione? How scary is the villain? How many Mike Leigh regulars appear in the cast? What’s the Snape-to-Hagrid Ratio? Is Dobby in it?
We set Vulture’s crack team of Nobel Prize-winning pop-culture mathematicians to task working out the best and worst of the Harry Potter movies. Click through to see their scientific results.