2022

On the Importance of Building High-quality Training Datasets for Neural Code Search

Sun, Zhensu, Li, Li, Liu, Yan et al.

Understand

The performance of neural code search is significantly influenced by the quality of the training data from which the neural models are derived.

  • A large corpus of high-quality query and code pairs is demanded to establish a precise mapping from the natural language to the programming language.
  • Due to the limited availability, most widely-used code search datasets are established with compromise, such as using code comments as a replacement of queries.
  • Our empirical study on a famous code search dataset reveals that over one-third of its queries contain noises that make them deviate from natural user queries.

Reading the bibliography…