code
stringlengths
1
1.49M
file_id
stringlengths
42
46
node_count
int64
0
7.38k
total_lines
int64
1
20.9k
vector_dim
int64
15
15
vector_labels
stringclasses
1 value
nodes
stringlengths
2
3.75M
connections
stringlengths
2
964k
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5942
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5942:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5943
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5943:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5943:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5943:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5943:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5943:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5944
18
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_5944:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5944:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5944:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5944:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5944:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5945
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5945:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5946
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5946:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5947
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5947:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5947:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5947:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5947:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5947:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5948
18
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_5948:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5948:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5948:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5948:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5948:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5949
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5949:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5950
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5950:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5951
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5951:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5951:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5951:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5951:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5951:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5952
18
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_5952:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5952:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5952:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5952:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5952:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5953
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5953:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5954
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5954:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5955
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5955:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5955:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5955:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5955:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5955:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5956
18
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_5956:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5956:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5956:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5956:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5956:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5957
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5957:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5958
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5958:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5959
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5959:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5959:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5959:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5959:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5959:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5960
18
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_5960:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5960:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5960:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5960:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5960:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5961
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5961:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5962
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5962:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5963
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5963:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5963:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5963:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5963:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5963:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5964
18
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_5964:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5964:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5964:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5964:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5964:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5965
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5965:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5966
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5966:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5967
28
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5967:Import_L15_C0", "label": "sys import sys", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0196, 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_5967:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5967:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5967:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5967:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
ajibawa-2023/Python-Code-Large/train/row_5968
18
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_5968:Import_L7_C0", "label": "cv import cv", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1296, 0.0185, 0, 0.66, 0.0, 492, 0, 1, 0, 0, 492, 0, 0], "semantic": {"name": "cv", "arg_names": [], "import_names": ["cv"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5968:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5968:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5968:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5968:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5969
2
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5969:ImportFrom_L13_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.0077, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [], "i...
[]
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5970
3
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5970:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1875, 0.0125, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5971
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_5971:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5972
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5972:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5972:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5972:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5972:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5972:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5973
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5973:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_5973:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5973:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5973:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5973:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5974
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5974:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_5974:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5974:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5974:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5974:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5975
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5975:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5975:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5975:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5975:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5975:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5976
18
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_5976:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5976:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5976:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5976:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5976:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5977
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5977:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5977:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5977:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5977:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5977:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5978
2
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_5978:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5979
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_5979:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5980
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5980:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5980:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5980:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5980:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5980:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5981
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5981:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_5981:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5981:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5981:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5981:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5982
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5982:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_5982:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5982:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5982:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5982:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5983
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5983:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5983:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5983:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5983:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5983:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5984
18
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_5984:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5984:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5984:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5984:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5984:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5985
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5985:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5985:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5985:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5985:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5985:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5986
2
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_5986:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5987
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_5987:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5988
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5988:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5988:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5988:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5988:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5988:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5989
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5989:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_5989:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5989:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5989:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5989:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5990
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5990:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_5990:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5990:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5990:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5990:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5991
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5991:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5991:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5991:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5991:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5991:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5992
18
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_5992:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5992:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5992:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5992:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5992:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5993
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5993:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5993:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5993:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5993:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5993:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5994
2
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_5994:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_5995
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_5995:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5996
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5996:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5996:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5996:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5996:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5996:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_5997
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5997:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_5997:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5997:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5997:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5997:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5998
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5998:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_5998:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5998:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5998:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5998:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_5999
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_5999:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_5999:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5999:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_5999:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_5999:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6000
18
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_6000:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6000:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6000:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6000:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6000:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6001
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6001:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6001:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6001:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6001:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6001:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6002
2
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_6002:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6003
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_6003:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6004
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6004:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6004:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6004:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6004:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6004:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6005
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6005:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_6005:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6005:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6005:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6005:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6006
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6006:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_6006:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6006:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6006:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6006:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6007
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6007:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6007:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6007:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6007:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6007:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6008
18
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_6008:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6008:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6008:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6008:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6008:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6009
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6009:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6009:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6009:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6009:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6009:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6010
2
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_6010:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6011
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_6011:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6012
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6012:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6012:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6012:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6012:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6012:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6013
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6013:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_6013:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6013:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6013:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6013:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6014
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6014:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_6014:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6014:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6014:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6014:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6015
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6015:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6015:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6015:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6015:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6015:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6016
18
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_6016:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6016:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6016:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6016:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6016:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6017
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6017:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6017:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6017:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6017:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6017:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6018
2
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_6018:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6019
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_6019:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6020
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6020:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6020:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6020:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6020:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6020:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6021
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6021:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_6021:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6021:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6021:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6021:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6022
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6022:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_6022:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6022:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6022:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6022:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6023
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6023:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6023:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6023:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6023:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6023:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6024
18
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_6024:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6024:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6024:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6024:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6024:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6025
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6025:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6025:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6025:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6025:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6025:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6026
2
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_6026:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6027
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_6027:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6028
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6028:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6028:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6028:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6028:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6028:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6029
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6029:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_6029:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6029:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6029:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6029:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6030
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6030:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_6030:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6030:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6030:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6030:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6031
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6031:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6031:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6031:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6031:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6031:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6032
18
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_6032:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6032:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6032:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6032:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6032:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6033
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6033:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6033:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6033:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6033:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6033:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6034
2
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_6034:ImportFrom_L15_C0", "label": "from utils.start_cpp import start_cpp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1923, 0.0128, 0, 0.66, 0.0, 972, 0, 1, 0, 0, 972, 0, 0], "semantic": {"name": "utils.start_cpp", "arg_names": [],...
[]
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6035
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_6035:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"...
[]
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6036
41
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6036:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6036:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6036:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6036:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6036:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6037
12
30
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6037:Import_L15_C0", "label": "inspect import inspect", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0333, 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_6037:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6037:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6037:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6037:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6038
31
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6038:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 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_6038:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6038:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6038:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6038:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6...
# Copyright (c) 2012, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ajibawa-2023/Python-Code-Large/train/row_6039
125
205
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6039:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6039:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6039:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6039:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6039:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
ajibawa-2023/Python-Code-Large/train/row_6040
18
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_6040:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6040:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6040:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6040:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6040:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
ajibawa-2023/Python-Code-Large/train/row_6041
55
103
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6041:Import_L15_C0", "label": "multiprocessing import mp", "type": "import", "loc": [15, 15], "level": 0, "parent": null, "vector": [1, 0, 0.1456, 0.0097, 0, 0.66, 0.0, 901, 0, 1, 0, 0, 901, 0, 0], "semantic": {"name": "multiprocessing", "arg_names": [], "import_names":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6041:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6041:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6041:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6041:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...