About

The goal of Code Search is to retrieve code fragments from a large code corpus that most closely match a developer’s intent, which is expressed in natural language.

Source: When Deep Learning Met Code Search

Benchmarks

You can find evaluation results in the subtasks. You can also submitting evaluation metrics for this task.

Subtasks

Datasets

Latest papers with code

Code Search Intent Classification Using Weak Supervision

24 Nov 2020microsoft/Search4Code

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.

CODE SEARCH INTENT CLASSIFICATION

7
24 Nov 2020

CoNCRA: A Convolutional Neural Network Code Retrieval Approach

3 Sep 2020mrezende/concra

We propose a technique for semantic code search: A Convolutional Neural Network approach to code retrieval (CoNCRA).

CODE SEARCH

2
03 Sep 2020

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

27 Aug 2020nokia/codesearch

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.

ANNOTATED CODE SEARCH INFORMATION RETRIEVAL TRANSFER LEARNING

16
27 Aug 2020

Faster Person Re-Identification

ECCV 2020 wangguanan/light-reid

In this work, we introduce a new solution for fast ReID by formulating a novel Coarse-to-Fine (CtF) hashing code search strategy, which complementarily uses short and long codes, achieving both faster speed and better accuracy.

CODE SEARCH PERSON RE-IDENTIFICATION

301
16 Aug 2020

funcGNN: A Graph Neural Network Approach to Program Similarity

26 Jul 2020aravi11/funcGNN

This study intends to examine the effectiveness of graph neural networks to estimate program similarity, by analysing the associated control flow graphs.

CODE SEARCH GRAPH EMBEDDING GRAPH SIMILARITY

11
26 Jul 2020

Graph4Code: A Machine Interpretable Knowledge Graph for Code

21 Feb 2020wala/graph4code

The graph uses generic techniques to capture the semantics of Python code: the key nodes in the graph are classes, functions and methods in popular Python modules.

CODE SEARCH IMAGE CLASSIFICATION KNOWLEDGE GRAPHS NATURAL LANGUAGE UNDERSTANDING

17
21 Feb 2020

CodeBERT: A Pre-Trained Model for Programming and Natural Languages

19 Feb 2020microsoft/CodeBERT

Results show that CodeBERT achieves state-of-the-art performance on both natural language code search and code documentation generation tasks.

CODE SEARCH

253
19 Feb 2020

CodeSearchNet Challenge: Evaluating the State of Semantic Code Search

20 Sep 2019github/CodeSearchNet

To enable evaluation of progress on code search, we are releasing the CodeSearchNet Corpus and are presenting the CodeSearchNet Challenge, which consists of 99 natural language queries with about 4k expert relevance annotations of likely results from CodeSearchNet Corpus.

CODE SEARCH INFORMATION RETRIEVAL

1,374
20 Sep 2019

When Deep Learning Met Code Search

9 May 2019mrezende/concra

Our evaluation shows that: 1. adding supervision to an existing unsupervised technique can improve performance, though not necessarily by much; 2. simple networks for supervision can be more effective that more sophisticated sequence-based networks for code search; 3. while it is common to use docstrings to carry out supervision, there is a sizeable gap between the effectiveness of docstrings and a more query-appropriate supervision corpus.

CODE SEARCH

2
09 May 2019