Update README.md
Browse files
README.md
CHANGED
|
@@ -10,17 +10,17 @@ tags:
|
|
| 10 |
- source code
|
| 11 |
- code readability
|
| 12 |
- Java
|
| 13 |
-
pretty_name: Java Code Readability
|
| 14 |
size_categories:
|
| 15 |
- n<1K
|
| 16 |
features:
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
---
|
| 22 |
|
| 23 |
-
# Java Code Readability
|
| 24 |
|
| 25 |
This dataset contains **421 Java code snippets** along with a **readability score**.
|
| 26 |
|
|
@@ -28,7 +28,7 @@ You can download the dataset using Hugging Face:
|
|
| 28 |
|
| 29 |
```python
|
| 30 |
from datasets import load_dataset
|
| 31 |
-
ds = load_dataset("
|
| 32 |
```
|
| 33 |
|
| 34 |
The dataset is structured as follows:
|
|
@@ -76,7 +76,7 @@ The snippets are **not** split into train and test (and validation) set.
|
|
| 76 |
### Curation Rationale
|
| 77 |
|
| 78 |
To advance code readability classification, the creation of datasets in this research field is of high importance.
|
| 79 |
-
As a first step, we provide a
|
| 80 |
This makes access and ease of usage of this existing data easier.
|
| 81 |
|
| 82 |
### Source Data
|
|
@@ -96,7 +96,7 @@ The snippets were selected from four open source Java projects: jUnit, Hibernate
|
|
| 96 |
#### Data Collection and Processing
|
| 97 |
|
| 98 |
The dataset was preprocessed by **averaging the readability rating** for each code snippet.
|
| 99 |
-
The code snippets and ratings were then **
|
| 100 |
|
| 101 |
Each of the three, Buse, Dorn and Sclabrino selected their code snippets based on different criteria.
|
| 102 |
They had a different number of participants for their surveys.
|
|
|
|
| 10 |
- source code
|
| 11 |
- code readability
|
| 12 |
- Java
|
| 13 |
+
pretty_name: Java Code Readability Merged Dataset
|
| 14 |
size_categories:
|
| 15 |
- n<1K
|
| 16 |
features:
|
| 17 |
+
- name: code_snippet
|
| 18 |
+
dtype: string
|
| 19 |
+
- name: score
|
| 20 |
+
dtype: float
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# Java Code Readability Merged Dataset
|
| 24 |
|
| 25 |
This dataset contains **421 Java code snippets** along with a **readability score**.
|
| 26 |
|
|
|
|
| 28 |
|
| 29 |
```python
|
| 30 |
from datasets import load_dataset
|
| 31 |
+
ds = load_dataset("se2p/code-readability-merged")
|
| 32 |
```
|
| 33 |
|
| 34 |
The dataset is structured as follows:
|
|
|
|
| 76 |
### Curation Rationale
|
| 77 |
|
| 78 |
To advance code readability classification, the creation of datasets in this research field is of high importance.
|
| 79 |
+
As a first step, we provide a merged and normalized version of existing datasets on Hugging Face.
|
| 80 |
This makes access and ease of usage of this existing data easier.
|
| 81 |
|
| 82 |
### Source Data
|
|
|
|
| 96 |
#### Data Collection and Processing
|
| 97 |
|
| 98 |
The dataset was preprocessed by **averaging the readability rating** for each code snippet.
|
| 99 |
+
The code snippets and ratings were then **merged** from the three sources.
|
| 100 |
|
| 101 |
Each of the three, Buse, Dorn and Sclabrino selected their code snippets based on different criteria.
|
| 102 |
They had a different number of participants for their surveys.
|