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 |
|---|---|---|---|---|---|---|---|
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_80549 | 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_80549: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_80550 | 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_80550: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_80551 | 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_80551: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_80551:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80551:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80551:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80551: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_80552 | 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_80552: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_80552:If_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80552:Expr_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80552:If_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80552:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_805... |
#!/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_80553 | 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_80553: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_80553:If_L110_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80553:Import_L111_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80553:ClassDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80553: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_80554 | 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_80554: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_80554:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80554:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80554:If_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80554: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_80556 | 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_80556: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_80556:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80556:ImportFrom_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80556:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80556: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_80557 | 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_80557: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_80557:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80557:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80557:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80557: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_80559 | 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_80559: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_80559:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80559:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80559:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80559: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_80561 | 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_80561: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_80561:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80561:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80561:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80561: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_80562 | 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_80562: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_80562:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80562:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80562:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80562: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_80564 | 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_80564: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_80564:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80564:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80564:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80564: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_80565 | 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_80565: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_80565:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80565:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80565:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80565: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_80566 | 324 | 484 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_80566:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.031, 0.0021, 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_80566:If_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80566:ImportFrom_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80566:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80566: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_80567 | 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_80567: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_80567:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80567:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80567:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80567: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_80570 | 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_80570: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_80570:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80570:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80570:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80570: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_80571 | 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_80571: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_80571:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80571:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80571:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80571: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_80572 | 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_80572: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_80572:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80572:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80572:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80572: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_80574 | 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_80574: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_80574:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80574:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80574:FunctionDef_L28_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80574: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_80575 | 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_80575: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_80575:If_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80575:ImportFrom_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80575:If_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80575: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_80577 | 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_80577: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_80577:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80577:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80577:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80577: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_80578 | 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_80578: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_80578:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80578:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80578:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80578: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_80580 | 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_80580: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_80580:FunctionDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80580:If_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80580:If_L17_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80580: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_80581 | 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_80581: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_80581:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80581:Expr_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80581:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80581: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_80582 | 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_80582: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_80582:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80582:If_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80582:If_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80582: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_80583 | 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_80583: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_80583:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80583:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80583:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80583: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_80584 | 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_80584: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_80584:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80584:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80584:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80584: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_80585 | 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_80585: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_80586 | 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_80586: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_80586:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80586:Expr_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80586:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80586: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_80587 | 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_80587: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_80588 | 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_80588: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_80588:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80588:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80588:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80588: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_80589 | 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_80589: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_80589:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80589:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80589:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80589: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_80590 | 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_80590: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_80590:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80590:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80590:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80590: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_80591 | 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_80591: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_80591:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80591:Import_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80591:Try_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80591: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_80592 | 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_80592: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_80592:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80592:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80592:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80592: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_80593 | 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_80593: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_80593:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80593:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80593:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80593: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_80594 | 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_80594: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_80594:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80594:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80594:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80594: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_80595 | 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_80595: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_80595:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80595:Return_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80595:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80595: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_80596 | 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_80596: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_80596:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80596:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80596:If_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80596:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80... |
# 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_80597 | 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_80597: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_80597:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80597:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80597:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80597: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_80598 | 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_80598: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_80598:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80598:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80598:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80598: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_80599 | 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_80599: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_80599:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80599:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80599:Try_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80599: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_80601 | 240 | 391 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_80601:Import_L15_C0", "label": "time import time", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0384, 0.0026, 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_80601:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80601:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80601:If_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80601: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_80602 | 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_80602: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_80602:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80602:If_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80602:If_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80602: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_80605 | 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_80605: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_80605:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80605:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80605:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80605: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_80606 | 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_80606: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_80606:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80606:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80606:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80606: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_80607 | 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_80607: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_80607:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80607:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80607:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80607: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_80608 | 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_80608: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_80608:FunctionDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80608:Return_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80608:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80608: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_80609 | 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_80609: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_80609:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80609:ImportFrom_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80609:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80609: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_80610 | 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_80610: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_80610:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80610:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80610:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80610: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_80611 | 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_80611: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_80612 | 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_80612: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_80612:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80612:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80612:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80612: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_80614 | 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_80614: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_80614:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80614:Expr_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80614:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80614: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_80615 | 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_80615: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_80615:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80615:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80615:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80615: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_80616 | 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_80616: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_80616:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80616:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80616:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80616: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_80617 | 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_80617: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_80617:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80617:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80617:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80617: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_80618 | 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_80618: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_80618:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80618:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80618:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80618: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_80619 | 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_80619: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_80619:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80619:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80619:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80619: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_80620 | 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_80620: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_80620:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80620:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80620:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80620: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_80621 | 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_80621: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_80621:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80621:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80621:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80621: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_80622 | 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_80622: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_80622:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80622:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80622:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80622: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_80623 | 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_80623: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_80623:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80623:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80623:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80623: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_80624 | 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_80624: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_80624:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80624:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80624:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80624: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_80625 | 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_80625: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_80625:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80625:ImportFrom_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80625:If_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80625: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_80626 | 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_80626: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_80626:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80626:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80626:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80626: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_80627 | 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_80627: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_80627:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80627:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80627:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80627: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_80628 | 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_80628: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_80628:If_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80628:Import_L74_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80628:ClassDef_L83_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80628: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_80630 | 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_80630: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_80630:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80630:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80630:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80630: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_80631 | 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_80631: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_80631:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80631:If_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80631:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80631: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_80633 | 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_80633: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_80633:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80633:ImportFrom_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80633:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80633: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_80634 | 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_80634: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_80634:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80634:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80634:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80634: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_80635 | 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_80635: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_80635:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80635:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80635:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80635: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_80638 | 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_80638: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_80638:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80638:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80638:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80638: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_80639 | 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_80639: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_80639:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80639:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80639:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80639: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_80640 | 138 | 399 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_80640:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.0376, 0.0025, 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_80640:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80640:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80640:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80640:Assign_L211_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_80641 | 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_80641: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_80641:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80641:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80641:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80641: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_80642 | 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_80642: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_80644 | 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_80644: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_80644:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80644:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80644:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80644: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_80645 | 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_80645: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_80645:If_L327_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80645:Import_L328_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80645:ClassDef_L338_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80645: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_80646 | 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_80646: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_80646:If_L95_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80646:Import_L96_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80646:ClassDef_L103_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80646: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_80648 | 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_80648: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_80648:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80648:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80648:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80648: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_80649 | 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_80649: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_80649:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80649:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80649:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80649: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_80650 | 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_80650: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_80650:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80650:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80650:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80650: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_80651 | 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_80651: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_80651:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80651:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80651:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80651: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_80652 | 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_80652: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_80652:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80652:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80652:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80652: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_80653 | 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_80653: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_80653:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80653:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80653:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80653: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_80654 | 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_80654: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_80655 | 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_80655: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_80655:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80655:Try_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80655:Try_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80655: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_80656 | 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_80656: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_80656:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80656:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80656:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80656: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_80657 | 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_80657: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_80657:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80657:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80657:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80657: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_80658 | 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_80658: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_80658:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80658: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_80659 | 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_80659: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_80659:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80659:Assign_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80659:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80659: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_80660 | 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_80660: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_80660:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80660:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80660:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80660: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_80661 | 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_80661: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_80661:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80661:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80661:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80661: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_80662 | 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_80662: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_80662:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80662:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80662:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80662: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_80663 | 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_80663: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_80663:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80663:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80663:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80663:If_L33_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_80664 | 33 | 78 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_80664:ImportFrom_L15_C0", "label": "from itertools import chain", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 808, 0, 1, 0, 0, 808, 0, 0], "semantic": {"name": "itertools", "arg_names": [], "import_names"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_80664:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80664:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80664:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80664:Assign_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_80665 | 72 | 131 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_80665:ImportFrom_L15_C0", "label": "from robot import utils", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1145, 0.0076, 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_80665:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80665:Return_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80665:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80665:Assign_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_80666 | 39 | 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_80666:ImportFrom_L15_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2027, 0.0135, 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_80666:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80666:Expr_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80666:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80666:FunctionDef_L33_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_80667 | 7 | 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_80667:ImportFrom_L15_C0", "label": "from robot.output.loggerhelper import IsLogged", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5556, 0.037, 0, 0.66, 0.0, 19, 0, 1, 0, 0, 19, 0, 0], "semantic": {"name": "robot.output.loggerhelper",... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_80667:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_80667:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_80667:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_80667:Assign_L23_C8"}, {"f": "ajibawa-2023/Python-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.