cncf / cncf/devstats

[bug] Companies table and developers table have different data for the same period

Open
#51 10 comments 0 reactions 1 assignee Claimed by @lukaszgryglicki View on GitHub
blocked bug
Dominant language
Shell
Stars
130
Forks
57
Avg merge
7d 9h
Merged PRs (30d)
1

Description

@lukaszgryglicki has regenerated our database as of ~15 minutes ago, so this data is as fresh as it comes.

The [companies table](https://istio.devstats.cncf.io/d/5/companies-table?orgId=1&var-period_name=Last%20year&var-metric=contributions) reports the top 5 contributors to Istio in the last 12 months as:

| Rank | Company | Contributions |
| -- | -- | -- |
| 1 | Google LLC | 12738 |
| 2 | Solo.io | 8402 |
| 3 | DaoCloud Network Technology Co. Ltd. | 8229 |
| 4 | International Business Machines Corporation | 7461 |
| 5 | Huawei Technologies Co. Ltd | 6593 |

However, if one exports the data from the [Developer activity counts by company](https://istio.devstats.cncf.io/d/66/developer-activity-counts-by-companies?orgId=1&var-period_name=Last%20year&var-metric=contributions&var-repogroup_name=All&var-country_name=All&var-companies=All) view _for the same period_, the summation is this:

| Rank | Company | Contributions |
| -- | -- | -- |
| 1 | Google LLC | 12615
| 2 | Solo.io | 8605
| 3 | DaoCloud Network Technology Co. Ltd. | 7936
| 4 | International Business Machines Corporation | 7509
| 5 | Huawei Technologies Co. Ltd | 6605

Note how some companies show fewer contributions in the second list, and some have more.

Istio uses this data as part of its governance process, and last week, the order of the top 5 results shown here actually differed depending on which metric you used.

Can you help us understand why these values are different?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.