hreyulog commited on
Commit
5da59ca
·
verified ·
1 Parent(s): 49b14d1

Filter to repositories with stars greater than zero and remove license headers

Browse files
README.md CHANGED
@@ -25,15 +25,13 @@ language:
25
 
26
  # ArkTS Code Docstring Pro
27
 
28
- This dataset keeps the column format of `hreyulog/arkts-code-docstring` and contains deduplicated ArkTS function-comment pairs from repositories with locally identified open-source licenses.
29
 
30
- It provides two configurations:
31
 
32
- - `repo_split_balanced`: repositories are kept isolated while repository assignments are weighted by example count to approximate an 80%/10%/10% example split.
33
- - `random_shuffle`: all examples are shuffled with seed `20260714` and then split 80%/10%/10%.
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.
 
25
 
26
  # ArkTS Code Docstring Pro
27
 
28
+ This version contains deduplicated ArkTS function-comment pairs from repositories with locally identified open-source licenses and more than zero stars.
29
 
30
+ License and copyright header comments are removed, as are examples whose cleaned documentation is shorter than five characters. The legacy column format is preserved.
31
 
32
+ Configurations:
 
33
 
34
+ - `repo_split_balanced`: repositories are isolated and assignments are weighted toward an 80%/10%/10% example split.
35
+ - `random_shuffle`: examples are shuffled with seed `20260714` and split 80%/10%/10%.
36
 
37
+ The dataset contains 36,678 examples. Users must comply with each source repository's license and attribution requirements.
 
 
manifest.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "rows": 59365,
3
  "fields": [
4
  "nwo",
5
  "sha",
@@ -15,15 +15,15 @@
15
  "source"
16
  ],
17
  "splits": {
18
- "repo_split_balanced": {
19
- "train": 47493,
20
- "validation": 5936,
21
- "test": 5936
22
  },
23
  "random_shuffle": {
24
- "test": 5936,
25
- "validation": 5937,
26
- "train": 47492
27
  }
28
  }
29
- }
 
1
  {
2
+ "rows": 36678,
3
  "fields": [
4
  "nwo",
5
  "sha",
 
15
  "source"
16
  ],
17
  "splits": {
18
+ "repo_split_balanced": {
19
+ "train": 29344,
20
+ "validation": 3667,
21
+ "test": 3667
22
  },
23
  "random_shuffle": {
24
+ "test": 3668,
25
+ "validation": 3668,
26
+ "train": 29342
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:6b7987ebed55cd63fea593e812670e75f50c202423eb39adab0ab92693f8591f
3
- size 6080279
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3906fbdc369f8643cf9a1da38617498ba1ea93ea16e6d63d389c07d8fe27053
3
+ size 3681533
random_shuffle/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d6a7f27365e5d727855bbb14226a0bc86de0b780ba09d626d98636496023b5d
3
- size 49510171
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ba6b1ef489b842ea6a470a389717a51d2f96bde01f7de938e430d1bc6ed235
3
+ size 29230975
random_shuffle/validation-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c31500f343f2a66fae933ef1a40e42952671e6d46190c96c96cdc0b7bde7a99
3
- size 6482959
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20419b800635e7f4cac8a6ff1d060051b85783a6d57ba5a1abdaef1b633b3d94
3
+ size 3639763
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:9bec780f194de135c9ee5387c578b64a4514fa91ec205b76bf00562e0516519b
3
- size 4947628
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fb8842011db2f3ef9a12e5f30a0f4068bac24e97cc6785054c7d6010b93a557
3
+ size 2362791
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:e342b98189f6dd41a61695e0a476718ff80e81c65410456beaaf224d01212e29
3
- size 34899784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aa2836d05f7c8f24d14252a750573f37abd55534bdd6b011f7ac1657bcf5057
3
+ size 20729511
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:c516da378c0f8f4a8ff77e319e680826e585cf88b177080db511d666760ea596
3
- size 4958662
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47801a0a38cac9d3e246a82901a191ed3cf6fb116986490d36c07f2de84ba121
3
+ size 2976859