hreyulog commited on
Commit
daba028
·
verified ·
1 Parent(s): d399069

Remove code-only docstrings and deduplicate queries globally

Browse files
README.md CHANGED
@@ -25,11 +25,9 @@ language:
25
 
26
  # ArkTS Code Docstring Pro
27
 
28
- This version contains deduplicated ArkTS function-comment pairs from open-source repositories with more than zero stars. License and copyright headers are removed, and cleaned documentation shorter than five characters is excluded.
29
 
30
- Examples are deduplicated after cleaning using the exact pair `(function, docstring)`. It contains 36,650 examples.
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": 36650,
3
  "fields": [
4
  "nwo",
5
  "path",
@@ -15,14 +15,14 @@
15
  ],
16
  "splits": {
17
  "repo_split_balanced": {
18
- "test": 3665,
19
- "train": 29320,
20
- "validation": 3665
21
  },
22
  "random_shuffle": {
23
- "test": 3665,
24
- "train": 29320,
25
- "validation": 3665
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:8ee1ede619a8d6c02365a6f2ed3b48aaf8727f0000f8470d12ea0090460984e8
3
- size 3743119
 
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:6197c63f9fdea9a0b30ca1b0fc715139878bf9daed809fef55982af8944f53bd
3
- size 29077999
 
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:881c4c516e45d5f4debc96ac63f762e405fa2b7e495c56cf91c7c2feea967999
3
- size 3711717
 
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:04d20d19bbaa25e7f6ed113e4b7f41d39457935c4cdb8e04407c7fb9bf582055
3
- size 2393028
 
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:9f6791d4dfa1da2035ce961151071d8fa9978d6e236302b1b3b4a47baffb6d63
3
- size 20629385
 
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:c0104ac9439251a4c99dd4a4932aa2ebf1a7ad4760644a41a7f43964e5882a23
3
- size 3025935
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3fa430aa6794475337d5e64f69386e9025d00ce0b24bec0b850e322af1f768c
3
+ size 2679057