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
# epydoc -- Output generation # # Copyright (C) 2005 Edward Loper # Author: Edward Loper <[email protected]> # URL: <http://epydoc.sf.net> # # $Id: __init__.py 956 2006-03-10 01:30:51Z edloper $ """ Output generation. """ __docformat__ = 'epytext en'
ajibawa-2023/Python-Code-Large/train/row_91426
2
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_91426:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 11], "level": 0, "parent": null, "vector": [8, 0, 0.8333, 0.25, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[]
# # doctest.py: Syntax Highlighting for doctest blocks # Edward Loper # # Created [06/28/03 02:52 AM] # $Id: restructuredtext.py 1210 2006-04-10 13:25:50Z edloper $ # """ Syntax highlighting for doctest blocks. This module defines two functions, L{doctest_to_html()} and L{doctest_to_latex()}, which can be used to per...
ajibawa-2023/Python-Code-Large/train/row_91433
109
311
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91433:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0418, 0.0289, 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_91433:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91433:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91433:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91433:Return_L45_C4"}, {"f": "ajibawa-2023/Python-Code...
# # javadoc.py: javadoc docstring parsing # Edward Loper # # Created [07/03/03 12:37 PM] # $Id: javadoc.py 1444 2007-02-10 19:26:54Z dvarrazzo $ # """ Epydoc parser for U{Javadoc<http://java.sun.com/j2se/javadoc/>} docstrings. Javadoc is an HTML-based markup language that was developed for documenting Java APIs with ...
ajibawa-2023/Python-Code-Large/train/row_91435
82
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_91435:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 42], "level": 0, "parent": null, "vector": [8, 0, 0.1028, 0.1371, 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_91435:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91435:Expr_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91435:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91435:Return_L63_C4"}, {"f": "ajibawa-2023/Python-Code...
# epydoc -- Marked-up Representations for Python Values # # Copyright (C) 2005 Edward Loper # Author: Edward Loper <[email protected]> # URL: <http://epydoc.sf.net> # # $Id: apidoc.py 1448 2007-02-11 00:05:34Z dvarrazzo $ """ Syntax highlighter for Python values. Currently provides special colorization support for: ...
ajibawa-2023/Python-Code-Large/train/row_91436
345
526
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91436:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 27], "level": 0, "parent": null, "vector": [8, 0, 0.0342, 0.0361, 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_91436:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91436:Return_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91436:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91436:Expr_L47_C4"}, {"f": "ajibawa-2023/Python-Code-La...
# # plaintext.py: plaintext docstring parsing # Edward Loper # # Created [04/10/01 12:00 AM] # $Id: plaintext.py 1444 2007-02-10 19:26:54Z dvarrazzo $ # """ Parser for plaintext docstrings. Plaintext docstrings are rendered as verbatim output, preserving all whitespace. """ __docformat__ = 'epytext en' from epydoc.m...
ajibawa-2023/Python-Code-Large/train/row_91437
37
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_91437:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 12], "level": 0, "parent": null, "vector": [8, 0, 0.14, 0.0533, 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_91437:FunctionDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91437:Expr_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91437:FunctionDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91437:Return_L26_C4"}, {"f": "ajibawa-2023/Python-Code...
# epydoc # # Copyright (C) 2005 Edward Loper # Author: Edward Loper <[email protected]> # URL: <http://epydoc.sf.net> # # $Id: __init__.py 1558 2007-02-27 05:28:35Z edloper $ """ Automatic Python reference documentation generator. Epydoc processes Python modules and docstrings to generate formatted API documentation,...
ajibawa-2023/Python-Code-Large/train/row_91439
12
227
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91439:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 200], "level": 0, "parent": null, "vector": [8, 0, 0.4604, 0.8458, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[]
# # epydoc -- Utility functions used by regression tests (*.doctest) # Edward Loper # # Created [01/30/01 05:18 PM] # $Id: html.py 1420 2007-01-28 14:19:30Z dvarrazzo $ # """ Utility functions used by the regression tests (C{*.doctest}). """ __docformat__ = 'epytext en' import tempfile, re, os, os.path, textwrap, sys...
ajibawa-2023/Python-Code-Large/train/row_91442
123
226
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91442:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 11], "level": 0, "parent": null, "vector": [8, 0, 0.0442, 0.0133, 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_91442:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91442:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91442:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91442:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code...
# epydoc -- Regression testing # # Copyright (C) 2005 Edward Loper # Author: Edward Loper <[email protected]> # URL: <http://epydoc.sf.net> # # $Id: __init__.py 1502 2007-02-14 08:38:44Z edloper $ """ Regression testing. """ __docformat__ = 'epytext en' import unittest, doctest, epydoc, os, os.path, re, sys def main...
ajibawa-2023/Python-Code-Large/train/row_91443
44
97
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91443:Expr_L9_C0", "label": "expression", "type": "expression", "loc": [9, 11], "level": 0, "parent": null, "vector": [8, 0, 0.1031, 0.0309, 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_91443:FunctionDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91443:Try_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91443:Try_L17_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91443:Expr_L18_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
#! /usr/bin/env python # # Edward Loper's API Documentation Generation Tool # # Created [05/27/01 09:04 PM] # Edward Loper # from distutils.core import setup import re, sys, epydoc VERSION = str(epydoc.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', epydoc.__author__).groups() URL = epydoc.__url__ LICENSE...
ajibawa-2023/Python-Code-Large/train/row_91444
11
33
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91444:ImportFrom_L9_C0", "label": "from distutils.core import setup", "type": "import", "loc": [9, 9], "level": 0, "parent": null, "vector": [1, 0, 0.2727, 0.0303, 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_91444:If_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91444:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91444:If_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91444:Assign_L20_C4"}]
#!/usr/bin/env python # # Call the command line interface for Epydoc. # # Make sure that we don't get confused between an epydoc.py script and # the real epydoc package. import sys, os.path if os.path.exists(os.path.join(sys.path[0], 'epydoc.py')): del sys.path[0] from epydoc.cli import cli cli()
ajibawa-2023/Python-Code-Large/train/row_91445
4
14
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91445:Import_L8_C0", "label": "sys import sys, os.path", "type": "import", "loc": [8, 8], "level": 0, "parent": null, "vector": [1, 0, 0.5714, 0.0714, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os.pat...
[]
#!/usr/bin/python # # Call the graphical interface for Epydoc. # # We have to do some path magic to prevent Python from getting # confused about the difference between this epydoc module, and the # real epydoc package. So sys.path[0], which contains the directory # of the script. import sys, os.path script_path = os....
ajibawa-2023/Python-Code-Large/train/row_91446
5
17
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91446:Import_L10_C0", "label": "sys import sys, os.path", "type": "import", "loc": [10, 10], "level": 0, "parent": null, "vector": [1, 0, 0.5882, 0.0588, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os....
[]
#!/usr/bin/python # # Call the graphical interface for Epydoc. # from epydoc.gui import gui gui()
ajibawa-2023/Python-Code-Large/train/row_91447
2
7
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91447:ImportFrom_L6_C0", "label": "from epydoc.gui import gui", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.8571, 0.1429, 0, 0.66, 0.0, 263, 0, 1, 0, 0, 263, 0, 0], "semantic": {"name": "epydoc.gui", "arg_names": [], "import_names": [...
[]
#!/usr/bin/python # # Call the command line interface for Epydoc. # # We have to do some path magic to prevent Python from getting # confused about the difference between this epydoc module, and the # real epydoc package. So remove sys.path[0], which contains the # directory of the script. import sys, os.path script_...
ajibawa-2023/Python-Code-Large/train/row_91448
5
17
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91448:Import_L10_C0", "label": "sys import sys, os.path", "type": "import", "loc": [10, 10], "level": 0, "parent": null, "vector": [1, 0, 0.5882, 0.0588, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os....
[]
#!/usr/bin/env python # # Copyright 2006 Google Inc. All Rights Reserved. # Author: [email protected] (David Anderson) # # Script for uploading files to a Google Code project. # # This is intended to be both a useful script for people who want to # streamline project uploads and a reference implementation for # uplo...
ajibawa-2023/Python-Code-Large/train/row_91450
73
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_91450:Expr_L43_C0", "label": "expression", "type": "expression", "loc": [43, 44], "level": 0, "parent": null, "vector": [8, 0, 0.2197, 0.0101, 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_91450:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91450:Expr_L56_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91450:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91450:If_L76_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python '''Upload dist/ files to code.google.com. For Alex only :-) ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' import os import re import sys base = os.path.dirname(__file__) root = os.path.join(base, '../..') dist = os.path.join(root, 'dist') sys.path.insert(0, root) import pyglet ...
ajibawa-2023/Python-Code-Large/train/row_91451
50
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_91451:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0449, 0.0256, 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_91451:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91451:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91451:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91451:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_9...
# 2. Create build/pyglet.wxs from pyglet.wxs, add all file components # 3. Run candle and light on build/pyglet.wxs to generate # ../../dist/pyglet.msi import os import re import shutil import subprocess from uuid import uuid1 from xml.dom.minidom import parse import pkg_resources class PythonVersion...
ajibawa-2023/Python-Code-Large/train/row_91452
163
316
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91452:Import_L5_C0", "label": "os import os", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.0158, 0.0032, 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_91452:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91452:FunctionDef_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91452:FunctionDef_L15_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91452:Assign_L16_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' from wraptypes.wrap import main as wrap import os.path import sys import pyglet pyglet.options['shadow_window'] = False if __name__ == '__main__': if not os.path.exists('pyglet/window'): assert False, 'Run with CWD = ...
ajibawa-2023/Python-Code-Large/train/row_91453
30
101
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91453:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0347, 0.0198, 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_91453:If_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91453:If_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91453:If_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91453:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_914...
#!/usr/bin/env python # ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are ...
ajibawa-2023/Python-Code-Large/train/row_91454
59
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_91454:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 37], "level": 0, "parent": null, "vector": [8, 0, 0.338, 0.0185, 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_91454:For_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91454:Expr_L55_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91454:If_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91454:ImportFrom_L81_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
#!/usr/bin/env python '''Print OpenAL driver information. Options: -d <device> Optionally specify device to query. ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' import ctypes import optparse import sys from pyglet.media.drivers import openal from pyglet.media.drivers.openal import al from pyglet....
ajibawa-2023/Python-Code-Large/train/row_91455
16
24
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91455:Import_L1_C0", "label": "ctypes import ctypes", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0417, 0.0417, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91455:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91455:Assign_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91455:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91455:Assign_L12_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python '''Generate files in pyglet.gl and pyglet/GLU ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' import marshal import optparse import os.path import urllib2 import sys import textwrap from wraptypes.wrap import CtypesWrapper script_dir = os.path.abspath(os.path.dirname(__file__)) G...
ajibawa-2023/Python-Code-Large/train/row_91457
130
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_91457:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.015, 0.0086, 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_91457:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91457:If_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91457:If_L38_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91457:Try_L39_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
import os import sys from itertools import chain from distutils.util import spawn from distutils.version import StrictVersion, LooseVersion from distutils.dir_util import mkpath import distutils.core try: set except NameError: from sets import Set as set def Version(s): try: return StrictVersion(s...
ajibawa-2023/Python-Code-Large/train/row_91458
87
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91458:Import_L1_C0", "label": "os import os", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0077, 0.0077, 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_91458:Try_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91458:Expr_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91458:Try_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91458:ImportFrom_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
InstallationCheck = dict( postjaguar=( u"#!/bin/sh\nexit 112\n", u'"16" = "This package requires Mac OS X 10.3 or later";', ), prepanther=(u"""#!/bin/sh # # We use IFRequirementDicts anyway and "parse" it to find where expect # Python to be. It's remotely possible that Python is not install...
ajibawa-2023/Python-Code-Large/train/row_91459
1
22
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91459:Assign_L1_C0", "label": "InstallationCheck = dict()", "type": "assigned_variable", "loc": [1, 22], "level": 0, "parent": null, "vector": [14, 0, 0.5227, 1.0, 0, 0.66, 0.0, 183, 3, 2, 0, 0, 827, 10, 1], "semantic": {"name": "InstallationCheck", "arg_names": [], "im...
[]
"""bdist_mpkg.cmd_bdist_mpkg Implements the Distutils 'bdist_mpkg' command (create an OS X "mpkg" binary distribution).""" import os import sys import zipfile from setuptools import Command from distutils.util import get_platform, byte_compile from distutils.dir_util import remove_tree, mkpath from distutils.errors...
ajibawa-2023/Python-Code-Large/train/row_91460
289
496
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91460:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 4], "level": 0, "parent": null, "vector": [8, 0, 0.005, 0.0081, 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_91460:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91460:Assign_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91460:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91460:Assign_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python import sys, os import setuptools import bdist_mpkg_pyglet def main(): del sys.argv[0] if not sys.argv: sys.argv[:0] = ['setup.py', '--open'] elif sys.argv[0].startswith('-'): sys.argv[:0] = ['setup.py'] elif len(sys.argv) == 1: sys.argv[1:1] = ['--open'] ...
ajibawa-2023/Python-Code-Large/train/row_91463
24
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91463:Import_L3_C0", "label": "sys import sys, os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0333, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_cal...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91463:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91463:If_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91463:If_L10_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91463:Assign_L11_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train...
__version__ = '0.4.3-pyglet'
ajibawa-2023/Python-Code-Large/train/row_91464
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_91464:Assign_L1_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 1.0, 1.0, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call...
[]
import os import sys from plistlib import Plist import bdist_mpkg_pyglet from bdist_mpkg_pyglet import tools def _major_minor(v): rval = [0, 0] try: for i, rev in enumerate(v.version): rval[i] = int(rev) except (TypeError, ValueError, IndexError): pass return rval def comm...
ajibawa-2023/Python-Code-Large/train/row_91465
65
139
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91465:Import_L1_C0", "label": "os import os", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0072, 0.0072, 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_91465:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91465:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91465:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91465:Try_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' from cparser import * ctypes_type_map = { # typename signed longs ('void', True, 0): 'None', ('int', True, 0): 'c_int', ('int', False, 0): 'c_uint', ('int', True, 1): 'c_long', ('int...
ajibawa-2023/Python-Code-Large/train/row_91469
189
321
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91469:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0109, 0.0062, 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_91469:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91469:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91469:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91469:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/env python '''A package for generating ctypes wrappers from a C header file. See the docstring for wrap.py for usage. The files 'lex.py' and 'yacc.py' are from PLY (http://www.dabeaz.com/ply), which was written by David M. Beazley but have been modified slightly for this tool. ''' __docformat__ = 'restru...
ajibawa-2023/Python-Code-Large/train/row_91471
3
14
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91471:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 9], "level": 0, "parent": null, "vector": [8, 0, 0.4286, 0.5, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation...
[]
#!/usr/bin/python # $Id:$ '''Rewrite the license header of source files. Usage: license.py file.py file.py dir/ dir/ ... ''' import optparse import os import sys license = '''# pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary ...
ajibawa-2023/Python-Code-Large/train/row_91474
39
97
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91474:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0619, 0.0515, 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_91474:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91474:Expr_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91474:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91474:Assign_L53_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # $Id:$ import optparse import os import os.path import re import shutil import subprocess from docutils.core import publish_doctree, publish_from_doctree from docutils.utils import new_document from docutils.writers import html4css1 from docutils import nodes from epydoc.markup.doctest import ...
ajibawa-2023/Python-Code-Large/train/row_91475
241
393
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91475:Import_L4_C0", "label": "optparse import optparse", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0102, 0.0025, 0, 0.66, 0.0, 323, 0, 1, 0, 0, 323, 0, 0], "semantic": {"name": "optparse", "arg_names": [], "import_names": ["optpars...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91475:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91475:FunctionDef_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91475:FunctionDef_L19_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91475:Expr_L20_C8"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91476
224
569
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91476:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 91], "level": 0, "parent": null, "vector": [8, 0, 0.1107, 0.1002, 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_91476:ClassDef_L107_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91476:Expr_L108_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91476:ClassDef_L107_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91476:FunctionDef_L113_C4"}, {"f": "ajibawa-2023/Python-C...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91477
43
99
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91477:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 38], "level": 0, "parent": null, "vector": [8, 0, 0.3687, 0.0404, 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_91477:If_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91477:If_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91477:If_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91477:FunctionDef_L50_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91478
243
635
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91478:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 45], "level": 0, "parent": null, "vector": [8, 0, 0.0638, 0.0157, 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_91478:ClassDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91478:Expr_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91478:ClassDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91478:Assign_L67_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91479
296
578
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91479:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0614, 0.0035, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91479:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91479:Assign_L69_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91479:ClassDef_L68_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91479:Assign_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91480
215
438
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91480:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0811, 0.0046, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91480:ClassDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91480:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91480:ClassDef_L59_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91480:Assign_L60_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91481
167
442
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91481:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 40], "level": 0, "parent": null, "vector": [8, 0, 0.0848, 0.0136, 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_91481:FunctionDef_L69_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91481:If_L71_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91481:If_L71_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91481:Return_L72_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91482
204
383
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91482:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0927, 0.0052, 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_91482:If_L67_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91482:Assign_L68_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91482:If_L67_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91482:Assign_L70_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91483
277
698
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91483:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 68], "level": 0, "parent": null, "vector": [8, 0, 0.0738, 0.0487, 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_91483:ClassDef_L84_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91483:Expr_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91483:ClassDef_L84_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91483:FunctionDef_L95_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91485
196
367
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91485:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0967, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91485:FunctionDef_L94_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91485:Return_L95_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91485:ClassDef_L126_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91485:Assign_L127_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91486
266
713
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91486:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 85], "level": 0, "parent": null, "vector": [8, 0, 0.0842, 0.0715, 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_91486:ClassDef_L98_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91486:Expr_L99_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91486:ClassDef_L98_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91486:FunctionDef_L100_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import ctypes import pyglet from pyglet.input.base import Tablet, TabletCanvas, TabletCursor from pyglet.window.carbon import CarbonEventHandler from pyglet.libs.darwin import * from pyglet.libs.darwin import _oscheck class Car...
ajibawa-2023/Python-Code-Large/train/row_91487
61
126
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91487:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0278, 0.0159, 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_91487:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91487:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91487:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91487:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Cod...
# Uses the HID API introduced in Mac OS X version 10.5 # http://developer.apple.com/library/mac/#technotes/tn2007/tn2187.html from ctypes import * from ctypes import util # Load frameworks iokit = cdll.LoadLibrary(util.find_library('IOKit')) cf = cdll.LoadLibrary(util.find_library('CoreFoundation')) # Core Foundatio...
ajibawa-2023/Python-Code-Large/train/row_91488
319
506
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91488:ImportFrom_L4_C0", "label": "from ctypes import *", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0079, 0.002, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91488:FunctionDef_L77_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91488:Return_L78_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91488:FunctionDef_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91488:Assign_L81_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # $Id:$ import ctypes import pyglet from pyglet.input.base import DeviceOpenException from pyglet.input.base import Tablet, TabletCursor, TabletCanvas from pyglet.libs.win32 import libwintab as wintab lib = wintab.lib def wtinfo(category, index, buffer): size = lib.WTInfoW(categor...
ajibawa-2023/Python-Code-Large/train/row_91490
132
215
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91490:Import_L4_C0", "label": "ctypes import ctypes", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0186, 0.0047, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91490:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91490:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91490:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91490:Expr_L16_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import pyglet from pyglet.input.base import \ Tablet, TabletCanvas, TabletCursor, DeviceOpenException from pyglet.input.x11_xinput import \ get_devices, XInputWindowEventDispatcher, DeviceResponder try: from pyglet.l...
ajibawa-2023/Python-Code-Large/train/row_91491
62
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_91491:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0372, 0.0213, 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_91491:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91491:ImportFrom_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91491:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91491:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/env python '''Event constants from /usr/include/linux/input.h ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' EV_SYN = 0x00 EV_KEY = 0x01 EV_REL = 0x02 EV_ABS = 0x03 EV_MSC = 0x04 EV_LED = 0x11 EV_SND = 0x12 EV_REP = 0x14 EV_FF = 0x15 EV_PWR = 0x16 EV_FF_STATUS = 0x17 EV_MAX = 0x1f # Synchro...
ajibawa-2023/Python-Code-Large/train/row_91492
487
541
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91492:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0065, 0.0037, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91492:For_L535_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91492:If_L536_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91492:If_L536_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91492:Assign_L537_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import ctypes import pyglet from pyglet.libs.darwin import carbon, _oscheck, create_cfstring from pyglet.libs.darwin.constants import * from base import Device, Control, AbsoluteAxis, RelativeAxis, Button from base import Joyst...
ajibawa-2023/Python-Code-Large/train/row_91493
254
514
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91493:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0068, 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_91493:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91493:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91493:ClassDef_L94_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91493:Assign_L95_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91494
232
740
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91494:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 38], "level": 0, "parent": null, "vector": [8, 0, 0.0493, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91494:ClassDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91494:Expr_L59_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91494:ClassDef_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91494:FunctionDef_L71_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91495
36
174
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91495:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 78], "level": 0, "parent": null, "vector": [8, 0, 0.3247, 0.2529, 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_91495:FunctionDef_L91_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91495:Expr_L92_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91495:FunctionDef_L91_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91495:Return_L106_C4"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import ctypes import pyglet from pyglet.input.base import \ Device, DeviceException, DeviceOpenException, \ Control, Button, RelativeAxis, AbsoluteAxis from pyglet.libs.x11 import xlib from pyglet.compat import asstr try...
ajibawa-2023/Python-Code-Large/train/row_91496
198
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_91496:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0101, 0.0058, 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_91496:Try_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91496:ImportFrom_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91496:Try_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91496:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/python # $Id:$ import ctypes import pyglet from pyglet.input import base from pyglet.libs import win32 from pyglet.libs.win32 import dinput from pyglet.libs.win32 import _kernel32 # These instance names are not defined anywhere, obtained by experiment. The # GUID names (which seem to be ideal...
ajibawa-2023/Python-Code-Large/train/row_91497
120
202
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91497:Import_L4_C0", "label": "ctypes import ctypes", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0198, 0.005, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], "rhs...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91497:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91497:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91497:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91497:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91498
56
154
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91498:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2305, 0.013, 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_91498:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91498:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91498:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91498:Expr_L48_C8"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91499
64
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_91499:Assign_L36_C0", "label": "__docformat__ =", "type": "assigned_variable", "loc": [36, 36], "level": 0, "parent": null, "vector": [14, 0, 0.2432, 0.0068, 0, 0.66, 0.0, 959, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__docformat__", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91499:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91499:FunctionDef_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91499:FunctionDef_L49_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91499:Expr_L50_C8"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91500
60
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_91500:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2649, 0.0149, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91500:ClassDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91500:FunctionDef_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91500:FunctionDef_L51_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91500:Expr_L52_C8"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91501
45
150
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91501:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2367, 0.0133, 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_91501:ClassDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91501:FunctionDef_L52_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91501:FunctionDef_L52_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91501:Assign_L53_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import sys import threading import Queue from pyglet import app from pyglet import clock from pyglet import event _is_epydoc = hasattr(sys, 'is_epydoc') and sys.is_epydoc class PlatformEventLoop(object): ''' :since: py...
ajibawa-2023/Python-Code-Large/train/row_91502
157
383
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91502:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0091, 0.0052, 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_91502:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91502:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91502:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91502:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91503
42
166
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91503:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 57], "level": 0, "parent": null, "vector": [8, 0, 0.2771, 0.1386, 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_91503:ClassDef_L70_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91503:Expr_L71_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91503:ClassDef_L70_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91503:FunctionDef_L77_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91504
56
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91504:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 70], "level": 0, "parent": null, "vector": [8, 0, 0.3333, 0.2201, 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_91504:ClassDef_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91504:Assign_L79_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91504:ClassDef_L78_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91504:FunctionDef_L86_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91505
103
181
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91505:ImportFrom_L36_C0", "label": "from pyglet.media import Source, AudioFormat, AudioData", "type": "import", "loc": [36, 36], "level": 0, "parent": null, "vector": [1, 0, 0.1989, 0.0055, 0, 0.66, 0.0, 681, 0, 3, 0, 0, 681, 0, 0], "semantic": {"name": "pyglet.media", ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91505:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91505:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91505:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91505:Assign_L44_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91506
119
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_91506:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1431, 0.0081, 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_91506:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91506:Assign_L67_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91506:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91506:Assign_L68_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id$' import time from pyglet.media import AbstractAudioPlayer, AbstractAudioDriver, \ MediaThread, MediaEvent import pyglet _debug = pyglet.options['debug_media'] class SilentAudioPacket(object): def __in...
ajibawa-2023/Python-Code-Large/train/row_91508
136
238
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91508:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0147, 0.0084, 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_91508:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91508:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91508:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91508:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91509
134
408
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91509:Import_L36_C0", "label": "ctypes import ctypes", "type": "import", "loc": [36, 36], "level": 0, "parent": null, "vector": [1, 0, 0.0882, 0.0025, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91509:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91509:Assign_L53_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91509:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91509:Assign_L61_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/python # $Id:$ import ctypes import math import sys import threading import time import lib_dsound as lib from pyglet.media import MediaException, MediaThread, AbstractAudioDriver, \ AbstractAudioPlayer, MediaEvent from pyglet.window.win32 import _user32, _kernel32 import pyglet _debug ...
ajibawa-2023/Python-Code-Large/train/row_91510
343
537
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91510:Import_L4_C0", "label": "ctypes import ctypes", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0074, 0.0019, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91510:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91510:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91510:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91510:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
'''Wrapper for pulse Generated with: tools/genwrappers.py pulseaudio Do not modify this file. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: wrap.py 1694 2008-01-30 23:12:00Z Alex.Holkner $' import ctypes from ctypes import * import pyglet.lib _lib = pyglet.lib.load_library('pulse') _int_types = (c_...
ajibawa-2023/Python-Code-Large/train/row_91511
1,040
2,068
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91511:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 7], "level": 0, "parent": null, "vector": [8, 0, 0.0019, 0.0034, 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_91511:For_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91511:If_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91511:If_L26_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91511:Assign_L27_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91513
376
655
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91513:Expr_L34_C0", "label": "expression", "type": "expression", "loc": [34, 45], "level": 0, "parent": null, "vector": [8, 0, 0.0603, 0.0183, 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_91513:For_L65_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91513:If_L66_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91513:If_L66_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91513:Assign_L67_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91514
150
286
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91514:Expr_L34_C0", "label": "expression", "type": "expression", "loc": [34, 40], "level": 0, "parent": null, "vector": [8, 0, 0.1294, 0.0245, 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_91514:For_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91514:If_L61_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91514:If_L61_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91514:Assign_L62_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91515
327
559
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91515:Import_L36_C0", "label": "ctypes import ctypes", "type": "import", "loc": [36, 36], "level": 0, "parent": null, "vector": [1, 0, 0.0644, 0.0018, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["ctypes"], ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91515:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91515:Assign_L58_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91515:FunctionDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91515:Assign_L59_C4"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91516
691
1,472
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91516:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 70], "level": 0, "parent": null, "vector": [8, 0, 0.036, 0.0238, 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_91516:ClassDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91516:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91516:ClassDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91516:Assign_L107_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91517
67
178
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91517:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 38], "level": 0, "parent": null, "vector": [8, 0, 0.2051, 0.0225, 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_91517:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91517:Expr_L49_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91517:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91517:Assign_L64_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91518
250
407
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91518:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 61], "level": 0, "parent": null, "vector": [8, 0, 0.1179, 0.0663, 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_91518:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91518:Expr_L67_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91518:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91518:FunctionDef_L84_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91519
609
1,071
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91519:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0331, 0.0019, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91519:ClassDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91519:Assign_L83_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91519:ClassDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91519:FunctionDef_L84_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91520
657
1,257
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91520:Assign_L35_C0", "label": "__docformat__ =", "type": "assigned_variable", "loc": [35, 35], "level": 0, "parent": null, "vector": [14, 0, 0.0278, 0.0008, 0, 0.66, 0.0, 959, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__docformat__", "arg_names": [], "import_names": ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91520:Try_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91520:ImportFrom_L59_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91520:Try_L58_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91520:Assign_L60_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91521
16
67
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91521:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.5299, 0.0299, 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_91521:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91521:Expr_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91521:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91521:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Code...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91522
480
1,811
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91522:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 123], "level": 0, "parent": null, "vector": [8, 0, 0.0436, 0.0491, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91522:ClassDef_L140_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91522:Expr_L141_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91522:ClassDef_L145_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91522:Expr_L146_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91523
542
973
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91523:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0365, 0.0021, 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_91523:ClassDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91523:Assign_L83_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91523:ClassDef_L82_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91523:FunctionDef_L84_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91524
607
1,090
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91524:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.0326, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91524:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91524:Assign_L61_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91524:ClassDef_L60_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91524:FunctionDef_L63_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91525
123
457
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91525:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 137], "level": 0, "parent": null, "vector": [8, 0, 0.1882, 0.2254, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91525:ClassDef_L147_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91525:Expr_L148_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91525:ClassDef_L152_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91525:Expr_L153_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91527
305
990
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91527:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 139], "level": 0, "parent": null, "vector": [8, 0, 0.0879, 0.1061, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91527:If_L150_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91527:Assign_L154_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91527:If_L150_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91527:ClassDef_L155_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91528
74
259
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91528:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 59], "level": 0, "parent": null, "vector": [8, 0, 0.1815, 0.0965, 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_91528:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91528:Expr_L67_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91528:ClassDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91528:FunctionDef_L72_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91530
101
227
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91530:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 38], "level": 0, "parent": null, "vector": [8, 0, 0.1608, 0.0176, 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_91530:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91530:Assign_L53_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91530:ClassDef_L85_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91530:FunctionDef_L86_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91531
157
295
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91531:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1203, 0.0068, 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_91531:ClassDef_L89_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91531:Assign_L90_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91531:FunctionDef_L95_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91531:Return_L96_C4"}, {"f": "ajibawa-2023/Python-Code-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91532
137
273
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91532:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.13, 0.0073, 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_91532:ClassDef_L76_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91532:Assign_L77_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91532:ClassDef_L84_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91532:Assign_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91534
231
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_91534:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 39], "level": 0, "parent": null, "vector": [8, 0, 0.0984, 0.0105, 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_91534:ClassDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91534:Assign_L52_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91534:ClassDef_L51_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91534:FunctionDef_L54_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91536
189
359
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91536:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 39], "level": 0, "parent": null, "vector": [8, 0, 0.1031, 0.0139, 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_91536:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91536:Assign_L67_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91536:ClassDef_L66_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91536:Assign_L68_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91537
76
164
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91537:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2165, 0.0122, 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_91537:ClassDef_L63_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91537:Assign_L64_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91537:ClassDef_L69_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91537:FunctionDef_L70_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91539
73
169
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91539:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 38], "level": 0, "parent": null, "vector": [8, 0, 0.216, 0.0237, 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_91539:ClassDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91539:FunctionDef_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91539:FunctionDef_L48_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91539:Assign_L49_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91540
66
157
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91540:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.2261, 0.0127, 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_91540:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91540:FunctionDef_L53_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91540:FunctionDef_L53_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91540:Expr_L54_C8"}, {"f": "ajibawa-2023/Python-Co...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91541
105
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_91541:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 50], "level": 0, "parent": null, "vector": [8, 0, 0.1756, 0.0661, 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_91541:ClassDef_L65_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91541:Assign_L66_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91541:ClassDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91541:FunctionDef_L72_C4"}, {"f": "ajibawa-2023/Python-Cod...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91542
70
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_91542:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 37], "level": 0, "parent": null, "vector": [8, 0, 0.2609, 0.0217, 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_91542:ClassDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91542:FunctionDef_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91542:FunctionDef_L65_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91542:Assign_L66_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91543
219
363
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91543:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 49], "level": 0, "parent": null, "vector": [8, 0, 0.1157, 0.0413, 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_91543:FunctionDef_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91543:Return_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91543:FunctionDef_L83_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91543:If_L84_C4"}, {"f": "ajibawa-2023/Python-Code-L...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91545
9
47
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91545:Expr_L35_C0", "label": "expression", "type": "expression", "loc": [35, 36], "level": 0, "parent": null, "vector": [8, 0, 0.7553, 0.0426, 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_91545:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91545:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91545:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91545:Assign_L45_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91546
3
40
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91546:Expr_L34_C0", "label": "expression", "type": "expression", "loc": [34, 37], "level": 0, "parent": null, "vector": [8, 0, 0.8875, 0.1, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[]
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91547
1,105
2,402
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91547:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 154], "level": 0, "parent": null, "vector": [8, 0, 0.0396, 0.0495, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91547:FunctionDef_L173_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91547:Expr_L174_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91547:FunctionDef_L173_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91547:If_L177_C4"}, {"f": "ajibawa-2023/Python-Code...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91548
114
505
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91548:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 74], "level": 0, "parent": null, "vector": [8, 0, 0.1089, 0.0772, 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_91548:ClassDef_L84_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91548:Expr_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91548:ClassDef_L88_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91548:Expr_L89_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91549
174
422
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91549:Expr_L34_C0", "label": "expression", "type": "expression", "loc": [34, 37], "level": 0, "parent": null, "vector": [8, 0, 0.0841, 0.0095, 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_91549:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91549:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91549:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91549:Assign_L44_C8"}, {"f": "ajibawa-2023/Python-...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91550
274
591
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91550:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 49], "level": 0, "parent": null, "vector": [8, 0, 0.0719, 0.0237, 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_91550:ClassDef_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91550:Expr_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91550:ClassDef_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91550:Assign_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
ajibawa-2023/Python-Code-Large/train/row_91551
222
733
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91551:Expr_L36_C0", "label": "expression", "type": "expression", "loc": [36, 165], "level": 0, "parent": null, "vector": [8, 0, 0.1371, 0.1774, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "ann...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91551:ClassDef_L181_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91551:Expr_L182_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91551:ClassDef_L181_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91551:FunctionDef_L207_C4"}, {"f": "ajibawa-2023/Python-C...
# Note: The display mode API used here is Mac OS 10.6 only. ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * from ctypes import util from pyglet import app from base import Display, Screen, ScreenMode, Canvas # Use PyObjC to get the list of displays and their dimensions, # jus...
ajibawa-2023/Python-Code-Large/train/row_91552
96
141
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91552:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0248, 0.0142, 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_91552:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91552:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91552:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91552:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # $Id:$ from base import Display, Screen, ScreenMode, Canvas from pyglet.libs.win32 import _kernel32, _user32, types, constants from pyglet.libs.win32.constants import * from pyglet.libs.win32.types import * class Win32Display(Display): def get_screens(self): screens = [] ...
ajibawa-2023/Python-Code-Large/train/row_91553
72
102
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91553:ImportFrom_L4_C0", "label": "from base import Display, Screen, ScreenMode\u2026", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0392, 0.0098, 0, 0.66, 0.0, 47, 0, 4, 0, 0, 47, 0, 0], "semantic": {"name": "base", "arg_names": [], "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_91553:ClassDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91553:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91553:FunctionDef_L11_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_91553:Assign_L12_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # $Id: $ '''Fork a child process and inform it of mode changes to each screen. The child waits until the parent process dies, and then connects to each X server with a mode change and restores the mode. This emulates the behaviour of Windows and Mac, so that resolution changes made by an applicati...
ajibawa-2023/Python-Code-Large/train/row_91554
92
171
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91554:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0526, 0.0643, 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_91554:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91554:ImportFrom_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91554:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91554:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Larg...
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * import ctypes from pyglet import app from pyglet.app.xlib import XlibSelectDevice from base import Display, Screen, ScreenMode, Canvas import xlib_vidmoderestore # XXX #from pyglet.window import NoSuchDisp...
ajibawa-2023/Python-Code-Large/train/row_91555
155
260
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_91555:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 4], "level": 0, "parent": null, "vector": [8, 0, 0.0135, 0.0077, 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_91555:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91555:ImportFrom_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_91555:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_91555:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...