“…Here, we’ve added some visual niceties for the user with the assistance of a helper function, ratings_complete?/1, defined in the RatingLive.IndexComponent:…”
It doesn’t seem entirely necessary to repeat the same code snippet here, when it also appears only a few lines above. Perhaps a hangover from an earlier edit of the text?