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/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-2
@author: zhongfeng
'''
from dangpageparser import DangDangAllSortParser,DangDangSort3PageParser,DangDangSort4PageParser
from pageparser import ObuyUrlSummary
from spider import ObuySpider
if __name__ == '__main__':
parserDict =... | ajibawa-2023/Python-Code-Large/train/row_2094 | 12 | 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_2094:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.1667, 0.1389, 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_2094:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2094:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2094:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2094:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_209... |
#/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 2011-8-02
主要用于从网站上爬取信息后,抽取页面信息;
@author: zhongfeng
'''
from pageparser import *
class DangDangAllSortParser(RootCatagoryPageParser):
'''
从http://category.dangdang.com/?ref=www-0-C 获取所有的分类信息,
组合成ObuyUrlSummary,... | ajibawa-2023/Python-Code-Large/train/row_2095 | 111 | 162 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2095:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0432, 0.0432, 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_2095:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2095:Expr_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2095:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2095:FunctionDef_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 2011-07-11
日志工厂类
@author: zhongfeng
'''
import logging.config
import os
class LoggerFactory(object):
_loggerFac = None
def __init__(self):
pass
def __new__(cls):
'''
单态实现,初始化一次
'... | ajibawa-2023/Python-Code-Large/train/row_2096 | 37 | 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_2096:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0882, 0.1029, 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_2096:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2096:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2096:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2096:FunctionDef_L15_C4"}, {"f": "ajibawa-2023/Python-Code-La... |
import os, marshal, thread
# Filename used for index files, must not contain numbers
INDEX_FILENAME = 'index'
# Exception thrown when calling get() on an empty queue
class Empty(Exception): pass
class PersistentQueue:
def __init__(self, name, cache_size=512, marshal=marshal):
"""
Create a persi... | ajibawa-2023/Python-Code-Large/train/row_2097 | 142 | 202 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2097:Import_L1_C0", "label": "os import os, marshal, thread", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.005, 0.005, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "marsh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2097:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2097:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2097:FunctionDef_L11_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2097:Expr_L12_C8"}, {"f": "ajibawa-2023/Python-Code-La... |
#/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 2011-7-27
主要用于从网站上爬取信息后,抽取页面信息;
@author: zhongfeng
'''
from pageparser import *
import re
class NewEggAllSortParser(RootCatagoryPageParser):
'''
从http://www.newegg.com.cn/CategoryList.htm获取所有的分类信息,
组合成ObuyUrlSu... | ajibawa-2023/Python-Code-Large/train/row_2099 | 86 | 129 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2099:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0543, 0.0543, 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_2099:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2099:Expr_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2099:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2099:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 2011-7-27
主要用于从网站上爬取信息后,抽取页面信息;
@author: zhongfeng
'''
from BeautifulSoup import BeautifulSoup
from crawlerhttp import UrlSummary, CrawlerType
from time import strftime
import chardet,re
from urlparse import urlparse
encodingDict = {'36... | ajibawa-2023/Python-Code-Large/train/row_2101 | 135 | 213 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2101:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0329, 0.0329, 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_2101:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2101:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2101:ClassDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2101:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-16
@author: zhongfeng
'''
COO8_FEATURES_MAP = {
'''
__
__
__
__
__
__
__
__
__
__
##
#_
'''
:
'.',
... | ajibawa-2023/Python-Code-Large/train/row_2102 | 2 | 233 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2102:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0258, 0.0215, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [] |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-16
@author: zhongfeng
'''
COO8_FEATURES_MAP = {
'''
__
__
__
__
__
__
__
__
__
##
#_
##
'''
:
'.',
... | ajibawa-2023/Python-Code-Large/train/row_2103 | 2 | 216 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2103:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0278, 0.0231, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [] |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-7-26
京东价格图片识别模块
@author: zhongfeng
'''
import ImageFilter, ImageChops
from captcha_price import *
from coo8.coo8_feature2 import COO8_FEATURES_MAP
import Image
import itertools
import re
import time
try:
import psyco
psyco.full()
except Impor... | ajibawa-2023/Python-Code-Large/train/row_2104 | 67 | 121 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2104:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0579, 0.0579, 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_2104:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2104:Import_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2104:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2104:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_210... |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-7-26
京东价格图片识别模块
@author: zhongfeng
'''
import ImageFilter, ImageChops
from captcha_price import *
from coo8.coo8_feature2 import COO8_FEATURES_MAP
import Image
import itertools
import re
import time
try:
import psyco
psyco.full()
except Impor... | ajibawa-2023/Python-Code-Large/train/row_2105 | 67 | 121 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2105:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0579, 0.0579, 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_2105:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2105:Import_L21_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2105:Try_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2105:Expr_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_210... |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-1
@author: zhongfeng
'''
from coo8.coo8pageparser import Coo8AllSortParser,Coo8Sort3PageParser,Coo8Sort4PageParser
from pageparser import ObuyUrlSummary
from spider import ObuySpider
if __name__ == '__main__':
parserDict = {0:Coo... | ajibawa-2023/Python-Code-Large/train/row_2106 | 16 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2106:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.1463, 0.122, 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_2106:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2106:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2106:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2106:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_210... |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-16
@author: zhongfeng
'''
COO8_FEATURES_MAP = {
'''
__
__
__
__
__
__
__
__
__
##
#_
##
'''
:
'.',
... | ajibawa-2023/Python-Code-Large/train/row_2107 | 2 | 216 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2107:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0278, 0.0231, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [] |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-16
@author: zhongfeng
'''
COO8_FEATURES_MAP = {
'''
__
__
__
__
__
__
__
__
__
__
##
#_
'''
:
'.',
... | ajibawa-2023/Python-Code-Large/train/row_2108 | 2 | 233 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2108:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.0258, 0.0215, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [] |
#/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 2011-8-7
主要用于从网站上爬取信息后,抽取页面信息;
@author: zhongfeng
'''
from cStringIO import StringIO
from coo8.image_price import captcha_coo8
from crawlerhttp import crawle
from pageparser import *
from threadpool import ThreadPool, WorkRequest
import jso... | ajibawa-2023/Python-Code-Large/train/row_2109 | 116 | 160 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2109:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 10], "level": 0, "parent": null, "vector": [8, 0, 0.0437, 0.0437, 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_2109:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2109:Expr_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2109:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2109:Assign_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Created on 2011-8-1
@author: zhongfeng
'''
from coo8.coo8pageparser import Coo8AllSortParser,Coo8Sort3PageParser,Coo8Sort4PageParser
from pageparser import ObuyUrlSummary
from spider import ObuySpider
if __name__ == '__main__':
parserDict = {0:Coo... | ajibawa-2023/Python-Code-Large/train/row_2110 | 16 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2110:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 8], "level": 0, "parent": null, "vector": [8, 0, 0.1463, 0.122, 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_2110:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2110:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2110:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2110:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_211... |
#!/usr/bin/env python
# -*- encoding:utf8 -*-
# protoc-gen-erl
# Google's Protocol Buffers project, ported to lua.
# https://code.google.com/p/protoc-gen-lua/
#
# Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
# All rights reserved.
#
# Use, modification and distribution are subject to the "New BSD License"
#... | ajibawa-2023/Python-Code-Large/train/row_2111 | 295 | 450 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2111:Import_L13_C0", "label": "sys import sys", "type": "import", "loc": [13, 13], "level": 0, "parent": null, "vector": [1, 0, 0.0289, 0.0022, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2111:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2111:Import_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2111:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2111:Expr_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2111:... |
#this code is used to select robots from the database and make them fight
from robot import *
from fight2 import *
import pymysql
def finalSel():
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419c... | ajibawa-2023/Python-Code-Large/train/row_2112 | 23 | 30 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2112:ImportFrom_L2_C0", "label": "from robot import *", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0667, 0.0333, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["*"], "rhs_ca... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2112:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2112:Assign_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2112:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2112:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
from selector import *
from finalSel import *
from Tgenround1 import *
from finalRound import *
import pymysql
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419coadaf')
cur=conn.cursor()
cur2=conn.cursor()
de... | ajibawa-2023/Python-Code-Large/train/row_2113 | 75 | 104 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2113:ImportFrom_L1_C0", "label": "from selector import *", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0096, 0.0096, 0, 0.66, 0.0, 542, 0, 1, 0, 0, 542, 0, 0], "semantic": {"name": "selector", "arg_names": [], "import_names": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2113:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2113:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2113:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2113:If_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
#this code is used to select robots from the database and make them fight
from robot import *
from fight2 import *
import pymysql
def selector(table1,table2):
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
d... | ajibawa-2023/Python-Code-Large/train/row_2114 | 22 | 30 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2114:ImportFrom_L2_C0", "label": "from robot import *", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0667, 0.0333, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["*"], "rhs_ca... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2114:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2114:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2114:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2114:Assign_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#!/usr/bin/env python
class Health(object):
def __init__(self,level):
self.level=level
self.chp=level
def update(self,hit):
self.chp=self.chp-hit
if self.chp>=0:
return 1
else:
return 0
def getDet(self):
print "Total Hp:{0}, Remaining Hp:{1}".... | ajibawa-2023/Python-Code-Large/train/row_2115 | 11 | 13 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2115:ClassDef_L2_C0", "label": "Health", "type": "class", "loc": [2, 13], "level": 0, "parent": null, "vector": [3, 0, 0.5769, 0.9231, 0, 0.66, 0.0, 958, 0, 3, 0, 0, 186, 0, 2], "semantic": {"name": "Health", "arg_names": [], "import_names": [], "rhs_call_name": "", "an... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2115:ClassDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2115:FunctionDef_L3_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2115:FunctionDef_L3_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2115:Assign_L4_C7"}, {"f": "ajibawa-2023/Python-Code-Lar... |
from Tkinter import *
#import battlebots game logics
from battleBots import *
from updater import *
from cont import *
from start import *
import sys
from hof import *
class GridApp:
def __init__(self, parent=0):
self.mainframe = Frame(parent)
leftframe=Frame(self.mainframe)
leftframe.grid(... | ajibawa-2023/Python-Code-Large/train/row_2117 | 255 | 316 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2117:ImportFrom_L1_C0", "label": "from Tkinter import *", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0032, 0.0032, 0, 0.66, 0.0, 368, 0, 1, 0, 0, 368, 0, 0], "semantic": {"name": "Tkinter", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2117:ClassDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2117:FunctionDef_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2117:FunctionDef_L11_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2117:Assign_L12_C8"}, {"f": "ajibawa-2023/Python-Code... |
from robot import *
import pygame
import random
w=800
h=600
WHITE=(255,255,255)
BLACK=(0,0,0)
clock=pygame.time.Clock()
def fight(Rob1,Rob2):
# wp1=Weapon(3,7,20,2)
# wp2=Weapon(4,3,25,2)
# hp1=Health(10,10)
# hp2=Health(10,10)
r1=Rob1
r2=Rob2
robots=(r1,r2)
loop=True
while... | ajibawa-2023/Python-Code-Large/train/row_2118 | 35 | 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_2118:ImportFrom_L1_C0", "label": "from robot import *", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0154, 0.0154, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["*"], "rhs_ca... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2118:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2118:Assign_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2118:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2118:Assign_L20_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
from selector import *
from finalSel import *
from Tgenround1 import *
from finalRound import *
def startT():
clearDB()
print "Generating round 1..."
round1('robots2','round1')
print "Starting round 1..."
selector("round1","robots2")
print "Generating round 2..."
round1('round1','round2')
... | ajibawa-2023/Python-Code-Large/train/row_2119 | 34 | 35 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2119:ImportFrom_L1_C0", "label": "from selector import *", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0286, 0.0286, 0, 0.66, 0.0, 542, 0, 1, 0, 0, 542, 0, 0], "semantic": {"name": "selector", "arg_names": [], "import_names": ["*"], "... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2119:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2119:Expr_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2119:FunctionDef_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2119:Expr_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#================Tournament generator=========
#Generate the matches for the robots
import random
import pymysql
def check(l):
ok=0
for i in l:
if i==1:
ok=1
return ok
def generate(l,cur,lenght,table2,table1):
#==================Robot1 ==========================
r1=rand... | ajibawa-2023/Python-Code-Large/train/row_2120 | 52 | 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_2120:Import_L3_C0", "label": "random import random", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0411, 0.0137, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2120:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2120:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2120:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2120:For_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#k - skill variable(1 health, 2 damage, 3 range, 4 accuracy)
#s - sum check
import pymysql
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419coadaf')
cur=conn.cursor()
def check(l):
s=0
for j in l:
... | ajibawa-2023/Python-Code-Large/train/row_2121 | 24 | 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_2121:Import_L3_C0", "label": "pymysql import pymysql", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0833, 0.0278, 0, 0.66, 0.0, 244, 0, 1, 0, 0, 244, 0, 0], "semantic": {"name": "pymysql", "arg_names": [], "import_names": ["pymysql"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2121:FunctionDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2121:Assign_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2121:FunctionDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2121:For_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#!/usr/bin/python
#battleBots.py
#Based on battleBots.py by James Shuttleworth
#If your robots are in "robots.py" use this line...
from robot import *
#or delete it and put your classes here instead
#Change code below for the classes of your two robots
#from pygame.locals import *
import pygame
import random
#load... | ajibawa-2023/Python-Code-Large/train/row_2122 | 179 | 253 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2122:ImportFrom_L7_C0", "label": "from robot import *", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0277, 0.004, 0, 0.66, 0.0, 735, 0, 1, 0, 0, 735, 0, 0], "semantic": {"name": "robot", "arg_names": [], "import_names": ["*"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2122:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2122:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2122:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2122:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
import sys
import pygame
import pymysql
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419coadaf')
cur=conn.cursor()
def listChampions(screen,labelfont):
cur.execute("select * from robots2 where GrandTi... | ajibawa-2023/Python-Code-Large/train/row_2123 | 35 | 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_2123:Import_L1_C0", "label": "sys import sys", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0227, 0.0227, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2123:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2123:Expr_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2123:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2123:Assign_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
import pymysql
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419coadaf')
cur=conn.cursor()
def checkR(hp,dmg,acc,range1,Rtime):
l=cur.execute('select * from robots1 where health={0} and damage={1} and ran... | ajibawa-2023/Python-Code-Large/train/row_2124 | 14 | 24 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2124:Import_L1_C0", "label": "pymysql import pymysql", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0417, 0.0417, 0, 0.66, 0.0, 244, 0, 1, 0, 0, 244, 0, 0], "semantic": {"name": "pymysql", "arg_names": [], "import_names": ["pymysql"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2124:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2124:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2124:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2124:If_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tr... |
#!/usr/bin/env python
import math
import random
from time import clock, time
from weapon import *
from health import *
class Robot(object):
def __init__(self,id,x,y,angle,hp,wp,win=0,loss=0):
self.id=id
self.x=x
self.y=y
self.angle=angle
self.hp=hp
self.wp=wp
... | ajibawa-2023/Python-Code-Large/train/row_2125 | 52 | 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_2125:Import_L2_C0", "label": "math import math", "type": "import", "loc": [2, 2], "level": 0, "parent": null, "vector": [1, 0, 0.0274, 0.0137, 0, 0.66, 0.0, 526, 0, 1, 0, 0, 526, 0, 0], "semantic": {"name": "math", "arg_names": [], "import_names": ["math"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2125:ClassDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2125:FunctionDef_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2125:FunctionDef_L9_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2125:Assign_L10_C8"}, {"f": "ajibawa-2023/Python-Code-La... |
#================Tournament generator=========
#Generate the matches for the robots
import random
import pymysql
conn=pymysql.connect(host='www.freesqldatabase.com', port=3306,
user='sql01_64191', passwd='**********',
db='sql01_6419coadaf')
cur=conn.cursor()
cur2=conn.cursor()
... | ajibawa-2023/Python-Code-Large/train/row_2126 | 41 | 55 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2126:Import_L3_C0", "label": "random import random", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0545, 0.0182, 0, 0.66, 0.0, 715, 0, 1, 0, 0, 715, 0, 0], "semantic": {"name": "random", "arg_names": [], "import_names": ["random"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2126:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2126:Assign_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2126:FunctionDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2126:For_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#====================================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you ... | ajibawa-2023/Python-Code-Large/train/row_2127 | 38 | 74 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2127:Import_L26_C0", "label": "os import os", "type": "import", "loc": [26, 26], "level": 0, "parent": null, "vector": [1, 0, 0.3514, 0.0135, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2127:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2127:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2127:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2127:For_L37_C4"}, {"f": "ajibawa-2023/Python-Code-Larg... |
#!/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_2128 | 47 | 92 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_2128:Import_L23_C0", "label": "os import os", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0109, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ""... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2128:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2128:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2128:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2128:Assign_L33_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/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_2129 | 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_2129:Import_L23_C0", "label": "simplejson import simplejson", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.6216, 0.027, 0, 0.66, 0.0, 386, 0, 1, 0, 0, 386, 0, 0], "semantic": {"name": "simplejson", "arg_names": [], "import_names": ["... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_2129:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2129:FunctionDef_L31_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2129:FunctionDef_L31_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2129:Assign_L32_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/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_2130 | 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_2130: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_2130:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2130:FunctionDef_L25_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2130:FunctionDef_L25_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2130: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
# t... | ajibawa-2023/Python-Code-Large/train/row_2131 | 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_2131: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_2131:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2131:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2131:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2131: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_2132 | 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_2132: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_2132:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2132:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2132:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2132:Expr_L28_C2"}] |
#!/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_2133 | 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_2133: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_2133:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2133:Assign_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2133:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2133:If_L39_C1"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/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_2134 | 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_2134: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_2134:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2134:FunctionDef_L31_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2134:FunctionDef_L31_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2134:Assign_L32_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_2135 | 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_2135: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_2135:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2135:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2135:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2135: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_2136 | 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_2136: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_2136:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2136:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2136:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2136: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
# the Free So... | ajibawa-2023/Python-Code-Large/train/row_2137 | 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_2137: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_2137:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2137:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2137:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2137: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_2138 | 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_2138: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_2138:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2138:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2138:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2138: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_2139 | 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_2139: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_2139:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2139:FunctionDef_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2139:FunctionDef_L31_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2139: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_2140 | 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_2140: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_2140:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2140:FunctionDef_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2140:FunctionDef_L33_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_2140: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_2141 | 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_2141: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_2141:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2141:FunctionDef_L37_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2141:FunctionDef_L37_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2141:Assign_L38_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_2142 | 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_2142: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_2142:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2142:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2142:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2142:Assign_L31_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_2144 | 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_2144: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_2144:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2144:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2144:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2144: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_2145 | 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_2145: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_2145:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2145:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2145:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2145: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_2146 | 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_2146: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_2146:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2146:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2146:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2146: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_2147 | 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_2147: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_2147:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2147:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2147:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2147: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_2148 | 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_2148: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_2148:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2148:FunctionDef_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2148:FunctionDef_L29_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2148: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_2149 | 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_2149: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_2149:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2149:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2149:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2149: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_2150 | 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_2150: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_2150:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2150:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2150:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2150: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_2151 | 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_2151: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_2151:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2151:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2151:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2151: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_2152 | 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_2152: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_2152:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2152:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2152:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2152: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_2153 | 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_2153: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_2153:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2153:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2153:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2153: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_2154 | 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_2154: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_2154:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2154:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2154:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2154: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_2155 | 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_2155: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_2155:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2155:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2155:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2155: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_2156 | 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_2156: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_2156:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2156:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2156:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2156: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_2157 | 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_2157: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_2157:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2157:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2157:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2157: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_2158 | 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_2158: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_2158:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2158:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2158:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2158: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_2159 | 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_2159: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_2159:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2159:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2159:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2159: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_2160 | 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_2160: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_2160:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2160:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2160:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2160: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_2161 | 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_2161: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_2161:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2161:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2161:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2161: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_2162 | 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_2162: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_2162:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2162:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2162:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2162: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_2163 | 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_2163: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_2163:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2163:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2163:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2163: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_2164 | 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_2164: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_2164:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2164:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2164:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2164: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_2165 | 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_2165: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_2165:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2165:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2165:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2165: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_2166 | 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_2166: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_2166:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2166:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2166:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2166: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_2167 | 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_2167: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_2167:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2167:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2167:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2167: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_2168 | 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_2168: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_2168:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2168:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2168:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2168: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_2169 | 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_2169: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_2169:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2169:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2169:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2169: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_2170 | 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_2170: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_2170:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2170:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2170:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2170: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_2171 | 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_2171: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_2171:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2171:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2171:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2171: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_2172 | 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_2172: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_2172:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2172:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2172:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2172: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_2173 | 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_2173: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_2173:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2173:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2173:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2173: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_2174 | 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_2174: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_2174:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2174:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2174:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2174: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_2175 | 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_2175: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_2175:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2175:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2175:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2175: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_2176 | 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_2176: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_2176:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2176:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2176:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2176: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_2177 | 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_2177: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_2177:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2177:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2177:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2177: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_2178 | 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_2178: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_2178:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2178:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2178:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2178:Assign_L28_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_2179 | 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_2179: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_2179:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2179:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2179:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2179: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_2180 | 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_2180: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_2180:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2180:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2180:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2180: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_2181 | 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_2181: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_2181:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2181:FunctionDef_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2181:FunctionDef_L30_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2181: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_2182 | 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_2182: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_2182:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2182:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2182:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2182: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_2183 | 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_2183: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_2183:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2183:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2183:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2183: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_2184 | 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_2184: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_2184:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2184:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2184:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2184: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_2185 | 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_2185: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_2185:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2185:FunctionDef_L28_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2185:FunctionDef_L28_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2185: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_2186 | 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_2186: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_2186:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2186:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2186:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2186: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_2187 | 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_2187: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_2187:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2187:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2187:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2187: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, e... | ajibawa-2023/Python-Code-Large/train/row_2188 | 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_2188: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_2188:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2188:FunctionDef_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2188:FunctionDef_L32_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2188:Assign_L33_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_2189 | 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_2189: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_2189:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2189:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2189:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2189: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_2190 | 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_2190: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_2190:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2190:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2190:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2190: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_2191 | 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_2191: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_2191:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2191:FunctionDef_L34_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2191:FunctionDef_L34_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2191:Assign_L35_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_2192 | 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_2192: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_2192:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2192:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2192:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2192: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_2193 | 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_2193: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_2193:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2193:FunctionDef_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2193:FunctionDef_L33_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2193: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_2194 | 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_2194: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_2194:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2194:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2194:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2194: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_2195 | 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_2195: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_2195:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2195:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2195:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2195: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_2196 | 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_2196: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_2196:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2196:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2196:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2196: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_2197 | 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_2197: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_2197:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_2197:FunctionDef_L27_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_2197:FunctionDef_L27_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_2197:Assign_L28_C2"}, {"f": "ajibawa-2023/Python-Code... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.