Datasets:
Remove code-only docstrings and deduplicate queries globally
Browse files- README.md +2 -4
- cleaning_stats.json +19 -0
- 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_balanced/test-00000-of-00001.parquet +2 -2
- repo_split_balanced/train-00000-of-00001.parquet +2 -2
- repo_split_balanced/validation-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -25,11 +25,9 @@ language:
|
|
| 25 |
|
| 26 |
# ArkTS Code Docstring Pro
|
| 27 |
|
| 28 |
-
This version contains
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
- `repo_split_balanced`: repository-isolated and approximately 80%/10%/10% by example count.
|
| 33 |
- `random_shuffle`: shuffled with seed `20260714` and split 80%/10%/10%.
|
| 34 |
-
|
| 35 |
-
The repository commit SHA column was removed because it was unavailable for most source repositories. `function_sha` is retained for function-content deduplication.
|
|
|
|
| 25 |
|
| 26 |
# ArkTS Code Docstring Pro
|
| 27 |
|
| 28 |
+
This version contains open-source ArkTS function-comment pairs from repositories with more than zero stars. License/copyright headers and code-only documentation are removed. Documentation shorter than five characters is excluded.
|
| 29 |
|
| 30 |
+
Queries are globally unique: after cleaning, only one example is retained for each exact `docstring`.
|
| 31 |
|
| 32 |
- `repo_split_balanced`: repository-isolated and approximately 80%/10%/10% by example count.
|
| 33 |
- `random_shuffle`: shuffled with seed `20260714` and split 80%/10%/10%.
|
|
|
|
|
|
cleaning_stats.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"input_rows": 36650,
|
| 3 |
+
"removed_code_like": 517,
|
| 4 |
+
"after_code_filter": 36133,
|
| 5 |
+
"removed_duplicate_queries": 4894,
|
| 6 |
+
"output_rows": 31239,
|
| 7 |
+
"splits": {
|
| 8 |
+
"repo_split_balanced": {
|
| 9 |
+
"train": 24992,
|
| 10 |
+
"validation": 3124,
|
| 11 |
+
"test": 3123
|
| 12 |
+
},
|
| 13 |
+
"random_shuffle": {
|
| 14 |
+
"test": 3124,
|
| 15 |
+
"validation": 3124,
|
| 16 |
+
"train": 24991
|
| 17 |
+
}
|
| 18 |
+
}
|
| 19 |
+
}
|
manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"rows":
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"path",
|
|
@@ -15,14 +15,14 @@
|
|
| 15 |
],
|
| 16 |
"splits": {
|
| 17 |
"repo_split_balanced": {
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
},
|
| 22 |
"random_shuffle": {
|
| 23 |
-
"test":
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
}
|
| 27 |
}
|
| 28 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"rows": 31239,
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"path",
|
|
|
|
| 15 |
],
|
| 16 |
"splits": {
|
| 17 |
"repo_split_balanced": {
|
| 18 |
+
"train": 24992,
|
| 19 |
+
"validation": 3124,
|
| 20 |
+
"test": 3123
|
| 21 |
},
|
| 22 |
"random_shuffle": {
|
| 23 |
+
"test": 3124,
|
| 24 |
+
"validation": 3124,
|
| 25 |
+
"train": 24991
|
| 26 |
}
|
| 27 |
}
|
| 28 |
}
|
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:e9d2dcf136b6544cdcb8d229c6a45a3ac2585ed4c4e68c5d6b9c7aaad4529c17
|
| 3 |
+
size 3306795
|
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:25fb32ec3cbf778d90d4b7c79057951d216678dfd4a36838fa69b31794de09c5
|
| 3 |
+
size 25615559
|
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:bd93ee338705317700a7ce95f75b2cd725ca512485398e7aef4c0314716aa5cc
|
| 3 |
+
size 3209368
|
repo_split_balanced/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:694fd6dceb6b5075c3a002a6c770a45d8635271bd21210ab6b331b5adadfad9d
|
| 3 |
+
size 2092990
|
repo_split_balanced/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:a6f84c50725977dbb076c3b322086ffb11e7e42387ee83cbd80e1b1f97f12d12
|
| 3 |
+
size 18768022
|
repo_split_balanced/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:a3fa430aa6794475337d5e64f69386e9025d00ce0b24bec0b850e322af1f768c
|
| 3 |
+
size 2679057
|