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_6242
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_6242: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_6243
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_6243: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_6244
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_6244: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_6244:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6244:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6244:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6244: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_6245
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_6245: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_6245:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6245:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6245:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6245: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_6246
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_6246: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_6246:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6246:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6246:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6246: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_6247
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_6247: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_6247:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6247:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6247:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6247: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_6248
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_6248: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_6248:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6248:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6248:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6248: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_6249
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_6249: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_6249:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6249:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6249:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6249: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_6250
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_6250: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_6251
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_6251: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_6252
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_6252: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_6252:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6252:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6252:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6252: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_6253
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_6253: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_6253:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6253:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6253:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6253: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_6254
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_6254: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_6254:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6254:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6254:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6254: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_6255
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_6255: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_6255:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6255:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6255:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6255: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_6256
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_6256: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_6256:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6256:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6256:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6256: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_6257
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_6257: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_6257:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6257:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6257:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6257: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_6258
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_6258: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_6259
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_6259: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_6260
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_6260: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_6260:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6260:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6260:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6260: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_6261
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_6261: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_6261:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6261:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6261:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6261: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_6262
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_6262: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_6262:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6262:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6262:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6262: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_6263
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_6263: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_6263:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6263:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6263:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6263: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_6264
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_6264: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_6264:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6264:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6264:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6264: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_6265
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_6265: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_6265:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6265:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6265:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6265: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_6266
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_6266: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_6267
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_6267: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_6268
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_6268: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_6268:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6268:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6268:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6268: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_6269
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_6269: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_6269:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6269:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6269:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6269: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_6270
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_6270: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_6270:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6270:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6270:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6270: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_6271
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_6271: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_6271:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6271:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6271:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6271: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_6272
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_6272: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_6272:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6272:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6272:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6272: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_6273
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_6273: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_6273:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6273:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6273:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6273: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_6274
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_6274: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_6275
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_6275: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_6276
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_6276: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_6276:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6276:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6276:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6276: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_6277
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_6277: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_6277:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6277:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6277:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6277: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_6278
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_6278: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_6278:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6278:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6278:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6278: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_6279
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_6279: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_6279:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6279:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6279:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6279: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_6280
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_6280: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_6280:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6280:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6280:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6280: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_6281
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_6281: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_6281:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6281:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6281:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6281: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_6282
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_6282: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_6283
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_6283: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_6284
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_6284: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_6284:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6284:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6284:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6284: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_6285
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_6285: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_6285:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6285:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6285:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6285: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_6286
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_6286: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_6286:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6286:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6286:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6286: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_6287
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_6287: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_6287:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6287:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6287:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6287: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_6288
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_6288: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_6288:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6288:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6288:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6288: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_6289
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_6289: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_6289:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6289:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6289:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6289: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_6290
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_6290: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 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by...
ajibawa-2023/Python-Code-Large/train/row_6291
6
27
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6291:Import_L14_C0", "label": "swood import swood", "type": "import", "loc": [14, 14], "level": 0, "parent": null, "vector": [1, 0, 0.5185, 0.037, 0, 0.66, 0.0, 898, 0, 1, 0, 0, 898, 0, 0], "semantic": {"name": "swood", "arg_names": [], "import_names": ["swood"], "rhs_c...
[]
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
ajibawa-2023/Python-Code-Large/train/row_6292
75
126
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6292:ImportFrom_L11_C0", "label": "from collections import defaultdict", "type": "import", "loc": [11, 11], "level": 0, "parent": null, "vector": [1, 0, 0.0873, 0.0079, 0, 0.66, 0.0, 193, 0, 1, 0, 0, 193, 0, 0], "semantic": {"name": "collections", "arg_names": [], "impo...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6292:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6292:Expr_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6292:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6292:FunctionDef_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# Copyright 2011 Tom SF Haines # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the ho...
ajibawa-2023/Python-Code-Large/train/row_6293
42
76
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6293:Import_L18_C0", "label": "math import math", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.2368, 0.0132, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_call...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6293:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6293:Expr_L24_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6293:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6293:FunctionDef_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2012 Tom SF Haines # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later v...
ajibawa-2023/Python-Code-Large/train/row_6294
2
22
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6294:ImportFrom_L21_C0", "label": "from concentration_dp import ConcentrationDP", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.9545, 0.0455, 0, 0.66, 0.0, 701, 0, 1, 0, 0, 701, 0, 0], "semantic": {"name": "concentration_dp", "arg_nam...
[]
# Copyright 2011 Tom SF Haines # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the ho...
ajibawa-2023/Python-Code-Large/train/row_6295
344
430
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6295:Import_L18_C0", "label": "math import math", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.0419, 0.0023, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_call...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6295:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6295:Expr_L35_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6295:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6295:FunctionDef_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# 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_6296
31
60
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_6296:Import_L13_C0", "label": "os.path import os.path", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2167, 0.0167, 0, 0.66, 0.0, 79, 0, 1, 0, 0, 79, 0, 0], "semantic": {"name": "os.path", "arg_names": [], "import_names": ["os.path"],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_6296:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6296:Expr_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6296:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6296:FunctionDef_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...
# -*- 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_6297
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_6297: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_6297:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6297:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6297:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6297: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_6298
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_6298: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_6298:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6298:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6298:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6298: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_6299
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_6299: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_6300
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_6300: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_6301
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_6301: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_6301:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6301:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6301:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6301: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_6302
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_6302: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_6302:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6302:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6302:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6302: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_6303
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_6303: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_6304
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_6304: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_6305
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_6305: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_6305:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6305:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6305:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6305: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_6306
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_6306: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_6306:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6306:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6306:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6306: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_6307
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_6307: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_6308
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_6308: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_6309
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_6309: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_6309:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6309:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6309:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6309: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_6310
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_6310: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_6310:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6310:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6310:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6310: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_6311
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_6311: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_6312
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_6312: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_6313
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_6313: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_6313:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6313:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6313:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6313: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_6314
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_6314: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_6314:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6314:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6314:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6314: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_6315
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_6315: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_6316
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_6316: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_6317
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_6317: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_6317:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6317:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6317:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6317: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_6318
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_6318: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_6318:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6318:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6318:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6318: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_6319
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_6319: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_6320
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_6320: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_6321
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_6321: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_6321:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6321:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6321:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6321: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_6322
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_6322: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_6322:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6322:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6322:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6322: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_6323
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_6323: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_6324
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_6324: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_6325
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_6325: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_6325:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6325:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6325:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6325: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_6326
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_6326: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_6326:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6326:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6326:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6326: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_6327
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_6327: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_6328
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_6328: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_6329
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_6329: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_6329:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6329:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6329:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6329: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_6330
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_6330: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_6330:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6330:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6330:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6330: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_6331
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_6331: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_6332
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_6332: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_6333
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_6333: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_6333:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6333:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6333:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6333: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_6334
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_6334: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_6334:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6334:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6334:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6334: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_6335
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_6335: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_6336
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_6336: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_6337
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_6337: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_6337:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6337:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6337:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6337: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_6338
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_6338: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_6338:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6338:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6338:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6338: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_6339
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_6339: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_6340
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_6340: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_6341
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_6341: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_6341:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6341:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6341:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6341:FunctionDef_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Larg...