code
stringlengths
1
1.49M
file_id
stringlengths
42
46
node_count
int64
0
7.38k
total_lines
int64
1
20.9k
vector_dim
int64
15
15
vector_labels
stringclasses
1 value
nodes
stringlengths
2
3.75M
connections
stringlengths
2
964k
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87768
128
262
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87768:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0573, 0.0038, 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_87768:ClassDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87768:Expr_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87768:ClassDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87768:Expr_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87769
64
191
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87769:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 20], "level": 0, "parent": null, "vector": [8, 0, 0.0916, 0.0314, 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_87769:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87769:Expr_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87769:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87769:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87770
15
58
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87770:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2586, 0.0172, 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_87770:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87770:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87770:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87770:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87771
307
653
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87771:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.023, 0.0015, 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_87771:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87771:Return_L57_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87771:FunctionDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87771:Try_L61_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87772
219
463
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87772:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0324, 0.0022, 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_87772:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87772:FunctionDef_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87772:FunctionDef_L36_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87772:Expr_L37_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87773
157
329
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87773:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0456, 0.003, 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_87773:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87773:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87773:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87773:FunctionDef_L41_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87774
128
228
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87774:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0658, 0.0044, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87774:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87774:Return_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87774:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87774:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-La...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87775
708
1,556
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87775:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0096, 0.0006, 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_87775:ClassDef_L77_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87775:Expr_L78_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87775:ClassDef_L77_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87775:FunctionDef_L81_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87776
412
894
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87776:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0168, 0.0011, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87776:ClassDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87776:Expr_L75_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87776:ClassDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87776:Assign_L77_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87777
47
184
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87777:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0815, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87777:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87777:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87777:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87777:If_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87778
108
217
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87778:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0691, 0.0046, 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_87778:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87778:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87778:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87778:FunctionDef_L34_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87779
33
73
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87779:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2055, 0.0137, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[]
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87780
148
310
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87780:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0484, 0.0032, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87780:FunctionDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87780:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87780:FunctionDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87780:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87781
63
125
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87781:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 16], "level": 0, "parent": null, "vector": [8, 0, 0.128, 0.008, 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_87781:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87781:Return_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87781:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87781:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87782
100
315
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87782:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0476, 0.0032, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87782:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87782:Return_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87782:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87782:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-La...
"""Unit tests for the javascript code.""" __author__ = 'John Orr (jorr@google.com)' import subprocess import unittest class AllJavaScriptTests(unittest.TestCase): def test_all(self): subprocess.call([ 'karma', 'start', 'experimental/coursebuilder/tests/unit/karma.conf.js'])
ajibawa-2023/Python-Code-Large/train/row_87783
7
15
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87783:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 1], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.0667, 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_87783:ClassDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87783:FunctionDef_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87783:FunctionDef_L12_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87783:Expr_L13_C8"}]
"""Unit tests for the common.sanitize module.""" __author__ = 'John Orr (jorr@google.com)' import unittest from common import safe_dom class MockNode(safe_dom.Node): def __init__(self, value): self._value = value @property def sanitized(self): return self._value class NodeListTests(un...
ajibawa-2023/Python-Code-Large/train/row_87784
178
272
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87784:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 1], "level": 0, "parent": null, "vector": [8, 0, 0.0037, 0.0037, 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_87784:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87784:FunctionDef_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87784:FunctionDef_L10_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87784:Assign_L11_C8"}, {"f": "ajibawa-2023/Python-C...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87785
157
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_87785:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 16], "level": 0, "parent": null, "vector": [8, 0, 0.0678, 0.0042, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87785:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87785:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87785:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87785:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87786
70
120
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87786:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.125, 0.0083, 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_87786:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87786:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87786:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87786:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87787
340
527
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87787:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0285, 0.0019, 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_87787:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87787:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87787:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87787:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87788
248
478
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87788:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 34], "level": 0, "parent": null, "vector": [8, 0, 0.0513, 0.0418, 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_87788:FunctionDef_L74_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87788:If_L75_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87788:FunctionDef_L79_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87788:If_L80_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87789
138
295
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87789:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 35], "level": 0, "parent": null, "vector": [8, 0, 0.0847, 0.0712, 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_87789:FunctionDef_L74_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87789:Assign_L75_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87789:FunctionDef_L74_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87789:Assign_L76_C4"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87790
34
89
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87790:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1685, 0.0112, 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_87790:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87790:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87790:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87790:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-...
# coding: utf-8 # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
ajibawa-2023/Python-Code-Large/train/row_87791
61
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_87791:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 16], "level": 0, "parent": null, "vector": [8, 0, 0.1455, 0.0091, 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_87791:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87791:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87791:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87791:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87792
374
649
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87792:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0262, 0.0015, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87792:ClassDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87792:Expr_L59_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87792:ClassDef_L63_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87792:Expr_L64_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# coding: utf-8 # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
ajibawa-2023/Python-Code-Large/train/row_87793
246
543
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87793:Expr_L16_C0", "label": "expression", "type": "expression", "loc": [16, 16], "level": 0, "parent": null, "vector": [8, 0, 0.0295, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87793:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87793:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87793:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87793:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87794
42
84
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87794:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1786, 0.0119, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87794:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87794:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87794:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87794:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87795
65
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_87795:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.123, 0.0082, 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_87795:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87795:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87795:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87795:Assign_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87796
48
102
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87796:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1471, 0.0098, 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_87796:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87796:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87796:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87796:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87797
471
1,291
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87797:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0116, 0.0008, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87797:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87797:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87797:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87797:FunctionDef_L38_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87798
146
247
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87798:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0607, 0.004, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87798:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87798:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87798:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87798:FunctionDef_L36_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87799
54
113
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87799:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1327, 0.0088, 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_87799:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87799:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87799:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87799:Expr_L32_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87800
241
544
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87800:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0276, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87800:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87800:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87800:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87800:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87801
432
767
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87801:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0196, 0.0013, 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_87801:ClassDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87801:Expr_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87801:ClassDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87801:FunctionDef_L68_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87802
61
171
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87802:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0877, 0.0058, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87802:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87802:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87802:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87802:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87803
102
227
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87803:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0661, 0.0044, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87803:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87803:Expr_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87803:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87803:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87804
39
71
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87804:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2113, 0.0141, 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_87804:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87804:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87804:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87804:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87805
289
529
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87805:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0284, 0.0019, 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_87805:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87805:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87805:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87805:FunctionDef_L38_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87806
1,122
1,978
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87806:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0076, 0.0005, 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_87806:FunctionDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87806:Expr_L59_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87806:FunctionDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87806:FunctionDef_L61_C4"}, {"f": "ajibawa-2023/Python...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87807
45
88
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87807:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1705, 0.0114, 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_87807:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87807:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87807:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87807:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87808
25
47
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87808:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.3191, 0.0213, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87808:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87808:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87808:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87808:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87809
202
399
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87809:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0376, 0.0025, 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_87809:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87809:Expr_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87809:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87809:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87810
32
73
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87810:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2055, 0.0137, 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_87810:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87810:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87810:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87810:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87811
169
707
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87811:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0212, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87811:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87811:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87811:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87811:Return_L38_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87812
77
226
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87812:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0664, 0.0044, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87812:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87812:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87812:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87812:FunctionDef_L53_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87813
39
86
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87813:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1744, 0.0116, 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_87813:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87813:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87813:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87813:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87814
30
67
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87814:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2239, 0.0149, 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_87814:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87814:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87814:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87814:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87815
83
137
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87815:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1095, 0.0073, 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_87815:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87815:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87815:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87815:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87816
146
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_87816:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0607, 0.0262, 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_87816:ClassDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87816:Expr_L52_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87816:ClassDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87816:FunctionDef_L54_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87817
35
96
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87817:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1562, 0.0104, 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_87817:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87817:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87817:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87817:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87818
391
694
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87818:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0216, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87818:ClassDef_L108_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87818:Expr_L109_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87818:ClassDef_L108_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87818:FunctionDef_L112_C4"}, {"f": "ajibawa-2023/Python-C...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87820
538
931
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87820:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0161, 0.0011, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87820:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87820:Expr_L60_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87820:FunctionDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87820:Assign_L61_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87821
100
217
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87821:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0691, 0.0046, 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_87821:FunctionDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87821:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87821:FunctionDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87821:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87822
45
78
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87822:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1923, 0.0128, 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_87822:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87822:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87822:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87822:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87823
133
207
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87823:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0725, 0.0048, 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_87823:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87823:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87823:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87823:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Code-...
"""Classes to build sanitized HTML.""" __author__ = 'John Orr (jorr@google.com)' import cgi import re def escape(strg): return cgi.escape(strg, quote=1).replace("'", ''').replace('`', '`') class Node(object): """Base class for the sanitizing module.""" @property def sanitized(self): ...
ajibawa-2023/Python-Code-Large/train/row_87824
88
176
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87824:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 1], "level": 0, "parent": null, "vector": [8, 0, 0.0057, 0.0057, 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_87824:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87824:Return_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87824:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87824:Expr_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87825
128
282
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87825:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0532, 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_87825:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87825:Expr_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87825:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87825:FunctionDef_L52_C4"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_87826
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_87826: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_87826:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87826:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87826:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87826: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_87827
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_87827: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_87827:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87827:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87827:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87827:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
"""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_87828
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_87828: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_87828:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87828:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87828:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87828:Assign_L102_C4"}, {"f": "ajibawa-2023/Python-Cod...
""" 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_87829
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_87829: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_87829:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87829:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87829:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87829:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
""" 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_87831
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_87831: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_87831:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87831:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87831:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87831: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_87832
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_87832: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_87832:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87832:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87832:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87832:FunctionDef_L33_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_87833
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_87833: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_87833:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87833:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87833:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87833:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# 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_87835
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_87835: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_87835:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87835:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87835:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87835:FunctionDef_L34_C2"}, {"f": "ajibawa-2023/Python-Cod...
#!/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_87836
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_87836: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_87836:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87836:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87836:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87836:FunctionDef_L39_C2"}, {"f": "ajibawa-2023/Python-Code-...
# 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_87838
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_87838: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_87838:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87838:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87838:ClassDef_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87838:Expr_L63_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# 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_87839
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_87839: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_87839:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87839:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87839:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87839: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_87840
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_87840: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_87840:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87840:Import_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87840:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87840:Try_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_87841
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_87841: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_87843
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_87843: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_87843:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87843:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87843:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87843: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_87844
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_87844: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_87844:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87844:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87844:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87844: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_87846
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_87846: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_87846:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87846:Expr_L69_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87846:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87846: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_87847
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_87847: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_87847:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87847:ImportFrom_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87847:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87847:ImportFrom_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# 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_87848
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_87848: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_87848:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87848:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87848:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87848:Assign_L42_C4"}, {"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_87849
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_87849: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_87849:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87849:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87849:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87849:Expr_L35_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_87850
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_87850: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_87850:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87850:Assign_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87850:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87850:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Cod...
# 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_87852
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_87852: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_87852:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87852:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87852:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87852: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_87853
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_87853: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_87853:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87853:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87853:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87853:FunctionDef_L31_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_87856
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_87856: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_87856:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87856:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87856:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87856:FunctionDef_L53_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_87857
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_87857: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_87857:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87857:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87857:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87857:Try_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_87858
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_87858: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...
[]
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_87859
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_87859: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_87859:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87859:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87859:FunctionDef_L26_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_87859:If_L27_C4"}, {"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_87861
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_87861: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_87861:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87861:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87861:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87861:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# 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_87862
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_87862: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_87862:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87862:If_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87862:If_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_87862:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#==================================================================== # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you ...
ajibawa-2023/Python-Code-Large/train/row_87863
38
74
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87863:Import_L26_C0", "label": "os import os", "type": "import", "loc": [26, 26], "level": 0, "parent": null, "vector": [1, 0, 0.3514, 0.0135, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87863:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87863:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87863:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87863:For_L37_C4"}, {"f": "ajibawa-2023/Python-Code-...
from googlevoice import Voice, util from os import path, remove from unittest import TestCase, main class VoiceTest(TestCase): voice = Voice() voice.login() outgoing = util.input('Outgoing number (blank to ignore call tests): ') forwarding = None if outgoing: forwarding = util.input('Forwar...
ajibawa-2023/Python-Code-Large/train/row_87864
45
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_87864:ImportFrom_L1_C0", "label": "from googlevoice import Voice, util", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0179, 0.0179, 0, 0.66, 0.0, 348, 0, 2, 0, 0, 348, 0, 0], "semantic": {"name": "googlevoice", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87864:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87864:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87864:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87864:Expr_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
DEFAULT_CONFIG = """ [auth] # Google Account email address (one associated w/ your Voice account) email= # Raw password used or login password= [gvoice] # Number to place calls from (eg, your google voice number) forwardingNumber= # Default phoneType for your forwardingNumber as defined below # 1 - Hom...
ajibawa-2023/Python-Code-Large/train/row_87865
31
53
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87865:Assign_L1_C0", "label": "DEFAULT_CONFIG =", "type": "assigned_variable", "loc": [1, 19], "level": 0, "parent": null, "vector": [14, 0, 0.1887, 0.3585, 0, 0.66, 0.0, 769, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "DEFAULT_CONFIG", "arg_names": [], "import_names": ...
[]
import re from sys import stdout from xml.parsers.expat import ParserCreate from time import gmtime from datetime import datetime from pprint import pprint try: from urllib2 import build_opener,install_opener, \ HTTPCookieProcessor,Request,urlopen from urllib import urlencode,quote except ImportError: ...
ajibawa-2023/Python-Code-Large/train/row_87866
144
314
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87866:Import_L1_C0", "label": "re import re", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0032, 0.0032, 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_87866:Try_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87866:ImportFrom_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87866:Try_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87866:ImportFrom_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
from ConfigParser import ConfigParser, NoOptionError import os import settings class Config(ConfigParser): """ ``ConfigParser`` subclass that looks into your home folder for a file named ``.gvoice`` and parses configuration data from it. """ def __init__(self): self.fname = os.path.expandu...
ajibawa-2023/Python-Code-Large/train/row_87867
37
55
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87867:ImportFrom_L1_C0", "label": "from ConfigParser import ConfigParser, NoOptionError", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0182, 0.0182, 0, 0.66, 0.0, 272, 0, 2, 0, 0, 272, 0, 0], "semantic": {"name": "ConfigParser", "arg_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87867:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87867:Expr_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87867:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87867:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
from conf import config from util import * import settings import os if settings.DEBUG: import logging logging.basicConfig() log = logging.getLogger('PyGoogleVoice') log.setLevel(logging.DEBUG) else: log = None class Voice(object): """ Main voice instance for interacting with the Google Vo...
ajibawa-2023/Python-Code-Large/train/row_87868
135
245
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87868:ImportFrom_L1_C0", "label": "from conf import config", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0041, 0.0041, 0, 0.66, 0.0, 433, 0, 1, 0, 0, 433, 0, 0], "semantic": {"name": "conf", "arg_names": [], "import_names": ["config"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87868:If_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87868:Import_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87868:If_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87868:Expr_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87868...
""" This project aims to bring the power of the Google Voice API to the Python language in a simple, easy-to-use manner. Currently it allows you to place calls, send sms, download voicemails/recorded messages, and search the various folders of your Google Voice Accounts. You can use the Python API or command line s...
ajibawa-2023/Python-Code-Large/train/row_87869
9
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_87869:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 9], "level": 0, "parent": null, "vector": [8, 0, 0.2778, 0.5, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[]
from distutils.core import setup README = """Python Google Voice ==================== Joe McCall & Justin Quick Exposing the Google Voice "API" to the Python language ------------------------------------------------------- Google Voice for Python Allows you to place calls, send sms, download voicemail, and check t...
ajibawa-2023/Python-Code-Large/train/row_87870
3
29
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87870:ImportFrom_L1_C0", "label": "from distutils.core import setup", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0345, 0.0345, 0, 0.66, 0.0, 152, 0, 1, 0, 0, 152, 0, 0], "semantic": {"name": "distutils.core", "arg_names": [], "import...
[]
""" You will need this lib: http://code.google.com/p/pygooglevoice/ + a Google Voice and GMail account in order to send SMS and emails. Google Voice lib fails with Python 3.1.2 Happy birthday Simon!! """ from googlevoice import Voice from email.mime.text import MIMEText import smtplib import datetime impor...
ajibawa-2023/Python-Code-Large/train/row_87871
38
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_87871:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0804, 0.1429, 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_87871:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87871:Assign_L16_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87871:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87871:Assign_L17_C2"}, {"f": "ajibawa-2023/Python-Co...
''' Module which prompts the user for translations and saves them. TODO: implement @author: Rodrigo Damazio ''' class Translator(object): ''' classdocs ''' def __init__(self, language): ''' Constructor ''' self._language = language def Translate(self, string_names): print string_names
ajibawa-2023/Python-Code-Large/train/row_87872
8
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_87872:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 7], "level": 0, "parent": null, "vector": [8, 0, 0.1905, 0.3333, 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_87872:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87872:Expr_L10_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87872:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87872:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-La...
''' Module which brings history information about files from Mercurial. @author: Rodrigo Damazio ''' import re import subprocess REVISION_REGEX = re.compile(r'(?P<hash>[0-9a-f]{12}):.*') def _GetOutputLines(args): ''' Runs an external process and returns its output as a list of lines. @param args: the argume...
ajibawa-2023/Python-Code-Large/train/row_87873
38
94
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87873:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0319, 0.0532, 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_87873:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87873:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87873:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87873:Assign_L18_C2"}, {"f": "ajibawa-2023/Python-Code...
''' Module which parses a string XML file. @author: Rodrigo Damazio ''' from xml.parsers.expat import ParserCreate import re #import xml.etree.ElementTree as ET class StringsParser(object): ''' Parser for string XML files. This object is not thread-safe and should be used for parsing a single file at a time...
ajibawa-2023/Python-Code-Large/train/row_87874
54
115
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87874:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0261, 0.0435, 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_87874:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87874:Expr_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87874:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87874:FunctionDef_L19_C2"}, {"f": "ajibawa-2023/Python-Code-...
#!/usr/bin/python ''' Entry point for My Tracks i18n tool. @author: Rodrigo Damazio ''' import mytracks.files import mytracks.translate import mytracks.validate import sys def Usage(): print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0] print 'Commands are:' print ' cleanup' print ' translate' p...
ajibawa-2023/Python-Code-Large/train/row_87875
58
96
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87875:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0417, 0.0521, 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_87875:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87875:Expr_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87875:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87875:Expr_L15_C2"}, {"f": "ajibawa-2023/Python-Code-L...
''' Module which compares languague files to the master file and detects issues. @author: Rodrigo Damazio ''' import os from mytracks.parser import StringsParser import mytracks.history class Validator(object): def __init__(self, languages): ''' Builds a strings file validator. Params: @para...
ajibawa-2023/Python-Code-Large/train/row_87876
65
115
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87876:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0304, 0.0522, 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_87876:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87876:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87876:FunctionDef_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_87876:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Co...
''' Module for dealing with resource files (but not their contents). @author: Rodrigo Damazio ''' import os.path from glob import glob import re MYTRACKS_RES_DIR = 'MyTracks/res' ANDROID_MASTER_VALUES = 'values' ANDROID_VALUES_MASK = 'values-*' def GetMyTracksDir(): ''' Returns the directory in which the MyTrac...
ajibawa-2023/Python-Code-Large/train/row_87877
25
45
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87877:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.1111, 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_87877:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87877:Expr_L16_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87877:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87877:Assign_L19_C2"}, {"f": "ajibawa-2023/Python-Code...