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_96066 | 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_96066: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_96066:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96066:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96066:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96066: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_96067 | 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_96067: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_96067:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96067:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96067:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96067: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_96068 | 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_96068: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_96068:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96068:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96068:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96068: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_96069 | 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_96069: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_96070 | 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_96070: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_96071 | 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_96071: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_96071:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96071:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96071:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96071: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_96072 | 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_96072: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_96072:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96072:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96072:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96072: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_96073 | 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_96073: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_96073:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96073:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96073:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96073: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_96074 | 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_96074: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_96074:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96074:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96074:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96074: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_96075 | 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_96075: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_96076 | 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_96076: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_96077 | 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_96077: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_96078 | 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_96078: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_96078:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96078:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96078:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96078: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_96079 | 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_96079: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_96080 | 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_96080: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_96080:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96080:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96080:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96080: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_96081 | 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_96081: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_96082 | 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_96082: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_96082:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96082:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96082:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96082: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_96083 | 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_96083: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_96084 | 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_96084: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_96084:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96084:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96084:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96084: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_96085 | 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_96085: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_96086 | 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_96086: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_96086:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96086:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96086:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96086: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_96087 | 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_96087: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_96088 | 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_96088: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_96088:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96088:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96088:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96088: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_96089 | 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_96089: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_96090 | 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_96090: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_96090:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96090:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96090:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96090: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_96091 | 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_96091: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_96092 | 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_96092: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_96092:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96092:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96092:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96092: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_96093 | 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_96093: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_96094 | 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_96094: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_96094:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96094:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96094:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96094: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_96095 | 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_96095: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_96096 | 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_96096: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_96096:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96096:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96096:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96096: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_96097 | 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_96097: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_96098 | 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_96098: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_96098:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96098:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96098:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96098: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_96099 | 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_96099: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_96100 | 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_96100: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_96100:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96100:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96100:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96100: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_96101 | 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_96101: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_96102 | 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_96102: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_96102:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96102:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96102:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96102: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_96103 | 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_96103: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_96104 | 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_96104: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_96104:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96104:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96104:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96104: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_96105 | 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_96105: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_96106 | 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_96106: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_96106:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96106:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96106:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96106: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_96107 | 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_96107: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_96108 | 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_96108: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_96108:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96108:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96108:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96108: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_96109 | 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_96109: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_96110 | 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_96110: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_96110:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96110:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96110:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96110: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_96111 | 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_96111: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_96112 | 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_96112: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_96112:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96112:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96112:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96112: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_96113 | 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_96113: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_96114 | 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_96114: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_96114:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96114:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96114:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96114: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_96115 | 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_96115: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_96116 | 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_96116: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_96116:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96116:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96116:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96116: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_96117 | 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_96117: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_96118 | 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_96118: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_96118:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96118:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96118:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96118: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_96119 | 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_96119: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_96120 | 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_96120: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_96120:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96120:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96120:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96120: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_96121 | 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_96121: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_96122 | 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_96122: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_96122:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96122:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96122:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96122: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_96123 | 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_96123: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_96124 | 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_96124: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_96124:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96124:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96124:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96124: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_96125 | 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_96125: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_96126 | 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_96126: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_96126:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96126:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96126:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96126: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_96127 | 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_96127: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_96128 | 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_96128: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_96128:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96128:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96128:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96128: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_96129 | 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_96129: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_96130 | 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_96130: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_96130:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96130:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96130:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96130: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_96131 | 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_96131: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_96132 | 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_96132: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_96132:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96132:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96132:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96132: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_96133 | 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_96133: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_96134 | 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_96134: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_96134:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96134:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96134:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96134: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_96135 | 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_96135: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_96136 | 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_96136: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_96136:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96136:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96136:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96136: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_96137 | 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_96137: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_96138 | 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_96138: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_96138:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96138:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96138:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96138: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_96139 | 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_96139: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_96140 | 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_96140: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_96140:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96140:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96140:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96140: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_96141 | 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_96141: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_96142 | 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_96142: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_96142:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96142:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96142:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96142: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_96143 | 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_96143: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_96144 | 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_96144: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_96144:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96144:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96144:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96144: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_96145 | 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_96145: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_96146 | 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_96146: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_96146:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96146:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96146:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96146: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_96147 | 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_96147: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_96148 | 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_96148: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_96148:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96148:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96148:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96148: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_96149 | 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_96149: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_96150 | 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_96150: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_96150:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96150:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96150:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96150: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_96151 | 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_96151: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_96152 | 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_96152: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_96152:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96152:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96152:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96152: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_96153 | 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_96153: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_96154 | 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_96154: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_96154:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96154:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96154:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96154: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_96155 | 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_96155: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_96156 | 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_96156: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_96156:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96156:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96156:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96156:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code... |
#! /usr/bin/env python
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agree... | ajibawa-2023/Python-Code-Large/train/row_96157 | 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_96157:Import_L13_C0", "label": "dpgmm import dpgmm", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2955, 0.0227, 0, 0.66, 0.0, 712, 0, 1, 0, 0, 712, 0, 0], "semantic": {"name": "dpgmm", "arg_names": [], "import_names": ["dpgmm"], "rhs... | [] |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | ajibawa-2023/Python-Code-Large/train/row_96158 | 88 | 132 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96158:Import_L11_C0", "label": "math import math", "type": "import", "loc": [11, 11], "level": 0, "parent": null, "vector": [1, 0, 0.0833, 0.0076, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96158:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96158:Expr_L17_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96158:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96158:FunctionDef_L18_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | ajibawa-2023/Python-Code-Large/train/row_96159 | 98 | 171 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96159:Import_L11_C0", "label": "math import math", "type": "import", "loc": [11, 11], "level": 0, "parent": null, "vector": [1, 0, 0.0643, 0.0058, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96159:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96159:Expr_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96159:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96159:FunctionDef_L21_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | ajibawa-2023/Python-Code-Large/train/row_96160 | 32 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96160:Import_L11_C0", "label": "math import math", "type": "import", "loc": [11, 11], "level": 0, "parent": null, "vector": [1, 0, 0.1774, 0.0161, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96160:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96160:Expr_L17_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96160:ClassDef_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96160:FunctionDef_L18_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by... | ajibawa-2023/Python-Code-Large/train/row_96161 | 18 | 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_96161:Import_L16_C0", "label": "kde_inc import kde_inc", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3137, 0.0196, 0, 0.66, 0.0, 373, 0, 1, 0, 0, 373, 0, 0], "semantic": {"name": "kde_inc", "arg_names": [], "import_names": ["kde_inc... | [] |
# -*- 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_96162 | 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_96162: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_96162:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96162:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96162:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96162: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_96163 | 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_96163: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_96163:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96163:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96163:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96163: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_96164 | 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_96164: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_96164:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96164:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96164:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96164: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_96165 | 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_96165: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_96165:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96165:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96165:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96165:While_L27_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.