Closed Kikobeats closed 7 years ago
Those values are actually translated into values between 0-1 in which the sum is equal to 1. The reason to use weights is that it's easier to manipulate.. for instance, if we want to add a new aspect, we don't need to change all the values..
Hey,
I was reviewing how do you calculate the score value.
I want to comment weights in this piece of code: https://github.com/npms-io/npms-analyzer/blob/master/lib/scoring/score.js#L30
What is the criteria for assign those weights? I don't understand why you no assign weights base in a 0 to 1 interval, where sum all weights is equal to 1.
For example: