Skip to content

Conversation

@amunz
Copy link

@amunz amunz commented May 2, 2018

Please consider my contribution to add the metric issues closed / issues opened ratio. The metric is defined by the Chaoss project as an important metric for determining growth maturity and decline. More information on the metric can be found here.

ratio in issue tracker trends

Thank you for considering,
Adam

amunz added 2 commits May 2, 2018 13:13
Added the issues opened / issues closed ratio.
removed fractions import
@Humbedooh
Copy link
Member

Hi Adam, this looks great. Can you snake-case it please?

)
no_closers_before = res['aggregations']['closer']['value']

issuesRatioBefore = round(float(no_issues_closed_before) / no_issues_created_before, 2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @amunz

Suggested change
issuesRatioBefore = round(float(no_issues_closed_before) / no_issues_created_before, 2)
issues_ratio_before = round(float(no_issues_closed_before) / no_issues_created_before, 2)§

Let's make it python style. ;)

no_closers_before = res['aggregations']['closer']['value']

issuesRatioBefore = round(float(no_issues_closed_before) / no_issues_created_before, 2)
issuesRatioAfter = str(round(float(no_issues_closed) / no_issues_created, 2))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
issuesRatioAfter = str(round(float(no_issues_closed) / no_issues_created, 2))
issues_ratio_after = str(round(float(no_issues_closed) / no_issues_created, 2))

@michalslowikowski00
Copy link
Contributor

Hi folks. Please take a look #45. We are going to change the master branch name to main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants