Task: Implement a 5-Star Rating Calculator
Task: Implement a 5-Star Rating Calculator: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a program that calculates the overall star rating from individual rating counts, similar to how Amazon calculates product ratings.
The task
You need to implement a program that calculates the overall star rating from individual rating counts, similar to how Amazon calculates product ratings.
Part of PrimeIntellect/Terminal-Lego-15k.