-
Notifications
You must be signed in to change notification settings - Fork 28
Added Issues Closed / Opened ratio in Issue trends #16
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
base: main
Are you sure you want to change the base?
Conversation
Added the issues opened / issues closed ratio.
removed fractions import
Hi Adam, this looks great. Can you snake-case it please? |
@@ -324,7 +325,8 @@ def run(API, environ, indata, session): | |||
body = query | |||
) | |||
no_closers_before = res['aggregations']['closer']['value'] | |||
|
|||
issuesRatioBefore = round(float(no_issues_closed_before) / no_issues_created_before, 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @amunz
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. ;)
@@ -324,7 +325,8 @@ def run(API, environ, indata, session): | |||
body = query | |||
) | |||
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)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issuesRatioAfter = str(round(float(no_issues_closed) / no_issues_created, 2)) | |
issues_ratio_after = str(round(float(no_issues_closed) / no_issues_created, 2)) |
Hi folks. Please take a look #45. We are going to change the |
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.
Thank you for considering,
Adam