"get_all_repos_rating" function replaced by a new single-sql variant