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 |
|---|---|---|---|---|---|---|---|
class FatalCatastrophyException(RuntimeError):
ROBOT_EXIT_ON_FAILURE = True
class ContinuableApocalypseException(RuntimeError):
ROBOT_CONTINUE_ON_FAILURE = True
def exit_on_failure():
raise FatalCatastrophyException()
def raise_continuable_failure(msg='Can be continued'):
raise ContinuableApocalypseE... | ajibawa-2023/Python-Code-Large/train/row_77602 | 6 | 11 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77602:ClassDef_L1_C0", "label": "FatalCatastrophyException", "type": "class", "loc": [1, 2], "level": 0, "parent": null, "vector": [3, 0, 0.1364, 0.1818, 0, 0.66, 0.0, 572, 0, 0, 0, 0, 178, 0, 0], "semantic": {"name": "FatalCatastrophyException", "arg_names": [], "impor... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77602:ClassDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77602:Assign_L2_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77602:ClassDef_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77602:Assign_L5_C4"}] |
class _BaseDynamicLibrary(object):
def get_keyword_names(self):
return []
def run_keyword(self, name, *args):
return None
class StaticDocsLib(_BaseDynamicLibrary):
"""This is lib intro."""
def __init__(self, some=None, args=[]):
"""Init doc."""
class DynamicDocsLib(_BaseDynam... | ajibawa-2023/Python-Code-Large/train/row_77603 | 32 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77603:ClassDef_L1_C0", "label": "_BaseDynamicLibrary", "type": "class", "loc": [1, 7], "level": 0, "parent": null, "vector": [3, 0, 0.0976, 0.1707, 0, 0.66, 0.0, 914, 0, 2, 0, 0, 186, 0, 0], "semantic": {"name": "_BaseDynamicLibrary", "arg_names": [], "import_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77603:ClassDef_L1_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77603:FunctionDef_L3_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77603:FunctionDef_L3_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77603:Return_L4_C8"}, {"f": "ajibawa-2023/Python-Code... |
ROBOT_LIBRARY_SCOPE = 'Test Suite' # this should be ignored
__version__ = 'test' # this should be used as version of this library
def passing():
pass
def failing():
raise AssertionError('This is a failing keyword from module library')
def logging():
print 'Hello from module library'
print '*WARN* ... | ajibawa-2023/Python-Code-Large/train/row_77604 | 27 | 54 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77604:Assign_L1_C0", "label": "ROBOT_LIBRARY_SCOPE =", "type": "assigned_variable", "loc": [1, 1], "level": 0, "parent": null, "vector": [14, 0, 0.0185, 0.0185, 0, 0.66, 0.0, 305, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "ROBOT_LIBRARY_SCOPE", "arg_names": [], "import... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77604:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77604:Expr_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77604:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77604:Expr_L13_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
import os
import re
from robot import utils
from robot.result.resultbuilder import ExecutionResultBuilder
from robot.result.executionresult import Result
from robot.result.testsuite import TestSuite
from robot.result.testcase import TestCase
from robot.result.keyword import Keyword
from robot.libraries.BuiltIn import ... | ajibawa-2023/Python-Code-Large/train/row_77606 | 144 | 211 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77606:Import_L1_C0", "label": "os import os", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0047, 0.0047, 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_77606:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77606:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77606:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77606:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
message_list = [ u'Circle is 360\u00B0',
u'Hyv\u00E4\u00E4 \u00FC\u00F6t\u00E4',
u'\u0989\u09C4 \u09F0 \u09FA \u099F \u09EB \u09EA \u09B9' ]
message1 = message_list[0]
message2 = message_list[1]
message3 = message_list[2]
messages = ', '.join(message_list)
sect = unichr(167)
auml = unic... | ajibawa-2023/Python-Code-Large/train/row_77607 | 10 | 15 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77607:Assign_L1_C0", "label": "message_list =", "type": "assigned_variable", "loc": [1, 3], "level": 0, "parent": null, "vector": [14, 0, 0.1333, 0.2, 0, 0.66, 0.0, 656, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "message_list", "arg_names": [], "import_names": [], "rhs... | [] |
from os.path import abspath, dirname, join
import os
import tempfile
import robot
__all__ = ['ROBOTPATH', 'JAVATEMPDIR', 'ROBOT_VERSION', 'DATADIR', 'WINDOWS']
ROBOTPATH = dirname(abspath(robot.__file__))
JAVATEMPDIR = tempfile.gettempdir() # Used to be different on OSX and elsewhere
ROBOT_VERSION = robot.version.get... | ajibawa-2023/Python-Code-Large/train/row_77608 | 10 | 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_77608:ImportFrom_L1_C0", "label": "from os.path import abspath, dirname, join", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0833, 0.0833, 0, 0.66, 0.0, 79, 0, 3, 0, 0, 79, 0, 0], "semantic": {"name": "os.path", "arg_names": [], "impor... | [] |
import os
import sys
from stat import S_IREAD, S_IWRITE
class TestHelper:
def set_read_only(self, path):
os.chmod(path, S_IREAD)
def set_read_write(self, path):
os.chmod(path, S_IREAD | S_IWRITE)
def get_output_name(self, *datasources):
if not datasources:
raise Runt... | ajibawa-2023/Python-Code-Large/train/row_77609 | 21 | 31 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77609:Import_L1_C0", "label": "os import os", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0323, 0.0323, 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_77609:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77609:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77609:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77609:Expr_L9_C8"}, {"f": "ajibawa-2023/Python-Code-L... |
#!/usr/bin/env python
"""Script to generate atest runners based on data files.
Usage: %s path/to/data.file
"""
from __future__ import with_statement
from os.path import abspath, basename, dirname, exists, join
import os
import sys
if len(sys.argv) != 2:
print __doc__ % basename(sys.argv[0])
sys.exit(1)
IN... | ajibawa-2023/Python-Code-Large/train/row_77610 | 28 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77610:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 6], "level": 0, "parent": null, "vector": [8, 0, 0.09, 0.08, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77610:If_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77610:Expr_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77610:If_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77610:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_776... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | ajibawa-2023/Python-Code-Large/train/row_77611 | 35 | 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_77611:Assign_L17_C0", "label": "USAGE =", "type": "assigned_variable", "loc": [17, 103], "level": 0, "parent": null, "vector": [14, 0, 0.3509, 0.5088, 0, 0.66, 0.0, 952, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "USAGE", "arg_names": [], "import_names": [], "rhs_call_n... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77611:If_L110_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77611:Import_L111_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77611:ClassDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77611:FunctionDef_L120_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | ajibawa-2023/Python-Code-Large/train/row_77612 | 11 | 29 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77612:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5172, 0.0345, 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_77612:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77612:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77612:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77612:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77614 | 195 | 315 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77614:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0476, 0.0032, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77614:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77614:ImportFrom_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77614:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77614:FunctionDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77615 | 127 | 184 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77615:ClassDef_L15_C0", "label": "SuiteRunErrors", "type": "class", "loc": [15, 120], "level": 0, "parent": null, "vector": [3, 0, 0.3668, 0.5761, 0, 0.66, 0.0, 239, 0, 17, 0, 0, 186, 0, 18], "semantic": {"name": "SuiteRunErrors", "arg_names": [], "import_names": [], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77615:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77615:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77615:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77615:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77617 | 26 | 59 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77617:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2542, 0.0169, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77617:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77617:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77617:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77617:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77619 | 17 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77619:ImportFrom_L15_C0", "label": "from signal import setitimer, signal, SIGALRM\u2026", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3659, 0.0244, 0, 0.66, 0.0, 621, 0, 4, 0, 0, 621, 0, 0], "semantic": {"name": "signal", "arg_names... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77619:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77619:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77619:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77619:Assign_L23_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77620 | 35 | 70 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77620:Import_L15_C0", "label": "ctypes import ctypes", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2143, 0.0143, 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_77620:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77620:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77620:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77620:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77622 | 74 | 128 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77622:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1172, 0.0078, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77622:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77622:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77622:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77622:If_L24_C8"}, {"f": "ajibawa-2023/Python-Code... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | ajibawa-2023/Python-Code-Large/train/row_77623 | 42 | 69 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77623:ImportFrom_L16_C0", "label": "from fixture import Setup, Teardown", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2319, 0.0145, 0, 0.66, 0.0, 458, 0, 2, 0, 0, 458, 0, 0], "semantic": {"name": "fixture", "arg_names": [], "import_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77623:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77623:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77623:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77623:Assign_L23_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77624 | 328 | 491 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77624:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0305, 0.002, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77624:If_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77624:ImportFrom_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77624:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77624:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77625 | 24 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77625:Import_L16_C0", "label": "inspect import inspect", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.32, 0.02, 0, 0.66, 0.0, 878, 0, 1, 0, 0, 878, 0, 0], "semantic": {"name": "inspect", "arg_names": [], "import_names": ["inspect"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77625:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77625:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77625:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77625:Assign_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77628 | 20 | 49 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77628:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 22], "level": 0, "parent": null, "vector": [8, 0, 0.3776, 0.1633, 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_77628:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77628:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77628:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77628:ImportFrom_L36_C4"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77629 | 63 | 105 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77629:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0095, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77629:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77629:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77629:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77629:Assign_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77630 | 84 | 145 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77630:ImportFrom_L15_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1034, 0.0069, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77630:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77630:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77630:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77630:Assign_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77632 | 82 | 129 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77632:Import_L15_C0", "label": "os.path import os.path", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1163, 0.0078, 0, 0.66, 0.0, 79, 0, 1, 0, 0, 79, 0, 0], "semantic": {"name": "os.path", "arg_names": [], "import_names": ["os.path"]... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77632:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77632:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77632:FunctionDef_L28_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77632:Assign_L29_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77633 | 238 | 361 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77633:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0416, 0.0028, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77633:If_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77633:ImportFrom_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77633:If_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77633:ImportFrom_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77635 | 87 | 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_77635:ClassDef_L16_C0", "label": "VariableSplitter", "type": "class", "loc": [16, 134], "level": 0, "parent": null, "vector": [3, 0, 0.5597, 0.8881, 0, 0.66, 0.0, 73, 0, 15, 0, 0, 0, 0, 29], "semantic": {"name": "VariableSplitter", "arg_names": [], "import_names": [], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77635:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77635:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77635:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77635:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77636 | 105 | 163 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77636:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.092, 0.0061, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77636:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77636:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77636:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77636:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Cod... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77638 | 9 | 29 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77638:FunctionDef_L16_C0", "label": "is_var", "type": "function", "loc": [16, 21], "level": 0, "parent": null, "vector": [2, 0, 0.6379, 0.2069, 0, 0.66, 0.0, 481, 0, 1, 1, 0, 0, 0, 4], "semantic": {"name": "is_var", "arg_names": ["string"], "import_names": [], "rhs_call... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77638:FunctionDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77638:If_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77638:If_L17_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77638:Return_L18_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77639 | 27 | 73 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77639:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.2329, 0.0685, 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_77639:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77639:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77639:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77639:Expr_L38_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77640 | 20 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77640:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 0.3, 0.02, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77640:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77640:If_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77640:If_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77640:Expr_L26_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77641 | 39 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77641:Import_L15_C0", "label": "itertools import itertools", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2419, 0.0161, 0, 0.66, 0.0, 808, 0, 1, 0, 0, 808, 0, 0], "semantic": {"name": "itertools", "arg_names": [], "import_names": ["i... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77641:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77641:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77641:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77641:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77642 | 96 | 152 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77642:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0987, 0.0066, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77642:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77642:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77642:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77642:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Cod... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77643 | 2 | 70 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77643:Assign_L15_C0", "label": "TEMPLATE_START =", "type": "assigned_variable", "loc": [15, 67], "level": 0, "parent": null, "vector": [14, 0, 0.5857, 0.7571, 0, 0.66, 0.0, 986, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "TEMPLATE_START", "arg_names": [], "import_names"... | [] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77644 | 33 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77644:ClassDef_L16_C0", "label": "DataExtractor", "type": "class", "loc": [16, 56], "level": 0, "parent": null, "vector": [3, 0, 0.6429, 0.7321, 0, 0.66, 0.0, 225, 0, 7, 0, 0, 186, 0, 15], "semantic": {"name": "DataExtractor", "arg_names": [], "import_names": [], "rhs_c... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77644:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77644:Expr_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77644:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77644:FunctionDef_L19_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77645 | 2 | 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_77645:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 20], "level": 0, "parent": null, "vector": [8, 0, 0.7955, 0.2727, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77646 | 77 | 129 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77646:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1163, 0.0078, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77646:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77646:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77646:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77646:Assign_L25_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77647 | 52 | 122 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77647:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.123, 0.0082, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77647:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77647:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77647:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77647:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77648 | 25 | 54 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77648:ImportFrom_L15_C0", "label": "from dataextractor import DataExtractor", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2778, 0.0185, 0, 0.66, 0.0, 701, 0, 1, 0, 0, 701, 0, 0], "semantic": {"name": "dataextractor", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77648:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77648:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77648:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77648:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77649 | 86 | 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_77649:Try_L15_C0", "label": "try", "type": "try", "loc": [15, 19], "level": 0, "parent": null, "vector": [7, 0, 0.1149, 0.0338, 0, 0.66, 0.0, 0, 0, 1, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation": ""}, "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77649:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77649:Import_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77649:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77649:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77650 | 29 | 57 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77650:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2632, 0.0175, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77650:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77650:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77650:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77650:Return_L29_C4"}, {"f": "ajibawa-2023/Python-Code... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77651 | 52 | 85 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77651:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1765, 0.0118, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77651:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77651:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77651:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77651:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77652 | 123 | 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_77652:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0758, 0.0051, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77652:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77652:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77652:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77652:ImportFrom_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77653 | 21 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77653:Import_L15_C0", "label": "base64 import base64", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3, 0.02, 0, 0.66, 0.0, 177, 0, 1, 0, 0, 177, 0, 0], "semantic": {"name": "base64", "arg_names": [], "import_names": ["base64"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77653:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77653:Return_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77653:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77653:Import_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77654 | 54 | 107 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77654:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1402, 0.0093, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77654:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77654:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77654:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77654:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77655 | 51 | 100 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77655:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.15, 0.01, 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_77655:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77655:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77655:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77655:Expr_L23_C8"}, {"f": "ajibawa-2023/Python-Co... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77656 | 65 | 100 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77656:ImportFrom_L15_C0", "label": "from unic import unic", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.15, 0.01, 0, 0.66, 0.0, 992, 0, 1, 0, 0, 992, 0, 0], "semantic": {"name": "unic", "arg_names": [], "import_names": ["unic"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77656:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77656:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77656:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77656:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Co... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77657 | 41 | 87 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77657:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1724, 0.0115, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77657:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77657:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77657:Try_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77657:ImportFrom_L25_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77659 | 247 | 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_77659:Import_L15_C0", "label": "time import time", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0373, 0.0025, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77659:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77659:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77659:If_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77659:Assign_L24_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77660 | 34 | 66 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77660:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2273, 0.0152, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77660:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77660:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77660:If_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77660:Return_L24_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77663 | 55 | 104 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77663:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1442, 0.0096, 0, 0.66, 0.0, 878, 0, 1, 0, 0, 878, 0, 0], "semantic": {"name": "inspect", "arg_names": [], "import_names": ["inspect... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77663:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77663:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77663:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77663:If_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77664 | 16 | 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_77664:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 30], "level": 0, "parent": null, "vector": [8, 0, 0.163, 0.1159, 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_77664:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77664:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77664:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77664:If_L34_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77665 | 41 | 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_77665:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2, 0.0133, 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_77665:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77665:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77665:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77665:If_L24_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77666 | 19 | 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_77666:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3191, 0.0213, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77666:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77666:Return_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77666:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77666:Return_L32_C4"}, {"f": "ajibawa-2023/Python-Co... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77667 | 32 | 74 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77667:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2027, 0.0135, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77667:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77667:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77667:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77667:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77668 | 89 | 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_77668:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0974, 0.0065, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77668:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77668:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77668:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77668:If_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77669 | 24 | 53 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77669:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 19], "level": 0, "parent": null, "vector": [8, 0, 0.3208, 0.0943, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77670 | 151 | 256 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77670:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0586, 0.0039, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77670:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77670:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77670:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77670:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77672 | 55 | 119 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77672:ImportFrom_L15_C0", "label": "from normalizing import NormalizedDict", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1261, 0.0084, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "normalizing", "arg_names": [], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77672:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77672:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77672:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77672:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77673 | 50 | 91 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77673:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1648, 0.011, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77673:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77673:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77673:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77673:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Co... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77674 | 21 | 44 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77674:ClassDef_L16_C0", "label": "setter", "type": "class", "loc": [16, 33], "level": 0, "parent": null, "vector": [3, 0, 0.5568, 0.4091, 0, 0.66, 0.0, 235, 0, 3, 0, 0, 186, 0, 4], "semantic": {"name": "setter", "arg_names": [], "import_names": [], "rhs_call_name": "", ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77674:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77674:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77674:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77674:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77675 | 79 | 124 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77675:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.121, 0.0081, 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_77675:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77675:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77675:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77675:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Cod... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77676 | 27 | 57 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77676:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2632, 0.0175, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77676:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77676:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77676:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77676:Assign_L27_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77677 | 43 | 96 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77677:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1562, 0.0104, 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_77677:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77677:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77677:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77677:Assign_L25_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77678 | 14 | 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_77678:Import_L15_C0", "label": "codecs import codecs", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.4545, 0.0303, 0, 0.66, 0.0, 220, 0, 1, 0, 0, 220, 0, 0], "semantic": {"name": "codecs", "arg_names": [], "import_names": ["codecs"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77678:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77678:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77678:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77678:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77679 | 22 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77679:ImportFrom_L15_C0", "label": "from robot.utils import XmlWriter, get_timestamp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3659, 0.0244, 0, 0.66, 0.0, 417, 0, 2, 0, 0, 417, 0, 0], "semantic": {"name": "robot.utils", "arg_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77679:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77679:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77679:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77679:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77680 | 67 | 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_77680:Import_L15_C0", "label": "textwrap import textwrap", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1389, 0.0093, 0, 0.66, 0.0, 641, 0, 1, 0, 0, 641, 0, 0], "semantic": {"name": "textwrap", "arg_names": [], "import_names": ["text... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77680:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77680:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77680:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77680:Assign_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77681 | 46 | 95 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77681:ImportFrom_L15_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1579, 0.0105, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77681:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77681:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77681:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77681:Assign_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77682 | 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_77682:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 20], "level": 0, "parent": null, "vector": [8, 0, 0.5303, 0.1818, 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_77682:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77682:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77682:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77682:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Co... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77683 | 18 | 38 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77683:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3947, 0.0263, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77683:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77683:ImportFrom_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77683:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77683:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77684 | 9 | 27 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77684:ImportFrom_L15_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5556, 0.037, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "impo... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77684:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77684:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77684:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77684:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77685 | 21 | 52 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77685:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2885, 0.0192, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77685:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77685:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77685:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77685:Assign_L25_C8"}, {"f": "ajibawa-2023/Python-... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | ajibawa-2023/Python-Code-Large/train/row_77686 | 87 | 221 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77686:Assign_L17_C0", "label": "USAGE =", "type": "assigned_variable", "loc": [17, 63], "level": 0, "parent": null, "vector": [14, 0, 0.181, 0.2127, 0, 0.66, 0.0, 952, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "USAGE", "arg_names": [], "import_names": [], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77686:If_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77686:Import_L74_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77686:ClassDef_L83_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77686:FunctionDef_L85_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77688 | 6 | 29 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77688:Assign_L16_C0", "label": "RESERVED_KEYWORDS =", "type": "assigned_variable", "loc": [16, 17], "level": 0, "parent": null, "vector": [14, 0, 0.569, 0.069, 0, 0.66, 0.0, 112, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "RESERVED_KEYWORDS", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77688:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77688:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77688:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77688:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Cod... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77689 | 3 | 18 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77689:FunctionDef_L15_C0", "label": "none_shall_pass", "type": "function", "loc": [15, 18], "level": 0, "parent": null, "vector": [2, 0, 0.9167, 0.2222, 0, 0.66, 0.0, 93, 0, 1, 0, 0, 0, 0, 2], "semantic": {"name": "none_shall_pass", "arg_names": ["who"], "import_names":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77689:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77689:If_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77689:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77689:Expr_L18_C4"}] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77691 | 27 | 92 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77691:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 25], "level": 0, "parent": null, "vector": [8, 0, 0.2174, 0.1196, 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_77691:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77691:ImportFrom_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77691:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77691:If_L31_C0"}, {"f": "ajibawa-2023/Python-Code-Large/train/row... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77692 | 195 | 520 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77692:Import_L16_C0", "label": "telnetlib import telnetlib", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0308, 0.0019, 0, 0.66, 0.0, 248, 0, 1, 0, 0, 248, 0, 0], "semantic": {"name": "telnetlib", "arg_names": [], "import_names": ["t... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77692:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77692:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77692:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77692:Assign_L39_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77693 | 28 | 48 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77693:Import_L16_C0", "label": "OperatingSystem import OperatingSystem", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3333, 0.0208, 0, 0.66, 0.0, 59, 0, 1, 0, 0, 59, 0, 0], "semantic": {"name": "OperatingSystem", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77693:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77693:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77693:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77693:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77696 | 58 | 89 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77696:Import_L16_C0", "label": "re import re", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1798, 0.0112, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77696:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77696:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77696:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77696:Assign_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77697 | 97 | 151 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77697:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0993, 0.0066, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77697:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77697:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77697:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77697:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77698 | 151 | 749 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77698:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.02, 0.0013, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "impo... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77698:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77698:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77698:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77698:Assign_L263_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77699 | 119 | 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_77699:Import_L16_C0", "label": "re import re", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0379, 0.0024, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77699:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77699:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77699:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77699:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77700 | 1 | 15 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77700:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 15], "level": 0, "parent": null, "vector": [8, 0, 1.0, 0.0667, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77702 | 40 | 74 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77702:Import_L15_C0", "label": "time import time", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2027, 0.0135, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77702:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77702:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77702:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77702:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | ajibawa-2023/Python-Code-Large/train/row_77703 | 37 | 409 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77703:Assign_L17_C0", "label": "USAGE =", "type": "assigned_variable", "loc": [17, 321], "level": 0, "parent": null, "vector": [14, 0, 0.4132, 0.7457, 0, 0.66, 0.0, 952, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "USAGE", "arg_names": [], "import_names": [], "rhs_call_n... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77703:If_L327_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77703:Import_L328_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77703:ClassDef_L338_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77703:FunctionDef_L340_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | ajibawa-2023/Python-Code-Large/train/row_77704 | 85 | 220 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77704:Assign_L17_C0", "label": "USAGE =", "type": "assigned_variable", "loc": [17, 87], "level": 0, "parent": null, "vector": [14, 0, 0.2364, 0.3227, 0, 0.66, 0.0, 952, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "USAGE", "arg_names": [], "import_names": [], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77704:If_L95_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77704:Import_L96_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77704:ClassDef_L103_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77704:FunctionDef_L105_C4"}, {"f": "ajibawa-2023/Python-Code-La... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77706 | 216 | 325 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77706:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0462, 0.0031, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77706:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77706:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77706:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77706:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77707 | 389 | 666 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77707:Import_L15_C0", "label": "os import os", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0225, 0.0015, 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_77707:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77707:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77707:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77707:If_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77708 | 13 | 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_77708:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.4545, 0.0303, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77708:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77708:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77708:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77708:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77709 | 20 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77709:ImportFrom_L15_C0", "label": "from codecs import BOM_UTF8", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3659, 0.0244, 0, 0.66, 0.0, 220, 0, 1, 0, 0, 220, 0, 0], "semantic": {"name": "codecs", "arg_names": [], "import_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77709:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77709:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77709:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77709:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77710 | 212 | 339 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77710:ClassDef_L16_C0", "label": "Setting", "type": "class", "loc": [16, 73], "level": 0, "parent": null, "vector": [3, 0, 0.1313, 0.1711, 0, 0.66, 0.0, 155, 0, 15, 0, 0, 186, 0, 15], "semantic": {"name": "Setting", "arg_names": [], "import_names": [], "rhs_call_name": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77710:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77710:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77710:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77710:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77711 | 68 | 109 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77711:Import_L15_C0", "label": "re import re", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1376, 0.0092, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77711:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77711:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77711:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77711:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77712 | 4 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77712:Expr_L15_C0", "label": "expression", "type": "expression", "loc": [15, 36], "level": 0, "parent": null, "vector": [8, 0, 0.622, 0.5366, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77713 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77713:Import_L15_C0", "label": "tempfile import tempfile", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2679, 0.0179, 0, 0.66, 0.0, 516, 0, 1, 0, 0, 516, 0, 0], "semantic": {"name": "tempfile", "arg_names": [], "import_names": ["temp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77713:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77713:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77713:Try_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77713:ImportFrom_L25_C8"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77714 | 144 | 207 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77714:Import_L16_C0", "label": "HTMLParser import HTMLParser", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0773, 0.0048, 0, 0.66, 0.0, 217, 0, 1, 0, 0, 217, 0, 0], "semantic": {"name": "HTMLParser", "arg_names": [], "import_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77714:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77714:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77714:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77714:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77715 | 76 | 115 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77715:ImportFrom_L15_C0", "label": "from robot import utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1304, 0.0087, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["util... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77715:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77715:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77715:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77715:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77716 | 3 | 19 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77716:ImportFrom_L15_C0", "label": "from robot import model", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.7895, 0.0526, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["mode... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77716:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77716:Assign_L19_C4"}] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77717 | 17 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77717:ImportFrom_L15_C0", "label": "from robot.model import ItemList", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.3659, 0.0244, 0, 0.66, 0.0, 275, 0, 1, 0, 0, 275, 0, 0], "semantic": {"name": "robot.model", "arg_names": [], "import... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77717:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77717:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77717:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77717:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Cod... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77718 | 125 | 232 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77718:ImportFrom_L15_C0", "label": "from robot.errors import DataError", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0647, 0.0043, 0, 0.66, 0.0, 299, 0, 1, 0, 0, 299, 0, 0], "semantic": {"name": "robot.errors", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77718:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77718:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77718:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77718:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77719 | 15 | 54 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77719:ImportFrom_L15_C0", "label": "from robot import model, utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2778, 0.0185, 0, 0.66, 0.0, 735, 0, 2, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77719:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77719:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77719:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77719:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77720 | 16 | 52 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77720:ImportFrom_L15_C0", "label": "from robot import model, utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2885, 0.0192, 0, 0.66, 0.0, 735, 0, 2, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77720:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77720:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77720:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77720:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ajibawa-2023/Python-Code-Large/train/row_77721 | 26 | 60 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77721:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0167, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "impo... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77721:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77721:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77721:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77721:If_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.