Repository navigation
feat(contributor-metrics): count *-site repository work as website - #1950
Merged
Merged
Conversation
Work in a repository that exists for one purpose carried no area unless someone labelled it, so an ASF project's website contributions showed up as "(unlabelled)" and did not count toward area breadth. contributor-metrics score takes a repeatable --repo-area GLOB=AREA: an item from a repository whose name matches GLOB also counts under AREA, labelled or not. The value comes from a new organization key, contributor_activity.repository_areas; the ASF organization maps "*-site" to "website", the independent baseline maps nothing. contributor-to-committer, nomination and calibrate pass it wherever they score, so candidates and past nominees are measured the same way. Generated-by: Claude Opus 5
potiuk
enabled auto-merge (squash)
November 1, 2026 10:15
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
<project>-site) has no labeler, so contributors' website work showed as(unlabelled)in the contributor-growth briefs and reports and never counted toward area breadth.contributor-metrics scoregains a repeatable--repo-area GLOB=AREA: an item from a repository whose name matchesGLOB(read from the item URL) also counts underAREA, labelled or not, and that area counts toward breadth.contributor_activity.repository_areaskey. The ASF organization maps"*-site"towebsite; theindependentbaseline maps nothing.contributor-to-committer,nominationandcalibratepass it wherever they runscore, so candidates and past nominees are measured the same way (candidate-screenmeasures throughcontributor-to-committer).Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)organizations/ASF,organizations/independent)Test plan
prek run --all-filespasses, apart from twopytestcases inagent-isolationandvetted-opsthat fail only inside the local agent sandbox and do not touch this changetools/contributor-metrics: 91 tests pass, including new ones for unlabelled site work counted aswebsite, the area added alongside labels, no effect without the flag, and the CLI flag's parsing and its error on a malformed valuecontributor-to-committer/step-2a-discount-automated(the step whosescorecommand changed): 7/7 pass (case 6 failed once on1.0vs1and passed on re-run)measured_tokensrestamped for the three skills; speccontributor-growth.mdupdatedRFC-AI-0004 compliance
Linked issues
Notes for reviewers (optional)
family:dev/family:cross-family); both branch frommain.Generative AI: this change was written with Claude Code (Claude Opus 5) and reviewed by the PR author.
🤖 Generated with Claude Code