Skip to content

fix: align org page critical projects scoring with spec (IN-1174)#4324

Open
joanagmaia wants to merge 2 commits into
mainfrom
fix/org-page-pipes
Open

fix: align org page critical projects scoring with spec (IN-1174)#4324
joanagmaia wants to merge 2 commits into
mainfrom
fix/org-page-pipes

Conversation

@joanagmaia

@joanagmaia joanagmaia commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Narrow activityCount / contributorCount in critical projects list to code-only activity types (drop isCollaboration) — aligns with technicalScore inputs and dbt model
  • Widen activity window from 365 → 730 days (24 months) — aligns with technicalScore window and dbt model
  • Raise maintainers score from 3.0 → 10.0 — aligns with dbt gold_organization_dashboard_project_organizations_technical_influence_tr model

Verified against Microsoft org: k8s gap narrowed from 8.1 → 1.1 pts vs Snowflake scores.

🤖 Generated with Claude Code


Note

Medium Risk
Changes how org-page project rankings and technical scores are computed in Tinybird, which directly affects displayed analytics but not auth or data writes outside the nightly copy job.

Overview
Updates the nightly org page projects precompute so list metrics and technicalScore match the dbt technical-influence spec.

Activity inputs for activityCount / contributorCount now use code-only activity types (isCodeContribution) instead of collaboration + code, and the lookback widens from 365 to 730 days. The maintainers component of technicalScore increases from 3.0 to 10.0 when the org has at least one active maintainer in the 24-month window. The read pipe description is updated to reflect the 730-day window.

Reviewed by Cursor Bugbot for commit ae35580. Bugbot is set up for automated code reviews on this repo. Configure here.

- 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>
Copilot AI review requested due to automatic review settings July 10, 2026 13:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@@ -9,11 +10,11 @@ DESCRIPTION >
Collaboration and code contribution activity types (mirrors leaderboards filter)
@@ -138,7 +139,7 @@ SQL >
(
-- Maintainers: 3 pts if org has at least 1 active maintainer (24-month window)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants