File size: 5,665 Bytes
1366c29 d050744 c5db289 d050744 5062952 d050744 5062952 d050744 45834ba d050744 |
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 |
---
license: cc-by-3.0
task_categories:
- text-classification
- zero-shot-classification
language:
- en
tags:
- code
pretty_name: C++ and Python Code with Complexities from the TASTY paper
size_categories:
- 1K<n<10K
---
# Dataset Card for TASTY C++ and Python Codes with Complexities
This is a dataset of code snippets with their complexities, both space and time.
As part of this initial release, we cover C++ and Python.
This data was collected as part of our work on the paper called [TASTY](https://arxiv.org/abs/2305.05379), published at the ICLR DL4Code workshop, a few years back.
We scraped the data from the popular coding website called GeeksForGeeks (GFG). It is under the CCBY license.
We published this paper before the advent of ChatGPT, so this is not recent by any means and things on the GFG website might have changed since we scraped the data.
There was also a lot of manual work that went into correcting the scraped data and putting it into the format that we needed it to be, so some of the complexities
might not be exactly what you see on the GFG website. For instance, what is given as "O(n)" on the GFG website is instead written as "linear" in our dataset.
In the same way, linear equivalents, "O(n+m)" are also cast to "linear". The same applies to all the classes in our dataset.
There is work being undertaken on the next version of the paper, where we plan to expand to dataset to several more languages and a lot more examples. Probably 10x more samples
for 4-5 more languages. There will be a fundamental change in the tone of the work as well since TASTY was published before the ChatGPT, LLMs were not as popular then.
## Dataset Details
There are more than 1000 but less than 2000 codes and their space + time complexity.
### Dataset Description
- **Curated by:** Banana-Leopard
- **Funded by [Banana-Leopard]:**
- **Shared by [Banana-Leopard]:**
- **Language(s) (NLP):** C++ and Python
- **License:** CCBY
### Dataset Sources
<!-- Provide the basic links for the dataset. -->
- **Repository:** Private, will be made public after the next version of the paper is published,.
- **Paper:** [TASTY: A Transformer based Approach to Space and Time complexity](https://arxiv.org/abs/2305.05379)
## Uses
- Classification of space and time complexity
- Eventual Auto Regressive prediciton of the same
- Cross Language Transfer
### Direct Use
Read the paper above for direct uses.
<!-- ### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
<!-- ## Dataset Structure -->
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
<!-- ## Dataset Creation
### Curation Rationale
<!-- Motivation for the creation of this dataset. -->
<!-- ### Source Data -->
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
<!-- #### Data Collection and Processing -->
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
<!-- #### Who are the source data producers? -->
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
<!-- ### Annotations [optional] -->
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
<!-- #### Annotation process -->
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
<!-- #### Who are the annotators? -->
<!-- This section describes the people or systems who created the annotations. -->
<!-- #### Personal and Sensitive Information -->
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
<!-- ## Bias, Risks, and Limitations -->
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
<!-- ### Recommendations -->
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
<!-- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations. -->
<!-- ## Citation [optional] -->
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
<!-- **BibTeX:** -->
<!-- [More Information Needed] -->
<!-- **APA:** -->
<!-- [More Information Needed] -->
<!-- ## Glossary [optional] -->
<!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
<!-- ## More Information [optional] -->
<!-- [More Information Needed] -->
<!-- ## Dataset Card Authors [optional] -->
<!-- [More Information Needed] -->
<!-- ## Dataset Card Contact -->
<!-- [More Information Needed] --> |