Skip to main content
ConductScienceScienceDex
zenodoopen

Multilingual paired code and comment changes

<p>Dataset used for the master's thesis "LLMs for Code Comment Consistency." Covers the languages Go, Java, JavaScript, TypeScript, and Python. All data is mined from permissively-licensed GitHub public projects.</p><p>This dataset consists of pairs of function/method code blocks and their documentation comments, before and after commits.<br>Examples are labeled 0 if the comment was not changed before and after, and 1 if the comment was changed. For the purpose of comment consistency, that means a 1-labeled example has an <i>old comment</i> that is inconsistent with the <i>new code</i>.<br>If you're training a <strong>code summarization</strong> or <strong>comment generation</strong> task, then of course ignore the classification label.</p><ul><li>All-22k contains the training, validation, and test set used in the models trained in the paper. The examples are balanced by language and between the positive and negative classes. Any code repository is only present in one of these sets.</li></ul>

ShareScore

32/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
4
Access
16
Reuse readiness
8
Engagement
0

Dataset details

Repository
zenodo
Published
November 14, 2023
License
cc-by-4.0
DOI
10.5281/zenodo.10138302

Scored with release 0.9.0

ScienceDex for faculty

Your academic CV and NIH biosketch

Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.