Skip to content

Commit 3ead230

Browse files
committed
Fix contribution thresholds for OpenTelemetry voter eligibility
- Reduce All_All contribution threshold from 10x to 5x multiplier - Reduce RepoGroup_All contribution threshold from 5x to 2x multiplier - Reduce All_Country contribution threshold from 5x to 2x multiplier - This addresses the 25-contribution cutoff issue for OpenTelemetry elections - Now includes developers with lower activity levels for voter roll generation Fixes: OpenTelemetry election voter roll missing contributors with <25 contributions Signed-off-by: Arunodoy18 <arunodoy630@gmail.com>
1 parent 0f15fcd commit 3ead230

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

metrics/shared/project_developer_stats.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ from (
266266
where
267267
(sub.metric = 'events' and sub.value > 100 * {{project_scale}} * sqrt({{range}}/1450.0))
268268
or (sub.metric = 'active_repos' and sub.value > 3 * {{project_scale}} * sqrt({{range}}/1450.0))
269-
or (sub.metric = 'contributions' and sub.value > 10 * {{project_scale}} * sqrt({{range}}/1450.0))
269+
or (sub.metric = 'contributions' and sub.value > 5 * {{project_scale}} * sqrt({{range}}/1450.0))
270270
or (sub.metric = 'commit_comments' and sub.value > 3 * {{project_scale}} * sqrt({{range}}/1450.0))
271271
or (sub.metric = 'comments' and sub.value > 20 * {{project_scale}} * sqrt({{range}}/1450.0))
272272
or (sub.metric = 'reviews' and sub.value > 15 * {{project_scale}} * sqrt({{range}}/1450.0))
@@ -549,7 +549,7 @@ from (
549549
where
550550
(sub.metric = 'events' and sub.value > 80 * {{project_scale}} * sqrt({{range}}/1450.0))
551551
or (sub.metric = 'active_repos' and sub.value > 3 * {{project_scale}} * sqrt({{range}}/1450.0))
552-
or (sub.metric = 'contributions' and sub.value > 5 * {{project_scale}} * sqrt({{range}}/1450.0))
552+
or (sub.metric = 'contributions' and sub.value > 2 * {{project_scale}} * sqrt({{range}}/1450.0))
553553
or (sub.metric = 'commit_comments' and sub.value > 2 * {{project_scale}} * sqrt({{range}}/1450.0))
554554
or (sub.metric = 'comments' and sub.value > 10 * {{project_scale}} * sqrt({{range}}/1450.0))
555555
or (sub.metric = 'reviews' and sub.value > 5 * {{project_scale}} * sqrt({{range}}/1450.0))
@@ -790,7 +790,7 @@ from (
790790
where
791791
(sub.metric = 'events' and sub.value > 100 * {{project_scale}} * sqrt({{range}}/1450.0))
792792
or (sub.metric = 'active_repos' and sub.value > 3 * {{project_scale}} * sqrt({{range}}/1450.0))
793-
or (sub.metric = 'contributions' and sub.value > 5 * {{project_scale}} * sqrt({{range}}/1450.0))
793+
or (sub.metric = 'contributions' and sub.value > 2 * {{project_scale}} * sqrt({{range}}/1450.0))
794794
or (sub.metric = 'commit_comments' and sub.value > 2 * {{project_scale}} * sqrt({{range}}/1450.0))
795795
or (sub.metric = 'comments' and sub.value > 10 * {{project_scale}} * sqrt({{range}}/1450.0))
796796
or (sub.metric = 'reviews' and sub.value > 5 * {{project_scale}} * sqrt({{range}}/1450.0))

0 commit comments

Comments
 (0)