code stringlengths 1 1.49M | file_id stringlengths 42 46 | node_count int64 0 7.38k | total_lines int64 1 20.9k | vector_dim int64 15 15 | vector_labels stringclasses 1
value | nodes stringlengths 2 3.75M | connections stringlengths 2 964k |
|---|---|---|---|---|---|---|---|
#!/usr/bin/python
'''
Entry point for My Tracks i18n tool.
@author: Rodrigo Damazio
'''
import mytracks.files
import mytracks.translate
import mytracks.validate
import sys
def Usage():
print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0]
print 'Commands are:'
print ' cleanup'
print ' translate'
p... | ajibawa-2023/Python-Code-Large/train/row_81603 | 58 | 96 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81603:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0417, 0.0521, 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_81603:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81603:Expr_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81603:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81603:Expr_L15_C2"}, {"f": "ajibawa-2023/Python-Code-L... |
'''
Module which prompts the user for translations and saves them.
TODO: implement
@author: Rodrigo Damazio
'''
class Translator(object):
'''
classdocs
'''
def __init__(self, language):
'''
Constructor
'''
self._language = language
def Translate(self, string_names):
print string_names | ajibawa-2023/Python-Code-Large/train/row_81604 | 8 | 21 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81604:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 7], "level": 0, "parent": null, "vector": [8, 0, 0.1905, 0.3333, 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_81604:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81604:Expr_L10_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81604:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81604:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-La... |
'''
Module which compares languague files to the master file and detects
issues.
@author: Rodrigo Damazio
'''
import os
from mytracks.parser import StringsParser
import mytracks.history
class Validator(object):
def __init__(self, languages):
'''
Builds a strings file validator.
Params:
@para... | ajibawa-2023/Python-Code-Large/train/row_81605 | 65 | 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_81605:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0304, 0.0522, 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_81605:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81605:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81605:FunctionDef_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_81605:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Co... |
'''
Module for dealing with resource files (but not their contents).
@author: Rodrigo Damazio
'''
import os.path
from glob import glob
import re
MYTRACKS_RES_DIR = 'MyTracks/res'
ANDROID_MASTER_VALUES = 'values'
ANDROID_VALUES_MASK = 'values-*'
def GetMyTracksDir():
'''
Returns the directory in which the MyTrac... | ajibawa-2023/Python-Code-Large/train/row_81606 | 25 | 45 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81606:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.1111, 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_81606:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81606:Expr_L16_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81606:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81606:Assign_L19_C2"}, {"f": "ajibawa-2023/Python-Code... |
'''
Module which parses a string XML file.
@author: Rodrigo Damazio
'''
from xml.parsers.expat import ParserCreate
import re
#import xml.etree.ElementTree as ET
class StringsParser(object):
'''
Parser for string XML files.
This object is not thread-safe and should be used for parsing a single file at
a time... | ajibawa-2023/Python-Code-Large/train/row_81607 | 54 | 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_81607:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0261, 0.0435, 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_81607:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81607:Expr_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81607:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81607:FunctionDef_L19_C2"}, {"f": "ajibawa-2023/Python-Code-... |
# This is Python example on how to use Mongoose embeddable web server,
# http://code.google.com/p/mongoose
#
# Before using the mongoose module, make sure that Mongoose shared library is
# built and present in the current (or system library) directory
import mongoose
import sys
# Handle /show and /form URIs.
def Even... | ajibawa-2023/Python-Code-Large/train/row_81608 | 33 | 63 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81608:Import_L7_C0", "label": "mongoose import mongoose", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.1111, 0.0159, 0, 0.66, 0.0, 755, 0, 1, 0, 0, 755, 0, 0], "semantic": {"name": "mongoose", "arg_names": [], "import_names": ["mongoos... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81608:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81608:Assign_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81608:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81608:If_L13_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
# Copyright (c) 2004-2009 Sergey Lyubka
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... | ajibawa-2023/Python-Code-Large/train/row_81609 | 79 | 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_81609:Expr_L23_C0", "label": "expression", "type": "expression", "loc": [23, 36], "level": 0, "parent": null, "vector": [8, 0, 0.1777, 0.0843, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81609:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81609:Expr_L57_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81609:ClassDef_L56_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81609:Assign_L58_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
# Natural Language Toolkit: Distance Metrics
#
# Copyright (C) 2001-2012 NLTK Project
# Author: Edward Loper <edloper@gradient.cis.upenn.edu>
# Steven Bird <sb@csse.unimelb.edu.au>
# Tom Lippincott <tom@cs.columbia.edu>
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT
#
... | ajibawa-2023/Python-Code-Large/train/row_81610 | 77 | 136 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81610:Expr_L11_C0", "label": "expression", "type": "expression", "loc": [11, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1176, 0.0809, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81610:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81610:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81610:FunctionDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81610:For_L25_C4"}, {"f": "ajibawa-2023/Python-Code-... |
'''
Module which brings history information about files from Mercurial.
@author: Rodrigo Damazio
'''
import re
import subprocess
REVISION_REGEX = re.compile(r'(?P<hash>[0-9a-f]{12}):.*')
def _GetOutputLines(args):
'''
Runs an external process and returns its output as a list of lines.
@param args: the argume... | ajibawa-2023/Python-Code-Large/train/row_81611 | 38 | 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_81611:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0319, 0.0532, 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_81611:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81611:Expr_L13_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81611:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81611:Assign_L18_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/python
'''
Entry point for My Tracks i18n tool.
@author: Rodrigo Damazio
'''
import mytracks.files
import mytracks.translate
import mytracks.validate
import sys
def Usage():
print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0]
print 'Commands are:'
print ' cleanup'
print ' translate'
p... | ajibawa-2023/Python-Code-Large/train/row_81612 | 58 | 96 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81612:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0417, 0.0521, 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_81612:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81612:Expr_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81612:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81612:Expr_L15_C2"}, {"f": "ajibawa-2023/Python-Code-L... |
'''
Module which prompts the user for translations and saves them.
TODO: implement
@author: Rodrigo Damazio
'''
class Translator(object):
'''
classdocs
'''
def __init__(self, language):
'''
Constructor
'''
self._language = language
def Translate(self, string_names):
print string_names | ajibawa-2023/Python-Code-Large/train/row_81613 | 8 | 21 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81613:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 7], "level": 0, "parent": null, "vector": [8, 0, 0.1905, 0.3333, 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_81613:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81613:Expr_L10_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81613:ClassDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81613:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-La... |
'''
Module which compares languague files to the master file and detects
issues.
@author: Rodrigo Damazio
'''
import os
from mytracks.parser import StringsParser
import mytracks.history
class Validator(object):
def __init__(self, languages):
'''
Builds a strings file validator.
Params:
@para... | ajibawa-2023/Python-Code-Large/train/row_81614 | 65 | 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_81614:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0304, 0.0522, 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_81614:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81614:FunctionDef_L14_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81614:FunctionDef_L14_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_81614:Expr_L15_C4"}, {"f": "ajibawa-2023/Python-Co... |
'''
Module for dealing with resource files (but not their contents).
@author: Rodrigo Damazio
'''
import os.path
from glob import glob
import re
MYTRACKS_RES_DIR = 'MyTracks/res'
ANDROID_MASTER_VALUES = 'values'
ANDROID_VALUES_MASK = 'values-*'
def GetMyTracksDir():
'''
Returns the directory in which the MyTrac... | ajibawa-2023/Python-Code-Large/train/row_81615 | 25 | 45 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81615:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.1111, 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_81615:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81615:Expr_L16_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81615:FunctionDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81615:Assign_L19_C2"}, {"f": "ajibawa-2023/Python-Code... |
'''
Module which parses a string XML file.
@author: Rodrigo Damazio
'''
from xml.parsers.expat import ParserCreate
import re
#import xml.etree.ElementTree as ET
class StringsParser(object):
'''
Parser for string XML files.
This object is not thread-safe and should be used for parsing a single file at
a time... | ajibawa-2023/Python-Code-Large/train/row_81616 | 54 | 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_81616:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0261, 0.0435, 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_81616:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81616:Expr_L12_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81616:ClassDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81616:FunctionDef_L19_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#===istalismanplugin===
# -*- coding: utf-8 -*-
# author ferym@jabbim.org.ru
# yandex search beta version plugin 1.0-beta
# for only http://jabbrik.ru
# update, fix parse html code
def handler_yandex(type, source, parameters):
try:
if parameters:
req = urllib2.Request('http://yandex.r... | ajibawa-2023/Python-Code-Large/train/row_81617 | 17 | 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_81617:FunctionDef_L11_C0", "label": "handler_yandex", "type": "function", "loc": [11, 27], "level": 0, "parent": null, "vector": [2, 0, 0.6333, 0.5667, 0, 0.66, 0.0, 348, 0, 3, 0, 0, 0, 0, 27], "semantic": {"name": "handler_yandex", "arg_names": ["type", "source", "para... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81617:FunctionDef_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81617:Try_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81617:Try_L12_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81617:If_L13_C6"}, {"f": "ajibawa-2023/Python-Code-Large/train/... |
#===istalismanplugin===
# -*- coding: utf-8 -*-
# Talisman plugin
# weather_plugin.py
# Автор: Gigabyte
# www: http://jabbrik.ru
import urllib
from xml.dom import minidom
def weather_get(type, source, parameters):
if not parameters:
reply(type, source, u'Город?')
return
... | ajibawa-2023/Python-Code-Large/train/row_81618 | 43 | 70 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81618:Import_L10_C0", "label": "urllib import urllib", "type": "import", "loc": [10, 10], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0143, 0, 0.66, 0.0, 614, 0, 1, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names": ["urllib"], ... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81618:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81618:If_L14_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81618:If_L14_C8", "t": "ajibawa-2023/Python-Code-Large/train/row_81618:Expr_L15_C16"}, {"f": "ajibawa-2023/Python-Code-Large/train... |
'''
Created on 21-03-2011
@author: maciek
'''
def formatString(format, **kwargs):
'''
'''
if not format: return ''
for arg in kwargs.keys():
format = format.replace("{" + arg + "}", "##" + arg + "##")
format = format.replace ("{", "{{")
format = format.replace("}", "}}")
for... | ajibawa-2023/Python-Code-Large/train/row_81619 | 15 | 23 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81619:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.1304, 0.2174, 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_81619:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81619:Expr_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81619:FunctionDef_L8_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81619:If_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/... |
'''
Created on 21-03-2011
@author: maciek
'''
from IndexGenerator import IndexGenerator
from optparse import OptionParser
import os
import tempfile
import shutil
import logging
logging.basicConfig(level = logging.DEBUG)
parser = OptionParser()
parser.add_option('-n', '--app-name', action='store', dest='appName', hel... | ajibawa-2023/Python-Code-Large/train/row_81620 | 69 | 88 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81620:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0341, 0.0568, 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_81620:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81620:Expr_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81620:If_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81620:If_L28_C0"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81620... |
'''
Created on 21-03-2011
@author: maciek
'''
from formater import formatString
import os
class IndexGenerator(object):
'''
Generates Index.html for iOS app OTA distribution
'''
basePath = os.path.dirname(__file__)
templateFile = os.path.join(basePath,"templates/index.tmpl")
releaseUrls = ""
... | ajibawa-2023/Python-Code-Large/train/row_81621 | 31 | 57 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81621:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0526, 0.0877, 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_81621:ClassDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81621:Expr_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81621:ClassDef_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81621:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81622 | 353 | 463 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81622:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0799, 0.0022, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81622:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81622:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81622:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81622:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81623 | 40 | 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_81623:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.4022, 0.0109, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81623:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81623:Assign_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81623:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81623:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81624 | 196 | 288 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81624:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1285, 0.0035, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81624:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81624:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81624:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81624:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
#!/usr/bin/env mayapy
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source ... | ajibawa-2023/Python-Code-Large/train/row_81625 | 32 | 105 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81625:Import_L41_C0", "label": "glob import glob", "type": "import", "loc": [41, 41], "level": 0, "parent": null, "vector": [1, 0, 0.3905, 0.0095, 0, 0.66, 0.0, 958, 0, 1, 0, 0, 958, 0, 0], "semantic": {"name": "glob", "arg_names": [], "import_names": ["glob"], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81625:If_L77_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81625:Assign_L80_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81625:If_L93_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81625:Assign_L94_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81626 | 72 | 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_81626:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81626:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81626:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81626:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81626:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2013,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81627 | 59 | 116 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81627:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.319, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81627:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81627:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81627:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81627:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81628 | 76 | 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_81628:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.25, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81628:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81628:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81628:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81628:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81629 | 132 | 192 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81629:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1927, 0.0052, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81629:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81629:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81629:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81629:Expr_L48_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81630 | 81 | 141 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81630:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2624, 0.0071, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81630:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81630:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81630:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81630:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81631 | 171 | 306 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81631:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1209, 0.0033, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81631:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81631:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81631:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81631:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Code... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81632 | 70 | 124 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81632:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2984, 0.0081, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81632:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81632:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81632:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81632:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81633 | 77 | 147 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81633:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2517, 0.0068, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81633:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81633:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81633:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81633:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81634 | 144 | 259 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81634:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1429, 0.0039, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81634:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81634:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81634:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81634:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81635 | 123 | 200 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81635:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.185, 0.005, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaC... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81635:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81635:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81635:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81635:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81636 | 59 | 116 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81636:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.319, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81636:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81636:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81636:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81636:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81637 | 19 | 66 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81637:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5606, 0.0152, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81637:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81637:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81637:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81637:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81638 | 23 | 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_81638:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5441, 0.0147, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81638:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81638:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81638:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81638:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81639 | 21 | 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_81639:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5139, 0.0139, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81639:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81639:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81639:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81639:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81640 | 12 | 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_81640:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.6727, 0.0182, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81640:ClassDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81640:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81640:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81640:Expr_L44_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81641 | 141 | 220 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81641:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1682, 0.0045, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81641:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81641:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81641:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81641:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81642 | 25 | 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_81642:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5, 0.0135, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaCm... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81642:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81642:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81642:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81642:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81643 | 94 | 177 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81643:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.209, 0.0056, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81643:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81643:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81643:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81643:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2012,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81644 | 200 | 426 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81644:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0869, 0.0023, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81644:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81644:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81644:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81644:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81645 | 270 | 433 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81645:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0855, 0.0023, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81645:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81645:Return_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81645:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81645:Assign_L49_C4"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2013,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81646 | 159 | 312 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81646:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1186, 0.0032, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81646:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81646:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81646:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81646:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81647 | 191 | 276 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81647:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1341, 0.0036, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81647:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81647:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81647:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81647:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2013,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81648 | 117 | 247 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81648:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1498, 0.004, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81648:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81648:FunctionDef_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81648:FunctionDef_L48_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81648:Expr_L49_C8"}, {"f": "ajibawa-2023/Python-Co... |
#
# Copyright (c) 2010 Sony Pictures Imageworks Inc.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source code must retain the above copyright
# notice, this list of c... | ajibawa-2023/Python-Code-Large/train/row_81649 | 65 | 116 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81649:ImportFrom_L33_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [33, 33], "level": 0, "parent": null, "vector": [1, 0, 0.2845, 0.0086, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81649:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81649:Expr_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81649:FunctionDef_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81649:Expr_L41_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81650 | 100 | 180 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81650:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2056, 0.0056, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81650:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81650:FunctionDef_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81650:FunctionDef_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81650:Expr_L45_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81651 | 137 | 231 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81651:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1602, 0.0043, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["Ma... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81651:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81651:FunctionDef_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81651:FunctionDef_L50_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81651:Expr_L51_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81652 | 197 | 338 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81652:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1095, 0.003, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["Maya... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81652:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81652:If_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81652:If_L44_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81652:Assign_L45_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81653 | 408 | 687 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81653:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0539, 0.0015, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81653:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81653:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81653:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81653:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2013,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or w... | ajibawa-2023/Python-Code-Large/train/row_81654 | 88 | 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_81654:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2357, 0.0064, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81654:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81654:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81654:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81654:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81655 | 20 | 59 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81655:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.6271, 0.0169, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81655:ClassDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81655:FunctionDef_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81655:FunctionDef_L43_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81655:Expr_L44_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81656 | 84 | 177 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81656:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.209, 0.0056, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81656:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81656:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81656:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81656:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81657 | 53 | 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_81657:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.37, 0.01, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["MayaCmd... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81657:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81657:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81657:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81657:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-L... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81658 | 112 | 219 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81658:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1689, 0.0046, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81658:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81658:Assign_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81658:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81658:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81659 | 65 | 127 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81659:ImportFrom_L37_C0", "label": "from maya import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2913, 0.0079, 0, 0.66, 0.0, 481, 0, 1, 0, 0, 481, 0, 0], "semantic": {"name": "maya", "arg_names": [], "import_names": ["May... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81659:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81659:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81659:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81659:Expr_L46_C4"}, {"f": "ajibawa-2023/Python-Code... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks, Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with... | ajibawa-2023/Python-Code-Large/train/row_81660 | 228 | 373 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81660:Import_L37_C0", "label": "maya.cmds import MayaCmds", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0992, 0.0027, 0, 0.66, 0.0, 924, 0, 1, 0, 0, 924, 0, 0], "semantic": {"name": "maya.cmds", "arg_names": [], "import_names": ["Ma... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81660:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81660:FunctionDef_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81660:FunctionDef_L45_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81660:Expr_L46_C8"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81661 | 25 | 111 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81661:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.3333, 0.009, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81661:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81661:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81661:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81661:For_L42_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81662 | 59 | 138 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81662:ImportFrom_L37_C0", "label": "from alembic import Abc", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2681, 0.0072, 0, 0.66, 0.0, 922, 0, 1, 0, 0, 922, 0, 0], "semantic": {"name": "alembic", "arg_names": [], "import_names": ["Ab... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81662:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81662:Return_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81662:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81662:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# mo... | ajibawa-2023/Python-Code-Large/train/row_81663 | 56 | 161 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81663:ImportFrom_L36_C0", "label": "from imath import *", "type": "import", "loc": [36, 36], "level": 0, "parent": null, "vector": [1, 0, 0.2236, 0.0062, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81663:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81663:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81663:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81663:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81664 | 25 | 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_81664:Import_L37_C0", "label": "imath import imath", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.4744, 0.0128, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["imath"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81664:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81664:Expr_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81664:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81664:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Code... |
import testGeomParam
import testXform
import testPolyMesh
import testCurves
import testNurbs
import testPoints
import testXform
import testCamera
import testSubDFaceSet
import testLight
| ajibawa-2023/Python-Code-Large/train/row_81665 | 10 | 10 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81665:Import_L1_C0", "label": "testGeomParam import testGeomParam", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.1, 0.1, 0, 0.66, 0.0, 673, 0, 1, 0, 0, 673, 0, 0], "semantic": {"name": "testGeomParam", "arg_names": [], "import_names": ... | [] |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81666 | 11 | 93 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81666:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.3978, 0.0108, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81666:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81666:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81666:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81666:For_L42_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or wi... | ajibawa-2023/Python-Code-Large/train/row_81667 | 21 | 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_81667:ImportFrom_L38_C0", "label": "from buildTestData import *", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.5588, 0.0147, 0, 0.66, 0.0, 982, 0, 1, 0, 0, 982, 0, 0], "semantic": {"name": "buildTestData", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81667:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81667:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81667:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81667:For_L45_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81668 | 75 | 142 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81668:ImportFrom_L37_C0", "label": "from buildTestData import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2606, 0.007, 0, 0.66, 0.0, 982, 0, 1, 0, 0, 982, 0, 0], "semantic": {"name": "buildTestData", "arg_names": [], "import_nam... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81668:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81668:Assign_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81668:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81668:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81669 | 39 | 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_81669:ImportFrom_L37_C0", "label": "from alembic.AbcCoreAbstract import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2868, 0.0078, 0, 0.66, 0.0, 810, 0, 1, 0, 0, 810, 0, 0], "semantic": {"name": "alembic.AbcCoreAbstract", "arg_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81669:FunctionDef_L75_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81669:Assign_L78_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81669:FunctionDef_L75_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81669:Assign_L79_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81670 | 29 | 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_81670:ImportFrom_L37_C0", "label": "from alembic.Abc import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.4022, 0.0109, 0, 0.66, 0.0, 617, 0, 1, 0, 0, 617, 0, 0], "semantic": {"name": "alembic.Abc", "arg_names": [], "import_names"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81670:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81670:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81670:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81670:Assign_L46_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012 - 2013
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or with... | ajibawa-2023/Python-Code-Large/train/row_81671 | 50 | 143 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81671:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2587, 0.007, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81671:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81671:Expr_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81671:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81671:Assign_L51_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81672 | 51 | 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_81672:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2868, 0.0078, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81672:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81672:Expr_L45_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81672:FunctionDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81672:Assign_L47_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or witho... | ajibawa-2023/Python-Code-Large/train/row_81673 | 111 | 263 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81673:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1407, 0.0038, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81673:FunctionDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81673:Assign_L74_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81673:FunctionDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81673:Assign_L75_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81675 | 91 | 208 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81675:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1779, 0.0048, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81675:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81675:Expr_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81675:FunctionDef_L55_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81675:Assign_L58_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81676 | 41 | 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_81676:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.3217, 0.0087, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81676:FunctionDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81676:Return_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81676:FunctionDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81676:Expr_L49_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or witho... | ajibawa-2023/Python-Code-Large/train/row_81677 | 49 | 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_81677:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2868, 0.0078, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81677:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81677:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81677:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81677:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or witho... | ajibawa-2023/Python-Code-Large/train/row_81678 | 86 | 208 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81678:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1779, 0.0048, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81678:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81678:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81678:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81678:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or wi... | ajibawa-2023/Python-Code-Large/train/row_81679 | 36 | 105 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81679:ImportFrom_L38_C0", "label": "from buildTestData import *", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.3619, 0.0095, 0, 0.66, 0.0, 982, 0, 1, 0, 0, 982, 0, 0], "semantic": {"name": "buildTestData", "arg_names": [], "import_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81679:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81679:If_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81679:If_L41_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81679:Return_L42_C8"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81680 | 13 | 144 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81680:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2569, 0.0069, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81680:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81680:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81680:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81680:For_L42_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81682 | 12 | 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_81682:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.5068, 0.0137, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81682:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81682:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81682:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81682:For_L43_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81683 | 51 | 116 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81683:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.319, 0.0086, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81683:FunctionDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81683:Return_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81683:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81683:Expr_L47_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81684 | 232 | 395 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81684:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0937, 0.0025, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81684:FunctionDef_L61_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81684:Return_L62_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81684:FunctionDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81684:Return_L65_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012 - 2013
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or with... | ajibawa-2023/Python-Code-Large/train/row_81686 | 27 | 114 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81686:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.3246, 0.0088, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81686:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81686:Expr_L43_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81686:FunctionDef_L42_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81686:Assign_L45_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81687 | 57 | 143 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81687:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2587, 0.007, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81687:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81687:Assign_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81687:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81687:Assign_L53_C4"}, {"f": "ajibawa-2023/Python-Co... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81688 | 53 | 143 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81688:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2587, 0.007, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81688:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81688:Expr_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81688:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81688:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or wi... | ajibawa-2023/Python-Code-Large/train/row_81689 | 69 | 188 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81689:ImportFrom_L37_C0", "label": "from alembic.AbcCoreAbstract import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1968, 0.0053, 0, 0.66, 0.0, 810, 0, 1, 0, 0, 810, 0, 0], "semantic": {"name": "alembic.AbcCoreAbstract", "arg_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81689:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81689:Return_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81689:FunctionDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81689:Expr_L47_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81690 | 49 | 190 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81690:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.1947, 0.0053, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81690:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81690:Return_L48_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81690:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81690:Expr_L51_C4"}, {"f": "ajibawa-2023/Python-Code... |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2014,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81691 | 8 | 59 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81691:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.6441, 0.0169, 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_81691:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81691:Assign_L42_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81691:FunctionDef_L41_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81691:For_L43_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2014,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81693 | 477 | 896 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81693:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.0424, 0.0011, 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_81693:ClassDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81693:Assign_L74_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81693:ClassDef_L73_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81693:Assign_L75_C4"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81694 | 11 | 59 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81694:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.6441, 0.0169, 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_81694:If_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81694:Assign_L45_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81694:If_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81694:Assign_L47_C1"}] |
#-******************************************************************************
#
# Copyright (c) 2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81695 | 45 | 135 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81695:Import_L37_C0", "label": "re import re", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2741, 0.0074, 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_81695:Try_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81695:Import_L44_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81695:Try_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81695:Import_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81696 | 199 | 305 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81696:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.1246, 0.0033, 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_81696:ClassDef_L45_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81696:FunctionDef_L46_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81696:FunctionDef_L46_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81696:Expr_L47_C8"}, {"f": "ajibawa-2023/Python-Co... |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81700 | 12 | 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_81700:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.427, 0.0112, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ... | [] |
#! /usr/bin/env python
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and bina... | ajibawa-2023/Python-Code-Large/train/row_81702 | 14 | 480 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81702:Import_L38_C0", "label": "os import os", "type": "import", "loc": [38, 38], "level": 0, "parent": null, "vector": [1, 0, 0.0792, 0.0021, 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_81702:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81702:Expr_L51_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81702:FunctionDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81702:Import_L56_C4"}, {"f": "ajibawa-2023/Python-Code... |
#-******************************************************************************
#
# Copyright (c) 2014,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81703 | 91 | 175 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81703:Import_L37_C0", "label": "os import os", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2114, 0.0057, 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_81703:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81703:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81703:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81703:Assign_L49_C8"}, {"f": "ajibawa-2023/Python-... |
#-******************************************************************************
#
# Copyright (c) 2012,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# ... | ajibawa-2023/Python-Code-Large/train/row_81705 | 13 | 144 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81705:ImportFrom_L37_C0", "label": "from imath import *", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2569, 0.0069, 0, 0.66, 0.0, 918, 0, 1, 0, 0, 918, 0, 0], "semantic": {"name": "imath", "arg_names": [], "import_names": ["*"], "rh... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81705:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81705:Assign_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81705:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81705:For_L42_C4"}, {"f": "ajibawa-2023/Python-Code-... |
#-******************************************************************************
#
# Copyright (c) 2012-2013,
# Sony Pictures Imageworks Inc. and
# Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or witho... | ajibawa-2023/Python-Code-Large/train/row_81706 | 433 | 702 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81706:Import_L37_C0", "label": "os import os", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.0527, 0.0014, 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_81706:FunctionDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81706:Assign_L65_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81706:FunctionDef_L64_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81706:Expr_L67_C4"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python2.6
#-*- mode: python -*-
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistrib... | ajibawa-2023/Python-Code-Large/train/row_81708 | 99 | 182 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81708:ImportFrom_L37_C0", "label": "from __future__ import with_statement", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.2033, 0.0055, 0, 0.66, 0.0, 777, 0, 1, 0, 0, 777, 0, 0], "semantic": {"name": "__future__", "arg_names": [], "im... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_81708:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81708:FunctionDef_L47_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81708:FunctionDef_L47_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_81708:Assign_L48_C8"}, {"f": "ajibawa-2023/Python-... |
##-*****************************************************************************
##
## Copyright (c) 2009-2011,
## Sony Pictures Imageworks Inc. and
## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
##
## All rights reserved.
##
## Redistribution and use in source and binary forms, with ... | ajibawa-2023/Python-Code-Large/train/row_81709 | 2 | 38 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81709:ImportFrom_L37_C0", "label": "from Path import Path", "type": "import", "loc": [37, 37], "level": 0, "parent": null, "vector": [1, 0, 0.9737, 0.0263, 0, 0.66, 0.0, 754, 0, 1, 0, 0, 754, 0, 0], "semantic": {"name": "Path", "arg_names": [], "import_names": ["Path"],... | [] |
#!/usr/bin/env python
# -*- coding: cp1252 -*-
#Opciones
puerto = 1111
user_agent = 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; ' \
'Trident/4.0; .NET CLR 1.1.4322)'
| ajibawa-2023/Python-Code-Large/train/row_81710 | 2 | 7 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81710:Assign_L5_C0", "label": "puerto =", "type": "assigned_variable", "loc": [5, 5], "level": 0, "parent": null, "vector": [14, 0, 0.7143, 0.1429, 0, 0.66, 0.0, 84, 1, 0, 0, 0, 0, 1, 0], "semantic": {"name": "puerto", "arg_names": [], "import_names": [], "rhs_call_name... | [] |
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""App para Bottle de constancia.py
"""
__license__ = "MIT"
__version__ = "0.02"
import sys
#Parche para que pueda cargar opciones.py con py2exe
if len(sys.path) == 1:
sys.path.append(sys.prefix)
import os
import webbrowser
import uuid
import bottle
from bottle impor... | ajibawa-2023/Python-Code-Large/train/row_81711 | 85 | 158 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_81711:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0285, 0.0127, 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_81711:If_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81711:Expr_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_81711:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_81711:Expr_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
# Para hacer el ejecutable:
# python setup.py py2exe
#
"Creador de instalador para PyConstanciaLite"
__author__ = "None"
__copyright__ = "Copyright (C) 2011 None"
from distutils.core import setup
import py2exe
import sys
opts = {
'py2exe': {
'optimize':2,
'excludes' : ['opciones'] }... | ajibawa-2023/Python-Code-Large/train/row_81712 | 8 | 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_81712:Expr_L5_C0", "label": "expression", "type": "expression", "loc": [5, 5], "level": 0, "parent": null, "vector": [8, 0, 0.2083, 0.0417, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.