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
- `healthScoreV2` (0-100) — weighted rescale of available categories: SUM(available subtotals) * (100 / SUM(available weights)), clamped to 100. NULL when fewer than 2 of the 3 categories are available. Does not equal the arithmetic sum of the three subtotals.
15
+
- `healthScoreV2` (0-100) — sum of measured category scores plus population-median imputation for
16
+
any NULL category (`categoryMax × median(score/max)` over measured repos), clamped to 100. NULL
17
+
when fewer than 2 of the 3 categories are available (IN-1248). A category field above may be NULL
18
+
while still contributing an imputed value to this total (IN-1249).
16
19
- `lifecycleLabelV2` — per-repo lifecycle state (active/stable/declining/inert/abandoned/archived),
17
20
computed via the spec's decision tree (archived flag > abandoned > inert > declining > stable >
18
21
active, first match wins), or NULL when the repo has zero commits and zero issues/PRs in every window
@@ -21,11 +24,11 @@ DESCRIPTION >
21
24
- `impactScore` (0-100) — MAX(packages.impact) * 100 over packages published by this repo. NULL when
Copy file name to clipboardExpand all lines: services/libs/tinybird/pipes/project_repo_insights.pipe
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ DESCRIPTION >
12
12
- `page`: Optional integer for pagination offset calculation, defaults to 0
13
13
- Response: Project and repository records with insights metrics
14
14
- `healthScoreV2`, `healthLabel`, `lifecycleLabel`, `impactScore`, `impactLabel` are the Akrites-methodology fields (see `project_insights_copy_ds` for band definitions); may be null when the record has no linked package data. `healthScoreV2` is distinct from the legacy `healthScore` field.
15
-
- `maintainerHealthScoreV2` (0-40), `securitySupplyChainScoreV2` (0-35), `developmentActivityScoreV2` (0-25) are the Health Score v2 category breakdown (IN-1212). For project records: independent medians (`quantileExact(0.5)`) over the project's enabled, non-excluded repos — they do not necessarily sum to `healthScoreV2`. For repo records: per-repo values passed through from `health_score_v2_repo_copy_ds`; they sum to `healthScoreV2` only when all three categories are available (partial coverage rescales). Null when the record has no value for that category.
15
+
- `maintainerHealthScoreV2` (0-40), `securitySupplyChainScoreV2` (0-35), `developmentActivityScoreV2` (0-25) are the Health Score v2 category breakdown (IN-1212). For project records: independent medians (`quantileExact(0.5)`) over the project's enabled, non-excluded repos — they do not necessarily sum to `healthScoreV2`. For repo records: per-repo values passed through from `health_score_v2_repo_copy_ds`; they sum to `healthScoreV2` only when all three categories are available; missing categories are imputed at the population median rate (IN-1249). Null when the record has no value for that category.
0 commit comments