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) 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_95066 | 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_95066: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95066:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95066:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95066:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95066:FunctionDef_L22_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_95067 | 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_95067: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_95067:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95067:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95067:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95067:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95068 | 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_95068: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_95068:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95068:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95068:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95068:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95069 | 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_95069: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_95069:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95069:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95069:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95069:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95070 | 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_95070: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) 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_95071 | 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_95071: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": []... | [] |
# -*- 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_95072 | 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_95072: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95072:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95072:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95072:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95072:FunctionDef_L22_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_95073 | 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_95073: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_95073:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95073:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95073:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95073:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95074 | 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_95074: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_95074:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95074:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95074:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95074:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95075 | 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_95075: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_95075:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95075:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95075:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95075:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95076 | 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_95076: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) 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_95077 | 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_95077: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": []... | [] |
# -*- 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_95078 | 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_95078: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95078:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95078:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95078:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95078:FunctionDef_L22_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_95079 | 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_95079: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_95079:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95079:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95079:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95079:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95080 | 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_95080: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_95080:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95080:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95080:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95080:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95081 | 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_95081: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_95081:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95081:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95081:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95081:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95082 | 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_95082: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) 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_95083 | 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_95083: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": []... | [] |
# -*- 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_95084 | 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_95084: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95084:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95084:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95084:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95084:FunctionDef_L22_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_95085 | 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_95085: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_95085:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95085:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95085:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95085:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95086 | 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_95086: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_95086:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95086:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95086:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95086:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95087 | 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_95087: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_95087:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95087:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95087:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95087:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95088 | 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_95088: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) 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_95089 | 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_95089: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": []... | [] |
# -*- 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_95090 | 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_95090: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95090:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95090:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95090:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95090:FunctionDef_L22_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_95091 | 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_95091: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_95091:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95091:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95091:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95091:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95092 | 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_95092: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_95092:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95092:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95092:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95092:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95093 | 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_95093: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_95093:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95093:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95093:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95093:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95094 | 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_95094: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) 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_95095 | 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_95095: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": []... | [] |
# -*- 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_95096 | 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_95096: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95096:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95096:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95096:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95096:FunctionDef_L22_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_95097 | 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_95097: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_95097:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95097:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95097:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95097:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95098 | 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_95098: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_95098:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95098:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95098:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95098:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95099 | 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_95099: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_95099:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95099:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95099:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95099:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95100 | 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_95100: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) 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_95101 | 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_95101: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": []... | [] |
# -*- 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_95102 | 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_95102: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_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95102:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95102:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95102:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95102:FunctionDef_L22_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_95103 | 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_95103: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_95103:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95103:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95103:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95103:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95104 | 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_95104: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_95104:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95104:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95104:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95104:Assign_L14_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- 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_95105 | 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_95105: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_95105:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95105:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95105:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95105:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# -*- 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_95106 | 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_95106: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) 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_95107 | 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_95107: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_95108 | 30 | 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_95108:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95109 | 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_95109: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95109:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95109:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95109:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95109:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95110 | 30 | 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_95110:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95111 | 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_95111: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95111:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95111:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95111:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95111:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95112 | 30 | 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_95112:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95113 | 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_95113: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95113:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95113:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95113:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95113:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95114 | 30 | 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_95114:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95115 | 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_95115: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95115:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95115:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95115:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95115:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95116 | 30 | 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_95116:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95117 | 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_95117: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95117:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95117:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95117:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95117:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95118 | 30 | 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_95118:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95119 | 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_95119: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95119:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95119:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95119:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95119:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95120 | 30 | 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_95120:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95121 | 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_95121: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95121:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95121:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95121:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95121:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95122 | 30 | 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_95122:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95123 | 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_95123: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95123:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95123:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95123:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95123:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95124 | 30 | 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_95124:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95125 | 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_95125: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95125:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95125:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95125:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95125:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95126 | 30 | 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_95126:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95127 | 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_95127: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95127:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95127:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95127:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95127:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95128 | 30 | 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_95128:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95129 | 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_95129: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95129:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95129:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95129:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95129:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95130 | 30 | 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_95130:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95131 | 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_95131: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95131:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95131:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95131:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95131:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95132 | 30 | 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_95132:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95133 | 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_95133: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95133:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95133:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95133:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95133:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95134 | 30 | 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_95134:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95135 | 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_95135: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95135:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95135:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95135:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95135:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95136 | 30 | 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_95136:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95137 | 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_95137: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95137:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95137:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95137:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95137:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95138 | 30 | 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_95138:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95139 | 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_95139: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95139:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95139:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95139:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95139:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95140 | 30 | 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_95140:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95141 | 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_95141: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95141:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95141:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95141:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95141:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95142 | 30 | 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_95142:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95143 | 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_95143: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95143:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95143:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95143:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95143:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95144 | 30 | 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_95144:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95145 | 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_95145: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95145:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95145:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95145:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95145:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95146 | 30 | 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_95146:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95147 | 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_95147: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95147:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95147:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95147:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95147:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95148 | 30 | 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_95148:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95149 | 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_95149: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95149:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95149:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95149:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95149:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95150 | 30 | 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_95150:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95151 | 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_95151: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95151:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95151:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95151:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95151:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95152 | 30 | 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_95152:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95153 | 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_95153: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95153:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95153:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95153:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95153:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95154 | 30 | 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_95154:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95155 | 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_95155: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95155:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95155:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95155:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95155:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95156 | 30 | 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_95156:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95157 | 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_95157: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95157:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95157:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95157:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95157:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95158 | 30 | 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_95158:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95159 | 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_95159: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95159:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95159:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95159:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95159:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95160 | 30 | 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_95160:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95161 | 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_95161: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95161:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95161:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95161:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95161:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95162 | 30 | 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_95162:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95163 | 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_95163: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95163:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95163:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95163:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95163:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /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_95164 | 30 | 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_95164:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray... | [] |
#! /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_95165 | 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_95165: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": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_95165:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95165:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_95165:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_95165:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.