Methodology & Metric Definitions

Methodology version 1.0.0. Every metric displayed in the dashboard, SVG cards, and exports shares these exact formulas, entity scopes, and coverage rules.

Core guarantees & known limitations

  • Measured zeros are reported as 0; missing or zero-denominator values report unavailable.
  • Public routes strictly exclude private repositories, even when queried with a token holding broader access.
  • Contribution calendar dates are preserved verbatim as returned by GitHub (YYYY-MM-DD).
  • Repository language composition measures repository bytes, never personal authorship or developer skill.
  • Aggregate star acquisition history reflects currently retained star records and differs from observed count snapshots.
  • Organizations are rejected on user-only profile routes rather than coerced into user statistics.

Metric dictionary (19 metrics)

Account age

profile.account_age
Source:
GraphQL repositoryOwner (User.createdAt)
Entity scope:
Single public GitHub user account
Date field:
createdAt
Refresh policy:
Refreshed every 6 hours.
Formula:
Elapsed years and days between User.createdAt and reference timestamp.
Exclusions & coverage:
Organization accounts are rejected on user-only routes. Available whenever public profile lookup succeeds.

Followers

profile.followers
Source:
GraphQL User.followers.totalCount
Entity scope:
Single public GitHub user account
Date field:
Snapshot at fetchedAt
Refresh policy:
Refreshed every 6 hours.
Formula:
Current follower count reported by GitHub at collection time.
Exclusions & coverage:
None. Snapshot counter; historical deltas require later retained tracking.

Following

profile.following
Source:
GraphQL User.following.totalCount
Entity scope:
Single public GitHub user account
Date field:
Snapshot at fetchedAt
Refresh policy:
Refreshed every 6 hours.
Formula:
Current following count reported by GitHub at collection time.
Exclusions & coverage:
None. Snapshot counter.

Public owned repositories

repos.owned_public_total
Source:
GraphQL User.repositories(ownerAffiliations: OWNER, privacy: PUBLIC)
Entity scope:
Directly owned public repositories
Date field:
createdAt, pushedAt
Refresh policy:
Refreshed every 2 hours.
Formula:
Count of public repositories owned directly by the target account.
Exclusions & coverage:
Excludes organization-owned repositories and third-party repositories the user contributed to or starred. Marked complete only when all cursor pages finish.

Stars received (scoped)

repos.stars_received
Source:
GraphQL Repository.stargazerCount
Entity scope:
Selected owned public repository set S
Date field:
Snapshot at fetchedAt
Refresh policy:
Refreshed every 2 hours.
Formula:
sum(repo.stargazerCount for repo in S)
Exclusions & coverage:
Default S excludes forks and includes archived owned repos. Never includes org-owned, contributed, or starred repos. Inherits repository pagination completeness.

Forks received (scoped)

repos.forks_received
Source:
GraphQL Repository.forkCount
Entity scope:
Selected owned public repository set S
Date field:
Snapshot at fetchedAt
Refresh policy:
Refreshed every 2 hours.
Formula:
sum(repo.forkCount for repo in S)
Exclusions & coverage:
Matches selected owned public repository filter scope. Inherits repository pagination completeness.

Total calendar contributions

contributions.calendar_total
Source:
GraphQL contributionsCollection.contributionCalendar.totalContributions
Entity scope:
Account-wide GitHub-eligible contributions for selected year
Date field:
GitHub calendar YYYY-MM-DD (preserved verbatim)
Refresh policy:
2 hours for current year; 7 days for archived years.
Formula:
GitHub-computed eligible contribution total for the selected calendar year.
Exclusions & coverage:
Not an exhaustive count of all Git operations; unaffected by repository filter. Includes restricted private counts when publicly shared on profile without exposing private repo details; does not force sum of categories to match total.

Active days

contributions.active_days
Source:
Derived from contributionCalendar.weeks[].contributionDays
Entity scope:
Elapsed days in selected period (date <= referenceDate)
Date field:
contributionDay.date
Refresh policy:
Matches contribution calendar.
Formula:
count(day where day.date <= referenceDate && day.contributionCount > 0)
Exclusions & coverage:
Future days in current year are excluded from elapsed counts. Complete when all calendar weeks for the year are present.

Activity percentage

contributions.activity_rate
Source:
Derived from contributionCalendar
Entity scope:
Elapsed days in selected period
Date field:
contributionDay.date
Refresh policy:
Matches contribution calendar.
Formula:
active_days / elapsed_days
Exclusions & coverage:
Unavailable when elapsed_days === 0. Complete when calendar is complete.

Average contributions per elapsed day

contributions.average_per_elapsed_day
Source:
Derived from contributionCalendar
Entity scope:
Elapsed days in selected period
Date field:
contributionDay.date
Refresh policy:
Matches contribution calendar.
Formula:
sum(contributionCount on elapsed days) / elapsed_days
Exclusions & coverage:
Unavailable when elapsed_days === 0; excludes future zero-padded dates. Complete when calendar is complete.

Longest streak in period

contributions.longest_streak
Source:
Derived from contributionCalendar
Entity scope:
Loaded contribution calendar span
Date field:
contributionDay.date
Refresh policy:
Matches contribution calendar.
Formula:
Maximum consecutive days with contributionCount > 0 within the loaded span.
Exclusions & coverage:
Not labeled a lifetime record if streak touches the beginning of the loaded span. Reports reachesPeriodStart lower-bound indicator when touching first loaded day.

Current streak

contributions.current_streak
Source:
Derived from contributionCalendar
Entity scope:
Loaded calendar up to referenceDate
Date field:
contributionDay.date
Refresh policy:
Matches contribution calendar.
Formula:
Consecutive active days ending on referenceDate, or referenceDate - 1 day if referenceDate currently has 0 contributions (unfinished-day rule).
Exclusions & coverage:
Zero when neither today nor yesterday has contributions. Reports reachesPeriodStart lower-bound indicator if streak reaches the first day of the loaded period.

Authored PR cohort summary

prs.created_cohort_summary
Source:
GraphQL User.pullRequests (filtered strictly to isPrivate === false)
Entity scope:
Public pull requests authored by user and created within [from, to]
Date field:
createdAt
Refresh policy:
Refreshed every 2 hours.
Formula:
Counts open (with draft subset), merged, and closed-unmerged PRs created inside the requested cohort window.
Exclusions & coverage:
Private-repository PRs are always excluded in public release, even when using a token with broader scope. Marked partial if paginated connection was truncated by budget.

Merge share among resolved PRs

prs.merge_share_among_resolved
Source:
Derived from prs.created_cohort_summary
Entity scope:
Resolved PRs (merged + closed_unmerged) created within [from, to]
Date field:
createdAt
Refresh policy:
Refreshed every 2 hours.
Formula:
merged / (merged + closed_unmerged)
Exclusions & coverage:
Open PRs are kept separate; returns unavailable when resolved denominator is 0. Inherits PR collection completeness.

Median merge duration (hours)

prs.median_merge_duration_hours
Source:
Derived from merged PRs in created-in-period cohort
Entity scope:
Merged public PRs created within [from, to]
Date field:
createdAt, mergedAt
Refresh policy:
Refreshed every 2 hours.
Formula:
median((mergedAt - createdAt) in hours); reports sampleSize
Exclusions & coverage:
Returns unavailable when sampleSize === 0. Elapsed merge time includes draft and waiting periods. Inherits PR collection completeness.

Authored issues summary

issues.authored_summary
Source:
GraphQL User.issues (filtered strictly to isPrivate === false)
Entity scope:
Public issues authored by user within [from, to]
Date field:
createdAt
Refresh policy:
Refreshed every 2 hours.
Formula:
Counts open and closed authored issues plus per-repository totals.
Exclusions & coverage:
Strictly excludes pull requests and private repositories. Does not equate authored, assigned, and closed-by-user. Marked partial if pagination stopped early.

PRs reviewed (contribution collection)

reviews.pr_review_contributions
Source:
GraphQL contributionsCollection.pullRequestReviewContributions (isPrivate === false)
Entity scope:
Public pull requests reviewed by user in selected year
Date field:
occurredAt / submittedAt
Refresh policy:
2 hours for current year; 7 days for archived years.
Formula:
Count and state breakdown of most recently submitted review per reviewed PR returned by GitHub contribution collection.
Exclusions & coverage:
Not an exhaustive review-submission log or comment count; private PR reviews excluded. Marked partial if paginated connection was truncated.

Repository language composition

languages.composition
Source:
GraphQL Repository.languages / REST /repos/{owner}/{repo}/languages
Entity scope:
Selected owned public repository set S
Date field:
Snapshot at fetchedAt
Refresh policy:
Refreshed daily.
Formula:
language_share(L, S) = sum(bytes(L, r) for r in S) / sum(totalLanguageBytes(r) for r in S)
Exclusions & coverage:
Measures repository byte share only, never personally authored lines, coding time, or proficiency. Truncated/unattributed bytes beyond fetched edges are explicitly grouped into 'Other' and marked partial.

Repository star acquisition history

history.star_acquisition
Source:
REST GET /repos/{owner}/{repo}/stargazers/history
Entity scope:
Single selected public owned repository
Date field:
Weekly Unix bucket timestamp (non-guaranteed UTC day boundaries)
Refresh policy:
Refreshed every 6 hours (ETag conditional).
Formula:
Weekly retained star counts and cumulative retained curve reconstructed from aggregate buckets.
Exclusions & coverage:
Reflects currently retained stars only; removing a star removes the record. Distinct from observed star count snapshots. Marked partial if upstream page cap or pagination budget truncates older weeks.