Skip to content

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

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

fix: align org page critical projects scoring with spec (IN-1174)#4324
joanagmaia wants to merge 6 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 user-visible org page project rankings and metrics via nightly Tinybird precompute; no auth or data-mutation risk, but production analytics behavior shifts until the copy job runs.

Overview
Aligns the nightly org page critical projects precompute with the technical-influence spec and dbt model (IN-1174).

Activity for activityCount / contributorCount: the copy pipe now joins only isCodeContribution activity types (collaboration types are excluded), matching the code-only inputs already used for technicalScore.

Time window: the activity rollup window moves from 365 to 730 days (24 months), consistent with the score nodes and the read pipe description.

Scoring: the maintainer component in technicalScore increases 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 activity/contributor counts until the nightly copy refreshes; scores should track Snowflake/dbt more closely (e.g. narrower gaps vs reference orgs).

Reviewed by Cursor Bugbot for commit f06256f. 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.

Comment thread services/libs/tinybird/pipes/org_page_projects_copy_pipe.pipe Outdated
Comment thread services/libs/tinybird/pipes/org_page_projects_copy_pipe.pipe Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
Copilot AI review requested due to automatic review settings July 13, 2026 14:36
joanagmaia and others added 2 commits July 13, 2026 15:36
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@joanagmaia joanagmaia requested a review from gaspergrom July 13, 2026 15:25
Copilot AI review requested due to automatic review settings July 13, 2026 15:39

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

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