1

I am looking for a data set that contains source codes in different programming languages and it is tagged with bugs in the code.

  • Hi there. Is this for many pieces of code written for many computer languages? it might help if you also said what the purpose was for the data. – Marcus D May 26 at 13:02
  • 1
    I have several ideas that I would like to try. I would like to experimenting with automatically suggesting code and also with forecasting potential bugs. I would prefer the dataset to be a scripting language, such as Python but MatLab and C would be good as well. – AteszDude May 27 at 16:50
0

MUSE Open Datasets

Code and Comments

The code and comments dataset is a compilation of code blocks and their related comments from 106,304 different Github projects. A total of 16,115,540 code-comment pairs were obtained by running Doxygen on C, C++, C#, Java, and Python projects. One of the primary goals of this data set is to provide an association between source code and a description of that code. This allows one to perform tasks such as training a machine learning model to predict a comment for a given snippet of code. [5G]

Code and Binaries

The code and binaries dataset is a compilation of source code projects and their related build outputs from 3,049 different Github projects. Over 30,000 build outputs were produced from C and C++ projects. One of the primary goals of this data set is to provide an association between source code and the build artifacts of that code. This allows one to perform tasks such as binary analysis or reverse engineering. [7G]

Code and Static Analysis

The code and static analysis dataset is a compilation of source code and their outputs from running the static analysis tool, infer, on 3,170 different C and C++ Github projects. One of the primary goals of this data set is to provide an association between source code and a static analysis of that code. This allows one to perform tasks such as predicing the static analysis output on source code. [11G]


GH Archive is a project to record the public GitHub timeline, archive it, and make it easily accessible for further analysis.


GitHub on BigQuery: Analyze all the open-source code


More resources

GitHub Releases Dataset of Six Million Open-Source Methods for Code Search Research

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.