Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Public data

Choosing a North Star metric for GitHub newcomers

The dashboard leads with active days, then the event count that breaks their ties, and the second day's drop; a Power BI model adds access by maintainer.

Use it live on Tableau Public, or download the files below. The summary is on the main page.

The dashboard

Built on the dbt model below for a product executive with a minute: the North Star's first key, active days, and what it predicts, the event count that breaks its ties, the candidates beside it, the funnel with its biggest drop, and the first-week habits. The workbook's filters are the account's first action and whether it activated; the Power BI project adds the maintainer, with access by audience (the semantic model, below).

What is live and what is not. Live: the Tableau workbook on Tableau Public, with no access by audience; the published view shows the same charts, titles and filters as the workbook in the download. Opened on a desktop only: the Power BI project in the download, viewed in Power BI Desktop as both roles; it is not published, so its access shows in the screenshots and the files. Both lead with active days and the event count as their tie-break, add days then events to the candidates, show counts in full and title each chart a filter redraws by its measure; the Power BI page opens on a card for the share active on two or more days. Both files carry the rows of the CSV tables linked below, and the views on this page are drawn from the same tables.

Each extra active day in week one goes with more newcomers still active in week 13.

Share still active in week 13, by active days in week 1, September cohort

  1. 1 day3.1%
  2. 2 days9.7%
  3. 3 days15.2%
  4. 4 days23.2%
  5. 5 days24.4%
  6. 6 days29.0%
  7. 7 days40.6%
Days then events rank the stayers best; stars given do worse than chance.

Score out of 100 pairs, a tie counting half, September cohort

  1. Days then events71.5
  2. Events69.1
  3. Active days68.3
  4. Repositories acted on63.2
  5. Work on others' repositories52.4
  6. Stars given45.2
The second day loses most newcomers.

Share of the September cohort reaching each step

  1. Active on day 0100%
  2. Active on a second day in week 122%
  3. Activated21%
  4. Activated and still active in week 132.7%
Pushing code to an own repository goes with staying the most, within groups of similar activity.

Points of week-13 activity, accounts that did it against those that did not, within active-day groups, September cohort

  1. Pushed code to an own repository+2.6
  2. Created a repository+1.9
  3. Opened a pull request on someone else's repository+0.5
Live on Tableau Public, the dashboard leads with active days, then the event count that breaks their ties.

The published view on Tableau Public, as its static image, the same as the workbook in the download. September cohort. Select the image for full size.

Tableau Public view of the North Star dashboard: one filter for first action and one for activation at the top right, each applied to the two charts of newcomers in view; week-13 retention by active days in week 1, rising to about 40% at 7 days; week-13 retention by band of first-week events; the candidate scores with days then events highlighted; the funnel; the first-week habits; and newcomers active each day.

The metric tree

The North Star ranks newcomers by active days in week one first and by first-week events second, so the tree shows two summaries, one per key, each over the whole cohort. The first splits newcomers by their active days; each extra day goes with more of them still active in week 13. The second splits the event count, the tie-break, into every kind of first-week event that adds to it; it is not drawn within each active-day group. Each branch is reach times depth: the share of newcomers who did it at least once, times the events each of them made. The branches add back to the count by construction, so the tree is bookkeeping, not evidence: it shows where the events come from and tests nothing. Added after the results, on the first two days: it splits the declared count and changes no score. Stars given are 6% of it, and the newcomers who gave them stayed less.

Four in five newcomers are active on one day of week one, which is why the event count is needed to break their ties.

Share of newcomers by active days in week 1, September cohort

First key: active days in week 11.34days per newcomer on average.
  1. 1 day78%
  2. 2 days14%
  3. 3 days4.7%
  4. 4 days1.8%
  5. 5 days0.8%
  6. 6 days0.3%
  7. 7 days0.1%
Second key, the tie-break: pushes and creates make up four fifths of the event count.

First-week events per newcomer, September cohort

First-week events per newcomer4.83October 5.02. Ranking score for week 13: 69 out of 100.
  1. Pushes: 32% of newcomers × 5.9 each1.91
  2. Creates: 75% of newcomers × 2.8 each2.09
  3. Stars given: 16% of newcomers × 1.9 each0.29
  4. Issues and comments: 5.0% of newcomers × 2.5 each0.12
  5. Pull requests and reviews: 3.3% of newcomers × 3.4 each0.11
  6. Forks: 12% of newcomers × 1.4 each0.16
  7. Other: 6.5% of newcomers × 2.1 each0.14
The metric tree, both cohorts
BranchSeptember per newcomerDid itEvents eachShare of the countStill active if didIf notOctober per newcomerOctober share
Pushes1.9132%5.940%9.7%3.1%2.0340%
Creates2.0975%2.843%6.2%2.3%2.0240%
Stars given0.2916%1.96.1%2.2%5.8%0.295.9%
Issues and comments0.125.0%2.52.5%5.4%5.2%0.142.8%
Pull requests and reviews0.113.3%3.42.3%10.3%5.1%0.122.5%
Forks0.1612%1.43.4%5.4%5.2%0.244.7%
Other0.146.5%2.12.8%10.5%4.9%0.173.4%
All first-week events4.83100%5.02100%

Each branch counts every event of its kind. Pushes include pushes to other people's repositories, and creates include branches and tags, so their shares run above the habits table's pushed code to an own repository (31%) and created a repository (71%). Still active if did, against if not, is an association, as everywhere in this study: stars go with leaving on both cohorts, and pushes and pull requests with staying.

The event count here is an average, and a few heavy accounts pull it up: the median newcomer made 2 events in week 1 on both days. This page shows that the count ranks people within a cohort. It does not show that the average moves with retention from one cohort to the next: from September to October it rose from 4.83 to 5.02 while week-13 activity fell from 5.2% to 3.5%. The test has the check.

The semantic model

The Power BI project carries the model the views are drawn from, and every measure keeps its definition inside the model file. One fact table at the grain of the newcomer table, two dimensions that filter it, a security table, and four summary tables for the whole September cohort. The Tableau workbook reads the same fact and summary tables.

Tables and grain
TableGrainRows
NewcomersFact. One row per first action, activation, active days in week 1, events band, collaboration flag and maintainer, with the newcomers in it and those still active in week 13. September cohort, automation set aside.402
MaintainersDimension. One row per maintainer code: Maintainer 01 to Maintainer 10, Other maintainers, and No work on others' repositories.12
EventsBandsDimension. One row per band of first-week events, with its order and bounds.6
AccessSecurity. One row per sign-in allowed to see one maintainer's rows; read only by the maintainer role.2
CandidatesSummary. One row per candidate North Star number, with its ranking score and interval.6
FunnelSummary. One row per funnel step, for the whole cohort.4
InputsSummary. One row per first-week habit, with its retention difference within active-day groups.6
DailyActiveSummary. One row per day read, with the cohort members active that day.14
Relationships
Many sideOne sideFilter direction
Newcomers[maintainer]Maintainers[maintainer]Maintainers filters Newcomers
Newcomers[events_band]EventsBands[events_band]EventsBands filters Newcomers
In Power BI Desktop the model holds the relationships above: Maintainers and EventsBands each filter Newcomers.

The Power BI project's model view; the Access security table and the counting columns are hidden. Select the image for full size.

Power BI Desktop model view: Maintainers, Newcomers, EventsBands, Access, Candidates, DailyActive, Funnel and Inputs, with one-to-many lines from Maintainers and from EventsBands to Newcomers.
Measures
MeasureDefinitionDAXFormat
New accountsNew accounts in the selection: first public event on the cohort day, automation set aside.SUM(Newcomers[accounts])Count, thousands comma
Still active in week 13Newcomers with a public event other than a star on days 84 to 90 after their first.SUM(Newcomers[retained])Count, thousands comma
Week-13 retentionStill active in week 13 divided by new accounts: the outcome every number here is scored against.DIVIDE([Still active in week 13], [New accounts])Percent, one decimal
Activation rateShare of newcomers active on 2 or more days of week 1 with at least one making event (a push, an opened pull request or issue, or a new repository), within the selection: the activation filter is kept and an empty count reads as zero, so selecting Not activated reads 0%; an empty selection stays blank.DIVIDE(COALESCE(CALCULATE([New accounts], KEEPFILTERS(Newcomers[activation] = "Activated")), 0), [New accounts])Percent, one decimal
Active on 2 or more daysThe dashboard's top number: the share of newcomers active on 2 or more days of week 1, the first key of the ranking. Not yet a target: it has not been shown to move with retention across sign-up days.DIVIDE(COALESCE(CALCULATE([New accounts], KEEPFILTERS(Newcomers[active_days] >= 2)), 0), [New accounts])Percent, one decimal
Ranking scoreThe AUC times 100: of 100 pairs of one newcomer still active in week 13 and one gone, how many the number ranks the stayer higher, a tie counting half. 50 is a coin toss.MAX(Candidates[ranking_score])Whole number
Funnel accountsNewcomers reaching the funnel step, whole cohort.SUM(Funnel[accounts])Count, thousands comma
Retention difference (points)Week-13 retention of newcomers who did the habit minus those who did not, in percentage points, compared within groups of the same active days and averaged. An association.MAX(Inputs[std_diff_points])Signed, one decimal
Active newcomersCohort members with a public event on the day.SUM(DailyActive[active_accounts])Count, thousands comma

Access by audience

A maintainer here is the account that owns the other people's repositories that took most of a newcomer's collaboration in week 1: often an organisation, sometimes a person. Maintainers show as codes, Maintainer 01 to Maintainer 10 by size, so the files name no account; the rest are Other maintainers. 20,204 of the 21,795 newcomers worked on no one else's repository. The filter Worked on others' repos is narrower: it counts pull requests, issues and comments there, while the maintainer comes from any event on someone else's repository except stars and forks. So a newcomer can have a maintainer and still read No in that filter.

Access roles
RoleAudienceRow filter
ExecutiveA product executive: every row, no filter.none
Maintainer (own rows)One maintainer, such as an organisation's community team: its own newcomer rows; the cohort-wide summaries stay whole as a benchmark.Maintainers: Maintainers[maintainer] = LOOKUPVALUE(Access[maintainer], Access[user], USERPRINCIPALNAME()); Access: Access[user] = USERPRINCIPALNAME()

The maintainer role restricts the newcomer rows only. The four summary tables (candidates, funnel, habits and daily activity) stay whole for every role, as a benchmark of the full cohort.

The Power BI roles are defined in the model files. The project in the download was opened in Power BI Desktop and viewed as both roles with View as. As the executive role the cards read 21.8% active on two or more days, 5.2% still active in week 13 and 21,795 new accounts, with every maintainer listed. As the maintainer role, for the example sign-in maintainer01@example.com, they read 96.2%, 71.7% and 53, the newcomers of Maintainer 01; the maintainer filter listed only Maintainer 01, the two charts of newcomers in view were filtered, and the candidate, funnel and habits charts stayed whole. A sign-in with no row in the access table sees no newcomer rows: viewed as the maintainer role under such a sign-in, the cards read (Blank) and the maintainer filter lists nothing.

Viewed as the maintainer role, the cards drop to Maintainer 01's 53 newcomers, 71.7% of them still active in week 13.

View as Maintainer (own rows), example sign-in maintainer01@example.com, report canvas with its role banner; the two charts of newcomers in view are filtered, the whole-cohort charts are not. Select the image for full size.

Power BI Desktop report canvas viewing as Maintainer (own rows) for maintainer01@example.com: cards 96.2% active on two or more days, week-13 retention 71.7% and new accounts 53; the maintainer slicer lists only Maintainer 01 and the first action slicer only Create and Push; the two retention charts show its newcomers; the candidate scores, funnel and habits charts are unchanged.
Viewed as the executive role, every maintainer is listed and the cards cover the whole cohort, 5.2% still active in week 13.

View as Executive, report canvas with its role banner, September cohort. Select the image for full size.

Power BI Desktop report canvas viewed as Executive: cards for the share active on two or more days (21.8%), week-13 retention 5.2% and new accounts (21,795); slicers for first action, activation and maintainer; week-13 retention by active days and by band of events; the candidate scores; the funnel at 21,795, 4,744, 4,495 and 586; and the first-week habits.

Chart style guide

Every chart here follows these rules; the dashboard files follow the titles and number formats only.

Limits