-
Notifications
You must be signed in to change notification settings - Fork 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
[Issue 743] Sprint burndown by points #782
Conversation
The code copied from deliverable percent complete copied the dataframe from self.dataset instead of using the filtered dataset passed to the method. This introduced a bug that this commit fixes.
Also adds a TODO for setting up incremental exports
Replaces references to "points" and "tasks" string with Enum in DeliverablePercentComplete metric class
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.
Overall looks excellent. On the question of referring to things as either "tasks" or "stories" or something else, I wonder if it makes sense to use the same language as GitHub for consistency and clarity, and call them "issues"?
But I don't have too strong opinions about this, either way is fine for me.
Nice work!
This helps align terminology in the project with terminology used in GitHub
Storing the value of self.unit.value to the variable unit is confusing because it doesn't indicate the type or how that variable will be used This commit changes the value to unit_col to indicate that it will be used to select the unit column and adds a type hint
Summary
Adds support for calculating sprint burndown by points instead of tickets, and fixes a few other requested changes that @lucasmbrown-usds made in #685
Fixes #743
Time to review: 10 mins
Changes proposed
SprintBurndown
to accept aunit
parameter which uses the sameUnit
enum asDeliverablePercentComplete
SprintBurndown.calculate()
to use theunit
parameter when calculating burndown, allowing us to calculate burndown by sprint and ticketsSprintBurndown
Unit
inDeliverablePercentComplete
to avoid using the hardcoding"tasks"
or"points"
as a string outside of the enumContext for reviewers
git fetch origin && git checkout issue-743-sprint-burndown-by-points
poetry run analytics calculate sprint_burndown --sprint-file data/sprint-data.json --issue-file data/issue-data.json --sprint "Sprint 10" --unit points --show-results
Open questions
tasks
totickets
?Additional information