Claire Wang commited on
Commit
3f9be9d
·
1 Parent(s): b7960b6

add data formatted for huggingface

Browse files
data/advisory/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:992c006a36f0d2a1e939a150d0bd88d630062310304a98d8043da7d9a7536234
3
+ size 205128
data/advisory/dataset_info.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "schema_version": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "id": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "modified": {
14
+ "dtype": "timestamp[s]",
15
+ "_type": "Value"
16
+ },
17
+ "published": {
18
+ "dtype": "timestamp[s]",
19
+ "_type": "Value"
20
+ },
21
+ "aliases": {
22
+ "feature": {
23
+ "dtype": "string",
24
+ "_type": "Value"
25
+ },
26
+ "_type": "Sequence"
27
+ },
28
+ "summary": {
29
+ "dtype": "string",
30
+ "_type": "Value"
31
+ },
32
+ "details": {
33
+ "dtype": "string",
34
+ "_type": "Value"
35
+ },
36
+ "severity": [
37
+ {
38
+ "type": {
39
+ "dtype": "string",
40
+ "_type": "Value"
41
+ },
42
+ "score": {
43
+ "dtype": "string",
44
+ "_type": "Value"
45
+ }
46
+ }
47
+ ],
48
+ "affected": [
49
+ {
50
+ "package": {
51
+ "ecosystem": {
52
+ "dtype": "string",
53
+ "_type": "Value"
54
+ },
55
+ "name": {
56
+ "dtype": "string",
57
+ "_type": "Value"
58
+ }
59
+ },
60
+ "ranges": [
61
+ {
62
+ "type": {
63
+ "dtype": "string",
64
+ "_type": "Value"
65
+ },
66
+ "events": [
67
+ {
68
+ "introduced": {
69
+ "dtype": "string",
70
+ "_type": "Value"
71
+ },
72
+ "fixed": {
73
+ "dtype": "string",
74
+ "_type": "Value"
75
+ }
76
+ }
77
+ ]
78
+ }
79
+ ]
80
+ }
81
+ ],
82
+ "references": [
83
+ {
84
+ "type": {
85
+ "dtype": "string",
86
+ "_type": "Value"
87
+ },
88
+ "url": {
89
+ "dtype": "string",
90
+ "_type": "Value"
91
+ }
92
+ }
93
+ ],
94
+ "database_specific": {
95
+ "cwe_ids": {
96
+ "feature": {
97
+ "dtype": "string",
98
+ "_type": "Value"
99
+ },
100
+ "_type": "Sequence"
101
+ },
102
+ "severity": {
103
+ "dtype": "string",
104
+ "_type": "Value"
105
+ },
106
+ "github_reviewed": {
107
+ "dtype": "bool",
108
+ "_type": "Value"
109
+ },
110
+ "github_reviewed_at": {
111
+ "dtype": "timestamp[s]",
112
+ "_type": "Value"
113
+ },
114
+ "nvd_published_at": {
115
+ "dtype": "timestamp[s]",
116
+ "_type": "Value"
117
+ }
118
+ }
119
+ },
120
+ "homepage": "",
121
+ "license": ""
122
+ }
data/build_info/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42db27ef95e32d0d73c131eb27d31a953f10474d61c187da888a475ad79058f1
3
+ size 11768
data/build_info/dataset_info.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "project_slug": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "status": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "jdk_version": {
14
+ "dtype": "string",
15
+ "_type": "Value"
16
+ },
17
+ "mvn_version": {
18
+ "dtype": "string",
19
+ "_type": "Value"
20
+ },
21
+ "gradle_version": {
22
+ "dtype": "string",
23
+ "_type": "Value"
24
+ },
25
+ "use_gradlew": {
26
+ "dtype": "float64",
27
+ "_type": "Value"
28
+ }
29
+ },
30
+ "homepage": "",
31
+ "license": ""
32
+ }
data/dataset_dict.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"splits": ["advisory", "project_info", "fix_info", "build_info"]}
data/fix_info/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5494cd11ecd33f17298db2d28fab77f38dccfb95997323cb56dd376e0999dc
3
+ size 395840
data/fix_info/dataset_info.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "project_slug": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "cve_id": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "github_username": {
14
+ "dtype": "string",
15
+ "_type": "Value"
16
+ },
17
+ "github_repository_name": {
18
+ "dtype": "string",
19
+ "_type": "Value"
20
+ },
21
+ "commit": {
22
+ "dtype": "string",
23
+ "_type": "Value"
24
+ },
25
+ "file": {
26
+ "dtype": "string",
27
+ "_type": "Value"
28
+ },
29
+ "class": {
30
+ "dtype": "string",
31
+ "_type": "Value"
32
+ },
33
+ "class_start": {
34
+ "dtype": "float64",
35
+ "_type": "Value"
36
+ },
37
+ "class_end": {
38
+ "dtype": "float64",
39
+ "_type": "Value"
40
+ },
41
+ "method": {
42
+ "dtype": "string",
43
+ "_type": "Value"
44
+ },
45
+ "method_start": {
46
+ "dtype": "float64",
47
+ "_type": "Value"
48
+ },
49
+ "method_end": {
50
+ "dtype": "float64",
51
+ "_type": "Value"
52
+ },
53
+ "signature": {
54
+ "dtype": "string",
55
+ "_type": "Value"
56
+ }
57
+ },
58
+ "homepage": "",
59
+ "license": ""
60
+ }
data/project_info/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89950b28f7cc83038eee58f2e1287d62e5358289e2574e4339bf8d7d587075ae
3
+ size 46160
data/project_info/dataset_info.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "id": {
6
+ "dtype": "int64",
7
+ "_type": "Value"
8
+ },
9
+ "project_slug": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "cve_id": {
14
+ "dtype": "string",
15
+ "_type": "Value"
16
+ },
17
+ "cwe_id": {
18
+ "dtype": "string",
19
+ "_type": "Value"
20
+ },
21
+ "cwe_name": {
22
+ "dtype": "string",
23
+ "_type": "Value"
24
+ },
25
+ "github_username": {
26
+ "dtype": "string",
27
+ "_type": "Value"
28
+ },
29
+ "github_repository_name": {
30
+ "dtype": "string",
31
+ "_type": "Value"
32
+ },
33
+ "github_tag": {
34
+ "dtype": "string",
35
+ "_type": "Value"
36
+ },
37
+ "github_url": {
38
+ "dtype": "string",
39
+ "_type": "Value"
40
+ },
41
+ "advisory_id": {
42
+ "dtype": "string",
43
+ "_type": "Value"
44
+ },
45
+ "buggy_commit_id": {
46
+ "dtype": "string",
47
+ "_type": "Value"
48
+ },
49
+ "fix_commit_ids": {
50
+ "dtype": "string",
51
+ "_type": "Value"
52
+ }
53
+ },
54
+ "homepage": "",
55
+ "license": ""
56
+ }