code stringlengths 1 1.49M | file_id stringlengths 42 46 | node_count int64 0 7.38k | total_lines int64 1 20.9k | vector_dim int64 15 15 | vector_labels stringclasses 1
value | nodes stringlengths 2 3.75M | connections stringlengths 2 964k |
|---|---|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77961 | 40 | 80 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77961:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2, 0.0125, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_names... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77961:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77961:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77961:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77961:Return_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77962 | 206 | 397 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77962:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0403, 0.0025, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77962:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77962:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77962:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77962:Expr_L31_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77963 | 130 | 263 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77963:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0608, 0.0038, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77963:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77963:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77963:FunctionDef_L29_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77963:Expr_L30_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77964 | 39 | 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_77964:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2051, 0.0128, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77964:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77964:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77964:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77964:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77965 | 34 | 67 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77965:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2388, 0.0149, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77965:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77965:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77965:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77965:Expr_L22_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77966 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77966:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77966:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77966:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77966:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77966:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77967 | 24 | 54 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77967:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2963, 0.0185, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77967:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77967:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77967:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77967:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77968 | 126 | 210 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77968:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0762, 0.0048, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77968:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77968:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77968:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77968:Expr_L22_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77969 | 84 | 170 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77969:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0941, 0.0059, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77969:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77969:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77969:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77969:Expr_L31_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77970 | 73 | 119 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77970:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1345, 0.0084, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77970:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77970:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77970:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77970:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77971 | 29 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77971:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2581, 0.0161, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77971:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77971:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77971:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77971:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77972 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77972:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77972:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77972:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77972:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77972:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77973 | 307 | 683 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77973:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0234, 0.0015, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77973:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77973:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77973:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77973:Expr_L34_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77974 | 25 | 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_77974:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2857, 0.0179, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77974:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77974:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77974:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77974:Return_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77975 | 77 | 144 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77975:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1111, 0.0069, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77975:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77975:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77975:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77975:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77976 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77976:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77976:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77976:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77976:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77976:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77977 | 54 | 149 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77977:Import_L16_C0", "label": "urllib import urllib", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1074, 0.0067, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77977:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77977:FunctionDef_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77977:FunctionDef_L35_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77977:Assign_L36_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77978 | 44 | 91 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77978:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1758, 0.011, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77978:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77978:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77978:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77978:Expr_L22_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77979 | 47 | 99 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77979:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1616, 0.0101, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77979:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77979:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77979:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77979:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77980 | 15 | 40 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77980:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.4, 0.025, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_names"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77980:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77980:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77980:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77980:Return_L24_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77981 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77981:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77981:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77981:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77981:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77981:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77982 | 497 | 1,139 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77982:Import_L16_C0", "label": "urllib import urllib", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.014, 0.0009, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77982:ClassDef_L52_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77982:FunctionDef_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77982:FunctionDef_L54_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77982:Expr_L55_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77983 | 25 | 58 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77983:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2759, 0.0172, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77983:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77983:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77983:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77983:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77984 | 49 | 94 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77984:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1702, 0.0106, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77984:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77984:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77984:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77984:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77985 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77985:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77985:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77985:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77985:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77985:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77986 | 71 | 180 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77986:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0889, 0.0056, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77986:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77986:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77986:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77986:Expr_L26_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77987 | 75 | 138 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77987:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1159, 0.0072, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77987:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77987:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77987:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77987:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77988 | 103 | 168 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77988:Import_L16_C0", "label": "logging import logging", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0952, 0.006, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "logging", "arg_names": [], "import_names": ["logging"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77988:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77988:Import_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77988:If_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77988:Import_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77989 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77989:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77989:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77989:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77989:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77989:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77990 | 36 | 70 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77990:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2286, 0.0143, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77990:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77990:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77990:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77990:Expr_L25_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77991 | 161 | 312 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77991:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0513, 0.0032, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77991:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77991:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77991:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77991:Expr_L31_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77992 | 47 | 90 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77992:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1778, 0.0111, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77992:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77992:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77992:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77992:Return_L26_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77993 | 47 | 99 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77993:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1616, 0.0101, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77993:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77993:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77993:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77993:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77994 | 31 | 75 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77994:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2133, 0.0133, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77994:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77994:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77994:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77994:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77995 | 48 | 88 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77995:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1818, 0.0114, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77995:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77995:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77995:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77995:Expr_L25_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77996 | 31 | 65 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77996:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2462, 0.0154, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77996:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77996:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77996:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77996:Return_L25_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77997 | 19 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77997:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.3478, 0.0217, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77997:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77997:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77997:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77997:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77998 | 90 | 169 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77998:Import_L16_C0", "label": "datetime import datetime", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0947, 0.0059, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["date... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77998:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77998:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77998:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77998:Expr_L28_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_77999 | 221 | 408 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_77999:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0392, 0.0025, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_77999:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_77999:FunctionDef_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_77999:FunctionDef_L30_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_77999:Expr_L31_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78000 | 51 | 96 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78000:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1667, 0.0104, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78000:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78000:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78000:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78000:Expr_L26_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78001 | 235 | 456 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78001:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.0351, 0.0022, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78001:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78001:FunctionDef_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78001:FunctionDef_L28_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78001:Expr_L29_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78002 | 7 | 24 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78002:ClassDef_L17_C0", "label": "GithubException", "type": "class", "loc": [17, 24], "level": 0, "parent": null, "vector": [3, 0, 0.8542, 0.3333, 0, 0.66, 0.0, 318, 0, 2, 0, 0, 645, 0, 3], "semantic": {"name": "GithubException", "arg_names": [], "import_names": [], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78002:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78002:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78002:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78002:Expr_L19_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78003 | 49 | 99 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78003:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1616, 0.0101, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78003:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78003:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78003:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78003:Expr_L21_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78004 | 77 | 144 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78004:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1111, 0.0069, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78004:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78004:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78004:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78004:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78005 | 16 | 40 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78005:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.4, 0.025, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_names"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78005:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78005:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78005:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78005:Expr_L22_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78006 | 24 | 54 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78006:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2963, 0.0185, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78006:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78006:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78006:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78006:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78007 | 15 | 38 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78007:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.4211, 0.0263, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78007:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78007:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78007:FunctionDef_L20_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78007:Assign_L21_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78008 | 10 | 28 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78008:Import_L16_C0", "label": "logging import logging", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.5714, 0.0357, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "logging", "arg_names": [], "import_names": ["logging... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78008:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78008:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78008:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78008:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78009 | 75 | 148 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78009:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1081, 0.0068, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78009:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78009:FunctionDef_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78009:FunctionDef_L23_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78009:Expr_L24_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78010 | 34 | 72 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78010:Import_L16_C0", "label": "datetime import datetime", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2222, 0.0139, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["date... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78010:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78010:FunctionDef_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78010:FunctionDef_L27_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78010:Assign_L28_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78011 | 34 | 70 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78011:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2286, 0.0143, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78011:ClassDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78011:FunctionDef_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78011:FunctionDef_L21_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78011:Return_L22_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78012 | 7 | 29 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78012:ClassDef_L17_C0", "label": "InputGitAuthor", "type": "class", "loc": [17, 29], "level": 0, "parent": null, "vector": [3, 0, 0.7931, 0.4483, 0, 0.66, 0.0, 186, 0, 2, 0, 0, 186, 0, 0], "semantic": {"name": "InputGitAuthor", "arg_names": [], "import_names": [], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78012:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78012:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78012:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78012:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78013 | 78 | 139 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78013:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.1151, 0.0072, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78013:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78013:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78013:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78013:Expr_L25_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78014 | 42 | 79 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78014:Import_L16_C0", "label": "GithubObject import GithubObject", "type": "import", "loc": [16, 16], "level": 0, "parent": null, "vector": [1, 0, 0.2025, 0.0127, 0, 0.66, 0.0, 469, 0, 1, 0, 0, 469, 0, 0], "semantic": {"name": "GithubObject", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78014:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78014:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78014:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78014:Expr_L25_C8"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Softwar... | ajibawa-2023/Python-Code-Large/train/row_78015 | 5 | 25 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78015:ClassDef_L17_C0", "label": "InputFileContent", "type": "class", "loc": [17, 25], "level": 0, "parent": null, "vector": [3, 0, 0.84, 0.36, 0, 0.66, 0.0, 524, 0, 2, 0, 0, 186, 0, 0], "semantic": {"name": "InputFileContent", "arg_names": [], "import_names": [], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78015:ClassDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78015:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78015:FunctionDef_L18_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78015:Assign_L19_C8"}, {"f": "ajibawa-2023/Python-... |
# -*- coding: latin-1 -*-
import re
from encodingUtils import smart_unicode
def findall(data,regex):
p_reg = re.compile(regex, re.IGNORECASE + re.DOTALL + re.MULTILINE)
result = p_reg.findall(data)
return result
def parseTextToGroups(txt, regex):
p = re.compile(regex, re.IGNORECASE + re.DO... | ajibawa-2023/Python-Code-Large/train/row_78016 | 25 | 35 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78016:Import_L3_C0", "label": "re import re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0857, 0.0286, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ""... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78016:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78016:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78016:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78016:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# -*- coding: latin-1 -*-
import common
import urllib
import os.path
import xbmc, xbmcgui
class Downloader(object):
def __init__(self):
self.pDialog = None
def downloadWithJDownloader(self, url, title):
common.runPlugin('plugin://plugin.program.jdownloader/?action=addlink&url='... | ajibawa-2023/Python-Code-Large/train/row_78017 | 46 | 65 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78017:Import_L3_C0", "label": "common import common", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0462, 0.0154, 0, 0.66, 0.0, 718, 0, 1, 0, 0, 718, 0, 0], "semantic": {"name": "common", "arg_names": [], "import_names": ["common"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78017:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78017:FunctionDef_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78017:FunctionDef_L10_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78017:Assign_L11_C8"}, {"f": "ajibawa-2023/Python-C... |
# -*- coding: latin-1 -*-
import urllib
import re, datetime
import common
from utils import encodingUtils as enc
from utils import datetimeUtils as dt
from utils import regexUtils as reg
from utils.xbmcUtils import select
from utils.webUtils import isOnline
from utils.fileUtils import getFileContent
... | ajibawa-2023/Python-Code-Large/train/row_78018 | 176 | 250 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78018:Import_L3_C0", "label": "urllib import urllib", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.012, 0.004, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78018:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78018:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78018:FunctionDef_L19_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78018:Assign_L21_C4"}, {"f": "ajibawa-2023/Python-Co... |
# -*- coding: latin-1 -*-
import xbmcgui
class DialogQuestion:
def __init__(self):
self.dlg = xbmcgui.Dialog()
self.head = 'Question'
def ask(self, question):
return self.dlg.yesno(self.head, question)
def close(self):
self.dlg.close() | ajibawa-2023/Python-Code-Large/train/row_78020 | 9 | 15 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78020:Import_L3_C0", "label": "xbmcgui import xbmcgui", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.2, 0.0667, 0, 0.66, 0.0, 280, 0, 1, 0, 0, 280, 0, 0], "semantic": {"name": "xbmcgui", "arg_names": [], "import_names": ["xbmcgui"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78020:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78020:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78020:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78020:Assign_L8_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import xbmcgui
class DialogError:
def __init__(self):
self.dlg = xbmcgui.Dialog()
self.head = 'Live TV Error'
def show(self, message):
self.dlg.ok(self.head, message)
def close(self):
self.dlg.close()
| ajibawa-2023/Python-Code-Large/train/row_78021 | 9 | 15 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78021:Import_L3_C0", "label": "xbmcgui import xbmcgui", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.2, 0.0667, 0, 0.66, 0.0, 280, 0, 1, 0, 0, 280, 0, 0], "semantic": {"name": "xbmcgui", "arg_names": [], "import_names": ["xbmcgui"], "r... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78021:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78021:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78021:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78021:Assign_L8_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import xbmcgui
class DialogBrowser:
def __init__(self):
self.dlg = xbmcgui.Dialog()
def browseFolders(self, head):
return self.dlg.browse(0, head,'files', '', False, False)
def close(self):
self.dlg.close() | ajibawa-2023/Python-Code-Large/train/row_78022 | 8 | 14 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78022:Import_L3_C0", "label": "xbmcgui import xbmcgui", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.2143, 0.0714, 0, 0.66, 0.0, 280, 0, 1, 0, 0, 280, 0, 0], "semantic": {"name": "xbmcgui", "arg_names": [], "import_names": ["xbmcgui"],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78022:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78022:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78022:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78022:Assign_L8_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import xbmcgui
class DialogProgress:
def __init__(self):
self.dlg = xbmcgui.DialogProgress()
self.__reset__()
def __reset__(self):
self.head = ''
self.firstline = ''
self.secondline = None
self.thirdline = None
... | ajibawa-2023/Python-Code-Large/train/row_78023 | 42 | 58 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78023:Import_L3_C0", "label": "xbmcgui import xbmcgui", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0517, 0.0172, 0, 0.66, 0.0, 280, 0, 1, 0, 0, 280, 0, 0], "semantic": {"name": "xbmcgui", "arg_names": [], "import_names": ["xbmcgui"],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78023:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78023:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78023:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78023:Assign_L8_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import xbmcgui
class DialogInfo:
def __init__(self):
self.dlg = xbmcgui.Dialog()
self.head = 'Live TV Info'
def show(self, message):
self.dlg.ok(self.head, message) | ajibawa-2023/Python-Code-Large/train/row_78024 | 7 | 12 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78024:Import_L3_C0", "label": "xbmcgui import xbmcgui", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0833, 0, 0.66, 0.0, 280, 0, 1, 0, 0, 280, 0, 0], "semantic": {"name": "xbmcgui", "arg_names": [], "import_names": ["xbmcgui"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78024:ClassDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78024:FunctionDef_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78024:FunctionDef_L7_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78024:Assign_L8_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import os
import urllib
from urlparse import urlparse
import utils.regexUtils as rU
import utils.scrapingUtils as sU
import utils.fileUtils as fU
import utils.githubUtils as github
# enums
class SyncSourceType:
CATCHERS = 1
MODULES = 2
# entities
class SyncManager:
def ... | ajibawa-2023/Python-Code-Large/train/row_78025 | 165 | 222 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78025:Import_L3_C0", "label": "os import os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0135, 0.0045, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ""... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78025:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78025:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78025:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78025:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: latin-1 -*-
import os
#------------------------------------------------------------------------------
# xbmc related
#------------------------------------------------------------------------------
import xbmc, xbmcaddon
__settings__ = xbmcaddon.Addon(id='plugin.video.akarulivetv')
translate... | ajibawa-2023/Python-Code-Large/train/row_78026 | 79 | 129 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78026:Import_L3_C0", "label": "os import os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0233, 0.0078, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ""... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78026:FunctionDef_L17_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78026:Return_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78026:FunctionDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78026:Expr_L21_C4"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
import os.path
import re
from string import lower
import common
import utils.fileUtils as fu
from utils.regexUtils import findall
class CustomReplacements(object):
def __init__(self):
self.simpleScheme = {'(@PLATFORM@)': os.environ.get('OS'),
... | ajibawa-2023/Python-Code-Large/train/row_78028 | 118 | 161 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78028:Import_L2_C0", "label": "os.path import os.path", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0124, 0.0062, 0, 0.66, 0.0, 79, 0, 1, 0, 0, 79, 0, 0], "semantic": {"name": "os.path", "arg_names": [], "import_names": ["os.path"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78028:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78028:FunctionDef_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78028:FunctionDef_L15_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78028:Assign_L17_C8"}, {"f": "ajibawa-2023/Python-... |
class CItemInfo(object):
def __init__(self):
self.name = ''
self.src = 'url'
self.rule = ''
self.default = ''
self.build = ''
self.convert = [] | ajibawa-2023/Python-Code-Large/train/row_78029 | 8 | 10 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78029:ClassDef_L2_C0", "label": "CItemInfo", "type": "class", "loc": [2, 10], "level": 0, "parent": null, "vector": [3, 0, 0.6, 0.9, 0, 0.66, 0.0, 936, 0, 1, 0, 0, 186, 0, 0], "semantic": {"name": "CItemInfo", "arg_names": [], "import_names": [], "rhs_call_name": "", "a... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78029:ClassDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78029:FunctionDef_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78029:FunctionDef_L4_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78029:Assign_L5_C8"}, {"f": "ajibawa-2023/Python-Code... |
import sys
import string
import urllib
class CListItem(object):
def __init__(self):
self.infos_names = []
self.infos_values = []
def __getitem__(self, key):
return self.getInfo(key)
def __setitem__(self, key, value):
self.setInfo(key, value)
def... | ajibawa-2023/Python-Code-Large/train/row_78030 | 75 | 114 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78030:Import_L1_C0", "label": "sys import sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0088, 0.0088, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_name"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78030:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78030:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78030:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78030:Assign_L9_C8"}, {"f": "ajibawa-2023/Python-Code... |
class CRuleItem(object):
def __init__(self):
self.infos = ''
self.order = ''
self.skill = ''
self.curr = ''
self.info_list = []
self.url_build = '' | ajibawa-2023/Python-Code-Large/train/row_78031 | 8 | 10 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78031:ClassDef_L2_C0", "label": "CRuleItem", "type": "class", "loc": [2, 10], "level": 0, "parent": null, "vector": [3, 0, 0.6, 0.9, 0, 0.66, 0.0, 144, 0, 1, 0, 0, 186, 0, 0], "semantic": {"name": "CRuleItem", "arg_names": [], "import_names": [], "rhs_call_name": "", "a... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78031:ClassDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78031:FunctionDef_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78031:FunctionDef_L4_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78031:Assign_L5_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
class CList(object):
def __init__(self):
self.start = ''
self.section = ''
self.sort = ''
self.cfg = ''
self.skill = ''
self.catcher = ''
self.items = []
self.rules = []
def getVideos(self):
r... | ajibawa-2023/Python-Code-Large/train/row_78032 | 12 | 16 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78032:ClassDef_L3_C0", "label": "CList", "type": "class", "loc": [3, 16], "level": 0, "parent": null, "vector": [3, 0, 0.5938, 0.875, 0, 0.66, 0.0, 245, 0, 2, 0, 0, 186, 0, 1], "semantic": {"name": "CList", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78032:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78032:FunctionDef_L5_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78032:FunctionDef_L5_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78032:Assign_L6_C8"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: latin-1 -*-
try:
import StorageServer
except:
import utils.commonplugincache.storageserverdummy as StorageServer
class CacheManager:
def __init__(self):
self._cache = StorageServer.StorageServer("SportsDevil", 1)
self._initCache()
self.keys = {}
... | ajibawa-2023/Python-Code-Large/train/row_78033 | 29 | 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_78033:Try_L3_C0", "label": "try", "type": "try", "loc": [3, 6], "level": 0, "parent": null, "vector": [7, 0, 0.1023, 0.0909, 0, 0.66, 0.0, 0, 0, 1, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation": ""}, "sni... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78033:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78033:Import_L4_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78033:Try_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78033:Import_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_7... |
# -*- coding: latin-1 -*-
import common
import sys, os, traceback
import time
import random
import re
import urllib
import string
from string import lower
from entities.CList import CList
from entities.CItemInfo import CItemInfo
from entities.CListItem import CListItem
from entities.CRuleItem import CRu... | ajibawa-2023/Python-Code-Large/train/row_78034 | 481 | 674 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78034:Import_L3_C0", "label": "common import common", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0045, 0.0015, 0, 0.66, 0.0, 718, 0, 1, 0, 0, 718, 0, 0], "semantic": {"name": "common", "arg_names": [], "import_names": ["common"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78034:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78034:ClassDef_L32_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78034:ClassDef_L32_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78034:Assign_L33_C8"}, {"f": "ajibawa-2023/Python-Code-L... |
# REMOTE DEBUGGING
REMOTE_DBG = False
# append pydev remote debugger
if REMOTE_DBG:
# Make pydev debugger works for auto reload.
# Note pydevd module need to be copied in XBMC\system\python\Lib\pysrc
try:
import pysrc.pydevd as pydevd
# stdoutToServer and stderrToServer redirect stdo... | ajibawa-2023/Python-Code-Large/train/row_78035 | 16 | 36 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78035:Assign_L3_C0", "label": "REMOTE_DBG =", "type": "assigned_variable", "loc": [3, 3], "level": 0, "parent": null, "vector": [14, 0, 0.0833, 0.0278, 0, 0.66, 0.0, 631, 1, 0, 0, 0, 0, 4, 0], "semantic": {"name": "REMOTE_DBG", "arg_names": [], "import_names": [], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78035:If_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78035:Try_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78035:Try_L9_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78035:Import_L10_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_7803... |
import sys
gParamDict = {}
gQSParsed = False
def EmptyQS():
qs = sys.argv[2][1:]
return ( qs == '' )
def Params( *args ):
values = []
for name in args:
values.append( Param(name) )
return values
def Param( name ):
dict = _GetParamDict()
if ( name in dict ):
return dict[name]
else: ret... | ajibawa-2023/Python-Code-Large/train/row_78036 | 79 | 102 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78036:Import_L1_C0", "label": "sys import sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0098, 0.0098, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_name"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78036:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78036:Assign_L7_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78036:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78036:Return_L8_C1"}, {"f": "ajibawa-2023/Python-Code-L... |
"""SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
... | ajibawa-2023/Python-Code-Large/train/row_78037 | 212 | 439 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78037:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0364, 0.0706, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78037:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78037:Expr_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78037:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78037:Assign_L99_C4"}, {"f": "ajibawa-2023/Python-Code... |
table_a2b_base64 = {
'A': 0,
'B': 1,
'C': 2,
'D': 3,
'E': 4,
'F': 5,
'G': 6,
'H': 7,
'I': 8,
'J': 9,
'K': 10,
'L': 11,
'M': 12,
'N': 13,
'O': 14,
'P': 15,
'Q': 16,
'R': 17,
'S': 18,
'T': 19,
'U': 20,
'V': 2... | ajibawa-2023/Python-Code-Large/train/row_78038 | 117 | 496 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78038:Assign_L3_C0", "label": "table_a2b_base64 =", "type": "assigned_variable", "loc": [3, 69], "level": 0, "parent": null, "vector": [14, 0, 0.0726, 0.1351, 0, 0.66, 0.0, 708, 0, 0, 0, 0, 0, 6, 0], "semantic": {"name": "table_a2b_base64", "arg_names": [], "import_name... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78038:FunctionDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78038:If_L72_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78038:FunctionDef_L71_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78038:Assign_L74_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
#!/usr/bin/python
import os, sys, re
import xbmc, xbmcaddon
__plugin_handle__ = int(sys.argv[1])
def get_addoninfo(id):
dict = {}
dict["id"] = id
dict["addon"] = xbmcaddon.Addon(id)
dict["language"] = dict["addon"].getLocalizedString
dict["version"] = dict["addon"].getAddonInfo("version... | ajibawa-2023/Python-Code-Large/train/row_78040 | 17 | 21 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78040:Import_L3_C0", "label": "os import os, sys, re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0476, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys", "re"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78040:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78040:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78040:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78040:Assign_L10_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/python
import os, sys, re
import xbmc, xbmcaddon
__plugin_handle__ = int(sys.argv[1])
def get_addoninfo(id):
dict = {}
dict["id"] = id
dict["addon"] = xbmcaddon.Addon(id)
dict["language"] = dict["addon"].getLocalizedString
dict["version"] = dict["addon"].getAddonInfo("version... | ajibawa-2023/Python-Code-Large/train/row_78041 | 17 | 21 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78041:Import_L3_C0", "label": "os import os, sys, re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0476, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "sys", "re"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78041:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78041:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78041:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78041:Assign_L10_C4"}, {"f": "ajibawa-2023/Python-Code-... |
import cgi, os, sys, urllib, re
import xml.dom.minidom as dom
import logging
import xbmcplugin, xbmcgui, xbmc
from datetime import date
from operator import itemgetter
from iplayer2 import get_provider, httpget, get_protocol, get_port, get_thumb_dir
# it would be nice to scrape what's on now - at least when ... | ajibawa-2023/Python-Code-Large/train/row_78042 | 121 | 176 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78042:Import_L1_C0", "label": "cgi import cgi, os, sys\u2026", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0057, 0.0057, 0, 0.66, 0.0, 934, 0, 5, 0, 0, 934, 0, 0], "semantic": {"name": "cgi", "arg_names": [], "import_names": ["cgi", "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78042:FunctionDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78042:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78042:FunctionDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78042:Assign_L30_C4"}, {"f": "ajibawa-2023/Python-Co... |
#
# ElementTree
# $Id: ElementInclude.py 3225 2007-08-27 21:32:08Z fredrik $
#
# limited xinclude support for element trees
#
# history:
# 2003-08-15 fl created
# 2003-11-14 fl fixed default loader
#
# Copyright (c) 2003-2004 by Fredrik Lundh. All rights reserved.
#
# fredrik@pythonware.com
# http://w... | ajibawa-2023/Python-Code-Large/train/row_78043 | 46 | 146 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78043:Import_L48_C0", "label": "ElementTree import ElementTree", "type": "import", "loc": [48, 48], "level": 0, "parent": null, "vector": [1, 0, 0.3288, 0.0068, 0, 0.66, 0.0, 504, 0, 1, 0, 0, 504, 0, 0], "semantic": {"name": "ElementTree", "arg_names": [], "import_names... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78043:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78043:Assign_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78043:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78043:Assign_L52_C4"}, {"f": "ajibawa-2023/Python-Co... |
#
# ElementTree
# $Id: TidyHTMLTreeBuilder.py 2304 2005-03-01 17:42:41Z fredrik $
#
from elementtidy.TidyHTMLTreeBuilder import *
| ajibawa-2023/Python-Code-Large/train/row_78044 | 1 | 6 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78044:ImportFrom_L6_C0", "label": "from elementtidy.TidyHTMLTreeBuilder import *", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 1.0, 0.1667, 0, 0.66, 0.0, 851, 0, 1, 0, 0, 851, 0, 0], "semantic": {"name": "elementtidy.TidyHTMLTreeBuilder... | [] |
#
# ElementTree
# $Id: XMLTreeBuilder.py 3225 2007-08-27 21:32:08Z fredrik $
#
# an XML tree builder
#
# history:
# 2001-10-20 fl created
# 2002-05-01 fl added namespace support for xmllib
# 2002-07-27 fl require expat (1.5.2 code can use SimpleXMLTreeBuilder)
# 2002-08-17 fl use tag/attribute name me... | ajibawa-2023/Python-Code-Large/train/row_78045 | 22 | 113 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78045:Import_L51_C0", "label": "ElementTree import ElementTree", "type": "import", "loc": [51, 51], "level": 0, "parent": null, "vector": [1, 0, 0.4513, 0.0088, 0, 0.66, 0.0, 504, 0, 1, 0, 0, 504, 0, 0], "semantic": {"name": "ElementTree", "arg_names": [], "import_names... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78045:ClassDef_L69_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78045:FunctionDef_L71_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78045:FunctionDef_L71_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78045:Expr_L72_C8"}, {"f": "ajibawa-2023/Python-Co... |
#
# ElementTree
# $Id: HTMLTreeBuilder.py 3225 2007-08-27 21:32:08Z fredrik $
#
# a simple tree builder, for HTML input
#
# history:
# 2002-04-06 fl created
# 2002-04-07 fl ignore IMG and HR end tags
# 2002-04-07 fl added support for 1.5.2 and later
# 2003-04-13 fl added HTMLTreeBuilder alias
# 2004-... | ajibawa-2023/Python-Code-Large/train/row_78046 | 88 | 230 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78046:Import_L52_C0", "label": "htmlentitydefs import htmlentitydefs", "type": "import", "loc": [52, 52], "level": 0, "parent": null, "vector": [1, 0, 0.2261, 0.0043, 0, 0.66, 0.0, 744, 0, 1, 0, 0, 744, 0, 0], "semantic": {"name": "htmlentitydefs", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78046:If_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78046:Assign_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78046:If_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78046:Assign_L64_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row... |
#
# ElementTree
# $Id: SimpleXMLTreeBuilder.py 3225 2007-08-27 21:32:08Z fredrik $
#
# A simple XML tree builder, based on Python's xmllib
#
# Note that due to bugs in xmllib, this builder does not fully support
# namespaces (unqualified attributes are put in the default namespace,
# instead of being left as is... | ajibawa-2023/Python-Code-Large/train/row_78047 | 45 | 143 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78047:Import_L60_C0", "label": "xmllib import xmllib, string", "type": "import", "loc": [60, 60], "level": 0, "parent": null, "vector": [1, 0, 0.4196, 0.007, 0, 0.66, 0.0, 41, 0, 2, 0, 0, 41, 0, 0], "semantic": {"name": "xmllib", "arg_names": [], "import_names": ["xmlli... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78047:ClassDef_L69_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78047:FunctionDef_L71_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78047:FunctionDef_L71_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78047:Assign_L72_C8"}, {"f": "ajibawa-2023/Python-... |
#
# ElementTree
# $Id: ElementTree.py 3224 2007-08-27 21:23:39Z fredrik $
#
# light-weight XML support for Python 1.5.2 and later.
#
# history:
# 2001-10-20 fl created (from various sources)
# 2001-11-01 fl return root from parse method
# 2002-02-16 fl sort attributes in lexical order
# 2002-04-06 fl ... | ajibawa-2023/Python-Code-Large/train/row_78048 | 531 | 1,324 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78048:Assign_L72_C0", "label": "__all__ =", "type": "assigned_variable", "loc": [72, 87], "level": 0, "parent": null, "vector": [14, 0, 0.06, 0.0121, 0, 0.66, 0.0, 272, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "__all__", "arg_names": [], "import_names": [], "rhs_call_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78048:Try_L121_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78048:Import_L122_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78048:Try_L121_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78048:ClassDef_L125_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#
# SimpleXMLWriter
# $Id: SimpleXMLWriter.py 3225 2007-08-27 21:32:08Z fredrik $
#
# a simple XML writer
#
# history:
# 2001-12-28 fl created
# 2002-11-25 fl fixed attribute encoding
# 2002-12-02 fl minor fixes for 1.5.2
# 2004-06-17 fl added pythondoc markup
# 2004-07-23 fl added flush method (fr... | ajibawa-2023/Python-Code-Large/train/row_78049 | 101 | 279 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78049:Import_L90_C0", "label": "re import re, sys, string", "type": "import", "loc": [90, 90], "level": 0, "parent": null, "vector": [1, 0, 0.3226, 0.0036, 0, 0.66, 0.0, 540, 0, 3, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re", "sys... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78049:Try_L92_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78049:Expr_L93_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78049:Try_L92_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78049:FunctionDef_L95_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# $Id: __init__.py 3225 2007-08-27 21:32:08Z fredrik $
# elementtree package
# --------------------------------------------------------------------
# The ElementTree toolkit is
#
# Copyright (c) 1999-2007 by Fredrik Lundh
#
# By obtaining, using, and/or copying this software and/or its
# associated documentat... | ajibawa-2023/Python-Code-Large/train/row_78050 | 0 | 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"] | [] | [] |
#
# ElementTree
# $Id$
#
# A simple XML tree builder, based on the sgmlop library.
#
# Note that this version does not support namespaces. This may be
# changed in future versions.
#
# history:
# 2004-03-28 fl created
#
# Copyright (c) 1999-2004 by Fredrik Lundh. All rights reserved.
#
# fredrik@pytho... | ajibawa-2023/Python-Code-Large/train/row_78052 | 23 | 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_78052:Import_L56_C0", "label": "ElementTree import ElementTree", "type": "import", "loc": [56, 56], "level": 0, "parent": null, "vector": [1, 0, 0.5437, 0.0097, 0, 0.66, 0.0, 504, 0, 1, 0, 0, 504, 0, 0], "semantic": {"name": "ElementTree", "arg_names": [], "import_names... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78052:ClassDef_L63_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78052:FunctionDef_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78052:FunctionDef_L65_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78052:Try_L66_C8"}, {"f": "ajibawa-2023/Python-Cod... |
#
# ElementTree
# $Id: ElementPath.py 3225 2007-08-27 21:32:08Z fredrik $
#
# limited xpath support for element trees
#
# history:
# 2003-05-23 fl created
# 2003-05-28 fl added support for // etc
# 2003-08-27 fl fixed parsing of periods in element names
#
# Copyright (c) 2003-2004 by Fredrik Lundh. Al... | ajibawa-2023/Python-Code-Large/train/row_78053 | 88 | 195 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78053:Import_L51_C0", "label": "re import re", "type": "import", "loc": [51, 51], "level": 0, "parent": null, "vector": [1, 0, 0.2615, 0.0051, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78053:ClassDef_L63_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78053:FunctionDef_L68_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78053:FunctionDef_L68_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78053:Assign_L69_C8"}, {"f": "ajibawa-2023/Python-... |
#
# ElementTree
# $Id: ElementIron.py 443 2006-11-18 18:47:34Z effbot $
#
# an experimental ElementTree driver for IronPython.
#
# Copyright (c) 2006 by Fredrik Lundh. All rights reserved.
#
# fredrik@pythonware.com
# http://www.pythonware.com
#
# ------------------------------------------------------------... | ajibawa-2023/Python-Code-Large/train/row_78054 | 111 | 188 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78054:Import_L40_C0", "label": "clr import clr", "type": "import", "loc": [40, 40], "level": 0, "parent": null, "vector": [1, 0, 0.2128, 0.0053, 0, 0.66, 0.0, 899, 0, 1, 0, 0, 899, 0, 0], "semantic": {"name": "clr", "arg_names": [], "import_names": ["clr"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78054:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78054:If_L60_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78054:If_L60_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78054:If_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/ro... |
#!/usr/bin/python
# Python libs
import os, string, sys, xbmc
from sets import Set
def load_search(file, tvradio):
# load the list of search terms for the current search type
lines = open(file, 'rb').readlines()
searchlist = []
for line in lines:
(type, term) = line.split(':')
... | ajibawa-2023/Python-Code-Large/train/row_78055 | 39 | 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_78055:Import_L4_C0", "label": "os import os, string, sys\u2026", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0625, 0.0156, 0, 0.66, 0.0, 688, 0, 4, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78055:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78055:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78055:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78055:Assign_L10_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/python
# Python libs
import os, string, sys, xbmc
from sets import Set
def load_search(file, tvradio):
# load the list of search terms for the current search type
lines = open(file, 'rb').readlines()
searchlist = []
for line in lines:
(type, term) = line.split(':')
... | ajibawa-2023/Python-Code-Large/train/row_78056 | 39 | 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_78056:Import_L4_C0", "label": "os import os, string, sys\u2026", "type": "import", "loc": [4, 4], "level": 0, "parent": null, "vector": [1, 0, 0.0625, 0.0156, 0, 0.66, 0.0, 688, 0, 4, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78056:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78056:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78056:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78056:Assign_L10_C4"}, {"f": "ajibawa-2023/Python-Code-... |
##
## Data on TV Channels, Radio Stations & Programme Categories
##
##
channels_tv_list = [
('bbc_one', 'BBC One'),
('bbc_two', 'BBC Two'),
('bbc_three', 'BBC Three'),
('bbc_four', 'BBC Four'),
('cbbc', 'CBBC'),
('cbeebies', 'CBeebies'),
('bbc_hd', 'BBC HD'),
('bbc_news... | ajibawa-2023/Python-Code-Large/train/row_78058 | 29 | 420 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78058:Assign_L6_C0", "label": "channels_tv_list =", "type": "assigned_variable", "loc": [6, 17], "level": 0, "parent": null, "vector": [14, 0, 0.0274, 0.0286, 0, 0.66, 0.0, 617, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "channels_tv_list", "arg_names": [], "import_name... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78058:For_L374_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78058:Expr_L375_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78058:For_L374_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78058:Assign_L376_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train... |
"""SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
... | ajibawa-2023/Python-Code-Large/train/row_78060 | 212 | 439 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78060:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0364, 0.0706, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78060:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78060:Expr_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78060:FunctionDef_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78060:Assign_L99_C4"}, {"f": "ajibawa-2023/Python-Code... |
"""
iri2uri
Converts an IRI to a URI.
"""
__author__ = "Joe Gregorio (joe@bitworking.org)"
__copyright__ = "Copyright 2006, Joe Gregorio"
__contributors__ = []
__version__ = "1.0.0"
__license__ = "MIT"
__history__ = """
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characte... | ajibawa-2023/Python-Code-Large/train/row_78061 | 43 | 110 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78061:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0318, 0.0545, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78061:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78061:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78061:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78061:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co... |
#
# Provides a simple and very quick way to parse list feeds
#
import re
def xmlunescape(data):
data = data.replace('&', '&')
data = data.replace('>', '>')
data = data.replace('<', '<')
return data
class listentry(object):
def __init__(self, title=None, id=None, updated=No... | ajibawa-2023/Python-Code-Large/train/row_78063 | 38 | 52 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78063:Import_L5_C0", "label": "re import re", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.0962, 0.0192, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": ""... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78063:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78063:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78063:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78063:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Dummy file to make this directory a package.
| ajibawa-2023/Python-Code-Large/train/row_78065 | 0 | 1 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [] | [] |
import xbmc
import xbmcgui
import xbmcplugin
import common
import sys
import os
import time
import binascii
import base64
import urllib
from BeautifulSoup import BeautifulStoneSoup
class Main:
def __init__( self ):
pass
def PreRoll(self,video_id,GUID,queue):
addcount = 0
preroll = com... | ajibawa-2023/Python-Code-Large/train/row_78066 | 102 | 144 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78066:Import_L1_C0", "label": "xbmc import xbmc", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0069, 0.0069, 0, 0.66, 0.0, 877, 0, 1, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc"], "rhs_call_n... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78066:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78066:FunctionDef_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78066:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78066:FunctionDef_L18_C4"}, {"f": "ajibawa-2023/Pytho... |
import xbmc
import xbmcplugin
from xbmcgui import Dialog
import urllib
import common
import os
import sys
import xbmcaddon
import xbmcgui
try:
from xml.etree import ElementTree
except:
from elementtree import ElementTree
class Main:
def __init__( self ):
self.addMainHomeItems()
xbmcplugin.... | ajibawa-2023/Python-Code-Large/train/row_78067 | 57 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78067:Import_L1_C0", "label": "xbmc import xbmc", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0161, 0.0161, 0, 0.66, 0.0, 877, 0, 1, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc"], "rhs_call_n... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78067:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78067:ImportFrom_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78067:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78067:ImportFrom_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
import xbmc
import xbmcgui
import xbmcplugin
import common
import sys
pluginhandle = int(sys.argv[1])
class Main:
def __init__( self ):
self.play()
def play( self ):
source_site = common.args.sourcesite
cn_sites = ('Adult Swim','Cartoon Network')
tnt_tbs_s... | ajibawa-2023/Python-Code-Large/train/row_78068 | 44 | 57 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_78068:Import_L1_C0", "label": "xbmc import xbmc", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0175, 0.0175, 0, 0.66, 0.0, 877, 0, 1, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc"], "rhs_call_n... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_78068:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_78068:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_78068:FunctionDef_L11_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_78068:Expr_L12_C8"}, {"f": "ajibawa-2023/Python-Cod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.