content
stringlengths
1
1.05M
input_ids
sequencelengths
1
883k
ratio_char_token
float64
1
22.9
token_count
int64
1
883k
from rest_framework_gis import serializers from rest_framework import serializers as s from .models import ( Artificialisee2015to2018, Artificielle2018, CommunesSybarval, CouvertureSol, EnveloppeUrbaine2018, Ocsge, Renaturee2018to2015, Sybarval, Voirie2018, ZonesBaties2018, UsageSol, )
[ 6738, 1334, 62, 30604, 62, 70, 271, 1330, 11389, 11341, 198, 6738, 1334, 62, 30604, 1330, 11389, 11341, 355, 264, 198, 198, 6738, 764, 27530, 1330, 357, 198, 220, 220, 220, 35941, 786, 68, 4626, 1462, 7908, 11, 198, 220, 220, 220, 3683, 811, 8207, 293, 7908, 11, 198, 220, 220, 220, 1520, 4015, 13940, 5657, 2100, 11, 198, 220, 220, 220, 15062, 1851, 495, 36949, 11, 198, 220, 220, 220, 2039, 626, 10365, 68, 16692, 65, 5718, 7908, 11, 198, 220, 220, 220, 440, 6359, 469, 11, 198, 220, 220, 220, 7152, 1300, 68, 7908, 1462, 4626, 11, 198, 220, 220, 220, 1632, 5657, 2100, 11, 198, 220, 220, 220, 569, 10840, 494, 7908, 11, 198, 220, 220, 220, 1168, 1952, 24541, 444, 7908, 11, 198, 220, 220, 220, 29566, 36949, 11, 198, 8, 628, 628, 628, 628, 628, 628, 198 ]
2.422535
142
from django.contrib import admin from .models import SearchResult # Register your models here. admin.site.register(SearchResult, SearchResultAdmin)
[ 6738, 42625, 14208, 13, 3642, 822, 1330, 13169, 198, 6738, 764, 27530, 1330, 11140, 23004, 198, 198, 2, 17296, 534, 4981, 994, 13, 198, 198, 28482, 13, 15654, 13, 30238, 7, 18243, 23004, 11, 11140, 23004, 46787, 8 ]
3.921053
38
import asyncio import os import tempfile from contextlib import ExitStack from typing import Text, Optional, List, Union, Dict from rasa.importers.importer import TrainingDataImporter from rasa import model from rasa.model import FingerprintComparisonResult from rasa.core.domain import Domain from rasa.utils.common import TempDirectoryPath from rasa.cli.utils import ( print_success, print_warning, print_error, bcolors, print_color, ) from rasa.constants import DEFAULT_MODELS_PATH, DEFAULT_CORE_SUBDIRECTORY_NAME def train_core( domain: Union[Domain, Text], config: Text, stories: Text, output: Text, train_path: Optional[Text] = None, fixed_model_name: Optional[Text] = None, additional_arguments: Optional[Dict] = None, ) -> Optional[Text]: loop = asyncio.get_event_loop() return loop.run_until_complete( train_core_async( domain=domain, config=config, stories=stories, output=output, train_path=train_path, fixed_model_name=fixed_model_name, additional_arguments=additional_arguments, ) ) def train_nlu( config: Text, nlu_data: Text, output: Text, train_path: Optional[Text] = None, fixed_model_name: Optional[Text] = None, persist_nlu_training_data: bool = False, ) -> Optional[Text]: """Trains an NLU model. Args: config: Path to the config file for NLU. nlu_data: Path to the NLU training data. output: Output path. train_path: If `None` the model will be trained in a temporary directory, otherwise in the provided directory. fixed_model_name: Name of the model to be stored. persist_nlu_training_data: `True` if the NLU training data should be persisted with the model. Returns: If `train_path` is given it returns the path to the model archive, otherwise the path to the directory with the trained model files. """ loop = asyncio.get_event_loop() return loop.run_until_complete( _train_nlu_async( config, nlu_data, output, train_path, fixed_model_name, persist_nlu_training_data, ) )
[ 11748, 30351, 952, 198, 11748, 28686, 198, 11748, 20218, 7753, 198, 6738, 4732, 8019, 1330, 29739, 25896, 198, 6738, 19720, 1330, 8255, 11, 32233, 11, 7343, 11, 4479, 11, 360, 713, 198, 198, 6738, 374, 15462, 13, 320, 1819, 1010, 13, 320, 26634, 1330, 13614, 6601, 3546, 26634, 198, 6738, 374, 15462, 1330, 2746, 198, 6738, 374, 15462, 13, 19849, 1330, 39454, 4798, 50249, 1653, 23004, 198, 6738, 374, 15462, 13, 7295, 13, 27830, 1330, 20021, 198, 6738, 374, 15462, 13, 26791, 13, 11321, 1330, 24189, 43055, 15235, 198, 198, 6738, 374, 15462, 13, 44506, 13, 26791, 1330, 357, 198, 220, 220, 220, 3601, 62, 13138, 11, 198, 220, 220, 220, 3601, 62, 43917, 11, 198, 220, 220, 220, 3601, 62, 18224, 11, 198, 220, 220, 220, 275, 4033, 669, 11, 198, 220, 220, 220, 3601, 62, 8043, 11, 198, 8, 198, 6738, 374, 15462, 13, 9979, 1187, 1330, 5550, 38865, 62, 33365, 37142, 62, 34219, 11, 5550, 38865, 62, 34, 6965, 62, 50, 10526, 17931, 23988, 15513, 62, 20608, 628, 628, 628, 198, 198, 4299, 4512, 62, 7295, 7, 198, 220, 220, 220, 7386, 25, 4479, 58, 43961, 11, 8255, 4357, 198, 220, 220, 220, 4566, 25, 8255, 11, 198, 220, 220, 220, 3923, 25, 8255, 11, 198, 220, 220, 220, 5072, 25, 8255, 11, 198, 220, 220, 220, 4512, 62, 6978, 25, 32233, 58, 8206, 60, 796, 6045, 11, 198, 220, 220, 220, 5969, 62, 19849, 62, 3672, 25, 32233, 58, 8206, 60, 796, 6045, 11, 198, 220, 220, 220, 3224, 62, 853, 2886, 25, 32233, 58, 35, 713, 60, 796, 6045, 11, 198, 8, 4613, 32233, 58, 8206, 5974, 198, 220, 220, 220, 9052, 796, 30351, 952, 13, 1136, 62, 15596, 62, 26268, 3419, 198, 220, 220, 220, 1441, 9052, 13, 5143, 62, 28446, 62, 20751, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 7295, 62, 292, 13361, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7386, 28, 27830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 28, 11250, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3923, 28, 50164, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 28, 22915, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 6978, 28, 27432, 62, 6978, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5969, 62, 19849, 62, 3672, 28, 34021, 62, 19849, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3224, 62, 853, 2886, 28, 2860, 1859, 62, 853, 2886, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 1267, 628, 628, 198, 4299, 4512, 62, 77, 2290, 7, 198, 220, 220, 220, 4566, 25, 8255, 11, 198, 220, 220, 220, 299, 2290, 62, 7890, 25, 8255, 11, 198, 220, 220, 220, 5072, 25, 8255, 11, 198, 220, 220, 220, 4512, 62, 6978, 25, 32233, 58, 8206, 60, 796, 6045, 11, 198, 220, 220, 220, 5969, 62, 19849, 62, 3672, 25, 32233, 58, 8206, 60, 796, 6045, 11, 198, 220, 220, 220, 21160, 62, 77, 2290, 62, 34409, 62, 7890, 25, 20512, 796, 10352, 11, 198, 8, 4613, 32233, 58, 8206, 5974, 198, 220, 220, 220, 37227, 2898, 1299, 281, 22879, 52, 2746, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 25, 10644, 284, 262, 4566, 2393, 329, 22879, 52, 13, 198, 220, 220, 220, 220, 220, 220, 220, 299, 2290, 62, 7890, 25, 10644, 284, 262, 22879, 52, 3047, 1366, 13, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 25, 25235, 3108, 13, 198, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 6978, 25, 1002, 4600, 14202, 63, 262, 2746, 481, 307, 8776, 287, 257, 8584, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8619, 11, 4306, 287, 262, 2810, 8619, 13, 198, 220, 220, 220, 220, 220, 220, 220, 5969, 62, 19849, 62, 3672, 25, 6530, 286, 262, 2746, 284, 307, 8574, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21160, 62, 77, 2290, 62, 34409, 62, 7890, 25, 4600, 17821, 63, 611, 262, 22879, 52, 3047, 1366, 815, 307, 33264, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 262, 2746, 13, 628, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1002, 4600, 27432, 62, 6978, 63, 318, 1813, 340, 5860, 262, 3108, 284, 262, 2746, 15424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4306, 262, 3108, 284, 262, 8619, 351, 262, 8776, 2746, 3696, 13, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 9052, 796, 30351, 952, 13, 1136, 62, 15596, 62, 26268, 3419, 198, 220, 220, 220, 1441, 9052, 13, 5143, 62, 28446, 62, 20751, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 27432, 62, 77, 2290, 62, 292, 13361, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 2290, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 6978, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5969, 62, 19849, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21160, 62, 77, 2290, 62, 34409, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 1267, 628, 198 ]
2.385246
976
# ============================================================================ # FILE: default.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ import re import typing from denite.util import echo, error, clearmatch, regex_convert_py_vim from denite.util import Nvim, UserContext, Candidates, Candidate from denite.parent import SyncParent
[ 2, 38093, 2559, 18604, 198, 2, 45811, 25, 4277, 13, 9078, 198, 2, 44746, 25, 911, 280, 2188, 30107, 1530, 5350, 1279, 2484, 280, 2188, 13, 44, 19231, 379, 308, 4529, 13, 785, 29, 198, 2, 13789, 25, 17168, 5964, 198, 2, 38093, 2559, 18604, 198, 198, 11748, 302, 198, 11748, 19720, 198, 198, 6738, 2853, 578, 13, 22602, 1330, 9809, 11, 4049, 11, 1598, 15699, 11, 40364, 62, 1102, 1851, 62, 9078, 62, 31124, 198, 6738, 2853, 578, 13, 22602, 1330, 399, 31124, 11, 11787, 21947, 11, 15518, 37051, 11, 40327, 198, 6738, 2853, 578, 13, 8000, 1330, 35908, 24546, 628 ]
4.460784
102
# -*- coding: utf-8 -*- """Context managers implemented for (mostly) internal use""" import contextlib import functools from io import UnsupportedOperation import os import sys __all__ = ["RedirectStdout", "RedirectStderr"] RedirectStdout = functools.partial(_stdchannel_redirected, sys.stdout) RedirectStderr = functools.partial(_stdchannel_redirected, sys.stderr) RedirectNoOp = functools.partial(_stdchannel_redirected, None, "")
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 37811, 21947, 11663, 9177, 329, 357, 29471, 8, 5387, 779, 37811, 198, 198, 11748, 4732, 8019, 198, 11748, 1257, 310, 10141, 198, 6738, 33245, 1330, 791, 15999, 32180, 198, 11748, 28686, 198, 11748, 25064, 628, 198, 834, 439, 834, 796, 14631, 7738, 1060, 1273, 67, 448, 1600, 366, 7738, 1060, 1273, 1082, 81, 8973, 628, 198, 198, 7738, 1060, 1273, 67, 448, 796, 1257, 310, 10141, 13, 47172, 28264, 19282, 17620, 62, 445, 1060, 276, 11, 25064, 13, 19282, 448, 8, 198, 7738, 1060, 1273, 1082, 81, 796, 1257, 310, 10141, 13, 47172, 28264, 19282, 17620, 62, 445, 1060, 276, 11, 25064, 13, 301, 1082, 81, 8, 198, 7738, 1060, 2949, 18257, 796, 1257, 310, 10141, 13, 47172, 28264, 19282, 17620, 62, 445, 1060, 276, 11, 6045, 11, 366, 4943, 198 ]
3.013699
146
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import __version__ as app_version app_name = "pos_kiosk" app_title = "Pos Kiosk" app_publisher = "9t9it" app_description = "Kiosk App" app_icon = "octicon octicon-file-directory" app_color = "grey" app_email = "info@9t9it.com" app_license = "MIT" # Includes in <head> # ------------------ # include js, css files in header of desk.html # app_include_css = "/assets/pos_kiosk/css/pos_kiosk.css" # app_include_js = "/assets/pos_kiosk/js/pos_kiosk.js" # include js, css files in header of web template # web_include_css = "/assets/pos_kiosk/css/pos_kiosk.css" # web_include_js = "/assets/pos_kiosk/js/pos_kiosk.js" # include js in page # page_js = {"page" : "public/js/file.js"} # page_js = { # "kiosk": ["public/js/pos_page_js.js", "public/js/includes/number_to_words.js"] # } # include js in doctype views # doctype_js = {"doctype" : "public/js/doctype.js"} # doctype_list_js = {"doctype" : "public/js/doctype_list.js"} # doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} # doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} fixtures = [ { "doctype": "Custom Field", "filters": [ [ "name", "in", [ "Sales Invoice Item-pos_kiosk", "Mode of Payment-logo" ] ] ] } ] # Home Pages # ---------- # application home page (will override Website Settings) # home_page = "login" # website user home page (by Role) # role_home_page = { # "Role": "home_page" # } # Website user home page (by function) # get_website_user_home_page = "pos_kiosk.utils.get_home_page" # Generators # ---------- # automatically create page for each record of this doctype # website_generators = ["Web Page"] # Installation # ------------ # before_install = "pos_kiosk.install.before_install" # after_install = "pos_kiosk.install.after_install" # Desk Notifications # ------------------ # See frappe.core.notifications.get_notification_config # notification_config = "pos_kiosk.notifications.get_notification_config" # Permissions # ----------- # Permissions evaluated in scripted ways # permission_query_conditions = { # "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", # } # # has_permission = { # "Event": "frappe.desk.doctype.event.event.has_permission", # } # Document Events # --------------- # Hook on document methods and events # doc_events = { # "*": { # "on_update": "method", # "on_cancel": "method", # "on_trash": "method" # } # } # Scheduled Tasks # --------------- # scheduler_events = { # "all": [ # "pos_kiosk.tasks.all" # ], # "daily": [ # "pos_kiosk.tasks.daily" # ], # "hourly": [ # "pos_kiosk.tasks.hourly" # ], # "weekly": [ # "pos_kiosk.tasks.weekly" # ] # "monthly": [ # "pos_kiosk.tasks.monthly" # ] # } # Testing # ------- # before_tests = "pos_kiosk.install.before_tests" # Overriding Whitelisted Methods # ------------------------------ # # override_whitelisted_methods = { # "pos_bahrain.api.get_item_details.get_item_details": "pos_kiosk.api.item.get_item_details" # noqa # }
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 6738, 764, 1330, 11593, 9641, 834, 355, 598, 62, 9641, 198, 198, 1324, 62, 3672, 796, 366, 1930, 62, 4106, 418, 74, 1, 198, 1324, 62, 7839, 796, 366, 21604, 509, 4267, 74, 1, 198, 1324, 62, 12984, 8191, 796, 366, 24, 83, 24, 270, 1, 198, 1324, 62, 11213, 796, 366, 42, 4267, 74, 2034, 1, 198, 1324, 62, 4749, 796, 366, 38441, 4749, 19318, 4749, 12, 7753, 12, 34945, 1, 198, 1324, 62, 8043, 796, 366, 49502, 1, 198, 1324, 62, 12888, 796, 366, 10951, 31, 24, 83, 24, 270, 13, 785, 1, 198, 1324, 62, 43085, 796, 366, 36393, 1, 198, 198, 2, 29581, 287, 1279, 2256, 29, 198, 2, 34400, 438, 198, 198, 2, 2291, 44804, 11, 269, 824, 3696, 287, 13639, 286, 6915, 13, 6494, 198, 2, 598, 62, 17256, 62, 25471, 796, 12813, 19668, 14, 1930, 62, 4106, 418, 74, 14, 25471, 14, 1930, 62, 4106, 418, 74, 13, 25471, 1, 198, 2, 598, 62, 17256, 62, 8457, 796, 12813, 19668, 14, 1930, 62, 4106, 418, 74, 14, 8457, 14, 1930, 62, 4106, 418, 74, 13, 8457, 1, 198, 198, 2, 2291, 44804, 11, 269, 824, 3696, 287, 13639, 286, 3992, 11055, 198, 2, 3992, 62, 17256, 62, 25471, 796, 12813, 19668, 14, 1930, 62, 4106, 418, 74, 14, 25471, 14, 1930, 62, 4106, 418, 74, 13, 25471, 1, 198, 2, 3992, 62, 17256, 62, 8457, 796, 12813, 19668, 14, 1930, 62, 4106, 418, 74, 14, 8457, 14, 1930, 62, 4106, 418, 74, 13, 8457, 1, 198, 198, 2, 2291, 44804, 287, 2443, 198, 2, 2443, 62, 8457, 796, 19779, 7700, 1, 1058, 366, 11377, 14, 8457, 14, 7753, 13, 8457, 20662, 198, 2, 2443, 62, 8457, 796, 1391, 198, 2, 220, 220, 220, 220, 366, 4106, 418, 74, 1298, 14631, 11377, 14, 8457, 14, 1930, 62, 7700, 62, 8457, 13, 8457, 1600, 366, 11377, 14, 8457, 14, 42813, 14, 17618, 62, 1462, 62, 10879, 13, 8457, 8973, 198, 2, 1782, 198, 198, 2, 2291, 44804, 287, 10412, 2981, 5009, 198, 2, 10412, 2981, 62, 8457, 796, 19779, 4598, 310, 2981, 1, 1058, 366, 11377, 14, 8457, 14, 4598, 310, 2981, 13, 8457, 20662, 198, 2, 10412, 2981, 62, 4868, 62, 8457, 796, 19779, 4598, 310, 2981, 1, 1058, 366, 11377, 14, 8457, 14, 4598, 310, 2981, 62, 4868, 13, 8457, 20662, 198, 2, 10412, 2981, 62, 21048, 62, 8457, 796, 19779, 4598, 310, 2981, 1, 1058, 366, 11377, 14, 8457, 14, 4598, 310, 2981, 62, 21048, 13, 8457, 20662, 198, 2, 10412, 2981, 62, 9948, 9239, 62, 8457, 796, 19779, 4598, 310, 2981, 1, 1058, 366, 11377, 14, 8457, 14, 4598, 310, 2981, 62, 9948, 9239, 13, 8457, 20662, 198, 69, 25506, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 4598, 310, 2981, 1298, 366, 15022, 7663, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 10379, 1010, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 259, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 44490, 10001, 2942, 9097, 12, 1930, 62, 4106, 418, 74, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 19076, 286, 28784, 12, 6404, 78, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 1782, 198, 60, 198, 2, 5995, 28221, 198, 2, 24200, 438, 198, 198, 2, 3586, 1363, 2443, 357, 10594, 20957, 15887, 16163, 8, 198, 2, 1363, 62, 7700, 796, 366, 38235, 1, 198, 198, 2, 3052, 2836, 1363, 2443, 357, 1525, 20934, 8, 198, 2, 2597, 62, 11195, 62, 7700, 796, 1391, 198, 2, 197, 1, 47445, 1298, 366, 11195, 62, 7700, 1, 198, 2, 1782, 198, 198, 2, 15887, 2836, 1363, 2443, 357, 1525, 2163, 8, 198, 2, 651, 62, 732, 12485, 62, 7220, 62, 11195, 62, 7700, 796, 366, 1930, 62, 4106, 418, 74, 13, 26791, 13, 1136, 62, 11195, 62, 7700, 1, 198, 198, 2, 2980, 2024, 198, 2, 24200, 438, 198, 198, 2, 6338, 2251, 2443, 329, 1123, 1700, 286, 428, 10412, 2981, 198, 2, 3052, 62, 8612, 2024, 796, 14631, 13908, 7873, 8973, 198, 198, 2, 32588, 198, 2, 220, 10541, 198, 198, 2, 878, 62, 17350, 796, 366, 1930, 62, 4106, 418, 74, 13, 17350, 13, 19052, 62, 17350, 1, 198, 2, 706, 62, 17350, 796, 366, 1930, 62, 4106, 418, 74, 13, 17350, 13, 8499, 62, 17350, 1, 198, 198, 2, 39246, 1892, 6637, 198, 2, 34400, 438, 198, 2, 4091, 5306, 27768, 13, 7295, 13, 1662, 6637, 13, 1136, 62, 1662, 2649, 62, 11250, 198, 198, 2, 14483, 62, 11250, 796, 366, 1930, 62, 4106, 418, 74, 13, 1662, 6637, 13, 1136, 62, 1662, 2649, 62, 11250, 1, 198, 198, 2, 2448, 8481, 198, 2, 24200, 6329, 198, 2, 2448, 8481, 16726, 287, 37341, 2842, 198, 198, 2, 7170, 62, 22766, 62, 17561, 1756, 796, 1391, 198, 2, 220, 197, 1, 9237, 1298, 366, 69, 430, 27768, 13, 8906, 74, 13, 4598, 310, 2981, 13, 15596, 13, 15596, 13, 1136, 62, 525, 3411, 62, 22766, 62, 17561, 1756, 1600, 198, 2, 1782, 198, 2, 198, 2, 468, 62, 525, 3411, 796, 1391, 198, 2, 220, 197, 1, 9237, 1298, 366, 69, 430, 27768, 13, 8906, 74, 13, 4598, 310, 2981, 13, 15596, 13, 15596, 13, 10134, 62, 525, 3411, 1600, 198, 2, 1782, 198, 198, 2, 16854, 18715, 198, 2, 220, 24305, 198, 2, 18531, 319, 3188, 5050, 290, 2995, 198, 198, 2, 2205, 62, 31534, 796, 1391, 198, 2, 220, 197, 1, 9, 1298, 1391, 198, 2, 220, 197, 197, 1, 261, 62, 19119, 1298, 366, 24396, 1600, 198, 2, 220, 197, 197, 1, 261, 62, 66, 21130, 1298, 366, 24396, 1600, 198, 2, 220, 197, 197, 1, 261, 62, 2213, 1077, 1298, 366, 24396, 1, 198, 2, 197, 92, 198, 2, 1782, 198, 198, 2, 27774, 6309, 309, 6791, 198, 2, 220, 24305, 198, 198, 2, 6038, 18173, 62, 31534, 796, 1391, 198, 2, 220, 197, 1, 439, 1298, 685, 198, 2, 220, 197, 197, 1, 1930, 62, 4106, 418, 74, 13, 83, 6791, 13, 439, 1, 198, 2, 220, 197, 4357, 198, 2, 220, 197, 1, 29468, 1298, 685, 198, 2, 220, 197, 197, 1, 1930, 62, 4106, 418, 74, 13, 83, 6791, 13, 29468, 1, 198, 2, 220, 197, 4357, 198, 2, 220, 197, 1, 9769, 306, 1298, 685, 198, 2, 220, 197, 197, 1, 1930, 62, 4106, 418, 74, 13, 83, 6791, 13, 9769, 306, 1, 198, 2, 220, 197, 4357, 198, 2, 220, 197, 1, 45291, 1298, 685, 198, 2, 220, 197, 197, 1, 1930, 62, 4106, 418, 74, 13, 83, 6791, 13, 45291, 1, 198, 2, 220, 197, 60, 198, 2, 220, 197, 1, 8424, 306, 1298, 685, 198, 2, 220, 197, 197, 1, 1930, 62, 4106, 418, 74, 13, 83, 6791, 13, 8424, 306, 1, 198, 2, 220, 197, 60, 198, 2, 1782, 198, 198, 2, 23983, 198, 2, 35656, 198, 198, 2, 878, 62, 41989, 796, 366, 1930, 62, 4106, 418, 74, 13, 17350, 13, 19052, 62, 41989, 1, 198, 198, 2, 3827, 81, 2530, 13183, 417, 6347, 25458, 198, 2, 34400, 26171, 198, 2, 198, 2, 20957, 62, 1929, 270, 417, 6347, 62, 24396, 82, 796, 1391, 198, 2, 220, 197, 1, 1930, 62, 47041, 3201, 13, 15042, 13, 1136, 62, 9186, 62, 36604, 13, 1136, 62, 9186, 62, 36604, 1298, 366, 1930, 62, 4106, 418, 74, 13, 15042, 13, 9186, 13, 1136, 62, 9186, 62, 36604, 1, 220, 1303, 645, 20402, 198, 2, 1782, 628 ]
2.319625
1,386
from keras import Model, Input from keras.layers import Dense, concatenate, LSTM, Reshape, Permute, Embedding, Dropout, Convolution1D, Flatten from keras.optimizers import Adam from pypagai.models.base import KerasModel
[ 6738, 41927, 292, 1330, 9104, 11, 23412, 198, 6738, 41927, 292, 13, 75, 6962, 1330, 360, 1072, 11, 1673, 36686, 378, 11, 406, 2257, 44, 11, 1874, 71, 1758, 11, 2448, 76, 1133, 11, 13302, 6048, 278, 11, 14258, 448, 11, 34872, 2122, 16, 35, 11, 1610, 41769, 198, 6738, 41927, 292, 13, 40085, 11341, 1330, 7244, 198, 198, 6738, 279, 4464, 363, 1872, 13, 27530, 13, 8692, 1330, 17337, 292, 17633, 628, 628 ]
3.027027
74
from .fully_connected import FullyConnectedLatentVariable from .convolutional import ConvolutionalLatentVariable
[ 6738, 764, 2759, 62, 15236, 1330, 40234, 13313, 276, 24220, 298, 43015, 198, 6738, 764, 42946, 2122, 282, 1330, 34872, 2122, 282, 24220, 298, 43015, 198 ]
4.346154
26
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: ''' PNASNet in PyTorch. Paper: Progressive Neural Architecture Search ''' from easyai.base_name.block_name import NormalizationType, ActivationType from easyai.base_name.backbone_name import BackboneName from easyai.model.backbone.utility.base_backbone import * from easyai.model.base_block.utility.utility_block import ConvBNActivationBlock from easyai.model.base_block.cls.pnasnet_block import CellA, CellB __all__ = ['pnasnet_A', 'pnasnet_B']
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 40477, 12, 23, 532, 9, 12, 198, 2, 6434, 25, 198, 7061, 6, 350, 18293, 7934, 287, 9485, 15884, 354, 13, 198, 42950, 25, 25852, 47986, 29778, 11140, 198, 7061, 6, 198, 198, 6738, 2562, 1872, 13, 8692, 62, 3672, 13, 9967, 62, 3672, 1330, 14435, 1634, 6030, 11, 13144, 341, 6030, 198, 6738, 2562, 1872, 13, 8692, 62, 3672, 13, 1891, 15992, 62, 3672, 1330, 5157, 15992, 5376, 198, 6738, 2562, 1872, 13, 19849, 13, 1891, 15992, 13, 315, 879, 13, 8692, 62, 1891, 15992, 1330, 1635, 198, 6738, 2562, 1872, 13, 19849, 13, 8692, 62, 9967, 13, 315, 879, 13, 315, 879, 62, 9967, 1330, 34872, 33, 4535, 310, 26939, 12235, 198, 6738, 2562, 1872, 13, 19849, 13, 8692, 62, 9967, 13, 565, 82, 13, 21999, 292, 3262, 62, 9967, 1330, 12440, 32, 11, 12440, 33, 198, 198, 834, 439, 834, 796, 37250, 21999, 292, 3262, 62, 32, 3256, 705, 21999, 292, 3262, 62, 33, 20520, 628, 628 ]
2.891429
175
# -*- coding: utf-8 -*- # coding=utf-8 import json import os import math import logging import requests import time from map_download.cmd.BaseDownloader import DownloadEngine, BaseDownloaderThread, latlng2tile_terrain, BoundBox if __name__ == '__main__': if 1: logger = logging.getLogger('down') try: root = r'/Users/cugxy/Documents/data/downloader' formatter = logging.Formatter('%(levelname)s-%(message)s') hdlr = logging.StreamHandler() log_file = os.path.join(root, 'down.log') file_hdlr = logging.FileHandler(log_file) file_hdlr.setFormatter(formatter) logger.addHandler(file_hdlr) logger.addHandler(hdlr) logger.setLevel(logging.INFO) min_lng = -180.0 max_lng = 180.0 min_lat = -90.0 max_lat = 90.0 start_zoom = 0 end_zoom = 5 bbox = BoundBox(max_lat, max_lng, min_lat, min_lng, start_zoom, end_zoom) d = TerrainDownloadEngine(root, bbox, 8, logger) d.start() time.sleep(10000) logger.error('main thread out') except Exception as e: logger.error(e) if 0: accessToken = get_access_token() pass
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 220, 19617, 28, 40477, 12, 23, 198, 11748, 33918, 198, 11748, 28686, 198, 11748, 10688, 198, 11748, 18931, 198, 11748, 7007, 198, 11748, 640, 198, 198, 6738, 3975, 62, 15002, 13, 28758, 13, 14881, 10002, 263, 1330, 10472, 13798, 11, 7308, 10002, 263, 16818, 11, 3042, 75, 782, 17, 40927, 62, 353, 3201, 11, 30149, 14253, 628, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 611, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 796, 18931, 13, 1136, 11187, 1362, 10786, 2902, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6808, 796, 374, 26488, 14490, 14, 66, 1018, 5431, 14, 38354, 14, 7890, 14, 15002, 263, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1296, 1436, 796, 18931, 13, 8479, 1436, 10786, 4, 7, 5715, 3672, 8, 82, 12, 4, 7, 20500, 8, 82, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 289, 67, 14050, 796, 18931, 13, 12124, 25060, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 62, 7753, 796, 28686, 13, 6978, 13, 22179, 7, 15763, 11, 705, 2902, 13, 6404, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 31298, 14050, 796, 18931, 13, 8979, 25060, 7, 6404, 62, 7753, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 31298, 14050, 13, 2617, 8479, 1436, 7, 687, 1436, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 2860, 25060, 7, 7753, 62, 31298, 14050, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 2860, 25060, 7, 31298, 14050, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 2617, 4971, 7, 6404, 2667, 13, 10778, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 62, 75, 782, 796, 532, 15259, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 75, 782, 796, 11546, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 62, 15460, 796, 532, 3829, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 15460, 796, 4101, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 62, 89, 4207, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 62, 89, 4207, 796, 642, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 3524, 796, 30149, 14253, 7, 9806, 62, 15460, 11, 3509, 62, 75, 782, 11, 949, 62, 15460, 11, 949, 62, 75, 782, 11, 923, 62, 89, 4207, 11, 886, 62, 89, 4207, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 3813, 3201, 10002, 13798, 7, 15763, 11, 275, 3524, 11, 807, 11, 49706, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 13, 9688, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 49388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 10786, 12417, 4704, 503, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 68, 8, 198, 220, 220, 220, 611, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1895, 30642, 796, 651, 62, 15526, 62, 30001, 3419, 198, 220, 220, 220, 1208, 628 ]
2.001536
651
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from kubernetes_asyncio.client.api_client import ApiClient
[ 2, 19617, 25, 3384, 69, 12, 23, 198, 198, 37811, 198, 220, 220, 220, 12554, 527, 3262, 274, 628, 220, 220, 220, 1400, 6764, 2810, 357, 27568, 416, 2451, 7928, 6127, 5235, 3740, 1378, 12567, 13, 785, 14, 2032, 7928, 12, 15042, 14, 2032, 7928, 12, 8189, 5235, 8, 220, 1303, 645, 20402, 25, 412, 33548, 628, 220, 220, 220, 4946, 17614, 1020, 2196, 25, 410, 16, 13, 1065, 13, 19, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2980, 515, 416, 25, 3740, 1378, 12567, 13, 785, 14, 2032, 7928, 12, 15042, 14, 2032, 7928, 12, 8189, 5235, 13, 18300, 198, 37811, 628, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 11748, 302, 220, 1303, 645, 20402, 25, 376, 21844, 198, 198, 2, 21015, 362, 290, 21015, 513, 17764, 5888, 198, 11748, 2237, 198, 198, 6738, 479, 18478, 3262, 274, 62, 292, 13361, 952, 13, 16366, 13, 15042, 62, 16366, 1330, 5949, 72, 11792, 628 ]
2.84375
160
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Nov 10 23:28:58 2017 @author: dhingratul """ import urllib.request import os from selenium import webdriver from selenium.webdriver.support.ui import Select from bs4 import BeautifulSoup import ssl import requests import wget from PyPDF2 import PdfFileReader def is_valid_pdf(fn): """Check is the PDF valid """ try: with open(fn, 'rb') as f: pdf = PdfFileReader(f) numpages = pdf.numPages return (numpages > 0) except Exception as e: return False
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 19480, 5267, 838, 2242, 25, 2078, 25, 3365, 2177, 198, 198, 31, 9800, 25, 288, 722, 10366, 377, 198, 37811, 198, 11748, 2956, 297, 571, 13, 25927, 198, 11748, 28686, 198, 6738, 384, 11925, 1505, 1330, 3992, 26230, 198, 6738, 384, 11925, 1505, 13, 12384, 26230, 13, 11284, 13, 9019, 1330, 9683, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 198, 11748, 264, 6649, 198, 11748, 7007, 198, 11748, 266, 1136, 198, 6738, 9485, 20456, 17, 1330, 350, 7568, 8979, 33634, 628, 628, 628, 198, 4299, 318, 62, 12102, 62, 12315, 7, 22184, 2599, 198, 220, 220, 220, 37227, 9787, 318, 262, 12960, 4938, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 22184, 11, 705, 26145, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37124, 796, 350, 7568, 8979, 33634, 7, 69, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 931, 1095, 796, 37124, 13, 22510, 47798, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 77, 931, 1095, 1875, 657, 8, 198, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198 ]
2.457627
236
""" Experiment summary ------------------ Treat each province/state in a country cases over time as a vector, do a simple K-Nearest Neighbor between countries. What country has the most similar trajectory to a given country? Plots similar countries """ import sys sys.path.insert(0, '..') from utils import data import os import sklearn import numpy as np import json import matplotlib.pyplot as plt plt.style.use('fivethirtyeight') # ------------ HYPERPARAMETERS ------------- BASE_PATH = '../COVID-19/csse_covid_19_data/' # ------------------------------------------ confirmed = os.path.join( BASE_PATH, 'csse_covid_19_time_series', 'time_series_covid19_confirmed_global.csv') confirmed = data.load_csv_data(confirmed) features = [] targets = [] fig = plt.figure(figsize=(12, 12)) ax = fig.add_subplot(111) cm = plt.get_cmap('jet') NUM_COLORS = 0 LINE_STYLES = ['solid', 'dashed', 'dotted'] NUM_STYLES = len(LINE_STYLES) dist_diff = os.path.join('../exp/results/', 'knn_raw.json') f = open(dist_diff,) dist_diff = json.load(f) for region, dist in dist_diff.items(): plt.style.use('fivethirtyeight') fig = plt.figure(figsize=(12, 12)) ax = fig.add_subplot(111) cm = plt.get_cmap('jet') other_region = dist['manhattan'][0] regions = [region, other_region] for val in regions: df = data.filter_by_attribute( confirmed, "Country/Region", val) cases, labels = data.get_cases_chronologically(df) cases = cases.sum(axis=0) lines = ax.plot(cases, label=val) ax.set_ylabel('# of confirmed cases') ax.set_xlabel("Time (days since Jan 22, 2020)") ax.set_yscale('log') ax.legend() plt.tight_layout() region = region.replace('*', '') other_region = other_region.replace('*', '') plt.title(f'Comparing confirmed cases in {region} and {other_region}') plt.savefig(f'results/raw_manhattan/{region}.png') plt.close() print(region)
[ 37811, 198, 20468, 3681, 10638, 198, 1783, 438, 198, 51, 630, 1123, 8473, 14, 5219, 287, 257, 1499, 2663, 625, 640, 198, 292, 257, 15879, 11, 466, 257, 2829, 509, 12, 8199, 12423, 28708, 1022, 198, 9127, 1678, 13, 1867, 1499, 468, 262, 749, 2092, 22942, 198, 1462, 257, 1813, 1499, 30, 198, 198, 3646, 1747, 2092, 2678, 198, 37811, 198, 198, 11748, 25064, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 705, 492, 11537, 198, 198, 6738, 3384, 4487, 1330, 1366, 198, 11748, 28686, 198, 11748, 1341, 35720, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 33918, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 198, 489, 83, 13, 7635, 13, 1904, 10786, 13261, 400, 5893, 26022, 11537, 198, 198, 2, 220, 10541, 43624, 18973, 27082, 2390, 2767, 4877, 220, 32501, 198, 33, 11159, 62, 34219, 796, 705, 40720, 8220, 11008, 12, 1129, 14, 6359, 325, 62, 66, 709, 312, 62, 1129, 62, 7890, 14, 6, 198, 2, 20368, 35937, 198, 198, 36349, 796, 28686, 13, 6978, 13, 22179, 7, 198, 220, 220, 220, 49688, 62, 34219, 11, 198, 220, 220, 220, 705, 6359, 325, 62, 66, 709, 312, 62, 1129, 62, 2435, 62, 25076, 3256, 198, 220, 220, 220, 705, 2435, 62, 25076, 62, 66, 709, 312, 1129, 62, 36349, 62, 20541, 13, 40664, 11537, 198, 36349, 796, 1366, 13, 2220, 62, 40664, 62, 7890, 7, 36349, 8, 198, 40890, 796, 17635, 198, 83, 853, 1039, 796, 17635, 198, 198, 5647, 796, 458, 83, 13, 26875, 7, 5647, 7857, 16193, 1065, 11, 1105, 4008, 198, 897, 796, 2336, 13, 2860, 62, 7266, 29487, 7, 16243, 8, 198, 11215, 796, 458, 83, 13, 1136, 62, 66, 8899, 10786, 31173, 11537, 198, 41359, 62, 25154, 20673, 796, 657, 198, 24027, 62, 2257, 56, 28378, 796, 37250, 39390, 3256, 705, 67, 5263, 3256, 705, 67, 8426, 20520, 198, 41359, 62, 2257, 56, 28378, 796, 18896, 7, 24027, 62, 2257, 56, 28378, 8, 198, 198, 17080, 62, 26069, 796, 28686, 13, 6978, 13, 22179, 10786, 40720, 11201, 14, 43420, 14, 3256, 705, 15418, 77, 62, 1831, 13, 17752, 11537, 198, 69, 796, 1280, 7, 17080, 62, 26069, 35751, 198, 17080, 62, 26069, 796, 33918, 13, 2220, 7, 69, 8, 198, 198, 1640, 3814, 11, 1233, 287, 1233, 62, 26069, 13, 23814, 33529, 198, 220, 220, 220, 458, 83, 13, 7635, 13, 1904, 10786, 13261, 400, 5893, 26022, 11537, 628, 220, 220, 220, 2336, 796, 458, 83, 13, 26875, 7, 5647, 7857, 16193, 1065, 11, 1105, 4008, 198, 220, 220, 220, 7877, 796, 2336, 13, 2860, 62, 7266, 29487, 7, 16243, 8, 198, 220, 220, 220, 12067, 796, 458, 83, 13, 1136, 62, 66, 8899, 10786, 31173, 11537, 628, 220, 220, 220, 584, 62, 36996, 796, 1233, 17816, 805, 12904, 6, 7131, 15, 60, 198, 220, 220, 220, 7652, 796, 685, 36996, 11, 584, 62, 36996, 60, 198, 220, 220, 220, 329, 1188, 287, 7652, 25, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 796, 1366, 13, 24455, 62, 1525, 62, 42348, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4999, 11, 366, 33921, 14, 47371, 1600, 1188, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2663, 11, 14722, 796, 1366, 13, 1136, 62, 33964, 62, 11413, 13437, 7, 7568, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2663, 796, 2663, 13, 16345, 7, 22704, 28, 15, 8, 628, 220, 220, 220, 220, 220, 220, 220, 3951, 796, 7877, 13, 29487, 7, 33964, 11, 6167, 28, 2100, 8, 628, 220, 220, 220, 7877, 13, 2617, 62, 2645, 9608, 10786, 2, 286, 4999, 2663, 11537, 198, 220, 220, 220, 7877, 13, 2617, 62, 87, 18242, 7203, 7575, 357, 12545, 1201, 2365, 2534, 11, 12131, 8, 4943, 198, 220, 220, 220, 7877, 13, 2617, 62, 28349, 1000, 10786, 6404, 11537, 198, 220, 220, 220, 7877, 13, 1455, 437, 3419, 198, 220, 220, 220, 458, 83, 13, 33464, 62, 39786, 3419, 198, 220, 220, 220, 3814, 796, 3814, 13, 33491, 10786, 9, 3256, 10148, 8, 198, 220, 220, 220, 584, 62, 36996, 796, 584, 62, 36996, 13, 33491, 10786, 9, 3256, 10148, 8, 198, 220, 220, 220, 458, 83, 13, 7839, 7, 69, 6, 7293, 1723, 4999, 2663, 287, 1391, 36996, 92, 290, 1391, 847, 62, 36996, 92, 11537, 198, 220, 220, 220, 458, 83, 13, 21928, 5647, 7, 69, 821, 82, 8376, 14, 1831, 62, 805, 12904, 14, 90, 36996, 27422, 11134, 11537, 198, 220, 220, 220, 458, 83, 13, 19836, 3419, 198, 220, 220, 220, 3601, 7, 36996, 8 ]
2.580475
758
""" Rational Activation Functions for MXNET ======================================= This module allows you to create Rational Neural Networks using Learnable Rational activation functions with MXNET networks. """ import mxnet as mx from mxnet import initializer from mxnet.gluon import HybridBlock from rational.utils.get_weights import get_parameters from rational.mxnet.versions import _version_a, _version_b, _version_c, _version_d from rational._base.rational_base import Rational_base
[ 37811, 198, 49, 864, 13144, 341, 40480, 329, 26135, 12884, 198, 10052, 1421, 18604, 198, 198, 1212, 8265, 3578, 345, 284, 2251, 46863, 47986, 27862, 1262, 14365, 540, 198, 49, 864, 14916, 5499, 351, 26135, 12884, 7686, 13, 198, 37811, 198, 11748, 285, 87, 3262, 355, 285, 87, 198, 6738, 285, 87, 3262, 1330, 4238, 7509, 198, 6738, 285, 87, 3262, 13, 70, 2290, 261, 1330, 29481, 12235, 198, 198, 6738, 9377, 13, 26791, 13, 1136, 62, 43775, 1330, 651, 62, 17143, 7307, 198, 6738, 9377, 13, 36802, 3262, 13, 47178, 1330, 4808, 9641, 62, 64, 11, 4808, 9641, 62, 65, 11, 4808, 9641, 62, 66, 11, 4808, 9641, 62, 67, 198, 6738, 9377, 13557, 8692, 13, 20310, 62, 8692, 1330, 46863, 62, 8692, 628 ]
3.944
125
"""Utils for criterion.""" import torch import torch.nn.functional as F def normalize(x, axis=-1): """Performs L2-Norm.""" num = x denom = torch.norm(x, 2, axis, keepdim=True).expand_as(x) + 1e-12 return num / denom # Source : https://github.com/earhian/Humpback-Whale-Identification-1st-/blob/master/models/triplet_loss.py def euclidean_dist(x, y): """Computes Euclidean distance.""" m, n = x.size(0), y.size(0) xx = torch.pow(x, 2).sum(1, keepdim=True).expand(m, n) yy = torch.pow(x, 2).sum(1, keepdim=True).expand(m, m).t() dist = xx + yy - 2 * torch.matmul(x, y.t()) dist = dist.clamp(min=1e-12).sqrt() return dist def cosine_dist(x, y): """Computes Cosine Distance.""" x = F.normalize(x, dim=1) y = F.normalize(y, dim=1) dist = 2 - 2 * torch.mm(x, y.t()) return dist
[ 37811, 18274, 4487, 329, 34054, 526, 15931, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 628, 198, 4299, 3487, 1096, 7, 87, 11, 16488, 10779, 16, 2599, 198, 220, 220, 220, 37227, 5990, 23914, 406, 17, 12, 35393, 526, 15931, 198, 220, 220, 220, 997, 796, 2124, 198, 220, 220, 220, 2853, 296, 796, 28034, 13, 27237, 7, 87, 11, 362, 11, 16488, 11, 1394, 27740, 28, 17821, 737, 11201, 392, 62, 292, 7, 87, 8, 1343, 352, 68, 12, 1065, 198, 220, 220, 220, 1441, 997, 1220, 2853, 296, 628, 198, 2, 8090, 1058, 3740, 1378, 12567, 13, 785, 14, 451, 71, 666, 14, 39, 931, 1891, 12, 1199, 1000, 12, 33234, 2649, 12, 16, 301, 12, 14, 2436, 672, 14, 9866, 14, 27530, 14, 28461, 37069, 62, 22462, 13, 9078, 198, 4299, 304, 36616, 485, 272, 62, 17080, 7, 87, 11, 331, 2599, 198, 220, 220, 220, 37227, 7293, 1769, 48862, 485, 272, 5253, 526, 15931, 198, 220, 220, 220, 285, 11, 299, 796, 2124, 13, 7857, 7, 15, 828, 331, 13, 7857, 7, 15, 8, 198, 220, 220, 220, 31383, 796, 28034, 13, 79, 322, 7, 87, 11, 362, 737, 16345, 7, 16, 11, 1394, 27740, 28, 17821, 737, 11201, 392, 7, 76, 11, 299, 8, 198, 220, 220, 220, 331, 88, 796, 28034, 13, 79, 322, 7, 87, 11, 362, 737, 16345, 7, 16, 11, 1394, 27740, 28, 17821, 737, 11201, 392, 7, 76, 11, 285, 737, 83, 3419, 198, 220, 220, 220, 1233, 796, 31383, 1343, 331, 88, 532, 362, 1635, 28034, 13, 6759, 76, 377, 7, 87, 11, 331, 13, 83, 28955, 628, 220, 220, 220, 1233, 796, 1233, 13, 565, 696, 7, 1084, 28, 16, 68, 12, 1065, 737, 31166, 17034, 3419, 628, 220, 220, 220, 1441, 1233, 628, 198, 4299, 8615, 500, 62, 17080, 7, 87, 11, 331, 2599, 198, 220, 220, 220, 37227, 7293, 1769, 10437, 500, 34600, 526, 15931, 198, 220, 220, 220, 2124, 796, 376, 13, 11265, 1096, 7, 87, 11, 5391, 28, 16, 8, 198, 220, 220, 220, 331, 796, 376, 13, 11265, 1096, 7, 88, 11, 5391, 28, 16, 8, 198, 220, 220, 220, 1233, 796, 362, 532, 362, 1635, 28034, 13, 3020, 7, 87, 11, 331, 13, 83, 28955, 198, 220, 220, 220, 1441, 1233, 198 ]
2.197917
384
"""Tests for the sbahn_munich integration""" line_dict = { "name": "S3", "color": "#333333", "text_color": "#444444", }
[ 37811, 51, 3558, 329, 262, 264, 65, 15386, 62, 6199, 488, 11812, 37811, 628, 198, 1370, 62, 11600, 796, 1391, 198, 220, 220, 220, 366, 3672, 1298, 366, 50, 18, 1600, 198, 220, 220, 220, 366, 8043, 1298, 25113, 24840, 2091, 1600, 198, 220, 220, 220, 366, 5239, 62, 8043, 1298, 25113, 2598, 2598, 2598, 1600, 198, 92, 198 ]
2.271186
59
#! /usr/bin/env python2.7 # -*- coding: latin-1 -*- from flask import Blueprint from flask import current_app from flask import render_template from flask_login import login_required homestack = Blueprint("homestack", __name__, url_prefix="/homestack")
[ 2, 0, 1220, 14629, 14, 8800, 14, 24330, 21015, 17, 13, 22, 198, 2, 532, 9, 12, 19617, 25, 3042, 259, 12, 16, 532, 9, 12, 198, 198, 6738, 42903, 1330, 39932, 198, 6738, 42903, 1330, 1459, 62, 1324, 198, 6738, 42903, 1330, 8543, 62, 28243, 198, 198, 6738, 42903, 62, 38235, 1330, 17594, 62, 35827, 198, 198, 26452, 395, 441, 796, 39932, 7203, 26452, 395, 441, 1600, 11593, 3672, 834, 11, 19016, 62, 40290, 35922, 26452, 395, 441, 4943, 628 ]
3.17284
81
"""Forms for RTD donations""" import logging from django import forms from django.conf import settings from django.utils.translation import ugettext_lazy as _ from readthedocs.payments.forms import StripeModelForm, StripeResourceMixin from readthedocs.payments.utils import stripe from .models import Supporter log = logging.getLogger(__name__)
[ 37811, 8479, 82, 329, 11923, 35, 10976, 37811, 198, 198, 11748, 18931, 198, 198, 6738, 42625, 14208, 1330, 5107, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 62, 75, 12582, 355, 4808, 198, 198, 6738, 1100, 83, 704, 420, 82, 13, 15577, 902, 13, 23914, 1330, 26137, 431, 17633, 8479, 11, 26137, 431, 26198, 35608, 259, 198, 6738, 1100, 83, 704, 420, 82, 13, 15577, 902, 13, 26791, 1330, 39858, 198, 198, 6738, 764, 27530, 1330, 8105, 4337, 198, 198, 6404, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198 ]
3.320755
106
#!/usr/bin/env python # -*- coding: utf-8 -*- from .base import DataReaderBase from ..tools import COL, _get_dates, to_float, to_int import pandas as pd #from pandas.tseries.frequencies import to_offset from six.moves import cStringIO as StringIO import logging import traceback import datetime import json import token, tokenize def ymd_to_date(y, m, d): """ Returns date >>> expiration = {u'd': 1, u'm': 12, u'y': 2014} >>> ymd_to_date(**expiration) datetime.date(2014, 12, 1) >>> ymd_to_date(2014, 3, 1) datetime.date(2014, 3, 1) """ return(datetime.date(year=y, month=m, day=d)) def date_to_ymd(date): """ Returns dict like {'y': ..., 'm': ..., 'd': ...} >>> date_to_ymd(datetime.date(year=2010, month=1, day=3)) {'y': 2010, 'm': 1, 'd': 3} """ d = { 'y': date.year, 'm': date.month, 'd': date.day } return(d) def fix_lazy_json(in_text): """ Handle lazy JSON - to fix expecting property name this function fixes the json output from google http://stackoverflow.com/questions/4033633/handling-lazy-json-in-python-expecting-property-name """ tokengen = tokenize.generate_tokens(StringIO(in_text).readline) result = [] for tokid, tokval, _, _, _ in tokengen: # fix unquoted strings if (tokid == token.NAME): if tokval not in ['true', 'false', 'null', '-Infinity', 'Infinity', 'NaN']: tokid = token.STRING tokval = u'"%s"' % tokval # fix single-quoted strings elif (tokid == token.STRING): if tokval.startswith ("'"): tokval = u'"%s"' % tokval[1:-1].replace ('"', '\\"') # remove invalid commas elif (tokid == token.OP) and ((tokval == '}') or (tokval == ']')): if (len(result) > 0) and (result[-1][1] == ','): result.pop() # fix single-quoted strings elif (tokid == token.STRING): if tokval.startswith ("'"): tokval = u'"%s"' % tokval[1:-1].replace ('"', '\\"') result.append((tokid, tokval)) return tokenize.untokenize(result) if __name__ == "__main__": import doctest doctest.testmod()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 764, 8692, 1330, 6060, 33634, 14881, 198, 6738, 11485, 31391, 1330, 20444, 11, 4808, 1136, 62, 19581, 11, 284, 62, 22468, 11, 284, 62, 600, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 2, 6738, 19798, 292, 13, 912, 10640, 13, 69, 8897, 3976, 1330, 284, 62, 28968, 198, 6738, 2237, 13, 76, 5241, 1330, 269, 10100, 9399, 355, 10903, 9399, 198, 11748, 18931, 198, 11748, 12854, 1891, 198, 11748, 4818, 8079, 198, 198, 11748, 33918, 198, 11748, 11241, 11, 11241, 1096, 628, 198, 4299, 331, 9132, 62, 1462, 62, 4475, 7, 88, 11, 285, 11, 288, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 3128, 628, 220, 220, 220, 13163, 28385, 796, 1391, 84, 1549, 10354, 352, 11, 334, 1101, 10354, 1105, 11, 334, 6, 88, 10354, 1946, 92, 198, 220, 220, 220, 13163, 331, 9132, 62, 1462, 62, 4475, 7, 1174, 1069, 10514, 8, 198, 220, 220, 220, 4818, 8079, 13, 4475, 7, 4967, 11, 1105, 11, 352, 8, 628, 220, 220, 220, 13163, 331, 9132, 62, 1462, 62, 4475, 7, 4967, 11, 513, 11, 352, 8, 198, 220, 220, 220, 4818, 8079, 13, 4475, 7, 4967, 11, 513, 11, 352, 8, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 7, 19608, 8079, 13, 4475, 7, 1941, 28, 88, 11, 1227, 28, 76, 11, 1110, 28, 67, 4008, 198, 198, 4299, 3128, 62, 1462, 62, 4948, 67, 7, 4475, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 8633, 588, 1391, 6, 88, 10354, 2644, 11, 705, 76, 10354, 2644, 11, 705, 67, 10354, 2644, 92, 628, 220, 220, 220, 13163, 3128, 62, 1462, 62, 4948, 67, 7, 19608, 8079, 13, 4475, 7, 1941, 28, 10333, 11, 1227, 28, 16, 11, 1110, 28, 18, 4008, 198, 220, 220, 220, 1391, 6, 88, 10354, 3050, 11, 705, 76, 10354, 352, 11, 705, 67, 10354, 513, 92, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 288, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 88, 10354, 3128, 13, 1941, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 76, 10354, 3128, 13, 8424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 67, 10354, 3128, 13, 820, 198, 220, 220, 220, 1782, 198, 220, 220, 220, 1441, 7, 67, 8, 198, 198, 4299, 4259, 62, 75, 12582, 62, 17752, 7, 259, 62, 5239, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33141, 16931, 19449, 532, 284, 4259, 12451, 3119, 1438, 198, 220, 220, 220, 428, 2163, 13040, 262, 33918, 5072, 422, 23645, 198, 220, 220, 220, 2638, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 1821, 29211, 2091, 14, 4993, 1359, 12, 75, 12582, 12, 17752, 12, 259, 12, 29412, 12, 1069, 35570, 12, 26745, 12, 3672, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 284, 74, 1516, 268, 796, 11241, 1096, 13, 8612, 378, 62, 83, 482, 641, 7, 10100, 9399, 7, 259, 62, 5239, 737, 961, 1370, 8, 628, 220, 220, 220, 1255, 796, 17635, 198, 220, 220, 220, 329, 284, 38439, 11, 284, 74, 2100, 11, 4808, 11, 4808, 11, 4808, 287, 284, 74, 1516, 268, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4259, 555, 421, 5191, 13042, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 83, 482, 312, 6624, 11241, 13, 20608, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 284, 74, 2100, 407, 287, 37250, 7942, 3256, 705, 9562, 3256, 705, 8423, 3256, 705, 12, 18943, 6269, 3256, 705, 18943, 6269, 3256, 705, 26705, 45, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 38439, 796, 11241, 13, 18601, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 74, 2100, 796, 334, 29653, 4, 82, 30543, 4064, 284, 74, 2100, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 4259, 2060, 12, 421, 5191, 13042, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 357, 83, 482, 312, 6624, 11241, 13, 18601, 2751, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 284, 74, 2100, 13, 9688, 2032, 342, 5855, 29653, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 74, 2100, 796, 334, 29653, 4, 82, 30543, 4064, 284, 74, 2100, 58, 16, 21912, 16, 4083, 33491, 19203, 1, 3256, 705, 6852, 1, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 4781, 12515, 725, 292, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 357, 83, 482, 312, 6624, 11241, 13, 3185, 8, 290, 14808, 83, 482, 2100, 6624, 705, 92, 11537, 393, 357, 83, 482, 2100, 6624, 705, 60, 11537, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 11925, 7, 20274, 8, 1875, 657, 8, 290, 357, 20274, 58, 12, 16, 7131, 16, 60, 6624, 705, 4032, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 12924, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 4259, 2060, 12, 421, 5191, 13042, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 357, 83, 482, 312, 6624, 11241, 13, 18601, 2751, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 284, 74, 2100, 13, 9688, 2032, 342, 5855, 29653, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 74, 2100, 796, 334, 29653, 4, 82, 30543, 4064, 284, 74, 2100, 58, 16, 21912, 16, 4083, 33491, 19203, 1, 3256, 705, 6852, 1, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 33295, 19510, 83, 482, 312, 11, 284, 74, 2100, 4008, 628, 220, 220, 220, 1441, 11241, 1096, 13, 2797, 4233, 1096, 7, 20274, 8, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 10412, 395, 198, 220, 220, 220, 10412, 395, 13, 9288, 4666, 3419, 198 ]
2.140267
1,048
# !/usr/bin/python # -*- coding: utf-8 -*- # @time : 2019/11/2 21:08 # @author : Mo # @function: from keras_textclassification.data_preprocess.text_preprocess import load_json, save_json from keras_textclassification.conf.path_config import path_model_dir path_fast_text_model_vocab2index = path_model_dir + 'vocab2index.json' path_fast_text_model_l2i_i2l = path_model_dir + 'l2i_i2l.json' import numpy as np import os
[ 2, 5145, 14, 14629, 14, 8800, 14, 29412, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2488, 2435, 220, 220, 220, 1058, 13130, 14, 1157, 14, 17, 2310, 25, 2919, 198, 2, 2488, 9800, 220, 1058, 4270, 198, 2, 2488, 8818, 25, 628, 198, 6738, 41927, 292, 62, 5239, 4871, 2649, 13, 7890, 62, 3866, 14681, 13, 5239, 62, 3866, 14681, 1330, 3440, 62, 17752, 11, 3613, 62, 17752, 198, 6738, 41927, 292, 62, 5239, 4871, 2649, 13, 10414, 13, 6978, 62, 11250, 1330, 3108, 62, 19849, 62, 15908, 198, 6978, 62, 7217, 62, 5239, 62, 19849, 62, 18893, 397, 17, 9630, 796, 3108, 62, 19849, 62, 15908, 1343, 705, 18893, 397, 17, 9630, 13, 17752, 6, 198, 6978, 62, 7217, 62, 5239, 62, 19849, 62, 75, 17, 72, 62, 72, 17, 75, 796, 3108, 62, 19849, 62, 15908, 1343, 705, 75, 17, 72, 62, 72, 17, 75, 13, 17752, 6, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 28686, 628, 628, 628 ]
2.505814
172
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from gpu_tests.gpu_test_expectations import GpuTestExpectations # See the GpuTestExpectations class for documentation.
[ 2, 15069, 1946, 383, 18255, 1505, 46665, 13, 1439, 2489, 10395, 13, 198, 2, 5765, 286, 428, 2723, 2438, 318, 21825, 416, 257, 347, 10305, 12, 7635, 5964, 326, 460, 307, 198, 2, 1043, 287, 262, 38559, 24290, 2393, 13, 198, 198, 6738, 308, 19944, 62, 41989, 13, 46999, 62, 9288, 62, 1069, 806, 602, 1330, 402, 19944, 14402, 3109, 806, 602, 198, 198, 2, 4091, 262, 402, 19944, 14402, 3109, 806, 602, 1398, 329, 10314, 13, 198 ]
3.628205
78
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-08 22:54 from __future__ import unicode_literals from django.conf import settings import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 1157, 13, 1485, 319, 2864, 12, 3312, 12, 2919, 2534, 25, 4051, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 11748, 42625, 14208, 13, 3642, 822, 13, 7353, 34239, 13, 25747, 13, 17752, 65, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 198, 11748, 42625, 14208, 13, 9945, 13, 27530, 13, 2934, 1616, 295, 628 ]
2.902174
92
import setuptools #enables develop setuptools.setup( name='pysvm', version='0.1', description='PySVM : A NumPy implementation of SVM based on SMO algorithm', author_email="191300064@smail.nju.edu.cn", packages=['pysvm'], license='MIT License', long_description=open('README.md', encoding='utf-8').read(), install_requires=[ # 'numpy', 'sklearn' ], url='https://github.com/Kaslanarian/PySVM', )
[ 11748, 900, 37623, 10141, 220, 1303, 268, 2977, 1205, 198, 198, 2617, 37623, 10141, 13, 40406, 7, 198, 220, 220, 220, 1438, 11639, 79, 893, 14761, 3256, 198, 220, 220, 220, 2196, 11639, 15, 13, 16, 3256, 198, 220, 220, 220, 6764, 11639, 20519, 50, 15996, 1058, 317, 31835, 20519, 7822, 286, 311, 15996, 1912, 319, 9447, 46, 11862, 3256, 198, 220, 220, 220, 1772, 62, 12888, 2625, 1129, 1485, 830, 2414, 31, 82, 4529, 13, 77, 14396, 13, 15532, 13, 31522, 1600, 198, 220, 220, 220, 10392, 28, 17816, 79, 893, 14761, 6, 4357, 198, 220, 220, 220, 5964, 11639, 36393, 13789, 3256, 198, 220, 220, 220, 890, 62, 11213, 28, 9654, 10786, 15675, 11682, 13, 9132, 3256, 21004, 11639, 40477, 12, 23, 27691, 961, 22784, 198, 220, 220, 220, 2721, 62, 47911, 41888, 220, 1303, 198, 220, 220, 220, 220, 220, 220, 220, 705, 77, 32152, 3256, 705, 8135, 35720, 6, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 19016, 11639, 5450, 1378, 12567, 13, 785, 14, 42, 292, 9620, 3699, 14, 20519, 50, 15996, 3256, 198, 8, 198 ]
2.445055
182
######## Image Object Detection Using Tensorflow-trained Classifier ######### # # Author: Evan Juras # Date: 1/15/18 # Description: # This program uses a TensorFlow-trained classifier to perform object detection. # It loads the classifier uses it to perform object detection on an image. # It draws boxes and scores around the objects of interest in the image. ## Some of the code is copied from Google's example at ## https://github.com/tensorflow/models/blob/master/research/object_detection/object_detection_tutorial.ipynb ## and some is copied from Dat Tran's example at ## https://github.com/datitran/object_detector_app/blob/master/object_detection_app.py ## but I changed it to make it more understandable to me. # Import packages import os import cv2 import numpy as np import tensorflow as tf import sys # This is needed since the notebook is stored in the object_detection folder. sys.path.append("..") # Import utilites from utils import label_map_util from utils import visualization_utils as vis_util # Name of the directory containing the object detection module we're using MODEL_NAME = 'inference_graph' IMAGE_NAME = 'test1.jpg' # Grab path to current working directory CWD_PATH = os.getcwd() # Path to frozen detection graph .pb file, which contains the model that is used # for object detection. PATH_TO_CKPT = os.path.join(CWD_PATH,MODEL_NAME,'frozen_inference_graph.pb') # Path to label map file PATH_TO_LABELS = os.path.join(CWD_PATH,'training','labelmap.pbtxt') # Path to image PATH_TO_IMAGE = os.path.join(CWD_PATH,IMAGE_NAME) # Number of classes the object detector can identify NUM_CLASSES = 6 # Load the label map. # Label maps map indices to category names, so that when our convolution # network predicts `5`, we know that this corresponds to `king`. # Here we use internal utility functions, but anything that returns a # dictionary mapping integers to appropriate string labels would be fine label_map = label_map_util.load_labelmap(PATH_TO_LABELS) categories = label_map_util.convert_label_map_to_categories(label_map, max_num_classes=NUM_CLASSES, use_display_name=True) category_index = label_map_util.create_category_index(categories) # Load the Tensorflow model into memory. detection_graph = tf.Graph() with detection_graph.as_default(): od_graph_def = tf.GraphDef() with tf.gfile.GFile(PATH_TO_CKPT, 'rb') as fid: serialized_graph = fid.read() od_graph_def.ParseFromString(serialized_graph) tf.import_graph_def(od_graph_def, name='') sess = tf.Session(graph=detection_graph) # Define input and output tensors (i.e. data) for the object detection classifier # Input tensor is the image image_tensor = detection_graph.get_tensor_by_name('image_tensor:0') # Output tensors are the detection boxes, scores, and classes # Each box represents a part of the image where a particular object was detected detection_boxes = detection_graph.get_tensor_by_name('detection_boxes:0') # Each score represents level of confidence for each of the objects. # The score is shown on the result image, together with the class label. detection_scores = detection_graph.get_tensor_by_name('detection_scores:0') detection_classes = detection_graph.get_tensor_by_name('detection_classes:0') # Number of objects detected num_detections = detection_graph.get_tensor_by_name('num_detections:0') # Load image using OpenCV and # expand image dimensions to have shape: [1, None, None, 3] # i.e. a single-column array, where each item in the column has the pixel RGB value image = cv2.imread(PATH_TO_IMAGE) image_expanded = np.expand_dims(image, axis=0) # Perform the actual detection by running the model with the image as input (boxes, scores, classes, num) = sess.run( [detection_boxes, detection_scores, detection_classes, num_detections], feed_dict={image_tensor: image_expanded}) # Draw the results of the detection (aka 'visulaize the results') vis_util.visualize_boxes_and_labels_on_image_array( image, np.squeeze(boxes), np.squeeze(classes).astype(np.int32), np.squeeze(scores), category_index, use_normalized_coordinates=True, line_thickness=8, min_score_thresh=0.60) # All the results have been drawn on image. Now display the image. cv2.imshow('Object detector', image) # Press any key to close the image cv2.waitKey(0) # Clean up cv2.destroyAllWindows()
[ 7804, 7412, 9515, 46254, 8554, 309, 22854, 11125, 12, 35311, 5016, 7483, 1303, 7804, 198, 2, 198, 2, 6434, 25, 21523, 449, 17786, 198, 2, 7536, 25, 352, 14, 1314, 14, 1507, 198, 2, 12489, 25, 220, 198, 2, 770, 1430, 3544, 257, 309, 22854, 37535, 12, 35311, 1398, 7483, 284, 1620, 2134, 13326, 13, 198, 2, 632, 15989, 262, 1398, 7483, 3544, 340, 284, 1620, 2134, 13326, 319, 281, 2939, 13, 198, 2, 632, 14293, 10559, 290, 8198, 1088, 262, 5563, 286, 1393, 287, 262, 2939, 13, 198, 198, 2235, 2773, 286, 262, 2438, 318, 18984, 422, 3012, 338, 1672, 379, 198, 2235, 3740, 1378, 12567, 13, 785, 14, 83, 22854, 11125, 14, 27530, 14, 2436, 672, 14, 9866, 14, 34033, 14, 15252, 62, 15255, 3213, 14, 15252, 62, 15255, 3213, 62, 83, 44917, 13, 541, 2047, 65, 198, 198, 2235, 290, 617, 318, 18984, 422, 16092, 833, 272, 338, 1672, 379, 198, 2235, 3740, 1378, 12567, 13, 785, 14, 19608, 270, 2596, 14, 15252, 62, 15255, 9250, 62, 1324, 14, 2436, 672, 14, 9866, 14, 15252, 62, 15255, 3213, 62, 1324, 13, 9078, 198, 198, 2235, 475, 314, 3421, 340, 284, 787, 340, 517, 21977, 284, 502, 13, 198, 198, 2, 17267, 10392, 198, 11748, 28686, 198, 11748, 269, 85, 17, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 25064, 198, 198, 2, 770, 318, 2622, 1201, 262, 20922, 318, 8574, 287, 262, 2134, 62, 15255, 3213, 9483, 13, 198, 17597, 13, 6978, 13, 33295, 7203, 492, 4943, 198, 198, 2, 17267, 7736, 2737, 198, 6738, 3384, 4487, 1330, 6167, 62, 8899, 62, 22602, 198, 6738, 3384, 4487, 1330, 32704, 62, 26791, 355, 1490, 62, 22602, 198, 198, 2, 6530, 286, 262, 8619, 7268, 262, 2134, 13326, 8265, 356, 821, 1262, 198, 33365, 3698, 62, 20608, 796, 705, 259, 4288, 62, 34960, 6, 198, 3955, 11879, 62, 20608, 796, 705, 9288, 16, 13, 9479, 6, 198, 198, 2, 25339, 3108, 284, 1459, 1762, 8619, 198, 34, 22332, 62, 34219, 796, 28686, 13, 1136, 66, 16993, 3419, 198, 198, 2, 10644, 284, 12912, 13326, 4823, 764, 40842, 2393, 11, 543, 4909, 262, 2746, 326, 318, 973, 198, 2, 329, 2134, 13326, 13, 198, 34219, 62, 10468, 62, 34, 42, 11571, 796, 28686, 13, 6978, 13, 22179, 7, 34, 22332, 62, 34219, 11, 33365, 3698, 62, 20608, 4032, 69, 42005, 62, 259, 4288, 62, 34960, 13, 40842, 11537, 198, 198, 2, 10644, 284, 6167, 3975, 2393, 198, 34219, 62, 10468, 62, 48780, 37142, 796, 28686, 13, 6978, 13, 22179, 7, 34, 22332, 62, 34219, 4032, 34409, 41707, 18242, 8899, 13, 40842, 14116, 11537, 198, 198, 2, 10644, 284, 2939, 198, 34219, 62, 10468, 62, 3955, 11879, 796, 28686, 13, 6978, 13, 22179, 7, 34, 22332, 62, 34219, 11, 3955, 11879, 62, 20608, 8, 198, 198, 2, 7913, 286, 6097, 262, 2134, 31029, 460, 5911, 198, 41359, 62, 31631, 1546, 796, 718, 198, 198, 2, 8778, 262, 6167, 3975, 13, 198, 2, 36052, 8739, 3975, 36525, 284, 6536, 3891, 11, 523, 326, 618, 674, 3063, 2122, 198, 2, 3127, 26334, 4600, 20, 47671, 356, 760, 326, 428, 24866, 284, 4600, 3364, 44646, 198, 2, 3423, 356, 779, 5387, 10361, 5499, 11, 475, 1997, 326, 5860, 257, 198, 2, 22155, 16855, 37014, 284, 5035, 4731, 14722, 561, 307, 3734, 198, 18242, 62, 8899, 796, 6167, 62, 8899, 62, 22602, 13, 2220, 62, 18242, 8899, 7, 34219, 62, 10468, 62, 48780, 37142, 8, 198, 66, 26129, 796, 6167, 62, 8899, 62, 22602, 13, 1102, 1851, 62, 18242, 62, 8899, 62, 1462, 62, 66, 26129, 7, 18242, 62, 8899, 11, 3509, 62, 22510, 62, 37724, 28, 41359, 62, 31631, 1546, 11, 779, 62, 13812, 62, 3672, 28, 17821, 8, 198, 22872, 62, 9630, 796, 6167, 62, 8899, 62, 22602, 13, 17953, 62, 22872, 62, 9630, 7, 66, 26129, 8, 198, 198, 2, 8778, 262, 309, 22854, 11125, 2746, 656, 4088, 13, 198, 15255, 3213, 62, 34960, 796, 48700, 13, 37065, 3419, 198, 4480, 13326, 62, 34960, 13, 292, 62, 12286, 33529, 198, 220, 220, 220, 16298, 62, 34960, 62, 4299, 796, 48700, 13, 37065, 7469, 3419, 198, 220, 220, 220, 351, 48700, 13, 70, 7753, 13, 38, 8979, 7, 34219, 62, 10468, 62, 34, 42, 11571, 11, 705, 26145, 11537, 355, 49909, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 34960, 796, 49909, 13, 961, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 16298, 62, 34960, 62, 4299, 13, 10044, 325, 4863, 10100, 7, 46911, 1143, 62, 34960, 8, 198, 220, 220, 220, 220, 220, 220, 220, 48700, 13, 11748, 62, 34960, 62, 4299, 7, 375, 62, 34960, 62, 4299, 11, 1438, 28, 7061, 8, 628, 220, 220, 220, 264, 408, 796, 48700, 13, 36044, 7, 34960, 28, 15255, 3213, 62, 34960, 8, 198, 198, 2, 2896, 500, 5128, 290, 5072, 11192, 669, 357, 72, 13, 68, 13, 1366, 8, 329, 262, 2134, 13326, 1398, 7483, 198, 198, 2, 23412, 11192, 273, 318, 262, 2939, 198, 9060, 62, 83, 22854, 796, 13326, 62, 34960, 13, 1136, 62, 83, 22854, 62, 1525, 62, 3672, 10786, 9060, 62, 83, 22854, 25, 15, 11537, 198, 198, 2, 25235, 11192, 669, 389, 262, 13326, 10559, 11, 8198, 11, 290, 6097, 198, 2, 5501, 3091, 6870, 257, 636, 286, 262, 2939, 810, 257, 1948, 2134, 373, 12326, 198, 15255, 3213, 62, 29305, 796, 13326, 62, 34960, 13, 1136, 62, 83, 22854, 62, 1525, 62, 3672, 10786, 15255, 3213, 62, 29305, 25, 15, 11537, 198, 198, 2, 5501, 4776, 6870, 1241, 286, 6628, 329, 1123, 286, 262, 5563, 13, 198, 2, 383, 4776, 318, 3402, 319, 262, 1255, 2939, 11, 1978, 351, 262, 1398, 6167, 13, 198, 15255, 3213, 62, 1416, 2850, 796, 13326, 62, 34960, 13, 1136, 62, 83, 22854, 62, 1525, 62, 3672, 10786, 15255, 3213, 62, 1416, 2850, 25, 15, 11537, 198, 15255, 3213, 62, 37724, 796, 13326, 62, 34960, 13, 1136, 62, 83, 22854, 62, 1525, 62, 3672, 10786, 15255, 3213, 62, 37724, 25, 15, 11537, 198, 198, 2, 7913, 286, 5563, 12326, 198, 22510, 62, 15255, 478, 507, 796, 13326, 62, 34960, 13, 1136, 62, 83, 22854, 62, 1525, 62, 3672, 10786, 22510, 62, 15255, 478, 507, 25, 15, 11537, 198, 198, 2, 8778, 2939, 1262, 4946, 33538, 290, 198, 2, 4292, 2939, 15225, 284, 423, 5485, 25, 685, 16, 11, 6045, 11, 6045, 11, 513, 60, 198, 2, 1312, 13, 68, 13, 257, 2060, 12, 28665, 7177, 11, 810, 1123, 2378, 287, 262, 5721, 468, 262, 17465, 25228, 1988, 198, 9060, 796, 269, 85, 17, 13, 320, 961, 7, 34219, 62, 10468, 62, 3955, 11879, 8, 198, 9060, 62, 11201, 12249, 796, 45941, 13, 11201, 392, 62, 67, 12078, 7, 9060, 11, 16488, 28, 15, 8, 198, 198, 2, 35006, 262, 4036, 13326, 416, 2491, 262, 2746, 351, 262, 2939, 355, 5128, 198, 7, 29305, 11, 8198, 11, 6097, 11, 997, 8, 796, 264, 408, 13, 5143, 7, 198, 220, 220, 220, 685, 15255, 3213, 62, 29305, 11, 13326, 62, 1416, 2850, 11, 13326, 62, 37724, 11, 997, 62, 15255, 478, 507, 4357, 198, 220, 220, 220, 3745, 62, 11600, 34758, 9060, 62, 83, 22854, 25, 2939, 62, 11201, 12249, 30072, 198, 198, 2, 15315, 262, 2482, 286, 262, 13326, 357, 8130, 705, 4703, 4712, 1096, 262, 2482, 11537, 198, 198, 4703, 62, 22602, 13, 41464, 1096, 62, 29305, 62, 392, 62, 23912, 1424, 62, 261, 62, 9060, 62, 18747, 7, 198, 220, 220, 220, 2939, 11, 198, 220, 220, 220, 45941, 13, 16485, 1453, 2736, 7, 29305, 828, 198, 220, 220, 220, 45941, 13, 16485, 1453, 2736, 7, 37724, 737, 459, 2981, 7, 37659, 13, 600, 2624, 828, 198, 220, 220, 220, 45941, 13, 16485, 1453, 2736, 7, 1416, 2850, 828, 198, 220, 220, 220, 6536, 62, 9630, 11, 198, 220, 220, 220, 779, 62, 11265, 1143, 62, 37652, 17540, 28, 17821, 11, 198, 220, 220, 220, 1627, 62, 400, 624, 1108, 28, 23, 11, 198, 220, 220, 220, 949, 62, 26675, 62, 400, 3447, 28, 15, 13, 1899, 8, 198, 198, 2, 1439, 262, 2482, 423, 587, 7428, 319, 2939, 13, 2735, 3359, 262, 2939, 13, 198, 33967, 17, 13, 320, 12860, 10786, 10267, 31029, 3256, 2939, 8, 198, 198, 2, 4332, 597, 1994, 284, 1969, 262, 2939, 198, 33967, 17, 13, 17077, 9218, 7, 15, 8, 198, 198, 2, 5985, 510, 198, 33967, 17, 13, 41659, 3237, 11209, 3419, 198 ]
3.122769
1,401
from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter
[ 6738, 1366, 62, 43681, 13, 27604, 13, 9503, 1746, 1330, 7308, 55, 8439, 11522, 17818, 42350, 34, 21370, 3546, 26634, 198 ]
3.952381
21
from django.db.models import Q from django.shortcuts import render from django.http import Http404 # Create your views here. from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.decorators import api_view from .models import Product, Category from .serializers import ProductSerializer, CategorySerializer
[ 6738, 42625, 14208, 13, 9945, 13, 27530, 1330, 1195, 198, 198, 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 26429, 198, 198, 2, 13610, 534, 5009, 994, 13, 198, 6738, 1334, 62, 30604, 13, 33571, 1330, 3486, 3824, 769, 198, 6738, 1334, 62, 30604, 13, 26209, 1330, 18261, 198, 6738, 1334, 62, 30604, 13, 12501, 273, 2024, 1330, 40391, 62, 1177, 198, 198, 6738, 764, 27530, 1330, 8721, 11, 21743, 198, 6738, 764, 46911, 11341, 1330, 8721, 32634, 7509, 11, 21743, 32634, 7509 ]
3.923913
92
from sys import maxsize
[ 6738, 25064, 1330, 3509, 7857, 628, 198 ]
3.714286
7
########################################################################## # # Copyright (c) 2010-2012, Image Engine Design 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 conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # * Neither the name of Image Engine Design nor the names of any # other contributors to this software may be used to endorse or # promote products derived from this software without specific prior # written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ########################################################################## from __future__ import with_statement import os import sys import shutil import unittest import IECore if __name__ == "__main__": unittest.main()
[ 29113, 29113, 7804, 2235, 198, 2, 198, 2, 220, 15069, 357, 66, 8, 3050, 12, 6999, 11, 7412, 7117, 8495, 3457, 13, 1439, 2489, 10395, 13, 198, 2, 198, 2, 220, 2297, 396, 3890, 290, 779, 287, 2723, 290, 13934, 5107, 11, 351, 393, 1231, 198, 2, 220, 17613, 11, 389, 10431, 2810, 326, 262, 1708, 3403, 389, 198, 2, 220, 1138, 25, 198, 2, 198, 2, 220, 220, 220, 220, 1635, 2297, 396, 2455, 507, 286, 2723, 2438, 1276, 12377, 262, 2029, 6634, 198, 2, 220, 220, 220, 220, 220, 220, 4003, 11, 428, 1351, 286, 3403, 290, 262, 1708, 37592, 13, 198, 2, 198, 2, 220, 220, 220, 220, 1635, 2297, 396, 2455, 507, 287, 13934, 1296, 1276, 22919, 262, 2029, 6634, 198, 2, 220, 220, 220, 220, 220, 220, 4003, 11, 428, 1351, 286, 3403, 290, 262, 1708, 37592, 287, 262, 198, 2, 220, 220, 220, 220, 220, 220, 10314, 290, 14, 273, 584, 5696, 2810, 351, 262, 6082, 13, 198, 2, 198, 2, 220, 220, 220, 220, 1635, 16126, 262, 1438, 286, 7412, 7117, 8495, 4249, 262, 3891, 286, 597, 198, 2, 220, 220, 220, 220, 220, 220, 584, 20420, 284, 428, 3788, 743, 307, 973, 284, 11438, 393, 198, 2, 220, 220, 220, 220, 220, 220, 7719, 3186, 10944, 422, 428, 3788, 1231, 2176, 3161, 198, 2, 220, 220, 220, 220, 220, 220, 3194, 7170, 13, 198, 2, 198, 2, 220, 12680, 47466, 3180, 36592, 2389, 1961, 11050, 3336, 27975, 38162, 9947, 367, 15173, 4877, 5357, 27342, 9865, 3843, 20673, 366, 1921, 198, 2, 220, 3180, 1, 5357, 15529, 7788, 32761, 6375, 8959, 49094, 34764, 11015, 11, 47783, 2751, 11, 21728, 5626, 40880, 5390, 11, 198, 2, 220, 3336, 8959, 49094, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 5357, 376, 46144, 7473, 317, 16652, 2149, 37232, 198, 2, 220, 33079, 48933, 15986, 13954, 48778, 1961, 13, 3268, 8005, 49261, 50163, 3336, 27975, 38162, 9947, 47210, 21479, 6375, 198, 2, 220, 27342, 9865, 3843, 20673, 9348, 43031, 19146, 7473, 15529, 42242, 11, 3268, 17931, 23988, 11, 19387, 25256, 1847, 11, 38846, 11, 198, 2, 220, 7788, 3620, 6489, 13153, 11, 6375, 7102, 5188, 10917, 3525, 12576, 29506, 25552, 357, 1268, 39149, 2751, 11, 21728, 5626, 40880, 5390, 11, 198, 2, 220, 41755, 11335, 10979, 3963, 28932, 2257, 2043, 37780, 21090, 50, 6375, 49254, 26, 406, 18420, 3963, 23210, 11, 42865, 11, 6375, 198, 2, 220, 4810, 19238, 29722, 26, 6375, 43949, 44180, 23255, 49, 8577, 24131, 8, 29630, 36, 5959, 7257, 2937, 1961, 5357, 6177, 15529, 3336, 15513, 3963, 198, 2, 220, 43031, 25382, 11, 7655, 2767, 16879, 3268, 27342, 10659, 11, 19269, 18379, 43031, 25382, 11, 6375, 309, 9863, 357, 1268, 39149, 2751, 198, 2, 220, 399, 7156, 43, 3528, 18310, 6375, 25401, 54, 24352, 8, 5923, 1797, 2751, 3268, 15529, 34882, 16289, 3963, 3336, 23210, 3963, 12680, 198, 2, 220, 47466, 11, 45886, 16876, 5984, 29817, 1961, 3963, 3336, 28069, 11584, 25382, 3963, 13558, 3398, 29506, 11879, 13, 198, 2, 198, 29113, 29113, 7804, 2235, 198, 198, 6738, 11593, 37443, 834, 1330, 351, 62, 26090, 198, 198, 11748, 28686, 198, 11748, 25064, 198, 11748, 4423, 346, 198, 11748, 555, 715, 395, 198, 11748, 314, 2943, 382, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 197, 403, 715, 395, 13, 12417, 3419, 198 ]
3.498195
554
"""Pacman game domain.""" from rlpy.Tools import __rlpy_location__ from .Domain import Domain from .PacmanPackage import layout, pacman, game, ghostAgents from .PacmanPackage import graphicsDisplay import numpy as np from copy import deepcopy import os import time __copyright__ = "Copyright 2013, RLPy http://acl.mit.edu/RLPy" __credits__ = ["Alborz Geramifard", "Robert H. Klein", "Christoph Dann", "William Dabney", "Jonathan P. How"] __license__ = "BSD 3-Clause" __author__ = "Austin Hays"
[ 37811, 18844, 805, 983, 7386, 526, 15931, 198, 6738, 374, 75, 9078, 13, 33637, 1330, 11593, 45895, 9078, 62, 24886, 834, 198, 6738, 764, 43961, 1330, 20021, 198, 6738, 764, 18844, 805, 27813, 1330, 12461, 11, 23503, 805, 11, 983, 11, 10905, 10262, 658, 198, 6738, 764, 18844, 805, 27813, 1330, 9382, 23114, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 4866, 1330, 2769, 30073, 198, 11748, 28686, 198, 11748, 640, 198, 198, 834, 22163, 4766, 834, 796, 366, 15269, 2211, 11, 371, 19930, 88, 2638, 1378, 37779, 13, 2781, 13, 15532, 14, 7836, 20519, 1, 198, 834, 66, 20696, 834, 796, 14631, 2348, 2865, 89, 13573, 321, 361, 446, 1600, 366, 19156, 367, 13, 22864, 1600, 366, 10684, 2522, 360, 1236, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 17121, 360, 397, 1681, 1600, 366, 30365, 350, 13, 1374, 8973, 198, 834, 43085, 834, 796, 366, 21800, 513, 12, 2601, 682, 1, 198, 834, 9800, 834, 796, 366, 40245, 367, 592, 1, 628, 198 ]
2.942529
174
from zeit.cms.i18n import MessageFactory as _ import zope.interface import zope.schema
[ 6738, 41271, 270, 13, 46406, 13, 72, 1507, 77, 1330, 16000, 22810, 355, 4808, 198, 11748, 1976, 3008, 13, 39994, 198, 11748, 1976, 3008, 13, 15952, 2611, 628 ]
3.142857
28
N, M = map(int, input().split()) for i in range(1, M + 1): if i % 2 == 1: j = (i - 1) // 2 print(1 + j, M + 1 - j) else: j = (i - 2) // 2 print(M + 2 + j, 2 * M + 1 - j)
[ 45, 11, 337, 796, 3975, 7, 600, 11, 5128, 22446, 35312, 28955, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 337, 1343, 352, 2599, 198, 220, 220, 220, 611, 1312, 4064, 362, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 474, 796, 357, 72, 532, 352, 8, 3373, 362, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 16, 1343, 474, 11, 337, 1343, 352, 532, 474, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 474, 796, 357, 72, 532, 362, 8, 3373, 362, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 44, 1343, 362, 1343, 474, 11, 362, 1635, 337, 1343, 352, 532, 474, 8, 198 ]
1.743802
121
#!/usr/bin/env python # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import re import sys from setuptools import setup from setuptools.command.test import test as TestCommand __version__ = '' with open('facebookbot/__about__.py', 'r') as fd: reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]') for line in fd: m = reg.match(line) if m: __version__ = m.group(1) break with open('README.rst', 'r') as fd: long_description = fd.read() setup( name="fbsdk", version=__version__, author="Sam Chang", author_email="t0915290092@gmail.com", maintainer="Sam Chang", maintainer_email="t0915290092@gmail.com", url="https://github.com/boompieman/fbsdk", description="Facebook Messaging API SDK for Python", long_description=long_description, license='Apache License 2.0', packages=[ "facebookbot", "facebookbot.models" ], install_requires=_requirements(), classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Topic :: Software Development" ] )
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 220, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 345, 743, 198, 2, 220, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 921, 743, 7330, 198, 2, 220, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 220, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 220, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 198, 2, 220, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 4091, 262, 198, 2, 220, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 11247, 198, 2, 220, 739, 262, 13789, 13, 628, 198, 11748, 302, 198, 11748, 25064, 198, 198, 6738, 900, 37623, 10141, 1330, 9058, 198, 6738, 900, 37623, 10141, 13, 21812, 13, 9288, 1330, 1332, 355, 6208, 21575, 198, 198, 834, 9641, 834, 796, 10148, 198, 4480, 1280, 10786, 19024, 13645, 14, 834, 10755, 834, 13, 9078, 3256, 705, 81, 11537, 355, 277, 67, 25, 198, 220, 220, 220, 842, 796, 302, 13, 5589, 576, 7, 81, 6, 834, 9641, 834, 796, 685, 43054, 8973, 26933, 61, 43054, 8973, 28104, 58, 43054, 8973, 11537, 198, 220, 220, 220, 329, 1627, 287, 277, 67, 25, 198, 220, 220, 220, 220, 220, 220, 220, 285, 796, 842, 13, 15699, 7, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 285, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11593, 9641, 834, 796, 285, 13, 8094, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 198, 198, 4480, 1280, 10786, 15675, 11682, 13, 81, 301, 3256, 705, 81, 11537, 355, 277, 67, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 277, 67, 13, 961, 3419, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 2625, 69, 1443, 34388, 1600, 198, 220, 220, 220, 2196, 28, 834, 9641, 834, 11, 198, 220, 220, 220, 1772, 2625, 16305, 22597, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 83, 2931, 1314, 1959, 405, 5892, 31, 14816, 13, 785, 1600, 198, 220, 220, 220, 5529, 263, 2625, 16305, 22597, 1600, 198, 220, 220, 220, 5529, 263, 62, 12888, 2625, 83, 2931, 1314, 1959, 405, 5892, 31, 14816, 13, 785, 1600, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 2127, 3361, 72, 8463, 14, 69, 1443, 34388, 1600, 198, 220, 220, 220, 6764, 2625, 12025, 10626, 3039, 7824, 26144, 329, 11361, 1600, 198, 220, 220, 220, 890, 62, 11213, 28, 6511, 62, 11213, 11, 198, 220, 220, 220, 5964, 11639, 25189, 4891, 13789, 362, 13, 15, 3256, 198, 220, 220, 220, 10392, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 19024, 13645, 1600, 366, 19024, 13645, 13, 27530, 1, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 2721, 62, 47911, 28, 62, 8897, 18883, 22784, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 41206, 12678, 7904, 642, 532, 19174, 14, 1273, 540, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 24843, 10442, 13789, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 34152, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 33221, 7904, 10442, 7712, 1, 198, 220, 220, 220, 2361, 198, 8, 198 ]
2.744186
645
# coding=utf-8 # Copyright (c) Facebook, Inc. and its affiliates. # Copyright (c) HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """PyTorch MMBT model. """ import torch from torch import nn from torch.nn import CrossEntropyLoss, MSELoss from ...file_utils import add_start_docstrings, add_start_docstrings_to_model_forward, replace_return_docstrings from ...modeling_outputs import BaseModelOutputWithPooling, SequenceClassifierOutput from ...modeling_utils import ModuleUtilsMixin from ...utils import logging logger = logging.get_logger(__name__) _CONFIG_FOR_DOC = "MMBTConfig" MMBT_START_DOCSTRING = r""" MMBT model was proposed in [Supervised Multimodal Bitransformers for Classifying Images and Text](https://github.com/facebookresearch/mmbt) by Douwe Kiela, Suvrat Bhooshan, Hamed Firooz, Davide Testuggine. It's a supervised multimodal bitransformer model that fuses information from text and other image encoders, and obtain state-of-the-art performance on various multimodal classification benchmark tasks. This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads etc.) This model is also a PyTorch [torch.nn.Module](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) subclass. Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage and behavior. Parameters: config ([`MMBTConfig`]): Model configuration class with all the parameters of the model. Initializing with a config file does not load the weights associated with the model, only the configuration. transformer (:class: *~nn.Module*): A text transformer that is used by MMBT. It should have embeddings, encoder, and pooler attributes. encoder (:class: *~nn.Module*): Encoder for the second modality. It should take in a batch of modal inputs and return k, n dimension embeddings. """ MMBT_INPUTS_DOCSTRING = r""" Args: input_modal (`torch.FloatTensor` of shape `(batch_size, ***)`): The other modality data. It will be the shape that the encoder for that type expects. e.g. With an Image Encoder, the shape would be (batch_size, channels, height, width) input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): Indices of input sequence tokens in the vocabulary. It does not expect [CLS] token to be added as it's appended to the end of other modality embeddings. Indices can be obtained using [`BertTokenizer`]. See [`PreTrainedTokenizer.encode`] and [`PreTrainedTokenizer.__call__`] for details. [What are input IDs?](../glossary#input-ids) modal_start_tokens (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Optional start token to be added to Other Modality Embedding. [CLS] Most commonly used for classification tasks. modal_end_tokens (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Optional end token to be added to Other Modality Embedding. [SEP] Most commonly used. attention_mask (*optional*) `torch.FloatTensor` of shape `(batch_size, sequence_length)`: Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`: - 1 for tokens that are **not masked**, - 0 for tokens that are **masked**. [What are attention masks?](../glossary#attention-mask) token_type_ids (*optional*) `torch.LongTensor` of shape `(batch_size, sequence_length)`: Segment token indices to indicate first and second portions of the inputs. Indices are selected in `[0, 1]`: - 0 corresponds to a *sentence A* token, - 1 corresponds to a *sentence B* token. [What are token type IDs?](../glossary#token-type-ids) modal_token_type_ids (*optional*) `torch.LongTensor` of shape `(batch_size, modal_sequence_length)`: Segment token indices to indicate different portions of the non-text modality. The embeddings from these tokens will be summed with the respective token embeddings for the non-text modality. position_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0, config.max_position_embeddings - 1]`. [What are position IDs?](../glossary#position-ids) modal_position_ids (`torch.LongTensor` of shape `(batch_size, modal_sequence_length)`, *optional*): Indices of positions of each input sequence tokens in the position embeddings for the non-text modality. Selected in the range `[0, config.max_position_embeddings - 1]`. [What are position IDs?](../glossary#position-ids) head_mask (`torch.FloatTensor` of shape `(num_heads,)` or `(num_layers, num_heads)`, *optional*): Mask to nullify selected heads of the self-attention modules. Mask values selected in `[0, 1]`: - 1 indicates the head is **not masked**, - 0 indicates the head is **masked**. inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, embedding_dim)`, *optional*): Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This is useful if you want more control over how to convert `input_ids` indices into associated vectors than the model's internal embedding lookup matrix. encoder_hidden_states (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`, *optional*): Sequence of hidden-states at the output of the last layer of the encoder. Used in the cross-attention if the model is configured as a decoder. encoder_attention_mask (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*): Mask to avoid performing attention on the padding token indices of the encoder input. This mask is used in the cross-attention if the model is configured as a decoder. Mask values selected in `[0, 1]`: - 1 for tokens that are **not masked**, - 0 for tokens that are **masked**. output_attentions (`bool`, *optional*): Whether or not to return the attentions tensors of all attention layers. See `attentions` under returned tensors for more detail. output_hidden_states (`bool`, *optional*): Whether or not to return the hidden states of all layers. See `hidden_states` under returned tensors for more detail. return_dict (`bool`, *optional*): Whether or not to return a [`~file_utils.ModelOutput`] instead of a plain tuple. """
[ 2, 19617, 28, 40477, 12, 23, 198, 2, 15069, 357, 66, 8, 3203, 11, 3457, 13, 290, 663, 29116, 13, 198, 2, 15069, 357, 66, 8, 12905, 2667, 32388, 3457, 13, 1074, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 37811, 20519, 15884, 354, 337, 10744, 51, 2746, 13, 37227, 628, 198, 11748, 28034, 198, 6738, 28034, 1330, 299, 77, 198, 6738, 28034, 13, 20471, 1330, 6372, 14539, 28338, 43, 793, 11, 6579, 3698, 793, 198, 198, 6738, 2644, 7753, 62, 26791, 1330, 751, 62, 9688, 62, 15390, 37336, 11, 751, 62, 9688, 62, 15390, 37336, 62, 1462, 62, 19849, 62, 11813, 11, 6330, 62, 7783, 62, 15390, 37336, 198, 6738, 2644, 4666, 10809, 62, 22915, 82, 1330, 7308, 17633, 26410, 3152, 27201, 278, 11, 45835, 9487, 7483, 26410, 198, 6738, 2644, 4666, 10809, 62, 26791, 1330, 19937, 18274, 4487, 35608, 259, 198, 6738, 2644, 26791, 1330, 18931, 628, 198, 6404, 1362, 796, 18931, 13, 1136, 62, 6404, 1362, 7, 834, 3672, 834, 8, 198, 198, 62, 10943, 16254, 62, 13775, 62, 38715, 796, 366, 44, 10744, 51, 16934, 1, 628, 198, 198, 44, 10744, 51, 62, 2257, 7227, 62, 38715, 18601, 2751, 796, 374, 37811, 198, 220, 220, 220, 337, 10744, 51, 2746, 373, 5150, 287, 685, 12442, 16149, 7854, 320, 375, 282, 4722, 26084, 687, 364, 329, 5016, 4035, 5382, 290, 8255, 16151, 5450, 1378, 12567, 13, 785, 14, 19024, 34033, 14, 76, 2022, 83, 8, 416, 5728, 732, 509, 8207, 64, 11, 1778, 85, 10366, 347, 8873, 3768, 272, 11, 367, 2434, 376, 7058, 8590, 11, 2544, 485, 6208, 6837, 500, 13, 198, 220, 220, 220, 632, 338, 257, 28679, 43104, 375, 282, 1643, 26084, 16354, 2746, 326, 277, 2664, 1321, 422, 2420, 290, 584, 2939, 2207, 375, 364, 11, 290, 198, 220, 220, 220, 7330, 1181, 12, 1659, 12, 1169, 12, 433, 2854, 319, 2972, 43104, 375, 282, 17923, 18335, 8861, 13, 628, 220, 220, 220, 770, 2746, 10639, 896, 422, 685, 63, 6719, 2898, 1328, 17633, 63, 4083, 6822, 262, 2208, 4871, 10314, 329, 262, 14276, 198, 220, 220, 220, 5050, 262, 5888, 23986, 329, 477, 663, 2746, 357, 10508, 355, 22023, 393, 8914, 11, 581, 2890, 262, 5128, 11525, 67, 654, 11, 198, 220, 220, 220, 778, 46493, 6665, 3503, 2014, 628, 220, 220, 220, 770, 2746, 318, 635, 257, 9485, 15884, 354, 685, 13165, 354, 13, 20471, 13, 26796, 16151, 5450, 1378, 9078, 13165, 354, 13, 2398, 14, 31628, 14, 31284, 14, 20471, 13, 6494, 2, 13165, 354, 13, 20471, 13, 26796, 8, 198, 220, 220, 220, 47611, 13, 5765, 340, 355, 257, 3218, 9485, 15884, 354, 19937, 290, 3522, 284, 262, 9485, 15884, 354, 10314, 329, 477, 2300, 3519, 284, 198, 220, 220, 220, 2276, 8748, 290, 4069, 13, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 29565, 63, 44, 10744, 51, 16934, 63, 60, 2599, 9104, 8398, 1398, 351, 477, 262, 10007, 286, 262, 2746, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20768, 2890, 351, 257, 4566, 2393, 857, 407, 3440, 262, 19590, 3917, 351, 262, 2746, 11, 691, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8398, 13, 198, 220, 220, 220, 220, 220, 220, 220, 47385, 357, 25, 4871, 25, 1635, 93, 20471, 13, 26796, 9, 2599, 317, 2420, 47385, 326, 318, 973, 416, 337, 10744, 51, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 632, 815, 423, 11525, 67, 654, 11, 2207, 12342, 11, 290, 5933, 263, 12608, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2207, 12342, 357, 25, 4871, 25, 1635, 93, 20471, 13, 26796, 9, 2599, 14711, 12342, 329, 262, 1218, 953, 1483, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 632, 815, 1011, 287, 257, 15458, 286, 953, 282, 17311, 290, 1441, 479, 11, 299, 15793, 11525, 67, 654, 13, 198, 37811, 198, 198, 44, 10744, 51, 62, 1268, 30076, 50, 62, 38715, 18601, 2751, 796, 374, 37811, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 4666, 282, 357, 63, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 17202, 8, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 584, 953, 1483, 1366, 13, 632, 481, 307, 262, 5485, 326, 262, 2207, 12342, 329, 326, 2099, 13423, 13, 304, 13, 70, 13, 2080, 281, 7412, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14711, 12342, 11, 262, 5485, 561, 307, 357, 43501, 62, 7857, 11, 9619, 11, 6001, 11, 9647, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 2340, 357, 63, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 8, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1423, 1063, 286, 5128, 8379, 16326, 287, 262, 25818, 13, 632, 857, 407, 1607, 685, 5097, 50, 60, 11241, 284, 307, 2087, 355, 340, 338, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 598, 1631, 284, 262, 886, 286, 584, 953, 1483, 11525, 67, 654, 13, 1423, 1063, 460, 307, 6492, 1262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 63, 33, 861, 30642, 7509, 63, 4083, 4091, 685, 63, 6719, 2898, 1328, 30642, 7509, 13, 268, 8189, 63, 60, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 63, 6719, 2898, 1328, 30642, 7509, 13, 834, 13345, 834, 63, 60, 329, 3307, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2061, 389, 5128, 32373, 30, 16151, 40720, 4743, 793, 560, 2, 15414, 12, 2340, 8, 198, 220, 220, 220, 220, 220, 220, 220, 953, 282, 62, 9688, 62, 83, 482, 641, 357, 63, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 35751, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32233, 923, 11241, 284, 307, 2087, 284, 3819, 3401, 1483, 13302, 6048, 278, 13, 685, 5097, 50, 60, 4042, 8811, 973, 329, 17923, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8861, 13, 198, 220, 220, 220, 220, 220, 220, 220, 953, 282, 62, 437, 62, 83, 482, 641, 357, 63, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 35751, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32233, 886, 11241, 284, 307, 2087, 284, 3819, 3401, 1483, 13302, 6048, 278, 13, 685, 5188, 47, 60, 4042, 8811, 973, 13, 198, 220, 220, 220, 220, 220, 220, 220, 3241, 62, 27932, 20789, 25968, 28104, 4600, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 8, 63, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18007, 284, 3368, 9489, 3241, 319, 24511, 11241, 36525, 13, 18007, 3815, 6163, 287, 4600, 58, 15, 11, 352, 60, 63, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 352, 329, 16326, 326, 389, 12429, 1662, 29229, 1174, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 657, 329, 16326, 326, 389, 12429, 27932, 276, 1174, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2061, 389, 3241, 20680, 30, 16151, 40720, 4743, 793, 560, 2, 1078, 1463, 12, 27932, 8, 198, 220, 220, 220, 220, 220, 220, 220, 11241, 62, 4906, 62, 2340, 20789, 25968, 28104, 4600, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 8, 63, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1001, 5154, 11241, 36525, 284, 7603, 717, 290, 1218, 16690, 286, 262, 17311, 13, 1423, 1063, 389, 6163, 287, 4600, 58, 15, 11, 352, 60, 63, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 657, 24866, 284, 257, 1635, 34086, 594, 317, 9, 11241, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 352, 24866, 284, 257, 1635, 34086, 594, 347, 9, 11241, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2061, 389, 11241, 2099, 32373, 30, 16151, 40720, 4743, 793, 560, 2, 30001, 12, 4906, 12, 2340, 8, 198, 220, 220, 220, 220, 220, 220, 220, 953, 282, 62, 30001, 62, 4906, 62, 2340, 20789, 25968, 28104, 4600, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 953, 282, 62, 43167, 62, 13664, 8, 63, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1001, 5154, 11241, 36525, 284, 7603, 1180, 16690, 286, 262, 1729, 12, 5239, 953, 1483, 13, 383, 11525, 67, 654, 422, 777, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16326, 481, 307, 32794, 351, 262, 11756, 11241, 11525, 67, 654, 329, 262, 1729, 12, 5239, 953, 1483, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2292, 62, 2340, 357, 63, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1423, 1063, 286, 6116, 286, 1123, 5128, 8379, 16326, 287, 262, 2292, 11525, 67, 654, 13, 41344, 287, 262, 2837, 4600, 58, 15, 11, 4566, 13, 9806, 62, 9150, 62, 20521, 67, 654, 532, 352, 60, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2061, 389, 2292, 32373, 30, 16151, 40720, 4743, 793, 560, 2, 9150, 12, 2340, 8, 198, 220, 220, 220, 220, 220, 220, 220, 953, 282, 62, 9150, 62, 2340, 357, 63, 13165, 354, 13, 14617, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 953, 282, 62, 43167, 62, 13664, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1423, 1063, 286, 6116, 286, 1123, 5128, 8379, 16326, 287, 262, 2292, 11525, 67, 654, 329, 262, 1729, 12, 5239, 953, 1483, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41344, 287, 262, 2837, 4600, 58, 15, 11, 4566, 13, 9806, 62, 9150, 62, 20521, 67, 654, 532, 352, 60, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2061, 389, 2292, 32373, 30, 16151, 40720, 4743, 793, 560, 2, 9150, 12, 2340, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1182, 62, 27932, 357, 63, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 22510, 62, 16600, 35751, 63, 393, 4600, 7, 22510, 62, 75, 6962, 11, 997, 62, 16600, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18007, 284, 9242, 1958, 6163, 6665, 286, 262, 2116, 12, 1078, 1463, 13103, 13, 18007, 3815, 6163, 287, 4600, 58, 15, 11, 352, 60, 63, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 352, 9217, 262, 1182, 318, 12429, 1662, 29229, 1174, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 657, 9217, 262, 1182, 318, 12429, 27932, 276, 1174, 13, 628, 220, 220, 220, 220, 220, 220, 220, 17311, 62, 20521, 82, 357, 63, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 11, 11525, 12083, 62, 27740, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16018, 453, 11, 2427, 286, 6427, 4600, 15414, 62, 2340, 63, 345, 460, 3853, 284, 3264, 1208, 281, 14553, 10552, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 770, 318, 4465, 611, 345, 765, 517, 1630, 625, 703, 284, 10385, 4600, 15414, 62, 2340, 63, 36525, 656, 3917, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30104, 621, 262, 2746, 338, 5387, 11525, 12083, 35847, 17593, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2207, 12342, 62, 30342, 62, 27219, 357, 63, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 11, 7104, 62, 7857, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45835, 286, 7104, 12, 27219, 379, 262, 5072, 286, 262, 938, 7679, 286, 262, 2207, 12342, 13, 16718, 287, 262, 3272, 12, 1078, 1463, 611, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 2746, 318, 17839, 355, 257, 875, 12342, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2207, 12342, 62, 1078, 1463, 62, 27932, 357, 63, 13165, 354, 13, 43879, 51, 22854, 63, 286, 5485, 4600, 7, 43501, 62, 7857, 11, 8379, 62, 13664, 8, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18007, 284, 3368, 9489, 3241, 319, 262, 24511, 11241, 36525, 286, 262, 2207, 12342, 5128, 13, 770, 9335, 318, 973, 287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 3272, 12, 1078, 1463, 611, 262, 2746, 318, 17839, 355, 257, 875, 12342, 13, 18007, 3815, 6163, 287, 4600, 58, 15, 11, 352, 60, 63, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 352, 329, 16326, 326, 389, 12429, 1662, 29229, 1174, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 657, 329, 16326, 326, 389, 12429, 27932, 276, 1174, 13, 628, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 1078, 298, 507, 357, 63, 30388, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 1441, 262, 32649, 507, 11192, 669, 286, 477, 3241, 11685, 13, 4091, 4600, 1078, 298, 507, 63, 739, 4504, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11192, 669, 329, 517, 3703, 13, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 30342, 62, 27219, 357, 63, 30388, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 1441, 262, 7104, 2585, 286, 477, 11685, 13, 4091, 4600, 30342, 62, 27219, 63, 739, 4504, 11192, 669, 329, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 517, 3703, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 11600, 357, 63, 30388, 47671, 1635, 25968, 9, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 1441, 257, 685, 63, 93, 7753, 62, 26791, 13, 17633, 26410, 63, 60, 2427, 286, 257, 8631, 46545, 13, 198, 37811, 628, 198 ]
2.849831
2,657
from abc import ( ABC, abstractmethod, ) import logging from typing import ( TYPE_CHECKING, Tuple, Type, ) from eth._utils.datatypes import ( Configurable, ) from eth.db.backends.base import ( BaseAtomicDB, ) from eth.exceptions import ( BlockNotFound, ) from eth.validation import ( validate_word, ) from eth_typing import ( Hash32, ) from eth_utils import ( ValidationError, encode_hex, ) from eth2._utils.ssz import ( validate_imported_block_unchanged, ) from eth2.beacon.db.chain import ( BaseBeaconChainDB, BeaconChainDB, ) from eth2.beacon.exceptions import ( BlockClassError, StateMachineNotFound, ) from eth2.beacon.types.blocks import ( BaseBeaconBlock, ) from eth2.beacon.types.states import ( BeaconState, ) from eth2.beacon.typing import ( FromBlockParams, Slot, ) from eth2.beacon.validation import ( validate_slot, ) if TYPE_CHECKING: from eth2.beacon.state_machines.base import ( # noqa: F401 BaseBeaconStateMachine, ) # # Block API # def get_block_class(self, block_root: Hash32) -> Type[BaseBeaconBlock]: slot = self.chaindb.get_slot_by_root(block_root) sm_class = self.get_state_machine_class_for_block_slot(slot) block_class = sm_class.block_class return block_class def create_block_from_parent(self, parent_block: BaseBeaconBlock, block_params: FromBlockParams) -> BaseBeaconBlock: """ Passthrough helper to the ``StateMachine`` class of the block descending from the given block. """ return self.get_state_machine_class_for_block_slot( slot=parent_block.slot + 1 if block_params.slot is None else block_params.slot, ).create_block_from_parent(parent_block, block_params) def get_block_by_root(self, block_root: Hash32) -> BaseBeaconBlock: """ Return the requested block as specified by block hash. Raise ``BlockNotFound`` if there's no block with the given hash in the db. """ validate_word(block_root, title="Block Hash") block_class = self.get_block_class(block_root) return self.chaindb.get_block_by_root(block_root, block_class) def get_canonical_head(self) -> BaseBeaconBlock: """ Return the block at the canonical chain head. Raise ``CanonicalHeadNotFound`` if there's no head defined for the canonical chain. """ block_root = self.chaindb.get_canonical_head_root() block_class = self.get_block_class(block_root) return self.chaindb.get_block_by_root(block_root, block_class) def get_score(self, block_root: Hash32) -> int: """ Return the score of the block with the given hash. Raise ``BlockNotFound`` if there is no matching black hash. """ return self.chaindb.get_score(block_root) def ensure_block(self, block: BaseBeaconBlock=None) -> BaseBeaconBlock: """ Return ``block`` if it is not ``None``, otherwise return the block of the canonical head. """ if block is None: head = self.get_canonical_head() return self.create_block_from_parent(head, FromBlockParams()) else: return block def get_block(self) -> BaseBeaconBlock: """ Return the current TIP block. """ return self.get_state_machine().block def get_canonical_block_by_slot(self, slot: Slot) -> BaseBeaconBlock: """ Return the block with the given number in the canonical chain. Raise ``BlockNotFound`` if there's no block with the given number in the canonical chain. """ validate_slot(slot) return self.get_block_by_root(self.chaindb.get_canonical_block_root(slot)) def get_canonical_block_root(self, slot: Slot) -> Hash32: """ Return the block hash with the given number in the canonical chain. Raise ``BlockNotFound`` if there's no block with the given number in the canonical chain. """ return self.chaindb.get_canonical_block_root(slot) def import_block( self, block: BaseBeaconBlock, perform_validation: bool=True ) -> Tuple[BaseBeaconBlock, Tuple[BaseBeaconBlock, ...], Tuple[BaseBeaconBlock, ...]]: """ Import a complete block and returns a 3-tuple - the imported block - a tuple of blocks which are now part of the canonical chain. - a tuple of blocks which were canonical and now are no longer canonical. """ try: parent_block = self.get_block_by_root(block.previous_block_root) except BlockNotFound: raise ValidationError( "Attempt to import block #{}. Cannot import block {} before importing " "its parent block at {}".format( block.slot, block.signed_root, block.previous_block_root, ) ) base_block_for_import = self.create_block_from_parent( parent_block, FromBlockParams(), ) state, imported_block = self.get_state_machine(base_block_for_import).import_block(block) # Validate the imported block. if perform_validation: validate_imported_block_unchanged(imported_block, block) # TODO: Now it just persists all state. Should design how to clean up the old state. self.chaindb.persist_state(state) ( new_canonical_blocks, old_canonical_blocks, ) = self.chaindb.persist_block(imported_block, imported_block.__class__) self.logger.debug( 'IMPORTED_BLOCK: slot %s | signed root %s', imported_block.slot, encode_hex(imported_block.signed_root), ) return imported_block, new_canonical_blocks, old_canonical_blocks
[ 6738, 450, 66, 1330, 357, 198, 220, 220, 220, 9738, 11, 198, 220, 220, 220, 12531, 24396, 11, 198, 8, 198, 11748, 18931, 198, 6738, 19720, 1330, 357, 198, 220, 220, 220, 41876, 62, 50084, 2751, 11, 198, 220, 220, 220, 309, 29291, 11, 198, 220, 220, 220, 5994, 11, 198, 8, 198, 198, 6738, 4555, 13557, 26791, 13, 19608, 265, 9497, 1330, 357, 198, 220, 220, 220, 17056, 11970, 11, 198, 8, 198, 6738, 4555, 13, 9945, 13, 1891, 2412, 13, 8692, 1330, 357, 198, 220, 220, 220, 7308, 2953, 10179, 11012, 11, 198, 8, 198, 6738, 4555, 13, 1069, 11755, 1330, 357, 198, 220, 220, 220, 9726, 3673, 21077, 11, 198, 8, 198, 6738, 4555, 13, 12102, 341, 1330, 357, 198, 220, 220, 220, 26571, 62, 4775, 11, 198, 8, 198, 6738, 4555, 62, 774, 13886, 1330, 357, 198, 220, 220, 220, 21059, 2624, 11, 198, 8, 198, 6738, 4555, 62, 26791, 1330, 357, 198, 220, 220, 220, 3254, 24765, 12331, 11, 198, 220, 220, 220, 37773, 62, 33095, 11, 198, 8, 198, 198, 6738, 4555, 17, 13557, 26791, 13, 824, 89, 1330, 357, 198, 220, 220, 220, 26571, 62, 320, 9213, 62, 9967, 62, 3316, 5102, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 9945, 13, 7983, 1330, 357, 198, 220, 220, 220, 7308, 3856, 7807, 35491, 11012, 11, 198, 220, 220, 220, 29729, 35491, 11012, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 1069, 11755, 1330, 357, 198, 220, 220, 220, 9726, 9487, 12331, 11, 198, 220, 220, 220, 1812, 37573, 3673, 21077, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 19199, 13, 27372, 1330, 357, 198, 220, 220, 220, 7308, 3856, 7807, 12235, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 19199, 13, 27219, 1330, 357, 198, 220, 220, 220, 29729, 9012, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 774, 13886, 1330, 357, 198, 220, 220, 220, 3574, 12235, 10044, 4105, 11, 198, 220, 220, 220, 32026, 11, 198, 8, 198, 6738, 4555, 17, 13, 1350, 7807, 13, 12102, 341, 1330, 357, 198, 220, 220, 220, 26571, 62, 43384, 11, 198, 8, 198, 198, 361, 41876, 62, 50084, 2751, 25, 198, 220, 220, 220, 422, 4555, 17, 13, 1350, 7807, 13, 5219, 62, 76, 620, 1127, 13, 8692, 1330, 357, 220, 1303, 645, 20402, 25, 376, 21844, 198, 220, 220, 220, 220, 220, 220, 220, 7308, 3856, 7807, 9012, 37573, 11, 198, 220, 220, 220, 1267, 628, 628, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 9726, 7824, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 825, 651, 62, 9967, 62, 4871, 7, 944, 11, 2512, 62, 15763, 25, 21059, 2624, 8, 4613, 5994, 58, 14881, 3856, 7807, 12235, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 10852, 796, 2116, 13, 7983, 9945, 13, 1136, 62, 43384, 62, 1525, 62, 15763, 7, 9967, 62, 15763, 8, 198, 220, 220, 220, 220, 220, 220, 220, 895, 62, 4871, 796, 2116, 13, 1136, 62, 5219, 62, 30243, 62, 4871, 62, 1640, 62, 9967, 62, 43384, 7, 43384, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 4871, 796, 895, 62, 4871, 13, 9967, 62, 4871, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2512, 62, 4871, 628, 220, 220, 220, 825, 2251, 62, 9967, 62, 6738, 62, 8000, 7, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 62, 9967, 25, 7308, 3856, 7807, 12235, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 37266, 25, 3574, 12235, 10044, 4105, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 17454, 48476, 740, 31904, 284, 262, 7559, 9012, 37573, 15506, 1398, 286, 262, 2512, 31491, 422, 262, 198, 220, 220, 220, 220, 220, 220, 220, 1813, 2512, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 62, 5219, 62, 30243, 62, 4871, 62, 1640, 62, 9967, 62, 43384, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10852, 28, 8000, 62, 9967, 13, 43384, 1343, 352, 611, 2512, 62, 37266, 13, 43384, 318, 6045, 2073, 2512, 62, 37266, 13, 43384, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6739, 17953, 62, 9967, 62, 6738, 62, 8000, 7, 8000, 62, 9967, 11, 2512, 62, 37266, 8, 628, 220, 220, 220, 825, 651, 62, 9967, 62, 1525, 62, 15763, 7, 944, 11, 2512, 62, 15763, 25, 21059, 2624, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 9167, 2512, 355, 7368, 416, 2512, 12234, 13, 628, 220, 220, 220, 220, 220, 220, 220, 35123, 7559, 12235, 3673, 21077, 15506, 611, 612, 338, 645, 2512, 351, 262, 1813, 12234, 287, 262, 20613, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26571, 62, 4775, 7, 9967, 62, 15763, 11, 3670, 2625, 12235, 21059, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 4871, 796, 2116, 13, 1136, 62, 9967, 62, 4871, 7, 9967, 62, 15763, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 7983, 9945, 13, 1136, 62, 9967, 62, 1525, 62, 15763, 7, 9967, 62, 15763, 11, 2512, 62, 4871, 8, 628, 220, 220, 220, 825, 651, 62, 49883, 605, 62, 2256, 7, 944, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 2512, 379, 262, 40091, 6333, 1182, 13, 628, 220, 220, 220, 220, 220, 220, 220, 35123, 7559, 6090, 261, 605, 13847, 3673, 21077, 15506, 611, 612, 338, 645, 1182, 5447, 329, 262, 40091, 6333, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 15763, 796, 2116, 13, 7983, 9945, 13, 1136, 62, 49883, 605, 62, 2256, 62, 15763, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 4871, 796, 2116, 13, 1136, 62, 9967, 62, 4871, 7, 9967, 62, 15763, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 7983, 9945, 13, 1136, 62, 9967, 62, 1525, 62, 15763, 7, 9967, 62, 15763, 11, 2512, 62, 4871, 8, 628, 220, 220, 220, 825, 651, 62, 26675, 7, 944, 11, 2512, 62, 15763, 25, 21059, 2624, 8, 4613, 493, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 4776, 286, 262, 2512, 351, 262, 1813, 12234, 13, 628, 220, 220, 220, 220, 220, 220, 220, 35123, 7559, 12235, 3673, 21077, 15506, 611, 612, 318, 645, 12336, 2042, 12234, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 7983, 9945, 13, 1136, 62, 26675, 7, 9967, 62, 15763, 8, 628, 220, 220, 220, 825, 4155, 62, 9967, 7, 944, 11, 2512, 25, 7308, 3856, 7807, 12235, 28, 14202, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 7559, 9967, 15506, 611, 340, 318, 407, 7559, 14202, 15506, 11, 4306, 1441, 262, 2512, 198, 220, 220, 220, 220, 220, 220, 220, 286, 262, 40091, 1182, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2512, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1182, 796, 2116, 13, 1136, 62, 49883, 605, 62, 2256, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 17953, 62, 9967, 62, 6738, 62, 8000, 7, 2256, 11, 3574, 12235, 10044, 4105, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2512, 628, 220, 220, 220, 825, 651, 62, 9967, 7, 944, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 1459, 309, 4061, 2512, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 62, 5219, 62, 30243, 22446, 9967, 628, 220, 220, 220, 825, 651, 62, 49883, 605, 62, 9967, 62, 1525, 62, 43384, 7, 944, 11, 10852, 25, 32026, 8, 4613, 7308, 3856, 7807, 12235, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 2512, 351, 262, 1813, 1271, 287, 262, 40091, 6333, 13, 628, 220, 220, 220, 220, 220, 220, 220, 35123, 7559, 12235, 3673, 21077, 15506, 611, 612, 338, 645, 2512, 351, 262, 1813, 1271, 287, 262, 198, 220, 220, 220, 220, 220, 220, 220, 40091, 6333, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26571, 62, 43384, 7, 43384, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 62, 9967, 62, 1525, 62, 15763, 7, 944, 13, 7983, 9945, 13, 1136, 62, 49883, 605, 62, 9967, 62, 15763, 7, 43384, 4008, 628, 220, 220, 220, 825, 651, 62, 49883, 605, 62, 9967, 62, 15763, 7, 944, 11, 10852, 25, 32026, 8, 4613, 21059, 2624, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 2512, 12234, 351, 262, 1813, 1271, 287, 262, 40091, 6333, 13, 628, 220, 220, 220, 220, 220, 220, 220, 35123, 7559, 12235, 3673, 21077, 15506, 611, 612, 338, 645, 2512, 351, 262, 1813, 1271, 287, 262, 198, 220, 220, 220, 220, 220, 220, 220, 40091, 6333, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 7983, 9945, 13, 1136, 62, 49883, 605, 62, 9967, 62, 15763, 7, 43384, 8, 628, 220, 220, 220, 825, 1330, 62, 9967, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 25, 7308, 3856, 7807, 12235, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1620, 62, 12102, 341, 25, 20512, 28, 17821, 198, 220, 220, 220, 1267, 4613, 309, 29291, 58, 14881, 3856, 7807, 12235, 11, 309, 29291, 58, 14881, 3856, 7807, 12235, 11, 2644, 4357, 309, 29291, 58, 14881, 3856, 7807, 12235, 11, 2644, 60, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 17267, 257, 1844, 2512, 290, 5860, 257, 513, 12, 83, 29291, 628, 220, 220, 220, 220, 220, 220, 220, 532, 262, 17392, 2512, 198, 220, 220, 220, 220, 220, 220, 220, 532, 257, 46545, 286, 7021, 543, 389, 783, 636, 286, 262, 40091, 6333, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 257, 46545, 286, 7021, 543, 547, 40091, 290, 783, 389, 645, 2392, 40091, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 62, 9967, 796, 2116, 13, 1136, 62, 9967, 62, 1525, 62, 15763, 7, 9967, 13, 3866, 1442, 62, 9967, 62, 15763, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 9726, 3673, 21077, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3254, 24765, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 37177, 284, 1330, 2512, 1303, 90, 27422, 220, 26003, 1330, 2512, 23884, 878, 33332, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 896, 2560, 2512, 379, 23884, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 13, 43384, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 13, 32696, 62, 15763, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 13, 3866, 1442, 62, 9967, 62, 15763, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 9967, 62, 1640, 62, 11748, 796, 2116, 13, 17953, 62, 9967, 62, 6738, 62, 8000, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 62, 9967, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3574, 12235, 10044, 4105, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 11, 17392, 62, 9967, 796, 2116, 13, 1136, 62, 5219, 62, 30243, 7, 8692, 62, 9967, 62, 1640, 62, 11748, 737, 11748, 62, 9967, 7, 9967, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3254, 20540, 262, 17392, 2512, 13, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1620, 62, 12102, 341, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26571, 62, 320, 9213, 62, 9967, 62, 3316, 5102, 7, 320, 9213, 62, 9967, 11, 2512, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 2735, 340, 655, 35545, 477, 1181, 13, 10358, 1486, 703, 284, 3424, 510, 262, 1468, 1181, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 7983, 9945, 13, 19276, 396, 62, 5219, 7, 5219, 8, 628, 220, 220, 220, 220, 220, 220, 220, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 62, 49883, 605, 62, 27372, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 49883, 605, 62, 27372, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 796, 2116, 13, 7983, 9945, 13, 19276, 396, 62, 9967, 7, 320, 9213, 62, 9967, 11, 17392, 62, 9967, 13, 834, 4871, 834, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 6404, 1362, 13, 24442, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 3955, 15490, 1961, 62, 9148, 11290, 25, 10852, 4064, 82, 930, 4488, 6808, 4064, 82, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17392, 62, 9967, 13, 43384, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37773, 62, 33095, 7, 320, 9213, 62, 9967, 13, 32696, 62, 15763, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 17392, 62, 9967, 11, 649, 62, 49883, 605, 62, 27372, 11, 1468, 62, 49883, 605, 62, 27372, 198 ]
2.345961
2,587
#!/usr/local/bin/python3 import paramiko,time #using as SSH Client client = paramiko.SSHClient() # check dir(client) to find available options. # auto adjust host key verification with yes or no client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) # time for connecting to remote Cisco IOS """ Manually taking input addr = input('Provide IP address to connect to: ') user = input('Username: ') pwd = getpass.getpass('Password: ')""" # Taking input from files f1 = open("devices.txt","r") f2 = open("commands.txt","r") for line in f1: client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) data = line.split(" ") # print(data) addr = data[0] user = data[1] pwd = data[2] f3 = open(addr+".txt","w+") # print(addr +" "+ user +" " +pwd) client.connect(addr,username=user,password=pwd,allow_agent=False,look_for_keys=False) # we have to ask for Shell device_access = client.invoke_shell() for line in f2: device_access.send(line) time.sleep(1) output = device_access.recv(55000).decode('ascii') f3.write(output) """ THIS CODE IS FOR SINGLE COMMAND, FOR MULTIPLE COMMANDS CODE BELOW # send command to the device device_access.send("ter len 0\nshow run \n") time.sleep(2) # receive output from the device, convert it to byte-like format and print it print(device_access.recv(550000).decode('ascii')) # We can print the same to a file too with open("csr1000v.txt","w") as f: f.write(device_access.recv(550000).decode('ascii'))"""
[ 2, 48443, 14629, 14, 12001, 14, 8800, 14, 29412, 18, 198, 198, 11748, 5772, 12125, 11, 2435, 198, 198, 2, 3500, 355, 33825, 20985, 198, 198, 16366, 796, 5772, 12125, 13, 5432, 39, 11792, 3419, 198, 198, 2, 2198, 26672, 7, 16366, 8, 284, 1064, 1695, 3689, 13, 198, 2, 8295, 4532, 2583, 1994, 19637, 351, 3763, 393, 645, 198, 16366, 13, 2617, 62, 45688, 62, 4774, 62, 2539, 62, 30586, 7, 17143, 12125, 13, 27722, 4550, 36727, 28955, 198, 198, 2, 640, 329, 14320, 284, 6569, 28289, 314, 2640, 198, 37811, 198, 5124, 935, 2263, 5128, 198, 29851, 796, 5128, 10786, 15946, 485, 6101, 2209, 284, 2018, 284, 25, 705, 8, 198, 7220, 796, 5128, 10786, 5842, 13292, 25, 705, 8, 198, 79, 16993, 796, 651, 6603, 13, 1136, 6603, 10786, 35215, 25, 705, 8, 37811, 198, 198, 2, 20879, 5128, 422, 3696, 198, 198, 69, 16, 796, 1280, 7203, 42034, 13, 14116, 2430, 81, 4943, 198, 69, 17, 796, 1280, 7203, 9503, 1746, 13, 14116, 2430, 81, 4943, 198, 198, 1640, 1627, 287, 277, 16, 25, 628, 220, 220, 220, 5456, 796, 5772, 12125, 13, 5432, 39, 11792, 3419, 198, 220, 220, 220, 5456, 13, 2617, 62, 45688, 62, 4774, 62, 2539, 62, 30586, 7, 17143, 12125, 13, 27722, 4550, 36727, 28955, 198, 220, 220, 220, 1366, 796, 1627, 13, 35312, 7203, 366, 8, 198, 2, 220, 220, 220, 3601, 7, 7890, 8, 198, 220, 220, 220, 37817, 796, 1366, 58, 15, 60, 198, 220, 220, 220, 2836, 796, 1366, 58, 16, 60, 198, 220, 220, 220, 279, 16993, 796, 1366, 58, 17, 60, 628, 220, 220, 220, 277, 18, 796, 1280, 7, 29851, 10, 1911, 14116, 2430, 86, 10, 4943, 198, 198, 2, 3601, 7, 29851, 1343, 1, 43825, 2836, 1343, 1, 366, 1343, 79, 16993, 8, 628, 220, 220, 220, 5456, 13, 8443, 7, 29851, 11, 29460, 28, 7220, 11, 28712, 28, 79, 16993, 11, 12154, 62, 25781, 28, 25101, 11, 5460, 62, 1640, 62, 13083, 28, 25101, 8, 198, 198, 2, 356, 423, 284, 1265, 329, 17537, 628, 220, 220, 220, 3335, 62, 15526, 796, 5456, 13, 37669, 62, 29149, 3419, 628, 198, 220, 220, 220, 329, 1627, 287, 277, 17, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 15526, 13, 21280, 7, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8, 628, 220, 220, 220, 5072, 796, 3335, 62, 15526, 13, 8344, 85, 7, 2816, 830, 737, 12501, 1098, 10786, 292, 979, 72, 11537, 198, 220, 220, 220, 277, 18, 13, 13564, 7, 22915, 8, 198, 198, 37811, 198, 43559, 42714, 3180, 7473, 311, 2751, 2538, 22240, 6981, 11, 7473, 337, 16724, 4061, 2538, 9440, 10725, 5258, 42714, 45339, 198, 198, 2, 3758, 3141, 284, 262, 3335, 198, 220, 220, 220, 3335, 62, 15526, 13, 21280, 7203, 353, 18896, 657, 59, 77, 12860, 1057, 3467, 77, 4943, 198, 220, 220, 220, 640, 13, 42832, 7, 17, 8, 198, 198, 2, 3328, 5072, 422, 262, 3335, 11, 10385, 340, 284, 18022, 12, 2339, 5794, 290, 3601, 340, 198, 4798, 7, 25202, 62, 15526, 13, 8344, 85, 7, 2816, 2388, 737, 12501, 1098, 10786, 292, 979, 72, 6, 4008, 198, 198, 2, 775, 460, 3601, 262, 976, 284, 257, 2393, 1165, 198, 198, 4480, 1280, 7203, 6359, 81, 12825, 85, 13, 14116, 2430, 86, 4943, 355, 277, 25, 198, 220, 220, 220, 277, 13, 13564, 7, 25202, 62, 15526, 13, 8344, 85, 7, 2816, 2388, 737, 12501, 1098, 10786, 292, 979, 72, 6, 4008, 37811 ]
2.658744
589
# for n in range(400,500): # i = n // 100 # j = n // 10 % 10 # k = n % 10 # if n == i ** 3 + j ** 3 + k ** 3: # print(n) # (16) # input("():") # s1 = input("():") # l1 = s1.split(' ') # l2 = [] # for i in l1: # if i.isdigit(): # l2.append(int(i)) # for i in l2: # if not (i % 6): # print(i, end=" ") # (17) out_l1 = [] while 1: in_1 = input(":") nums_l1 = in_1.split(' ')
[ 2, 329, 299, 287, 2837, 7, 7029, 11, 4059, 2599, 198, 2, 220, 220, 220, 220, 1312, 796, 299, 3373, 1802, 198, 2, 220, 220, 220, 220, 474, 796, 299, 3373, 838, 4064, 838, 198, 2, 220, 220, 220, 220, 479, 796, 299, 4064, 838, 198, 2, 220, 220, 220, 220, 611, 299, 6624, 1312, 12429, 513, 1343, 474, 12429, 513, 1343, 479, 12429, 513, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 77, 8, 628, 198, 2, 357, 1433, 8, 198, 2, 5128, 7203, 33529, 4943, 198, 2, 264, 16, 796, 5128, 7203, 33529, 4943, 198, 198, 2, 300, 16, 796, 264, 16, 13, 35312, 10786, 705, 8, 198, 2, 300, 17, 796, 17635, 198, 2, 329, 1312, 287, 300, 16, 25, 198, 2, 220, 220, 220, 220, 611, 1312, 13, 9409, 328, 270, 33529, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 300, 17, 13, 33295, 7, 600, 7, 72, 4008, 198, 198, 2, 329, 1312, 287, 300, 17, 25, 198, 2, 220, 220, 220, 220, 611, 407, 357, 72, 4064, 718, 2599, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 72, 11, 886, 2625, 366, 8, 198, 198, 2, 357, 1558, 8, 198, 448, 62, 75, 16, 796, 17635, 198, 198, 4514, 352, 25, 198, 220, 220, 220, 287, 62, 16, 796, 5128, 7, 2404, 8, 198, 220, 220, 220, 997, 82, 62, 75, 16, 796, 287, 62, 16, 13, 35312, 10786, 705, 8, 628, 628, 628, 628, 628, 628, 198 ]
1.74902
255
""" A query transformer is a function that accepts a program and returns a program, plus a priority level. Higher priority transformers are placed closer to the front of the list. Were ensuring is a function, because were going to evaluate it later 31 . Well assume there wont be an enormous number of transformer additions, and walk the list linearly to add a new one. Well leave a note in case this assumption turns out to be false a binary search is much more time-optimal for long lists, but adds a little complexity and doesnt really speed up short lists. """ """ Dagoba.T = [] # transformers (more than meets the eye) """ """ Dagoba.addTransformer = function(fun, priority) { if(typeof fun != 'function') return Dagoba.error('Invalid transformer function') for(var i = 0; i < Dagoba.T.length; i++) # OPT: binary search if(priority > Dagoba.T[i].priority) break Dagoba.T.splice(i, 0, {priority: priority, fun: fun}) } """ """ Dagoba.transform = function(program) { return Dagoba.T.reduce(function(acc, transformer) { return transformer.fun(acc) }, program) } """ """ Dagoba.addAlias = function(newname, oldname, defaults) { defaults = defaults || [] # default arguments for the alias Dagoba.addPipetype(newname, function() {}) # because there's no method catchall in js Dagoba.addTransformer(function(program) { return program.map(function(step) { if(step[0] != newname) return step return [oldname, Dagoba.extend(step[1], defaults)] }) }, 100) # these need to run early, so they get a high priority } """ """ Dagoba.extend = function(list, defaults) { return Object.keys(defaults).reduce(function(acc, key) { if(typeof list[key] != 'undefined') return acc acc[key] = defaults[key] return acc }, list) } """
[ 37811, 198, 32, 12405, 47385, 318, 257, 2163, 326, 18178, 257, 1430, 290, 5860, 257, 1430, 11, 5556, 257, 8475, 1241, 13, 198, 48708, 8475, 6121, 364, 389, 4624, 5699, 284, 262, 2166, 286, 262, 1351, 13, 15176, 13359, 318, 257, 2163, 11, 198, 13893, 547, 1016, 284, 13446, 340, 1568, 3261, 764, 198, 5779, 7048, 612, 28329, 307, 281, 9812, 1271, 286, 47385, 19885, 11, 198, 392, 2513, 262, 1351, 9493, 11458, 284, 751, 257, 649, 530, 13, 198, 5779, 2666, 257, 3465, 287, 1339, 428, 13196, 4962, 503, 284, 307, 3991, 220, 198, 64, 13934, 2989, 318, 881, 517, 640, 12, 8738, 4402, 329, 890, 8341, 11, 198, 4360, 6673, 257, 1310, 13357, 290, 46701, 1107, 2866, 510, 1790, 8341, 13, 198, 37811, 628, 198, 37811, 198, 198, 35, 363, 19981, 13, 51, 796, 17635, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6121, 364, 357, 3549, 621, 11185, 262, 4151, 8, 198, 37811, 198, 198, 37811, 198, 35, 363, 19981, 13, 2860, 8291, 16354, 796, 2163, 7, 12543, 11, 8475, 8, 1391, 198, 220, 611, 7, 4906, 1659, 1257, 14512, 705, 8818, 11537, 198, 220, 220, 220, 1441, 32167, 19981, 13, 18224, 10786, 44651, 47385, 2163, 11537, 628, 220, 329, 7, 7785, 1312, 796, 657, 26, 1312, 1279, 32167, 19981, 13, 51, 13, 13664, 26, 1312, 29577, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 39852, 25, 13934, 2989, 198, 220, 220, 220, 611, 7, 49336, 1875, 32167, 19981, 13, 51, 58, 72, 4083, 49336, 8, 2270, 628, 220, 32167, 19981, 13, 51, 13, 22018, 501, 7, 72, 11, 657, 11, 1391, 49336, 25, 8475, 11, 1257, 25, 1257, 30072, 198, 92, 198, 37811, 198, 198, 37811, 198, 35, 363, 19981, 13, 35636, 796, 2163, 7, 23065, 8, 1391, 198, 220, 1441, 32167, 19981, 13, 51, 13, 445, 7234, 7, 8818, 7, 4134, 11, 47385, 8, 1391, 198, 220, 220, 220, 1441, 47385, 13, 12543, 7, 4134, 8, 198, 220, 8964, 1430, 8, 198, 92, 198, 37811, 198, 198, 37811, 198, 198, 35, 363, 19981, 13, 2860, 40489, 796, 2163, 7, 3605, 3672, 11, 1468, 3672, 11, 26235, 8, 1391, 198, 220, 26235, 796, 26235, 8614, 17635, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4277, 7159, 329, 262, 16144, 198, 220, 32167, 19981, 13, 2860, 47, 541, 2963, 431, 7, 3605, 3672, 11, 2163, 3419, 23884, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 780, 612, 338, 645, 2446, 4929, 439, 287, 44804, 198, 220, 32167, 19981, 13, 2860, 8291, 16354, 7, 8818, 7, 23065, 8, 1391, 198, 220, 220, 220, 1441, 1430, 13, 8899, 7, 8818, 7, 9662, 8, 1391, 198, 220, 220, 220, 220, 220, 611, 7, 9662, 58, 15, 60, 14512, 649, 3672, 8, 1441, 2239, 198, 220, 220, 220, 220, 220, 1441, 685, 727, 3672, 11, 32167, 19981, 13, 2302, 437, 7, 9662, 58, 16, 4357, 26235, 15437, 198, 220, 220, 220, 32092, 198, 220, 8964, 1802, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 777, 761, 284, 1057, 1903, 11, 523, 484, 651, 257, 1029, 8475, 198, 92, 198, 37811, 198, 198, 37811, 198, 35, 363, 19981, 13, 2302, 437, 796, 2163, 7, 4868, 11, 26235, 8, 1391, 198, 220, 1441, 9515, 13, 13083, 7, 12286, 82, 737, 445, 7234, 7, 8818, 7, 4134, 11, 1994, 8, 1391, 198, 220, 220, 220, 611, 7, 4906, 1659, 1351, 58, 2539, 60, 14512, 705, 917, 18156, 11537, 1441, 697, 198, 220, 220, 220, 697, 58, 2539, 60, 796, 26235, 58, 2539, 60, 198, 220, 220, 220, 1441, 697, 198, 220, 8964, 1351, 8, 198, 92, 198, 37811, 198 ]
2.632979
752
#!/usr/bin/python3.6.8+ # -*- coding:utf-8 -*- """ @auth: cml @date: 2020-12-2 @desc: ... """
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 13, 21, 13, 23, 10, 198, 2, 532, 9, 12, 19617, 25, 40477, 12, 23, 532, 9, 12, 198, 37811, 198, 31, 18439, 25, 269, 4029, 198, 31, 4475, 25, 12131, 12, 1065, 12, 17, 198, 31, 20147, 25, 2644, 198, 37811, 628, 198 ]
1.846154
52
# -*- coding: utf-8 -*- """ pyboleto.html ~~~~~~~~~~~~~ Classe Responsvel por fazer o output do boleto em html. :copyright: 2012 by Artur Felipe de Sousa :license: BSD, see LICENSE for more details. """ import os import string import sys import codecs import base64 from itertools import chain if sys.version_info < (3,): from itertools import izip_longest as zip_longest zip_longest # chamando para evitar erro de nao uso do zip_longest else: from itertools import zip_longest DIGITS = [ ['n', 'n', 'w', 'w', 'n'], ['w', 'n', 'n', 'n', 'w'], ['n', 'w', 'n', 'n', 'w'], ['w', 'w', 'n', 'n', 'n'], ['n', 'n', 'w', 'n', 'w'], ['w', 'n', 'w', 'n', 'n'], ['n', 'w', 'w', 'n', 'n'], ['n', 'n', 'n', 'w', 'w'], ['w', 'n', 'n', 'w', 'n'], ['n', 'w', 'n', 'w', 'n'], ]
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 220, 220, 220, 12972, 45693, 1462, 13, 6494, 198, 220, 220, 220, 220, 15116, 8728, 93, 628, 220, 220, 220, 1012, 21612, 20549, 626, 16964, 277, 19178, 267, 5072, 466, 1489, 293, 1462, 795, 27711, 13, 628, 220, 220, 220, 1058, 22163, 4766, 25, 220, 2321, 416, 3683, 333, 13937, 3757, 390, 311, 516, 64, 198, 220, 220, 220, 1058, 43085, 25, 347, 10305, 11, 766, 38559, 24290, 329, 517, 3307, 13, 198, 198, 37811, 198, 11748, 28686, 198, 11748, 4731, 198, 11748, 25064, 198, 11748, 40481, 82, 198, 11748, 2779, 2414, 198, 198, 6738, 340, 861, 10141, 1330, 6333, 198, 361, 25064, 13, 9641, 62, 10951, 1279, 357, 18, 11, 2599, 198, 220, 220, 220, 422, 340, 861, 10141, 1330, 220, 528, 541, 62, 6511, 395, 355, 19974, 62, 6511, 395, 198, 220, 220, 220, 19974, 62, 6511, 395, 220, 1303, 442, 321, 25440, 31215, 819, 7940, 1931, 305, 390, 299, 5488, 514, 78, 466, 19974, 62, 6511, 395, 198, 17772, 25, 198, 220, 220, 220, 422, 340, 861, 10141, 1330, 19974, 62, 6511, 395, 198, 198, 35, 3528, 29722, 796, 685, 198, 220, 220, 220, 37250, 77, 3256, 705, 77, 3256, 705, 86, 3256, 705, 86, 3256, 705, 77, 6, 4357, 198, 220, 220, 220, 37250, 86, 3256, 705, 77, 3256, 705, 77, 3256, 705, 77, 3256, 705, 86, 6, 4357, 198, 220, 220, 220, 37250, 77, 3256, 705, 86, 3256, 705, 77, 3256, 705, 77, 3256, 705, 86, 6, 4357, 198, 220, 220, 220, 37250, 86, 3256, 705, 86, 3256, 705, 77, 3256, 705, 77, 3256, 705, 77, 6, 4357, 198, 220, 220, 220, 37250, 77, 3256, 705, 77, 3256, 705, 86, 3256, 705, 77, 3256, 705, 86, 6, 4357, 198, 220, 220, 220, 37250, 86, 3256, 705, 77, 3256, 705, 86, 3256, 705, 77, 3256, 705, 77, 6, 4357, 198, 220, 220, 220, 37250, 77, 3256, 705, 86, 3256, 705, 86, 3256, 705, 77, 3256, 705, 77, 6, 4357, 198, 220, 220, 220, 37250, 77, 3256, 705, 77, 3256, 705, 77, 3256, 705, 86, 3256, 705, 86, 6, 4357, 198, 220, 220, 220, 37250, 86, 3256, 705, 77, 3256, 705, 77, 3256, 705, 86, 3256, 705, 77, 6, 4357, 198, 220, 220, 220, 37250, 77, 3256, 705, 86, 3256, 705, 77, 3256, 705, 86, 3256, 705, 77, 6, 4357, 198, 60, 628 ]
2.09204
402
summary = 0 i = 0 while i < 5: summary = summary + i print(summary) i = i + 1
[ 49736, 796, 657, 198, 198, 72, 796, 657, 198, 4514, 1312, 1279, 642, 25, 198, 220, 220, 220, 10638, 796, 10638, 1343, 1312, 198, 220, 220, 220, 3601, 7, 49736, 8, 198, 220, 220, 220, 1312, 796, 1312, 1343, 352, 198 ]
2.219512
41
import imtreat img = imtreat.imageManagerClass.openImageFunction("../images/soleil.png", 0) img = imtreat.definedModesClass.detailEnhanceFunction(img) imtreat.imageManagerClass.saveImageFunction("/Tlchargements/", "image_1", ".png", img)
[ 11748, 545, 83, 630, 198, 198, 9600, 796, 545, 83, 630, 13, 9060, 13511, 9487, 13, 9654, 5159, 22203, 7203, 40720, 17566, 14, 6753, 346, 13, 11134, 1600, 657, 8, 198, 198, 9600, 796, 545, 83, 630, 13, 23211, 44, 4147, 9487, 13, 49170, 35476, 590, 22203, 7, 9600, 8, 198, 198, 320, 83, 630, 13, 9060, 13511, 9487, 13, 21928, 5159, 22203, 7203, 14, 51, 75, 11121, 3196, 14, 1600, 366, 9060, 62, 16, 1600, 27071, 11134, 1600, 33705, 8, 198 ]
2.939024
82
# Copyright (c) 2016 TUBITAK BILGEM # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from oslo_config import cfg hyperv_opt_group = cfg.OptGroup("hyperv", title='The Hyper-V feature', help=""" The hyperv feature allows you to configure the Hyper-V hypervisor driver to be used within an OpenStack deployment. """) hyperv_opts = [ cfg.FloatOpt('dynamic_memory_ratio', default=1.0, help=""" Dynamic memory ratio Enables dynamic memory allocation (ballooning) when set to a value greater than 1. The value expresses the ratio between the total RAM assigned to an instance and its startup RAM amount. For example a ratio of 2.0 for an instance with 1024MB of RAM implies 512MB of RAM allocated at startup. Possible values: * 1.0: Disables dynamic memory allocation (Default). * Float values greater than 1.0: Enables allocation of total implied RAM divided by this value for startup. """), cfg.BoolOpt('enable_instance_metrics_collection', default=False, help=""" Enable instance metrics collection Enables metrics collections for an instance by using Hyper-V's metric APIs. Collected data can be retrieved by other apps and services, e.g.: Ceilometer. """), cfg.StrOpt('instances_path_share', default="", help=""" Instances path share The name of a Windows share mapped to the "instances_path" dir and used by the resize feature to copy files to the target host. If left blank, an administrative share (hidden network share) will be used, looking for the same "instances_path" used locally. Possible values: * "": An administrative share will be used (Default). * Name of a Windows share. Related options: * "instances_path": The directory which will be used if this option here is left blank. """), cfg.BoolOpt('limit_cpu_features', default=False, help=""" Limit CPU features This flag is needed to support live migration to hosts with different CPU features and checked during instance creation in order to limit the CPU features used by the instance. """), cfg.IntOpt('mounted_disk_query_retry_count', default=10, min=0, help=""" Mounted disk query retry count The number of times to retry checking for a mounted disk. The query runs until the device can be found or the retry count is reached. Possible values: * Positive integer values. Values greater than 1 is recommended (Default: 10). Related options: * Time interval between disk mount retries is declared with "mounted_disk_query_retry_interval" option. """), cfg.IntOpt('mounted_disk_query_retry_interval', default=5, min=0, help=""" Mounted disk query retry interval Interval between checks for a mounted disk, in seconds. Possible values: * Time in seconds (Default: 5). Related options: * This option is meaningful when the mounted_disk_query_retry_count is greater than 1. * The retry loop runs with mounted_disk_query_retry_count and mounted_disk_query_retry_interval configuration options. """), cfg.IntOpt('power_state_check_timeframe', default=60, min=0, help=""" Power state check timeframe The timeframe to be checked for instance power state changes. This option is used to fetch the state of the instance from Hyper-V through the WMI interface, within the specified timeframe. Possible values: * Timeframe in seconds (Default: 60). """), cfg.IntOpt('power_state_event_polling_interval', default=2, min=0, help=""" Power state event polling interval Instance power state change event polling frequency. Sets the listener interval for power state events to the given value. This option enhances the internal lifecycle notifications of instances that reboot themselves. It is unlikely that an operator has to change this value. Possible values: * Time in seconds (Default: 2). """), cfg.StrOpt('qemu_img_cmd', default="qemu-img.exe", help=""" qemu-img command qemu-img is required for some of the image related operations like converting between different image types. You can get it from here: (http://qemu.weilnetz.de/) or you can install the Cloudbase OpenStack Hyper-V Compute Driver (https://cloudbase.it/openstack-hyperv-driver/) which automatically sets the proper path for this config option. You can either give the full path of qemu-img.exe or set its path in the PATH environment variable and leave this option to the default value. Possible values: * Name of the qemu-img executable, in case it is in the same directory as the nova-compute service or its path is in the PATH environment variable (Default). * Path of qemu-img command (DRIVELETTER:\PATH\TO\QEMU-IMG\COMMAND). Related options: * If the config_drive_cdrom option is False, qemu-img will be used to convert the ISO to a VHD, otherwise the config drive will remain an ISO. To use config drive with Hyper-V, you must set the ``mkisofs_cmd`` value to the full path to an ``mkisofs.exe`` installation. """), cfg.StrOpt('vswitch_name', help=""" External virtual switch name The Hyper-V Virtual Switch is a software-based layer-2 Ethernet network switch that is available with the installation of the Hyper-V server role. The switch includes programmatically managed and extensible capabilities to connect virtual machines to both virtual networks and the physical network. In addition, Hyper-V Virtual Switch provides policy enforcement for security, isolation, and service levels. The vSwitch represented by this config option must be an external one (not internal or private). Possible values: * If not provided, the first of a list of available vswitches is used. This list is queried using WQL. * Virtual switch name. """), cfg.IntOpt('wait_soft_reboot_seconds', default=60, min=0, help=""" Wait soft reboot seconds Number of seconds to wait for instance to shut down after soft reboot request is made. We fall back to hard reboot if instance does not shutdown within this window. Possible values: * Time in seconds (Default: 60). """), cfg.BoolOpt('config_drive_cdrom', default=False, help=""" Mount config drive as a CD drive. OpenStack can be configured to write instance metadata to a config drive, which is then attached to the instance before it boots. The config drive can be attached as a disk drive (default) or as a CD drive. Related options: * This option is meaningful with ``force_config_drive`` option set to ``True`` or when the REST API call to create an instance will have ``--config-drive=True`` flag. * ``config_drive_format`` option must be set to ``iso9660`` in order to use CD drive as the config drive image. * To use config drive with Hyper-V, you must set the ``mkisofs_cmd`` value to the full path to an ``mkisofs.exe`` installation. Additionally, you must set the ``qemu_img_cmd`` value to the full path to an ``qemu-img`` command installation. * You can configure the Compute service to always create a configuration drive by setting the ``force_config_drive`` option to ``True``. """), cfg.BoolOpt('config_drive_inject_password', default=False, help=""" Inject password to config drive. When enabled, the admin password will be available from the config drive image. Related options: * This option is meaningful when used with other options that enable config drive usage with Hyper-V, such as ``force_config_drive``. """), cfg.IntOpt('volume_attach_retry_count', default=10, min=0, help=""" Volume attach retry count The number of times to retry attaching a volume. Volume attachment is retried until success or the given retry count is reached. Possible values: * Positive integer values (Default: 10). Related options: * Time interval between attachment attempts is declared with volume_attach_retry_interval option. """), cfg.IntOpt('volume_attach_retry_interval', default=5, min=0, help=""" Volume attach retry interval Interval between volume attachment attempts, in seconds. Possible values: * Time in seconds (Default: 5). Related options: * This options is meaningful when volume_attach_retry_count is greater than 1. * The retry loop runs with volume_attach_retry_count and volume_attach_retry_interval configuration options. """), cfg.BoolOpt('enable_remotefx', default=False, help=""" Enable RemoteFX feature This requires at least one DirectX 11 capable graphics adapter for Windows / Hyper-V Server 2012 R2 or newer and RDS-Virtualization feature has to be enabled. Instances with RemoteFX can be requested with the following flavor extra specs: **os:resolution**. Guest VM screen resolution size. Acceptable values:: 1024x768, 1280x1024, 1600x1200, 1920x1200, 2560x1600, 3840x2160 ``3840x2160`` is only available on Windows / Hyper-V Server 2016. **os:monitors**. Guest VM number of monitors. Acceptable values:: [1, 4] - Windows / Hyper-V Server 2012 R2 [1, 8] - Windows / Hyper-V Server 2016 **os:vram**. Guest VM VRAM amount. Only available on Windows / Hyper-V Server 2016. Acceptable values:: 64, 128, 256, 512, 1024 """), cfg.BoolOpt('use_multipath_io', default=False, help=""" Use multipath connections when attaching iSCSI or FC disks. This requires the Multipath IO Windows feature to be enabled. MPIO must be configured to claim such devices. """), cfg.ListOpt('iscsi_initiator_list', default=[], help=""" List of iSCSI initiators that will be used for estabilishing iSCSI sessions. If none are specified, the Microsoft iSCSI initiator service will choose the initiator. """) ]
[ 2, 15069, 357, 66, 8, 1584, 309, 10526, 2043, 10206, 347, 4146, 38, 3620, 198, 2, 1439, 6923, 33876, 13, 198, 2, 198, 2, 220, 220, 220, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 345, 743, 198, 2, 220, 220, 220, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 921, 743, 7330, 198, 2, 220, 220, 220, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 220, 220, 220, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 220, 220, 220, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 198, 2, 220, 220, 220, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 4091, 262, 198, 2, 220, 220, 220, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 11247, 198, 2, 220, 220, 220, 739, 262, 13789, 13, 198, 198, 6738, 28686, 5439, 62, 11250, 1330, 30218, 70, 198, 198, 49229, 85, 62, 8738, 62, 8094, 796, 30218, 70, 13, 27871, 13247, 7203, 49229, 85, 1600, 198, 220, 220, 220, 3670, 11639, 464, 15079, 12, 53, 3895, 3256, 198, 220, 220, 220, 1037, 2625, 15931, 198, 464, 8718, 85, 3895, 3578, 345, 284, 17425, 262, 15079, 12, 53, 8718, 13131, 198, 26230, 284, 307, 973, 1626, 281, 4946, 25896, 14833, 13, 198, 15931, 4943, 198, 198, 49229, 85, 62, 404, 912, 796, 685, 198, 220, 220, 220, 30218, 70, 13, 43879, 27871, 10786, 67, 28995, 62, 31673, 62, 10366, 952, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 16, 13, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 44090, 4088, 8064, 198, 198, 4834, 2977, 8925, 4088, 20157, 357, 1894, 2049, 278, 8, 618, 900, 284, 257, 1988, 198, 18223, 263, 621, 352, 13, 383, 1988, 27505, 262, 8064, 1022, 262, 2472, 13931, 198, 562, 3916, 284, 281, 4554, 290, 663, 13693, 13931, 2033, 13, 1114, 1672, 257, 198, 10366, 952, 286, 362, 13, 15, 329, 281, 4554, 351, 28119, 10744, 286, 13931, 15565, 22243, 10744, 286, 198, 24115, 19171, 379, 13693, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 352, 13, 15, 25, 3167, 2977, 8925, 4088, 20157, 357, 19463, 737, 198, 9, 48436, 3815, 3744, 621, 352, 13, 15, 25, 2039, 2977, 20157, 286, 2472, 17142, 198, 220, 13931, 9086, 416, 428, 1988, 329, 13693, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 21633, 62, 39098, 62, 4164, 10466, 62, 43681, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 36695, 4554, 20731, 4947, 198, 198, 4834, 2977, 20731, 17268, 329, 281, 4554, 416, 1262, 15079, 12, 53, 338, 198, 4164, 1173, 23113, 13, 9745, 276, 1366, 460, 307, 29517, 416, 584, 6725, 290, 198, 30416, 11, 304, 13, 70, 11207, 20101, 346, 15635, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 13290, 27871, 10786, 8625, 1817, 62, 6978, 62, 20077, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 2625, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 6310, 1817, 3108, 2648, 198, 198, 464, 1438, 286, 257, 3964, 2648, 27661, 284, 262, 366, 8625, 1817, 62, 6978, 1, 26672, 198, 392, 973, 416, 262, 47558, 3895, 284, 4866, 3696, 284, 262, 2496, 2583, 13, 198, 1532, 1364, 9178, 11, 281, 11553, 2648, 357, 30342, 3127, 2648, 8, 481, 198, 1350, 973, 11, 2045, 329, 262, 976, 366, 8625, 1817, 62, 6978, 1, 973, 15726, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 366, 1298, 1052, 11553, 2648, 481, 307, 973, 357, 19463, 737, 198, 9, 6530, 286, 257, 3964, 2648, 13, 198, 198, 9819, 3689, 25, 198, 198, 9, 366, 8625, 1817, 62, 6978, 1298, 383, 8619, 543, 481, 307, 973, 611, 428, 3038, 198, 220, 994, 318, 1364, 9178, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 32374, 62, 36166, 62, 40890, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 39184, 9135, 3033, 198, 198, 1212, 6056, 318, 2622, 284, 1104, 2107, 13472, 284, 11453, 351, 198, 39799, 9135, 3033, 290, 10667, 1141, 4554, 6282, 198, 259, 1502, 284, 4179, 262, 9135, 3033, 973, 416, 262, 4554, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 29728, 62, 39531, 62, 22766, 62, 1186, 563, 62, 9127, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 35452, 276, 11898, 12405, 1005, 563, 954, 198, 198, 464, 1271, 286, 1661, 284, 1005, 563, 10627, 329, 257, 12623, 11898, 13, 198, 464, 12405, 4539, 1566, 262, 3335, 460, 307, 1043, 393, 262, 1005, 563, 198, 9127, 318, 4251, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 33733, 18253, 3815, 13, 27068, 3744, 621, 352, 318, 7151, 198, 220, 357, 19463, 25, 838, 737, 198, 198, 9819, 3689, 25, 198, 198, 9, 3862, 16654, 1022, 11898, 3817, 1005, 1678, 318, 6875, 351, 198, 220, 366, 29728, 62, 39531, 62, 22766, 62, 1186, 563, 62, 3849, 2100, 1, 3038, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 29728, 62, 39531, 62, 22766, 62, 1186, 563, 62, 3849, 2100, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 35452, 276, 11898, 12405, 1005, 563, 16654, 198, 198, 9492, 2100, 1022, 8794, 329, 257, 12623, 11898, 11, 287, 4201, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 3862, 287, 4201, 357, 19463, 25, 642, 737, 198, 198, 9819, 3689, 25, 198, 198, 9, 770, 3038, 318, 11570, 618, 262, 12623, 62, 39531, 62, 22766, 62, 1186, 563, 62, 9127, 198, 220, 318, 3744, 621, 352, 13, 198, 9, 383, 1005, 563, 9052, 4539, 351, 12623, 62, 39531, 62, 22766, 62, 1186, 563, 62, 9127, 290, 198, 220, 12623, 62, 39531, 62, 22766, 62, 1186, 563, 62, 3849, 2100, 8398, 3689, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 6477, 62, 5219, 62, 9122, 62, 2435, 14535, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 1899, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 13434, 1181, 2198, 41352, 198, 198, 464, 41352, 284, 307, 10667, 329, 4554, 1176, 1181, 2458, 13, 198, 1212, 3038, 318, 973, 284, 21207, 262, 1181, 286, 262, 4554, 422, 15079, 12, 53, 198, 9579, 262, 370, 8895, 7071, 11, 1626, 262, 7368, 41352, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 3862, 14535, 287, 4201, 357, 19463, 25, 3126, 737, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 6477, 62, 5219, 62, 15596, 62, 30393, 278, 62, 3849, 2100, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 13434, 1181, 1785, 13985, 16654, 198, 198, 33384, 1176, 1181, 1487, 1785, 13985, 8373, 13, 21394, 262, 198, 4868, 877, 16654, 329, 1176, 1181, 2995, 284, 262, 1813, 1988, 13, 198, 1212, 3038, 32479, 262, 5387, 3868, 47510, 19605, 286, 198, 8625, 1817, 326, 20149, 2405, 13, 632, 318, 7485, 326, 281, 10088, 198, 10134, 284, 1487, 428, 1988, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 3862, 287, 4201, 357, 19463, 25, 362, 737, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 13290, 27871, 10786, 80, 368, 84, 62, 9600, 62, 28758, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 2625, 80, 368, 84, 12, 9600, 13, 13499, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 80, 368, 84, 12, 9600, 3141, 198, 198, 80, 368, 84, 12, 9600, 318, 2672, 329, 617, 286, 262, 2939, 3519, 4560, 198, 2339, 23202, 1022, 1180, 2939, 3858, 13, 921, 460, 651, 340, 198, 6738, 994, 25, 357, 4023, 1378, 80, 368, 84, 13, 732, 346, 3262, 89, 13, 2934, 34729, 393, 345, 460, 2721, 262, 198, 18839, 8692, 4946, 25896, 15079, 12, 53, 3082, 1133, 12434, 198, 7, 5450, 1378, 17721, 8692, 13, 270, 14, 9654, 25558, 12, 49229, 85, 12, 26230, 34729, 543, 6338, 198, 28709, 262, 1774, 3108, 329, 428, 4566, 3038, 13, 921, 460, 2035, 1577, 262, 198, 12853, 3108, 286, 10662, 368, 84, 12, 9600, 13, 13499, 393, 900, 663, 3108, 287, 262, 46490, 2858, 198, 45286, 290, 2666, 428, 3038, 284, 262, 4277, 1988, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 6530, 286, 262, 10662, 368, 84, 12, 9600, 28883, 11, 287, 1339, 340, 318, 287, 262, 976, 198, 220, 8619, 355, 262, 645, 6862, 12, 5589, 1133, 2139, 393, 663, 3108, 318, 287, 262, 198, 220, 46490, 2858, 7885, 357, 19463, 737, 198, 9, 10644, 286, 10662, 368, 84, 12, 9600, 3141, 357, 7707, 9306, 28882, 5781, 7479, 34219, 59, 10468, 59, 48, 3620, 52, 12, 3955, 38, 59, 9858, 44, 6981, 737, 198, 198, 9819, 3689, 25, 198, 198, 9, 1002, 262, 4566, 62, 19472, 62, 10210, 398, 3038, 318, 10352, 11, 10662, 368, 84, 12, 9600, 481, 307, 973, 284, 198, 220, 10385, 262, 19694, 284, 257, 569, 10227, 11, 4306, 262, 4566, 3708, 481, 198, 220, 3520, 281, 19694, 13, 1675, 779, 4566, 3708, 351, 15079, 12, 53, 11, 345, 1276, 198, 220, 900, 262, 7559, 28015, 271, 1659, 82, 62, 28758, 15506, 1988, 284, 262, 1336, 3108, 284, 281, 7559, 28015, 271, 1659, 82, 13, 13499, 15506, 198, 220, 9988, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 13290, 27871, 10786, 85, 31943, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 41506, 7166, 5078, 1438, 198, 198, 464, 15079, 12, 53, 15595, 14645, 318, 257, 3788, 12, 3106, 7679, 12, 17, 31903, 198, 27349, 5078, 326, 318, 1695, 351, 262, 9988, 286, 262, 198, 38197, 12, 53, 4382, 2597, 13, 383, 5078, 3407, 1430, 49454, 5257, 198, 392, 1070, 27339, 9889, 284, 2018, 7166, 8217, 284, 1111, 198, 32844, 7686, 290, 262, 3518, 3127, 13, 554, 3090, 11, 15079, 12, 53, 198, 37725, 14645, 3769, 2450, 5394, 329, 2324, 11, 15133, 11, 198, 392, 2139, 2974, 13, 383, 410, 38978, 7997, 416, 428, 4566, 3038, 198, 27238, 307, 281, 7097, 530, 357, 1662, 5387, 393, 2839, 737, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 1002, 407, 2810, 11, 262, 717, 286, 257, 1351, 286, 1695, 410, 2032, 9249, 198, 220, 318, 973, 13, 770, 1351, 318, 42517, 798, 1262, 370, 9711, 13, 198, 9, 15595, 5078, 1438, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 17077, 62, 4215, 62, 260, 18769, 62, 43012, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 1899, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 21321, 2705, 20149, 4201, 198, 198, 15057, 286, 4201, 284, 4043, 329, 4554, 284, 4423, 866, 706, 2705, 198, 260, 18769, 2581, 318, 925, 13, 775, 2121, 736, 284, 1327, 20149, 611, 4554, 198, 22437, 407, 18325, 1626, 428, 4324, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 3862, 287, 4201, 357, 19463, 25, 3126, 737, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 11250, 62, 19472, 62, 10210, 398, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 35452, 4566, 3708, 355, 257, 6458, 3708, 13, 198, 198, 11505, 25896, 460, 307, 17839, 284, 3551, 4554, 20150, 284, 257, 4566, 3708, 11, 543, 198, 271, 788, 7223, 284, 262, 4554, 878, 340, 14412, 13, 383, 4566, 3708, 460, 307, 198, 1078, 2317, 355, 257, 11898, 3708, 357, 12286, 8, 393, 355, 257, 6458, 3708, 13, 198, 198, 9819, 3689, 25, 198, 198, 9, 770, 3038, 318, 11570, 351, 7559, 3174, 62, 11250, 62, 19472, 15506, 3038, 900, 284, 7559, 17821, 15506, 198, 220, 393, 618, 262, 30617, 7824, 869, 284, 2251, 281, 4554, 481, 423, 198, 220, 7559, 438, 11250, 12, 19472, 28, 17821, 15506, 6056, 13, 198, 9, 7559, 11250, 62, 19472, 62, 18982, 15506, 3038, 1276, 307, 900, 284, 7559, 26786, 4846, 1899, 15506, 287, 1502, 284, 779, 198, 220, 6458, 3708, 355, 262, 4566, 3708, 2939, 13, 198, 9, 1675, 779, 4566, 3708, 351, 15079, 12, 53, 11, 345, 1276, 900, 262, 198, 220, 7559, 28015, 271, 1659, 82, 62, 28758, 15506, 1988, 284, 262, 1336, 3108, 284, 281, 7559, 28015, 271, 1659, 82, 13, 13499, 15506, 9988, 13, 198, 220, 12032, 11, 345, 1276, 900, 262, 7559, 80, 368, 84, 62, 9600, 62, 28758, 15506, 1988, 284, 262, 1336, 3108, 198, 220, 284, 281, 7559, 80, 368, 84, 12, 9600, 15506, 3141, 9988, 13, 198, 9, 921, 460, 17425, 262, 3082, 1133, 2139, 284, 1464, 2251, 257, 8398, 198, 220, 3708, 416, 4634, 262, 7559, 3174, 62, 11250, 62, 19472, 15506, 3038, 284, 7559, 17821, 15506, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 11250, 62, 19472, 62, 259, 752, 62, 28712, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 818, 752, 9206, 284, 4566, 3708, 13, 198, 198, 2215, 9343, 11, 262, 13169, 9206, 481, 307, 1695, 422, 262, 4566, 3708, 2939, 13, 198, 198, 9819, 3689, 25, 198, 198, 9, 770, 3038, 318, 11570, 618, 973, 351, 584, 3689, 326, 7139, 198, 220, 4566, 3708, 8748, 351, 15079, 12, 53, 11, 884, 355, 7559, 3174, 62, 11250, 62, 19472, 15506, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 29048, 62, 47348, 62, 1186, 563, 62, 9127, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 31715, 10199, 1005, 563, 954, 198, 198, 464, 1271, 286, 1661, 284, 1005, 563, 39550, 257, 6115, 13, 14701, 18231, 198, 271, 1005, 2228, 1566, 1943, 393, 262, 1813, 1005, 563, 954, 318, 4251, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 33733, 18253, 3815, 357, 19463, 25, 838, 737, 198, 198, 9819, 3689, 25, 198, 198, 9, 3862, 16654, 1022, 18231, 6370, 318, 6875, 351, 198, 220, 6115, 62, 47348, 62, 1186, 563, 62, 3849, 2100, 3038, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 5317, 27871, 10786, 29048, 62, 47348, 62, 1186, 563, 62, 3849, 2100, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 949, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 31715, 10199, 1005, 563, 16654, 198, 198, 9492, 2100, 1022, 6115, 18231, 6370, 11, 287, 4201, 13, 198, 198, 47, 4733, 3815, 25, 198, 198, 9, 3862, 287, 4201, 357, 19463, 25, 642, 737, 198, 198, 9819, 3689, 25, 198, 198, 9, 770, 3689, 318, 11570, 618, 6115, 62, 47348, 62, 1186, 563, 62, 9127, 198, 220, 318, 3744, 621, 352, 13, 198, 9, 383, 1005, 563, 9052, 4539, 351, 6115, 62, 47348, 62, 1186, 563, 62, 9127, 290, 198, 220, 6115, 62, 47348, 62, 1186, 563, 62, 3849, 2100, 8398, 3689, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 21633, 62, 2787, 313, 891, 87, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 36695, 21520, 17213, 3895, 198, 198, 1212, 4433, 379, 1551, 530, 37017, 1367, 6007, 9382, 21302, 329, 198, 11209, 1220, 15079, 12, 53, 9652, 2321, 371, 17, 393, 15064, 290, 371, 5258, 12, 37725, 1634, 198, 30053, 468, 284, 307, 9343, 13, 198, 198, 6310, 1817, 351, 21520, 17213, 460, 307, 9167, 351, 262, 1708, 9565, 198, 26086, 25274, 25, 198, 198, 1174, 418, 25, 29268, 1174, 13, 22358, 16990, 3159, 6323, 2546, 13, 21699, 540, 3815, 3712, 628, 220, 220, 220, 28119, 87, 30610, 11, 37674, 87, 35500, 11, 26143, 87, 27550, 11, 14062, 87, 27550, 11, 1679, 1899, 87, 36150, 11, 4353, 1821, 87, 17, 14198, 198, 198, 15506, 2548, 1821, 87, 17, 14198, 15506, 318, 691, 1695, 319, 3964, 1220, 15079, 12, 53, 9652, 1584, 13, 198, 198, 1174, 418, 25, 2144, 6742, 1174, 13, 22358, 16990, 1271, 286, 19374, 13, 21699, 540, 3815, 3712, 628, 220, 220, 220, 685, 16, 11, 604, 60, 532, 3964, 1220, 15079, 12, 53, 9652, 2321, 371, 17, 198, 220, 220, 220, 685, 16, 11, 807, 60, 532, 3964, 1220, 15079, 12, 53, 9652, 1584, 198, 198, 1174, 418, 25, 85, 859, 1174, 13, 22358, 16990, 6453, 2390, 2033, 13, 5514, 1695, 319, 198, 11209, 1220, 15079, 12, 53, 9652, 1584, 13, 21699, 540, 3815, 3712, 628, 220, 220, 220, 5598, 11, 13108, 11, 17759, 11, 22243, 11, 28119, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 33, 970, 27871, 10786, 1904, 62, 16680, 541, 776, 62, 952, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 11041, 18540, 776, 8787, 618, 39550, 1312, 6173, 11584, 393, 10029, 32505, 13, 198, 198, 1212, 4433, 262, 7854, 541, 776, 24418, 3964, 3895, 284, 307, 9343, 13, 4904, 9399, 1276, 307, 198, 11250, 1522, 284, 1624, 884, 4410, 13, 198, 15931, 12340, 198, 220, 220, 220, 30218, 70, 13, 8053, 27871, 10786, 2304, 13396, 62, 259, 8846, 1352, 62, 4868, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15931, 198, 8053, 286, 1312, 6173, 11584, 5383, 2024, 326, 481, 307, 973, 329, 2803, 346, 3929, 1312, 6173, 11584, 10991, 13, 198, 198, 1532, 4844, 389, 7368, 11, 262, 5413, 1312, 6173, 11584, 5383, 1352, 2139, 481, 3853, 262, 198, 259, 8846, 1352, 13, 198, 15931, 4943, 198, 60, 628, 198 ]
3.21266
3,207
import requests words_list = requests.get("https://raw.githubusercontent.com/atebits/Words/master/Words/fr.txt").text words_list = filter(lambda x: len(x) > 4, words_list.split('\n')) path = input("Chemin d'criture ? (words.txt) ") if path == "": path = "./words.txt" with open(path, "w", encoding="utf-8") as file: file.write('\n'.join(words_list))
[ 11748, 7007, 198, 198, 10879, 62, 4868, 796, 7007, 13, 1136, 7203, 5450, 1378, 1831, 13, 12567, 43667, 13, 785, 14, 378, 9895, 14, 37117, 14, 9866, 14, 37117, 14, 8310, 13, 14116, 11074, 5239, 198, 198, 10879, 62, 4868, 796, 8106, 7, 50033, 2124, 25, 18896, 7, 87, 8, 1875, 604, 11, 2456, 62, 4868, 13, 35312, 10786, 59, 77, 6, 4008, 198, 198, 6978, 796, 5128, 7203, 7376, 1084, 288, 6, 22213, 495, 5633, 357, 10879, 13, 14116, 8, 366, 8, 198, 198, 361, 3108, 6624, 366, 1298, 198, 220, 220, 220, 3108, 796, 366, 19571, 10879, 13, 14116, 1, 198, 198, 4480, 1280, 7, 6978, 11, 366, 86, 1600, 21004, 2625, 40477, 12, 23, 4943, 355, 2393, 25, 198, 220, 220, 220, 2393, 13, 13564, 10786, 59, 77, 4458, 22179, 7, 10879, 62, 4868, 4008 ]
2.623188
138
import unittest from unittest import mock import os import subprocess from testfixtures import TempDirectory from simplegallery.upload.uploader_factory import get_uploader if __name__ == '__main__': unittest.main()
[ 11748, 555, 715, 395, 198, 6738, 555, 715, 395, 1330, 15290, 198, 11748, 28686, 198, 11748, 850, 14681, 198, 6738, 1332, 69, 25506, 1330, 24189, 43055, 198, 6738, 2829, 24460, 13, 25850, 13, 25850, 263, 62, 69, 9548, 1330, 651, 62, 25850, 263, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
3.313433
67
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'add_subject.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: try: _encoding = QtGui.QApplication.UnicodeUTF8 except AttributeError: if __name__ == "__main__": import sys app = QtGui.QApplication(sys.argv) Dialog_add_subject = QtGui.QDialog() ui = Ui_Dialog_add_subject() ui.setupUi(Dialog_add_subject) Dialog_add_subject.show() sys.exit(app.exec_())
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 201, 198, 2, 5178, 7822, 7560, 422, 3555, 334, 72, 2393, 705, 2860, 62, 32796, 13, 9019, 6, 201, 198, 2, 201, 198, 2, 15622, 416, 25, 9485, 48, 83, 19, 12454, 2438, 17301, 604, 13, 1157, 13, 19, 201, 198, 2, 201, 198, 2, 39410, 0, 1439, 2458, 925, 287, 428, 2393, 481, 307, 2626, 0, 201, 198, 201, 198, 6738, 9485, 48, 83, 19, 1330, 33734, 14055, 11, 33734, 8205, 72, 201, 198, 201, 198, 28311, 25, 201, 198, 220, 220, 220, 4808, 6738, 18274, 69, 23, 796, 33734, 14055, 13, 48, 10100, 13, 6738, 18274, 69, 23, 201, 198, 16341, 3460, 4163, 12331, 25, 201, 198, 201, 198, 28311, 25, 201, 198, 220, 220, 220, 4808, 12685, 7656, 796, 33734, 8205, 72, 13, 48, 23416, 13, 3118, 291, 1098, 48504, 23, 201, 198, 16341, 3460, 4163, 12331, 25, 201, 198, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 201, 198, 220, 220, 220, 1330, 25064, 201, 198, 220, 220, 220, 598, 796, 33734, 8205, 72, 13, 48, 23416, 7, 17597, 13, 853, 85, 8, 201, 198, 220, 220, 220, 21269, 519, 62, 2860, 62, 32796, 796, 33734, 8205, 72, 13, 48, 44204, 3419, 201, 198, 220, 220, 220, 334, 72, 796, 471, 72, 62, 44204, 62, 2860, 62, 32796, 3419, 201, 198, 220, 220, 220, 334, 72, 13, 40406, 52, 72, 7, 44204, 62, 2860, 62, 32796, 8, 201, 198, 220, 220, 220, 21269, 519, 62, 2860, 62, 32796, 13, 12860, 3419, 201, 198, 220, 220, 220, 25064, 13, 37023, 7, 1324, 13, 18558, 62, 28955, 201, 198, 201, 198 ]
2.302817
284
from django.db.models import signals from django.test import TestCase from django.core import management from django.utils import six from shared_models import models PRE_SYNCDB_ARGS = ['app', 'create_models', 'verbosity', 'interactive', 'db'] SYNCDB_DATABASE = 'default' SYNCDB_VERBOSITY = 1 SYNCDB_INTERACTIVE = False # We connect receiver here and not in unit test code because we need to # connect receiver before test runner creates database. That is, sequence of # actions would be: # # 1. Test runner imports this module. # 2. We connect receiver. # 3. Test runner calls syncdb for create default database. # 4. Test runner execute our unit test code. pre_syncdb_receiver = OneTimeReceiver() signals.pre_syncdb.connect(pre_syncdb_receiver, sender=models)
[ 6738, 42625, 14208, 13, 9945, 13, 27530, 1330, 10425, 198, 6738, 42625, 14208, 13, 9288, 1330, 6208, 20448, 198, 6738, 42625, 14208, 13, 7295, 1330, 4542, 198, 6738, 42625, 14208, 13, 26791, 1330, 2237, 198, 198, 6738, 4888, 62, 27530, 1330, 4981, 628, 198, 46437, 62, 23060, 7792, 11012, 62, 1503, 14313, 796, 37250, 1324, 3256, 705, 17953, 62, 27530, 3256, 705, 19011, 16579, 3256, 705, 3849, 5275, 3256, 705, 9945, 20520, 198, 23060, 7792, 11012, 62, 35, 1404, 6242, 11159, 796, 705, 12286, 6, 198, 23060, 7792, 11012, 62, 5959, 33, 2640, 9050, 796, 352, 198, 23060, 7792, 11012, 62, 41358, 10659, 9306, 796, 10352, 628, 628, 198, 2, 775, 2018, 9733, 994, 290, 407, 287, 4326, 1332, 2438, 780, 356, 761, 284, 198, 2, 2018, 9733, 878, 1332, 17490, 8075, 6831, 13, 220, 1320, 318, 11, 8379, 286, 198, 2, 4028, 561, 307, 25, 198, 2, 198, 2, 220, 220, 352, 13, 6208, 17490, 17944, 428, 8265, 13, 198, 2, 220, 220, 362, 13, 775, 2018, 9733, 13, 198, 2, 220, 220, 513, 13, 6208, 17490, 3848, 17510, 9945, 329, 2251, 4277, 6831, 13, 198, 2, 220, 220, 604, 13, 6208, 17490, 12260, 674, 4326, 1332, 2438, 13, 198, 3866, 62, 27261, 9945, 62, 260, 39729, 796, 1881, 7575, 3041, 39729, 3419, 198, 12683, 874, 13, 3866, 62, 27261, 9945, 13, 8443, 7, 3866, 62, 27261, 9945, 62, 260, 39729, 11, 29788, 28, 27530, 8, 628 ]
3.273109
238
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import logging import os import re from pytorch_lightning.plugins.environments.cluster_environment import ClusterEnvironment log = logging.getLogger(__name__)
[ 2, 15069, 383, 9485, 15884, 354, 12469, 1074, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 11748, 18931, 198, 11748, 28686, 198, 11748, 302, 198, 198, 6738, 12972, 13165, 354, 62, 2971, 768, 13, 37390, 13, 268, 12103, 13, 565, 5819, 62, 38986, 1330, 38279, 31441, 198, 198, 6404, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628 ]
3.782828
198
#!/usr/bin/env python import time import os import math from trackball import TrackBall print("""Trackball: Mouse Use the trackball as a mouse in Raspbian, with right-click when the switch is pressed. Press Ctrl+C to exit! """) trackball = TrackBall(interrupt_pin=4) trackball.set_rgbw(0, 0, 0, 0) # Check for xte (used to control mouse) use_xte = os.system('which xte') == 0 if use_xte == 0: raise RuntimeError("xte not found. Did you sudo apt install xautomation?") while True: up, down, left, right, switch, state = trackball.read() # Send movements and clicks to xte if switch: cmd = 'xte "mouseclick 1"' os.system(cmd) elif right or up or left or down: x = right - left x = math.copysign(x**2, x) y = down - up y = math.copysign(y**2, y) cmd = 'xte "mousermove {} {}"'.format(int(x), int(y)) os.system(cmd) time.sleep(0.0001)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 11748, 640, 198, 11748, 28686, 198, 11748, 10688, 198, 6738, 2610, 1894, 1330, 17762, 23410, 198, 198, 4798, 7203, 15931, 24802, 1894, 25, 21839, 198, 198, 11041, 262, 2610, 1894, 355, 257, 10211, 287, 371, 5126, 12210, 11, 351, 826, 12, 12976, 198, 12518, 262, 5078, 318, 12070, 13, 198, 198, 13800, 19212, 10, 34, 284, 8420, 0, 198, 15931, 4943, 198, 198, 11659, 1894, 796, 17762, 23410, 7, 3849, 3622, 62, 11635, 28, 19, 8, 198, 11659, 1894, 13, 2617, 62, 81, 22296, 86, 7, 15, 11, 657, 11, 657, 11, 657, 8, 198, 198, 2, 6822, 329, 2124, 660, 357, 1484, 284, 1630, 10211, 8, 198, 1904, 62, 87, 660, 796, 28686, 13, 10057, 10786, 4758, 2124, 660, 11537, 6624, 657, 198, 198, 361, 779, 62, 87, 660, 6624, 657, 25, 198, 220, 220, 220, 5298, 43160, 12331, 7203, 87, 660, 407, 1043, 13, 7731, 345, 21061, 15409, 2721, 2124, 2306, 296, 341, 1701, 8, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 510, 11, 866, 11, 1364, 11, 826, 11, 5078, 11, 1181, 796, 2610, 1894, 13, 961, 3419, 628, 220, 220, 220, 1303, 16290, 8650, 290, 25785, 284, 2124, 660, 198, 220, 220, 220, 611, 5078, 25, 198, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 705, 87, 660, 366, 35888, 12976, 352, 30543, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 10057, 7, 28758, 8, 198, 220, 220, 220, 1288, 361, 826, 393, 510, 393, 1364, 393, 866, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 826, 532, 1364, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 10688, 13, 22163, 893, 570, 7, 87, 1174, 17, 11, 2124, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 796, 866, 532, 510, 198, 220, 220, 220, 220, 220, 220, 220, 331, 796, 10688, 13, 22163, 893, 570, 7, 88, 1174, 17, 11, 331, 8, 198, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 705, 87, 660, 366, 76, 516, 7780, 659, 23884, 23884, 1, 4458, 18982, 7, 600, 7, 87, 828, 493, 7, 88, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 10057, 7, 28758, 8, 628, 220, 220, 220, 640, 13, 42832, 7, 15, 13, 18005, 8, 198 ]
2.404145
386
"""GaussianMLPRegressorModel.""" import numpy as np import tensorflow as tf import tensorflow_probability as tfp from garage.experiment import deterministic from garage.tf.models import GaussianMLPModel
[ 37811, 35389, 31562, 5805, 4805, 1533, 44292, 17633, 526, 15931, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 11192, 273, 11125, 62, 1676, 65, 1799, 355, 256, 46428, 198, 198, 6738, 15591, 13, 23100, 3681, 1330, 2206, 49228, 198, 6738, 15591, 13, 27110, 13, 27530, 1330, 12822, 31562, 5805, 47, 17633, 628 ]
3.474576
59
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import torchvision import torchvision.transforms as transforms import torchvision.datasets as datasets import os import argparse from torch.autograd import Variable from extensions.utils import progress_bar from extensions.model_refinery_wrapper import ModelRefineryWrapper from extensions.refinery_loss import RefineryLoss from models import ShuffleNetv2_wrapper from models import DiracDeltaNet_wrapper parser = argparse.ArgumentParser(description='PyTorch imagenet inference') parser.add_argument('--datadir', help='path to dataset') parser.add_argument('--inputdir', help='path to input model') args = parser.parse_args() # Data print('==> Preparing data..') # Data loading code valdir = os.path.join(args.datadir, 'val') normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) transform_test = transforms.Compose([ transforms.Resize(256), transforms.CenterCrop(224), transforms.ToTensor(), normalize, ]) #imagenet testset = datasets.ImageFolder(valdir, transform_test) num_classes=1000 testloader = torch.utils.data.DataLoader(testset, batch_size=1000, shuffle=False, pin_memory=True, num_workers=30) use_cuda = torch.cuda.is_available() print('Using input path: %s' % args.inputdir) checkpoint = torch.load(args.inputdir) init_net = checkpoint['net'] net=init_net.to('cpu') label_refinery=torch.load('./resnet50.t7') net = ModelRefineryWrapper(net, label_refinery) device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") print(device) if torch.cuda.device_count() > 1: print("Let's use", torch.cuda.device_count(), "GPUs!") net = nn.DataParallel(net) net=net.to(device) criterion = RefineryLoss() def accuracy(output, target, topk=(1,)): """Computes the precision@k for the specified values of k""" with torch.no_grad(): maxk = max(topk) batch_size = target.size(0) _, pred = output.topk(maxk, 1, True, True) pred = pred.t() correct = pred.eq(target.view(1, -1).expand_as(pred)) res = [] for k in topk: correct_k = correct[:k].view(-1).float().sum(0, keepdim=True) res.append(correct_k) return res acc1,acc5,loss=test() print('top-1 accuracy: {0:.3f}%, top-5 accuracy: {1:.3f}%'.format(acc1,acc5))
[ 11748, 28034, 201, 198, 11748, 28034, 13, 20471, 355, 299, 77, 201, 198, 11748, 28034, 13, 40085, 355, 6436, 201, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 201, 198, 11748, 28034, 13, 1891, 2412, 13, 66, 463, 20471, 355, 269, 463, 20471, 201, 198, 201, 198, 11748, 28034, 10178, 201, 198, 11748, 28034, 10178, 13, 7645, 23914, 355, 31408, 201, 198, 11748, 28034, 10178, 13, 19608, 292, 1039, 355, 40522, 201, 198, 201, 198, 11748, 28686, 201, 198, 11748, 1822, 29572, 201, 198, 201, 198, 6738, 28034, 13, 2306, 519, 6335, 1330, 35748, 201, 198, 6738, 18366, 13, 26791, 1330, 4371, 62, 5657, 201, 198, 6738, 18366, 13, 19849, 62, 5420, 15451, 62, 48553, 1330, 9104, 8134, 15451, 36918, 2848, 201, 198, 6738, 18366, 13, 5420, 15451, 62, 22462, 1330, 6524, 15451, 43, 793, 201, 198, 201, 198, 6738, 4981, 1330, 911, 18137, 7934, 85, 17, 62, 48553, 201, 198, 6738, 4981, 1330, 36202, 330, 42430, 7934, 62, 48553, 201, 198, 201, 198, 201, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 20519, 15884, 354, 3590, 268, 316, 32278, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 19608, 324, 343, 3256, 1037, 11639, 6978, 284, 27039, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 15414, 15908, 3256, 1037, 11639, 6978, 284, 5128, 2746, 11537, 201, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 201, 198, 201, 198, 201, 198, 2, 6060, 201, 198, 4798, 10786, 855, 29, 19141, 1723, 1366, 492, 11537, 201, 198, 2, 6060, 11046, 2438, 201, 198, 85, 1940, 343, 796, 28686, 13, 6978, 13, 22179, 7, 22046, 13, 19608, 324, 343, 11, 705, 2100, 11537, 201, 198, 220, 220, 220, 220, 201, 198, 11265, 1096, 796, 31408, 13, 26447, 1096, 7, 32604, 41888, 15, 13, 32642, 11, 657, 13, 29228, 11, 657, 13, 29703, 4357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14367, 41888, 15, 13, 23539, 11, 657, 13, 24137, 11, 657, 13, 18182, 12962, 201, 198, 201, 198, 201, 198, 35636, 62, 9288, 796, 31408, 13, 7293, 577, 26933, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31408, 13, 4965, 1096, 7, 11645, 828, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31408, 13, 23656, 34, 1773, 7, 24137, 828, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31408, 13, 2514, 51, 22854, 22784, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3487, 1096, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 33761, 201, 198, 201, 198, 2, 320, 11286, 316, 201, 198, 9288, 2617, 796, 40522, 13, 5159, 41092, 7, 85, 1940, 343, 11, 6121, 62, 9288, 8, 201, 198, 22510, 62, 37724, 28, 12825, 201, 198, 201, 198, 9288, 29356, 796, 28034, 13, 26791, 13, 7890, 13, 6601, 17401, 7, 9288, 2617, 11, 15458, 62, 7857, 28, 12825, 11, 36273, 28, 25101, 11, 6757, 62, 31673, 28, 17821, 11, 997, 62, 22896, 28, 1270, 8, 201, 198, 201, 198, 201, 198, 1904, 62, 66, 15339, 796, 28034, 13, 66, 15339, 13, 271, 62, 15182, 3419, 201, 198, 201, 198, 4798, 10786, 12814, 5128, 3108, 25, 4064, 82, 6, 4064, 26498, 13, 15414, 15908, 8, 201, 198, 9122, 4122, 796, 28034, 13, 2220, 7, 22046, 13, 15414, 15908, 8, 201, 198, 15003, 62, 3262, 796, 26954, 17816, 3262, 20520, 201, 198, 3262, 28, 15003, 62, 3262, 13, 1462, 10786, 36166, 11537, 201, 198, 201, 198, 18242, 62, 5420, 15451, 28, 13165, 354, 13, 2220, 7, 4458, 14, 411, 3262, 1120, 13, 83, 22, 11537, 201, 198, 3262, 796, 9104, 8134, 15451, 36918, 2848, 7, 3262, 11, 6167, 62, 5420, 15451, 8, 201, 198, 201, 198, 25202, 796, 28034, 13, 25202, 7203, 66, 15339, 25, 15, 1, 611, 28034, 13, 66, 15339, 13, 271, 62, 15182, 3419, 2073, 366, 36166, 4943, 201, 198, 4798, 7, 25202, 8, 201, 198, 201, 198, 361, 28034, 13, 66, 15339, 13, 25202, 62, 9127, 3419, 1875, 352, 25, 201, 198, 220, 220, 220, 3601, 7203, 5756, 338, 779, 1600, 28034, 13, 66, 15339, 13, 25202, 62, 9127, 22784, 366, 33346, 82, 2474, 8, 201, 198, 220, 220, 220, 2010, 796, 299, 77, 13, 6601, 10044, 29363, 7, 3262, 8, 201, 198, 201, 198, 3262, 28, 3262, 13, 1462, 7, 25202, 8, 201, 198, 201, 198, 22213, 28019, 796, 6524, 15451, 43, 793, 3419, 201, 198, 201, 198, 201, 198, 201, 198, 4299, 9922, 7, 22915, 11, 2496, 11, 1353, 74, 16193, 16, 35751, 2599, 201, 198, 220, 220, 220, 37227, 7293, 1769, 262, 15440, 31, 74, 329, 262, 7368, 3815, 286, 479, 37811, 201, 198, 220, 220, 220, 351, 28034, 13, 3919, 62, 9744, 33529, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 74, 796, 3509, 7, 4852, 74, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 15458, 62, 7857, 796, 2496, 13, 7857, 7, 15, 8, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 11, 2747, 796, 5072, 13, 4852, 74, 7, 9806, 74, 11, 352, 11, 6407, 11, 6407, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2747, 796, 2747, 13, 83, 3419, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3376, 796, 2747, 13, 27363, 7, 16793, 13, 1177, 7, 16, 11, 532, 16, 737, 11201, 392, 62, 292, 7, 28764, 4008, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 581, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 287, 1353, 74, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3376, 62, 74, 796, 3376, 58, 25, 74, 4083, 1177, 32590, 16, 737, 22468, 22446, 16345, 7, 15, 11, 1394, 27740, 28, 17821, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 13, 33295, 7, 30283, 62, 74, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 581, 201, 198, 201, 198, 201, 198, 4134, 16, 11, 4134, 20, 11, 22462, 28, 9288, 3419, 201, 198, 4798, 10786, 4852, 12, 16, 9922, 25, 1391, 15, 25, 13, 18, 69, 92, 7441, 1353, 12, 20, 9922, 25, 1391, 16, 25, 13, 18, 69, 92, 4, 4458, 18982, 7, 4134, 16, 11, 4134, 20, 4008, 201, 198 ]
2.402585
1,083
"""Model Parameters Module.""" import torch.optim as optim from .search import SamplingSearch, GreedySearch, BeamSearch SEARCH_FACTORY = { 'sampling': SamplingSearch, 'greedy': GreedySearch, 'beam': BeamSearch, } OPTIMIZER_FACTORY = { 'adadelta': optim.Adadelta, 'adagrad': optim.Adagrad, 'adam': optim.Adam, 'adamax': optim.Adamax, 'rmsprop': optim.RMSprop, 'sgd': optim.SGD }
[ 37811, 17633, 40117, 19937, 526, 15931, 198, 11748, 28034, 13, 40085, 355, 6436, 198, 6738, 764, 12947, 1330, 3409, 11347, 18243, 11, 11955, 4716, 18243, 11, 25855, 18243, 198, 198, 5188, 31315, 62, 37, 10659, 15513, 796, 1391, 198, 220, 220, 220, 705, 37687, 11347, 10354, 3409, 11347, 18243, 11, 198, 220, 220, 220, 705, 16694, 4716, 10354, 11955, 4716, 18243, 11, 198, 220, 220, 220, 705, 40045, 10354, 25855, 18243, 11, 198, 92, 198, 198, 3185, 51, 3955, 14887, 1137, 62, 37, 10659, 15513, 796, 1391, 198, 220, 220, 220, 705, 324, 324, 12514, 10354, 6436, 13, 2782, 324, 12514, 11, 198, 220, 220, 220, 705, 324, 363, 6335, 10354, 6436, 13, 2782, 363, 6335, 11, 198, 220, 220, 220, 705, 324, 321, 10354, 6436, 13, 23159, 11, 198, 220, 220, 220, 705, 324, 321, 897, 10354, 6436, 13, 23159, 897, 11, 198, 220, 220, 220, 705, 81, 907, 22930, 10354, 6436, 13, 49, 5653, 22930, 11, 198, 220, 220, 220, 705, 82, 21287, 10354, 6436, 13, 38475, 35, 198, 92, 198 ]
2.404624
173
# # Copyright (c) 2021 The GPflux Contributors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # import abc import numpy as np import pytest import tensorflow as tf import tensorflow_probability as tfp from gpflow.kullback_leiblers import gauss_kl from gpflux.encoders import DirectlyParameterizedNormalDiag from gpflux.layers import LatentVariableLayer, LayerWithObservations, TrackableLayer tf.keras.backend.set_floatx("float64") ############ # Utilities ############ def _zero_one_normal_prior(w_dim): """ N(0, I) prior """ return tfp.distributions.MultivariateNormalDiag(loc=np.zeros(w_dim), scale_diag=np.ones(w_dim)) ############ # Tests ############ class ArrayMatcher: def __init__(self, expected): self.expected = expected def test_no_tensorflow_metaclass_overwritten(): """ LayerWithObservations is a subclass of tf.keras.layers.Layer (via TrackableLayer); this test ensures that TrackableLayer does not have a metaclass, and hence by adding the ABCMeta to LayerWithObservations we are not accidentally removing some required TensorFlow magic metaclass. """ assert LayerWithObservations.__bases__ == (TrackableLayer,) assert type(TrackableLayer) is type assert type(LayerWithObservations) is abc.ABCMeta
[ 2, 198, 2, 15069, 357, 66, 8, 33448, 383, 14714, 69, 22564, 25767, 669, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 198, 198, 11748, 450, 66, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 12972, 9288, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 11192, 273, 11125, 62, 1676, 65, 1799, 355, 256, 46428, 198, 198, 6738, 27809, 11125, 13, 74, 724, 1891, 62, 293, 571, 8116, 1330, 31986, 1046, 62, 41582, 198, 198, 6738, 27809, 69, 22564, 13, 12685, 375, 364, 1330, 4128, 306, 36301, 1143, 26447, 18683, 363, 198, 6738, 27809, 69, 22564, 13, 75, 6962, 1330, 5476, 298, 43015, 49925, 11, 34398, 3152, 31310, 712, 602, 11, 17762, 540, 49925, 198, 198, 27110, 13, 6122, 292, 13, 1891, 437, 13, 2617, 62, 22468, 87, 7203, 22468, 2414, 4943, 198, 198, 7804, 4242, 198, 2, 41086, 198, 7804, 4242, 628, 198, 4299, 4808, 22570, 62, 505, 62, 11265, 62, 3448, 273, 7, 86, 62, 27740, 2599, 198, 220, 220, 220, 37227, 399, 7, 15, 11, 314, 8, 3161, 37227, 198, 220, 220, 220, 1441, 256, 46428, 13, 17080, 2455, 507, 13, 15205, 42524, 26447, 18683, 363, 7, 17946, 28, 37659, 13, 9107, 418, 7, 86, 62, 27740, 828, 5046, 62, 10989, 363, 28, 37659, 13, 1952, 7, 86, 62, 27740, 4008, 628, 198, 198, 7804, 4242, 198, 2, 30307, 198, 7804, 4242, 628, 628, 198, 4871, 15690, 19044, 2044, 25, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 2938, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 40319, 796, 2938, 628, 628, 198, 4299, 1332, 62, 3919, 62, 83, 22854, 11125, 62, 4164, 330, 31172, 62, 2502, 15266, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 34398, 3152, 31310, 712, 602, 318, 257, 47611, 286, 48700, 13, 6122, 292, 13, 75, 6962, 13, 49925, 357, 8869, 17762, 540, 49925, 1776, 198, 220, 220, 220, 428, 1332, 19047, 326, 17762, 540, 49925, 857, 407, 423, 257, 1138, 330, 31172, 11, 290, 12891, 416, 4375, 198, 220, 220, 220, 262, 9738, 48526, 284, 34398, 3152, 31310, 712, 602, 356, 389, 407, 14716, 10829, 617, 2672, 198, 220, 220, 220, 309, 22854, 37535, 5536, 1138, 330, 31172, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6818, 34398, 3152, 31310, 712, 602, 13, 834, 65, 1386, 834, 6624, 357, 24802, 540, 49925, 35751, 198, 220, 220, 220, 6818, 2099, 7, 24802, 540, 49925, 8, 318, 2099, 198, 220, 220, 220, 6818, 2099, 7, 49925, 3152, 31310, 712, 602, 8, 318, 450, 66, 13, 24694, 48526, 198 ]
3.170213
564
#!/usr/bin/env python # from actingweb import actor from actingweb import config from actingweb import trust from actingweb import auth import webapp2 import os from google.appengine.ext.webapp import template import json import logging import datetime import time # /trust handlers # # GET /trust with query parameters (relationship, type, and peerid) to retrieve trust relationships (auth: only creator and admins allowed) # POST /trust with json body to initiate a trust relationship between this # actor and another (reciprocal relationship) (auth: only creator and admins allowed) # POST /trust/{relationship} with json body to create new trust # relationship (see config.py for default relationship and auto-accept, no # auth required) # GET /trust/{relationship}}/{actorid} to get details on a specific relationship (auth: creator, admin, or peer secret) # POST /trust/{relationship}}/{actorid} to send information to a peer about changes in the relationship # PUT /trust/{relationship}}/{actorid} with a json body to change details on a relationship (baseuri, secret, desc) (auth: creator, # admin, or peer secret) # DELETE /trust/{relationship}}/{actorid} to delete a relationship (with # ?peer=true if the delete is from the peer) (auth: creator, admin, or # peer secret) # Handling requests to trust/ # Handling requests to /trust/*, e.g. /trust/friend # Handling requests to specific relationships, e.g. /trust/friend/12f2ae53bd application = webapp2.WSGIApplication([ webapp2.Route(r'/<id>/trust<:/?>', rootHandler, name='rootHandler'), webapp2.Route(r'/<id>/trust/<relationship><:/?>', relationshipHandler, name='relationshipHandler'), webapp2.Route(r'/<id>/trust/<relationship>/<peerid><:/?>', trustHandler, name='trustHandler'), ], debug=True)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 198, 6738, 7205, 12384, 1330, 8674, 198, 6738, 7205, 12384, 1330, 4566, 198, 6738, 7205, 12384, 1330, 3774, 198, 6738, 7205, 12384, 1330, 6284, 198, 198, 11748, 3992, 1324, 17, 198, 198, 11748, 28686, 198, 6738, 23645, 13, 1324, 18392, 13, 2302, 13, 12384, 1324, 1330, 11055, 198, 11748, 33918, 198, 11748, 18931, 198, 11748, 4818, 8079, 198, 11748, 640, 628, 198, 2, 1220, 38087, 32847, 198, 2, 198, 2, 17151, 1220, 38087, 351, 12405, 10007, 357, 39468, 1056, 11, 2099, 11, 290, 12720, 312, 8, 284, 19818, 3774, 6958, 357, 18439, 25, 691, 13172, 290, 44563, 3142, 8, 198, 2, 24582, 1220, 38087, 351, 33918, 1767, 284, 22118, 257, 3774, 2776, 1022, 428, 198, 2, 220, 220, 8674, 290, 1194, 357, 8344, 541, 43270, 2776, 8, 357, 18439, 25, 691, 13172, 290, 44563, 3142, 8, 198, 2, 24582, 1220, 38087, 14, 90, 39468, 1056, 92, 351, 33918, 1767, 284, 2251, 649, 3774, 198, 2, 220, 220, 2776, 357, 3826, 4566, 13, 9078, 329, 4277, 2776, 290, 8295, 12, 13635, 11, 645, 198, 2, 220, 220, 6284, 2672, 8, 198, 2, 17151, 1220, 38087, 14, 90, 39468, 1056, 11709, 14, 90, 11218, 312, 92, 284, 651, 3307, 319, 257, 2176, 2776, 357, 18439, 25, 13172, 11, 13169, 11, 393, 12720, 3200, 8, 198, 2, 24582, 1220, 38087, 14, 90, 39468, 1056, 11709, 14, 90, 11218, 312, 92, 284, 3758, 1321, 284, 257, 12720, 546, 2458, 287, 262, 2776, 198, 2, 350, 3843, 1220, 38087, 14, 90, 39468, 1056, 11709, 14, 90, 11218, 312, 92, 351, 257, 33918, 1767, 284, 1487, 3307, 319, 257, 2776, 357, 8692, 9900, 11, 3200, 11, 1715, 8, 357, 18439, 25, 13172, 11, 198, 2, 220, 220, 13169, 11, 393, 12720, 3200, 8, 198, 2, 5550, 2538, 9328, 1220, 38087, 14, 90, 39468, 1056, 11709, 14, 90, 11218, 312, 92, 284, 12233, 257, 2776, 357, 4480, 198, 2, 220, 220, 5633, 33350, 28, 7942, 611, 262, 12233, 318, 422, 262, 12720, 8, 357, 18439, 25, 13172, 11, 13169, 11, 393, 198, 2, 220, 220, 12720, 3200, 8, 198, 198, 2, 49500, 7007, 284, 3774, 14, 628, 198, 2, 49500, 7007, 284, 1220, 38087, 15211, 11, 304, 13, 70, 13, 1220, 38087, 14, 6726, 628, 198, 2, 49500, 7007, 284, 2176, 6958, 11, 304, 13, 70, 13, 1220, 38087, 14, 6726, 14, 1065, 69, 17, 3609, 4310, 17457, 628, 198, 31438, 796, 3992, 1324, 17, 13, 19416, 38, 3539, 381, 10142, 26933, 198, 220, 220, 220, 3992, 1324, 17, 13, 43401, 7, 81, 26488, 27, 312, 29, 14, 38087, 27, 14079, 30, 29, 3256, 6808, 25060, 11, 1438, 11639, 15763, 25060, 33809, 198, 220, 220, 220, 3992, 1324, 17, 13, 43401, 7, 81, 26488, 27, 312, 29, 14, 38087, 14, 27, 39468, 1056, 6927, 14079, 30, 29, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2776, 25060, 11, 1438, 11639, 39468, 1056, 25060, 33809, 198, 220, 220, 220, 3992, 1324, 17, 13, 43401, 7, 81, 26488, 27, 312, 29, 14, 38087, 14, 27, 39468, 1056, 29, 14, 27, 33350, 312, 6927, 14079, 30, 29, 3256, 3774, 25060, 11, 1438, 11639, 38087, 25060, 33809, 198, 4357, 14257, 28, 17821, 8, 198 ]
3.332721
544
# Store the version here so: # 1) we don't load dependencies by storing it in __init__.py # 2) we can import it in setup.py for the same reason # 3) we can import it into your module module # https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package __version__ = '1.6.1' release_notes = { '1.6.1': """ Fixed GUI crash when loading certain RLBot config files with relative paths for agents. Fixed agent preset loading to allow multiple agents to saved/loaded correctly if they have the same name. - ima9rd """, '1.6.0':""" Add support for auto starting .NET executables. """, '1.5.1': """ Fixed crash with GUI when no default RLBot.cfg file was found. Updated GUI to launch Rocket League when clicking run if no Rocket League process is found. - ima9rd """, '1.5.0': """ Adding a have_internet helper function to help streamline upgrade checks. - ima9rd """, '1.4.2': """ Adding support for auto-running java bots during tournaments. To take advantage of this in your bot, see https://github.com/RLBot/RLBotJavaExample/wiki/Auto-Launching-Java Plus bug fixes: - Fixed a bug where auto-run executables would crash when trying to write to stderr. - Dragging bots to another team in the GUI no longer breaks the config. """, '1.3.0': """ Accurate ball prediction for Hoops and Dropshot modes! - Kipje13, Marvin, NeverCast, et. al. """, '1.2.6': """ Fixed a bug where field info was not extracted properly during dropshot mode. It was reporting 2 goals rather than the expected 140. """, '1.2.5': """ *************************************************** * Fix for dodge cancels / half flips! - ccman32 * *************************************************** Plus: - Changing the rendering strategy for 3D lines that go past the camera. Formerly it was "draw it, even though it's crazy sometimes", now it will be "don't draw it". - Showing the rate that inputs are received for each player index when you press the [home] key. Toggle back off with the [end] key. - Fixed a bug where party_member_bot could get influenced by real controller input. - Creating new presets in the GUI works better now. - Got rid of the libpng warning seen when using the GUI. - Giving specific error messages when cfg files are messed up. """, '1.2.2': """ - Rearranged the GUI a bit, and made it load and track appearance configs more effectively. - Fixed bug where RUN button behavior in the GUI would not work after killing bots. """, '1.2.0': """ - We now offer a 'RigidBodyTick' thanks to whatisaphone! It's a lower-level representation of physics data which updates at 120Hz and is not subject to interpolation. You can still make a great bot without it, but this feature is quite nice for the scientists among us. See https://github.com/RLBot/RLBotPythonExample/wiki/Rigid-Body-Tick for more details! - Faster way to access ball prediction data in python. - Skyborg """, '1.1.3': """ - Faster way to access ball prediction data in python. - Skyborg - Java bots will now shut down when the python framework quits. This has been necessary recently to avoid buggy situations. - Shutting down the python framework will no longer attempt to kill bots twice in a row. - Clicking on the "Run" button twice in a row in the GUI will no longer spawn duplicate processes. """, '1.1.2': """ Faster way to access ball prediction data in python. - Skyborg """, '1.1.1': """ You can now get information about the ball's status in Dropshot mode thanks to hallo_doei! Read all about it at https://github.com/RLBot/RLBot/wiki/Dropshot Other changes: - The loadout config for orange team is now respected again. - ccman32 - Fixed a bug where the GUI would crash with a "KeyError". - hallo_doei - Avoiding and suppressing some game crashes, and also restoring the ability to get game tick data during replays and the postgame. - tarehart - Fixed a bug where bots would dodge when they intended to double jump. -tarehart """, '1.0.6': """ The latest Rocket League patch broke dodges for our bots; this update fixes it. """, '1.0.5': """ Maximum size for a render message has been decreased again because many people experienced errors related to memory access. The limit is now only double the original. """, '1.0.4': """ - Maximum size for a render message has been increased by a factor of 100. This means you can draw a lot of lines at once without getting errors. - Boost amount for cars will now round up to the nearest integer, so 0.3% boost will now appear as 1 instead of 0. - Fixed a crash that would commonly happen after a match ends. As a side effect, you can no longer see up-to-date player data during instant replays. """, '1.0.3': """ Time for the big 1.0 release! We actually left "beta" a long time ago so this isn't as big a milestone as the number implies, but we DO have two great new features! 1. Setting game state. You can manipulate the position, velocity, etc of the ball and the cars! This can be a great help during bot development, and you can also get creative with it. Visit the wiki for details and documentation - https://github.com/RLBot/RLBot/wiki/Manipulating-Game-State Code written by hallo_doei, ccman32, and tarehart 2. Ball prediction. We now provide a list of future ball positions based on chip's excellent physics modeling. Take advantage of this to do next-level wall reads, catches, and dribbles! You can read about the math involved here: https://samuelpmish.github.io/notes/RocketLeague/ball_bouncing/ Note: currently the wall bounces are only accurate on the standard arena, not hoops or dropshot. Documentation and examples can be found here: https://github.com/RLBot/RLBot/wiki/Ball-Path-Prediction Code written by chip and tarehart Bonus: - You can now play on Salty Shores thanks to hallo_doei - Bug fix for people with spaces in their file path by Zaptive - Subprocess agent for future Rust support by whatisaphone """, '0.0.32': """ More comprehensive fix for Rocket League patch 1.50. Compared to previous version: - Dropshot tile data is fixed - Boost pad data is fixed - Loadout configuration is fixed Thanks to ccman32 and dtracers for delivering this fix quickly! """, '0.0.31': """ Rapid response to Rocket League patch 1.50 with the following known issues: - Dropshot tile data is missing - Boost pad data is missing - Loadout configuration is broken Thanks to ccman32 and dtracers for delivering this short-term fix quickly. We will follow this up with a proper fix as soon as possible. You may also choose to stay on Rocket League 1.49 and RLBot 0.0.30, ask for instructions on discord. """, '0.0.30': """ - New core dll that is less likely to break when Rocket League is patched - ccman32 and hallo-doei - Fixed bug resulting in incorrect quickchat - dtracers - Added more built-in colors to the python rendering manager - Eastvillage - Fix for items with a ':' not showing up in the GUI - hallo-doei - Fix for GUI not saving correct path - hallo-doei - Fix for GUI crash when saving preset then canceling - hallo-doei - Adding file checking before injection (Resolves #167) - Redox - Fixed typo in rlbot.cfg - Redox - Fancy release notes - tarehart and Skyborg """ } release_banner = """ ______ _ ______ _ 10100 | ___ \ | | ___ \ | | 00101 110011 | |_/ / | | |_/ / ___ | |_ 110011 00110110 | /| | | ___ \/ _ \| __| 01101100 010010 | |\ \| |____| |_/ / (_) | |_ 010010 10010 \_| \_\_____/\____/ \___/ \__| 01001 """
[ 2, 9363, 262, 2196, 994, 523, 25, 198, 2, 352, 8, 356, 836, 470, 3440, 20086, 416, 23069, 340, 287, 11593, 15003, 834, 13, 9078, 198, 2, 362, 8, 356, 460, 1330, 340, 287, 9058, 13, 9078, 329, 262, 976, 1738, 198, 2, 513, 8, 356, 460, 1330, 340, 656, 534, 8265, 8265, 198, 2, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 2231, 5332, 1120, 14, 20307, 12, 1014, 12, 1462, 12, 20521, 12, 9641, 12, 20424, 12, 29412, 12, 26495, 198, 834, 9641, 834, 796, 705, 16, 13, 21, 13, 16, 6, 198, 198, 20979, 62, 17815, 796, 1391, 198, 220, 220, 220, 705, 16, 13, 21, 13, 16, 10354, 37227, 198, 220, 220, 220, 10832, 25757, 7014, 618, 11046, 1728, 45715, 20630, 4566, 3696, 351, 3585, 13532, 329, 6554, 13, 198, 220, 220, 220, 10832, 5797, 38266, 11046, 284, 1249, 3294, 6554, 284, 7448, 14, 14578, 9380, 611, 484, 423, 262, 976, 1438, 13, 532, 545, 64, 24, 4372, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 21, 13, 15, 10354, 37811, 198, 220, 220, 220, 3060, 1104, 329, 8295, 3599, 764, 12884, 3121, 2977, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 20, 13, 16, 10354, 37227, 198, 220, 220, 220, 10832, 7014, 351, 25757, 618, 645, 4277, 45715, 20630, 13, 37581, 2393, 373, 1043, 13, 198, 220, 220, 220, 19433, 25757, 284, 4219, 16920, 4041, 618, 12264, 1057, 611, 645, 16920, 4041, 1429, 318, 1043, 13, 532, 545, 64, 24, 4372, 220, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 20, 13, 15, 10354, 37227, 198, 220, 220, 220, 18247, 257, 423, 62, 37675, 31904, 2163, 284, 1037, 4269, 1370, 8515, 8794, 13, 532, 545, 64, 24, 4372, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 19, 13, 17, 10354, 37227, 198, 220, 220, 220, 18247, 1104, 329, 8295, 12, 20270, 20129, 29641, 1141, 18130, 13, 1675, 1011, 4621, 286, 428, 198, 220, 220, 220, 287, 534, 10214, 11, 766, 3740, 1378, 12567, 13, 785, 14, 7836, 20630, 14, 7836, 20630, 29584, 16281, 14, 15466, 14, 27722, 12, 46182, 10813, 12, 29584, 198, 220, 220, 220, 220, 198, 220, 220, 220, 8227, 5434, 13040, 25, 198, 220, 220, 220, 532, 10832, 257, 5434, 810, 8295, 12, 5143, 3121, 2977, 561, 7014, 618, 2111, 284, 3551, 284, 336, 1082, 81, 13, 198, 220, 220, 220, 532, 12697, 2667, 29641, 284, 1194, 1074, 287, 262, 25757, 645, 2392, 9457, 262, 4566, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 18, 13, 15, 10354, 37227, 198, 220, 220, 220, 6366, 15537, 2613, 17724, 329, 9544, 2840, 290, 41692, 8940, 12881, 0, 198, 220, 220, 220, 220, 220, 532, 509, 541, 18015, 1485, 11, 35105, 11, 7236, 19248, 11, 2123, 13, 435, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 17, 13, 21, 10354, 37227, 198, 220, 220, 220, 10832, 257, 5434, 810, 2214, 7508, 373, 407, 21242, 6105, 1141, 10532, 8940, 4235, 13, 198, 220, 220, 220, 632, 373, 6447, 362, 4661, 2138, 621, 262, 2938, 12713, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 17, 13, 20, 10354, 37227, 198, 220, 220, 220, 41906, 8412, 8162, 198, 220, 220, 220, 1635, 220, 13268, 329, 24885, 14241, 82, 1220, 2063, 45971, 0, 532, 36624, 805, 2624, 220, 1635, 198, 220, 220, 220, 41906, 8412, 8162, 198, 220, 220, 220, 220, 198, 220, 220, 220, 8227, 25, 198, 220, 220, 220, 532, 33680, 262, 14837, 4811, 329, 513, 35, 3951, 326, 467, 1613, 262, 4676, 13, 14466, 306, 340, 373, 198, 220, 220, 220, 220, 220, 366, 19334, 340, 11, 772, 996, 340, 338, 7165, 3360, 1600, 783, 340, 481, 307, 366, 9099, 470, 3197, 340, 1911, 198, 220, 220, 220, 532, 5438, 278, 262, 2494, 326, 17311, 389, 2722, 329, 1123, 2137, 6376, 618, 345, 1803, 262, 198, 220, 220, 220, 220, 220, 685, 11195, 60, 1994, 13, 34098, 736, 572, 351, 262, 685, 437, 60, 1994, 13, 198, 220, 220, 220, 532, 10832, 257, 5434, 810, 2151, 62, 19522, 62, 13645, 714, 651, 12824, 416, 1103, 10444, 5128, 13, 198, 220, 220, 220, 532, 30481, 649, 46613, 287, 262, 25757, 2499, 1365, 783, 13, 198, 220, 220, 220, 532, 11853, 5755, 286, 262, 9195, 11134, 6509, 1775, 618, 1262, 262, 25757, 13, 198, 220, 220, 220, 532, 35603, 2176, 4049, 6218, 618, 30218, 70, 3696, 389, 32621, 510, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 17, 13, 17, 10354, 37227, 198, 220, 220, 220, 532, 30144, 34457, 262, 25757, 257, 1643, 11, 290, 925, 340, 3440, 290, 2610, 5585, 4566, 82, 517, 6840, 13, 198, 220, 220, 220, 532, 10832, 5434, 810, 32494, 4936, 4069, 287, 262, 25757, 561, 407, 670, 706, 5170, 29641, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 17, 13, 15, 10354, 37227, 198, 220, 220, 220, 532, 775, 783, 2897, 257, 705, 49, 328, 312, 25842, 51, 624, 6, 5176, 284, 644, 271, 6570, 505, 0, 632, 338, 257, 2793, 12, 5715, 10552, 286, 198, 220, 220, 220, 11887, 1366, 543, 5992, 379, 7982, 7399, 290, 318, 407, 2426, 284, 39555, 341, 13, 921, 460, 991, 787, 257, 220, 198, 220, 220, 220, 1049, 10214, 1231, 340, 11, 475, 428, 3895, 318, 2407, 3621, 329, 262, 5519, 1871, 514, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 4091, 3740, 1378, 12567, 13, 785, 14, 7836, 20630, 14, 7836, 20630, 37906, 16281, 14, 15466, 14, 49, 328, 312, 12, 25842, 12, 51, 624, 329, 517, 3307, 0, 198, 220, 220, 220, 220, 198, 220, 220, 220, 532, 38996, 835, 284, 1895, 2613, 17724, 1366, 287, 21015, 13, 532, 5274, 23297, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 16, 13, 18, 10354, 37227, 198, 220, 220, 220, 532, 38996, 835, 284, 1895, 2613, 17724, 1366, 287, 21015, 13, 532, 5274, 23297, 198, 220, 220, 220, 532, 7349, 29641, 481, 783, 4423, 866, 618, 262, 21015, 9355, 627, 896, 13, 770, 468, 587, 3306, 2904, 198, 220, 220, 220, 284, 3368, 46542, 7445, 13, 198, 220, 220, 220, 532, 18736, 889, 866, 262, 21015, 9355, 481, 645, 2392, 2230, 284, 1494, 29641, 5403, 287, 257, 5752, 13, 198, 220, 220, 220, 532, 6914, 278, 319, 262, 366, 10987, 1, 4936, 5403, 287, 257, 5752, 287, 262, 25757, 481, 645, 2392, 10922, 23418, 7767, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 16, 13, 17, 10354, 37227, 198, 220, 220, 220, 38996, 835, 284, 1895, 2613, 17724, 1366, 287, 21015, 13, 532, 5274, 23297, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 16, 13, 16, 10354, 37227, 198, 220, 220, 220, 921, 460, 783, 651, 1321, 546, 262, 2613, 338, 3722, 287, 41692, 8940, 4235, 5176, 284, 6899, 78, 62, 67, 2577, 72, 0, 198, 220, 220, 220, 4149, 477, 546, 340, 379, 3740, 1378, 12567, 13, 785, 14, 7836, 20630, 14, 7836, 20630, 14, 15466, 14, 35442, 862, 8940, 628, 220, 220, 220, 3819, 2458, 25, 198, 220, 220, 220, 532, 383, 3440, 448, 4566, 329, 10912, 1074, 318, 783, 14462, 757, 13, 532, 36624, 805, 2624, 198, 220, 220, 220, 532, 10832, 257, 5434, 810, 262, 25757, 561, 7014, 351, 257, 366, 9218, 12331, 1911, 532, 6899, 78, 62, 67, 2577, 72, 198, 220, 220, 220, 532, 24390, 278, 290, 41895, 617, 983, 17616, 11, 290, 635, 25646, 262, 198, 220, 220, 220, 220, 220, 2694, 284, 651, 983, 4378, 1366, 1141, 2186, 592, 290, 262, 1281, 6057, 13, 532, 256, 533, 18647, 198, 220, 220, 220, 532, 10832, 257, 5434, 810, 29641, 561, 24885, 618, 484, 5292, 284, 4274, 4391, 13, 532, 83, 533, 18647, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 15, 13, 21, 10354, 37227, 198, 220, 220, 220, 383, 3452, 16920, 4041, 8529, 6265, 20764, 3212, 329, 674, 29641, 26, 428, 4296, 13040, 340, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 15, 13, 20, 10354, 37227, 198, 220, 220, 220, 22246, 2546, 329, 257, 8543, 3275, 468, 587, 11832, 757, 780, 867, 661, 5924, 198, 220, 220, 220, 8563, 3519, 284, 4088, 1895, 13, 383, 4179, 318, 783, 691, 4274, 262, 2656, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 15, 13, 19, 10354, 37227, 198, 220, 220, 220, 532, 22246, 2546, 329, 257, 8543, 3275, 468, 587, 3220, 416, 257, 5766, 286, 1802, 13, 770, 1724, 345, 460, 198, 220, 220, 220, 220, 220, 3197, 257, 1256, 286, 3951, 379, 1752, 1231, 1972, 8563, 13, 198, 220, 220, 220, 532, 19835, 2033, 329, 5006, 481, 783, 2835, 510, 284, 262, 16936, 18253, 11, 523, 657, 13, 18, 4, 5750, 481, 783, 1656, 198, 220, 220, 220, 220, 220, 355, 352, 2427, 286, 657, 13, 198, 220, 220, 220, 532, 10832, 257, 7014, 326, 561, 8811, 1645, 706, 257, 2872, 5645, 13, 1081, 257, 1735, 1245, 11, 345, 460, 645, 2392, 198, 220, 220, 220, 220, 220, 766, 510, 12, 1462, 12, 4475, 2137, 1366, 1141, 9113, 2186, 592, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 16, 13, 15, 13, 18, 10354, 37227, 198, 220, 220, 220, 3862, 329, 262, 1263, 352, 13, 15, 2650, 0, 775, 1682, 1364, 366, 31361, 1, 257, 890, 640, 2084, 523, 428, 2125, 470, 355, 1263, 198, 220, 220, 220, 257, 23554, 355, 262, 1271, 15565, 11, 475, 356, 8410, 423, 734, 1049, 649, 3033, 0, 628, 220, 220, 220, 352, 13, 25700, 983, 1181, 13, 921, 460, 18510, 262, 2292, 11, 15432, 11, 3503, 286, 262, 2613, 290, 262, 5006, 0, 198, 220, 220, 220, 770, 460, 307, 257, 1049, 1037, 1141, 10214, 2478, 11, 290, 345, 460, 635, 651, 7325, 351, 340, 13, 16440, 198, 220, 220, 220, 262, 22719, 329, 3307, 290, 10314, 532, 3740, 1378, 12567, 13, 785, 14, 7836, 20630, 14, 7836, 20630, 14, 15466, 14, 5124, 541, 8306, 12, 8777, 12, 9012, 198, 220, 220, 220, 6127, 3194, 416, 6899, 78, 62, 67, 2577, 72, 11, 36624, 805, 2624, 11, 290, 256, 533, 18647, 628, 220, 220, 220, 362, 13, 6932, 17724, 13, 775, 783, 2148, 257, 1351, 286, 2003, 2613, 6116, 1912, 319, 11594, 338, 6275, 198, 220, 220, 220, 11887, 21128, 13, 7214, 4621, 286, 428, 284, 466, 1306, 12, 5715, 3355, 9743, 11, 17591, 11, 290, 35003, 7689, 0, 921, 460, 198, 220, 220, 220, 1100, 546, 262, 10688, 2950, 994, 25, 3740, 1378, 37687, 2731, 4426, 680, 13, 12567, 13, 952, 14, 17815, 14, 50218, 24623, 14, 1894, 62, 65, 18155, 14, 198, 220, 220, 220, 5740, 25, 3058, 262, 3355, 49623, 389, 691, 7187, 319, 262, 3210, 13478, 11, 407, 46730, 393, 10532, 8940, 13, 198, 220, 220, 220, 43925, 290, 6096, 460, 307, 1043, 994, 25, 3740, 1378, 12567, 13, 785, 14, 7836, 20630, 14, 7836, 20630, 14, 15466, 14, 23410, 12, 15235, 12, 39156, 2867, 198, 220, 220, 220, 6127, 3194, 416, 11594, 290, 256, 533, 18647, 628, 220, 220, 220, 18770, 25, 198, 220, 220, 220, 220, 532, 921, 460, 783, 711, 319, 4849, 774, 911, 2850, 5176, 284, 6899, 78, 62, 67, 2577, 72, 198, 220, 220, 220, 220, 532, 15217, 4259, 329, 661, 351, 9029, 287, 511, 2393, 3108, 416, 1168, 2373, 425, 198, 220, 220, 220, 220, 532, 3834, 14681, 5797, 329, 2003, 17103, 1104, 416, 644, 271, 6570, 505, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 15, 13, 15, 13, 2624, 10354, 37227, 198, 220, 220, 220, 3125, 9815, 4259, 329, 16920, 4041, 8529, 352, 13, 1120, 13, 27492, 284, 2180, 2196, 25, 198, 220, 220, 220, 532, 41692, 8940, 17763, 1366, 318, 5969, 198, 220, 220, 220, 532, 19835, 14841, 1366, 318, 5969, 198, 220, 220, 220, 532, 8778, 448, 8398, 318, 5969, 198, 220, 220, 220, 220, 198, 220, 220, 220, 6930, 284, 36624, 805, 2624, 290, 288, 2213, 49908, 329, 13630, 428, 4259, 2952, 0, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 15, 13, 15, 13, 3132, 10354, 37227, 198, 220, 220, 220, 26430, 2882, 284, 16920, 4041, 8529, 352, 13, 1120, 351, 262, 1708, 1900, 2428, 25, 198, 220, 220, 220, 532, 41692, 8940, 17763, 1366, 318, 4814, 198, 220, 220, 220, 532, 19835, 14841, 1366, 318, 4814, 198, 220, 220, 220, 532, 8778, 448, 8398, 318, 5445, 198, 220, 220, 220, 220, 198, 220, 220, 220, 6930, 284, 36624, 805, 2624, 290, 288, 2213, 49908, 329, 13630, 428, 1790, 12, 4354, 4259, 2952, 13, 628, 220, 220, 220, 775, 481, 1061, 428, 510, 351, 257, 1774, 4259, 355, 2582, 355, 1744, 13, 921, 743, 635, 3853, 284, 2652, 319, 198, 220, 220, 220, 16920, 4041, 352, 13, 2920, 290, 45715, 20630, 657, 13, 15, 13, 1270, 11, 1265, 329, 7729, 319, 36446, 13, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 705, 15, 13, 15, 13, 1270, 10354, 37227, 198, 220, 220, 220, 532, 968, 4755, 288, 297, 326, 318, 1342, 1884, 284, 2270, 618, 16920, 4041, 318, 39378, 532, 36624, 805, 2624, 290, 6899, 78, 12, 67, 2577, 72, 198, 220, 220, 220, 532, 10832, 5434, 7186, 287, 11491, 2068, 17006, 532, 288, 2213, 49908, 198, 220, 220, 220, 532, 10687, 517, 3170, 12, 259, 7577, 284, 262, 21015, 14837, 4706, 532, 3687, 41082, 496, 198, 220, 220, 220, 532, 13268, 329, 3709, 351, 257, 705, 32105, 407, 4478, 510, 287, 262, 25757, 532, 6899, 78, 12, 67, 2577, 72, 198, 220, 220, 220, 532, 13268, 329, 25757, 407, 8914, 3376, 3108, 532, 6899, 78, 12, 67, 2577, 72, 198, 220, 220, 220, 532, 13268, 329, 25757, 7014, 618, 8914, 38266, 788, 10450, 1359, 532, 6899, 78, 12, 67, 2577, 72, 198, 220, 220, 220, 532, 18247, 2393, 10627, 878, 16954, 357, 4965, 9010, 1303, 21940, 8, 532, 2297, 1140, 198, 220, 220, 220, 532, 10832, 46517, 287, 374, 75, 13645, 13, 37581, 532, 2297, 1140, 198, 220, 220, 220, 532, 49848, 2650, 4710, 532, 256, 533, 18647, 290, 5274, 23297, 198, 220, 220, 220, 37227, 198, 92, 198, 198, 20979, 62, 3820, 1008, 796, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44435, 4808, 220, 220, 220, 220, 44435, 220, 220, 220, 220, 220, 220, 4808, 198, 220, 220, 220, 220, 8949, 405, 930, 46444, 3467, 930, 220, 220, 220, 930, 46444, 3467, 220, 220, 220, 220, 930, 930, 220, 220, 3571, 8784, 198, 220, 220, 220, 36566, 1157, 930, 930, 62, 14, 1220, 930, 220, 220, 220, 930, 930, 62, 14, 1220, 46444, 930, 930, 62, 220, 36566, 1157, 198, 220, 3571, 1157, 486, 940, 930, 220, 220, 220, 1220, 91, 930, 220, 220, 220, 930, 46444, 3467, 14, 4808, 3467, 91, 11593, 91, 5534, 8784, 3064, 198, 220, 220, 220, 5534, 37187, 930, 930, 59, 3467, 91, 930, 1427, 91, 930, 62, 14, 1220, 44104, 8, 930, 930, 62, 220, 5534, 37187, 198, 220, 220, 220, 220, 1802, 940, 3467, 62, 91, 3467, 62, 59, 29343, 14, 59, 1427, 14, 3467, 17569, 14, 3467, 834, 91, 5534, 8298, 628, 198, 37811, 628, 628 ]
3.128894
2,568
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: enemy_skills.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='enemy_skills.proto', package='dadguide_proto', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x12\x65nemy_skills.proto\x12\x0e\x64\x61\x64guide_proto\"\xbf\x02\n\x1cMonsterBehaviorWithOverrides\x12\x12\n\nmonster_id\x18\x01 \x01(\x05\x12-\n\x06levels\x18\x02 \x03(\x0b\x32\x1d.dadguide_proto.LevelBehavior\x12\x36\n\x0flevel_overrides\x18\x03 \x03(\x0b\x32\x1d.dadguide_proto.LevelBehavior\x12\x43\n\x06status\x18\x04 \x01(\x0e\x32\x33.dadguide_proto.MonsterBehaviorWithOverrides.Status\"_\n\x06Status\x12\x10\n\x0cNOT_APPROVED\x10\x00\x12\x12\n\x0e\x41PPROVED_AS_IS\x10\x01\x12\x14\n\x10NEEDS_REAPPROVAL\x10\x02\x12\x19\n\x15\x41PPROVED_WITH_CHANGES\x10\x03\"f\n\x0fMonsterBehavior\x12\x12\n\nmonster_id\x18\x01 \x01(\x05\x12-\n\x06levels\x18\x02 \x03(\x0b\x32\x1d.dadguide_proto.LevelBehavior\x12\x10\n\x08\x61pproved\x18\x03 \x01(\x08\"M\n\rLevelBehavior\x12\r\n\x05level\x18\x01 \x01(\x05\x12-\n\x06groups\x18\x02 \x03(\x0b\x32\x1d.dadguide_proto.BehaviorGroup\"\xd9\x02\n\rBehaviorGroup\x12;\n\ngroup_type\x18\x01 \x01(\x0e\x32\'.dadguide_proto.BehaviorGroup.GroupType\x12,\n\tcondition\x18\x02 \x01(\x0b\x32\x19.dadguide_proto.Condition\x12.\n\x08\x63hildren\x18\x03 \x03(\x0b\x32\x1c.dadguide_proto.BehaviorItem\"\xac\x01\n\tGroupType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07PASSIVE\x10\x01\x12\x0b\n\x07PREEMPT\x10\x02\x12\x11\n\rDISPEL_PLAYER\x10\x03\x12\x12\n\x0eMONSTER_STATUS\x10\x04\x12\r\n\tREMAINING\x10\x05\x12\x0c\n\x08STANDARD\x10\x06\x12\t\n\x05\x44\x45\x41TH\x10\x07\x12\x0f\n\x0bUNKNOWN_USE\x10\x08\x12\x14\n\x10HIGHEST_PRIORITY\x10\t\"u\n\x0c\x42\x65haviorItem\x12.\n\x05group\x18\x02 \x01(\x0b\x32\x1d.dadguide_proto.BehaviorGroupH\x00\x12,\n\x08\x62\x65havior\x18\x03 \x01(\x0b\x32\x18.dadguide_proto.BehaviorH\x00\x42\x07\n\x05value\"c\n\x08\x42\x65havior\x12,\n\tcondition\x18\x01 \x01(\x0b\x32\x19.dadguide_proto.Condition\x12\x16\n\x0e\x65nemy_skill_id\x18\x02 \x01(\x05\x12\x11\n\tchild_ids\x18\x03 \x03(\x05\"\x80\x04\n\tCondition\x12\x14\n\x0chp_threshold\x18\x01 \x01(\x05\x12\x12\n\nuse_chance\x18\x02 \x01(\x05\x12\x15\n\rrepeats_every\x18\x03 \x01(\x05\x12\x17\n\x0fglobal_one_time\x18\x04 \x01(\x08\x12\x19\n\x11limited_execution\x18\r \x01(\x05\x12!\n\x19trigger_enemies_remaining\x18\x05 \x01(\x05\x12\x13\n\x0bif_defeated\x18\x06 \x01(\x08\x12\x1f\n\x17if_attributes_available\x18\x07 \x01(\x08\x12\x18\n\x10trigger_monsters\x18\x08 \x03(\x05\x12\x16\n\x0etrigger_combos\x18\t \x01(\x05\x12\x1a\n\x12if_nothing_matched\x18\n \x01(\x08\x12\x14\n\x0ctrigger_turn\x18\x0b \x01(\x05\x12\x18\n\x10trigger_turn_end\x18\x0c \x01(\x05\x12\x1c\n\x14\x61lways_trigger_above\x18\x0e \x01(\x05\x12\x14\n\x0c\x61lways_after\x18\x0f \x01(\x05\x12\x11\n\tskill_set\x18\x10 \x01(\x05\x12\x19\n\x11\x65rased_attributes\x18\x11 \x03(\x05\x12\x13\n\x0b\x64\x61mage_done\x18\x12 \x01(\x05\x12\x1b\n\x13\x61ttributes_attacked\x18\x13 \x03(\x05\x12\x13\n\x0bskills_used\x18\x14 \x01(\x05\x62\x06proto3' ) _MONSTERBEHAVIORWITHOVERRIDES_STATUS = _descriptor.EnumDescriptor( name='Status', full_name='dadguide_proto.MonsterBehaviorWithOverrides.Status', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='NOT_APPROVED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='APPROVED_AS_IS', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NEEDS_REAPPROVAL', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='APPROVED_WITH_CHANGES', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=263, serialized_end=358, ) _sym_db.RegisterEnumDescriptor(_MONSTERBEHAVIORWITHOVERRIDES_STATUS) _BEHAVIORGROUP_GROUPTYPE = _descriptor.EnumDescriptor( name='GroupType', full_name='dadguide_proto.BehaviorGroup.GroupType', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PASSIVE', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PREEMPT', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DISPEL_PLAYER', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MONSTER_STATUS', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='REMAINING', index=5, number=5, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='STANDARD', index=6, number=6, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DEATH', index=7, number=7, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='UNKNOWN_USE', index=8, number=8, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='HIGHEST_PRIORITY', index=9, number=9, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=717, serialized_end=889, ) _sym_db.RegisterEnumDescriptor(_BEHAVIORGROUP_GROUPTYPE) _MONSTERBEHAVIORWITHOVERRIDES = _descriptor.Descriptor( name='MonsterBehaviorWithOverrides', full_name='dadguide_proto.MonsterBehaviorWithOverrides', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='monster_id', full_name='dadguide_proto.MonsterBehaviorWithOverrides.monster_id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='levels', full_name='dadguide_proto.MonsterBehaviorWithOverrides.levels', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='level_overrides', full_name='dadguide_proto.MonsterBehaviorWithOverrides.level_overrides', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='status', full_name='dadguide_proto.MonsterBehaviorWithOverrides.status', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ _MONSTERBEHAVIORWITHOVERRIDES_STATUS, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=39, serialized_end=358, ) _MONSTERBEHAVIOR = _descriptor.Descriptor( name='MonsterBehavior', full_name='dadguide_proto.MonsterBehavior', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='monster_id', full_name='dadguide_proto.MonsterBehavior.monster_id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='levels', full_name='dadguide_proto.MonsterBehavior.levels', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='approved', full_name='dadguide_proto.MonsterBehavior.approved', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=360, serialized_end=462, ) _LEVELBEHAVIOR = _descriptor.Descriptor( name='LevelBehavior', full_name='dadguide_proto.LevelBehavior', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='level', full_name='dadguide_proto.LevelBehavior.level', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='groups', full_name='dadguide_proto.LevelBehavior.groups', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=464, serialized_end=541, ) _BEHAVIORGROUP = _descriptor.Descriptor( name='BehaviorGroup', full_name='dadguide_proto.BehaviorGroup', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='group_type', full_name='dadguide_proto.BehaviorGroup.group_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='condition', full_name='dadguide_proto.BehaviorGroup.condition', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='children', full_name='dadguide_proto.BehaviorGroup.children', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ _BEHAVIORGROUP_GROUPTYPE, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=544, serialized_end=889, ) _BEHAVIORITEM = _descriptor.Descriptor( name='BehaviorItem', full_name='dadguide_proto.BehaviorItem', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='group', full_name='dadguide_proto.BehaviorItem.group', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='behavior', full_name='dadguide_proto.BehaviorItem.behavior', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='dadguide_proto.BehaviorItem.value', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=891, serialized_end=1008, ) _BEHAVIOR = _descriptor.Descriptor( name='Behavior', full_name='dadguide_proto.Behavior', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='condition', full_name='dadguide_proto.Behavior.condition', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_skill_id', full_name='dadguide_proto.Behavior.enemy_skill_id', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='child_ids', full_name='dadguide_proto.Behavior.child_ids', index=2, number=3, type=5, cpp_type=1, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1010, serialized_end=1109, ) _CONDITION = _descriptor.Descriptor( name='Condition', full_name='dadguide_proto.Condition', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='hp_threshold', full_name='dadguide_proto.Condition.hp_threshold', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='use_chance', full_name='dadguide_proto.Condition.use_chance', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='repeats_every', full_name='dadguide_proto.Condition.repeats_every', index=2, number=3, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='global_one_time', full_name='dadguide_proto.Condition.global_one_time', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='limited_execution', full_name='dadguide_proto.Condition.limited_execution', index=4, number=13, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='trigger_enemies_remaining', full_name='dadguide_proto.Condition.trigger_enemies_remaining', index=5, number=5, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='if_defeated', full_name='dadguide_proto.Condition.if_defeated', index=6, number=6, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='if_attributes_available', full_name='dadguide_proto.Condition.if_attributes_available', index=7, number=7, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='trigger_monsters', full_name='dadguide_proto.Condition.trigger_monsters', index=8, number=8, type=5, cpp_type=1, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='trigger_combos', full_name='dadguide_proto.Condition.trigger_combos', index=9, number=9, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='if_nothing_matched', full_name='dadguide_proto.Condition.if_nothing_matched', index=10, number=10, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='trigger_turn', full_name='dadguide_proto.Condition.trigger_turn', index=11, number=11, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='trigger_turn_end', full_name='dadguide_proto.Condition.trigger_turn_end', index=12, number=12, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='always_trigger_above', full_name='dadguide_proto.Condition.always_trigger_above', index=13, number=14, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='always_after', full_name='dadguide_proto.Condition.always_after', index=14, number=15, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='skill_set', full_name='dadguide_proto.Condition.skill_set', index=15, number=16, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='erased_attributes', full_name='dadguide_proto.Condition.erased_attributes', index=16, number=17, type=5, cpp_type=1, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='damage_done', full_name='dadguide_proto.Condition.damage_done', index=17, number=18, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='attributes_attacked', full_name='dadguide_proto.Condition.attributes_attacked', index=18, number=19, type=5, cpp_type=1, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='skills_used', full_name='dadguide_proto.Condition.skills_used', index=19, number=20, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1112, serialized_end=1624, ) _MONSTERBEHAVIORWITHOVERRIDES.fields_by_name['levels'].message_type = _LEVELBEHAVIOR _MONSTERBEHAVIORWITHOVERRIDES.fields_by_name['level_overrides'].message_type = _LEVELBEHAVIOR _MONSTERBEHAVIORWITHOVERRIDES.fields_by_name['status'].enum_type = _MONSTERBEHAVIORWITHOVERRIDES_STATUS _MONSTERBEHAVIORWITHOVERRIDES_STATUS.containing_type = _MONSTERBEHAVIORWITHOVERRIDES _MONSTERBEHAVIOR.fields_by_name['levels'].message_type = _LEVELBEHAVIOR _LEVELBEHAVIOR.fields_by_name['groups'].message_type = _BEHAVIORGROUP _BEHAVIORGROUP.fields_by_name['group_type'].enum_type = _BEHAVIORGROUP_GROUPTYPE _BEHAVIORGROUP.fields_by_name['condition'].message_type = _CONDITION _BEHAVIORGROUP.fields_by_name['children'].message_type = _BEHAVIORITEM _BEHAVIORGROUP_GROUPTYPE.containing_type = _BEHAVIORGROUP _BEHAVIORITEM.fields_by_name['group'].message_type = _BEHAVIORGROUP _BEHAVIORITEM.fields_by_name['behavior'].message_type = _BEHAVIOR _BEHAVIORITEM.oneofs_by_name['value'].fields.append( _BEHAVIORITEM.fields_by_name['group']) _BEHAVIORITEM.fields_by_name['group'].containing_oneof = _BEHAVIORITEM.oneofs_by_name['value'] _BEHAVIORITEM.oneofs_by_name['value'].fields.append( _BEHAVIORITEM.fields_by_name['behavior']) _BEHAVIORITEM.fields_by_name['behavior'].containing_oneof = _BEHAVIORITEM.oneofs_by_name['value'] _BEHAVIOR.fields_by_name['condition'].message_type = _CONDITION DESCRIPTOR.message_types_by_name['MonsterBehaviorWithOverrides'] = _MONSTERBEHAVIORWITHOVERRIDES DESCRIPTOR.message_types_by_name['MonsterBehavior'] = _MONSTERBEHAVIOR DESCRIPTOR.message_types_by_name['LevelBehavior'] = _LEVELBEHAVIOR DESCRIPTOR.message_types_by_name['BehaviorGroup'] = _BEHAVIORGROUP DESCRIPTOR.message_types_by_name['BehaviorItem'] = _BEHAVIORITEM DESCRIPTOR.message_types_by_name['Behavior'] = _BEHAVIOR DESCRIPTOR.message_types_by_name['Condition'] = _CONDITION _sym_db.RegisterFileDescriptor(DESCRIPTOR) MonsterBehaviorWithOverrides = _reflection.GeneratedProtocolMessageType('MonsterBehaviorWithOverrides', (_message.Message,), { 'DESCRIPTOR': _MONSTERBEHAVIORWITHOVERRIDES, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.MonsterBehaviorWithOverrides) }) _sym_db.RegisterMessage(MonsterBehaviorWithOverrides) MonsterBehavior = _reflection.GeneratedProtocolMessageType('MonsterBehavior', (_message.Message,), { 'DESCRIPTOR': _MONSTERBEHAVIOR, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.MonsterBehavior) }) _sym_db.RegisterMessage(MonsterBehavior) LevelBehavior = _reflection.GeneratedProtocolMessageType('LevelBehavior', (_message.Message,), { 'DESCRIPTOR': _LEVELBEHAVIOR, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.LevelBehavior) }) _sym_db.RegisterMessage(LevelBehavior) BehaviorGroup = _reflection.GeneratedProtocolMessageType('BehaviorGroup', (_message.Message,), { 'DESCRIPTOR': _BEHAVIORGROUP, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.BehaviorGroup) }) _sym_db.RegisterMessage(BehaviorGroup) BehaviorItem = _reflection.GeneratedProtocolMessageType('BehaviorItem', (_message.Message,), { 'DESCRIPTOR': _BEHAVIORITEM, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.BehaviorItem) }) _sym_db.RegisterMessage(BehaviorItem) Behavior = _reflection.GeneratedProtocolMessageType('Behavior', (_message.Message,), { 'DESCRIPTOR': _BEHAVIOR, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.Behavior) }) _sym_db.RegisterMessage(Behavior) Condition = _reflection.GeneratedProtocolMessageType('Condition', (_message.Message,), { 'DESCRIPTOR': _CONDITION, '__module__': 'enemy_skills_pb2' # @@protoc_insertion_point(class_scope:dadguide_proto.Condition) }) _sym_db.RegisterMessage(Condition) # @@protoc_insertion_point(module_scope)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 262, 8435, 11876, 17050, 13, 220, 8410, 5626, 48483, 0, 198, 2, 2723, 25, 4472, 62, 8135, 2171, 13, 1676, 1462, 198, 37811, 8645, 515, 8435, 11876, 2438, 526, 15931, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 43087, 355, 4808, 20147, 1968, 273, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 3275, 355, 4808, 20500, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 14580, 355, 4808, 5420, 1564, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 6194, 62, 48806, 355, 4808, 1837, 23650, 62, 48806, 198, 198, 2, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 320, 3742, 8, 198, 198, 62, 37047, 62, 9945, 796, 4808, 1837, 23650, 62, 48806, 13, 19463, 3419, 198, 198, 30910, 36584, 32961, 796, 4808, 20147, 1968, 273, 13, 8979, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 46970, 62, 8135, 2171, 13, 1676, 1462, 3256, 198, 220, 220, 220, 5301, 11639, 47984, 41311, 62, 1676, 1462, 3256, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 11389, 1143, 62, 40842, 28, 65, 6, 59, 77, 59, 87, 1065, 59, 87, 2996, 77, 3065, 62, 8135, 2171, 13, 1676, 1462, 59, 87, 1065, 59, 87, 15, 68, 59, 87, 2414, 59, 87, 5333, 59, 87, 2414, 41311, 62, 1676, 1462, 7879, 59, 87, 19881, 59, 87, 2999, 59, 77, 59, 87, 16, 66, 40872, 25267, 15759, 3152, 5886, 81, 1460, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 77, 39050, 62, 312, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 12, 59, 77, 59, 87, 3312, 46170, 59, 87, 1507, 59, 87, 2999, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 67, 13, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 59, 87, 1065, 59, 87, 2623, 59, 77, 59, 87, 15, 69, 5715, 62, 2502, 81, 1460, 59, 87, 1507, 59, 87, 3070, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 67, 13, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 59, 87, 1065, 59, 87, 3559, 59, 77, 59, 87, 3312, 13376, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 87, 15, 68, 59, 87, 2624, 59, 87, 2091, 13, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 19580, 7879, 62, 59, 77, 59, 87, 3312, 19580, 59, 87, 1065, 59, 87, 940, 59, 77, 59, 87, 15, 66, 11929, 62, 2969, 41283, 1961, 59, 87, 940, 59, 87, 405, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 87, 15, 68, 59, 87, 3901, 47, 41283, 1961, 62, 1921, 62, 1797, 59, 87, 940, 59, 87, 486, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 940, 12161, 1961, 50, 62, 2200, 2969, 41283, 1847, 59, 87, 940, 59, 87, 2999, 59, 87, 1065, 59, 87, 1129, 59, 77, 59, 87, 1314, 59, 87, 3901, 47, 41283, 1961, 62, 54, 10554, 62, 3398, 15567, 1546, 59, 87, 940, 59, 87, 3070, 7879, 69, 59, 77, 59, 87, 15, 69, 40872, 25267, 15759, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 77, 39050, 62, 312, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 12, 59, 77, 59, 87, 3312, 46170, 59, 87, 1507, 59, 87, 2999, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 67, 13, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 59, 87, 1065, 59, 87, 940, 59, 77, 59, 87, 2919, 59, 87, 5333, 381, 305, 1079, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 2919, 7879, 44, 59, 77, 59, 81, 4971, 25267, 15759, 59, 87, 1065, 59, 81, 59, 77, 59, 87, 2713, 5715, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 12, 59, 77, 59, 87, 3312, 24432, 59, 87, 1507, 59, 87, 2999, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 67, 13, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 7879, 59, 24954, 24, 59, 87, 2999, 59, 77, 59, 81, 25267, 15759, 13247, 59, 87, 1065, 26, 59, 77, 59, 782, 3233, 62, 4906, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 15, 68, 59, 87, 2624, 59, 4458, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 13, 13247, 6030, 59, 87, 1065, 11, 59, 77, 59, 83, 31448, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1129, 13, 47984, 41311, 62, 1676, 1462, 13, 48362, 59, 87, 1065, 13, 59, 77, 59, 87, 2919, 59, 87, 5066, 71, 688, 918, 59, 87, 1507, 59, 87, 3070, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 66, 13, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 7879, 59, 87, 330, 59, 87, 486, 59, 77, 59, 83, 13247, 6030, 59, 87, 1065, 59, 87, 15, 69, 59, 77, 59, 87, 15, 65, 4944, 48451, 28343, 59, 87, 940, 59, 87, 405, 59, 87, 1065, 59, 87, 15, 65, 59, 77, 59, 87, 2998, 47924, 9306, 59, 87, 940, 59, 87, 486, 59, 87, 1065, 59, 87, 15, 65, 59, 77, 59, 87, 2998, 46437, 3620, 11571, 59, 87, 940, 59, 87, 2999, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 81, 26288, 47, 3698, 62, 31519, 1137, 59, 87, 940, 59, 87, 3070, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 87, 15, 68, 27857, 41809, 62, 35744, 2937, 59, 87, 940, 59, 87, 3023, 59, 87, 1065, 59, 81, 59, 77, 59, 83, 2200, 5673, 1268, 2751, 59, 87, 940, 59, 87, 2713, 59, 87, 1065, 59, 87, 15, 66, 59, 77, 59, 87, 2919, 2257, 6981, 9795, 59, 87, 940, 59, 87, 3312, 59, 87, 1065, 59, 83, 59, 77, 59, 87, 2713, 59, 87, 2598, 59, 87, 2231, 59, 87, 3901, 4221, 59, 87, 940, 59, 87, 2998, 59, 87, 1065, 59, 87, 15, 69, 59, 77, 59, 87, 15, 65, 4944, 44706, 62, 19108, 59, 87, 940, 59, 87, 2919, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 940, 39, 18060, 6465, 62, 4805, 41254, 9050, 59, 87, 940, 59, 83, 7879, 84, 59, 77, 59, 87, 15, 66, 59, 87, 3682, 59, 87, 2996, 71, 15759, 7449, 59, 87, 1065, 13, 59, 77, 59, 87, 2713, 8094, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 16, 67, 13, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 39, 59, 87, 405, 59, 87, 1065, 11, 59, 77, 59, 87, 2919, 59, 87, 5237, 59, 87, 2996, 71, 15759, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1507, 13, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 39, 59, 87, 405, 59, 87, 3682, 59, 87, 2998, 59, 77, 59, 87, 2713, 8367, 7879, 66, 59, 77, 59, 87, 2919, 59, 87, 3682, 59, 87, 2996, 71, 15759, 59, 87, 1065, 11, 59, 77, 59, 83, 31448, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1129, 13, 47984, 41311, 62, 1676, 1462, 13, 48362, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 68, 59, 87, 2996, 77, 3065, 62, 42401, 62, 312, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 83, 9410, 62, 2340, 59, 87, 1507, 59, 87, 3070, 3467, 87, 3070, 38016, 87, 2713, 7879, 59, 87, 1795, 59, 87, 3023, 59, 77, 59, 83, 48362, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 354, 79, 62, 400, 10126, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 77, 1904, 62, 39486, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1314, 59, 77, 59, 81, 45956, 1381, 62, 16833, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1558, 59, 77, 59, 87, 15, 69, 20541, 62, 505, 62, 2435, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 87, 2919, 59, 87, 1065, 59, 87, 1129, 59, 77, 59, 87, 1157, 10698, 62, 18558, 1009, 59, 87, 1507, 59, 81, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 0, 59, 77, 59, 87, 1129, 46284, 62, 268, 5090, 62, 2787, 1397, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 361, 62, 4299, 68, 515, 59, 87, 1507, 59, 87, 3312, 3467, 87, 486, 38016, 87, 2919, 59, 87, 1065, 59, 87, 16, 69, 59, 77, 59, 87, 1558, 361, 62, 1078, 7657, 62, 15182, 59, 87, 1507, 59, 87, 2998, 3467, 87, 486, 38016, 87, 2919, 59, 87, 1065, 59, 87, 1507, 59, 77, 59, 87, 940, 46284, 62, 2144, 5937, 59, 87, 1507, 59, 87, 2919, 3467, 87, 3070, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 316, 4359, 1362, 62, 24011, 418, 59, 87, 1507, 59, 83, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 16, 64, 59, 77, 59, 87, 1065, 361, 62, 22366, 62, 31409, 59, 87, 1507, 59, 77, 3467, 87, 486, 38016, 87, 2919, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 310, 4359, 1362, 62, 15344, 59, 87, 1507, 59, 87, 15, 65, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1507, 59, 77, 59, 87, 940, 46284, 62, 15344, 62, 437, 59, 87, 1507, 59, 87, 15, 66, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 16, 66, 59, 77, 59, 87, 1415, 59, 87, 5333, 75, 1322, 62, 46284, 62, 29370, 59, 87, 1507, 59, 87, 15, 68, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5333, 75, 1322, 62, 8499, 59, 87, 1507, 59, 87, 15, 69, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 912, 12728, 62, 2617, 59, 87, 1507, 59, 87, 940, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1129, 59, 77, 59, 87, 1157, 59, 87, 2996, 81, 839, 62, 1078, 7657, 59, 87, 1507, 59, 87, 1157, 3467, 87, 3070, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2414, 59, 87, 5333, 25561, 62, 28060, 59, 87, 1507, 59, 87, 1065, 3467, 87, 486, 38016, 87, 2713, 59, 87, 1065, 59, 87, 16, 65, 59, 77, 59, 87, 1485, 59, 87, 5333, 926, 7657, 62, 1078, 6021, 59, 87, 1507, 59, 87, 1485, 3467, 87, 3070, 38016, 87, 2713, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 1443, 74, 2171, 62, 1484, 59, 87, 1507, 59, 87, 1415, 3467, 87, 486, 38016, 87, 2713, 59, 87, 5237, 59, 87, 3312, 1676, 1462, 18, 6, 198, 8, 198, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 62, 35744, 2937, 796, 4808, 20147, 1968, 273, 13, 4834, 388, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 19580, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 19580, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 3815, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 11929, 62, 2969, 41283, 1961, 3256, 6376, 28, 15, 11, 1271, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 2969, 41283, 1961, 62, 1921, 62, 1797, 3256, 6376, 28, 16, 11, 1271, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 12161, 1961, 50, 62, 2200, 2969, 41283, 1847, 3256, 6376, 28, 17, 11, 1271, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 2969, 41283, 1961, 62, 54, 10554, 62, 3398, 15567, 1546, 3256, 6376, 28, 18, 11, 1271, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 29558, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 31128, 11, 198, 8, 198, 62, 37047, 62, 9945, 13, 38804, 4834, 388, 24564, 1968, 273, 28264, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 62, 35744, 2937, 8, 198, 198, 62, 12473, 7801, 12861, 1581, 46846, 62, 46846, 25216, 796, 4808, 20147, 1968, 273, 13, 4834, 388, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 13247, 6030, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 13, 13247, 6030, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 3815, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 4944, 48451, 28343, 3256, 6376, 28, 15, 11, 1271, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 47924, 9306, 3256, 6376, 28, 16, 11, 1271, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46437, 3620, 11571, 3256, 6376, 28, 17, 11, 1271, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 26288, 47, 3698, 62, 31519, 1137, 3256, 6376, 28, 18, 11, 1271, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 27857, 41809, 62, 35744, 2937, 3256, 6376, 28, 19, 11, 1271, 28, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 2200, 5673, 1268, 2751, 3256, 6376, 28, 20, 11, 1271, 28, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 2257, 6981, 9795, 3256, 6376, 28, 21, 11, 1271, 28, 21, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 7206, 12599, 3256, 6376, 28, 22, 11, 1271, 28, 22, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 4944, 44706, 62, 19108, 3256, 6376, 28, 23, 11, 1271, 28, 23, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 4834, 388, 11395, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 39, 18060, 6465, 62, 4805, 41254, 9050, 3256, 6376, 28, 24, 11, 1271, 28, 24, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 22, 1558, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 39121, 11, 198, 8, 198, 62, 37047, 62, 9945, 13, 38804, 4834, 388, 24564, 1968, 273, 28264, 12473, 7801, 12861, 1581, 46846, 62, 46846, 25216, 8, 198, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 40872, 25267, 15759, 3152, 5886, 81, 1460, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 39050, 62, 312, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 39050, 62, 312, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46170, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 46170, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 5715, 62, 2502, 81, 1460, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 5715, 62, 2502, 81, 1460, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 13376, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 13, 13376, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 1415, 11, 269, 381, 62, 4906, 28, 23, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 62, 35744, 2937, 11, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 2670, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 31128, 11, 198, 8, 198, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 40872, 25267, 15759, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 39050, 62, 312, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 13, 39050, 62, 312, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46170, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 13, 46170, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 29137, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 13, 29137, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 23, 11, 269, 381, 62, 4906, 28, 22, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 15277, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 39997, 11, 198, 8, 198, 198, 62, 2538, 18697, 12473, 7801, 12861, 1581, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 4971, 25267, 15759, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 5715, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 13, 5715, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 24432, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 13, 24432, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 44578, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 20, 3901, 11, 198, 8, 198, 198, 62, 12473, 7801, 12861, 1581, 46846, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 25267, 15759, 13247, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 8094, 62, 4906, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 13, 8094, 62, 4906, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 1415, 11, 269, 381, 62, 4906, 28, 23, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 31448, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 13, 31448, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 17197, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 13, 17197, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 12473, 7801, 12861, 1581, 46846, 62, 46846, 25216, 11, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 47576, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 39121, 11, 198, 8, 198, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 25267, 15759, 7449, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 8094, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 13, 8094, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46571, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 13, 46571, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 3198, 1659, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 8367, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 13, 8367, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6376, 28, 15, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7032, 28, 21737, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 4531, 16, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 3064, 23, 11, 198, 8, 198, 198, 62, 12473, 7801, 12861, 1581, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 25267, 15759, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 31448, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13, 31448, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46970, 62, 42401, 62, 312, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13, 46970, 62, 42401, 62, 312, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 9410, 62, 2340, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13, 9410, 62, 2340, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 8784, 15, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 11442, 24, 11, 198, 8, 198, 198, 62, 10943, 35, 17941, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 48362, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 3256, 198, 220, 220, 220, 29472, 28, 14202, 11, 198, 220, 220, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 220, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 220, 220, 7032, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 24831, 62, 400, 10126, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 24831, 62, 400, 10126, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 1904, 62, 39486, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 1904, 62, 39486, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 45956, 1381, 62, 16833, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 45956, 1381, 62, 16833, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 20541, 62, 505, 62, 2435, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 20541, 62, 505, 62, 2435, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 23, 11, 269, 381, 62, 4906, 28, 22, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 10698, 62, 18558, 1009, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 10698, 62, 18558, 1009, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1485, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46284, 62, 268, 5090, 62, 2787, 1397, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 46284, 62, 268, 5090, 62, 2787, 1397, 3256, 6376, 28, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 361, 62, 4299, 68, 515, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 361, 62, 4299, 68, 515, 3256, 6376, 28, 21, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 21, 11, 2099, 28, 23, 11, 269, 381, 62, 4906, 28, 22, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 361, 62, 1078, 7657, 62, 15182, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 361, 62, 1078, 7657, 62, 15182, 3256, 6376, 28, 22, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 22, 11, 2099, 28, 23, 11, 269, 381, 62, 4906, 28, 22, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46284, 62, 2144, 5937, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 46284, 62, 2144, 5937, 3256, 6376, 28, 23, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 23, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46284, 62, 24011, 418, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 46284, 62, 24011, 418, 3256, 6376, 28, 24, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 24, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 361, 62, 22366, 62, 31409, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 361, 62, 22366, 62, 31409, 3256, 6376, 28, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 940, 11, 2099, 28, 23, 11, 269, 381, 62, 4906, 28, 22, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46284, 62, 15344, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 46284, 62, 15344, 3256, 6376, 28, 1157, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1157, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 46284, 62, 15344, 62, 437, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 46284, 62, 15344, 62, 437, 3256, 6376, 28, 1065, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1065, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 33770, 62, 46284, 62, 29370, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 33770, 62, 46284, 62, 29370, 3256, 6376, 28, 1485, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1415, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 33770, 62, 8499, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 33770, 62, 8499, 3256, 6376, 28, 1415, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1314, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 42401, 62, 2617, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 42401, 62, 2617, 3256, 6376, 28, 1314, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1433, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 263, 839, 62, 1078, 7657, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 263, 839, 62, 1078, 7657, 3256, 6376, 28, 1433, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1558, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 28735, 62, 28060, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 28735, 62, 28060, 3256, 6376, 28, 1558, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1507, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 1078, 7657, 62, 1078, 6021, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 1078, 7657, 62, 1078, 6021, 3256, 6376, 28, 1507, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1129, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 11639, 8135, 2171, 62, 1484, 3256, 1336, 62, 3672, 11639, 47984, 41311, 62, 1676, 1462, 13, 48362, 13, 8135, 2171, 62, 1484, 3256, 6376, 28, 1129, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 28, 1238, 11, 2099, 28, 20, 11, 269, 381, 62, 4906, 28, 16, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 18366, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 220, 220, 33829, 62, 19199, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 220, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 220, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 220, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 220, 220, 530, 1659, 82, 41888, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 11389, 1143, 62, 9688, 28, 1157, 1065, 11, 198, 220, 220, 220, 11389, 1143, 62, 437, 28, 1433, 1731, 11, 198, 8, 198, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 13, 25747, 62, 1525, 62, 3672, 17816, 46170, 6, 4083, 20500, 62, 4906, 796, 4808, 2538, 18697, 12473, 7801, 12861, 1581, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 13, 25747, 62, 1525, 62, 3672, 17816, 5715, 62, 2502, 81, 1460, 6, 4083, 20500, 62, 4906, 796, 4808, 2538, 18697, 12473, 7801, 12861, 1581, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 13, 25747, 62, 1525, 62, 3672, 17816, 13376, 6, 4083, 44709, 62, 4906, 796, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 62, 35744, 2937, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 62, 35744, 2937, 13, 38301, 62, 4906, 796, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 198, 62, 27857, 41809, 12473, 7801, 12861, 1581, 13, 25747, 62, 1525, 62, 3672, 17816, 46170, 6, 4083, 20500, 62, 4906, 796, 4808, 2538, 18697, 12473, 7801, 12861, 1581, 198, 62, 2538, 18697, 12473, 7801, 12861, 1581, 13, 25747, 62, 1525, 62, 3672, 17816, 24432, 6, 4083, 20500, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 46846, 198, 62, 12473, 7801, 12861, 1581, 46846, 13, 25747, 62, 1525, 62, 3672, 17816, 8094, 62, 4906, 6, 4083, 44709, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 46846, 62, 46846, 25216, 198, 62, 12473, 7801, 12861, 1581, 46846, 13, 25747, 62, 1525, 62, 3672, 17816, 31448, 6, 4083, 20500, 62, 4906, 796, 4808, 10943, 35, 17941, 198, 62, 12473, 7801, 12861, 1581, 46846, 13, 25747, 62, 1525, 62, 3672, 17816, 17197, 6, 4083, 20500, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 198, 62, 12473, 7801, 12861, 1581, 46846, 62, 46846, 25216, 13, 38301, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 46846, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 8094, 6, 4083, 20500, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 46846, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 46571, 6, 4083, 20500, 62, 4906, 796, 4808, 12473, 7801, 12861, 1581, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 505, 1659, 82, 62, 1525, 62, 3672, 17816, 8367, 6, 4083, 25747, 13, 33295, 7, 198, 220, 220, 220, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 8094, 6, 12962, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 8094, 6, 4083, 38301, 62, 505, 1659, 796, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 13, 505, 1659, 82, 62, 1525, 62, 3672, 17816, 8367, 20520, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 505, 1659, 82, 62, 1525, 62, 3672, 17816, 8367, 6, 4083, 25747, 13, 33295, 7, 198, 220, 220, 220, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 46571, 6, 12962, 198, 62, 12473, 7801, 12861, 1581, 2043, 3620, 13, 25747, 62, 1525, 62, 3672, 17816, 46571, 6, 4083, 38301, 62, 505, 1659, 796, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 13, 505, 1659, 82, 62, 1525, 62, 3672, 17816, 8367, 20520, 198, 62, 12473, 7801, 12861, 1581, 13, 25747, 62, 1525, 62, 3672, 17816, 31448, 6, 4083, 20500, 62, 4906, 796, 4808, 10943, 35, 17941, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 40872, 25267, 15759, 3152, 5886, 81, 1460, 20520, 796, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 40872, 25267, 15759, 20520, 796, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 4971, 25267, 15759, 20520, 796, 4808, 2538, 18697, 12473, 7801, 12861, 1581, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 25267, 15759, 13247, 20520, 796, 4808, 12473, 7801, 12861, 1581, 46846, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 25267, 15759, 7449, 20520, 796, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 25267, 15759, 20520, 796, 4808, 12473, 7801, 12861, 1581, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 48362, 20520, 796, 4808, 10943, 35, 17941, 198, 62, 37047, 62, 9945, 13, 38804, 8979, 24564, 1968, 273, 7, 30910, 36584, 32961, 8, 198, 198, 40872, 25267, 15759, 3152, 5886, 81, 1460, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 40872, 25267, 15759, 3152, 5886, 81, 1460, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 54, 10554, 41983, 49, 42538, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 3152, 5886, 81, 1460, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 40872, 25267, 15759, 3152, 5886, 81, 1460, 8, 198, 198, 40872, 25267, 15759, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 40872, 25267, 15759, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 27857, 41809, 12473, 7801, 12861, 1581, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 40872, 25267, 15759, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 40872, 25267, 15759, 8, 198, 198, 4971, 25267, 15759, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 4971, 25267, 15759, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 2538, 18697, 12473, 7801, 12861, 1581, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 4971, 25267, 15759, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 4971, 25267, 15759, 8, 198, 198, 25267, 15759, 13247, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 25267, 15759, 13247, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 12473, 7801, 12861, 1581, 46846, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 13247, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 25267, 15759, 13247, 8, 198, 198, 25267, 15759, 7449, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 25267, 15759, 7449, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 12473, 7801, 12861, 1581, 2043, 3620, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 7449, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 25267, 15759, 7449, 8, 198, 198, 25267, 15759, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 25267, 15759, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 12473, 7801, 12861, 1581, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 25267, 15759, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 25267, 15759, 8, 198, 198, 48362, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 48362, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 220, 220, 705, 30910, 36584, 32961, 10354, 4808, 10943, 35, 17941, 11, 198, 220, 220, 220, 705, 834, 21412, 834, 10354, 705, 46970, 62, 8135, 2171, 62, 40842, 17, 6, 198, 220, 220, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 47984, 41311, 62, 1676, 1462, 13, 48362, 8, 198, 30072, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 48362, 8, 198, 198, 2, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 21412, 62, 29982, 8, 198 ]
2.149254
15,142
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Any, Dict import torch.nn as nn from classy_vision.generic.util import is_pos_int from classy_vision.heads import ClassyHead, register_head
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 15069, 357, 66, 8, 3203, 11, 3457, 13, 290, 663, 29116, 13, 198, 2, 198, 2, 770, 2723, 2438, 318, 11971, 739, 262, 17168, 5964, 1043, 287, 262, 198, 2, 38559, 24290, 2393, 287, 262, 6808, 8619, 286, 428, 2723, 5509, 13, 198, 198, 6738, 19720, 1330, 4377, 11, 360, 713, 198, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 6738, 48486, 62, 10178, 13, 41357, 13, 22602, 1330, 318, 62, 1930, 62, 600, 198, 6738, 48486, 62, 10178, 13, 16600, 1330, 5016, 88, 13847, 11, 7881, 62, 2256, 628 ]
3.54902
102
from floodsystem.stationdata import build_station_list from floodsystem.flood import stations_highest_rel_level if __name__ == "__main__": print("*** Task 2C: CUED Part IA Flood Warning System ***") run()
[ 6738, 6947, 10057, 13, 17529, 7890, 1330, 1382, 62, 17529, 62, 4868, 198, 6738, 6947, 10057, 13, 2704, 702, 1330, 8985, 62, 35323, 62, 2411, 62, 5715, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 3601, 7203, 8162, 15941, 362, 34, 25, 29369, 1961, 2142, 35229, 25588, 15932, 4482, 17202, 4943, 198, 220, 220, 220, 1057, 3419 ]
3.257576
66
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. __name__ = "biotite" __author__ = "Patrick Kunzmann" __all__ = ["Copyable"] import abc
[ 2, 770, 2723, 2438, 318, 636, 286, 262, 347, 5151, 578, 5301, 290, 318, 9387, 198, 2, 739, 262, 513, 12, 2601, 682, 347, 10305, 13789, 13, 4222, 766, 705, 43, 2149, 24290, 13, 81, 301, 6, 329, 2252, 198, 2, 1321, 13, 198, 198, 834, 3672, 834, 796, 366, 65, 5151, 578, 1, 198, 834, 9800, 834, 796, 366, 32718, 22673, 89, 9038, 1, 198, 834, 439, 834, 796, 14631, 29881, 540, 8973, 198, 198, 11748, 450, 66, 198 ]
3.05
80
import logging import time from datetime import timedelta from typing import List from homeassistant.components.binary_sensor import ( BinarySensorEntity, DEVICE_CLASS_MOTION ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_ATTRIBUTION from homeassistant.core import HomeAssistant from wyzeapy.base_client import Device, AccessTokenError from wyzeapy.client import Client from wyzeapy.types import PropertyIDs from .const import DOMAIN _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Wyze" SCAN_INTERVAL = timedelta(seconds=10)
[ 11748, 18931, 198, 11748, 640, 198, 6738, 4818, 8079, 1330, 28805, 12514, 198, 6738, 19720, 1330, 7343, 198, 198, 6738, 1363, 562, 10167, 13, 5589, 3906, 13, 39491, 62, 82, 22854, 1330, 357, 198, 220, 220, 220, 45755, 47864, 32398, 11, 198, 220, 220, 220, 5550, 27389, 62, 31631, 62, 44, 2394, 2849, 198, 8, 198, 6738, 1363, 562, 10167, 13, 11250, 62, 298, 1678, 1330, 17056, 30150, 198, 6738, 1363, 562, 10167, 13, 9979, 1330, 5161, 5446, 62, 1404, 5446, 9865, 35354, 198, 6738, 1363, 562, 10167, 13, 7295, 1330, 5995, 48902, 198, 6738, 266, 88, 2736, 12826, 13, 8692, 62, 16366, 1330, 16232, 11, 8798, 30642, 12331, 198, 6738, 266, 88, 2736, 12826, 13, 16366, 1330, 20985, 198, 6738, 266, 88, 2736, 12826, 13, 19199, 1330, 14161, 47954, 198, 198, 6738, 764, 9979, 1330, 24121, 29833, 198, 198, 62, 25294, 30373, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 1404, 5446, 9865, 35354, 796, 366, 6601, 2810, 416, 12958, 2736, 1, 198, 6173, 1565, 62, 41358, 23428, 796, 28805, 12514, 7, 43012, 28, 940, 8, 628, 628, 198 ]
3.304348
184
""" Reads climate modeling grid 0.05 degree MCD43 BRDF files. """ import os import sys from numpy import loadtxt, array, tile, where, concatenate, flipud from numpy import ones from datetime import date, datetime, timedelta from glob import glob from pyhdf.SD import SD, HDF4Error MISSING = 32.767 SDS = dict ( LAND = ('BRDF_Albedo_Parameter1_Band1','BRDF_Albedo_Parameter1_Band2', 'BRDF_Albedo_Parameter1_Band3','BRDF_Albedo_Parameter1_Band4', 'BRDF_Albedo_Parameter1_Band5','BRDF_Albedo_Parameter1_Band6', 'BRDF_Albedo_Parameter1_Band7', 'BRDF_Albedo_Parameter2_Band1','BRDF_Albedo_Parameter2_Band2', 'BRDF_Albedo_Parameter2_Band3','BRDF_Albedo_Parameter2_Band4', 'BRDF_Albedo_Parameter2_Band5','BRDF_Albedo_Parameter2_Band6', 'BRDF_Albedo_Parameter2_Band7', 'BRDF_Albedo_Parameter3_Band1','BRDF_Albedo_Parameter3_Band2', 'BRDF_Albedo_Parameter3_Band3','BRDF_Albedo_Parameter3_Band4', 'BRDF_Albedo_Parameter3_Band5','BRDF_Albedo_Parameter3_Band6', 'BRDF_Albedo_Parameter3_Band7'), QUAL = ('BRDF_Albedo_Quality', 'Snow_BRDF_Albedo', 'BRDF_Albedo_Ancillary', ) ) ALIAS = dict ( BRDF_Albedo_Parameter1_Band1 = 'KISO_b1_645', BRDF_Albedo_Parameter1_Band2 = 'KISO_b2_856', BRDF_Albedo_Parameter1_Band3 = 'KISO_b3_465', BRDF_Albedo_Parameter1_Band4 = 'KISO_b4_553', BRDF_Albedo_Parameter1_Band5 = 'KISO_b5_1241', BRDF_Albedo_Parameter1_Band6 = 'KISO_b6_1629', BRDF_Albedo_Parameter1_Band7 = 'KISO_b7_2114', BRDF_Albedo_Parameter2_Band1 = 'KVOL_b1_645', BRDF_Albedo_Parameter2_Band2 = 'KVOL_b2_856', BRDF_Albedo_Parameter2_Band3 = 'KVOL_b3_465', BRDF_Albedo_Parameter2_Band4 = 'KVOL_b4_553', BRDF_Albedo_Parameter2_Band5 = 'KVOL_b5_1241', BRDF_Albedo_Parameter2_Band6 = 'KVOL_b6_1629', BRDF_Albedo_Parameter2_Band7 = 'KVOL_b7_2114', BRDF_Albedo_Parameter3_Band1 = 'KGEO_b1_645', BRDF_Albedo_Parameter3_Band2 = 'KGEO_b2_856', BRDF_Albedo_Parameter3_Band3 = 'KGEO_b3_465', BRDF_Albedo_Parameter3_Band4 = 'KGEO_b4_553', BRDF_Albedo_Parameter3_Band5 = 'KGEO_b5_1241', BRDF_Albedo_Parameter3_Band6 = 'KGEO_b6_1629', BRDF_Albedo_Parameter3_Band7 = 'KGEO_b7_2114', ) #........................................................................... #--- #............................................................................ if __name__ == "__main__": path = '/nobackup/3/pcastell/MODIS/MCD43C1/MCD43C1.A2005361.005.2008094071946.hdf' lon = [-2.,-120.,15.2,17.2,170.1] lat = [88.,40.,-20.,-20.,-55.5] lon = np.arange(-180,180,1) lat = np.arange(-90,90,1) lon,lat = np.meshgrid(lon,lat) ex = McD43C(path,lon.flatten(),lat.flatte())
[ 37811, 198, 5569, 82, 4258, 21128, 10706, 657, 13, 2713, 4922, 337, 8610, 3559, 11177, 8068, 3696, 13, 198, 198, 37811, 198, 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 299, 32152, 220, 220, 220, 1330, 3440, 14116, 11, 7177, 11, 17763, 11, 810, 11, 1673, 36686, 378, 11, 14283, 463, 198, 6738, 299, 32152, 1330, 3392, 198, 6738, 4818, 8079, 1330, 3128, 11, 4818, 8079, 11, 28805, 12514, 198, 6738, 15095, 220, 220, 220, 220, 1330, 15095, 198, 6738, 12972, 71, 7568, 13, 10305, 1330, 9834, 11, 5572, 37, 19, 12331, 198, 198, 44, 16744, 2751, 796, 3933, 13, 32059, 628, 198, 50, 5258, 796, 8633, 357, 198, 220, 220, 220, 220, 220, 406, 6981, 796, 19203, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 16, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 17, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 18, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 19, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 20, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 21, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 22, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 16, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 17, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 18, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 19, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 20, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 21, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 22, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 16, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 17, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 18, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 19, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 20, 41707, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 21, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 22, 33809, 628, 220, 220, 220, 220, 220, 19604, 1847, 796, 19203, 11473, 8068, 62, 2348, 3077, 78, 62, 35013, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28974, 62, 11473, 8068, 62, 2348, 3077, 78, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11473, 8068, 62, 2348, 3077, 78, 62, 2025, 66, 15856, 3256, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 198, 1847, 43429, 796, 8633, 357, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 16, 796, 705, 42, 40734, 62, 65, 16, 62, 49259, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 17, 796, 705, 42, 40734, 62, 65, 17, 62, 23, 3980, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 18, 796, 705, 42, 40734, 62, 65, 18, 62, 42018, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 19, 796, 705, 42, 40734, 62, 65, 19, 62, 48096, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 20, 796, 705, 42, 40734, 62, 65, 20, 62, 1065, 3901, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 21, 796, 705, 42, 40734, 62, 65, 21, 62, 1433, 1959, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 16, 62, 31407, 22, 796, 705, 42, 40734, 62, 65, 22, 62, 17, 16562, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 16, 796, 705, 42, 44558, 62, 65, 16, 62, 49259, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 17, 796, 705, 42, 44558, 62, 65, 17, 62, 23, 3980, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 18, 796, 705, 42, 44558, 62, 65, 18, 62, 42018, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 19, 796, 705, 42, 44558, 62, 65, 19, 62, 48096, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 20, 796, 705, 42, 44558, 62, 65, 20, 62, 1065, 3901, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 21, 796, 705, 42, 44558, 62, 65, 21, 62, 1433, 1959, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 17, 62, 31407, 22, 796, 705, 42, 44558, 62, 65, 22, 62, 17, 16562, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 16, 796, 705, 42, 38, 4720, 62, 65, 16, 62, 49259, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 17, 796, 705, 42, 38, 4720, 62, 65, 17, 62, 23, 3980, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 18, 796, 705, 42, 38, 4720, 62, 65, 18, 62, 42018, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 19, 796, 705, 42, 38, 4720, 62, 65, 19, 62, 48096, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 20, 796, 705, 42, 38, 4720, 62, 65, 20, 62, 1065, 3901, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 21, 796, 705, 42, 38, 4720, 62, 65, 21, 62, 1433, 1959, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11177, 8068, 62, 2348, 3077, 78, 62, 36301, 18, 62, 31407, 22, 796, 705, 42, 38, 4720, 62, 65, 22, 62, 17, 16562, 3256, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 198, 2, 23193, 2109, 986, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 2, 6329, 198, 198, 2, 23193, 2109, 1106, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 628, 198, 220, 220, 220, 3108, 796, 31051, 34952, 441, 929, 14, 18, 14, 79, 2701, 695, 14, 33365, 1797, 14, 44, 8610, 3559, 34, 16, 14, 44, 8610, 3559, 34, 16, 13, 32, 14315, 35195, 13, 22544, 13, 2167, 34583, 30120, 1129, 3510, 13, 71, 7568, 6, 198, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 300, 261, 796, 25915, 17, 1539, 12, 10232, 1539, 1314, 13, 17, 11, 1558, 13, 17, 11, 17279, 13, 16, 60, 198, 220, 220, 220, 3042, 796, 685, 3459, 1539, 1821, 1539, 12, 1238, 1539, 12, 1238, 1539, 12, 2816, 13, 20, 60, 628, 220, 220, 220, 300, 261, 796, 45941, 13, 283, 858, 32590, 15259, 11, 15259, 11, 16, 8, 198, 220, 220, 220, 3042, 796, 45941, 13, 283, 858, 32590, 3829, 11, 3829, 11, 16, 8, 198, 220, 220, 220, 300, 261, 11, 15460, 796, 45941, 13, 76, 5069, 25928, 7, 14995, 11, 15460, 8, 198, 220, 220, 220, 409, 796, 23394, 3559, 34, 7, 6978, 11, 14995, 13, 2704, 41769, 22784, 15460, 13, 38568, 660, 28955, 628 ]
1.8625
1,680
import pytest import numpy as np import copy from numpy.testing import assert_allclose from keras.utils import CustomObjectScope from keras.layers import wrappers, Input, Layer from keras.layers import RNN from keras import layers from keras.models import Sequential, Model, model_from_json from keras import backend as K from keras.utils.generic_utils import object_list_uid, to_list def test_regularizers(): model = Sequential() model.add(wrappers.TimeDistributed( layers.Dense(2, kernel_regularizer='l1'), input_shape=(3, 4))) model.add(layers.Activation('relu')) model.compile(optimizer='rmsprop', loss='mse') assert len(model.layers[0].layer.losses) == 1 assert len(model.layers[0].losses) == 1 assert len(model.layers[0].get_losses_for(None)) == 1 assert len(model.losses) == 1 model = Sequential() model.add(wrappers.TimeDistributed( layers.Dense(2, activity_regularizer='l1'), input_shape=(3, 4))) model.add(layers.Activation('relu')) model.compile(optimizer='rmsprop', loss='mse') assert len(model.losses) == 1 def test_Bidirectional(): rnn = layers.SimpleRNN samples = 2 dim = 2 timesteps = 2 output_dim = 2 dropout_rate = 0.2 for mode in ['sum', 'concat']: x = np.random.random((samples, timesteps, dim)) target_dim = 2 * output_dim if mode == 'concat' else output_dim y = np.random.random((samples, target_dim)) # test with Sequential model model = Sequential() model.add(wrappers.Bidirectional(rnn(output_dim, dropout=dropout_rate, recurrent_dropout=dropout_rate), merge_mode=mode, input_shape=(timesteps, dim))) model.compile(loss='mse', optimizer='sgd') model.fit(x, y, epochs=1, batch_size=1) # test config model.get_config() model = model_from_json(model.to_json()) model.summary() # test stacked bidirectional layers model = Sequential() model.add(wrappers.Bidirectional(rnn(output_dim, return_sequences=True), merge_mode=mode, input_shape=(timesteps, dim))) model.add(wrappers.Bidirectional(rnn(output_dim), merge_mode=mode)) model.compile(loss='mse', optimizer='sgd') model.fit(x, y, epochs=1, batch_size=1) # test with functional API inputs = Input((timesteps, dim)) outputs = wrappers.Bidirectional(rnn(output_dim, dropout=dropout_rate, recurrent_dropout=dropout_rate), merge_mode=mode)(inputs) model = Model(inputs, outputs) model.compile(loss='mse', optimizer='sgd') model.fit(x, y, epochs=1, batch_size=1) # Bidirectional and stateful inputs = Input(batch_shape=(1, timesteps, dim)) outputs = wrappers.Bidirectional(rnn(output_dim, stateful=True), merge_mode=mode)(inputs) model = Model(inputs, outputs) model.compile(loss='mse', optimizer='sgd') model.fit(x, y, epochs=1, batch_size=1) def test_Bidirectional_state_reuse(): rnn = layers.LSTM samples = 2 dim = 5 timesteps = 3 units = 3 input1 = Input((timesteps, dim)) layer = wrappers.Bidirectional(rnn(units, return_state=True, return_sequences=True)) state = layer(input1)[1:] # test passing invalid initial_state: passing a tensor input2 = Input((timesteps, dim)) with pytest.raises(ValueError): output = wrappers.Bidirectional(rnn(units))(input2, initial_state=state[0]) # test valid usage: passing a list output = wrappers.Bidirectional(rnn(units))(input2, initial_state=state) model = Model([input1, input2], output) assert len(model.layers) == 4 assert isinstance(model.layers[-1].input, list) inputs = [np.random.rand(samples, timesteps, dim), np.random.rand(samples, timesteps, dim)] outputs = model.predict(inputs) def test_Bidirectional_trainable(): # test layers that need learning_phase to be set x = Input(shape=(3, 2)) layer = wrappers.Bidirectional(layers.SimpleRNN(3)) _ = layer(x) assert len(layer.trainable_weights) == 6 layer.trainable = False assert len(layer.trainable_weights) == 0 layer.trainable = True assert len(layer.trainable_weights) == 6 def test_Bidirectional_updates(): x = Input(shape=(3, 2)) layer = wrappers.Bidirectional(layers.SimpleRNN(3)) assert len(layer.updates) == 0 assert len(layer.get_updates_for(None)) == 0 assert len(layer.get_updates_for(x)) == 0 layer.forward_layer.add_update(0, inputs=x) layer.forward_layer.add_update(1, inputs=None) layer.backward_layer.add_update(0, inputs=x) layer.backward_layer.add_update(1, inputs=None) assert len(layer.updates) == 4 assert len(layer.get_updates_for(None)) == 2 assert len(layer.get_updates_for(x)) == 2 def test_Bidirectional_losses(): x = Input(shape=(3, 2)) layer = wrappers.Bidirectional( layers.SimpleRNN(3, kernel_regularizer='l1', bias_regularizer='l1')) _ = layer(x) assert len(layer.losses) == 4 assert len(layer.get_losses_for(None)) == 4 assert len(layer.get_losses_for(x)) == 0 layer.forward_layer.add_loss(0, inputs=x) layer.forward_layer.add_loss(1, inputs=None) layer.backward_layer.add_loss(0, inputs=x) layer.backward_layer.add_loss(1, inputs=None) assert len(layer.losses) == 8 assert len(layer.get_losses_for(None)) == 6 assert len(layer.get_losses_for(x)) == 2 if __name__ == '__main__': pytest.main([__file__])
[ 11748, 12972, 9288, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 4866, 198, 6738, 299, 32152, 13, 33407, 1330, 6818, 62, 439, 19836, 198, 6738, 41927, 292, 13, 26791, 1330, 8562, 10267, 43642, 198, 6738, 41927, 292, 13, 75, 6962, 1330, 7917, 11799, 11, 23412, 11, 34398, 198, 6738, 41927, 292, 13, 75, 6962, 1330, 371, 6144, 198, 6738, 41927, 292, 1330, 11685, 198, 6738, 41927, 292, 13, 27530, 1330, 24604, 1843, 11, 9104, 11, 2746, 62, 6738, 62, 17752, 198, 6738, 41927, 292, 1330, 30203, 355, 509, 198, 6738, 41927, 292, 13, 26791, 13, 41357, 62, 26791, 1330, 2134, 62, 4868, 62, 27112, 11, 284, 62, 4868, 628, 628, 628, 198, 198, 4299, 1332, 62, 16338, 11341, 33529, 198, 220, 220, 220, 2746, 796, 24604, 1843, 3419, 198, 220, 220, 220, 2746, 13, 2860, 7, 29988, 11799, 13, 7575, 20344, 6169, 7, 198, 220, 220, 220, 220, 220, 220, 220, 11685, 13, 35, 1072, 7, 17, 11, 9720, 62, 16338, 7509, 11639, 75, 16, 33809, 5128, 62, 43358, 16193, 18, 11, 604, 22305, 198, 220, 220, 220, 2746, 13, 2860, 7, 75, 6962, 13, 25526, 341, 10786, 260, 2290, 6, 4008, 198, 220, 220, 220, 2746, 13, 5589, 576, 7, 40085, 7509, 11639, 81, 907, 22930, 3256, 2994, 11639, 76, 325, 11537, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 75, 6962, 58, 15, 4083, 29289, 13, 22462, 274, 8, 6624, 352, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 75, 6962, 58, 15, 4083, 22462, 274, 8, 6624, 352, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 75, 6962, 58, 15, 4083, 1136, 62, 22462, 274, 62, 1640, 7, 14202, 4008, 6624, 352, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 22462, 274, 8, 6624, 352, 628, 220, 220, 220, 2746, 796, 24604, 1843, 3419, 198, 220, 220, 220, 2746, 13, 2860, 7, 29988, 11799, 13, 7575, 20344, 6169, 7, 198, 220, 220, 220, 220, 220, 220, 220, 11685, 13, 35, 1072, 7, 17, 11, 3842, 62, 16338, 7509, 11639, 75, 16, 33809, 5128, 62, 43358, 16193, 18, 11, 604, 22305, 198, 220, 220, 220, 2746, 13, 2860, 7, 75, 6962, 13, 25526, 341, 10786, 260, 2290, 6, 4008, 198, 220, 220, 220, 2746, 13, 5589, 576, 7, 40085, 7509, 11639, 81, 907, 22930, 3256, 2994, 11639, 76, 325, 11537, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 22462, 274, 8, 6624, 352, 628, 198, 4299, 1332, 62, 33, 312, 4154, 282, 33529, 198, 220, 220, 220, 374, 20471, 796, 11685, 13, 26437, 49, 6144, 198, 220, 220, 220, 8405, 796, 362, 198, 220, 220, 220, 5391, 796, 362, 198, 220, 220, 220, 4628, 395, 25386, 796, 362, 198, 220, 220, 220, 5072, 62, 27740, 796, 362, 198, 220, 220, 220, 4268, 448, 62, 4873, 796, 657, 13, 17, 198, 220, 220, 220, 329, 4235, 287, 37250, 16345, 3256, 705, 1102, 9246, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 45941, 13, 25120, 13, 25120, 19510, 82, 12629, 11, 4628, 395, 25386, 11, 5391, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2496, 62, 27740, 796, 362, 1635, 5072, 62, 27740, 611, 4235, 6624, 705, 1102, 9246, 6, 2073, 5072, 62, 27740, 198, 220, 220, 220, 220, 220, 220, 220, 331, 796, 45941, 13, 25120, 13, 25120, 19510, 82, 12629, 11, 2496, 62, 27740, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1332, 351, 24604, 1843, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 24604, 1843, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 2860, 7, 29988, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 22915, 62, 27740, 11, 4268, 448, 28, 14781, 448, 62, 4873, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42465, 62, 14781, 448, 28, 14781, 448, 62, 4873, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20121, 62, 14171, 28, 14171, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 43358, 16193, 16514, 395, 25386, 11, 5391, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 5589, 576, 7, 22462, 11639, 76, 325, 3256, 6436, 7509, 11639, 82, 21287, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 11147, 7, 87, 11, 331, 11, 36835, 82, 28, 16, 11, 15458, 62, 7857, 28, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1332, 4566, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 1136, 62, 11250, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 2746, 62, 6738, 62, 17752, 7, 19849, 13, 1462, 62, 17752, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 49736, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1332, 24167, 8406, 4154, 282, 11685, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 24604, 1843, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 2860, 7, 29988, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 22915, 62, 27740, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 3107, 3007, 28, 17821, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20121, 62, 14171, 28, 14171, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 43358, 16193, 16514, 395, 25386, 11, 5391, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 2860, 7, 29988, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 22915, 62, 27740, 828, 20121, 62, 14171, 28, 14171, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 5589, 576, 7, 22462, 11639, 76, 325, 3256, 6436, 7509, 11639, 82, 21287, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 11147, 7, 87, 11, 331, 11, 36835, 82, 28, 16, 11, 15458, 62, 7857, 28, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1332, 351, 10345, 7824, 198, 220, 220, 220, 220, 220, 220, 220, 17311, 796, 23412, 19510, 16514, 395, 25386, 11, 5391, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 23862, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 22915, 62, 27740, 11, 4268, 448, 28, 14781, 448, 62, 4873, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42465, 62, 14781, 448, 28, 14781, 448, 62, 4873, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20121, 62, 14171, 28, 14171, 5769, 15414, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 9104, 7, 15414, 82, 11, 23862, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 5589, 576, 7, 22462, 11639, 76, 325, 3256, 6436, 7509, 11639, 82, 21287, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 11147, 7, 87, 11, 331, 11, 36835, 82, 28, 16, 11, 15458, 62, 7857, 28, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 43484, 4154, 282, 290, 1181, 913, 198, 220, 220, 220, 220, 220, 220, 220, 17311, 796, 23412, 7, 43501, 62, 43358, 16193, 16, 11, 4628, 395, 25386, 11, 5391, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 23862, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 22915, 62, 27740, 11, 1181, 913, 28, 17821, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20121, 62, 14171, 28, 14171, 5769, 15414, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 9104, 7, 15414, 82, 11, 23862, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 5589, 576, 7, 22462, 11639, 76, 325, 3256, 6436, 7509, 11639, 82, 21287, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 11147, 7, 87, 11, 331, 11, 36835, 82, 28, 16, 11, 15458, 62, 7857, 28, 16, 8, 628, 628, 198, 198, 4299, 1332, 62, 33, 312, 4154, 282, 62, 5219, 62, 260, 1904, 33529, 198, 220, 220, 220, 374, 20471, 796, 11685, 13, 43, 2257, 44, 198, 220, 220, 220, 8405, 796, 362, 198, 220, 220, 220, 5391, 796, 642, 198, 220, 220, 220, 4628, 395, 25386, 796, 513, 198, 220, 220, 220, 4991, 796, 513, 628, 220, 220, 220, 5128, 16, 796, 23412, 19510, 16514, 395, 25386, 11, 5391, 4008, 198, 220, 220, 220, 7679, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 41667, 11, 1441, 62, 5219, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 3107, 3007, 28, 17821, 4008, 198, 220, 220, 220, 1181, 796, 7679, 7, 15414, 16, 38381, 16, 47715, 628, 220, 220, 220, 1303, 1332, 6427, 12515, 4238, 62, 5219, 25, 6427, 257, 11192, 273, 198, 220, 220, 220, 5128, 17, 796, 23412, 19510, 16514, 395, 25386, 11, 5391, 4008, 198, 220, 220, 220, 351, 12972, 9288, 13, 430, 2696, 7, 11395, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 41667, 4008, 7, 15414, 17, 11, 4238, 62, 5219, 28, 5219, 58, 15, 12962, 628, 220, 220, 220, 1303, 1332, 4938, 8748, 25, 6427, 257, 1351, 198, 220, 220, 220, 5072, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 81, 20471, 7, 41667, 4008, 7, 15414, 17, 11, 4238, 62, 5219, 28, 5219, 8, 198, 220, 220, 220, 2746, 796, 9104, 26933, 15414, 16, 11, 5128, 17, 4357, 5072, 8, 198, 220, 220, 220, 6818, 18896, 7, 19849, 13, 75, 6962, 8, 6624, 604, 198, 220, 220, 220, 6818, 318, 39098, 7, 19849, 13, 75, 6962, 58, 12, 16, 4083, 15414, 11, 1351, 8, 198, 220, 220, 220, 17311, 796, 685, 37659, 13, 25120, 13, 25192, 7, 82, 12629, 11, 4628, 395, 25386, 11, 5391, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45941, 13, 25120, 13, 25192, 7, 82, 12629, 11, 4628, 395, 25386, 11, 5391, 15437, 198, 220, 220, 220, 23862, 796, 2746, 13, 79, 17407, 7, 15414, 82, 8, 628, 628, 198, 4299, 1332, 62, 33, 312, 4154, 282, 62, 27432, 540, 33529, 198, 220, 220, 220, 1303, 1332, 11685, 326, 761, 4673, 62, 40715, 284, 307, 900, 198, 220, 220, 220, 2124, 796, 23412, 7, 43358, 16193, 18, 11, 362, 4008, 198, 220, 220, 220, 7679, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 75, 6962, 13, 26437, 49, 6144, 7, 18, 4008, 198, 220, 220, 220, 4808, 796, 7679, 7, 87, 8, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 27432, 540, 62, 43775, 8, 6624, 718, 198, 220, 220, 220, 7679, 13, 27432, 540, 796, 10352, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 27432, 540, 62, 43775, 8, 6624, 657, 198, 220, 220, 220, 7679, 13, 27432, 540, 796, 6407, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 27432, 540, 62, 43775, 8, 6624, 718, 628, 198, 4299, 1332, 62, 33, 312, 4154, 282, 62, 929, 19581, 33529, 198, 220, 220, 220, 2124, 796, 23412, 7, 43358, 16193, 18, 11, 362, 4008, 198, 220, 220, 220, 7679, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 75, 6962, 13, 26437, 49, 6144, 7, 18, 4008, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 929, 19581, 8, 6624, 657, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 929, 19581, 62, 1640, 7, 14202, 4008, 6624, 657, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 929, 19581, 62, 1640, 7, 87, 4008, 6624, 657, 198, 220, 220, 220, 7679, 13, 11813, 62, 29289, 13, 2860, 62, 19119, 7, 15, 11, 17311, 28, 87, 8, 198, 220, 220, 220, 7679, 13, 11813, 62, 29289, 13, 2860, 62, 19119, 7, 16, 11, 17311, 28, 14202, 8, 198, 220, 220, 220, 7679, 13, 1891, 904, 62, 29289, 13, 2860, 62, 19119, 7, 15, 11, 17311, 28, 87, 8, 198, 220, 220, 220, 7679, 13, 1891, 904, 62, 29289, 13, 2860, 62, 19119, 7, 16, 11, 17311, 28, 14202, 8, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 929, 19581, 8, 6624, 604, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 929, 19581, 62, 1640, 7, 14202, 4008, 6624, 362, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 929, 19581, 62, 1640, 7, 87, 4008, 6624, 362, 628, 198, 4299, 1332, 62, 33, 312, 4154, 282, 62, 22462, 274, 33529, 198, 220, 220, 220, 2124, 796, 23412, 7, 43358, 16193, 18, 11, 362, 4008, 198, 220, 220, 220, 7679, 796, 7917, 11799, 13, 33, 312, 4154, 282, 7, 198, 220, 220, 220, 220, 220, 220, 220, 11685, 13, 26437, 49, 6144, 7, 18, 11, 9720, 62, 16338, 7509, 11639, 75, 16, 3256, 10690, 62, 16338, 7509, 11639, 75, 16, 6, 4008, 198, 220, 220, 220, 4808, 796, 7679, 7, 87, 8, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 22462, 274, 8, 6624, 604, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 22462, 274, 62, 1640, 7, 14202, 4008, 6624, 604, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 22462, 274, 62, 1640, 7, 87, 4008, 6624, 657, 198, 220, 220, 220, 7679, 13, 11813, 62, 29289, 13, 2860, 62, 22462, 7, 15, 11, 17311, 28, 87, 8, 198, 220, 220, 220, 7679, 13, 11813, 62, 29289, 13, 2860, 62, 22462, 7, 16, 11, 17311, 28, 14202, 8, 198, 220, 220, 220, 7679, 13, 1891, 904, 62, 29289, 13, 2860, 62, 22462, 7, 15, 11, 17311, 28, 87, 8, 198, 220, 220, 220, 7679, 13, 1891, 904, 62, 29289, 13, 2860, 62, 22462, 7, 16, 11, 17311, 28, 14202, 8, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 22462, 274, 8, 6624, 807, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 22462, 274, 62, 1640, 7, 14202, 4008, 6624, 718, 198, 220, 220, 220, 6818, 18896, 7, 29289, 13, 1136, 62, 22462, 274, 62, 1640, 7, 87, 4008, 6624, 362, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 12972, 9288, 13, 12417, 26933, 834, 7753, 834, 12962, 198 ]
2.220352
2,673
"""Lowest-common-denominator implementations of platform functionality.""" from __future__ import absolute_import, division, print_function, with_statement import errno import socket from tornado.platform import interface
[ 37811, 20535, 395, 12, 11321, 12, 6559, 6351, 1352, 25504, 286, 3859, 11244, 526, 15931, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 11, 351, 62, 26090, 198, 198, 11748, 11454, 3919, 198, 11748, 17802, 198, 198, 6738, 33718, 13, 24254, 1330, 7071, 628 ]
4.411765
51
""" This script will modulate the blinky lights using the following algorithm: 1) uses user-provided location to obtain row of pixel data from bathy image 2) samples a 'number of LEDs' number of pixels from that row 3) shifts the sampled row data to center it at the location specified by user 4) displays resulting pixels on Blinky Tape 5) shifts next row by a given latitude, also specified by user 6) sleeps for user-specified period of time Uses the following arguments: -l/--location: tuple Location of the user in tuple(lat, lon). This represents the center of the LED strip. Defaults to (0, 0) -u/--update-interval: int Update interval of the script, in minutes. Defaults to 10. -p/--port: str Serial port of the BlinkyLight (e.g., 'ttyAMA0', 'COM3'). Defaults to 'COM5'. -d/--delta_latitude: int Vertical change in latitude every update rate. May be 0, but this will result in a never-changing LEDs. -i/--image: str Name of the PNG image that contains the color coded pathymetric data. The file current named mapserv.png was obtained using the following API: https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?request=getmap&service=wms&BBOX=-90,-180,90,180&format=image/png&height=600&width=1200&crs=EPSG:4326&layers=GEBCO_LATEST_SUB_ICE_TOPO&version=1.3.0 In lieu of providing command line arguments, you may alternatively edit the defaults in bath_config.json. NOTE: runs via: runfile('/BlinkyTape_Python/bathymetry_blink/bathymetry_blink.py', wdir='/BlinkyTape_Python/') (C) 2021 Joseph Post (https://joeycodes.dev) MIT Licensed """ import optparse import json from blinkytape import BlinkyTape from time import sleep from PIL import Image import numpy as np import sys MAX_ERRORS = 3 num_errors = 0 # Obtain default parameters with open("./bathymetry_blink/bathy_config.json") as f: config = json.load(f) # Default Blinky Tape port on Raspberry Pi is /dev/ttyACM0 parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="portname", help="serial port (ex: /dev/ttyACM0)", default=config["port"]) parser.add_option("-l", "--location", dest="location", help="Location of the center of the LED strip (ex: 70,-110)", default=config["location"]) parser.add_option("-u", "--update-rate", dest="update_rate", help="How often to update elevation profile (mins) (ex: 5)", default=config["update_rate"]) parser.add_option("-d", "--delta-latitude", dest="delta_latitude", help="Change in latitude during update (ex: 5)", default=config["delta_latitude"]) parser.add_option("-n", "--num-leds", dest="num_leds", help="Number of LEDs in strip (ex: 60)", default=config["num_leds"]) parser.add_option("-i", "--image", dest="image_name", help="Name of the map/bathymetry image (ex: ./mapserv.png)", default=config["image"]) (options, args) = parser.parse_args() if args: print("Unknown parameters: " + args) # grab the values provided by user (or defaults) port = options.portname loc = options.location rate = options.update_rate delta = options.delta_latitude n_leds = options.num_leds i_name = options.image_name # Some visual indication that it works, for headless setups (green tape) bt = BlinkyTape(port, n_leds) bt.displayColor(0, 100, 0) bt.show() sleep(2) while True: try: # first, load image im = Image.open(i_name) # Can be many different formats. cols, rows = im.size a = np.asarray(im) # of shape (rows, cols, channels) # map loc latitude to 0-based index latitude_index = min(rows - 1, max(0, (int)(((loc[0] - -90) / (90 - -90)) * (rows - 0) + 0))) longitude_index = min(cols - 1, max(0, (int)(((loc[1] - -180) / (180 - -180)) * (cols - 0) + 0))) # update the location of the next row of elevation data to take loc[0] += delta loc[0] = ((loc[0] + 90) % 180) - 90 # wraps to next pole if overflow print("Lat index: " + str(latitude_index)) print("Lon index: " + str(longitude_index)) print("Next latitude: " + str(loc[0])) # grab the applicable pixel indices indices = [(int)(x*(cols/n_leds)) for x in range(n_leds)] # sample that row of pixel data output_pixels = np.take(a[latitude_index], indices, axis=0) # rotate the row to center around the specified longitude output_pixels = np.roll(output_pixels, longitude_index, axis=0) # send all pixel data to bt for pixel in output_pixels: print("Sending r: {}, g: {}, b: {}".format(*pixel)) bt.sendPixel(*pixel) # finally, show the image bt.show() # delete variables for memory management del a del im # Tape resets to stored pattern after a few seconds of inactivity sleep(rate * 60) # Wait specified number of minutes # sleep(10) # Wait specified number of minutes except KeyboardInterrupt: print("Keyboard interrupt, ending program.") sys.exit() except RuntimeError as e: print("Encountered runtime error: " + e.args[0]) # flush any incomplete data bt.show() num_errors += 1 if num_errors > MAX_ERRORS: sys.exit("Error count exceeds that allowed.")
[ 37811, 198, 1212, 4226, 481, 953, 5039, 262, 21019, 88, 7588, 1262, 262, 1708, 11862, 25, 198, 198, 16, 8, 3544, 2836, 12, 41279, 4067, 284, 7330, 5752, 286, 17465, 1366, 422, 7837, 88, 2939, 198, 17, 8, 8405, 257, 705, 17618, 286, 33697, 6, 1271, 286, 17848, 422, 326, 5752, 198, 18, 8, 15381, 262, 35846, 5752, 1366, 284, 3641, 340, 379, 262, 4067, 7368, 416, 2836, 198, 19, 8, 11298, 7186, 17848, 319, 1086, 29246, 40849, 198, 20, 8, 15381, 1306, 5752, 416, 257, 1813, 32477, 11, 635, 7368, 416, 2836, 198, 21, 8, 44263, 329, 2836, 12, 23599, 2278, 286, 640, 198, 198, 5842, 274, 262, 1708, 7159, 25, 198, 198, 12, 75, 14, 438, 24886, 25, 46545, 220, 198, 197, 14749, 286, 262, 2836, 287, 46545, 7, 15460, 11, 300, 261, 737, 770, 6870, 262, 3641, 286, 262, 12365, 10283, 13, 2896, 13185, 284, 357, 15, 11, 657, 8, 198, 12, 84, 14, 438, 19119, 12, 3849, 2100, 25, 493, 198, 197, 10260, 16654, 286, 262, 4226, 11, 287, 2431, 13, 2896, 13185, 284, 838, 13, 198, 12, 79, 14, 438, 634, 25, 965, 198, 197, 32634, 2493, 286, 262, 1086, 29246, 15047, 357, 68, 13, 70, 1539, 705, 42852, 25087, 15, 3256, 705, 9858, 18, 27691, 2896, 13185, 284, 705, 9858, 20, 4458, 220, 198, 12, 67, 14, 438, 67, 12514, 62, 15460, 3984, 25, 493, 198, 220, 220, 220, 38937, 1487, 287, 32477, 790, 4296, 2494, 13, 1737, 307, 657, 11, 475, 428, 481, 1255, 287, 257, 1239, 12, 22954, 33697, 13, 220, 198, 12, 72, 14, 438, 9060, 25, 965, 198, 220, 220, 220, 6530, 286, 262, 36182, 2939, 326, 4909, 262, 3124, 30817, 3108, 88, 4164, 1173, 1366, 13, 198, 198, 464, 2393, 1459, 3706, 8739, 712, 13, 11134, 373, 6492, 1262, 262, 1708, 7824, 25, 198, 5450, 1378, 2503, 13, 469, 65, 1073, 13, 3262, 14, 7890, 62, 392, 62, 29498, 14, 469, 65, 1073, 62, 12384, 62, 30416, 14, 12384, 62, 8899, 62, 15271, 14, 31803, 712, 30, 25927, 28, 1136, 8899, 5, 15271, 28, 86, 907, 5, 33, 39758, 10779, 3829, 12095, 15259, 11, 3829, 11, 15259, 5, 18982, 28, 9060, 14, 11134, 5, 17015, 28, 8054, 5, 10394, 28, 27550, 5, 66, 3808, 28, 36, 3705, 38, 25, 3559, 2075, 5, 75, 6962, 28, 8264, 2749, 46, 62, 43, 1404, 6465, 62, 50, 10526, 62, 8476, 62, 35222, 46, 5, 9641, 28, 16, 13, 18, 13, 15, 198, 198, 818, 32267, 286, 4955, 3141, 1627, 7159, 11, 345, 743, 46596, 4370, 262, 26235, 287, 7837, 62, 11250, 13, 17752, 13, 220, 198, 198, 16580, 25, 4539, 2884, 25, 198, 5143, 7753, 10786, 14, 3629, 29246, 51, 1758, 62, 37906, 14, 65, 10036, 41935, 62, 2436, 676, 14, 65, 10036, 41935, 62, 2436, 676, 13, 9078, 3256, 266, 15908, 11639, 14, 3629, 29246, 51, 1758, 62, 37906, 14, 11537, 198, 198, 7, 34, 8, 33448, 7212, 2947, 357, 5450, 1378, 73, 2577, 88, 40148, 13, 7959, 8, 198, 36393, 49962, 198, 198, 37811, 628, 198, 11748, 2172, 29572, 198, 11748, 33918, 198, 6738, 21019, 20760, 1758, 1330, 1086, 29246, 51, 1758, 198, 6738, 640, 1330, 3993, 198, 6738, 350, 4146, 1330, 7412, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 25064, 198, 198, 22921, 62, 24908, 50, 796, 513, 198, 22510, 62, 48277, 796, 657, 198, 198, 2, 1835, 3153, 4277, 10007, 198, 4480, 1280, 7, 1911, 14, 65, 10036, 41935, 62, 2436, 676, 14, 65, 10036, 62, 11250, 13, 17752, 4943, 355, 277, 25, 198, 220, 220, 220, 4566, 796, 33918, 13, 2220, 7, 69, 8, 198, 198, 2, 15161, 1086, 29246, 40849, 2493, 319, 24244, 13993, 318, 1220, 7959, 14, 42852, 2246, 44, 15, 198, 48610, 796, 2172, 29572, 13, 19722, 46677, 3419, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 79, 1600, 366, 438, 634, 1600, 2244, 2625, 634, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 46911, 2493, 357, 1069, 25, 1220, 7959, 14, 42852, 2246, 44, 15, 42501, 4277, 28, 11250, 14692, 634, 8973, 8, 198, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 75, 1600, 366, 438, 24886, 1600, 2244, 2625, 24886, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 14749, 286, 262, 3641, 286, 262, 12365, 10283, 357, 1069, 25, 4317, 12095, 11442, 42501, 4277, 28, 11250, 14692, 24886, 8973, 8, 198, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 84, 1600, 366, 438, 19119, 12, 4873, 1600, 2244, 2625, 19119, 62, 4873, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 2437, 1690, 284, 4296, 22910, 7034, 357, 42951, 8, 357, 1069, 25, 642, 42501, 4277, 28, 11250, 14692, 19119, 62, 4873, 8973, 8, 198, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 67, 1600, 366, 438, 67, 12514, 12, 15460, 3984, 1600, 2244, 2625, 67, 12514, 62, 15460, 3984, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 19400, 287, 32477, 1141, 4296, 357, 1069, 25, 642, 42501, 4277, 28, 11250, 14692, 67, 12514, 62, 15460, 3984, 8973, 8, 198, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 77, 1600, 366, 438, 22510, 12, 992, 82, 1600, 2244, 2625, 22510, 62, 992, 82, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 15057, 286, 33697, 287, 10283, 357, 1069, 25, 3126, 42501, 4277, 28, 11250, 14692, 22510, 62, 992, 82, 8973, 8, 198, 198, 48610, 13, 2860, 62, 18076, 7203, 12, 72, 1600, 366, 438, 9060, 1600, 2244, 2625, 9060, 62, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 5376, 286, 262, 3975, 14, 65, 10036, 41935, 2939, 357, 1069, 25, 24457, 31803, 712, 13, 11134, 42501, 4277, 28, 11250, 14692, 9060, 8973, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 198, 7, 25811, 11, 26498, 8, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 198, 361, 26498, 25, 198, 220, 220, 220, 3601, 7203, 20035, 10007, 25, 366, 1343, 26498, 8, 198, 198, 2, 5552, 262, 3815, 2810, 416, 2836, 357, 273, 26235, 8, 198, 634, 796, 3689, 13, 634, 3672, 198, 17946, 796, 3689, 13, 24886, 198, 4873, 796, 3689, 13, 19119, 62, 4873, 198, 67, 12514, 796, 3689, 13, 67, 12514, 62, 15460, 3984, 198, 77, 62, 992, 82, 796, 3689, 13, 22510, 62, 992, 82, 198, 72, 62, 3672, 796, 3689, 13, 9060, 62, 3672, 198, 198, 2, 2773, 5874, 12955, 326, 340, 2499, 11, 329, 1182, 1203, 44266, 357, 14809, 9154, 8, 198, 18347, 796, 1086, 29246, 51, 1758, 7, 634, 11, 299, 62, 992, 82, 8, 198, 18347, 13, 13812, 10258, 7, 15, 11, 1802, 11, 657, 8, 198, 18347, 13, 12860, 3419, 198, 42832, 7, 17, 8, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 717, 11, 3440, 2939, 198, 220, 220, 220, 220, 220, 220, 220, 545, 796, 7412, 13, 9654, 7, 72, 62, 3672, 8, 1303, 1680, 307, 867, 1180, 17519, 13, 198, 220, 220, 220, 220, 220, 220, 220, 951, 82, 11, 15274, 796, 545, 13, 7857, 220, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 45941, 13, 292, 18747, 7, 320, 8, 220, 1303, 286, 5485, 357, 8516, 11, 951, 82, 11, 9619, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3975, 1179, 32477, 284, 657, 12, 3106, 6376, 220, 198, 220, 220, 220, 220, 220, 220, 220, 32477, 62, 9630, 796, 949, 7, 8516, 532, 352, 11, 3509, 7, 15, 11, 357, 600, 5769, 19510, 17946, 58, 15, 60, 532, 532, 3829, 8, 1220, 357, 3829, 532, 532, 3829, 4008, 1635, 357, 8516, 532, 657, 8, 1343, 657, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 890, 3984, 62, 9630, 796, 949, 7, 4033, 82, 532, 352, 11, 3509, 7, 15, 11, 357, 600, 5769, 19510, 17946, 58, 16, 60, 532, 532, 15259, 8, 1220, 357, 15259, 532, 532, 15259, 4008, 1635, 357, 4033, 82, 532, 657, 8, 1343, 657, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 262, 4067, 286, 262, 1306, 5752, 286, 22910, 1366, 284, 1011, 198, 220, 220, 220, 220, 220, 220, 220, 1179, 58, 15, 60, 15853, 25979, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1179, 58, 15, 60, 796, 14808, 17946, 58, 15, 60, 1343, 4101, 8, 4064, 11546, 8, 532, 4101, 220, 1303, 27521, 284, 1306, 16825, 611, 30343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 24220, 6376, 25, 366, 1343, 965, 7, 15460, 3984, 62, 9630, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 43, 261, 6376, 25, 366, 1343, 965, 7, 6511, 3984, 62, 9630, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 10019, 32477, 25, 366, 1343, 965, 7, 17946, 58, 15, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5552, 262, 9723, 17465, 36525, 198, 220, 220, 220, 220, 220, 220, 220, 36525, 796, 47527, 600, 5769, 87, 9, 7, 4033, 82, 14, 77, 62, 992, 82, 4008, 329, 2124, 287, 2837, 7, 77, 62, 992, 82, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6291, 326, 5752, 286, 17465, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 79, 14810, 796, 45941, 13, 20657, 7, 64, 58, 15460, 3984, 62, 9630, 4357, 36525, 11, 16488, 28, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 23064, 262, 5752, 284, 3641, 1088, 262, 7368, 890, 3984, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 79, 14810, 796, 45941, 13, 2487, 7, 22915, 62, 79, 14810, 11, 890, 3984, 62, 9630, 11, 16488, 28, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3758, 477, 17465, 1366, 284, 275, 83, 198, 220, 220, 220, 220, 220, 220, 220, 329, 17465, 287, 5072, 62, 79, 14810, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 50, 1571, 374, 25, 1391, 5512, 308, 25, 1391, 5512, 275, 25, 23884, 1911, 18982, 46491, 32515, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 83, 13, 21280, 40809, 46491, 32515, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3443, 11, 905, 262, 2939, 198, 220, 220, 220, 220, 220, 220, 220, 275, 83, 13, 12860, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12233, 9633, 329, 4088, 4542, 198, 220, 220, 220, 220, 220, 220, 220, 1619, 257, 198, 220, 220, 220, 220, 220, 220, 220, 1619, 545, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 40849, 581, 1039, 284, 8574, 3912, 706, 257, 1178, 4201, 286, 287, 21797, 198, 220, 220, 220, 220, 220, 220, 220, 3993, 7, 4873, 1635, 3126, 8, 220, 1303, 16314, 7368, 1271, 286, 2431, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3993, 7, 940, 8, 220, 1303, 16314, 7368, 1271, 286, 2431, 628, 220, 220, 220, 2845, 31973, 9492, 3622, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 9218, 3526, 11313, 11, 7464, 1430, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 2845, 43160, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 4834, 9127, 1068, 19124, 4049, 25, 366, 1343, 304, 13, 22046, 58, 15, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 24773, 597, 17503, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 275, 83, 13, 12860, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 48277, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 997, 62, 48277, 1875, 25882, 62, 24908, 50, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7203, 12331, 954, 21695, 326, 3142, 19570, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220 ]
2.548747
2,154
""" Export Submissions Transform module """ #pylint: disable=too-few-public-methods import pandas as pd from .transform import TransformBase from ..resources.field_configs import FieldConfigs from ..resources.field_maps import FieldMaps
[ 37811, 36472, 3834, 8481, 26981, 8265, 37227, 198, 2, 79, 2645, 600, 25, 15560, 28, 18820, 12, 32146, 12, 11377, 12, 24396, 82, 198, 11748, 19798, 292, 355, 279, 67, 198, 6738, 764, 35636, 1330, 26981, 14881, 198, 6738, 11485, 37540, 13, 3245, 62, 11250, 82, 1330, 7663, 16934, 82, 198, 6738, 11485, 37540, 13, 3245, 62, 31803, 1330, 7663, 47010, 198 ]
3.822581
62
import pytest import torch import ray from ray.ml.predictors.integrations.torch import TorchPredictor from ray.ml.train.integrations.torch import TorchTrainer from ray import train from ray.ml.examples.pytorch.torch_linear_example import train_func as linear_train_func def test_torch_e2e(ray_start_4_cpus): scaling_config = {"num_workers": 2} trainer = TorchTrainer( train_loop_per_worker=train_func, scaling_config=scaling_config ) result = trainer.fit() predict_dataset = ray.data.range(3) predictions = predict_dataset.map_batches( TorchScorer, batch_format="pandas", compute="actors" ) assert predictions.count() == 3 def test_torch_e2e_state_dict(ray_start_4_cpus): scaling_config = {"num_workers": 2} trainer = TorchTrainer( train_loop_per_worker=train_func, scaling_config=scaling_config ) result = trainer.fit() # If loading from a state dict, a model definition must be passed in. with pytest.raises(ValueError): TorchPredictor.from_checkpoint(result.checkpoint) predict_dataset = ray.data.range(3) predictions = predict_dataset.map_batches( TorchScorer, batch_format="pandas", compute="actors" ) assert predictions.count() == 3 if __name__ == "__main__": import pytest import sys sys.exit(pytest.main(["-v", "-x", __file__]))
[ 11748, 12972, 9288, 198, 11748, 28034, 198, 198, 11748, 26842, 198, 6738, 26842, 13, 4029, 13, 79, 17407, 669, 13, 18908, 9143, 13, 13165, 354, 1330, 34868, 47, 17407, 273, 198, 6738, 26842, 13, 4029, 13, 27432, 13, 18908, 9143, 13, 13165, 354, 1330, 34868, 2898, 10613, 198, 6738, 26842, 1330, 4512, 198, 6738, 26842, 13, 4029, 13, 1069, 12629, 13, 9078, 13165, 354, 13, 13165, 354, 62, 29127, 62, 20688, 1330, 4512, 62, 20786, 355, 14174, 62, 27432, 62, 20786, 628, 628, 198, 4299, 1332, 62, 13165, 354, 62, 68, 17, 68, 7, 2433, 62, 9688, 62, 19, 62, 13155, 385, 2599, 628, 220, 220, 220, 20796, 62, 11250, 796, 19779, 22510, 62, 22896, 1298, 362, 92, 198, 220, 220, 220, 21997, 796, 34868, 2898, 10613, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 26268, 62, 525, 62, 28816, 28, 27432, 62, 20786, 11, 20796, 62, 11250, 28, 1416, 4272, 62, 11250, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 1255, 796, 21997, 13, 11147, 3419, 628, 220, 220, 220, 4331, 62, 19608, 292, 316, 796, 26842, 13, 7890, 13, 9521, 7, 18, 8, 628, 220, 220, 220, 16277, 796, 4331, 62, 19608, 292, 316, 13, 8899, 62, 8664, 2052, 7, 198, 220, 220, 220, 220, 220, 220, 220, 34868, 3351, 11934, 11, 15458, 62, 18982, 2625, 79, 392, 292, 1600, 24061, 2625, 529, 669, 1, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 6818, 16277, 13, 9127, 3419, 6624, 513, 628, 198, 4299, 1332, 62, 13165, 354, 62, 68, 17, 68, 62, 5219, 62, 11600, 7, 2433, 62, 9688, 62, 19, 62, 13155, 385, 2599, 628, 220, 220, 220, 20796, 62, 11250, 796, 19779, 22510, 62, 22896, 1298, 362, 92, 198, 220, 220, 220, 21997, 796, 34868, 2898, 10613, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 26268, 62, 525, 62, 28816, 28, 27432, 62, 20786, 11, 20796, 62, 11250, 28, 1416, 4272, 62, 11250, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 1255, 796, 21997, 13, 11147, 3419, 628, 220, 220, 220, 1303, 1002, 11046, 422, 257, 1181, 8633, 11, 257, 2746, 6770, 1276, 307, 3804, 287, 13, 198, 220, 220, 220, 351, 12972, 9288, 13, 430, 2696, 7, 11395, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 34868, 47, 17407, 273, 13, 6738, 62, 9122, 4122, 7, 20274, 13, 9122, 4122, 8, 628, 220, 220, 220, 4331, 62, 19608, 292, 316, 796, 26842, 13, 7890, 13, 9521, 7, 18, 8, 198, 220, 220, 220, 16277, 796, 4331, 62, 19608, 292, 316, 13, 8899, 62, 8664, 2052, 7, 198, 220, 220, 220, 220, 220, 220, 220, 34868, 3351, 11934, 11, 15458, 62, 18982, 2625, 79, 392, 292, 1600, 24061, 2625, 529, 669, 1, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 6818, 16277, 13, 9127, 3419, 6624, 513, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 12972, 9288, 198, 220, 220, 220, 1330, 25064, 628, 220, 220, 220, 25064, 13, 37023, 7, 9078, 9288, 13, 12417, 7, 14692, 12, 85, 1600, 27444, 87, 1600, 11593, 7753, 834, 60, 4008, 198 ]
2.627863
524
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. from uhd_restpy.base import Base from uhd_restpy.files import Files from typing import List, Any, Union def Apply(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the apply operation on the server. Applies the specified Quick Test. apply(async_operation=bool) --------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('apply', payload=payload, response_object=None) def ApplyAsync(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the applyAsync operation on the server. applyAsync(async_operation=bool) -------------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('applyAsync', payload=payload, response_object=None) def ApplyAsyncResult(self, *args, **kwargs): # type: (*Any, **Any) -> Union[bool, None] """Executes the applyAsyncResult operation on the server. applyAsyncResult(async_operation=bool)bool ------------------------------------------ - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns bool: Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('applyAsyncResult', payload=payload, response_object=None) def ApplyITWizardConfiguration(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the applyITWizardConfiguration operation on the server. Applies the specified Quick Test. applyITWizardConfiguration(async_operation=bool) ------------------------------------------------ - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('applyITWizardConfiguration', payload=payload, response_object=None) def GenerateReport(self, *args, **kwargs): # type: (*Any, **Any) -> Union[str, None] """Executes the generateReport operation on the server. Generate a PDF report for the last succesfull test run. generateReport(async_operation=bool)string ------------------------------------------ - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns str: This method is asynchronous and has no return value. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('generateReport', payload=payload, response_object=None) def Run(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the run operation on the server. Starts the specified Quick Test and waits for its execution to finish. The IxNetwork model allows for multiple method Signatures with the same name while python does not. run(async_operation=bool)list ----------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): This method is synchronous and returns the result of the test. run(InputParameters=string, async_operation=bool)list ----------------------------------------------------- - InputParameters (str): The input arguments of the test. - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): This method is synchronous and returns the result of the test. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('run', payload=payload, response_object=None) def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. Starts the specified Quick Test. The IxNetwork model allows for multiple method Signatures with the same name while python does not. start(async_operation=bool) --------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. start(InputParameters=string, async_operation=bool) --------------------------------------------------- - InputParameters (str): The input arguments of the test. - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('start', payload=payload, response_object=None) def Stop(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the stop operation on the server. Stops the currently running Quick Test. stop(async_operation=bool) -------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('stop', payload=payload, response_object=None) def WaitForTest(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the waitForTest operation on the server. Waits for the execution of the specified Quick Test to be completed. waitForTest(async_operation=bool)list ------------------------------------- - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): This method is synchronous and returns the result of the test. Raises ------ - NotFoundError: The requested resource does not exist on the server - ServerError: The server has encountered an uncategorized error condition """ payload = { "Arg1": self.href } for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] for item in kwargs.items(): payload[item[0]] = item[1] return self._execute('waitForTest', payload=payload, response_object=None)
[ 2, 17168, 38559, 24290, 198, 2, 198, 2, 15069, 8309, 532, 12131, 416, 22631, 3539, 26363, 432, 198, 2, 198, 2, 2448, 3411, 318, 29376, 7520, 11, 1479, 286, 3877, 11, 284, 597, 1048, 16727, 257, 4866, 198, 2, 286, 428, 3788, 290, 3917, 10314, 3696, 357, 1169, 366, 25423, 12340, 198, 2, 284, 1730, 287, 262, 10442, 1231, 17504, 11, 1390, 1231, 17385, 198, 2, 262, 2489, 284, 779, 11, 4866, 11, 13096, 11, 20121, 11, 7715, 11, 14983, 11, 850, 43085, 11, 198, 2, 290, 14, 273, 3677, 9088, 286, 262, 10442, 11, 290, 284, 8749, 6506, 284, 4150, 262, 198, 2, 10442, 318, 30760, 284, 466, 523, 11, 2426, 284, 262, 1708, 3403, 25, 198, 2, 198, 2, 383, 2029, 6634, 4003, 290, 428, 7170, 4003, 2236, 307, 3017, 287, 198, 2, 477, 9088, 393, 8904, 16690, 286, 262, 10442, 13, 198, 2, 198, 2, 3336, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 7788, 32761, 6375, 198, 2, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 11, 198, 2, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 3268, 8005, 49261, 50163, 3336, 198, 2, 37195, 20673, 6375, 27975, 38162, 9947, 367, 15173, 4877, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 25401, 198, 2, 43031, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 5923, 1797, 2751, 16034, 11, 198, 2, 16289, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 25401, 5550, 1847, 20754, 3268, 198, 2, 3336, 47466, 13, 220, 198, 6738, 21480, 67, 62, 2118, 9078, 13, 8692, 1330, 7308, 198, 6738, 21480, 67, 62, 2118, 9078, 13, 16624, 1330, 13283, 198, 6738, 19720, 1330, 7343, 11, 4377, 11, 4479, 628, 198, 220, 220, 220, 825, 27967, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 4174, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2034, 13508, 262, 7368, 12029, 6208, 13, 628, 220, 220, 220, 220, 220, 220, 220, 4174, 7, 292, 13361, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 22369, 6329, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 39014, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 27967, 42367, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 4174, 42367, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 4174, 42367, 7, 292, 13361, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 39014, 42367, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 27967, 42367, 23004, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 4479, 58, 30388, 11, 6045, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 4174, 42367, 23004, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 4174, 42367, 23004, 7, 292, 13361, 62, 27184, 28, 30388, 8, 30388, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 35937, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 16409, 20512, 25, 220, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 39014, 42367, 23004, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 27967, 2043, 54, 8669, 38149, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 4174, 2043, 54, 8669, 38149, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2034, 13508, 262, 7368, 12029, 6208, 13, 628, 220, 220, 220, 220, 220, 220, 220, 4174, 2043, 54, 8669, 38149, 7, 292, 13361, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 1783, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 39014, 2043, 54, 8669, 38149, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 2980, 378, 19100, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 4479, 58, 2536, 11, 6045, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 7716, 19100, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2980, 378, 257, 12960, 989, 329, 262, 938, 17458, 274, 12853, 1332, 1057, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7716, 19100, 7, 292, 13361, 62, 27184, 28, 30388, 8, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 35937, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 16409, 965, 25, 770, 2446, 318, 39354, 290, 468, 645, 1441, 1988, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 8612, 378, 19100, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 5660, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 4479, 58, 8053, 58, 2536, 4357, 6045, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 1057, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 50181, 262, 7368, 12029, 6208, 290, 28364, 329, 663, 9706, 284, 5461, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 314, 87, 26245, 2746, 3578, 329, 3294, 2446, 5865, 6691, 351, 262, 976, 1438, 981, 21015, 857, 407, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1057, 7, 292, 13361, 62, 27184, 28, 30388, 8, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 34400, 32501, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 16409, 1351, 7, 2536, 2599, 770, 2446, 318, 18305, 516, 290, 5860, 262, 1255, 286, 262, 1332, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1057, 7, 20560, 48944, 28, 8841, 11, 30351, 62, 27184, 28, 30388, 8, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 19351, 12, 198, 220, 220, 220, 220, 220, 220, 220, 532, 23412, 48944, 357, 2536, 2599, 383, 5128, 7159, 286, 262, 1332, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 16409, 1351, 7, 2536, 2599, 770, 2446, 318, 18305, 516, 290, 5860, 262, 1255, 286, 262, 1332, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 5143, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 7253, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 923, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 50181, 262, 7368, 12029, 6208, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 314, 87, 26245, 2746, 3578, 329, 3294, 2446, 5865, 6691, 351, 262, 976, 1438, 981, 21015, 857, 407, 13, 628, 220, 220, 220, 220, 220, 220, 220, 923, 7, 292, 13361, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 22369, 6329, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 923, 7, 20560, 48944, 28, 8841, 11, 30351, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 1783, 6329, 198, 220, 220, 220, 220, 220, 220, 220, 532, 23412, 48944, 357, 2536, 2599, 383, 5128, 7159, 286, 262, 1332, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 9688, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 13707, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 2245, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 520, 2840, 262, 3058, 2491, 12029, 6208, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2245, 7, 292, 13361, 62, 27184, 28, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 22369, 438, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 11338, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 628, 220, 220, 220, 825, 16314, 1890, 14402, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 25, 20789, 7149, 11, 12429, 7149, 8, 4613, 4479, 58, 8053, 58, 2536, 4357, 6045, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23002, 1769, 262, 4043, 1890, 14402, 4905, 319, 262, 4382, 13, 628, 220, 220, 220, 220, 220, 220, 220, 15329, 896, 329, 262, 9706, 286, 262, 7368, 12029, 6208, 284, 307, 5668, 13, 628, 220, 220, 220, 220, 220, 220, 220, 4043, 1890, 14402, 7, 292, 13361, 62, 27184, 28, 30388, 8, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 20368, 30934, 198, 220, 220, 220, 220, 220, 220, 220, 532, 30351, 62, 27184, 357, 30388, 28, 25101, 2599, 6407, 284, 12260, 262, 4905, 355, 24871, 3481, 13, 4377, 8840, 1334, 40391, 3848, 925, 832, 262, 26923, 1398, 481, 2512, 1566, 262, 4905, 318, 1844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 532, 16409, 1351, 7, 2536, 2599, 770, 2446, 318, 18305, 516, 290, 5860, 262, 1255, 286, 262, 1332, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 532, 1892, 21077, 12331, 25, 383, 9167, 8271, 857, 407, 2152, 319, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 532, 9652, 12331, 25, 383, 4382, 468, 12956, 281, 4591, 47467, 1143, 4049, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21437, 796, 1391, 366, 28100, 16, 1298, 2116, 13, 33257, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 22046, 8, 2599, 21437, 17816, 28100, 4, 82, 6, 4064, 357, 72, 1343, 362, 15437, 796, 26498, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 479, 86, 22046, 13, 23814, 33529, 21437, 58, 9186, 58, 15, 11907, 796, 2378, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 41049, 10786, 17077, 1890, 14402, 3256, 21437, 28, 15577, 2220, 11, 2882, 62, 15252, 28, 14202, 8, 198 ]
3.038642
3,623
from rest_framework import serializers from core import models
[ 6738, 1334, 62, 30604, 1330, 11389, 11341, 198, 198, 6738, 4755, 1330, 4981, 628 ]
4.642857
14
input = """ c(2). p(1). a(2). d(2,2,1). okay(X):- c(X), #count{V:a(V),d(V,X,1)} = 1. ouch(X):- p(X), #count{V:a(V),d(V,X,1)} = 1. """ output = """ {a(2), c(2), d(2,2,1), okay(2), p(1)} """
[ 15414, 796, 37227, 198, 66, 7, 17, 737, 198, 79, 7, 16, 737, 198, 64, 7, 17, 737, 198, 67, 7, 17, 11, 17, 11, 16, 737, 198, 482, 323, 7, 55, 2599, 12, 269, 7, 55, 828, 1303, 9127, 90, 53, 25, 64, 7, 53, 828, 67, 7, 53, 11, 55, 11, 16, 38165, 796, 352, 13, 198, 7673, 7, 55, 2599, 12, 279, 7, 55, 828, 1303, 9127, 90, 53, 25, 64, 7, 53, 828, 67, 7, 53, 11, 55, 11, 16, 38165, 796, 352, 13, 198, 37811, 198, 198, 22915, 796, 37227, 198, 90, 64, 7, 17, 828, 269, 7, 17, 828, 288, 7, 17, 11, 17, 11, 16, 828, 8788, 7, 17, 828, 279, 7, 16, 38165, 198, 37811, 198 ]
1.532258
124
from nonebot import CommandSession, on_command from langdetect import detect, detect_langs from aiohttp import ClientSession from nonebot import get_bot from nonebot.argparse import ArgumentParser import time import hmac import random, sys import hashlib import binascii import urllib bot = get_bot() # API,ttstranslate_api@baidu.com # coding=utf-8 import hashlib import urllib import random
[ 6738, 4844, 13645, 1330, 9455, 36044, 11, 319, 62, 21812, 198, 6738, 42392, 15255, 478, 1330, 4886, 11, 4886, 62, 17204, 82, 198, 6738, 257, 952, 4023, 1330, 20985, 36044, 198, 6738, 4844, 13645, 1330, 651, 62, 13645, 198, 6738, 4844, 13645, 13, 853, 29572, 1330, 45751, 46677, 198, 11748, 640, 198, 11748, 289, 20285, 198, 11748, 4738, 11, 25064, 198, 11748, 12234, 8019, 198, 11748, 9874, 292, 979, 72, 198, 11748, 2956, 297, 571, 198, 198, 13645, 796, 651, 62, 13645, 3419, 198, 2, 7824, 11, 926, 2536, 504, 17660, 62, 15042, 31, 65, 1698, 84, 13, 785, 198, 2, 19617, 28, 40477, 12, 23, 198, 198, 11748, 12234, 8019, 198, 11748, 2956, 297, 571, 198, 11748, 4738, 628, 198 ]
3.272727
121
""" LpSolve wrapper. Copyright (C) 2018, Guillaume Gonnet License MIT """ from ctypes import * import sys import os.path as path import platform # Import the DLL ver = ("x86", "x64")[sys.maxsize > 2**32] here = path.dirname(__file__) if sys.platform == "win32": lib = windll.LoadLibrary(path.abspath(path.join(here, "dll/lpsolve55-%s.dll" % ver))) elif sys.platform == "linux": lib = cdll.LoadLibrary(path.abspath(path.join(here, "dll/lpsolve55-%s.so" % ver))) else: raise ValueError("Can't load LpSolve library on this platform.") # Make the bindings c_double_p = POINTER(c_double) c_int_p = POINTER(c_int) lib.make_lp.argtypes = [c_int, c_int] lib.make_lp.restype = c_void_p lib.delete_lp.argtypes = [c_void_p] lib.set_binary.argtypes = [c_void_p, c_int, c_ubyte] lib.set_binary.restype = c_ubyte lib.set_int.argtypes = [c_void_p, c_int, c_ubyte] lib.set_int.restype = c_ubyte lib.add_constraintex.argtypes = [c_void_p, c_int, c_double_p, c_int_p, c_int, c_double] lib.add_constraintex.restype = c_ubyte lib.set_obj_fnex.argtypes = [c_void_p, c_int, c_double_p, c_int_p] lib.set_obj_fnex.restype = c_ubyte lib.set_add_rowmode.argtypes = [c_void_p, c_ubyte] lib.set_add_rowmode.restype = c_ubyte lib.set_maxim.argtypes = [c_void_p] lib.write_lp.argtypes = [c_void_p, c_char_p] lib.write_lp.restype = c_ubyte lib.set_verbose.argtypes = [c_void_p, c_int] lib.solve.argtypes = [c_void_p] lib.solve.restype = c_int lib.get_variables.argtypes = [c_void_p, c_double_p] lib.get_variables.restype = c_ubyte
[ 37811, 198, 198, 43, 79, 50, 6442, 29908, 13, 198, 198, 15269, 357, 34, 8, 2864, 11, 1962, 5049, 2454, 35371, 3262, 198, 34156, 17168, 198, 198, 37811, 198, 198, 6738, 269, 19199, 1330, 1635, 198, 11748, 25064, 198, 11748, 28686, 13, 6978, 355, 3108, 198, 11748, 3859, 628, 198, 2, 17267, 262, 360, 3069, 198, 332, 796, 5855, 87, 4521, 1600, 366, 87, 2414, 4943, 58, 17597, 13, 9806, 7857, 1875, 362, 1174, 2624, 60, 198, 1456, 796, 3108, 13, 15908, 3672, 7, 834, 7753, 834, 8, 198, 198, 361, 25064, 13, 24254, 6624, 366, 5404, 2624, 1298, 198, 220, 220, 220, 9195, 796, 2344, 297, 13, 8912, 23377, 7, 6978, 13, 397, 2777, 776, 7, 6978, 13, 22179, 7, 1456, 11, 366, 12736, 14, 75, 862, 6442, 2816, 12, 4, 82, 13, 12736, 1, 4064, 3326, 22305, 198, 417, 361, 25064, 13, 24254, 6624, 366, 23289, 1298, 198, 220, 220, 220, 9195, 796, 269, 12736, 13, 8912, 23377, 7, 6978, 13, 397, 2777, 776, 7, 6978, 13, 22179, 7, 1456, 11, 366, 12736, 14, 75, 862, 6442, 2816, 12, 4, 82, 13, 568, 1, 4064, 3326, 22305, 198, 17772, 25, 198, 220, 220, 220, 5298, 11052, 12331, 7203, 6090, 470, 3440, 406, 79, 50, 6442, 5888, 319, 428, 3859, 19570, 628, 198, 2, 6889, 262, 34111, 198, 66, 62, 23352, 62, 79, 796, 19922, 41358, 7, 66, 62, 23352, 8, 198, 66, 62, 600, 62, 79, 796, 19922, 41358, 7, 66, 62, 600, 8, 198, 198, 8019, 13, 15883, 62, 34431, 13, 853, 19199, 796, 685, 66, 62, 600, 11, 269, 62, 600, 60, 198, 8019, 13, 15883, 62, 34431, 13, 2118, 2981, 796, 269, 62, 19382, 62, 79, 198, 198, 8019, 13, 33678, 62, 34431, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 60, 198, 198, 8019, 13, 2617, 62, 39491, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 600, 11, 269, 62, 549, 88, 660, 60, 198, 8019, 13, 2617, 62, 39491, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2617, 62, 600, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 600, 11, 269, 62, 549, 88, 660, 60, 198, 8019, 13, 2617, 62, 600, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2860, 62, 1102, 2536, 391, 16886, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 600, 11, 269, 62, 23352, 62, 79, 11, 269, 62, 600, 62, 79, 11, 269, 62, 600, 11, 269, 62, 23352, 60, 198, 8019, 13, 2860, 62, 1102, 2536, 391, 16886, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2617, 62, 26801, 62, 69, 12413, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 600, 11, 269, 62, 23352, 62, 79, 11, 269, 62, 600, 62, 79, 60, 198, 8019, 13, 2617, 62, 26801, 62, 69, 12413, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2617, 62, 2860, 62, 808, 14171, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 549, 88, 660, 60, 198, 8019, 13, 2617, 62, 2860, 62, 808, 14171, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2617, 62, 9806, 320, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 60, 198, 198, 8019, 13, 13564, 62, 34431, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 10641, 62, 79, 60, 198, 8019, 13, 13564, 62, 34431, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 198, 198, 8019, 13, 2617, 62, 19011, 577, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 600, 60, 198, 198, 8019, 13, 82, 6442, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 60, 198, 8019, 13, 82, 6442, 13, 2118, 2981, 796, 269, 62, 600, 198, 198, 8019, 13, 1136, 62, 25641, 2977, 13, 853, 19199, 796, 685, 66, 62, 19382, 62, 79, 11, 269, 62, 23352, 62, 79, 60, 198, 8019, 13, 1136, 62, 25641, 2977, 13, 2118, 2981, 796, 269, 62, 549, 88, 660, 628, 628, 628, 628, 198 ]
2.18892
704
# Copyright 2015 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # import random from cryptography import fernet import mock from oslo_db import exception as odb_exceptions from oslo_utils import uuidutils from sqlalchemy.orm import exc from taskflow.types import failure from octavia.common import constants from octavia.common import data_models from octavia.common import utils from octavia.controller.worker.v2.tasks import database_tasks from octavia.db import repositories as repo import octavia.tests.unit.base as base AMP_ID = uuidutils.generate_uuid() COMPUTE_ID = uuidutils.generate_uuid() LB_ID = uuidutils.generate_uuid() SERVER_GROUP_ID = uuidutils.generate_uuid() LB_NET_IP = '192.0.2.2' LISTENER_ID = uuidutils.generate_uuid() POOL_ID = uuidutils.generate_uuid() HM_ID = uuidutils.generate_uuid() MEMBER_ID = uuidutils.generate_uuid() PORT_ID = uuidutils.generate_uuid() SUBNET_ID = uuidutils.generate_uuid() VRRP_PORT_ID = uuidutils.generate_uuid() HA_PORT_ID = uuidutils.generate_uuid() L7POLICY_ID = uuidutils.generate_uuid() L7RULE_ID = uuidutils.generate_uuid() VIP_IP = '192.0.5.2' VRRP_IP = '192.0.5.3' HA_IP = '192.0.5.4' AMP_ROLE = 'FAKE_ROLE' VRRP_ID = random.randrange(255) VRRP_PRIORITY = random.randrange(100) CACHED_ZONE = 'zone1' IMAGE_ID = uuidutils.generate_uuid() COMPUTE_FLAVOR = uuidutils.generate_uuid() _amphora_mock = mock.MagicMock() _amphora_mock.id = AMP_ID _amphora_mock.compute_id = COMPUTE_ID _amphora_mock.lb_network_ip = LB_NET_IP _amphora_mock.vrrp_ip = VRRP_IP _amphora_mock.ha_ip = HA_IP _amphora_mock.ha_port_id = HA_PORT_ID _amphora_mock.vrrp_port_id = VRRP_PORT_ID _amphora_mock.role = AMP_ROLE _amphora_mock.vrrp_id = VRRP_ID _amphora_mock.vrrp_priority = VRRP_PRIORITY _amphorae = [_amphora_mock] _loadbalancer_mock = mock.MagicMock() _loadbalancer_mock.id = LB_ID _loadbalancer_mock.amphorae = [_amphora_mock] _l7policy_mock = mock.MagicMock() _l7policy_mock.id = L7POLICY_ID _l7rule_mock = mock.MagicMock() _l7rule_mock.id = L7RULE_ID _listener_mock = mock.MagicMock() _listener_to_dict_mock = mock.MagicMock( return_value={'id': LISTENER_ID}) _listener_mock.id = LISTENER_ID _listener_mock.to_dict = _listener_to_dict_mock _tf_failure_mock = mock.Mock(spec=failure.Failure) _vip_mock = mock.MagicMock() _vip_mock.port_id = PORT_ID _vip_mock.subnet_id = SUBNET_ID _vip_mock.ip_address = VIP_IP _vrrp_group_mock = mock.MagicMock() _cert_mock = mock.MagicMock() _compute_mock = mock.MagicMock() _compute_mock.lb_network_ip = LB_NET_IP _compute_mock.cached_zone = CACHED_ZONE _compute_mock.image_id = IMAGE_ID _compute_mock.compute_flavor = COMPUTE_FLAVOR
[ 2, 15069, 1853, 30446, 15503, 12, 11869, 446, 7712, 5834, 11, 406, 13, 47, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 345, 743, 198, 2, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 921, 743, 7330, 198, 2, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 198, 2, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 4091, 262, 198, 2, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 11247, 198, 2, 739, 262, 13789, 13, 198, 2, 198, 198, 11748, 4738, 198, 198, 6738, 45898, 1330, 277, 1142, 316, 198, 11748, 15290, 198, 6738, 28686, 5439, 62, 9945, 1330, 6631, 355, 267, 9945, 62, 1069, 11755, 198, 6738, 28686, 5439, 62, 26791, 1330, 334, 27112, 26791, 198, 6738, 44161, 282, 26599, 13, 579, 1330, 2859, 198, 6738, 4876, 11125, 13, 19199, 1330, 5287, 198, 198, 6738, 19318, 40543, 13, 11321, 1330, 38491, 198, 6738, 19318, 40543, 13, 11321, 1330, 1366, 62, 27530, 198, 6738, 19318, 40543, 13, 11321, 1330, 3384, 4487, 198, 6738, 19318, 40543, 13, 36500, 13, 28816, 13, 85, 17, 13, 83, 6791, 1330, 6831, 62, 83, 6791, 198, 6738, 19318, 40543, 13, 9945, 1330, 38072, 355, 29924, 198, 11748, 19318, 40543, 13, 41989, 13, 20850, 13, 8692, 355, 2779, 628, 198, 23518, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 9858, 30076, 36, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 30501, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 35009, 5959, 62, 46846, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 30501, 62, 12884, 62, 4061, 796, 705, 17477, 13, 15, 13, 17, 13, 17, 6, 198, 45849, 1677, 1137, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 16402, 3535, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 36905, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 44, 28952, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 15490, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 50, 10526, 12884, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 13024, 20031, 62, 15490, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 7801, 62, 15490, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 43, 22, 45472, 2149, 56, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 43, 22, 49, 24212, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 53, 4061, 62, 4061, 796, 705, 17477, 13, 15, 13, 20, 13, 17, 6, 198, 13024, 20031, 62, 4061, 796, 705, 17477, 13, 15, 13, 20, 13, 18, 6, 198, 7801, 62, 4061, 796, 705, 17477, 13, 15, 13, 20, 13, 19, 6, 198, 23518, 62, 13252, 2538, 796, 705, 7708, 7336, 62, 13252, 2538, 6, 198, 13024, 20031, 62, 2389, 796, 4738, 13, 25192, 9521, 7, 13381, 8, 198, 13024, 20031, 62, 4805, 41254, 9050, 796, 4738, 13, 25192, 9521, 7, 3064, 8, 198, 34, 16219, 1961, 62, 57, 11651, 796, 705, 11340, 16, 6, 198, 3955, 11879, 62, 2389, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 9858, 30076, 36, 62, 3697, 10116, 1581, 796, 334, 27112, 26791, 13, 8612, 378, 62, 12303, 312, 3419, 198, 198, 62, 28474, 5799, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 28474, 5799, 62, 76, 735, 13, 312, 796, 3001, 47, 62, 2389, 198, 62, 28474, 5799, 62, 76, 735, 13, 5589, 1133, 62, 312, 796, 24301, 37780, 62, 2389, 198, 62, 28474, 5799, 62, 76, 735, 13, 23160, 62, 27349, 62, 541, 796, 22199, 62, 12884, 62, 4061, 198, 62, 28474, 5799, 62, 76, 735, 13, 85, 21062, 79, 62, 541, 796, 6453, 20031, 62, 4061, 198, 62, 28474, 5799, 62, 76, 735, 13, 3099, 62, 541, 796, 14558, 62, 4061, 198, 62, 28474, 5799, 62, 76, 735, 13, 3099, 62, 634, 62, 312, 796, 14558, 62, 15490, 62, 2389, 198, 62, 28474, 5799, 62, 76, 735, 13, 85, 21062, 79, 62, 634, 62, 312, 796, 6453, 20031, 62, 15490, 62, 2389, 198, 62, 28474, 5799, 62, 76, 735, 13, 18090, 796, 3001, 47, 62, 13252, 2538, 198, 62, 28474, 5799, 62, 76, 735, 13, 85, 21062, 79, 62, 312, 796, 6453, 20031, 62, 2389, 198, 62, 28474, 5799, 62, 76, 735, 13, 85, 21062, 79, 62, 49336, 796, 6453, 20031, 62, 4805, 41254, 9050, 198, 62, 696, 17899, 3609, 796, 685, 62, 28474, 5799, 62, 76, 735, 60, 198, 62, 2220, 6893, 8250, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 2220, 6893, 8250, 62, 76, 735, 13, 312, 796, 22199, 62, 2389, 198, 62, 2220, 6893, 8250, 62, 76, 735, 13, 696, 17899, 3609, 796, 685, 62, 28474, 5799, 62, 76, 735, 60, 198, 62, 75, 22, 30586, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 75, 22, 30586, 62, 76, 735, 13, 312, 796, 406, 22, 45472, 2149, 56, 62, 2389, 198, 62, 75, 22, 25135, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 75, 22, 25135, 62, 76, 735, 13, 312, 796, 406, 22, 49, 24212, 62, 2389, 198, 62, 4868, 877, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 4868, 877, 62, 1462, 62, 11600, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 7, 198, 220, 220, 220, 1441, 62, 8367, 34758, 6, 312, 10354, 39498, 1677, 1137, 62, 2389, 30072, 198, 62, 4868, 877, 62, 76, 735, 13, 312, 796, 39498, 1677, 1137, 62, 2389, 198, 62, 4868, 877, 62, 76, 735, 13, 1462, 62, 11600, 796, 4808, 4868, 877, 62, 1462, 62, 11600, 62, 76, 735, 198, 62, 27110, 62, 32165, 495, 62, 76, 735, 796, 15290, 13, 44, 735, 7, 16684, 28, 32165, 495, 13, 50015, 8, 198, 62, 85, 541, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 85, 541, 62, 76, 735, 13, 634, 62, 312, 796, 350, 9863, 62, 2389, 198, 62, 85, 541, 62, 76, 735, 13, 7266, 3262, 62, 312, 796, 28932, 12884, 62, 2389, 198, 62, 85, 541, 62, 76, 735, 13, 541, 62, 21975, 796, 24791, 62, 4061, 198, 62, 85, 21062, 79, 62, 8094, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 22583, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 5589, 1133, 62, 76, 735, 796, 15290, 13, 22975, 44, 735, 3419, 198, 62, 5589, 1133, 62, 76, 735, 13, 23160, 62, 27349, 62, 541, 796, 22199, 62, 12884, 62, 4061, 198, 62, 5589, 1133, 62, 76, 735, 13, 66, 2317, 62, 11340, 796, 327, 16219, 1961, 62, 57, 11651, 198, 62, 5589, 1133, 62, 76, 735, 13, 9060, 62, 312, 796, 8959, 11879, 62, 2389, 198, 62, 5589, 1133, 62, 76, 735, 13, 5589, 1133, 62, 2704, 5570, 796, 24301, 37780, 62, 3697, 10116, 1581, 628 ]
2.481132
1,272
import time from bs4 import BeautifulSoup import requests import pymysql.cursors import unittest if __name__ == '__main__': unittest.main()
[ 11748, 640, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 198, 11748, 7007, 198, 11748, 279, 4948, 893, 13976, 13, 66, 1834, 669, 198, 11748, 555, 715, 395, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.773585
53
# pylint: disable=protected-access import os import re import pytest from dagster import file_relative_path from dagster.core.errors import DagsterInstanceMigrationRequired from dagster.core.instance import DagsterInstance, InstanceRef from dagster.utils.test import restore_directory # test that we can load runs and events from an old instance
[ 2, 279, 2645, 600, 25, 15560, 28, 24326, 12, 15526, 198, 11748, 28686, 198, 11748, 302, 198, 198, 11748, 12972, 9288, 198, 198, 6738, 48924, 1706, 1330, 2393, 62, 43762, 62, 6978, 198, 6738, 48924, 1706, 13, 7295, 13, 48277, 1330, 32167, 1706, 33384, 44, 4254, 37374, 198, 6738, 48924, 1706, 13, 7295, 13, 39098, 1330, 32167, 1706, 33384, 11, 2262, 590, 8134, 198, 6738, 48924, 1706, 13, 26791, 13, 9288, 1330, 11169, 62, 34945, 628, 198, 2, 1332, 326, 356, 460, 3440, 4539, 290, 2995, 422, 281, 1468, 4554, 628, 198 ]
3.826087
92
import matplotlib.pyplot as plt import pandas as pd if __name__ == '__main__': df = pd.read_csv('../data/crimes_dataset_processed_incomplete.csv') group_by_territory(df) group_by_year(df) group_by_month(df) group_by_time_of_day(df) group_by_day_of_the_week(df) group_by_category(df)
[ 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 19798, 292, 355, 279, 67, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 47764, 796, 279, 67, 13, 961, 62, 40664, 10786, 40720, 7890, 14, 6098, 999, 62, 19608, 292, 316, 62, 14681, 276, 62, 259, 20751, 13, 40664, 11537, 198, 220, 220, 220, 1448, 62, 1525, 62, 353, 799, 652, 7, 7568, 8, 198, 220, 220, 220, 1448, 62, 1525, 62, 1941, 7, 7568, 8, 198, 220, 220, 220, 1448, 62, 1525, 62, 8424, 7, 7568, 8, 198, 220, 220, 220, 1448, 62, 1525, 62, 2435, 62, 1659, 62, 820, 7, 7568, 8, 198, 220, 220, 220, 1448, 62, 1525, 62, 820, 62, 1659, 62, 1169, 62, 10464, 7, 7568, 8, 198, 220, 220, 220, 1448, 62, 1525, 62, 22872, 7, 7568, 8, 198 ]
2.150685
146
# Unit tests import unittest if __name__ == '__main__': unittest.main()
[ 2, 11801, 5254, 628, 198, 11748, 555, 715, 395, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.484848
33
import pandas as pd import numpy as np import jdatetime pd.options.mode.chained_assignment = None # Read Bourseview data for market cap # Concat all 75 tickers' data me_list = [] for file_number in range(1, 76): print(file_number) me_path = f'E:/Thesis/New Sampling/Daily Data - Bourseview/'\ f'{file_number}.xlsx' me_df = pd.read_excel( me_path, skiprows=7, usecols=[2, 3, 11], names=['date', 'open', 'market_cap'], na_values='-' ) # Change order from old to new dates me_df = me_df[::-1].reset_index(drop=True) me_df['date'] = me_df['date'].str.replace('-', '') # Delete non-traded days me_df.dropna(subset=['open'], inplace=True) me_df.drop(columns='open', inplace=True) # Create monthly dataframe me_df = me_df.groupby(me_df['date'].str[:6]).last() me_df = me_df.drop(columns=['date']).reset_index() me_df.insert(1, 'ticker_num', file_number) me_list.append(me_df) me_df = pd.concat(me_list, ignore_index=True) me_df = me_df.loc[(me_df['date'] >= '139212') & (me_df['date'] <= '139900')] me_df.reset_index(drop=True, inplace=True) # Read rahavard 365 data for calculating returns close_list = [] for file_number in range(1, 76): rahavard_path = f'E:/Thesis/New Sampling/Daily Data - Rahavard 365/'\ f'{file_number}.txt' df = pd.read_csv( rahavard_path, usecols=[2, 7], names=['date', 'close'], header=0, dtype={'date': str}, parse_dates=[0] ) # Solve index reading problem, pandas add 2 index to the df df.reset_index(drop=True, inplace=True) # Convert to shamsi dates df['date'] = df['date'].apply( lambda x: jdatetime.date.fromgregorian(date=x).strftime('%Y%m%d') ) # Create monthly dataframe df = df.groupby(df['date'].str[:6]).last() df = df.drop(columns=['date']).reset_index() df.insert(1, 'ticker_num', file_number) df['monthly_return'] = df['close'].pct_change() close_list.append(df) df = pd.concat(close_list, ignore_index=True) df = df.loc[(df['date'] >= '139212') & (df['date'] <= '139900')] # Read index df for indicating open market days index_path = r'E:\Thesis\New Sampling\TEDPIX\ 6.xls' index_df = pd.read_excel( index_path, usecols=[1], names=['date'], dtype={'date': str} ) index_df.dropna(inplace=True) # The list of all months months = index_df['date'].str[:6].unique().tolist() # The list of months that we need for calculating market cap me_months = [ '139312', '139401', '139402', '139403', '139404', '139405', '139406', '139407', '139408', '139409', '139410', '139411', '139412', '139501', '139502', '139503', '139504', '139505', '139506', '139507', '139508', '139509', '139510', '139511', '139512', '139601', '139602', '139603', '139604', '139605', '139606', '139607', '139608', '139609', '139610', '139611', '139612', '139701', '139702', '139703', '139704', '139705', '139706', '139707', '139708', '139709', '139710', '139711', '139712', '139801', '139802', '139803', '139804', '139805', '139806', '139807', '139808', '139809', '139810', '139811', '139812' ] # The list of months that we need for camculating MOM mom_months = me_months[1:] # Merge market cap and price dfs merged_df = pd.merge(df, me_df, on=['ticker_num', 'date']) # First, create a NaN column, and then add t-13 prices merged_df.insert(5, 't-13 price', np.nan) for month in mom_months: # Find t-13 prices for ticker in range(1, 76): t_13 = months[months.index(month) - 13] t_13_condtion = (merged_df['date'] == t_13) ticker_condition = (merged_df['ticker_num'] == ticker) try: t_13_price = merged_df.loc[ t_13_condtion & ticker_condition ]['close'].values[0] previous_month = me_months[me_months.index(month) - 1] t_1_condtion = (merged_df['date'] == previous_month) merged_df.loc[ (t_1_condtion & ticker_condition), 't-13 price' ] = t_13_price except: pass # Calculate last 12 months return for month t (t-1, t-12) merged_df['past_year_return'] = ( (merged_df['close'] / merged_df['t-13 price']) - 1 ) mom_list = [] for month in mom_months: # Check t-13 price condition and t-1 market cap condition previous_month = months[months.index(month) - 1] me_condition = (merged_df['date'] == previous_month) mom_condition = (merged_df['past_year_return'].notna()) portfo_const_df = merged_df.loc[me_condition & mom_condition] # Split each month ME into two groups conditions = [ ( portfo_const_df['market_cap'] > portfo_const_df['market_cap'].median() ), ( portfo_const_df['market_cap'] <= portfo_const_df['market_cap'].median() ) ] portfolio_size = np.select(conditions, ['B', 'S']).tolist() portfo_const_df.insert(6, 'size', portfolio_size) # Split each me portfolio into 3 MOM group q = [0, .3, .7, 1] labels = ['L', 'M', 'H'] x_b = portfo_const_df.loc[ portfo_const_df['size'] == 'B' ]['past_year_return'] b_mom = pd.qcut(x=x_b, q=q, labels=labels).to_dict() x_s = portfo_const_df.loc[ portfo_const_df['size'] == 'S' ]['past_year_return'] s_mom = pd.qcut(x=x_s, q=q, labels=labels).to_dict() portfo_const_df['mom'] = pd.Series(b_mom) portfo_const_df['mom'].update(pd.Series(s_mom)) # Extrect portfolio ticker numbers portfo_const_df['portfolio'] = ( portfo_const_df['size'] + portfo_const_df['mom'] ) bh = portfo_const_df.loc[ portfo_const_df['portfolio'] == 'BH' ]['ticker_num'].tolist() bl = portfo_const_df.loc[ portfo_const_df['portfolio'] == 'BL' ]['ticker_num'].tolist() sh = portfo_const_df.loc[ portfo_const_df['portfolio'] == 'SH' ]['ticker_num'].tolist() sl = portfo_const_df.loc[ portfo_const_df['portfolio'] == 'SL' ]['ticker_num'].tolist() # Calculating value-weighted return for each portfolio in month t # Set conditions month_condition = (merged_df['date'] == month) bh_condition = merged_df['ticker_num'].isin(bh) bl_condition = merged_df['ticker_num'].isin(bl) sh_condition = merged_df['ticker_num'].isin(sh) sl_condition = merged_df['ticker_num'].isin(sl) # Construct portfolios bh_portfolio = merged_df.loc[month_condition & bh_condition] bl_portfolio = merged_df.loc[month_condition & bl_condition] sh_portfolio = merged_df.loc[month_condition & sh_condition] sl_portfolio = merged_df.loc[month_condition & sl_condition] # Calculate value-weighted returns bh_return = np.average( bh_portfolio.monthly_return, weights=bh_portfolio.market_cap ) bl_return = np.average( bl_portfolio.monthly_return, weights=bl_portfolio.market_cap ) sh_return = np.average( sh_portfolio.monthly_return, weights=sh_portfolio.market_cap ) sl_return = np.average( sl_portfolio.monthly_return, weights=sl_portfolio.market_cap ) # Calculate MOM, and add it to a list mom = ( ((sh_return + bh_return) / 2) - ((sl_return + bl_return) / 2) ) mom_list.append(mom) mom_df = pd.Series(mom_list).to_excel('mom.xlsx')
[ 11748, 19798, 292, 355, 279, 67, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 474, 19608, 8079, 201, 198, 201, 198, 30094, 13, 25811, 13, 14171, 13, 354, 1328, 62, 562, 16747, 796, 6045, 201, 198, 201, 198, 2, 4149, 347, 9047, 1177, 1366, 329, 1910, 1451, 201, 198, 2, 1482, 9246, 477, 5441, 4378, 364, 6, 1366, 201, 198, 1326, 62, 4868, 796, 17635, 201, 198, 1640, 2393, 62, 17618, 287, 2837, 7, 16, 11, 8684, 2599, 201, 198, 220, 220, 220, 3601, 7, 7753, 62, 17618, 8, 201, 198, 220, 220, 220, 502, 62, 6978, 796, 277, 6, 36, 14079, 464, 13429, 14, 3791, 3409, 11347, 14, 28545, 6060, 532, 347, 9047, 1177, 14, 6, 59, 201, 198, 220, 220, 220, 220, 220, 220, 220, 277, 6, 90, 7753, 62, 17618, 27422, 87, 7278, 87, 6, 201, 198, 220, 220, 220, 502, 62, 7568, 796, 279, 67, 13, 961, 62, 1069, 5276, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 6978, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 14267, 8516, 28, 22, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 779, 4033, 82, 41888, 17, 11, 513, 11, 1367, 4357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3891, 28, 17816, 4475, 3256, 705, 9654, 3256, 705, 10728, 62, 11128, 6, 4357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 12385, 62, 27160, 11639, 19355, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1303, 9794, 1502, 422, 1468, 284, 649, 9667, 201, 198, 220, 220, 220, 502, 62, 7568, 796, 502, 62, 7568, 58, 3712, 12, 16, 4083, 42503, 62, 9630, 7, 14781, 28, 17821, 8, 201, 198, 220, 220, 220, 502, 62, 7568, 17816, 4475, 20520, 796, 502, 62, 7568, 17816, 4475, 6, 4083, 2536, 13, 33491, 10786, 12, 3256, 10148, 8, 201, 198, 220, 220, 220, 1303, 23520, 1729, 12, 2213, 5286, 1528, 201, 198, 220, 220, 220, 502, 62, 7568, 13, 14781, 2616, 7, 7266, 2617, 28, 17816, 9654, 6, 4357, 287, 5372, 28, 17821, 8, 201, 198, 220, 220, 220, 502, 62, 7568, 13, 14781, 7, 28665, 82, 11639, 9654, 3256, 287, 5372, 28, 17821, 8, 201, 198, 220, 220, 220, 1303, 13610, 9651, 1366, 14535, 201, 198, 220, 220, 220, 502, 62, 7568, 796, 502, 62, 7568, 13, 8094, 1525, 7, 1326, 62, 7568, 17816, 4475, 6, 4083, 2536, 58, 25, 21, 35944, 12957, 3419, 201, 198, 220, 220, 220, 502, 62, 7568, 796, 502, 62, 7568, 13, 14781, 7, 28665, 82, 28, 17816, 4475, 20520, 737, 42503, 62, 9630, 3419, 201, 198, 220, 220, 220, 502, 62, 7568, 13, 28463, 7, 16, 11, 705, 83, 15799, 62, 22510, 3256, 2393, 62, 17618, 8, 201, 198, 220, 220, 220, 502, 62, 4868, 13, 33295, 7, 1326, 62, 7568, 8, 201, 198, 1326, 62, 7568, 796, 279, 67, 13, 1102, 9246, 7, 1326, 62, 4868, 11, 8856, 62, 9630, 28, 17821, 8, 201, 198, 1326, 62, 7568, 796, 502, 62, 7568, 13, 17946, 58, 7, 1326, 62, 7568, 17816, 4475, 20520, 18189, 705, 1485, 5892, 1065, 11537, 1222, 357, 1326, 62, 7568, 17816, 4475, 20520, 19841, 705, 1485, 2079, 405, 11537, 60, 201, 198, 1326, 62, 7568, 13, 42503, 62, 9630, 7, 14781, 28, 17821, 11, 287, 5372, 28, 17821, 8, 201, 198, 2, 4149, 374, 993, 615, 446, 21268, 1366, 329, 26019, 5860, 201, 198, 19836, 62, 4868, 796, 17635, 201, 198, 1640, 2393, 62, 17618, 287, 2837, 7, 16, 11, 8684, 2599, 201, 198, 220, 220, 220, 374, 993, 615, 446, 62, 6978, 796, 277, 6, 36, 14079, 464, 13429, 14, 3791, 3409, 11347, 14, 28545, 6060, 532, 18655, 615, 446, 21268, 14, 6, 59, 201, 198, 220, 220, 220, 220, 220, 220, 220, 277, 6, 90, 7753, 62, 17618, 27422, 14116, 6, 201, 198, 220, 220, 220, 47764, 796, 279, 67, 13, 961, 62, 40664, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 374, 993, 615, 446, 62, 6978, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 779, 4033, 82, 41888, 17, 11, 767, 4357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3891, 28, 17816, 4475, 3256, 705, 19836, 6, 4357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 13639, 28, 15, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 288, 4906, 34758, 6, 4475, 10354, 965, 5512, 201, 198, 220, 220, 220, 220, 220, 220, 220, 21136, 62, 19581, 41888, 15, 60, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1303, 4294, 303, 6376, 3555, 1917, 11, 19798, 292, 751, 362, 6376, 284, 262, 47764, 201, 198, 220, 220, 220, 47764, 13, 42503, 62, 9630, 7, 14781, 28, 17821, 11, 287, 5372, 28, 17821, 8, 201, 198, 220, 220, 220, 1303, 38240, 284, 427, 4105, 72, 9667, 201, 198, 220, 220, 220, 47764, 17816, 4475, 20520, 796, 47764, 17816, 4475, 6, 4083, 39014, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 37456, 2124, 25, 474, 19608, 8079, 13, 4475, 13, 6738, 9903, 22618, 7, 4475, 28, 87, 737, 2536, 31387, 10786, 4, 56, 4, 76, 4, 67, 11537, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1303, 13610, 9651, 1366, 14535, 201, 198, 220, 220, 220, 47764, 796, 47764, 13, 8094, 1525, 7, 7568, 17816, 4475, 6, 4083, 2536, 58, 25, 21, 35944, 12957, 3419, 201, 198, 220, 220, 220, 47764, 796, 47764, 13, 14781, 7, 28665, 82, 28, 17816, 4475, 20520, 737, 42503, 62, 9630, 3419, 201, 198, 220, 220, 220, 47764, 13, 28463, 7, 16, 11, 705, 83, 15799, 62, 22510, 3256, 2393, 62, 17618, 8, 201, 198, 220, 220, 220, 47764, 17816, 8424, 306, 62, 7783, 20520, 796, 47764, 17816, 19836, 6, 4083, 79, 310, 62, 3803, 3419, 201, 198, 220, 220, 220, 1969, 62, 4868, 13, 33295, 7, 7568, 8, 201, 198, 7568, 796, 279, 67, 13, 1102, 9246, 7, 19836, 62, 4868, 11, 8856, 62, 9630, 28, 17821, 8, 201, 198, 7568, 796, 47764, 13, 17946, 58, 7, 7568, 17816, 4475, 20520, 18189, 705, 1485, 5892, 1065, 11537, 1222, 357, 7568, 17816, 4475, 20520, 19841, 705, 1485, 2079, 405, 11537, 60, 201, 198, 2, 4149, 6376, 47764, 329, 12739, 1280, 1910, 1528, 201, 198, 9630, 62, 6978, 796, 374, 6, 36, 7479, 464, 13429, 59, 3791, 3409, 11347, 59, 36493, 47, 10426, 59, 718, 13, 87, 7278, 6, 201, 198, 9630, 62, 7568, 796, 279, 67, 13, 961, 62, 1069, 5276, 7, 201, 198, 220, 220, 220, 6376, 62, 6978, 11, 201, 198, 220, 220, 220, 779, 4033, 82, 41888, 16, 4357, 201, 198, 220, 220, 220, 3891, 28, 17816, 4475, 6, 4357, 201, 198, 220, 220, 220, 288, 4906, 34758, 6, 4475, 10354, 965, 92, 201, 198, 8, 201, 198, 9630, 62, 7568, 13, 14781, 2616, 7, 259, 5372, 28, 17821, 8, 201, 198, 2, 383, 1351, 286, 477, 1933, 201, 198, 41537, 796, 6376, 62, 7568, 17816, 4475, 6, 4083, 2536, 58, 25, 21, 4083, 34642, 22446, 83, 349, 396, 3419, 201, 198, 2, 383, 1351, 286, 1933, 326, 356, 761, 329, 26019, 1910, 1451, 201, 198, 1326, 62, 41537, 796, 685, 201, 198, 220, 220, 220, 705, 1485, 6052, 1065, 3256, 705, 1485, 5824, 486, 3256, 705, 20219, 32531, 3256, 705, 20219, 31552, 3256, 705, 20219, 26429, 3256, 705, 20219, 26598, 3256, 705, 20219, 29703, 3256, 201, 198, 220, 220, 220, 705, 20219, 30120, 3256, 705, 20219, 26200, 3256, 705, 20219, 29416, 3256, 705, 1485, 5824, 940, 3256, 705, 1485, 5824, 1157, 3256, 705, 1485, 5824, 1065, 3256, 705, 1485, 3865, 486, 3256, 201, 198, 220, 220, 220, 705, 20219, 35126, 3256, 705, 20219, 31938, 3256, 705, 20219, 33580, 3256, 705, 20219, 31654, 3256, 705, 20219, 35638, 3256, 705, 20219, 35378, 3256, 705, 20219, 33042, 3256, 201, 198, 220, 220, 220, 705, 20219, 29022, 3256, 705, 1485, 3865, 940, 3256, 705, 1485, 3865, 1157, 3256, 705, 1485, 3865, 1065, 3256, 705, 1485, 4846, 486, 3256, 705, 20219, 31418, 3256, 705, 20219, 35642, 3256, 201, 198, 220, 220, 220, 705, 20219, 31916, 3256, 705, 20219, 32417, 3256, 705, 20219, 33206, 3256, 705, 20219, 31980, 3256, 705, 20219, 28688, 3256, 705, 20219, 31751, 3256, 705, 1485, 4846, 940, 3256, 201, 198, 220, 220, 220, 705, 1485, 4846, 1157, 3256, 705, 1485, 4846, 1065, 3256, 705, 1485, 5607, 486, 3256, 705, 20219, 36680, 3256, 705, 20219, 36809, 3256, 705, 20219, 32869, 3256, 705, 20219, 34801, 3256, 201, 198, 220, 220, 220, 705, 20219, 35402, 3256, 705, 20219, 24038, 3256, 705, 20219, 32583, 3256, 705, 20219, 31495, 3256, 705, 1485, 5607, 940, 3256, 705, 1485, 5607, 1157, 3256, 705, 1485, 5607, 1065, 3256, 201, 198, 220, 220, 220, 705, 1485, 4089, 486, 3256, 705, 20219, 30863, 3256, 705, 20219, 43564, 3256, 705, 20219, 36088, 3256, 705, 20219, 28256, 3256, 705, 20219, 37988, 3256, 705, 20219, 36928, 3256, 201, 198, 220, 220, 220, 705, 20219, 28362, 3256, 705, 20219, 34583, 3256, 705, 1485, 4089, 940, 3256, 705, 1485, 4089, 1157, 3256, 705, 1485, 4089, 1065, 6, 201, 198, 60, 201, 198, 2, 383, 1351, 286, 1933, 326, 356, 761, 329, 12172, 3129, 803, 337, 2662, 201, 198, 32542, 62, 41537, 796, 502, 62, 41537, 58, 16, 47715, 201, 198, 2, 39407, 1910, 1451, 290, 2756, 288, 9501, 201, 198, 647, 2004, 62, 7568, 796, 279, 67, 13, 647, 469, 7, 7568, 11, 502, 62, 7568, 11, 319, 28, 17816, 83, 15799, 62, 22510, 3256, 705, 4475, 6, 12962, 201, 198, 2, 3274, 11, 2251, 257, 11013, 45, 5721, 11, 290, 788, 751, 256, 12, 1485, 4536, 201, 198, 647, 2004, 62, 7568, 13, 28463, 7, 20, 11, 705, 83, 12, 1485, 2756, 3256, 45941, 13, 12647, 8, 201, 198, 1640, 1227, 287, 1995, 62, 41537, 25, 201, 198, 220, 220, 220, 1303, 9938, 256, 12, 1485, 4536, 201, 198, 220, 220, 220, 329, 4378, 263, 287, 2837, 7, 16, 11, 8684, 2599, 201, 198, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1485, 796, 1933, 58, 41537, 13, 9630, 7, 8424, 8, 532, 1511, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1485, 62, 17561, 5378, 796, 357, 647, 2004, 62, 7568, 17816, 4475, 20520, 6624, 256, 62, 1485, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4378, 263, 62, 31448, 796, 357, 647, 2004, 62, 7568, 17816, 83, 15799, 62, 22510, 20520, 6624, 4378, 263, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1485, 62, 20888, 796, 23791, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1485, 62, 17561, 5378, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 4378, 263, 62, 31448, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 17816, 19836, 6, 4083, 27160, 58, 15, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2180, 62, 8424, 796, 502, 62, 41537, 58, 1326, 62, 41537, 13, 9630, 7, 8424, 8, 532, 352, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 16, 62, 17561, 5378, 796, 357, 647, 2004, 62, 7568, 17816, 4475, 20520, 6624, 2180, 62, 8424, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23791, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 83, 62, 16, 62, 17561, 5378, 1222, 4378, 263, 62, 31448, 828, 705, 83, 12, 1485, 2756, 6, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 796, 256, 62, 1485, 62, 20888, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 201, 198, 2, 27131, 378, 938, 1105, 1933, 1441, 329, 1227, 256, 357, 83, 12, 16, 11, 256, 12, 1065, 8, 201, 198, 647, 2004, 62, 7568, 17816, 30119, 62, 1941, 62, 7783, 20520, 796, 357, 201, 198, 220, 220, 220, 357, 647, 2004, 62, 7568, 17816, 19836, 20520, 1220, 23791, 62, 7568, 17816, 83, 12, 1485, 2756, 6, 12962, 201, 198, 220, 220, 220, 532, 352, 201, 198, 8, 201, 198, 32542, 62, 4868, 796, 17635, 201, 198, 1640, 1227, 287, 1995, 62, 41537, 25, 201, 198, 220, 220, 220, 1303, 6822, 256, 12, 1485, 2756, 4006, 290, 256, 12, 16, 1910, 1451, 4006, 201, 198, 220, 220, 220, 2180, 62, 8424, 796, 1933, 58, 41537, 13, 9630, 7, 8424, 8, 532, 352, 60, 201, 198, 220, 220, 220, 502, 62, 31448, 796, 357, 647, 2004, 62, 7568, 17816, 4475, 20520, 6624, 2180, 62, 8424, 8, 201, 198, 220, 220, 220, 1995, 62, 31448, 796, 357, 647, 2004, 62, 7568, 17816, 30119, 62, 1941, 62, 7783, 6, 4083, 1662, 2616, 28955, 201, 198, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 796, 23791, 62, 7568, 13, 17946, 58, 1326, 62, 31448, 1222, 1995, 62, 31448, 60, 201, 198, 220, 220, 220, 1303, 27758, 1123, 1227, 11948, 656, 734, 2628, 201, 198, 220, 220, 220, 3403, 796, 685, 201, 198, 220, 220, 220, 220, 220, 220, 220, 357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 10728, 62, 11128, 20520, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1875, 2493, 6513, 62, 9979, 62, 7568, 17816, 10728, 62, 11128, 6, 4083, 1150, 666, 3419, 201, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 201, 198, 220, 220, 220, 220, 220, 220, 220, 357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 10728, 62, 11128, 20520, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19841, 2493, 6513, 62, 9979, 62, 7568, 17816, 10728, 62, 11128, 6, 4083, 1150, 666, 3419, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 2361, 201, 198, 220, 220, 220, 15320, 62, 7857, 796, 45941, 13, 19738, 7, 17561, 1756, 11, 37250, 33, 3256, 705, 50, 20520, 737, 83, 349, 396, 3419, 201, 198, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 13, 28463, 7, 21, 11, 705, 7857, 3256, 15320, 62, 7857, 8, 201, 198, 220, 220, 220, 1303, 27758, 1123, 502, 15320, 656, 513, 337, 2662, 1448, 201, 198, 220, 220, 220, 10662, 796, 685, 15, 11, 764, 18, 11, 764, 22, 11, 352, 60, 201, 198, 220, 220, 220, 14722, 796, 37250, 43, 3256, 705, 44, 3256, 705, 39, 20520, 201, 198, 220, 220, 220, 2124, 62, 65, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 7857, 20520, 6624, 705, 33, 6, 201, 198, 220, 220, 220, 2361, 17816, 30119, 62, 1941, 62, 7783, 20520, 201, 198, 220, 220, 220, 275, 62, 32542, 796, 279, 67, 13, 80, 8968, 7, 87, 28, 87, 62, 65, 11, 10662, 28, 80, 11, 14722, 28, 23912, 1424, 737, 1462, 62, 11600, 3419, 201, 198, 220, 220, 220, 2124, 62, 82, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 7857, 20520, 6624, 705, 50, 6, 201, 198, 220, 220, 220, 2361, 17816, 30119, 62, 1941, 62, 7783, 20520, 201, 198, 220, 220, 220, 264, 62, 32542, 796, 279, 67, 13, 80, 8968, 7, 87, 28, 87, 62, 82, 11, 10662, 28, 80, 11, 14722, 28, 23912, 1424, 737, 1462, 62, 11600, 3419, 201, 198, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 32542, 20520, 796, 279, 67, 13, 27996, 7, 65, 62, 32542, 8, 201, 198, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 32542, 6, 4083, 19119, 7, 30094, 13, 27996, 7, 82, 62, 32542, 4008, 201, 198, 220, 220, 220, 1303, 5683, 2554, 15320, 4378, 263, 3146, 201, 198, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 634, 13652, 20520, 796, 357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 7857, 20520, 1343, 2493, 6513, 62, 9979, 62, 7568, 17816, 32542, 20520, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 275, 71, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 634, 13652, 20520, 6624, 705, 33, 39, 6, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 17816, 83, 15799, 62, 22510, 6, 4083, 83, 349, 396, 3419, 201, 198, 220, 220, 220, 698, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 634, 13652, 20520, 6624, 705, 9148, 6, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 17816, 83, 15799, 62, 22510, 6, 4083, 83, 349, 396, 3419, 201, 198, 220, 220, 220, 427, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 634, 13652, 20520, 6624, 705, 9693, 6, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 17816, 83, 15799, 62, 22510, 6, 4083, 83, 349, 396, 3419, 201, 198, 220, 220, 220, 1017, 796, 2493, 6513, 62, 9979, 62, 7568, 13, 17946, 58, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2493, 6513, 62, 9979, 62, 7568, 17816, 634, 13652, 20520, 6624, 705, 8634, 6, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 17816, 83, 15799, 62, 22510, 6, 4083, 83, 349, 396, 3419, 201, 198, 220, 220, 220, 1303, 27131, 803, 1988, 12, 6551, 276, 1441, 329, 1123, 15320, 287, 1227, 256, 201, 198, 220, 220, 220, 1303, 5345, 3403, 201, 198, 220, 220, 220, 1227, 62, 31448, 796, 357, 647, 2004, 62, 7568, 17816, 4475, 20520, 6624, 1227, 8, 201, 198, 220, 220, 220, 275, 71, 62, 31448, 796, 23791, 62, 7568, 17816, 83, 15799, 62, 22510, 6, 4083, 45763, 7, 34369, 8, 201, 198, 220, 220, 220, 698, 62, 31448, 796, 23791, 62, 7568, 17816, 83, 15799, 62, 22510, 6, 4083, 45763, 7, 2436, 8, 201, 198, 220, 220, 220, 427, 62, 31448, 796, 23791, 62, 7568, 17816, 83, 15799, 62, 22510, 6, 4083, 45763, 7, 1477, 8, 201, 198, 220, 220, 220, 1017, 62, 31448, 796, 23791, 62, 7568, 17816, 83, 15799, 62, 22510, 6, 4083, 45763, 7, 6649, 8, 201, 198, 220, 220, 220, 1303, 28407, 47837, 201, 198, 220, 220, 220, 275, 71, 62, 634, 13652, 796, 23791, 62, 7568, 13, 17946, 58, 8424, 62, 31448, 1222, 275, 71, 62, 31448, 60, 201, 198, 220, 220, 220, 698, 62, 634, 13652, 796, 23791, 62, 7568, 13, 17946, 58, 8424, 62, 31448, 1222, 698, 62, 31448, 60, 201, 198, 220, 220, 220, 427, 62, 634, 13652, 796, 23791, 62, 7568, 13, 17946, 58, 8424, 62, 31448, 1222, 427, 62, 31448, 60, 201, 198, 220, 220, 220, 1017, 62, 634, 13652, 796, 23791, 62, 7568, 13, 17946, 58, 8424, 62, 31448, 1222, 1017, 62, 31448, 60, 201, 198, 220, 220, 220, 1303, 27131, 378, 1988, 12, 6551, 276, 5860, 201, 198, 220, 220, 220, 275, 71, 62, 7783, 796, 45941, 13, 23913, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 275, 71, 62, 634, 13652, 13, 8424, 306, 62, 7783, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 28, 34369, 62, 634, 13652, 13, 10728, 62, 11128, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 698, 62, 7783, 796, 45941, 13, 23913, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 698, 62, 634, 13652, 13, 8424, 306, 62, 7783, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 28, 2436, 62, 634, 13652, 13, 10728, 62, 11128, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 427, 62, 7783, 796, 45941, 13, 23913, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 427, 62, 634, 13652, 13, 8424, 306, 62, 7783, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 28, 1477, 62, 634, 13652, 13, 10728, 62, 11128, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1017, 62, 7783, 796, 45941, 13, 23913, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1017, 62, 634, 13652, 13, 8424, 306, 62, 7783, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 28, 6649, 62, 634, 13652, 13, 10728, 62, 11128, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1303, 27131, 378, 337, 2662, 11, 290, 751, 340, 284, 257, 1351, 201, 198, 220, 220, 220, 1995, 796, 357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 14808, 1477, 62, 7783, 1343, 275, 71, 62, 7783, 8, 1220, 362, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 532, 14808, 6649, 62, 7783, 1343, 698, 62, 7783, 8, 1220, 362, 8, 201, 198, 220, 220, 220, 1267, 201, 198, 220, 220, 220, 1995, 62, 4868, 13, 33295, 7, 32542, 8, 201, 198, 32542, 62, 7568, 796, 279, 67, 13, 27996, 7, 32542, 62, 4868, 737, 1462, 62, 1069, 5276, 10786, 32542, 13, 87, 7278, 87, 11537, 201, 198 ]
2.119411
3,601
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 __copyright__ = ('Copyright Amazon.com, Inc. or its affiliates. ' 'All Rights Reserved.') __version__ = '2.7.1' __license__ = 'MIT-0' __author__ = 'Akihiro Nakajima' __url__ = 'https://github.com/aws-samples/siem-on-amazon-opensearch-service' import hashlib import json import os import tarfile import urllib.error import urllib.parse import urllib.request import boto3 # get var from lambda environment try: s3bucket_name = os.environ['s3bucket_name'] license_key = os.environ['license_key'] except KeyError: raise Exception('ERROR: impossible to get lambda environment') s3key_prefix = os.environ.get('s3key_prefix', 'GeoLite2/') s3 = boto3.resource('s3') bucket = s3.Bucket(s3bucket_name) url = 'https://download.maxmind.com/app/geoip_download?' put_files = ['GeoLite2-City', 'GeoLite2-ASN', 'GeoLite2-Country']
[ 2, 15069, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 1439, 6923, 33876, 13, 198, 2, 30628, 55, 12, 34156, 12, 33234, 7483, 25, 17168, 12, 15, 198, 834, 22163, 4766, 834, 796, 19203, 15269, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 3237, 6923, 33876, 2637, 8, 198, 834, 9641, 834, 796, 705, 17, 13, 22, 13, 16, 6, 198, 834, 43085, 834, 796, 705, 36393, 12, 15, 6, 198, 834, 9800, 834, 796, 705, 32, 4106, 49907, 22255, 1228, 8083, 6, 198, 834, 6371, 834, 796, 705, 5450, 1378, 12567, 13, 785, 14, 8356, 12, 82, 12629, 14, 13396, 368, 12, 261, 12, 33103, 12, 404, 1072, 998, 12, 15271, 6, 198, 198, 11748, 12234, 8019, 198, 11748, 33918, 198, 11748, 28686, 198, 11748, 13422, 7753, 198, 11748, 2956, 297, 571, 13, 18224, 198, 11748, 2956, 297, 571, 13, 29572, 198, 11748, 2956, 297, 571, 13, 25927, 198, 198, 11748, 275, 2069, 18, 198, 198, 2, 651, 1401, 422, 37456, 2858, 198, 28311, 25, 198, 220, 220, 220, 264, 18, 27041, 316, 62, 3672, 796, 28686, 13, 268, 2268, 17816, 82, 18, 27041, 316, 62, 3672, 20520, 198, 220, 220, 220, 5964, 62, 2539, 796, 28686, 13, 268, 2268, 17816, 43085, 62, 2539, 20520, 198, 16341, 7383, 12331, 25, 198, 220, 220, 220, 5298, 35528, 10786, 24908, 25, 5340, 284, 651, 37456, 2858, 11537, 198, 82, 18, 2539, 62, 40290, 796, 28686, 13, 268, 2268, 13, 1136, 10786, 82, 18, 2539, 62, 40290, 3256, 705, 10082, 78, 43, 578, 17, 14, 11537, 198, 198, 82, 18, 796, 275, 2069, 18, 13, 31092, 10786, 82, 18, 11537, 198, 27041, 316, 796, 264, 18, 13, 33, 38811, 7, 82, 18, 27041, 316, 62, 3672, 8, 198, 6371, 796, 705, 5450, 1378, 15002, 13, 9806, 10155, 13, 785, 14, 1324, 14, 469, 78, 541, 62, 15002, 8348, 198, 1996, 62, 16624, 796, 37250, 10082, 78, 43, 578, 17, 12, 14941, 3256, 705, 10082, 78, 43, 578, 17, 12, 1921, 45, 3256, 705, 10082, 78, 43, 578, 17, 12, 33921, 20520, 628, 628, 198 ]
2.613699
365
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Copyright 2010 California Institute of Technology. ALL RIGHTS RESERVED. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # United States Government Sponsorship acknowledged. This software is subject to # U.S. export control laws and regulations and has been classified as 'EAR99 NLR' # (No [Export] License Required except when exporting to an embargoed country, # end user, or in support of a prohibited end use). By downloading this software, # the user agrees to comply with all applicable U.S. export laws and regulations. # The user has the responsibility to obtain export licenses, or other export # authority as may be required before exporting this software to any 'EAR99' # embargoed foreign country or citizen of those countries. # # Author: Giangi Sacco #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import math import datetime import logging from iscesys.Component.Component import Component, Port from isceobj.Util.mathModule import MathModule as MM from isceobj.Orbit.Orbit import StateVector # A class to hold three-dimensional basis vectors # A class to hold three-dimensional basis vectors for spacecraft baselines BASELINE_LOCATION = Component.Parameter('baselineLocation', public_name = 'BASELINE_LOCATION', default = 'all', type=str, mandatory=False, doc = ('Location at which to compute baselines - "all" implies '+ 'top, middle, bottom of master image, '+ '"top" implies near start of master image, '+ '"bottom" implies at bottom of master image, '+ '"middle" implies near middle of master image. '+ 'To be used in case there is a large shift between images.') )
[ 2, 27156, 27156, 27156, 27156, 15116, 8728, 4907, 93, 198, 2, 15069, 3050, 3442, 5136, 286, 8987, 13, 11096, 371, 34874, 15731, 1137, 53, 1961, 13, 198, 2, 220, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 220, 198, 2, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 220, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 220, 198, 2, 1578, 1829, 5070, 18972, 11094, 10810, 13, 770, 3788, 318, 2426, 284, 198, 2, 471, 13, 50, 13, 10784, 1630, 3657, 290, 6647, 290, 468, 587, 10090, 355, 705, 17133, 2079, 22879, 49, 6, 198, 2, 357, 2949, 685, 43834, 60, 13789, 20906, 2845, 618, 39133, 284, 281, 38286, 276, 1499, 11, 198, 2, 886, 2836, 11, 393, 287, 1104, 286, 257, 12244, 886, 779, 737, 2750, 22023, 428, 3788, 11, 198, 2, 262, 2836, 14386, 284, 11997, 351, 477, 9723, 471, 13, 50, 13, 10784, 3657, 290, 6647, 13, 198, 2, 383, 2836, 468, 262, 5798, 284, 7330, 10784, 16625, 11, 393, 584, 10784, 198, 2, 4934, 355, 743, 307, 2672, 878, 39133, 428, 3788, 284, 597, 705, 17133, 2079, 6, 198, 2, 38286, 276, 3215, 1499, 393, 9511, 286, 883, 2678, 13, 198, 2, 198, 2, 6434, 25, 8118, 648, 72, 311, 8679, 198, 2, 27156, 27156, 27156, 27156, 15116, 8728, 4907, 93, 628, 198, 198, 11748, 10688, 198, 11748, 4818, 8079, 198, 11748, 18931, 198, 6738, 318, 728, 893, 13, 21950, 13, 21950, 1330, 35100, 11, 4347, 198, 6738, 318, 344, 26801, 13, 18274, 346, 13, 11018, 26796, 1330, 16320, 26796, 355, 20806, 198, 6738, 318, 344, 26801, 13, 5574, 2545, 13, 5574, 2545, 1330, 1812, 38469, 198, 198, 2, 317, 1398, 284, 1745, 1115, 12, 19577, 4308, 30104, 198, 198, 2, 317, 1398, 284, 1745, 1115, 12, 19577, 4308, 30104, 329, 16807, 1615, 20655, 628, 198, 33, 1921, 3698, 8881, 62, 29701, 6234, 796, 35100, 13, 36301, 10786, 12093, 4470, 14749, 3256, 198, 220, 220, 220, 1171, 62, 3672, 796, 705, 33, 1921, 3698, 8881, 62, 29701, 6234, 3256, 198, 220, 220, 220, 4277, 796, 705, 439, 3256, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 13677, 28, 25101, 11, 198, 220, 220, 220, 2205, 796, 19203, 14749, 379, 543, 284, 24061, 1615, 20655, 532, 366, 439, 1, 15565, 705, 10, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 4852, 11, 3504, 11, 4220, 286, 4958, 2939, 11, 705, 10, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1, 4852, 1, 15565, 1474, 923, 286, 4958, 2939, 11, 705, 10, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1, 22487, 1, 15565, 379, 4220, 286, 4958, 2939, 11, 705, 10, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1, 27171, 1, 15565, 1474, 3504, 286, 4958, 2939, 13, 705, 10, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 2514, 307, 973, 287, 1339, 612, 318, 257, 1588, 6482, 1022, 4263, 2637, 8, 198, 8, 628, 198 ]
3.711039
616
from random import shuffle as rshuffle from .card import Card
[ 6738, 4738, 1330, 36273, 355, 374, 1477, 18137, 198, 6738, 764, 9517, 1330, 5172, 628 ]
4.2
15
# -*- coding: utf-8 -*- # # Copyright (C) 2016, 2017 Red Hat, Inc. # Red Hat Author: Patrick Uiterwijk <puiterwijk@redhat.com> # # 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, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. """Client for applications relying on OpenID Connect for authentication.""" from __future__ import print_function from copy import copy import json import logging from threading import Lock import time try: from StringIO import StringIO except ImportError: from io import StringIO import socket import os try: from urllib import urlencode except ImportError: from urllib.parse import urlencode from uuid import uuid4 as uuidgen import webbrowser from wsgiref import simple_server import requests import sys from openidc_client import release # The ports that we will try to use for our webserver WEB_PORTS = [12345, 23456]
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 198, 2, 15069, 357, 34, 8, 1584, 11, 2177, 2297, 10983, 11, 3457, 13, 198, 2, 2297, 10983, 6434, 25, 9925, 471, 2676, 86, 45961, 1279, 19944, 2676, 86, 45961, 31, 445, 5183, 13, 785, 29, 198, 2, 198, 2, 2448, 3411, 318, 29376, 7520, 11, 1479, 286, 3877, 11, 284, 597, 1048, 16727, 257, 4866, 198, 2, 286, 428, 3788, 290, 3917, 10314, 3696, 357, 1169, 366, 25423, 12340, 284, 1730, 198, 2, 287, 262, 10442, 1231, 17504, 11, 1390, 1231, 17385, 262, 2489, 198, 2, 284, 779, 11, 4866, 11, 13096, 11, 20121, 11, 7715, 11, 14983, 11, 850, 43085, 11, 290, 14, 273, 3677, 198, 2, 9088, 286, 262, 10442, 11, 290, 284, 8749, 6506, 284, 4150, 262, 10442, 318, 198, 2, 30760, 284, 466, 523, 11, 2426, 284, 262, 1708, 3403, 25, 198, 2, 198, 2, 383, 2029, 6634, 4003, 290, 428, 7170, 4003, 2236, 307, 3017, 287, 198, 2, 477, 9088, 393, 8904, 16690, 286, 262, 10442, 13, 198, 2, 198, 2, 3336, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 7788, 32761, 6375, 198, 2, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 11, 198, 2, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 3268, 8005, 49261, 50163, 3336, 198, 2, 37195, 20673, 6375, 27975, 38162, 9947, 367, 15173, 4877, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 25401, 198, 2, 43031, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 5923, 1797, 2751, 16034, 11, 198, 2, 16289, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 25401, 5550, 1847, 20754, 3268, 3336, 198, 2, 47466, 13, 198, 198, 37811, 11792, 329, 5479, 17965, 319, 4946, 2389, 8113, 329, 18239, 526, 15931, 198, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 198, 6738, 4866, 1330, 4866, 198, 11748, 33918, 198, 11748, 18931, 198, 6738, 4704, 278, 1330, 13656, 198, 11748, 640, 198, 28311, 25, 198, 220, 220, 220, 422, 10903, 9399, 1330, 10903, 9399, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 422, 33245, 1330, 10903, 9399, 198, 11748, 17802, 198, 11748, 28686, 198, 28311, 25, 198, 220, 220, 220, 422, 2956, 297, 571, 1330, 2956, 11925, 8189, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 422, 2956, 297, 571, 13, 29572, 1330, 2956, 11925, 8189, 198, 6738, 334, 27112, 1330, 334, 27112, 19, 355, 334, 27112, 5235, 198, 11748, 3992, 40259, 198, 6738, 266, 45213, 557, 69, 1330, 2829, 62, 15388, 198, 198, 11748, 7007, 198, 11748, 25064, 198, 198, 6738, 1280, 312, 66, 62, 16366, 1330, 2650, 198, 198, 2, 383, 14090, 326, 356, 481, 1949, 284, 779, 329, 674, 2639, 18497, 198, 8845, 33, 62, 47, 33002, 796, 685, 10163, 2231, 11, 2242, 29228, 60, 628 ]
3.595285
509
#------------------------------------------------------------------------------- # # WPS 1.0 parameters' XML encoders # # Project: EOxServer <http://eoxserver.org> # Authors: Fabian Schindler <fabian.schindler@eox.at> # Martin Paces <martin.paces@eox.at> # #------------------------------------------------------------------------------- # Copyright (C) 2013 EOX IT Services GmbH # # 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, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies of this Software or works derived from this Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. #------------------------------------------------------------------------------- from eoxserver.services.ows.wps.parameters import ( LiteralData, ComplexData, BoundingBoxData, AllowedAny, AllowedEnum, AllowedRange, AllowedRangeCollection, AllowedByReference, ) from eoxserver.services.ows.wps.v10.util import ( OWS, WPS, NIL, ns_ows, ) #------------------------------------------------------------------------------- def encode_input_descr(prm): """ Encode process description input.""" elem = NIL("Input", *_encode_param_common(prm)) elem.attrib["minOccurs"] = ("1", "0")[bool(prm.is_optional)] elem.attrib["maxOccurs"] = "1" if isinstance(prm, LiteralData): elem.append(_encode_literal(prm, True)) elif isinstance(prm, ComplexData): elem.append(_encode_complex(prm, True)) elif isinstance(prm, BoundingBoxData): elem.append(_encode_bbox(prm, True)) return elem def encode_output_descr(prm): """ Encode process description output.""" elem = NIL("Output", *_encode_param_common(prm)) if isinstance(prm, LiteralData): elem.append(_encode_literal(prm, False)) elif isinstance(prm, ComplexData): elem.append(_encode_complex(prm, False)) elif isinstance(prm, BoundingBoxData): elem.append(_encode_bbox(prm, False)) return elem def encode_input_exec(prm): """ Encode common part of the execure response data input.""" return WPS("Input", *_encode_param_common(prm, False)) def encode_output_exec(prm): """ Encode common part of the execure response data output.""" return WPS("Output", *_encode_param_common(prm)) def encode_output_def(outdef): """ Encode the execure response output definition.""" attrib = {} if outdef.uom is not None: attrib['uom'] = outdef.uom if outdef.crs is not None: attrib['crs'] = outdef.crs if outdef.mime_type is not None: attrib['mimeType'] = outdef.mime_type if outdef.encoding is not None: attrib['encoding'] = outdef.encoding if outdef.schema is not None: attrib['schema'] = outdef.schema if outdef.as_reference is not None: attrib['asReference'] = 'true' if outdef.as_reference else 'false' return WPS("Output", *_encode_param_common(outdef, False), **attrib) def _encode_param_common(prm, title_required=True): """ Encode common sub-elements of all XML parameters.""" elist = [OWS("Identifier", prm.identifier)] if prm.title or title_required: elist.append(OWS("Title", prm.title or prm.identifier)) if prm.abstract: elist.append(OWS("Abstract", prm.abstract)) return elist #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
[ 2, 10097, 24305, 198, 2, 198, 2, 370, 3705, 352, 13, 15, 10007, 6, 23735, 2207, 375, 364, 198, 2, 198, 2, 4935, 25, 412, 38208, 10697, 1279, 4023, 1378, 68, 1140, 15388, 13, 2398, 29, 198, 2, 46665, 25, 14236, 666, 3059, 521, 1754, 1279, 36434, 666, 13, 20601, 521, 1754, 31, 68, 1140, 13, 265, 29, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5780, 350, 2114, 1279, 13822, 259, 13, 43076, 31, 68, 1140, 13, 265, 29, 198, 2, 198, 2, 10097, 24305, 198, 2, 15069, 357, 34, 8, 2211, 412, 48632, 7283, 6168, 402, 2022, 39, 198, 2, 198, 2, 2448, 3411, 318, 29376, 7520, 11, 1479, 286, 3877, 11, 284, 597, 1048, 16727, 257, 4866, 198, 2, 286, 428, 3788, 290, 3917, 10314, 3696, 357, 1169, 366, 25423, 12340, 284, 1730, 198, 2, 287, 262, 10442, 1231, 17504, 11, 1390, 1231, 17385, 262, 2489, 198, 2, 284, 779, 11, 4866, 11, 13096, 11, 20121, 11, 7715, 11, 14983, 11, 850, 43085, 11, 290, 14, 273, 3677, 198, 2, 9088, 286, 262, 10442, 11, 290, 284, 8749, 6506, 284, 4150, 262, 10442, 318, 198, 2, 30760, 284, 466, 523, 11, 2426, 284, 262, 1708, 3403, 25, 198, 2, 198, 2, 383, 2029, 6634, 4003, 290, 428, 7170, 4003, 2236, 307, 3017, 287, 477, 198, 2, 9088, 286, 428, 10442, 393, 2499, 10944, 422, 428, 10442, 13, 198, 2, 198, 2, 3336, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 7788, 32761, 6375, 198, 2, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 11, 198, 2, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 3268, 8005, 49261, 50163, 3336, 198, 2, 37195, 20673, 6375, 27975, 38162, 9947, 367, 15173, 4877, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 25401, 198, 2, 43031, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 5923, 1797, 2751, 16034, 11, 198, 2, 16289, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 25401, 5550, 1847, 20754, 3268, 198, 2, 3336, 47466, 13, 198, 2, 10097, 24305, 198, 198, 6738, 304, 1140, 15388, 13, 30416, 13, 1666, 13, 86, 862, 13, 17143, 7307, 1330, 357, 198, 220, 220, 220, 25659, 1691, 6601, 11, 19157, 6601, 11, 347, 9969, 14253, 6601, 11, 198, 220, 220, 220, 1439, 6972, 7149, 11, 1439, 6972, 4834, 388, 11, 1439, 6972, 17257, 11, 1439, 6972, 17257, 36307, 11, 198, 220, 220, 220, 1439, 6972, 3886, 26687, 11, 198, 8, 198, 198, 6738, 304, 1140, 15388, 13, 30416, 13, 1666, 13, 86, 862, 13, 85, 940, 13, 22602, 1330, 357, 198, 220, 220, 220, 440, 19416, 11, 370, 3705, 11, 399, 4146, 11, 36545, 62, 1666, 11, 198, 8, 198, 198, 2, 10097, 24305, 198, 198, 4299, 37773, 62, 15414, 62, 20147, 81, 7, 1050, 76, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 1429, 6764, 5128, 526, 15931, 198, 220, 220, 220, 9766, 76, 796, 399, 4146, 7203, 20560, 1600, 1635, 62, 268, 8189, 62, 17143, 62, 11321, 7, 1050, 76, 4008, 198, 220, 220, 220, 9766, 76, 13, 1078, 822, 14692, 1084, 29223, 1834, 8973, 796, 5855, 16, 1600, 366, 15, 4943, 58, 30388, 7, 1050, 76, 13, 271, 62, 25968, 15437, 198, 220, 220, 220, 9766, 76, 13, 1078, 822, 14692, 9806, 29223, 1834, 8973, 796, 366, 16, 1, 198, 220, 220, 220, 611, 318, 39098, 7, 1050, 76, 11, 25659, 1691, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 18250, 1691, 7, 1050, 76, 11, 6407, 4008, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 1050, 76, 11, 19157, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 41887, 7, 1050, 76, 11, 6407, 4008, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 1050, 76, 11, 347, 9969, 14253, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 65, 3524, 7, 1050, 76, 11, 6407, 4008, 198, 220, 220, 220, 1441, 9766, 76, 198, 198, 4299, 37773, 62, 22915, 62, 20147, 81, 7, 1050, 76, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 1429, 6764, 5072, 526, 15931, 198, 220, 220, 220, 9766, 76, 796, 399, 4146, 7203, 26410, 1600, 1635, 62, 268, 8189, 62, 17143, 62, 11321, 7, 1050, 76, 4008, 198, 220, 220, 220, 611, 318, 39098, 7, 1050, 76, 11, 25659, 1691, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 18250, 1691, 7, 1050, 76, 11, 10352, 4008, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 1050, 76, 11, 19157, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 41887, 7, 1050, 76, 11, 10352, 4008, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 1050, 76, 11, 347, 9969, 14253, 6601, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 9766, 76, 13, 33295, 28264, 268, 8189, 62, 65, 3524, 7, 1050, 76, 11, 10352, 4008, 198, 220, 220, 220, 1441, 9766, 76, 198, 198, 4299, 37773, 62, 15414, 62, 18558, 7, 1050, 76, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 2219, 636, 286, 262, 2452, 495, 2882, 1366, 5128, 526, 15931, 198, 220, 220, 220, 1441, 370, 3705, 7203, 20560, 1600, 1635, 62, 268, 8189, 62, 17143, 62, 11321, 7, 1050, 76, 11, 10352, 4008, 198, 198, 4299, 37773, 62, 22915, 62, 18558, 7, 1050, 76, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 2219, 636, 286, 262, 2452, 495, 2882, 1366, 5072, 526, 15931, 198, 220, 220, 220, 1441, 370, 3705, 7203, 26410, 1600, 1635, 62, 268, 8189, 62, 17143, 62, 11321, 7, 1050, 76, 4008, 198, 198, 4299, 37773, 62, 22915, 62, 4299, 7, 448, 4299, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 262, 2452, 495, 2882, 5072, 6770, 526, 15931, 198, 220, 220, 220, 708, 822, 796, 23884, 198, 220, 220, 220, 611, 503, 4299, 13, 84, 296, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 84, 296, 20520, 796, 503, 4299, 13, 84, 296, 198, 220, 220, 220, 611, 503, 4299, 13, 66, 3808, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 66, 3808, 20520, 796, 503, 4299, 13, 66, 3808, 198, 220, 220, 220, 611, 503, 4299, 13, 76, 524, 62, 4906, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 76, 524, 6030, 20520, 796, 503, 4299, 13, 76, 524, 62, 4906, 198, 220, 220, 220, 611, 503, 4299, 13, 12685, 7656, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 12685, 7656, 20520, 796, 503, 4299, 13, 12685, 7656, 198, 220, 220, 220, 611, 503, 4299, 13, 15952, 2611, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 15952, 2611, 20520, 796, 503, 4299, 13, 15952, 2611, 198, 220, 220, 220, 611, 503, 4299, 13, 292, 62, 35790, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 708, 822, 17816, 292, 26687, 20520, 796, 705, 7942, 6, 611, 503, 4299, 13, 292, 62, 35790, 2073, 705, 9562, 6, 198, 220, 220, 220, 1441, 370, 3705, 7203, 26410, 1600, 1635, 62, 268, 8189, 62, 17143, 62, 11321, 7, 448, 4299, 11, 10352, 828, 12429, 1078, 822, 8, 198, 198, 4299, 4808, 268, 8189, 62, 17143, 62, 11321, 7, 1050, 76, 11, 3670, 62, 35827, 28, 17821, 2599, 198, 220, 220, 220, 37227, 2039, 8189, 2219, 850, 12, 68, 3639, 286, 477, 23735, 10007, 526, 15931, 198, 220, 220, 220, 1288, 396, 796, 685, 22845, 7203, 33234, 7483, 1600, 778, 76, 13, 738, 7483, 15437, 198, 220, 220, 220, 611, 778, 76, 13, 7839, 393, 3670, 62, 35827, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 396, 13, 33295, 7, 22845, 7203, 19160, 1600, 778, 76, 13, 7839, 393, 778, 76, 13, 738, 7483, 4008, 198, 220, 220, 220, 611, 778, 76, 13, 397, 8709, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 396, 13, 33295, 7, 22845, 7203, 23839, 1600, 778, 76, 13, 397, 8709, 4008, 198, 220, 220, 220, 1441, 1288, 396, 198, 198, 2, 10097, 24305, 198, 198, 2, 10097, 24305, 198, 198, 2, 10097, 24305, 628 ]
3.050907
1,434
import datetime import uuid import simplejson as json from src.db.s3_client import Client as S3Client from decimal import Decimal def get_from_archive(archive_key): ''' Download a VP Save from S3. :param str archive_key: The vp_save data's location (S3 bucket and file path). This value is required. ''' if archive_key is None or '/' not in archive_key: raise ValueError() bucket, key = archive_key.split('/', 1) s3_client = S3Client() try: archive_object = json.loads(s3_client.get_object(bucket, key)['Body'].read(),parse_float=Decimal) except Exception as e: print('ERROR: Error downloading ' + key + ' from ' + bucket + ' bucket. ERROR\n%s' %e) raise return archive_object def build(vp_save={}): ''' Builds and returns a valid vp_save object. Builds a new vp_save object by creating default values for required fields and combines any of the given attributes. ''' vp_save['PK'] = str(uuid.uuid4()) # Set timestamps (for new data) now = datetime.datetime.now().isoformat() vp_save['date_created'] = now vp_save['last_modified'] = now vp_save['item_type'] = 'vp_save' return vp_save def archive(bucket, vp_save_pk, save_data): ''' Archives a vp save data to S3. Uploads the save data object as a JSON file to S3. The location of the archive depends on the bucket and the primary key of the save data. If the upload fails, an exception is raised. If successful, returns the archive location. :param str bucket: The name of the S3 bucket for the archive. This value is required. :param str vp_save_pk: The vp_save PK to use as the name of the JSON file. This value is required. :param obj save_data: The save data object to archive. This value is required. ''' if bucket is None or len(bucket) <= 0: raise ValueError() if vp_save_pk is None or len(vp_save_pk) <= 0: raise ValueError() if not save_data: raise ValueError() archive_file = __archive_key(save_data) + '/' + vp_save_pk + '.json' # Upload curation data to S3 archive bucket. s3_client = S3Client() try: s3_client.put_object( bytes(json.dumps(save_data).encode('UTF-8')), bucket, archive_file ) except Exception as e: print('ERROR: Error uploading ' + archive_file + ' to ' + bucket + ' bucket. ERROR\n%s' %e) raise archive_key_comps = [bucket, archive_file] return '/'.join(archive_key_comps)
[ 11748, 4818, 8079, 198, 11748, 334, 27112, 198, 198, 11748, 2829, 17752, 355, 33918, 198, 198, 6738, 12351, 13, 9945, 13, 82, 18, 62, 16366, 1330, 20985, 355, 311, 18, 11792, 198, 6738, 32465, 1330, 4280, 4402, 198, 198, 4299, 651, 62, 6738, 62, 17474, 7, 17474, 62, 2539, 2599, 198, 220, 705, 7061, 10472, 257, 23342, 12793, 422, 311, 18, 13, 628, 220, 1058, 17143, 965, 15424, 62, 2539, 25, 383, 410, 79, 62, 21928, 1366, 338, 4067, 357, 50, 18, 19236, 290, 2393, 3108, 737, 770, 1988, 318, 2672, 13, 198, 220, 705, 7061, 628, 220, 611, 15424, 62, 2539, 318, 6045, 393, 31051, 6, 407, 287, 15424, 62, 2539, 25, 198, 220, 220, 220, 5298, 11052, 12331, 3419, 628, 220, 19236, 11, 1994, 796, 15424, 62, 2539, 13, 35312, 10786, 14, 3256, 352, 8, 628, 220, 264, 18, 62, 16366, 796, 311, 18, 11792, 3419, 628, 220, 1949, 25, 198, 220, 220, 220, 15424, 62, 15252, 796, 33918, 13, 46030, 7, 82, 18, 62, 16366, 13, 1136, 62, 15252, 7, 27041, 316, 11, 1994, 8, 17816, 25842, 6, 4083, 961, 22784, 29572, 62, 22468, 28, 10707, 4402, 8, 198, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 3601, 10786, 24908, 25, 13047, 22023, 705, 1343, 1994, 1343, 705, 422, 705, 1343, 19236, 1343, 705, 19236, 13, 33854, 59, 77, 4, 82, 6, 4064, 68, 8, 198, 220, 220, 220, 5298, 628, 220, 1441, 15424, 62, 15252, 198, 198, 4299, 1382, 7, 36133, 62, 21928, 34758, 92, 2599, 198, 220, 705, 7061, 10934, 82, 290, 5860, 257, 4938, 410, 79, 62, 21928, 2134, 13, 628, 220, 10934, 82, 257, 649, 410, 79, 62, 21928, 2134, 416, 4441, 4277, 3815, 329, 198, 220, 2672, 7032, 290, 21001, 597, 286, 262, 1813, 12608, 13, 198, 220, 705, 7061, 628, 198, 220, 410, 79, 62, 21928, 17816, 40492, 20520, 796, 965, 7, 12303, 312, 13, 12303, 312, 19, 28955, 628, 220, 1303, 5345, 4628, 395, 9430, 357, 1640, 649, 1366, 8, 198, 220, 783, 796, 4818, 8079, 13, 19608, 8079, 13, 2197, 22446, 26786, 18982, 3419, 198, 220, 410, 79, 62, 21928, 17816, 4475, 62, 25598, 20520, 796, 783, 198, 220, 410, 79, 62, 21928, 17816, 12957, 62, 41771, 20520, 796, 783, 628, 220, 410, 79, 62, 21928, 17816, 9186, 62, 4906, 20520, 796, 705, 36133, 62, 21928, 6, 628, 220, 1441, 410, 79, 62, 21928, 198, 198, 4299, 15424, 7, 27041, 316, 11, 410, 79, 62, 21928, 62, 79, 74, 11, 3613, 62, 7890, 2599, 198, 220, 705, 7061, 22275, 257, 410, 79, 3613, 1366, 284, 311, 18, 13, 628, 220, 36803, 82, 262, 3613, 1366, 2134, 355, 257, 19449, 2393, 284, 311, 18, 13, 383, 4067, 286, 262, 15424, 198, 220, 8338, 319, 262, 19236, 290, 262, 4165, 1994, 286, 262, 3613, 1366, 13, 1002, 262, 9516, 10143, 11, 198, 220, 281, 6631, 318, 4376, 13, 1002, 4388, 11, 5860, 262, 15424, 4067, 13, 628, 220, 1058, 17143, 965, 19236, 25, 383, 1438, 286, 262, 311, 18, 19236, 329, 262, 15424, 13, 770, 1988, 318, 2672, 13, 198, 220, 1058, 17143, 965, 410, 79, 62, 21928, 62, 79, 74, 25, 383, 410, 79, 62, 21928, 29673, 284, 779, 355, 262, 1438, 286, 262, 19449, 2393, 13, 770, 1988, 318, 2672, 13, 198, 220, 1058, 17143, 26181, 3613, 62, 7890, 25, 383, 3613, 1366, 2134, 284, 15424, 13, 770, 1988, 318, 2672, 13, 198, 220, 705, 7061, 628, 220, 611, 19236, 318, 6045, 393, 18896, 7, 27041, 316, 8, 19841, 657, 25, 198, 220, 220, 220, 5298, 11052, 12331, 3419, 628, 220, 611, 410, 79, 62, 21928, 62, 79, 74, 318, 6045, 393, 18896, 7, 36133, 62, 21928, 62, 79, 74, 8, 19841, 657, 25, 198, 220, 220, 220, 5298, 11052, 12331, 3419, 628, 220, 611, 407, 3613, 62, 7890, 25, 198, 220, 220, 220, 5298, 11052, 12331, 3419, 198, 220, 220, 198, 220, 15424, 62, 7753, 796, 11593, 17474, 62, 2539, 7, 21928, 62, 7890, 8, 1343, 31051, 6, 1343, 410, 79, 62, 21928, 62, 79, 74, 1343, 45302, 17752, 6, 628, 220, 1303, 36803, 1090, 341, 1366, 284, 311, 18, 15424, 19236, 13, 198, 220, 264, 18, 62, 16366, 796, 311, 18, 11792, 3419, 628, 220, 1949, 25, 198, 220, 220, 220, 264, 18, 62, 16366, 13, 1996, 62, 15252, 7, 198, 220, 220, 220, 220, 220, 9881, 7, 17752, 13, 67, 8142, 7, 21928, 62, 7890, 737, 268, 8189, 10786, 48504, 12, 23, 11537, 828, 198, 220, 220, 220, 220, 220, 19236, 11, 198, 220, 220, 220, 220, 220, 15424, 62, 7753, 198, 220, 220, 220, 1267, 198, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 3601, 10786, 24908, 25, 13047, 33794, 705, 1343, 15424, 62, 7753, 1343, 705, 284, 705, 1343, 19236, 1343, 705, 19236, 13, 33854, 59, 77, 4, 82, 6, 4064, 68, 8, 198, 220, 220, 220, 5298, 198, 220, 220, 198, 220, 15424, 62, 2539, 62, 785, 862, 796, 685, 27041, 316, 11, 15424, 62, 7753, 60, 198, 220, 220, 198, 220, 1441, 31051, 4458, 22179, 7, 17474, 62, 2539, 62, 785, 862, 8, 198 ]
2.86643
846
""" Basic usage =========== This example presents the basic usage of brokenaxes """ import matplotlib.pyplot as plt from brokenaxes import brokenaxes import numpy as np fig = plt.figure(figsize=(5,2)) bax = brokenaxes(xlims=((0, .1), (.4, .7)), ylims=((-1, .7), (.79, 1)), hspace=.05) x = np.linspace(0, 1, 100) bax.plot(x, np.sin(10 * x), label='sin') bax.plot(x, np.cos(10 * x), label='cos') bax.legend(loc=3) bax.set_xlabel('time') bax.set_ylabel('value')
[ 37811, 198, 26416, 8748, 198, 2559, 18604, 198, 198, 1212, 1672, 10969, 262, 4096, 8748, 286, 5445, 897, 274, 198, 198, 37811, 628, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 5445, 897, 274, 1330, 5445, 897, 274, 198, 11748, 299, 32152, 355, 45941, 198, 198, 5647, 796, 458, 83, 13, 26875, 7, 5647, 7857, 16193, 20, 11, 17, 4008, 198, 65, 897, 796, 5445, 897, 274, 7, 87, 2475, 82, 16193, 7, 15, 11, 764, 16, 828, 20262, 19, 11, 764, 22, 36911, 331, 2475, 82, 16193, 32590, 16, 11, 764, 22, 828, 20262, 3720, 11, 352, 36911, 289, 13200, 28, 13, 2713, 8, 198, 87, 796, 45941, 13, 21602, 10223, 7, 15, 11, 352, 11, 1802, 8, 198, 65, 897, 13, 29487, 7, 87, 11, 45941, 13, 31369, 7, 940, 1635, 2124, 828, 6167, 11639, 31369, 11537, 198, 65, 897, 13, 29487, 7, 87, 11, 45941, 13, 6966, 7, 940, 1635, 2124, 828, 6167, 11639, 6966, 11537, 198, 65, 897, 13, 1455, 437, 7, 17946, 28, 18, 8, 198, 65, 897, 13, 2617, 62, 87, 18242, 10786, 2435, 11537, 198, 65, 897, 13, 2617, 62, 2645, 9608, 10786, 8367, 11537, 198 ]
2.343434
198
import shutil import os import json import glob import yaml import sys import urllib import ssl import csv import time import requests import json import csv from rdflib import URIRef, BNode, Literal, Graph from rdflib.namespace import RDF, RDFS, FOAF, XSD from rdflib import Namespace all = Graph() with open("data/dict.json") as f: ln_map = json.load(f) st_path = "../data/index.json" with open(st_path) as f: result = json.load(f) uris = [] for obj in result: fields = ["spatial", "agential"] for field in fields: values = obj[field] for value in values: uri = "chname:"+value if field == "spatial": uri = "place:"+value if uri not in uris: uris.append(uri) for uri in uris: print(uri) tmp = uri.split(":") prefix = tmp[0] suffix = tmp[1] ln = suffix ln_org = "" if ln in ln_map: ln_org = ln ln = ln_map[ln] if len(ln) > 20: continue # ln = obj["uri"].split(":")[1] ''' wiki_path = "data/wikidata/"+ln+".json" wiki = {} if os.path.exists(wiki_path): with open(wiki_path) as f: wiki = json.load(f) # sameAs stmt = (subject, URIRef("http://www.w3.org/2002/07/owl#sameAs"), URIRef(wiki_url)) all.add(stmt) obj = wiki["entities"][wiki_url.split("/")[-1]] # description if "descriptions" in obj and "ja" in obj["descriptions"]: stmt = (subject, URIRef("http://schema.org/description"), Literal(obj["descriptions"]["ja"]["value"], lang="ja")) all.add(stmt) # label if "labels" in obj and "ja" in obj["labels"]: stmt = (subject, RDFS.label, Literal(obj["labels"]["ja"]["value"])) all.add(stmt) ln = wiki_url.split("/")[-1] ''' db_path = "data/dbpedia_ja/"+ln+".json" wiki_path = "data/wikidata/"+ln+".json" db = {} wiki = {} if os.path.exists(db_path): with open(db_path) as f: db = json.load(f) if os.path.exists(wiki_path): with open(wiki_path) as f: wiki = json.load(f) db_uri = "http://ja.dbpedia.org/resource/"+ln if db_uri not in db: print("not" , db_uri) continue # ###### subject = URIRef("https://shibusawa-dlab.github.io/lab1/api/"+prefix+"/"+ln) if prefix == "chname": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Agent")) all.add(stmt) elif prefix == "time": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Time")) all.add(stmt) elif prefix == "place": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Place")) all.add(stmt) elif prefix == "event": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Event")) all.add(stmt) elif prefix == "org": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Organization")) all.add(stmt) elif prefix == "keyword": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Keyword")) all.add(stmt) elif prefix == "type": stmt = (subject, RDF.type, URIRef("https://jpsearch.go.jp/term/type/Type")) all.add(stmt) # ###### obj = db[db_uri] stmt = (subject, URIRef("http://www.w3.org/2002/07/owl#sameAs"), URIRef(db_uri)) all.add(stmt) if "http://dbpedia.org/ontology/thumbnail" in obj: stmt = (subject, URIRef("http://schema.org/image"), URIRef(obj["http://dbpedia.org/ontology/thumbnail"][0]["value"])) all.add(stmt) if "http://www.w3.org/2000/01/rdf-schema#label" in obj: labels = obj["http://www.w3.org/2000/01/rdf-schema#label"] for label in labels: if label["lang"] == "ja": stmt = (subject, RDFS.label, Literal(label["value"])) all.add(stmt) if "http://www.w3.org/2000/01/rdf-schema#comment" in obj: labels = obj["http://www.w3.org/2000/01/rdf-schema#comment"] for label in labels: stmt = (subject, URIRef("http://schema.org/description"), Literal(label["value"], lang=label["lang"])) all.add(stmt) if "http://www.w3.org/2002/07/owl#sameAs" in obj: labels = obj["http://www.w3.org/2002/07/owl#sameAs"] for label in labels: value = label["value"] if "http://dbpedia.org" in value or "http://ja.dbpedia.org" in value or "www.wikidata.org" in value: stmt = (subject, URIRef("http://www.w3.org/2002/07/owl#sameAs"), URIRef(value)) all.add(stmt) # ''' if "point" in obj and prefix == "place": value = obj["point"]["value"].split(" ") # addGeo geoUri = addGeo({ "lat" : float(value[0]), "long": float(value[1]) }) stmt = (subject, URIRef("http://schema.org/geo"), geoUri) if suffix not in places: places[suffix] = { "lat" : float(value[0]), "long": float(value[1]) } all.add(stmt) ''' # if ln_org != "" and ln != ln_org: stmt = (subject, URIRef("http://schema.org/name"), Literal(ln_org)) all.add(stmt) path = "data/all.json" all.serialize(destination=path, format='json-ld') all.serialize(destination=path.replace(".json", ".rdf"), format='pretty-xml')
[ 11748, 4423, 346, 198, 11748, 28686, 198, 11748, 33918, 198, 11748, 15095, 198, 11748, 331, 43695, 198, 11748, 25064, 198, 11748, 2956, 297, 571, 198, 11748, 264, 6649, 198, 11748, 269, 21370, 198, 11748, 640, 198, 11748, 7007, 198, 11748, 33918, 198, 11748, 269, 21370, 198, 6738, 374, 67, 2704, 571, 1330, 37902, 4663, 891, 11, 347, 19667, 11, 25659, 1691, 11, 29681, 198, 6738, 374, 67, 2704, 571, 13, 14933, 10223, 1330, 371, 8068, 11, 371, 8068, 50, 11, 11895, 8579, 11, 1395, 10305, 198, 6738, 374, 67, 2704, 571, 1330, 28531, 10223, 628, 198, 198, 439, 796, 29681, 3419, 198, 198, 4480, 1280, 7203, 7890, 14, 11600, 13, 17752, 4943, 355, 277, 25, 198, 220, 220, 220, 300, 77, 62, 8899, 796, 33918, 13, 2220, 7, 69, 8, 198, 198, 301, 62, 6978, 796, 366, 40720, 7890, 14, 9630, 13, 17752, 1, 198, 198, 4480, 1280, 7, 301, 62, 6978, 8, 355, 277, 25, 198, 220, 220, 220, 1255, 796, 33918, 13, 2220, 7, 69, 8, 628, 220, 220, 220, 2956, 271, 796, 17635, 628, 220, 220, 220, 329, 26181, 287, 1255, 25, 628, 220, 220, 220, 220, 220, 220, 220, 7032, 796, 14631, 2777, 34961, 1600, 366, 363, 1843, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 329, 2214, 287, 7032, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3815, 796, 26181, 58, 3245, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1988, 287, 3815, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2956, 72, 796, 366, 1349, 480, 11097, 10, 8367, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2214, 6624, 366, 2777, 34961, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2956, 72, 796, 366, 5372, 11097, 10, 8367, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2956, 72, 407, 287, 2956, 271, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2956, 271, 13, 33295, 7, 9900, 8, 628, 220, 220, 220, 329, 2956, 72, 287, 2956, 271, 25, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 9900, 8, 628, 220, 220, 220, 220, 220, 220, 220, 45218, 796, 2956, 72, 13, 35312, 7, 2404, 8, 198, 220, 220, 220, 220, 220, 220, 220, 21231, 796, 45218, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 35488, 796, 45218, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 300, 77, 796, 35488, 198, 220, 220, 220, 220, 220, 220, 220, 300, 77, 62, 2398, 796, 13538, 628, 220, 220, 220, 220, 220, 220, 220, 611, 300, 77, 287, 300, 77, 62, 8899, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 77, 62, 2398, 796, 300, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 77, 796, 300, 77, 62, 8899, 58, 18755, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 18755, 8, 1875, 1160, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 300, 77, 796, 26181, 14692, 9900, 1, 4083, 35312, 7, 2404, 38381, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 22719, 62, 6978, 796, 366, 7890, 14, 20763, 312, 1045, 30487, 10, 18755, 10, 1911, 17752, 1, 628, 220, 220, 220, 220, 220, 220, 220, 22719, 796, 23884, 628, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 15466, 62, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 15466, 62, 6978, 8, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22719, 796, 33918, 13, 2220, 7, 69, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 976, 1722, 198, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 16942, 14, 2998, 14, 4883, 2, 31642, 1722, 12340, 37902, 4663, 891, 7, 15466, 62, 6371, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 22719, 14692, 298, 871, 1, 7131, 15466, 62, 6371, 13, 35312, 7203, 14, 4943, 58, 12, 16, 11907, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6764, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 20147, 1968, 507, 1, 287, 26181, 290, 366, 6592, 1, 287, 26181, 14692, 20147, 1968, 507, 1, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 15952, 2611, 13, 2398, 14, 11213, 12340, 25659, 1691, 7, 26801, 14692, 20147, 1968, 507, 1, 7131, 1, 6592, 1, 7131, 1, 8367, 33116, 42392, 2625, 6592, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6167, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 23912, 1424, 1, 287, 26181, 290, 366, 6592, 1, 287, 26181, 14692, 23912, 1424, 1, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 50, 13, 18242, 11, 25659, 1691, 7, 26801, 14692, 23912, 1424, 1, 7131, 1, 6592, 1, 7131, 1, 8367, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 300, 77, 796, 22719, 62, 6371, 13, 35312, 7203, 14, 4943, 58, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 20613, 62, 6978, 796, 366, 7890, 14, 9945, 50235, 62, 6592, 30487, 10, 18755, 10, 1911, 17752, 1, 198, 220, 220, 220, 220, 220, 220, 220, 22719, 62, 6978, 796, 366, 7890, 14, 20763, 312, 1045, 30487, 10, 18755, 10, 1911, 17752, 1, 628, 220, 220, 220, 220, 220, 220, 220, 20613, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 22719, 796, 23884, 628, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 9945, 62, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 9945, 62, 6978, 8, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20613, 796, 33918, 13, 2220, 7, 69, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 15466, 62, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 15466, 62, 6978, 8, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22719, 796, 33918, 13, 2220, 7, 69, 8, 628, 220, 220, 220, 220, 220, 220, 220, 20613, 62, 9900, 796, 366, 4023, 1378, 6592, 13, 9945, 50235, 13, 2398, 14, 31092, 30487, 10, 18755, 628, 220, 220, 220, 220, 220, 220, 220, 611, 20613, 62, 9900, 407, 287, 20613, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 1662, 1, 837, 20613, 62, 9900, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 46424, 2, 198, 220, 220, 220, 220, 220, 220, 220, 2426, 796, 37902, 4663, 891, 7203, 5450, 1378, 1477, 26333, 6909, 12, 67, 23912, 13, 12567, 13, 952, 14, 23912, 16, 14, 15042, 30487, 10, 40290, 10, 1, 30487, 10, 18755, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 21231, 6624, 366, 1349, 480, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 36772, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 2435, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 7575, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 5372, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 27271, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 15596, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 9237, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 2398, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 26121, 1634, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 2539, 4775, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 9218, 4775, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 21231, 6624, 366, 4906, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 13, 4906, 11, 37902, 4663, 891, 7203, 5450, 1378, 73, 7752, 998, 13, 2188, 13, 34523, 14, 4354, 14, 4906, 14, 6030, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 46424, 2, 628, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 20613, 58, 9945, 62, 9900, 60, 628, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 16942, 14, 2998, 14, 4883, 2, 31642, 1722, 12340, 37902, 4663, 891, 7, 9945, 62, 9900, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4023, 1378, 9945, 50235, 13, 2398, 14, 756, 1435, 14, 400, 20566, 1, 287, 26181, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 15952, 2611, 13, 2398, 14, 9060, 12340, 37902, 4663, 891, 7, 26801, 14692, 4023, 1378, 9945, 50235, 13, 2398, 14, 756, 1435, 14, 400, 20566, 1, 7131, 15, 7131, 1, 8367, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 11024, 14, 486, 14, 4372, 69, 12, 15952, 2611, 2, 18242, 1, 287, 26181, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14722, 796, 26181, 14692, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 11024, 14, 486, 14, 4372, 69, 12, 15952, 2611, 2, 18242, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 6167, 287, 14722, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6167, 14692, 17204, 8973, 6624, 366, 6592, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 371, 8068, 50, 13, 18242, 11, 25659, 1691, 7, 18242, 14692, 8367, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 11024, 14, 486, 14, 4372, 69, 12, 15952, 2611, 2, 23893, 1, 287, 26181, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14722, 796, 26181, 14692, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 11024, 14, 486, 14, 4372, 69, 12, 15952, 2611, 2, 23893, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 6167, 287, 14722, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 15952, 2611, 13, 2398, 14, 11213, 12340, 25659, 1691, 7, 18242, 14692, 8367, 33116, 42392, 28, 18242, 14692, 17204, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 16942, 14, 2998, 14, 4883, 2, 31642, 1722, 1, 287, 26181, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14722, 796, 26181, 14692, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 16942, 14, 2998, 14, 4883, 2, 31642, 1722, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 6167, 287, 14722, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 6167, 14692, 8367, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4023, 1378, 9945, 50235, 13, 2398, 1, 287, 1988, 393, 366, 4023, 1378, 6592, 13, 9945, 50235, 13, 2398, 1, 287, 1988, 393, 366, 2503, 13, 20763, 312, 1045, 13, 2398, 1, 287, 1988, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 2503, 13, 86, 18, 13, 2398, 14, 16942, 14, 2998, 14, 4883, 2, 31642, 1722, 12340, 37902, 4663, 891, 7, 8367, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 4122, 1, 287, 26181, 290, 21231, 6624, 366, 5372, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 26181, 14692, 4122, 1, 7131, 1, 8367, 1, 4083, 35312, 7203, 366, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 751, 10082, 78, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40087, 52, 380, 796, 751, 10082, 78, 15090, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 15460, 1, 1058, 12178, 7, 8367, 58, 15, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6511, 1298, 12178, 7, 8367, 58, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32092, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 15952, 2611, 13, 2398, 14, 469, 78, 12340, 40087, 52, 380, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 35488, 407, 287, 4113, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4113, 58, 37333, 844, 60, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 15460, 1, 1058, 12178, 7, 8367, 58, 15, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6511, 1298, 12178, 7, 8367, 58, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 300, 77, 62, 2398, 14512, 13538, 290, 300, 77, 14512, 300, 77, 62, 2398, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 16762, 796, 357, 32796, 11, 37902, 4663, 891, 7203, 4023, 1378, 15952, 2611, 13, 2398, 14, 3672, 12340, 25659, 1691, 7, 18755, 62, 2398, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 477, 13, 2860, 7, 301, 16762, 8, 198, 198, 6978, 796, 366, 7890, 14, 439, 13, 17752, 1, 198, 198, 439, 13, 46911, 1096, 7, 16520, 1883, 28, 6978, 11, 5794, 11639, 17752, 12, 335, 11537, 198, 439, 13, 46911, 1096, 7, 16520, 1883, 28, 6978, 13, 33491, 7, 1911, 17752, 1600, 27071, 4372, 69, 12340, 5794, 11639, 37784, 12, 19875, 11537 ]
1.87775
3,182
import unittest try: from unittest.mock import * except ImportError: from mock import * from msgpack import * import bootloader_read_config from commands import * import sys import json
[ 11748, 555, 715, 395, 198, 198, 28311, 25, 198, 220, 220, 220, 422, 555, 715, 395, 13, 76, 735, 1330, 1635, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 422, 15290, 1330, 1635, 198, 198, 6738, 31456, 8002, 1330, 1635, 198, 198, 11748, 6297, 29356, 62, 961, 62, 11250, 198, 6738, 9729, 1330, 1635, 198, 11748, 25064, 198, 11748, 33918, 628, 198 ]
3.15873
63
import logging from asyncio import sleep import discord from discord.ext import commands from config import SETTINGS from crew import crew_embed from diary import diary_embed from film import film_embed from helpers import LetterboxdError from list_ import list_embed from review import review_embed from user import user_embed logging.basicConfig( level=logging.INFO, format='%(asctime)s | %(message)s', datefmt='%m/%d %H:%M:%S') bot = commands.Bot(command_prefix='!', case_insensitive=True) bot.remove_command('help') # Commands bot.run(SETTINGS['discord'])
[ 11748, 18931, 198, 6738, 30351, 952, 1330, 3993, 198, 198, 11748, 36446, 198, 6738, 36446, 13, 2302, 1330, 9729, 198, 6738, 4566, 1330, 25823, 51, 20754, 198, 6738, 5462, 1330, 5462, 62, 20521, 198, 6738, 26339, 1330, 26339, 62, 20521, 198, 6738, 2646, 1330, 2646, 62, 20521, 198, 6738, 49385, 1330, 18121, 3524, 67, 12331, 198, 6738, 1351, 62, 1330, 1351, 62, 20521, 198, 6738, 2423, 1330, 2423, 62, 20521, 198, 6738, 2836, 1330, 2836, 62, 20521, 198, 198, 6404, 2667, 13, 35487, 16934, 7, 198, 220, 220, 220, 1241, 28, 6404, 2667, 13, 10778, 11, 198, 220, 220, 220, 5794, 11639, 4, 7, 292, 310, 524, 8, 82, 930, 4064, 7, 20500, 8, 82, 3256, 198, 220, 220, 220, 3128, 69, 16762, 11639, 4, 76, 14, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 198, 198, 13645, 796, 9729, 13, 20630, 7, 21812, 62, 40290, 11639, 0, 3256, 1339, 62, 1040, 18464, 28, 17821, 8, 198, 13645, 13, 28956, 62, 21812, 10786, 16794, 11537, 628, 628, 628, 198, 198, 2, 49505, 628, 628, 628, 628, 628, 198, 198, 13645, 13, 5143, 7, 28480, 51, 20754, 17816, 15410, 585, 6, 12962, 198 ]
3.041026
195
import asyncio import logging import time from typing import Set, List, Tuple, Optional, TYPE_CHECKING import uuid import ray from ray.experimental.workflow import workflow_context from ray.experimental.workflow import workflow_storage from ray.experimental.workflow.common import (Workflow, WorkflowStatus, WorkflowMetaData, StepType) from ray.experimental.workflow.step_executor import commit_step from ray.experimental.workflow.storage import get_global_storage from ray.experimental.workflow.workflow_access import ( flatten_workflow_output, get_or_create_management_actor, get_management_actor) if TYPE_CHECKING: from ray.experimental.workflow.step_executor import WorkflowExecutionResult logger = logging.getLogger(__name__) def run(entry_workflow: Workflow, workflow_id: Optional[str] = None, overwrite: bool = True) -> ray.ObjectRef: """Run a workflow asynchronously. # TODO(suquark): The current "run" always overwrite existing workflow. # We need to fix this later. """ store = get_global_storage() assert ray.is_initialized() if workflow_id is None: # Workflow ID format: {Entry workflow UUID}.{Unix time to nanoseconds} workflow_id = f"{str(uuid.uuid4())}.{time.time():.9f}" logger.info(f"Workflow job created. [id=\"{workflow_id}\", storage_url=" f"\"{store.storage_url}\"].") with workflow_context.workflow_step_context(workflow_id, store.storage_url): # checkpoint the workflow ws = workflow_storage.get_workflow_storage(workflow_id) commit_step(ws, "", entry_workflow) workflow_manager = get_or_create_management_actor() ignore_existing = (entry_workflow.data.step_type != StepType.FUNCTION) # NOTE: It is important to 'ray.get' the returned output. This # ensures caller of 'run()' holds the reference to the workflow # result. Otherwise if the actor removes the reference of the # workflow output, the caller may fail to resolve the result. result: "WorkflowExecutionResult" = ray.get( workflow_manager.run_or_resume.remote(workflow_id, ignore_existing)) if entry_workflow.data.step_type == StepType.FUNCTION: return flatten_workflow_output(workflow_id, result.persisted_output) else: return flatten_workflow_output(workflow_id, result.volatile_output) # TODO(suquark): support recovery with ObjectRef inputs. def resume(workflow_id: str) -> ray.ObjectRef: """Resume a workflow asynchronously. See "api.resume()" for details. """ storage = get_global_storage() logger.info(f"Resuming workflow [id=\"{workflow_id}\", storage_url=" f"\"{storage.storage_url}\"].") workflow_manager = get_or_create_management_actor() # NOTE: It is important to 'ray.get' the returned output. This # ensures caller of 'run()' holds the reference to the workflow # result. Otherwise if the actor removes the reference of the # workflow output, the caller may fail to resolve the result. result: "WorkflowExecutionResult" = ray.get( workflow_manager.run_or_resume.remote( workflow_id, ignore_existing=False)) logger.info(f"Workflow job {workflow_id} resumed.") return flatten_workflow_output(workflow_id, result.persisted_output) def get_output(workflow_id: str, name: Optional[str]) -> ray.ObjectRef: """Get the output of a running workflow. See "api.get_output()" for details. """ assert ray.is_initialized() try: workflow_manager = get_management_actor() except ValueError as e: raise ValueError( "Failed to connect to the workflow management " "actor. The workflow could have already failed. You can use " "workflow.resume() to resume the workflow.") from e output = ray.get(workflow_manager.get_output.remote(workflow_id, name)) return flatten_workflow_output(workflow_id, output)
[ 11748, 30351, 952, 198, 11748, 18931, 198, 11748, 640, 198, 6738, 19720, 1330, 5345, 11, 7343, 11, 309, 29291, 11, 32233, 11, 41876, 62, 50084, 2751, 198, 11748, 334, 27112, 198, 198, 11748, 26842, 198, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 1330, 30798, 62, 22866, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 1330, 30798, 62, 35350, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 13, 11321, 1330, 357, 12468, 11125, 11, 5521, 11125, 19580, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5521, 11125, 48526, 6601, 11, 5012, 6030, 8, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 13, 9662, 62, 18558, 38409, 1330, 4589, 62, 9662, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 13, 35350, 1330, 651, 62, 20541, 62, 35350, 198, 6738, 26842, 13, 23100, 9134, 13, 1818, 11125, 13, 1818, 11125, 62, 15526, 1330, 357, 198, 220, 220, 220, 27172, 268, 62, 1818, 11125, 62, 22915, 11, 651, 62, 273, 62, 17953, 62, 27604, 62, 11218, 11, 198, 220, 220, 220, 651, 62, 27604, 62, 11218, 8, 198, 198, 361, 41876, 62, 50084, 2751, 25, 198, 220, 220, 220, 422, 26842, 13, 23100, 9134, 13, 1818, 11125, 13, 9662, 62, 18558, 38409, 1330, 5521, 11125, 23002, 1009, 23004, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 4299, 1057, 7, 13000, 62, 1818, 11125, 25, 5521, 11125, 11, 198, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 312, 25, 32233, 58, 2536, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 49312, 25, 20512, 796, 6407, 8, 4613, 26842, 13, 10267, 8134, 25, 198, 220, 220, 220, 37227, 10987, 257, 30798, 355, 24871, 3481, 13, 628, 220, 220, 220, 1303, 16926, 46, 7, 2385, 421, 668, 2599, 383, 1459, 366, 5143, 1, 1464, 49312, 4683, 30798, 13, 198, 220, 220, 220, 1303, 775, 761, 284, 4259, 428, 1568, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3650, 796, 651, 62, 20541, 62, 35350, 3419, 198, 220, 220, 220, 6818, 26842, 13, 271, 62, 17532, 3419, 198, 220, 220, 220, 611, 30798, 62, 312, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5521, 11125, 4522, 5794, 25, 1391, 30150, 30798, 471, 27586, 27422, 90, 47000, 640, 284, 15709, 577, 17561, 82, 92, 198, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 312, 796, 277, 1, 90, 2536, 7, 12303, 312, 13, 12303, 312, 19, 28955, 27422, 90, 2435, 13, 2435, 33529, 13, 24, 69, 36786, 198, 220, 220, 220, 49706, 13, 10951, 7, 69, 1, 12468, 11125, 1693, 2727, 13, 685, 312, 17553, 90, 1818, 11125, 62, 312, 32239, 1600, 6143, 62, 6371, 2625, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 7879, 90, 8095, 13, 35350, 62, 6371, 92, 7879, 60, 19570, 628, 220, 220, 220, 351, 30798, 62, 22866, 13, 1818, 11125, 62, 9662, 62, 22866, 7, 1818, 11125, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 13, 35350, 62, 6371, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 26954, 262, 30798, 198, 220, 220, 220, 220, 220, 220, 220, 266, 82, 796, 30798, 62, 35350, 13, 1136, 62, 1818, 11125, 62, 35350, 7, 1818, 11125, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4589, 62, 9662, 7, 18504, 11, 366, 1600, 5726, 62, 1818, 11125, 8, 198, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 37153, 796, 651, 62, 273, 62, 17953, 62, 27604, 62, 11218, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 25687, 796, 357, 13000, 62, 1818, 11125, 13, 7890, 13, 9662, 62, 4906, 14512, 5012, 6030, 13, 42296, 4177, 2849, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 24550, 25, 632, 318, 1593, 284, 705, 2433, 13, 1136, 6, 262, 4504, 5072, 13, 770, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 19047, 24955, 286, 705, 5143, 3419, 6, 6622, 262, 4941, 284, 262, 30798, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1255, 13, 15323, 611, 262, 8674, 20694, 262, 4941, 286, 262, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 30798, 5072, 11, 262, 24955, 743, 2038, 284, 10568, 262, 1255, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 25, 366, 12468, 11125, 23002, 1009, 23004, 1, 796, 26842, 13, 1136, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 37153, 13, 5143, 62, 273, 62, 411, 2454, 13, 47960, 7, 1818, 11125, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 25687, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5726, 62, 1818, 11125, 13, 7890, 13, 9662, 62, 4906, 6624, 5012, 6030, 13, 42296, 4177, 2849, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 27172, 268, 62, 1818, 11125, 62, 22915, 7, 1818, 11125, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 19276, 6347, 62, 22915, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 27172, 268, 62, 1818, 11125, 62, 22915, 7, 1818, 11125, 62, 312, 11, 1255, 13, 10396, 12610, 62, 22915, 8, 628, 198, 2, 16926, 46, 7, 2385, 421, 668, 2599, 1104, 7628, 351, 9515, 8134, 17311, 13, 198, 4299, 15294, 7, 1818, 11125, 62, 312, 25, 965, 8, 4613, 26842, 13, 10267, 8134, 25, 198, 220, 220, 220, 37227, 4965, 2454, 257, 30798, 355, 24871, 3481, 13, 4091, 366, 15042, 13, 411, 2454, 3419, 1, 329, 3307, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6143, 796, 651, 62, 20541, 62, 35350, 3419, 198, 220, 220, 220, 49706, 13, 10951, 7, 69, 1, 4965, 12595, 30798, 685, 312, 17553, 90, 1818, 11125, 62, 312, 32239, 1600, 6143, 62, 6371, 2625, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 7879, 90, 35350, 13, 35350, 62, 6371, 92, 7879, 60, 19570, 198, 220, 220, 220, 30798, 62, 37153, 796, 651, 62, 273, 62, 17953, 62, 27604, 62, 11218, 3419, 198, 220, 220, 220, 1303, 24550, 25, 632, 318, 1593, 284, 705, 2433, 13, 1136, 6, 262, 4504, 5072, 13, 770, 198, 220, 220, 220, 1303, 19047, 24955, 286, 705, 5143, 3419, 6, 6622, 262, 4941, 284, 262, 30798, 198, 220, 220, 220, 1303, 1255, 13, 15323, 611, 262, 8674, 20694, 262, 4941, 286, 262, 198, 220, 220, 220, 1303, 30798, 5072, 11, 262, 24955, 743, 2038, 284, 10568, 262, 1255, 13, 198, 220, 220, 220, 1255, 25, 366, 12468, 11125, 23002, 1009, 23004, 1, 796, 26842, 13, 1136, 7, 198, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 37153, 13, 5143, 62, 273, 62, 411, 2454, 13, 47960, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 312, 11, 8856, 62, 25687, 28, 25101, 4008, 198, 220, 220, 220, 49706, 13, 10951, 7, 69, 1, 12468, 11125, 1693, 1391, 1818, 11125, 62, 312, 92, 28291, 19570, 198, 220, 220, 220, 1441, 27172, 268, 62, 1818, 11125, 62, 22915, 7, 1818, 11125, 62, 312, 11, 1255, 13, 19276, 6347, 62, 22915, 8, 628, 198, 4299, 651, 62, 22915, 7, 1818, 11125, 62, 312, 25, 965, 11, 1438, 25, 32233, 58, 2536, 12962, 4613, 26842, 13, 10267, 8134, 25, 198, 220, 220, 220, 37227, 3855, 262, 5072, 286, 257, 2491, 30798, 13, 198, 220, 220, 220, 4091, 366, 15042, 13, 1136, 62, 22915, 3419, 1, 329, 3307, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6818, 26842, 13, 271, 62, 17532, 3419, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 30798, 62, 37153, 796, 651, 62, 27604, 62, 11218, 3419, 198, 220, 220, 220, 2845, 11052, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 37, 6255, 284, 2018, 284, 262, 30798, 4542, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11218, 13, 383, 30798, 714, 423, 1541, 4054, 13, 921, 460, 779, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1818, 11125, 13, 411, 2454, 3419, 284, 15294, 262, 30798, 19570, 422, 304, 198, 220, 220, 220, 5072, 796, 26842, 13, 1136, 7, 1818, 11125, 62, 37153, 13, 1136, 62, 22915, 13, 47960, 7, 1818, 11125, 62, 312, 11, 1438, 4008, 198, 220, 220, 220, 1441, 27172, 268, 62, 1818, 11125, 62, 22915, 7, 1818, 11125, 62, 312, 11, 5072, 8, 628, 628, 198 ]
2.580247
1,620
from .compose import Compose # noqa from .signature import BinarySignature, Signature, MemorySignature # noqa from .username import UsernameToken # noqa
[ 6738, 764, 785, 3455, 1330, 3082, 577, 220, 1303, 645, 20402, 198, 6738, 764, 12683, 1300, 1330, 45755, 11712, 1300, 11, 34894, 11, 14059, 11712, 1300, 220, 1303, 645, 20402, 198, 6738, 764, 29460, 1330, 50069, 30642, 220, 1303, 645, 20402, 198 ]
3.714286
42
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt dt=0.1 t = np.arange(0,10,dt) y0=np.array([10, 0.0, 10, 10]) sol_rk4=RK4_int(orbit,y0,t) x,y,v_x,v_y = sol_rk4.T plt.grid() plt.plot(x,y) plt.show()
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 201, 198, 201, 198, 201, 198, 201, 198, 28664, 28, 15, 13, 16, 201, 198, 83, 796, 45941, 13, 283, 858, 7, 15, 11, 940, 11, 28664, 8, 201, 198, 88, 15, 28, 37659, 13, 18747, 26933, 940, 11, 657, 13, 15, 11, 838, 11, 838, 12962, 201, 198, 201, 198, 34453, 62, 81, 74, 19, 28, 49, 42, 19, 62, 600, 7, 42594, 11, 88, 15, 11, 83, 8, 201, 198, 87, 11, 88, 11, 85, 62, 87, 11, 85, 62, 88, 796, 1540, 62, 81, 74, 19, 13, 51, 201, 198, 489, 83, 13, 25928, 3419, 201, 198, 489, 83, 13, 29487, 7, 87, 11, 88, 8, 201, 198, 489, 83, 13, 12860, 3419, 201, 198 ]
1.62
150
import os from django.apps import apps from django.core.management.base import BaseCommand from factory_generator.generator import FactoryAppGenerator
[ 11748, 28686, 198, 198, 6738, 42625, 14208, 13, 18211, 1330, 6725, 198, 6738, 42625, 14208, 13, 7295, 13, 27604, 13, 8692, 1330, 7308, 21575, 198, 198, 6738, 8860, 62, 8612, 1352, 13, 8612, 1352, 1330, 19239, 4677, 8645, 1352, 628 ]
3.85
40
#!/usr/bin/env python # # Copyright (c) 2017 10X Genomics, Inc. All rights reserved. # import cellranger.analysis.diffexp as cr_diffexp import cellranger.analysis.io as analysis_io from cellranger.analysis.singlegenome import SingleGenomeAnalysis import cellranger.h5_constants as h5_constants import cellranger.analysis.constants as analysis_constants import cellranger.matrix as cr_matrix import cellranger.io as cr_io import cellranger.library_constants as lib_constants NUM_THREADS_MIN = 4 #TODO Not clear why this stage takes > 1 thread. Martian thinks it does and kills it on long jobs __MRO__ = """ stage RUN_DIFFERENTIAL_EXPRESSION( in h5 matrix_h5, in h5 clustering_h5, in bool skip, in int random_seed, in int max_clusters, out h5 diffexp_h5, out path diffexp_csv, src py "stages/analyzer/run_differential_expression", ) split using ( in string clustering_key, ) """
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 198, 2, 15069, 357, 66, 8, 2177, 838, 55, 5215, 31994, 11, 3457, 13, 1439, 2489, 10395, 13, 198, 2, 198, 198, 11748, 2685, 81, 2564, 13, 20930, 13, 26069, 11201, 355, 1067, 62, 26069, 11201, 198, 11748, 2685, 81, 2564, 13, 20930, 13, 952, 355, 3781, 62, 952, 198, 6738, 2685, 81, 2564, 13, 20930, 13, 12215, 1455, 268, 462, 1330, 14206, 13746, 462, 32750, 198, 11748, 2685, 81, 2564, 13, 71, 20, 62, 9979, 1187, 355, 289, 20, 62, 9979, 1187, 198, 11748, 2685, 81, 2564, 13, 20930, 13, 9979, 1187, 355, 3781, 62, 9979, 1187, 198, 11748, 2685, 81, 2564, 13, 6759, 8609, 355, 1067, 62, 6759, 8609, 198, 11748, 2685, 81, 2564, 13, 952, 355, 1067, 62, 952, 198, 11748, 2685, 81, 2564, 13, 32016, 62, 9979, 1187, 355, 9195, 62, 9979, 1187, 198, 198, 41359, 62, 4221, 15675, 50, 62, 23678, 796, 604, 198, 2, 51, 3727, 46, 1892, 1598, 1521, 428, 3800, 2753, 1875, 352, 4704, 13, 32508, 6834, 340, 857, 290, 12847, 340, 319, 890, 3946, 198, 198, 834, 44, 13252, 834, 796, 37227, 198, 14247, 32494, 62, 35, 5064, 24302, 3525, 12576, 62, 6369, 32761, 2849, 7, 198, 220, 220, 220, 287, 220, 289, 20, 220, 220, 220, 220, 17593, 62, 71, 20, 11, 198, 220, 220, 220, 287, 220, 289, 20, 220, 220, 220, 220, 32966, 1586, 62, 71, 20, 11, 198, 220, 220, 220, 287, 220, 20512, 220, 220, 14267, 11, 198, 220, 220, 220, 287, 220, 493, 220, 220, 220, 4738, 62, 28826, 11, 198, 220, 220, 220, 287, 220, 493, 220, 220, 220, 3509, 62, 565, 13654, 11, 198, 220, 220, 220, 503, 289, 20, 220, 220, 220, 220, 814, 11201, 62, 71, 20, 11, 198, 220, 220, 220, 503, 3108, 220, 220, 814, 11201, 62, 40664, 11, 198, 220, 220, 220, 12351, 12972, 220, 220, 220, 220, 366, 301, 1095, 14, 38200, 9107, 14, 5143, 62, 39799, 498, 62, 38011, 1600, 198, 8, 6626, 1262, 357, 198, 220, 220, 220, 287, 220, 4731, 32966, 1586, 62, 2539, 11, 198, 8, 198, 37811, 198 ]
2.662921
356
from sympy.combinatorics import Permutation from sympy.combinatorics.util import _distribute_gens_by_base rmul = Permutation.rmul def _cmp_perm_lists(first, second): """ Compare two lists of permutations as sets. This is used for testing purposes. Since the array form of a permutation is currently a list, Permutation is not hashable and cannot be put into a set. Examples ======== >>> from sympy.combinatorics.permutations import Permutation >>> from sympy.combinatorics.testutil import _cmp_perm_lists >>> a = Permutation([0, 2, 3, 4, 1]) >>> b = Permutation([1, 2, 0, 4, 3]) >>> c = Permutation([3, 4, 0, 1, 2]) >>> ls1 = [a, b, c] >>> ls2 = [b, c, a] >>> _cmp_perm_lists(ls1, ls2) True """ return {tuple(a) for a in first} == \ {tuple(a) for a in second} def _verify_bsgs(group, base, gens): """ Verify the correctness of a base and strong generating set. This is a naive implementation using the definition of a base and a strong generating set relative to it. There are other procedures for verifying a base and strong generating set, but this one will serve for more robust testing. Examples ======== >>> from sympy.combinatorics.named_groups import AlternatingGroup >>> from sympy.combinatorics.testutil import _verify_bsgs >>> A = AlternatingGroup(4) >>> A.schreier_sims() >>> _verify_bsgs(A, A.base, A.strong_gens) True See Also ======== sympy.combinatorics.perm_groups.PermutationGroup.schreier_sims """ from sympy.combinatorics.perm_groups import PermutationGroup strong_gens_distr = _distribute_gens_by_base(base, gens) current_stabilizer = group for i in range(len(base)): candidate = PermutationGroup(strong_gens_distr[i]) if current_stabilizer.order() != candidate.order(): return False current_stabilizer = current_stabilizer.stabilizer(base[i]) if current_stabilizer.order() != 1: return False return True def _verify_centralizer(group, arg, centr=None): """ Verify the centralizer of a group/set/element inside another group. This is used for testing ``.centralizer()`` from ``sympy.combinatorics.perm_groups`` Examples ======== >>> from sympy.combinatorics.named_groups import (SymmetricGroup, ... AlternatingGroup) >>> from sympy.combinatorics.perm_groups import PermutationGroup >>> from sympy.combinatorics.permutations import Permutation >>> from sympy.combinatorics.testutil import _verify_centralizer >>> S = SymmetricGroup(5) >>> A = AlternatingGroup(5) >>> centr = PermutationGroup([Permutation([0, 1, 2, 3, 4])]) >>> _verify_centralizer(S, A, centr) True See Also ======== _naive_list_centralizer, sympy.combinatorics.perm_groups.PermutationGroup.centralizer, _cmp_perm_lists """ if centr is None: centr = group.centralizer(arg) centr_list = list(centr.generate_dimino(af=True)) centr_list_naive = _naive_list_centralizer(group, arg, af=True) return _cmp_perm_lists(centr_list, centr_list_naive) def canonicalize_naive(g, dummies, sym, *v): """ Canonicalize tensor formed by tensors of the different types g permutation representing the tensor dummies list of dummy indices msym symmetry of the metric v is a list of (base_i, gens_i, n_i, sym_i) for tensors of type `i` base_i, gens_i BSGS for tensors of this type n_i number ot tensors of type `i` sym_i symmetry under exchange of two component tensors of type `i` None no symmetry 0 commuting 1 anticommuting Return 0 if the tensor is zero, else return the array form of the permutation representing the canonical form of the tensor. Examples ======== >>> from sympy.combinatorics.testutil import canonicalize_naive >>> from sympy.combinatorics.tensor_can import get_symmetric_group_sgs >>> from sympy.combinatorics import Permutation, PermutationGroup >>> g = Permutation([1, 3, 2, 0, 4, 5]) >>> base2, gens2 = get_symmetric_group_sgs(2) >>> canonicalize_naive(g, [2, 3], 0, (base2, gens2, 2, 0)) [0, 2, 1, 3, 4, 5] """ from sympy.combinatorics.perm_groups import PermutationGroup from sympy.combinatorics.tensor_can import gens_products, dummy_sgs from sympy.combinatorics.permutations import Permutation, _af_rmul v1 = [] for i in range(len(v)): base_i, gens_i, n_i, sym_i = v[i] v1.append((base_i, gens_i, [[]]*n_i, sym_i)) size, sbase, sgens = gens_products(*v1) dgens = dummy_sgs(dummies, sym, size-2) if isinstance(sym, int): num_types = 1 dummies = [dummies] sym = [sym] else: num_types = len(sym) dgens = [] for i in range(num_types): dgens.extend(dummy_sgs(dummies[i], sym[i], size - 2)) S = PermutationGroup(sgens) D = PermutationGroup([Permutation(x) for x in dgens]) dlist = list(D.generate(af=True)) g = g.array_form st = set() for s in S.generate(af=True): h = _af_rmul(g, s) for d in dlist: q = tuple(_af_rmul(d, h)) st.add(q) a = list(st) a.sort() prev = (0,)*size for h in a: if h[:-2] == prev[:-2]: if h[-1] != prev[-1]: return 0 prev = h return list(a[0]) def graph_certificate(gr): """ Return a certificate for the graph gr adjacency list The graph is assumed to be unoriented and without external lines. Associate to each vertex of the graph a symmetric tensor with number of indices equal to the degree of the vertex; indices are contracted when they correspond to the same line of the graph. The canonical form of the tensor gives a certificate for the graph. This is not an efficient algorithm to get the certificate of a graph. Examples ======== >>> from sympy.combinatorics.testutil import graph_certificate >>> gr1 = {0:[1, 2, 3, 5], 1:[0, 2, 4], 2:[0, 1, 3, 4], 3:[0, 2, 4], 4:[1, 2, 3, 5], 5:[0, 4]} >>> gr2 = {0:[1, 5], 1:[0, 2, 3, 4], 2:[1, 3, 5], 3:[1, 2, 4, 5], 4:[1, 3, 5], 5:[0, 2, 3, 4]} >>> c1 = graph_certificate(gr1) >>> c2 = graph_certificate(gr2) >>> c1 [0, 2, 4, 6, 1, 8, 10, 12, 3, 14, 16, 18, 5, 9, 15, 7, 11, 17, 13, 19, 20, 21] >>> c1 == c2 True """ from sympy.combinatorics.permutations import _af_invert from sympy.combinatorics.tensor_can import get_symmetric_group_sgs, canonicalize items = list(gr.items()) items.sort(key=lambda x: len(x[1]), reverse=True) pvert = [x[0] for x in items] pvert = _af_invert(pvert) # the indices of the tensor are twice the number of lines of the graph num_indices = 0 for v, neigh in items: num_indices += len(neigh) # associate to each vertex its indices; for each line # between two vertices assign the # even index to the vertex which comes first in items, # the odd index to the other vertex vertices = [[] for i in items] i = 0 for v, neigh in items: for v2 in neigh: if pvert[v] < pvert[v2]: vertices[pvert[v]].append(i) vertices[pvert[v2]].append(i+1) i += 2 g = [] for v in vertices: g.extend(v) assert len(g) == num_indices g += [num_indices, num_indices + 1] size = num_indices + 2 assert sorted(g) == list(range(size)) g = Permutation(g) vlen = [0]*(len(vertices[0])+1) for neigh in vertices: vlen[len(neigh)] += 1 v = [] for i in range(len(vlen)): n = vlen[i] if n: base, gens = get_symmetric_group_sgs(i) v.append((base, gens, n, 0)) v.reverse() dummies = list(range(num_indices)) can = canonicalize(g, dummies, 0, *v) return can
[ 6738, 10558, 88, 13, 785, 8800, 1352, 873, 1330, 2448, 76, 7094, 198, 6738, 10558, 88, 13, 785, 8800, 1352, 873, 13, 22602, 1330, 4808, 17080, 4163, 62, 70, 641, 62, 1525, 62, 8692, 198, 198, 26224, 377, 796, 2448, 76, 7094, 13, 26224, 377, 628, 198, 4299, 4808, 48991, 62, 16321, 62, 20713, 7, 11085, 11, 1218, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27814, 734, 8341, 286, 9943, 32855, 355, 5621, 13, 628, 220, 220, 220, 770, 318, 973, 329, 4856, 4959, 13, 4619, 262, 7177, 1296, 286, 257, 198, 220, 220, 220, 9943, 7094, 318, 3058, 257, 1351, 11, 2448, 76, 7094, 318, 407, 12234, 540, 198, 220, 220, 220, 290, 2314, 307, 1234, 656, 257, 900, 13, 628, 220, 220, 220, 21066, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 32855, 1330, 2448, 76, 7094, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 9288, 22602, 1330, 4808, 48991, 62, 16321, 62, 20713, 198, 220, 220, 220, 13163, 257, 796, 2448, 76, 7094, 26933, 15, 11, 362, 11, 513, 11, 604, 11, 352, 12962, 198, 220, 220, 220, 13163, 275, 796, 2448, 76, 7094, 26933, 16, 11, 362, 11, 657, 11, 604, 11, 513, 12962, 198, 220, 220, 220, 13163, 269, 796, 2448, 76, 7094, 26933, 18, 11, 604, 11, 657, 11, 352, 11, 362, 12962, 198, 220, 220, 220, 13163, 43979, 16, 796, 685, 64, 11, 275, 11, 269, 60, 198, 220, 220, 220, 13163, 43979, 17, 796, 685, 65, 11, 269, 11, 257, 60, 198, 220, 220, 220, 13163, 4808, 48991, 62, 16321, 62, 20713, 7, 7278, 16, 11, 43979, 17, 8, 198, 220, 220, 220, 6407, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 1391, 83, 29291, 7, 64, 8, 329, 257, 287, 717, 92, 6624, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 83, 29291, 7, 64, 8, 329, 257, 287, 1218, 92, 628, 198, 198, 4299, 4808, 332, 1958, 62, 1443, 14542, 7, 8094, 11, 2779, 11, 308, 641, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 49899, 262, 29409, 286, 257, 2779, 290, 1913, 15453, 900, 13, 628, 220, 220, 220, 770, 318, 257, 24354, 7822, 1262, 262, 6770, 286, 257, 2779, 290, 257, 1913, 198, 220, 220, 220, 15453, 900, 3585, 284, 340, 13, 1318, 389, 584, 9021, 329, 198, 220, 220, 220, 45505, 257, 2779, 290, 1913, 15453, 900, 11, 475, 428, 530, 481, 198, 220, 220, 220, 4691, 329, 517, 12373, 4856, 13, 628, 220, 220, 220, 21066, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 13190, 62, 24432, 1330, 13243, 803, 13247, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 9288, 22602, 1330, 4808, 332, 1958, 62, 1443, 14542, 198, 220, 220, 220, 13163, 317, 796, 13243, 803, 13247, 7, 19, 8, 198, 220, 220, 220, 13163, 317, 13, 20601, 260, 959, 62, 82, 12078, 3419, 198, 220, 220, 220, 13163, 4808, 332, 1958, 62, 1443, 14542, 7, 32, 11, 317, 13, 8692, 11, 317, 13, 11576, 62, 70, 641, 8, 198, 220, 220, 220, 6407, 628, 220, 220, 220, 4091, 4418, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 13, 5990, 76, 7094, 13247, 13, 20601, 260, 959, 62, 82, 12078, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 1330, 2448, 76, 7094, 13247, 198, 220, 220, 220, 1913, 62, 70, 641, 62, 17080, 81, 796, 4808, 17080, 4163, 62, 70, 641, 62, 1525, 62, 8692, 7, 8692, 11, 308, 641, 8, 198, 220, 220, 220, 1459, 62, 301, 14991, 7509, 796, 1448, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 8692, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 4540, 796, 2448, 76, 7094, 13247, 7, 11576, 62, 70, 641, 62, 17080, 81, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1459, 62, 301, 14991, 7509, 13, 2875, 3419, 14512, 4540, 13, 2875, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 301, 14991, 7509, 796, 1459, 62, 301, 14991, 7509, 13, 301, 14991, 7509, 7, 8692, 58, 72, 12962, 198, 220, 220, 220, 611, 1459, 62, 301, 14991, 7509, 13, 2875, 3419, 14512, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 1441, 6407, 628, 198, 4299, 4808, 332, 1958, 62, 31463, 7509, 7, 8094, 11, 1822, 11, 27435, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 49899, 262, 4318, 7509, 286, 257, 1448, 14, 2617, 14, 30854, 2641, 1194, 1448, 13, 628, 220, 220, 220, 770, 318, 973, 329, 4856, 7559, 13, 31463, 7509, 3419, 15506, 422, 198, 220, 220, 220, 7559, 1837, 3149, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 15506, 628, 220, 220, 220, 21066, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 13190, 62, 24432, 1330, 357, 13940, 3020, 19482, 13247, 11, 198, 220, 220, 220, 2644, 13243, 803, 13247, 8, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 1330, 2448, 76, 7094, 13247, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 32855, 1330, 2448, 76, 7094, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 9288, 22602, 1330, 4808, 332, 1958, 62, 31463, 7509, 198, 220, 220, 220, 13163, 311, 796, 1632, 3020, 19482, 13247, 7, 20, 8, 198, 220, 220, 220, 13163, 317, 796, 13243, 803, 13247, 7, 20, 8, 198, 220, 220, 220, 13163, 27435, 796, 2448, 76, 7094, 13247, 26933, 5990, 76, 7094, 26933, 15, 11, 352, 11, 362, 11, 513, 11, 604, 12962, 12962, 198, 220, 220, 220, 13163, 4808, 332, 1958, 62, 31463, 7509, 7, 50, 11, 317, 11, 27435, 8, 198, 220, 220, 220, 6407, 628, 220, 220, 220, 4091, 4418, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 4808, 2616, 425, 62, 4868, 62, 31463, 7509, 11, 198, 220, 220, 220, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 13, 5990, 76, 7094, 13247, 13, 31463, 7509, 11, 198, 220, 220, 220, 4808, 48991, 62, 16321, 62, 20713, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 27435, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 27435, 796, 1448, 13, 31463, 7509, 7, 853, 8, 198, 220, 220, 220, 27435, 62, 4868, 796, 1351, 7, 1087, 81, 13, 8612, 378, 62, 27740, 2879, 7, 1878, 28, 17821, 4008, 198, 220, 220, 220, 27435, 62, 4868, 62, 2616, 425, 796, 4808, 2616, 425, 62, 4868, 62, 31463, 7509, 7, 8094, 11, 1822, 11, 6580, 28, 17821, 8, 198, 220, 220, 220, 1441, 4808, 48991, 62, 16321, 62, 20713, 7, 1087, 81, 62, 4868, 11, 27435, 62, 4868, 62, 2616, 425, 8, 628, 198, 198, 4299, 40091, 1096, 62, 2616, 425, 7, 70, 11, 288, 39578, 11, 5659, 11, 1635, 85, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 19507, 605, 1096, 11192, 273, 7042, 416, 11192, 669, 286, 262, 1180, 3858, 628, 220, 220, 220, 308, 220, 9943, 7094, 10200, 262, 11192, 273, 198, 220, 220, 220, 288, 39578, 220, 1351, 286, 31548, 36525, 198, 220, 220, 220, 285, 37047, 40686, 286, 262, 18663, 628, 220, 220, 220, 410, 318, 257, 1351, 286, 357, 8692, 62, 72, 11, 308, 641, 62, 72, 11, 299, 62, 72, 11, 5659, 62, 72, 8, 329, 11192, 669, 286, 2099, 4600, 72, 63, 198, 220, 220, 220, 2779, 62, 72, 11, 308, 641, 62, 72, 24218, 14313, 329, 11192, 669, 286, 428, 2099, 198, 220, 220, 220, 299, 62, 72, 220, 1271, 30972, 11192, 669, 286, 2099, 4600, 72, 63, 628, 220, 220, 220, 5659, 62, 72, 40686, 739, 5163, 286, 734, 7515, 11192, 669, 286, 2099, 4600, 72, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6045, 220, 645, 40686, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 220, 220, 220, 45309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 220, 220, 220, 220, 47792, 2002, 15129, 628, 220, 220, 220, 8229, 657, 611, 262, 11192, 273, 318, 6632, 11, 2073, 1441, 262, 7177, 1296, 286, 198, 220, 220, 220, 262, 9943, 7094, 10200, 262, 40091, 1296, 286, 262, 11192, 273, 13, 628, 220, 220, 220, 21066, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 9288, 22602, 1330, 40091, 1096, 62, 2616, 425, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 83, 22854, 62, 5171, 1330, 651, 62, 1837, 3020, 19482, 62, 8094, 62, 82, 14542, 198, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 1330, 2448, 76, 7094, 11, 2448, 76, 7094, 13247, 198, 220, 220, 220, 13163, 308, 796, 2448, 76, 7094, 26933, 16, 11, 513, 11, 362, 11, 657, 11, 604, 11, 642, 12962, 198, 220, 220, 220, 13163, 2779, 17, 11, 308, 641, 17, 796, 651, 62, 1837, 3020, 19482, 62, 8094, 62, 82, 14542, 7, 17, 8, 198, 220, 220, 220, 13163, 40091, 1096, 62, 2616, 425, 7, 70, 11, 685, 17, 11, 513, 4357, 657, 11, 357, 8692, 17, 11, 308, 641, 17, 11, 362, 11, 657, 4008, 198, 220, 220, 220, 685, 15, 11, 362, 11, 352, 11, 513, 11, 604, 11, 642, 60, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 62, 24432, 1330, 2448, 76, 7094, 13247, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 83, 22854, 62, 5171, 1330, 308, 641, 62, 29498, 11, 31548, 62, 82, 14542, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 32855, 1330, 2448, 76, 7094, 11, 4808, 1878, 62, 26224, 377, 198, 220, 220, 220, 410, 16, 796, 17635, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 85, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 72, 11, 308, 641, 62, 72, 11, 299, 62, 72, 11, 5659, 62, 72, 796, 410, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 410, 16, 13, 33295, 19510, 8692, 62, 72, 11, 308, 641, 62, 72, 11, 16410, 11907, 9, 77, 62, 72, 11, 5659, 62, 72, 4008, 198, 220, 220, 220, 2546, 11, 264, 8692, 11, 264, 70, 641, 796, 308, 641, 62, 29498, 46491, 85, 16, 8, 198, 220, 220, 220, 288, 70, 641, 796, 31548, 62, 82, 14542, 7, 67, 39578, 11, 5659, 11, 2546, 12, 17, 8, 198, 220, 220, 220, 611, 318, 39098, 7, 37047, 11, 493, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 19199, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 288, 39578, 796, 685, 67, 39578, 60, 198, 220, 220, 220, 220, 220, 220, 220, 5659, 796, 685, 37047, 60, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 19199, 796, 18896, 7, 37047, 8, 198, 220, 220, 220, 288, 70, 641, 796, 17635, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 22510, 62, 19199, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 288, 70, 641, 13, 2302, 437, 7, 67, 13513, 62, 82, 14542, 7, 67, 39578, 58, 72, 4357, 5659, 58, 72, 4357, 2546, 532, 362, 4008, 198, 220, 220, 220, 311, 796, 2448, 76, 7094, 13247, 7, 45213, 641, 8, 198, 220, 220, 220, 360, 796, 2448, 76, 7094, 13247, 26933, 5990, 76, 7094, 7, 87, 8, 329, 2124, 287, 288, 70, 641, 12962, 198, 220, 220, 220, 288, 4868, 796, 1351, 7, 35, 13, 8612, 378, 7, 1878, 28, 17821, 4008, 198, 220, 220, 220, 308, 796, 308, 13, 18747, 62, 687, 198, 220, 220, 220, 336, 796, 900, 3419, 198, 220, 220, 220, 329, 264, 287, 311, 13, 8612, 378, 7, 1878, 28, 17821, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 289, 796, 4808, 1878, 62, 26224, 377, 7, 70, 11, 264, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 288, 287, 288, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 796, 46545, 28264, 1878, 62, 26224, 377, 7, 67, 11, 289, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 13, 2860, 7, 80, 8, 198, 220, 220, 220, 257, 796, 1351, 7, 301, 8, 198, 220, 220, 220, 257, 13, 30619, 3419, 198, 220, 220, 220, 8654, 796, 357, 15, 11, 27493, 7857, 198, 220, 220, 220, 329, 289, 287, 257, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 289, 58, 21912, 17, 60, 6624, 8654, 58, 21912, 17, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 289, 58, 12, 16, 60, 14512, 8654, 58, 12, 16, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 657, 198, 220, 220, 220, 220, 220, 220, 220, 8654, 796, 289, 198, 220, 220, 220, 1441, 1351, 7, 64, 58, 15, 12962, 628, 198, 4299, 4823, 62, 22583, 22460, 7, 2164, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8229, 257, 10703, 329, 262, 4823, 628, 220, 220, 220, 1036, 9224, 330, 1387, 1351, 628, 220, 220, 220, 383, 4823, 318, 9672, 284, 307, 555, 17107, 290, 1231, 198, 220, 220, 220, 7097, 3951, 13, 628, 220, 220, 220, 22669, 284, 1123, 37423, 286, 262, 4823, 257, 23606, 19482, 11192, 273, 351, 198, 220, 220, 220, 1271, 286, 36525, 4961, 284, 262, 4922, 286, 262, 37423, 26, 36525, 198, 220, 220, 220, 389, 23407, 618, 484, 6053, 284, 262, 976, 1627, 286, 262, 4823, 13, 198, 220, 220, 220, 383, 40091, 1296, 286, 262, 11192, 273, 3607, 257, 10703, 329, 262, 4823, 13, 628, 220, 220, 220, 770, 318, 407, 281, 6942, 11862, 284, 651, 262, 10703, 286, 257, 4823, 13, 628, 220, 220, 220, 21066, 198, 220, 220, 220, 29335, 18604, 628, 220, 220, 220, 13163, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 9288, 22602, 1330, 4823, 62, 22583, 22460, 198, 220, 220, 220, 13163, 1036, 16, 796, 1391, 15, 33250, 16, 11, 362, 11, 513, 11, 642, 4357, 352, 33250, 15, 11, 362, 11, 604, 4357, 362, 33250, 15, 11, 352, 11, 513, 11, 604, 4357, 513, 33250, 15, 11, 362, 11, 604, 4357, 604, 33250, 16, 11, 362, 11, 513, 11, 642, 4357, 642, 33250, 15, 11, 604, 48999, 198, 220, 220, 220, 13163, 1036, 17, 796, 1391, 15, 33250, 16, 11, 642, 4357, 352, 33250, 15, 11, 362, 11, 513, 11, 604, 4357, 362, 33250, 16, 11, 513, 11, 642, 4357, 513, 33250, 16, 11, 362, 11, 604, 11, 642, 4357, 604, 33250, 16, 11, 513, 11, 642, 4357, 642, 33250, 15, 11, 362, 11, 513, 11, 604, 48999, 198, 220, 220, 220, 13163, 269, 16, 796, 4823, 62, 22583, 22460, 7, 2164, 16, 8, 198, 220, 220, 220, 13163, 269, 17, 796, 4823, 62, 22583, 22460, 7, 2164, 17, 8, 198, 220, 220, 220, 13163, 269, 16, 198, 220, 220, 220, 685, 15, 11, 362, 11, 604, 11, 718, 11, 352, 11, 807, 11, 838, 11, 1105, 11, 513, 11, 1478, 11, 1467, 11, 1248, 11, 642, 11, 860, 11, 1315, 11, 767, 11, 1367, 11, 1596, 11, 1511, 11, 678, 11, 1160, 11, 2310, 60, 198, 220, 220, 220, 13163, 269, 16, 6624, 269, 17, 198, 220, 220, 220, 6407, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 16321, 32855, 1330, 4808, 1878, 62, 259, 1851, 198, 220, 220, 220, 422, 10558, 88, 13, 785, 8800, 1352, 873, 13, 83, 22854, 62, 5171, 1330, 651, 62, 1837, 3020, 19482, 62, 8094, 62, 82, 14542, 11, 40091, 1096, 198, 220, 220, 220, 3709, 796, 1351, 7, 2164, 13, 23814, 28955, 198, 220, 220, 220, 3709, 13, 30619, 7, 2539, 28, 50033, 2124, 25, 18896, 7, 87, 58, 16, 46570, 9575, 28, 17821, 8, 198, 220, 220, 220, 279, 1851, 796, 685, 87, 58, 15, 60, 329, 2124, 287, 3709, 60, 198, 220, 220, 220, 279, 1851, 796, 4808, 1878, 62, 259, 1851, 7, 79, 1851, 8, 628, 220, 220, 220, 1303, 262, 36525, 286, 262, 11192, 273, 389, 5403, 262, 1271, 286, 3951, 286, 262, 4823, 198, 220, 220, 220, 997, 62, 521, 1063, 796, 657, 198, 220, 220, 220, 329, 410, 11, 3422, 287, 3709, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 521, 1063, 15853, 18896, 7, 710, 394, 8, 198, 220, 220, 220, 1303, 11602, 284, 1123, 37423, 663, 36525, 26, 329, 1123, 1627, 198, 220, 220, 220, 1303, 1022, 734, 9421, 1063, 8333, 262, 198, 220, 220, 220, 1303, 772, 6376, 284, 262, 37423, 543, 2058, 717, 287, 3709, 11, 198, 220, 220, 220, 1303, 262, 5629, 6376, 284, 262, 584, 37423, 198, 220, 220, 220, 9421, 1063, 796, 16410, 60, 329, 1312, 287, 3709, 60, 198, 220, 220, 220, 1312, 796, 657, 198, 220, 220, 220, 329, 410, 11, 3422, 287, 3709, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 410, 17, 287, 3422, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 279, 1851, 58, 85, 60, 1279, 279, 1851, 58, 85, 17, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9421, 1063, 58, 79, 1851, 58, 85, 60, 4083, 33295, 7, 72, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9421, 1063, 58, 79, 1851, 58, 85, 17, 60, 4083, 33295, 7, 72, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 15853, 362, 198, 220, 220, 220, 308, 796, 17635, 198, 220, 220, 220, 329, 410, 287, 9421, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 308, 13, 2302, 437, 7, 85, 8, 198, 220, 220, 220, 6818, 18896, 7, 70, 8, 6624, 997, 62, 521, 1063, 198, 220, 220, 220, 308, 15853, 685, 22510, 62, 521, 1063, 11, 997, 62, 521, 1063, 1343, 352, 60, 198, 220, 220, 220, 2546, 796, 997, 62, 521, 1063, 1343, 362, 198, 220, 220, 220, 6818, 23243, 7, 70, 8, 6624, 1351, 7, 9521, 7, 7857, 4008, 198, 220, 220, 220, 308, 796, 2448, 76, 7094, 7, 70, 8, 198, 220, 220, 220, 410, 11925, 796, 685, 15, 60, 9, 7, 11925, 7, 1851, 1063, 58, 15, 12962, 10, 16, 8, 198, 220, 220, 220, 329, 3422, 287, 9421, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 410, 11925, 58, 11925, 7, 710, 394, 15437, 15853, 352, 198, 220, 220, 220, 410, 796, 17635, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 85, 11925, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 299, 796, 410, 11925, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 299, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 11, 308, 641, 796, 651, 62, 1837, 3020, 19482, 62, 8094, 62, 82, 14542, 7, 72, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 13, 33295, 19510, 8692, 11, 308, 641, 11, 299, 11, 657, 4008, 198, 220, 220, 220, 410, 13, 50188, 3419, 198, 220, 220, 220, 288, 39578, 796, 1351, 7, 9521, 7, 22510, 62, 521, 1063, 4008, 198, 220, 220, 220, 460, 796, 40091, 1096, 7, 70, 11, 288, 39578, 11, 657, 11, 1635, 85, 8, 198, 220, 220, 220, 1441, 460, 198 ]
2.371955
3,366
localhost = "http://localhost/" # your local host database = "mysql://root@localhost/vaticChecker" # server://user:pass@localhost/dbname min_training = 2 # the minimum number of training videos to be considered recaptcha_secret = "" # recaptcha secret for verification duplicate_annotations = False # Should the server allow for duplicate annotations? import os.path import sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) # TODO: remove on server import os os.environ['PYTHON_EGG_CACHE'] = '/tmp/apache'
[ 36750, 220, 220, 220, 220, 220, 220, 220, 796, 366, 4023, 1378, 36750, 30487, 1303, 534, 1957, 2583, 198, 48806, 220, 220, 220, 220, 220, 220, 220, 220, 796, 366, 28744, 13976, 1378, 15763, 31, 36750, 14, 85, 1512, 9787, 263, 1, 1303, 4382, 1378, 7220, 25, 6603, 31, 36750, 14, 9945, 3672, 198, 1084, 62, 34409, 220, 220, 220, 220, 796, 362, 220, 1303, 262, 5288, 1271, 286, 3047, 5861, 284, 307, 3177, 198, 8344, 2373, 11693, 62, 21078, 796, 13538, 1303, 36791, 11693, 3200, 329, 19637, 198, 646, 489, 5344, 62, 34574, 602, 796, 10352, 1303, 10358, 262, 4382, 1249, 329, 23418, 37647, 30, 198, 198, 11748, 28686, 13, 6978, 198, 11748, 25064, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 22305, 198, 198, 2, 16926, 46, 25, 4781, 319, 4382, 198, 11748, 28686, 198, 418, 13, 268, 2268, 17816, 47, 56, 4221, 1340, 62, 7156, 38, 62, 34, 2246, 13909, 20520, 796, 31051, 22065, 14, 43073, 6, 198 ]
3.044944
178
"""Timezone helper functions. This module uses pytz when it's available and fallbacks when it isn't. """ from datetime import datetime, timedelta, tzinfo from threading import local import time as _time try: import pytz except ImportError: pytz = None from django.conf import settings __all__ = [ 'utc', 'get_default_timezone', 'get_current_timezone', 'activate', 'deactivate', 'override', 'is_naive', 'is_aware', 'make_aware', 'make_naive', ] # UTC and local time zones ZERO = timedelta(0) utc = pytz.utc if pytz else UTC() """UTC time zone as a tzinfo instance.""" # In order to avoid accessing the settings at compile time, # wrap the expression in a function and cache the result. _localtime = None def get_default_timezone(): """ Returns the default time zone as a tzinfo instance. This is the time zone defined by settings.TIME_ZONE. See also :func:`get_current_timezone`. """ global _localtime if _localtime is None: if isinstance(settings.TIME_ZONE, basestring) and pytz is not None: _localtime = pytz.timezone(settings.TIME_ZONE) else: _localtime = LocalTimezone() return _localtime # This function exists for consistency with get_current_timezone_name def get_default_timezone_name(): """ Returns the name of the default time zone. """ return _get_timezone_name(get_default_timezone()) _active = local() def get_current_timezone(): """ Returns the currently active time zone as a tzinfo instance. """ return getattr(_active, "value", get_default_timezone()) def get_current_timezone_name(): """ Returns the name of the currently active time zone. """ return _get_timezone_name(get_current_timezone()) def _get_timezone_name(timezone): """ Returns the name of ``timezone``. """ try: # for pytz timezones return timezone.zone except AttributeError: # for regular tzinfo objects local_now = datetime.now(timezone) return timezone.tzname(local_now) # Timezone selection functions. # These functions don't change os.environ['TZ'] and call time.tzset() # because it isn't thread safe. def activate(timezone): """ Sets the time zone for the current thread. The ``timezone`` argument must be an instance of a tzinfo subclass or a time zone name. If it is a time zone name, pytz is required. """ if isinstance(timezone, tzinfo): _active.value = timezone elif isinstance(timezone, basestring) and pytz is not None: _active.value = pytz.timezone(timezone) else: raise ValueError("Invalid timezone: %r" % timezone) def deactivate(): """ Unsets the time zone for the current thread. Django will then use the time zone defined by settings.TIME_ZONE. """ if hasattr(_active, "value"): del _active.value # Templates def template_localtime(value, use_tz=None): """ Checks if value is a datetime and converts it to local time if necessary. If use_tz is provided and is not None, that will force the value to be converted (or not), overriding the value of settings.USE_TZ. This function is designed for use by the template engine. """ should_convert = (isinstance(value, datetime) and (settings.USE_TZ if use_tz is None else use_tz) and not is_naive(value) and getattr(value, 'convert_to_local_time', True)) return localtime(value) if should_convert else value # Utilities def localtime(value, timezone=None): """ Converts an aware datetime.datetime to local time. Local time is defined by the current time zone, unless another time zone is specified. """ if timezone is None: timezone = get_current_timezone() value = value.astimezone(timezone) if hasattr(timezone, 'normalize'): # available for pytz time zones value = timezone.normalize(value) return value def now(): """ Returns an aware or naive datetime.datetime, depending on settings.USE_TZ. """ if settings.USE_TZ: # timeit shows that datetime.now(tz=utc) is 24% slower return datetime.utcnow().replace(tzinfo=utc) else: return datetime.now() # By design, these four functions don't perform any checks on their arguments. # The caller should ensure that they don't receive an invalid value like None. def is_aware(value): """ Determines if a given datetime.datetime is aware. The logic is described in Python's docs: http://docs.python.org/library/datetime.html#datetime.tzinfo """ return value.tzinfo is not None and value.tzinfo.utcoffset(value) is not None def is_naive(value): """ Determines if a given datetime.datetime is naive. The logic is described in Python's docs: http://docs.python.org/library/datetime.html#datetime.tzinfo """ return value.tzinfo is None or value.tzinfo.utcoffset(value) is None def make_aware(value, timezone): """ Makes a naive datetime.datetime in a given time zone aware. """ if hasattr(timezone, 'localize'): # available for pytz time zones return timezone.localize(value, is_dst=None) else: # may be wrong around DST changes return value.replace(tzinfo=timezone) def make_naive(value, timezone): """ Makes an aware datetime.datetime naive in a given time zone. """ value = value.astimezone(timezone) if hasattr(timezone, 'normalize'): # available for pytz time zones value = timezone.normalize(value) return value.replace(tzinfo=None)
[ 37811, 7575, 11340, 31904, 5499, 13, 198, 198, 1212, 8265, 3544, 12972, 22877, 618, 340, 338, 1695, 290, 2121, 10146, 618, 340, 2125, 470, 13, 198, 37811, 198, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 11, 256, 89, 10951, 198, 6738, 4704, 278, 1330, 1957, 198, 11748, 640, 355, 4808, 2435, 198, 198, 28311, 25, 198, 220, 220, 220, 1330, 12972, 22877, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 12972, 22877, 796, 6045, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 198, 834, 439, 834, 796, 685, 198, 220, 220, 220, 705, 315, 66, 3256, 705, 1136, 62, 12286, 62, 2435, 11340, 3256, 705, 1136, 62, 14421, 62, 2435, 11340, 3256, 198, 220, 220, 220, 705, 39022, 3256, 705, 2934, 39022, 3256, 705, 2502, 13154, 3256, 198, 220, 220, 220, 705, 271, 62, 2616, 425, 3256, 705, 271, 62, 9685, 3256, 705, 15883, 62, 9685, 3256, 705, 15883, 62, 2616, 425, 3256, 198, 60, 628, 198, 2, 18119, 290, 1957, 640, 14123, 198, 198, 57, 34812, 796, 28805, 12514, 7, 15, 8, 628, 198, 315, 66, 796, 12972, 22877, 13, 315, 66, 611, 12972, 22877, 2073, 18119, 3419, 198, 37811, 17429, 640, 6516, 355, 257, 256, 89, 10951, 4554, 526, 15931, 198, 198, 2, 554, 1502, 284, 3368, 22534, 262, 6460, 379, 17632, 640, 11, 198, 2, 14441, 262, 5408, 287, 257, 2163, 290, 12940, 262, 1255, 13, 198, 62, 12001, 2435, 796, 6045, 198, 198, 4299, 651, 62, 12286, 62, 2435, 11340, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 4277, 640, 6516, 355, 257, 256, 89, 10951, 4554, 13, 628, 220, 220, 220, 770, 318, 262, 640, 6516, 5447, 416, 6460, 13, 34694, 62, 57, 11651, 13, 628, 220, 220, 220, 4091, 635, 1058, 20786, 25, 63, 1136, 62, 14421, 62, 2435, 11340, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3298, 4808, 12001, 2435, 198, 220, 220, 220, 611, 4808, 12001, 2435, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 33692, 13, 34694, 62, 57, 11651, 11, 1615, 395, 1806, 8, 290, 12972, 22877, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 12001, 2435, 796, 12972, 22877, 13, 2435, 11340, 7, 33692, 13, 34694, 62, 57, 11651, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 12001, 2435, 796, 10714, 7575, 11340, 3419, 198, 220, 220, 220, 1441, 4808, 12001, 2435, 198, 198, 2, 770, 2163, 7160, 329, 15794, 351, 651, 62, 14421, 62, 2435, 11340, 62, 3672, 198, 4299, 651, 62, 12286, 62, 2435, 11340, 62, 3672, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 1438, 286, 262, 4277, 640, 6516, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 1136, 62, 2435, 11340, 62, 3672, 7, 1136, 62, 12286, 62, 2435, 11340, 28955, 198, 198, 62, 5275, 796, 1957, 3419, 198, 198, 4299, 651, 62, 14421, 62, 2435, 11340, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 3058, 4075, 640, 6516, 355, 257, 256, 89, 10951, 4554, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 651, 35226, 28264, 5275, 11, 366, 8367, 1600, 651, 62, 12286, 62, 2435, 11340, 28955, 198, 198, 4299, 651, 62, 14421, 62, 2435, 11340, 62, 3672, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 1438, 286, 262, 3058, 4075, 640, 6516, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 1136, 62, 2435, 11340, 62, 3672, 7, 1136, 62, 14421, 62, 2435, 11340, 28955, 198, 198, 4299, 4808, 1136, 62, 2435, 11340, 62, 3672, 7, 2435, 11340, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 1438, 286, 7559, 2435, 11340, 15506, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 329, 12972, 22877, 640, 89, 1952, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 640, 11340, 13, 11340, 198, 220, 220, 220, 2845, 3460, 4163, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 329, 3218, 256, 89, 10951, 5563, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 2197, 796, 4818, 8079, 13, 2197, 7, 2435, 11340, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 640, 11340, 13, 22877, 3672, 7, 12001, 62, 2197, 8, 198, 198, 2, 3862, 11340, 6356, 5499, 13, 198, 198, 2, 2312, 5499, 836, 470, 1487, 28686, 13, 268, 2268, 17816, 51, 57, 20520, 290, 869, 640, 13, 22877, 2617, 3419, 198, 2, 780, 340, 2125, 470, 4704, 3338, 13, 198, 198, 4299, 15155, 7, 2435, 11340, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 21394, 262, 640, 6516, 329, 262, 1459, 4704, 13, 628, 220, 220, 220, 383, 7559, 2435, 11340, 15506, 4578, 1276, 307, 281, 4554, 286, 257, 256, 89, 10951, 47611, 393, 257, 198, 220, 220, 220, 640, 6516, 1438, 13, 1002, 340, 318, 257, 640, 6516, 1438, 11, 12972, 22877, 318, 2672, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 2435, 11340, 11, 256, 89, 10951, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 5275, 13, 8367, 796, 640, 11340, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 2435, 11340, 11, 1615, 395, 1806, 8, 290, 12972, 22877, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 5275, 13, 8367, 796, 12972, 22877, 13, 2435, 11340, 7, 2435, 11340, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 44651, 640, 11340, 25, 4064, 81, 1, 4064, 640, 11340, 8, 198, 198, 4299, 390, 39022, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 791, 28709, 262, 640, 6516, 329, 262, 1459, 4704, 13, 628, 220, 220, 220, 37770, 481, 788, 779, 262, 640, 6516, 5447, 416, 6460, 13, 34694, 62, 57, 11651, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 468, 35226, 28264, 5275, 11, 366, 8367, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1619, 4808, 5275, 13, 8367, 628, 198, 2, 5825, 17041, 198, 198, 4299, 11055, 62, 12001, 2435, 7, 8367, 11, 779, 62, 22877, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 47719, 611, 1988, 318, 257, 4818, 8079, 290, 26161, 340, 284, 1957, 640, 611, 3306, 13, 628, 220, 220, 220, 1002, 779, 62, 22877, 318, 2810, 290, 318, 407, 6045, 11, 326, 481, 2700, 262, 1988, 284, 198, 220, 220, 220, 307, 11513, 357, 273, 407, 828, 44987, 262, 1988, 286, 6460, 13, 19108, 62, 51, 57, 13, 628, 220, 220, 220, 770, 2163, 318, 3562, 329, 779, 416, 262, 11055, 3113, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 815, 62, 1102, 1851, 796, 357, 271, 39098, 7, 8367, 11, 4818, 8079, 8, 198, 220, 220, 220, 220, 220, 220, 220, 290, 357, 33692, 13, 19108, 62, 51, 57, 611, 779, 62, 22877, 318, 6045, 2073, 779, 62, 22877, 8, 198, 220, 220, 220, 220, 220, 220, 220, 290, 407, 318, 62, 2616, 425, 7, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 290, 651, 35226, 7, 8367, 11, 705, 1102, 1851, 62, 1462, 62, 12001, 62, 2435, 3256, 6407, 4008, 198, 220, 220, 220, 1441, 1957, 2435, 7, 8367, 8, 611, 815, 62, 1102, 1851, 2073, 1988, 628, 198, 2, 41086, 198, 198, 4299, 1957, 2435, 7, 8367, 11, 640, 11340, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1482, 24040, 281, 3910, 4818, 8079, 13, 19608, 8079, 284, 1957, 640, 13, 628, 220, 220, 220, 10714, 640, 318, 5447, 416, 262, 1459, 640, 6516, 11, 4556, 1194, 640, 6516, 198, 220, 220, 220, 318, 7368, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 640, 11340, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 640, 11340, 796, 651, 62, 14421, 62, 2435, 11340, 3419, 198, 220, 220, 220, 1988, 796, 1988, 13, 459, 524, 11340, 7, 2435, 11340, 8, 198, 220, 220, 220, 611, 468, 35226, 7, 2435, 11340, 11, 705, 11265, 1096, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1695, 329, 12972, 22877, 640, 14123, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 640, 11340, 13, 11265, 1096, 7, 8367, 8, 198, 220, 220, 220, 1441, 1988, 198, 198, 4299, 783, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 281, 3910, 393, 24354, 4818, 8079, 13, 19608, 8079, 11, 6906, 319, 6460, 13, 19108, 62, 51, 57, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 6460, 13, 19108, 62, 51, 57, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 640, 270, 2523, 326, 4818, 8079, 13, 2197, 7, 22877, 28, 315, 66, 8, 318, 1987, 4, 13611, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 4818, 8079, 13, 315, 66, 2197, 22446, 33491, 7, 22877, 10951, 28, 315, 66, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 4818, 8079, 13, 2197, 3419, 198, 198, 2, 2750, 1486, 11, 777, 1440, 5499, 836, 470, 1620, 597, 8794, 319, 511, 7159, 13, 198, 2, 383, 24955, 815, 4155, 326, 484, 836, 470, 3328, 281, 12515, 1988, 588, 6045, 13, 198, 198, 4299, 318, 62, 9685, 7, 8367, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 360, 13221, 274, 611, 257, 1813, 4818, 8079, 13, 19608, 8079, 318, 3910, 13, 628, 220, 220, 220, 383, 9156, 318, 3417, 287, 11361, 338, 34165, 25, 198, 220, 220, 220, 2638, 1378, 31628, 13, 29412, 13, 2398, 14, 32016, 14, 19608, 8079, 13, 6494, 2, 19608, 8079, 13, 22877, 10951, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 1988, 13, 22877, 10951, 318, 407, 6045, 290, 1988, 13, 22877, 10951, 13, 315, 1073, 487, 2617, 7, 8367, 8, 318, 407, 6045, 198, 198, 4299, 318, 62, 2616, 425, 7, 8367, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 360, 13221, 274, 611, 257, 1813, 4818, 8079, 13, 19608, 8079, 318, 24354, 13, 628, 220, 220, 220, 383, 9156, 318, 3417, 287, 11361, 338, 34165, 25, 198, 220, 220, 220, 2638, 1378, 31628, 13, 29412, 13, 2398, 14, 32016, 14, 19608, 8079, 13, 6494, 2, 19608, 8079, 13, 22877, 10951, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 1988, 13, 22877, 10951, 318, 6045, 393, 1988, 13, 22877, 10951, 13, 315, 1073, 487, 2617, 7, 8367, 8, 318, 6045, 198, 198, 4299, 787, 62, 9685, 7, 8367, 11, 640, 11340, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27433, 257, 24354, 4818, 8079, 13, 19608, 8079, 287, 257, 1813, 640, 6516, 3910, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 468, 35226, 7, 2435, 11340, 11, 705, 12001, 1096, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1695, 329, 12972, 22877, 640, 14123, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 640, 11340, 13, 12001, 1096, 7, 8367, 11, 318, 62, 67, 301, 28, 14202, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 743, 307, 2642, 1088, 360, 2257, 2458, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 13, 33491, 7, 22877, 10951, 28, 2435, 11340, 8, 198, 198, 4299, 787, 62, 2616, 425, 7, 8367, 11, 640, 11340, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27433, 281, 3910, 4818, 8079, 13, 19608, 8079, 24354, 287, 257, 1813, 640, 6516, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1988, 796, 1988, 13, 459, 524, 11340, 7, 2435, 11340, 8, 198, 220, 220, 220, 611, 468, 35226, 7, 2435, 11340, 11, 705, 11265, 1096, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1695, 329, 12972, 22877, 640, 14123, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 640, 11340, 13, 11265, 1096, 7, 8367, 8, 198, 220, 220, 220, 1441, 1988, 13, 33491, 7, 22877, 10951, 28, 14202, 8, 198 ]
2.760508
2,046
import pytest from pywps import Service from pywps.tests import assert_response_success from .common import client_for from malleefowl.processes import processes
[ 11748, 12972, 9288, 198, 198, 6738, 12972, 86, 862, 1330, 4809, 198, 6738, 12972, 86, 862, 13, 41989, 1330, 6818, 62, 26209, 62, 13138, 198, 198, 6738, 764, 11321, 1330, 5456, 62, 1640, 198, 6738, 6428, 293, 891, 4883, 13, 14681, 274, 1330, 7767, 628 ]
3.666667
45
from setuptools import setup __author__ = "Alex Laird" __copyright__ = "Copyright 2019, Alex Laird" __version__ = "1.4.0" with open("README.md", "r") as f: long_description = f.read() setup( name="pyngrok", version=__version__, packages=["pyngrok"], python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", install_requires=[ "future", "pyyaml" ], entry_points=""" [console_scripts] ngrok=pyngrok.ngrok:run """, description="A Python wrapper for Ngrok.", long_description=long_description, long_description_content_type="text/markdown", author="Alex Laird", author_email="contact@alexlaird.com", url="https://github.com/alexdlaird/pyngrok", download_url="https://github.com/alexdlaird/pyngrok/archive/{}.tar.gz".format(__version__), keywords=["ngrok", "tunnel", "tunneling", "webhook", "localhost"], license="MIT", classifiers=[ "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix" ] )
[ 6738, 900, 37623, 10141, 1330, 9058, 198, 198, 834, 9800, 834, 796, 366, 15309, 15067, 67, 1, 198, 834, 22163, 4766, 834, 796, 366, 15269, 13130, 11, 4422, 15067, 67, 1, 198, 834, 9641, 834, 796, 366, 16, 13, 19, 13, 15, 1, 198, 198, 4480, 1280, 7203, 15675, 11682, 13, 9132, 1600, 366, 81, 4943, 355, 277, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 277, 13, 961, 3419, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 2625, 9078, 782, 305, 74, 1600, 198, 220, 220, 220, 2196, 28, 834, 9641, 834, 11, 198, 220, 220, 220, 10392, 28, 14692, 9078, 782, 305, 74, 33116, 198, 220, 220, 220, 21015, 62, 47911, 2625, 29, 28, 17, 13, 22, 11, 14512, 18, 13, 15, 15885, 11, 14512, 18, 13, 16, 15885, 11, 14512, 18, 13, 17, 15885, 11, 14512, 18, 13, 18, 15885, 1600, 198, 220, 220, 220, 2721, 62, 47911, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 37443, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9078, 88, 43695, 1, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 5726, 62, 13033, 2625, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 685, 41947, 62, 46521, 60, 198, 220, 220, 220, 220, 220, 220, 220, 23370, 305, 74, 28, 9078, 782, 305, 74, 13, 782, 305, 74, 25, 5143, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 6764, 2625, 32, 11361, 29908, 329, 399, 27333, 74, 33283, 198, 220, 220, 220, 890, 62, 11213, 28, 6511, 62, 11213, 11, 198, 220, 220, 220, 890, 62, 11213, 62, 11299, 62, 4906, 2625, 5239, 14, 4102, 2902, 1600, 198, 220, 220, 220, 1772, 2625, 15309, 15067, 67, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 32057, 31, 1000, 87, 75, 41620, 13, 785, 1600, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 1000, 24954, 75, 41620, 14, 9078, 782, 305, 74, 1600, 198, 220, 220, 220, 4321, 62, 6371, 2625, 5450, 1378, 12567, 13, 785, 14, 1000, 24954, 75, 41620, 14, 9078, 782, 305, 74, 14, 17474, 14, 90, 27422, 18870, 13, 34586, 1911, 18982, 7, 834, 9641, 834, 828, 198, 220, 220, 220, 26286, 28, 14692, 782, 305, 74, 1600, 366, 28286, 4954, 1600, 366, 28286, 4954, 278, 1600, 366, 12384, 25480, 1600, 366, 36750, 33116, 198, 220, 220, 220, 5964, 2625, 36393, 1600, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 362, 13, 22, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 19, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 20, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 21, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 22, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 46333, 7904, 16932, 7535, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 46333, 7904, 9485, 20519, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 33221, 7904, 10442, 7712, 7904, 46267, 7904, 11361, 3401, 5028, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 31441, 7904, 24371, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 31441, 7904, 5313, 9344, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 34152, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 7868, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 41206, 12678, 7904, 642, 532, 19174, 14, 1273, 540, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 17168, 13789, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 4100, 2640, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 5413, 7904, 3964, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 28069, 10426, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 33501, 1, 198, 220, 220, 220, 2361, 198, 8, 198 ]
2.517147
729
#!/usr/bin/env python3 import kfp.dsl as dsl import kfp.gcp as gcp # Pipeline input variables. KUBECTL_IMAGE = "gcr.io/mcas-195423/trackml_master_kfp_kubectl" KUBECTL_IMAGE_VERSION = "1" TRACKML_IMAGE = "gcr.io/mcas-195423/trackml_master_trackml" TRACKML_IMAGE_VERSION = "1" if __name__ == '__main__': import kfp.compiler as compiler compiler.Compiler().compile(trackml, __file__ + '.tar.gz')
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 11748, 479, 46428, 13, 67, 6649, 355, 288, 6649, 198, 11748, 479, 46428, 13, 70, 13155, 355, 308, 13155, 198, 198, 2, 37709, 5128, 9633, 13, 198, 42, 10526, 9782, 43, 62, 3955, 11879, 796, 366, 70, 6098, 13, 952, 14, 23209, 292, 12, 1129, 4051, 1954, 14, 11659, 4029, 62, 9866, 62, 74, 46428, 62, 74, 549, 478, 75, 1, 198, 42, 10526, 9782, 43, 62, 3955, 11879, 62, 43717, 796, 366, 16, 1, 198, 5446, 8120, 5805, 62, 3955, 11879, 796, 366, 70, 6098, 13, 952, 14, 23209, 292, 12, 1129, 4051, 1954, 14, 11659, 4029, 62, 9866, 62, 11659, 4029, 1, 198, 5446, 8120, 5805, 62, 3955, 11879, 62, 43717, 796, 366, 16, 1, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 1330, 479, 46428, 13, 5589, 5329, 355, 17050, 198, 220, 17050, 13, 7293, 5329, 22446, 5589, 576, 7, 11659, 4029, 11, 11593, 7753, 834, 1343, 45302, 18870, 13, 34586, 11537, 628 ]
2.317919
173
# -*- coding: utf-8 -*- import time import puka import argparse import logging from infcommon import utils from infrabbitmq import factory as infrabbitmq_factory from infrabbitmq.rabbitmq import RabbitMQError from infrabbitmq.events_names import ( TICK_1_SECOND, TICK_1_MINUTE, TICK_2_MINUTES, TICK_5_MINUTES, TICK_60_MINUTES, ) if __name__ == '__main__': try: parser = argparse.ArgumentParser() parser.add_argument('-n', '--network', action='store', required=True, help='Network name (ilo, c2k, ...)') args = parser.parse_args() network = args.network.split('-')[0] main(network) except Exception as exc: logging.critical("Ticker Fails: {}".format(exc))
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 11748, 640, 198, 11748, 279, 14852, 198, 11748, 1822, 29572, 628, 198, 11748, 18931, 198, 6738, 1167, 11321, 1330, 3384, 4487, 198, 6738, 1167, 81, 14229, 76, 80, 1330, 8860, 355, 1167, 81, 14229, 76, 80, 62, 69, 9548, 198, 6738, 1167, 81, 14229, 76, 80, 13, 81, 14229, 76, 80, 1330, 25498, 49215, 12331, 198, 6738, 1167, 81, 14229, 76, 80, 13, 31534, 62, 14933, 1330, 357, 198, 220, 220, 220, 309, 11860, 62, 16, 62, 23683, 18672, 11, 198, 220, 220, 220, 309, 11860, 62, 16, 62, 23678, 37780, 11, 198, 220, 220, 220, 309, 11860, 62, 17, 62, 23678, 3843, 1546, 11, 198, 220, 220, 220, 309, 11860, 62, 20, 62, 23678, 3843, 1546, 11, 198, 220, 220, 220, 309, 11860, 62, 1899, 62, 23678, 3843, 1546, 11, 198, 8, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 77, 3256, 705, 438, 27349, 3256, 2223, 11639, 8095, 3256, 2672, 28, 17821, 11, 1037, 11639, 26245, 1438, 357, 18526, 11, 269, 17, 74, 11, 2644, 8, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 3127, 796, 26498, 13, 27349, 13, 35312, 10786, 12, 11537, 58, 15, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1388, 7, 27349, 8, 198, 220, 220, 220, 2845, 35528, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 34666, 7203, 51, 15799, 376, 1768, 25, 23884, 1911, 18982, 7, 41194, 4008, 198 ]
2.391586
309
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ Classes to support Encoder-Decoder architectures """ from __future__ import absolute_import, division, print_function, unicode_literals import logging import os import torch from torch import nn from .modeling_auto import AutoModel, AutoModelWithLMHead logger = logging.getLogger(__name__)
[ 2, 19617, 28, 40477, 12, 23, 201, 198, 2, 15069, 2864, 383, 12905, 2667, 32388, 3457, 13, 1074, 13, 201, 198, 2, 201, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 201, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 201, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 201, 198, 2, 201, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 201, 198, 2, 201, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 201, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 201, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 201, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 201, 198, 2, 11247, 739, 262, 13789, 13, 201, 198, 37811, 38884, 284, 1104, 14711, 12342, 12, 10707, 12342, 45619, 37227, 201, 198, 201, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 11, 28000, 1098, 62, 17201, 874, 201, 198, 201, 198, 11748, 18931, 201, 198, 11748, 28686, 201, 198, 201, 198, 11748, 28034, 201, 198, 6738, 28034, 1330, 299, 77, 201, 198, 201, 198, 6738, 764, 4666, 10809, 62, 23736, 1330, 11160, 17633, 11, 11160, 17633, 3152, 31288, 13847, 201, 198, 201, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 201, 198, 201, 198, 201, 198, 201, 198 ]
3.382671
277
from airflow import DAG from airflow.operators.bash_operator import BashOperator from airflow.operators.python_operator import PythonOperator, BranchPythonOperator from datetime import datetime, timedelta import pandas as pd import random # Default args definition default_args = { 'owner': 'Rafael', 'depends_on_past': False, 'start_date': datetime(2020, 11, 29, 18, 20), 'email': ['example1@example.com', 'example2@example.com'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'Retry_delay': timedelta(minutes=1) } # Dag definition dag = DAG( 'treino-03', description="Extrai dados do Titanic e calcula idade media para homens ou mulheres", default_args = default_args, schedule_interval='*/20 * * * *' ) get_data = BashOperator( task_id='get-data', bash_command='curl https://raw.githubusercontent.com/A3Data/hermione/master/hermione/file_text/train.csv -o /usr/local/airflow/data/train.csv', dag=dag ) escolhe_h_m = PythonOperator( task_id='escolhe-h-m', python_callable=sorteia_h_m, dag=dag ) male_female = BranchPythonOperator( task_id='condicional', python_callable=MouF, provide_context=True, dag=dag ) branch_homem = PythonOperator( task_id='branch_homem', python_callable=mean_homem, dag=dag ) branch_mulher = PythonOperator( task_id='branch_mulher', python_callable=mean_mulher, dag=dag ) get_data >> escolhe_h_m >> male_female >> [branch_homem, branch_mulher]
[ 6738, 45771, 1330, 360, 4760, 198, 6738, 45771, 13, 3575, 2024, 13, 41757, 62, 46616, 1330, 15743, 18843, 1352, 198, 6738, 45771, 13, 3575, 2024, 13, 29412, 62, 46616, 1330, 11361, 18843, 1352, 11, 20551, 37906, 18843, 1352, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 4738, 198, 198, 2, 15161, 26498, 6770, 198, 12286, 62, 22046, 796, 1391, 198, 220, 220, 220, 705, 18403, 10354, 705, 49, 1878, 3010, 3256, 198, 220, 220, 220, 705, 10378, 2412, 62, 261, 62, 30119, 10354, 10352, 11, 198, 220, 220, 220, 705, 9688, 62, 4475, 10354, 4818, 8079, 7, 42334, 11, 1367, 11, 2808, 11, 1248, 11, 1160, 828, 198, 220, 220, 220, 705, 12888, 10354, 37250, 20688, 16, 31, 20688, 13, 785, 3256, 705, 20688, 17, 31, 20688, 13, 785, 6, 4357, 198, 220, 220, 220, 705, 12888, 62, 261, 62, 32165, 495, 10354, 10352, 11, 198, 220, 220, 220, 705, 12888, 62, 261, 62, 1186, 563, 10354, 10352, 11, 198, 220, 220, 220, 705, 1186, 1678, 10354, 352, 11, 198, 220, 220, 220, 705, 9781, 563, 62, 40850, 10354, 28805, 12514, 7, 1084, 1769, 28, 16, 8, 198, 92, 198, 198, 2, 32167, 6770, 198, 67, 363, 796, 360, 4760, 7, 198, 220, 220, 220, 705, 33945, 2879, 12, 3070, 3256, 198, 220, 220, 220, 6764, 2625, 27726, 72, 9955, 418, 466, 41184, 304, 5204, 64, 4686, 671, 2056, 31215, 3488, 641, 267, 84, 35971, 19079, 1600, 198, 220, 220, 220, 4277, 62, 22046, 796, 4277, 62, 22046, 11, 198, 220, 220, 220, 7269, 62, 3849, 2100, 11639, 16208, 1238, 1635, 1635, 1635, 1635, 6, 198, 8, 198, 198, 1136, 62, 7890, 796, 15743, 18843, 1352, 7, 198, 220, 220, 220, 4876, 62, 312, 11639, 1136, 12, 7890, 3256, 198, 220, 220, 220, 27334, 62, 21812, 11639, 66, 6371, 3740, 1378, 1831, 13, 12567, 43667, 13, 785, 14, 32, 18, 6601, 14, 372, 76, 7935, 14, 9866, 14, 372, 76, 7935, 14, 7753, 62, 5239, 14, 27432, 13, 40664, 532, 78, 1220, 14629, 14, 12001, 14, 958, 11125, 14, 7890, 14, 27432, 13, 40664, 3256, 198, 220, 220, 220, 48924, 28, 67, 363, 198, 8, 198, 198, 3798, 349, 258, 62, 71, 62, 76, 796, 11361, 18843, 1352, 7, 198, 220, 220, 220, 4876, 62, 312, 11639, 3798, 349, 258, 12, 71, 12, 76, 3256, 198, 220, 220, 220, 21015, 62, 13345, 540, 28, 30619, 68, 544, 62, 71, 62, 76, 11, 198, 220, 220, 220, 48924, 28, 67, 363, 198, 8, 198, 198, 22606, 62, 24724, 796, 20551, 37906, 18843, 1352, 7, 198, 220, 220, 220, 4876, 62, 312, 11639, 17561, 291, 1538, 3256, 198, 220, 220, 220, 21015, 62, 13345, 540, 28, 44, 280, 37, 11, 198, 220, 220, 220, 2148, 62, 22866, 28, 17821, 11, 198, 220, 220, 220, 48924, 28, 67, 363, 198, 8, 198, 198, 1671, 3702, 62, 26452, 368, 796, 11361, 18843, 1352, 7, 198, 220, 220, 220, 4876, 62, 312, 11639, 1671, 3702, 62, 26452, 368, 3256, 198, 220, 220, 220, 21015, 62, 13345, 540, 28, 32604, 62, 26452, 368, 11, 198, 220, 220, 220, 48924, 28, 67, 363, 198, 8, 198, 198, 1671, 3702, 62, 76, 377, 372, 796, 11361, 18843, 1352, 7, 198, 220, 220, 220, 4876, 62, 312, 11639, 1671, 3702, 62, 76, 377, 372, 3256, 198, 220, 220, 220, 21015, 62, 13345, 540, 28, 32604, 62, 76, 377, 372, 11, 198, 220, 220, 220, 48924, 28, 67, 363, 198, 8, 628, 198, 198, 1136, 62, 7890, 9609, 3671, 349, 258, 62, 71, 62, 76, 9609, 4257, 62, 24724, 9609, 685, 1671, 3702, 62, 26452, 368, 11, 8478, 62, 76, 377, 372, 60, 198 ]
2.460163
615