paper-with-me

Papers

Search4Code: Code Search Intent Classification Using Weak Supervision

2020-11-24 · Nikitha Rao, Chetan Bansal, Joe Guan

Developers use search for various tasks such as finding code, documentation, debugging information, etc. In particular, web search is heavily used by developers for finding code examples and snippets during the coding process. Recently, natural language based code search has been an active area of research. However, the lack of real-world large-scale datasets is a significant bottleneck. In this work, we propose a weak supervision based approach for detecting code search intent in search queries for C# and Java programming languages. We evaluate the approach against several baselines on a real-world dataset comprised of over 1 million queries mined from Bing web search engine and show that the CNN based model can achieve an accuracy of 77% and 76% for C# and Java respectively. Furthermore, we are also releasing Search4Code, the first large-scale real-world dataset of code search queries mined from Bing web search engine. We hope that the dataset will aid future research on code search.

📄 PDF Abstract BibTeX arXiv:2011.11950

Code (1)

microsoft/Search4Code 공식 구현

Tasks

ClassificationCode SearchGeneral Classificationintent-classificationIntent Classification

Similar Papers 제목 키워드 기반

Generic Intent Representation in Web Search

2019-07-24 · Hongfei Zhang, Xia Song, Chenyan Xiong, Corby Rosset 외

This paper presents GEneric iNtent Encoder (GEN Encoder) which learns a distributed representation space for user intent in search. Leveraging large scale user clicks from Bing search logs as weak supervision of user int…

Multi-Task Learning

Neural Code Search Revisited: Enhancing Code Snippet Retrieval through Natural Language Intent

2020-08-27 · Geert Heyman, Tom Van Cutsem

In this work, we propose and study annotated code search: the retrieval of code snippets paired with brief descriptions of their intent using natural language queries. On three benchmark datasets, we investigate how code…

Annotated Code SearchCode SearchInformation RetrievalNatural Language Queries+2

Generating Code with the Help of Retrieved Template Functions and Stack Overflow Answers

2021-04-12 · Dawn Drain, Changran Hu, Chen Wu, Mikhail Breslav 외

We approach the important challenge of code autocompletion as an open-domain task, in which a sequence-to-sequence code generator model is enhanced with the ability to attend to reference code snippets supplied by a sema…

Code SearchRetrieval

Deep Smart Contract Intent Detection

2022-11-19 · Youwei Huang, Sen Fang, Jianwen Li, Jiachun Tao 외

In recent years, research in software security has concentrated on identifying vulnerabilities in smart contracts to prevent significant losses of crypto assets on blockchains. Despite early successes in this area, detec…

Intent DetectionMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONSentence+1

Enhancing User Behavior Sequence Modeling by Generative Tasks for Session Search

2022-08-23 · Haonan Chen, Zhicheng Dou, Yutao Zhu, Zhao Cao 외

Users' search tasks have become increasingly complicated, requiring multiple queries and interactions with the results. Recent studies have demonstrated that modeling the historical user behaviors in a session can help u…

DecoderDocument RankingSession Search