The Harry Potter story is retold in Eliezer Yudkowsky’s fan fiction, “Harry Potter and the Methods of Rationality,” with a focus on cognitive science, philosophy, and the scientific method. The story takes place during Harry’s first year at Hogwarts, during which he makes friends with Hermione Granger and Draco Malfoy because of their shared interest in science. Harry creates partial transfiguration, tests magic using science alongside Hermione, and gains Professor McGonagall’s trust.