Skip to main content

Bus Factor

From For

Definition

The Bus Factor, also known as the Contributor Absence Factor, is an indicator defined by the CHAOSS community. For a detailed definition of this indicator, please refer to CHAOSS Metrics - Bus Factor.

The Bus Factor is a compelling metric because it visualizes the question "How many contributors can we lose before a project stalls?". It is the smallest number of people that make 50% of contributions to the project & indicates a measure of the project's resilience to losing key contributors (including maintainers).

It helps identify how widely the work in a project is distributed across contributors as well as the key people in a project that are doing the majority of the work.

Data

  • Link (base): https://oss.open-digger.cn/{platform}/{owner}/{repo}/bus_factor.json
  • Link (detail): https://oss.open-digger.cn/{platform}/{owner}/{repo}/bus_factor_detail.json

To get the data for a certain repository, replace {platform}, {owner} and {repo} with the actual name. Here is an example.

Code

Here's the implementation code.

CodePen Demo