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 |
|---|---|---|---|---|---|---|---|
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free S... | ajibawa-2023/Python-Code-Large/train/row_2306 | 4 | 26 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2306:ImportFrom_L22_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.8462, 0.0385, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2306:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2306:FunctionDef_L25_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2306:FunctionDef_L25_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2306:Expr_L26_C2"}] |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | ajibawa-2023/Python-Code-Large/train/row_2307 | 9 | 33 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2307:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.697, 0.0303, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2307:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2307:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2307:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2307:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2308 | 4 | 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_2308:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import BaseHandler", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.8214, 0.0357, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2308:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2308:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2308:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2308:Expr_L28_C2"}] |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2309 | 16 | 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_2309:Import_L22_C0", "label": "model import model", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0227, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2309:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2309:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2309:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2309:Assign_L32_C8"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2310 | 39 | 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_2310:Import_L22_C0", "label": "datetime import datetime", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.275, 0.0125, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["dateti... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2310:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2310:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2310:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2310:Assign_L34_C8"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2311 | 521 | 848 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2311:Import_L22_C0", "label": "re import re", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.0259, 0.0012, 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_2311:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2311:FunctionDef_L41_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2311:FunctionDef_L41_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2311:If_L43_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2312 | 39 | 77 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2312:ImportFrom_L23_C0", "label": "from google.appengine.api import mail", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2987, 0.013, 0, 0.66, 0.0, 279, 0, 1, 0, 0, 279, 0, 0], "semantic": {"name": "google.appengine.api", "arg_names":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2312:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2312:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2312:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2312:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2313 | 95 | 191 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2313:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1204, 0.0052, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2313:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2313:FunctionDef_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2313:FunctionDef_L37_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2313:Assign_L38_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | ajibawa-2023/Python-Code-Large/train/row_2314 | 21 | 48 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2314:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4792, 0.0208, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2314:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2314:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2314:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2314:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2315 | 57 | 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_2315:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2447, 0.0106, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2315:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2315:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2315:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2315:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2316 | 36 | 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_2316:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2949, 0.0128, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2316:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2316:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2316:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2316:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2317 | 21 | 49 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2317:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4694, 0.0204, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2317:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2317:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2317:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2317:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2318 | 15 | 42 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2318:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5476, 0.0238, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2318:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2318:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2318:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2318:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2319 | 7 | 32 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2319:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2319:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2319:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2319:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2319:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2320 | 7 | 32 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2320:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2320:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2320:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2320:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2320:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2321 | 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_2321:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.575, 0.025, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2321:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2321:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2321:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2321:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2322 | 37 | 69 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2322:Import_L23_C0", "label": "model import model", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3333, 0.0145, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2322:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2322:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2322:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2322:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2323 | 8 | 32 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2323:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2323:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2323:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2323:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2323:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2324 | 8 | 32 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2324:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2324:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2324:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2324:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2324:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2325 | 35 | 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_2325:ImportFrom_L23_C0", "label": "from google.appengine.api import mail", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3067, 0.0133, 0, 0.66, 0.0, 279, 0, 1, 0, 0, 279, 0, 0], "semantic": {"name": "google.appengine.api", "arg_names"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2325:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2325:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2325:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2325:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2326 | 14 | 39 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2326:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5897, 0.0256, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2326:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2326:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2326:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2326:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2327 | 75 | 115 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2327:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2, 0.0087, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2327:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2327:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2327:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2327:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2328 | 14 | 39 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2328:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5897, 0.0256, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2328:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2328:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2328:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2328:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2329 | 8 | 32 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2329:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7188, 0.0312, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2329:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2329:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2329:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2329:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2330 | 17 | 42 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2330:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5476, 0.0238, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2330:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2330:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2330:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2330:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2331 | 36 | 68 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2331:Import_L23_C0", "label": "re import re", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3382, 0.0147, 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_2331:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2331:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2331:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2331:Assign_L35_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2332 | 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_2332:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.575, 0.025, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2332:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2332:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2332:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2332:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2333 | 40 | 69 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2333:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3333, 0.0145, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2333:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2333:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2333:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2333:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2334 | 23 | 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_2334:Import_L23_C0", "label": "model import model", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4259, 0.0185, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2334:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2334:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2334:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2334:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2335 | 33 | 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_2335:Import_L23_C0", "label": "model import model", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3433, 0.0149, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2335:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2335:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2335:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2335:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2336 | 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_2336:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.575, 0.025, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2336:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2336:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2336:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2336:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2337 | 104 | 184 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2337:Import_L23_C0", "label": "re import re", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.125, 0.0054, 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_2337:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2337:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2337:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2337:Assign_L35_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2338 | 41 | 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_2338:Import_L22_C0", "label": "model import model", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.2933, 0.0133, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2338:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2338:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2338:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2338:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2339 | 37 | 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_2339:ImportFrom_L24_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.3692, 0.0154, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2339:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2339:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2339:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2339:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General ... | ajibawa-2023/Python-Code-Large/train/row_2340 | 40 | 68 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2340:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3382, 0.0147, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2340:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2340:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2340:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2340:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General ... | ajibawa-2023/Python-Code-Large/train/row_2341 | 41 | 71 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2341:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3239, 0.0141, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2341:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2341:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2341:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2341:Assign_L35_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2342 | 52 | 89 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2342:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2584, 0.0112, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2342:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2342:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2342:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2342:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General ... | ajibawa-2023/Python-Code-Large/train/row_2343 | 70 | 100 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2343:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.23, 0.01, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_name": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2343:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2343:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2343:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2343:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2344 | 43 | 81 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2344:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.284, 0.0123, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandler... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2344:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2344:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2344:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2344:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General ... | ajibawa-2023/Python-Code-Large/train/row_2345 | 36 | 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_2345:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3594, 0.0156, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2345:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2345:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2345:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2345:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General ... | ajibawa-2023/Python-Code-Large/train/row_2346 | 38 | 68 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2346:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3382, 0.0147, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2346:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2346:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2346:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2346:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, e... | ajibawa-2023/Python-Code-Large/train/row_2347 | 23 | 51 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2347:Import_L22_C0", "label": "img import img", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.4314, 0.0196, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2347:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2347:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2347:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2347:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2348 | 10 | 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_2348:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6389, 0.0278, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2348:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2348:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2348:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2348:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2349 | 11 | 37 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2349:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandler... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2349:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2349:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2349:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2349:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2350 | 10 | 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_2350:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6389, 0.0278, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2350:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2350:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2350:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2350:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2351 | 151 | 249 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2351:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.0924, 0.004, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2351:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2351:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2351:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2351:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2352 | 11 | 37 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2352:ImportFrom_L23_C0", "label": "from handlers.BaseRest import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 250, 0, 1, 0, 0, 250, 0, 0], "semantic": {"name": "handlers.BaseRest", "arg_names": [], "imp... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2352:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2352:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2352:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2352:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2353 | 33 | 68 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2353:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3382, 0.0147, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2353:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2353:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2353:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2353:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2354 | 56 | 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_2354:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2614, 0.0114, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2354:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2354:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2354:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2354:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2355 | 68 | 120 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2355:Import_L23_C0", "label": "time import time", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1917, 0.0083, 0, 0.66, 0.0, 654, 0, 1, 0, 0, 654, 0, 0], "semantic": {"name": "time", "arg_names": [], "import_names": ["time"], "rhs_call... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2355:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2355:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2355:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2355:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2356 | 29 | 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_2356:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3286, 0.0143, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2356:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2356:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2356:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2356:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2357 | 87 | 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_2357:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1655, 0.0072, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2357:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2357:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2357:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2357:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2358 | 22 | 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_2358:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4259, 0.0185, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2358:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2358:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2358:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2358:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2359 | 13 | 37 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2359:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2359:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2359:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2359:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2359:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2360 | 33 | 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_2360:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3594, 0.0156, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2360:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2360:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2360:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2360:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2361 | 52 | 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_2361:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2091, 0.0091, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2361:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2361:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2361:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2361:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2362 | 36 | 71 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2362:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3239, 0.0141, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2362:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2362:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2362:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2362:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2363 | 33 | 73 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2363:Import_L23_C0", "label": "logging import logging", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3151, 0.0137, 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_2363:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2363:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2363:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2363:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2364 | 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_2364:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.575, 0.025, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2364:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2364:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2364:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2364:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2365 | 63 | 98 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2365:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2347, 0.0102, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2365:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2365:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2365:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2365:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2366 | 27 | 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_2366:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4259, 0.0185, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2366:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2366:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2366:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2366:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2367 | 93 | 166 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2367:Import_L23_C0", "label": "img import img", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1386, 0.006, 0, 0.66, 0.0, 200, 0, 1, 0, 0, 200, 0, 0], "semantic": {"name": "img", "arg_names": [], "import_names": ["img"], "rhs_call_name... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2367:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2367:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2367:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2367:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2368 | 88 | 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_2368:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1554, 0.0068, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2368:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2368:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2368:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2368:Assign_L34_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2369 | 23 | 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_2369:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.4259, 0.0185, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2369:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2369:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2369:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2369:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2370 | 23 | 61 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2370:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.377, 0.0164, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandler... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2370:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2370:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2370:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2370:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2371 | 119 | 178 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2371:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1292, 0.0056, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2371:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2371:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2371:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2371:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2372 | 77 | 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_2372:Import_L23_C0", "label": "logging import logging", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1655, 0.0072, 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_2372:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2372:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2372:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2372:Assign_L35_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2373 | 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_2373:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.575, 0.025, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2373:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2373:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2373:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2373:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2374 | 21 | 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_2374:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0217, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": [],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2374:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2374:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2374:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2374:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2375 | 16 | 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_2375:ImportFrom_L23_C0", "label": "from handlers.AuthenticatedHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.5227, 0.0227, 0, 0.66, 0.0, 548, 0, 1, 0, 0, 548, 0, 0], "semantic": {"name": "handlers.AuthenticatedHandle... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2375:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2375:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2375:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2375:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2376 | 21 | 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_2376:ImportFrom_L24_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.4615, 0.0192, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2376:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2376:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2376:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2376:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2377 | 11 | 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_2377:ImportFrom_L23_C0", "label": "from handlers.BaseRest import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6389, 0.0278, 0, 0.66, 0.0, 250, 0, 1, 0, 0, 250, 0, 0], "semantic": {"name": "handlers.BaseRest", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2377:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2377:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2377:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2377:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2378 | 54 | 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_2378:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2323, 0.0101, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2378:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2378:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2378:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2378:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2379 | 31 | 61 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2379:ImportFrom_L22_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.3607, 0.0164, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2379:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2379:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2379:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2379:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any... | ajibawa-2023/Python-Code-Large/train/row_2380 | 35 | 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_2380:Import_L23_C0", "label": "datetime import datetime", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.3194, 0.0139, 0, 0.66, 0.0, 426, 0, 1, 0, 0, 426, 0, 0], "semantic": {"name": "datetime", "arg_names": [], "import_names": ["datet... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2380:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2380:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2380:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2380:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2381 | 19 | 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_2381:ImportFrom_L22_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [22, 22], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0227, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": [],... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2381:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2381:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2381:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2381:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2382 | 52 | 98 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2382:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.2347, 0.0102, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2382:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2382:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2382:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2382:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Founda... | ajibawa-2023/Python-Code-Large/train/row_2383 | 68 | 152 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2383:ImportFrom_L23_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1513, 0.0066, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2383:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2383:Assign_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2383:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2383:If_L39_C1"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General... | ajibawa-2023/Python-Code-Large/train/row_2384 | 68 | 107 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2384:Import_L24_C0", "label": "model import model", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.2243, 0.0093, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2384:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2384:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2384:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2384:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | ajibawa-2023/Python-Code-Large/train/row_2386 | 86 | 157 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2386:Import_L23_C0", "label": "model import model", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1465, 0.0064, 0, 0.66, 0.0, 722, 0, 1, 0, 0, 722, 0, 0], "semantic": {"name": "model", "arg_names": [], "import_names": ["model"], "rhs_... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2386:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2386:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2386:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2386:Assign_L31_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2387 | 7 | 33 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2387:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.697, 0.0303, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2387:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2387:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2387:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2387:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | ajibawa-2023/Python-Code-Large/train/row_2388 | 8 | 33 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2388:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.697, 0.0303, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": []... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2388:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2388:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2388:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2388:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# t... | ajibawa-2023/Python-Code-Large/train/row_2389 | 5 | 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_2389:ImportFrom_L23_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.7931, 0.0345, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2389:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2389:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2389:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2389:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
# (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com>
# (C) Copyright 2008 Néstor Salceda <nestor.salceda at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free soft... | ajibawa-2023/Python-Code-Large/train/row_2390 | 22 | 53 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2390:ImportFrom_L25_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [25, 25], "level": 0, "parent": null, "vector": [1, 0, 0.4717, 0.0189, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2390:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2390:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2390:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2390:Assign_L30_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | ajibawa-2023/Python-Code-Large/train/row_2391 | 85 | 134 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2391:ImportFrom_L23_C0", "label": "from handlers.MainPage import *", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1716, 0.0075, 0, 0.66, 0.0, 49, 0, 1, 0, 0, 49, 0, 0], "semantic": {"name": "handlers.MainPage", "arg_names": [], "impo... | [] |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gener... | ajibawa-2023/Python-Code-Large/train/row_2392 | 264 | 380 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2392:ImportFrom_L24_C0", "label": "from google.appengine.ext import db", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.0632, 0.0026, 0, 0.66, 0.0, 167, 0, 1, 0, 0, 167, 0, 0], "semantic": {"name": "google.appengine.ext", "arg_names": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2392:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2392:FunctionDef_L31_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2392:FunctionDef_L31_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2392:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gener... | ajibawa-2023/Python-Code-Large/train/row_2393 | 14 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2393:ImportFrom_L24_C0", "label": "from handlers.BaseHandler import *", "type": "import", "loc": [24, 24], "level": 0, "parent": null, "vector": [1, 0, 0.48, 0.02, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "handlers.BaseHandler", "arg_names": [], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2393:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2393:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2393:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2393:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code... |
# -*- coding: utf-8 -*-
"""
jinja2.runtime
~~~~~~~~~~~~~~
Runtime helpers.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD.
"""
import sys
from itertools import chain, imap
from jinja2.nodes import EvalContext, _context_function_types
from jinja2.utils import Markup, partial, soft_unicode, e... | ajibawa-2023/Python-Code-Large/train/row_2394 | 268 | 544 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2394:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.011, 0.0165, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2394:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2394:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2394:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2394:Assign_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
"""
jinja2.nodes
~~~~~~~~~~~~
This module implements additional nodes derived from the ast base node.
It also provides some node tree helper functions like `in_lineno` and
`get_nodes` used by the parser and translator in order to normalize
python and jinja nodes.
:... | ajibawa-2023/Python-Code-Large/train/row_2395 | 449 | 901 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2395:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 14], "level": 0, "parent": null, "vector": [8, 0, 0.0089, 0.0144, 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_2395:ClassDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2395:Expr_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2395:ClassDef_L57_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2395:Expr_L58_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train... |
# -*- coding: utf-8 -*-
"""
jinja2.compiler
~~~~~~~~~~~~~~~
Compiles nodes into python code.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from cStringIO import StringIO
from itertools import chain
from copy import deepcopy
from jinja2 import nodes
from j... | ajibawa-2023/Python-Code-Large/train/row_2397 | 1,058 | 1,640 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2397:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0037, 0.0055, 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_2397:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2397:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2397:Try_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2397:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_239... |
# -*- coding: utf-8 -*-
"""
jinja2.optimizer
~~~~~~~~~~~~~~~~
The jinja optimizer is currently trying to constant fold a few expressions
and modify the AST in place so that it should be easier to evaluate it.
Because the AST does not contain all the scoping information and the
compiler has to ... | ajibawa-2023/Python-Code-Large/train/row_2398 | 31 | 68 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2398:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1471, 0.25, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2398:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2398:Expr_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2398:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2398:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
# -*- coding: utf-8 -*-
"""
jinja2.visitor
~~~~~~~~~~~~~~
This module implements a visitor for the nodes.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD.
"""
from jinja2.nodes import Node
class NodeVisitor(object):
"""Walks the abstract syntax tree and call visitor functions for every... | ajibawa-2023/Python-Code-Large/train/row_2401 | 44 | 87 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2401:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.069, 0.1034, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2401:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2401:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2401:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2401:FunctionDef_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
"""
jinja2.parser
~~~~~~~~~~~~~
Implements the template parser.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import nodes
from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError
from jinja2.utils impo... | ajibawa-2023/Python-Code-Large/train/row_2402 | 643 | 896 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2402:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0067, 0.01, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2402:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2402:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2402:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2402:FunctionDef_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
# -*- coding: utf-8 -*-
"""
jinja2.loaders
~~~~~~~~~~~~~~
Jinja loader classes.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import os
import sys
import weakref
from types import ModuleType
from os import path
try:
from hashlib import sha1
except Imp... | ajibawa-2023/Python-Code-Large/train/row_2403 | 196 | 449 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2403:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0134, 0.02, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2403:Try_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2403:ImportFrom_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2403:Try_L16_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2403:ImportFrom_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
# -*- coding: utf-8 -*-
"""
jinja2.tests
~~~~~~~~~~~~
Jinja test functions. Used with the "is" operator.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
from jinja2.runtime import Undefined
# nose, nothing here to test
__test__ = False
number_r... | ajibawa-2023/Python-Code-Large/train/row_2404 | 60 | 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_2404:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0411, 0.0616, 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_2404:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2404:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2404:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2404:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/... |
# -*- coding: utf-8 -*-
"""
jinja2.filters
~~~~~~~~~~~~~~
Bundled jinja filters.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
import math
from random import choice
from operator import itemgetter
from itertools import imap, groupby
from jinja2.... | ajibawa-2023/Python-Code-Large/train/row_2405 | 262 | 717 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2405:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0084, 0.0126, 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_2405:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2405:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2405:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2405:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
import gc
import unittest
from jinja2._markupsafe import Markup, escape, escape_silent
class MarkupTestCase(unittest.TestCase):
def test_markup_operations(self):
# adding two strings should escape the unsafe one
unsafe = '<script type="application/x-some-script">alert("foo");</script>'
sa... | ajibawa-2023/Python-Code-Large/train/row_2406 | 36 | 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_2406:Import_L1_C0", "label": "gc import gc", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0125, 0.0125, 0, 0.66, 0.0, 92, 0, 1, 0, 0, 92, 0, 0], "semantic": {"name": "gc", "arg_names": [], "import_names": ["gc"], "rhs_call_name": "", "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2406:ClassDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2406:FunctionDef_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2406:FunctionDef_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2406:Assign_L10_C8"}, {"f": "ajibawa-2023/Python-Code-La... |
# -*- coding: utf-8 -*-
"""
jinja2._markupsafe._bundle
~~~~~~~~~~~~~~~~~~~~~~~~~~
This script pulls in markupsafe from a source folder and
bundles it with Jinja2. It does not pull in the speedups
module though.
:copyright: Copyright 2010 by the Jinja team, see AUTHORS.
:license: BSD, see ... | ajibawa-2023/Python-Code-Large/train/row_2407 | 29 | 49 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2407:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 12], "level": 0, "parent": null, "vector": [8, 0, 0.1429, 0.2245, 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_2407:FunctionDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2407:For_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2407:For_L19_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2407:Assign_L20_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/... |
# -*- coding: utf-8 -*-
"""
markupsafe._native
~~~~~~~~~~~~~~~~~~
Native Python implementation the C module is not compiled.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from jinja2._markupsafe import Markup
def escape(s):
"""Convert the characters... | ajibawa-2023/Python-Code-Large/train/row_2408 | 17 | 45 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2408:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.1333, 0.2, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2408:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2408:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2408:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2408:If_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
# -*- coding: utf-8 -*-
"""
markupsafe
~~~~~~~~~~
Implements a Markup string.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
import re
from itertools import imap
__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
_striptags_re = re.compile... | ajibawa-2023/Python-Code-Large/train/row_2409 | 110 | 225 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2409:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0267, 0.04, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2409:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2409:Expr_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2409:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2409:Assign_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.