Datasets:
Clean docstrings and filter examples shorter than five characters
Browse files- README.md +1 -1
- manifest.json +7 -7
- random_shuffle/test-00000-of-00001.parquet +2 -2
- random_shuffle/train-00000-of-00001.parquet +2 -2
- random_shuffle/validation-00000-of-00001.parquet +2 -2
- repo_split/test-00000-of-00001.parquet +2 -2
- repo_split/train-00000-of-00001.parquet +2 -2
- repo_split/validation-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -34,6 +34,6 @@ It provides two configurations:
|
|
| 34 |
|
| 35 |
Columns are: `nwo`, `sha`, `path`, `language`, `identifier`, `docstring`, `function`, `ast_function`, `obf_function`, `url`, `function_sha`, and `source`.
|
| 36 |
|
| 37 |
-
The dataset contains
|
| 38 |
|
| 39 |
The source repositories are third-party open-source projects. Users must comply with each repository's license and attribution requirements.
|
|
|
|
| 34 |
|
| 35 |
Columns are: `nwo`, `sha`, `path`, `language`, `identifier`, `docstring`, `function`, `ast_function`, `obf_function`, `url`, `function_sha`, and `source`.
|
| 36 |
|
| 37 |
+
The dataset contains 59,365 deduplicated examples. Comment delimiters are removed from `docstring`, and examples whose cleaned documentation is shorter than five characters are excluded. `ast_function` is generated from the current tree-sitter-arkts parse; `obf_function` is retained in the legacy schema and currently equals `function` because no obfuscation pass was applied.
|
| 38 |
|
| 39 |
The source repositories are third-party open-source projects. Users must comply with each repository's license and attribution requirements.
|
manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"rows":
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"sha",
|
|
@@ -16,14 +16,14 @@
|
|
| 16 |
],
|
| 17 |
"splits": {
|
| 18 |
"repo_split": {
|
| 19 |
-
"test":
|
| 20 |
-
"validation":
|
| 21 |
-
"train":
|
| 22 |
},
|
| 23 |
"random_shuffle": {
|
| 24 |
-
"test":
|
| 25 |
-
"validation":
|
| 26 |
-
"train":
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"rows": 59365,
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"sha",
|
|
|
|
| 16 |
],
|
| 17 |
"splits": {
|
| 18 |
"repo_split": {
|
| 19 |
+
"test": 4958,
|
| 20 |
+
"validation": 9207,
|
| 21 |
+
"train": 45200
|
| 22 |
},
|
| 23 |
"random_shuffle": {
|
| 24 |
+
"test": 5936,
|
| 25 |
+
"validation": 5937,
|
| 26 |
+
"train": 47492
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|
random_shuffle/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b7987ebed55cd63fea593e812670e75f50c202423eb39adab0ab92693f8591f
|
| 3 |
+
size 6080279
|
random_shuffle/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d6a7f27365e5d727855bbb14226a0bc86de0b780ba09d626d98636496023b5d
|
| 3 |
+
size 49510171
|
random_shuffle/validation-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c31500f343f2a66fae933ef1a40e42952671e6d46190c96c96cdc0b7bde7a99
|
| 3 |
+
size 6482959
|
repo_split/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13d4865c75c2613b0460c382ccfe539ffbe697a0a735ae3d76a8c727bffd1473
|
| 3 |
+
size 3723862
|
repo_split/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69069ea10c076588009c6f12ff8caafd04924dd2d479eadc682b9378008ab304
|
| 3 |
+
size 32457786
|
repo_split/validation-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8a764efaa0c8bea5492a392ebe0e8444f5675c1fcdb5b4315109559282d4741
|
| 3 |
+
size 8519930
|