Défense de mémoire en sciences informatiques : Intelligent Code Completion Using Distributed Representation of Code
Défense de mémoire - Martin Weyssow, à distance via teams
Date : 01/09/2020 17:30 - 01/09/2020 19:00
Lieu : https://teams.microsoft.com/l/meetup-join/19%3ameeting_MjQ4NzQ5OTAtNGYzMC00MTY0LTlkOGEtOTg2MTljMTg5ZTY2%40thread.v2/0?context=%7b%22Tid%22%3a%225f31c5b4-f2e8-4772-8dd6-f268037b1eca%22%2c%22Oid%22%3a%22363e7449-861f-4e7f-bbfa-9e6261d7a69a%22%7d
Orateur(s) : Martin Weyssow
Organisateur(s) : Isabelle Daelman
Code completion is an important feature of integrated development environments (IDEs). It allows developers to produce code faster, especially novice ones who are not fully familiar with APIs and others’ code. Previous works on code completion have mainly exploited static type systems of programming languages or code history of the project under development or of other projects using common APIs. In this work, we present a novel approach for improving current function-calls completion tools by learning from independent code repositories, using well-known natural language processing models that can learn vector representation of source code (code embeddings). Our models are not trained on historical data of specific projects. Instead, our approach allows to learn high-level concepts and their relationships present among thousands of projects. As a consequence, the resulting system is able to provide general suggestions that are not specific to particular projects or APIs. Additionally, by taking into account the context of the call to complete, our approach suggests function calls relevant to that context. We evaluated our approach on a set of open-source projects unseen during the training. The results show that the use of the trained model along with a code suggestion plug-in based on static type analysis improves significantly the correctness of the completion suggestions.
Contact :
Isabelle Daelman
-
4966
-
isabelle.daelman@unamur.be
Télecharger :
vCal