Didn’t Charlie Brooker have a Black Mirror episode that was all about this?

The World of Rated People: Inside the Dystopian Future of Social Credit Scores