fix: align org page critical projects scoring with spec (IN-1174)#4324
Conversation
- narrow activity/contributor counts to code-only types (drop isCollaboration) - widen activity window from 365 to 730 days (24 months) - raise maintainers score from 3.0 to 10.0 to match dbt model Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
There was a problem hiding this comment.
Pull request overview
Aligns organization-page critical-project metrics with the 24-month technical-influence specification.
Changes:
- Counts only code-contribution activity over 730 days.
- Raises the active-maintainer score from 3 to 10 points.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
org_page_projects.pipe |
Updates the documented activity window. |
org_page_projects_copy_pipe.pipe |
Adjusts activity filtering, lookback window, and scoring. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
PR SummaryMedium Risk Overview The nightly copy pipe now counts activity and contributors using code-only activity types ( technicalScore raises the active-maintainer component from 3.0 to 10.0 points when the org has at least one maintainer in the 24-month window; contributor/commit/PR share formulas are unchanged. Reviewed by Cursor Bugbot for commit f3c80d7. Bugbot is set up for automated code reviews on this repo. Configure here. |
Summary
activityCount/contributorCountin critical projects list to code-only activity types (dropisCollaboration) — aligns withtechnicalScoreinputs and dbt modeltechnicalScorewindow and dbt modelgold_organization_dashboard_project_organizations_technical_influence_trmodelVerified against Microsoft org: k8s gap narrowed from 8.1 → 1.1 pts vs Snowflake scores.
🤖 Generated with Claude Code
Note
Medium Risk
Changes precomputed org-page project rankings and activity/contributor counts users see; no auth or write-path impact, but product-facing metrics shift until the nightly copy refreshes.
Overview
Aligns the org page critical projects nightly precompute and read pipe with the technical-influence spec and dbt model.
Activity inputs:
activityCountandcontributorCountnow count code-only activity types (isCodeContributiononly), dropping collaboration types so they match the code-activity nodes used fortechnicalScore.Time window: The contribution rollup window widens from 365 to 730 days (24 months) in both the copy pipe and the public pipe description.
Scoring: The maintainers component of
technicalScoreincreases from 3.0 to 10.0 when the org has at least one active maintainer in the 24-month window.Expect different project ordering and displayed counts on organization pages after the next copy run; display columns from
org_dash_metric_copy_dsare unchanged.Reviewed by Cursor Bugbot for commit b63f2ca. Bugbot is set up for automated code reviews on this repo. Configure here.