-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BMI is incorrect #502
Comments
Is it really a bug or is just a problem about how users can understand this metric better? |
If you look for papers or even web sites where the Backlog Management Index is explained, the standard definition is: ´(closed issues / opened issues) * 100`. This is not what we have in the GrimoireLab metrics |
Percentage means divided by 100. Percentage sign "%" then means divided by 100. Thus, 100% = 100 / 100 = 0,1. It's not a bug, just two ways of expressing the same. If they multiply by 100 for any other reason, then it's a matter of scale. |
This means that when we close issues but don't open new issues, our BMI should be infinite!!! (breaking the chart :-D ) |
Two questions for you:
|
As I said, 100% = 1. It's not any specification, it's math. If you specify to multiply by 100 and then you say the result is 100%, then you are saying the result is
This is a different question and I'm not against it, I'm against to consider this a bug because it complies with the metric definition. |
I've found the place where the BMI was defined in 2002. The book is "Metrics and Models in Software Quality Engineering, 2nd Edition" By Stephen H. Kan More info at https://www.informit.com/articles/article.aspx?p=30306&seqNum=3 |
As @fioddor pointed out, the definition of the metric is not coherent. For one side, the factor is multiplied by a percentage. It does not make sense. Second, the author mentions the value without the percentage but multiplied by 100. As a minimal consensus, I believe we can agree that the BMI must be displayed in percentage. Do you agree? |
Yes, I agree. Please, remove the bug label and add enhancement instead for clarity. One might think the metric is not displaying the right value when that's not the case, is just a matter of mathematical terminology. |
The current calculation we do to offer the BMI is wrong according to this paper (see page 8 of the pdf)
In the current calculation we are not multiplying by 100. This new value will help us to explain the result, as it shows the percentage of tickets you are being able to digest per week. So it is more easy to be explain that if BMI is 90%, it means that you are being able to close 90% of the tickets and a 10% goes to the backlog.
The current calculation of the Timeline/Timelion chart is below:
The text was updated successfully, but these errors were encountered: