[MDBF-572] Add time to first meaningful response to pull request metrics Created: 2023-06-20 Updated: 2023-07-05 Resolved: 2023-07-05 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Andrew Hutchings | Assignee: | Andrew Hutchings |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3.75d | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We need a "time to first meaningful response" metric. The current plan for this is to add code to the pull request metrics scripts which will: 1. Pull the comments for each pull request for the week being parsed Any that do not have a first meaningful response will not count towards the time, but will be logged using a counter, giving a second metric of number of pull requests with no meaningful response. Code for this is in the pull-requests directory of https://github.com/MariaDB/metrics |
| Comments |
| Comment by Eric Herman [ 2023-06-20 ] |
|
To me, this looks like a good place to start. It is far beyond the scope of the initial version of the script to try differentiate "Hello Nurse" comments from truly helpful comments, thus I support starting with a plan like this. Once implemented, it will be possible to review how good or bad it seems to be. Maybe it will need tuning, yet maybe it will be good enough that the few not-very-meaningful responses will not change the weekly average enough to impact prioritization decisions. |
| Comment by Eric Herman [ 2023-06-21 ] |
|
Related, some time ago, Mozilla published Measuring Engagement If someone has a different source for measuring the relationship of responsiveness and return contributions, please link it. |
| Comment by Andrew Hutchings [ 2023-06-29 ] |
|
Modified the metrics pull request code to do this. Sent first batch of results to Eric to inspect. This is how it works with the current patch: 1. Get a list of all MariaDB organisation members*
"No meaningful response" is possible if a pull request is opened in error and the closed. So, is not always a bad thing. I'm considering a filter for issues that are closed with no comments or reviews. |
| Comment by Andrew Hutchings [ 2023-07-03 ] |
|
Today's update: Two extra categories added:
In addition:
|
| Comment by Andrew Hutchings [ 2023-07-05 ] |
|
Added verbose mode to PR script to verify the results. Used this to verify several months of results. Changes made:
|
| Comment by Andrew Hutchings [ 2023-07-05 ] |
|
Final changes and verify data |