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 |
|---|---|---|---|---|---|---|---|
# 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_6142 | 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_6142: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_6142:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6142:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6142:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6142: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_6143 | 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_6143: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_6143:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6143:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6143:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6143: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_6144 | 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_6144: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_6144:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6144:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6144:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6144: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_6145 | 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_6145: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_6145:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6145:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6145:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6145: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_6146 | 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_6146: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_6147 | 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_6147: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_6148 | 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_6148: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_6148:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6148:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6148:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6148: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_6149 | 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_6149: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_6149:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6149:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6149:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6149: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_6150 | 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_6150: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_6150:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6150:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6150:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6150: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_6151 | 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_6151: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_6151:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6151:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6151:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6151: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_6152 | 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_6152: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_6152:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6152:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6152:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6152: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_6153 | 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_6153: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_6153:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6153:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6153:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6153: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_6154 | 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_6154: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_6155 | 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_6155: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_6156 | 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_6156: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_6156:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6156:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6156:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6156: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_6157 | 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_6157: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_6157:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6157:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6157:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6157: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_6158 | 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_6158: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_6158:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6158:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6158:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6158: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_6159 | 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_6159: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_6159:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6159:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6159:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6159: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_6160 | 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_6160: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_6160:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6160:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6160:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6160: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_6161 | 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_6161: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_6161:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6161:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6161:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6161: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_6162 | 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_6162: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_6163 | 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_6163: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_6164 | 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_6164: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_6164:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6164:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6164:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6164: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_6165 | 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_6165: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_6165:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6165:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6165:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6165: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_6166 | 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_6166: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_6166:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6166:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6166:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6166: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_6167 | 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_6167: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_6167:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6167:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6167:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6167: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_6168 | 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_6168: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_6168:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6168:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6168:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6168: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_6169 | 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_6169: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_6169:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6169:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6169:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6169: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_6170 | 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_6170: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_6171 | 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_6171: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_6172 | 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_6172: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_6172:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6172:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6172:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6172: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_6173 | 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_6173: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_6173:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6173:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6173:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6173: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_6174 | 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_6174: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_6174:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6174:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6174:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6174: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_6175 | 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_6175: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_6175:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6175:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6175:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6175: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_6176 | 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_6176: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_6176:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6176:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6176:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6176: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_6177 | 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_6177: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_6177:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6177:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6177:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6177: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_6178 | 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_6178: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_6179 | 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_6179: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_6180 | 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_6180: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_6180:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6180:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6180:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6180: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_6181 | 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_6181: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_6181:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6181:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6181:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6181: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_6182 | 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_6182: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_6182:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6182:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6182:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6182: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_6183 | 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_6183: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_6183:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6183:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6183:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6183: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_6184 | 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_6184: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_6184:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6184:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6184:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6184: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_6185 | 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_6185: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_6185:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6185:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6185:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6185: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_6186 | 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_6186: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_6187 | 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_6187: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_6188 | 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_6188: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_6188:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6188:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6188:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6188: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_6189 | 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_6189: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_6189:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6189:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6189:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6189: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_6190 | 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_6190: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_6190:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6190:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6190:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6190: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_6191 | 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_6191: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_6191:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6191:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6191:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6191: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_6192 | 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_6192: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_6192:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6192:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6192:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6192: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_6193 | 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_6193: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_6193:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6193:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6193:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6193: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_6194 | 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_6194: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_6195 | 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_6195: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_6196 | 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_6196: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_6196:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6196:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6196:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6196: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_6197 | 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_6197: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_6197:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6197:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6197:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6197: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_6198 | 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_6198: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_6198:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6198:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6198:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6198: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_6199 | 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_6199: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_6199:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6199:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6199:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6199: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_6200 | 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_6200: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_6200:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6200:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6200:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6200: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_6201 | 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_6201: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_6201:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6201:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6201:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6201: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_6202 | 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_6202: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_6203 | 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_6203: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_6204 | 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_6204: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_6204:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6204:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6204:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6204: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_6205 | 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_6205: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_6205:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6205:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6205:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6205: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_6206 | 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_6206: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_6206:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6206:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6206:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6206: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_6207 | 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_6207: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_6207:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6207:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6207:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6207: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_6208 | 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_6208: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_6208:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6208:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6208:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6208: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_6209 | 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_6209: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_6209:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6209:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6209:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6209: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_6210 | 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_6210: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_6211 | 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_6211: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_6212 | 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_6212: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_6212:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6212:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6212:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6212: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_6213 | 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_6213: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_6213:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6213:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6213:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6213: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_6214 | 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_6214: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_6214:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6214:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6214:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6214: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_6215 | 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_6215: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_6215:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6215:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6215:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6215: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_6216 | 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_6216: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_6216:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6216:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6216:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6216: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_6217 | 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_6217: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_6217:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6217:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6217:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6217: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_6218 | 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_6218: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_6219 | 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_6219: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_6220 | 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_6220: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_6220:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6220:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6220:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6220: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_6221 | 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_6221: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_6221:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6221:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6221:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6221: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_6222 | 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_6222: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_6222:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6222:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6222:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6222: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_6223 | 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_6223: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_6223:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6223:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6223:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6223: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_6224 | 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_6224: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_6224:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6224:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6224:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6224: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_6225 | 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_6225: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_6225:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6225:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6225:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6225: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_6226 | 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_6226: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_6227 | 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_6227: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_6228 | 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_6228: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_6228:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6228:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6228:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6228: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_6229 | 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_6229: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_6229:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6229:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6229:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6229: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_6230 | 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_6230: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_6230:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6230:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6230:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6230: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_6231 | 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_6231: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_6231:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6231:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6231:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6231: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_6232 | 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_6232: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_6232:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6232:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6232:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6232: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_6233 | 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_6233: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_6233:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6233:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6233:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6233: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_6234 | 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_6234: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_6235 | 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_6235: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_6236 | 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_6236: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_6236:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6236:Expr_L106_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6236:FunctionDef_L105_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6236: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_6237 | 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_6237: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_6237:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6237:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6237:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6237: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_6238 | 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_6238: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_6238:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6238:Assign_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6238:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6238: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_6239 | 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_6239: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_6239:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6239:Expr_L19_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6239:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6239: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_6240 | 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_6240: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_6240:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6240:Expr_L21_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6240:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6240: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_6241 | 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_6241: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_6241:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6241:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_6241:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_6241:While_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Larg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.