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
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2198
7
32
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2198:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2198:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2198:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2198:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2198:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2199
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_2199:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4694, 0.0204, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2199:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2199:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2199:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2199:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
ajibawa-2023/Python-Code-Large/train/row_2200
15
42
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_2200:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5476, 0.0238, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2200:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2200:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2200:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2200:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2201
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_2201:ImportFrom_L23_C0", "label": "from handlers.BaseRest import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 250, 0, 1, 0, 0, 250, 0, 0], "semantic": {"name": "handlers.BaseRest", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2201:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2201:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2201:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2201:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2202
52
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_2202:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2091, 0.0091, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2202:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2202:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2202:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2202:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
ajibawa-2023/Python-Code-Large/train/row_2203
13
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_2203:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2203:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2203:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2203:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2203:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2204
87
139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2204:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1655, 0.0072, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2204:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2204:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2204:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2204:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2205
56
88
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_2205:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2614, 0.0114, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2205:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2205:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2205:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2205:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2206
33
64
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_2206:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3594, 0.0156, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2206:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2206:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2206:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2206:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2207
151
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_2207:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.0924, 0.004, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2207:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2207:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2207:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2207:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2208
36
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_2208:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3239, 0.0141, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2208:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2208:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2208:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2208:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2209
22
54
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_2209:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4259, 0.0185, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2209:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2209:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2209:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2209:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2210
68
120
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_2210:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1917, 0.0083, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2210:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2210:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2210:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2210:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2211
29
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_2211:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3286, 0.0143, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2211:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2211:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2211:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2211:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2212
33
68
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_2212:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3382, 0.0147, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2212:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2212:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2212:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2212:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
ajibawa-2023/Python-Code-Large/train/row_2213
7
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_2213:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.697, 0.0303, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2213:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2213:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2213:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2213:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2214
521
848
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_2214:Import_L22_C0", "label": "re import re", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.0259, 0.0012, 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_2214:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2214:FunctionDef_L41_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2214:FunctionDef_L41_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2214:If_L43_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2215
85
134
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_2215:ImportFrom_L23_C0", "label": "from handlers.MainPage import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1716, 0.0075, 0, 0.66, 0.0, 49, 0, 1, 0, 0, 49, 0, 0], "semantic": {"name": "handlers.MainPage", "arg_names": [], "impo...
[]
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
ajibawa-2023/Python-Code-Large/train/row_2216
14
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_2216:ImportFrom_L24_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.48, 0.02, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [], "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2216:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2216:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2216:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2216:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com> # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # (C) Copyright 2008 Néstor Salceda <nestor.salceda at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free soft...
ajibawa-2023/Python-Code-Large/train/row_2217
22
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_2217:ImportFrom_L25_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [25, 25], "level": 0, "parent": null, "vector": [1, 0, 0.4717, 0.0189, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2217:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2217:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2217:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2217:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2219
57
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_2219:Import_L22_C0", "label": "model import model", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.2018, 0.0092, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2219:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2219:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2219:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2219:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
""" Copyright (c) 2008, appengine-utilities project 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 list of conditions and ...
ajibawa-2023/Python-Code-Large/train/row_2220
252
482
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_2220:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 26], "level": 0, "parent": null, "vector": [8, 0, 0.028, 0.0539, 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_2220:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2220:Expr_L57_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2220:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2220:Assign_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" Copyright (c) 2008, appengine-utilities project 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 list of conditions and ...
ajibawa-2023/Python-Code-Large/train/row_2221
27
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_2221:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 26], "level": 0, "parent": null, "vector": [8, 0, 0.1776, 0.3421, 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_2221:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2221:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2221:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2221:FunctionDef_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
""" Copyright (c) 2008, appengine-utilities project 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 list of conditions and ...
ajibawa-2023/Python-Code-Large/train/row_2222
31
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_2222:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 26], "level": 0, "parent": null, "vector": [8, 0, 0.1392, 0.268, 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_2222:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2222:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2222:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2222:FunctionDef_L59_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2223
14
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_2223:FunctionDef_L22_C0", "label": "loadProperties", "type": "function", "loc": [22, 37], "level": 0, "parent": null, "vector": [2, 0, 0.7973, 0.4324, 0, 0.66, 0.0, 366, 0, 1, 1, 0, 0, 0, 11], "semantic": {"name": "loadProperties", "arg_names": ["fileName"], "import_nam...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2223:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2223:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2223:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2223:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2224
5
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_2224:Assign_L24_C0", "label": "DEFAULT_LOCALE =", "type": "assigned_variable", "loc": [24, 24], "level": 0, "parent": null, "vector": [14, 0, 0.8571, 0.0357, 0, 0.66, 0.0, 335, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "DEFAULT_LOCALE", "arg_names": [], "import_names":...
[]
""" Copyright (c) 2008, appengine-utilities project 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 list of conditions and ...
ajibawa-2023/Python-Code-Large/train/row_2225
134
258
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_2225:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 26], "level": 0, "parent": null, "vector": [8, 0, 0.0523, 0.1008, 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_2225:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2225:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2225:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2225:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Aff...
ajibawa-2023/Python-Code-Large/train/row_2226
282
391
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_2226:ImportFrom_L24_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.0614, 0.0026, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2226:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2226:Assign_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2226:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2226:Assign_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2227
99
162
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_2227:ImportFrom_L23_C0", "label": "from django import template", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.142, 0.0062, 0, 0.66, 0.0, 294, 0, 1, 0, 0, 294, 0, 0], "semantic": {"name": "django", "arg_names": [], "import_names": ["t...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2227:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2227:Assign_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2227:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2227:Assign_L34_C1"}, {"f": "ajibawa-2023/Python-Code-L...
""" Implementation of JSONEncoder """ import re try: from simplejson import _speedups except ImportError: _speedups = None ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]') ESCAPE_ASCII = re.compile(r'([\\"/]|[^\ -~])') ESCAPE_DCT = { '\\': '\\\\', '"': '\\"', '\b': '\\b', '\f': '...
ajibawa-2023/Python-Code-Large/train/row_2228
199
376
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_2228:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0053, 0.008, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2228:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2228:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2228:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2228:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2...
import simplejson import cgi class JSONFilter(object): def __init__(self, app, mime_type='text/x-json'): self.app = app self.mime_type = mime_type def __call__(self, environ, start_response): # Read JSON POST input to jsonfilter.json if matching mime type response = {...
ajibawa-2023/Python-Code-Large/train/row_2229
31
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2229:Import_L1_C0", "label": "simplejson import simplejson", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.025, 0.025, 0, 0.66, 0.0, 386, 0, 1, 0, 0, 386, 0, 0], "semantic": {"name": "simplejson", "arg_names": [], "import_names": ["simp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2229:ClassDef_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2229:FunctionDef_L5_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2229:FunctionDef_L5_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2229:Assign_L6_C8"}, {"f": "ajibawa-2023/Python-Code-Lar...
""" Implementation of JSONDecoder """ import re import sys from simplejson.scanner import Scanner, pattern try: from simplejson import _speedups except: _speedups = None FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL def _floatconstants(): import struct import sys _BYTES = '7FF800...
ajibawa-2023/Python-Code-Large/train/row_2230
177
331
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_2230:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 3], "level": 0, "parent": null, "vector": [8, 0, 0.006, 0.0091, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2230:Try_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2230:ImportFrom_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2230:Try_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2230:Assign_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
""" Iterator based sre token scanner """ import sre_parse, sre_compile, sre_constants from sre_constants import BRANCH, SUBPATTERN from re import VERBOSE, MULTILINE, DOTALL import re __all__ = ['Scanner', 'pattern'] FLAGS = (VERBOSE | MULTILINE | DOTALL) class Scanner(object): def __init__(self, lexic...
ajibawa-2023/Python-Code-Large/train/row_2232
47
64
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_2232:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0312, 0.0469, 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_2232:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2232:FunctionDef_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2232:FunctionDef_L13_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2232:Assign_L14_C8"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python import struct from StringIO import StringIO from google.appengine.api import images def resize(image, maxwidth, maxheight): imageinfo = getimageinfo(image) width = float(imageinfo[1]) height = float(imageinfo[2]) ratio = width / height dwidth = maxheight * ratio dheight = ma...
ajibawa-2023/Python-Code-Large/train/row_2233
54
77
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_2233:Import_L2_C0", "label": "struct import struct", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.026, 0.013, 0, 0.66, 0.0, 399, 0, 1, 0, 0, 399, 0, 0], "semantic": {"name": "struct", "arg_names": [], "import_names": ["struct"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2233:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2233:Assign_L8_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2233:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2233:Assign_L9_C1"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- """ jinja2.runtime ~~~~~~~~~~~~~~ Runtime helpers. :copyright: (c) 2010 by the Jinja Team. :license: BSD. """ import sys from itertools import chain, imap from jinja2.nodes import EvalContext, _context_function_types from jinja2.utils import Markup, partial, soft_unicode, e...
ajibawa-2023/Python-Code-Large/train/row_2234
268
544
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_2234:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.011, 0.0165, 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_2234:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2234:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2234:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2234:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- """ jinja2.bccache ~~~~~~~~~~~~~~ This module implements the bytecode cache system Jinja is optionally using. This is useful if you have very complex template situations and the compiliation of all those templates slow down your application too much. Situations whe...
ajibawa-2023/Python-Code-Large/train/row_2235
121
280
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_2235:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 16], "level": 0, "parent": null, "vector": [8, 0, 0.0321, 0.0536, 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_2235:Try_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2235:ImportFrom_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2235:Try_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2235:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- """ jinja2.compiler ~~~~~~~~~~~~~~~ Compiles nodes into python code. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from cStringIO import StringIO from itertools import chain from copy import deepcopy from jinja2 import nodes from j...
ajibawa-2023/Python-Code-Large/train/row_2236
1,058
1,640
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_2236:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0037, 0.0055, 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_2236:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2236:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2236:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2236:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_223...
# -*- coding: utf-8 -*- """ jinja2.meta ~~~~~~~~~~~ This module implements various functions that exposes information about templates that might be interesting for various kinds of applications. :copyright: (c) 2010 by the Jinja Team, see AUTHORS for more details. :license: BSD, see LICENSE fo...
ajibawa-2023/Python-Code-Large/train/row_2237
36
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_2237:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 11], "level": 0, "parent": null, "vector": [8, 0, 0.0637, 0.098, 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_2237:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2237:Expr_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2237:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2237:FunctionDef_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- """ jinja2.nodes ~~~~~~~~~~~~ This module implements additional nodes derived from the ast base node. It also provides some node tree helper functions like `in_lineno` and `get_nodes` used by the parser and translator in order to normalize python and jinja nodes. :...
ajibawa-2023/Python-Code-Large/train/row_2238
449
901
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_2238:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0089, 0.0144, 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_2238:ClassDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2238:Expr_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2238:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2238:Expr_L58_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train...
# -*- coding: utf-8 -*- """ jinja2.tests ~~~~~~~~~~~~ Jinja test functions. Used with the "is" operator. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import re from jinja2.runtime import Undefined # nose, nothing here to test __test__ = False number_r...
ajibawa-2023/Python-Code-Large/train/row_2239
60
146
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_2239:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0411, 0.0616, 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_2239:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2239:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2239:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2239:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
# -*- coding: utf-8 -*- """ jinja2.optimizer ~~~~~~~~~~~~~~~~ The jinja optimizer is currently trying to constant fold a few expressions and modify the AST in place so that it should be easier to evaluate it. Because the AST does not contain all the scoping information and the compiler has to ...
ajibawa-2023/Python-Code-Large/train/row_2241
31
68
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_2241:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1471, 0.25, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2241:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2241:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2241:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2241:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- """ jinja.constants ~~~~~~~~~~~~~~~ Various constants. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ #: list of lorem ipsum words used by the lipsum() helper function LOREM_IPSUM_WORDS = u'''\ a ac accumsan ad adipiscing aenean a...
ajibawa-2023/Python-Code-Large/train/row_2243
2
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_2243:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.1875, 0.2812, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[]
# -*- coding: utf-8 -*- """ jinja2.sandbox ~~~~~~~~~~~~~~ Adds a sandbox layer to Jinja as it was the default behavior in the old Jinja 1 releases. This sandbox is slightly different from Jinja 1 as the default behavior is easier to use. The behavior can be changed by subclassing the environm...
ajibawa-2023/Python-Code-Large/train/row_2244
103
271
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_2244:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0295, 0.048, 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_2244:Try_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2244:ImportFrom_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2244:Try_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2244:ImportFrom_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
import gc import unittest from jinja2._markupsafe import Markup, escape, escape_silent class MarkupTestCase(unittest.TestCase): def test_markup_operations(self): # adding two strings should escape the unsafe one unsafe = '<script type="application/x-some-script">alert("foo");</script>' sa...
ajibawa-2023/Python-Code-Large/train/row_2245
36
80
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_2245:Import_L1_C0", "label": "gc import gc", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0125, 0.0125, 0, 0.66, 0.0, 92, 0, 1, 0, 0, 92, 0, 0], "semantic": {"name": "gc", "arg_names": [], "import_names": ["gc"], "rhs_call_name": "", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2245:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2245:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2245:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2245:Assign_L10_C8"}, {"f": "ajibawa-2023/Python-Code-La...
# -*- coding: utf-8 -*- """ markupsafe._constants ~~~~~~~~~~~~~~~~~~~~~ Highlevel implementation of the Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ HTML_ENTITIES = { 'AElig': 198, 'Aacute': 193, 'Acirc': 194, 'Agrave': 1...
ajibawa-2023/Python-Code-Large/train/row_2246
2
267
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_2246:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0225, 0.0337, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[]
# -*- coding: utf-8 -*- """ jinja2._markupsafe._bundle ~~~~~~~~~~~~~~~~~~~~~~~~~~ This script pulls in markupsafe from a source folder and bundles it with Jinja2. It does not pull in the speedups module though. :copyright: Copyright 2010 by the Jinja team, see AUTHORS. :license: BSD, see ...
ajibawa-2023/Python-Code-Large/train/row_2247
29
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_2247:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 12], "level": 0, "parent": null, "vector": [8, 0, 0.1429, 0.2245, 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_2247:FunctionDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2247:For_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2247:For_L19_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2247:Assign_L20_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
# -*- coding: utf-8 -*- """ markupsafe ~~~~~~~~~~ Implements a Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import re from itertools import imap __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent'] _striptags_re = re.compile...
ajibawa-2023/Python-Code-Large/train/row_2248
110
225
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_2248:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0267, 0.04, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2248:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2248:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2248:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2248:Assign_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- """ markupsafe._native ~~~~~~~~~~~~~~~~~~ Native Python implementation the C module is not compiled. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from jinja2._markupsafe import Markup def escape(s): """Convert the characters...
ajibawa-2023/Python-Code-Large/train/row_2249
17
45
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_2249:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.1333, 0.2, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2249:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2249:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2249:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2249:If_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# -*- coding: utf-8 -*- """ jinja2.loaders ~~~~~~~~~~~~~~ Jinja loader classes. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import os import sys import weakref from types import ModuleType from os import path try: from hashlib import sha1 except Imp...
ajibawa-2023/Python-Code-Large/train/row_2250
196
449
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_2250:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0134, 0.02, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2250:Try_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2250:ImportFrom_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2250:Try_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2250:ImportFrom_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- """ jinja2.exceptions ~~~~~~~~~~~~~~~~~ Jinja exceptions. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ class TemplateError(Exception): """Baseclass for all template errors.""" def __init__(self, message=None): i...
ajibawa-2023/Python-Code-Large/train/row_2253
69
143
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_2253:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.042, 0.0629, 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_2253:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2253:Expr_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2253:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2253:FunctionDef_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- """ jinja2 ~~~~~~ Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. Nutshell -------- Here a small example of a Jinja2 template:: {% ...
ajibawa-2023/Python-Code-Large/train/row_2255
13
73
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_2255:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 28], "level": 0, "parent": null, "vector": [8, 0, 0.2055, 0.3699, 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_2255:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2255:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2255:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2255:Assign_L34_C4"}]
# -*- coding: utf-8 -*- """ jinja2.filters ~~~~~~~~~~~~~~ Bundled jinja filters. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import re import math from random import choice from operator import itemgetter from itertools import imap, groupby from jinja2....
ajibawa-2023/Python-Code-Large/train/row_2256
262
717
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_2256:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0084, 0.0126, 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_2256:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2256:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2256:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2256:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- """ jinja2.defaults ~~~~~~~~~~~~~~~ Jinja default filters and tags. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner from gettext import gettext as _ ##ADDD # defaults for...
ajibawa-2023/Python-Code-Large/train/row_2257
17
41
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2257:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.1463, 0.2195, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[]
# -*- coding: utf-8 -*- """ jinja2._stringdefs ~~~~~~~~~~~~~~~~~~ Strings of all Unicode characters of a certain category. Used for matching in Unicode-aware languages. Run to regenerate. Inspired by chartypes_create.py from the MoinMoin project, original implementation from Pygments. :co...
ajibawa-2023/Python-Code-Large/train/row_2258
66
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_2258:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0615, 0.1, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2258:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2258:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2258:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2258:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2...
# -*- coding: utf-8 -*- """ jinja2.parser ~~~~~~~~~~~~~ Implements the template parser. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from jinja2 import nodes from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError from jinja2.utils impo...
ajibawa-2023/Python-Code-Large/train/row_2259
643
896
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_2259:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0067, 0.01, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2259:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2259:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2259:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2259:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- """ jinja2.visitor ~~~~~~~~~~~~~~ This module implements a visitor for the nodes. :copyright: (c) 2010 by the Jinja Team. :license: BSD. """ from jinja2.nodes import Node class NodeVisitor(object): """Walks the abstract syntax tree and call visitor functions for every...
ajibawa-2023/Python-Code-Large/train/row_2260
44
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_2260:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.069, 0.1034, 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_2260:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2260:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2260:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2260:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
ajibawa-2023/Python-Code-Large/train/row_2261
19
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_2261:Import_L23_C0", "label": "wsgiref.handlers import wsgiref.handlers", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4694, 0.0204, 0, 0.66, 0.0, 709, 0, 1, 0, 0, 709, 0, 0], "semantic": {"name": "wsgiref.handlers", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2261:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2261:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2261:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2261:Expr_L34_C2"}, {"f": "ajibawa-2023/Python-Code-L...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
ajibawa-2023/Python-Code-Large/train/row_2262
12
144
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_2262:Import_L24_C0", "label": "wsgiref.handlers import wsgiref.handlers", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.1667, 0.0069, 0, 0.66, 0.0, 709, 0, 1, 0, 0, 709, 0, 0], "semantic": {"name": "wsgiref.handlers", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2262:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2262:Expr_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2262:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2262:Assign_L39_C1"}, {"f": "ajibawa-2023/Python-Code-Lar...
import urllib from google.appengine.api import urlfetch """ Adapted from http://pypi.python.org/pypi/recaptcha-client to use with Google App Engine by Joscha Feth <joscha@feth.com> Version 0.1 """ API_SSL_SERVER ="https://api-secure.recaptcha.net" API_SERVER ="http://api.recaptcha.net" VERIFY_SE...
ajibawa-2023/Python-Code-Large/train/row_2263
33
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2263:Import_L1_C0", "label": "urllib import urllib", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0094, 0.0094, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2263:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2263:FunctionDef_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2263:FunctionDef_L16_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2263:Assign_L17_C8"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python version = "1.7" version_info = (1,7,0,"rc-2") __revision__ = "$Rev: 72 $" """ Python-Markdown =============== Converts Markdown to HTML. Basic usage as a module: import markdown md = Markdown() html = md.convert(your_text_string) See http://www.freewisdom.org/projects/python-mark...
ajibawa-2023/Python-Code-Large/train/row_2264
891
1,930
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_2264:Assign_L3_C0", "label": "version =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.0016, 0.0005, 0, 0.66, 0.0, 623, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "version", "arg_names": [], "import_names": [], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2264:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2264:Expr_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2264:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2264:Assign_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python from Tkinter import * import sys import math class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' def drawAxeY(min, max, height, width, w): i = 0 ecart = (height - 40) / (max - min) y = height - 40 ...
ajibawa-2023/Python-Code-Large/train/row_2265
110
132
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_2265:ImportFrom_L3_C0", "label": "from Tkinter import *", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0227, 0.0076, 0, 0.66, 0.0, 368, 0, 1, 0, 0, 368, 0, 0], "semantic": {"name": "Tkinter", "arg_names": [], "import_names": ["*"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2265:ClassDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2265:Assign_L8_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2265:ClassDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2265:Assign_L9_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train...
#!/usr/bin/env python from Tkinter import * import sys import math class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' def drawAxeY(min, max, height, width, w): i = 0 ecart = (height - 40) / (max - min) y = height - 40 ...
ajibawa-2023/Python-Code-Large/train/row_2266
110
132
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_2266:ImportFrom_L3_C0", "label": "from Tkinter import *", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0227, 0.0076, 0, 0.66, 0.0, 368, 0, 1, 0, 0, 368, 0, 0], "semantic": {"name": "Tkinter", "arg_names": [], "import_names": ["*"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2266:ClassDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2266:Assign_L8_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2266:ClassDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2266:Assign_L9_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train...
#!/usr/bin/python import os from urllib import urlopen from bs4 import BeautifulSoup output_dir = os.path.abspath('../assets/help') assert os.path.exists(output_dir) files_list_images = [] files_list_html = [ 'Manual', 'FAQ', 'StylusSupport', 'SupportedDevices', 'Permissions' ] def download_r...
ajibawa-2023/Python-Code-Large/train/row_2267
39
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_2267:Import_L4_C0", "label": "os import os", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0563, 0.0141, 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_2267:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2267:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2267:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2267:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.8 >> -- hpdf_consts.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
ajibawa-2023/Python-Code-Large/train/row_2268
468
545
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_2268:ImportFrom_L20_C0", "label": "from hpdf_types import *", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0367, 0.0018, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "hpdf_types", "arg_names": [], "import_names": [...
[]
### ## * << Haru Free PDF Library 2.0.3 >> -- hpdf_types.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
ajibawa-2023/Python-Code-Large/train/row_2269
241
552
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_2269:ImportFrom_L19_C0", "label": "from ctypes import *", "type": "import", "loc": [19, 19], "level": 0, "parent": null, "vector": [1, 0, 0.0344, 0.0018, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2269:ClassDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2269:Assign_L72_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2269:ClassDef_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2269:Assign_L79_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
error_detail={ 0x1001: 'Internal error. The consistency of the data was lost.', 0x1002: 'Internal error. The consistency of the data was lost.', 0x1003: 'Internal error. The consistency of the data was lost.', 0x1004: 'The length of the data exceeds HPDF_LIMIT_MAX_STRING_LEN.', 0x1005: 'Cannot get a pallet dat...
ajibawa-2023/Python-Code-Large/train/row_2270
1
164
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_2270:Assign_L1_C0", "label": "error_detail =", "type": "assigned_variable", "loc": [1, 164], "level": 0, "parent": null, "vector": [14, 0, 0.503, 1.0, 0, 0.66, 0.0, 978, 0, 0, 0, 0, 0, 6, 0], "semantic": {"name": "error_detail", "arg_names": [], "import_names": [], "rhs...
[]
def printf(format, *optional): #print 'format="%s"' % format #print 'optional="%s"' % optional if len(optional)==1: optional=optional[0] if format.endswith('\n'): format=format[:-1] print format % optional
ajibawa-2023/Python-Code-Large/train/row_2271
6
8
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_2271:FunctionDef_L1_C0", "label": "printf", "type": "function", "loc": [1, 8], "level": 0, "parent": null, "vector": [2, 0, 0.5625, 1.0, 0, 0.66, 0.0, 71, 0, 2, 0, 0, 0, 0, 3], "semantic": {"name": "printf", "arg_names": ["format", "optional"], "import_names": [], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2271:FunctionDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2271:If_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2271:If_L4_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2271:Assign_L5_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_22...
## ## * << Haru Free PDF Library 2.0.8 >> -- hpdf.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the abo...
ajibawa-2023/Python-Code-Large/train/row_2272
732
2,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_2272:Import_L19_C0", "label": "os import os", "type": "import", "loc": [19, 19], "level": 0, "parent": null, "vector": [1, 0, 0.009, 0.0005, 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_2272:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2272:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2272:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2272:If_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
### ## * << Haru Free PDF Library 2.0.0 >> -- png_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ab...
ajibawa-2023/Python-Code-Large/train/row_2273
69
143
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_2273:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1259, 0.007, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2273:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2273:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2273:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2273:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- permission.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
ajibawa-2023/Python-Code-Large/train/row_2274
42
86
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_2274:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.2093, 0.0116, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2274:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2274:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2274:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2274:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- grid_sheet.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
ajibawa-2023/Python-Code-Large/train/row_2275
95
183
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_2275:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0984, 0.0055, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2275:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2275:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2275:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2275:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
ajibawa-2023/Python-Code-Large/train/row_2276
89
158
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_2276:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1139, 0.0063, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2276:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2276:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2276:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2276:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#coding=ISO8859-2 ### ## * << Haru Free PDF Library 2.0.0 >> -- outline_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ...
ajibawa-2023/Python-Code-Large/train/row_2277
61
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_2277:Import_L20_C0", "label": "os import os, sys", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.1575, 0.0079, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2277:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2277:Import_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2277:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2277:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
ajibawa-2023/Python-Code-Large/train/row_2278
95
178
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_2278:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1011, 0.0056, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2278:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2278:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2278:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2278:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- encryption.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
ajibawa-2023/Python-Code-Large/train/row_2279
40
85
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2279:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.2118, 0.0118, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2279:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2279:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2279:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2279:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- ext_gstate_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
ajibawa-2023/Python-Code-Large/train/row_2280
132
208
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_2280:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0865, 0.0048, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2280:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2280:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2280:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2280:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- raw_image_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
ajibawa-2023/Python-Code-Large/train/row_2281
50
129
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_2281:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1395, 0.0078, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2281:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2281:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2281:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2281:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpeg_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
ajibawa-2023/Python-Code-Large/train/row_2282
54
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_2282:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1622, 0.009, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2282:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2282:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2282:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2282:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- outline_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
ajibawa-2023/Python-Code-Large/train/row_2283
72
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_2283:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1268, 0.007, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2283:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2283:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2283:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2283:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- text_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
ajibawa-2023/Python-Code-Large/train/row_2284
200
358
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_2284:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0503, 0.0028, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2284:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2284:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2284:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2284:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- font_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
ajibawa-2023/Python-Code-Large/train/row_2285
57
139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2285:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1295, 0.0072, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2285:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2285:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2285:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2285:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- encoding_list.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
ajibawa-2023/Python-Code-Large/train/row_2286
100
206
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_2286:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0874, 0.0049, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2286:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2286:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2286:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2286:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
ajibawa-2023/Python-Code-Large/train/row_2287
91
160
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_2287:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1125, 0.0063, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2287:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2287:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2287:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2287:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- chfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
ajibawa-2023/Python-Code-Large/train/row_2288
69
124
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2288:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1452, 0.0081, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2288:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2288:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2288:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2288:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
ajibawa-2023/Python-Code-Large/train/row_2289
106
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_2289:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0056, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_cal...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2289:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2289:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2289:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2289:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- image_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
ajibawa-2023/Python-Code-Large/train/row_2290
110
224
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_2290:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0804, 0.0045, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2290:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2290:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2290:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2290:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.6 >> -- slideshow_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
ajibawa-2023/Python-Code-Large/train/row_2291
112
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_2291:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0947, 0.0053, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2291:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2291:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2291:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2291:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#coding=utf-8 ### ## * << Haru Free PDF Library 2.0.0 >> -- text_annotation.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ##...
ajibawa-2023/Python-Code-Large/train/row_2292
93
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_2292:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1084, 0.006, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2292:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2292:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2292:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2292:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- character_map.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
ajibawa-2023/Python-Code-Large/train/row_2293
153
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_2293:Import_L22_C0", "label": "os import os, sys", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.083, 0.0038, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2293:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2293:Import_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2293:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2293:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- line_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
ajibawa-2023/Python-Code-Large/train/row_2294
218
346
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_2294:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.052, 0.0029, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2294:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2294:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2294:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2294:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
ajibawa-2023/Python-Code-Large/train/row_2295
77
139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2295:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1295, 0.0072, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2295:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2295:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2295:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2295:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- arc_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ab...
ajibawa-2023/Python-Code-Large/train/row_2296
64
123
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2296:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1463, 0.0081, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2296:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2296:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2296:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2296:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- make_rawimage.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
ajibawa-2023/Python-Code-Large/train/row_2297
43
85
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2297:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.2118, 0.0118, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2297:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2297:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2297:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2297:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Alternative PDF Library 1.0.0 >> -- text_demo2.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that th...
ajibawa-2023/Python-Code-Large/train/row_2298
140
271
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_2298:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0664, 0.0037, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2298:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2298:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2298:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2298:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
### ## * << Haru Free PDF Library 2.0.0 >> -- link_annotation.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
ajibawa-2023/Python-Code-Large/train/row_2299
135
255
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_2299:Import_L18_C0", "label": "os import os, sys", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0706, 0.0039, 0, 0.66, 0.0, 688, 0, 2, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2299:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2299:Import_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2299:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2299:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
ajibawa-2023/Python-Code-Large/train/row_2300
12
144
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_2300:Import_L24_C0", "label": "wsgiref.handlers import wsgiref.handlers", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.1667, 0.0069, 0, 0.66, 0.0, 709, 0, 1, 0, 0, 709, 0, 0], "semantic": {"name": "wsgiref.handlers", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2300:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2300:Expr_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2300:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2300:Assign_L39_C1"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
ajibawa-2023/Python-Code-Large/train/row_2301
99
162
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_2301:ImportFrom_L23_C0", "label": "from django import template", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.142, 0.0062, 0, 0.66, 0.0, 294, 0, 1, 0, 0, 294, 0, 0], "semantic": {"name": "django", "arg_names": [], "import_names": ["t...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2301:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2301:Assign_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2301:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2301:Assign_L34_C1"}, {"f": "ajibawa-2023/Python-Code-L...
import urllib from google.appengine.api import urlfetch """ Adapted from http://pypi.python.org/pypi/recaptcha-client to use with Google App Engine by Joscha Feth <joscha@feth.com> Version 0.1 """ API_SSL_SERVER ="https://api-secure.recaptcha.net" API_SERVER ="http://api.recaptcha.net" VERIFY_SE...
ajibawa-2023/Python-Code-Large/train/row_2302
33
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_2302:Import_L1_C0", "label": "urllib import urllib", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0094, 0.0094, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2302:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2302:FunctionDef_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2302:FunctionDef_L16_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2302:Assign_L17_C8"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
ajibawa-2023/Python-Code-Large/train/row_2303
47
92
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_2303:Import_L23_C0", "label": "os import os", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0109, 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_2303:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2303:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2303:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2303:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free S...
ajibawa-2023/Python-Code-Large/train/row_2304
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_2304:Import_L23_C0", "label": "simplejson import simplejson", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 386, 0, 1, 0, 0, 386, 0, 0], "semantic": {"name": "simplejson", "arg_names": [], "import_names": ["...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_2304:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2304:FunctionDef_L31_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2304:FunctionDef_L31_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2304:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code...