Giter Site home page Giter Site logo

dev-similarity's Introduction

Developer Similarity

This is a legacy from source{d}'s research in developer similarity when its main goal was to match developers and companies. We were obsessed with developer embeddings and recommending similar ones. Not everything we created is included here. For now, it's the profile images to visually compare the experience.

source{d} runs a massive-scale data retrieval pipeline that among other sources nearly mirrors all GitHub repositories. Everything related to working with developer metadata requires understanding which email addresses correspond to which GitHub users. GitHub ToU directly forbids to use the API for recruitment purposes, which at the time we had, so there was no easy way to obtain that information.

Luckily, we were able to perform identity matching using various heuristics for Git commit signatures. For example, given two different signatures with the same name in the same repository, it is likely that the different email addresses belong to the same user. We never measured the accuracy of our heuristics - back then we were a humble startup - but our CTO claims that it worked reasonably well in practice.

Given the topic modeling results, we were able to cluster 6 millions of filtered repositories with K-means algorithm (src-d/kmcuda) into a reasonable number of clusters, in our particular case 2916. We arranged those clusters using t-SNE and mapped into a regular 54x54 = 2916 grid and described the latter in the blog post. Thus every repository appears in a single specific cell of that grid.

Given the identity matching, we had the contribution history and could even roughly estimate the impact as the ratio of contributed commits to the whole number of commits in the main branch of a project. We color the corresponding cell for each weighted contribution by the chosen user and compose the profile image.

The complete pipeline is in the legacy notebook which can not be directly executed without the datasets and the last step which draws the images is fully functional and you can play with it.

As an example, this is how our CTO Máximo Cuadros developer fingerprint looks like under this approach:

Máximo's profile

We see PHP trace in the upper right area and Go trace in the lower right.

This is Fabien Potencier, the man behind Symfony PHP framework:

Fabien's profile

We see the strong PHP trace. Thus looking on both profiles we see that Máximo and Fabien have something in common - they both have experience in PHP.

This is Russ Cox, one of the creators of Go language:

Russ' profile

We see the strong Go trace. Thus looking on his and Máximo's profiles we see that they have something in common - they both have experience in Go.

At the same time, the profile images are not limited to languages. It just happens so that each language has some common usage patterns and people with much experience follow all of them. For example, this is François Chollet, the author of Keras, the deep learning Python library:

François' profile

Just a few pixels. In contrast, this is Armin Ronacher, a well known universal Python developer:

Armin' profile

There is an expressed Python trace + web development. We see that François always contributes very specific things. At the same time, Python deep learning pixels reside in the cloud of Python related projects.

Docker image

docker run -it --rm -p 8888:8888 srcd/dev-similarity

Then open the last printed link in your web browser.

License

Apache 2.0.

dev-similarity's People

Contributors

vmarkovtsev avatar marnovo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.