Skip to content

Commit b78451a

Browse files
committed
fix: clarify healthScoreV2 is weighted rescale not sum (IN-1248)
Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
1 parent 8479c17 commit b78451a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/libs/tinybird/datasources/health_score_v2_repo_copy_ds.datasource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DESCRIPTION >
1212
dependency health (checked against the repo's own published packages' dependencies, not an average
1313
across unrelated packages), supply chain integrity (hardcoded 0 — provenance/2FA data not yet piped).
1414
- `developmentActivityScoreV2` (0-25) — release cadence, commit activity, issue resolution, PR merge health.
15-
- `healthScoreV2` (0-100) is the sum of the three categories above, clamped to 100.
15+
- `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.
1616
- `lifecycleLabelV2` — per-repo lifecycle state (active/stable/declining/inert/abandoned/archived),
1717
computed via the spec's decision tree (archived flag > abandoned > inert > declining > stable >
1818
active, first match wins), or NULL when the repo has zero commits and zero issues/PRs in every window

0 commit comments

Comments
 (0)