2023

On the Robustness of Code Generation Techniques: An Empirical Study on GitHub Copilot

Mastropaolo, Antonio, Pascarella, Luca, Guglielmi, Emanuela et al.

Understand

Software engineering research has always being concerned with the improvement of code completion approaches, which suggest the next tokens a developer will likely type while coding.

  • The release of GitHub Copilot constitutes a big step forward, also because of its unprecedented ability to automatically generate even entire functions from their natural language description.
  • While the usefulness of Copilot is evident, it is still unclear to what extent it is robust.
  • Specifically, we do not know the extent to which semantic-preserving changes in the natural language description provided to the model have an effect on the generated code function.

Reading the bibliography…