fix: align org page critical projects scoring with spec (IN-1174)#4324
Open
joanagmaia wants to merge 2 commits into
Open
fix: align org page critical projects scoring with spec (IN-1174)#4324joanagmaia wants to merge 2 commits into
joanagmaia wants to merge 2 commits into
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>
Contributor
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.
| @@ -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) | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 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/contributorCountnow use code-only activity types (isCodeContribution) instead of collaboration + code, and the lookback widens from 365 to 730 days. The maintainers component oftechnicalScoreincreases 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.