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 (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83583
100
180
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83583:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2056, 0.0056, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83583:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83583:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83583:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83583:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83584
19
66
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83584:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5606, 0.0152, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83584:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83584:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83584:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83584:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83585
141
220
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83585:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1682, 0.0045, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83585:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83585:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83585:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83585:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2012, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83586
200
426
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83586:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0869, 0.0023, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83586:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83586:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83586:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83586:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-L...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83587
81
141
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83587:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2624, 0.0071, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83587:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83587:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83587:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83587:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83588
228
373
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83588:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0992, 0.0027, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["Ma...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83588:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83588:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83588:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83588:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83589
70
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_83589:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2984, 0.0081, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83589:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83589:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83589:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83589:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-L...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83590
132
192
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83590:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1927, 0.0052, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83590:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83590:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83590:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83590:Expr_L48_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83591
94
177
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83591:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.209, 0.0056, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83591:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83591:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83591:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83591:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83592
408
687
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83592:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0539, 0.0015, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83592:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83592:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83592:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83592:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83593
137
231
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83593:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1602, 0.0043, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["Ma...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83593:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83593:FunctionDef_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83593:FunctionDef_L50_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83593:Expr_L51_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83594
23
68
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83594:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5441, 0.0147, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83594:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83594:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83594:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83594:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83595
65
127
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83595:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2913, 0.0079, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83595:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83595:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83595:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83595:Expr_L46_C4"}, {"f": "ajibawa-2023/Python-Code...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83596
270
433
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83596:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0855, 0.0023, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83596:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83596:Return_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83596:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83596:Assign_L49_C4"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83597
12
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_83597:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.6727, 0.0182, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83597:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83597:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83597:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83597:Expr_L44_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2013, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or w...
ajibawa-2023/Python-Code-Large/train/row_83598
88
157
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83598:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2357, 0.0064, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83598:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83598:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83598:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83598:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83599
123
200
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83599:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.185, 0.005, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83599:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83599:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83599:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83599:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83600
20
59
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83600:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.6271, 0.0169, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83600:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83600:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83600:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83600:Expr_L44_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83601
40
92
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83601:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.4022, 0.0109, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83601:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83601:Assign_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83601:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83601:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code...
##-***************************************************************************** ## ## Copyright (c) 2009-2013, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83602
59
116
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83602:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.319, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83602:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83602:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83602:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83602:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83603
353
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_83603:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0799, 0.0022, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83603:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83603:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83603:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83603:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83604
25
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_83604:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0135, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaCm...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83604:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83604:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83604:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83604:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83605
59
116
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83605:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.319, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83605:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83605:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83605:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83605:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83606
197
338
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83606:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1095, 0.003, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83606:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83606:If_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83606:If_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83606:Assign_L45_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
# # Copyright (c) 2010 Sony Pictures Imageworks 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 list of c...
ajibawa-2023/Python-Code-Large/train/row_83607
65
116
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83607:ImportFrom_L33_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [33, 33], "level": 0, "parent": null, "vector": [1, 0, 0.2845, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83607:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83607:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83607:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83607:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-L...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83608
191
276
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83608:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1341, 0.0036, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83608:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83608:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83608:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83608:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83609
53
100
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83609:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.37, 0.01, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaCmd...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83609:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83609:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83609:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83609:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-L...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83610
196
288
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83610:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1285, 0.0035, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83610:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83610:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83610:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83610:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83611
77
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_83611:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2517, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83611:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83611:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83611:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83611:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83612
144
259
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83612:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0039, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83612:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83612:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83612:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83612:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-L...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83613
72
148
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83613:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83613:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83613:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83613:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83613:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83614
171
306
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83614:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1209, 0.0033, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83614:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83614:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83614:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83614:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Code...
##-***************************************************************************** ## ## Copyright (c) 2009-2013, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83615
159
312
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83615:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1186, 0.0032, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83615:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83615:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83615:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83615:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83616
76
148
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83616:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83616:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83616:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83616:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83616:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2013, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83617
117
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_83617:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1498, 0.004, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83617:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83617:FunctionDef_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83617:FunctionDef_L48_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83617:Expr_L49_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83618
21
72
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83618:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5139, 0.0139, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83618:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83618:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83618:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83618:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
ajibawa-2023/Python-Code-Large/train/row_83619
84
177
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83619:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.209, 0.0056, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["May...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83619:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83619:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83619:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83619:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/env mayapy ##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source ...
ajibawa-2023/Python-Code-Large/train/row_83620
32
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_83620:Import_L41_C0", "label": "glob import glob", "type": "import", "loc": [41, 41], "level": 0, "parent": null, "vector": [1, 0, 0.3905, 0.0095, 0, 0.66, 0.0, 958, 0, 1, 0, 0, 958, 0, 0], "semantic": {"name": "glob", "arg_names": [], "import_names": ["glob"], "rhs_cal...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83620:If_L77_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83620:Assign_L80_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83620:If_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83620:Assign_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/env python2.6 #-*- mode: python -*- ##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistrib...
ajibawa-2023/Python-Code-Large/train/row_83622
99
182
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83622:ImportFrom_L37_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2033, 0.0055, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83622:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83622:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83622:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83622:Assign_L48_C8"}, {"f": "ajibawa-2023/Python-...
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with ...
ajibawa-2023/Python-Code-Large/train/row_83623
2
38
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83623:ImportFrom_L37_C0", "label": "from Path import Path", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.9737, 0.0263, 0, 0.66, 0.0, 754, 0, 1, 0, 0, 754, 0, 0], "semantic": {"name": "Path", "arg_names": [], "import_names": ["Path"],...
[]
#!/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_83624
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_83624: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_83624:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83624:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83624:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83624:Return_L54_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
ajibawa-2023/Python-Code-Large/train/row_83625
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_83625: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_83625:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83625:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83625:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83625:Assign_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
ajibawa-2023/Python-Code-Large/train/row_83627
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_83627: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_83627:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83627:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83627:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83627:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
ajibawa-2023/Python-Code-Large/train/row_83628
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_83628: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_83628:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83628:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83628:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83628: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_83629
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_83629: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_83629:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83629:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83629:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83629:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
ajibawa-2023/Python-Code-Large/train/row_83631
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_83631: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_83631:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83631:Expr_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83631:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83631: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_83632
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_83632: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_83632:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83632:ImportFrom_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83632:Try_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83632: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_83633
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_83633: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_83633:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83633:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83633:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83633: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_83634
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_83634: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_83634:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83634:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83634:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83634: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_83636
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_83636: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_83636:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83636:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83636:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83636: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_83637
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_83637: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_83637:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83637:Expr_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83637:ClassDef_L62_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83637:Expr_L63_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_83639
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_83639: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_83640
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_83640: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_83640:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83640:Import_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83640:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83640:Try_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
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_83641
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_83641: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_83641:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83641:FunctionDef_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83641:FunctionDef_L26_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_83641:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code...
# 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_83642
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_83642: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_83642:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83642:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83642:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83642:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_83644
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_83644: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_83644:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83644:ImportFrom_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83644:Try_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83644:ImportFrom_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/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_83645
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_83645: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_83645:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83645:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83645:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83645: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_83647
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_83647: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_83647:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83647:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83647:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83647:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright (C) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
ajibawa-2023/Python-Code-Large/train/row_83648
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_83648: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_83648:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83648:Assign_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83648:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83648: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_83649
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_83649: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_83649:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83649:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83649:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83649:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Large...
#!/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_83651
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_83651: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_83651:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83651:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83651:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83651:Expr_L35_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
__version__ = "1.0c2"
ajibawa-2023/Python-Code-Large/train/row_83652
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_83652: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_83653
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_83653: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_83653:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83653:Expr_L69_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83653:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83653: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_83654
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_83654: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_83654:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83654:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83654:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83654:Try_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_...
# 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_83655
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_83655: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_83655:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83655:If_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83655:If_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_83655:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/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_83656
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_83656: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_83656:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83656:Expr_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83656:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83656:Expr_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t...
"""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_83657
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_83657: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_83657:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83657:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83657:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83657: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_83658
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_83658: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_83658:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83658:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83658:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83658:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83661
247
440
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83661:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0455, 0.0023, 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_83661:FunctionDef_L103_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83661:Expr_L104_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83661:FunctionDef_L103_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83661:Expr_L105_C4"}, {"f": "ajibawa-2023/Python-Co...
# Copyright (c) 2009 John Schember # 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 rights # to use, copy, modify, merge, publish, distri...
ajibawa-2023/Python-Code-Large/train/row_83662
63
126
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83662:ImportFrom_L22_C0", "label": "from PyQt4.Qt import QFrame, QWidget, QTextEdit\u2026", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.1746, 0.0079, 0, 0.66, 0.0, 570, 0, 5, 0, 0, 570, 0, 0], "semantic": {"name": "PyQt4.Qt", "arg_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83662:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83662:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83662:FunctionDef_L26_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83662:Expr_L27_C8"}, {"f": "ajibawa-2023/Python-Co...
from robot import Robot class TheRobot(Robot): '''Strategy: Drive around the edge of the arena, Shoot whatever gets in the way. ''' def respond(self): self.ping() self.turret_forward() self.ping_react() def turret_forward(self): 'keep the turret pointed...
ajibawa-2023/Python-Code-Large/train/row_83663
27
44
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83663:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0227, 0.0227, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83663:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83663:Expr_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83663:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83663:FunctionDef_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
from robot import Robot class TheRobot(Robot): '''Strategy: Drive around real fast, Don't run in to anything, Shoot stuff that gets in the way. ''' def initialize(self): self._spinning = False def respond(self): if self._spinning: self.spin() ...
ajibawa-2023/Python-Code-Large/train/row_83664
41
68
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83664:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0147, 0.0147, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83664:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83664:Expr_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83664:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83664:FunctionDef_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
import random from robot import Robot class TheRobot(Robot): '''Strategy: Drive around in sort of a circle, Shoot randomly. ''' def initialize(self): self._state = 'FORWARD' self._fwdfor_ticks = None self._rightfor_ticks = None self._unstick_freq = 12 ...
ajibawa-2023/Python-Code-Large/train/row_83665
75
116
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83665:Import_L1_C0", "label": "random import random", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0086, 0.0086, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83665:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83665:Expr_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83665:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83665:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
from robot import Robot class TheRobot(Robot): '''Strategy: Circle around the center, Home in on any found robot and shoot it. ''' def initialize(self): self._foundrobotangle = None def respond(self): self.turret_forward() self.ping() kind, angle, d...
ajibawa-2023/Python-Code-Large/train/row_83666
67
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_83666:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0106, 0.0106, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83666:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83666:Expr_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83666:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83666:FunctionDef_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
from robot import Robot from math import copysign class TheRobot(Robot): '''Strategy: Stay near the middle of the field, Move if being attacked. ''' def initialize(self): self.health = 100 self._flee = 15 self._goto = 0 self._moveto_choices = [7, 7, -7,...
ajibawa-2023/Python-Code-Large/train/row_83667
55
91
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83667:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.011, 0.011, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83667:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83667:Expr_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83667:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83667:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
from robot import Robot class TheRobot(Robot): '''Strategy: Get in to a corner, Look around and shoot stuff, Try to remember where stuff was, so you can shoot it real good. ''' def initialize(self): # Try to get in to a corner self.forseconds(5, self.istep, self...
ajibawa-2023/Python-Code-Large/train/row_83668
63
119
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83668:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0084, 0.0084, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83668:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83668:Expr_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83668:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83668:FunctionDef_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# This example was used in verifying the problem outlined # in issue #5 in the bug tracker. from robot import Robot class TheRobot(Robot): def respond(self): self.turret(0) self.pingcheck() def pingcheck(self): g = self.sensors['GYRO'] if -2 <= g <= 2: self.ping() ...
ajibawa-2023/Python-Code-Large/train/row_83669
15
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_83669:ImportFrom_L4_C0", "label": "from robot import Robot", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.1905, 0.0476, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83669:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83669:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83669:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83669:Expr_L8_C8"}, {"f": "ajibawa-2023/Python-Code-L...
from robot import Robot class TheRobot(Robot): '''Strategy: Look around and shoot stuff, Move if attacked. ''' def initialize(self): self.health = 100 self._movefor = 0 self._moveforce = 0 self._turnto = 0 def respond(self): self.turnto() ...
ajibawa-2023/Python-Code-Large/train/row_83670
40
70
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83670:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0143, 0.0143, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83670:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83670:Expr_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83670:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83670:FunctionDef_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
import random from math import pi from robot import Robot class TheRobot(Robot): '''Strategy: Drive around blindly in several different patterns, Shoot stuff. This robot shows an unusual style of coding using "generators" which makes programs that require sequential steps somewhat ...
ajibawa-2023/Python-Code-Large/train/row_83671
75
109
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83671:Import_L1_C0", "label": "random import random", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0092, 0.0092, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83671:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83671:Expr_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83671:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83671:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
from robot import Robot class TheRobot(Robot): def initialize(self): # Will be called once, immediately after robot is created # Must finish in less than 1 second pass def respond(self): # Will be called 60 times per second # Must finish in less than 0.015 seconds ...
ajibawa-2023/Python-Code-Large/train/row_83672
4
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_83672:ImportFrom_L1_C0", "label": "from robot import Robot", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0556, 0.0556, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["Robot"]...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83672:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83672:FunctionDef_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83672:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83672:FunctionDef_L11_C4"}]
# Copyright 2010-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83673
22
48
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83673:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.4167, 0.0208, 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_83673:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83673:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83673:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83673:Expr_L32_C8"}, {"f": "ajibawa-2023/Python-Co...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83674
30
81
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83674:ClassDef_L20_C0", "label": "Fake", "type": "class", "loc": [20, 34], "level": 0, "parent": null, "vector": [3, 0, 0.3333, 0.1852, 0, 0.66, 0.0, 120, 0, 5, 0, 0, 186, 0, 0], "semantic": {"name": "Fake", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83674:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83674:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83674:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83674:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Pytho...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83675
192
253
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83675:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0791, 0.004, 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_83675:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83675:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83675:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83675:Assign_L34_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83679
227
341
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83679:Import_L20_C0", "label": "subprocess import subprocess", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0587, 0.0029, 0, 0.66, 0.0, 394, 0, 1, 0, 0, 394, 0, 0], "semantic": {"name": "subprocess", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83679:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83679:FunctionDef_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83679:FunctionDef_L41_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83679:Assign_L42_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python """ highlightedtextedit.py A PyQt custom widget example for Qt Designer. Copyright (C) 2006 David Boddie <david@boddie.org.uk> Copyright (C) 2005-2006 Trolltech ASA. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ...
ajibawa-2023/Python-Code-Large/train/row_83680
104
201
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83680:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 24], "level": 0, "parent": null, "vector": [8, 0, 0.0672, 0.1095, 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_83680:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83680:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83680:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83680:FunctionDef_L37_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83681
12
36
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83681:FunctionDef_L20_C0", "label": "select_view_module", "type": "function", "loc": [20, 32], "level": 0, "parent": null, "vector": [2, 0, 0.7222, 0.3611, 0, 0.66, 0.0, 808, 0, 1, 0, 0, 0, 0, 0], "semantic": {"name": "select_view_module", "arg_names": ["name"], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83681:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83681:If_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83681:If_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83681:Import_L23_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83682
47
107
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83682:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.1869, 0.0093, 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_83682:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83682:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83682:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83682:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code...
# Settings use_qt_settings = True # Robot subprocess subproc_python = '/usr/bin/python' subproc_main = 'control.py' init_timeout = 1.0 tick_timeout = 0.015 # Robot selection base_dir = 'robots' # user robot files generally stored here more_robot_dirs = ['examples'] # In order, in case of dup name ...
ajibawa-2023/Python-Code-Large/train/row_83684
49
92
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83684:Assign_L2_C0", "label": "use_qt_settings =", "type": "assigned_variable", "loc": [2, 2], "level": 0, "parent": null, "vector": [14, 0, 0.0217, 0.0109, 0, 0.66, 0.0, 758, 1, 0, 0, 0, 0, 4, 0], "semantic": {"name": "use_qt_settings", "arg_names": [], "import_names":...
[]
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83685
109
232
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83685:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0862, 0.0043, 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_83685:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83685:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83685:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83685:Assign_L31_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83687
702
975
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83687:Import_L20_C0", "label": "os import os", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.0205, 0.001, 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_83687:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83687:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83687:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83687:Assign_L47_C8"}, {"f": "ajibawa-2023/Python-...
# Copyright 2009-2014 Lee Harr # # This file is part of pybotwar. # http://pybotwar.googlecode.com/ # # Pybotwar is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_83688
128
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_83688:Import_L20_C0", "label": "pygame import pygame", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.107, 0.0053, 0, 0.66, 0.0, 87, 0, 1, 0, 0, 87, 0, 0], "semantic": {"name": "pygame", "arg_names": [], "import_names": ["pygame"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83688:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83688:Try_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83688:Try_L37_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83688:Assign_L38_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
#!/usr/bin/python # Copyright 2011 Google, Inc. All Rights Reserved. # simple script to walk source tree looking for third-party licenses # dumps resulting html page to stdout import os, re, mimetypes, sys # read source directories to scan from command line SOURCE = sys.argv[1:] # regex to find /* */ style commen...
ajibawa-2023/Python-Code-Large/train/row_83689
51
98
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83689:Import_L8_C0", "label": "os import os, re, mimetypes\u2026", "type": "import", "loc": [8, 8], "level": 0, "parent": null, "vector": [1, 0, 0.0816, 0.0102, 0, 0.66, 0.0, 688, 0, 4, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83689:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83689:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83689:FunctionDef_L32_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_83689:Assign_L33_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python import collections import datetime import difflib import heapq import itertools import json import logging import optparse import os import cPickle as pickle import pprint import Queue import re import sys import tempfile import threading import time import urlparse import MySQLdb import MySQLdb...
ajibawa-2023/Python-Code-Large/train/row_83690
401
676
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83690:Import_L3_C0", "label": "collections import collections", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0044, 0.0015, 0, 0.66, 0.0, 193, 0, 1, 0, 0, 193, 0, 0], "semantic": {"name": "collections", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83690:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83690:Return_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83690:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83690:If_L32_C2"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. from distutils.core import setup setup(name = "vtdb", packages=["vtdb", "net"], platforms = "Any", )
ajibawa-2023/Python-Code-Large/train/row_83691
2
10
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83691:ImportFrom_L5_C0", "label": "from distutils.core import setup", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.1, 0, 0.66, 0.0, 152, 0, 1, 0, 0, 152, 0, 0], "semantic": {"name": "distutils.core", "arg_names": [], "import_names...
[]
import itertools import json import logging import os import random from net import bsonrpc from net import gorpc class ZkOccError(Exception): pass # # the ZkNode dict returned by these structures has the following members: # # Path string # Data string # Stat ZkStat # Children []string # Cached bool...
ajibawa-2023/Python-Code-Large/train/row_83692
127
255
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83692:Import_L1_C0", "label": "itertools import itertools", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0039, 0.0039, 0, 0.66, 0.0, 808, 0, 1, 0, 0, 808, 0, 0], "semantic": {"name": "itertools", "arg_names": [], "import_names": ["iter...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83692:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83692:FunctionDef_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83692:FunctionDef_L42_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_83692:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-...
# Implement a sensible wrapper that treats python objects as dictionaries # with sensible restrictions on serialization. import json def _default(o): if hasattr(o, '_serializable_attributes'): return dict([(k, v) for k, v in o.__dict__.iteritems() if k in o._serializable_attrib...
ajibawa-2023/Python-Code-Large/train/row_83693
25
43
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83693:Import_L4_C0", "label": "json import json", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.093, 0.0233, 0, 0.66, 0.0, 463, 0, 1, 0, 0, 463, 0, 0], "semantic": {"name": "json", "arg_names": [], "import_names": ["json"], "rhs_call_na...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83693:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83693:If_L7_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83693:If_L7_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_83693:Return_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
# zkns - naming service. # # This uses zookeeper to resolve a list of servers to answer a # particular query type. # # Additionally, config information can be embedded nearby for future updates # to the python client. import collections import json import random from zk import zkjson SrvEntry = collections.namedtup...
ajibawa-2023/Python-Code-Large/train/row_83694
57
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83694:Import_L9_C0", "label": "collections import collections", "type": "import", "loc": [9, 9], "level": 0, "parent": null, "vector": [1, 0, 0.0874, 0.0097, 0, 0.66, 0.0, 193, 0, 1, 0, 0, 193, 0, 0], "semantic": {"name": "collections", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83694:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83694:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83694:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83694:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # Handle transport and serialization callbacks for Go-style RPC servers. # # This is pretty simple. The client initiates an HTTP CONNECT and then # hijacks the socket...
ajibawa-2023/Python-Code-Large/train/row_83695
181
358
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83695:Import_L10_C0", "label": "errno import errno", "type": "import", "loc": [10, 10], "level": 0, "parent": null, "vector": [1, 0, 0.0279, 0.0028, 0, 0.66, 0.0, 546, 0, 1, 0, 0, 546, 0, 0], "semantic": {"name": "errno", "arg_names": [], "import_names": ["errno"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83695:FunctionDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83695:Return_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83695:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83695:Assign_L43_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # Go-style RPC client using BSON as the codec. import bson import hmac import struct try: # use optimized cbson which has slightly different API import cbson d...
ajibawa-2023/Python-Code-Large/train/row_83696
57
104
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_83696:Import_L7_C0", "label": "bson import bson", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0673, 0.0096, 0, 0.66, 0.0, 432, 0, 1, 0, 0, 432, 0, 0], "semantic": {"name": "bson", "arg_names": [], "import_names": ["bson"], "rhs_call_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_83696:Try_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83696:Import_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_83696:Try_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_83696:Assign_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
# Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file.
ajibawa-2023/Python-Code-Large/train/row_83697
0
4
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[]
[]