Github Dating Simulator college pupil, finding love may be difficult. Similarly, findi

Being a highschool pupil, finding love may be difficult. Likewise, finding individuals prepared to invest their week-end teaming up beside me at a hackathon may be hard as well.

An application that analyzes compatibility between Github users by using graph theory and the power of love at hackCooper 2016, I worked with Isabella Berry to solve these two problems with Github Dating Simulator. It’s perhaps perhaps not really a dating simulator within the conventional sense—rather, it is an internet application that enables individuals in search of hackathon groups to locate individuals with comparable coding backgrounds in order to prevent the effort of scrambling to locate a group during the minute that is last.


Github Dating Simulator will come in two tastes. “Dating mode” permits a user to input two Github usernames to ascertain exactly exactly how suitable they truly are. “Team generation mode” (the greater practical mode) permits a individual to enter a list of Github usernames, will get back the perfect pairings for every single associated with users. It permits them to create several choices, such as for example just how many people should really be incorporated into each group.

For almost any match that Github Dating Simulator analyzes, it outputs a “compatibility” percentage, that is fundamentally the program’s confidence level why these two different people should be able to come together well.

Simply for enjoyable, in addition produces a summary of “first date ideas”, that are essentially arbitrarily created task a few ideas in line with the languages that are common between each individual to simply help kickstart the ideation procedure. (so when it discovers really suitable matches, it outputs a summary of “first date areas”—a.k.a. upcoming hackathons.)


I happened to be in charge of the UI design therefore the implementation that is technical this task. Probably one of the most projects that are statistically intensive labored on up to now, Github Dating Simulator hinges on a variety of the Github API and graph algorithms to effortlessly and accurately set users.

Pairing Algorithm

To generate matchings, it seems during the language use of each individual and compares it for an experience-based degree to those associated with the other users. Which means that someone who features a large amount of repositories written in Ruby are going to be marked as an “expert” while someone who just has only written 70 lines of Ruby would be marked as being a “beginner”. This permits users become matched along with other programmers proportional with their level of skill, allowing programmers to work alongside folks of comparable coding backgrounds, making for a easier hackathon experience overall.

(that is something which had been extremely contested, as you might want to fit people with additional experiences with particular development languages with those people who have less experience for an even more experience that is educational. Maybe a choice for this kind of matching algorithm comes into play the next up-date.)

My notes and sketches when it comes to UI design.

Each user is plotted from other users with different paths of varying “lengths” on a graph. Each individual is just a node regarding the graph, and every course represents a typical language between two users. (If two users try not to share any common languages, they’re not going to have paths among them.) Path length is determined because of the mean square distinction of each and every of the languages a user understands.

The algorithm attempts to get the quickest course (essentially, comparable experiences with particular languages) between two users. After that it aggregates most of the paths between two users as a single “compatibility” metric considering a logarithmic scale, after which starts creating matches beginning with the compatibility percentage that is highest. When a person happens to be matched with another individual, it will probably delete both users through the graph so that they cannot again be matched. The algorithm continues until all users are matched or there are no more users that are available match.


One of many challenges that are major we went into had been that the Github API has price restricting, which stops one from making a lot of API demands in a offered time period. To fix this problem, we applied a pseudo-caching system having a PostgreSQL database. Utilizing the Github API’s conditional demand function, we only make the full request to Github that the data at each location has been changed if they tell us. Otherwise, we simply count on previously kept information that it hasn’t changed since we know.

Presenting Github Dating Simulator at the expo that is judging.

Leave a Reply

Your email address will not be published. Required fields are marked *