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_96366 | 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_96366: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_96366:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96366:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96366:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96366: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_96367 | 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_96367: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_96367:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96367:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96367:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96367: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_96368 | 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_96368: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_96368:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96368:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96368:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96368: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_96369 | 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_96369: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_96369:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96369:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96369:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96369: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_96370 | 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_96370: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_96371 | 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_96371: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_96372 | 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_96372: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_96372:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96372:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96372:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96372: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_96373 | 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_96373: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_96373:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96373:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96373:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96373: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_96374 | 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_96374: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_96374:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96374:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96374:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96374: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_96375 | 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_96375: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_96375:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96375:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96375:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96375: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_96376 | 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_96376: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_96377 | 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_96377: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_96378 | 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_96378: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_96378:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96378:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96378:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96378: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_96379 | 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_96379: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_96379:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96379:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96379:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96379: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_96380 | 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_96380: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_96380:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96380:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96380:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96380: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_96381 | 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_96381: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_96381:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96381:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96381:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96381: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_96382 | 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_96382: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_96383 | 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_96383: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_96384 | 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_96384: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_96384:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96384:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96384:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96384: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_96385 | 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_96385: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_96385:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96385:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96385:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96385: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_96386 | 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_96386: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_96386:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96386:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96386:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96386: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_96387 | 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_96387: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_96387:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96387:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96387:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96387: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_96388 | 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_96388: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_96389 | 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_96389: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_96390 | 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_96390: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_96390:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96390:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96390:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96390: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_96391 | 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_96391: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_96391:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96391:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96391:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96391: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_96392 | 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_96392: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_96392:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96392:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96392:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96392: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_96393 | 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_96393: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_96393:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96393:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96393:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96393: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_96394 | 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_96394: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_96395 | 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_96395: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_96396 | 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_96396: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_96396:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96396:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96396:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96396: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_96397 | 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_96397: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_96397:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96397:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96397:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96397: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_96398 | 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_96398: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_96398:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96398:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96398:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96398: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_96399 | 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_96399: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_96399:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96399:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96399:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96399: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_96400 | 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_96400: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_96401 | 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_96401: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_96402 | 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_96402: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_96402:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96402:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96402:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96402: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_96403 | 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_96403: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_96403:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96403:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96403:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96403: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_96404 | 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_96404: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_96404:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96404:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96404:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96404: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_96405 | 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_96405: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_96405:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96405:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96405:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96405: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_96406 | 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_96406: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_96407 | 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_96407: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_96408 | 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_96408: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_96409 | 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_96409: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_96409:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96409:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96409:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96409: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_96410 | 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_96410: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_96411 | 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_96411: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_96411:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96411:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96411:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96411: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_96412 | 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_96412: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_96413 | 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_96413: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_96413:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96413:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96413:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96413: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_96414 | 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_96414: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_96415 | 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_96415: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_96415:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96415:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96415:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96415: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_96416 | 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_96416: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_96417 | 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_96417: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_96417:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96417:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96417:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96417: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_96418 | 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_96418: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_96419 | 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_96419: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_96419:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96419:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96419:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96419: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_96420 | 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_96420: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_96421 | 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_96421: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_96421:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96421:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96421:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96421: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_96422 | 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_96422: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_96423 | 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_96423: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_96423:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96423:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96423:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96423: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_96424 | 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_96424: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_96425 | 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_96425: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_96425:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96425:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96425:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96425: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_96426 | 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_96426: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_96427 | 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_96427: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_96427:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96427:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96427:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96427: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_96428 | 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_96428: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_96429 | 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_96429: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_96429:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96429:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96429:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96429: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_96430 | 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_96430: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_96431 | 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_96431: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_96431:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96431:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96431:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96431: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_96432 | 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_96432: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_96433 | 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_96433: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_96433:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96433:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96433:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96433: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_96434 | 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_96434: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_96435 | 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_96435: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_96435:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96435:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96435:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96435: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_96436 | 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_96436: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_96437 | 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_96437: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_96437:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96437:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96437:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96437: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_96438 | 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_96438: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_96439 | 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_96439: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_96439:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96439:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96439:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96439: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_96440 | 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_96440: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_96441 | 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_96441: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_96441:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96441:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96441:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96441: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_96442 | 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_96442: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_96443 | 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_96443: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_96443:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96443:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96443:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96443: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_96444 | 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_96444: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_96445 | 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_96445: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_96445:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96445:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96445:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96445: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_96446 | 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_96446: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_96447 | 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_96447: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_96447:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96447:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96447:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96447: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_96448 | 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_96448: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_96449 | 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_96449: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_96449:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96449:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96449:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96449: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_96450 | 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_96450: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_96451 | 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_96451: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_96451:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96451:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96451:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96451: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_96452 | 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_96452: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_96453 | 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_96453: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_96453:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96453:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96453:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96453: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_96454 | 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_96454: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_96455 | 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_96455: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_96455:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96455:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96455:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96455: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_96456 | 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_96456: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_96457 | 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_96457: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_96457:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96457:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96457:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96457: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_96458 | 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_96458: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_96459 | 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_96459: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_96459:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96459:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96459:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96459: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_96460 | 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_96460: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_96461 | 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_96461: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_96461:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96461:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96461:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96461: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_96462 | 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_96462: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_96463 | 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_96463: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_96463:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96463:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96463:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96463: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_96464 | 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_96464: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_96465 | 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_96465: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_96465:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96465:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96465:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96465: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.