Page MenuHomePhabricator

Add mentorship numbers to the Growth team product KPIs dashboard
Closed, ResolvedPublic

Description

We should add mentorship-related metrics to the Growth team product KPIs dashboard. Metrics to include:

  • Number of automatically assigned mentors
  • Number of monthly registered newcomers divided by number of automatically assigned mentors
  • Number of inactive (automatically assigned) mentors, where an inactive mentor is defined as "did not save any edit in the last 30 days"
Acceptance criteria

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The metrics definition to be-confirmed.

This will likely be implemented as a regularly running maintenance script, at least assuming activity/newcomers registered continue to be in the final list of metrics.

@Urbanecm_WMF does this need discussion/analysis? If so, could you clarify please what you would like to discuss?

@Urbanecm_WMF does this need discussion/analysis? If so, could you clarify please what you would like to discuss?

Original reason for putting this to Needs Discussion was to group-decide/confirm which mentorship metrics do we want. I suggested some in the task description, but that's just my opinion.

Let's wait for team feedback until Oct 17. If there will be no comments, I'll implment the metrics mentioned above.

Change 849492 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] [WIP] Calculate mentorship-related metrics

https://gerrit.wikimedia.org/r/849492

Urbanecm_WMF changed the task status from Open to In Progress.Oct 30 2022, 4:18 PM

Change 849492 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Calculate mentorship-related metrics

https://gerrit.wikimedia.org/r/849492

Moving back to In progress, needs the script to be manually ran to ensure it works, and a new systemd timer to execute the script periodically.

Change 853265 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/puppet@production] growthexperiments.pp: Run updateMetrics.php daily

https://gerrit.wikimedia.org/r/853265

Change 853440 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@wmf/1.40.0-wmf.8] Calculate mentorship-related metrics

https://gerrit.wikimedia.org/r/853440

Change 853440 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.40.0-wmf.8] Calculate mentorship-related metrics

https://gerrit.wikimedia.org/r/853440

Mentioned in SAL (#wikimedia-operations) [2022-11-07T06:54:58Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:853509|Add support for gemm_mentee_is_active (T318457)]], [[gerrit:853440|Calculate mentorship-related metrics (T318684)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-07T06:55:22Z] <urbanecm@deploy1002> urbanecm and urbanecm: Backport for [[gerrit:853509|Add support for gemm_mentee_is_active (T318457)]], [[gerrit:853440|Calculate mentorship-related metrics (T318684)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-07T07:01:25Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:853509|Add support for gemm_mentee_is_active (T318457)]], [[gerrit:853440|Calculate mentorship-related metrics (T318684)]] (duration: 06m 27s)

The updateMetrics.php script is now available in production (and it works). The next step is to deploy the Puppet patch, which will execute it once a day.

Change 853265 merged by Filippo Giunchedi:

[operations/puppet@production] growthexperiments.pp: Run updateMetrics.php daily

https://gerrit.wikimedia.org/r/853265

This is now technically done. The only remaining thing is to add the charts to the KPI dashboard.

The systemd timer seems to be working as expected. The metrics job was started today at 04:30, and finished at 04:32 with no errors or warnings.

Urbanecm_WMF changed the task status from In Progress to Open.Nov 17 2022, 10:01 PM
Urbanecm_WMF added a subscriber: Trizek-WMF.

I've added the new metrics to the KPI board. Unlike all other metrics on the board, the mentorship metrics are per-wiki, as I don't see how to reasonably aggregate number of mentors across wikis.

See screenshots below:

image.png (466×933 px, 44 KB)
image.png (458×927 px, 56 KB)
image.png (422×932 px, 40 KB)

@Trizek-WMF @KStoller-WMF If you have any feedback about the charts, please share it here!

Thank you, @Urbanecm_WMF , this looks good to me! I've included mention of this in our weekly update: https://www.mediawiki.org/wiki/Growth/Growth_team_updates

Etonkovidova updated the task description. (Show Details)