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
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Editor Plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui import (QVB...
ajibawa-2023/Python-Code-Large/train/row_87643
1,225
1,984
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87643:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0035, 0.0005, 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_87643:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87643:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87643:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87643:For_L48_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.plugins ================= Here, 'plugins' are widgets designed specifically for Spyder These plugins inherit the following classes (SpyderP...
ajibawa-2023/Python-Code-Large/train/row_87644
180
310
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87644:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0339, 0.0258, 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_87644:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87644:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87644:ClassDef_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87644:FunctionDef_L39_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Working Directory Plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui ...
ajibawa-2023/Python-Code-Large/train/row_87645
201
344
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87645:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0203, 0.0029, 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_87645:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87645:FunctionDef_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87645:FunctionDef_L37_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87645:Assign_L38_C8"}, {"f": "ajibawa-2023/Python-...
# -*- coding: utf-8 -*- # # Copyright © 2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Shortcut management""" from spyderlib.qt.QtGui import (QVBoxLayout, QComboBox, QItemDelegate, QTableView, QMessageBox, QPushBu...
ajibawa-2023/Python-Code-Large/train/row_87646
259
357
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87646:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0196, 0.0028, 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_87646:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87646:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87646:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87646:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """External Console plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui i...
ajibawa-2023/Python-Code-Large/train/row_87647
671
1,091
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87647:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0064, 0.0009, 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_87647:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87647:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87647:FunctionDef_L40_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87647:Expr_L41_C8"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Find in Files Plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 import sys, os # For debu...
ajibawa-2023/Python-Code-Large/train/row_87648
95
153
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87648:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0458, 0.0065, 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_87648:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87648:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87648:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87648:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Run configurations related dialogs and widgets and data models""" from spyderlib.qt.QtGui import (QVBoxLayout, QDialog, QWidget, QGroupBox, ...
ajibawa-2023/Python-Code-Large/train/row_87649
240
346
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87649:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0202, 0.0029, 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_87649:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87649:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87649:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87649:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """IPython v0.11+ Plugin""" import sys from spyderlib.qt.QtGui import QHBoxLayout # For debugging purpose: STDOUT = sys.stdout # Local imports from spy...
ajibawa-2023/Python-Code-Large/train/row_87650
40
71
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87650:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0986, 0.0141, 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_87650:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87650:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87650:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87650:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Internal Console Plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui i...
ajibawa-2023/Python-Code-Large/train/row_87651
185
327
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87651:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0214, 0.0031, 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_87651:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87651:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87651:ClassDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87651:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Project Explorer Plugin""" from spyderlib.qt.QtGui import QFontDialog from spyderlib.qt.QtCore import SIGNAL import sys # For debugging purpose: STDOUT...
ajibawa-2023/Python-Code-Large/train/row_87652
86
146
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87652:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0479, 0.0068, 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_87652:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87652:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87652:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87652:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) import os if os.environ['QT_API'] == 'pyqt': from PyQt4.QtCore import * from PyQt4.Qt import QCoreApplication from PyQt4.Qt import Qt from PyQt4.QtCore imp...
ajibawa-2023/Python-Code-Large/train/row_87653
12
19
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87653:Import_L7_C0", "label": "os import os", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.3684, 0.0526, 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_87653:If_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87653:ImportFrom_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87653:If_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87653:ImportFrom_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) import os if os.environ['QT_API'] == 'pyqt': from PyQt4.Qt import QKeySequence, QTextCursor from PyQt4.QtGui import * else: from PySide.QtGui import *
ajibawa-2023/Python-Code-Large/train/row_87654
5
13
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87654:Import_L7_C0", "label": "os import os", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.5385, 0.0769, 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_87654:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87654:ImportFrom_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87654:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87654:ImportFrom_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Transitional package (PyQt4 --> PySide)""" import os _modname = os.environ.setdefault('QT_API', 'pyqt') assert _modname in ('pyqt', 'pyside') if _modname == 'pyqt': ...
ajibawa-2023/Python-Code-Large/train/row_87655
15
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_87655:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.1707, 0.0244, 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_87655:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87655:Try_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87655:Try_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87655:ImportFrom_L26_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) import os if os.environ['QT_API'] == 'pyqt': from PyQt4.QtWebKit import * else: from PySide.QtWebKit import *
ajibawa-2023/Python-Code-Large/train/row_87656
4
12
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87656:Import_L7_C0", "label": "os import os", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.5833, 0.0833, 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_87656:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87656:ImportFrom_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87656:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87656:ImportFrom_L12_C4"}]
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.qt.compat ------------------- Transitional module providing compatibility functions intended to help migrating from PyQt to PySide. This modu...
ajibawa-2023/Python-Code-Large/train/row_87657
93
198
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87657:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0631, 0.0606, 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_87657:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87657:Import_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87657:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87657:Try_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Patching matplotlib's FigureManager""" import sys def set_backend(backend): """Set matplotlib's backend: Qt4Agg, WXAgg, ...""" import matpl...
ajibawa-2023/Python-Code-Large/train/row_87658
91
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_87658:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0473, 0.0068, 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_87658:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87658:Expr_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87658:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87658:Import_L14_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Module checking Spyder requirements """ def check_version(package, module_name, version_attr, required_str): wng = "\n%s v%s or higher is required...
ajibawa-2023/Python-Code-Large/train/row_87659
30
53
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87659:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.1509, 0.0566, 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_87659:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87659:Assign_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87659:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87659:Try_L13_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """External Python Shell's input hook manager As of today, only PyQt4 and Tkinter are supported this way. This workaround is intended to be used on Windows pla...
ajibawa-2023/Python-Code-Large/train/row_87661
100
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_87661:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 23], "level": 0, "parent": null, "vector": [8, 0, 0.0847, 0.096, 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_87661:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87661:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87661:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87661:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """External Python Shell widget: execute Python script in a separate process""" import sys, os, os.path as osp, socket # Debug STDOUT = sys.stdout STDER...
ajibawa-2023/Python-Code-Large/train/row_87662
361
594
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87662:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0118, 0.0017, 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_87662:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87662:FunctionDef_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87662:FunctionDef_L39_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87662:Expr_L40_C8"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- """External shell's introspection and notification servers""" from spyderlib.qt.QtCore import QThread, SIGNAL, Signal import threading import socket from spyderlib.baseconfig import get_conf_path from spyderlib.utils import select_port, log_last_error from spyderlib.utils.bsdsocket ...
ajibawa-2023/Python-Code-Large/train/row_87665
115
179
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87665:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 2], "level": 0, "parent": null, "vector": [8, 0, 0.0112, 0.0056, 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_87665:If_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87665:Import_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87665:If_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87665:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_8...
# -*- coding: utf-8 -*- # # Copyright © 2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 import sys, os, os.path as osp from time import time, strftime...
ajibawa-2023/Python-Code-Large/train/row_87666
208
323
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87666:Import_L12_C0", "label": "sys import sys, os, osp", "type": "import", "loc": [12, 12], "level": 0, "parent": null, "vector": [1, 0, 0.0372, 0.0031, 0, 0.66, 0.0, 509, 0, 3, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87666:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87666:Assign_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87666:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87666:Assign_L39_C4"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.widgets.externalshell =============================== External Shell widget: execute Python script/terminal in a separate process """
ajibawa-2023/Python-Code-Large/train/row_87667
1
12
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87667:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 12], "level": 0, "parent": null, "vector": [8, 0, 0.7917, 0.5, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[]
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """External System Shell widget: execute terminal in a separate process""" import sys, os # Debug STDOUT = sys.stdout STDERR = sys.stderr from spyder...
ajibawa-2023/Python-Code-Large/train/row_87669
66
142
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87669:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0493, 0.007, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87669:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87669:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87669:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87669:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Object Editor Dialog based on Qt """ from spyderlib.qt.QtCore import QObject, SIGNAL class DialogKeeper(QObject): def __init__(self): ...
ajibawa-2023/Python-Code-Large/train/row_87670
80
137
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87670:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0584, 0.0219, 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_87670:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87670:FunctionDef_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87670:FunctionDef_L14_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87670:Expr_L15_C8"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Customized combobox widgets""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtG...
ajibawa-2023/Python-Code-Large/train/row_87671
136
209
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87671:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0335, 0.0048, 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_87671:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87671:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87671:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87671:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Text Editor Dialog based on Qt """ from spyderlib.qt.QtCore import Qt, SIGNAL, SLOT from spyderlib.qt.QtGui import QVBoxLayout, QTextEdit, QDialog, QD...
ajibawa-2023/Python-Code-Large/train/row_87672
53
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_87672:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0851, 0.0319, 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_87672:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87672:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87672:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87672:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.widgets ================= Widgets defined in this module may be used in any other Qt-based application They are also used in Spyder throug...
ajibawa-2023/Python-Code-Large/train/row_87673
144
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_87673:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 15], "level": 0, "parent": null, "vector": [8, 0, 0.05, 0.0409, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87673:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87673:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87673:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87673:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Utilities for the Dictionary Editor Widget and Dialog based on Qt """ import re #----Numpy arrays support class FakeObject(object): """Fake class u...
ajibawa-2023/Python-Code-Large/train/row_87678
115
184
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87678:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0435, 0.0163, 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_87678:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87678:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87678:Try_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87678:ImportFrom_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Outline explorer widget ******************************** WARNING *************************************** This module is not used anymore in Spyder ...
ajibawa-2023/Python-Code-Large/train/row_87680
84
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_87680:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0924, 0.0756, 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_87680:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87680:FunctionDef_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87680:FunctionDef_L34_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87680:Expr_L35_C8"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Internal shell widget : PythonShellWidget + Interpreter""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0...
ajibawa-2023/Python-Code-Large/train/row_87681
242
394
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87681:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0178, 0.0025, 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_87681:Try_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87681:ImportFrom_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87681:Try_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87681:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Find/Replace widget""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui impor...
ajibawa-2023/Python-Code-Large/train/row_87682
218
357
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87682:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0196, 0.0028, 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_87682:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87682:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87682:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87682:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Simple web browser widget""" from spyderlib.qt.QtGui import (QHBoxLayout, QWidget, QVBoxLayout, QProgressBar, QLabel, QMe...
ajibawa-2023/Python-Code-Large/train/row_87683
161
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_87683:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0039, 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_87683:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87683:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87683:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87683:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- from spyderlib.qt.QtGui import (QLineEdit, QIcon, QHBoxLayout, QColor, QPushButton, QColorDialog, QPixmap) from spyderlib.qt.QtCore import SIGNAL, QSize, Slot, Property class ColorButton(QPushButton): """ Color choosing push button """ ...
ajibawa-2023/Python-Code-Large/train/row_87684
60
87
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87684:ImportFrom_L3_C0", "label": "from spyderlib.qt.QtGui import QLineEdit, QIcon, QHBoxLayout\u2026", "type": "import", "loc": [3, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0402, 0.023, 0, 0.66, 0.0, 314, 0, 7, 0, 0, 314, 0, 0], "semantic": {"name": "spyderli...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87684:ClassDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87684:Expr_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87684:ClassDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87684:Assign_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Editor widget syntax highlighters based on QtGui.QSyntaxHighlighter (Python syntax highlighting rules are inspired from idlelib) """ import sys, re, k...
ajibawa-2023/Python-Code-Large/train/row_87685
443
755
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87685:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0113, 0.0053, 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_87685:ClassDef_L123_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87685:Expr_L124_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87685:ClassDef_L123_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87685:Assign_L126_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """QPlainTextEdit base class""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 import sys import re ...
ajibawa-2023/Python-Code-Large/train/row_87686
888
1,290
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87686:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0054, 0.0008, 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_87686:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87686:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87686:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87686:FunctionDef_L37_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.widgets.sourcecode ============================ Source code related widgets (code editor, console) based exclusively on Qt """
ajibawa-2023/Python-Code-Large/train/row_87687
1
12
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87687:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 12], "level": 0, "parent": null, "vector": [8, 0, 0.7917, 0.5, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[]
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Terminal emulation tools""" import os class ANSIEscapeCodeHandler(object): """ANSI Escape sequences handler""" if os.name == 'nt': #...
ajibawa-2023/Python-Code-Large/train/row_87689
51
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_87689:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0654, 0.0093, 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_87689:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87689:Expr_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87689:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87689:If_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.widgets ================= Widgets defined in this module may be used in any other Qt-based application They are also used in Spyder throug...
ajibawa-2023/Python-Code-Large/train/row_87691
1
15
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87691:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 15], "level": 0, "parent": null, "vector": [8, 0, 0.7333, 0.6, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[]
# -*- coding: utf-8 -*- # # Copyright © 2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Editor tools: outline explorer, etc.""" import sys import re import os.path as osp from spyderlib.qt.QtGui import (QWidget, QTreeWidgetItem, QHBoxLayout,...
ajibawa-2023/Python-Code-Large/train/row_87692
379
551
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87692:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0127, 0.0018, 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_87692:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87692:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87692:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87692:FunctionDef_L40_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Tabs widget""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGui import (QTabW...
ajibawa-2023/Python-Code-Large/train/row_87693
215
322
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87693:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0217, 0.0031, 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_87693:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87693:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87693:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87693:FunctionDef_L34_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """pydoc widget""" from spyderlib.qt.QtGui import QApplication, QCursor from spyderlib.qt.QtCore import QThread, QUrl, Qt import sys, os.path as osp #...
ajibawa-2023/Python-Code-Large/train/row_87694
78
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_87694:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0603, 0.0086, 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_87694:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87694:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87694:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87694:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Find in files widget""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from __future__ import with_...
ajibawa-2023/Python-Code-Large/train/row_87695
505
795
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87695:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0088, 0.0013, 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_87695:FunctionDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87695:Expr_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87695:FunctionDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87695:Return_L40_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Module that provides a GUI-based editor for matplotlib's figure options""" from spyderlib.widgets.formlayout import fedit from spyderlib.config import ge...
ajibawa-2023/Python-Code-Large/train/row_87696
215
398
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87696:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0176, 0.0025, 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_87696:FunctionDef_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87696:Expr_L79_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87696:FunctionDef_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87696:If_L80_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding:utf-8 -*- """ IPython v0.11+ frontend widget """ #import os #os.environ['QT_API'] = 'pyqt' #from IPython.external import qt # IPython imports from IPython.utils.localinterfaces import LOCAL_IPS from IPython.frontend.qt.console.qtconsoleapp import IPythonQtConsoleApp class IPythonApp(IPyth...
ajibawa-2023/Python-Code-Large/train/row_87698
20
39
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87698:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0769, 0.0769, 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_87698:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87698:FunctionDef_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87698:FunctionDef_L16_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87698:Assign_L18_C8"}, {"f": "ajibawa-2023/Python-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Spyder path manager""" from __future__ import with_statement from spyderlib.qt.QtGui import (QDialog, QListWidget, QDialogButtonBox, ...
ajibawa-2023/Python-Code-Large/train/row_87699
149
248
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87699:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0282, 0.004, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87699:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87699:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87699:FunctionDef_L29_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87699:Expr_L30_C8"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding:utf-8 -*- """ Importing guiqwt's pyplot module or matplotlib's pyplot """ try: from guiqwt.pyplot import * except ImportError: from matplotlib.pyplot import *
ajibawa-2023/Python-Code-Large/train/row_87701
4
9
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87701:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 4], "level": 0, "parent": null, "vector": [8, 0, 0.3333, 0.3333, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87701:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87701:ImportFrom_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87701:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87701:ImportFrom_L9_C4"}]
# -*- coding: utf-8 -*- """ Spyder License Agreement (MIT License) -------------------------------------- Copyright (c) 2009-2011 Pierre Raybaut 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 So...
ajibawa-2023/Python-Code-Large/train/row_87702
6
37
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87702:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 28], "level": 0, "parent": null, "vector": [8, 0, 0.4054, 0.7297, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[]
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Source code text utilities """ # Order is important: EOL_CHARS = (("\r\n", 'nt'), ("\n", 'posix'), ("\r", 'mac')) def get_eol_chars(text): """...
ajibawa-2023/Python-Code-Large/train/row_87706
27
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_87706:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.186, 0.0698, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87706:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87706:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87706:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87706:For_L16_C4"}, {"f": "ajibawa-2023/Python-Code-La...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Utilities and wrappers around inspect module""" import inspect, re # Local imports: from spyderlib.utils import encoding SYMBOLS = r"[^\'\"a-zA-Z0-...
ajibawa-2023/Python-Code-Large/train/row_87707
168
233
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87707:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.03, 0.0043, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87707:FunctionDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87707:Expr_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87707:FunctionDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87707:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Qt utilities""" import os import os.path as osp from spyderlib.qt.QtGui import (QAction, QStyle, QWidget, QIcon, QApplication, ...
ajibawa-2023/Python-Code-Large/train/row_87708
255
374
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87708:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0187, 0.0027, 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_87708:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87708:Expr_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87708:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87708:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Python class/function parser Derived from "Demo/parser/example.py" from Python distribution ******************************** WARNING *********************...
ajibawa-2023/Python-Code-Large/train/row_87709
111
196
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87709:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0612, 0.0561, 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_87709:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87709:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87709:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87709:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- """Module completion auxiliary functions""" #***************************************************************************** # # The functions on this file were taken from the file ipy_completers, # which belongs to the IPython project. They were added here because a) # IPython is not a runtim...
ajibawa-2023/Python-Code-Large/train/row_87710
96
179
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87710:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 2], "level": 0, "parent": null, "vector": [8, 0, 0.0112, 0.0056, 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_87710:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87710:Expr_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87710:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87710:Assign_L39_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Running programs utilities """ import os, sys, subprocess, imp, os.path as osp def get_nt_program_name(name): """Return Windows-specific prog...
ajibawa-2023/Python-Code-Large/train/row_87712
66
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_87712:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.069, 0.0259, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87712:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87712:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87712:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87712:If_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Text encoding utilities, text file I/O Functions 'get_coding', 'decode', 'encode' and 'to_unicode' come from Eric4 source code (Utilities/__init___.py)...
ajibawa-2023/Python-Code-Large/train/row_87713
77
160
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87713:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 12], "level": 0, "parent": null, "vector": [8, 0, 0.0594, 0.0375, 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_87713:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87713:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87713:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87713:Try_L23_C4"}, {"f": "ajibawa-2023/Python-Code-La...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Environment variable utilities """ from spyderlib.qt.QtGui import QDialog, QMessageBox import os # Local imports from spyderlib.baseconfig impor...
ajibawa-2023/Python-Code-Large/train/row_87715
86
138
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87715:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.058, 0.0217, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87715:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87715:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87715:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87715:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """BSD socket interface communication utilities""" import socket, struct, cPickle as pickle SZ = struct.calcsize("l") def write_packet(sock, data, alr...
ajibawa-2023/Python-Code-Large/train/row_87718
32
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87718:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0886, 0.0127, 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_87718:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87718:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87718:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87718:If_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Shell Interpreter""" import sys, atexit, threading, ctypes import os, re, os.path as osp, pydoc from subprocess import Popen, PIPE from code import Int...
ajibawa-2023/Python-Code-Large/train/row_87719
187
317
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87719:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0221, 0.0032, 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_87719:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87719:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87719:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87719:If_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Spyder third-party plugins configuration management """ import os import os.path as osp # Local imports from spyderlib.utils import programs PLUGI...
ajibawa-2023/Python-Code-Large/train/row_87720
23
46
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87720:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 9], "level": 0, "parent": null, "vector": [8, 0, 0.1739, 0.0652, 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_87720:If_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87720:Import_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87720:If_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87720:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
# -*- coding: utf-8 -*- # # Copyright © 2009-2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Spyder GUI-related configuration management (for non-GUI configuration, see spyderlib/baseconfig.py) Important note regarding shortcuts: For compa...
ajibawa-2023/Python-Code-Large/train/row_87721
149
494
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87721:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0223, 0.0182, 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_87721:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87721:Assign_L57_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87721:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87721:For_L58_C4"}, {"f": "ajibawa-2023/Python-Code-...
from spyderlib.qt.QtGui import (QApplication, QMainWindow, QWidget, QLabel, QLineEdit, QHBoxLayout, QDockWidget, QFont) from spyderlib.qt.QtCore import Qt from spyderlib.widgets.internalshell import InternalShell class MyWidget(QWidget): def __init__(self): QWid...
ajibawa-2023/Python-Code-Large/train/row_87722
47
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_87722:ImportFrom_L2_C0", "label": "from spyderlib.qt.QtGui import QApplication, QMainWindow, QWidget\u2026", "type": "import", "loc": [2, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0347, 0.0278, 0, 0.66, 0.0, 314, 0, 8, 0, 0, 314, 0, 0], "semantic": {"name": "sp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87722:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87722:FunctionDef_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87722:FunctionDef_L10_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87722:Expr_L11_C8"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Buiding instructions: # python setup.py py2exe from distutils.core import setup import py2exe # Patching distutils setup from guidata.disthelpers import (remove_build_dist, get_default_excludes, get_default_dll_excludes, create_vs2008_...
ajibawa-2023/Python-Code-Large/train/row_87723
12
52
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87723:ImportFrom_L7_C0", "label": "from distutils.core import setup", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1346, 0.0192, 0, 0.66, 0.0, 152, 0, 1, 0, 0, 152, 0, 0], "semantic": {"name": "distutils.core", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87723:For_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87723:Expr_L24_C4"}]
# -*- coding:utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Pylint Code Analysis Plugin""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from spyderlib.qt.QtGu...
ajibawa-2023/Python-Code-Large/train/row_87724
79
152
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87724:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0461, 0.0066, 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_87724:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87724:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87724:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87724:Assign_L34_C8"}, {"f": "ajibawa-2023/Python-...
# -*- coding:utf-8 -*- # # Copyright © 2011 Santiago Jaramillo # based on p_pylint.py by Pierre Raybaut # # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Profiler Plugin""" from spyderlib.qt.QtGui import QVBoxLayout, QGroupBox, QLabel from spyderlib.qt.QtCore import SIGNAL, ...
ajibawa-2023/Python-Code-Large/train/row_87726
78
140
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87726:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0643, 0.0071, 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_87726:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87726:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87726:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87726:Assign_L32_C8"}, {"f": "ajibawa-2023/Python-...
# -*- coding: utf-8 -*- # # Copyright © 2011 Santiago Jaramillo # based on pylintgui.py by Pierre Raybaut # # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Profiler widget See the official documentation on python profiling: http://docs.python.org/library/profile.html Quest...
ajibawa-2023/Python-Code-Large/train/row_87727
324
524
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87727:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0248, 0.0172, 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_87727:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87727:ImportFrom_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87727:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87727:Return_L50_C4"}, {"f": "ajibawa-2023/Pytho...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Pylint widget""" # pylint: disable=C0103 # pylint: disable=R0903 # pylint: disable=R0911 # pylint: disable=R0201 from __future__ import with_stateme...
ajibawa-2023/Python-Code-Large/train/row_87728
298
446
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87728:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0157, 0.0022, 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_87728:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87728:Return_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87728:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87728:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ spyderlib.widgets ================= Widgets defined in this module may be used in any other Qt-based application They are also used in Spyder throug...
ajibawa-2023/Python-Code-Large/train/row_87729
1
15
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87729:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 15], "level": 0, "parent": null, "vector": [8, 0, 0.7333, 0.6, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[]
#!/usr/bin/env python from spyderlib import spyder spyder.main()
ajibawa-2023/Python-Code-Large/train/row_87731
2
3
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87731:ImportFrom_L2_C0", "label": "from spyderlib import spyder", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.6667, 0.3333, 0, 0.66, 0.0, 498, 0, 1, 0, 0, 498, 0, 0], "semantic": {"name": "spyderlib", "arg_names": [], "import_names": ...
[]
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Spyder ====== The Scientific PYthon Development EnviRonment """ from distutils.core import setup from distutils.command.build import build from s...
ajibawa-2023/Python-Code-Large/train/row_87732
41
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_87732:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 12], "level": 0, "parent": null, "vector": [8, 0, 0.095, 0.06, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87732:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87732:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87732:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87732:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Cloning Spyder mercurial repository Building source and win32 executable distribution package """ import os, shutil, os.path as osp import spyderli...
ajibawa-2023/Python-Code-Large/train/row_87733
18
37
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87733:Expr_L7_C0", "label": "expression", "type": "expression", "loc": [7, 10], "level": 0, "parent": null, "vector": [8, 0, 0.2297, 0.1081, 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_87733:If_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87733:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87733:For_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87733:Expr_L34_C4"}]
# -*- coding: utf-8 -*- """ Created on Wed Feb 23 15:44:03 2011 @author: Pierre Raybaut """ import time, os.path as osp import rope.base.project import rope.base.libutils import rope.contrib.codeassist ROPE_PREFS = { 'ignore_syntax_errors': True, 'ignore_bad_imports': Tr...
ajibawa-2023/Python-Code-Large/train/row_87735
56
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_87735:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0381, 0.0476, 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_87735:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87735:Assign_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87735:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87735:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code...
import numpy numpy.
ajibawa-2023/Python-Code-Large/train/row_87736
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_87736:Import_L1_C0", "label": "numpy import numpy", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 1.0, 1.0, 0, 0.66, 0.0, 954, 0, 1, 0, 0, 954, 0, 0], "semantic": {"name": "numpy", "arg_names": [], "import_names": ["numpy"], "rhs_call_nam...
[]
import numpy numpy.linspace
ajibawa-2023/Python-Code-Large/train/row_87737
2
2
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87737:Import_L1_C0", "label": "numpy import numpy", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.5, 0, 0.66, 0.0, 954, 0, 1, 0, 0, 954, 0, 0], "semantic": {"name": "numpy", "arg_names": [], "import_names": ["numpy"], "rhs_call_nam...
[]
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Buiding instructions: # python setup.py py2exe from distutils.core import setup import py2exe # Patching distutils setup from guidata.disthelpers import (remove_build_dist, get_default_excludes, get_default_dll_excludes, create_vs2008_...
ajibawa-2023/Python-Code-Large/train/row_87738
15
65
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87738:ImportFrom_L7_C0", "label": "from distutils.core import setup", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1077, 0.0154, 0, 0.66, 0.0, 152, 0, 1, 0, 0, 152, 0, 0], "semantic": {"name": "distutils.core", "arg_names": [], "import...
[]
#!/usr/bin/python # pep8.py - Check Python source code formatting, according to PEP 8 # Copyright (C) 2006 Johann C. Rocholl <johann@rocholl.net> # # 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 Soft...
ajibawa-2023/Python-Code-Large/train/row_87739
638
1,360
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87739:Expr_L25_C0", "label": "expression", "type": "expression", "loc": [25, 93], "level": 0, "parent": null, "vector": [8, 0, 0.0434, 0.0507, 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_87739:Try_L106_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87739:Expr_L107_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87739:Try_L106_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87739:ImportFrom_L109_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# -*- coding: utf-8 -*- # # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """ Bootstrapping Spyder (Executing Spyder from source checkout) This script is a contribution from techtonik: http://code.google.com/p/spyderlib/issues/detail?id=741 """ import os import subprocess impo...
ajibawa-2023/Python-Code-Large/train/row_87740
37
78
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87740:Expr_L6_C0", "label": "expression", "type": "expression", "loc": [6, 12], "level": 0, "parent": null, "vector": [8, 0, 0.1154, 0.0897, 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_87740:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87740:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87740:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87740:Assign_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
#! /usr/bin/env python # encoding: utf-8 # waf 1.6.10 VERSION='0.3.3' import sys APPNAME='p2t' top = '.' out = 'build' CPP_SOURCES = ['poly2tri/common/shapes.cc', 'poly2tri/sweep/cdt.cc', 'poly2tri/sweep/advancing_front.cc', 'poly2tri/sweep/sweep_context.cc', ...
ajibawa-2023/Python-Code-Large/train/row_87741
25
45
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87741:Assign_L5_C0", "label": "VERSION =", "type": "assigned_variable", "loc": [5, 5], "level": 0, "parent": null, "vector": [14, 0, 0.1111, 0.0222, 0, 0.66, 0.0, 557, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "VERSION", "arg_names": [], "import_names": [], "rhs_call_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87741:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87741:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87741:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87741:If_L25_C0"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_877...
''' Module which brings history information about files from Mercurial. @author: Rodrigo Damazio ''' import re import subprocess REVISION_REGEX = re.compile(r'(?P<hash>[0-9a-f]{12}):.*') def _GetOutputLines(args): ''' Runs an external process and returns its output as a list of lines. @param args: the argume...
ajibawa-2023/Python-Code-Large/train/row_87742
38
94
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87742:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0319, 0.0532, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87742:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87742:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87742:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87742:Assign_L18_C2"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/python ''' Entry point for My Tracks i18n tool. @author: Rodrigo Damazio ''' import mytracks.files import mytracks.translate import mytracks.validate import sys def Usage(): print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0] print 'Commands are:' print ' cleanup' print ' translate' p...
ajibawa-2023/Python-Code-Large/train/row_87743
58
96
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87743:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0417, 0.0521, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87743:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87743:Expr_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87743:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87743:Expr_L15_C2"}, {"f": "ajibawa-2023/Python-Code-L...
''' Module which prompts the user for translations and saves them. TODO: implement @author: Rodrigo Damazio ''' class Translator(object): ''' classdocs ''' def __init__(self, language): ''' Constructor ''' self._language = language def Translate(self, string_names): print string_names
ajibawa-2023/Python-Code-Large/train/row_87744
8
21
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87744:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 7], "level": 0, "parent": null, "vector": [8, 0, 0.1905, 0.3333, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87744:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87744:Expr_L10_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87744:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87744:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-La...
''' Module which compares languague files to the master file and detects issues. @author: Rodrigo Damazio ''' import os from mytracks.parser import StringsParser import mytracks.history class Validator(object): def __init__(self, languages): ''' Builds a strings file validator. Params: @para...
ajibawa-2023/Python-Code-Large/train/row_87745
65
115
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87745:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0304, 0.0522, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87745:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87745:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87745:FunctionDef_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_87745:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Co...
''' Module for dealing with resource files (but not their contents). @author: Rodrigo Damazio ''' import os.path from glob import glob import re MYTRACKS_RES_DIR = 'MyTracks/res' ANDROID_MASTER_VALUES = 'values' ANDROID_VALUES_MASK = 'values-*' def GetMyTracksDir(): ''' Returns the directory in which the MyTrac...
ajibawa-2023/Python-Code-Large/train/row_87746
25
45
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87746:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.1111, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87746:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87746:Expr_L16_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87746:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87746:Assign_L19_C2"}, {"f": "ajibawa-2023/Python-Code...
''' Module which parses a string XML file. @author: Rodrigo Damazio ''' from xml.parsers.expat import ParserCreate import re #import xml.etree.ElementTree as ET class StringsParser(object): ''' Parser for string XML files. This object is not thread-safe and should be used for parsing a single file at a time...
ajibawa-2023/Python-Code-Large/train/row_87747
54
115
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87747:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0261, 0.0435, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87747:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87747:Expr_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87747:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87747:FunctionDef_L19_C2"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87748
857
1,659
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87748:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 33], "level": 0, "parent": null, "vector": [8, 0, 0.0151, 0.0102, 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_87748:ClassDef_L146_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87748:FunctionDef_L147_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87748:FunctionDef_L147_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_87748:Assign_L148_C8"}, {"f": "ajibawa-2023/Pyt...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87749
88
155
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87749:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0968, 0.0065, 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_87749:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87749:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87749:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87749:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87750
43
163
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87750:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1104, 0.0429, 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_87750:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87750:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87750:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87750:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87751
66
145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87751:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1034, 0.0069, 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_87751:If_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87751:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87751:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87751:Expr_L58_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87753
41
93
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87753:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1613, 0.0108, 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_87753:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87753:Expr_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87753:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87753:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87754
40
134
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87754:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1119, 0.0075, 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_87754:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87754:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87754:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87754:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87755
6
75
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87755:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.2, 0.0133, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[]
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87756
212
381
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87756:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0394, 0.0026, 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_87756:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87756:Expr_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87756:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87756:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87757
127
254
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87757:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0591, 0.0039, 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_87757:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87757:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87757:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87757:Assign_L56_C4"}, {"f": "ajibawa-2023/Python-Code...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87758
101
264
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87758:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0568, 0.0038, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87758:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87758:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87758:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87758:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87759
29
86
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87759:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1744, 0.0116, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87759:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87759:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87759:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87759:FunctionDef_L48_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87760
164
242
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87760:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.062, 0.0041, 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_87760:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87760:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87760:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87760:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87761
14
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_87761:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.3409, 0.0227, 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_87761:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87761:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87761:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87761:If_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87762
347
711
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87762:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0211, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87762:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87762:Expr_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87762:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87762:If_L57_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87763
195
397
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87763:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.0378, 0.0025, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_87763:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87763:Expr_L61_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87763:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87763:FunctionDef_L64_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87764
56
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_87764:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 66], "level": 0, "parent": null, "vector": [8, 0, 0.2015, 0.2587, 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_87764:ClassDef_L88_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87764:Expr_L89_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87764:ClassDef_L88_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87764:FunctionDef_L96_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87766
65
149
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87766:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1007, 0.0067, 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_87766:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87766:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87766:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87766:FunctionDef_L36_C4"}, {"f": "ajibawa-2023/Python-Code-...
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
ajibawa-2023/Python-Code-Large/train/row_87767
44
108
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_87767:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.1389, 0.0093, 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_87767:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87767:Expr_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_87767:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_87767:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-...