Skip to content

Commit 1d54e3b

Browse files
author
Miltos Allamanis
committed
Add He et al. 2021
1 parent d06f0d1 commit 1d54e3b

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: publication
3+
title: "Learning to Find Naming Issues with Big Code and Small Supervision"
4+
authors: Jingxuan He, Cheng-Chun Lee, Veselin Raychev, Martin Vechev
5+
conference: PLDI
6+
year: 2021
7+
bibkey: he2021learning
8+
tags: ["repair"]
9+
---
10+
We introduce a new approach for finding and fixing naming
11+
issues in source code. The method is based on a careful
12+
combination of unsupervised and supervised procedures: (i)
13+
unsupervised mining of patterns from Big Code that express
14+
common naming idioms. Program fragments violating such
15+
idioms indicates likely naming issues, and (ii) supervised
16+
learning of a classifier on a small labeled dataset which filters
17+
potential false positives from the violations.
18+
19+
We implemented our method in a system called
20+
Namer and evaluated it on a large number of Python and Java programs.
21+
We demonstrate that Namer is effective in finding naming mistakes
22+
in real world repositories with high precision (∼70%).
23+
Perhaps surprisingly, we also show that existing deep learning methods
24+
are not practically effective and achieve low precision in finding naming issues (up to ∼16%).

0 commit comments

Comments
 (0)