In September and October this year, LGTM.com users made 1,426 fixes to nearly 100 open source projects on GitHub, raising $10,000 for the World Wildlife Fund in the process.
This was the result of users taking part in a code-fixing competition run by Semmle for our sponsorship of GitHub Universe 2018. Participants earned points and raised money by fixing LGTM alerts in eligible open source projects on GitHub. Those with the most points at the end of each round won a number of different prizes. The top prize was a free trip to San Francisco and ticket to GitHub Universe.
How Money was Raised
Different points were awarded to different alert fixes, depending on their severity and a couple of other factors (details can be found on the competition page).
For each point that was awarded to participants, Semmle matched it with a $3 donation to the WWF, up to a maximum of $10,000, and we are pleased to announce that we successfully raised the full $10k we aimed for! This is a great result, and the money is being transferred to the WWF very shortly.
Michał Janiszewski, who raised $3,579, said:
With $3 donated for every point, I found it really motivating to find the next project to contribute to.
For the first round of the competition, which spanned 20-30th September, 1st place went to Arnav Gupta. He was awarded the free trip to San Francisco and ticket to GitHub Universe, in addition to some other prizes. He fixed a total of 83 alerts across 8 projects in that time. Most of these projects belong to Coding Blocks, a developer bootcamp based in India of which Arnav is a founding member. He says:
The competition actually helped us improve our codebase a whole lot. There were a bunch of great suggestions like missing CSRF tokens and memory leaks due to the ordering of middleware.
Of course, going to GitHub Universe and meeting the LGTM team was a fantastic opportunity as well. And it feels great to know my efforts in fixing bugs also had matching monetary donations to WWF - an organisation I have huge respect for.
I really appreciate LGTM’s sophisticated error checking that catches things missed by ESLint. I also appreciate how the competition encouraged me to confront issues across the projects I work with, and work toward improving code quality in the community.
For the second round, which started during GitHub Universe, and ran 16th-31st of October, Michał Janiszewski came out on top, fixing an impressive 479 alerts in that time. 2nd place was awarded Guangcong Luo.
LGTM offers some unique alerts, and the QL code search engine that powers it invites you to write more tailored queries based on project needs. The docs, write-ups, tutorials, helpful LGTM staff and open-source repository of queries guide you through the process well!
Our overall prize winners, those participants that earned the most points over the entire competition, were Michał (our 2nd round winner, who raised $3,579 total by earning 1,193 points) and Stefan Weil (who was raised $2,961 by earning 987 points).
Stefan had this to say:
I'd like to thank you for offering LGTM as a service helping free software projects to improve their quality, and the user support is also really good.
Over the course of the competition, participants fixed a total of 1,426 alerts (223 errors, 720 warnings and 483 recommendations), over 99 different repositories. The user that contributed to the most projects with fixes was our overall winner Michał Janiszewski, fixing alerts in a total of 25 different eligible projects. Since the competition ended, he hasn’t stopped there, and continues to fix alerts in a number of projects, including Microsoft’s pai and protobuf.
The full details and leaderboards with breakdowns of all the alerts fixed by participants and prizes awarded can be found on the competition webpage.
I’d like to thank everyone that participated for their amazing work. It’s been an absolute pleasure witnessing the excitement and results from this competition, and I’m really excited to see how the open source community and LGTM will grow together well in to the future!
Check the projects you use on LGTM!
LGTM.com is analysing and producing alerts for over 100,000 open source projects, so there’s a good chance you can immediately check out the results for projects you use or maintain. Michał says:
I discovered many well-known projects were already being analysed with LGTM and could use some additional contributions, which I happily provided. Perhaps the project you use daily is already there? It's a great way to start giving back to open source.
Note: Post originally published on LGTM.com on 11/28/2018