Skip to content

BMI is incorrect #502

@canasdiaz

Description

@canasdiaz

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:

.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).label('BMI').color(#99af5d),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).movingaverage(8w, 'left').label('BMI Moving Avg. (8 weeks)').color(#c83d32),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).trend().label('BMI trend'),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).aggregate(avg).label('Avg. BMI').color(#e6b740)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions