euclaise commited on
Commit
c9e63cd
·
1 Parent(s): 899d5aa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +163 -1
README.md CHANGED
@@ -108,4 +108,166 @@ dataset_info:
108
  ---
109
  # Dataset Card for "thevault-filtered"
110
 
111
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  ---
109
  # Dataset Card for "thevault-filtered"
110
 
111
+ Filtered version of [The Vault (function)](https://huggingface.co/datasets/Fsoft-AIC/the-vault-function). Restricted only to Python, then:
112
+ - Light AST filtering for self-contained functions
113
+ - Run through CodeBERT embeddings, clustered with k-means to 1024 clusters, and then the clusters were manually skimmed for seemingly uninformative functions.
114
+
115
+ - The clusters excluded and their reasons are as follows:
116
+ - ```
117
+ excluded = [
118
+ 4, # biochem stuff? DEcompiled code
119
+ 9, # Empty functions
120
+ 33, # Empty functions
121
+ 34, # UI stuff, just returns arguments
122
+ 37, # Empty functions
123
+ 40, # Empty functions
124
+ 42, # Empty functions
125
+ 44, # _namespace_SIO stuff
126
+ 55, # Trivial, e.g. add(a, b) = a + b
127
+ 66, # find_by class methods
128
+ 67, # Mostly methods, seems not very informative
129
+ 77, # openapi_types, returns a fixed dictionary
130
+ 78, # Minimal, method stuff
131
+ 83, # Locale configuration
132
+ 87, # Just returns argument
133
+ 101, # Incomplete
134
+ 102, # Class methods
135
+ 108, # openapi_types
136
+ 156, # Empty functions
137
+ 164, # Trivial, function aliases
138
+ 168, # Class methods
139
+ 172, # Empty functions
140
+ 173, # Class methods
141
+ 175, # Class methods
142
+ 181, # Empty functions
143
+ 182, # Fixed API stuff
144
+ 190, # Fixed specific stuff
145
+ 197, # from_dictionary class methods
146
+ 198, # Empty functions
147
+ 234, # Unimplemented
148
+ 246, # Fixed specific stuff
149
+ 277, # Empty functions
150
+ 280, # Empty functions
151
+ 282, # Empty functions
152
+ 287, # Trivial, e.g. helloWorld()
153
+ 299, # Mostly unfinished
154
+ 304, # Empty functions
155
+ 310, # Fixed API stuff
156
+ 313, # Just modifies globals
157
+ 320, # Empty functions
158
+ 329, # Takes a credentials object, and runs methods on it
159
+ 332, # MangoPi bot
160
+ 334, # Empty
161
+ 338, # namespace_SIO nonsense
162
+ 339, # fn(x) = x
163
+ 363, # Empty functions
164
+ 370, # Empty
165
+ 379, # Empty
166
+ 388, # Empty
167
+ 392, # Empty functions
168
+ 393, # Fixed lists
169
+ 409, # Fixed dictionaries
170
+ 416, # Aliases to print
171
+ 428, # Empty functions
172
+ 437, # Empty functions
173
+ 444, # Empty
174
+ 454, # Mostly just calls methods on arguments
175
+ 463, # Mostly just calls methods on arguments
176
+ 470, # Fixed dictionaries
177
+ 474, # Mostly fixed printing
178
+ 465, # OpenAPI fixed dictionaries
179
+ 476, # Empty
180
+ 477, # Fixed dictionaries
181
+ 491, # Trivial
182
+ 494, # Lots of fixed string stuff
183
+ 496, # Empty
184
+ 511, # Empty
185
+ 518, # OpenAPI
186
+ 521, # Fixed API stuff
187
+ 536, # Empty
188
+ 540, # Fixed API stuff
189
+ 553, # Empty
190
+ 555, # Empty
191
+ 564, # Empty
192
+ 566, # Empty
193
+ 568, # cls methods
194
+ 573, # Mostly fixed dict stuff
195
+ 574, # namespace_SO stuff, more biochem?
196
+ 582, # namespace_SO stuff, more biochem?
197
+ 602, # Fixed lists
198
+ 608, # Mostly cls methods
199
+ 617, # Mostly cls methods
200
+ 629, # cls methods, fixed lists
201
+ 641, # Fixed API stuff
202
+ 642, # Empty
203
+ 647, # Windows API stuff
204
+ 648, # jupyter stuff
205
+ 649, # mostly fixed dicts
206
+ 652, # Empty
207
+ 660, # Empty
208
+ 665, # cls methods
209
+ 666, # Empty
210
+ 672, # Empty
211
+ 680, # fixed dicts
212
+ 682, # Empty
213
+ 686, # Empty
214
+ 687, # Fixed lists elements_sequence
215
+ 692, # cls methods
216
+ 693, # ASCII art
217
+ 704, # Empty
218
+ 709, # mqtt send message
219
+ 712, # Empty
220
+ 715, # Fixed data recoding
221
+ 717, # Empty
222
+ 722, # cls methods
223
+ 725, # cls methods
224
+ 734, # cls methods
225
+ 737, # Empty
226
+ 741, # Trivial cls methods
227
+ 742, # Empty
228
+ 745, # Fixed strings
229
+ 752, # Empty
230
+ 758, # Mostly fixed printing
231
+ 768, # Empty
232
+ 783, # Empty
233
+ 784, # Mostly fixed dicts
234
+ 802, # Fixed printing
235
+ 806, # Empty
236
+ 821, # Empty
237
+ 824, # stuff like load_performance_win_x64_win_x64_vs2017_settings
238
+ 825, # Trivial
239
+ 835, # Empty
240
+ 851, # Empty
241
+ 862, # Empty
242
+ 876, # Trivial
243
+ 878, # Empty
244
+ 887, # Empty
245
+ 888, # Mostly fixed dicts
246
+ 890, # Mostly fixed dicts
247
+ 893, # Empty
248
+ 898, # cls methods
249
+ 899, # Fixed ['str'] stuff
250
+ 906, # Auto-generated or something
251
+ 912, # Empty
252
+ 924, # Empty
253
+ 933, # namespace_SO biochem stuff
254
+ 938, # Trivial
255
+ 959, # Mostly fixed printing
256
+ 963, # API-specific
257
+ 965, # cls methods
258
+ 967, # cls methods
259
+ 970, # Mostly fixed printing
260
+ 971, # cls methods
261
+ 972, # cls methods
262
+ 973, # Empty
263
+ 979, # cls methods
264
+ 982, # Empty
265
+ 983, # Empty
266
+ 989, # cls methods
267
+ 990, # API specific
268
+ 1007, # API specific
269
+ 1014, # Empty
270
+ ]
271
+ ```
272
+
273
+ MIT licensed, like the original dataset