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 # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_90730
218
605
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90730:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0281, 0.0017, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90730:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90730:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90730:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90730:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # Copyright (c) 2010, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this l...
ajibawa-2023/Python-Code-Large/train/row_90732
51
187
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90732:Expr_L32_C0", "label": "expression", "type": "expression", "loc": [32, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1818, 0.0267, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90732:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90732:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90732:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90732:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
ajibawa-2023/Python-Code-Large/train/row_90734
86
244
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90734:Import_L18_C0", "label": "base64 import base64", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0738, 0.0041, 0, 0.66, 0.0, 177, 0, 1, 0, 0, 177, 0, 0], "semantic": {"name": "base64", "arg_names": [], "import_names": ["base64"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90734:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90734:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90734:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90734:FunctionDef_L39_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
ajibawa-2023/Python-Code-Large/train/row_90736
155
378
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90736:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 30], "level": 0, "parent": null, "vector": [8, 0, 0.0437, 0.0741, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90736:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90736:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90736:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90736:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90737
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_90737:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90737:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90737:Import_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90737:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90737:Try_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90739
396
1,139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90739:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0145, 0.0035, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90739:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90739:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90739:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90739:ImportFrom_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90740
33
105
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90740:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1619, 0.0476, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90740:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90740:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90740:ClassDef_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90740:Expr_L63_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90741
46
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90741:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1604, 0.0472, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90741:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90741:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90741:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90741:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_90742
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90742:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90743
63
124
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90743:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1371, 0.0403, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90743:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90743:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90743:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90743:FunctionDef_L34_C2"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright (C) 2007 Joe Gregorio # # Licensed under the MIT License """MIME-Type Parser This module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation. http://www.w3.o...
ajibawa-2023/Python-Code-Large/train/row_90745
57
172
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90745:Expr_L5_C0", "label": "expression", "type": "expression", "loc": [5, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0814, 0.1105, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90745:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90745:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90745:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90745:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90746
114
303
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90746:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 58], "level": 0, "parent": null, "vector": [8, 0, 0.1205, 0.1452, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90746:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90746:Expr_L69_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90746:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90746:FunctionDef_L71_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90747
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_90747:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90747:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90747:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90747:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90747:Try_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90748
201
483
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90748:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0342, 0.0083, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90748:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90748:ImportFrom_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90748:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90748:ImportFrom_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90750
55
135
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90750:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1259, 0.037, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90750:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90750:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90750:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90750:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90752
28
63
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90752:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.2619, 0.0635, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90752:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90752:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90752:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90752:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90753
29
56
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90753:Import_L15_C0", "label": "apiclient import apiclient", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2679, 0.0179, 0, 0.66, 0.0, 629, 0, 1, 0, 0, 629, 0, 0], "semantic": {"name": "apiclient", "arg_names": [], "import_names": ["a...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90753:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90753:Assign_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90753:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90753:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Cod...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_90754
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90754:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_90755
154
385
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90755:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0519, 0.0182, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90755:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90755:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90755:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90755:FunctionDef_L53_C2"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_90756
56
123
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90756:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1545, 0.0407, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90756:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90756:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90756:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90756:Expr_L35_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
""" iri2uri Converts an IRI to a URI. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyright 2006, Joe Gregorio" __contributors__ = [] __version__ = "1.0.0" __license__ = "MIT" __history__ = """ """ import urlparse # Convert an IRI to a URI following the rules in RFC 3987 # # The characte...
ajibawa-2023/Python-Code-Large/train/row_90757
43
110
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90757:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0318, 0.0545, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90757:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90757:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90757:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90757:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
ajibawa-2023/Python-Code-Large/train/row_90759
213
438
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90759:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0365, 0.0708, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90759:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90759:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90759:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90759:Assign_L102_C4"}, {"f": "ajibawa-2023/Python-Cod...
import Cookie import datetime import time import email.utils import calendar import base64 import hashlib import hmac import re import logging # Ripped from the Tornado Framework's web.py # http://github.com/facebook/tornado/commit/39ac6d169a36a54bb1f6b9bf1fdebb5c9da96e09 # # Tornado is licensed under the Apache Licen...
ajibawa-2023/Python-Code-Large/train/row_90760
115
168
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90760:Import_L1_C0", "label": "Cookie import Cookie", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.006, 0.006, 0, 0.66, 0.0, 32, 0, 1, 0, 0, 32, 0, 0], "semantic": {"name": "Cookie", "arg_names": [], "import_names": ["Cookie"], "rhs_ca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90760:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90760:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90760:FunctionDef_L26_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_90760:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
ajibawa-2023/Python-Code-Large/train/row_90761
8
18
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90761:Assign_L3_C0", "label": "manual_verstr =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0556, 0, 0.66, 0.0, 189, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "manual_verstr", "arg_names": [], "import_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90761:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90761:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90761:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90761:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90762
10
41
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90762:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.2927, 0.561, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90762:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90762:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90762:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90762:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90763
9
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90763:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.3, 0.575, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90763:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90763:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90763:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90763:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Early, and incomplete implementation of -04. # import re import urllib RESERVED = ":/?#[]@!$&'()*+,;=" OPERATOR = "+./;?|!@" EXPLODE = "*+" MODIFIER = ":^" TEMPLATE = re.compile(r"{(?P<operator>[\+\./;\?|!@])?(?P<varlist>[^}]+)}", re.UNICODE) VAR = re.compile(r"^(?P<varname>[^=\+\*:\^]+)((?P<explode>[\+\*])|(?P<part...
ajibawa-2023/Python-Code-Large/train/row_90765
112
147
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90765:Import_L3_C0", "label": "re import re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0204, 0.0068, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ""...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90765:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90765:If_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90765:If_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_90765:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/env python #file: singularity.py #Copyright (C) 2005 Evil Mr Henry, Phil Bordelon, Brian Reid, MestreLion #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free...
ajibawa-2023/Python-Code-Large/train/row_90766
1
23
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90766:Import_L23_C0", "label": "code.singularity import code.singularity", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 1.0, 0.0435, 0, 0.66, 0.0, 286, 0, 1, 0, 0, 286, 0, 0], "semantic": {"name": "code.singularity", "arg_names": [], "...
[]
#file: safety.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at your ...
ajibawa-2023/Python-Code-Large/train/row_90767
28
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90767:Import_L21_C0", "label": "logging import logging", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.2658, 0.0127, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "logging", "arg_names": [], "import_names": ["logging...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90767:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90767:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90767:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90767:Assign_L28_C8"}, {"f": "ajibawa-2023/Python-...
#file: base.py #Copyright (C) 2005,2006,2007,2008 Evil Mr Henry, Phil Bordelon, Brian Reid, # and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as publis...
ajibawa-2023/Python-Code-Large/train/row_90769
210
382
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90769:Import_L23_C0", "label": "g import g", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.0602, 0.0026, 0, 0.66, 0.0, 384, 0, 1, 0, 0, 384, 0, 0], "semantic": {"name": "g", "arg_names": [], "import_names": ["g"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90769:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90769:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90769:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90769:FunctionDef_L39_C4"}, {"f": "ajibawa-2023/Python-Code-...
#file: tech.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; eith...
ajibawa-2023/Python-Code-Large/train/row_90770
47
91
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90770:Import_L21_C0", "label": "g import g", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.2308, 0.011, 0, 0.66, 0.0, 384, 0, 1, 0, 0, 384, 0, 0], "semantic": {"name": "g", "arg_names": [], "import_names": ["g"], "rhs_call_name": "", ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90770:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90770:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90770:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90770:Assign_L28_C8"}, {"f": "ajibawa-2023/Python-...
#file: item.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; eith...
ajibawa-2023/Python-Code-Large/train/row_90771
65
147
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90771:Import_L21_C0", "label": "buyable import buyable", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0068, 0, 0.66, 0.0, 922, 0, 1, 0, 0, 922, 0, 0], "semantic": {"name": "buyable", "arg_names": [], "import_names": ["buyable...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90771:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90771:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90771:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90771:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-...
#file: player.py #Copyright (C) 2005,2006,2007,2008 Evil Mr Henry, Phil Bordelon, Brian Reid, # and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as publ...
ajibawa-2023/Python-Code-Large/train/row_90772
368
691
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90772:Import_L22_C0", "label": "random import random", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.0318, 0.0014, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90772:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90772:Assign_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90772:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90772:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Cod...
#file: widget.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at your ...
ajibawa-2023/Python-Code-Large/train/row_90773
299
485
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90773:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.0433, 0.0021, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90773:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90773:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90773:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90773:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-L...
#file: listbox.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at your...
ajibawa-2023/Python-Code-Large/train/row_90774
141
236
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90774:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.089, 0.0042, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90774:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90774:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90774:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90774:Assign_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#file: g.py #Copyright (C) 2005,2006,2007,2008 Evil Mr Henry, Phil Bordelon, Brian Reid, # and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published...
ajibawa-2023/Python-Code-Large/train/row_90776
78
233
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90776:Import_L22_C0", "label": "os.path import os.path", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.0944, 0.0043, 0, 0.66, 0.0, 79, 0, 1, 0, 0, 79, 0, 0], "semantic": {"name": "os.path", "arg_names": [], "import_names": ["os.path"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90776:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90776:Assign_L121_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90776:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90776:If_L124_C4"}, {"f": "ajibawa-2023/Python-Co...
#file: constants.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at yo...
ajibawa-2023/Python-Code-Large/train/row_90779
24
61
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90779:Assign_L22_C0", "label": "TOP, MID, BOTTOM = range()", "type": "assigned_variable", "loc": [22, 22], "level": 0, "parent": null, "vector": [14, 0, 0.3607, 0.0164, 0, 0.66, 0.0, 861, 3, 1, 0, 0, 816, 10, 1], "semantic": {"name": "TOP, MID, BOTTOM", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90779:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90779:FunctionDef_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90779:FunctionDef_L42_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90779:Return_L43_C8"}, {"f": "ajibawa-2023/Python-...
#file: text.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at your op...
ajibawa-2023/Python-Code-Large/train/row_90780
493
789
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90780:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.0266, 0.0013, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90780:FunctionDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90780:While_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90780:While_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90780:Assign_L34_C8"}, {"f": "ajibawa-2023/Python-Code-Larg...
#file: slider.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at your ...
ajibawa-2023/Python-Code-Large/train/row_90781
118
188
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90781:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1117, 0.0053, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90781:FunctionDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90781:Return_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90781:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90781:Assign_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
#file: scrollbar.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at yo...
ajibawa-2023/Python-Code-Large/train/row_90782
83
138
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90782:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1522, 0.0072, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90782:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90782:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90782:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90782:Assign_L31_C8"}, {"f": "ajibawa-2023/Python-...
#file: location.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at you...
ajibawa-2023/Python-Code-Large/train/row_90784
55
122
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90784:Import_L21_C0", "label": "g import g", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1721, 0.0082, 0, 0.66, 0.0, 384, 0, 1, 0, 0, 384, 0, 0], "semantic": {"name": "g", "arg_names": [], "import_names": ["g"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90784:For_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90784:For_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90784:For_L41_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90784:If_L42_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_9078...
#file: options.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; e...
ajibawa-2023/Python-Code-Large/train/row_90786
199
446
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90786:Import_L21_C0", "label": "os import os, sys", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.0471, 0.0022, 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_90786:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90786:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90786:FunctionDef_L40_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90786:Expr_L41_C8"}, {"f": "ajibawa-2023/Python-Co...
#file: knowledge.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation;...
ajibawa-2023/Python-Code-Large/train/row_90787
107
213
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90787:Import_L21_C0", "label": "pygame import pygame", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.0986, 0.0047, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90787:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90787:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90787:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90787:Expr_L28_C8"}, {"f": "ajibawa-2023/Python-Co...
#file: base_screen.py #Copyright (C) 2005,2006,2007,2008 Evil Mr Henry, Phil Bordelon, Brian Reid, # and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as...
ajibawa-2023/Python-Code-Large/train/row_90788
161
340
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90788:Import_L22_C0", "label": "locale import locale", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.0647, 0.0029, 0, 0.66, 0.0, 884, 0, 1, 0, 0, 884, 0, 0], "semantic": {"name": "locale", "arg_names": [], "import_names": ["locale"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90788:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90788:Assign_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90788:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90788:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Cod...
#file: finance_screen.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Founda...
ajibawa-2023/Python-Code-Large/train/row_90789
34
121
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90789:Import_L22_C0", "label": "code.g import g", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.1818, 0.0083, 0, 0.66, 0.0, 155, 0, 1, 0, 0, 155, 0, 0], "semantic": {"name": "code.g", "arg_names": [], "import_names": ["g"], "rhs_call_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90789:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90789:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90789:FunctionDef_L29_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90789:Expr_L30_C8"}, {"f": "ajibawa-2023/Python-Co...
#file: main_menu.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation;...
ajibawa-2023/Python-Code-Large/train/row_90791
42
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_90791:Import_L21_C0", "label": "map import map", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1892, 0.009, 0, 0.66, 0.0, 53, 0, 1, 0, 0, 53, 0, 0], "semantic": {"name": "map", "arg_names": [], "import_names": ["map"], "rhs_call_name"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90791:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90791:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90791:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90791:Expr_L28_C8"}, {"f": "ajibawa-2023/Python-Co...
#file: location.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; ...
ajibawa-2023/Python-Code-Large/train/row_90792
140
288
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90792:Import_L21_C0", "label": "random import random", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.0729, 0.0035, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90792:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90792:FunctionDef_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90792:FunctionDef_L42_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90792:Expr_L43_C8"}, {"f": "ajibawa-2023/Python-Co...
#file: research_screen.py #Copyright (C) 2005,2006,2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Found...
ajibawa-2023/Python-Code-Large/train/row_90793
113
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_90793:ImportFrom_L21_C0", "label": "from numpy import array", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1105, 0.0053, 0, 0.66, 0.0, 954, 0, 1, 0, 0, 954, 0, 0], "semantic": {"name": "numpy", "arg_names": [], "import_names": ["arra...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90793:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90793:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90793:FunctionDef_L28_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90793:Assign_L29_C8"}, {"f": "ajibawa-2023/Python-...
# A dirty hack to merge stdlib's "code" module to local namespace # Allows IDEs and debuggers that import code, like PyDev, to work properly # In the future this package should be renamed to "src" so it does not collide # with Python's standard library modules/packages. def _copy(): import sys, os, imp esdir =...
ajibawa-2023/Python-Code-Large/train/row_90794
11
21
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90794:FunctionDef_L5_C0", "label": "_copy", "type": "function", "loc": [5, 15], "level": 0, "parent": null, "vector": [2, 0, 0.4762, 0.5238, 0, 0.66, 0.0, 44, 0, 0, 0, 0, 0, 0, 10], "semantic": {"name": "_copy", "arg_names": [], "import_names": [], "rhs_call_name": "", ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90794:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90794:Import_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90794:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90794:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# -*- coding: utf-8 -*- # # License: MIT (see LICENSE file provided) # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: """ **polib** allows you to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it's entries, add, modify entries, comments or metad...
ajibawa-2023/Python-Code-Large/train/row_90795
799
1,686
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90795:Expr_L6_C0", "label": "expression", "type": "expression", "loc": [6, 13], "level": 0, "parent": null, "vector": [8, 0, 0.0056, 0.0047, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90795:If_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90795:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90795:If_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90795:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#file: statistics.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 of the License, or #(at y...
ajibawa-2023/Python-Code-Large/train/row_90796
4
25
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90796:ClassDef_L21_C0", "label": "Statistics", "type": "class", "loc": [21, 25], "level": 0, "parent": null, "vector": [3, 0, 0.92, 0.2, 0, 0.66, 0.0, 138, 0, 2, 0, 0, 186, 0, 0], "semantic": {"name": "Statistics", "arg_names": [], "import_names": [], "rhs_call_name": "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90796:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90796:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90796:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90796:Return_L23_C8"}, {"f": "ajibawa-2023/Python-...
#file: buyable.py #Copyright (C) 2008 Evil Mr Henry, Phil Bordelon, and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either vers...
ajibawa-2023/Python-Code-Large/train/row_90797
108
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_90797:ImportFrom_L21_C0", "label": "from operator import truediv", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.101, 0.0048, 0, 0.66, 0.0, 616, 0, 1, 0, 0, 616, 0, 0], "semantic": {"name": "operator", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90797:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90797:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90797:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_90797:Assign_L32_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python #file: singularity.py #Copyright (C) 2005 Evil Mr Henry, Phil Bordelon, Brian Reid, MestreLion #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free...
ajibawa-2023/Python-Code-Large/train/row_90799
1
23
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90799:Import_L23_C0", "label": "code.singularity import code.singularity", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 1.0, 0.0435, 0, 0.66, 0.0, 286, 0, 1, 0, 0, 286, 0, 0], "semantic": {"name": "code.singularity", "arg_names": [], "...
[]
#!/usr/bin/env python #file: utils/reorder.py #Copyright (C) 2008 FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2 ...
ajibawa-2023/Python-Code-Large/train/row_90800
1
2
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90800:Import_L1_C0", "label": "re import re, sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.5, 0, 0.66, 0.0, 540, 0, 2, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re", "sys"], "rhs_call_nam...
[]
#!/usr/bin/env python #file: make-tree.py #Copyright (C) 2008 aes and FunnyMan3595 #This file is part of Endgame: Singularity. #Endgame: Singularity is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either versi...
ajibawa-2023/Python-Code-Large/train/row_90801
88
167
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90801:ImportFrom_L24_C0", "label": "from os import system", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.1437, 0.006, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["system"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90801:If_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90801:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90801:If_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90801:Assign_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python # traduko.py # Copyright (C) 2007 Phil Bordelon # This file is part of Endgame: Singularity. # Endgame: Singularity is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of th...
ajibawa-2023/Python-Code-Large/train/row_90802
100
286
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90802:Import_L24_C0", "label": "ConfigParser import ConfigParser", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.0839, 0.0035, 0, 0.66, 0.0, 272, 0, 1, 0, 0, 272, 0, 0], "semantic": {"name": "ConfigParser", "arg_names": [], "import_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90802:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90802:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90802:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90802:Assign_L53_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # # languages.py - Read language names from several sources and save them for E:S # # Copyright (C) 2012 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as p...
ajibawa-2023/Python-Code-Large/train/row_90803
134
318
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90803:Import_L30_C0", "label": "sys import sys", "type": "import", "loc": [30, 30], "level": 0, "parent": null, "vector": [1, 0, 0.0943, 0.0031, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90803:If_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90803:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90803:If_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90803:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python from django.core.management import execute_manager try: import settings # Assumed to be in the same directory. except ImportError: import sys sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to ...
ajibawa-2023/Python-Code-Large/train/row_90804
8
11
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90804:ImportFrom_L2_C0", "label": "from django.core.management import execute_manager", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.1818, 0.0909, 0, 0.66, 0.0, 879, 0, 1, 0, 0, 879, 0, 0], "semantic": {"name": "django.core.management"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90804:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90804:Import_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90804:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90804:Import_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_9...
#!/usr/bin/python2.7 # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
ajibawa-2023/Python-Code-Large/train/row_90805
16
43
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90805:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 21], "level": 0, "parent": null, "vector": [8, 0, 0.4419, 0.1163, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90805:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90805:Expr_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90805:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90805:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python2.7 # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
ajibawa-2023/Python-Code-Large/train/row_90806
5
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_90806:ImportFrom_L16_C0", "label": "from django.conf.urls.defaults import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3902, 0.0244, 0, 0.66, 0.0, 341, 0, 1, 0, 0, 341, 0, 0], "semantic": {"name": "django.conf.urls.defaults", "ar...
[]
from dbindexer import autodiscover autodiscover()
ajibawa-2023/Python-Code-Large/train/row_90807
2
2
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90807:ImportFrom_L1_C0", "label": "from dbindexer import autodiscover", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.5, 0, 0.66, 0.0, 215, 0, 1, 0, 0, 215, 0, 0], "semantic": {"name": "dbindexer", "arg_names": [], "import_names": ...
[]
# Initialize App Engine and import the default settings (DB backend, etc.). # If you want to use a different backend you have to remove all occurences # of "djangoappengine" from this file. from djangoappengine.settings_base import * import os # Activate django-dbindexer for the default database DATABASES['native'] =...
ajibawa-2023/Python-Code-Large/train/row_90808
13
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_90808:ImportFrom_L4_C0", "label": "from djangoappengine.settings_base import *", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.08, 0.02, 0, 0.66, 0.0, 423, 0, 1, 0, 0, 423, 0, 0], "semantic": {"name": "djangoappengine.settings_base", "a...
[]
#!/usr/bin/python2.7 # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
ajibawa-2023/Python-Code-Large/train/row_90809
280
520
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90809:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0375, 0.0115, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90809:ClassDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90809:Expr_L59_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90809:ClassDef_L63_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90809:Expr_L64_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_90810
133
305
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90810:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0557, 0.0033, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90810:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90810:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90810:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90810:Assign_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_90811
218
605
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90811:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0281, 0.0017, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90811:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90811:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90811:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90811:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # Copyright (c) 2010, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this l...
ajibawa-2023/Python-Code-Large/train/row_90813
51
187
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90813:Expr_L32_C0", "label": "expression", "type": "expression", "loc": [32, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1818, 0.0267, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90813:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90813:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90813:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90813:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
ajibawa-2023/Python-Code-Large/train/row_90815
86
244
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90815:Import_L18_C0", "label": "base64 import base64", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0738, 0.0041, 0, 0.66, 0.0, 177, 0, 1, 0, 0, 177, 0, 0], "semantic": {"name": "base64", "arg_names": [], "import_names": ["base64"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90815:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90815:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90815:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90815:FunctionDef_L39_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
ajibawa-2023/Python-Code-Large/train/row_90817
155
378
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90817:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 30], "level": 0, "parent": null, "vector": [8, 0, 0.0437, 0.0741, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90817:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90817:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90817:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90817:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90818
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_90818:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90818:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90818:Import_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90818:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90818:Try_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90820
396
1,139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90820:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0145, 0.0035, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90820:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90820:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90820:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90820:ImportFrom_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90821
33
105
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90821:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1619, 0.0476, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90821:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90821:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90821:ClassDef_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90821:Expr_L63_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90822
46
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90822:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1604, 0.0472, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90822:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90822:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90822:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90822:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_90823
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90823:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90824
63
124
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90824:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1371, 0.0403, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90824:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90824:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90824:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90824:FunctionDef_L34_C2"}, {"f": "ajibawa-2023/Python-Cod...
# Copyright (C) 2007 Joe Gregorio # # Licensed under the MIT License """MIME-Type Parser This module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation. http://www.w3.o...
ajibawa-2023/Python-Code-Large/train/row_90826
57
172
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90826:Expr_L5_C0", "label": "expression", "type": "expression", "loc": [5, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0814, 0.1105, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90826:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90826:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90826:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90826:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90827
114
303
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90827:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 58], "level": 0, "parent": null, "vector": [8, 0, 0.1205, 0.1452, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90827:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90827:Expr_L69_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90827:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90827:FunctionDef_L71_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90828
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_90828:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5312, 0.1562, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90828:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90828:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90828:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90828:Try_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90829
201
483
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90829:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0342, 0.0083, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90829:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90829:ImportFrom_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90829:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90829:ImportFrom_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90831
55
135
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90831:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1259, 0.037, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90831:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90831:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90831:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90831:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90833
28
63
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90833:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.2619, 0.0635, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90833:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90833:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90833:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90833:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90834
29
56
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90834:Import_L15_C0", "label": "apiclient import apiclient", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2679, 0.0179, 0, 0.66, 0.0, 629, 0, 1, 0, 0, 629, 0, 0], "semantic": {"name": "apiclient", "arg_names": [], "import_names": ["a...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90834:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90834:Assign_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90834:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90834:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Cod...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_90835
1
1
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90835:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_90836
154
385
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90836:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0519, 0.0182, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90836:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90836:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90836:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90836:FunctionDef_L53_C2"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python2.4 # # Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
ajibawa-2023/Python-Code-Large/train/row_90837
56
123
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90837:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1545, 0.0407, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90837:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90837:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90837:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90837:Expr_L35_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
""" iri2uri Converts an IRI to a URI. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyright 2006, Joe Gregorio" __contributors__ = [] __version__ = "1.0.0" __license__ = "MIT" __history__ = """ """ import urlparse # Convert an IRI to a URI following the rules in RFC 3987 # # The characte...
ajibawa-2023/Python-Code-Large/train/row_90838
43
110
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90838:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0318, 0.0545, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90838:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90838:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90838:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90838:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
ajibawa-2023/Python-Code-Large/train/row_90840
213
438
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90840:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0365, 0.0708, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90840:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90840:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90840:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90840:Assign_L102_C4"}, {"f": "ajibawa-2023/Python-Cod...
import Cookie import datetime import time import email.utils import calendar import base64 import hashlib import hmac import re import logging # Ripped from the Tornado Framework's web.py # http://github.com/facebook/tornado/commit/39ac6d169a36a54bb1f6b9bf1fdebb5c9da96e09 # # Tornado is licensed under the Apache Licen...
ajibawa-2023/Python-Code-Large/train/row_90841
115
168
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90841:Import_L1_C0", "label": "Cookie import Cookie", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.006, 0.006, 0, 0.66, 0.0, 32, 0, 1, 0, 0, 32, 0, 0], "semantic": {"name": "Cookie", "arg_names": [], "import_names": ["Cookie"], "rhs_ca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90841:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90841:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90841:FunctionDef_L26_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_90841:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
ajibawa-2023/Python-Code-Large/train/row_90842
8
18
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90842:Assign_L3_C0", "label": "manual_verstr =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0556, 0, 0.66, 0.0, 189, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "manual_verstr", "arg_names": [], "import_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90842:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90842:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90842:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90842:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90843
10
41
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90843:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.2927, 0.561, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90843:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90843:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90843:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90843:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90844
9
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90844:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.3, 0.575, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90844:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90844:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90844:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90844:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Early, and incomplete implementation of -04. # import re import urllib RESERVED = ":/?#[]@!$&'()*+,;=" OPERATOR = "+./;?|!@" EXPLODE = "*+" MODIFIER = ":^" TEMPLATE = re.compile(r"{(?P<operator>[\+\./;\?|!@])?(?P<varlist>[^}]+)}", re.UNICODE) VAR = re.compile(r"^(?P<varname>[^=\+\*:\^]+)((?P<explode>[\+\*])|(?P<part...
ajibawa-2023/Python-Code-Large/train/row_90846
112
147
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90846:Import_L3_C0", "label": "re import re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0204, 0.0068, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ""...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90846:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90846:If_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90846:If_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_90846:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_90847
218
605
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90847:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0281, 0.0017, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90847:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90847:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90847:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90847:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_90848
133
305
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90848:Assign_L17_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [17, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0557, 0.0033, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90848:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90848:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90848:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90848:Assign_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
ajibawa-2023/Python-Code-Large/train/row_90850
8
18
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90850:Assign_L3_C0", "label": "manual_verstr =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0556, 0, 0.66, 0.0, 189, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "manual_verstr", "arg_names": [], "import_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90850:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90850:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90850:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90850:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90851
9
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90851:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.3, 0.575, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90851:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90851:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90851:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90851:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_90852
10
41
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90852:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 23], "level": 0, "parent": null, "vector": [8, 0, 0.2927, 0.561, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90852:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90852:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90852:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90852:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
ajibawa-2023/Python-Code-Large/train/row_90854
155
378
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90854:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 30], "level": 0, "parent": null, "vector": [8, 0, 0.0437, 0.0741, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90854:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90854:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90854:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90854:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90855
396
1,139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90855:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0145, 0.0035, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90855:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90855:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90855:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90855:ImportFrom_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90856
46
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90856:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1604, 0.0472, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90856:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90856:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90856:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90856:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_90857
63
124
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_90857:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1371, 0.0403, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_90857:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90857:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_90857:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_90857:FunctionDef_L34_C2"}, {"f": "ajibawa-2023/Python-Cod...