Though Kendrick’s film takes certain creative liberties with its characters and incidents, you might be surprised how much of the movie is rooted in fact.