You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/libs/tinybird/pipes/collection_insights_aggregate.pipe
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,11 @@ DESCRIPTION >
9
9
- Response:
10
10
- `projectCount`: count of distinct projects in the collection.
11
11
- `uniqueContributorCount`: total unique contributors across all projects in the collection, deduplicated (a contributor active on multiple projects in the collection is counted once).
12
-
- `avgHealthScore`: average of each project's health score in the collection, rounded.
12
+
- `avgHealthScore`: average health score across the collection's onboarded projects, rounded. A project
13
+
is "onboarded" when it has at least one contributor or organization attributed to it (same definition
14
+
used by insightsProjects_filtered.pipe's `onboarded` filter and the frontend's project-row `isOnboarded`
15
+
check) — projects with no attributed contributors/organizations have no meaningful health signal yet
16
+
and would otherwise pull the average down artificially.
0 commit comments