AfricaKing commited on
Commit
eec7c99
·
verified ·
1 Parent(s): 5cdc9c5

Upload 8 files

Browse files
.gitattributes CHANGED
@@ -57,3 +57,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ dataset_split.csv filter=lfs diff=lfs merge=lfs -text
61
+ duplicate_files.txt filter=lfs diff=lfs merge=lfs -text
62
+ type_checked_files.txt filter=lfs diff=lfs merge=lfs -text
CHANGELOG.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+ All notable changes to the ManyTypes4Py dataset will be documented in this file.
3
+ Each version of the dataset can be downloaded on [zenodo](https://zenodo.org/search?page=1&size=20&q=conceptrecid:4044635&all_versions&sort=-version).
4
+
5
+ ## [0.7] 2021-08-24
6
+ - The dataset now contains *clean* and *complete* versions. The clean version has **type-checked** Python projects by [mypy](https://mypy.readthedocs.io/). The complete version contains all Python projects in the dataset same as v0.6.
7
+ - A list of type-checked Python source files are included in `type_checked_files.txt` (using mypy).
8
+
9
+ ## [0.6] 2021-04-26
10
+ - Processed projects have now the type of variables inferred by [Pyre](https://pyre-check.org/).
11
+ - Visible type hints are added for the whole dataset. They are extracted recursively from the dataset's projects and their dependencies.
12
+
13
+ ## [0.5] 2021-03-12
14
+ - Added name-based visible type hints for processed projects in the `extracted_visible_types` folder.
15
+
16
+ ## [0.4] - 2021-03-01
17
+ - Added type annotations coverage for processed projects and their source code files. See the `type_annot_cove` field in JSON files.
18
+
19
+ ## [0.3] - 2021-01-29
20
+ - Fixed the path issue in `dataset_split.csv` file for some file paths that contains non-ASCII characters.
21
+ - With the new fixes to the [LibSA4py](https://github.com/saltudelft/libsa4py) tool, more source code files were processed for included Python projects.
22
+
23
+ ## [0.2] - 2021-01-14
24
+ - Using the [LibSA4py](https://github.com/saltudelft/libsa4py) tool, all the Python projects were processed in JSON-formatted files.
25
+ - Using the [CD4Py](https://github.com/saltudelft/CD4Py) tool, the list of duplicate files in the dataset is provided in `duplicate_files.txt` file.
26
+ - The dataset is split into train, validation and test sets by source code files. The list of files and their corresponding set is provided in `dataset_split.csv` file.
27
+
28
+ ## [0.1] - 2020-09-22
29
+ - Added a manifest file (`ManyTypes4PyDataset.spec`) that contains the URL and hash commits of 5.4K Python projects that were cloned on Sep. 17th 2020 from GitHub.
MT4Py_VTHs.csv ADDED
The diff for this file is too large to render. See raw diff
 
ManyTypes4PyDataset.spec ADDED
The diff for this file is too large to render. See raw diff
 
README.md CHANGED
@@ -1,3 +1,10 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
1
+ # Dataset Description
2
+
3
+ - `processed_projects_complete`: Contains JSON-formatted processed projects (complete version). See this [file](https://github.com/saltudelft/libsa4py/blob/master/JSONOutput.md) for info about the JSON fields.
4
+ - `processed_projects_clean`: Contains JSON-formatted processed projects (clean version).
5
+ - `dataset_split.csv`: Contains source files' path for the training, validation, test sets.
6
+ - `duplicate_files.txt`: Contains the list of duplicate source files in the original dataset.
7
+ - `ManyTypes4PyDataset.spec`: Contains the GitHub URL of the projects and their commit hash at clone time.
8
+ - `MT4Py_VTHs.csv`: Contains extracted visible type hints and their frequency for the whole dataset.
9
+ - `mypy-dependents-by-stars.json`: Contains Python projects on GitHub, which depend on `mypy`.
10
+ - `type_checked_files.txt`: Contains a list of type-checked Python source files in the dataset (using `mypy`).
dataset_split.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:794cae8a9f780b76b465e35ec7ada4ef8c3f5939423a6ec170da836189d4726a
3
+ size 23824265
duplicate_files.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b70e0e15ca5ff004948a1871333ef585d2afa924c54b75a23b84f0f9e330218f
3
+ size 30018323
mypy-dependents-by-stars.json ADDED
The diff for this file is too large to render. See raw diff
 
type_checked_files.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a860b1e0b67ced017ecc9a01951cfd77e44884cf2545bbe97de57d59281049
3
+ size 15288141