File size: 3,846 Bytes
cbf7c26
fa75a4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cbf7c26
fa75a4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
706e766
fa75a4d
 
 
 
706e766
 
 
fa75a4d
 
 
 
 
 
 
706e766
fa75a4d
 
 
 
 
706e766
 
 
fa75a4d
 
 
706e766
 
 
 
 
 
 
 
 
fa75a4d
 
 
706e766
 
 
 
 
 
 
fa75a4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
---
annotations_creators:
- expert-generated
language:
- code
language_creators:
- found
license:
- mit
multilinguality:
- monolingual
pretty_name: codequeries
size_categories:
- 100K<n<1M
source_datasets:
- original
tags:
- code
- code question answering
- code semantic parsing
- codeqa
task_categories:
- question-answering
task_ids:
- extractive-qa
---

# Dataset Card for [Dataset Name]

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:**
- **Repository:** [Code repo](https://github.com/adityakanade/natural-cubert/)
- **Paper:**

### Dataset Summary

CodeQueries allows to explore extractive question-answering methodology over code 
by providing semantic queries as question and answer pairs over code context involving 
complex concepts and long chains of reasoning.

### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

The code section have taken from `python` files.

## Dataset Structure

### Data Instances

All splits of all settings have same format. An example looks as follows -
```
```

### Data Fields

- examples
  - query_name (query name to uniquely identify the query)
  - context_blocks (code blocks supplied as input to the model for prediction)
  - answer_spans (code in answer spans)
  - supporting_fact_spans (code in supporting-fact spans)
  - code_file_path (relative source file path w.r.t. ETH Py150 corpus)
  - example_type (positive(1) or negative(0) example type)
  - subtokenized_input_sequence (example subtokens)
  - label_sequence (example subtoken labels)

### Data Splits

|              |train |validation |test |
|--------------|:----:|:---------:|:---:|
|ideal         | 9427 |       3270| 3245|
|prefix        |   -  |         - | 3245|
|sliding_window|   -  |         - | 3245|
|file_ideal    |   -  |         - | 3245|
|twostep       |   -  |         - | 3245|

## Dataset Creation

### Curation Rationale

[More Information Needed]

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed]

#### Who are the source language producers?

[More Information Needed]

### Annotations

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

[More Information Needed]

### Citation Information

[More Information Needed]

### Contributions

Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.