Datasets › CoNaLa

CoNaLa (CMU CoNaLa, the Code/Natural Language Challenge)

Introduced by Pengcheng Yin et al. in Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflow23 May 2018 archive 2025-07-28

The CMU CoNaLa, the Code/Natural Language Challenge dataset is a joint project from the Carnegie Mellon University NeuLab and Strudel labs. Its purpose is for testing the generation of code snippets from natural language. The data comes from StackOverflow questions. There are 2379 training and 500 test examples that were manually annotated. Every example has a natural language intent and its corresponding python snippet. In addition to the manually annotated dataset, there are also 598,237 mined intent-snippet pairs. These examples are similar to the hand-annotated ones except that they contain a probability if the pair is valid.

Source: CoNaLa dataset Homepage

Benchmarks archive 2025-07-28

All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.

First row (archive order)PaperCode
Code Generation CoNaLa PanGu-Coder-FT-I BLEU 44.32 Fine-Tuning Large Language Models for Answering... — 14 Compare

Papers archive 2025-07-28

papers with a benchmark row: 9 · with a code link: 7 · where Syntology ran a sample: 2 (2 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument) Syntology

Show: all papers with a benchmark rowonly where code ran (2 of 9 with a benchmark row: 2 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument)

Page 1 of 1: papers 1 to 9 of 9 with a leaderboard row on this dataset's benchmarks, newest first by the archive's date (ties by slug; undated papers last).

The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset, not that list; the archive's count for this dataset is 77. The Syntology column is from Syntology's graph, stated per sample; it is not part of any archive number. A line reads “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified” (C is a part of N, never taken away from it); the figure “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. When the archive marks a repository official for the paper, the cell starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.

PaperCodeResultsDateSamples run Syntology
Leveraging pre-trained language models for code generation 1 4 29 Feb 2024 not harvested
Fine-Tuning Large Language Models for Answering Programming Questions with Code Snippets 0 1 26 Jun 2023 not harvested
MarianCG: a code generation transformer model inspired by machine translation 1 1 22 Nov 2022 not harvested
The impact of lexical and grammatical processing on generating code from natural language 2 1 28 Feb 2022 not harvested
Reading StackOverflow Encourages Cheating: Adding Question Text Improves Extractive Code Generation 1 2 8 Jun 2021 not harvested
Code Generation from Natural Language with Less Prior and More Monolingual Data 1 1 1 Jan 2021 not harvested
Incorporating External Knowledge through Pre-training for Natural Language to Code Generation 2 2 20 Apr 2020 official (archive's flag): 5 ran · 5 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 0 honoured, 0 violated, 5 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified
Reranking for Neural Semantic Parsing 0 1 1 Jul 2019 not harvested
TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generation 4 1 5 Oct 2018 official (archive's flag): 5 ran · 7 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 0 violated, 5 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified (2 pointer-only for licence)

Dataset loaders archive 2025-07-28

No loader listed in the archive.

Tasks archive 2025-07-28

License archive 2025-07-28

No licence recorded in the archive. Absence here is not a statement about the dataset's terms.

Modalities archive 2025-07-28

Languages archive 2025-07-28

Variants archive 2025-07-28

  • CoNaLa

1 variant name, as the archive lists them.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections