How Netflix Produces Happy Endings