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 2008-2012 Nokia Siemens Networks Oyj # # 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_80668
2
34
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_80668:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 32], "level": 0, "parent": null, "vector": [8, 0, 0.6912, 0.5294, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80669
29
59
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_80669:ImportFrom_L15_C0", "label": "from robot.model import SuiteVisitor", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2542, 0.0169, 0, 0.66, 0.0, 275, 0, 1, 0, 0, 275, 0, 0], "semantic": {"name": "robot.model", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80669:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80669:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80669:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80669:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80670
51
102
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_80670:ImportFrom_L15_C0", "label": "from robot.model import SuiteVisitor", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1471, 0.0098, 0, 0.66, 0.0, 275, 0, 1, 0, 0, 275, 0, 0], "semantic": {"name": "robot.model", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80670:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80670:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80670:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80670:If_L21_C8"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80671
28
104
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_80671:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 52], "level": 0, "parent": null, "vector": [8, 0, 0.3221, 0.3654, 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_80671:FunctionDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80671:Expr_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80671:FunctionDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80671:If_L71_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80672
4
50
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_80672:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 46], "level": 0, "parent": null, "vector": [8, 0, 0.61, 0.64, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80673
94
181
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_80673:Import_L15_C0", "label": "utils import utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0829, 0.0055, 0, 0.66, 0.0, 970, 0, 1, 0, 0, 970, 0, 0], "semantic": {"name": "utils", "arg_names": [], "import_names": ["utils"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80673:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80673:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80673:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80673:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80675
2
17
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_80675:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.8824, 0.0588, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80676
79
138
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_80676:ImportFrom_L15_C0", "label": "from robot import utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1087, 0.0072, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["util...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80676:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80676:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80676:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80676:Assign_L34_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80678
42
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_80678:ImportFrom_L15_C0", "label": "from robot.common.statistics import Statistics", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1974, 0.0132, 0, 0.66, 0.0, 471, 0, 1, 0, 0, 471, 0, 0], "semantic": {"name": "robot.common.statistics"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80678:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80678:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80678:FunctionDef_L26_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80678:Expr_L27_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80679
131
197
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_80679:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0761, 0.0051, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80679:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80679:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80679:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80679:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80683
24
53
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_80683:Import_L15_C0", "label": "logging import logging", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.283, 0.0189, 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_80683:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80683:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80683:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80683:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80685
69
127
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_80685:Import_L19_C0", "label": "os import os", "type": "import", "loc": [19, 19], "level": 0, "parent": null, "vector": [1, 0, 0.1496, 0.0079, 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_80685:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80685:ImportFrom_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80685:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80685:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80686
28
57
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_80686:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2632, 0.0175, 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_80686:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80686:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80686:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80686:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80687
5
23
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_80687:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.7174, 0.1739, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80689
10
28
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_80689:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5357, 0.0357, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80689:If_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80689:ImportFrom_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80689:If_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80689:ImportFrom_L20_C4"}]
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80690
27
335
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_80690:Assign_L17_C0", "label": "USAGE =", "type": "assigned_variable", "loc": [17, 257], "level": 0, "parent": null, "vector": [14, 0, 0.409, 0.7194, 0, 0.66, 0.0, 952, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "USAGE", "arg_names": [], "import_names": [], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80690:If_L263_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80690:Import_L264_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80690:ClassDef_L273_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80690:FunctionDef_L275_C4"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80691
8
31
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_80691:Import_L17_C0", "label": "sys import sys", "type": "import", "loc": [17, 17], "level": 0, "parent": null, "vector": [1, 0, 0.5484, 0.0323, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80691:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80691:Import_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80691:If_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80691:Expr_L31_C4"}]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80692
11
37
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_80692:ImportFrom_L15_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.4054, 0.027, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "impo...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80692:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80692:Expr_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80692:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80692:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80693
13
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_80693:ClassDef_L16_C0", "label": "BaseKeyword", "type": "class", "loc": [16, 32], "level": 0, "parent": null, "vector": [3, 0, 0.75, 0.5312, 0, 0.66, 0.0, 776, 0, 3, 0, 0, 0, 0, 2], "semantic": {"name": "BaseKeyword", "arg_names": [], "import_names": [], "rhs_call_name"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80693:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80693:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80693:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80693:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80694
306
434
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_80694:Import_L15_C0", "label": "random import random", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0346, 0.0023, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80694:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80694:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80694:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80694:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80695
220
329
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_80695:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0456, 0.003, 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_80695:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80695:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80695:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80695:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80696
9
31
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_80696:ImportFrom_L16_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.5161, 0.0323, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80696:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80696:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80696:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80696:Try_L22_C8"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80697
6
28
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_80697:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 22], "level": 0, "parent": null, "vector": [8, 0, 0.6607, 0.2857, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80698
13
35
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_80698:ImportFrom_L15_C0", "label": "from visitor import SuiteVisitor", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.4286, 0.0286, 0, 0.66, 0.0, 260, 0, 1, 0, 0, 260, 0, 0], "semantic": {"name": "visitor", "arg_names": [], "import_nam...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80698:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80698:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80698:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80698:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80699
21
48
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_80699:ImportFrom_L15_C0", "label": "from robot.utils import html_escape", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3125, 0.0208, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80699:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80699:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80699:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80699:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80700
15
36
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_80700:ImportFrom_L15_C0", "label": "from tags import TagPatterns", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.4167, 0.0278, 0, 0.66, 0.0, 487, 0, 1, 0, 0, 487, 0, 0], "semantic": {"name": "tags", "arg_names": [], "import_names": ["...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80700:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80700:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80700:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80700:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80701
64
115
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_80701:ImportFrom_L15_C0", "label": "from robot.utils import normalize_tags, setter, Matcher", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1304, 0.0087, 0, 0.66, 0.0, 417, 0, 3, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80701:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80701:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80701:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80701:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80702
88
141
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_80702:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1064, 0.0071, 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_80702:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80702:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80702:FunctionDef_L26_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80702:Assign_L27_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80703
37
67
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_80703:ImportFrom_L15_C0", "label": "from stats import SuiteStat", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2239, 0.0149, 0, 0.66, 0.0, 318, 0, 1, 0, 0, 318, 0, 0], "semantic": {"name": "stats", "arg_names": [], "import_names": ["...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80703:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80703:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80703:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80703:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80704
52
97
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_80704:ImportFrom_L15_C0", "label": "from robot.utils import setter", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1546, 0.0103, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80704:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80704:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80704:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80704:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80705
45
81
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_80705:ImportFrom_L15_C0", "label": "from robot.utils import setter", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1852, 0.0123, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80705:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80705:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80705:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80705:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80706
37
69
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_80706:ImportFrom_L15_C0", "label": "from robot.utils import setter", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2174, 0.0145, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80706:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80706:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80706:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80706:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80707
8
26
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_80707:ImportFrom_L15_C0", "label": "from robot.utils.setter import SetterAwareType", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5769, 0.0385, 0, 0.66, 0.0, 462, 0, 1, 0, 0, 462, 0, 0], "semantic": {"name": "robot.utils.setter", "ar...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80707:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80707:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80707:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80707:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80708
65
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_80708:ImportFrom_L15_C0", "label": "from robot.utils import setter", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1364, 0.0091, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80708:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80708:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80708:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80708:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80709
29
60
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_80709:ImportFrom_L15_C0", "label": "from stats import TotalStat", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0167, 0, 0.66, 0.0, 318, 0, 1, 0, 0, 318, 0, 0], "semantic": {"name": "stats", "arg_names": [], "import_names": ["To...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80709:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80709:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80709:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80709:Assign_L22_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80710
21
49
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_80710:ImportFrom_L15_C0", "label": "from robot.utils import MultiMatcher", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3061, 0.0204, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80710:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80710:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80710:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80710:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80711
29
59
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_80711:ImportFrom_L15_C0", "label": "from totalstatistics import TotalStatisticsBuilder", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2542, 0.0169, 0, 0.66, 0.0, 799, 0, 1, 0, 0, 799, 0, 0], "semantic": {"name": "totalstatistics", "a...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80711:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80711:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80711:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80711:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80712
12
33
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_80712:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 21], "level": 0, "parent": null, "vector": [8, 0, 0.5455, 0.2121, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80713
73
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_80713:ImportFrom_L15_C0", "label": "from robot.utils import html_escape", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1154, 0.0077, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80713:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80713:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80713:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80713:Assign_L23_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80714
8
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_80714:ImportFrom_L15_C0", "label": "from robot.utils import NormalizedDict", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5556, 0.037, 0, 0.66, 0.0, 417, 0, 1, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_names": [], "i...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80714:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80714:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80714:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80714:Expr_L21_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80715
32
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_80715:ClassDef_L15_C0", "label": "SuiteVisitor", "type": "class", "loc": [15, 61], "level": 0, "parent": null, "vector": [3, 0, 0.5, 0.6184, 0, 0.66, 0.0, 838, 0, 12, 0, 0, 186, 0, 14], "semantic": {"name": "SuiteVisitor", "arg_names": [], "import_names": [], "rhs_call_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80715:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80715:FunctionDef_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80715:FunctionDef_L17_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80715:If_L18_C8"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80716
41
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_80716:ClassDef_L16_C0", "label": "ItemList", "type": "class", "loc": [16, 72], "level": 0, "parent": null, "vector": [3, 0, 0.6111, 0.7917, 0, 0.66, 0.0, 217, 0, 13, 0, 0, 186, 0, 22], "semantic": {"name": "ItemList", "arg_names": [], "import_names": [], "rhs_call_name"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80716:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80716:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80716:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80716:FunctionDef_L19_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80717
35
71
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_80717:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2113, 0.0141, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80717:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80717:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80717:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80717:Assign_L28_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80718
69
109
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_80718:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1376, 0.0092, 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_80718:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80718:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80718:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80718:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80719
46
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_80719:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1515, 0.0101, 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_80719:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80719:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80719:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80719:Assign_L24_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80721
78
180
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_80721:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0833, 0.0056, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80721:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80721:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80721:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80721:Assign_L27_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80722
56
94
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_80722:ImportFrom_L15_C0", "label": "from contextlib import contextmanager", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1596, 0.0106, 0, 0.66, 0.0, 479, 0, 1, 0, 0, 479, 0, 0], "semantic": {"name": "contextlib", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80722:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80722:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80722:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80722:Assign_L29_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80723
55
100
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_80723:Import_L15_C0", "label": "time import time", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.15, 0.01, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80723:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80723:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80723:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80723:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80724
2
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_80724:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.825, 0.2, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80725
32
60
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_80725:ImportFrom_L15_C0", "label": "from operator import itemgetter", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0167, 0, 0.66, 0.0, 616, 0, 1, 0, 0, 616, 0, 0], "semantic": {"name": "operator", "arg_names": [], "import_names...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80725:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80725:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80725:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80725:Return_L24_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80726
24
53
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_80726:ImportFrom_L15_C0", "label": "from robot.output.xmllogger import XmlLogger", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.283, 0.0189, 0, 0.66, 0.0, 793, 0, 1, 0, 0, 793, 0, 0], "semantic": {"name": "robot.output.xmllogger", "a...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80726:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80726:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80726:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80726:Expr_L26_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80727
63
115
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_80727:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1304, 0.0087, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80727:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80727:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80727:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80727:Assign_L28_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80728
85
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_80728:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.102, 0.0068, 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_80728:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80728:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80728:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80728:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80729
11
30
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_80729:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_80729:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80729:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80729:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80729:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80730
21
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_80730:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3261, 0.0217, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80730:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80730:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80730:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80730:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80731
7
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_80731:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.6296, 0.1852, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80732
3
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_80732:Try_L15_C0", "label": "try", "type": "try", "loc": [15, 18], "level": 0, "parent": null, "vector": [7, 0, 0.9167, 0.2222, 0, 0.66, 0.0, 0, 0, 1, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation": ""}, "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80732:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80732:ImportFrom_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80732:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80732:ImportFrom_L18_C4"}]
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80733
32
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_80733:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 28], "level": 0, "parent": null, "vector": [8, 0, 0.25, 0.1333, 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_80733:Try_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80733:ImportFrom_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80733:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80733:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80734
54
103
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_80734:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2573, 0.1942, 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_80734:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80734:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80734:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80734:Assign_L48_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/env python # tool2html.py -- Creates HTML version of given tool documentation # # First part of this file is Pygments configuration and actual # documentation generation follows it. # # Pygments configuration # # This code is from 'external/rst-directive.py' file included in Pygments 0.9 # distribution. F...
ajibawa-2023/Python-Code-Large/train/row_80735
50
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_80735:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 49], "level": 0, "parent": null, "vector": [8, 0, 0.2254, 0.2465, 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_80735:FunctionDef_L75_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80735:Try_L77_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80735:Try_L77_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80735:Assign_L78_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80736
126
176
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_80736:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0852, 0.0057, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80736:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80736:Import_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80736:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80736:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
import sys from SimpleXMLRPCServer import SimpleXMLRPCServer class SimpleLibrary(SimpleXMLRPCServer): def __init__(self, port=8270): SimpleXMLRPCServer.__init__(self, ('localhost', int(port))) self.register_function(self.get_keyword_names) self.register_function(self.run_keyword) ...
ajibawa-2023/Python-Code-Large/train/row_80737
27
37
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_80737:Import_L1_C0", "label": "sys import sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.027, 0.027, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_name": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80737:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80737:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80737:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80737:Expr_L8_C8"}, {"f": "ajibawa-2023/Python-Code-L...
# Can be used in the test data like ${MyObject()} or ${MyObject(1)} class MyObject: def __init__(self, index=''): self.index = index def __str__(self): return '<MyObject%s>' % self.index UNICODE = (u'Hyv\u00E4\u00E4 y\u00F6t\u00E4. ' u'\u0421\u043F\u0430\u0441\u0438\u0431\u043E!') LI...
ajibawa-2023/Python-Code-Large/train/row_80738
11
16
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_80738:ClassDef_L2_C0", "label": "MyObject", "type": "class", "loc": [2, 6], "level": 0, "parent": null, "vector": [3, 0, 0.25, 0.3125, 0, 0.66, 0.0, 605, 0, 2, 0, 0, 0, 0, 0], "semantic": {"name": "MyObject", "arg_names": [], "import_names": [], "rhs_call_name": "", "an...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80738:ClassDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80738:FunctionDef_L3_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80738:FunctionDef_L3_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80738:Assign_L4_C8"}, {"f": "ajibawa-2023/Python-Code...
import sys class RemoteTestLibrary: _unicode = (u'Hyv\u00E4\u00E4 y\u00F6t\u00E4. ' u'\u0421\u043F\u0430\u0441\u0438\u0431\u043E!') def get_server_language(self): lang = sys.platform.startswith('java') and 'jython' or 'python' return '%s%d%d' % (lang, sys.version_info[0], sys...
ajibawa-2023/Python-Code-Large/train/row_80740
182
312
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_80740:Import_L1_C0", "label": "sys import sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0032, 0.0032, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_name"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80740:ClassDef_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80740:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80740:ClassDef_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80740:FunctionDef_L9_C4"}, {"f": "ajibawa-2023/Python-Code-La...
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80741
112
166
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_80741:Expr_L18_C0", "label": "expression", "type": "expression", "loc": [18, 30], "level": 0, "parent": null, "vector": [8, 0, 0.1446, 0.0783, 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_80741:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80741:FunctionDef_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80741:FunctionDef_L42_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80741:Assign_L43_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python # Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 req...
ajibawa-2023/Python-Code-Large/train/row_80744
115
190
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_80744:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 39], "level": 0, "parent": null, "vector": [8, 0, 0.1474, 0.1211, 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_80744:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80744:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80744:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80744:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python """qs2html.py -- Creates HTML version of Robot Framework Quick Start Guide Usage: qs2html.py [ cr(eate) | dist | zip ] create .. Creates the HTML version of the Quick Start Guide. dist .... Creates the Quick Start Guide and copies it and all its dependencies under directory named '...
ajibawa-2023/Python-Code-Large/train/row_80746
45
79
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_80746:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 14], "level": 0, "parent": null, "vector": [8, 0, 0.1076, 0.1519, 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_80746:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80746:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80746:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80746:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-...
import os import sys import subprocess class LoginLibrary: def __init__(self): self._sut_path = os.path.join(os.path.dirname(__file__), '..', 'sut', 'login.py') self._status = '' def create_user(self, username, password): self._run_command('creat...
ajibawa-2023/Python-Code-Large/train/row_80747
20
33
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_80747:Import_L1_C0", "label": "os import os", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0303, 0.0303, 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_80747:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80747:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80747:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80747:Assign_L9_C8"}, {"f": "ajibawa-2023/Python-Code...
def simple_keyword(): """Log a message""" print 'You have used the simplest keyword.' def greet(name): """Logs a friendly greeting to person given as argument""" print 'Hello %s!' % name def multiply_by_two(number): """Returns the given number multiplied by two The result is always a floa...
ajibawa-2023/Python-Code-Large/train/row_80748
12
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_80748:FunctionDef_L1_C0", "label": "simple_keyword", "type": "function", "loc": [1, 3], "level": 0, "parent": null, "vector": [2, 0, 0.1, 0.15, 0, 0.66, 0.0, 30, 0, 0, 0, 0, 0, 0, 1], "semantic": {"name": "simple_keyword", "arg_names": [], "import_names": [], "rhs_call_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80748:FunctionDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80748:Expr_L2_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80748:FunctionDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80748:Expr_L3_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/usr/bin/env python """pt2html.py -- Creates HTML version of Python Tutorial Usage: pt2html.py """ import sys import os import shutil import time sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'userguide')) import ug2html # This also initializes docutils and pygments def create_tutorial(): ...
ajibawa-2023/Python-Code-Large/train/row_80749
19
36
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_80749:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 6], "level": 0, "parent": null, "vector": [8, 0, 0.125, 0.1111, 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_80749:FunctionDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80749:ImportFrom_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80749:FunctionDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80749:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python """Usage: lib2html.py [ library | all ] Libraries: BuiltIn (bu) Collections (co) Dialogs (di) OperatingSystem (op) Screenshot (sc) String (st) Telnet (te) XML (xm) """ import sys import os import re ROOT = os.path.normpath(os.path.join(os.path.abspath(__file__),'..','..','..')...
ajibawa-2023/Python-Code-Large/train/row_80750
25
48
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_80750:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 14], "level": 0, "parent": null, "vector": [8, 0, 0.1771, 0.25, 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_80750:For_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80750:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80750:For_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80750:If_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_8...
#!/usr/bin/env python """ug2html.py -- Creates HTML version of Robot Framework User Guide Usage: ug2html.py [ cr(eate) | dist | zip ] create .. Creates the user guide so that it has relative links to images, library docs, etc. This version is stored in the version control and distributed with th...
ajibawa-2023/Python-Code-Large/train/row_80751
127
265
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_80751:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 21], "level": 0, "parent": null, "vector": [8, 0, 0.0453, 0.0717, 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_80751:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80751:Try_L98_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80751:Try_L98_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80751:Assign_L99_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
#! /usr/bin/env python """generate.py -- Generate Robot Framework API documentation usage: generate.py This script creates API documentation from both Python and Java source code included in `src/python and `src/java`, respectively. Python autodocs are created in `doc/api/autodoc` and Javadocs in `doc/api/_static/ja...
ajibawa-2023/Python-Code-Large/train/row_80752
41
70
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_80752:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 14], "level": 0, "parent": null, "vector": [8, 0, 0.1214, 0.1714, 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_80752:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80752:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80752:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80752:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#!/usr/bin/env python """Usage: check_test_times.py inpath [outpath] Reads result of a test run from Robot output file and checks that no test took longer than 3 minutest to execute. If outpath is not given, the result is written over the original file. """ import sys from robot.result import ExecutionResult def c...
ajibawa-2023/Python-Code-Large/train/row_80753
20
34
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_80753:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 8], "level": 0, "parent": null, "vector": [8, 0, 0.1618, 0.1765, 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_80753:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80753:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80753:If_L15_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80753:Assign_L16_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
class CheckMultipleItemsLibrary: def items_should_not_contain(self, value, *items): """Checks that none of the given 'items' contains the given 'value'.""" items_containing_value = [ item for item in items if value in item ] if items_containing_value: message = "Items '%s' cont...
ajibawa-2023/Python-Code-Large/train/row_80754
7
10
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_80754:ClassDef_L1_C0", "label": "CheckMultipleItemsLibrary", "type": "class", "loc": [1, 10], "level": 0, "parent": null, "vector": [3, 0, 0.55, 1.0, 0, 0.66, 0.0, 960, 0, 1, 0, 0, 0, 0, 2], "semantic": {"name": "CheckMultipleItemsLibrary", "arg_names": [], "import_name...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80754:ClassDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80754:FunctionDef_L3_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80754:FunctionDef_L3_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80754:Expr_L4_C8"}, {"f": "ajibawa-2023/Python-Code-L...
"""Robot Framework test library example that calls C code. This example uses Python's standard `ctypes` module, which requires that the C code is compiled into a shared library. It is also possible to execute this file from the command line to test the C code manually. """ from ctypes import CDLL, c_char_p LIBRARY...
ajibawa-2023/Python-Code-Large/train/row_80755
13
29
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_80755:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 8], "level": 0, "parent": null, "vector": [8, 0, 0.1552, 0.2759, 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_80755:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80755:Expr_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80755:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80755:If_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
from robot import run as run_robot import cProfile import pstats filename = 'robot.profile' cProfile.run('run_robot("/home/husa/workspace/robotframework/atest/testdata/misc/")', filename) p = pstats.Stats(filename) p.strip_dirs().sort_stats(-1).print_stats()
ajibawa-2023/Python-Code-Large/train/row_80757
7
10
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_80757:ImportFrom_L1_C0", "label": "from robot import run_robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.1, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["run_robot...
[]
VALUE_FROM_VAR_FILE='Expected Value'
ajibawa-2023/Python-Code-Large/train/row_80758
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_80758:Assign_L1_C0", "label": "VALUE_FROM_VAR_FILE =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 246, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "VALUE_FROM_VAR_FILE", "arg_names": [], "import_names...
[]
def this_keyword_is_in_funnylib(): print 'jee'
ajibawa-2023/Python-Code-Large/train/row_80759
2
2
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_80759:FunctionDef_L1_C0", "label": "this_keyword_is_in_funnylib", "type": "function", "loc": [1, 2], "level": 0, "parent": null, "vector": [2, 0, 0.75, 1.0, 0, 0.66, 0.0, 708, 0, 0, 0, 0, 0, 0, 1], "semantic": {"name": "this_keyword_is_in_funnylib", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80759:FunctionDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80759:Expr_L2_C4"}]
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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_80760
126
295
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_80760:ImportFrom_L16_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0542, 0.0034, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80760:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80760:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80760:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80760:FunctionDef_L59_C4"}, {"f": "ajibawa-2023/Python-Code-...
from Queue import Queue from threading import Event try: from multiprocessing.managers import BaseManager except ImportError: class Python26Required(object): def __call__(self, *args): raise RuntimeError('Requires Python > 2.6') def __getattr__(self, name): raise Runt...
ajibawa-2023/Python-Code-Large/train/row_80761
64
176
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_80761:ImportFrom_L1_C0", "label": "from Queue import Queue", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0057, 0.0057, 0, 0.66, 0.0, 952, 0, 1, 0, 0, 952, 0, 0], "semantic": {"name": "Queue", "arg_names": [], "import_names": ["Queue"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80761:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80761:ImportFrom_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80761:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80761:ClassDef_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train...
#!/usr/bin/env python """Packaging script for Robot Framework Usage: package.py command version_number [release_tag] Argument 'command' can have one of the following values: - sdist : create source distribution - wininst : create Windows installer - all : create both packages - version : update on...
ajibawa-2023/Python-Code-Large/train/row_80764
161
273
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_80764:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 35], "level": 0, "parent": null, "vector": [8, 0, 0.0696, 0.1209, 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_80764:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80764:Expr_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80764:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80764:Expr_L95_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#!/usr/bin/env python # # Copyright 2006, 2007 Google Inc. All Rights Reserved. # Author: danderson@google.com (David Anderson) # # Script for uploading files to a Google Code project. # # This is intended to be both a useful script for people who want to # streamline project uploads and a reference implementation for ...
ajibawa-2023/Python-Code-Large/train/row_80765
90
249
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_80765:Expr_L46_C0", "label": "expression", "type": "expression", "loc": [46, 47], "level": 0, "parent": null, "vector": [8, 0, 0.1867, 0.008, 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_80765:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80765:Expr_L60_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80765:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80765:If_L80_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/python # # Run the script with path to the JSON file you downloaded from google.drive. # eg. checkin.py ~/Downloads/GmailDelaySendWeb.json # # Script will unpack JSON and edit/updates files in git for you. # # REMEMBER: You still need to commit & push import json import os import sys from subprocess import c...
ajibawa-2023/Python-Code-Large/train/row_80766
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_80766:Import_L9_C0", "label": "json import json", "type": "import", "loc": [9, 9], "level": 0, "parent": null, "vector": [1, 0, 0.1915, 0.0213, 0, 0.66, 0.0, 463, 0, 1, 0, 0, 463, 0, 0], "semantic": {"name": "json", "arg_names": [], "import_names": ["json"], "rhs_call_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80766:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80766:If_L15_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80766:If_L15_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_80766:Expr_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
#!/bin/env python import xml.dom.minidom as dom import sys import struct WEAP_NUM = 780 struct_fmt = "<H BBHBBBB 8B8B8b8b8b8b8H bbBBBB" def pack_weapon(dict): l = [] l.append(dict['drain']) l.append(dict['shotRepeat']) l.append(dict['multi']) l.append(dict['weapAni']) l.append(dict['max']) l.append(dict['tx...
ajibawa-2023/Python-Code-Large/train/row_80767
167
233
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_80767:Import_L3_C0", "label": "xml.dom.minidom import dom", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0129, 0.0043, 0, 0.66, 0.0, 770, 0, 1, 0, 0, 770, 0, 0], "semantic": {"name": "xml.dom.minidom", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80767:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80767:Assign_L12_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80767:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80767:Expr_L14_C1"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python import httplib2 import os import sys from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run # CLIENT_SECRETS_FILE, name of a file containing the OAuth 2.0 information for # this applicat...
ajibawa-2023/Python-Code-Large/train/row_80768
20
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_80768:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0417, 0.0139, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80768:If_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80768:Assign_L54_C2"}]
#!/usr/bin/python import httplib2 import os import sys from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run # CLIENT_SECRETS_FILE, name of a file containing the OAuth 2.0 information for # this applicat...
ajibawa-2023/Python-Code-Large/train/row_80769
31
87
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_80769:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0345, 0.0115, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80769:If_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80769:Assign_L55_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80769:For_L65_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80769:Assign_L66_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/python import httplib2 import os import random import sys import time from apiclient.discovery import build from apiclient.errors import HttpError from apiclient.http import MediaFileUpload from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools...
ajibawa-2023/Python-Code-Large/train/row_80770
34
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_80770:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0333, 0.0111, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80770:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80770:Assign_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80770:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80770:Assign_L55_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import random import sys import time from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionPars...
ajibawa-2023/Python-Code-Large/train/row_80771
40
97
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_80771:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0309, 0.0103, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80771:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80771:Assign_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80771:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80771:Assign_L56_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import random import sys import time from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionPars...
ajibawa-2023/Python-Code-Large/train/row_80772
48
127
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_80772:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0236, 0.0079, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80772:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80772:Assign_L49_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80772:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80772:Assign_L53_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python from apiclient.discovery import build from optparse import OptionParser # Set DEVELOPER_KEY to the "API key" value from the "Access" tab of the # Google APIs Console http://code.google.com/apis/console#access # Please ensure that you have enabled the YouTube Data API for your project. DEVELOPER_KEY ...
ajibawa-2023/Python-Code-Large/train/row_80773
27
51
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_80773:ImportFrom_L3_C0", "label": "from apiclient.discovery import build", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0588, 0.0196, 0, 0.66, 0.0, 78, 0, 1, 0, 0, 78, 0, 0], "semantic": {"name": "apiclient.discovery", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80773:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80773:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80773:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80773:Assign_L17_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import sys from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionParser # CLIENT_SECRETS_FILE, name of a file containing the OAuth 2...
ajibawa-2023/Python-Code-Large/train/row_80774
42
117
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_80774:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0256, 0.0085, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80774:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80774:Assign_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80774:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80774:Assign_L52_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import sys from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionParser # CLIENT_SECRETS_FILE, name of a file containing the OAuth 2...
ajibawa-2023/Python-Code-Large/train/row_80775
32
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_80775:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0316, 0.0105, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80775:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80775:Assign_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80775:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80775:Assign_L52_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import random import sys import time from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionPars...
ajibawa-2023/Python-Code-Large/train/row_80777
38
93
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_80777:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0323, 0.0108, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80777:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80777:Assign_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80777:FunctionDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80777:Assign_L56_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python import httplib2 import os import random import sys import time from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionPars...
ajibawa-2023/Python-Code-Large/train/row_80778
42
102
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_80778:Import_L3_C0", "label": "httplib2 import httplib2", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0294, 0.0098, 0, 0.66, 0.0, 273, 0, 1, 0, 0, 273, 0, 0], "semantic": {"name": "httplib2", "arg_names": [], "import_names": ["httplib...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80778:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80778:Assign_L51_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80778:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80778:Assign_L54_C2"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python from datetime import datetime, timedelta import httplib2 import os import sys from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import flow_from_clientsecrets from oauth2client.tools import run from optparse import OptionParser # CLIENT_SECRETS_FI...
ajibawa-2023/Python-Code-Large/train/row_80779
46
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_80779:ImportFrom_L3_C0", "label": "from datetime import datetime, timedelta", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.027, 0.009, 0, 0.66, 0.0, 426, 0, 2, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_80779:If_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80779:Assign_L79_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80779:For_L91_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80779:Assign_L92_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/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_80782
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_80782: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_80782:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80782:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80782:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80782: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_80783
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_80783: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_80783:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80783:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80783:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80783: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_80785
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_80785: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_80785:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80785:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80785:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80785: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_80787
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_80787: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_80787:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80787:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80787:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80787:FunctionDef_L39_C2"}, {"f": "ajibawa-2023/Python-Code-...