data: exploration of review times #1233
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR should not be merged.
This is a notebook that explores the P95 and P99 values of a few review metrics.
The purpose of putting it in a PR is to allow folks to explore the data
themselves, hopefully driving discussions on how we can improve.
How to use the notebook
then run all the cells.
Metrics
Places where we are doing well
waiting too long to click the merge button after approval.
P95: 2 days, P99: 14 days (this isn't ideal, but not concerning).
Places we can improve
a review within that time. P99 is 45 days, which is something we should
address.
While these are distributions with long tails, I think we can greatly improve the P95 here.
better (but not much). Given that a PR is going to get merged, it tends to
be merged faster than one that isn't. We of course don't know a priori whether a PR is guaranteed to be merged.
Would love to see what others think!
Perhaps there are other interesting metrics to calculate that would help us
determine how to improve our PR turnaround times.