📜 ⬆️ ⬇️

GitRec: Personal GitHub Recommendations

image

No doubt, Github is one of the best platforms for collaborating on open source projects. But to find a project that is close in spirit and sense to you, it is often not so easy here. But you could find a similar project and take part in its development. Now, with this question, it may become a little easier - after the appearance of GitRec , which allows you to get a list of recommendations for a specific repository or username.

The general scheme of the algorithm is as follows:

  1. A graph is built whose edges display connections between users and repositories.
  2. The graph is used to search for similarities between repositories.
  3. You are given recommended repositories that are similar to the ones you interacted with earlier.

In the first step, an event log from the Github Archive is taken and a graph is generated from it. Four types of actions are extracted from there: watch, fork, pull request and push. On the second, a graph of similarities is constructed to search for similar repositories — assuming that if the user is associated with repositories A and B, then there is a connection between these repositories. Then, by the Bayes theorem, the probability is calculated that any random user will interact with the repository B, if he has worked with A. Finally, the last step is the ranking in popularity and preferences of a particular user.
')
The source code of the project is fully open here , and the authors of the Mortar project are waiting for pull requests.

To try
Details of the principle of work

Source: https://habr.com/ru/post/183824/


All Articles