in run_tests/scoring.py [0:0]
def weighted_score(self):
"""
Calculates the weighted score by multiplying the raw score by the available points.
Returns:
float: The rounded weighted score
"""
return 0 if not self.test_results else round(min([test_result.score for test_result in self.test_results]) * self.points, self.score_precision)