mood: Simplify compute_dynamic_score().