function score_for_feed(item, user):
   return (weight_engagement * predicted_click_rate(item, user)

       + weight_quality * quality_score(item)
       - weight_fatigue * times_shown_recently(item, user))
 # what gets optimized shapes what the user sees
