hreyulog commited on
Commit
6831c20
·
verified ·
1 Parent(s): 74250a8

Upload repo-split and random-shuffle ArkTS code-docstring Pro dataset

Browse files
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ configs:
3
+ - config_name: repo_split
4
+ data_files:
5
+ - split: train
6
+ path: repo_split/train-*
7
+ - split: validation
8
+ path: repo_split/validation-*
9
+ - split: test
10
+ path: repo_split/test-*
11
+ - config_name: random_shuffle
12
+ data_files:
13
+ - split: train
14
+ path: random_shuffle/train-*
15
+ - split: validation
16
+ path: random_shuffle/validation-*
17
+ - split: test
18
+ path: random_shuffle/test-*
19
+ task_categories:
20
+ - text-retrieval
21
+ language:
22
+ - en
23
+ - zh
24
+ ---
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`: train/validation/test are split by repository, so a repository appears in only one 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 62,373 deduplicated examples. `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 ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 62373,
3
+ "fields": [
4
+ "nwo",
5
+ "sha",
6
+ "path",
7
+ "language",
8
+ "identifier",
9
+ "docstring",
10
+ "function",
11
+ "ast_function",
12
+ "obf_function",
13
+ "url",
14
+ "function_sha",
15
+ "source"
16
+ ],
17
+ "splits": {
18
+ "repo_split": {
19
+ "test": 6102,
20
+ "validation": 3437,
21
+ "train": 52834
22
+ },
23
+ "random_shuffle": {
24
+ "test": 6237,
25
+ "validation": 6238,
26
+ "train": 49898
27
+ }
28
+ }
29
+ }
random_shuffle/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9ba397d403fc825437d83e553539f10bc7b90e161237f26946cefaf62e28127
3
+ size 6533578
random_shuffle/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349b8dfae0687d419adc14c0b6a1744fa7793566973ccf523c625c42526937bd
3
+ size 51933972
random_shuffle/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4706029a4eb9c8f0862530fbeed4c83f58366bf0972036f05e258c90b0518760
3
+ size 6590907
repo_split/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c250114e08aed467a74ac3b5edd04f48dd8e57a9829bb5ba7cb0c3ad04a1155a
3
+ size 5214366
repo_split/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff8897d92d159260c21020bb2418290c8bf3a37e597f71fc8de81d148127a0d0
3
+ size 38787869
repo_split/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2356422269dd181c5bd5c163fecf6adcfcf257de728ab0c9153a3af83ba1a5ea
3
+ size 2634791