The Weekly Approval Rating (%) converts the average sentiment score of submissions for a politician in a given week (typically ranging from -1 for very negative to +1 for very positive) into a 0-100% scale.
Formula:
Approval (%) = [ (AvgSentiment / 2) + 0.5 ] * 100
Where:
AvgSentiment = (Sum of sentiment scores of all submissions in the week) / (Total number of submissions in the week).
This maps an average sentiment of -1 to 0%, 0 to 50%, and +1 to 100% approval.