code
stringlengths
1
1.49M
file_id
stringlengths
42
46
node_count
int64
0
7.38k
total_lines
int64
1
20.9k
vector_dim
int64
15
15
vector_labels
stringclasses
1 value
nodes
stringlengths
2
3.75M
connections
stringlengths
2
964k
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82297
61
171
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82297:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0877, 0.0058, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82297:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82297:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82297:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82297:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82298
22
47
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82298:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.3191, 0.0213, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82298:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82298:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82298:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82298:Return_L26_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82299
68
375
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82299:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.04, 0.0027, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82299:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82299:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82299:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82299:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82300
126
304
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82300:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0493, 0.0033, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82300:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82300:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82300:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82300:FunctionDef_L37_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82301
29
72
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82301:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2083, 0.0139, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82301:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82301:ClassDef_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82301:ClassDef_L42_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_82301:Expr_L43_C8"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82302
33
84
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82302:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1786, 0.0119, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82302:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82302:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82302:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82302:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82303
77
204
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82303:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0735, 0.0049, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82303:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82303:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82303:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82303:FunctionDef_L56_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82304
102
227
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82304:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0661, 0.0044, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82304:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82304:Expr_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82304:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82304:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82305
76
119
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82305:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1261, 0.0084, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82305:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82305:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82305:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82305:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82306
48
99
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82306:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1515, 0.0101, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82306:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82306:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82306:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82306:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82307
521
898
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82307:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0167, 0.0011, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82307:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82307:Expr_L57_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82307:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82307:FunctionDef_L59_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82308
70
223
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82308:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0673, 0.0045, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82308:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82308:Expr_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82308:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82308:Assign_L64_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82309
1,665
3,152
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82309:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0048, 0.0003, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82309:FunctionDef_L106_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82309:Expr_L107_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82309:FunctionDef_L106_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82309:If_L108_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82310
42
90
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82310:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1667, 0.0111, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82310:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82310:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82310:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82310:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82311
75
171
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82311:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0877, 0.0058, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82311:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82311:Assign_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82311:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82311:If_L52_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82312
25
47
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82312:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.3191, 0.0213, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82312:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82312:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82312:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82312:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82313
287
555
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82313:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.027, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82313:FunctionDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82313:Expr_L74_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82313:FunctionDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82313:Assign_L75_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82314
82
211
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82314:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0711, 0.0047, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82314:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82314:Expr_L61_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82314:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82314:Assign_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82315
169
707
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82315:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0212, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82315:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82315:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82315:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82315:Return_L38_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82316
18
128
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82316:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1172, 0.0078, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82316:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82316:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82316:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82316:FunctionDef_L21_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82317
105
277
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82317:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0542, 0.0036, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82317:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82317:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82317:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82317:FunctionDef_L54_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82318
3
20
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82318:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.75, 0.05, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[]
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82319
3
19
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82319:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.7895, 0.0526, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82320
86
248
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82320:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0605, 0.004, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82320:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82320:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82320:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82320:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82321
43
84
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82321:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1786, 0.0119, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82321:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82321:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82321:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82321:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82322
24
76
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82322:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1974, 0.0132, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82322:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82322:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82322:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82322:For_L27_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82323
99
235
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82323:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0638, 0.0043, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82323:FunctionDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82323:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82323:FunctionDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82323:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82324
75
236
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82324:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0636, 0.0042, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82324:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82324:FunctionDef_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82324:FunctionDef_L36_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_82324:Expr_L38_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82326
163
344
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82326:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0538, 0.0233, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82326:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82326:Expr_L55_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82326:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82326:FunctionDef_L57_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82328
624
1,071
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82328:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.014, 0.0009, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82328:ClassDef_L115_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82328:Expr_L116_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82328:ClassDef_L115_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82328:FunctionDef_L119_C4"}, {"f": "ajibawa-2023/Python-C...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82330
764
1,294
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82330:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0116, 0.0008, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82330:FunctionDef_L67_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82330:Expr_L68_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82330:FunctionDef_L67_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82330:Assign_L69_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82331
107
229
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82331:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0655, 0.0044, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82331:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82331:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82331:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82331:Assign_L56_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82332
90
223
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82332:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0673, 0.0045, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82332:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82332:If_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82332:If_L36_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_82332:Return_L37_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
#!/usr/bin/python # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
ajibawa-2023/Python-Code-Large/train/row_82333
134
232
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82333:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0733, 0.0043, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82333:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82333:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82333:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82333:FunctionDef_L38_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82334
130
309
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82334:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0485, 0.0032, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82334:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82334:ImportFrom_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82334:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82334:If_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
# -*- coding: utf-8; -*- # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
ajibawa-2023/Python-Code-Large/train/row_82335
28
142
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82335:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 16], "level": 0, "parent": null, "vector": [8, 0, 0.1127, 0.007, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82335:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82335:Assign_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82335:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82335:Return_L96_C4"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82336
103
186
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82336:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0806, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82336:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82336:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82336:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82336:If_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82337
389
661
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82337:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0227, 0.0015, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82337:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82337:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82337:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82337:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82338
52
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82338:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1154, 0.0077, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82338:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82338:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82338:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82338:ClassDef_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
"""Classes to build sanitized HTML.""" __author__ = 'John Orr (jorr@google.com)' import cgi import re def escape(strg): return cgi.escape(strg, quote=1).replace("'", ''').replace('`', '`') class Node(object): """Base class for the sanitizing module.""" def __init__(self): self._parent...
ajibawa-2023/Python-Code-Large/train/row_82339
166
305
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82339:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 1], "level": 0, "parent": null, "vector": [8, 0, 0.0033, 0.0033, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82339:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82339:Return_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82339:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82339:Expr_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
ajibawa-2023/Python-Code-Large/train/row_82340
1,189
2,832
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82340:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 116], "level": 0, "parent": null, "vector": [8, 0, 0.0233, 0.0357, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82340:FunctionDef_L167_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82340:Assign_L168_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82340:FunctionDef_L167_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82340:Assign_L169_C4"}, {"f": "ajibawa-2023/Pytho...
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82341
334
546
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82341:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82341:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82341:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82341:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82341:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_82342
188
441
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82342:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.034, 0.0023, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82342:ClassDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82342:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82342:ClassDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82342:FunctionDef_L51_C4"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_82343
133
305
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82343:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0557, 0.0033, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82343:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82343:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82343:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82343:Assign_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_82344
218
605
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82344:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0281, 0.0017, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82344:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82344:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82344:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82344:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # Copyright (c) 2010, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this l...
ajibawa-2023/Python-Code-Large/train/row_82346
51
187
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82346:Expr_L32_C0", "label": "expression", "type": "expression", "loc": [32, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1818, 0.0267, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82346:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82346:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82346:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82346:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
ajibawa-2023/Python-Code-Large/train/row_82348
86
244
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82348:Import_L18_C0", "label": "base64 import base64", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0738, 0.0041, 0, 0.66, 0.0, 177, 0, 1, 0, 0, 177, 0, 0], "semantic": {"name": "base64", "arg_names": [], "import_names": ["base64"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82348:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82348:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82348:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82348:FunctionDef_L39_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
ajibawa-2023/Python-Code-Large/train/row_82350
155
378
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82350:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 30], "level": 0, "parent": null, "vector": [8, 0, 0.0437, 0.0741, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82350:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82350:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82350:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82350:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82351
7
32
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82351:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82351:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82351:Import_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82351:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82351:Try_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82353
396
1,139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82353:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0145, 0.0035, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82353:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82353:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82353:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82353:ImportFrom_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82354
33
105
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82354:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1619, 0.0476, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82354:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82354:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82354:ClassDef_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82354:Expr_L63_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82355
46
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82355:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1604, 0.0472, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82355:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82355:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82355:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82355:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_82356
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82356:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82357
63
124
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82357:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1371, 0.0403, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82357:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82357:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82357:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82357:FunctionDef_L34_C2"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright (C) 2007 Joe Gregorio # # Licensed under the MIT License """MIME-Type Parser This module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation. http://www.w3.o...
ajibawa-2023/Python-Code-Large/train/row_82359
57
172
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82359:Expr_L5_C0", "label": "expression", "type": "expression", "loc": [5, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0814, 0.1105, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82359:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82359:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82359:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82359:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82360
114
303
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82360:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 58], "level": 0, "parent": null, "vector": [8, 0, 0.1205, 0.1452, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82360:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82360:Expr_L69_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82360:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82360:FunctionDef_L71_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82361
7
32
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82361:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82361:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82361:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82361:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82361:Try_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82362
201
483
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82362:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0342, 0.0083, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82362:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82362:ImportFrom_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82362:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82362:ImportFrom_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82364
55
135
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82364:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1259, 0.037, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82364:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82364:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82364:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82364:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82366
28
63
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82366:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.2619, 0.0635, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82366:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82366:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82366:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82366:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_82367
29
56
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82367:Import_L15_C0", "label": "apiclient import apiclient", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2679, 0.0179, 0, 0.66, 0.0, 629, 0, 1, 0, 0, 629, 0, 0], "semantic": {"name": "apiclient", "arg_names": [], "import_names": ["a...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82367:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82367:Assign_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82367:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82367:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Cod...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_82368
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82368:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_82369
154
385
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82369:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0519, 0.0182, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82369:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82369:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82369:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82369:FunctionDef_L53_C2"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_82370
56
123
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82370:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1545, 0.0407, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82370:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82370:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82370:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82370:Expr_L35_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
""" iri2uri Converts an IRI to a URI. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyright 2006, Joe Gregorio" __contributors__ = [] __version__ = "1.0.0" __license__ = "MIT" __history__ = """ """ import urlparse # Convert an IRI to a URI following the rules in RFC 3987 # # The characte...
ajibawa-2023/Python-Code-Large/train/row_82371
43
110
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82371:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0318, 0.0545, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82371:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82371:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82371:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82371:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
ajibawa-2023/Python-Code-Large/train/row_82373
213
438
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82373:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0365, 0.0708, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82373:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82373:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82373:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82373:Assign_L102_C4"}, {"f": "ajibawa-2023/Python-Cod...
import Cookie import datetime import time import email.utils import calendar import base64 import hashlib import hmac import re import logging # Ripped from the Tornado Framework's web.py # http://github.com/facebook/tornado/commit/39ac6d169a36a54bb1f6b9bf1fdebb5c9da96e09 # # Tornado is licensed under the Apache Licen...
ajibawa-2023/Python-Code-Large/train/row_82374
115
168
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82374:Import_L1_C0", "label": "Cookie import Cookie", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.006, 0.006, 0, 0.66, 0.0, 32, 0, 1, 0, 0, 32, 0, 0], "semantic": {"name": "Cookie", "arg_names": [], "import_names": ["Cookie"], "rhs_ca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82374:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82374:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82374:FunctionDef_L26_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_82374:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
ajibawa-2023/Python-Code-Large/train/row_82375
8
18
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82375:Assign_L3_C0", "label": "manual_verstr =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0556, 0, 0.66, 0.0, 189, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "manual_verstr", "arg_names": [], "import_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82375:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82375:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82375:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82375:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_82376
10
41
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82376:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.2927, 0.561, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82376:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82376:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82376:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82376:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_82377
9
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82377:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.3, 0.575, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82377:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82377:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82377:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82377:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Early, and incomplete implementation of -04. # import re import urllib RESERVED = ":/?#[]@!$&'()*+,;=" OPERATOR = "+./;?|!@" EXPLODE = "*+" MODIFIER = ":^" TEMPLATE = re.compile(r"{(?P<operator>[\+\./;\?|!@])?(?P<varlist>[^}]+)}", re.UNICODE) VAR = re.compile(r"^(?P<varname>[^=\+\*:\^]+)((?P<explode>[\+\*])|(?P<part...
ajibawa-2023/Python-Code-Large/train/row_82379
112
147
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82379:Import_L3_C0", "label": "re import re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0204, 0.0068, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ""...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82379:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82379:If_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82379:If_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_82379:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/python2.6 # # Simple http server to emulate api.playfoursquare.com import logging import shutil import sys import urlparse import SimpleHTTPServer import BaseHTTPServer class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): """Handle playfoursquare.com requests, for testing.""" def do_GET(self...
ajibawa-2023/Python-Code-Large/train/row_82380
63
85
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82380:Import_L5_C0", "label": "logging import logging", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.0588, 0.0118, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "logging", "arg_names": [], "import_names": ["logging"],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82380:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82380:Expr_L15_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82380:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82380:FunctionDef_L17_C2"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python import os import subprocess import sys BASEDIR = '../main/src/com/joelapenna/foursquare' TYPESDIR = '../captures/types/v1' captures = sys.argv[1:] if not captures: captures = os.listdir(TYPESDIR) for f in captures: basename = f.split('.')[0] javaname = ''.join([c.capitalize() for c in basena...
ajibawa-2023/Python-Code-Large/train/row_82381
20
27
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82381:Import_L3_C0", "label": "os import os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.1111, 0.037, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82381:If_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82381:Assign_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82381:For_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82381:Assign_L15_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/python """ Pull a oAuth protected page from foursquare. Expects ~/.oget to contain (one on each line): CONSUMER_KEY CONSUMER_KEY_SECRET USERNAME PASSWORD Don't forget to chmod 600 the file! """ import httplib import os import re import sys import urllib import urllib2 import urlparse import user from xml....
ajibawa-2023/Python-Code-Large/train/row_82382
50
111
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82382:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 12], "level": 0, "parent": null, "vector": [8, 0, 0.0631, 0.0991, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82382:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82382:Return_L49_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82382:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82382:Assign_L57_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import datetime import sys import textwrap import common from xml.dom import pulldom PARSER = """\ /** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.parsers; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareError; import com.joel...
ajibawa-2023/Python-Code-Large/train/row_82383
42
149
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82383:Import_L3_C0", "label": "datetime import datetime", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0201, 0.0067, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datetim...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82383:FunctionDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82383:Assign_L83_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82383:FunctionDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82383:Expr_L85_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python import logging from xml.dom import minidom from xml.dom import pulldom BOOLEAN = "boolean" STRING = "String" GROUP = "Group" # Interfaces that all FoursquareTypes implement. DEFAULT_INTERFACES = ['FoursquareType'] # Interfaces that specific FoursqureTypes implement. INTERFACES = { } DEFAULT_CLA...
ajibawa-2023/Python-Code-Large/train/row_82384
44
114
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82384:Import_L3_C0", "label": "logging import logging", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0263, 0.0088, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "logging", "arg_names": [], "import_names": ["logging"],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82384:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82384:Expr_L60_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82384:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82384:Assign_L71_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python from distutils.core import setup #from setuptools import find_packages import sys, os if not sys.version_info[0:2] >= (2,6): sys.stderr.write("Requires Python later than 2.6\n") sys.exit(1) # quickly import the latest version of ruffus sys.path.insert(0, os.path.abspath(".")) import ruff...
ajibawa-2023/Python-Code-Large/train/row_82386
10
202
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82386:ImportFrom_L2_C0", "label": "from distutils.core import setup", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0099, 0.005, 0, 0.66, 0.0, 152, 0, 1, 0, 0, 152, 0, 0], "semantic": {"name": "distutils.core", "arg_names": [], "import_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82386:If_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82386:Expr_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82386:If_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82386:Expr_L8_C4"}]
#!/usr/bin/env python """ test2.py [--log_file PATH] [--verbose] """ ################################################################################ # # test2 # # # Copyright (c) 7/16/2010 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this so...
ajibawa-2023/Python-Code-Large/train/row_82387
107
347
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82387:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0144, 0.0202, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82387:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82387:Assign_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82387:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82387:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python import sys, os # add self to search path for testing if __name__ == '__main__': exe_path = os.path.split(os.path.abspath(sys.argv[0]))[0] module_name = os.path.split(sys.argv[0])[1] module_name = os.path.splitext(module_name)[0]; else: module_name = __name__ # Use import path fro...
ajibawa-2023/Python-Code-Large/train/row_82388
17
46
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82388:Import_L2_C0", "label": "sys import sys, os", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0435, 0.0217, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82388:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82388:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82388:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82388:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_823...
#!/usr/bin/env python from ruffus import * import sys def first_task(): print "First task" @follows(first_task) def second_task(): print "Second task" @follows(second_task) def final_task(): print "Final task" pipeline_printout_graph ( "manual_follows1.png", "png", ...
ajibawa-2023/Python-Code-Large/train/row_82389
9
19
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82389:ImportFrom_L2_C0", "label": "from ruffus import *", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.1053, 0.0526, 0, 0.66, 0.0, 250, 0, 1, 0, 0, 250, 0, 0], "semantic": {"name": "ruffus", "arg_names": [], "import_names": ["*"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82389:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82389:Expr_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82389:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82389:Expr_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
#!/usr/bin/env python import sys, os # add self to search path for testing if __name__ == '__main__': exe_path = os.path.split(os.path.abspath(sys.argv[0]))[0] module_name = os.path.split(sys.argv[0])[1] module_name = os.path.splitext(module_name)[0]; else: module_name = __name__ # Use import path fro...
ajibawa-2023/Python-Code-Large/train/row_82390
46
98
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82390:Import_L2_C0", "label": "sys import sys, os", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0204, 0.0102, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82390:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82390:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82390:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82390:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_823...
#!/usr/bin/env python """ run_dless2_rebecca.py [--log_file PATH] [--verbose] """ ################################################################################ # # test # # # Copyright (c) 7/13/2010 Rebecca Chodroff # # Permission is hereby granted, free of charge, to any person obtaining a copy...
ajibawa-2023/Python-Code-Large/train/row_82391
134
531
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82391:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0094, 0.0132, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82391:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82391:Assign_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82391:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82391:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python """ test2.py [--log_file PATH] [--verbose] """ ################################################################################ # # test2 # # # Copyright (c) 7/16/2010 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this so...
ajibawa-2023/Python-Code-Large/train/row_82392
143
437
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82392:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0114, 0.016, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82392:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82392:Assign_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82392:If_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82392:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python import sys, os # add self to search path for testing if __name__ == '__main__': exe_path = os.path.split(os.path.abspath(sys.argv[0]))[0] module_name = os.path.split(sys.argv[0])[1] module_name = os.path.splitext(module_name)[0]; else: module_name = __name__ # Use import path fro...
ajibawa-2023/Python-Code-Large/train/row_82393
44
95
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82393:Import_L2_C0", "label": "sys import sys, os", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0211, 0.0105, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82393:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82393:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82393:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82393:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_823...
#!/usr/bin/env python """ play_with_colours.py [--log_file PATH] [--verbose] """ ################################################################################ # # test # # # Copyright (c) 7/13/2010 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # ...
ajibawa-2023/Python-Code-Large/train/row_82394
68
268
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82394:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0187, 0.0261, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82394:If_L199_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82394:Assign_L200_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82394:If_L199_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82394:Assign_L201_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train...
#!/usr/bin/env python2.5 """ test_tasks.py """ #88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 # options #88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 from optparse import OptionParser import sys, os import os.path imp...
ajibawa-2023/Python-Code-Large/train/row_82395
80
260
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82395:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0154, 0.0192, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82395:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82395:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82395:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82395:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python """ complicated_example.py """ import os, sys exe_path = os.path.split(os.path.abspath(sys.argv[0]))[0] sys.path.append(os.path.abspath(os.path.join(exe_path,"..", ".."))) from ruffus import * from time import sleep import random #88888888888888888888888888888888888888888888888888888888888...
ajibawa-2023/Python-Code-Large/train/row_82396
147
527
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82396:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0076, 0.0095, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82396:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82396:Expr_L108_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82396:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82396:If_L122_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python """ intermediate_example.py This script takes N pairs of input file pairs (with the suffices .gene and .gwas) and runs them against M sets of simulation data (with the suffix .simulation) ...
ajibawa-2023/Python-Code-Large/train/row_82397
78
313
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82397:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 33], "level": 0, "parent": null, "vector": [8, 0, 0.0559, 0.1022, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82397:FunctionDef_L137_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82397:Expr_L138_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82397:FunctionDef_L137_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82397:Assign_L148_C4"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python """ ruffus_template.py [--log_file PATH] [--verbose] [--target_tasks] [--jobs] [--just_print] [--flowchart] [--key_legend_in_...
ajibawa-2023/Python-Code-Large/train/row_82398
74
270
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82398:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0296, 0.0481, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82398:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82398:ImportFrom_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82398:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82398:Import_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train...
#!/usr/bin/env python ################################################################################ # # # drmaa_wrapper.py # # Copyright (C) 2013 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software...
ajibawa-2023/Python-Code-Large/train/row_82399
166
469
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82399:Expr_L27_C0", "label": "expression", "type": "expression", "loc": [27, 42], "level": 0, "parent": null, "vector": [8, 0, 0.0736, 0.0341, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82399:If_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82399:Assign_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82399:If_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82399:Assign_L58_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python ################################################################################ # # # cmd_line_helper.py # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "S...
ajibawa-2023/Python-Code-Large/train/row_82400
224
827
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82400:Expr_L27_C0", "label": "expression", "type": "expression", "loc": [27, 84], "level": 0, "parent": null, "vector": [8, 0, 0.0671, 0.0701, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82400:FunctionDef_L91_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82400:Expr_L92_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82400:FunctionDef_L91_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82400:Import_L118_C4"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/python # -*- coding: utf-8 -*- ''' A dictionary-like object with SQLite backend ============================================ Python dictionaries are very efficient objects for fast data access. But when data is too large to fit in memory, you want to keep data on disk but available for fast random access. ...
ajibawa-2023/Python-Code-Large/train/row_82401
168
459
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82401:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 87], "level": 0, "parent": null, "vector": [8, 0, 0.0991, 0.183, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82401:Try_L92_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82401:ImportFrom_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82401:Try_L92_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82401:ImportFrom_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/usr/bin/env python from __future__ import print_function import sys # import signal if sys.hexversion < 0x03000000: from future_builtins import zip, map ################################################################################ # # # task.py # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is...
ajibawa-2023/Python-Code-Large/train/row_82402
1,696
5,594
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82402:ImportFrom_L2_C0", "label": "from __future__ import print_function", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0004, 0.0002, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "impor...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82402:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82402:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82402:If_L101_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82402:ImportFrom_L103_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/env python ################################################################################ # # print_dependencies.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the...
ajibawa-2023/Python-Code-Large/train/row_82403
300
623
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82403:Expr_L27_C0", "label": "expression", "type": "expression", "loc": [27, 32], "level": 0, "parent": null, "vector": [8, 0, 0.0474, 0.0096, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82403:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82403:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82403:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82403:If_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python ################################################################################ # # version.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"...
ajibawa-2023/Python-Code-Large/train/row_82404
1
27
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82404:Assign_L27_C0", "label": "__version =", "type": "assigned_variable", "loc": [27, 27], "level": 0, "parent": null, "vector": [14, 0, 1.0, 0.037, 0, 0.66, 0.0, 592, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version", "arg_names": [], "import_names": [], "rhs_cal...
[]
#!/usr/bin/env python """ exceptions.py """ ################################################################################ # # exceptions.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated doc...
ajibawa-2023/Python-Code-Large/train/row_82405
136
364
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82405:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.011, 0.0137, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82405:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82405:FunctionDef_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82405:FunctionDef_L49_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_82405:Expr_L50_C8"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/env python from __future__ import print_function import sys import re if sys.hexversion < 0x03000000: from future_builtins import zip ################################################################################ # # ruffus_utility.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is ...
ajibawa-2023/Python-Code-Large/train/row_82406
584
1,740
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82406:ImportFrom_L2_C0", "label": "from __future__ import print_function", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0011, 0.0006, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "impor...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82406:If_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82406:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82406:If_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82406:Import_L63_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
#!/usr/bin/env python ################################################################################ # # # combinatorics.py # # Copyright (c) 2013 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software...
ajibawa-2023/Python-Code-Large/train/row_82407
6
82
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82407:Expr_L27_C0", "label": "expression", "type": "expression", "loc": [27, 64], "level": 0, "parent": null, "vector": [8, 0, 0.5549, 0.4634, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
#!/usr/bin/env python ################################################################################ # # proxy_logger.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
ajibawa-2023/Python-Code-Large/train/row_82408
80
399
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82408:Expr_L27_C0", "label": "expression", "type": "expression", "loc": [27, 122], "level": 0, "parent": null, "vector": [8, 0, 0.1867, 0.2406, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_82408:FunctionDef_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82408:Expr_L158_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_82408:FunctionDef_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_82408:Assign_L221_C4"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python ################################################################################ # # __init__.py # # # Copyright (c) 10/9/2009 Leo Goodstadt # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software...
ajibawa-2023/Python-Code-Large/train/row_82409
14
55
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_82409:ImportFrom_L28_C0", "label": "from task import Pipeline, Task", "type": "import", "loc": [28, 28], "level": 0, "parent": null, "vector": [1, 0, 0.5091, 0.0182, 0, 0.66, 0.0, 305, 0, 2, 0, 0, 305, 0, 0], "semantic": {"name": "task", "arg_names": [], "import_names":...
[]