Question: How high is the risk to a project should the most active people leave?
The Contributor Absence Factor assesses the degree to which a project relies on a small number of contributors by identifying the smallest number of contributors responsible for 50% of total contributions. A lower Contributor Absence Factor indicates higher dependency on fewer contributors, posing a risk if these individuals leave the project. This metric helps project maintainers evaluate resilience and continuity risks associated with contributor reliance. This metric was previously called "Bus Factor."
Click to read more about this metric.
- Types of Contributions: Calculate the Contributor Absence Factor for various types of contributions, such as commits, issues, comments, or documentation, depending on project needs.
- Formula: The formula for Contributor Absence Factor is a percentage calculation -50% will be our threshold- followed by adding up each contributor's contributions sorted in decreasing order until we reach the threshold.
If we have 8 contributors who each contribute the following number of contributions to a project: 1000, 202, 90, 33, 332, 343, 42, 433
, then we can determine the Contributor Absence Factor by first identifying the 50% of total contributions for all the contributors.
Summary: 50% of total contributions = 1,237.5
, so the Contributor Absence Factor is 2
.
Full Solution:
- Arrange the data in descending order:
1000, 433, 343, 332, 202, 90, 42, 33
- Compute the 50% of the total:
(1,000 + 433 + 343 + 332 + 202 + 90 + 42 + 33) * 0.5 = 1,237.5
- Adding up the first two contributors in our ranking we get
1,433
. - Answer: as
1,433 > 1,237.5
, more than the 50% of contributions is performed by only2
contributors, thus theContributor Absence Factor = 2
.
- Time Period: Measure the factor at regular intervals to observe changes over time.
- Repository Group: For projects with multiple repositories, calculate the factor across relevant repositories for a comprehensive view.
- None specified
- CHAOSS Community Members
To edit this metric please submit a Change Request here.
To reference this metric in software or publications please use this stable URL: https://chaoss.community/?p=3944