Cool links & research papers related to Machine Learning applied to source code (MLonCode)
Branch: master
Clone or download
m09 Merge pull request #157 from m09/remove-email-notif
Remove email notifs for travis
Latest commit 10142f3 Jan 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add PR template Nov 21, 2018
badges Center the conference badges Apr 16, 2018
img Artwork for Awesome Machine Learning May 3, 2018
.travis.yml Remove email notifs for travis Jan 25, 2019 Add contribution guidelines Jan 17, 2018 Add PR template Nov 21, 2018
DCO Add DCO Jan 17, 2018 Add LICENSE Jan 17, 2018 Add @m09 to maintainers Nov 15, 2018 Update Jan 25, 2019

Awesome Machine Learning On Source Code Awesome Machine Learning On Source Code CI Status

Awesome Machine Learning On Source Code

A curated list of awesome research papers, datasets and software projects devoted to machine learning and source code. #MLonCode





  • CodRep - competition on automatic program repair: given a source line, find the insertion point.


Program Synthesis and Induction

Source Code Analysis and Language modeling

Neural Network Architectures and Algorithms

Embeddings in Software Engineering

Program Translation

Code Suggestion and Completion

Program Repair and Bug Detection

APIs and Code Mining

Code Optimization

Topic Modeling

Sentiment Analysis

Code Summarization

Clone Detection

Differentiable Interpreters

Related research

AST Differencing

Binary Data Modeling

Soft Clustering Using T-mixture Models

Natural Language Parsing and Comprehension




Machine Learning

  • Differentiable Neural Computer (DNC) - TensorFlow implementation of the Differentiable Neural Computer.
  • - Abstracts feature extraction from source code syntax trees and working with ML models.
  • vecino - Finds similar Git repositories.
  • apollo - Source code deduplication as scale, research.
  • gemini - Source code deduplication as scale, production.
  • enry - Insanely fast file based programming language detector.
  • hercules - Git repository mining framework with batteries on top of go-git.
  • DeepCS - Keras and Pytorch implementations of DeepCS (Deep Code Search).
  • Code Neuron - Recurrent neural network to detect code blocks in natural language text.
  • Naturalize - Language agnostic framework for learning coding conventions from a codebase and then expoiting this information for suggesting better identifier names and formatting changes in the code.
  • Extreme Source Code Summarization - Convolutional attention neural network that learns to summarize source code into a short method name-like summary by just looking at the source code tokens.
  • Summarizing Source Code using a Neural Attention Model - CODE-NN, uses LSTM networks with attention to produce sentences that describe C# code snippets and SQL queries from StackOverflow. Torch over C#/SQL
  • Probabilistic API Miner - Near parameter-free probabilistic algorithm for mining the most interesting API patterns from a list of API call sequences.
  • Interesting Sequence Miner - Novel algorithm that mines the most interesting sequences under a probabilistic model. It is able to efficiently infer interesting sequences directly from the database.
  • TASSAL - Tool for the automatic summarization of source code using autofolding. Autofolding automatically creates a summary of a source code file by folding non-essential code and comment blocks.
  • JNice2Predict - Efficient and scalable open-source framework for structured prediction, enabling one to build new statistical engines more quickly.
  • Clone Digger - clone detection for Python and Java.
  • Sensibility - Uses LSTMs to detect and correct syntax errors in Java source code.
  • DeepBugs - Framework for learning bug detectors from an existing code corpus.
  • DeepSim - a deep learning-based approach to measure code functional similarity.
  • rnn-autocomplete - Neural code autocompletion with RNN (bachelor's thesis).


  • go-git - Highly extensible Git implementation in pure Go which is friendly to data mining.
  • bblfsh - Self-hosted server for source code parsing.
  • engine - Scalable and distributed data retrieval pipeline for source code.
  • minhashcuda - Weighted MinHash implementation on CUDA to efficiently find duplicates.
  • kmcuda - k-means on CUDA to cluster and to search for nearest neighbors in dense space.
  • wmd-relax - Python package which finds nearest neighbors at Word Mover's Distance.
  • Tregex, Tsurgeon and Semgrex - Tregex is a utility for matching patterns in trees, based on tree relationships and regular expression matches on nodes (the name is short for "tree regular expressions").
  • source{d} models - Machine Learning models for MLonCode trained using the source{d} stack.


  • GitHub JavaScript Dump October 2016 - Dataset consisting of 494,352 syntactically-valid JavaScript files obtained from the top ~10000 starred JavaScript repositories on GitHub, with licenses, and parsed ASTs.



See TL;DR: create a pull request which is signed off.


License: CC BY-SA 4.0