Question: How many Contributors have gone inactive over a specific period of time?
A metric that shows how many contributors have stopped contributing over a specific period of time. The period of time required for a contributor to be counted as inactive can be decided by a variable and this metric will display the number of contributors that have been labeled as inactive over a given time frame.
The objective is to determine how many people have stopped contributing actively. This could be useful for community managers to determine if key members are losing interest, or are taking a break.
The usage and dissemination of health metrics may lead to privacy violations. Organizations may be exposed to risks. These risks may flow from compliance with the GDPR in the EU, with state law in the US, or with other law. There may also be contractual risks flowing from terms of service for data providers such as GitHub and GitLab. The usage of metrics must be examined for risk and potential data ethics problems. Please see CHAOSS Data Ethics document for additional guidance.
The metric will take in two variables - a time period and a interval. The time period will be the period over which the number of inactive members will be displayed. For example if time period=year then it will display the number of contributors that have gone inactive each year. The interval will determine how long it takes for a contributor to be labeled as inactive. If a contributor has not made a contribution for a length of time longer than the interval, they will be counted as inactive.
The metric will work by:
- getting a list of all contributors
- checking the last contribution date
- if the last contribution date is before the cutoff then add them to the inactivity count of the period they last contributed in.
- create list of inactive contributors
- inactive: number of inactive contributors
- Minimum contributions required to be considered active
- Period of time to determine inactivity
- Start date/End date
- Period of graph
Data Collection Strategies
The list of contributors can be collected using the existing contributors metric. To determine the last contribution date new code may be needed.