Cited by 38Software Engineering ResearchTeaching and Learning ProgrammingSoftware Testing and Debugging Techniques

SynShine: Improved Fixing of Syntax Errors

Ahmed, Toufique, Ledesma, Noah Rose, Devanbu, Premkumar·2023·IEEE Transactions on Software Engineering

Abstract

Novice programmers struggle with the complex syntax of modern programming languages likeJava, and make lot of syntax errors. The diagnostic syntax error messages from compilers and IDEs are sometimes useful, but often the messages are cryptic and puzzling. Novices could be helped, and instructors’ time saved, by automated repair suggestions when dealing with syntax errors. Large samples of novice errors and fixes are now available, offering the possibility of data-driven machine-learning approaches to help novices fix syntax errors. Current machine-learning approaches do a reasonable job fixing syntax errors in shorter programs, but don't work as well even for moderately longer programs. We introduceSynShine, a machine-learning based tool that substantially improves on the state-of-the-art, by learning to use compiler diagnostics, employing a very large neural model that leverages unsupervised pre-training, and relying on multi-label classification rather than autoregressive synthesis to generate the (repaired) output. We describeSynShine's architecture in detail, and provide a detailed evaluation. We have builtSynShineinto a free, open-source version of Visual Studio Code (VSCode); we make all our source code and models freely available.

Integrity signals

Registry

Crossref · 10.1109/tse.2022.3212635

Cites

47 of 47 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Cites

Flagged first, then by citations

4 of the 51 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Ahmed, T., Ledesma, N. R., & Devanbu, P.
Affiliations
  • University of California, Davis (US)
  • Department of Computer Science, University of California, Davis, CA, USA
Venue
IEEE Transactions on Software Engineering
Published
2023-04-01
Volume
49
Issue
4
Pages
2169-2181
ISSN
  • 0098-5589 (ISSN-L)
  • 1939-3520
  • 2326-3881
OpenAlex
W4312490312
Cited by
38
References
51
Citations by year
2026: 5 · 2025: 16 · 2024: 7 · 2023: 10
FWCI
8.17
Type
journal article
Language
en
Open access
closed
Locations
IEEE Transactions on Software Engineering (publishedVersion)
Funders
National Science Foundation (1414172, 2107592)
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
Keywords
novice programmers, compiler diagnostics, neural language models, unsupervised pre-training, multi-label classification, Visual Studio Code extension, Java

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review