Skip to content
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

Rework open prs #27

Merged
merged 3 commits into from
Nov 17, 2023
Merged

Rework open prs #27

merged 3 commits into from
Nov 17, 2023

Conversation

ghickman
Copy link
Contributor

Based on feedback from Ben we're now collecting open PR data by week.

The main part to sense check in this change is the range for when I'm collecting data.

Given a date of X it should look at the most recent Monday -> Sunday (inclusive) range of dates.

Copy link
Collaborator

@lucyb lucyb left a comment

Choose a reason for hiding this comment

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

Looks good. As far as I can tell, it should be calculating the range of dates as you've described. Having more tests would obviously make that easier to determine. On that note, it looks like coverage hasn't been configured with source directories yet, would now be a good time?

tests/metrics/tools/test_dates.py Show resolved Hide resolved
@ghickman
Copy link
Contributor Author

We're at about 13% coverage if I enable proper coverage. I'll add tests once the system metrics stuff is done, captured in #33

@ghickman ghickman merged commit 0149281 into main Nov 17, 2023
7 checks passed
@ghickman ghickman deleted the rework-open-prs branch November 17, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants