Page MenuHomePhabricator

[Session] Using automated systems to recommend reviewers in the MediaWiki project
Closed, ResolvedPublic


  • Title of session: Using automated systems to recommend reviewers in the MediaWiki project
  • Session description: A review and discussion of my undergrad dissertation work on automatically recommending code reviewers for the MediaWiki project.
  • Username for contact: Dreamy Jazz
  • Session duration (25 or 50 min): Unsure, but probably 25 min would be all that's needed.
  • Session type (presentation, workshop, discussion, etc.): Presentation with some discussion - whatever suits those who are interested
  • Language of session (English, Arabic, etc.): English
  • Prerequisites (some Python, etc.): If it would include running the code, then some Python experience would be useful. Basic levels of understanding regarding machine learning would also be useful.
  • Any other details to share?: My work on my dissertation would be completed by the time of the Hackathon, and while it won't have been marked, it will be fresh in my memory and if it sounds interesting to people I can detail what I did.
  • Interested? Add your username below:

Event Timeline

Thanks for this proposal! All proposed sessions couldn't become part of the agenda published today due to limited space, including yours. I'll ping here if a room becomes available to organize remaining or impromptu sessions.

Hello! There is now additional space available for you to schedule a session: (See "Small Hacking Room Corner (up to 20 participants)"). If you are still interested in organizing a session, you can claim this slot on a first-come, first-serve basis. There may not be any AV equipment in this small room, just a bunch of tables, and the room might be separated from the big hacking room with a bunch of dividers.

I intend to revisit this once I hand the report in.

Dreamy_Jazz renamed this task from [Session] Automatic code review in open source projects to [Session] Automatically recommending code reviewers in open source projects.May 4 2023, 7:44 PM
Dreamy_Jazz renamed this task from [Session] Automatically recommending code reviewers in open source projects to [Session] Using automated systems to recommend reviewers in the MediaWiki project.May 15 2023, 11:04 PM
Dreamy_Jazz updated the task description. (Show Details)

Thanks. What I will discuss is two systems that do an okay job at recommending users based on multiple evaluation methods.

Specifically the implementations use more than just inspecting the history of the code (which is what the reviewers-by-blame plugin), as it also includes the number of code review votes and comment counts to recommend users. One implementation uses a neural network classifier to make recommendations. The other applies weights to the data to make recommendations (i.e. multiply a float by another number and sum these together).

I hope to discuss how something like this could be used, though it would need a fair amount of work to get it running on a live Gerrit instance. The GitHub repository for this project is at and I would show the code running on my laptop.

I understand that such a system is likely going to be annoying, but I have built in several ways to make the recommendations in some way slightly random to reduce overreliance on one particular user.

This is on the schedule so should probably be in the accepted column.