code stringlengths 1 1.49M | file_id stringlengths 42 46 | node_count int64 0 7.38k | total_lines int64 1 20.9k | vector_dim int64 15 15 | vector_labels stringclasses 1
value | nodes stringlengths 2 3.75M | connections stringlengths 2 964k |
|---|---|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6042 | 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_6042: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_6043 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6043:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6044 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6044:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6044:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6044:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6044:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6044:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6045 | 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_6045: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_6045:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6045:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6045:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6045:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6046 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6046:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6046:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6046:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6046:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6046:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6047 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6047:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6047:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6047:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6047:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6047:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6048 | 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_6048:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6048:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6048:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6048:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6048:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6049 | 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_6049: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_6049:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6049:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6049:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6049:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6050 | 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_6050: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_6051 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6051:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6052 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6052:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6052:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6052:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6052:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6052:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6053 | 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_6053: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_6053:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6053:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6053:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6053:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6054 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6054:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6054:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6054:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6054:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6054:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6055 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6055:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6055:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6055:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6055:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6055:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6056 | 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_6056:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6056:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6056:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6056:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6056:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6057 | 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_6057: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_6057:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6057:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6057:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6057:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6058 | 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_6058: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_6059 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6059:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6060 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6060:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6060:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6060:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6060:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6060:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6061 | 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_6061: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_6061:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6061:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6061:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6061:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6062 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6062:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6062:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6062:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6062:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6062:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6063 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6063:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6063:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6063:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6063:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6063:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6064 | 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_6064:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6064:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6064:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6064:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6064:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6065 | 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_6065: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_6065:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6065:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6065:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6065:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6066 | 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_6066: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_6067 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6067:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6068 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6068:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6068:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6068:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6068:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6068:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6069 | 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_6069: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_6069:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6069:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6069:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6069:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6070 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6070:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6070:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6070:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6070:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6070:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6071 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6071:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6071:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6071:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6071:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6071:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6072 | 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_6072:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6072:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6072:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6072:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6072:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6073 | 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_6073: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_6073:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6073:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6073:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6073:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6074 | 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_6074: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_6075 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6075:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6076 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6076:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6076:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6076:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6076:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6076:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6077 | 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_6077: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_6077:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6077:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6077:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6077:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6078 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6078:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6078:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6078:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6078:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6078:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6079 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6079:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6079:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6079:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6079:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6079:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6080 | 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_6080:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6080:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6080:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6080:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6080:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6081 | 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_6081: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_6081:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6081:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6081:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6081:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6082 | 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_6082: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_6083 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6083:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6084 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6084:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6084:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6084:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6084:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6084:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6085 | 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_6085: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_6085:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6085:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6085:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6085:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6086 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6086:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6086:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6086:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6086:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6086:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6087 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6087:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6087:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6087:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6087:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6087:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6088 | 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_6088:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6088:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6088:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6088:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6088:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6089 | 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_6089: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_6089:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6089:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6089:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6089:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6090 | 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_6090: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_6091 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6091:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6092 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6092:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6092:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6092:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6092:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6092:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6093 | 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_6093: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_6093:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6093:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6093:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6093:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6094 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6094:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6094:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6094:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6094:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6094:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6095 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6095:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6095:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6095:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6095:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6095:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6096 | 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_6096:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6096:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6096:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6096:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6096:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6097 | 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_6097: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_6097:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6097:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6097:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6097:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6098 | 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_6098: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_6099 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6099:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6100 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6100:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6100:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6100:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6100:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6100:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6101 | 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_6101: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_6101:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6101:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6101:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6101:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6102 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6102:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6102:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6102:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6102:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6102:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6103 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6103:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6103:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6103:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6103:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6103:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6104 | 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_6104:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6104:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6104:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6104:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6104:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6105 | 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_6105: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_6105:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6105:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6105:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6105:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6106 | 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_6106: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_6107 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6107:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6108 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6108:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6108:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6108:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6108:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6108:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6109 | 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_6109: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_6109:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6109:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6109:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6109:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6110 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6110:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6110:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6110:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6110:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6110:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6111 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6111:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6111:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6111:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6111:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6111:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6112 | 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_6112:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6112:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6112:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6112:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6112:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6113 | 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_6113: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_6113:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6113:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6113:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6113:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6114 | 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_6114: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_6115 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6115:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6116 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6116:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6116:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6116:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6116:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6116:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6117 | 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_6117: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_6117:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6117:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6117:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6117:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6118 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6118:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6118:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6118:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6118:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6118:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6119 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6119:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6119:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6119:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6119:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6119:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6120 | 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_6120:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6120:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6120:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6120:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6120:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6121 | 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_6121: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_6121:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6121:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6121:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6121:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6122 | 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_6122: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_6123 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6123:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6124 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6124:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6124:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6124:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6124:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6124:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6125 | 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_6125: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_6125:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6125:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6125:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6125:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6126 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6126:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6126:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6126:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6126:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6126:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6127 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6127:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6127:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6127:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6127:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6127:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6128 | 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_6128:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6128:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6128:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6128:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6128:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6129 | 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_6129: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_6129:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6129:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6129:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6129:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6130 | 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_6130: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_6131 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6131:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6132 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6132:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6132:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6132:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6132:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6132:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6133 | 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_6133: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_6133:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6133:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6133:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6133:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6134 | 31 | 64 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6134:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.2031, 0.0156, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6134:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6134:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6134:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6134:Assign_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6... |
# Copyright (c) 2012, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6135 | 125 | 205 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6135:Import_L13_C0", "label": "pydoc import pydoc", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0634, 0.0049, 0, 0.66, 0.0, 291, 0, 1, 0, 0, 291, 0, 0], "semantic": {"name": "pydoc", "arg_names": [], "import_names": ["pydoc"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6135:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6135:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6135:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6135:FunctionDef_L20_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | ajibawa-2023/Python-Code-Large/train/row_6136 | 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_6136:ImportFrom_L16_C0", "label": "from ctypes import *", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3636, 0.0227, 0, 0.66, 0.0, 182, 0, 1, 0, 0, 182, 0, 0], "semantic": {"name": "ctypes", "arg_names": [], "import_names": ["*"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6136:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6136:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6136:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6136:Assign_L23_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6137 | 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_6137: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_6137:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6137:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6137:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6137:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6138 | 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_6138: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_6139 | 27 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6139:Import_L16_C0", "label": "cvarray import cvarray", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 192, 0, 1, 0, 0, 192, 0, 0], "semantic": {"name": "cvarray", "arg_names": [], "import_names": ["cvarray"... | [] |
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | ajibawa-2023/Python-Code-Large/train/row_6140 | 41 | 159 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_6140:Import_L13_C0", "label": "unittest import unittest", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0818, 0.0063, 0, 0.66, 0.0, 88, 0, 1, 0, 0, 88, 0, 0], "semantic": {"name": "unittest", "arg_names": [], "import_names": ["unittes... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_6140:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6140:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6140:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6140:Assign_L107_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | ajibawa-2023/Python-Code-Large/train/row_6141 | 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_6141: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_6141:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6141:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6141:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6141:Assign_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.