Code Sophistication: From Code Recommendation to Logic Recommendation
Not on the map. Why?
Abstract (arXiv)
A typical approach to programming is to first code the main execution scenario, and then focus on filling out alternative behaviors and corner cases. But, almost always, there exist unusual conditions that trigger atypical behaviors, which are hard to predict in program specifications, and are thus often not coded. In this paper, we consider the problem of detecting and recommending such missing behaviors, a task that we call code sophistication. Previous research on coding assistants usually focuses on recommending code fragments based on specifications of the intended behavior. In contrast, code sophistication happens in the absence of a specification, aiming to help developers complete the logic of their programs with missing and unspecified behaviors. We outline the research challenges to this problem and present early results showing how program logic can be completed by leveraging code structure and information about the usage of input parameters.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 57 references that are in the map. First posted on arXiv 19 Jan 2022.
Builds on
17 of 57 references.
References · 17
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
- 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 108
- 2015Neural Programmer-Interpreterscited by 101
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2017Code Completion with Neural Attention and Pointer Networkscited by 49
- 2016Deep API Learningcited by 41
- 2019Getafix: Learning to Fix Bugs Automaticallycited by 41
- 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
5 more
- 2016Learning Python Code Suggestion with a Sparse Pointer Networkcited by 12
- 2015SWIM: Synthesizing What I Meancited by 10
- 2018Learning to Generate Corrective Patches using Neural Machine Translationcited by 10
- 2017ROSF: Leveraging Information Retrieval and Supervised Learning for Recommending Code Snippetscited by 4
- 2018On the Use of Context in Recommending Exception Handling Code Examplescited by 3
Built on by
Not cited yet.