For me, most comedy scripts fail in the mechanical playing-out of the setup. They'll pay lip service to a moral lesson or a psychological progression.