As of now many functions that calculate stats make use of individual functions such as getScores(debaterId) by calling them for all debater ids iteratively. This is inefficient. Ideally create methods such as getAllDebaterScores() and pass them for calculation
As of now many functions that calculate stats make use of individual functions such as
getScores(debaterId)by calling them for all debater ids iteratively. This is inefficient. Ideally create methods such asgetAllDebaterScores()and pass them for calculation