content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
import os
import socket
unix_sock_name = 'unix.sock'
sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
if os.path.exists(unix_sock_name):
os.remove(unix_sock_name)
sock.bind(unix_sock_name)
while True:
try:
result = sock.recv(1024)
except KeyboardInterrupt:
sock.close()
break
else:
print("Message", result.decode("utf-8")) | [
11748,
28686,
201,
198,
11748,
17802,
201,
198,
201,
198,
403,
844,
62,
82,
735,
62,
3672,
796,
705,
403,
844,
13,
82,
735,
6,
201,
198,
82,
735,
796,
17802,
13,
44971,
7,
44971,
13,
8579,
62,
4944,
10426,
11,
17802,
13,
50,
11290,
62,
35,
10761,
2390,
8,
201,
198,
201,
198,
361,
28686,
13,
6978,
13,
1069,
1023,
7,
403,
844,
62,
82,
735,
62,
3672,
2599,
201,
198,
220,
220,
220,
28686,
13,
28956,
7,
403,
844,
62,
82,
735,
62,
3672,
8,
201,
198,
201,
198,
82,
735,
13,
21653,
7,
403,
844,
62,
82,
735,
62,
3672,
8,
201,
198,
201,
198,
4514,
6407,
25,
201,
198,
220,
220,
220,
1949,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
32263,
13,
8344,
85,
7,
35500,
8,
201,
198,
220,
220,
220,
2845,
31973,
9492,
3622,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
32263,
13,
19836,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
12837,
1600,
1255,
13,
12501,
1098,
7203,
40477,
12,
23,
48774
] | 2.015152 | 198 |
import threading
import mock
from tests.unit.lib.iml_unit_test_case import IMLUnitTestCase
from chroma_core.models.power_control import PowerControlType, PowerControlDevice, PowerControlDeviceOutlet
from chroma_core.services.power_control.manager import PowerControlManager
from chroma_core.services.power_control.monitor_daemon import PowerMonitorDaemon, PowerDeviceMonitor
@mock.patch("chroma_core.services.power_control.rpc.PowerControlRpc")
@mock.patch("chroma_core.services.power_control.rpc.PowerControlRpc")
| [
11748,
4704,
278,
198,
198,
11748,
15290,
198,
198,
6738,
5254,
13,
20850,
13,
8019,
13,
320,
75,
62,
20850,
62,
9288,
62,
7442,
1330,
314,
5805,
26453,
14402,
20448,
198,
6738,
15358,
64,
62,
7295,
13,
27530,
13,
6477,
62,
13716,
1330,
4333,
15988,
6030,
11,
4333,
15988,
24728,
11,
4333,
15988,
24728,
7975,
1616,
198,
6738,
15358,
64,
62,
7295,
13,
30416,
13,
6477,
62,
13716,
13,
37153,
1330,
4333,
15988,
13511,
198,
6738,
15358,
64,
62,
7295,
13,
30416,
13,
6477,
62,
13716,
13,
41143,
62,
6814,
7966,
1330,
4333,
35479,
26531,
7966,
11,
4333,
24728,
35479,
628,
198,
198,
31,
76,
735,
13,
17147,
7203,
28663,
64,
62,
7295,
13,
30416,
13,
6477,
62,
13716,
13,
81,
14751,
13,
13434,
15988,
49,
14751,
4943,
628,
198,
31,
76,
735,
13,
17147,
7203,
28663,
64,
62,
7295,
13,
30416,
13,
6477,
62,
13716,
13,
81,
14751,
13,
13434,
15988,
49,
14751,
4943,
198
] | 3.346154 | 156 |
# -- coding: utf-8 --
# @Time : 2019/7/23
# @Author : lha
# @File : main.py
import os
import sys
import torch
import torch.nn as nn
import argparse
from crf import CRF
from file_utils import TaskModelBase
| [
2,
1377,
19617,
25,
3384,
69,
12,
23,
1377,
201,
198,
2,
2488,
7575,
1058,
13130,
14,
22,
14,
1954,
201,
198,
2,
2488,
13838,
1058,
300,
3099,
201,
198,
2,
2488,
8979,
1058,
1388,
13,
9078,
220,
201,
198,
201,
198,
11748,
28686,
201,
198,
11748,
25064,
201,
198,
11748,
28034,
201,
198,
11748,
28034,
13,
20471,
355,
299,
77,
201,
198,
11748,
1822,
29572,
201,
198,
6738,
1067,
69,
1330,
8740,
37,
201,
198,
6738,
2393,
62,
26791,
1330,
15941,
17633,
14881,
201,
198,
201,
198
] | 2.511364 | 88 |
"""python compile_with_cython.py build_ext --inplace"""
# import setuptools # important
import os
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
from Cython.Build import cythonize
import shutil
import multiprocessing
sep = os.path.sep
DISTRIBUTE_DIR_NAME = "dist"
DISTRIBUTE_DIR_PATH = f"..{sep}{DISTRIBUTE_DIR_NAME}"
THREADS = multiprocessing.cpu_count()
module_directories = [
"some_modules"
]
if __name__ == '__main__':
start()
| [
37811,
29412,
17632,
62,
4480,
62,
948,
400,
261,
13,
9078,
1382,
62,
2302,
1377,
259,
5372,
37811,
198,
2,
1330,
900,
37623,
10141,
220,
1303,
1593,
198,
11748,
28686,
198,
6738,
1233,
26791,
13,
7295,
1330,
9058,
198,
6738,
1233,
26791,
13,
2302,
3004,
1330,
27995,
198,
6738,
327,
7535,
13,
20344,
26791,
1330,
1382,
62,
2302,
198,
6738,
327,
7535,
13,
15580,
1330,
3075,
400,
261,
1096,
198,
11748,
4423,
346,
198,
11748,
18540,
305,
919,
278,
628,
198,
325,
79,
796,
28686,
13,
6978,
13,
325,
79,
198,
26288,
5446,
9865,
37780,
62,
34720,
62,
20608,
796,
366,
17080,
1,
198,
26288,
5446,
9865,
37780,
62,
34720,
62,
34219,
796,
277,
1,
492,
90,
325,
79,
18477,
26288,
5446,
9865,
37780,
62,
34720,
62,
20608,
36786,
198,
198,
4221,
15675,
50,
796,
18540,
305,
919,
278,
13,
36166,
62,
9127,
3419,
628,
198,
21412,
62,
12942,
1749,
796,
685,
198,
220,
220,
220,
366,
11246,
62,
18170,
1,
198,
60,
628,
628,
628,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
923,
3419,
198
] | 2.802139 | 187 |
#pip install pip install opencv-python
import cv2
from random import randrange
#load some pretrained data on face frontals from open cv (haar cascade algotithm (git hub opencv the data ))
trained_face_data = cv2.CascadeClassifier("haarcascade_frontalface_default.xml")
#choose an image to detect faces
#img = cv2.imread("sabya.jpg")
img = cv2.imread("group.jpg")
#convert to greyscale
greyscaled_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
#detect faces
face_coordinates = trained_face_data.detectMultiScale(greyscaled_img)
#draw rectangle 2 is thickness 0 255 0 is colour code x y h w coordinates in terminal (rgb)
#change 0 1245 in face coordinetes for single 1 diff rectangles around diff faces
#cv2.rectangle(img, (97, 96),(97+276 , 96+276), (0,255,0),2)
for (x , y, w, h) in face_coordinates:
#(x , y, w, h)=face_coordinates[0]
cv2.rectangle(img ,(x, y), (x+w , y+h) , (randrange(128,256), randrange(128,256), randrange(128,256)), 5)
#location of the face box
#print(face_coordinates)
#display image
#cv2.imshow("sabya's Face detection app" ,img)
cv2.imshow("sabya's Face detection app" ,img)
# to wait or else window will close very fast
cv2.waitKey()
print("code completed") | [
2,
79,
541,
2721,
7347,
2721,
1280,
33967,
12,
29412,
220,
201,
198,
11748,
269,
85,
17,
201,
198,
6738,
4738,
1330,
43720,
9521,
201,
198,
201,
198,
2,
2220,
617,
2181,
13363,
1366,
319,
1986,
2166,
874,
422,
1280,
269,
85,
357,
42948,
44847,
435,
23442,
342,
76,
357,
18300,
12575,
1280,
33967,
262,
1366,
15306,
201,
198,
35311,
62,
2550,
62,
7890,
796,
269,
85,
17,
13,
34,
28966,
9487,
7483,
7203,
3099,
5605,
28966,
62,
8534,
1604,
558,
62,
12286,
13,
19875,
4943,
201,
198,
201,
198,
2,
6679,
577,
281,
2939,
284,
4886,
6698,
201,
198,
2,
9600,
796,
269,
85,
17,
13,
320,
961,
7203,
82,
3930,
64,
13,
9479,
4943,
201,
198,
9600,
796,
269,
85,
17,
13,
320,
961,
7203,
8094,
13,
9479,
4943,
201,
198,
201,
198,
2,
1102,
1851,
284,
10536,
28349,
1000,
201,
198,
16694,
28349,
3021,
62,
9600,
796,
269,
85,
17,
13,
33967,
83,
10258,
7,
9600,
11,
269,
85,
17,
13,
46786,
62,
33,
10761,
17,
38,
30631,
8,
201,
198,
201,
198,
2,
15255,
478,
6698,
201,
198,
2550,
62,
37652,
17540,
796,
8776,
62,
2550,
62,
7890,
13,
15255,
478,
29800,
29990,
7,
16694,
28349,
3021,
62,
9600,
8,
201,
198,
201,
198,
2,
19334,
35991,
362,
318,
20735,
657,
14280,
657,
318,
9568,
2438,
2124,
331,
289,
266,
22715,
287,
12094,
220,
357,
81,
22296,
8,
201,
198,
2,
3803,
657,
1105,
2231,
287,
1986,
11385,
316,
274,
329,
2060,
352,
814,
13621,
27787,
1088,
814,
6698,
201,
198,
201,
198,
2,
33967,
17,
13,
2554,
9248,
7,
9600,
11,
357,
5607,
11,
9907,
828,
7,
5607,
10,
27988,
837,
9907,
10,
27988,
828,
357,
15,
11,
13381,
11,
15,
828,
17,
8,
220,
201,
198,
1640,
357,
87,
837,
331,
11,
266,
11,
289,
8,
287,
1986,
62,
37652,
17540,
25,
201,
198,
201,
198,
220,
220,
220,
1303,
7,
87,
837,
331,
11,
266,
11,
289,
47505,
2550,
62,
37652,
17540,
58,
15,
60,
201,
198,
220,
220,
220,
269,
85,
17,
13,
2554,
9248,
7,
9600,
837,
7,
87,
11,
331,
828,
357,
87,
10,
86,
837,
331,
10,
71,
8,
837,
357,
25192,
9521,
7,
12762,
11,
11645,
828,
43720,
9521,
7,
12762,
11,
11645,
828,
43720,
9521,
7,
12762,
11,
11645,
36911,
642,
8,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
2,
24886,
286,
262,
1986,
3091,
201,
198,
2,
4798,
7,
2550,
62,
37652,
17540,
8,
201,
198,
201,
198,
2,
13812,
2939,
201,
198,
2,
33967,
17,
13,
320,
12860,
7203,
82,
3930,
64,
338,
15399,
13326,
598,
1,
837,
9600,
8,
201,
198,
33967,
17,
13,
320,
12860,
7203,
82,
3930,
64,
338,
15399,
13326,
598,
1,
837,
9600,
8,
201,
198,
2,
284,
4043,
393,
2073,
4324,
481,
1969,
845,
3049,
201,
198,
33967,
17,
13,
17077,
9218,
3419,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
4798,
7203,
8189,
5668,
4943
] | 2.532389 | 494 |
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""User folders
"""
import os
from Acquisition import aq_base
from App.Management import Navigation
from App.Management import Tabs
from App.special_dtml import DTMLFile
from App.Dialogs import MessageDialog
from OFS.role import RoleManager
from OFS.SimpleItem import Item
from AccessControl import ClassSecurityInfo
from AccessControl.class_init import InitializeClass
from AccessControl.Permissions import manage_users as ManageUsers
from AccessControl.requestmethod import requestmethod
from AccessControl.rolemanager import DEFAULTMAXLISTUSERS
from AccessControl import userfolder as accesscontrol_userfolder
from AccessControl.users import readUserAccessFile
from AccessControl.users import _remote_user_mode
from AccessControl.users import emergency_user
from AccessControl.users import reqattr
class BasicUserFolder(Navigation, Tabs, Item, RoleManager,
accesscontrol_userfolder.BasicUserFolder):
"""Base class for UserFolder-like objects"""
security = ClassSecurityInfo()
# Note: use of the '_super' name is deprecated.
_super = emergency_user
manage_options=(
(
{'label': 'Contents', 'action': 'manage_main'},
{'label': 'Properties', 'action': 'manage_userFolderProperties'},
)
+RoleManager.manage_options
+Item.manage_options
)
security.declareProtected(ManageUsers, 'userFolderAddUser')
@requestmethod('POST')
def userFolderAddUser(self, name, password, roles, domains,
REQUEST=None, **kw):
"""API method for creating a new user object. Note that not all
user folder implementations support dynamic creation of user
objects."""
if hasattr(self, '_doAddUser'):
return self._doAddUser(name, password, roles, domains, **kw)
raise NotImplementedError
security.declareProtected(ManageUsers, 'userFolderEditUser')
@requestmethod('POST')
def userFolderEditUser(self, name, password, roles, domains,
REQUEST=None, **kw):
"""API method for changing user object attributes. Note that not
all user folder implementations support changing of user object
attributes."""
if hasattr(self, '_doChangeUser'):
return self._doChangeUser(name, password, roles, domains, **kw)
raise NotImplementedError
security.declareProtected(ManageUsers, 'userFolderDelUsers')
@requestmethod('POST')
def userFolderDelUsers(self, names, REQUEST=None):
"""API method for deleting one or more user objects. Note that not
all user folder implementations support deletion of user objects."""
if hasattr(self, '_doDelUsers'):
return self._doDelUsers(names)
raise NotImplementedError
_mainUser=DTMLFile('dtml/mainUser', globals())
_add_User=DTMLFile('dtml/addUser', globals(),
remote_user_mode__=_remote_user_mode)
_editUser=DTMLFile('dtml/editUser', globals(),
remote_user_mode__=_remote_user_mode)
manage=manage_main=_mainUser
manage_main._setName('manage_main')
_userFolderProperties = DTMLFile('dtml/userFolderProps', globals())
def manage_userFolderProperties(self, REQUEST=None,
manage_tabs_message=None):
"""
"""
return self._userFolderProperties(
self, REQUEST, manage_tabs_message=manage_tabs_message,
management_view='Properties')
@requestmethod('POST')
def manage_setUserFolderProperties(self, encrypt_passwords=0,
update_passwords=0,
maxlistusers=DEFAULTMAXLISTUSERS,
REQUEST=None):
"""
Sets the properties of the user folder.
"""
self.encrypt_passwords = not not encrypt_passwords
try:
self.maxlistusers = int(maxlistusers)
except ValueError:
self.maxlistusers = DEFAULTMAXLISTUSERS
if encrypt_passwords and update_passwords:
changed = 0
for u in self.getUsers():
pw = u._getPassword()
if not self._isPasswordEncrypted(pw):
pw = self._encryptPassword(pw)
self._doChangeUser(u.getId(), pw, u.getRoles(),
u.getDomains())
changed = changed + 1
if REQUEST is not None:
if not changed:
msg = 'All passwords already encrypted.'
else:
msg = 'Encrypted %d password(s).' % changed
return self.manage_userFolderProperties(
REQUEST, manage_tabs_message=msg)
else:
return changed
else:
if REQUEST is not None:
return self.manage_userFolderProperties(
REQUEST, manage_tabs_message='Saved changes.')
@requestmethod('POST')
@requestmethod('POST')
@requestmethod('POST')
security.declareProtected(ManageUsers, 'manage_users')
def manage_users(self, submit=None, REQUEST=None, RESPONSE=None):
"""This method handles operations on users for the web based forms
of the ZMI. Application code (code that is outside of the forms
that implement the UI of a user folder) are encouraged to use
manage_std_addUser"""
if submit=='Add...':
return self._add_User(self, REQUEST)
if submit=='Edit':
try:
user=self.getUser(reqattr(REQUEST, 'name'))
except:
return MessageDialog(
title='Illegal value',
message='The specified user does not exist',
action='manage_main')
return self._editUser(self, REQUEST, user=user, password=user.__)
if submit=='Add':
name = reqattr(REQUEST, 'name')
password = reqattr(REQUEST, 'password')
confirm = reqattr(REQUEST, 'confirm')
roles = reqattr(REQUEST, 'roles')
domains = reqattr(REQUEST, 'domains')
return self._addUser(name, password, confirm, roles,
domains, REQUEST)
if submit=='Change':
name = reqattr(REQUEST, 'name')
password = reqattr(REQUEST, 'password')
confirm = reqattr(REQUEST, 'confirm')
roles = reqattr(REQUEST, 'roles')
domains = reqattr(REQUEST, 'domains')
return self._changeUser(name, password, confirm, roles,
domains, REQUEST)
if submit=='Delete':
names = reqattr(REQUEST, 'names')
return self._delUsers(names, REQUEST)
return self._mainUser(self, REQUEST)
InitializeClass(BasicUserFolder)
class UserFolder(accesscontrol_userfolder.UserFolder, BasicUserFolder):
"""Standard UserFolder object
A UserFolder holds User objects which contain information
about users including name, password domain, and roles.
UserFolders function chiefly to control access by authenticating
users and binding them to a collection of roles."""
_ofs_migrated = False
def _createInitialUser(self):
"""
If there are no users or only one user in this user folder,
populates from the 'inituser' file in the instance home.
We have to do this even when there is already a user
just in case the initial user ignored the setup messages.
We don't do it for more than one user to avoid
abuse of this mechanism.
Called only by OFS.Application.initialize().
"""
if len(self.data) <= 1:
info = readUserAccessFile('inituser')
if info:
import App.config
name, password, domains, remote_user_mode = info
self._doDelUsers(self.getUserNames())
self._doAddUser(name, password, ('Manager', ), domains)
cfg = App.config.getConfiguration()
try:
os.remove(os.path.join(cfg.instancehome, 'inituser'))
except:
pass
InitializeClass(UserFolder)
def manage_addUserFolder(self, dtself=None, REQUEST=None, **ignored):
""" """
f = UserFolder()
self = self.this()
try:
self._setObject('acl_users', f)
except:
return MessageDialog(
title='Item Exists',
message='This object already contains a User Folder',
action='%s/manage_main' % REQUEST['URL1'])
self.__allow_groups__ = f
if REQUEST is not None:
REQUEST['RESPONSE'].redirect(self.absolute_url()+'/manage_main')
| [
29113,
29113,
7804,
4242,
2235,
198,
2,
198,
2,
15069,
357,
66,
8,
6244,
1168,
3008,
5693,
290,
25767,
669,
13,
198,
2,
198,
2,
770,
3788,
318,
2426,
284,
262,
8617,
286,
262,
1168,
3008,
5094,
13789,
11,
198,
2,
10628,
362,
13,
16,
357,
57,
6489,
737,
220,
317,
4866,
286,
262,
1168,
6489,
815,
13873,
428,
6082,
13,
198,
2,
12680,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1,
5357,
15529,
5357,
11096,
7788,
32761,
6375,
8959,
49094,
198,
2,
34764,
11015,
15986,
13954,
48778,
1961,
11,
47783,
2751,
11,
21728,
5626,
40880,
5390,
11,
3336,
8959,
49094,
198,
2,
34764,
11015,
3963,
37977,
2538,
11,
34482,
3398,
1565,
5603,
25382,
11,
36218,
38604,
3268,
10913,
2751,
12529,
11,
5357,
376,
46144,
198,
2,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
198,
2,
198,
29113,
29113,
7804,
4242,
2235,
198,
37811,
12982,
24512,
198,
37811,
198,
198,
11748,
28686,
198,
198,
6738,
44564,
1330,
257,
80,
62,
8692,
198,
198,
6738,
2034,
13,
48032,
1330,
42115,
198,
6738,
2034,
13,
48032,
1330,
309,
8937,
198,
6738,
2034,
13,
20887,
62,
67,
20369,
1330,
24311,
5805,
8979,
198,
6738,
2034,
13,
24400,
18463,
1330,
16000,
44204,
198,
6738,
3963,
50,
13,
18090,
1330,
20934,
13511,
198,
6738,
3963,
50,
13,
26437,
7449,
1330,
9097,
198,
198,
6738,
8798,
15988,
1330,
5016,
24074,
12360,
198,
6738,
8798,
15988,
13,
4871,
62,
15003,
1330,
20768,
1096,
9487,
198,
6738,
8798,
15988,
13,
5990,
8481,
1330,
6687,
62,
18417,
355,
1869,
496,
14490,
198,
6738,
8798,
15988,
13,
25927,
24396,
1330,
2581,
24396,
198,
6738,
8798,
15988,
13,
18090,
37153,
1330,
5550,
38865,
22921,
45849,
2937,
4877,
198,
6738,
8798,
15988,
1330,
2836,
43551,
355,
1895,
13716,
62,
7220,
43551,
198,
6738,
8798,
15988,
13,
18417,
1330,
1100,
12982,
15457,
8979,
198,
6738,
8798,
15988,
13,
18417,
1330,
4808,
47960,
62,
7220,
62,
14171,
198,
6738,
8798,
15988,
13,
18417,
1330,
6334,
62,
7220,
198,
6738,
8798,
15988,
13,
18417,
1330,
43089,
35226,
628,
198,
4871,
14392,
12982,
41092,
7,
30575,
7065,
11,
309,
8937,
11,
9097,
11,
20934,
13511,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1895,
13716,
62,
7220,
43551,
13,
26416,
12982,
41092,
2599,
198,
220,
220,
220,
37227,
14881,
1398,
329,
11787,
41092,
12,
2339,
5563,
37811,
628,
220,
220,
220,
2324,
796,
5016,
24074,
12360,
3419,
628,
220,
220,
220,
1303,
5740,
25,
779,
286,
262,
705,
62,
16668,
6,
1438,
318,
39224,
13,
198,
220,
220,
220,
4808,
16668,
796,
6334,
62,
7220,
628,
220,
220,
220,
6687,
62,
25811,
16193,
198,
220,
220,
220,
220,
220,
220,
220,
357,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
18242,
10354,
705,
15842,
3256,
705,
2673,
10354,
705,
805,
496,
62,
12417,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
18242,
10354,
705,
2964,
18200,
3256,
705,
2673,
10354,
705,
805,
496,
62,
7220,
41092,
2964,
18200,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1343,
47445,
13511,
13,
805,
496,
62,
25811,
198,
220,
220,
220,
220,
220,
220,
220,
1343,
7449,
13,
805,
496,
62,
25811,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
2324,
13,
32446,
533,
19703,
11197,
7,
5124,
496,
14490,
11,
705,
7220,
41092,
4550,
12982,
11537,
198,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
198,
220,
220,
220,
825,
2836,
41092,
4550,
12982,
7,
944,
11,
1438,
11,
9206,
11,
9176,
11,
18209,
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,
4526,
35780,
28,
14202,
11,
12429,
46265,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17614,
2446,
329,
4441,
257,
649,
2836,
2134,
13,
5740,
326,
407,
477,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
9483,
25504,
1104,
8925,
6282,
286,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5563,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
944,
11,
705,
62,
4598,
4550,
12982,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
4598,
4550,
12982,
7,
3672,
11,
9206,
11,
9176,
11,
18209,
11,
12429,
46265,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
628,
220,
220,
220,
2324,
13,
32446,
533,
19703,
11197,
7,
5124,
496,
14490,
11,
705,
7220,
41092,
18378,
12982,
11537,
198,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
198,
220,
220,
220,
825,
2836,
41092,
18378,
12982,
7,
944,
11,
1438,
11,
9206,
11,
9176,
11,
18209,
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,
4526,
35780,
28,
14202,
11,
12429,
46265,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17614,
2446,
329,
5609,
2836,
2134,
12608,
13,
5740,
326,
407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
2836,
9483,
25504,
1104,
5609,
286,
2836,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12608,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
944,
11,
705,
62,
4598,
19400,
12982,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
4598,
19400,
12982,
7,
3672,
11,
9206,
11,
9176,
11,
18209,
11,
12429,
46265,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
628,
220,
220,
220,
2324,
13,
32446,
533,
19703,
11197,
7,
5124,
496,
14490,
11,
705,
7220,
41092,
13856,
14490,
11537,
198,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
198,
220,
220,
220,
825,
2836,
41092,
13856,
14490,
7,
944,
11,
3891,
11,
4526,
35780,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17614,
2446,
329,
34817,
530,
393,
517,
2836,
5563,
13,
5740,
326,
407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
2836,
9483,
25504,
1104,
39948,
286,
2836,
5563,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
944,
11,
705,
62,
4598,
13856,
14490,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
4598,
13856,
14490,
7,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
628,
220,
220,
220,
4808,
12417,
12982,
28,
24544,
5805,
8979,
10786,
67,
20369,
14,
12417,
12982,
3256,
15095,
874,
28955,
198,
220,
220,
220,
4808,
2860,
62,
12982,
28,
24544,
5805,
8979,
10786,
67,
20369,
14,
2860,
12982,
3256,
15095,
874,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6569,
62,
7220,
62,
14171,
834,
28,
62,
47960,
62,
7220,
62,
14171,
8,
198,
220,
220,
220,
4808,
19312,
12982,
28,
24544,
5805,
8979,
10786,
67,
20369,
14,
19312,
12982,
3256,
15095,
874,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6569,
62,
7220,
62,
14171,
834,
28,
62,
47960,
62,
7220,
62,
14171,
8,
198,
220,
220,
220,
6687,
28,
805,
496,
62,
12417,
28,
62,
12417,
12982,
198,
220,
220,
220,
6687,
62,
12417,
13557,
2617,
5376,
10786,
805,
496,
62,
12417,
11537,
628,
220,
220,
220,
4808,
7220,
41092,
2964,
18200,
796,
24311,
5805,
8979,
10786,
67,
20369,
14,
7220,
41092,
2964,
862,
3256,
15095,
874,
28955,
628,
220,
220,
220,
825,
6687,
62,
7220,
41092,
2964,
18200,
7,
944,
11,
4526,
35780,
28,
14202,
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,
6687,
62,
8658,
82,
62,
20500,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
7220,
41092,
2964,
18200,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
4526,
35780,
11,
6687,
62,
8658,
82,
62,
20500,
28,
805,
496,
62,
8658,
82,
62,
20500,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4542,
62,
1177,
11639,
2964,
18200,
11537,
628,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
198,
220,
220,
220,
825,
6687,
62,
2617,
12982,
41092,
2964,
18200,
7,
944,
11,
34117,
62,
6603,
10879,
28,
15,
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,
4296,
62,
6603,
10879,
28,
15,
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,
3509,
4868,
18417,
28,
7206,
38865,
22921,
45849,
2937,
4877,
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,
4526,
35780,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
6608,
286,
262,
2836,
9483,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12685,
6012,
62,
6603,
10879,
796,
407,
407,
34117,
62,
6603,
10879,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9806,
4868,
18417,
796,
493,
7,
9806,
4868,
18417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9806,
4868,
18417,
796,
5550,
38865,
22921,
45849,
2937,
4877,
198,
220,
220,
220,
220,
220,
220,
220,
611,
34117,
62,
6603,
10879,
290,
4296,
62,
6603,
10879,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3421,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
334,
287,
2116,
13,
1136,
14490,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
86,
796,
334,
13557,
1136,
35215,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13557,
271,
35215,
27195,
15109,
7,
79,
86,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
86,
796,
2116,
13557,
12685,
6012,
35215,
7,
79,
86,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
4598,
19400,
12982,
7,
84,
13,
1136,
7390,
22784,
279,
86,
11,
334,
13,
1136,
49,
4316,
22784,
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,
334,
13,
1136,
24510,
1299,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3421,
796,
3421,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4526,
35780,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
3421,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
705,
3237,
21442,
1541,
19365,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
705,
27195,
15109,
4064,
67,
9206,
7,
82,
737,
6,
4064,
3421,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
805,
496,
62,
7220,
41092,
2964,
18200,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4526,
35780,
11,
6687,
62,
8658,
82,
62,
20500,
28,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
3421,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4526,
35780,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
805,
496,
62,
7220,
41092,
2964,
18200,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4526,
35780,
11,
6687,
62,
8658,
82,
62,
20500,
11639,
50,
9586,
2458,
2637,
8,
628,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
628,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
628,
220,
220,
220,
2488,
25927,
24396,
10786,
32782,
11537,
628,
220,
220,
220,
2324,
13,
32446,
533,
19703,
11197,
7,
5124,
496,
14490,
11,
705,
805,
496,
62,
18417,
11537,
198,
220,
220,
220,
825,
6687,
62,
18417,
7,
944,
11,
9199,
28,
14202,
11,
4526,
35780,
28,
14202,
11,
47203,
1340,
5188,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
2446,
17105,
4560,
319,
2985,
329,
262,
3992,
1912,
5107,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
286,
262,
1168,
8895,
13,
15678,
2438,
357,
8189,
326,
318,
2354,
286,
262,
5107,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
326,
3494,
262,
12454,
286,
257,
2836,
9483,
8,
389,
10085,
284,
779,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6687,
62,
19282,
62,
2860,
12982,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
9199,
855,
6,
4550,
986,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
2860,
62,
12982,
7,
944,
11,
4526,
35780,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9199,
855,
6,
18378,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
944,
13,
1136,
12982,
7,
42180,
35226,
7,
2200,
35780,
11,
705,
3672,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
16000,
44204,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
11639,
33666,
18011,
1988,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
11639,
464,
7368,
2836,
857,
407,
2152,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
805,
496,
62,
12417,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
19312,
12982,
7,
944,
11,
4526,
35780,
11,
2836,
28,
7220,
11,
9206,
28,
7220,
13,
834,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9199,
855,
6,
4550,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
3672,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
28712,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6216,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
10414,
2533,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9176,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
305,
829,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18209,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
3438,
1299,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
2860,
12982,
7,
3672,
11,
9206,
11,
6216,
11,
9176,
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,
18209,
11,
4526,
35780,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9199,
855,
6,
19400,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
3672,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
28712,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6216,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
10414,
2533,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9176,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
305,
829,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18209,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
3438,
1299,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
3803,
12982,
7,
3672,
11,
9206,
11,
6216,
11,
9176,
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,
18209,
11,
4526,
35780,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9199,
855,
6,
38727,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
43089,
35226,
7,
2200,
35780,
11,
705,
14933,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
12381,
14490,
7,
14933,
11,
4526,
35780,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
12417,
12982,
7,
944,
11,
4526,
35780,
8,
198,
198,
24243,
1096,
9487,
7,
26416,
12982,
41092,
8,
628,
198,
4871,
11787,
41092,
7,
15526,
13716,
62,
7220,
43551,
13,
12982,
41092,
11,
14392,
12982,
41092,
2599,
198,
220,
220,
220,
37227,
23615,
11787,
41092,
2134,
628,
220,
220,
220,
317,
11787,
41092,
6622,
11787,
5563,
543,
3994,
1321,
198,
220,
220,
220,
546,
2985,
1390,
1438,
11,
9206,
7386,
11,
290,
9176,
13,
198,
220,
220,
220,
11787,
37,
727,
364,
2163,
36305,
284,
1630,
1895,
416,
8323,
12364,
198,
220,
220,
220,
2985,
290,
12765,
606,
284,
257,
4947,
286,
9176,
526,
15931,
628,
220,
220,
220,
4808,
1659,
82,
62,
76,
38769,
796,
10352,
628,
220,
220,
220,
825,
4808,
17953,
24243,
12982,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
612,
389,
645,
2985,
393,
691,
530,
2836,
287,
428,
2836,
9483,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1461,
15968,
422,
262,
705,
15003,
7220,
6,
2393,
287,
262,
4554,
1363,
13,
198,
220,
220,
220,
220,
220,
220,
220,
775,
423,
284,
466,
428,
772,
618,
612,
318,
1541,
257,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
655,
287,
1339,
262,
4238,
2836,
9514,
262,
9058,
6218,
13,
198,
220,
220,
220,
220,
220,
220,
220,
775,
836,
470,
466,
340,
329,
517,
621,
530,
2836,
284,
3368,
198,
220,
220,
220,
220,
220,
220,
220,
5076,
286,
428,
9030,
13,
198,
220,
220,
220,
220,
220,
220,
220,
34099,
691,
416,
3963,
50,
13,
23416,
13,
36733,
1096,
22446,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
7890,
8,
19841,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7508,
796,
1100,
12982,
15457,
8979,
10786,
15003,
7220,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7508,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
2034,
13,
11250,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
11,
9206,
11,
18209,
11,
6569,
62,
7220,
62,
14171,
796,
7508,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
4598,
13856,
14490,
7,
944,
13,
1136,
12982,
36690,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
4598,
4550,
12982,
7,
3672,
11,
9206,
11,
19203,
13511,
3256,
10612,
18209,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30218,
70,
796,
2034,
13,
11250,
13,
1136,
38149,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28956,
7,
418,
13,
6978,
13,
22179,
7,
37581,
13,
39098,
11195,
11,
705,
15003,
7220,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
198,
24243,
1096,
9487,
7,
12982,
41092,
8,
628,
198,
4299,
6687,
62,
2860,
12982,
41092,
7,
944,
11,
288,
83,
944,
28,
14202,
11,
4526,
35780,
28,
14202,
11,
12429,
570,
1850,
2599,
198,
220,
220,
220,
37227,
37227,
198,
220,
220,
220,
277,
796,
11787,
41092,
3419,
198,
220,
220,
220,
2116,
796,
2116,
13,
5661,
3419,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
2617,
10267,
10786,
37779,
62,
18417,
3256,
277,
8,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
16000,
44204,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
11639,
7449,
1475,
1023,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
11639,
1212,
2134,
1541,
4909,
257,
11787,
48107,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
4,
82,
14,
805,
496,
62,
12417,
6,
4064,
4526,
35780,
17816,
21886,
16,
6,
12962,
198,
220,
220,
220,
2116,
13,
834,
12154,
62,
24432,
834,
796,
277,
198,
220,
220,
220,
611,
4526,
35780,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4526,
35780,
17816,
19535,
47,
1340,
5188,
6,
4083,
445,
1060,
7,
944,
13,
48546,
62,
6371,
3419,
10,
26488,
805,
496,
62,
12417,
11537,
198
] | 2.382183 | 3,985 |
"""
.. codeauthor:: David Zwicker <[email protected]>
"""
import numpy as np
from pde import CartesianGrid, CylindricalGrid, ScalarField, VectorField
from pde.grids.operators import cylindrical as ops
def test_laplace_cyl():
""" test the implementation of the laplace operator """
for boundary_z in ["periodic", "derivative"]:
grid = CylindricalGrid(
4, (0, 5), (8, 16), periodic_z=(boundary_z == "periodic")
)
a_2d = np.random.uniform(0, 1, grid.shape)
bcs = grid.get_boundary_conditions(["derivative", boundary_z])
lap_2d = ops.make_laplace(bcs)
b_2d = lap_2d(a_2d)
assert b_2d.shape == grid.shape
def test_laplacian_field_cyl():
""" test the gradient operator """
grid = CylindricalGrid(2 * np.pi, [0, 2 * np.pi], [8, 16], periodic_z=True)
r, z = grid.cell_coords[..., 0], grid.cell_coords[..., 1]
s = ScalarField(grid, data=np.cos(r) + np.sin(z))
s_lap = s.laplace(bc="natural")
assert s_lap.data.shape == (8, 16)
res = -np.cos(r) - np.sin(r) / r - np.sin(z)
np.testing.assert_allclose(s_lap.data, res, rtol=0.1, atol=0.1)
def test_gradient_field_cyl():
""" test the gradient operator"""
grid = CylindricalGrid(2 * np.pi, [0, 2 * np.pi], [8, 16], periodic_z=True)
r, z = grid.cell_coords[..., 0], grid.cell_coords[..., 1]
s = ScalarField(grid, data=np.cos(r) + np.sin(z))
v = s.gradient(bc="natural")
assert v.data.shape == (3, 8, 16)
np.testing.assert_allclose(v.data[0], -np.sin(r), rtol=0.1, atol=0.1)
np.testing.assert_allclose(v.data[1], np.cos(z), rtol=0.1, atol=0.1)
np.testing.assert_allclose(v.data[2], 0, rtol=0.1, atol=0.1)
def test_divergence_field_cyl():
""" test the divergence operator """
grid = CylindricalGrid(2 * np.pi, [0, 2 * np.pi], [8, 16], periodic_z=True)
r, z = grid.cell_coords[..., 0], grid.cell_coords[..., 1]
data = [np.cos(r) + np.sin(z) ** 2, np.cos(r) ** 2 + np.sin(z), np.zeros_like(r)]
v = VectorField(grid, data=data)
s = v.divergence(bc="natural")
assert s.data.shape == (8, 16)
res = np.cos(z) - np.sin(r) + (np.cos(r) + np.sin(z) ** 2) / r
np.testing.assert_allclose(s.data, res, rtol=0.1, atol=0.1)
def test_vector_gradient_divergence_field_cyl():
""" test the divergence operator """
grid = CylindricalGrid(2 * np.pi, [0, 2 * np.pi], [8, 16], periodic_z=True)
r, z = grid.cell_coords[..., 0], grid.cell_coords[..., 1]
data = [np.cos(r) + np.sin(z) ** 2, np.cos(r) ** 2 + np.sin(z), np.zeros_like(r)]
v = VectorField(grid, data=data)
t = v.gradient(bc="natural")
assert t.data.shape == (3, 3, 8, 16)
v = t.divergence(bc="natural")
assert v.data.shape == (3, 8, 16)
def test_findiff_cyl():
"""test operator for a simple cylindrical grid. Note that we only
really test the polar symmetry"""
grid = CylindricalGrid(1.5, [0, 1], (3, 2), periodic_z=True)
_, r1, r2 = grid.axes_coords[0]
np.testing.assert_array_equal(grid.discretization, np.full(2, 0.5))
s = ScalarField(grid, [[1, 1], [2, 2], [4, 4]])
v = VectorField(grid, [[[1, 1], [2, 2], [4, 4]], [[0, 0]] * 3, [[0, 0]] * 3])
# test gradient
grad = s.gradient(bc=["value", "periodic"])
np.testing.assert_allclose(grad.data[0], [[1, 1], [3, 3], [-6, -6]])
grad = s.gradient(bc=["derivative", "periodic"])
np.testing.assert_allclose(grad.data[0], [[1, 1], [3, 3], [2, 2]])
# test divergence
div = v.divergence(bc=["value", "periodic"])
y1 = 3 + 2 / r1
y2 = -6 + 4 / r2
np.testing.assert_allclose(div.data, [[5, 5], [y1, y1], [y2, y2]])
div = v.divergence(bc=["derivative", "periodic"])
y2 = 2 + 4 / r2
np.testing.assert_allclose(div.data, [[5, 5], [y1, y1], [y2, y2]])
# test laplace
lap = s.laplace(bc=[{"type": "value", "value": 3}, "periodic"])
y1 = 4 + 3 / r1
y2 = -16
np.testing.assert_allclose(lap.data, [[8, 8], [y1, y1], [y2, y2]])
lap = s.laplace(bc=[{"type": "derivative", "value": 3}, "periodic"])
y2 = -2 + 3.5 / r2
np.testing.assert_allclose(lap.data, [[8, 8], [y1, y1], [y2, y2]])
def test_grid_laplace():
""" test the cylindrical implementation of the laplace operator """
grid_cyl = CylindricalGrid(6, (0, 4), (4, 4))
grid_cart = CartesianGrid([[-5, 5], [-5, 5], [0, 4]], [10, 10, 4])
a_2d = ScalarField.from_expression(grid_cyl, expression="exp(-5 * r) * cos(z / 3)")
a_3d = a_2d.interpolate_to_grid(grid_cart)
b_2d = a_2d.laplace("natural")
b_3d = a_3d.laplace("natural")
b_2d_3 = b_2d.interpolate_to_grid(grid_cart)
np.testing.assert_allclose(b_2d_3.data, b_3d.data, rtol=0.2, atol=0.2)
def test_gradient_squared():
""" compare gradient squared operator """
grid = CylindricalGrid(2 * np.pi, [0, 2 * np.pi], 64)
field = ScalarField.random_harmonic(grid, modes=1)
s1 = field.gradient("natural").to_scalar("squared_sum")
s2 = field.gradient_squared("natural", central=True)
np.testing.assert_allclose(s1.data, s2.data, rtol=0.2, atol=0.2)
s3 = field.gradient_squared("natural", central=False)
np.testing.assert_allclose(s1.data, s3.data, rtol=0.2, atol=0.2)
assert not np.array_equal(s2.data, s3.data)
def test_grid_div_grad():
""" compare div grad to laplacian """
grid = CylindricalGrid(2 * np.pi, (0, 2 * np.pi), (16, 16), periodic_z=True)
r, z = grid.cell_coords[..., 0], grid.cell_coords[..., 1]
arr = np.cos(r) + np.sin(z)
bcs = grid.get_boundary_conditions()
laplace = grid.get_operator("laplace", bcs)
grad = grid.get_operator("gradient", bcs)
div = grid.get_operator("divergence", bcs.differentiated)
a = laplace(arr)
b = div(grad(arr))
res = (-np.sin(r) / r - np.cos(r)) - np.sin(z)
# do not test the radial boundary points
np.testing.assert_allclose(a[1:-1], res[1:-1], rtol=0.1, atol=0.05)
np.testing.assert_allclose(b[1:-1], res[1:-1], rtol=0.1, atol=0.05)
| [
37811,
198,
492,
2438,
9800,
3712,
3271,
1168,
86,
15799,
1279,
67,
8490,
13,
89,
86,
15799,
31,
9310,
13,
3149,
70,
13,
2934,
29,
198,
37811,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
279,
2934,
1330,
13690,
35610,
41339,
11,
327,
2645,
521,
8143,
41339,
11,
34529,
283,
15878,
11,
20650,
15878,
198,
6738,
279,
2934,
13,
2164,
2340,
13,
3575,
2024,
1330,
17327,
521,
8143,
355,
39628,
628,
198,
4299,
1332,
62,
5031,
5372,
62,
38801,
33529,
198,
220,
220,
220,
37227,
1332,
262,
7822,
286,
262,
8591,
5372,
10088,
37227,
198,
220,
220,
220,
329,
18645,
62,
89,
287,
14631,
41007,
291,
1600,
366,
1082,
452,
876,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
11,
357,
15,
11,
642,
828,
357,
23,
11,
1467,
828,
27458,
62,
89,
16193,
7784,
560,
62,
89,
6624,
366,
41007,
291,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
257,
62,
17,
67,
796,
45941,
13,
25120,
13,
403,
6933,
7,
15,
11,
352,
11,
10706,
13,
43358,
8,
628,
220,
220,
220,
220,
220,
220,
220,
275,
6359,
796,
10706,
13,
1136,
62,
7784,
560,
62,
17561,
1756,
7,
14692,
1082,
452,
876,
1600,
18645,
62,
89,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
14779,
62,
17,
67,
796,
39628,
13,
15883,
62,
5031,
5372,
7,
65,
6359,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
62,
17,
67,
796,
14779,
62,
17,
67,
7,
64,
62,
17,
67,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
275,
62,
17,
67,
13,
43358,
6624,
10706,
13,
43358,
628,
198,
4299,
1332,
62,
5031,
489,
330,
666,
62,
3245,
62,
38801,
33529,
198,
220,
220,
220,
37227,
1332,
262,
31312,
10088,
37227,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
685,
15,
11,
362,
1635,
45941,
13,
14415,
4357,
685,
23,
11,
1467,
4357,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
374,
11,
1976,
796,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
657,
4357,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
352,
60,
198,
220,
220,
220,
264,
796,
34529,
283,
15878,
7,
25928,
11,
1366,
28,
37659,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
4008,
198,
220,
220,
220,
264,
62,
37796,
796,
264,
13,
5031,
5372,
7,
15630,
2625,
11802,
4943,
198,
220,
220,
220,
6818,
264,
62,
37796,
13,
7890,
13,
43358,
6624,
357,
23,
11,
1467,
8,
198,
220,
220,
220,
581,
796,
532,
37659,
13,
6966,
7,
81,
8,
532,
45941,
13,
31369,
7,
81,
8,
1220,
374,
532,
45941,
13,
31369,
7,
89,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
82,
62,
37796,
13,
7890,
11,
581,
11,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
16,
8,
628,
198,
4299,
1332,
62,
49607,
62,
3245,
62,
38801,
33529,
198,
220,
220,
220,
37227,
1332,
262,
31312,
10088,
37811,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
685,
15,
11,
362,
1635,
45941,
13,
14415,
4357,
685,
23,
11,
1467,
4357,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
374,
11,
1976,
796,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
657,
4357,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
352,
60,
198,
220,
220,
220,
264,
796,
34529,
283,
15878,
7,
25928,
11,
1366,
28,
37659,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
4008,
198,
220,
220,
220,
410,
796,
264,
13,
49607,
7,
15630,
2625,
11802,
4943,
198,
220,
220,
220,
6818,
410,
13,
7890,
13,
43358,
6624,
357,
18,
11,
807,
11,
1467,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
85,
13,
7890,
58,
15,
4357,
532,
37659,
13,
31369,
7,
81,
828,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
16,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
85,
13,
7890,
58,
16,
4357,
45941,
13,
6966,
7,
89,
828,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
16,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
85,
13,
7890,
58,
17,
4357,
657,
11,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
16,
8,
628,
198,
4299,
1332,
62,
67,
1428,
12745,
62,
3245,
62,
38801,
33529,
198,
220,
220,
220,
37227,
1332,
262,
43366,
10088,
37227,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
685,
15,
11,
362,
1635,
45941,
13,
14415,
4357,
685,
23,
11,
1467,
4357,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
374,
11,
1976,
796,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
657,
4357,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
352,
60,
198,
220,
220,
220,
1366,
796,
685,
37659,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
8,
12429,
362,
11,
45941,
13,
6966,
7,
81,
8,
12429,
362,
1343,
45941,
13,
31369,
7,
89,
828,
45941,
13,
9107,
418,
62,
2339,
7,
81,
15437,
198,
220,
220,
220,
410,
796,
20650,
15878,
7,
25928,
11,
1366,
28,
7890,
8,
198,
220,
220,
220,
264,
796,
410,
13,
67,
1428,
12745,
7,
15630,
2625,
11802,
4943,
198,
220,
220,
220,
6818,
264,
13,
7890,
13,
43358,
6624,
357,
23,
11,
1467,
8,
198,
220,
220,
220,
581,
796,
45941,
13,
6966,
7,
89,
8,
532,
45941,
13,
31369,
7,
81,
8,
1343,
357,
37659,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
8,
12429,
362,
8,
1220,
374,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
82,
13,
7890,
11,
581,
11,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
16,
8,
628,
198,
4299,
1332,
62,
31364,
62,
49607,
62,
67,
1428,
12745,
62,
3245,
62,
38801,
33529,
198,
220,
220,
220,
37227,
1332,
262,
43366,
10088,
37227,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
685,
15,
11,
362,
1635,
45941,
13,
14415,
4357,
685,
23,
11,
1467,
4357,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
374,
11,
1976,
796,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
657,
4357,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
352,
60,
198,
220,
220,
220,
1366,
796,
685,
37659,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
8,
12429,
362,
11,
45941,
13,
6966,
7,
81,
8,
12429,
362,
1343,
45941,
13,
31369,
7,
89,
828,
45941,
13,
9107,
418,
62,
2339,
7,
81,
15437,
198,
220,
220,
220,
410,
796,
20650,
15878,
7,
25928,
11,
1366,
28,
7890,
8,
198,
220,
220,
220,
256,
796,
410,
13,
49607,
7,
15630,
2625,
11802,
4943,
198,
220,
220,
220,
6818,
256,
13,
7890,
13,
43358,
6624,
357,
18,
11,
513,
11,
807,
11,
1467,
8,
198,
220,
220,
220,
410,
796,
256,
13,
67,
1428,
12745,
7,
15630,
2625,
11802,
4943,
198,
220,
220,
220,
6818,
410,
13,
7890,
13,
43358,
6624,
357,
18,
11,
807,
11,
1467,
8,
628,
198,
4299,
1332,
62,
19796,
733,
62,
38801,
33529,
198,
220,
220,
220,
37227,
9288,
10088,
329,
257,
2829,
17327,
521,
8143,
10706,
13,
5740,
326,
356,
691,
198,
220,
220,
220,
1107,
1332,
262,
13559,
40686,
37811,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
16,
13,
20,
11,
685,
15,
11,
352,
4357,
357,
18,
11,
362,
828,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
4808,
11,
374,
16,
11,
374,
17,
796,
10706,
13,
897,
274,
62,
1073,
3669,
58,
15,
60,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
18747,
62,
40496,
7,
25928,
13,
15410,
1186,
1634,
11,
45941,
13,
12853,
7,
17,
11,
657,
13,
20,
4008,
198,
220,
220,
220,
264,
796,
34529,
283,
15878,
7,
25928,
11,
16410,
16,
11,
352,
4357,
685,
17,
11,
362,
4357,
685,
19,
11,
604,
11907,
8,
198,
220,
220,
220,
410,
796,
20650,
15878,
7,
25928,
11,
16410,
58,
16,
11,
352,
4357,
685,
17,
11,
362,
4357,
685,
19,
11,
604,
60,
4357,
16410,
15,
11,
657,
11907,
1635,
513,
11,
16410,
15,
11,
657,
11907,
1635,
513,
12962,
628,
220,
220,
220,
1303,
1332,
31312,
198,
220,
220,
220,
3915,
796,
264,
13,
49607,
7,
15630,
28,
14692,
8367,
1600,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
9744,
13,
7890,
58,
15,
4357,
16410,
16,
11,
352,
4357,
685,
18,
11,
513,
4357,
25915,
21,
11,
532,
21,
11907,
8,
198,
220,
220,
220,
3915,
796,
264,
13,
49607,
7,
15630,
28,
14692,
1082,
452,
876,
1600,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
9744,
13,
7890,
58,
15,
4357,
16410,
16,
11,
352,
4357,
685,
18,
11,
513,
4357,
685,
17,
11,
362,
11907,
8,
628,
220,
220,
220,
1303,
1332,
43366,
198,
220,
220,
220,
2659,
796,
410,
13,
67,
1428,
12745,
7,
15630,
28,
14692,
8367,
1600,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
331,
16,
796,
513,
1343,
362,
1220,
374,
16,
198,
220,
220,
220,
331,
17,
796,
532,
21,
1343,
604,
1220,
374,
17,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
7146,
13,
7890,
11,
16410,
20,
11,
642,
4357,
685,
88,
16,
11,
331,
16,
4357,
685,
88,
17,
11,
331,
17,
11907,
8,
198,
220,
220,
220,
2659,
796,
410,
13,
67,
1428,
12745,
7,
15630,
28,
14692,
1082,
452,
876,
1600,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
331,
17,
796,
362,
1343,
604,
1220,
374,
17,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
7146,
13,
7890,
11,
16410,
20,
11,
642,
4357,
685,
88,
16,
11,
331,
16,
4357,
685,
88,
17,
11,
331,
17,
11907,
8,
628,
220,
220,
220,
1303,
1332,
8591,
5372,
198,
220,
220,
220,
14779,
796,
264,
13,
5031,
5372,
7,
15630,
41888,
4895,
4906,
1298,
366,
8367,
1600,
366,
8367,
1298,
513,
5512,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
331,
16,
796,
604,
1343,
513,
1220,
374,
16,
198,
220,
220,
220,
331,
17,
796,
532,
1433,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
37796,
13,
7890,
11,
16410,
23,
11,
807,
4357,
685,
88,
16,
11,
331,
16,
4357,
685,
88,
17,
11,
331,
17,
11907,
8,
198,
220,
220,
220,
14779,
796,
264,
13,
5031,
5372,
7,
15630,
41888,
4895,
4906,
1298,
366,
1082,
452,
876,
1600,
366,
8367,
1298,
513,
5512,
366,
41007,
291,
8973,
8,
198,
220,
220,
220,
331,
17,
796,
532,
17,
1343,
513,
13,
20,
1220,
374,
17,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
37796,
13,
7890,
11,
16410,
23,
11,
807,
4357,
685,
88,
16,
11,
331,
16,
4357,
685,
88,
17,
11,
331,
17,
11907,
8,
628,
198,
4299,
1332,
62,
25928,
62,
5031,
5372,
33529,
198,
220,
220,
220,
37227,
1332,
262,
17327,
521,
8143,
7822,
286,
262,
8591,
5372,
10088,
37227,
198,
220,
220,
220,
10706,
62,
38801,
796,
327,
2645,
521,
8143,
41339,
7,
21,
11,
357,
15,
11,
604,
828,
357,
19,
11,
604,
4008,
198,
220,
220,
220,
10706,
62,
26674,
796,
13690,
35610,
41339,
26933,
58,
12,
20,
11,
642,
4357,
25915,
20,
11,
642,
4357,
685,
15,
11,
604,
60,
4357,
685,
940,
11,
838,
11,
604,
12962,
628,
220,
220,
220,
257,
62,
17,
67,
796,
34529,
283,
15878,
13,
6738,
62,
38011,
7,
25928,
62,
38801,
11,
5408,
2625,
11201,
32590,
20,
1635,
374,
8,
1635,
8615,
7,
89,
1220,
513,
8,
4943,
198,
220,
220,
220,
257,
62,
18,
67,
796,
257,
62,
17,
67,
13,
3849,
16104,
378,
62,
1462,
62,
25928,
7,
25928,
62,
26674,
8,
628,
220,
220,
220,
275,
62,
17,
67,
796,
257,
62,
17,
67,
13,
5031,
5372,
7203,
11802,
4943,
198,
220,
220,
220,
275,
62,
18,
67,
796,
257,
62,
18,
67,
13,
5031,
5372,
7203,
11802,
4943,
198,
220,
220,
220,
275,
62,
17,
67,
62,
18,
796,
275,
62,
17,
67,
13,
3849,
16104,
378,
62,
1462,
62,
25928,
7,
25928,
62,
26674,
8,
628,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
65,
62,
17,
67,
62,
18,
13,
7890,
11,
275,
62,
18,
67,
13,
7890,
11,
374,
83,
349,
28,
15,
13,
17,
11,
379,
349,
28,
15,
13,
17,
8,
628,
198,
4299,
1332,
62,
49607,
62,
16485,
1144,
33529,
198,
220,
220,
220,
37227,
8996,
31312,
44345,
10088,
37227,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
685,
15,
11,
362,
1635,
45941,
13,
14415,
4357,
5598,
8,
198,
220,
220,
220,
2214,
796,
34529,
283,
15878,
13,
25120,
62,
29155,
9229,
7,
25928,
11,
12881,
28,
16,
8,
198,
220,
220,
220,
264,
16,
796,
2214,
13,
49607,
7203,
11802,
11074,
1462,
62,
1416,
282,
283,
7203,
16485,
1144,
62,
16345,
4943,
198,
220,
220,
220,
264,
17,
796,
2214,
13,
49607,
62,
16485,
1144,
7203,
11802,
1600,
4318,
28,
17821,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
82,
16,
13,
7890,
11,
264,
17,
13,
7890,
11,
374,
83,
349,
28,
15,
13,
17,
11,
379,
349,
28,
15,
13,
17,
8,
198,
220,
220,
220,
264,
18,
796,
2214,
13,
49607,
62,
16485,
1144,
7203,
11802,
1600,
4318,
28,
25101,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
82,
16,
13,
7890,
11,
264,
18,
13,
7890,
11,
374,
83,
349,
28,
15,
13,
17,
11,
379,
349,
28,
15,
13,
17,
8,
198,
220,
220,
220,
6818,
407,
45941,
13,
18747,
62,
40496,
7,
82,
17,
13,
7890,
11,
264,
18,
13,
7890,
8,
628,
198,
4299,
1332,
62,
25928,
62,
7146,
62,
9744,
33529,
198,
220,
220,
220,
37227,
8996,
2659,
3915,
284,
8591,
489,
330,
666,
37227,
198,
220,
220,
220,
10706,
796,
327,
2645,
521,
8143,
41339,
7,
17,
1635,
45941,
13,
14415,
11,
357,
15,
11,
362,
1635,
45941,
13,
14415,
828,
357,
1433,
11,
1467,
828,
27458,
62,
89,
28,
17821,
8,
198,
220,
220,
220,
374,
11,
1976,
796,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
657,
4357,
10706,
13,
3846,
62,
1073,
3669,
58,
986,
11,
352,
60,
198,
220,
220,
220,
5240,
796,
45941,
13,
6966,
7,
81,
8,
1343,
45941,
13,
31369,
7,
89,
8,
628,
220,
220,
220,
275,
6359,
796,
10706,
13,
1136,
62,
7784,
560,
62,
17561,
1756,
3419,
198,
220,
220,
220,
8591,
5372,
796,
10706,
13,
1136,
62,
46616,
7203,
5031,
5372,
1600,
275,
6359,
8,
198,
220,
220,
220,
3915,
796,
10706,
13,
1136,
62,
46616,
7203,
49607,
1600,
275,
6359,
8,
198,
220,
220,
220,
2659,
796,
10706,
13,
1136,
62,
46616,
7203,
67,
1428,
12745,
1600,
275,
6359,
13,
39799,
12931,
8,
198,
220,
220,
220,
257,
796,
8591,
5372,
7,
3258,
8,
198,
220,
220,
220,
275,
796,
2659,
7,
9744,
7,
3258,
4008,
198,
220,
220,
220,
581,
796,
13841,
37659,
13,
31369,
7,
81,
8,
1220,
374,
532,
45941,
13,
6966,
7,
81,
4008,
532,
45941,
13,
31369,
7,
89,
8,
198,
220,
220,
220,
1303,
466,
407,
1332,
262,
44503,
18645,
2173,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
64,
58,
16,
21912,
16,
4357,
581,
58,
16,
21912,
16,
4357,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
2713,
8,
198,
220,
220,
220,
45941,
13,
33407,
13,
30493,
62,
439,
19836,
7,
65,
58,
16,
21912,
16,
4357,
581,
58,
16,
21912,
16,
4357,
374,
83,
349,
28,
15,
13,
16,
11,
379,
349,
28,
15,
13,
2713,
8,
198
] | 2.166606 | 2,755 |
from engine.core.SquadEntity import SquadEntity
from engine.core.SourceEntity import SourceEntity
from typing import Collection, List
from numpy.lib.utils import source
import pandas as pd
| [
6738,
3113,
13,
7295,
13,
22266,
324,
32398,
1330,
11630,
32398,
198,
6738,
3113,
13,
7295,
13,
7416,
32398,
1330,
8090,
32398,
198,
6738,
19720,
1330,
12251,
11,
7343,
198,
6738,
299,
32152,
13,
8019,
13,
26791,
1330,
2723,
198,
11748,
19798,
292,
355,
279,
67,
628,
628,
628,
220,
220,
220,
220,
628,
220,
220
] | 3.607143 | 56 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import requests
'''
用于替代scrapy原生下载器(过于简陋),在尽量不渲染css/js,不访问附带文件的情况下,高度模拟真实访问,反反爬。
'''
def my_requests_request(method, url, **kwargs):
"""
:param method: method for the new :class:`Request` object.
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary or bytes to be sent in the query string for the :class:`Request`.
:param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
:param json: (optional) json data to send in the body of the :class:`Request`.
:param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`.
:param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`.
:param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': file-tuple}``) for multipart encoding upload.
``file-tuple`` can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')``
or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content-type'`` is a string
defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers
to add for the file.
:param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth.
:param timeout: (optional) How long to wait for the server to send data
before giving up, as a float, or a :ref:`(connect timeout, read
timeout) <timeouts>` tuple.
:type timeout: float or tuple
:param allow_redirects: (optional) Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection.
:type allow_redirects: bool
:param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.
:param verify: (optional) whether the SSL cert will be verified. A CA_BUNDLE path can also be provided. Defaults to ``True``.
:param stream: (optional) if ``False``, the response content will be immediately downloaded.
:param cert: (optional) if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair.
:return: :class:`Response <Response>` object
:rtype: requests.Response
"""
return requests.request(method=method, url=url, timeout=10, **kwargs)
class MyRequestsSession(requests.Session):
"""
#: A case-insensitive dictionary of headers to be sent on each
#: :class:`Request <Request>` sent from this
#: :class:`Session <Session>`.
self.headers = default_headers()
#: Default Authentication tuple or object to attach to
#: :class:`Request <Request>`.
self.auth = None
#: Dictionary mapping protocol or protocol and host to the URL of the proxy
#: (e.g. {'http': 'foo.bar:3128', 'http://host.name': 'foo.bar:4012'}) to
#: be used on each :class:`Request <Request>`.
self.proxies = {}
#: Event-handling hooks.
self.hooks = default_hooks()
#: Dictionary of querystring data to attach to each
#: :class:`Request <Request>`. The dictionary values may be lists for
#: representing multivalued query parameters.
self.params = {}
#: Stream response content default.
self.stream = False
#: SSL Verification default.
self.verify = True
#: SSL client certificate default.
self.cert = None
#: Maximum number of redirects allowed. If the request exceeds this
#: limit, a :class:`TooManyRedirects` exception is raised.
#: This defaults to requests.models.DEFAULT_REDIRECT_LIMIT, which is
#: 30.
self.max_redirects = DEFAULT_REDIRECT_LIMIT
#: Trust environment settings for proxy configuration, default
#: authentication and similar.
self.trust_env = True
#: A CookieJar containing all currently outstanding cookies set on this
#: session. By default it is a
#: :class:`RequestsCookieJar <requests.cookies.RequestsCookieJar>`, but
#: may be any other ``cookielib.CookieJar`` compatible object.
self.cookies = cookiejar_from_dict({})
# Default connection adapters.
self.adapters = OrderedDict()
self.mount('https://', HTTPAdapter())
self.mount('http://', HTTPAdapter())
# Only store 1000 redirects to prevent using infinite memory
self.redirect_cache = RecentlyUsedContainer(REDIRECT_CACHE_SIZE)
"""
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
7007,
198,
198,
7061,
6,
198,
18796,
101,
12859,
236,
162,
249,
123,
47987,
1416,
2416,
88,
43889,
253,
37955,
10310,
233,
164,
121,
121,
161,
247,
101,
171,
120,
230,
32573,
229,
12859,
236,
163,
106,
222,
165,
247,
233,
171,
120,
231,
171,
120,
234,
28839,
101,
22887,
121,
34932,
237,
38834,
162,
116,
110,
162,
253,
241,
25471,
14,
8457,
171,
120,
234,
38834,
164,
106,
123,
29785,
106,
165,
247,
226,
30585,
99,
23877,
229,
20015,
114,
21410,
46349,
227,
37863,
113,
10310,
233,
171,
120,
234,
165,
45865,
41753,
99,
162,
101,
94,
162,
233,
253,
40367,
253,
22522,
252,
164,
106,
123,
29785,
106,
171,
120,
234,
20998,
235,
20998,
235,
163,
230,
105,
16764,
198,
7061,
6,
628,
198,
4299,
616,
62,
8897,
3558,
62,
25927,
7,
24396,
11,
19016,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1058,
17143,
2446,
25,
2446,
329,
262,
649,
1058,
4871,
25,
63,
18453,
63,
2134,
13,
198,
220,
220,
220,
1058,
17143,
19016,
25,
10289,
329,
262,
649,
1058,
4871,
25,
63,
18453,
63,
2134,
13,
198,
220,
220,
220,
1058,
17143,
42287,
25,
357,
25968,
8,
28261,
393,
9881,
284,
307,
1908,
287,
262,
12405,
4731,
329,
262,
1058,
4871,
25,
63,
18453,
44646,
198,
220,
220,
220,
1058,
17143,
1366,
25,
357,
25968,
8,
28261,
11,
9881,
11,
393,
2393,
12,
2339,
2134,
284,
3758,
287,
262,
1767,
286,
262,
1058,
4871,
25,
63,
18453,
44646,
198,
220,
220,
220,
1058,
17143,
33918,
25,
357,
25968,
8,
33918,
1366,
284,
3758,
287,
262,
1767,
286,
262,
1058,
4871,
25,
63,
18453,
44646,
198,
220,
220,
220,
1058,
17143,
24697,
25,
357,
25968,
8,
28261,
286,
14626,
7123,
364,
284,
3758,
351,
262,
1058,
4871,
25,
63,
18453,
44646,
198,
220,
220,
220,
1058,
17143,
14746,
25,
357,
25968,
8,
360,
713,
393,
39606,
47511,
2134,
284,
3758,
351,
262,
1058,
4871,
25,
63,
18453,
44646,
198,
220,
220,
220,
1058,
17143,
3696,
25,
357,
25968,
8,
28261,
286,
7559,
6,
3672,
10354,
2393,
12,
2339,
12,
48205,
15506,
357,
273,
7559,
90,
6,
3672,
10354,
2393,
12,
83,
29291,
92,
15506,
8,
329,
18540,
433,
21004,
9516,
13,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
7753,
12,
83,
29291,
15506,
460,
307,
257,
362,
12,
83,
29291,
7559,
10786,
34345,
3256,
2393,
26801,
8,
15506,
11,
513,
12,
83,
29291,
7559,
10786,
34345,
3256,
2393,
26801,
11,
705,
11299,
62,
4906,
11537,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
393,
257,
604,
12,
83,
29291,
7559,
10786,
34345,
3256,
2393,
26801,
11,
705,
11299,
62,
4906,
3256,
2183,
62,
50145,
8,
15506,
11,
810,
7559,
6,
11299,
12,
4906,
6,
15506,
318,
257,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
16215,
262,
2695,
2099,
286,
262,
1813,
2393,
290,
7559,
23144,
62,
50145,
15506,
257,
8633,
12,
2339,
2134,
7268,
3224,
24697,
198,
220,
220,
220,
220,
220,
220,
220,
284,
751,
329,
262,
2393,
13,
198,
220,
220,
220,
1058,
17143,
6284,
25,
357,
25968,
8,
26828,
46545,
284,
7139,
14392,
14,
19511,
395,
14,
15022,
14626,
26828,
13,
198,
220,
220,
220,
1058,
17143,
26827,
25,
357,
25968,
8,
1374,
890,
284,
4043,
329,
262,
4382,
284,
3758,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
878,
3501,
510,
11,
355,
257,
12178,
11,
393,
257,
1058,
5420,
25,
63,
7,
8443,
26827,
11,
1100,
198,
220,
220,
220,
220,
220,
220,
220,
26827,
8,
1279,
2435,
5269,
29,
63,
46545,
13,
198,
220,
220,
220,
1058,
4906,
26827,
25,
12178,
393,
46545,
198,
220,
220,
220,
1058,
17143,
1249,
62,
445,
1060,
82,
25,
357,
25968,
8,
41146,
13,
27882,
14,
40223,
17151,
14,
3185,
51,
11053,
14,
32782,
14,
30076,
14,
47,
11417,
14,
7206,
2538,
9328,
14,
37682,
2266,
4154,
13,
198,
220,
220,
220,
1058,
4906,
1249,
62,
445,
1060,
82,
25,
20512,
198,
220,
220,
220,
1058,
17143,
41775,
25,
357,
25968,
8,
28261,
16855,
8435,
284,
262,
10289,
286,
262,
15741,
13,
198,
220,
220,
220,
1058,
17143,
11767,
25,
357,
25968,
8,
1771,
262,
25952,
5051,
481,
307,
19000,
13,
317,
7257,
62,
33,
4944,
35,
2538,
3108,
460,
635,
307,
2810,
13,
2896,
13185,
284,
7559,
17821,
15506,
13,
198,
220,
220,
220,
1058,
17143,
4269,
25,
357,
25968,
8,
611,
7559,
25101,
15506,
11,
262,
2882,
2695,
481,
307,
3393,
15680,
13,
198,
220,
220,
220,
1058,
17143,
5051,
25,
357,
25968,
8,
611,
10903,
11,
3108,
284,
264,
6649,
5456,
5051,
2393,
20262,
79,
368,
737,
1002,
309,
29291,
11,
19203,
22583,
3256,
705,
2539,
11537,
5166,
13,
198,
220,
220,
220,
1058,
7783,
25,
1058,
4871,
25,
63,
31077,
1279,
31077,
29,
63,
2134,
198,
220,
220,
220,
1058,
81,
4906,
25,
7007,
13,
31077,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
7007,
13,
25927,
7,
24396,
28,
24396,
11,
19016,
28,
6371,
11,
26827,
28,
940,
11,
12429,
46265,
22046,
8,
628,
198,
4871,
2011,
16844,
3558,
36044,
7,
8897,
3558,
13,
36044,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
25,
317,
1339,
12,
1040,
18464,
22155,
286,
24697,
284,
307,
1908,
319,
1123,
198,
220,
220,
220,
1303,
25,
1058,
4871,
25,
63,
18453,
1279,
18453,
29,
63,
1908,
422,
428,
198,
220,
220,
220,
1303,
25,
1058,
4871,
25,
63,
36044,
1279,
36044,
29,
44646,
198,
220,
220,
220,
2116,
13,
50145,
796,
4277,
62,
50145,
3419,
628,
220,
220,
220,
1303,
25,
15161,
48191,
46545,
393,
2134,
284,
10199,
284,
198,
220,
220,
220,
1303,
25,
1058,
4871,
25,
63,
18453,
1279,
18453,
29,
44646,
198,
220,
220,
220,
2116,
13,
18439,
796,
6045,
628,
220,
220,
220,
1303,
25,
28261,
16855,
8435,
393,
8435,
290,
2583,
284,
262,
10289,
286,
262,
15741,
198,
220,
220,
220,
1303,
25,
357,
68,
13,
70,
13,
1391,
6,
4023,
10354,
705,
21943,
13,
5657,
25,
18,
12762,
3256,
705,
4023,
1378,
4774,
13,
3672,
10354,
705,
21943,
13,
5657,
25,
21844,
17,
6,
30072,
284,
198,
220,
220,
220,
1303,
25,
307,
973,
319,
1123,
1058,
4871,
25,
63,
18453,
1279,
18453,
29,
44646,
198,
220,
220,
220,
2116,
13,
1676,
87,
444,
796,
23884,
628,
220,
220,
220,
1303,
25,
8558,
12,
4993,
1359,
26569,
13,
198,
220,
220,
220,
2116,
13,
25480,
82,
796,
4277,
62,
25480,
82,
3419,
628,
220,
220,
220,
1303,
25,
28261,
286,
12405,
8841,
1366,
284,
10199,
284,
1123,
198,
220,
220,
220,
1303,
25,
1058,
4871,
25,
63,
18453,
1279,
18453,
29,
44646,
383,
22155,
3815,
743,
307,
8341,
329,
198,
220,
220,
220,
1303,
25,
10200,
1963,
2473,
1739,
12405,
10007,
13,
198,
220,
220,
220,
2116,
13,
37266,
796,
23884,
628,
220,
220,
220,
1303,
25,
13860,
2882,
2695,
4277,
13,
198,
220,
220,
220,
2116,
13,
5532,
796,
10352,
628,
220,
220,
220,
1303,
25,
25952,
4643,
2649,
4277,
13,
198,
220,
220,
220,
2116,
13,
332,
1958,
796,
6407,
628,
220,
220,
220,
1303,
25,
25952,
5456,
10703,
4277,
13,
198,
220,
220,
220,
2116,
13,
22583,
796,
6045,
628,
220,
220,
220,
1303,
25,
22246,
1271,
286,
18941,
82,
3142,
13,
1002,
262,
2581,
21695,
428,
198,
220,
220,
220,
1303,
25,
4179,
11,
257,
1058,
4871,
25,
63,
23307,
7085,
7738,
1060,
82,
63,
6631,
318,
4376,
13,
198,
220,
220,
220,
1303,
25,
770,
26235,
284,
7007,
13,
27530,
13,
7206,
38865,
62,
22083,
40,
23988,
62,
43,
3955,
2043,
11,
543,
318,
198,
220,
220,
220,
1303,
25,
1542,
13,
198,
220,
220,
220,
2116,
13,
9806,
62,
445,
1060,
82,
796,
5550,
38865,
62,
22083,
40,
23988,
62,
43,
3955,
2043,
628,
220,
220,
220,
1303,
25,
9870,
2858,
6460,
329,
15741,
8398,
11,
4277,
198,
220,
220,
220,
1303,
25,
18239,
290,
2092,
13,
198,
220,
220,
220,
2116,
13,
38087,
62,
24330,
796,
6407,
628,
220,
220,
220,
1303,
25,
317,
39606,
47511,
7268,
477,
3058,
11660,
14746,
900,
319,
428,
198,
220,
220,
220,
1303,
25,
6246,
13,
2750,
4277,
340,
318,
257,
198,
220,
220,
220,
1303,
25,
1058,
4871,
25,
63,
16844,
3558,
34,
18055,
47511,
1279,
8897,
3558,
13,
27916,
444,
13,
16844,
3558,
34,
18055,
47511,
29,
47671,
475,
198,
220,
220,
220,
1303,
25,
743,
307,
597,
584,
7559,
27916,
8207,
571,
13,
34,
18055,
47511,
15506,
11670,
2134,
13,
198,
220,
220,
220,
2116,
13,
27916,
444,
796,
19751,
9491,
62,
6738,
62,
11600,
15090,
30072,
628,
220,
220,
220,
1303,
15161,
4637,
46363,
13,
198,
220,
220,
220,
2116,
13,
324,
12126,
796,
14230,
1068,
35,
713,
3419,
198,
220,
220,
220,
2116,
13,
14948,
10786,
5450,
1378,
3256,
14626,
47307,
28955,
198,
220,
220,
220,
2116,
13,
14948,
10786,
4023,
1378,
3256,
14626,
47307,
28955,
628,
220,
220,
220,
1303,
5514,
3650,
8576,
18941,
82,
284,
2948,
1262,
15541,
4088,
198,
220,
220,
220,
2116,
13,
445,
1060,
62,
23870,
796,
23413,
38052,
29869,
7,
22083,
40,
23988,
62,
34,
2246,
13909,
62,
33489,
8,
198,
220,
220,
220,
37227,
198
] | 2.827296 | 1,546 |
default_app_config = 'access.apps.AccessAppConfig' | [
12286,
62,
1324,
62,
11250,
796,
705,
15526,
13,
18211,
13,
15457,
4677,
16934,
6
] | 3.333333 | 15 |
import sys
import constants, constants_sematt
import dictionary
from data_loaders import data_loader
from data_loaders.data_loader import DataLoader, Data, RestorableData
DELIM = ','
COLON = ':'
COLON_ALT = '^'
| [
11748,
25064,
198,
198,
11748,
38491,
11,
38491,
62,
43616,
1078,
198,
11748,
22155,
198,
6738,
1366,
62,
2220,
364,
1330,
1366,
62,
29356,
198,
6738,
1366,
62,
2220,
364,
13,
7890,
62,
29356,
1330,
6060,
17401,
11,
6060,
11,
8324,
10475,
6601,
628,
198,
35,
3698,
3955,
796,
705,
4032,
198,
25154,
1340,
796,
705,
32105,
198,
25154,
1340,
62,
31429,
796,
705,
61,
6,
628,
628,
628,
628,
198
] | 3.126761 | 71 |
"""
Pacote de funções
Autor: Thiago Souza
"""
def ler_letra(txt):
"""
Função que valida letra digitada pelo usuário.
:param txt: Caracter digitado pelo usuário
:return: Letra validada corretamente.
"""
while True:
letra = input(txt).strip()
if not letra:
print("Você não digitou nenhuma letra, tente novamente...")
continue
if not letra.isalpha():
print("Você não digitou uma letra válida, tente novamente...")
continue
if len(letra) > 1:
print("Entrada inválida, digite apenas uma letra")
continue
break
return letra
def abrir_arquivo(file):
"""
Função que realiza processo de abertura de arquivo.
:param file: Arquivo a ser aberto.
:return: Arquivo aberto com sucesso.
"""
try:
arquivo = open(file, "r", encoding='UTF=8')
except FileNotFoundError:
print("Arquivo não existente, criando arquivo...")
arquivo = open(file, 'wt+', encoding='UTF=8')
return arquivo
except:
print("ERRO! O arquivo não pode ser aberto")
else:
return arquivo
def ler_arquivo(file):
"""
Função que faz leitura de conteúdo de arquivo
:param file: Arquivo a ser verificado.
:return: Dados com conteúdo do arquivo.
"""
with abrir_arquivo(file) as arquivo:
if arquivo:
dados = []
for linha in arquivo:
dados.append(linha.strip())
return dados
| [
37811,
628,
220,
220,
220,
6319,
1258,
390,
1257,
16175,
127,
113,
274,
198,
220,
220,
220,
5231,
273,
25,
536,
29601,
22862,
4496,
198,
198,
37811,
198,
198,
4299,
300,
263,
62,
1616,
430,
7,
14116,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11138,
16175,
28749,
8358,
1188,
3755,
1309,
430,
16839,
4763,
16176,
78,
514,
84,
6557,
27250,
13,
198,
220,
220,
220,
1058,
17143,
256,
742,
25,
1879,
7321,
16839,
4533,
16176,
78,
514,
84,
6557,
27250,
198,
220,
220,
220,
1058,
7783,
25,
3914,
430,
4938,
4763,
1162,
1186,
3263,
68,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1309,
430,
796,
5128,
7,
14116,
737,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1309,
430,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
53,
420,
25792,
299,
28749,
16839,
280,
299,
16550,
7487,
1309,
430,
11,
11105,
68,
645,
85,
3263,
68,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1309,
430,
13,
271,
26591,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
53,
420,
25792,
299,
28749,
16839,
280,
334,
2611,
1309,
430,
410,
6557,
75,
3755,
11,
11105,
68,
645,
85,
3263,
68,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
1616,
430,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
14539,
81,
4763,
800,
6557,
75,
3755,
11,
3100,
578,
2471,
268,
292,
334,
2611,
1309,
430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
1441,
1309,
430,
628,
198,
4299,
450,
29283,
62,
283,
421,
23593,
7,
7753,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11138,
16175,
28749,
8358,
1103,
23638,
1429,
78,
390,
450,
861,
5330,
390,
610,
421,
23593,
13,
198,
220,
220,
220,
1058,
17143,
2393,
25,
943,
421,
23593,
257,
1055,
450,
13806,
13,
198,
220,
220,
220,
1058,
7783,
25,
943,
421,
23593,
450,
13806,
401,
424,
919,
78,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
610,
421,
23593,
796,
1280,
7,
7753,
11,
366,
81,
1600,
21004,
11639,
48504,
28,
23,
11537,
628,
220,
220,
220,
2845,
9220,
3673,
21077,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
3163,
421,
23593,
299,
28749,
2152,
21872,
11,
269,
380,
25440,
610,
421,
23593,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
610,
421,
23593,
796,
1280,
7,
7753,
11,
705,
46569,
10,
3256,
21004,
11639,
48504,
28,
23,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
610,
421,
23593,
628,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1137,
13252,
0,
440,
610,
421,
23593,
299,
28749,
279,
1098,
1055,
450,
13806,
4943,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
610,
421,
23593,
628,
198,
4299,
300,
263,
62,
283,
421,
23593,
7,
7753,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11138,
16175,
28749,
8358,
277,
1031,
443,
270,
5330,
390,
542,
68,
21356,
4598,
390,
610,
421,
23593,
198,
220,
220,
220,
1058,
17143,
2393,
25,
943,
421,
23593,
257,
1055,
3326,
811,
4533,
13,
198,
220,
220,
220,
1058,
7783,
25,
17415,
418,
401,
542,
68,
21356,
4598,
466,
610,
421,
23593,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
351,
450,
29283,
62,
283,
421,
23593,
7,
7753,
8,
355,
610,
421,
23593,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
610,
421,
23593,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9955,
418,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
9493,
3099,
287,
610,
421,
23593,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9955,
418,
13,
33295,
7,
2815,
3099,
13,
36311,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
9955,
418,
628,
198
] | 2.050331 | 755 |
#!/usr/bin/env python3
#Advent of Code Day 13 "Transparent Oragami"
import sys
sys.path.append("..")
import submarine
sub = submarine.Submarine()
#Part 1
thermal = sub.navigator.thermal_camera
file = open('input.txt','r')
#Activate camera by feeding input from manual
thermal.activate(file.readlines())
#Fold once
thermal.do_folds(fold_count=1)
print(f"The number of dots after the first fold is {thermal.count_dots()}")
#Part 2
#Fold until complete
thermal.do_folds()
#Print result after folds
thermal.print() | [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
2782,
1151,
286,
6127,
3596,
1511,
366,
8291,
8000,
1471,
363,
6277,
1,
198,
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
7203,
492,
4943,
198,
198,
11748,
24927,
198,
7266,
796,
24927,
13,
7004,
42380,
3419,
198,
198,
2,
7841,
352,
198,
490,
7617,
796,
850,
13,
28341,
23823,
13,
490,
7617,
62,
25695,
198,
7753,
796,
1280,
10786,
15414,
13,
14116,
41707,
81,
11537,
198,
2,
25526,
378,
4676,
416,
13017,
5128,
422,
10107,
198,
490,
7617,
13,
39022,
7,
7753,
13,
961,
6615,
28955,
198,
198,
2,
37,
727,
1752,
198,
490,
7617,
13,
4598,
62,
69,
10119,
7,
11379,
62,
9127,
28,
16,
8,
198,
4798,
7,
69,
1,
464,
1271,
286,
22969,
706,
262,
717,
5591,
318,
1391,
490,
7617,
13,
9127,
62,
67,
1747,
3419,
92,
4943,
198,
198,
2,
7841,
362,
198,
2,
37,
727,
1566,
1844,
198,
490,
7617,
13,
4598,
62,
69,
10119,
3419,
198,
2,
18557,
1255,
706,
38744,
198,
490,
7617,
13,
4798,
3419
] | 2.920455 | 176 |
from .base import SchemaBase
class Protocol(SchemaBase):
"""
class to deal with reproschema protocols
"""
schema_type = "reproschema:Protocol"
# TODO
# def add_landing_page(self, landing_page_url, lang="en"):
# preamble
# compute
| [
6738,
764,
8692,
1330,
10011,
2611,
14881,
628,
198,
4871,
20497,
7,
27054,
2611,
14881,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1398,
284,
1730,
351,
43969,
15952,
2611,
19565,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
32815,
62,
4906,
796,
366,
260,
1676,
15952,
2611,
25,
19703,
4668,
1,
628,
220,
220,
220,
1303,
16926,
46,
198,
220,
220,
220,
1303,
825,
751,
62,
1044,
278,
62,
7700,
7,
944,
11,
9581,
62,
7700,
62,
6371,
11,
42392,
2625,
268,
1,
2599,
198,
220,
220,
220,
1303,
662,
321,
903,
198,
220,
220,
220,
1303,
24061,
198
] | 2.582524 | 103 |
import os | [
11748,
28686
] | 4.5 | 2 |
import torch
import transformers
DOWNLOAD_URL = "https://github.com/unitaryai/detoxify/releases/download/"
MODEL_URLS = {
"original": DOWNLOAD_URL + "v0.1-alpha/toxic_original-c1212f89.ckpt",
"unbiased": DOWNLOAD_URL + "v0.3-alpha/toxic_debiased-c7548aa0.ckpt",
"multilingual": DOWNLOAD_URL + "v0.4-alpha/multilingual_debiased-0b549669.ckpt",
"original-small": DOWNLOAD_URL + "v0.1.2/original-albert-0e1d6498.ckpt",
"unbiased-small": DOWNLOAD_URL + "v0.1.2/unbiased-albert-c8519128.ckpt",
}
PRETRAINED_MODEL = None
class Detoxify:
"""Detoxify
Easily predict if a comment or list of comments is toxic.
Can initialize 5 different model types from model type or checkpoint path:
- original:
model trained on data from the Jigsaw Toxic Comment
Classification Challenge
- unbiased:
model trained on data from the Jigsaw Unintended Bias in
Toxicity Classification Challenge
- multilingual:
model trained on data from the Jigsaw Multilingual
Toxic Comment Classification Challenge
- original-small:
lightweight version of the original model
- unbiased-small:
lightweight version of the unbiased model
Args:
model_type(str): model type to be loaded, can be either original,
unbiased or multilingual
checkpoint(str): checkpoint path, defaults to None
device(str or torch.device): accepts any torch.device input or torch.device object, defaults to cpu
Returns:
results(dict): dictionary of output scores for each class
"""
@torch.no_grad()
| [
11748,
28034,
198,
11748,
6121,
364,
198,
198,
41925,
35613,
62,
21886,
796,
366,
5450,
1378,
12567,
13,
785,
14,
403,
9331,
1872,
14,
15255,
1140,
1958,
14,
260,
29329,
14,
15002,
30487,
198,
33365,
3698,
62,
4261,
6561,
796,
1391,
198,
220,
220,
220,
366,
14986,
1298,
30320,
35613,
62,
21886,
1343,
366,
85,
15,
13,
16,
12,
26591,
14,
83,
18047,
62,
14986,
12,
66,
1065,
1065,
69,
4531,
13,
694,
457,
1600,
198,
220,
220,
220,
366,
403,
38002,
1298,
30320,
35613,
62,
21886,
1343,
366,
85,
15,
13,
18,
12,
26591,
14,
83,
18047,
62,
11275,
72,
839,
12,
66,
2425,
2780,
7252,
15,
13,
694,
457,
1600,
198,
220,
220,
220,
366,
16680,
34900,
1298,
30320,
35613,
62,
21886,
1343,
366,
85,
15,
13,
19,
12,
26591,
14,
16680,
34900,
62,
11275,
72,
839,
12,
15,
65,
44966,
36657,
13,
694,
457,
1600,
198,
220,
220,
220,
366,
14986,
12,
17470,
1298,
30320,
35613,
62,
21886,
1343,
366,
85,
15,
13,
16,
13,
17,
14,
14986,
12,
282,
4835,
12,
15,
68,
16,
67,
2414,
4089,
13,
694,
457,
1600,
198,
220,
220,
220,
366,
403,
38002,
12,
17470,
1298,
30320,
35613,
62,
21886,
1343,
366,
85,
15,
13,
16,
13,
17,
14,
403,
38002,
12,
282,
4835,
12,
66,
5332,
1129,
12762,
13,
694,
457,
1600,
198,
92,
198,
198,
47,
26087,
3861,
1268,
1961,
62,
33365,
3698,
796,
6045,
628,
628,
198,
198,
4871,
4614,
1140,
1958,
25,
198,
220,
220,
220,
37227,
11242,
1140,
1958,
198,
220,
220,
220,
38647,
813,
4331,
611,
257,
2912,
393,
1351,
286,
3651,
318,
11422,
13,
198,
220,
220,
220,
1680,
41216,
642,
1180,
2746,
3858,
422,
2746,
2099,
393,
26954,
3108,
25,
198,
220,
220,
220,
220,
220,
220,
220,
532,
2656,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
8776,
319,
1366,
422,
262,
449,
45636,
29274,
18957,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40984,
13879,
198,
220,
220,
220,
220,
220,
220,
220,
532,
46735,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
8776,
319,
1366,
422,
262,
449,
45636,
791,
600,
1631,
347,
4448,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
44086,
40984,
13879,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1963,
34900,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
8776,
319,
1366,
422,
262,
449,
45636,
7854,
34900,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29274,
18957,
40984,
13879,
198,
220,
220,
220,
220,
220,
220,
220,
532,
2656,
12,
17470,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18700,
2196,
286,
262,
2656,
2746,
198,
220,
220,
220,
220,
220,
220,
220,
532,
46735,
12,
17470,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18700,
2196,
286,
262,
46735,
2746,
198,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
4906,
7,
2536,
2599,
2746,
2099,
284,
307,
9639,
11,
460,
307,
2035,
2656,
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,
46735,
393,
1963,
34900,
198,
220,
220,
220,
220,
220,
220,
220,
26954,
7,
2536,
2599,
26954,
3108,
11,
26235,
284,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
3335,
7,
2536,
393,
28034,
13,
25202,
2599,
18178,
597,
28034,
13,
25202,
5128,
393,
28034,
13,
25202,
2134,
11,
26235,
284,
42804,
198,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2482,
7,
11600,
2599,
22155,
286,
5072,
8198,
329,
1123,
1398,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
13165,
354,
13,
3919,
62,
9744,
3419,
628,
628,
628
] | 2.574924 | 654 |
ONESIGNAL_APP_ID = False
ONESIGNAL_API_KEY = False
ONESIGNAL_BASE_URL = 'https://onesignal.com/api/'
ONESIGNAL_VERSION = 'v1'
TIMEZONE = 'UTC'
| [
39677,
16284,
1847,
62,
24805,
62,
2389,
796,
10352,
198,
39677,
16284,
1847,
62,
17614,
62,
20373,
796,
10352,
198,
39677,
16284,
1847,
62,
33,
11159,
62,
21886,
796,
705,
5450,
1378,
1952,
570,
282,
13,
785,
14,
15042,
14,
6,
198,
39677,
16284,
1847,
62,
43717,
796,
705,
85,
16,
6,
198,
34694,
57,
11651,
796,
705,
17429,
6,
198
] | 2.344262 | 61 |
import json
import logging
from functions import setCronJob
logging.basicConfig(filename='log.txt', encoding='utf-8', level=logging.ERROR)
try:
# variable init
configFile = open('config.json')
sensors = []
writeInterval = None
# loads config
configData = json.load(configFile)
# if write interval exist set value to variable
if 'writeInterval' in configData.keys():
writeInterval = configData['writeInterval']
else:
raise ValueError("Write interval is missing in config file.")
# if write interval is efined sets cron job
if writeInterval:
setCronJob(writeInterval)
except FileNotFoundError as exception:
logging.error("Internal error: " + str(exception))
| [
11748,
33918,
198,
11748,
18931,
198,
6738,
5499,
1330,
900,
34,
1313,
33308,
198,
198,
6404,
2667,
13,
35487,
16934,
7,
34345,
11639,
6404,
13,
14116,
3256,
21004,
11639,
40477,
12,
23,
3256,
1241,
28,
6404,
2667,
13,
24908,
8,
198,
198,
28311,
25,
198,
220,
220,
220,
1303,
7885,
2315,
198,
220,
220,
220,
4566,
8979,
796,
1280,
10786,
11250,
13,
17752,
11537,
198,
220,
220,
220,
15736,
796,
17635,
198,
220,
220,
220,
3551,
9492,
2100,
796,
6045,
198,
220,
220,
220,
1303,
15989,
4566,
198,
220,
220,
220,
4566,
6601,
796,
33918,
13,
2220,
7,
11250,
8979,
8,
628,
220,
220,
220,
1303,
611,
3551,
16654,
2152,
900,
1988,
284,
7885,
198,
220,
220,
220,
611,
705,
13564,
9492,
2100,
6,
287,
4566,
6601,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
9492,
2100,
796,
4566,
6601,
17816,
13564,
9492,
2100,
20520,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
16594,
16654,
318,
4814,
287,
4566,
2393,
19570,
628,
220,
220,
220,
1303,
611,
3551,
16654,
318,
304,
69,
1389,
5621,
1067,
261,
1693,
198,
220,
220,
220,
611,
3551,
9492,
2100,
25,
198,
220,
220,
220,
220,
220,
220,
220,
900,
34,
1313,
33308,
7,
13564,
9492,
2100,
8,
198,
198,
16341,
9220,
3673,
21077,
12331,
355,
6631,
25,
198,
220,
220,
220,
18931,
13,
18224,
7203,
37693,
4049,
25,
366,
1343,
965,
7,
1069,
4516,
4008,
198
] | 2.979675 | 246 |
#!/usr/bin/env python3
# coding: utf-8
import pytest # type: ignore
from state import Board, Piece, GameState, GameMove
from engine import GameEngine, Dice
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
19617,
25,
3384,
69,
12,
23,
198,
198,
11748,
12972,
9288,
220,
1303,
2099,
25,
8856,
198,
6738,
1181,
1330,
5926,
11,
27053,
11,
3776,
9012,
11,
3776,
21774,
198,
6738,
3113,
1330,
3776,
13798,
11,
34381,
628,
628,
628,
628,
628,
198
] | 3.111111 | 54 |
'''
Created on 23 déc. 2015
Take an application and add a worksheet to an excell for unanalyzed files
@todo : add also existing analyzer for some languages (name and url)
@todo : what to do with project files ? pom, .eclipse, .csproj etc...
@author: MRO
'''
import os, re, logging
import math
from sortedcontainers import SortedDict, SortedSet
from pathlib import PureWindowsPath
from magic import run_magic
from linguist import recognise_language
from commonpath import CommonPath
from detect_class_name import search_classes
def generate_report(application, workbook, version=None, previously_unanalysed=set()):
"""
Generate a worksheet report for files not analyzed in application
"""
app = Application(application, version, previously_unanalysed)
return app.generate_report(workbook)
class Application:
"""
Application discovery for users.
"""
def generate_report(self, workbook):
"""
Generate a worksheet report for files not analyzed in application
"""
# summary
percentage, summary = self.summary(workbook)
# for debug
self.list_files(workbook)
# un analysed files per language
self.list_unanalysed(workbook)
# delta
new_unanalysed_count = self.list_new_unanalysed(workbook)
analyzed_count = len(self.analyzed_files)
unanalyzed_count = len(self.unanalyzed_files)
total = analyzed_count + unanalyzed_count
percentage_of_new_unanalysed = new_unanalysed_count / total * 100
summary.write(2, 2, 'Percentage of new unanalyzed files')
percent_format = workbook.add_format({'num_format': '0.00"%"'})
summary.write(2, 3, math.ceil(percentage_of_new_unanalysed), percent_format)
# end delta
# debug infos
self.debug(workbook)
return percentage, percentage_of_new_unanalysed
def list_files(self, workbook):
"""
For debug.
Fill in a worksheet with list of files + types
"""
worksheet = workbook.add_worksheet('Analyzed Files List')
worksheet.write(0, 0, 'Type')
worksheet.write(0, 1, 'Path')
row = 1
for f in self.application.get_files():
if hasattr(f,'get_path') and f.get_path():
if not ".net generated files" in f.get_path():
worksheet.write(row, 0, f.get_type())
worksheet.write(row, 1, f.get_path())
row += 1
# add filters from (0, 0) to (1, row)
worksheet.autofilter(0, 0, row, 0)
def get_language(self, name):
"""
Get a language per name.
"""
if name in self.languages:
return self.languages[name]
result = Language(name)
self.languages[name] = result
return result
def __get_unanalysed_files(self):
"""
Find all unanalyzed file of an application
:rtype: collection of File
Those files are not present in KB's application
They are text files or xml files
Some files are excluded by known extensions
"""
all_files = set()
# get root path
for root in self.root_path:
logging.info("Using Source root path : %s", root)
# paranoid : if root path is too short (C: for example) skip
if root == PureWindowsPath('C:\\') or root == PureWindowsPath('C:'):
logging.info("Source root path found is invalid, aborting.")
continue
logging.info("Scanning Source root path content...")
all_files |= self.__scan_all_files(str(root))
analysed_files = self.analyzed_files
logging.info("Comparing files...")
unanalysed_files = all_files - analysed_files
self.file_count_01 = len(unanalysed_files)
# first exclude some useless, already known files
unanalysed_files = list(self.__filter_known(unanalysed_files))
self.file_count_02 = len(unanalysed_files)
logging.info("Recognizing text files using magic. May take some time...")
unanalysed_files = self.__filter_text(unanalysed_files)
self.file_count_03 = len(unanalysed_files)
logging.info("Found %s unanalyzed text files", len(unanalysed_files))
return unanalysed_files
def __get_root_path(self):
"""
Access the root source pathes of an application if found.
:return: list of PureWindowsPath
It is an approximation of the reality.
We take all files of the application and take the most common path of those.
Example :
- S:\SOURCES\D1\f1.txt
- S:\SOURCES\D2\f1.txt
--> S:\SOURCES
It will miss folders for how no file is analysed :
root
D1 ... some analysed files
D2.. no analysed files
--> root/D1 and missed D2.
"""
logging.info("Searching for source root path...")
try:
app = self.application.get_application_configuration()
result = set()
for package in app.get_packages():
result.add(PureWindowsPath(package.get_path()))
self.packages.append(package)
logging.info("Using packages from CMS")
self.cms_roots = True
return result
except:
logging.info("Using KB heuristic")
self.cms_roots = False
pathes = set()
for f in self.application.get_files():
if hasattr(f,'get_path') and f.get_path():
path = f.get_path()
# exclude some known generated files
if ".net generated files" in path:
continue
if path.startswith('['):
# inside a jar
continue
pathes.add(path.lower())
common = CommonPath(pathes)
# try common first
result = common.common()
if not result or result.endswith(':'):
# if pathological then natural
result = common.natural()
result = result.lower()
# convention : normally application root is ...\deploy\<application name>
guess = '\\deploy\\' + self.application.name.lower()
if guess in result:
logging.info('Found deploy\<app name>. Thank you, following convention renders my job easier.')
result = result[0:result.find(guess)]+guess
return [PureWindowsPath(result)]
def __scan_all_files(self, root):
"""
Give all file of a folder
"""
# give a limit of number of scanned files to avoid pathological cases
limit = 200000
result = set()
# find package
package = None
if self.packages:
# there may be several packages containing the path...
for p in self.packages:
if str(PureWindowsPath(p.get_path())) in root:
if package:
# ambiguity
# take the longest one
if len(p.get_path()) > len(package.get_path()):
package = p
else:
package = p
for dirname, _, filenames in os.walk(root):
# print path to all filenames.
for filename in filenames:
result.add(File(os.path.join(dirname, filename), package))
# paranoid
if len(result) > limit:
self.root_limit[root] = True
return result
return result
def __filter_known(self, files):
"""
Filter out files considered as not interesting.
jars, dlls, txt files etc...
VAST....uax, VAST...src
"""
# skipping by glob style file patterns
# @see https://docs.python.org/3.4/library/glob.html
excluded_patterns = [
# cast extractions
"VAST*.src",
"*.uax",
"*.uaxdirectory",
# assembly extraction
"PE.CastPeDescriptor",
# binaries
"*.jar",
"*.dll",
"*.exe",
"*.pdf",
# ms build
"*/Debug/*",
"*/Release/*",
# cvs
".cvsignore",
# Team Foundation
".tfignore",
# svn
"*.mine",
"*.theirs",
# Git
".gitignore",
"*.gitattributes",
".ratignore",
".gitmodules",
"CNAME",
# Apache
"*.htaccess",
"mod_jk.conf",
"httpd.conf",
"deny-access.conf",
"default_mod_jk.conf",
"cgi.conf",
# csslint
".csslintrc",
# Bower
".bowerrc",
# Checkstyle
"checkstyle.xml",
# Eclipse
"oracle.eclipse.tools.webtier.ui.prefs",
"org.jboss.ide.eclipse.as.core.prefs",
".faces-config.xml.jsfdia",
# Forge de devpt Safran
"Checks_Spi4j.xml",
"PMD_Spi4j.xml",
# StyleCop
"StyleCop.Cache",
"Settings.StyleCop",
# SharpCover
"*.SharpCover",
# Travis
"travis.yml",
# sonar
"sonar.yml",
# Gatling Performance Testing
"gatling.conf",
# BitHound Code and Dependencies Analysis
"*.bithoundrc",
# Node Version Manager
"*.nvmrc",
# Mocha
"mocha.opts",
# GUI prototyping tool
"*.ep",
# Modeling tools
"*.aird",
"*.ois",
# HTTP Archive Valider
"har-validator",
# Docker
"Dockerfile",
".dockerignore",
# Ansible
"*.conf.j2",
# npm
".npmignore",
# jshint
"jshint",
".jshintrc",
".jshintignore",
".jshintrc-spec",
# TSLint
".lint",
".lintignore",
"lcov.info",
# CoffeeScript
"Cakefile",
# JSCS : Javascript code style linter and formatter
".jscsrc",
".eslintignore",
".eslintrc",
# Tern : a stand-alone code-analysis engine for JavaScript
".tern-project",
# uglifyjs
"uglifyjs",
# JS and CSS SourceMaps
"*.js.map",
"*.css.map",
"*.min.map",
"*-min.map",
# Android Studio build files
"settings.gradle",
"build.gradle",
"cordova.gradle",
"build-extras.gradle",
# Maven wrappers
"mvnw",
# Maven integrity checksums, ...
"*.jar.sha1",
"*.pom.sha1",
"*.libd.sha1",
"*.pom.sha1-in-progress",
"*.jar.sha1-in-progress",
"*.pom",
"*.md5",
"_maven.repositories",
"m2e-lastUpdated.properties",
"_remote.repositories",
"*.pom.lastUpdated",
"*.jar.lastUpdated",
# EditorConfig
".editorconfig",
# Dreamweaver or Contribute Macromedia Design Note files
"*.mno",
# Eclipse, do we need to exclude ?
"pom.xml",
".project",
".classpath",
".vbproj",
# Various
"*.log",
"*.txt",
".hidden",
".ignore",
"*.md", # markdown
"*.csv",
"*.xsd", # schema definition... not interesting
# License file
"LICENSE",
"LICENCE",
"LICENSE-MIT",
"LICENSE.MIT",
"LICENSE.BSD",
"MIT.LICENSE",
"LICENSE.APACHE2",
"UNLICENSE",
"COPYING",
"BUGS",
"AUTHORS",
"OWNERS",
"CONTRIBUTORS",
"CREDITS",
"MAINTAINERS",
"TESTERS",
"Testers",
"VERSION",
"WhatsNew",
"NEWS",
"CHANGELOG",
"changelog",
"Changelog",
"NOTICE",
"USAGE",
"TODO",
"IDEAS",
"Ideas",
"STATUS",
"Status",
"PKG-INFO",
"README",
"README.*",
"TROUBLESHOOTING",
# Excel
"*.xls",
"*.xlsx",
# c++ headers are not interesting, for example external .h
# interesting is .cpp
"*.hh",
"*.h++",
"*.hpp",
"*.hcc",
"*.h",
"*.hxx",
"*.ph", # see https://castsoftware.zendesk.com/agent/tickets/16477
# skipped by analyser
"package-info.java",
# java deployment
"MANIFEST.MF",
# microsoft database project
"*.dbp",
# microsoft project...
"*.sln",
"*.vspscc",
"*.vdproj",
"*.csproj",
"*.vssscc",
"*.csproj.user",
# Public Private Key Certificate
"*.pkcs8.base64",
"*.key",
"*.crt",
"*.pem",
"*.priv",
# xcode
"*.xcbkptlist", # breakpoints
"*.xcwordspacedata",
# do not laugh, I have seen it
"tnsnames.ora",
# abap useless extracted files
'*CT.abap',
'*CP.abap',
'SAP*.sap.xml',
'SAP*.SQLTABLESIZE',
# some useless files
'*.factorypath',
'*.script',
# images
'*.svg',
# various
'*.dtd',
'*.tld',
"folder.info",
]
# this time full regular expressions
complex_patterns = [
# svn example : .r2681
".*\.r[0-9]+",
".*\\\.svn\\.*",
# git
".*\\\.git\\.*",
# eclipse config
".*org\.eclipse\..*",
# abap program description
".*\\PG_DESCR_.*\.xml",
# abap
".*\=CCAU\.abap",
".*\=IP\.abap",
# cast extracts; e.g:
# S:\Sources\DB\GCP_EEN\EIR01PRW\DT.62.src
".*\\.*\.[0-9]+\.src",
# DL.PUBLIC.A1ENB1D1.DB.ATT.COM.src
r".*\.PUBLIC\..*\.src",
# \CAST_TLG_PB\ap\src\apbill\apbill.pbl_CASTExtractor\d_bl_ur_thresholds_list.srd
r".*\.pbl_CASTExtractor.*",
# obvious node modules
r".*\node_modules\.*",
]
# special case for html5
selected_javascript_pathes = []
try:
mngt_app = self.application.get_application_configuration()
for analysis_unit in mngt_app.get_analysis_units():
if 'HTML5/Javascript' in analysis_unit.get_technologies():
selected_javascript_pathes += [PureWindowsPath(p) for p in analysis_unit.get_included_selection()]
except:
pass
for f in files:
# skip some
if is_excluded(f.path):
continue
yield f
def __filter_text(self, files):
"""
return text files only
"""
result = []
m = {}
for f in files:
m[f.path] = f
# consider only those that are text only
magic = run_magic(m.keys())
for f in magic:
mime = f[1]
content_type = mime[0]
# @todo : may have other combinations to handle
if content_type == 'text' or len(mime) > 1 and mime[1] == 'xml':
try:
_file = m[PureWindowsPath(f[0])]
# stores mime info on the file object
_file.mime_type = mime
result.append(_file)
except KeyError:
pass
return result
def __scan_xml_files(self):
"""
Scan xml files and search for classes names.
exclude tld files...
"""
try:
xml_files = self.unanalysed_files_per_languages[Language('XML')]
logging.info('Scanning XML files for classes names...')
files_with_classes = search_classes(xml_files, self.application.objects().has_type('Java').is_class())
xml_framework_language = Language('XML Framework')
xml_frameworks = SortedSet()
for _file in files_with_classes:
xml_frameworks.add(_file)
self.languages_with_unanalysed_files.add(xml_framework_language)
_file.language = xml_framework_language
self.unanalysed_files_per_languages[Language('XML')] = xml_files - xml_frameworks
self.unanalysed_files_per_languages[xml_framework_language] = xml_frameworks
except:
# no XML files
pass
class File:
"""
Represent a file and informations found on it
"""
def set_mime(self, mime):
"""
Set mime type recognized by libmagic
:param: mime a pair of string
@see http://www.iana.org/assignments/media-types/media-types.xhtml
"""
self.mime_type = mime
def get_language(self, application):
"""
Get the recognized language of the file.
"""
if self.languages:
# if several choices... ????
self.language = self.languages[0][0]
else:
# try mime type :
if self.mime_type == ['application', 'xml']:
self.language = 'XML'
elif self.mime_type == ['text', 'html']:
self.language = 'HTML'
return application.get_language(self.language)
def get_package_name(self):
"""
CMS package name in which this file is found
"""
if self.package:
return self.package.name
else:
return "?"
| [
7061,
6,
198,
41972,
319,
2242,
39073,
66,
13,
1853,
198,
198,
12322,
281,
3586,
290,
751,
257,
2499,
25473,
284,
281,
409,
3846,
329,
555,
38200,
8863,
3696,
198,
198,
31,
83,
24313,
1058,
751,
635,
4683,
4284,
9107,
329,
617,
8950,
357,
3672,
290,
19016,
8,
198,
198,
31,
83,
24313,
1058,
644,
284,
466,
351,
1628,
3696,
5633,
279,
296,
11,
764,
68,
17043,
11,
764,
6359,
1676,
73,
3503,
986,
628,
198,
31,
9800,
25,
337,
13252,
198,
7061,
6,
198,
11748,
28686,
11,
302,
11,
18931,
198,
11748,
10688,
198,
6738,
23243,
3642,
50221,
1330,
311,
9741,
35,
713,
11,
311,
9741,
7248,
198,
6738,
3108,
8019,
1330,
17129,
11209,
15235,
198,
6738,
5536,
1330,
1057,
62,
32707,
198,
6738,
20280,
396,
1330,
21817,
62,
16129,
198,
6738,
2219,
6978,
1330,
8070,
15235,
198,
6738,
4886,
62,
4871,
62,
3672,
1330,
2989,
62,
37724,
628,
198,
4299,
7716,
62,
13116,
7,
31438,
11,
670,
2070,
11,
2196,
28,
14202,
11,
4271,
62,
403,
272,
47557,
28,
2617,
3419,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2980,
378,
257,
2499,
25473,
989,
329,
3696,
407,
15475,
287,
3586,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
598,
796,
15678,
7,
31438,
11,
2196,
11,
4271,
62,
403,
272,
47557,
8,
198,
220,
220,
220,
1441,
598,
13,
8612,
378,
62,
13116,
7,
1818,
2070,
8,
628,
198,
198,
4871,
15678,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
15678,
9412,
329,
2985,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
7716,
62,
13116,
7,
944,
11,
670,
2070,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
378,
257,
2499,
25473,
989,
329,
3696,
407,
15475,
287,
3586,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10638,
198,
220,
220,
220,
220,
220,
220,
220,
5873,
11,
10638,
796,
2116,
13,
49736,
7,
1818,
2070,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
14257,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
4868,
62,
16624,
7,
1818,
2070,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
555,
34763,
3696,
583,
3303,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
4868,
62,
403,
272,
47557,
7,
1818,
2070,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
25979,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
403,
272,
47557,
62,
9127,
796,
2116,
13,
4868,
62,
3605,
62,
403,
272,
47557,
7,
1818,
2070,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
15475,
62,
9127,
796,
18896,
7,
944,
13,
38200,
8863,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
555,
38200,
8863,
62,
9127,
796,
18896,
7,
944,
13,
403,
38200,
8863,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2472,
796,
15475,
62,
9127,
1343,
555,
38200,
8863,
62,
9127,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
5873,
62,
1659,
62,
3605,
62,
403,
272,
47557,
796,
649,
62,
403,
272,
47557,
62,
9127,
1220,
2472,
1635,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
13,
13564,
7,
17,
11,
362,
11,
705,
31905,
496,
286,
649,
555,
38200,
8863,
3696,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1411,
62,
18982,
796,
670,
2070,
13,
2860,
62,
18982,
15090,
6,
22510,
62,
18982,
10354,
705,
15,
13,
405,
1,
4,
30543,
30072,
220,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
13,
13564,
7,
17,
11,
513,
11,
10688,
13,
344,
346,
7,
25067,
496,
62,
1659,
62,
3605,
62,
403,
272,
47557,
828,
1411,
62,
18982,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
886,
25979,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
14257,
1167,
418,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24442,
7,
1818,
2070,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5873,
11,
5873,
62,
1659,
62,
3605,
62,
403,
272,
47557,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1351,
62,
16624,
7,
944,
11,
670,
2070,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1114,
14257,
13,
220,
198,
220,
220,
220,
220,
220,
220,
220,
27845,
287,
257,
2499,
25473,
351,
1351,
286,
3696,
1343,
3858,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
796,
670,
2070,
13,
2860,
62,
5225,
25473,
10786,
37702,
8863,
13283,
7343,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
13,
13564,
7,
15,
11,
657,
11,
705,
6030,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
13,
13564,
7,
15,
11,
352,
11,
705,
15235,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
5752,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
2116,
13,
31438,
13,
1136,
62,
16624,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
69,
4032,
1136,
62,
6978,
11537,
290,
277,
13,
1136,
62,
6978,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
27071,
3262,
7560,
3696,
1,
287,
277,
13,
1136,
62,
6978,
33529,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
13,
13564,
7,
808,
11,
657,
11,
277,
13,
1136,
62,
4906,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
13,
13564,
7,
808,
11,
352,
11,
277,
13,
1136,
62,
6978,
28955,
198,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
5752,
15853,
352,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
16628,
422,
357,
15,
11,
657,
8,
284,
357,
16,
11,
5752,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2499,
25473,
13,
2306,
1659,
346,
353,
7,
15,
11,
657,
11,
5752,
11,
657,
8,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
651,
62,
16129,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
257,
3303,
583,
1438,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1438,
287,
2116,
13,
75,
33213,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
75,
33213,
58,
3672,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
15417,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
75,
33213,
58,
3672,
60,
796,
1255,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
1136,
62,
403,
272,
47557,
62,
16624,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
9938,
477,
555,
38200,
8863,
2393,
286,
281,
3586,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
4947,
286,
9220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
5845,
3696,
389,
407,
1944,
287,
14204,
338,
3586,
198,
220,
220,
220,
220,
220,
220,
220,
1119,
389,
2420,
3696,
393,
35555,
3696,
198,
220,
220,
220,
220,
220,
220,
220,
2773,
3696,
389,
15009,
416,
1900,
18366,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
16624,
796,
900,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
6808,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6808,
287,
2116,
13,
15763,
62,
6978,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
12814,
8090,
6808,
3108,
1058,
4064,
82,
1600,
6808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
30285,
1058,
611,
6808,
3108,
318,
1165,
1790,
357,
34,
25,
329,
1672,
8,
14267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6808,
6624,
17129,
11209,
15235,
10786,
34,
25,
6852,
11537,
393,
6808,
6624,
17129,
11209,
15235,
10786,
34,
32105,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
7416,
6808,
3108,
1043,
318,
12515,
11,
15614,
278,
19570,
198,
220,
220,
220,
220,
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,
220,
220,
220,
220,
18931,
13,
10951,
7203,
33351,
768,
8090,
6808,
3108,
2695,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
62,
16624,
930,
28,
2116,
13,
834,
35836,
62,
439,
62,
16624,
7,
2536,
7,
15763,
4008,
628,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
34763,
62,
16624,
796,
2116,
13,
38200,
8863,
62,
16624,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
7293,
1723,
3696,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
555,
272,
47557,
62,
16624,
796,
477,
62,
16624,
532,
34763,
62,
16624,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7753,
62,
9127,
62,
486,
796,
18896,
7,
403,
272,
47557,
62,
16624,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
717,
19607,
617,
13894,
11,
1541,
1900,
3696,
198,
220,
220,
220,
220,
220,
220,
220,
555,
272,
47557,
62,
16624,
796,
1351,
7,
944,
13,
834,
24455,
62,
4002,
7,
403,
272,
47557,
62,
16624,
4008,
220,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7753,
62,
9127,
62,
2999,
796,
18896,
7,
403,
272,
47557,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
6690,
2360,
2890,
2420,
3696,
1262,
5536,
13,
1737,
1011,
617,
640,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
555,
272,
47557,
62,
16624,
796,
2116,
13,
834,
24455,
62,
5239,
7,
403,
272,
47557,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7753,
62,
9127,
62,
3070,
796,
18896,
7,
403,
272,
47557,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
21077,
220,
4064,
82,
555,
38200,
8863,
2420,
3696,
1600,
18896,
7,
403,
272,
47557,
62,
16624,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
555,
272,
47557,
62,
16624,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
1136,
62,
15763,
62,
6978,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8798,
262,
6808,
2723,
1458,
956,
286,
281,
3586,
611,
1043,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
286,
17129,
11209,
15235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
632,
318,
281,
40874,
286,
262,
3950,
13,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
775,
1011,
477,
3696,
286,
262,
3586,
290,
1011,
262,
749,
2219,
3108,
286,
883,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
17934,
1058,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
311,
7479,
50,
2606,
7397,
1546,
59,
35,
16,
59,
69,
16,
13,
14116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
311,
7479,
50,
2606,
7397,
1546,
59,
35,
17,
59,
69,
16,
13,
14116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14610,
311,
7479,
50,
2606,
7397,
1546,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
632,
481,
2051,
24512,
329,
703,
645,
2393,
318,
34763,
1058,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
6808,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
16,
2644,
617,
34763,
3696,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
17,
492,
645,
34763,
3696,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
14610,
6808,
14,
35,
16,
290,
6825,
360,
17,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
18243,
278,
329,
2723,
6808,
3108,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
598,
796,
2116,
13,
31438,
13,
1136,
62,
31438,
62,
11250,
3924,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
900,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
5301,
287,
598,
13,
1136,
62,
43789,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2860,
7,
49548,
11209,
15235,
7,
26495,
13,
1136,
62,
6978,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
43789,
13,
33295,
7,
26495,
8,
198,
220,
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,
18931,
13,
10951,
7203,
12814,
10392,
422,
40773,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46406,
62,
19150,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7203,
12814,
14204,
339,
27915,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46406,
62,
19150,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1458,
956,
796,
900,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
2116,
13,
31438,
13,
1136,
62,
16624,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
69,
4032,
1136,
62,
6978,
11537,
290,
277,
13,
1136,
62,
6978,
33529,
198,
220,
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,
220,
220,
220,
3108,
796,
277,
13,
1136,
62,
6978,
3419,
198,
220,
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,
220,
220,
220,
1303,
19607,
617,
1900,
7560,
3696,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
27071,
3262,
7560,
3696,
1,
287,
3108,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
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,
220,
220,
220,
611,
3108,
13,
9688,
2032,
342,
10786,
17816,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2641,
257,
17379,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
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,
220,
220,
220,
1458,
956,
13,
2860,
7,
6978,
13,
21037,
28955,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2219,
796,
8070,
15235,
7,
8071,
956,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1949,
2219,
717,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2219,
13,
11321,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1255,
393,
1255,
13,
437,
2032,
342,
7,
10354,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
42306,
788,
3288,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2219,
13,
11802,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
1255,
13,
21037,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9831,
1058,
7685,
3586,
6808,
318,
2644,
59,
2934,
1420,
49778,
31438,
1438,
29,
198,
220,
220,
220,
220,
220,
220,
220,
4724,
796,
705,
6852,
2934,
1420,
6852,
6,
1343,
2116,
13,
31438,
13,
3672,
13,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4724,
287,
1255,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
21077,
6061,
49778,
1324,
1438,
28401,
6952,
345,
11,
1708,
9831,
30111,
616,
1693,
4577,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
1255,
58,
15,
25,
20274,
13,
19796,
7,
5162,
408,
15437,
10,
5162,
408,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
49548,
11209,
15235,
7,
20274,
15437,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
35836,
62,
439,
62,
16624,
7,
944,
11,
6808,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13786,
477,
2393,
286,
257,
9483,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1577,
257,
4179,
286,
1271,
286,
28660,
3696,
284,
3368,
42306,
2663,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4179,
796,
939,
830,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
900,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1064,
5301,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
5301,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
43789,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
612,
743,
307,
1811,
10392,
7268,
262,
3108,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
2116,
13,
43789,
25,
198,
220,
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,
220,
220,
220,
611,
965,
7,
49548,
11209,
15235,
7,
79,
13,
1136,
62,
6978,
3419,
4008,
287,
6808,
25,
198,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
611,
5301,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33985,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1011,
262,
14069,
530,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
79,
13,
1136,
62,
6978,
28955,
1875,
18896,
7,
26495,
13,
1136,
62,
6978,
3419,
2599,
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,
5301,
796,
279,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5301,
796,
279,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
3672,
11,
4808,
11,
1226,
268,
1047,
287,
28686,
13,
11152,
7,
15763,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
3108,
284,
477,
1226,
268,
1047,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
29472,
287,
1226,
268,
1047,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2860,
7,
8979,
7,
418,
13,
6978,
13,
22179,
7,
15908,
3672,
11,
29472,
828,
5301,
4008,
198,
220,
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,
220,
220,
220,
1303,
30285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
20274,
8,
1875,
4179,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
62,
32374,
58,
15763,
60,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
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,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
24455,
62,
4002,
7,
944,
11,
3696,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
25853,
503,
3696,
3177,
355,
407,
3499,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
33008,
11,
288,
297,
82,
11,
256,
742,
3696,
3503,
986,
198,
220,
220,
220,
220,
220,
220,
220,
569,
11262,
1106,
84,
897,
11,
569,
11262,
986,
10677,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31017,
416,
15095,
3918,
2393,
7572,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2488,
3826,
3740,
1378,
31628,
13,
29412,
13,
2398,
14,
18,
13,
19,
14,
32016,
14,
4743,
672,
13,
6494,
198,
220,
220,
220,
220,
220,
220,
220,
15009,
62,
33279,
82,
796,
685,
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,
1303,
3350,
7925,
507,
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,
366,
53,
11262,
24620,
10677,
1600,
220,
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,
366,
24620,
84,
897,
1600,
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,
366,
24620,
84,
897,
34945,
1600,
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,
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,
1303,
10474,
22236,
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,
366,
11401,
13,
19248,
6435,
24564,
1968,
273,
1600,
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,
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,
1303,
38640,
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,
366,
24620,
9491,
1600,
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,
366,
24620,
12736,
1600,
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,
366,
24620,
13499,
1600,
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,
366,
24620,
12315,
1600,
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,
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,
1303,
13845,
1382,
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,
366,
16208,
27509,
15211,
1600,
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,
366,
16208,
26362,
15211,
1600,
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,
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,
1303,
269,
14259,
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,
27071,
33967,
12683,
382,
1600,
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,
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,
1303,
4816,
5693,
220,
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,
27071,
27110,
46430,
1600,
220,
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,
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,
1303,
38487,
77,
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,
366,
24620,
3810,
1600,
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,
366,
24620,
1169,
17062,
1600,
220,
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,
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,
1303,
15151,
220,
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,
27071,
18300,
46430,
1600,
220,
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,
366,
24620,
18300,
1078,
7657,
1600,
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,
27071,
10366,
46430,
1600,
220,
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,
27071,
18300,
18170,
1600,
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,
366,
34,
20608,
1600,
220,
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,
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,
1303,
24843,
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,
366,
24620,
4352,
15526,
1600,
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,
366,
4666,
62,
73,
74,
13,
10414,
1600,
220,
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,
366,
4023,
67,
13,
10414,
1600,
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,
366,
6559,
88,
12,
15526,
13,
10414,
1600,
220,
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,
366,
12286,
62,
4666,
62,
73,
74,
13,
10414,
1600,
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,
366,
37157,
13,
10414,
1600,
220,
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,
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,
1303,
269,
45163,
600,
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,
27071,
25471,
75,
600,
6015,
1600,
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,
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,
1303,
347,
789,
220,
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,
27071,
65,
789,
6015,
1600,
220,
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,
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,
1303,
6822,
7635,
220,
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,
366,
9122,
7635,
13,
19875,
1600,
220,
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,
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,
1303,
30991,
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,
366,
273,
6008,
13,
68,
17043,
13,
31391,
13,
12384,
24948,
13,
9019,
13,
3866,
9501,
1600,
220,
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,
366,
2398,
13,
73,
42820,
13,
485,
13,
68,
17043,
13,
292,
13,
7295,
13,
3866,
9501,
1600,
220,
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,
27071,
32186,
12,
11250,
13,
19875,
13,
8457,
16344,
544,
1600,
220,
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,
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,
1303,
24855,
390,
1614,
457,
6895,
2596,
220,
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,
366,
7376,
4657,
62,
4561,
72,
19,
73,
13,
19875,
1600,
220,
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,
366,
5868,
35,
62,
4561,
72,
19,
73,
13,
19875,
1600,
220,
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,
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,
1303,
17738,
13379,
220,
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,
366,
21466,
13379,
13,
30562,
1600,
220,
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,
366,
26232,
13,
21466,
13379,
1600,
220,
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,
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,
1303,
22835,
27245,
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,
366,
24620,
44336,
27245,
1600,
220,
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,
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,
1303,
19804,
220,
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,
366,
83,
16956,
13,
88,
4029,
1600,
220,
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,
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,
1303,
3367,
283,
220,
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,
366,
1559,
283,
13,
88,
4029,
1600,
220,
220,
220,
220,
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,
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,
1303,
29074,
1359,
15193,
23983,
220,
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,
366,
41268,
1359,
13,
10414,
1600,
220,
220,
220,
220,
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,
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,
1303,
4722,
39,
633,
6127,
290,
37947,
3976,
14691,
220,
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,
366,
24620,
65,
342,
633,
6015,
1600,
220,
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,
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,
1303,
19081,
10628,
9142,
220,
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,
366,
24620,
77,
14761,
6015,
1600,
220,
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,
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,
1303,
4270,
11693,
220,
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,
366,
76,
5374,
64,
13,
404,
912,
1600,
220,
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,
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,
1303,
25757,
41369,
278,
2891,
220,
220,
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,
366,
24620,
538,
1600,
220,
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,
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,
1303,
9104,
278,
4899,
220,
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,
366,
24620,
41620,
1600,
220,
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,
366,
24620,
10924,
1600,
220,
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,
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,
1303,
14626,
20816,
3254,
1304,
220,
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,
366,
9869,
12,
12102,
1352,
1600,
220,
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,
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,
1303,
25716,
220,
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,
366,
35,
12721,
7753,
1600,
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,
27071,
45986,
46430,
1600,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28038,
856,
220,
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,
366,
24620,
10414,
13,
73,
17,
1600,
220,
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,
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,
1303,
30599,
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,
27071,
77,
4426,
46430,
1600,
220,
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,
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,
1303,
474,
1477,
600,
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,
366,
73,
1477,
600,
1600,
220,
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,
27071,
73,
1477,
600,
6015,
1600,
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,
27071,
73,
1477,
600,
46430,
1600,
220,
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,
27071,
73,
1477,
600,
6015,
12,
16684,
1600,
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,
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,
1303,
309,
8634,
600,
220,
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,
27071,
75,
600,
1600,
220,
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,
27071,
75,
600,
46430,
1600,
220,
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,
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,
366,
44601,
709,
13,
10951,
1600,
220,
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,
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,
1303,
19443,
7391,
220,
220,
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,
366,
34,
539,
7753,
1600,
220,
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,
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,
1303,
449,
6173,
50,
1058,
24711,
2438,
3918,
300,
3849,
290,
1296,
1436,
220,
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,
27071,
73,
1416,
10677,
1600,
220,
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,
27071,
274,
75,
600,
46430,
1600,
220,
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,
27071,
274,
75,
600,
6015,
1600,
220,
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,
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,
1303,
309,
1142,
1058,
257,
1302,
12,
17749,
2438,
12,
20930,
3113,
329,
11933,
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,
27071,
759,
12,
16302,
1600,
220,
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,
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,
1303,
334,
4743,
1958,
8457,
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,
366,
1018,
75,
1958,
8457,
1600,
220,
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,
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,
1303,
26755,
290,
17391,
8090,
47010,
220,
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,
366,
24620,
8457,
13,
8899,
1600,
220,
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,
366,
24620,
25471,
13,
8899,
1600,
220,
220,
220,
220,
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,
366,
24620,
1084,
13,
8899,
1600,
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,
366,
9,
12,
1084,
13,
8899,
1600,
220,
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,
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,
1303,
5565,
11733,
1382,
3696,
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,
366,
33692,
13,
9744,
293,
1600,
220,
220,
220,
220,
220,
220,
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,
366,
11249,
13,
9744,
293,
1600,
220,
220,
220,
220,
220,
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,
366,
66,
585,
10071,
13,
9744,
293,
1600,
220,
220,
220,
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,
366,
11249,
12,
2302,
8847,
13,
9744,
293,
1600,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
337,
4005,
7917,
11799,
220,
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,
366,
76,
85,
47516,
1600,
220,
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,
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,
1303,
337,
4005,
11540,
8794,
5700,
11,
2644,
220,
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,
366,
24620,
9491,
13,
26270,
16,
1600,
220,
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,
366,
24620,
79,
296,
13,
26270,
16,
1600,
220,
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,
366,
24620,
8019,
67,
13,
26270,
16,
1600,
220,
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,
366,
24620,
79,
296,
13,
26270,
16,
12,
259,
12,
33723,
1600,
220,
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,
366,
24620,
9491,
13,
26270,
16,
12,
259,
12,
33723,
1600,
220,
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,
366,
24620,
79,
296,
1600,
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,
366,
24620,
9132,
20,
1600,
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,
45434,
2611,
574,
13,
260,
1930,
270,
1749,
1600,
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,
366,
76,
17,
68,
12,
12957,
17354,
13,
48310,
1600,
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,
45434,
47960,
13,
260,
1930,
270,
1749,
1600,
220,
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,
366,
24620,
79,
296,
13,
12957,
17354,
1600,
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,
366,
24620,
9491,
13,
12957,
17354,
1600,
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,
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,
1303,
12058,
16934,
220,
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,
27071,
35352,
11250,
1600,
220,
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,
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,
1303,
7610,
732,
8770,
393,
2345,
4163,
4100,
398,
5507,
8495,
5740,
3696,
220,
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,
366,
24620,
76,
3919,
1600,
220,
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,
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,
1303,
30991,
11,
466,
356,
761,
284,
19607,
5633,
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,
366,
79,
296,
13,
19875,
1600,
220,
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,
27071,
16302,
1600,
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,
27071,
4871,
6978,
1600,
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,
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,
27071,
85,
65,
1676,
73,
1600,
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,
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,
1303,
26386,
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,
366,
24620,
6404,
1600,
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,
366,
24620,
14116,
1600,
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,
27071,
30342,
1600,
220,
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,
27071,
46430,
1600,
220,
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,
366,
24620,
9132,
1600,
1303,
1317,
2902,
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,
366,
24620,
40664,
1600,
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,
366,
24620,
87,
21282,
1600,
1303,
32815,
6770,
986,
407,
3499,
220,
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,
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,
1303,
13789,
2393,
220,
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,
366,
43,
2149,
24290,
1600,
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,
366,
43,
2149,
18310,
1600,
220,
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,
366,
43,
2149,
24290,
12,
36393,
1600,
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,
366,
43,
2149,
24290,
13,
36393,
1600,
220,
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,
366,
43,
2149,
24290,
13,
21800,
1600,
220,
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,
366,
36393,
13,
43,
2149,
24290,
1600,
220,
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,
366,
43,
2149,
24290,
13,
2969,
2246,
13909,
17,
1600,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4944,
43,
2149,
24290,
1600,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34,
3185,
45761,
1600,
220,
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,
366,
12953,
50,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
32,
24318,
20673,
1600,
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,
366,
14165,
4877,
1600,
220,
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,
366,
10943,
5446,
9865,
3843,
20673,
1600,
220,
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,
366,
9419,
24706,
50,
1600,
220,
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,
366,
5673,
1268,
30339,
4877,
1600,
220,
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,
366,
51,
6465,
4877,
1600,
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,
366,
51,
8586,
1600,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
43717,
1600,
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,
366,
1199,
1381,
3791,
1600,
220,
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,
366,
49597,
1600,
220,
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,
366,
3398,
15567,
3698,
7730,
1600,
220,
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,
366,
354,
8368,
519,
1600,
220,
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,
366,
1925,
8368,
519,
1600,
220,
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,
366,
11929,
8476,
1600,
220,
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,
366,
2937,
11879,
1600,
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,
366,
51,
3727,
46,
1600,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
14114,
1921,
1600,
220,
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,
366,
41452,
292,
1600,
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,
366,
35744,
2937,
1600,
220,
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,
366,
19580,
1600,
220,
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,
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,
366,
40492,
38,
12,
10778,
1600,
220,
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,
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,
366,
15675,
11682,
1600,
220,
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,
366,
15675,
11682,
15885,
1600,
220,
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,
366,
5446,
2606,
9148,
1546,
32298,
2394,
2751,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
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,
1303,
24134,
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,
366,
24620,
87,
7278,
1600,
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,
366,
24620,
87,
7278,
87,
1600,
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,
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,
1303,
269,
4880,
24697,
389,
407,
3499,
11,
329,
1672,
7097,
764,
71,
220,
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,
1303,
3499,
318,
764,
20322,
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,
366,
24620,
12337,
1600,
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,
366,
24620,
71,
4880,
1600,
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,
366,
24620,
71,
381,
1600,
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,
366,
24620,
71,
535,
1600,
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,
366,
24620,
71,
1600,
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,
366,
24620,
71,
5324,
1600,
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,
366,
24620,
746,
1600,
1303,
766,
3740,
1378,
2701,
43776,
13,
89,
437,
274,
74,
13,
785,
14,
25781,
14,
83,
15970,
14,
1433,
32883,
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,
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,
1303,
26684,
416,
11090,
263,
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,
366,
26495,
12,
10951,
13,
12355,
1600,
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,
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,
1303,
20129,
14833,
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,
366,
10725,
5064,
6465,
13,
49800,
1600,
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,
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,
1303,
4580,
4215,
6831,
1628,
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,
366,
24620,
9945,
79,
1600,
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,
1303,
4580,
4215,
1628,
986,
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,
366,
24620,
6649,
77,
1600,
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,
366,
24620,
14259,
862,
535,
1600,
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,
366,
24620,
20306,
1676,
73,
1600,
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,
366,
24620,
6359,
1676,
73,
1600,
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,
366,
24620,
85,
824,
82,
535,
1600,
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,
366,
24620,
6359,
1676,
73,
13,
7220,
1600,
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,
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,
1303,
5094,
15348,
7383,
27895,
220,
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,
366,
24620,
79,
74,
6359,
23,
13,
8692,
2414,
1600,
220,
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,
366,
24620,
2539,
1600,
220,
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,
366,
24620,
6098,
83,
1600,
220,
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,
366,
24620,
79,
368,
1600,
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,
366,
24620,
13776,
1600,
220,
220,
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,
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,
1303,
2124,
8189,
220,
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,
366,
24620,
87,
21101,
74,
457,
4868,
1600,
1303,
2270,
13033,
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,
366,
24620,
25306,
4775,
2777,
2286,
1045,
1600,
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,
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,
1303,
466,
407,
6487,
11,
314,
423,
1775,
340,
220,
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,
366,
83,
5907,
14933,
13,
5799,
1600,
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,
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,
1303,
450,
499,
13894,
21242,
3696,
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,
705,
9,
4177,
13,
397,
499,
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,
705,
9,
8697,
13,
397,
499,
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,
705,
50,
2969,
24620,
82,
499,
13,
19875,
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,
705,
50,
2969,
24620,
17861,
5603,
9148,
1546,
35400,
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,
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,
1303,
617,
13894,
3696,
220,
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,
705,
24620,
69,
9548,
6978,
3256,
220,
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,
705,
24620,
12048,
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,
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,
1303,
4263,
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,
705,
24620,
21370,
70,
3256,
220,
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,
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,
1303,
2972,
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,
705,
24620,
67,
8671,
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,
705,
24620,
83,
335,
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,
366,
43551,
13,
10951,
1600,
220,
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,
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,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
640,
1336,
3218,
14700,
198,
220,
220,
220,
220,
220,
220,
220,
3716,
62,
33279,
82,
796,
685,
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,
1303,
38487,
77,
1672,
1058,
764,
81,
2075,
6659,
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,
366,
15885,
17405,
81,
58,
15,
12,
24,
48688,
1600,
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,
366,
15885,
6852,
17405,
21370,
77,
6852,
15885,
1600,
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,
1303,
17606,
220,
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,
366,
15885,
6852,
17405,
18300,
6852,
15885,
1600,
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,
1303,
25872,
4566,
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,
366,
15885,
2398,
17405,
68,
17043,
59,
492,
9,
1600,
220,
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,
1303,
450,
499,
1430,
6764,
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,
366,
15885,
6852,
6968,
62,
30910,
9419,
62,
15885,
17405,
19875,
1600,
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,
1303,
450,
499,
220,
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,
366,
15885,
59,
28,
4093,
26830,
17405,
397,
499,
1600,
220,
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,
366,
15885,
59,
28,
4061,
17405,
397,
499,
1600,
220,
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,
1303,
3350,
32139,
26,
304,
13,
70,
25,
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,
1303,
311,
7479,
21188,
59,
11012,
59,
38,
8697,
62,
36,
1677,
59,
36,
4663,
486,
4805,
54,
59,
24544,
13,
5237,
13,
10677,
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,
366,
15885,
6852,
15885,
59,
3693,
15,
12,
24,
48688,
17405,
10677,
1600,
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,
1303,
23641,
13,
5105,
32936,
13,
32,
16,
1677,
33,
16,
35,
16,
13,
11012,
13,
17139,
13,
9858,
13,
10677,
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,
374,
1911,
9,
17405,
5105,
32936,
59,
492,
9,
17405,
10677,
1600,
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,
1303,
3467,
44647,
62,
14990,
38,
62,
49079,
59,
499,
59,
10677,
59,
499,
35546,
59,
499,
35546,
13,
79,
2436,
62,
34,
1921,
9328,
742,
40450,
59,
67,
62,
2436,
62,
333,
62,
400,
10126,
82,
62,
4868,
13,
82,
4372,
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,
374,
1911,
9,
17405,
79,
2436,
62,
34,
1921,
9328,
742,
40450,
15885,
1600,
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,
1303,
3489,
10139,
13103,
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,
374,
1911,
9,
59,
17440,
62,
18170,
59,
15885,
1600,
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,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2041,
1339,
329,
27711,
20,
198,
220,
220,
220,
220,
220,
220,
220,
6163,
62,
37495,
62,
8071,
956,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
782,
83,
62,
1324,
796,
2116,
13,
31438,
13,
1136,
62,
31438,
62,
11250,
3924,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3781,
62,
20850,
287,
285,
782,
83,
62,
1324,
13,
1136,
62,
20930,
62,
41667,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
28656,
20,
14,
41,
16098,
6,
287,
3781,
62,
20850,
13,
1136,
62,
23873,
5823,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6163,
62,
37495,
62,
8071,
956,
15853,
685,
49548,
11209,
15235,
7,
79,
8,
329,
279,
287,
3781,
62,
20850,
13,
1136,
62,
259,
10341,
62,
49283,
3419,
60,
628,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
3696,
25,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
14267,
617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
1069,
10341,
7,
69,
13,
6978,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
277,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
24455,
62,
5239,
7,
944,
11,
3696,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2420,
3696,
691,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
58,
69,
13,
6978,
60,
796,
277,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2074,
691,
883,
326,
389,
2420,
691,
198,
220,
220,
220,
220,
220,
220,
220,
5536,
796,
1057,
62,
32707,
7,
76,
13,
13083,
28955,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
5536,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
524,
796,
277,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
796,
285,
524,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2488,
83,
24313,
1058,
743,
423,
584,
17790,
284,
5412,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2695,
62,
4906,
6624,
705,
5239,
6,
393,
18896,
7,
76,
524,
8,
1875,
352,
290,
285,
524,
58,
16,
60,
6624,
705,
19875,
10354,
198,
220,
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,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
7753,
796,
285,
58,
49548,
11209,
15235,
7,
69,
58,
15,
12962,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7000,
285,
524,
7508,
319,
262,
2393,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
7753,
13,
76,
524,
62,
4906,
796,
285,
524,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
28264,
7753,
8,
198,
220,
220,
220,
220,
220,
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,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
35836,
62,
19875,
62,
16624,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20937,
35555,
3696,
290,
2989,
329,
6097,
3891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
19607,
256,
335,
3696,
986,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35555,
62,
16624,
796,
2116,
13,
403,
272,
47557,
62,
16624,
62,
525,
62,
75,
33213,
58,
32065,
10786,
55,
5805,
11537,
60,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
33351,
768,
23735,
3696,
329,
6097,
3891,
986,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
62,
4480,
62,
37724,
796,
2989,
62,
37724,
7,
19875,
62,
16624,
11,
2116,
13,
31438,
13,
48205,
22446,
10134,
62,
4906,
10786,
29584,
27691,
271,
62,
4871,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35555,
62,
30604,
62,
16129,
796,
15417,
10786,
55,
5805,
25161,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35555,
62,
19298,
19653,
796,
311,
9741,
7248,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4808,
7753,
287,
3696,
62,
4480,
62,
37724,
25,
198,
220,
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,
220,
220,
220,
35555,
62,
19298,
19653,
13,
2860,
28264,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
75,
33213,
62,
4480,
62,
403,
272,
47557,
62,
16624,
13,
2860,
7,
19875,
62,
30604,
62,
16129,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
7753,
13,
16129,
796,
35555,
62,
30604,
62,
16129,
198,
220,
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,
2116,
13,
403,
272,
47557,
62,
16624,
62,
525,
62,
75,
33213,
58,
32065,
10786,
55,
5805,
11537,
60,
796,
35555,
62,
16624,
532,
35555,
62,
19298,
19653,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
272,
47557,
62,
16624,
62,
525,
62,
75,
33213,
58,
19875,
62,
30604,
62,
16129,
60,
796,
35555,
62,
19298,
19653,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
645,
23735,
3696,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
198,
198,
4871,
9220,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10858,
257,
2393,
290,
4175,
602,
1043,
319,
340,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
900,
62,
76,
524,
7,
944,
11,
285,
524,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
285,
524,
2099,
8018,
416,
9195,
32707,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
25,
285,
524,
257,
5166,
286,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
220,
2638,
1378,
2503,
13,
7484,
13,
2398,
14,
562,
570,
902,
14,
11431,
12,
19199,
14,
11431,
12,
19199,
13,
87,
6494,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
524,
62,
4906,
796,
285,
524,
628,
220,
220,
220,
825,
651,
62,
16129,
7,
944,
11,
3586,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
262,
8018,
3303,
286,
262,
2393,
13,
220,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
75,
33213,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
1811,
7747,
986,
220,
9805,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16129,
796,
2116,
13,
75,
33213,
58,
15,
7131,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1949,
285,
524,
2099,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
76,
524,
62,
4906,
6624,
37250,
31438,
3256,
705,
19875,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16129,
796,
705,
55,
5805,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13,
76,
524,
62,
4906,
6624,
37250,
5239,
3256,
705,
6494,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16129,
796,
705,
28656,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3586,
13,
1136,
62,
16129,
7,
944,
13,
16129,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
651,
62,
26495,
62,
3672,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40773,
5301,
1438,
287,
543,
428,
2393,
318,
1043,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
26495,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
26495,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
366,
1701,
628,
628,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220
] | 1.510312 | 17,164 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 25 05:23:53 2018
@author: manoj
"""
heart = {"www.github.com" :
{"nothing here":"never here"}
} | [
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,
26223,
2556,
1679,
8870,
25,
1954,
25,
4310,
2864,
198,
198,
31,
9800,
25,
582,
13210,
198,
37811,
198,
198,
11499,
796,
19779,
2503,
13,
12567,
13,
785,
1,
1058,
220,
198,
220,
220,
220,
19779,
22366,
994,
2404,
12081,
994,
20662,
198,
220,
220,
220,
1782
] | 2.346667 | 75 |
BEZIRKE = {
"AT": "oesterreich",
"W": "wien",
"B": "burgenland",
"SBG": "salzburg",
"T": "tirol",
"V": "vorarlberg",
"KTN": "kaernten",
"OÖ": "oberoesterreich",
"NÖ": "niederoesterreich",
"STMK": "steiermark",
"AM": "amstetten",
"BN": "baden",
"BZ": "bludenz",
"BR": "braunau-am-inn",
"B": "bregenz",
"BL": "bruck-an-der-leitha",
"BM": "bruck-an-der-mur",
"MZ": "muerzzuschlag",
"DL": "deutschlandsberg",
"DO": "dornbirn",
"EF": "eferding",
"E": "eisenstadt",
"EU": "eisenstadt-umgebung",
"FK": "feldkirch",
"FE": "feldkirchen",
"FR": "freistadt",
"GF": "gaenserndorf",
"GD": "gmuend",
"GM": "gmunden",
"G": "graz",
"GU": "graz-umgebung",
"GR": "grieskirchen",
"GS": "guessing",
"HA": "hallein",
"HB": "hartberg",
"FF": "fuerstenfeld",
"HE": "hermagor",
"HL": "hollabrunn",
"HO": "horn",
"IM": "imst",
"I": "innsbruck",
"IL": "innsbruck-land",
"JE": "jennersdorf",
"KI": "kirchdorf-an-der-krems",
"KB": "kitzbuehel",
"K": "klagenfurt",
"KL": "klagenfurt-land",
"KO": "korneuburg",
"KS": "krems-an-der-donau-stadt",
"KR": "krems-an-der-donau-land",
"KU": "kufstein",
"LA": "landeck",
"LB": "leibnitz",
"LE": "leoben",
"LZ": "lienz",
"LI": "liezen",
"LF": "lilienfeld",
"L": "linz",
"LL": "linz-land",
"MA": "mattersburg",
"ME": "melk",
"MI": "mistelbach",
"MD": "moedling",
"MU": "murau",
"MT": "murtal",
"NK": "neunkirchen",
"ND": "neusiedl-am-see",
"OP": "oberpullendorf",
"OW": "oberwart",
"PE": "perg",
"RE": "reutte",
"RI": "ried-im-innkreis",
"RO": "rohrbach-im-muehlkreis",
"S": "salzburg-stadt",
"SL": "salzburg-umgebung",
"JO": "sankt-johann-im-pongau",
"P": "sankt-poelten",
"SV": "sankt-veit",
"SD": "schaerding",
"SB": "scheibbs",
"SZ": "schwaz",
"SP": "spittal-an-der-drau",
"SR": "steyr",
"SE": "steyr-land",
"SO": "feldbach",
"TA": "tamsweg",
"TU": "tulln",
"UU": "urfahr-umgebung",
"VI": "villach",
"VL": "villach-land",
"VO": "voitsberg",
"VB": "voecklabruck",
"VK": "voelkermarkt",
"WT": "waidhofen-an-der-thaya",
"WY": "waidhofen-an-der-ybbs",
"WZ": "weiz",
"WE": "wels",
"WL": "wels-land",
"WN": "wiener-neustadt",
"WB": "wiener-neustadt",
"WO": "wolfsberg",
"ZE": "zell-am-see",
"ZT": "zwettl"
}
| [
12473,
57,
4663,
7336,
796,
1391,
198,
220,
220,
220,
366,
1404,
1298,
366,
3028,
353,
260,
488,
1600,
198,
220,
220,
220,
366,
54,
1298,
366,
86,
2013,
1600,
198,
220,
220,
220,
366,
33,
1298,
366,
7423,
268,
1044,
1600,
198,
220,
220,
220,
366,
16811,
38,
1298,
220,
366,
21680,
89,
7423,
1600,
198,
220,
220,
220,
366,
51,
1298,
366,
20259,
3225,
1600,
198,
220,
220,
220,
366,
53,
1298,
366,
20867,
7063,
3900,
1600,
198,
220,
220,
220,
366,
42176,
45,
1298,
366,
4914,
263,
429,
268,
1600,
198,
220,
220,
220,
366,
46,
127,
244,
1298,
366,
2023,
3028,
353,
260,
488,
1600,
198,
220,
220,
220,
366,
45,
127,
244,
1298,
366,
77,
798,
263,
3028,
353,
260,
488,
1600,
198,
220,
220,
220,
366,
2257,
33907,
1298,
366,
4169,
959,
4102,
1600,
198,
220,
220,
220,
366,
2390,
1298,
366,
321,
301,
316,
1452,
1600,
198,
220,
220,
220,
366,
15766,
1298,
366,
14774,
268,
1600,
198,
220,
220,
220,
366,
33,
57,
1298,
366,
2436,
463,
19471,
1600,
198,
220,
220,
220,
366,
11473,
1298,
366,
16057,
403,
559,
12,
321,
12,
3732,
1600,
198,
220,
220,
220,
366,
33,
1298,
220,
366,
65,
2301,
19471,
1600,
198,
220,
220,
220,
366,
9148,
1298,
366,
65,
30915,
12,
272,
12,
1082,
12,
293,
342,
64,
1600,
198,
220,
220,
220,
366,
12261,
1298,
366,
65,
30915,
12,
272,
12,
1082,
12,
28582,
1600,
198,
220,
220,
220,
366,
44,
57,
1298,
366,
76,
15573,
3019,
385,
354,
30909,
1600,
198,
220,
220,
220,
366,
19260,
1298,
366,
2934,
40768,
4447,
3900,
1600,
198,
220,
220,
220,
366,
18227,
1298,
366,
67,
1211,
65,
343,
77,
1600,
198,
220,
220,
220,
366,
25425,
1298,
366,
41027,
12083,
1600,
198,
220,
220,
220,
366,
36,
1298,
220,
366,
68,
13254,
38863,
1600,
198,
220,
220,
220,
366,
19684,
1298,
366,
68,
13254,
38863,
12,
388,
469,
65,
2150,
1600,
198,
220,
220,
220,
366,
26236,
1298,
366,
16265,
74,
343,
354,
1600,
198,
220,
220,
220,
366,
15112,
1298,
366,
16265,
74,
1980,
831,
1600,
198,
220,
220,
220,
366,
10913,
1298,
366,
19503,
396,
324,
83,
1600,
198,
220,
220,
220,
366,
21713,
1298,
366,
4908,
45268,
358,
24263,
1600,
198,
220,
220,
220,
366,
45113,
1298,
366,
70,
30300,
437,
1600,
198,
220,
220,
220,
366,
15548,
1298,
366,
70,
20125,
268,
1600,
198,
220,
220,
220,
366,
38,
1298,
220,
366,
70,
3247,
1600,
198,
220,
220,
220,
366,
38022,
1298,
366,
70,
3247,
12,
388,
469,
65,
2150,
1600,
198,
220,
220,
220,
366,
10761,
1298,
366,
70,
1678,
74,
1980,
831,
1600,
198,
220,
220,
220,
366,
14313,
1298,
366,
5162,
27289,
1600,
198,
220,
220,
220,
366,
7801,
1298,
366,
71,
6765,
259,
1600,
198,
220,
220,
220,
366,
32886,
1298,
366,
18647,
3900,
1600,
198,
220,
220,
220,
366,
5777,
1298,
366,
69,
15573,
26400,
16265,
1600,
198,
220,
220,
220,
366,
13909,
1298,
366,
372,
19726,
273,
1600,
198,
220,
220,
220,
366,
6581,
1298,
366,
71,
692,
397,
5143,
77,
1600,
198,
220,
220,
220,
366,
32298,
1298,
366,
25311,
1600,
198,
220,
220,
220,
366,
3955,
1298,
366,
320,
301,
1600,
198,
220,
220,
220,
366,
40,
1298,
220,
366,
3732,
36299,
30915,
1600,
198,
220,
220,
220,
366,
4146,
1298,
366,
3732,
36299,
30915,
12,
1044,
1600,
198,
220,
220,
220,
366,
41,
36,
1298,
366,
73,
1697,
364,
67,
24263,
1600,
198,
220,
220,
220,
366,
37845,
1298,
366,
74,
343,
354,
67,
24263,
12,
272,
12,
1082,
12,
74,
260,
907,
1600,
198,
220,
220,
220,
366,
22764,
1298,
366,
74,
4224,
65,
518,
2978,
1600,
198,
220,
220,
220,
366,
42,
1298,
220,
366,
41582,
11286,
29205,
1600,
198,
220,
220,
220,
366,
42,
43,
1298,
366,
41582,
11286,
29205,
12,
1044,
1600,
198,
220,
220,
220,
366,
22328,
1298,
366,
74,
8553,
549,
3686,
1600,
198,
220,
220,
220,
366,
27015,
1298,
366,
74,
260,
907,
12,
272,
12,
1082,
12,
9099,
559,
12,
38863,
1600,
198,
220,
220,
220,
366,
30758,
1298,
220,
366,
74,
260,
907,
12,
272,
12,
1082,
12,
9099,
559,
12,
1044,
1600,
198,
220,
220,
220,
366,
42,
52,
1298,
366,
74,
3046,
5714,
1600,
198,
220,
220,
220,
366,
13534,
1298,
366,
1044,
68,
694,
1600,
198,
220,
220,
220,
366,
30501,
1298,
366,
293,
571,
77,
4224,
1600,
198,
220,
220,
220,
366,
2538,
1298,
366,
293,
672,
268,
1600,
198,
220,
220,
220,
366,
43,
57,
1298,
366,
75,
2013,
89,
1600,
198,
220,
220,
220,
366,
31271,
1298,
366,
14485,
4801,
1600,
198,
220,
220,
220,
366,
43,
37,
1298,
366,
75,
346,
2013,
16265,
1600,
198,
220,
220,
220,
366,
43,
1298,
220,
366,
2815,
89,
1600,
198,
220,
220,
220,
366,
3069,
1298,
366,
2815,
89,
12,
1044,
1600,
198,
220,
220,
220,
366,
5673,
1298,
366,
6759,
1010,
7423,
1600,
198,
220,
220,
220,
366,
11682,
1298,
366,
17694,
74,
1600,
198,
220,
220,
220,
366,
8895,
1298,
366,
37980,
417,
19496,
1600,
198,
220,
220,
220,
366,
12740,
1298,
366,
5908,
276,
1359,
1600,
198,
220,
220,
220,
366,
42422,
1298,
366,
28582,
559,
1600,
198,
220,
220,
220,
366,
13752,
1298,
366,
76,
3325,
282,
1600,
198,
220,
220,
220,
366,
46888,
1298,
366,
710,
2954,
1980,
831,
1600,
198,
220,
220,
220,
366,
8575,
1298,
366,
710,
385,
798,
75,
12,
321,
12,
3826,
1600,
198,
220,
220,
220,
366,
3185,
1298,
366,
2023,
31216,
18738,
69,
1600,
198,
220,
220,
220,
366,
3913,
1298,
366,
2023,
24657,
1600,
198,
220,
220,
220,
366,
11401,
1298,
366,
525,
70,
1600,
198,
220,
220,
220,
366,
2200,
1298,
366,
260,
315,
660,
1600,
198,
220,
220,
220,
366,
7112,
1298,
366,
2228,
12,
320,
12,
3732,
74,
260,
271,
1600,
198,
220,
220,
220,
366,
13252,
1298,
366,
305,
11840,
19496,
12,
320,
12,
76,
518,
18519,
74,
260,
271,
1600,
198,
220,
220,
220,
366,
50,
1298,
220,
366,
21680,
89,
7423,
12,
38863,
1600,
198,
220,
220,
220,
366,
8634,
1298,
366,
21680,
89,
7423,
12,
388,
469,
65,
2150,
1600,
198,
220,
220,
220,
366,
45006,
1298,
366,
82,
962,
83,
12,
73,
1219,
1236,
12,
320,
12,
79,
506,
559,
1600,
198,
220,
220,
220,
366,
47,
1298,
220,
366,
82,
962,
83,
12,
7501,
417,
1452,
1600,
198,
220,
220,
220,
366,
50,
53,
1298,
366,
82,
962,
83,
12,
303,
270,
1600,
198,
220,
220,
220,
366,
10305,
1298,
366,
82,
11693,
263,
12083,
1600,
198,
220,
220,
220,
366,
16811,
1298,
366,
15952,
571,
1443,
1600,
198,
220,
220,
220,
366,
50,
57,
1298,
366,
20601,
86,
1031,
1600,
198,
220,
220,
220,
366,
4303,
1298,
366,
2777,
39979,
12,
272,
12,
1082,
12,
32491,
84,
1600,
198,
220,
220,
220,
366,
12562,
1298,
366,
4169,
2417,
1600,
198,
220,
220,
220,
366,
5188,
1298,
366,
4169,
2417,
12,
1044,
1600,
198,
220,
220,
220,
366,
15821,
1298,
366,
16265,
19496,
1600,
198,
220,
220,
220,
366,
5603,
1298,
366,
83,
4105,
732,
70,
1600,
198,
220,
220,
220,
366,
51,
52,
1298,
366,
83,
724,
77,
1600,
198,
220,
220,
220,
366,
30100,
1298,
366,
333,
69,
993,
81,
12,
388,
469,
65,
2150,
1600,
198,
220,
220,
220,
366,
12861,
1298,
366,
41082,
620,
1600,
198,
220,
220,
220,
366,
47468,
1298,
366,
41082,
620,
12,
1044,
1600,
198,
220,
220,
220,
366,
29516,
1298,
366,
13038,
896,
3900,
1600,
198,
220,
220,
220,
366,
44526,
1298,
366,
85,
2577,
694,
23912,
30915,
1600,
198,
220,
220,
220,
366,
47191,
1298,
366,
13038,
417,
6122,
4102,
83,
1600,
198,
220,
220,
220,
366,
39386,
1298,
366,
86,
1698,
39891,
268,
12,
272,
12,
1082,
12,
400,
11729,
1600,
198,
220,
220,
220,
366,
54,
56,
1298,
366,
86,
1698,
39891,
268,
12,
272,
12,
1082,
12,
88,
65,
1443,
1600,
198,
220,
220,
220,
366,
54,
57,
1298,
366,
732,
528,
1600,
198,
220,
220,
220,
366,
8845,
1298,
366,
86,
1424,
1600,
198,
220,
220,
220,
366,
54,
43,
1298,
366,
86,
1424,
12,
1044,
1600,
198,
220,
220,
220,
366,
29767,
1298,
366,
37686,
877,
12,
710,
436,
324,
83,
1600,
198,
220,
220,
220,
366,
45607,
1298,
366,
37686,
877,
12,
710,
436,
324,
83,
1600,
198,
220,
220,
220,
366,
54,
46,
1298,
366,
18829,
82,
3900,
1600,
198,
220,
220,
220,
366,
21211,
1298,
366,
89,
695,
12,
321,
12,
3826,
1600,
198,
220,
220,
220,
366,
57,
51,
1298,
366,
89,
86,
3087,
75,
1,
198,
92,
198
] | 1.7625 | 1,440 |
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from .basic import *
from .relu import relu, relu6
from .leaky_relu import leaky_relu, get_leaky_relu_op
from .matmul import matmul
from .conv2d import conv2d
from .log_weight_conv2d import log_weight_conv2d
from .binary_weight_conv2d import binary_weight_conv2d
from .ternary_weight_conv2d import ternary_weight_conv2d
from .pool import avg_pool, max_pool
from .pool_serial import avg_pool_serial, max_pool_serial
from .extern import extern
from .concat import concat
from .upsampling2d import upsampling2d
from .pad import pad
from .normalize import *
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
6738,
11593,
37443,
834,
1330,
7297,
198,
198,
6738,
764,
35487,
1330,
1635,
198,
6738,
764,
260,
2290,
1330,
823,
84,
11,
823,
84,
21,
198,
6738,
764,
293,
15492,
62,
260,
2290,
1330,
13044,
88,
62,
260,
2290,
11,
651,
62,
293,
15492,
62,
260,
2290,
62,
404,
198,
6738,
764,
6759,
76,
377,
1330,
2603,
76,
377,
198,
6738,
764,
42946,
17,
67,
1330,
3063,
17,
67,
198,
6738,
764,
6404,
62,
6551,
62,
42946,
17,
67,
1330,
2604,
62,
6551,
62,
42946,
17,
67,
198,
6738,
764,
39491,
62,
6551,
62,
42946,
17,
67,
1330,
13934,
62,
6551,
62,
42946,
17,
67,
198,
6738,
764,
759,
560,
62,
6551,
62,
42946,
17,
67,
1330,
1059,
77,
560,
62,
6551,
62,
42946,
17,
67,
198,
6738,
764,
7742,
1330,
42781,
62,
7742,
11,
3509,
62,
7742,
198,
6738,
764,
7742,
62,
46911,
1330,
42781,
62,
7742,
62,
46911,
11,
3509,
62,
7742,
62,
46911,
198,
6738,
764,
1069,
759,
1330,
409,
759,
198,
6738,
764,
1102,
9246,
1330,
1673,
265,
198,
6738,
764,
4739,
321,
11347,
17,
67,
1330,
19649,
321,
11347,
17,
67,
198,
6738,
764,
15636,
1330,
14841,
198,
6738,
764,
11265,
1096,
1330,
1635,
198
] | 3.045872 | 218 |
def rotate_char(char: str, rotation_factor: int):
""" special characters won't rotate """
if len(char) != 1:
raise ValueError(f"Invalid char: \"{char}\"")
start, end = "", ""
if "0" <= char and char <= "9":
start, end = "0", "9"
elif "a" <= char and char <= "z":
start, end = "a", "z"
elif "A" <= char and char <= "Z":
start, end = "A", "Z"
else:
return char
return chr((ord(char) - ord(start) + rotation_factor) % (ord(end) - ord(start) + 1) + ord(start))
| [
198,
4299,
23064,
62,
10641,
7,
10641,
25,
965,
11,
13179,
62,
31412,
25,
493,
2599,
198,
220,
220,
220,
37227,
2041,
3435,
1839,
470,
23064,
37227,
198,
220,
220,
220,
611,
18896,
7,
10641,
8,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
1,
44651,
1149,
25,
19990,
90,
10641,
92,
7879,
4943,
198,
220,
220,
220,
923,
11,
886,
796,
366,
1600,
13538,
198,
220,
220,
220,
611,
366,
15,
1,
19841,
1149,
290,
1149,
19841,
366,
24,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
923,
11,
886,
796,
366,
15,
1600,
366,
24,
1,
198,
220,
220,
220,
1288,
361,
366,
64,
1,
19841,
1149,
290,
1149,
19841,
366,
89,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
923,
11,
886,
796,
366,
64,
1600,
366,
89,
1,
198,
220,
220,
220,
1288,
361,
366,
32,
1,
19841,
1149,
290,
1149,
19841,
366,
57,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
923,
11,
886,
796,
366,
32,
1600,
366,
57,
1,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1149,
198,
220,
220,
220,
1441,
442,
81,
19510,
585,
7,
10641,
8,
532,
2760,
7,
9688,
8,
1343,
13179,
62,
31412,
8,
4064,
357,
585,
7,
437,
8,
532,
2760,
7,
9688,
8,
1343,
352,
8,
1343,
2760,
7,
9688,
4008,
628
] | 2.259574 | 235 |
# coding:utf-8
import re
from bs4 import BeautifulSoup
from config import DOWNLOAD_URL
from entity.fileinfor import FileInfor
from spider.downloader import Downloader
class Parser(object):
'''
html解析器:从中提取出视频信息
'''
def parser(self, html_cont, ID):
'''
:param html_cont: html内容
:return:
'''
if html_cont is None:
return
# 使用BeautifulSoup模块对html进行解析
soup = BeautifulSoup(html_cont, 'html.parser')
subject = soup.find('div', class_="hd").get_text()
links = soup.find_all('a', class_='J-media-item')
html_down = Downloader() # 这个主要是请求视频的真实链接,抓包的时候你就会明白
# 下面的代码是将视频信息封装成对象添加到res_data列表中
for link in links:
fileinfor = FileInfor()
fileinfor.subject = subject.strip() # 移除头尾空格
fileinfor.filename = link.get_text().strip().replace(':', '_').replace("\r\n","").replace(u'开始学习', "").replace(' ', '')
fileinfor.mid = link['href'].split('/')[2]
json_str = html_down.download(DOWNLOAD_URL.replace('{}', fileinfor.mid)).replace('\/', '/').encode('utf-8')
# json解析
# 解析方法一
# dic_json = eval(json_str)
# 解析方法二
import json
dic_json=json.loads(json_str)
if dic_json['data']['result']['mpath'] != False:
fileinfor.url['L'] = dic_json['data']['result']['mpath'][0]
fileinfor.url['M'] = dic_json['data']['result']['mpath'][1]
fileinfor.url['H'] = dic_json['data']['result']['mpath'][2]
self.res_data.append(fileinfor)
return self.res_data | [
2,
19617,
25,
40477,
12,
23,
198,
11748,
302,
198,
6738,
275,
82,
19,
1330,
23762,
50,
10486,
198,
6738,
4566,
1330,
30320,
35613,
62,
21886,
198,
6738,
9312,
13,
7753,
259,
1640,
1330,
9220,
818,
1640,
198,
6738,
19230,
13,
15002,
263,
1330,
10472,
263,
628,
198,
4871,
23042,
263,
7,
15252,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
27711,
164,
100,
96,
162,
252,
238,
161,
247,
101,
25,
20015,
236,
40792,
162,
237,
238,
20998,
244,
49035,
118,
164,
100,
228,
165,
95,
239,
46479,
94,
162,
223,
107,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
825,
30751,
7,
944,
11,
27711,
62,
3642,
11,
4522,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
27711,
62,
3642,
25,
27711,
37863,
227,
22522,
117,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
27711,
62,
3642,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
45635,
18796,
101,
38413,
4135,
50,
10486,
162,
101,
94,
161,
251,
245,
43380,
117,
6494,
32573,
249,
26193,
234,
164,
100,
96,
162,
252,
238,
198,
220,
220,
220,
220,
220,
220,
220,
17141,
796,
23762,
50,
10486,
7,
6494,
62,
3642,
11,
705,
6494,
13,
48610,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2426,
796,
17141,
13,
19796,
10786,
7146,
3256,
1398,
62,
2625,
31298,
11074,
1136,
62,
5239,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
6117,
796,
17141,
13,
19796,
62,
439,
10786,
64,
3256,
1398,
62,
11639,
41,
12,
11431,
12,
9186,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
27711,
62,
2902,
796,
10472,
263,
3419,
1303,
5525,
123,
247,
10310,
103,
10310,
119,
17358,
223,
42468,
46237,
115,
162,
109,
224,
164,
100,
228,
165,
95,
239,
21410,
40367,
253,
22522,
252,
165,
241,
122,
162,
236,
98,
11,
162,
232,
241,
44293,
227,
21410,
33768,
114,
161,
222,
247,
19526,
254,
22887,
109,
27670,
248,
23626,
236,
163,
50159,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
10310,
233,
165,
251,
95,
21410,
47987,
163,
254,
223,
42468,
49546,
164,
100,
228,
165,
95,
239,
46479,
94,
162,
223,
107,
22887,
223,
35318,
22755,
238,
43380,
117,
164,
109,
94,
162,
115,
119,
27950,
254,
26344,
108,
411,
62,
7890,
26344,
245,
26193,
101,
40792,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2792,
287,
6117,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
796,
9220,
818,
1640,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
32796,
796,
2426,
13,
36311,
3419,
220,
1303,
13328,
100,
119,
165,
247,
97,
13783,
112,
22887,
122,
163,
102,
118,
43718,
120,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
34345,
796,
2792,
13,
1136,
62,
5239,
22446,
36311,
22446,
33491,
7,
10354,
3256,
705,
62,
27691,
33491,
7203,
59,
81,
59,
77,
2430,
11074,
33491,
7,
84,
6,
28156,
222,
34650,
233,
27764,
99,
20046,
254,
3256,
366,
11074,
33491,
10786,
46083,
10148,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
13602,
796,
2792,
17816,
33257,
6,
4083,
35312,
10786,
14,
11537,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
62,
2536,
796,
27711,
62,
2902,
13,
15002,
7,
41925,
35613,
62,
21886,
13,
33491,
10786,
90,
92,
3256,
2393,
259,
1640,
13,
13602,
29720,
33491,
10786,
11139,
3256,
31051,
27691,
268,
8189,
10786,
40477,
12,
23,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33918,
164,
100,
96,
162,
252,
238,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5525,
100,
96,
162,
252,
238,
43095,
37345,
243,
31660,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
288,
291,
62,
17752,
796,
5418,
7,
17752,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5525,
100,
96,
162,
252,
238,
43095,
37345,
243,
12859,
234,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
33918,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
291,
62,
17752,
28,
17752,
13,
46030,
7,
17752,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
288,
291,
62,
17752,
17816,
7890,
6,
7131,
6,
20274,
6,
7131,
6,
3149,
776,
20520,
14512,
10352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
6371,
17816,
43,
20520,
796,
288,
291,
62,
17752,
17816,
7890,
6,
7131,
6,
20274,
6,
7131,
6,
3149,
776,
6,
7131,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
6371,
17816,
44,
20520,
796,
288,
291,
62,
17752,
17816,
7890,
6,
7131,
6,
20274,
6,
7131,
6,
3149,
776,
6,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
259,
1640,
13,
6371,
17816,
39,
20520,
796,
288,
291,
62,
17752,
17816,
7890,
6,
7131,
6,
20274,
6,
7131,
6,
3149,
776,
6,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
411,
62,
7890,
13,
33295,
7,
7753,
259,
1640,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
411,
62,
7890
] | 1.688008 | 984 |
import re
from setuptools import setup, find_packages
INIT_FILE = 'dimensigon/__init__.py'
with open("README.md", "r") as fh:
long_description = fh.read()
author, email = find_author_email()
setup(
name='dimensigon',
version=find_version(),
package_dir={"": "."},
packages=find_packages(where=".", exclude=["contrib", "docs", "tests*", "tasks"]),
url='https://github.com/dimensigon/dimensigon',
license=find_licence(),
author=author,
author_email=email,
description="Distributed Management and orchestration through RESTful, Mesh Networking and with a flair of IoT.",
long_description=long_description,
long_description_content_type="text/markdown",
test_suite="tests",
install_requires=required_packages(),
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX",
],
entry_points={'console_scripts': ["dshell=dimensigon.dshell.batch.dshell:main",
"dimensigon=dimensigon.__main__:main"]},
python_requires='>=3.6',
)
| [
11748,
302,
198,
198,
6738,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
198,
1268,
2043,
62,
25664,
796,
705,
67,
12117,
37107,
14,
834,
15003,
834,
13,
9078,
6,
198,
198,
4480,
1280,
7203,
15675,
11682,
13,
9132,
1600,
366,
81,
4943,
355,
277,
71,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
277,
71,
13,
961,
3419,
628,
628,
628,
198,
9800,
11,
3053,
796,
1064,
62,
9800,
62,
12888,
3419,
198,
40406,
7,
198,
220,
220,
220,
1438,
11639,
67,
12117,
37107,
3256,
198,
220,
220,
220,
2196,
28,
19796,
62,
9641,
22784,
198,
220,
220,
220,
5301,
62,
15908,
28,
4895,
1298,
366,
526,
5512,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
7,
3003,
2625,
33283,
19607,
28,
14692,
3642,
822,
1600,
366,
31628,
1600,
366,
41989,
9,
1600,
366,
83,
6791,
8973,
828,
198,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
67,
12117,
37107,
14,
67,
12117,
37107,
3256,
198,
220,
220,
220,
5964,
28,
19796,
62,
677,
594,
22784,
198,
220,
220,
220,
1772,
28,
9800,
11,
198,
220,
220,
220,
1772,
62,
12888,
28,
12888,
11,
198,
220,
220,
220,
6764,
2625,
20344,
6169,
8549,
290,
17771,
12401,
832,
30617,
913,
11,
47529,
7311,
278,
290,
351,
257,
37457,
286,
38488,
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,
1332,
62,
2385,
578,
2625,
41989,
1600,
198,
220,
220,
220,
2721,
62,
47911,
28,
35827,
62,
43789,
22784,
198,
220,
220,
220,
1398,
13350,
41888,
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,
34156,
7904,
7294,
40,
20010,
1079,
7904,
22961,
3611,
5094,
13789,
410,
18,
393,
1568,
357,
38,
6489,
85,
18,
28988,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
28069,
10426,
1600,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
5726,
62,
13033,
34758,
6,
41947,
62,
46521,
10354,
14631,
67,
29149,
28,
67,
12117,
37107,
13,
67,
29149,
13,
43501,
13,
67,
29149,
25,
12417,
1600,
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,
366,
67,
12117,
37107,
28,
67,
12117,
37107,
13,
834,
12417,
834,
25,
12417,
8973,
5512,
198,
220,
220,
220,
21015,
62,
47911,
11639,
29,
28,
18,
13,
21,
3256,
198,
8,
198
] | 2.586667 | 450 |
# System imports
import abc
import RPi.GPIO as GPIO
# Local imports
from mtda.usb.switch import UsbSwitch
| [
2,
4482,
17944,
198,
11748,
450,
66,
198,
11748,
25812,
72,
13,
16960,
9399,
355,
50143,
198,
198,
2,
10714,
17944,
198,
6738,
45079,
6814,
13,
43319,
13,
31943,
1330,
4021,
65,
38978,
198
] | 3.147059 | 34 |
import json
import pickle
import numpy as np
import torch
from azureml.core.model import Model
from src.models.model import SRCNN
| [
11748,
33918,
198,
11748,
2298,
293,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28034,
198,
6738,
35560,
495,
4029,
13,
7295,
13,
19849,
1330,
9104,
198,
198,
6738,
12351,
13,
27530,
13,
19849,
1330,
311,
7397,
6144,
628,
198
] | 3.268293 | 41 |
class Animal(object):
"""Makes cute animals."""
is_alive = True
health = "good"
hippo = Animal("Sally", 22)
hippo.description()
sloth = Animal("Minnie", 47)
ocelot = Animal("Mike", 32)
print hippo.health
print sloth.health
print ocelot.health
# member variables are variables that are available to all members of a class (like health)
| [
4871,
13792,
7,
15252,
2599,
198,
220,
37227,
44,
1124,
13779,
4695,
526,
15931,
198,
220,
318,
62,
282,
425,
796,
6407,
198,
220,
1535,
796,
366,
11274,
1,
198,
220,
220,
220,
220,
198,
71,
3974,
78,
796,
13792,
7203,
50,
453,
1600,
2534,
8,
198,
71,
3974,
78,
13,
11213,
3419,
198,
6649,
849,
796,
13792,
7203,
44,
49708,
1600,
6298,
8,
198,
78,
5276,
313,
796,
13792,
7203,
16073,
1600,
3933,
8,
198,
198,
4798,
18568,
78,
13,
13948,
198,
4798,
1017,
849,
13,
13948,
198,
4798,
267,
5276,
313,
13,
13948,
198,
198,
2,
2888,
9633,
389,
9633,
326,
389,
1695,
284,
477,
1866,
286,
257,
1398,
357,
2339,
1535,
8,
198
] | 3 | 116 |
# Generated by Django 2.0.7 on 2020-05-11 05:02
from django.db import migrations
| [
2,
2980,
515,
416,
37770,
362,
13,
15,
13,
22,
319,
12131,
12,
2713,
12,
1157,
8870,
25,
2999,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
628
] | 2.766667 | 30 |
from typing import Sequence, Tuple, Dict, Optional
import warnings
from pe._errors import ParseError, GrammarWarning
from pe._match import determine
| [
198,
6738,
19720,
1330,
45835,
11,
309,
29291,
11,
360,
713,
11,
32233,
198,
11748,
14601,
198,
198,
6738,
613,
13557,
48277,
1330,
2547,
325,
12331,
11,
20159,
3876,
20361,
198,
6738,
613,
13557,
15699,
1330,
5004,
628,
628,
628,
628,
628,
628
] | 3.767442 | 43 |
##parameters=process_uid
# Copyright (c) 2004-2006 gocept gmbh & co. kg
# See also LICENSE.txt
# af_assign_process.py,v 1.5.6.2 2005/05/02 10:08:52 zagy Exp
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.config import UID_CATALOG
from Products.AlphaFlow.interfaces import ILifeCycleController
request = context.REQUEST
uids = getToolByName(context, UID_CATALOG)
process = uids(UID=process_uid)[0].getObject()
context.assignProcess(process.current())
instance = ILifeCycleController(context.getInstance())
instance.start("started through plone ui")
context.af_redirect_to_workitem_view(context.translate("Workflow started.",
domain="alphaflow"))
| [
2235,
17143,
7307,
28,
14681,
62,
27112,
198,
2,
15069,
357,
66,
8,
5472,
12,
13330,
467,
984,
308,
2022,
71,
1222,
763,
13,
14211,
198,
2,
4091,
635,
38559,
24290,
13,
14116,
198,
2,
6580,
62,
562,
570,
62,
14681,
13,
9078,
11,
85,
352,
13,
20,
13,
21,
13,
17,
5075,
14,
2713,
14,
2999,
838,
25,
2919,
25,
4309,
1976,
46671,
5518,
198,
6738,
18675,
13,
24187,
4851,
382,
13,
26791,
1330,
651,
25391,
3886,
5376,
198,
6738,
18675,
13,
3163,
2395,
19199,
13,
11250,
1330,
25105,
62,
34,
1404,
1847,
7730,
198,
6738,
18675,
13,
38077,
37535,
13,
3849,
32186,
1330,
14639,
901,
20418,
2375,
22130,
198,
25927,
796,
4732,
13,
2200,
35780,
198,
198,
84,
2340,
796,
651,
25391,
3886,
5376,
7,
22866,
11,
25105,
62,
34,
1404,
1847,
7730,
8,
198,
14681,
796,
334,
2340,
7,
27586,
28,
14681,
62,
27112,
38381,
15,
4083,
1136,
10267,
3419,
198,
22866,
13,
562,
570,
18709,
7,
14681,
13,
14421,
28955,
198,
39098,
796,
14639,
901,
20418,
2375,
22130,
7,
22866,
13,
1136,
33384,
28955,
198,
39098,
13,
9688,
7203,
46981,
832,
458,
505,
334,
72,
4943,
198,
198,
22866,
13,
1878,
62,
445,
1060,
62,
1462,
62,
1818,
9186,
62,
1177,
7,
22866,
13,
7645,
17660,
7203,
12468,
11125,
2067,
33283,
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,
7386,
2625,
17307,
1878,
9319,
48774,
198
] | 2.631769 | 277 |
__all__ = ("get_logger",)
import sys
import typing
from logging import (
getLogger,
Formatter,
StreamHandler,
)
_LOG_LEVEL_STR = typing.Literal[
"CRITICAL",
"FATAL",
"ERROR",
"WARN",
"WARNING",
"INFO",
"DEBUG",
"NOTSET",
]
_F = "\033[33m{asctime} \t{name: <15} {levelname: <10}\t{message}\033[0m"
_logging_formatter = Formatter(_F, style="{")
_logging_handler = StreamHandler(sys.stdout)
_logging_handler.setFormatter(_logging_formatter)
def get_logger(
name: typing.Optional[str],
*,
level: typing.Union[_LOG_LEVEL_STR, int, None] = "DEBUG",
add_handler: bool = True,
):
"""
Parameters
----------
name: str, optional
The name from the logger.
(`root` if `None`)
level: _LOG_LEVEL_STR, int, optional
The loglevel.
add_handler: bool
Whether a handler should be added or not.
Returns
-------
logging.Logger
"""
logger = getLogger(name)
if add_handler:
logger.addHandler(_logging_handler)
if level is not None:
if isinstance(level, str):
level = level.upper()
logger.setLevel(level)
return logger
| [
834,
439,
834,
796,
5855,
1136,
62,
6404,
1362,
1600,
8,
628,
198,
11748,
25064,
198,
11748,
19720,
198,
6738,
18931,
1330,
357,
198,
220,
220,
220,
651,
11187,
1362,
11,
198,
220,
220,
220,
5178,
1436,
11,
198,
220,
220,
220,
13860,
25060,
11,
198,
8,
628,
198,
62,
25294,
62,
2538,
18697,
62,
18601,
796,
19720,
13,
43,
270,
1691,
58,
198,
220,
220,
220,
366,
9419,
2043,
20151,
1600,
198,
220,
220,
220,
366,
37,
1404,
1847,
1600,
198,
220,
220,
220,
366,
24908,
1600,
198,
220,
220,
220,
366,
37771,
1600,
198,
220,
220,
220,
366,
31502,
1600,
198,
220,
220,
220,
366,
10778,
1600,
198,
220,
220,
220,
366,
30531,
1600,
198,
220,
220,
220,
366,
11929,
28480,
1600,
198,
60,
198,
62,
37,
796,
37082,
44427,
58,
2091,
76,
90,
292,
310,
524,
92,
3467,
83,
90,
3672,
25,
1279,
1314,
92,
1391,
5715,
3672,
25,
1279,
940,
32239,
83,
90,
20500,
32239,
44427,
58,
15,
76,
1,
198,
62,
6404,
2667,
62,
687,
1436,
796,
5178,
1436,
28264,
37,
11,
3918,
2625,
4895,
8,
198,
62,
6404,
2667,
62,
30281,
796,
13860,
25060,
7,
17597,
13,
19282,
448,
8,
198,
62,
6404,
2667,
62,
30281,
13,
2617,
8479,
1436,
28264,
6404,
2667,
62,
687,
1436,
8,
628,
198,
4299,
651,
62,
6404,
1362,
7,
198,
220,
220,
220,
1438,
25,
19720,
13,
30719,
58,
2536,
4357,
198,
220,
220,
220,
1635,
11,
198,
220,
220,
220,
1241,
25,
19720,
13,
38176,
29795,
25294,
62,
2538,
18697,
62,
18601,
11,
493,
11,
6045,
60,
796,
366,
30531,
1600,
198,
220,
220,
220,
751,
62,
30281,
25,
20512,
796,
6407,
11,
198,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
965,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
422,
262,
49706,
13,
198,
220,
220,
220,
220,
220,
220,
220,
357,
63,
15763,
63,
611,
4600,
14202,
63,
8,
198,
220,
220,
220,
1241,
25,
4808,
25294,
62,
2538,
18697,
62,
18601,
11,
493,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
383,
300,
2467,
626,
13,
198,
220,
220,
220,
751,
62,
30281,
25,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
257,
21360,
815,
307,
2087,
393,
407,
13,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
18931,
13,
11187,
1362,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
49706,
796,
651,
11187,
1362,
7,
3672,
8,
198,
220,
220,
220,
611,
751,
62,
30281,
25,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
2860,
25060,
28264,
6404,
2667,
62,
30281,
8,
198,
220,
220,
220,
611,
1241,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
5715,
11,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1241,
796,
1241,
13,
45828,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
2617,
4971,
7,
5715,
8,
198,
220,
220,
220,
1441,
49706,
198
] | 2.287645 | 518 |
# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2016-2020 German Aerospace Center (DLR) and others.
# SUMOPy module
# Copyright (C) 2012-2017 University of Bologna - DICAM
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License 2.0 are satisfied: GNU General Public License, version 2
# or later which is available at
# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
# @file network_editor.py
# @author Joerg Schweizer
# @date
import os
import sys
import wx
if __name__ == '__main__':
try:
APPDIR = os.path.dirname(os.path.abspath(__file__))
except:
APPDIR = os.path.dirname(os.path.abspath(sys.argv[0]))
#AGILEDIR = os.path.join(APPDIR,'..','..','agilepy')
# sys.path.append(AGILEDIR)
# sys.path.append(os.path.join(AGILEDIR,"lib_base"))
# sys.path.append(os.path.join(AGILEDIR,"lib_wx"))
SUMOPYDIR = os.path.join(APPDIR, '..', '..')
sys.path.append(os.path.join(SUMOPYDIR))
import numpy as np
from agilepy.lib_wx.ogleditor import *
#from agilepy.lib_wx.mainframe import AgileMainframe
from coremodules.network.network import MODES
#( ident_drawob, DrawobjClass, netattrname, layer )
class NetSelectTool(SelectTool):
"""
Selection tool for OGL canvas.
"""
def __init__(self, parent, mainframe=None):
"""
To be overridden by specific tool.
"""
self.init_common('select', parent, 'Net Selection',
info='Select objects in networks',
is_textbutton=False,
)
self._init_select(is_show_selected=True)
# def set_setelement_current(self, objids):
# """
# Sets and highlights the current netelement
# """
# self.canvas.get_drawing()
# self.unselect_all()
# def get_optionspanel(self, parent):
# """
# Return tool option widgets on given parent
# """
# drawobj, _id = self.get_current_selection()
# if drawobj is not None:
# obj = drawobj.get_netelement()
#
# else:
# obj=cm.BaseObjman('empty')
# _id = None
#
# #print 'get_optionspanel',drawobj, _id
# self._optionspanel = NaviPanel(parent, obj = obj,
# attrconfigs=None, id = _id,
# #tables = None,
# #table = None, id=None, ids=None,
# #groupnames = ['options'],
# mainframe=self.parent.get_mainframe(),
# immediate_apply=False, panelstyle='default',#'instrumental'
# standartbuttons=['apply','restore'])
#
# return self._optionspanel
class NetDeleteTool(DeleteTool):
"""
Delete tool for OGL canvas.
"""
def __init__(self, parent, detectpix=5, mainframe=None):
"""
To be overridden by specific tool.
"""
self.init_common('delete', parent, 'Delete tool',
info='Select and delete objects in network',
is_textbutton=False,
)
self._init_select(is_show_selected=True, detectpix=detectpix)
def on_execute_selection(self, event):
"""
Definively execute operation on currently selected drawobjects.
"""
if self.is_tool_allowed_on_selection():
drawobj, _id = self.get_current_selection()
if drawobj is not None:
drawobj.del_elem(_id)
self.unselect_all()
is_draw = True
else:
is_draw = False
return is_draw
else:
return False
class AddCrossingTool(SelectTool):
"""
OD flow toolfor OGL canvas.
"""
def __init__(self, parent, mainframe=None):
"""
To be overridden by specific tool.
"""
self.init_common('crossingadder', parent, 'Add crossing',
info="""Tool to add crossings at intersections:
1. Select a Node with <LEFT CLICK> on the Network editor to specify a <Node> where to build the crossing.
2. Optionally modify the width of the crossing.
3. Select an <Edge> where to build the crossing by cycling through all possible adjacent edges with <SHIFT>+<LEFT MOUSE> and <LEFT CLICK> when the desired <Edge> is highlighted.
4. Repeat edge selection until all involved edges are highlighted.
5. Press the "Add" Button to add the crossing.
Press the "Clear" button to clear all selections.
""",
is_textbutton=False,
)
self._init_select(is_show_selected=False)
self.add(cm.AttrConf('id_node', -1,
groupnames=['options'],
name='Node ID',
perm='r',
info='Node or juction at which crossings should be placed.',
))
self.add(cm.AttrConf('ids_edge', [],
groupnames=['options'],
perm='r',
name='Edge IDs',
info='Edge IDs, accross which the crossing will be build.',
))
self.add(cm.AttrConf('width', 2.0,
groupnames=['options'],
name='Width',
perm='rw',
unit='m',
info='Crossing Width.',
))
def activate(self, canvas=None):
"""
This call by metacanvas??TooldsPallet signals that the tool has been
activated and can now interact with metacanvas.
"""
# print 'activate'
SelectTool.activate(self, canvas)
# make lanes invisible, because they disturb
lanedraws = self.get_drawobj_by_ident('lanedraws')
self._is_lane_visible_before = None
if lanedraws:
self._is_lane_visible_before = lanedraws.is_visible()
lanedraws.set_visible(False)
canvas.draw()
def deactivate(self):
"""
This call by metacanvas signals that the tool has been
deactivated and can now interact with metacanvas.
"""
self._is_active = False
# self.unhighlight()
# reset lane visibility
if self._is_lane_visible_before is not None:
lanedraws = self.get_drawobj_by_ident('lanedraws')
if lanedraws:
lanedraws.set_visible(self._is_lane_visible_before)
self._canvas.draw()
self.deactivate_select()
def on_execute_selection(self, event):
"""
Definively execute operation on currently selected drawobjects.
"""
# print 'on_execute_selection',self.get_netelement_current(),len(self)
# self.set_objbrowser()
# self.highlight_current()
self.unhighlight_current()
# self.unhighlight()
netelement_current = self.get_netelement_current()
# print ' netelement_current',netelement_current
if netelement_current is not None:
(element, id_elem) = netelement_current
if element.get_ident() == 'nodes':
nodes = element
# print ' selected node',id_elem
# if self.id_node.get_value() <0:
# #print ' set name_orig',zones.ids_sumo[id_zone]
self.id_node.set_value(id_elem)
self.ids_edge.set_value([])
# add potential to-edges to selection
edgedraws = self.get_drawobj_by_ident('edgedraws')
self.unselect_all()
for id_edge in nodes.ids_incoming[id_elem]:
self.add_selection(edgedraws, id_edge)
for id_edge in nodes.ids_outgoing[id_elem]:
self.add_selection(edgedraws, id_edge)
# self.unselect_all()# includes unhighlight
self.highlight()
self.parent.refresh_optionspanel(self)
elif element.get_ident() == 'edges':
if self.id_node.get_value() >= 0:
# print ' selected edge',id_elem
if id_elem not in self.ids_edge.get_value():
self.ids_edge.get_value().append(id_elem)
self.parent.refresh_optionspanel(self)
self.highlight()
else:
self.unselect_all()
return True
def on_change_selection(self, event):
"""
Called after selection has been changed with SHIFT-click
Do operation on currently selected drawobjects.
"""
# self.set_objbrowser()
# self.parent.refresh_optionspanel(self)
return False
def get_optionspanel(self, parent, size=wx.DefaultSize):
"""
Return tool option widgets on given parent
"""
size = (200, -1)
buttons = [('Add', self.on_add_crossing, 'Add crossing to network.'),
('Clear', self.on_clear, 'Clear selection.'),
#('Save flows', self.on_add, 'Save OD flows to current demand.'),
#('Cancel', self.on_close, 'Close wizzard without adding flows.'),
]
defaultbuttontext = 'Add'
self._optionspanel = ObjPanel(parent, obj=self,
attrconfigs=None,
groupnames=['options'],
func_change_obj=None,
show_groupnames=False, show_title=True, is_modal=False,
mainframe=self.parent.get_mainframe(),
pos=wx.DefaultPosition, size=size, style=wx.MAXIMIZE_BOX | wx.RESIZE_BORDER,
immediate_apply=True, panelstyle='default', # 'instrumental'
buttons=buttons, defaultbutton=defaultbuttontext,
standartbuttons=[], # standartbuttons=['restore']
)
return self._optionspanel
class NeteditorTools(ToolsPanel):
"""
Shows a toolpallet with different tools and an options panel.
Here tools are added which
"""
NETDRAWINGS = [
('nodedraws', NodeDrawings, 'nodes', 20),
('edgedraws', EdgeDrawings, 'edges', 10),
('lanedraws', LaneDrawings, 'lanes', 15),
('connectiondraws', ConnectionDrawings, 'connections', 25),
('crossingsdraws', CrossingDrawings, 'crossings', 30),
]
# do not touch, used for anim drawobj too
# def add_drawobj(self, drawobj, element, layer = 0):
# id_drawobj = self.add_rows( 1, drawobjects = [drawobj],
# idents = [drawobj.get_ident()],
# idents_elem = element.get_ident_abs(),
# layers = [layer],
# )
# return id_drawobj
class NeteditorMainframe(AgileToolbarFrameMixin, wx.Frame):
"""
Simple wx frame with some special features.
"""
if __name__ == '__main__':
###########################################################################
# MAINLOOP
import network
from agilepy.lib_base.logger import Logger
net = network.Network(logger=Logger())
net.import_xml('facsp2', 'testnet')
app = NeteditorApp(net, output=False)
app.MainLoop()
| [
2,
30991,
35683,
46,
11,
41798,
286,
14665,
337,
5944,
879,
26,
766,
3740,
1378,
68,
17043,
13,
2398,
14,
16345,
78,
198,
2,
15069,
357,
34,
8,
1584,
12,
42334,
2679,
43226,
3337,
357,
19260,
49,
8,
290,
1854,
13,
198,
2,
35683,
3185,
88,
8265,
198,
2,
15069,
357,
34,
8,
2321,
12,
5539,
2059,
286,
347,
928,
2616,
532,
360,
2149,
2390,
198,
2,
770,
1430,
290,
262,
19249,
5696,
389,
925,
1695,
739,
262,
198,
2,
2846,
286,
262,
30991,
5094,
13789,
362,
13,
15,
543,
318,
1695,
379,
198,
2,
3740,
1378,
2503,
13,
68,
17043,
13,
2398,
14,
18011,
14,
68,
489,
12,
17,
13,
15,
14,
198,
2,
770,
8090,
6127,
743,
635,
307,
925,
1695,
739,
262,
1708,
29521,
198,
2,
10483,
4541,
618,
262,
3403,
329,
884,
11500,
900,
6071,
287,
262,
30991,
198,
2,
5094,
13789,
362,
13,
15,
389,
11378,
25,
22961,
3611,
5094,
13789,
11,
2196,
362,
198,
2,
393,
1568,
543,
318,
1695,
379,
198,
2,
3740,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
14,
727,
12,
677,
4541,
14,
70,
489,
12,
17,
13,
15,
12,
1481,
17749,
13,
6494,
198,
2,
30628,
55,
12,
34156,
12,
33234,
7483,
25,
412,
6489,
12,
17,
13,
15,
6375,
38644,
12,
17,
13,
15,
12,
273,
12,
36760,
198,
198,
2,
2488,
7753,
220,
220,
220,
3127,
62,
35352,
13,
9078,
198,
2,
2488,
9800,
220,
5302,
6422,
40430,
7509,
198,
2,
2488,
4475,
628,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
266,
87,
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,
3486,
5760,
4663,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
834,
7753,
834,
4008,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3486,
5760,
4663,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
17597,
13,
853,
85,
58,
15,
60,
4008,
198,
220,
220,
220,
1303,
4760,
4146,
1961,
4663,
796,
28686,
13,
6978,
13,
22179,
7,
2969,
5760,
4663,
4032,
492,
41707,
492,
41707,
363,
576,
9078,
11537,
628,
220,
220,
220,
1303,
25064,
13,
6978,
13,
33295,
7,
4760,
4146,
1961,
4663,
8,
198,
220,
220,
220,
1303,
25064,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
4760,
4146,
1961,
4663,
553,
8019,
62,
8692,
48774,
198,
220,
220,
220,
1303,
25064,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
4760,
4146,
1961,
4663,
553,
8019,
62,
49345,
48774,
628,
220,
220,
220,
35683,
3185,
56,
34720,
796,
28686,
13,
6978,
13,
22179,
7,
2969,
5760,
4663,
11,
705,
492,
3256,
705,
492,
11537,
198,
220,
220,
220,
25064,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
50,
5883,
3185,
56,
34720,
4008,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
36710,
9078,
13,
8019,
62,
49345,
13,
519,
992,
2072,
1330,
1635,
198,
2,
6738,
36710,
9078,
13,
8019,
62,
49345,
13,
12417,
14535,
1330,
2449,
576,
13383,
14535,
198,
6738,
4755,
18170,
13,
27349,
13,
27349,
1330,
19164,
1546,
198,
2,
7,
1852,
62,
19334,
672,
11,
15315,
26801,
9487,
11,
2010,
35226,
3672,
11,
7679,
1267,
628,
198,
4871,
3433,
17563,
25391,
7,
17563,
25391,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
29538,
2891,
329,
440,
8763,
21978,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2560,
11,
1388,
14535,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1675,
307,
23170,
4651,
416,
2176,
2891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15003,
62,
11321,
10786,
19738,
3256,
2560,
11,
705,
7934,
29538,
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,
7508,
11639,
17563,
5563,
287,
7686,
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,
318,
62,
5239,
16539,
28,
25101,
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,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15003,
62,
19738,
7,
271,
62,
12860,
62,
34213,
28,
17821,
8,
628,
220,
220,
220,
1303,
825,
900,
62,
2617,
30854,
62,
14421,
7,
944,
11,
26181,
2340,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
220,
220,
21394,
290,
11330,
262,
1459,
2010,
30854,
198,
220,
220,
220,
1303,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
220,
220,
2116,
13,
5171,
11017,
13,
1136,
62,
19334,
278,
3419,
198,
220,
220,
220,
1303,
220,
220,
220,
2116,
13,
403,
19738,
62,
439,
3419,
198,
220,
220,
220,
1303,
825,
651,
62,
25811,
35330,
7,
944,
11,
2560,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
220,
220,
8229,
2891,
3038,
40803,
319,
1813,
2560,
198,
220,
220,
220,
1303,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
220,
220,
3197,
26801,
11,
4808,
312,
796,
2116,
13,
1136,
62,
14421,
62,
49283,
3419,
198,
220,
220,
220,
1303,
220,
220,
220,
611,
3197,
26801,
220,
318,
407,
6045,
25,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
26181,
796,
3197,
26801,
13,
1136,
62,
3262,
30854,
3419,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
26181,
28,
11215,
13,
14881,
49201,
805,
10786,
28920,
11537,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
4808,
312,
796,
6045,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
220,
220,
220,
1303,
4798,
705,
1136,
62,
25811,
35330,
3256,
19334,
26801,
11,
4808,
312,
198,
220,
220,
220,
1303,
220,
220,
220,
2116,
13557,
25811,
35330,
796,
13244,
72,
26639,
7,
8000,
11,
26181,
796,
220,
26181,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
708,
81,
11250,
82,
28,
14202,
11,
4686,
796,
4808,
312,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
83,
2977,
796,
6045,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11487,
796,
6045,
11,
4686,
28,
14202,
11,
220,
2340,
28,
14202,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8094,
14933,
796,
37250,
25811,
6,
4357,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
14535,
28,
944,
13,
8000,
13,
1136,
62,
12417,
14535,
22784,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7103,
62,
39014,
28,
25101,
11,
6103,
7635,
11639,
12286,
3256,
2,
6,
259,
43872,
282,
6,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1302,
433,
4360,
27288,
28,
17816,
39014,
41707,
2118,
382,
6,
12962,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
220,
220,
220,
1441,
2116,
13557,
25811,
35330,
628,
198,
4871,
3433,
38727,
25391,
7,
38727,
25391,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
23520,
2891,
329,
440,
8763,
21978,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2560,
11,
220,
4886,
79,
844,
28,
20,
11,
1388,
14535,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1675,
307,
23170,
4651,
416,
2176,
2891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15003,
62,
11321,
10786,
33678,
3256,
2560,
11,
705,
38727,
2891,
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,
7508,
11639,
17563,
290,
12233,
5563,
287,
3127,
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,
318,
62,
5239,
16539,
28,
25101,
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,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15003,
62,
19738,
7,
271,
62,
12860,
62,
34213,
28,
17821,
11,
4886,
79,
844,
28,
15255,
478,
79,
844,
8,
628,
220,
220,
220,
825,
319,
62,
41049,
62,
49283,
7,
944,
11,
1785,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29589,
2280,
12260,
4905,
319,
3058,
6163,
3197,
48205,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
271,
62,
25981,
62,
40845,
62,
261,
62,
49283,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3197,
26801,
11,
4808,
312,
796,
2116,
13,
1136,
62,
14421,
62,
49283,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3197,
26801,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3197,
26801,
13,
12381,
62,
68,
10671,
28264,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
19738,
62,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
19334,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
19334,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
318,
62,
19334,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
198,
4871,
3060,
21544,
278,
25391,
7,
17563,
25391,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
31245,
5202,
2891,
1640,
440,
8763,
21978,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2560,
11,
1388,
14535,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1675,
307,
23170,
4651,
416,
2176,
2891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15003,
62,
11321,
10786,
19692,
278,
26676,
3256,
2560,
11,
705,
4550,
12538,
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,
7508,
2625,
15931,
25391,
284,
751,
41930,
379,
42085,
25,
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,
352,
13,
9683,
257,
19081,
351,
1279,
2538,
9792,
49583,
29,
319,
262,
7311,
5464,
284,
11986,
257,
1279,
19667,
29,
810,
284,
1382,
262,
12538,
13,
220,
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,
362,
13,
16018,
453,
13096,
262,
9647,
286,
262,
12538,
13,
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,
513,
13,
9683,
281,
1279,
37021,
29,
810,
284,
1382,
262,
12538,
416,
16259,
832,
477,
1744,
15909,
13015,
351,
1279,
9693,
32297,
29,
10,
27,
2538,
9792,
337,
2606,
5188,
29,
290,
1279,
2538,
9792,
49583,
29,
618,
262,
10348,
1279,
37021,
29,
318,
14537,
13,
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,
604,
13,
30021,
5743,
6356,
1566,
477,
2950,
13015,
389,
14537,
13,
220,
220,
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,
642,
13,
4332,
262,
366,
4550,
1,
20969,
284,
751,
262,
12538,
13,
220,
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,
4332,
262,
366,
19856,
1,
4936,
284,
1598,
477,
28224,
13,
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,
13538,
1600,
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,
318,
62,
5239,
16539,
28,
25101,
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,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15003,
62,
19738,
7,
271,
62,
12860,
62,
34213,
28,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
7,
11215,
13,
8086,
81,
18546,
10786,
312,
62,
17440,
3256,
532,
16,
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,
1448,
14933,
28,
17816,
25811,
6,
4357,
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,
1438,
11639,
19667,
4522,
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,
9943,
11639,
81,
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,
7508,
11639,
19667,
393,
7544,
596,
379,
543,
41930,
815,
307,
4624,
2637,
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,
15306,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
7,
11215,
13,
8086,
81,
18546,
10786,
2340,
62,
14907,
3256,
685,
4357,
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,
1448,
14933,
28,
17816,
25811,
6,
4357,
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,
9943,
11639,
81,
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,
1438,
11639,
37021,
32373,
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,
7508,
11639,
37021,
32373,
11,
697,
1214,
543,
262,
12538,
481,
307,
1382,
2637,
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,
15306,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
7,
11215,
13,
8086,
81,
18546,
10786,
10394,
3256,
362,
13,
15,
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,
1448,
14933,
28,
17816,
25811,
6,
4357,
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,
1438,
11639,
30916,
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,
9943,
11639,
31653,
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,
4326,
11639,
76,
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,
7508,
11639,
21544,
278,
38807,
2637,
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,
15306,
628,
220,
220,
220,
825,
15155,
7,
944,
11,
21978,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
869,
416,
1138,
50195,
11017,
3548,
2514,
10119,
11531,
1616,
10425,
326,
262,
2891,
468,
587,
198,
220,
220,
220,
220,
220,
220,
220,
13906,
290,
460,
783,
9427,
351,
1138,
50195,
11017,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
705,
39022,
6,
198,
220,
220,
220,
220,
220,
220,
220,
9683,
25391,
13,
39022,
7,
944,
11,
21978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
787,
15296,
14836,
11,
780,
484,
17037,
198,
220,
220,
220,
220,
220,
220,
220,
300,
22739,
1831,
82,
796,
2116,
13,
1136,
62,
19334,
26801,
62,
1525,
62,
738,
10786,
9620,
276,
1831,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
33533,
62,
23504,
62,
19052,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
300,
22739,
1831,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
33533,
62,
23504,
62,
19052,
796,
300,
22739,
1831,
82,
13,
271,
62,
23504,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
22739,
1831,
82,
13,
2617,
62,
23504,
7,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
21978,
13,
19334,
3419,
628,
220,
220,
220,
825,
390,
39022,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
869,
416,
1138,
50195,
11017,
10425,
326,
262,
2891,
468,
587,
198,
220,
220,
220,
220,
220,
220,
220,
390,
33106,
290,
460,
783,
9427,
351,
1138,
50195,
11017,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
5275,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
403,
8929,
2971,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13259,
11193,
20742,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
271,
62,
33533,
62,
23504,
62,
19052,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
22739,
1831,
82,
796,
2116,
13,
1136,
62,
19334,
26801,
62,
1525,
62,
738,
10786,
9620,
276,
1831,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
300,
22739,
1831,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
22739,
1831,
82,
13,
2617,
62,
23504,
7,
944,
13557,
271,
62,
33533,
62,
23504,
62,
19052,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
5171,
11017,
13,
19334,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2934,
39022,
62,
19738,
3419,
628,
220,
220,
220,
825,
319,
62,
41049,
62,
49283,
7,
944,
11,
1785,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29589,
2280,
12260,
4905,
319,
3058,
6163,
3197,
48205,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
705,
261,
62,
41049,
62,
49283,
3256,
944,
13,
1136,
62,
3262,
30854,
62,
14421,
22784,
11925,
7,
944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
2617,
62,
26801,
40259,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
8929,
2971,
62,
14421,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
8929,
2971,
62,
14421,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
403,
8929,
2971,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2010,
30854,
62,
14421,
796,
2116,
13,
1136,
62,
3262,
30854,
62,
14421,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
705,
220,
2010,
30854,
62,
14421,
3256,
3262,
30854,
62,
14421,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2010,
30854,
62,
14421,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
30854,
11,
4686,
62,
68,
10671,
8,
796,
2010,
30854,
62,
14421,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5002,
13,
1136,
62,
738,
3419,
6624,
705,
77,
4147,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13760,
796,
5002,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
705,
220,
6163,
10139,
3256,
312,
62,
68,
10671,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
2116,
13,
312,
62,
17440,
13,
1136,
62,
8367,
3419,
1279,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
1303,
4798,
705,
220,
220,
220,
900,
1438,
62,
11612,
3256,
89,
1952,
13,
2340,
62,
16345,
78,
58,
312,
62,
11340,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
312,
62,
17440,
13,
2617,
62,
8367,
7,
312,
62,
68,
10671,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2340,
62,
14907,
13,
2617,
62,
8367,
26933,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
2785,
284,
12,
276,
3212,
284,
6356,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45871,
1831,
82,
796,
2116,
13,
1136,
62,
19334,
26801,
62,
1525,
62,
738,
10786,
48916,
1831,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
19738,
62,
439,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4686,
62,
14907,
287,
13760,
13,
2340,
62,
259,
4976,
58,
312,
62,
68,
10671,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
62,
49283,
7,
48916,
1831,
82,
11,
4686,
62,
14907,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4686,
62,
14907,
287,
13760,
13,
2340,
62,
448,
5146,
58,
312,
62,
68,
10671,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
62,
49283,
7,
48916,
1831,
82,
11,
4686,
62,
14907,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
403,
19738,
62,
439,
3419,
2,
3407,
555,
8929,
2971,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8929,
2971,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8000,
13,
5420,
3447,
62,
25811,
35330,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5002,
13,
1136,
62,
738,
3419,
6624,
705,
276,
3212,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
312,
62,
17440,
13,
1136,
62,
8367,
3419,
18189,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
705,
220,
6163,
5743,
3256,
312,
62,
68,
10671,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
62,
68,
10671,
407,
287,
2116,
13,
2340,
62,
14907,
13,
1136,
62,
8367,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2340,
62,
14907,
13,
1136,
62,
8367,
22446,
33295,
7,
312,
62,
68,
10671,
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,
2116,
13,
8000,
13,
5420,
3447,
62,
25811,
35330,
7,
944,
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,
2116,
13,
8929,
2971,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
403,
19738,
62,
439,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
825,
319,
62,
3803,
62,
49283,
7,
944,
11,
1785,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
34099,
706,
6356,
468,
587,
3421,
351,
6006,
32297,
12,
12976,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
4905,
319,
3058,
6163,
3197,
48205,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
2617,
62,
26801,
40259,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
8000,
13,
5420,
3447,
62,
25811,
35330,
7,
944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
651,
62,
25811,
35330,
7,
944,
11,
2560,
11,
2546,
28,
49345,
13,
19463,
10699,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
2891,
3038,
40803,
319,
1813,
2560,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
357,
2167,
11,
532,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12163,
796,
685,
10786,
4550,
3256,
2116,
13,
261,
62,
2860,
62,
19692,
278,
11,
705,
4550,
12538,
284,
3127,
2637,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19203,
19856,
3256,
2116,
13,
261,
62,
20063,
11,
705,
19856,
6356,
2637,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10786,
16928,
15623,
3256,
2116,
13,
261,
62,
2860,
11,
705,
16928,
31245,
15623,
284,
1459,
3512,
2637,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10786,
34,
21130,
3256,
2116,
13,
261,
62,
19836,
11,
705,
26125,
266,
16191,
1231,
4375,
15623,
2637,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
4277,
16539,
5239,
796,
705,
4550,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
25811,
35330,
796,
38764,
26639,
7,
8000,
11,
26181,
28,
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,
220,
220,
220,
220,
220,
708,
81,
11250,
82,
28,
14202,
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,
1448,
14933,
28,
17816,
25811,
6,
4357,
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,
25439,
62,
3803,
62,
26801,
28,
14202,
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,
905,
62,
8094,
14933,
28,
25101,
11,
905,
62,
7839,
28,
17821,
11,
318,
62,
4666,
282,
28,
25101,
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,
1388,
14535,
28,
944,
13,
8000,
13,
1136,
62,
12417,
14535,
22784,
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,
1426,
28,
49345,
13,
19463,
26545,
11,
2546,
28,
7857,
11,
3918,
28,
49345,
13,
22921,
3955,
35400,
62,
39758,
930,
266,
87,
13,
19535,
35400,
62,
33,
12532,
1137,
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,
7103,
62,
39014,
28,
17821,
11,
6103,
7635,
11639,
12286,
3256,
220,
1303,
705,
259,
43872,
282,
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,
12163,
28,
4360,
27288,
11,
4277,
16539,
28,
12286,
16539,
5239,
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,
1302,
433,
4360,
27288,
41888,
4357,
220,
1303,
1302,
433,
4360,
27288,
28,
17816,
2118,
382,
20520,
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,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25811,
35330,
628,
198,
4871,
3433,
35352,
33637,
7,
33637,
26639,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
25156,
257,
2891,
18596,
1616,
351,
1180,
4899,
290,
281,
3689,
6103,
13,
198,
220,
220,
220,
3423,
4899,
389,
2087,
543,
220,
198,
220,
220,
220,
37227,
628,
628,
628,
198,
198,
12884,
35,
20530,
20754,
796,
685,
198,
220,
220,
220,
19203,
77,
9043,
1831,
82,
3256,
19081,
25302,
654,
11,
705,
77,
4147,
3256,
1160,
828,
198,
220,
220,
220,
19203,
48916,
1831,
82,
3256,
13113,
25302,
654,
11,
705,
276,
3212,
3256,
838,
828,
198,
220,
220,
220,
19203,
9620,
276,
1831,
82,
3256,
15016,
25302,
654,
11,
705,
75,
7305,
3256,
1315,
828,
198,
220,
220,
220,
19203,
38659,
19334,
82,
3256,
26923,
25302,
654,
11,
705,
8443,
507,
3256,
1679,
828,
198,
220,
220,
220,
19203,
19692,
654,
19334,
82,
3256,
31910,
25302,
654,
11,
705,
19692,
654,
3256,
1542,
828,
198,
60,
628,
198,
220,
220,
220,
1303,
466,
407,
3638,
11,
973,
329,
2355,
3197,
26801,
1165,
198,
220,
220,
220,
1303,
825,
751,
62,
19334,
26801,
7,
944,
11,
3197,
26801,
11,
5002,
11,
7679,
796,
657,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
4686,
62,
19334,
26801,
796,
2116,
13,
2860,
62,
8516,
7,
352,
11,
3197,
48205,
796,
685,
19334,
26801,
4357,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3231,
796,
685,
19334,
26801,
13,
1136,
62,
738,
3419,
4357,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3231,
62,
68,
10671,
796,
5002,
13,
1136,
62,
738,
62,
8937,
22784,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11685,
796,
685,
29289,
4357,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
1441,
220,
4686,
62,
19334,
26801,
628,
198,
4871,
3433,
35352,
13383,
14535,
7,
10262,
576,
25391,
5657,
19778,
35608,
259,
11,
266,
87,
13,
19778,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
17427,
266,
87,
5739,
351,
617,
2041,
3033,
13,
198,
220,
220,
220,
37227,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1303,
29113,
29113,
7804,
2235,
198,
220,
220,
220,
1303,
8779,
1268,
21982,
3185,
198,
220,
220,
220,
1330,
3127,
198,
220,
220,
220,
422,
36710,
9078,
13,
8019,
62,
8692,
13,
6404,
1362,
1330,
5972,
1362,
198,
220,
220,
220,
2010,
796,
3127,
13,
26245,
7,
6404,
1362,
28,
11187,
1362,
28955,
198,
220,
220,
220,
2010,
13,
11748,
62,
19875,
10786,
38942,
2777,
17,
3256,
705,
9288,
3262,
11537,
198,
220,
220,
220,
598,
796,
3433,
35352,
4677,
7,
3262,
11,
5072,
28,
25101,
8,
628,
220,
220,
220,
598,
13,
13383,
39516,
3419,
198
] | 2.040207 | 5,994 |
"""
Convert from filename_[tag1,tag2].ext format to notefile
"""
import sys
import os
import re
import shutil
#sys.path.append(os.path.abspath('..'))
import notefile
print(notefile.__version__) # 20200103
SOURCE = '/full/path/to/source'
retags = re.compile('^(.*)[\_|-][\[|\(](.*?)[\]|\)]$')
def get_tag(filename):
"""
Return: ( [[tag1,...,tagN], nontagname)
Tags are in their "strip"ed format (lowercase and with _)
"""
base,ext = os.path.splitext(filename)
try:
nontagname,tagsfull = retags.findall(base)[0]
except IndexError: # No tags
return list(),filename
tags = tagsfull.split(',')
return tags,nontagname + ext
for root, dirs, files in os.walk(SOURCE):
for item in dirs[:]:
if item.startswith('.'):
dirs.remove(item)
for file in files:
if file.startswith('.'):
continue
file = os.path.join(root,file)
if os.path.islink(file):
continue
tags,newname = get_tag(file)
if len(tags) == 0:
continue
shutil.move(file,newname)
# Call the CLI since it will do a lot of this work for you
cmd = ['tag']
for tag in tags:
cmd.extend(['--tag',tag])
cmd.append(newname)
notefile.cli(cmd)
| [
37811,
198,
3103,
1851,
422,
29472,
62,
58,
12985,
16,
11,
12985,
17,
4083,
2302,
5794,
284,
407,
891,
576,
198,
37811,
198,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
302,
198,
11748,
4423,
346,
198,
198,
2,
17597,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
397,
2777,
776,
10786,
492,
6,
4008,
198,
11748,
407,
891,
576,
198,
4798,
7,
1662,
891,
576,
13,
834,
9641,
834,
8,
1303,
1160,
2167,
15197,
628,
198,
47690,
796,
31051,
12853,
14,
6978,
14,
1462,
14,
10459,
6,
198,
198,
1186,
3775,
796,
302,
13,
5589,
576,
10786,
61,
7,
15885,
38381,
59,
62,
91,
12,
7131,
59,
58,
91,
59,
7,
16151,
15885,
10091,
58,
59,
60,
91,
59,
15437,
3,
11537,
198,
198,
4299,
651,
62,
12985,
7,
34345,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8229,
25,
357,
16410,
12985,
16,
42303,
11,
12985,
45,
4357,
45930,
363,
3672,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
44789,
389,
287,
511,
366,
36311,
1,
276,
5794,
357,
21037,
7442,
290,
351,
4808,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2779,
11,
2302,
796,
28686,
13,
6978,
13,
22018,
578,
742,
7,
34345,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
45930,
363,
3672,
11,
31499,
12853,
796,
1005,
3775,
13,
19796,
439,
7,
8692,
38381,
15,
60,
198,
220,
220,
220,
2845,
12901,
12331,
25,
1303,
1400,
15940,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1351,
22784,
34345,
198,
220,
220,
220,
220,
198,
220,
220,
220,
15940,
796,
15940,
12853,
13,
35312,
7,
3256,
11537,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
15940,
11,
77,
756,
363,
3672,
1343,
1070,
198,
220,
220,
220,
220,
198,
1640,
6808,
11,
288,
17062,
11,
3696,
287,
28686,
13,
11152,
7,
47690,
2599,
220,
220,
198,
220,
220,
220,
329,
2378,
287,
288,
17062,
58,
25,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
13,
9688,
2032,
342,
10786,
2637,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
17062,
13,
28956,
7,
9186,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
2393,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2393,
13,
9688,
2032,
342,
10786,
2637,
2599,
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,
2393,
796,
28686,
13,
6978,
13,
22179,
7,
15763,
11,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
3044,
676,
7,
7753,
2599,
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,
15940,
11,
3605,
3672,
796,
651,
62,
12985,
7,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
31499,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4423,
346,
13,
21084,
7,
7753,
11,
3605,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4889,
262,
43749,
1201,
340,
481,
466,
257,
1256,
286,
428,
670,
329,
345,
198,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
37250,
12985,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
329,
7621,
287,
15940,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23991,
13,
2302,
437,
7,
17816,
438,
12985,
3256,
12985,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
23991,
13,
33295,
7,
3605,
3672,
8,
628,
220,
220,
220,
220,
220,
220,
220,
407,
891,
576,
13,
44506,
7,
28758,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198
] | 1.922266 | 759 |
#!/usr/bin/python
'''
Wrapper for the SRTM module (srtm.py)
It will grab the altitude of a long,lat pair from the SRTM database
Created by Stephen Dade ([email protected])
'''
import numpy, os, time, sys, srtm, GAreader
class ElevationModel():
'''Elevation Model. Only SRTM for now'''
def __init__(self, database='srtm'):
'''Use offline=1 to disable any downloading of tiles, regardless of whether the
tile exists'''
self.database = database
if self.database == 'srtm':
self.downloader = srtm.SRTMDownloader(offline=0)
self.downloader.loadFileList()
self.tileDict = dict()
'''Use the Geoscience Australia database instead - watch for the correct database path'''
if self.database == 'geoscience':
self.mappy = GAreader.ERMap()
self.mappy.read_ermapper(os.path.join(os.environ['HOME'], './Documents/Elevation/Canberra/GSNSW_P756demg'))
def GetElevation(self, latitude, longitude):
'''Returns the altitude (m ASL) of a given lat/long pair'''
if latitude == 0 or longitude == 0:
return 0
if self.database == 'srtm':
TileID = (numpy.floor(latitude), numpy.floor(longitude))
if TileID in self.tileDict:
alt = self.tileDict[TileID].getAltitudeFromLatLon(latitude, longitude)
else:
tile = self.downloader.getTile(numpy.floor(latitude), numpy.floor(longitude))
if tile == 0:
return -1
self.tileDict[TileID] = tile
alt = tile.getAltitudeFromLatLon(latitude, longitude)
if self.database == 'geoscience':
alt = self.mappy.getAltitudeAtPoint(latitude, longitude)
return alt
if __name__ == "__main__":
from optparse import OptionParser
parser = OptionParser("mp_elevation.py [options]")
parser.add_option("--lat", type='float', default=-35.052544, help="start latitude")
parser.add_option("--lon", type='float', default=149.509165, help="start longitude")
parser.add_option("--database", type='string', default='srtm', help="elevation database")
(opts, args) = parser.parse_args()
EleModel = ElevationModel(opts.database)
lat = opts.lat
lon = opts.lon
'''Do a few lat/long pairs to demonstrate the caching'''
t0 = time.time()
alt = EleModel.GetElevation(lat, lon)
t1 = time.time()
print("Altitude at (%.6f, %.6f) is %u m. Pulled at %.1f FPS" % (lat, lon, alt, 1/(t1-t0)))
lat = opts.lat+0.001
lon = opts.lon+0.001
t0 = time.time()
alt = EleModel.GetElevation(lat, lon)
t1 = time.time()
print("Altitude at (%.6f, %.6f) is %u m. Pulled at %.1f FPS" % (lat, lon, alt, 1/(t1-t0)))
lat = opts.lat-0.001
lon = opts.lon-0.001
t0 = time.time()
alt = EleModel.GetElevation(lat, lon)
t1 = time.time()
print("Altitude at (%.6f, %.6f) is %u m. Pulled at %.1f FPS" % (lat, lon, alt, 1/(t1-t0)))
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
7061,
6,
198,
36918,
2848,
329,
262,
311,
14181,
44,
8265,
357,
82,
17034,
76,
13,
9078,
8,
198,
1026,
481,
5552,
262,
20334,
286,
257,
890,
11,
15460,
5166,
422,
262,
311,
14181,
44,
6831,
198,
41972,
416,
7970,
360,
671,
357,
9662,
831,
62,
67,
671,
31,
8940,
4529,
13,
785,
8,
198,
7061,
6,
198,
198,
11748,
299,
32152,
11,
28686,
11,
640,
11,
25064,
11,
264,
17034,
76,
11,
14545,
46862,
198,
198,
4871,
37881,
341,
17633,
33529,
198,
220,
220,
220,
705,
7061,
36,
2768,
341,
9104,
13,
5514,
311,
14181,
44,
329,
783,
7061,
6,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
6831,
11639,
82,
17034,
76,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
11041,
18043,
28,
16,
284,
15560,
597,
22023,
286,
19867,
11,
7692,
286,
1771,
262,
198,
220,
220,
220,
220,
220,
220,
220,
17763,
7160,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
48806,
796,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
48806,
6624,
705,
82,
17034,
76,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15002,
263,
796,
264,
17034,
76,
13,
12562,
15972,
10002,
263,
7,
2364,
1370,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15002,
263,
13,
2220,
8979,
8053,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40927,
35,
713,
796,
8633,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
11041,
262,
2269,
418,
4234,
4505,
6831,
2427,
532,
2342,
329,
262,
3376,
6831,
3108,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
48806,
6624,
705,
469,
418,
4234,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
7774,
796,
14545,
46862,
13,
1137,
13912,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
7774,
13,
961,
62,
7780,
11463,
7,
418,
13,
6978,
13,
22179,
7,
418,
13,
268,
2268,
17816,
39069,
6,
4357,
705,
19571,
38354,
14,
36,
2768,
341,
14,
6090,
31358,
14,
14313,
8035,
54,
62,
47,
38219,
9536,
70,
6,
4008,
628,
220,
220,
220,
825,
3497,
36,
2768,
341,
7,
944,
11,
32477,
11,
890,
3984,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
35561,
262,
20334,
357,
76,
7054,
43,
8,
286,
257,
1813,
3042,
14,
6511,
5166,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
32477,
6624,
657,
393,
890,
3984,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
48806,
6624,
705,
82,
17034,
76,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47870,
2389,
796,
357,
77,
32152,
13,
28300,
7,
15460,
3984,
828,
299,
32152,
13,
28300,
7,
6511,
3984,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
47870,
2389,
287,
2116,
13,
40927,
35,
713,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5988,
796,
2116,
13,
40927,
35,
713,
58,
35103,
2389,
4083,
1136,
29161,
3984,
4863,
24220,
43,
261,
7,
15460,
3984,
11,
890,
3984,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17763,
796,
2116,
13,
15002,
263,
13,
1136,
35103,
7,
77,
32152,
13,
28300,
7,
15460,
3984,
828,
299,
32152,
13,
28300,
7,
6511,
3984,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
17763,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40927,
35,
713,
58,
35103,
2389,
60,
796,
17763,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5988,
796,
17763,
13,
1136,
29161,
3984,
4863,
24220,
43,
261,
7,
15460,
3984,
11,
890,
3984,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
48806,
6624,
705,
469,
418,
4234,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5988,
796,
2116,
13,
76,
7774,
13,
1136,
29161,
3984,
2953,
12727,
7,
15460,
3984,
11,
890,
3984,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5988,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
220,
220,
220,
422,
2172,
29572,
1330,
16018,
46677,
198,
220,
220,
220,
30751,
796,
16018,
46677,
7203,
3149,
62,
68,
2768,
341,
13,
9078,
685,
25811,
60,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
18076,
7203,
438,
15460,
1600,
2099,
11639,
22468,
3256,
4277,
10779,
2327,
13,
2713,
1495,
2598,
11,
1037,
2625,
9688,
32477,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
18076,
7203,
438,
14995,
1600,
2099,
11639,
22468,
3256,
4277,
28,
19442,
13,
29022,
20986,
11,
1037,
2625,
9688,
890,
3984,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
18076,
7203,
438,
48806,
1600,
2099,
11639,
8841,
3256,
4277,
11639,
82,
17034,
76,
3256,
1037,
2625,
68,
2768,
341,
6831,
4943,
628,
220,
220,
220,
357,
404,
912,
11,
26498,
8,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
15987,
17633,
796,
37881,
341,
17633,
7,
404,
912,
13,
48806,
8,
628,
220,
220,
220,
3042,
796,
2172,
82,
13,
15460,
198,
220,
220,
220,
300,
261,
796,
2172,
82,
13,
14995,
628,
220,
220,
220,
705,
7061,
5211,
257,
1178,
3042,
14,
6511,
14729,
284,
10176,
262,
40918,
7061,
6,
198,
220,
220,
220,
256,
15,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
5988,
796,
15987,
17633,
13,
3855,
36,
2768,
341,
7,
15460,
11,
300,
261,
8,
198,
220,
220,
220,
256,
16,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
3601,
7203,
29161,
3984,
379,
357,
7225,
21,
69,
11,
4064,
13,
21,
69,
8,
318,
4064,
84,
285,
13,
21429,
276,
379,
4064,
13,
16,
69,
22082,
1,
4064,
357,
15460,
11,
300,
261,
11,
5988,
11,
352,
29006,
83,
16,
12,
83,
15,
22305,
628,
220,
220,
220,
3042,
796,
2172,
82,
13,
15460,
10,
15,
13,
8298,
198,
220,
220,
220,
300,
261,
796,
2172,
82,
13,
14995,
10,
15,
13,
8298,
198,
220,
220,
220,
256,
15,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
5988,
796,
15987,
17633,
13,
3855,
36,
2768,
341,
7,
15460,
11,
300,
261,
8,
198,
220,
220,
220,
256,
16,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
3601,
7203,
29161,
3984,
379,
357,
7225,
21,
69,
11,
4064,
13,
21,
69,
8,
318,
4064,
84,
285,
13,
21429,
276,
379,
4064,
13,
16,
69,
22082,
1,
4064,
357,
15460,
11,
300,
261,
11,
5988,
11,
352,
29006,
83,
16,
12,
83,
15,
22305,
628,
220,
220,
220,
3042,
796,
2172,
82,
13,
15460,
12,
15,
13,
8298,
198,
220,
220,
220,
300,
261,
796,
2172,
82,
13,
14995,
12,
15,
13,
8298,
198,
220,
220,
220,
256,
15,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
5988,
796,
15987,
17633,
13,
3855,
36,
2768,
341,
7,
15460,
11,
300,
261,
8,
198,
220,
220,
220,
256,
16,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
3601,
7203,
29161,
3984,
379,
357,
7225,
21,
69,
11,
4064,
13,
21,
69,
8,
318,
4064,
84,
285,
13,
21429,
276,
379,
4064,
13,
16,
69,
22082,
1,
4064,
357,
15460,
11,
300,
261,
11,
5988,
11,
352,
29006,
83,
16,
12,
83,
15,
22305,
628,
628
] | 2.252239 | 1,340 |
import pytest
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
BROWSERS_LIST = ("chrome", "firefox")
BASE_URL = 'http://selenium1py.pythonanywhere.com/'
@pytest.fixture(scope='session')
@pytest.fixture(scope='class')
| [
11748,
12972,
9288,
198,
6738,
384,
11925,
1505,
1330,
3992,
26230,
198,
6738,
384,
11925,
1505,
13,
12384,
26230,
13,
46659,
13,
25811,
1330,
18634,
198,
198,
11473,
22845,
4877,
62,
45849,
796,
5855,
46659,
1600,
366,
6495,
12792,
4943,
198,
33,
11159,
62,
21886,
796,
705,
4023,
1378,
741,
47477,
16,
9078,
13,
29412,
1092,
3003,
13,
785,
14,
6,
628,
198,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
11639,
29891,
11537,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
11639,
4871,
11537,
198
] | 2.910112 | 89 |
## importing the required libraries ##
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, Activation, Flatten, Conv2D, MaxPooling2D
import h5py
import numpy as np
import keras.utils as kut
import cv2
import matplotlib.pyplot as plt
## get the data set from saved hdf file ##
with h5py.File('data.h5', 'r') as hdf:
X_train = np.array(hdf.get('X_train'))
Y_train = np.array(hdf.get('Y_train'))
print(Y_train.shape)
Y_onehot = kut.to_categorical(Y_train) ## converting the categories into one_hot list
print(Y_onehot[:10])
X = tf.keras.utils.normalize(X_train, axis=1) ## normalizing the data set
## Convolution Neural Network ##
model = Sequential()
model.add(Conv2D(64, (5,5), input_shape =X.shape[1:]))
model.add(Activation("relu"))
model.add(MaxPooling2D(pool_size=(2,2)))
model.add(Conv2D(32, (5,5)))
model.add(Activation("relu"))
model.add(MaxPooling2D(pool_size=(2,2)))
model.add(Flatten())
model.add(Dense(64, activation=tf.nn.relu))
model.add(Dense(32, activation=tf.nn.relu))
model.add(Dense(10, activation=tf.nn.softmax))
model.compile(optimizer="adam", loss="categorical_crossentropy", metrics=['accuracy'])
model.fit(X, Y_onehot, epochs= 20, validation_split = 0.1)
## saving the model ##
model.save('num_reader.model')
# predictions = model.predict([X])
# print(predictions)
# print(np.argmax(predictions[4]))
## loading the model ##
model = tf.keras.models.load_model("num_reader.model")
# predictions = model.predict([X])
# print(predictions)
final_string = ""
## preprocessing the test image ##
for square in range(81):
prediction = np.argmax(model.predict([preprocess("<file path>")])) # predicting on test images
final_string+=str(prediction)
print(final_string)
print(len(final_string)) | [
2235,
33332,
262,
2672,
12782,
22492,
198,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
24604,
1843,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
75,
6962,
1330,
360,
1072,
11,
14258,
448,
11,
13144,
341,
11,
1610,
41769,
11,
34872,
17,
35,
11,
5436,
27201,
278,
17,
35,
198,
11748,
289,
20,
9078,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
41927,
292,
13,
26791,
355,
479,
315,
198,
11748,
269,
85,
17,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
2235,
651,
262,
1366,
900,
422,
7448,
289,
7568,
2393,
22492,
198,
198,
4480,
289,
20,
9078,
13,
8979,
10786,
7890,
13,
71,
20,
3256,
705,
81,
11537,
355,
289,
7568,
25,
198,
220,
220,
220,
1395,
62,
27432,
796,
45941,
13,
18747,
7,
71,
7568,
13,
1136,
10786,
55,
62,
27432,
6,
4008,
198,
220,
220,
220,
575,
62,
27432,
796,
45941,
13,
18747,
7,
71,
7568,
13,
1136,
10786,
56,
62,
27432,
6,
4008,
198,
220,
220,
220,
3601,
7,
56,
62,
27432,
13,
43358,
8,
198,
198,
56,
62,
505,
8940,
796,
479,
315,
13,
1462,
62,
66,
2397,
12409,
7,
56,
62,
27432,
8,
220,
22492,
23202,
262,
9376,
656,
530,
62,
8940,
1351,
198,
4798,
7,
56,
62,
505,
8940,
58,
25,
940,
12962,
198,
198,
55,
796,
48700,
13,
6122,
292,
13,
26791,
13,
11265,
1096,
7,
55,
62,
27432,
11,
16488,
28,
16,
8,
220,
22492,
3487,
2890,
262,
1366,
900,
198,
198,
2235,
34872,
2122,
47986,
7311,
22492,
198,
198,
19849,
796,
24604,
1843,
3419,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2414,
11,
357,
20,
11,
20,
828,
5128,
62,
43358,
796,
55,
13,
43358,
58,
16,
47715,
4008,
198,
19849,
13,
2860,
7,
25526,
341,
7203,
260,
2290,
48774,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
17,
22305,
198,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2624,
11,
357,
20,
11,
20,
22305,
198,
19849,
13,
2860,
7,
25526,
341,
7203,
260,
2290,
48774,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
17,
22305,
198,
198,
19849,
13,
2860,
7,
7414,
41769,
28955,
198,
198,
19849,
13,
2860,
7,
35,
1072,
7,
2414,
11,
14916,
28,
27110,
13,
20471,
13,
260,
2290,
4008,
198,
198,
19849,
13,
2860,
7,
35,
1072,
7,
2624,
11,
14916,
28,
27110,
13,
20471,
13,
260,
2290,
4008,
198,
198,
19849,
13,
2860,
7,
35,
1072,
7,
940,
11,
14916,
28,
27110,
13,
20471,
13,
4215,
9806,
4008,
198,
198,
19849,
13,
5589,
576,
7,
40085,
7509,
2625,
324,
321,
1600,
2994,
2625,
66,
2397,
12409,
62,
19692,
298,
28338,
1600,
20731,
28,
17816,
4134,
23843,
6,
12962,
198,
198,
19849,
13,
11147,
7,
55,
11,
575,
62,
505,
8940,
11,
36835,
82,
28,
1160,
11,
21201,
62,
35312,
796,
657,
13,
16,
8,
198,
198,
2235,
8914,
262,
2746,
22492,
198,
19849,
13,
21928,
10786,
22510,
62,
46862,
13,
19849,
11537,
198,
198,
2,
16277,
796,
2746,
13,
79,
17407,
26933,
55,
12962,
198,
2,
3601,
7,
28764,
9278,
8,
198,
2,
3601,
7,
37659,
13,
853,
9806,
7,
28764,
9278,
58,
19,
60,
4008,
198,
2235,
11046,
262,
2746,
22492,
198,
19849,
796,
48700,
13,
6122,
292,
13,
27530,
13,
2220,
62,
19849,
7203,
22510,
62,
46862,
13,
19849,
4943,
198,
2,
16277,
796,
2746,
13,
79,
17407,
26933,
55,
12962,
198,
2,
3601,
7,
28764,
9278,
8,
198,
20311,
62,
8841,
796,
13538,
198,
198,
2235,
662,
36948,
262,
1332,
2939,
22492,
198,
198,
1640,
6616,
287,
2837,
7,
6659,
2599,
198,
220,
220,
220,
17724,
796,
45941,
13,
853,
9806,
7,
19849,
13,
79,
17407,
26933,
3866,
14681,
7203,
27,
7753,
3108,
29,
4943,
60,
4008,
1303,
25539,
319,
1332,
4263,
198,
220,
220,
220,
2457,
62,
8841,
47932,
2536,
7,
28764,
2867,
8,
220,
198,
4798,
7,
20311,
62,
8841,
8,
198,
4798,
7,
11925,
7,
20311,
62,
8841,
4008
] | 2.658858 | 683 |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class MediaLiveEventConnectionRejectedEventData(Model):
"""Encoder connection rejected event data.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar ingest_url: Gets the ingest URL provided by the live event.
:vartype ingest_url: str
:ivar stream_id: Gets the stream Id.
:vartype stream_id: str
:ivar encoder_ip: Gets the remote IP.
:vartype encoder_ip: str
:ivar encoder_port: Gets the remote port.
:vartype encoder_port: str
:ivar result_code: Gets the result code.
:vartype result_code: str
"""
_validation = {
'ingest_url': {'readonly': True},
'stream_id': {'readonly': True},
'encoder_ip': {'readonly': True},
'encoder_port': {'readonly': True},
'result_code': {'readonly': True},
}
_attribute_map = {
'ingest_url': {'key': 'ingestUrl', 'type': 'str'},
'stream_id': {'key': 'streamId', 'type': 'str'},
'encoder_ip': {'key': 'encoderIp', 'type': 'str'},
'encoder_port': {'key': 'encoderPort', 'type': 'str'},
'result_code': {'key': 'resultCode', 'type': 'str'},
}
| [
2,
19617,
28,
40477,
12,
23,
198,
2,
16529,
35937,
198,
2,
15069,
357,
66,
8,
5413,
10501,
13,
1439,
2489,
10395,
13,
198,
2,
49962,
739,
262,
17168,
13789,
13,
4091,
13789,
13,
14116,
287,
262,
1628,
6808,
329,
198,
2,
5964,
1321,
13,
198,
2,
198,
2,
6127,
7560,
416,
5413,
357,
49,
8,
11160,
19452,
6127,
35986,
13,
198,
2,
19179,
743,
2728,
11491,
4069,
290,
481,
307,
2626,
611,
262,
2438,
318,
198,
2,
16935,
515,
13,
198,
2,
16529,
35937,
198,
198,
6738,
13845,
2118,
13,
46911,
1634,
1330,
9104,
628,
198,
4871,
6343,
18947,
9237,
32048,
3041,
35408,
9237,
6601,
7,
17633,
2599,
198,
220,
220,
220,
37227,
27195,
12342,
4637,
8606,
1785,
1366,
13,
628,
220,
220,
220,
15965,
2977,
389,
691,
22331,
416,
262,
4382,
11,
290,
481,
307,
9514,
618,
198,
220,
220,
220,
7216,
257,
2581,
13,
628,
220,
220,
220,
1058,
452,
283,
26151,
62,
6371,
25,
29620,
262,
26151,
10289,
2810,
416,
262,
2107,
1785,
13,
198,
220,
220,
220,
1058,
85,
433,
2981,
26151,
62,
6371,
25,
965,
198,
220,
220,
220,
1058,
452,
283,
4269,
62,
312,
25,
29620,
262,
4269,
5121,
13,
198,
220,
220,
220,
1058,
85,
433,
2981,
4269,
62,
312,
25,
965,
198,
220,
220,
220,
1058,
452,
283,
2207,
12342,
62,
541,
25,
29620,
262,
6569,
6101,
13,
198,
220,
220,
220,
1058,
85,
433,
2981,
2207,
12342,
62,
541,
25,
965,
198,
220,
220,
220,
1058,
452,
283,
2207,
12342,
62,
634,
25,
29620,
262,
6569,
2493,
13,
198,
220,
220,
220,
1058,
85,
433,
2981,
2207,
12342,
62,
634,
25,
965,
198,
220,
220,
220,
1058,
452,
283,
1255,
62,
8189,
25,
29620,
262,
1255,
2438,
13,
198,
220,
220,
220,
1058,
85,
433,
2981,
1255,
62,
8189,
25,
965,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4808,
12102,
341,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
278,
395,
62,
6371,
10354,
1391,
6,
961,
8807,
10354,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5532,
62,
312,
10354,
1391,
6,
961,
8807,
10354,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12685,
12342,
62,
541,
10354,
1391,
6,
961,
8807,
10354,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12685,
12342,
62,
634,
10354,
1391,
6,
961,
8807,
10354,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20274,
62,
8189,
10354,
1391,
6,
961,
8807,
10354,
6407,
5512,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
4808,
42348,
62,
8899,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
278,
395,
62,
6371,
10354,
1391,
6,
2539,
10354,
705,
278,
395,
28165,
3256,
705,
4906,
10354,
705,
2536,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5532,
62,
312,
10354,
1391,
6,
2539,
10354,
705,
5532,
7390,
3256,
705,
4906,
10354,
705,
2536,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12685,
12342,
62,
541,
10354,
1391,
6,
2539,
10354,
705,
12685,
12342,
40,
79,
3256,
705,
4906,
10354,
705,
2536,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12685,
12342,
62,
634,
10354,
1391,
6,
2539,
10354,
705,
12685,
12342,
13924,
3256,
705,
4906,
10354,
705,
2536,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20274,
62,
8189,
10354,
1391,
6,
2539,
10354,
705,
20274,
10669,
3256,
705,
4906,
10354,
705,
2536,
6,
5512,
198,
220,
220,
220,
1782,
198
] | 2.872014 | 586 |
STOPWORDS = ['I',
'A',
'ABOVE',
'AFTER',
'AGAINST',
'ALL',
'ALONE',
'ALWAYS',
'AM',
'AMOUNT',
'AN',
'AND',
'ANY',
'ARE',
'AROUND',
'AS',
'AT',
'BACK',
'BE',
'BEFORE',
'BEHIND',
'BELOW',
'BETWEEN',
'BILL',
'BOTH',
'BOTTOM',
'BY',
'CALL',
'CAN',
'CO',
'CON',
'DE',
'DETAIL',
'DO',
'DONE',
'DOWN',
'DUE',
'DURING',
'EACH',
'EG',
'EIGHT',
'ELEVEN',
'EMPTY',
'EVER',
'EVERY',
'FEW',
'FILL',
'FIND',
'FIRE',
'FIRST',
'FIVE',
'FOR',
'FORMER',
'FOUR',
'FROM',
'FRONT',
'FULL',
'FURTHER',
'GET',
'GIVE',
'GO',
'HAD',
'HAS',
'HASNT',
'HE',
'HER',
'HERS',
'HIM',
'HIS',
'I',
'IE',
'IF',
'IN',
'INTO',
'IS',
'IT',
'LAST',
'LESS',
'LTD',
'MANY',
'MAY',
'ME',
'MILL',
'MINE',
'MORE',
'MOST',
'MOSTLY',
'MUST',
'MY',
'NAME',
'NEXT',
'NINE',
'NO',
'NONE',
'NOR',
'NOT',
'NOTHING',
'NOW',
'OF',
'OFF',
'OFTEN',
'ON',
'ONCE',
'ONE',
'ONLY',
'OR',
'OTHER',
'OTHERS',
'OUT',
'OVER',
'PART',
'PER',
'PUT',
'RE',
'SAME',
'SEE',
'SERIOUS',
'SEVERAL',
'SHE',
'SHOW',
'SIDE',
'SINCE',
'SIX',
'SO',
'SOME',
'SOMETIMES',
'STILL',
'TAKE',
'TEN',
'THE',
'THEN',
'THIRD',
'THIS',
'THICK',
'THIN',
'THREE',
'THROUGH',
'TO',
'TOGETHER',
'TOP',
'TOWARD',
'TOWARDS',
'TWELVE',
'TWO',
'UN',
'UNDER',
'UNTIL',
'UP',
'UPON',
'US',
'VERY',
'VIA',
'WAS',
'WE',
'WELL',
'WHEN',
'WHILE',
'WHO',
'WHOLE',
'WILL',
'WITH',
'WITHIN',
'WITHOUT',
'YOU',
'YOURSELF',
'YOURSELVE\'S']
| [
2257,
3185,
45359,
5258,
796,
37250,
40,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6242,
46,
6089,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8579,
5781,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4760,
29833,
2257,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7036,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1847,
11651,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1847,
42451,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2390,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2390,
28270,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1565,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6981,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
31827,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12203,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1503,
15919,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1921,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1404,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
31098,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12473,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12473,
30818,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12473,
39,
12115,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
3698,
3913,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
2767,
8845,
1677,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39888,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
26946,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
29089,
2662,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17513,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
34,
7036,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44565,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8220,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10943,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7206,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35,
20892,
4146,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18227,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35,
11651,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41925,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35,
8924,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35,
4261,
2751,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36,
16219,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7156,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36,
9947,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36,
2538,
28290,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39494,
9936,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36,
5959,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36,
5959,
56,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
6217,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
8267,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
12115,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11674,
2200,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39776,
2257,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
9306,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13775,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
21389,
1137,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
11698,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10913,
2662,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10913,
35830,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
9994,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
4261,
21250,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18851,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
38,
9306,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11230,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
2885,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
1921,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
1921,
11251,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13909,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16879,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
4877,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
3955,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
1797,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10008,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5064,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1268,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1268,
10468,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1797,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2043,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
11262,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
48481,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
21016,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10725,
56,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
4792,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11682,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
8267,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
8881,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23346,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
10892,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
10892,
11319,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
44,
7759,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26708,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
45,
13918,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
45,
8881,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15285,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
45,
11651,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35510,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11929,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11929,
39,
2751,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
45669,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
19238,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
27977,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
46,
9792,
1677,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1340,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1340,
5222,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11651,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1340,
11319,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1581,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
31858,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26946,
4877,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12425,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41983,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30709,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18973,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30076,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2200,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
10067,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36078,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35009,
40,
20958,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5188,
5959,
1847,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9693,
36,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9693,
3913,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
14114,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
1268,
5222,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
10426,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15821,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
13649,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
50,
2662,
2767,
3955,
1546,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2257,
8267,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5603,
7336,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
51,
1677,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10970,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
1677,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
46833,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43559,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
11860,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
1268,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
11587,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4221,
49,
32632,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10468,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
51,
7730,
2767,
16879,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35222,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
51,
3913,
9795,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
51,
3913,
48294,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
34551,
3698,
6089,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
34551,
46,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4944,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4944,
14418,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4944,
51,
4146,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8577,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8577,
1340,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2937,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5959,
56,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
53,
3539,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
54,
1921,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8845,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8845,
3069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12418,
1677,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12418,
41119,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41856,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41856,
2538,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
54,
8267,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
54,
10554,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
54,
10554,
1268,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
54,
10554,
12425,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36981,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36981,
6998,
37738,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36981,
6998,
3698,
6089,
43054,
50,
20520,
198
] | 1.249103 | 2,786 |
# (c) 2012-2014, Michael DeHaan <[email protected]>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
from ansible.compat.six import iteritems, string_types
from ansible.errors import AnsibleError, AnsibleParserError
from ansible.module_utils._text import to_native
from ansible.parsing.mod_args import ModuleArgsParser
from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject, AnsibleMapping, AnsibleUnicode
from ansible.plugins import lookup_loader
from ansible.playbook.attribute import FieldAttribute
from ansible.playbook.base import Base
from ansible.playbook.become import Become
from ansible.playbook.block import Block
from ansible.playbook.conditional import Conditional
from ansible.playbook.loop_control import LoopControl
from ansible.playbook.role import Role
from ansible.playbook.taggable import Taggable
try:
from __main__ import display
except ImportError:
from ansible.utils.display import Display
display = Display()
__all__ = ['Task']
class Task(Base, Conditional, Taggable, Become):
"""
A task is a language feature that represents a call to a module, with given arguments and other parameters.
A handler is a subclass of a task.
Usage:
Task.load(datastructure) -> Task
Task.something(...)
"""
# =================================================================================
# ATTRIBUTES
# load_<attribute_name> and
# validate_<attribute_name>
# will be used if defined
# might be possible to define others
_args = FieldAttribute(isa='dict', default=dict())
_action = FieldAttribute(isa='string')
_async = FieldAttribute(isa='int', default=0)
_changed_when = FieldAttribute(isa='list', default=[])
_delay = FieldAttribute(isa='int', default=5)
_delegate_to = FieldAttribute(isa='string')
_delegate_facts = FieldAttribute(isa='bool', default=False)
_failed_when = FieldAttribute(isa='list', default=[])
_loop = FieldAttribute(isa='string', private=True, inherit=False)
_loop_args = FieldAttribute(isa='list', private=True, inherit=False)
_loop_control = FieldAttribute(isa='class', class_type=LoopControl, inherit=False)
_name = FieldAttribute(isa='string', default='')
_notify = FieldAttribute(isa='list')
_poll = FieldAttribute(isa='int', default=10)
_register = FieldAttribute(isa='string')
_retries = FieldAttribute(isa='int')
_until = FieldAttribute(isa='list', default=[])
def __init__(self, block=None, role=None, task_include=None):
''' constructors a task, without the Task.load classmethod, it will be pretty blank '''
self._role = role
self._parent = None
if task_include:
self._parent = task_include
else:
self._parent = block
super(Task, self).__init__()
def get_path(self):
''' return the absolute path of the task with its line number '''
path = ""
if hasattr(self, '_ds') and hasattr(self._ds, '_data_source') and hasattr(self._ds, '_line_number'):
path = "%s:%s" % (self._ds._data_source, self._ds._line_number)
return path
def get_name(self):
''' return the name of the task '''
if self._role and self.name and ("%s : " % self._role._role_name) not in self.name:
return "%s : %s" % (self._role.get_name(), self.name)
elif self.name:
return self.name
else:
if self._role:
return "%s : %s" % (self._role.get_name(), self.action)
else:
return "%s" % (self.action,)
@staticmethod
def __repr__(self):
''' returns a human readable representation of the task '''
if self.get_name() == 'meta':
return "TASK: meta (%s)" % self.args['_raw_params']
else:
return "TASK: %s" % self.get_name()
def _preprocess_loop(self, ds, new_ds, k, v):
''' take a lookup plugin name and store it correctly '''
loop_name = k.replace("with_", "")
if new_ds.get('loop') is not None:
raise AnsibleError("duplicate loop in task: %s" % loop_name, obj=ds)
if v is None:
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
new_ds['loop'] = loop_name
new_ds['loop_args'] = v
def preprocess_data(self, ds):
'''
tasks are especially complex arguments so need pre-processing.
keep it short.
'''
assert isinstance(ds, dict)
# the new, cleaned datastructure, which will have legacy
# items reduced to a standard structure suitable for the
# attributes of the task class
new_ds = AnsibleMapping()
if isinstance(ds, AnsibleBaseYAMLObject):
new_ds.ansible_pos = ds.ansible_pos
# use the args parsing class to determine the action, args,
# and the delegate_to value from the various possible forms
# supported as legacy
args_parser = ModuleArgsParser(task_ds=ds)
try:
(action, args, delegate_to) = args_parser.parse()
except AnsibleParserError as e:
raise AnsibleParserError(to_native(e), obj=ds)
# the command/shell/script modules used to support the `cmd` arg,
# which corresponds to what we now call _raw_params, so move that
# value over to _raw_params (assuming it is empty)
if action in ('command', 'shell', 'script'):
if 'cmd' in args:
if args.get('_raw_params', '') != '':
raise AnsibleError("The 'cmd' argument cannot be used when other raw parameters are specified."
" Please put everything in one or the other place.", obj=ds)
args['_raw_params'] = args.pop('cmd')
new_ds['action'] = action
new_ds['args'] = args
new_ds['delegate_to'] = delegate_to
# we handle any 'vars' specified in the ds here, as we may
# be adding things to them below (special handling for includes).
# When that deprecated feature is removed, this can be too.
if 'vars' in ds:
# _load_vars is defined in Base, and is used to load a dictionary
# or list of dictionaries in a standard way
new_ds['vars'] = self._load_vars(None, ds.get('vars'))
else:
new_ds['vars'] = dict()
for (k,v) in iteritems(ds):
if k in ('action', 'local_action', 'args', 'delegate_to') or k == action or k == 'shell':
# we don't want to re-assign these values, which were
# determined by the ModuleArgsParser() above
continue
elif k.replace("with_", "") in lookup_loader:
self._preprocess_loop(ds, new_ds, k, v)
else:
# pre-2.0 syntax allowed variables for include statements at the
# top level of the task, so we move those into the 'vars' dictionary
# here, and show a deprecation message as we will remove this at
# some point in the future.
if action == 'include' and k not in self._valid_attrs and k not in self.DEPRECATED_ATTRIBUTES:
display.deprecated("Specifying include variables at the top-level of the task is deprecated."
" Please see:\nhttp://docs.ansible.com/ansible/playbooks_roles.html#task-include-files-and-encouraging-reuse\n\n"
" for currently supported syntax regarding included files and variables")
new_ds['vars'][k] = v
else:
new_ds[k] = v
return super(Task, self).preprocess_data(new_ds)
def post_validate(self, templar):
'''
Override of base class post_validate, to also do final validation on
the block and task include (if any) to which this task belongs.
'''
if self._parent:
self._parent.post_validate(templar)
super(Task, self).post_validate(templar)
def _post_validate_loop_args(self, attr, value, templar):
'''
Override post validation for the loop args field, which is templated
specially in the TaskExecutor class when evaluating loops.
'''
return value
def _post_validate_environment(self, attr, value, templar):
'''
Override post validation of vars on the play, as we don't want to
template these too early.
'''
if value is None:
return dict()
elif isinstance(value, list):
if len(value) == 1:
return templar.template(value[0], convert_bare=True)
else:
env = []
for env_item in value:
if isinstance(env_item, (string_types, AnsibleUnicode)) and env_item in templar._available_variables:
env[env_item] = templar.template(env_item, convert_bare=False)
elif isinstance(value, dict):
env = dict()
for env_item in value:
if isinstance(env_item, (string_types, AnsibleUnicode)) and env_item in templar._available_variables:
env[env_item] = templar.template(value[env_item], convert_bare=False)
# at this point it should be a simple string
return templar.template(value, convert_bare=True)
def _post_validate_changed_when(self, attr, value, templar):
'''
changed_when is evaluated after the execution of the task is complete,
and should not be templated during the regular post_validate step.
'''
return value
def _post_validate_failed_when(self, attr, value, templar):
'''
failed_when is evaluated after the execution of the task is complete,
and should not be templated during the regular post_validate step.
'''
return value
def _post_validate_until(self, attr, value, templar):
'''
until is evaluated after the execution of the task is complete,
and should not be templated during the regular post_validate step.
'''
return value
def set_loader(self, loader):
'''
Sets the loader on this object and recursively on parent, child objects.
This is used primarily after the Task has been serialized/deserialized, which
does not preserve the loader.
'''
self._loader = loader
if self._parent:
self._parent.set_loader(loader)
def _get_parent_attribute(self, attr, extend=False, prepend=False):
'''
Generic logic to get the attribute or parent attribute for a task value.
'''
value = None
try:
value = self._attributes[attr]
if self._parent and (value is None or extend):
parent_value = getattr(self._parent, attr, None)
if extend:
value = self._extend_value(value, parent_value, prepend)
else:
value = parent_value
except KeyError:
pass
return value
def _get_attr_environment(self):
'''
Override for the 'tags' getattr fetcher, used from Base.
'''
return self._get_parent_attribute('environment', extend=True)
def get_search_path(self):
'''
Return the list of paths you should search for files, in order.
This follows role/playbook dependency chain.
'''
path_stack = []
dep_chain = self.get_dep_chain()
# inside role: add the dependency chain from current to dependent
if dep_chain:
path_stack.extend(reversed([x._role_path for x in dep_chain]))
# add path of task itself, unless it is already in the list
task_dir = os.path.dirname(self.get_path())
if task_dir not in path_stack:
path_stack.append(task_dir)
return path_stack
| [
2,
357,
66,
8,
2321,
12,
4967,
11,
3899,
1024,
23303,
272,
1279,
76,
40302,
13,
2934,
3099,
272,
31,
14816,
13,
785,
29,
198,
2,
198,
2,
770,
2393,
318,
636,
286,
28038,
856,
198,
2,
198,
2,
28038,
856,
318,
1479,
3788,
25,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
340,
739,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
355,
3199,
416,
198,
2,
262,
3232,
10442,
5693,
11,
2035,
2196,
513,
286,
262,
13789,
11,
393,
198,
2,
357,
265,
534,
3038,
8,
597,
1568,
2196,
13,
198,
2,
198,
2,
28038,
856,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
22961,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
1863,
351,
28038,
856,
13,
220,
1002,
407,
11,
766,
1279,
4023,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
15913,
13,
198,
198,
2,
6889,
19617,
517,
21015,
18,
12,
680,
198,
6738,
11593,
37443,
834,
1330,
357,
48546,
62,
11748,
11,
7297,
11,
3601,
62,
8818,
8,
198,
834,
4164,
330,
31172,
834,
796,
2099,
198,
198,
11748,
28686,
198,
198,
6738,
9093,
856,
13,
5589,
265,
13,
19412,
1330,
11629,
23814,
11,
4731,
62,
19199,
198,
6738,
9093,
856,
13,
48277,
1330,
28038,
856,
12331,
11,
28038,
856,
46677,
12331,
198,
6738,
9093,
856,
13,
21412,
62,
26791,
13557,
5239,
1330,
284,
62,
30191,
198,
6738,
9093,
856,
13,
79,
945,
278,
13,
4666,
62,
22046,
1330,
19937,
42035,
46677,
198,
6738,
9093,
856,
13,
79,
945,
278,
13,
88,
43695,
13,
48205,
1330,
28038,
856,
14881,
56,
2390,
43,
10267,
11,
28038,
856,
44,
5912,
11,
28038,
856,
3118,
291,
1098,
198,
6738,
9093,
856,
13,
37390,
1330,
35847,
62,
29356,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
42348,
1330,
7663,
33682,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
8692,
1330,
7308,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
9423,
462,
1330,
31114,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
9967,
1330,
9726,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
17561,
1859,
1330,
9724,
1859,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
26268,
62,
13716,
1330,
26304,
15988,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
18090,
1330,
20934,
198,
6738,
9093,
856,
13,
1759,
2070,
13,
83,
9460,
540,
1330,
309,
9460,
540,
628,
198,
28311,
25,
198,
220,
220,
220,
422,
11593,
12417,
834,
1330,
3359,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
422,
9093,
856,
13,
26791,
13,
13812,
1330,
16531,
198,
220,
220,
220,
3359,
796,
16531,
3419,
198,
198,
834,
439,
834,
796,
37250,
25714,
20520,
628,
198,
4871,
15941,
7,
14881,
11,
9724,
1859,
11,
309,
9460,
540,
11,
31114,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
4876,
318,
257,
3303,
3895,
326,
6870,
257,
869,
284,
257,
8265,
11,
351,
1813,
7159,
290,
584,
10007,
13,
198,
220,
220,
220,
317,
21360,
318,
257,
47611,
286,
257,
4876,
13,
628,
220,
220,
220,
29566,
25,
628,
220,
220,
220,
220,
220,
220,
15941,
13,
2220,
7,
19608,
459,
5620,
8,
4613,
15941,
198,
220,
220,
220,
220,
220,
220,
15941,
13,
18927,
7,
23029,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
38093,
4770,
198,
220,
220,
220,
1303,
5161,
5446,
9865,
3843,
1546,
198,
220,
220,
220,
1303,
3440,
62,
27,
42348,
62,
3672,
29,
290,
198,
220,
220,
220,
1303,
26571,
62,
27,
42348,
62,
3672,
29,
198,
220,
220,
220,
1303,
481,
307,
973,
611,
5447,
198,
220,
220,
220,
1303,
1244,
307,
1744,
284,
8160,
1854,
628,
220,
220,
220,
4808,
22046,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
11600,
3256,
4277,
28,
11600,
28955,
198,
220,
220,
220,
4808,
2673,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
8841,
11537,
628,
220,
220,
220,
4808,
292,
13361,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
600,
3256,
4277,
28,
15,
8,
198,
220,
220,
220,
4808,
40985,
62,
12518,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4868,
3256,
4277,
41888,
12962,
198,
220,
220,
220,
4808,
40850,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
600,
3256,
4277,
28,
20,
8,
198,
220,
220,
220,
4808,
2934,
34637,
62,
1462,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
8841,
11537,
198,
220,
220,
220,
4808,
2934,
34637,
62,
37473,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
30388,
3256,
4277,
28,
25101,
8,
198,
220,
220,
220,
4808,
47904,
62,
12518,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4868,
3256,
4277,
41888,
12962,
198,
220,
220,
220,
4808,
26268,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
8841,
3256,
2839,
28,
17821,
11,
16955,
28,
25101,
8,
198,
220,
220,
220,
4808,
26268,
62,
22046,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4868,
3256,
2839,
28,
17821,
11,
16955,
28,
25101,
8,
198,
220,
220,
220,
4808,
26268,
62,
13716,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4871,
3256,
1398,
62,
4906,
28,
39516,
15988,
11,
16955,
28,
25101,
8,
198,
220,
220,
220,
4808,
3672,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
8841,
3256,
4277,
28,
7061,
8,
198,
220,
220,
220,
4808,
1662,
1958,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4868,
11537,
198,
220,
220,
220,
4808,
30393,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
600,
3256,
4277,
28,
940,
8,
198,
220,
220,
220,
4808,
30238,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
8841,
11537,
198,
220,
220,
220,
4808,
1186,
1678,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
600,
11537,
198,
220,
220,
220,
4808,
28446,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7663,
33682,
7,
9160,
11639,
4868,
3256,
4277,
41888,
12962,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2512,
28,
14202,
11,
2597,
28,
14202,
11,
4876,
62,
17256,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
5678,
669,
257,
4876,
11,
1231,
262,
15941,
13,
2220,
1398,
24396,
11,
340,
481,
307,
2495,
9178,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
18090,
220,
220,
796,
2597,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8000,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
611,
4876,
62,
17256,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8000,
796,
4876,
62,
17256,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8000,
796,
2512,
628,
220,
220,
220,
220,
220,
220,
220,
2208,
7,
25714,
11,
2116,
737,
834,
15003,
834,
3419,
628,
220,
220,
220,
825,
651,
62,
6978,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1441,
262,
4112,
3108,
286,
262,
4876,
351,
663,
1627,
1271,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
944,
11,
705,
62,
9310,
11537,
290,
468,
35226,
7,
944,
13557,
9310,
11,
705,
62,
7890,
62,
10459,
11537,
290,
468,
35226,
7,
944,
13557,
9310,
11,
705,
62,
1370,
62,
17618,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
36521,
82,
25,
4,
82,
1,
4064,
357,
944,
13557,
9310,
13557,
7890,
62,
10459,
11,
2116,
13557,
9310,
13557,
1370,
62,
17618,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3108,
628,
220,
220,
220,
825,
651,
62,
3672,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1441,
262,
1438,
286,
262,
4876,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
18090,
290,
2116,
13,
3672,
290,
5855,
4,
82,
1058,
366,
4064,
2116,
13557,
18090,
13557,
18090,
62,
3672,
8,
407,
287,
2116,
13,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
36521,
82,
1058,
4064,
82,
1,
4064,
357,
944,
13557,
18090,
13,
1136,
62,
3672,
22784,
2116,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
18090,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
36521,
82,
1058,
4064,
82,
1,
4064,
357,
944,
13557,
18090,
13,
1136,
62,
3672,
22784,
2116,
13,
2673,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
36521,
82,
1,
4064,
357,
944,
13,
2673,
35751,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
825,
11593,
260,
1050,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
5860,
257,
1692,
31744,
10552,
286,
262,
4876,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1136,
62,
3672,
3419,
6624,
705,
28961,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
366,
51,
1921,
42,
25,
13634,
37633,
82,
16725,
4064,
2116,
13,
22046,
17816,
62,
1831,
62,
37266,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
366,
51,
1921,
42,
25,
4064,
82,
1,
4064,
2116,
13,
1136,
62,
3672,
3419,
628,
220,
220,
220,
825,
4808,
3866,
14681,
62,
26268,
7,
944,
11,
288,
82,
11,
649,
62,
9310,
11,
479,
11,
410,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1011,
257,
35847,
13877,
1438,
290,
3650,
340,
9380,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
9052,
62,
3672,
796,
479,
13,
33491,
7203,
4480,
62,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
9310,
13,
1136,
10786,
26268,
11537,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
28038,
856,
12331,
7203,
646,
489,
5344,
9052,
287,
4876,
25,
4064,
82,
1,
4064,
9052,
62,
3672,
11,
26181,
28,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
410,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
28038,
856,
12331,
7203,
5832,
1276,
11986,
257,
1988,
618,
1262,
4064,
82,
1,
4064,
479,
11,
26181,
28,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
26268,
20520,
796,
9052,
62,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
26268,
62,
22046,
20520,
796,
410,
628,
220,
220,
220,
825,
662,
14681,
62,
7890,
7,
944,
11,
288,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
8861,
389,
2592,
3716,
7159,
523,
761,
662,
12,
36948,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1394,
340,
1790,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
318,
39098,
7,
9310,
11,
8633,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
649,
11,
20750,
4818,
459,
5620,
11,
543,
481,
423,
10655,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3709,
5322,
284,
257,
3210,
4645,
11080,
329,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12608,
286,
262,
4876,
1398,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
796,
28038,
856,
44,
5912,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
9310,
11,
28038,
856,
14881,
56,
2390,
43,
10267,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
13,
504,
856,
62,
1930,
796,
288,
82,
13,
504,
856,
62,
1930,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
779,
262,
26498,
32096,
1398,
284,
5004,
262,
2223,
11,
26498,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
290,
262,
23191,
62,
1462,
1988,
422,
262,
2972,
1744,
5107,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4855,
355,
10655,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
62,
48610,
796,
19937,
42035,
46677,
7,
35943,
62,
9310,
28,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
2673,
11,
26498,
11,
23191,
62,
1462,
8,
796,
26498,
62,
48610,
13,
29572,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
28038,
856,
46677,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
28038,
856,
46677,
12331,
7,
1462,
62,
30191,
7,
68,
828,
26181,
28,
9310,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
3141,
14,
29149,
14,
12048,
13103,
973,
284,
1104,
262,
4600,
28758,
63,
1822,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
543,
24866,
284,
644,
356,
783,
869,
4808,
1831,
62,
37266,
11,
523,
1445,
326,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1988,
625,
284,
4808,
1831,
62,
37266,
357,
32935,
340,
318,
6565,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2223,
287,
19203,
21812,
3256,
705,
29149,
3256,
705,
12048,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
28758,
6,
287,
26498,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
26498,
13,
1136,
10786,
62,
1831,
62,
37266,
3256,
10148,
8,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
28038,
856,
12331,
7203,
464,
705,
28758,
6,
4578,
2314,
307,
973,
618,
584,
8246,
10007,
389,
7368,
526,
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,
366,
4222,
1234,
2279,
287,
530,
393,
262,
584,
1295,
33283,
26181,
28,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
17816,
62,
1831,
62,
37266,
20520,
796,
26498,
13,
12924,
10786,
28758,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
2673,
20520,
220,
220,
220,
220,
220,
796,
2223,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
22046,
20520,
220,
220,
220,
220,
220,
220,
220,
796,
26498,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
2934,
34637,
62,
1462,
20520,
796,
23191,
62,
1462,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
5412,
597,
705,
85,
945,
6,
7368,
287,
262,
288,
82,
994,
11,
355,
356,
743,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
4375,
1243,
284,
606,
2174,
357,
20887,
9041,
329,
3407,
737,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1649,
326,
39224,
3895,
318,
4615,
11,
428,
460,
307,
1165,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
85,
945,
6,
287,
288,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4808,
2220,
62,
85,
945,
318,
5447,
287,
7308,
11,
290,
318,
973,
284,
3440,
257,
22155,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
393,
1351,
286,
48589,
3166,
287,
257,
3210,
835,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
85,
945,
20520,
796,
2116,
13557,
2220,
62,
85,
945,
7,
14202,
11,
288,
82,
13,
1136,
10786,
85,
945,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
85,
945,
20520,
796,
8633,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
74,
11,
85,
8,
287,
11629,
23814,
7,
9310,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
287,
19203,
2673,
3256,
705,
12001,
62,
2673,
3256,
705,
22046,
3256,
705,
2934,
34637,
62,
1462,
11537,
393,
479,
6624,
2223,
393,
479,
6624,
705,
29149,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
836,
470,
765,
284,
302,
12,
562,
570,
777,
3815,
11,
543,
547,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5295,
416,
262,
19937,
42035,
46677,
3419,
2029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
479,
13,
33491,
7203,
4480,
62,
1600,
366,
4943,
287,
35847,
62,
29356,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
3866,
14681,
62,
26268,
7,
9310,
11,
649,
62,
9310,
11,
479,
11,
410,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
662,
12,
17,
13,
15,
15582,
3142,
9633,
329,
2291,
6299,
379,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1353,
1241,
286,
262,
4876,
11,
523,
356,
1445,
883,
656,
262,
705,
85,
945,
6,
22155,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
994,
11,
290,
905,
257,
1207,
8344,
341,
3275,
355,
356,
481,
4781,
428,
379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
617,
966,
287,
262,
2003,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2223,
6624,
705,
17256,
6,
290,
479,
407,
287,
2116,
13557,
12102,
62,
1078,
3808,
290,
479,
407,
287,
2116,
13,
46162,
38827,
11617,
62,
1404,
5446,
9865,
3843,
1546,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3359,
13,
10378,
31023,
7203,
22882,
4035,
2291,
9633,
379,
262,
1353,
12,
5715,
286,
262,
4876,
318,
39224,
526,
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,
366,
4222,
766,
7479,
77,
4023,
1378,
31628,
13,
504,
856,
13,
785,
14,
504,
856,
14,
1759,
12106,
62,
305,
829,
13,
6494,
2,
35943,
12,
17256,
12,
16624,
12,
392,
12,
12685,
454,
3039,
12,
260,
1904,
59,
77,
59,
77,
1,
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,
366,
329,
3058,
4855,
15582,
5115,
3017,
3696,
290,
9633,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
17816,
85,
945,
6,
7131,
74,
60,
796,
410,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
9310,
58,
74,
60,
796,
410,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2208,
7,
25714,
11,
2116,
737,
3866,
14681,
62,
7890,
7,
3605,
62,
9310,
8,
628,
220,
220,
220,
825,
1281,
62,
12102,
378,
7,
944,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3827,
13154,
286,
2779,
1398,
1281,
62,
12102,
378,
11,
284,
635,
466,
2457,
21201,
319,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2512,
290,
4876,
2291,
357,
361,
597,
8,
284,
543,
428,
4876,
14448,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
8000,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8000,
13,
7353,
62,
12102,
378,
7,
11498,
489,
283,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2208,
7,
25714,
11,
2116,
737,
7353,
62,
12102,
378,
7,
11498,
489,
283,
8,
628,
220,
220,
220,
825,
4808,
7353,
62,
12102,
378,
62,
26268,
62,
22046,
7,
944,
11,
708,
81,
11,
1988,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3827,
13154,
1281,
21201,
329,
262,
9052,
26498,
2214,
11,
543,
318,
2169,
489,
515,
198,
220,
220,
220,
220,
220,
220,
220,
20905,
287,
262,
15941,
23002,
38409,
1398,
618,
22232,
23607,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
4808,
7353,
62,
12102,
378,
62,
38986,
7,
944,
11,
708,
81,
11,
1988,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3827,
13154,
1281,
21201,
286,
410,
945,
319,
262,
711,
11,
355,
356,
836,
470,
765,
284,
198,
220,
220,
220,
220,
220,
220,
220,
11055,
777,
1165,
1903,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1988,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
318,
39098,
7,
8367,
11,
1351,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
8367,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2169,
489,
283,
13,
28243,
7,
8367,
58,
15,
4357,
10385,
62,
49382,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
17365,
62,
9186,
287,
1988,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
24330,
62,
9186,
11,
357,
8841,
62,
19199,
11,
28038,
856,
3118,
291,
1098,
4008,
290,
17365,
62,
9186,
287,
2169,
489,
283,
13557,
15182,
62,
25641,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
58,
24330,
62,
9186,
60,
796,
2169,
489,
283,
13,
28243,
7,
24330,
62,
9186,
11,
10385,
62,
49382,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
318,
39098,
7,
8367,
11,
8633,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
8633,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
17365,
62,
9186,
287,
1988,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
24330,
62,
9186,
11,
357,
8841,
62,
19199,
11,
28038,
856,
3118,
291,
1098,
4008,
290,
17365,
62,
9186,
287,
2169,
489,
283,
13557,
15182,
62,
25641,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
58,
24330,
62,
9186,
60,
796,
2169,
489,
283,
13,
28243,
7,
8367,
58,
24330,
62,
9186,
4357,
10385,
62,
49382,
28,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
379,
428,
966,
340,
815,
307,
257,
2829,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2169,
489,
283,
13,
28243,
7,
8367,
11,
10385,
62,
49382,
28,
17821,
8,
628,
220,
220,
220,
825,
4808,
7353,
62,
12102,
378,
62,
40985,
62,
12518,
7,
944,
11,
708,
81,
11,
1988,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3421,
62,
12518,
318,
16726,
706,
262,
9706,
286,
262,
4876,
318,
1844,
11,
198,
220,
220,
220,
220,
220,
220,
220,
290,
815,
407,
307,
2169,
489,
515,
1141,
262,
3218,
1281,
62,
12102,
378,
2239,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
4808,
7353,
62,
12102,
378,
62,
47904,
62,
12518,
7,
944,
11,
708,
81,
11,
1988,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
4054,
62,
12518,
318,
16726,
706,
262,
9706,
286,
262,
4876,
318,
1844,
11,
198,
220,
220,
220,
220,
220,
220,
220,
290,
815,
407,
307,
2169,
489,
515,
1141,
262,
3218,
1281,
62,
12102,
378,
2239,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
4808,
7353,
62,
12102,
378,
62,
28446,
7,
944,
11,
708,
81,
11,
1988,
11,
2169,
489,
283,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1566,
318,
16726,
706,
262,
9706,
286,
262,
4876,
318,
1844,
11,
198,
220,
220,
220,
220,
220,
220,
220,
290,
815,
407,
307,
2169,
489,
515,
1141,
262,
3218,
1281,
62,
12102,
378,
2239,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
900,
62,
29356,
7,
944,
11,
40213,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
40213,
319,
428,
2134,
290,
664,
1834,
2280,
319,
2560,
11,
1200,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
770,
318,
973,
7525,
706,
262,
15941,
468,
587,
11389,
1143,
14,
8906,
48499,
1143,
11,
543,
198,
220,
220,
220,
220,
220,
220,
220,
857,
407,
12201,
262,
40213,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
29356,
796,
40213,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
8000,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
8000,
13,
2617,
62,
29356,
7,
29356,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
8000,
62,
42348,
7,
944,
11,
708,
81,
11,
9117,
28,
25101,
11,
3143,
437,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
42044,
9156,
284,
651,
262,
11688,
393,
2560,
11688,
329,
257,
4876,
1988,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13557,
1078,
7657,
58,
35226,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
8000,
290,
357,
8367,
318,
6045,
393,
9117,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
8367,
796,
651,
35226,
7,
944,
13557,
8000,
11,
708,
81,
11,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
9117,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13557,
2302,
437,
62,
8367,
7,
8367,
11,
2560,
62,
8367,
11,
3143,
437,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2560,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
4808,
1136,
62,
35226,
62,
38986,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3827,
13154,
329,
262,
705,
31499,
6,
651,
35226,
11351,
2044,
11,
973,
422,
7308,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
8000,
62,
42348,
10786,
38986,
3256,
9117,
28,
17821,
8,
628,
220,
220,
220,
825,
651,
62,
12947,
62,
6978,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
262,
1351,
286,
13532,
345,
815,
2989,
329,
3696,
11,
287,
1502,
13,
198,
220,
220,
220,
220,
220,
220,
220,
770,
5679,
2597,
14,
1759,
2070,
20203,
6333,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
25558,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
1207,
62,
7983,
796,
2116,
13,
1136,
62,
10378,
62,
7983,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2641,
2597,
25,
751,
262,
20203,
6333,
422,
1459,
284,
10795,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1207,
62,
7983,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
25558,
13,
2302,
437,
7,
260,
690,
276,
26933,
87,
13557,
18090,
62,
6978,
329,
2124,
287,
1207,
62,
7983,
60,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
3108,
286,
4876,
2346,
11,
4556,
340,
318,
1541,
287,
262,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
4876,
62,
15908,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
944,
13,
1136,
62,
6978,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4876,
62,
15908,
407,
287,
3108,
62,
25558,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
25558,
13,
33295,
7,
35943,
62,
15908,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
3108,
62,
25558,
198
] | 2.398416 | 5,429 |
''' Module to define the Cover object used
in budgeted max cover solver
'''
class Cover:
'''
Boiled down representation of a stamp page consists
of only the cover of elements along with the cost and id.
All elements are considered to have equal weight.
Attributes:
* cover : a list of size number_of_elements
consist of 1's and 0's . 1 is present in the
ith index if the ith summary sentence is well
described by the stamp page's descriptor
0 otherwise.
* cost : a cost assigned for the stamp page
depends on the type of stamp page. Higher
the visual content lower is the cost of the
stamp page. cost could also be considered
as penalty
* number_of_elements : is the number of summary
sentences the cover is over
* id : index or ordinal of the stamp page.
will be used for ordering
'''
| [
7061,
6,
19937,
284,
8160,
262,
17546,
2134,
973,
198,
259,
4466,
276,
3509,
3002,
1540,
332,
198,
7061,
6,
628,
198,
4871,
17546,
25,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
3248,
3902,
866,
10552,
286,
257,
17977,
2443,
10874,
198,
220,
220,
220,
286,
691,
262,
3002,
286,
4847,
1863,
351,
262,
1575,
290,
4686,
13,
628,
220,
220,
220,
1439,
4847,
389,
3177,
284,
423,
4961,
3463,
13,
198,
220,
220,
220,
49213,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1635,
3002,
1058,
257,
1351,
286,
2546,
1271,
62,
1659,
62,
68,
3639,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3473,
286,
352,
338,
290,
657,
338,
764,
352,
318,
1944,
287,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
340,
71,
6376,
611,
262,
340,
71,
10638,
6827,
318,
880,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3417,
416,
262,
17977,
2443,
338,
43087,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
4306,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1635,
1575,
1058,
257,
1575,
8686,
329,
262,
17977,
2443,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8338,
319,
262,
2099,
286,
17977,
2443,
13,
16038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
5874,
2695,
2793,
318,
262,
1575,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17977,
2443,
13,
1575,
714,
635,
307,
3177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
355,
7389,
628,
220,
220,
220,
220,
220,
220,
220,
1635,
1271,
62,
1659,
62,
68,
3639,
1058,
318,
262,
1271,
286,
10638,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13439,
262,
3002,
318,
625,
628,
220,
220,
220,
220,
220,
220,
220,
1635,
4686,
1058,
6376,
393,
2760,
1292,
286,
262,
17977,
2443,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
481,
307,
973,
329,
16216,
198,
220,
220,
220,
705,
7061,
198
] | 2.696379 | 359 |
import contextlib
import logging
import uuid
import six
from google.cloud import storage, exceptions
name = 'substream.tempbucket'
class TemporaryBucket(contextlib.AbstractContextManager):
"""Functions much like tempfile.TemporaryDirectory() context manager, only
it returns a google.storage.Bucket instead of a directory name."""
logger = logging.getLogger(__name__ + ':TemporaryBucket')
bucket = None
| [
11748,
4732,
8019,
198,
11748,
18931,
198,
11748,
334,
27112,
198,
198,
11748,
2237,
198,
6738,
23645,
13,
17721,
1330,
6143,
11,
13269,
198,
198,
3672,
796,
705,
7266,
5532,
13,
29510,
27041,
316,
6,
628,
198,
4871,
46042,
33,
38811,
7,
22866,
8019,
13,
23839,
21947,
13511,
2599,
198,
220,
220,
220,
37227,
24629,
2733,
881,
588,
20218,
7753,
13,
12966,
5551,
43055,
3419,
4732,
4706,
11,
691,
198,
220,
220,
220,
340,
5860,
257,
23645,
13,
35350,
13,
33,
38811,
2427,
286,
257,
8619,
1438,
526,
15931,
628,
220,
220,
220,
49706,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
1343,
705,
25,
12966,
5551,
33,
38811,
11537,
198,
220,
220,
220,
19236,
796,
6045,
198
] | 3.533333 | 120 |
import numpy as np
import math,librosa
import sys
y, sr = librosa.load(sys.argv[1], sr=16000)
frame_size = 256
frmae_shift = 128
mfccs = librosa.feature.mfcc(y, sr, n_mfcc=12, hop_length=frmae_shift, n_fft=frame_size)
print(mfccs)
| [
171,
119,
123,
11748,
299,
32152,
355,
45941,
198,
11748,
10688,
11,
8019,
4951,
64,
198,
11748,
25064,
628,
198,
88,
11,
19677,
796,
9195,
4951,
64,
13,
2220,
7,
17597,
13,
853,
85,
58,
16,
4357,
19677,
28,
1433,
830,
8,
198,
14535,
62,
7857,
796,
17759,
198,
8310,
2611,
68,
62,
30846,
796,
13108,
198,
76,
69,
535,
82,
796,
9195,
4951,
64,
13,
30053,
13,
76,
69,
535,
7,
88,
11,
19677,
11,
299,
62,
76,
69,
535,
28,
1065,
11,
1725,
62,
13664,
28,
8310,
2611,
68,
62,
30846,
11,
299,
62,
487,
83,
28,
14535,
62,
7857,
8,
198,
4798,
7,
76,
69,
535,
82,
8,
198
] | 2.089286 | 112 |
from flask_wtf import FlaskForm, RecaptchaField
from flask_wtf.file import FileField, FileAllowed
from wtforms import StringField, PasswordField, SubmitField, BooleanField, RadioField, IntegerField, SelectField
from wtforms.fields.html5 import DateField
from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError
from flask_login import current_user
from app.models import User
from .. import db, bcrypt
| [
6738,
42903,
62,
86,
27110,
1330,
46947,
8479,
11,
3311,
2373,
11693,
15878,
198,
6738,
42903,
62,
86,
27110,
13,
7753,
1330,
9220,
15878,
11,
9220,
3237,
6972,
198,
6738,
266,
83,
23914,
1330,
10903,
15878,
11,
30275,
15878,
11,
39900,
15878,
11,
41146,
15878,
11,
8829,
15878,
11,
34142,
15878,
11,
9683,
15878,
198,
6738,
266,
83,
23914,
13,
25747,
13,
6494,
20,
1330,
7536,
15878,
198,
6738,
266,
83,
23914,
13,
12102,
2024,
1330,
6060,
37374,
11,
22313,
11,
9570,
11,
28701,
2514,
11,
3254,
24765,
12331,
198,
6738,
42903,
62,
38235,
1330,
1459,
62,
7220,
198,
6738,
598,
13,
27530,
1330,
11787,
198,
6738,
11485,
1330,
20613,
11,
275,
29609,
628,
628,
628
] | 3.75 | 116 |
from discord.ext import commands
import discord
import pymongo
import json
import asyncio
with open('cogs/dbCred.json') as json_file:
db_cred = json.load(json_file)
myClient = pymongo.MongoClient(db_cred['client'])
myDB = myClient[db_cred['db_name']]
col_botinfo = myDB['botinfo']
col_serverinfo = myDB['serverinfo']
col_greeting_msg = myDB['greeting_msg']
| [
6738,
36446,
13,
2302,
1330,
9729,
198,
11748,
36446,
198,
11748,
279,
4948,
25162,
198,
11748,
33918,
198,
11748,
30351,
952,
198,
198,
4480,
1280,
10786,
66,
18463,
14,
9945,
34,
445,
13,
17752,
11537,
355,
33918,
62,
7753,
25,
198,
220,
220,
220,
20613,
62,
66,
445,
796,
33918,
13,
2220,
7,
17752,
62,
7753,
8,
198,
198,
1820,
11792,
796,
279,
4948,
25162,
13,
44,
25162,
11792,
7,
9945,
62,
66,
445,
17816,
16366,
6,
12962,
198,
1820,
11012,
796,
616,
11792,
58,
9945,
62,
66,
445,
17816,
9945,
62,
3672,
6,
11907,
198,
4033,
62,
13645,
10951,
796,
616,
11012,
17816,
13645,
10951,
20520,
198,
4033,
62,
15388,
10951,
796,
616,
11012,
17816,
15388,
10951,
20520,
198,
4033,
62,
70,
2871,
278,
62,
19662,
796,
616,
11012,
17816,
70,
2871,
278,
62,
19662,
20520,
628,
198
] | 2.625899 | 139 |
# -------------------------------------
# RabbitMQClient Errors
# -------------------------------------
# -------------------------------------
# PikaClientWrapper Errors
# -------------------------------------
| [
2,
20368,
30934,
198,
2,
25498,
49215,
11792,
44225,
198,
2,
20368,
30934,
628,
198,
2,
20368,
30934,
198,
2,
350,
9232,
11792,
36918,
2848,
44225,
198,
2,
20368,
30934,
628,
198
] | 6.71875 | 32 |
from PyQt5 import QtCore, QtGui
import numpy as np
from typing import List
| [
6738,
9485,
48,
83,
20,
1330,
33734,
14055,
11,
33734,
8205,
72,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
19720,
1330,
7343,
198
] | 3.125 | 24 |
# -*- coding: utf-8 -*-
import CoolProp | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
15226,
24331
] | 2.222222 | 18 |
# cSpell:words stdev
import multiprocessing.pool
import os
from statistics import mean, stdev
from typing import Any, NamedTuple
from cec2017.functions import f4
from evolution import Evolution
ROUNDS_OF_ALGO = 50
INITIAL_POINT_BOUND = 100
SEPARATOR = os.getenv("SEP", "\t")
if __name__ == "__main__":
main()
| [
2,
269,
31221,
25,
10879,
336,
7959,
198,
198,
11748,
18540,
305,
919,
278,
13,
7742,
198,
11748,
28686,
198,
6738,
7869,
1330,
1612,
11,
336,
7959,
198,
6738,
19720,
1330,
4377,
11,
34441,
51,
29291,
198,
198,
6738,
269,
721,
5539,
13,
12543,
2733,
1330,
277,
19,
198,
6738,
6954,
1330,
15815,
198,
198,
49,
19385,
5258,
62,
19238,
62,
1847,
11230,
796,
2026,
198,
1268,
2043,
12576,
62,
16402,
12394,
62,
33,
15919,
796,
1802,
198,
5188,
27082,
25633,
796,
28686,
13,
1136,
24330,
7203,
5188,
47,
1600,
37082,
83,
4943,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 2.815789 | 114 |
from styx_msgs.msg import TrafficLight
| [
6738,
8944,
87,
62,
907,
14542,
13,
19662,
1330,
23624,
15047,
198
] | 3.25 | 12 |
# -*- coding: utf-8 -*-
# Copyright (c) 2017 Ericsson AB
#
# 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 calvin.runtime.south.calvinsys.ui.uicalvinsys as ui
from calvin.runtime.south.calvinsys import base_calvinsys_object
class PollingSensor(base_calvinsys_object.BaseCalvinsysObject):
"""
PollingSensor - Virtual polling sensor device.
"""
init_schema = {
"type": "object",
"properties": {
"ui_def": {
"description": "Visual appearance",
"type": "object",
}
},
"description": "Initialize virtual device"
}
can_read_schema = {
"description": "Returns True if data can be read, otherwise False",
"type": "boolean"
}
read_schema = {
"description": "Get state",
}
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
2,
15069,
357,
66,
8,
2177,
7651,
16528,
9564,
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,
2386,
7114,
13,
43282,
13,
35782,
13,
9948,
85,
1040,
893,
13,
9019,
13,
84,
605,
85,
1040,
893,
355,
334,
72,
198,
6738,
2386,
7114,
13,
43282,
13,
35782,
13,
9948,
85,
1040,
893,
1330,
2779,
62,
9948,
85,
1040,
893,
62,
15252,
628,
198,
4871,
12868,
278,
47864,
7,
8692,
62,
9948,
85,
1040,
893,
62,
15252,
13,
14881,
9771,
85,
1040,
893,
10267,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12868,
278,
47864,
532,
15595,
13985,
12694,
3335,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2315,
62,
15952,
2611,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
15252,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
48310,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9019,
62,
4299,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1298,
366,
36259,
5585,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
15252,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1298,
366,
24243,
1096,
7166,
3335,
1,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
460,
62,
961,
62,
15952,
2611,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1298,
366,
35561,
6407,
611,
1366,
460,
307,
1100,
11,
4306,
10352,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2127,
21052,
1,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
1100,
62,
15952,
2611,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1298,
366,
3855,
1181,
1600,
198,
220,
220,
220,
1782,
628
] | 2.709016 | 488 |
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
x = np.linspace(-2,2,100)
y = np.linspace(-1,3,100)
#x,y = np.meshgrid(x,y)
f = (1.0-x)**2 + (100.0*((y-(x**2))**2))
# plt.figure()
# plt.plot(x,y,'ok')
# plt.show()
plt.figure()
plt.contourf(x,y,f,100)
plt.colorbar()
x,y = np.meshgrid(x,y)
f = (1.0-x)**2 + (100.0*((y-(x**2))**2))
plt.figure()
plt.contourf(x,y,f,100)
plt.colorbar()
plt.show()
#
# plt.figure()
# levels=[0, 1, 5, 10, 100, 500, 1000, 2000]
# plt.contourf(x,y,f,levels)
# plt.colorbar()
# plt.show()
#fig = plt.figure()
#ax = fig.add_subplot(111, projection='3d')
#ax.scatter(x,y, f, 'ob')
#ax.set( xlabel='X Label', ylabel ='Y Label', zlabel='Z Label')
#fig.show()
| [
11748,
299,
32152,
355,
45941,
201,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
201,
198,
6738,
285,
489,
62,
25981,
74,
896,
13,
76,
29487,
18,
67,
1330,
12176,
274,
18,
35,
201,
198,
87,
796,
45941,
13,
21602,
10223,
32590,
17,
11,
17,
11,
3064,
8,
201,
198,
88,
796,
45941,
13,
21602,
10223,
32590,
16,
11,
18,
11,
3064,
8,
201,
198,
2,
87,
11,
88,
796,
45941,
13,
76,
5069,
25928,
7,
87,
11,
88,
8,
201,
198,
69,
796,
357,
16,
13,
15,
12,
87,
8,
1174,
17,
1343,
357,
3064,
13,
15,
9,
19510,
88,
30420,
87,
1174,
17,
4008,
1174,
17,
4008,
201,
198,
2,
458,
83,
13,
26875,
3419,
201,
198,
2,
458,
83,
13,
29487,
7,
87,
11,
88,
4032,
482,
11537,
201,
198,
2,
458,
83,
13,
12860,
3419,
201,
198,
489,
83,
13,
26875,
3419,
201,
198,
489,
83,
13,
3642,
454,
69,
7,
87,
11,
88,
11,
69,
11,
3064,
8,
201,
198,
489,
83,
13,
8043,
5657,
3419,
201,
198,
201,
198,
87,
11,
88,
796,
45941,
13,
76,
5069,
25928,
7,
87,
11,
88,
8,
201,
198,
69,
796,
357,
16,
13,
15,
12,
87,
8,
1174,
17,
1343,
357,
3064,
13,
15,
9,
19510,
88,
30420,
87,
1174,
17,
4008,
1174,
17,
4008,
201,
198,
201,
198,
489,
83,
13,
26875,
3419,
201,
198,
489,
83,
13,
3642,
454,
69,
7,
87,
11,
88,
11,
69,
11,
3064,
8,
201,
198,
489,
83,
13,
8043,
5657,
3419,
201,
198,
489,
83,
13,
12860,
3419,
201,
198,
201,
198,
2,
220,
201,
198,
2,
458,
83,
13,
26875,
3419,
201,
198,
2,
2974,
41888,
15,
11,
352,
11,
642,
11,
838,
11,
1802,
11,
5323,
11,
8576,
11,
4751,
60,
201,
198,
2,
458,
83,
13,
3642,
454,
69,
7,
87,
11,
88,
11,
69,
11,
46170,
8,
201,
198,
2,
458,
83,
13,
8043,
5657,
3419,
201,
198,
2,
458,
83,
13,
12860,
3419,
201,
198,
201,
198,
2,
5647,
796,
458,
83,
13,
26875,
3419,
201,
198,
2,
897,
796,
2336,
13,
2860,
62,
7266,
29487,
7,
16243,
11,
20128,
11639,
18,
67,
11537,
201,
198,
2,
897,
13,
1416,
1436,
7,
87,
11,
88,
11,
277,
11,
705,
672,
11537,
201,
198,
2,
897,
13,
2617,
7,
2124,
18242,
11639,
55,
36052,
3256,
331,
18242,
796,
6,
56,
36052,
3256,
1976,
18242,
11639,
57,
36052,
11537,
201,
198,
2,
5647,
13,
12860,
3419,
201,
198
] | 1.836145 | 415 |
# -*- coding:utf-8 -*-
from tan import tancp_cli,tan_cli
| [
2,
532,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
6738,
25706,
1330,
256,
1192,
79,
62,
44506,
11,
38006,
62,
44506,
198
] | 2.192308 | 26 |
import fileinput
import os
from dotenv import load_dotenv
load_dotenv()
if __name__ == '__main__':
configure_gateway_container()
configure_proxy_st_container()
configure_satellite_container()
configure_terminal_container()
configure_ws_ovpn_container()
configure_ws_st_container()
configure_ws_gw_container() | [
11748,
2393,
15414,
198,
11748,
28686,
198,
6738,
16605,
24330,
1330,
3440,
62,
26518,
24330,
198,
2220,
62,
26518,
24330,
3419,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
17425,
62,
10494,
1014,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
36436,
62,
301,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
82,
26493,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
23705,
282,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
18504,
62,
709,
21999,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
18504,
62,
301,
62,
34924,
3419,
198,
220,
220,
220,
17425,
62,
18504,
62,
70,
86,
62,
34924,
3419
] | 2.905983 | 117 |
# coding: utf-8
import os
from werkzeug.wrappers import Request, Response
from werkzeug.utils import redirect
from werkzeug.exceptions import HTTPException, NotFound
from . import utils
class HTTPMethodOverrideMiddleware(object):
"""
使用中间件以接受标准 HTTP 方法
详见:https://gist.github.com/nervouna/47cf9b694842134c41f59d72bd18bd6c
"""
allowed_methods = frozenset(['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'])
bodyless_methods = frozenset(['GET', 'HEAD', 'DELETE', 'OPTIONS'])
class HttpsRedirectMiddleware(object):
"""
生产环境下始终用 HTTPS 安全协议传输
设置环境变量 ASM_APP_ENV='production' 时为生产环境
"""
| [
2,
19617,
25,
3384,
69,
12,
23,
198,
198,
11748,
28686,
198,
198,
6738,
266,
9587,
2736,
1018,
13,
29988,
11799,
1330,
19390,
11,
18261,
198,
6738,
266,
9587,
2736,
1018,
13,
26791,
1330,
18941,
198,
6738,
266,
9587,
2736,
1018,
13,
1069,
11755,
1330,
14626,
16922,
11,
1892,
21077,
198,
198,
6738,
764,
1330,
3384,
4487,
628,
198,
4871,
7154,
51,
5868,
316,
2065,
37961,
34621,
1574,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
45635,
18796,
101,
40792,
29785,
112,
20015,
114,
20015,
98,
162,
236,
98,
20998,
245,
43718,
229,
49035,
228,
14626,
10545,
244,
117,
37345,
243,
198,
220,
220,
220,
5525,
107,
99,
164,
100,
223,
171,
120,
248,
5450,
1378,
70,
396,
13,
12567,
13,
785,
14,
77,
712,
977,
64,
14,
2857,
12993,
24,
65,
3388,
2780,
3682,
19880,
66,
3901,
69,
3270,
67,
4761,
17457,
1507,
17457,
21,
66,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3142,
62,
24396,
82,
796,
8400,
8247,
316,
7,
17816,
18851,
3256,
705,
37682,
3256,
705,
32782,
3256,
705,
30076,
3256,
705,
7206,
2538,
9328,
3256,
705,
3185,
51,
11053,
6,
12962,
198,
220,
220,
220,
1767,
1203,
62,
24396,
82,
796,
8400,
8247,
316,
7,
17816,
18851,
3256,
705,
37682,
3256,
705,
7206,
2538,
9328,
3256,
705,
3185,
51,
11053,
6,
12962,
628,
198,
4871,
367,
926,
862,
7738,
1060,
34621,
1574,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13328,
242,
253,
12859,
100,
163,
236,
107,
161,
95,
225,
10310,
233,
34650,
233,
163,
119,
230,
18796,
101,
38288,
10263,
106,
231,
17739,
101,
39355,
237,
164,
106,
106,
27670,
254,
164,
122,
241,
198,
220,
220,
220,
5525,
106,
122,
163,
121,
106,
163,
236,
107,
161,
95,
225,
20998,
246,
34932,
237,
7054,
44,
62,
24805,
62,
1677,
53,
11639,
25493,
6,
10545,
245,
114,
10310,
118,
37955,
12859,
100,
163,
236,
107,
161,
95,
225,
198,
220,
220,
220,
37227,
628,
198
] | 1.894895 | 333 |
"""
Modulo contenente le route della dashboard amministratori.
Le route sono registrate nel Blueprint 'dash', con prefisso '/dashboard'.
"""
from datetime import datetime, date, timedelta
from flask import Blueprint, render_template, abort, request, current_app, flash, redirect, url_for
from sqlalchemy.sql import select, desc
from sqlalchemy.sql.expression import bindparam, func, case
from sqlalchemy.exc import IntegrityError, ProgrammingError
from werkzeug.security import generate_password_hash
from app.models.db import connect_as, Role, get_table_names, get_table_dictionary
from app.models.query import select_all
from app.models.db import (
user_table, movie_table, projection_table,
ticket_table, purchase_table, actor_movie_table,
genre_table, payment_method_table, cast_member_table
)
from app.views.auth import operator_required
bp = Blueprint('dash', __name__, url_prefix='/dashboard') # Blueprint per le route della dashboard amministratori
def is_recent(release_date):
"""Verifica se un film è recente, cioè pubblicato negli ultimi 9 mesi
Args:
release_date (Column - Datetime): la colonna rappresentante
la data di rilascio del film
Returns:
bool: True se il film è stato rilasciato negli ultimi 9 mesi, False altrimenti
"""
TIME_INTERVAL = 9 * 30 # 9 mesi
return release_date + timedelta(days = TIME_INTERVAL) >= func.current_date()
def prepare_tuple(table_name, new_tuple):
"""Prepara la tupla per essere inserita nella tabella 'table_name', oppure per utilizzare i
suoi campi come dati per aggiornare la tabella
La preparazione consiste nel trasformare le date, la password e i boolean
nella forma corretta per il database.
Args:
table_name (str): un nome di tabella valido
new_tuple (dict): dizionario rappresentante una tupla,
le chiavi devono avere gli stessi nomi degli
attributi della tabella nel database
Returns:
dict: dizionario con i campi preparati per essere inseriti nel database
"""
# trasforma dati provenienti da form che non sono nel formato corretto per il database
if table_name == user_table.name: # tabella User
if 'password' in new_tuple:
new_tuple['password'] = generate_password_hash(new_tuple['password'])
if 'birthdate' in new_tuple:
new_tuple['birthdate'] = datetime.strptime(new_tuple['birthdate'], '%Y-%m-%d').date()
new_tuple['isOperator'] = 'isOperator' in new_tuple
elif table_name == movie_table.name: # tabella Movie
new_tuple['releaseDate'] = datetime.strptime(new_tuple['releaseDate'], '%Y-%m-%d').date()
elif table_name == payment_method_table.name: # tabella PaymentMethod
new_tuple['expirationDate'] = datetime.strptime(new_tuple['expirationDate'], '%Y-%m-%d').date()
new_tuple['isOperator'] = 'isActive' in new_tuple
return new_tuple # restituisce la nuova preparata per il database
def try_execute(query):
"""Esegue la funzione 'query' gestendo le eccezioni IntegrityError e ProgrammingError
Args:
query: funzione che esegue una query
esempio: conn.execute(stmt)
Returns:
result_set (ResultProxy): le tuple risultanti
error (str): messaggio di errore in caso di errore, None altrimenti
"""
error = None
result_set = None
try:
result_set = query() # esegue la query e memorizza le tuple risultanti
except IntegrityError as e: # la query viola qualche vincolo di integrità
error = "Constraint violation"
except ProgrammingError as e:
error = "Permission denied" # l'utente ha un ruolo che non ha i permessi di eseguire la query
if error: # in caso di errore, loggalo
current_app.logger.info('Query failed: %s', error)
return result_set, error # restituisce tuple risultanti ed eventuale messaggio di errore
# lista di dizionari rappresentanti le fasce di età
AGE_GROUPS = [
{ 'name': '0-19', 'start': 0, 'end': 19 },
{ 'name': '20-29', 'start': 20, 'end': 29 },
{ 'name': '30-39', 'start': 30, 'end': 39 },
{ 'name': '40-49', 'start': 40, 'end': 49 },
{ 'name': '50-59', 'start': 50, 'end': 59 },
{ 'name': '60-69', 'start': 60, 'end': 69 },
{ 'name': '70-79', 'start': 70, 'end': 79 },
{ 'name': '80-99', 'start': 80, 'end': 99 }
]
def generate_additional_data(table_name):
"""Recupera dati utili per i form di inserimento/update
In particolare permette di passare ai form nelle pagine html le
informazioni di cui necessitano per mostare dei form user friendly.
Args:
table_name (str): il nome di una tabella del database
Returns:
additional_data (dict): dizionario contenete i dati addizionali
per la tabella di input
"""
additional_data = {}
if table_name == actor_movie_table.name: # tabella ActorMovie
additional_data['actors'] = select_all('CastMember') # elenco cast members
additional_data['movies'] = select_all('Movie') # elenco film
elif table_name == movie_table.name: # tabella Movie
additional_data['directors'] = select_all('CastMember') # elenco cast members
additional_data['genres'] = select_all('Genre') # elenco generi
additional_data['nations'] = select_all('Nation') # elenco nazioni
elif table_name == projection_table.name: # tabella Projection
additional_data['movies'] = select_all('Movie') # elenco film
additional_data['rooms'] = select_all('Room') # elenco sale
elif table_name == ticket_table.name: # tabella Ticket
additional_data['purchases'] = select_all('Purchase') # elenco acquisti
elif table_name == payment_method_table.name: # tabella PaymentMethod
additional_data['users'] = select_all('User') # elenco utenti
additional_data['payment_circuits'] = select_all('PaymentCircuit') # elenco circuiti di pagamento
elif table_name == purchase_table.name: # tabella Purchase
additional_data['users'] = select_all('User') # elenco utenti
additional_data['projections'] = select_all('Projection') # elenco proiezioni
additional_data['payment_methods'] = select_all('PaymentMethod') # elenco metodi di pagamento
return additional_data
@bp.route('/')
@operator_required
def dashboard():
"""Route che renderizza la dashboard
URL: /
La route accetta 1 metodo, GET.
GET: restituisce la pagina della dashboard
Returns:
str: html da renderizzare nel browser (dashboard)
"""
return render_template('dash/index.html') # renderizza homepage dashboard
@bp.route('/tables')
@operator_required
def table_selection():
"""Route che permette di scegliere una tabella tra la lista di tabelle disponibili
URL: /tables
La route accetta 1 metodo, GET.
GET: restituisce l'elenco delle tabelle disponibili
Returns:
str: html da renderizzare nel browser
"""
# preleva dai parametri della richiesta GET l'identificativo della pagina
# a cui redirezionare l'utente, una volta che ha scelto la tabella
# valori validi: insert, read (default)
next_ = request.args.get('next', 'read')
table_names = get_table_names() # elenco dei nomi delle tabelle del db
tables_to_hide = [] # elenco nomi tabelle da nascondere
if next_ == 'read': # pagina di read/update/delete
tables_to_hide.extend([ payment_method_table.name ]) # nascondi PaymentMethod
elif next_ == 'insert': # pagina di insert
tables_to_hide.extend([payment_method_table.name, # nascondi PaymentMethod
ticket_table.name, # nascondi Ticket
purchase_table.name, # nascondi Purchase
user_table.name]) # nascondi User
else: # pagina non riconosciuta
abort(404) # 404 NOT FOUND
# rimuove tabelle da nascondere
for table_name in tables_to_hide: # per ogni tabella tra quelle da nascondere
table_names.remove(table_name) # rimuovi tabella
# renderizza pagina di selezione tabelle, con le tabelle da mostrare
return render_template("dash/table_selection.html", next=next_, table_names=table_names)
@bp.route('/tables/<table_name>')
@operator_required
def view_table(table_name):
"""Route che permette di visualizzare, aggiornare e cancellare tuple dalla tabella selezionata
URL: /tables/<table_name>
La route accetta 1 metodo, GET.
GET: restituisce l'elenco delle tuple della tabella selezionata
Args:
table_name (str): nome della tabella del database da mostrare
Returns:
str: html da renderizzare nel browser
"""
if table_name not in get_table_names(): # se tabella non esiste
abort(404) # 404 NOT FOUND
# sistema di paginazione
size = request.args.get('size', 200, int) # numero di risultati per pagina
page = request.args.get('page', 1, int) # numero di pagina
if size <= 0: # dimensione pagina negativa o nulla
size = 1 # limita inferiormente dimensione pagina a 1
elif size > 500: # se dimensione pagina troppo grande
size = 500 # limita dimensione pagina a 500
if page <= 0: # numero di pagina negativo
abort(404) # 404 NOT FOUND
offset = (page-1) * size # calcola offset per query
error = None
with connect_as(Role.OPERATOR) as conn: # connessione al database come operator
table = get_table_dictionary()[table_name] # ricava l'oggetto Table di sqlalchemy
sel_stmt = select([table]).limit(size).offset(offset) # seleziona porzione di database scelta
result_set, error = try_execute(lambda: conn.execute(sel_stmt)) # esegue la query gestendo eventuali eccezioni
if error: # in caso di errore
return error # mostralo a schermo
column_names = [ col.name for col in table.columns ] # ricava i nomi delle colonne della tabella
primary_key_names = [ col.name for col in table.primary_key ] # nomi degli attributi che formano la PK
# notare che c'è un unico template html per tutte le tabelle
return render_template("dash/view_table.html", # renderizza tabella
table_name=table_name, # nome tabella
column_names=column_names, # nomi attributi
primary_key_names=primary_key_names, # nomi attributi PK
table_tuples=list(result_set), # lista delle tuple
page=page, # pagina corrente
size=size) # dimensione pagina corrente
@bp.route('tables/<table_name>/insert', methods=('GET', 'POST'))
@operator_required
def insert_data(table_name):
"""Route che gestisce l'inserimento dei dati nelle tabelle
URL: /tables/<table_name>/insert
La route accetta 2 metodi, GET e POST.
GET: restituisce il form di registrazione
POST: preleva i dati dal form di registrazione, li valida
e poi effettua l'inserimento del nuovo utente nel database
Returns:
str: html da renderizzare nel browser
"""
if table_name not in get_table_names(): # se tabella non esiste
abort(404) # 404 NOT FOUND
if request.method == 'POST': # POST -> form con dati da inserire
table = get_table_dictionary()[table_name] # ricava l'oggetto Table di sqlalchemy
column_names = [ col.name for col in table.columns ] # ricava i nomi delle colonne della tabella
# per ogni campo del form con nome uguale al nome di un attributo della tabella selezionata
# inserisce una entry nel dizionario (nome_attributo, valore_attributo)
# di fatto genera una tupla con gli attributi corretti per il database
new_tuple = { key: value for key, value in request.form.items() if key in column_names }
# corregge i campi che hanno un formato diverso da quello che il database si aspetta
new_tuple = prepare_tuple(table_name, new_tuple)
error = None
with connect_as(Role.OPERATOR) as conn: # connessione al database come operator
ins_stmt = table.insert() # crea la query di inserimento
# esegue la query gestendo eventuali eccezioni
_, error = try_execute(lambda: conn.execute(ins_stmt, [new_tuple]))
flash(error or 'Success', 'danger' if error else 'success')
return error or redirect(url_for('dash.insert_data', table_name=table_name))
else: # GET -> renderizza form
# genera dati addizionali utili per i form e renderizza il form corretto in base al nome della tabella
additional_data = generate_additional_data(table_name)
return render_template(f'dash/insert_update_forms/insert_{table_name}.html',
table_name=table_name, # nome della tabella
additional_data=additional_data) # dati addizionali
@bp.route('tables/<table_name>/update', methods=('GET', 'POST'))
@operator_required
def update_data(table_name):
"""Route che gestisce la fase di update
URL: /tables/<table_name>/update
La route accetta 2 metodi, GET e POST.
GET: restituisce il form per l'update
POST: preleva i dati dal form di update, e poi effettua
l'update dei dati nel database
Returns:
str: html da renderizzare nel browser
"""
if table_name not in get_table_names(): # se tabella non esiste
abort(404) # 404 NOT FOUND
table = get_table_dictionary()[table_name] # ricava l'oggetto Table di sqlalchemy
primary_key_names = [ col.name for col in table.primary_key ] # nomi degli attributi che formano la PK
if request.method == 'POST': # POST -> form con dati da aggiornare
column_names = [ col.name for col in table.columns ] # ricava i nomi delle colonne della tabella
# per ogni campo del form con nome uguale al nome di un attributo della tabella selezionata
# inserisce una entry nel dizionario (nome_attributo, valore_attributo)
# di fatto genera una tupla con gli attributi corretti per il database
new_tuple = { key: value for key, value in request.form.items() if key in column_names }
# corregge i campi che hanno un formato diverso da quello che il database si aspetta
new_tuple = prepare_tuple(table_name, new_tuple)
# crea la statement di update (un WHERE per ogni colonna della PK)
upd_stmt = table.update()
for pk_name in primary_key_names: # per ogni colonna della PK
upd_stmt = upd_stmt.where(table.c[pk_name] == bindparam(pk_name + '_old')) # imposta condizione su colonna
upd_stmt = upd_stmt.values(**new_tuple) # passa la tupla con i dati da aggiornare
# crea un dizionario da passare come input alla query per risolvere i parametri (bindparam)
# da notare che utilizza la primary key precedente all'update (pk_name_old),
# che deve quindi essere passata dal form
param_dict = { pk_name + '_old': request.form[pk_name + '_old'] for pk_name in primary_key_names }
error = None
with connect_as(Role.OPERATOR) as conn: # connessione al database come operator
_, error = try_execute(lambda: conn.execute(upd_stmt, **param_dict))
return error or redirect(url_for('dash.view_table', table_name=table_name))
else: # GET -> renderizza form
# carica tupla da aggiornare dal database
# genera SELECT statement
sel_stmt = table.select()
for pk_name in primary_key_names: # per ogni colonna della PK
sel_stmt = sel_stmt.where(table.c[pk_name] == bindparam(pk_name)) # imposta condizione su colonna
# crea un dizionario da passare come input alla query per risolvere i parametri (bindparam)
param_dict = { pk_name: request.args[pk_name] for pk_name in primary_key_names }
error = None
with connect_as(Role.OPERATOR) as conn: # connessione al database come operator
# esegue la query gestendo eventuali eccezioni
result_set, error = try_execute(lambda: conn.execute(sel_stmt, **param_dict))
if error: # se si è verificato un errore
return error # mostralo a schermo
res = result_set.first()
if res:
res = dict(res)
else:
abort(404)
# genera dati addizionali utili per i form e renderizza il form corretto in base al nome della tabella
additional_data = generate_additional_data(table_name)
return render_template(f"dash/insert_update_forms/insert_{table_name}.html",
table_name=table_name, # nome tabella
primary_key_names=primary_key_names, # nomi attributi della PK
additional_data=additional_data, # dati addizionali
tuple=res) # tupla
@bp.route('/tables/<table_name>/delete', methods=('GET', 'POST'))
@operator_required
def delete_row(table_name):
"""Route che gestisce la fase di cancellazione di una tupla
URL: /tables/<table_name>/delete
La route accetta 2 metodi, GET e POST.
GET: mostra una pagina di conferma di eliminazione
POST: preleva la PK, della tupla da eliminare, dal form,
poi invia delete al database e redireziona alla pagina
che mostra la tabella (tables/<table_name>)
Returns:
str: html da renderizzare nel browser
"""
if table_name not in get_table_names(): # se tabella non esiste
abort(404) # 404 NOT FOUND
table = get_table_dictionary()[table_name] # ricava l'oggetto Table di sqlalchemy
primary_key_names = [ col.name for col in table.primary_key ] # nomi degli attributi che formano la PK
# genera la statement da passare al database (GET: select; POST: delete)
stmt = table.select() if request.method == 'GET' else table.delete()
for pk_name in primary_key_names: # per ogni colonna della PK
stmt = stmt.where(table.c[pk_name] == bindparam(pk_name)) # imposta condizione su colonna
# crea un dizionario da passare come input alla query per risolvere i parametri (bindparam)
request_data = request.args if request.method == 'GET' else request.form # nomi degli attributi che formano la PK
param_dict = { pk_name: request_data[pk_name] for pk_name in primary_key_names }
error = None
with connect_as(Role.OPERATOR) as conn: # connessione al database come client
result_set, error = try_execute(lambda: conn.execute(stmt, **param_dict)) # esegue la query gestendo eventuali eccezioni
if error: # in caso di errore
return error # mostralo a schermo
if request.method == 'GET': # GET -> pagina di conferma
return render_template('dash/delete.html', # renderizza pagina di conferma
table_name=table_name, # nome tabella
primary_key_names=primary_key_names, # nomi attributi PK
tuple=result_set.first()) # tupla da rimuovere
else: # POST -> effettua cancellazione
#flash('Row deleted', 'success') # flasha messaggio di successo
return redirect(url_for('dash.view_table', table_name=table_name)) # redieziona a pagina di visualizzazione tabella
@bp.route('/statistics')
@operator_required
def statistics():
"""Route che calcola e mostra alcune statistiche
URL: /statistics
La route accetta 1 metodo, GET.
GET: mostra una pagina di con una serie di statistiche
Returns:
str: html da renderizzare nel browser (pagina di statistiche)
"""
with connect_as(Role.WEBAPP) as conn: # connessione al database come webapp
# mostra i generi più comuni tra i film proiettati dal cinema in ordine non crescente (decrescente)
# conta il numero di film per ogni genrere
select_common_movie_genre = (
select([
movie_table.c.genre,
func.count().label('genre_count')
]).group_by(
movie_table.c.genre
).order_by(
desc('genre_count')
)
)
common_movie_genre = conn.execute(select_common_movie_genre)
# mostra i generi di film più popolari tra i clienti del cinema in ordine non crescente (decrescente)
# conta numero di biglietti venduti per genere
select_movie_genre_popularity = (
select_common_movie_genre.\
where(
(movie_table.c.id == projection_table.c.movie)
& (projection_table.c.id == purchase_table.c.projection)
& (purchase_table.c.id == ticket_table.c.purchase)
)
)
movie_genre_popularity = conn.execute(select_movie_genre_popularity)
# mostra i generi di film del cinema più redditizi in ordine non crescente (decrescente)
# calcola entrate per ogni genere
select_profitable_movie_genre = (
select([
movie_table.c.genre,
func.sum(purchase_table.c.total).label('genre_profit')
]).where(
(movie_table.c.id == projection_table.c.movie)
& (projection_table.c.id == purchase_table.c.projection)
).group_by(
movie_table.c.genre
).order_by(
desc('genre_profit')
)
)
movie_genre_profits = conn.execute(select_profitable_movie_genre)
# mostra i generi di film più popolari tra i clienti del cinema in base all'età in ordine dagli utenti più giovani ai più vecchi
# mostra per ogni genere, quali sono le fascie d'età che lo seguono di più
current_year = datetime.now().year
genres = conn.execute(select([genre_table]).order_by(genre_table.c.name))
select_genre_popularity_by_age = (
select([
movie_table.c.genre,
case( # creazione dinamica dei casi per la clausola case
[
(
(current_year - func.extract('year', user_table.c.birthdate) >= age_group['start'])
& (current_year - func.extract('year', user_table.c.birthdate) <= age_group['end']),
age_group['name']
)
for age_group in AGE_GROUPS
],
else_='100+'
).label('age_group'),
func.count().label('ticket_count')
]).where(
(movie_table.c.id == projection_table.c.movie)
& (projection_table.c.id == purchase_table.c.projection)
& (purchase_table.c.id == ticket_table.c.purchase)
& (purchase_table.c.paymentMethod == payment_method_table.c.id)
& (payment_method_table.c.user == user_table.c.username)
).group_by(
'age_group',
movie_table.c.genre
).order_by(
desc('ticket_count')
)
)
result_set = conn.execute(select_genre_popularity_by_age)
result_list = result_set.fetchall()
genre_popularity_by_age = { genre['name']: [] for genre in genres }
age_popularity_by_genre = { age_group['name']: [] for age_group in AGE_GROUPS }
for row in result_list:
genre_popularity_by_age[row['genre']].append({
'age_group': row['age_group'],
'ticket_count': row['ticket_count']
})
age_popularity_by_genre[row['age_group']].append({
'genre': row['genre'],
'ticket_count': row['ticket_count']
})
# limita i risultati a 3 per ogni categoria
LIMIT = 3
for genre in genre_popularity_by_age:
genre_popularity_by_age[genre] = genre_popularity_by_age[genre][:LIMIT]
for age_group in age_popularity_by_genre:
age_popularity_by_genre[age_group] = age_popularity_by_genre[age_group][:LIMIT]
# mostra i generi più comuni nel trend degli ultimi 9 mesi tra i film proiettati dal cinema in ordine non crescente (decrescente)
select_common_movie_genre_trend = (
select_common_movie_genre.\
where(is_recent(movie_table.c.releaseDate))
)
common_movie_genre_trend = conn.execute(select_common_movie_genre_trend)
# mostra i generi di film più popolari degli ultimi 9 mesi tra i clienti del cinema in ordine non crescente (decrescente)
select_movie_genre_popularity_trend = (
select_movie_genre_popularity.\
where(is_recent(movie_table.c.releaseDate))
)
movie_genre_popularity_trend = conn.execute(select_movie_genre_popularity_trend)
# mostra i generi di film del cinema più redditizi negli ultimi 9 mesi in ordine non crescente (decrescente)
select_profitable_movie_genre_trend = (
select_profitable_movie_genre.\
where(is_recent(movie_table.c.releaseDate))
)
movie_genre_profits_trend = conn.execute(select_profitable_movie_genre_trend)
# mostra gli attori più popolari tra i clienti del cinema in ordine non crescente (decrescente)
# attori che hanno venduto più biglietti
select_popular_actors = (
select([
cast_member_table.c.name,
cast_member_table.c.surname,
func.count().label('ticket_count')
]).where(
(cast_member_table.c.id == actor_movie_table.c.actor)
& (actor_movie_table.c.movie == movie_table.c.id)
& (movie_table.c.id == projection_table.c.movie)
& (projection_table.c.id == purchase_table.c.projection)
& (purchase_table.c.id == ticket_table.c.purchase)
).group_by(
cast_member_table.c.id
).order_by(
desc('ticket_count')
).limit(25)
)
popular_actors = conn.execute(select_popular_actors)
# mostra i registi più popolari tra i clienti del cinema in ordine non crescente (decrescente)
# registi che hanno venduto più biglietti
select_popular_directors = (
select([
cast_member_table.c.name,
cast_member_table.c.surname,
func.count().label('ticket_count')
]).where(
(cast_member_table.c.id == movie_table.c.director)
& (movie_table.c.id == projection_table.c.movie)
& (projection_table.c.id == purchase_table.c.projection)
& (purchase_table.c.id == ticket_table.c.purchase)
).group_by(
cast_member_table.c.id
).order_by(
desc('ticket_count')
).limit(25)
)
popular_directors = conn.execute(select_popular_directors)
# renderizza statistiche calcolate
return render_template('dash/statistics.html',
common_movie_genre=common_movie_genre,
movie_genre_popularity=movie_genre_popularity,
movie_genre_profits=movie_genre_profits,
common_movie_genre_trend=common_movie_genre_trend,
movie_genre_popularity_trend=movie_genre_popularity_trend,
movie_genre_profits_trend=movie_genre_profits_trend,
genre_popularity_by_age=genre_popularity_by_age,
age_popularity_by_genre=age_popularity_by_genre,
popular_actors=popular_actors,
popular_directors=popular_directors)
| [
37811,
198,
5841,
43348,
542,
268,
21872,
443,
6339,
390,
8466,
30415,
716,
2201,
12392,
72,
13,
198,
3123,
6339,
3367,
78,
4214,
4873,
299,
417,
39932,
705,
42460,
3256,
369,
7694,
271,
568,
31051,
42460,
3526,
4458,
198,
37811,
198,
198,
6738,
4818,
8079,
1330,
4818,
8079,
11,
3128,
11,
28805,
12514,
198,
198,
6738,
42903,
1330,
39932,
11,
8543,
62,
28243,
11,
15614,
11,
2581,
11,
1459,
62,
1324,
11,
7644,
11,
18941,
11,
19016,
62,
1640,
198,
6738,
44161,
282,
26599,
13,
25410,
1330,
2922,
11,
1715,
198,
6738,
44161,
282,
26599,
13,
25410,
13,
38011,
1330,
11007,
17143,
11,
25439,
11,
1339,
198,
6738,
44161,
282,
26599,
13,
41194,
1330,
39348,
12331,
11,
30297,
12331,
198,
6738,
266,
9587,
2736,
1018,
13,
12961,
1330,
7716,
62,
28712,
62,
17831,
198,
198,
6738,
598,
13,
27530,
13,
9945,
1330,
2018,
62,
292,
11,
20934,
11,
651,
62,
11487,
62,
14933,
11,
651,
62,
11487,
62,
67,
14188,
198,
6738,
598,
13,
27530,
13,
22766,
1330,
2922,
62,
439,
198,
6738,
598,
13,
27530,
13,
9945,
1330,
357,
198,
220,
220,
220,
2836,
62,
11487,
11,
3807,
62,
11487,
11,
20128,
62,
11487,
11,
198,
220,
220,
220,
7846,
62,
11487,
11,
5001,
62,
11487,
11,
8674,
62,
41364,
62,
11487,
11,
198,
220,
220,
220,
12121,
62,
11487,
11,
6074,
62,
24396,
62,
11487,
11,
3350,
62,
19522,
62,
11487,
198,
8,
198,
6738,
598,
13,
33571,
13,
18439,
1330,
10088,
62,
35827,
628,
198,
46583,
796,
39932,
10786,
42460,
3256,
11593,
3672,
834,
11,
19016,
62,
40290,
11639,
14,
42460,
3526,
11537,
220,
220,
1303,
39932,
583,
443,
6339,
390,
8466,
30415,
716,
2201,
12392,
72,
628,
198,
4299,
318,
62,
49921,
7,
20979,
62,
4475,
2599,
198,
220,
220,
220,
37227,
13414,
811,
64,
384,
555,
2646,
6184,
101,
2274,
68,
11,
269,
952,
14064,
2240,
65,
677,
5549,
2469,
4528,
3789,
25236,
860,
18842,
72,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2650,
62,
4475,
357,
39470,
532,
16092,
8079,
2599,
8591,
951,
6415,
29106,
2028,
12427,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8591,
1366,
2566,
374,
346,
3372,
952,
1619,
2646,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
20512,
25,
6407,
384,
4229,
2646,
6184,
101,
1185,
78,
374,
346,
292,
979,
5549,
2469,
4528,
3789,
25236,
860,
18842,
72,
11,
10352,
435,
2213,
3681,
72,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
20460,
62,
41358,
23428,
796,
860,
1635,
1542,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
860,
18842,
72,
198,
220,
220,
220,
1441,
2650,
62,
4475,
1343,
28805,
12514,
7,
12545,
796,
20460,
62,
41358,
23428,
8,
18189,
25439,
13,
14421,
62,
4475,
3419,
628,
198,
4299,
8335,
62,
83,
29291,
7,
11487,
62,
3672,
11,
649,
62,
83,
29291,
2599,
198,
220,
220,
220,
37227,
6719,
1845,
64,
8591,
12777,
489,
64,
583,
1658,
325,
260,
1035,
263,
5350,
497,
8466,
7400,
12627,
705,
11487,
62,
3672,
3256,
1269,
495,
583,
7736,
6457,
533,
1312,
198,
220,
220,
220,
424,
23013,
1413,
72,
1282,
4818,
72,
583,
4194,
72,
1211,
533,
8591,
7400,
12627,
628,
220,
220,
220,
4689,
9198,
1031,
7935,
3473,
68,
299,
417,
491,
292,
687,
533,
443,
3128,
11,
8591,
9206,
304,
1312,
25131,
198,
220,
220,
220,
497,
8466,
1296,
64,
1162,
11489,
64,
583,
4229,
6831,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
3672,
357,
2536,
2599,
555,
299,
462,
2566,
7400,
12627,
4938,
78,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
357,
11600,
2599,
288,
528,
295,
4982,
29106,
2028,
12427,
555,
64,
12777,
489,
64,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
442,
544,
8903,
1614,
29941,
257,
4119,
1278,
72,
336,
408,
72,
4515,
72,
3396,
4528,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24548,
72,
390,
8466,
7400,
12627,
299,
417,
6831,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
288,
528,
295,
4982,
369,
1312,
1413,
72,
9198,
7246,
583,
1658,
325,
260,
1035,
263,
8846,
299,
417,
6831,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
491,
292,
687,
64,
4818,
72,
9157,
1153,
72,
12379,
1296,
1125,
1729,
3367,
78,
299,
417,
1296,
5549,
1162,
11489,
78,
583,
4229,
6831,
198,
220,
220,
220,
611,
3084,
62,
3672,
6624,
2836,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7400,
12627,
11787,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
28712,
6,
287,
649,
62,
83,
29291,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
28712,
20520,
796,
7716,
62,
28712,
62,
17831,
7,
3605,
62,
83,
29291,
17816,
28712,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
24280,
4475,
6,
287,
649,
62,
83,
29291,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
24280,
4475,
20520,
796,
4818,
8079,
13,
2536,
457,
524,
7,
3605,
62,
83,
29291,
17816,
24280,
4475,
6,
4357,
705,
4,
56,
12,
4,
76,
12,
4,
67,
27691,
4475,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
271,
18843,
1352,
20520,
796,
705,
271,
18843,
1352,
6,
287,
649,
62,
83,
29291,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
3807,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7400,
12627,
15875,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
20979,
10430,
20520,
796,
4818,
8079,
13,
2536,
457,
524,
7,
3605,
62,
83,
29291,
17816,
20979,
10430,
6,
4357,
705,
4,
56,
12,
4,
76,
12,
4,
67,
27691,
4475,
3419,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
6074,
62,
24396,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
1303,
7400,
12627,
28784,
17410,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
1069,
10514,
10430,
20520,
796,
4818,
8079,
13,
2536,
457,
524,
7,
3605,
62,
83,
29291,
17816,
1069,
10514,
10430,
6,
4357,
705,
4,
56,
12,
4,
76,
12,
4,
67,
27691,
4475,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
17816,
271,
18843,
1352,
20520,
796,
705,
271,
13739,
6,
287,
649,
62,
83,
29291,
628,
220,
220,
220,
1441,
649,
62,
83,
29291,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
1334,
34272,
271,
344,
8591,
14364,
10071,
9198,
1045,
583,
4229,
6831,
628,
198,
4299,
1949,
62,
41049,
7,
22766,
2599,
198,
220,
220,
220,
37227,
36,
325,
18701,
8591,
1257,
89,
7935,
705,
22766,
6,
10521,
31110,
443,
9940,
344,
89,
295,
72,
39348,
12331,
304,
30297,
12331,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12405,
25,
1257,
89,
7935,
1125,
1658,
1533,
518,
555,
64,
12405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1658,
45787,
952,
25,
48260,
13,
41049,
7,
301,
16762,
8,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
357,
23004,
44148,
2599,
443,
46545,
6106,
586,
17096,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
357,
2536,
2599,
2085,
9460,
952,
2566,
1931,
305,
260,
287,
6124,
78,
2566,
1931,
305,
260,
11,
6045,
435,
2213,
3681,
72,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4049,
796,
6045,
198,
220,
220,
220,
1255,
62,
2617,
796,
6045,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
796,
12405,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1658,
1533,
518,
8591,
12405,
304,
16181,
9990,
443,
46545,
6106,
586,
17096,
198,
220,
220,
220,
2845,
39348,
12331,
355,
304,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8591,
12405,
1935,
64,
4140,
2395,
410,
1939,
14057,
2566,
4132,
799,
24247,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
366,
3103,
2536,
2913,
8747,
1,
198,
220,
220,
220,
2845,
30297,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
366,
5990,
3411,
6699,
1,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
300,
6,
315,
21872,
387,
555,
7422,
14057,
1125,
1729,
387,
1312,
9943,
408,
72,
2566,
1658,
15703,
557,
8591,
12405,
628,
220,
220,
220,
611,
4049,
25,
220,
220,
220,
220,
220,
220,
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,
287,
6124,
78,
2566,
1931,
305,
260,
11,
2604,
70,
7335,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
10951,
10786,
20746,
4054,
25,
4064,
82,
3256,
4049,
8,
628,
220,
220,
220,
1441,
1255,
62,
2617,
11,
4049,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1334,
34272,
271,
344,
46545,
6106,
586,
17096,
1225,
19657,
68,
2085,
9460,
952,
2566,
1931,
305,
260,
628,
198,
2,
1351,
64,
2566,
288,
528,
295,
2743,
29106,
2028,
17096,
443,
277,
292,
344,
2566,
2123,
24247,
198,
11879,
62,
10761,
2606,
3705,
796,
685,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
15,
12,
1129,
3256,
705,
9688,
10354,
657,
11,
705,
437,
10354,
678,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1238,
12,
1959,
3256,
705,
9688,
10354,
1160,
11,
705,
437,
10354,
2808,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1270,
12,
2670,
3256,
705,
9688,
10354,
1542,
11,
705,
437,
10354,
5014,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1821,
12,
2920,
3256,
705,
9688,
10354,
2319,
11,
705,
437,
10354,
5125,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1120,
12,
3270,
3256,
705,
9688,
10354,
2026,
11,
705,
437,
10354,
7863,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1899,
12,
3388,
3256,
705,
9688,
10354,
3126,
11,
705,
437,
10354,
8644,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
2154,
12,
3720,
3256,
705,
9688,
10354,
4317,
11,
705,
437,
10354,
9225,
8964,
198,
220,
220,
220,
1391,
705,
3672,
10354,
705,
1795,
12,
2079,
3256,
705,
9688,
10354,
4019,
11,
705,
437,
10354,
7388,
1782,
198,
60,
628,
198,
4299,
7716,
62,
2860,
1859,
62,
7890,
7,
11487,
62,
3672,
2599,
198,
220,
220,
220,
37227,
6690,
48568,
64,
4818,
72,
3384,
2403,
583,
1312,
1296,
2566,
1035,
263,
3681,
78,
14,
19119,
628,
220,
220,
220,
554,
1344,
349,
533,
583,
4164,
660,
2566,
1208,
533,
257,
72,
1296,
299,
13485,
279,
12756,
27711,
443,
198,
220,
220,
220,
4175,
1031,
295,
72,
2566,
269,
9019,
2418,
270,
5733,
583,
749,
533,
390,
72,
1296,
2836,
8030,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
3672,
357,
2536,
2599,
4229,
299,
462,
2566,
555,
64,
7400,
12627,
1619,
6831,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
357,
11600,
2599,
288,
528,
295,
4982,
542,
268,
14471,
1312,
4818,
72,
751,
528,
1538,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
583,
8591,
7400,
12627,
2566,
5128,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3224,
62,
7890,
796,
23884,
628,
220,
220,
220,
611,
3084,
62,
3672,
6624,
8674,
62,
41364,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
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,
7400,
12627,
27274,
25097,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
529,
669,
20520,
796,
2922,
62,
439,
10786,
19248,
27608,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
3350,
1866,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
76,
20526,
20520,
796,
2922,
62,
439,
10786,
25097,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
2646,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
3807,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
7400,
12627,
15875,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
12942,
669,
20520,
796,
2922,
62,
439,
10786,
19248,
27608,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
3350,
1866,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
5235,
411,
20520,
796,
2922,
62,
439,
10786,
13746,
260,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
1152,
72,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
77,
602,
20520,
796,
2922,
62,
439,
10786,
46108,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
299,
1031,
295,
72,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
20128,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
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,
7400,
12627,
4935,
295,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
76,
20526,
20520,
796,
2922,
62,
439,
10786,
25097,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
2646,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
9649,
20520,
796,
2922,
62,
439,
10786,
41178,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
5466,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
7846,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
7400,
12627,
24014,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
79,
2575,
1386,
20520,
796,
2922,
62,
439,
10786,
47651,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
4078,
396,
72,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
6074,
62,
24396,
62,
11487,
13,
3672,
25,
220,
220,
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,
7400,
12627,
28784,
17410,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
18417,
20520,
796,
2922,
62,
439,
10786,
12982,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
3384,
298,
72,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
37301,
62,
21170,
15379,
20520,
796,
2922,
62,
439,
10786,
19197,
434,
31560,
5013,
11537,
220,
1303,
1288,
268,
1073,
10349,
72,
2566,
42208,
3263,
78,
628,
220,
220,
220,
1288,
361,
3084,
62,
3672,
6624,
5001,
62,
11487,
13,
3672,
25,
220,
220,
220,
220,
220,
220,
220,
220,
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,
7400,
12627,
27637,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
18417,
20520,
796,
2922,
62,
439,
10786,
12982,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
3384,
298,
72,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
16302,
507,
20520,
796,
2922,
62,
439,
10786,
16775,
295,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1288,
268,
1073,
386,
494,
89,
295,
72,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
17816,
37301,
62,
24396,
82,
20520,
796,
2922,
62,
439,
10786,
19197,
434,
17410,
11537,
220,
220,
220,
1303,
1288,
268,
1073,
1138,
23130,
2566,
42208,
3263,
78,
628,
220,
220,
220,
1441,
3224,
62,
7890,
628,
198,
31,
46583,
13,
38629,
10786,
14,
11537,
198,
31,
46616,
62,
35827,
198,
4299,
30415,
33529,
198,
220,
220,
220,
37227,
43401,
1125,
8543,
9990,
8591,
30415,
628,
220,
220,
220,
10289,
25,
1220,
628,
220,
220,
220,
4689,
6339,
697,
15253,
352,
1138,
24313,
11,
17151,
13,
198,
220,
220,
220,
17151,
25,
1334,
34272,
271,
344,
8591,
42208,
1437,
390,
8466,
30415,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
357,
42460,
3526,
8,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
42460,
14,
9630,
13,
6494,
11537,
220,
220,
220,
220,
220,
220,
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,
8543,
9990,
34940,
30415,
628,
198,
31,
46583,
13,
38629,
10786,
14,
83,
2977,
11537,
198,
31,
46616,
62,
35827,
198,
4299,
3084,
62,
49283,
33529,
198,
220,
220,
220,
37227,
43401,
1125,
583,
4164,
660,
2566,
264,
344,
4743,
13235,
555,
64,
7400,
12627,
1291,
8591,
1351,
64,
2566,
7400,
13485,
4596,
261,
571,
2403,
628,
220,
220,
220,
10289,
25,
1220,
83,
2977,
628,
220,
220,
220,
4689,
6339,
697,
15253,
352,
1138,
24313,
11,
17151,
13,
198,
220,
220,
220,
17151,
25,
1334,
34272,
271,
344,
300,
6,
417,
268,
1073,
1619,
293,
7400,
13485,
4596,
261,
571,
2403,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
662,
2768,
64,
288,
1872,
5772,
316,
380,
390,
8466,
5527,
36283,
17151,
300,
6,
738,
811,
265,
23593,
390,
8466,
42208,
1437,
198,
220,
220,
220,
1303,
257,
269,
9019,
2266,
31762,
295,
533,
300,
6,
315,
21872,
11,
555,
64,
2322,
8326,
1125,
387,
264,
5276,
1462,
8591,
7400,
12627,
198,
220,
220,
220,
1303,
1188,
10145,
4938,
72,
25,
7550,
11,
1100,
357,
12286,
8,
198,
220,
220,
220,
1306,
62,
796,
2581,
13,
22046,
13,
1136,
10786,
19545,
3256,
705,
961,
11537,
628,
220,
220,
220,
3084,
62,
14933,
796,
651,
62,
11487,
62,
14933,
3419,
220,
220,
220,
220,
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,
1288,
268,
1073,
390,
72,
4515,
72,
1619,
293,
7400,
13485,
1619,
20613,
198,
220,
220,
220,
8893,
62,
1462,
62,
24717,
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,
1303,
1288,
268,
1073,
4515,
72,
7400,
13485,
12379,
299,
3372,
623,
567,
628,
220,
220,
220,
611,
1306,
62,
6624,
705,
961,
10354,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
42208,
1437,
2566,
1100,
14,
19119,
14,
33678,
198,
220,
220,
220,
220,
220,
220,
220,
8893,
62,
1462,
62,
24717,
13,
2302,
437,
26933,
6074,
62,
24396,
62,
11487,
13,
3672,
33761,
220,
220,
220,
1303,
299,
3372,
623,
72,
28784,
17410,
628,
220,
220,
220,
1288,
361,
1306,
62,
6624,
705,
28463,
10354,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
42208,
1437,
2566,
7550,
198,
220,
220,
220,
220,
220,
220,
220,
8893,
62,
1462,
62,
24717,
13,
2302,
437,
26933,
37301,
62,
24396,
62,
11487,
13,
3672,
11,
220,
220,
220,
220,
220,
220,
1303,
299,
3372,
623,
72,
28784,
17410,
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,
7846,
62,
11487,
13,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
3372,
623,
72,
24014,
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,
5001,
62,
11487,
13,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
3372,
623,
72,
27637,
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,
2836,
62,
11487,
13,
3672,
12962,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
3372,
623,
72,
11787,
628,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
42208,
1437,
1729,
374,
4749,
418,
979,
29822,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
628,
220,
220,
220,
1303,
20254,
84,
659,
7400,
13485,
12379,
299,
3372,
623,
567,
198,
220,
220,
220,
329,
3084,
62,
3672,
287,
8893,
62,
1462,
62,
24717,
25,
220,
220,
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,
583,
267,
4593,
72,
7400,
12627,
1291,
627,
13485,
12379,
299,
3372,
623,
567,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
14933,
13,
28956,
7,
11487,
62,
3672,
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,
1303,
20254,
84,
47297,
7400,
12627,
628,
220,
220,
220,
1303,
8543,
9990,
42208,
1437,
2566,
384,
36858,
7935,
7400,
13485,
11,
369,
443,
7400,
13485,
12379,
749,
430,
260,
198,
220,
220,
220,
1441,
8543,
62,
28243,
7203,
42460,
14,
11487,
62,
49283,
13,
6494,
1600,
1306,
28,
19545,
62,
11,
3084,
62,
14933,
28,
11487,
62,
14933,
8,
628,
198,
31,
46583,
13,
38629,
10786,
14,
83,
2977,
14,
27,
11487,
62,
3672,
29,
11537,
198,
31,
46616,
62,
35827,
198,
4299,
1570,
62,
11487,
7,
11487,
62,
3672,
2599,
198,
220,
220,
220,
37227,
43401,
1125,
583,
4164,
660,
2566,
5874,
6457,
533,
11,
4194,
72,
1211,
533,
304,
22040,
533,
46545,
288,
30315,
7400,
12627,
384,
36858,
295,
1045,
628,
220,
220,
220,
10289,
25,
1220,
83,
2977,
14,
27,
11487,
62,
3672,
29,
628,
220,
220,
220,
4689,
6339,
697,
15253,
352,
1138,
24313,
11,
17151,
13,
198,
220,
220,
220,
17151,
25,
1334,
34272,
271,
344,
300,
6,
417,
268,
1073,
1619,
293,
46545,
390,
8466,
7400,
12627,
384,
36858,
295,
1045,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
3672,
357,
2536,
2599,
299,
462,
390,
8466,
7400,
12627,
1619,
6831,
12379,
749,
430,
260,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
3084,
62,
3672,
407,
287,
651,
62,
11487,
62,
14933,
33529,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
384,
7400,
12627,
1729,
1658,
40833,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
628,
220,
220,
220,
1303,
264,
396,
19687,
2566,
279,
23183,
1031,
7935,
198,
220,
220,
220,
2546,
796,
2581,
13,
22046,
13,
1136,
10786,
7857,
3256,
939,
11,
493,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
997,
3529,
2566,
6106,
586,
7246,
583,
42208,
1437,
198,
220,
220,
220,
2443,
796,
2581,
13,
22046,
13,
1136,
10786,
7700,
3256,
352,
11,
493,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
997,
3529,
2566,
42208,
1437,
198,
220,
220,
220,
611,
2546,
19841,
657,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
15793,
68,
42208,
1437,
2469,
265,
12151,
267,
9242,
64,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
352,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
4179,
64,
18536,
434,
68,
15793,
68,
42208,
1437,
257,
352,
198,
220,
220,
220,
1288,
361,
2546,
1875,
5323,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
384,
15793,
68,
42208,
1437,
4161,
16634,
4490,
68,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
5323,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
4179,
64,
15793,
68,
42208,
1437,
257,
5323,
198,
220,
220,
220,
611,
2443,
19841,
657,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
997,
3529,
2566,
42208,
1437,
2469,
265,
23593,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
198,
220,
220,
220,
11677,
796,
357,
7700,
12,
16,
8,
1635,
2546,
220,
220,
220,
220,
220,
220,
220,
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,
2386,
4033,
64,
11677,
583,
12405,
628,
220,
220,
220,
4049,
796,
6045,
628,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
31054,
25633,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
369,
1108,
7935,
435,
6831,
1282,
10088,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
796,
651,
62,
11487,
62,
67,
14188,
3419,
58,
11487,
62,
3672,
60,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
300,
6,
519,
1136,
1462,
8655,
2566,
44161,
282,
26599,
198,
220,
220,
220,
220,
220,
220,
220,
384,
75,
62,
301,
16762,
796,
2922,
26933,
11487,
35944,
32374,
7,
7857,
737,
28968,
7,
28968,
8,
220,
220,
1303,
384,
36858,
32792,
16964,
89,
7935,
2566,
6831,
264,
344,
2528,
64,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
11,
4049,
796,
1949,
62,
41049,
7,
50033,
25,
48260,
13,
41049,
7,
741,
62,
301,
16762,
4008,
1303,
1658,
1533,
518,
8591,
12405,
10521,
31110,
19657,
72,
9940,
344,
89,
295,
72,
628,
220,
220,
220,
611,
4049,
25,
220,
220,
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,
287,
6124,
78,
2566,
1931,
305,
260,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4049,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
1373,
78,
257,
629,
372,
5908,
628,
220,
220,
220,
5721,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
28665,
82,
2361,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
1312,
4515,
72,
1619,
293,
7633,
710,
390,
8466,
7400,
12627,
198,
220,
220,
220,
4165,
62,
2539,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
39754,
62,
2539,
2361,
220,
220,
1303,
4515,
72,
3396,
4528,
24548,
72,
1125,
329,
805,
78,
8591,
29673,
628,
220,
220,
220,
1303,
407,
533,
1125,
269,
6,
14064,
555,
555,
3713,
11055,
27711,
583,
9732,
660,
443,
7400,
13485,
198,
220,
220,
220,
1441,
8543,
62,
28243,
7203,
42460,
14,
1177,
62,
11487,
13,
6494,
1600,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8543,
9990,
7400,
12627,
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,
3084,
62,
3672,
28,
11487,
62,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
462,
7400,
12627,
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,
5721,
62,
14933,
28,
28665,
62,
14933,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4515,
72,
24548,
72,
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,
4165,
62,
2539,
62,
14933,
28,
39754,
62,
2539,
62,
14933,
11,
220,
220,
220,
1303,
4515,
72,
24548,
72,
29673,
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,
3084,
62,
28047,
2374,
28,
4868,
7,
20274,
62,
2617,
828,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1351,
64,
1619,
293,
46545,
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,
2443,
28,
7700,
11,
220,
220,
220,
220,
220,
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,
42208,
1437,
1162,
1156,
68,
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,
2546,
28,
7857,
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,
1303,
15793,
68,
42208,
1437,
1162,
1156,
68,
628,
198,
31,
46583,
13,
38629,
10786,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
28463,
3256,
5050,
28,
10786,
18851,
3256,
705,
32782,
6,
4008,
198,
31,
46616,
62,
35827,
198,
4299,
7550,
62,
7890,
7,
11487,
62,
3672,
2599,
198,
220,
220,
220,
37227,
43401,
1125,
10521,
271,
344,
300,
6,
1040,
263,
3681,
78,
390,
72,
4818,
72,
299,
13485,
7400,
13485,
628,
220,
220,
220,
10289,
25,
1220,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
28463,
628,
220,
220,
220,
4689,
6339,
697,
15253,
362,
1138,
23130,
11,
17151,
304,
24582,
13,
198,
220,
220,
220,
17151,
25,
1334,
34272,
271,
344,
4229,
1296,
2566,
4214,
3247,
7935,
198,
220,
220,
220,
24582,
25,
662,
2768,
64,
1312,
4818,
72,
288,
282,
1296,
2566,
4214,
3247,
7935,
11,
7649,
1188,
3755,
198,
220,
220,
220,
220,
220,
220,
220,
304,
745,
72,
914,
3087,
6413,
300,
6,
1040,
263,
3681,
78,
1619,
14364,
18768,
3384,
21872,
299,
417,
6831,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
3084,
62,
3672,
407,
287,
651,
62,
11487,
62,
14933,
33529,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
384,
7400,
12627,
1729,
1658,
40833,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
10354,
220,
220,
220,
220,
220,
220,
220,
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,
24582,
4613,
1296,
369,
4818,
72,
12379,
1035,
263,
557,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
796,
651,
62,
11487,
62,
67,
14188,
3419,
58,
11487,
62,
3672,
60,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
300,
6,
519,
1136,
1462,
8655,
2566,
44161,
282,
26599,
198,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
28665,
82,
2361,
220,
220,
220,
1303,
12410,
4170,
1312,
4515,
72,
1619,
293,
7633,
710,
390,
8466,
7400,
12627,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
583,
267,
4593,
72,
1413,
78,
1619,
1296,
369,
299,
462,
334,
70,
723,
68,
435,
299,
462,
2566,
555,
24548,
78,
390,
8466,
7400,
12627,
384,
36858,
295,
1045,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1035,
263,
271,
344,
555,
64,
5726,
299,
417,
288,
528,
295,
4982,
357,
77,
462,
62,
1078,
2455,
78,
11,
1188,
382,
62,
1078,
2455,
78,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2566,
277,
45807,
1152,
64,
555,
64,
12777,
489,
64,
369,
1278,
72,
24548,
72,
1162,
11489,
72,
583,
4229,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
796,
1391,
1994,
25,
1988,
329,
1994,
11,
1988,
287,
2581,
13,
687,
13,
23814,
3419,
611,
1994,
287,
5721,
62,
14933,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1162,
2301,
469,
1312,
1413,
72,
1125,
289,
1236,
78,
555,
1296,
5549,
12312,
568,
12379,
627,
11109,
1125,
4229,
6831,
33721,
355,
79,
15253,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
796,
8335,
62,
83,
29291,
7,
11487,
62,
3672,
11,
649,
62,
83,
29291,
8,
628,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
31054,
25633,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
369,
1108,
7935,
435,
6831,
1282,
10088,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1035,
62,
301,
16762,
796,
3084,
13,
28463,
3419,
220,
220,
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,
1126,
64,
8591,
12405,
2566,
1035,
263,
3681,
78,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1658,
1533,
518,
8591,
12405,
10521,
31110,
19657,
72,
9940,
344,
89,
295,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
4049,
796,
1949,
62,
41049,
7,
50033,
25,
48260,
13,
41049,
7,
1040,
62,
301,
16762,
11,
685,
3605,
62,
83,
29291,
60,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
7644,
7,
18224,
393,
705,
33244,
3256,
705,
38537,
6,
611,
4049,
2073,
705,
13138,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4049,
393,
18941,
7,
6371,
62,
1640,
10786,
42460,
13,
28463,
62,
7890,
3256,
3084,
62,
3672,
28,
11487,
62,
3672,
4008,
628,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
17151,
4613,
8543,
9990,
1296,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1152,
64,
4818,
72,
751,
528,
1538,
72,
3384,
2403,
583,
1312,
1296,
304,
8543,
9990,
4229,
1296,
1162,
11489,
78,
287,
2779,
435,
299,
462,
390,
8466,
7400,
12627,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
796,
7716,
62,
2860,
1859,
62,
7890,
7,
11487,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
7,
69,
1549,
1077,
14,
28463,
62,
19119,
62,
23914,
14,
28463,
23330,
11487,
62,
3672,
27422,
6494,
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,
3084,
62,
3672,
28,
11487,
62,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
462,
390,
8466,
7400,
12627,
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,
3224,
62,
7890,
28,
2860,
1859,
62,
7890,
8,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4818,
72,
751,
528,
1538,
72,
628,
198,
31,
46583,
13,
38629,
10786,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
19119,
3256,
5050,
28,
10786,
18851,
3256,
705,
32782,
6,
4008,
198,
31,
46616,
62,
35827,
198,
4299,
4296,
62,
7890,
7,
11487,
62,
3672,
2599,
198,
220,
220,
220,
37227,
43401,
1125,
10521,
271,
344,
8591,
277,
589,
2566,
4296,
628,
220,
220,
220,
10289,
25,
1220,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
19119,
628,
220,
220,
220,
4689,
6339,
697,
15253,
362,
1138,
23130,
11,
17151,
304,
24582,
13,
198,
220,
220,
220,
17151,
25,
1334,
34272,
271,
344,
4229,
1296,
583,
300,
6,
19119,
198,
220,
220,
220,
24582,
25,
662,
2768,
64,
1312,
4818,
72,
288,
282,
1296,
2566,
4296,
11,
304,
745,
72,
914,
3087,
6413,
198,
220,
220,
220,
220,
220,
220,
220,
300,
6,
19119,
390,
72,
4818,
72,
299,
417,
6831,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
3084,
62,
3672,
407,
287,
651,
62,
11487,
62,
14933,
33529,
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,
384,
7400,
12627,
1729,
1658,
40833,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
628,
220,
220,
220,
3084,
796,
651,
62,
11487,
62,
67,
14188,
3419,
58,
11487,
62,
3672,
60,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
300,
6,
519,
1136,
1462,
8655,
2566,
44161,
282,
26599,
198,
220,
220,
220,
4165,
62,
2539,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
39754,
62,
2539,
2361,
220,
220,
1303,
4515,
72,
3396,
4528,
24548,
72,
1125,
329,
805,
78,
8591,
29673,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
10354,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
24582,
4613,
1296,
369,
4818,
72,
12379,
4194,
72,
1211,
533,
628,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
28665,
82,
2361,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
1312,
4515,
72,
1619,
293,
7633,
710,
390,
8466,
7400,
12627,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
583,
267,
4593,
72,
1413,
78,
1619,
1296,
369,
299,
462,
334,
70,
723,
68,
435,
299,
462,
2566,
555,
24548,
78,
390,
8466,
7400,
12627,
384,
36858,
295,
1045,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1035,
263,
271,
344,
555,
64,
5726,
299,
417,
288,
528,
295,
4982,
357,
77,
462,
62,
1078,
2455,
78,
11,
1188,
382,
62,
1078,
2455,
78,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2566,
277,
45807,
1152,
64,
555,
64,
12777,
489,
64,
369,
1278,
72,
24548,
72,
1162,
11489,
72,
583,
4229,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
796,
1391,
1994,
25,
1988,
329,
1994,
11,
1988,
287,
2581,
13,
687,
13,
23814,
3419,
611,
1994,
287,
5721,
62,
14933,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1162,
2301,
469,
1312,
1413,
72,
1125,
289,
1236,
78,
555,
1296,
5549,
12312,
568,
12379,
627,
11109,
1125,
4229,
6831,
33721,
355,
79,
15253,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
83,
29291,
796,
8335,
62,
83,
29291,
7,
11487,
62,
3672,
11,
649,
62,
83,
29291,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1126,
64,
8591,
2643,
2566,
4296,
357,
403,
33411,
583,
267,
4593,
72,
951,
6415,
390,
8466,
29673,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2325,
62,
301,
16762,
796,
3084,
13,
19119,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
583,
267,
4593,
72,
951,
6415,
390,
8466,
29673,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2325,
62,
301,
16762,
796,
2325,
62,
301,
16762,
13,
3003,
7,
11487,
13,
66,
58,
79,
74,
62,
3672,
60,
6624,
11007,
17143,
7,
79,
74,
62,
3672,
1343,
705,
62,
727,
6,
4008,
220,
1303,
848,
39818,
1779,
528,
7935,
424,
951,
6415,
198,
220,
220,
220,
220,
220,
220,
220,
2325,
62,
301,
16762,
796,
2325,
62,
301,
16762,
13,
27160,
7,
1174,
3605,
62,
83,
29291,
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,
1303,
1208,
64,
8591,
12777,
489,
64,
369,
1312,
4818,
72,
12379,
4194,
72,
1211,
533,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1126,
64,
555,
288,
528,
295,
4982,
12379,
1208,
533,
1282,
5128,
477,
64,
12405,
583,
6106,
349,
4119,
1312,
5772,
316,
380,
357,
21653,
17143,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12379,
407,
533,
1125,
7736,
9990,
8591,
4165,
1994,
19719,
68,
477,
6,
19119,
357,
79,
74,
62,
3672,
62,
727,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1125,
390,
303,
627,
521,
72,
1658,
325,
260,
1208,
1045,
288,
282,
1296,
198,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11600,
796,
1391,
279,
74,
62,
3672,
1343,
705,
62,
727,
10354,
2581,
13,
687,
58,
79,
74,
62,
3672,
1343,
705,
62,
727,
20520,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
1782,
628,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
31054,
25633,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
369,
1108,
7935,
435,
6831,
1282,
10088,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
4049,
796,
1949,
62,
41049,
7,
50033,
25,
48260,
13,
41049,
7,
929,
67,
62,
301,
16762,
11,
12429,
17143,
62,
11600,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
4049,
393,
18941,
7,
6371,
62,
1640,
10786,
42460,
13,
1177,
62,
11487,
3256,
3084,
62,
3672,
28,
11487,
62,
3672,
4008,
628,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
17151,
4613,
8543,
9990,
1296,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1097,
3970,
12777,
489,
64,
12379,
4194,
72,
1211,
533,
288,
282,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1152,
64,
33493,
2643,
198,
220,
220,
220,
220,
220,
220,
220,
384,
75,
62,
301,
16762,
796,
3084,
13,
19738,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
583,
267,
4593,
72,
951,
6415,
390,
8466,
29673,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
384,
75,
62,
301,
16762,
796,
384,
75,
62,
301,
16762,
13,
3003,
7,
11487,
13,
66,
58,
79,
74,
62,
3672,
60,
6624,
11007,
17143,
7,
79,
74,
62,
3672,
4008,
220,
220,
1303,
848,
39818,
1779,
528,
7935,
424,
951,
6415,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1126,
64,
555,
288,
528,
295,
4982,
12379,
1208,
533,
1282,
5128,
477,
64,
12405,
583,
6106,
349,
4119,
1312,
5772,
316,
380,
357,
21653,
17143,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11600,
796,
1391,
279,
74,
62,
3672,
25,
2581,
13,
22046,
58,
79,
74,
62,
3672,
60,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
1782,
628,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
31054,
25633,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
369,
1108,
7935,
435,
6831,
1282,
10088,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1658,
1533,
518,
8591,
12405,
10521,
31110,
19657,
72,
9940,
344,
89,
295,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
11,
4049,
796,
1949,
62,
41049,
7,
50033,
25,
48260,
13,
41049,
7,
741,
62,
301,
16762,
11,
12429,
17143,
62,
11600,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4049,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
384,
33721,
6184,
101,
3326,
811,
5549,
555,
1931,
305,
260,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
4049,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
749,
1373,
78,
257,
629,
372,
5908,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
1255,
62,
2617,
13,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
581,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
8633,
7,
411,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1152,
64,
4818,
72,
751,
528,
1538,
72,
3384,
2403,
583,
1312,
1296,
304,
8543,
9990,
4229,
1296,
1162,
11489,
78,
287,
2779,
435,
299,
462,
390,
8466,
7400,
12627,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
7890,
796,
7716,
62,
2860,
1859,
62,
7890,
7,
11487,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
7,
69,
1,
42460,
14,
28463,
62,
19119,
62,
23914,
14,
28463,
23330,
11487,
62,
3672,
27422,
6494,
1600,
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,
3084,
62,
3672,
28,
11487,
62,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
462,
7400,
12627,
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,
4165,
62,
2539,
62,
14933,
28,
39754,
62,
2539,
62,
14933,
11,
220,
220,
220,
220,
1303,
4515,
72,
24548,
72,
390,
8466,
29673,
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,
3224,
62,
7890,
28,
2860,
1859,
62,
7890,
11,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4818,
72,
751,
528,
1538,
72,
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,
46545,
28,
411,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12777,
489,
64,
628,
198,
31,
46583,
13,
38629,
10786,
14,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
33678,
3256,
5050,
28,
10786,
18851,
3256,
705,
32782,
6,
4008,
198,
31,
46616,
62,
35827,
198,
4299,
12233,
62,
808,
7,
11487,
62,
3672,
2599,
198,
220,
220,
220,
37227,
43401,
1125,
10521,
271,
344,
8591,
277,
589,
2566,
22040,
1031,
7935,
2566,
555,
64,
12777,
489,
64,
628,
220,
220,
220,
10289,
25,
1220,
83,
2977,
14,
27,
11487,
62,
3672,
29,
14,
33678,
628,
220,
220,
220,
4689,
6339,
697,
15253,
362,
1138,
23130,
11,
17151,
304,
24582,
13,
198,
220,
220,
220,
17151,
25,
749,
430,
555,
64,
42208,
1437,
2566,
35132,
2611,
2566,
5687,
259,
1031,
7935,
198,
220,
220,
220,
24582,
25,
662,
2768,
64,
8591,
29673,
11,
390,
8466,
12777,
489,
64,
12379,
5687,
259,
533,
11,
288,
282,
1296,
11,
198,
220,
220,
220,
220,
220,
220,
220,
745,
72,
800,
544,
12233,
435,
6831,
304,
2266,
31762,
32792,
477,
64,
42208,
1437,
198,
220,
220,
220,
220,
220,
220,
220,
1125,
749,
430,
8591,
7400,
12627,
357,
83,
2977,
14,
27,
11487,
62,
3672,
43734,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
3084,
62,
3672,
407,
287,
651,
62,
11487,
62,
14933,
33529,
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,
384,
7400,
12627,
1729,
1658,
40833,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
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,
1303,
32320,
5626,
376,
15919,
628,
220,
220,
220,
3084,
796,
651,
62,
11487,
62,
67,
14188,
3419,
58,
11487,
62,
3672,
60,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12410,
4170,
300,
6,
519,
1136,
1462,
8655,
2566,
44161,
282,
26599,
198,
220,
220,
220,
4165,
62,
2539,
62,
14933,
796,
685,
951,
13,
3672,
329,
951,
287,
3084,
13,
39754,
62,
2539,
2361,
220,
220,
1303,
4515,
72,
3396,
4528,
24548,
72,
1125,
329,
805,
78,
8591,
29673,
628,
220,
220,
220,
1303,
1152,
64,
8591,
2643,
12379,
1208,
533,
435,
6831,
357,
18851,
25,
2922,
26,
24582,
25,
12233,
8,
198,
220,
220,
220,
336,
16762,
796,
3084,
13,
19738,
3419,
611,
2581,
13,
24396,
6624,
705,
18851,
6,
2073,
3084,
13,
33678,
3419,
198,
220,
220,
220,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
583,
267,
4593,
72,
951,
6415,
390,
8466,
29673,
198,
220,
220,
220,
220,
220,
220,
220,
336,
16762,
796,
336,
16762,
13,
3003,
7,
11487,
13,
66,
58,
79,
74,
62,
3672,
60,
6624,
11007,
17143,
7,
79,
74,
62,
3672,
4008,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
848,
39818,
1779,
528,
7935,
424,
951,
6415,
628,
220,
220,
220,
1303,
1126,
64,
555,
288,
528,
295,
4982,
12379,
1208,
533,
1282,
5128,
477,
64,
12405,
583,
6106,
349,
4119,
1312,
5772,
316,
380,
357,
21653,
17143,
8,
198,
220,
220,
220,
2581,
62,
7890,
796,
2581,
13,
22046,
611,
2581,
13,
24396,
6624,
705,
18851,
6,
2073,
2581,
13,
687,
220,
220,
220,
1303,
4515,
72,
3396,
4528,
24548,
72,
1125,
329,
805,
78,
8591,
29673,
198,
220,
220,
220,
5772,
62,
11600,
796,
1391,
279,
74,
62,
3672,
25,
2581,
62,
7890,
58,
79,
74,
62,
3672,
60,
329,
279,
74,
62,
3672,
287,
4165,
62,
2539,
62,
14933,
1782,
628,
220,
220,
220,
4049,
796,
6045,
628,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
31054,
25633,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
369,
1108,
7935,
435,
6831,
1282,
5456,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
11,
4049,
796,
1949,
62,
41049,
7,
50033,
25,
48260,
13,
41049,
7,
301,
16762,
11,
12429,
17143,
62,
11600,
4008,
220,
220,
1303,
1658,
1533,
518,
8591,
12405,
10521,
31110,
19657,
72,
9940,
344,
89,
295,
72,
628,
220,
220,
220,
611,
4049,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
287,
6124,
78,
2566,
1931,
305,
260,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4049,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
749,
1373,
78,
257,
629,
372,
5908,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
18851,
10354,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
17151,
4613,
42208,
1437,
2566,
35132,
2611,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
42460,
14,
33678,
13,
6494,
3256,
220,
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,
8543,
9990,
42208,
1437,
2566,
35132,
2611,
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,
3084,
62,
3672,
28,
11487,
62,
3672,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
462,
7400,
12627,
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,
4165,
62,
2539,
62,
14933,
28,
39754,
62,
2539,
62,
14933,
11,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4515,
72,
24548,
72,
29673,
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,
46545,
28,
20274,
62,
2617,
13,
11085,
28955,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12777,
489,
64,
12379,
20254,
84,
33518,
628,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
24582,
4613,
914,
3087,
6413,
22040,
1031,
7935,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
34167,
10786,
25166,
13140,
3256,
705,
13138,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
7644,
64,
2085,
9460,
952,
2566,
1943,
78,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
7,
6371,
62,
1640,
10786,
42460,
13,
1177,
62,
11487,
3256,
3084,
62,
3672,
28,
11487,
62,
3672,
4008,
220,
1303,
2266,
494,
89,
32792,
257,
42208,
1437,
2566,
5874,
6457,
1031,
7935,
7400,
12627,
628,
198,
31,
46583,
13,
38629,
10786,
14,
14269,
3969,
11537,
198,
31,
46616,
62,
35827,
198,
4299,
7869,
33529,
198,
220,
220,
220,
37227,
43401,
1125,
2386,
4033,
64,
304,
749,
430,
435,
66,
1726,
24696,
258,
628,
220,
220,
220,
10289,
25,
1220,
14269,
3969,
628,
220,
220,
220,
4689,
6339,
697,
15253,
352,
1138,
24313,
11,
17151,
13,
198,
220,
220,
220,
17151,
25,
749,
430,
555,
64,
42208,
1437,
2566,
369,
555,
64,
1055,
494,
2566,
24696,
258,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
965,
25,
27711,
12379,
8543,
6457,
533,
299,
417,
6444,
357,
79,
363,
1437,
2566,
24696,
258,
8,
198,
220,
220,
220,
37227,
628,
198,
220,
220,
220,
351,
2018,
62,
292,
7,
47445,
13,
8845,
33,
24805,
8,
355,
48260,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
369,
1108,
7935,
435,
6831,
1282,
3992,
1324,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
31028,
127,
117,
401,
35657,
1291,
1312,
2646,
386,
1155,
83,
7246,
288,
282,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
542,
64,
4229,
997,
3529,
2566,
2646,
583,
267,
4593,
72,
12121,
260,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
11321,
62,
41364,
62,
35850,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
13,
9127,
22446,
18242,
10786,
35850,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
737,
8094,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
2875,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
10786,
35850,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2219,
62,
41364,
62,
35850,
796,
48260,
13,
41049,
7,
19738,
62,
11321,
62,
41364,
62,
35850,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
2566,
2646,
31028,
127,
117,
1461,
349,
2743,
1291,
1312,
5456,
72,
1619,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
542,
64,
997,
3529,
2566,
1263,
75,
1155,
20259,
10817,
47966,
583,
2429,
567,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
41364,
62,
35850,
62,
12924,
33737,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
11321,
62,
41364,
62,
35850,
13,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
810,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
41364,
62,
11487,
13,
66,
13,
312,
6624,
20128,
62,
11487,
13,
66,
13,
41364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
16302,
295,
62,
11487,
13,
66,
13,
312,
6624,
5001,
62,
11487,
13,
66,
13,
16302,
295,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
79,
18737,
62,
11487,
13,
66,
13,
312,
6624,
7846,
62,
11487,
13,
66,
13,
79,
18737,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
35850,
62,
12924,
33737,
796,
48260,
13,
41049,
7,
19738,
62,
41364,
62,
35850,
62,
12924,
33737,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
2566,
2646,
1619,
22041,
31028,
127,
117,
14688,
3029,
72,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2386,
4033,
64,
920,
4873,
583,
267,
4593,
72,
2429,
567,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
5577,
4674,
62,
41364,
62,
35850,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
13,
16345,
7,
79,
18737,
62,
11487,
13,
66,
13,
23350,
737,
18242,
10786,
35850,
62,
9183,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
737,
3003,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
41364,
62,
11487,
13,
66,
13,
312,
6624,
20128,
62,
11487,
13,
66,
13,
41364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
16302,
295,
62,
11487,
13,
66,
13,
312,
6624,
5001,
62,
11487,
13,
66,
13,
16302,
295,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
8094,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
2875,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
10786,
35850,
62,
9183,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
35850,
62,
31504,
796,
48260,
13,
41049,
7,
19738,
62,
5577,
4674,
62,
41364,
62,
35850,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
2566,
2646,
31028,
127,
117,
1461,
349,
2743,
1291,
1312,
5456,
72,
1619,
22041,
287,
2779,
477,
6,
316,
24247,
287,
2760,
500,
48924,
4528,
3384,
298,
72,
31028,
127,
117,
308,
16664,
3216,
257,
72,
31028,
127,
117,
43030,
11072,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
583,
267,
4593,
72,
2429,
567,
11,
4140,
72,
3367,
78,
443,
7751,
494,
288,
6,
316,
24247,
1125,
2376,
384,
5162,
29941,
2566,
31028,
127,
117,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1941,
796,
4818,
8079,
13,
2197,
22446,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
27962,
796,
48260,
13,
41049,
7,
19738,
26933,
35850,
62,
11487,
35944,
2875,
62,
1525,
7,
35850,
62,
11487,
13,
66,
13,
3672,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
35850,
62,
12924,
33737,
62,
1525,
62,
496,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1339,
7,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1126,
1031,
7935,
16278,
321,
3970,
390,
72,
6124,
72,
583,
8591,
537,
8717,
5708,
1339,
198,
220,
220,
220,
220,
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,
220,
220,
220,
220,
357,
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,
357,
14421,
62,
1941,
532,
25439,
13,
2302,
974,
10786,
1941,
3256,
2836,
62,
11487,
13,
66,
13,
24280,
4475,
8,
18189,
2479,
62,
8094,
17816,
9688,
6,
12962,
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,
1222,
357,
14421,
62,
1941,
532,
25439,
13,
2302,
974,
10786,
1941,
3256,
2836,
62,
11487,
13,
66,
13,
24280,
4475,
8,
19841,
2479,
62,
8094,
17816,
437,
20520,
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,
2479,
62,
8094,
17816,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2479,
62,
8094,
287,
317,
8264,
62,
10761,
2606,
3705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
62,
11639,
3064,
10,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
18242,
10786,
496,
62,
8094,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
13,
9127,
22446,
18242,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
737,
3003,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
41364,
62,
11487,
13,
66,
13,
312,
6624,
20128,
62,
11487,
13,
66,
13,
41364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
16302,
295,
62,
11487,
13,
66,
13,
312,
6624,
5001,
62,
11487,
13,
66,
13,
16302,
295,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
79,
18737,
62,
11487,
13,
66,
13,
312,
6624,
7846,
62,
11487,
13,
66,
13,
79,
18737,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
79,
18737,
62,
11487,
13,
66,
13,
37301,
17410,
6624,
6074,
62,
24396,
62,
11487,
13,
66,
13,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
37301,
62,
24396,
62,
11487,
13,
66,
13,
7220,
6624,
2836,
62,
11487,
13,
66,
13,
29460,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
8094,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
496,
62,
8094,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
11487,
13,
66,
13,
35850,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
2875,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
2617,
796,
48260,
13,
41049,
7,
19738,
62,
35850,
62,
12924,
33737,
62,
1525,
62,
496,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
4868,
796,
1255,
62,
2617,
13,
69,
7569,
439,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
796,
1391,
12121,
17816,
3672,
6,
5974,
17635,
329,
12121,
287,
27962,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
796,
1391,
2479,
62,
8094,
17816,
3672,
6,
5974,
17635,
329,
2479,
62,
8094,
287,
317,
8264,
62,
10761,
2606,
3705,
1782,
628,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
1255,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
58,
808,
17816,
35850,
20520,
4083,
33295,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
496,
62,
8094,
10354,
5752,
17816,
496,
62,
8094,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43350,
62,
9127,
10354,
5752,
17816,
43350,
62,
9127,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
58,
808,
17816,
496,
62,
8094,
20520,
4083,
33295,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
35850,
10354,
5752,
17816,
35850,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43350,
62,
9127,
10354,
5752,
17816,
43350,
62,
9127,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4179,
64,
1312,
6106,
586,
7246,
257,
513,
583,
267,
4593,
72,
4253,
7661,
198,
220,
220,
220,
220,
220,
220,
220,
27564,
2043,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
329,
12121,
287,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
58,
35850,
60,
796,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
58,
35850,
7131,
25,
43,
3955,
2043,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2479,
62,
8094,
287,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
58,
496,
62,
8094,
60,
796,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
58,
496,
62,
8094,
7131,
25,
43,
3955,
2043,
60,
628,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
31028,
127,
117,
401,
35657,
299,
417,
5182,
3396,
4528,
3789,
25236,
860,
18842,
72,
1291,
1312,
2646,
386,
1155,
83,
7246,
288,
282,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
11321,
62,
41364,
62,
35850,
62,
83,
10920,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
11321,
62,
41364,
62,
35850,
13,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
810,
7,
271,
62,
49921,
7,
41364,
62,
11487,
13,
66,
13,
20979,
10430,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2219,
62,
41364,
62,
35850,
62,
83,
10920,
796,
48260,
13,
41049,
7,
19738,
62,
11321,
62,
41364,
62,
35850,
62,
83,
10920,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
2566,
2646,
31028,
127,
117,
1461,
349,
2743,
3396,
4528,
3789,
25236,
860,
18842,
72,
1291,
1312,
5456,
72,
1619,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
41364,
62,
35850,
62,
12924,
33737,
62,
83,
10920,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
41364,
62,
35850,
62,
12924,
33737,
13,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
810,
7,
271,
62,
49921,
7,
41364,
62,
11487,
13,
66,
13,
20979,
10430,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
35850,
62,
12924,
33737,
62,
83,
10920,
796,
48260,
13,
41049,
7,
19738,
62,
41364,
62,
35850,
62,
12924,
33737,
62,
83,
10920,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
1152,
72,
2566,
2646,
1619,
22041,
31028,
127,
117,
14688,
3029,
72,
2469,
4528,
3789,
25236,
860,
18842,
72,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
5577,
4674,
62,
41364,
62,
35850,
62,
83,
10920,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
5577,
4674,
62,
41364,
62,
35850,
13,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
810,
7,
271,
62,
49921,
7,
41364,
62,
11487,
13,
66,
13,
20979,
10430,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3807,
62,
35850,
62,
31504,
62,
83,
10920,
796,
48260,
13,
41049,
7,
19738,
62,
5577,
4674,
62,
41364,
62,
35850,
62,
83,
10920,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1278,
72,
708,
10145,
31028,
127,
117,
1461,
349,
2743,
1291,
1312,
5456,
72,
1619,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
708,
10145,
1125,
289,
1236,
78,
10817,
9390,
31028,
127,
117,
1263,
75,
1155,
20259,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
47568,
62,
529,
669,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
82,
700,
480,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
13,
9127,
22446,
18242,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
737,
3003,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
2701,
62,
19522,
62,
11487,
13,
66,
13,
312,
6624,
8674,
62,
41364,
62,
11487,
13,
66,
13,
11218,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
11218,
62,
41364,
62,
11487,
13,
66,
13,
41364,
6624,
3807,
62,
11487,
13,
66,
13,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
41364,
62,
11487,
13,
66,
13,
312,
6624,
20128,
62,
11487,
13,
66,
13,
41364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
16302,
295,
62,
11487,
13,
66,
13,
312,
6624,
5001,
62,
11487,
13,
66,
13,
16302,
295,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
79,
18737,
62,
11487,
13,
66,
13,
312,
6624,
7846,
62,
11487,
13,
66,
13,
79,
18737,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
8094,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
2875,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
32374,
7,
1495,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2968,
62,
529,
669,
796,
48260,
13,
41049,
7,
19738,
62,
47568,
62,
529,
669,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
749,
430,
1312,
4214,
72,
31028,
127,
117,
1461,
349,
2743,
1291,
1312,
5456,
72,
1619,
22041,
287,
2760,
500,
1729,
269,
26505,
68,
357,
12501,
26505,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4214,
72,
1125,
289,
1236,
78,
10817,
9390,
31028,
127,
117,
1263,
75,
1155,
20259,
198,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
47568,
62,
12942,
669,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
82,
700,
480,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
13,
9127,
22446,
18242,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
737,
3003,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
2701,
62,
19522,
62,
11487,
13,
66,
13,
312,
6624,
3807,
62,
11487,
13,
66,
13,
35248,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
41364,
62,
11487,
13,
66,
13,
312,
6624,
20128,
62,
11487,
13,
66,
13,
41364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
16302,
295,
62,
11487,
13,
66,
13,
312,
6624,
5001,
62,
11487,
13,
66,
13,
16302,
295,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1222,
357,
79,
18737,
62,
11487,
13,
66,
13,
312,
6624,
7846,
62,
11487,
13,
66,
13,
79,
18737,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
8094,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3350,
62,
19522,
62,
11487,
13,
66,
13,
312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
2875,
62,
1525,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
10786,
43350,
62,
9127,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
32374,
7,
1495,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2968,
62,
12942,
669,
796,
48260,
13,
41049,
7,
19738,
62,
47568,
62,
12942,
669,
8,
628,
220,
220,
220,
1303,
8543,
9990,
24696,
258,
2386,
4033,
378,
198,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
42460,
14,
14269,
3969,
13,
6494,
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,
2219,
62,
41364,
62,
35850,
28,
11321,
62,
41364,
62,
35850,
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,
3807,
62,
35850,
62,
12924,
33737,
28,
41364,
62,
35850,
62,
12924,
33737,
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,
3807,
62,
35850,
62,
31504,
28,
41364,
62,
35850,
62,
31504,
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,
2219,
62,
41364,
62,
35850,
62,
83,
10920,
28,
11321,
62,
41364,
62,
35850,
62,
83,
10920,
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,
3807,
62,
35850,
62,
12924,
33737,
62,
83,
10920,
28,
41364,
62,
35850,
62,
12924,
33737,
62,
83,
10920,
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,
3807,
62,
35850,
62,
31504,
62,
83,
10920,
28,
41364,
62,
35850,
62,
31504,
62,
83,
10920,
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,
12121,
62,
12924,
33737,
62,
1525,
62,
496,
28,
35850,
62,
12924,
33737,
62,
1525,
62,
496,
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,
2479,
62,
12924,
33737,
62,
1525,
62,
35850,
28,
496,
62,
12924,
33737,
62,
1525,
62,
35850,
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,
2968,
62,
529,
669,
28,
47568,
62,
529,
669,
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,
2968,
62,
12942,
669,
28,
47568,
62,
12942,
669,
8,
198
] | 2.074137 | 14,797 |
#! /usr/bin/env python
"""
Routines to extract compounds from ZINC Database: http://zinc.docking.org/
These routines were developed by:
Rodrigo Antonio Faccioli - [email protected] / [email protected]
Leandro Oliveira Bortot - [email protected] / [email protected]
"""
import ConfigParser as configparser
import os
import shutil
import gzip
def number_files_of_molecule(molecule_name, path_save_mol2):
"""
Return the number of files at path_save_mol2 that contain molecule_name in filename
Example:
>>> number = number_files_of_molecule(molecule_name, path_save_mol2)
@param molecule_name: main name of molecule
@type molecule_name: string
@param path_save_mol2: path of mol2 files will be saved
@type path_save_mol2: string
@return: the number of files that have molecule_name in their names
@rtype: int
"""
number = 0
for root, dirs, files in os.walk(path_save_mol2):
for f in files:
if f.endswith(".mol2"):
if str(f).find(molecule_name) >=0:
number = number + 1
return number
def finish_current_molecule(molecule_name, path_save_mol2, temp_file_name_full):
"""
Last procedures for current molecule
Example:
>>> finish_current_molecule(molecule_name, path_save_mol2, temp_file_name_full)
@param molecule_name: main name of molecule
@type molecule_name: string
@param path_save_mol2: path of mol2 files will be saved
@type path_save_mol2: string
@param temp_file_name_full: full path of temp file
@type temp_file_name_full: string
"""
#preparing name of mol2 file
# Checking filenames of molecules based on molecule_name
# Because of isomers, it is necessary to check how many files of
# molecule_name there is in path_save_mol2
mol_name_aux = ''
number_files = number_files_of_molecule(molecule_name, path_save_mol2)
if number_files > 0:
if number_files == 1:
#means that there is only one molecule.
#So it must be renamed with prefix _1
#number_files will be assigned to 2, because
# the current molecule will be second molecule
before_molecule = molecule_name+'.mol2'
before_molecule_mol2 = os.path.join(path_save_mol2, before_molecule)
new_molecule = molecule_name+'_1'+'.mol2'
new_molecule_mol2 = os.path.join(path_save_mol2, new_molecule)
shutil.move(before_molecule_mol2, new_molecule_mol2)
number_files = number_files + 1
mol_name_aux = molecule_name+'_'+str(number_files)
else:
mol_name_aux = molecule_name
mol2_file_name = mol_name_aux+'.mol2'
mol2_file_name_full = os.path.join(path_save_mol2, mol2_file_name)
#creating mol2 file - moving temp file to mol2_file_name_full
shutil.move(temp_file_name_full, mol2_file_name_full)
def split_molecules_from_mol2(pathfilename, path_save_mol2):
"""
Split molecules from mol2 file
Example:
>>> split_molecules_from_mol2(pathfilename, path_save_mol2)
@param pathfilename: full path of file that contains all molecules
@type pathfilename: string
@param path_save_mol2: path of mol2 files will be saved
@type path_save_mol2: string
"""
line_name = True
new_molecule = False
temp_file_name = 'temp.temp'
line_aux = ""
#open full mol2 file
fmol2_all = open(pathfilename, "r")
##open temp file for first molecule
temp_file_name_full = os.path.join(path_save_mol2, temp_file_name)
fmol2_temp = open(temp_file_name_full, "w")
#Obtain first line from full mol2 file
line = fmol2_all.readline()
fmol2_temp.write(line)
for line in fmol2_all:
if line.find("@<TRIPOS>MOLECULE") < 0:
#get the molecule name
if line_name == True:
molecule_name = str(line).strip()
line_name = False
fmol2_temp.write(line)
else: # found @<TRIPOS>MOLECULE
#close temp file
fmol2_temp.close()
#finishing the current molecule
finish_current_molecule(molecule_name, path_save_mol2, temp_file_name_full)
#open temp file for new molecue
temp_file_name_full = os.path.join(path_save_mol2, temp_file_name)
fmol2_temp = open(temp_file_name_full, "w")
#assign True to line_name
line_name = True
#assign line to temp file
fmol2_temp.write(line)
#close temp file
fmol2_temp.close()
#finishing the last molecule
finish_current_molecule(molecule_name, path_save_mol2, temp_file_name_full)
main() | [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
220,
198,
220,
220,
220,
39602,
1127,
284,
7925,
16439,
422,
1168,
30158,
24047,
25,
2638,
1378,
89,
1939,
13,
67,
8629,
13,
2398,
14,
198,
220,
220,
220,
2312,
31878,
547,
4166,
416,
25,
198,
220,
220,
220,
46198,
11366,
13585,
979,
11106,
532,
15299,
4359,
78,
13,
38942,
979,
11106,
31,
17723,
13,
1671,
1220,
15299,
4359,
78,
13,
38942,
979,
11106,
31,
14816,
13,
785,
220,
220,
198,
220,
220,
220,
1004,
28092,
30012,
8704,
347,
419,
313,
220,
532,
443,
28092,
13,
65,
419,
313,
31,
17723,
13,
1671,
1220,
443,
28092,
13,
672,
83,
31,
14816,
13,
785,
220,
198,
37811,
198,
198,
11748,
17056,
46677,
355,
4566,
48610,
198,
11748,
28686,
198,
11748,
4423,
346,
220,
198,
11748,
308,
13344,
198,
198,
4299,
1271,
62,
16624,
62,
1659,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
2599,
198,
197,
37811,
198,
220,
220,
220,
8229,
262,
1271,
286,
3696,
379,
3108,
62,
21928,
62,
43132,
17,
326,
3994,
27756,
62,
3672,
287,
29472,
198,
220,
220,
220,
17934,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
1271,
796,
1271,
62,
16624,
62,
1659,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
8,
198,
220,
220,
220,
2488,
17143,
27756,
62,
3672,
25,
1388,
1438,
286,
27756,
198,
220,
220,
220,
2488,
4906,
27756,
62,
3672,
25,
4731,
198,
220,
220,
220,
2488,
17143,
3108,
62,
21928,
62,
43132,
17,
25,
3108,
286,
18605,
17,
3696,
481,
307,
7448,
198,
220,
220,
220,
2488,
4906,
3108,
62,
21928,
62,
43132,
17,
25,
4731,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
7783,
25,
262,
1271,
286,
3696,
326,
423,
27756,
62,
3672,
287,
511,
3891,
198,
220,
220,
220,
2488,
81,
4906,
25,
493,
220,
220,
220,
220,
198,
197,
37811,
198,
197,
17618,
796,
657,
198,
197,
1640,
6808,
11,
288,
17062,
11,
3696,
287,
28686,
13,
11152,
7,
6978,
62,
21928,
62,
43132,
17,
2599,
198,
197,
197,
1640,
277,
287,
3696,
25,
197,
197,
197,
198,
197,
197,
197,
361,
277,
13,
437,
2032,
342,
7,
1911,
43132,
17,
1,
2599,
220,
197,
197,
197,
197,
198,
197,
197,
197,
197,
361,
965,
7,
69,
737,
19796,
7,
76,
2305,
23172,
62,
3672,
8,
18189,
15,
25,
198,
197,
197,
197,
197,
197,
17618,
796,
1271,
1343,
352,
197,
197,
198,
197,
7783,
1271,
198,
198,
4299,
5461,
62,
14421,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
62,
12853,
2599,
198,
197,
37811,
198,
220,
220,
220,
4586,
9021,
329,
1459,
27756,
220,
220,
198,
220,
220,
220,
17934,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
5461,
62,
14421,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
62,
12853,
8,
198,
220,
220,
220,
2488,
17143,
27756,
62,
3672,
25,
1388,
1438,
286,
27756,
198,
220,
220,
220,
2488,
4906,
27756,
62,
3672,
25,
4731,
198,
220,
220,
220,
2488,
17143,
3108,
62,
21928,
62,
43132,
17,
25,
3108,
286,
18605,
17,
3696,
481,
307,
7448,
198,
220,
220,
220,
2488,
4906,
3108,
62,
21928,
62,
43132,
17,
25,
4731,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
17143,
20218,
62,
7753,
62,
3672,
62,
12853,
25,
1336,
3108,
286,
20218,
2393,
198,
220,
220,
220,
2488,
4906,
20218,
62,
7753,
62,
3672,
62,
12853,
25,
4731,
198,
197,
37811,
197,
197,
198,
197,
2,
46012,
1723,
1438,
286,
18605,
17,
2393,
198,
197,
2,
39432,
1226,
268,
1047,
286,
17745,
1912,
319,
27756,
62,
3672,
198,
197,
2,
4362,
286,
318,
21499,
11,
340,
318,
3306,
284,
2198,
703,
867,
3696,
286,
220,
198,
197,
2,
27756,
62,
3672,
612,
318,
287,
3108,
62,
21928,
62,
43132,
17,
197,
197,
198,
197,
43132,
62,
3672,
62,
14644,
796,
10148,
198,
197,
17618,
62,
16624,
796,
1271,
62,
16624,
62,
1659,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
8,
197,
198,
197,
361,
220,
1271,
62,
16624,
1875,
657,
25,
198,
197,
197,
361,
1271,
62,
16624,
6624,
352,
25,
198,
197,
197,
197,
2,
1326,
504,
326,
612,
318,
691,
530,
27756,
13,
198,
197,
197,
197,
2,
2396,
340,
1276,
307,
25121,
351,
21231,
4808,
16,
198,
197,
197,
197,
2,
17618,
62,
16624,
481,
307,
8686,
284,
362,
11,
780,
198,
197,
197,
197,
2,
262,
1459,
27756,
481,
307,
1218,
27756,
197,
197,
197,
198,
197,
197,
197,
19052,
62,
76,
2305,
23172,
796,
27756,
62,
3672,
10,
4458,
43132,
17,
6,
198,
197,
197,
197,
19052,
62,
76,
2305,
23172,
62,
43132,
17,
796,
28686,
13,
6978,
13,
22179,
7,
6978,
62,
21928,
62,
43132,
17,
11,
878,
62,
76,
2305,
23172,
8,
198,
197,
197,
197,
3605,
62,
76,
2305,
23172,
796,
27756,
62,
3672,
10,
6,
62,
16,
6,
10,
4458,
43132,
17,
6,
198,
197,
197,
197,
3605,
62,
76,
2305,
23172,
62,
43132,
17,
796,
28686,
13,
6978,
13,
22179,
7,
6978,
62,
21928,
62,
43132,
17,
11,
649,
62,
76,
2305,
23172,
8,
197,
197,
197,
198,
197,
197,
197,
1477,
22602,
13,
21084,
7,
19052,
62,
76,
2305,
23172,
62,
43132,
17,
11,
649,
62,
76,
2305,
23172,
62,
43132,
17,
8,
198,
197,
197,
17618,
62,
16624,
796,
1271,
62,
16624,
1343,
352,
197,
197,
197,
198,
197,
197,
43132,
62,
3672,
62,
14644,
796,
27756,
62,
3672,
10,
6,
62,
6,
10,
2536,
7,
17618,
62,
16624,
8,
198,
197,
17772,
25,
198,
197,
197,
43132,
62,
3672,
62,
14644,
796,
27756,
62,
3672,
198,
197,
43132,
17,
62,
7753,
62,
3672,
796,
18605,
62,
3672,
62,
14644,
10,
4458,
43132,
17,
6,
198,
197,
43132,
17,
62,
7753,
62,
3672,
62,
12853,
796,
28686,
13,
6978,
13,
22179,
7,
6978,
62,
21928,
62,
43132,
17,
11,
18605,
17,
62,
7753,
62,
3672,
8,
198,
197,
2,
20123,
278,
18605,
17,
2393,
532,
3867,
20218,
2393,
284,
18605,
17,
62,
7753,
62,
3672,
62,
12853,
197,
197,
197,
198,
197,
1477,
22602,
13,
21084,
7,
29510,
62,
7753,
62,
3672,
62,
12853,
11,
18605,
17,
62,
7753,
62,
3672,
62,
12853,
8,
198,
198,
4299,
6626,
62,
76,
2305,
13930,
62,
6738,
62,
43132,
17,
7,
6978,
34345,
11,
3108,
62,
21928,
62,
43132,
17,
2599,
198,
197,
37811,
198,
220,
220,
220,
27758,
17745,
422,
18605,
17,
2393,
198,
220,
220,
220,
17934,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
6626,
62,
76,
2305,
13930,
62,
6738,
62,
43132,
17,
7,
6978,
34345,
11,
3108,
62,
21928,
62,
43132,
17,
8,
198,
220,
220,
220,
2488,
17143,
3108,
34345,
25,
1336,
3108,
286,
2393,
326,
4909,
477,
17745,
198,
220,
220,
220,
2488,
4906,
3108,
34345,
25,
4731,
198,
220,
220,
220,
2488,
17143,
3108,
62,
21928,
62,
43132,
17,
25,
3108,
286,
18605,
17,
3696,
481,
307,
7448,
198,
220,
220,
220,
2488,
4906,
3108,
62,
21928,
62,
43132,
17,
25,
4731,
220,
220,
220,
220,
198,
197,
37811,
197,
198,
197,
1370,
62,
3672,
796,
6407,
198,
197,
3605,
62,
76,
2305,
23172,
796,
10352,
197,
198,
197,
29510,
62,
7753,
62,
3672,
796,
705,
29510,
13,
29510,
6,
198,
197,
1370,
62,
14644,
796,
13538,
628,
197,
2,
9654,
1336,
18605,
17,
2393,
198,
197,
38353,
349,
17,
62,
439,
796,
1280,
7,
6978,
34345,
11,
366,
81,
4943,
198,
197,
2235,
9654,
20218,
2393,
329,
717,
27756,
198,
197,
29510,
62,
7753,
62,
3672,
62,
12853,
796,
28686,
13,
6978,
13,
22179,
7,
6978,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
8,
198,
197,
38353,
349,
17,
62,
29510,
796,
1280,
7,
29510,
62,
7753,
62,
3672,
62,
12853,
11,
366,
86,
4943,
198,
197,
2,
5944,
3153,
717,
1627,
422,
1336,
18605,
17,
2393,
198,
197,
1370,
796,
277,
43132,
17,
62,
439,
13,
961,
1370,
3419,
198,
197,
38353,
349,
17,
62,
29510,
13,
13564,
7,
1370,
8,
198,
197,
1640,
1627,
287,
277,
43132,
17,
62,
439,
25,
198,
197,
197,
361,
1627,
13,
19796,
7203,
31,
27,
5446,
4061,
2640,
29,
11770,
2538,
34,
24212,
4943,
1279,
657,
25,
198,
197,
197,
197,
2,
1136,
262,
27756,
1438,
198,
197,
197,
197,
361,
1627,
62,
3672,
6624,
6407,
25,
198,
197,
197,
197,
197,
76,
2305,
23172,
62,
3672,
796,
965,
7,
1370,
737,
36311,
3419,
198,
197,
197,
197,
197,
1370,
62,
3672,
796,
10352,
197,
197,
197,
198,
197,
197,
197,
38353,
349,
17,
62,
29510,
13,
13564,
7,
1370,
8,
198,
197,
197,
17772,
25,
1303,
1043,
2488,
27,
5446,
4061,
2640,
29,
11770,
2538,
34,
24212,
198,
197,
197,
197,
2,
19836,
20218,
2393,
198,
197,
197,
197,
38353,
349,
17,
62,
29510,
13,
19836,
3419,
198,
197,
197,
197,
2,
15643,
3929,
262,
1459,
27756,
198,
197,
197,
197,
15643,
680,
62,
14421,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
62,
12853,
8,
197,
197,
197,
198,
197,
197,
197,
2,
9654,
20218,
2393,
329,
649,
9411,
15509,
198,
197,
197,
197,
29510,
62,
7753,
62,
3672,
62,
12853,
796,
28686,
13,
6978,
13,
22179,
7,
6978,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
8,
198,
197,
197,
197,
38353,
349,
17,
62,
29510,
796,
1280,
7,
29510,
62,
7753,
62,
3672,
62,
12853,
11,
366,
86,
4943,
198,
197,
197,
197,
2,
562,
570,
6407,
284,
1627,
62,
3672,
198,
197,
197,
197,
1370,
62,
3672,
796,
6407,
198,
197,
197,
197,
2,
562,
570,
1627,
284,
20218,
2393,
198,
197,
197,
197,
38353,
349,
17,
62,
29510,
13,
13564,
7,
1370,
8,
198,
197,
2,
19836,
20218,
2393,
198,
197,
38353,
349,
17,
62,
29510,
13,
19836,
3419,
198,
197,
2,
15643,
3929,
262,
938,
27756,
198,
197,
15643,
680,
62,
14421,
62,
76,
2305,
23172,
7,
76,
2305,
23172,
62,
3672,
11,
3108,
62,
21928,
62,
43132,
17,
11,
20218,
62,
7753,
62,
3672,
62,
12853,
8,
197,
197,
197,
198,
198,
12417,
3419
] | 2.513249 | 1,736 |
import spherpro.bromodules.io_anndata as io_ann
import spherpro.bromodules.io_imcfolder as io_imc
import spherpro.bromodules.io_masks as io_masks
import spherpro.bromodules.io_stackimage as io_stackimage
| [
11748,
599,
372,
1676,
13,
65,
398,
375,
5028,
13,
952,
62,
272,
358,
1045,
355,
33245,
62,
1236,
198,
11748,
599,
372,
1676,
13,
65,
398,
375,
5028,
13,
952,
62,
320,
66,
43551,
355,
33245,
62,
320,
66,
198,
11748,
599,
372,
1676,
13,
65,
398,
375,
5028,
13,
952,
62,
5356,
591,
355,
33245,
62,
5356,
591,
198,
11748,
599,
372,
1676,
13,
65,
398,
375,
5028,
13,
952,
62,
25558,
9060,
355,
33245,
62,
25558,
9060,
628
] | 2.530864 | 81 |
import numpy as np
from keras.models import load_model
from keras_preprocessing.sequence import pad_sequences
from keras_preprocessing.text import Tokenizer
from lab4.utils import clean_text
model = load_model('my_model.h5')
texts = ['It was my fault I let you control me',
'If I was gone tomorrow would you regret what you did to me today',
'I blame myself for everything that happens',
'Ahh yes....good morning @davidlabrava I hope you have a good day #Happy',
'tell him much of their fans are infected with their own terrible disease..... cruel untempered #hate ',
'There are some at Trump rallies who love his hate speeches against the media, immigrants and critics of any kind. They love to hate',
'A Farce FRAUD and Waste of resources and money! This is @realDonaldTrump using #Hate to divide as well as desperate move to stay in power! #VoteBlueToSaveAmerica from the Nationalist #Republicans']
texts = [clean_text(text) for text in texts]
unique_words = len(set(" ".join(texts).split()))
longest_sentence = max([len(text.split()) for text in texts])
vocabulary_size = 20000
tokenizer = Tokenizer(num_words=vocabulary_size)
tokenizer.fit_on_texts(texts)
sequences = tokenizer.texts_to_sequences(texts)
data = pad_sequences(sequences, maxlen=80)
result = model.predict(data)
types = ['joy', 'fear', 'anger', 'sadness', 'disgust', 'shame', 'guilt']
k = [np.argmax(res) for res in result]
print(type(k))
print([types[i] for i in k])
#'sadness', 'joy', 'guilt', 'joy', 'joy', 'sadness', 'sadness' | [
11748,
299,
32152,
355,
45941,
198,
6738,
41927,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
6738,
41927,
292,
62,
3866,
36948,
13,
43167,
1330,
14841,
62,
3107,
3007,
198,
6738,
41927,
292,
62,
3866,
36948,
13,
5239,
1330,
29130,
7509,
198,
198,
6738,
2248,
19,
13,
26791,
1330,
3424,
62,
5239,
198,
198,
19849,
796,
3440,
62,
19849,
10786,
1820,
62,
19849,
13,
71,
20,
11537,
198,
198,
5239,
82,
796,
37250,
1026,
373,
616,
8046,
314,
1309,
345,
1630,
502,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1532,
314,
373,
3750,
9439,
561,
345,
13721,
644,
345,
750,
284,
502,
1909,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40,
8138,
3589,
329,
2279,
326,
4325,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10910,
71,
3763,
1106,
11274,
3329,
2488,
67,
8490,
23912,
4108,
64,
314,
2911,
345,
423,
257,
922,
1110,
1303,
25082,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33331,
683,
881,
286,
511,
3296,
389,
14112,
351,
511,
898,
7818,
4369,
12359,
12177,
1418,
368,
13653,
1303,
37035,
46083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1858,
389,
617,
379,
1301,
22558,
508,
1842,
465,
5465,
18138,
1028,
262,
2056,
11,
7971,
290,
9188,
286,
597,
1611,
13,
1119,
1842,
284,
5465,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32,
6755,
344,
376,
3861,
8322,
290,
35304,
286,
4133,
290,
1637,
0,
770,
318,
2488,
28024,
1262,
1303,
39,
378,
284,
14083,
355,
880,
355,
12111,
1445,
284,
2652,
287,
1176,
0,
1303,
37394,
14573,
2514,
16928,
18165,
422,
262,
2351,
396,
1303,
28455,
20520,
198,
198,
5239,
82,
796,
685,
27773,
62,
5239,
7,
5239,
8,
329,
2420,
287,
13399,
60,
198,
198,
34642,
62,
10879,
796,
18896,
7,
2617,
7203,
27071,
22179,
7,
5239,
82,
737,
35312,
3419,
4008,
198,
6511,
395,
62,
34086,
594,
796,
3509,
26933,
11925,
7,
5239,
13,
35312,
28955,
329,
2420,
287,
13399,
12962,
198,
198,
18893,
22528,
62,
7857,
796,
939,
405,
198,
30001,
7509,
796,
29130,
7509,
7,
22510,
62,
10879,
28,
18893,
22528,
62,
7857,
8,
198,
30001,
7509,
13,
11147,
62,
261,
62,
5239,
82,
7,
5239,
82,
8,
198,
3107,
3007,
796,
11241,
7509,
13,
5239,
82,
62,
1462,
62,
3107,
3007,
7,
5239,
82,
8,
198,
7890,
796,
14841,
62,
3107,
3007,
7,
3107,
3007,
11,
3509,
11925,
28,
1795,
8,
198,
198,
20274,
796,
2746,
13,
79,
17407,
7,
7890,
8,
198,
198,
19199,
796,
37250,
2633,
3256,
705,
69,
451,
3256,
705,
2564,
3256,
705,
82,
324,
1108,
3256,
705,
6381,
70,
436,
3256,
705,
1477,
480,
3256,
705,
5162,
2326,
20520,
198,
198,
74,
796,
685,
37659,
13,
853,
9806,
7,
411,
8,
329,
581,
287,
1255,
60,
198,
4798,
7,
4906,
7,
74,
4008,
198,
4798,
26933,
19199,
58,
72,
60,
329,
1312,
287,
479,
12962,
198,
198,
2,
6,
82,
324,
1108,
3256,
705,
2633,
3256,
705,
5162,
2326,
3256,
705,
2633,
3256,
705,
2633,
3256,
705,
82,
324,
1108,
3256,
705,
82,
324,
1108,
6
] | 3 | 521 |
# Copyright (c) MONAI Consortium
# 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 typing import Optional, Sequence, Union
import numpy as np
import torch
import torch.nn as nn
from monai.networks.blocks import Convolution, ResidualUnit
from monai.networks.layers.convutils import calculate_out_shape, same_padding
from monai.networks.layers.factories import Act, Norm
from monai.networks.layers.simplelayers import Reshape
from monai.utils import ensure_tuple, ensure_tuple_rep
__all__ = ["Regressor"]
class Regressor(nn.Module):
"""
This defines a network for relating large-sized input tensors to small output tensors, ie. regressing large
values to a prediction. An output of a single dimension can be used as value regression or multi-label
classification prediction, an output of a single value can be used as a discriminator or critic prediction.
The network is constructed as a sequence of layers, either :py:class:`monai.networks.blocks.Convolution` or
:py:class:`monai.networks.blocks.ResidualUnit`, with a final fully-connected layer resizing the output from the
blocks to the final size. Each block is defined with a stride value typically used to downsample the input using
strided convolutions. In this way each block progressively condenses information from the input into a deep
representation the final fully-connected layer relates to a final result.
Args:
in_shape: tuple of integers stating the dimension of the input tensor (minus batch dimension)
out_shape: tuple of integers stating the dimension of the final output tensor (minus batch dimension)
channels: tuple of integers stating the output channels of each convolutional layer
strides: tuple of integers stating the stride (downscale factor) of each convolutional layer
kernel_size: integer or tuple of integers stating size of convolutional kernels
num_res_units: integer stating number of convolutions in residual units, 0 means no residual units
act: name or type defining activation layers
norm: name or type defining normalization layers
dropout: optional float value in range [0, 1] stating dropout probability for layers, None for no dropout
bias: boolean stating if convolution layers should have a bias component
Examples::
# infers a 2-value result (eg. a 2D cartesian coordinate) from a 64x64 image
net = Regressor((1, 64, 64), (2,), (2, 4, 8), (2, 2, 2))
"""
def _get_layer(
self, in_channels: int, out_channels: int, strides: int, is_last: bool
) -> Union[ResidualUnit, Convolution]:
"""
Returns a layer accepting inputs with `in_channels` number of channels and producing outputs of `out_channels`
number of channels. The `strides` indicates downsampling factor, ie. convolutional stride. If `is_last`
is True this is the final layer and is not expected to include activation and normalization layers.
"""
layer: Union[ResidualUnit, Convolution]
if self.num_res_units > 0:
layer = ResidualUnit(
subunits=self.num_res_units,
last_conv_only=is_last,
spatial_dims=self.dimensions,
in_channels=in_channels,
out_channels=out_channels,
strides=strides,
kernel_size=self.kernel_size,
act=self.act,
norm=self.norm,
dropout=self.dropout,
bias=self.bias,
)
else:
layer = Convolution(
conv_only=is_last,
spatial_dims=self.dimensions,
in_channels=in_channels,
out_channels=out_channels,
strides=strides,
kernel_size=self.kernel_size,
act=self.act,
norm=self.norm,
dropout=self.dropout,
bias=self.bias,
)
return layer
| [
2,
15069,
357,
66,
8,
25000,
20185,
42727,
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,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
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,
6738,
19720,
1330,
32233,
11,
45835,
11,
4479,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
198,
6738,
937,
1872,
13,
3262,
5225,
13,
27372,
1330,
34872,
2122,
11,
1874,
312,
723,
26453,
198,
6738,
937,
1872,
13,
3262,
5225,
13,
75,
6962,
13,
42946,
26791,
1330,
15284,
62,
448,
62,
43358,
11,
976,
62,
39231,
198,
6738,
937,
1872,
13,
3262,
5225,
13,
75,
6962,
13,
22584,
1749,
1330,
2191,
11,
11220,
198,
6738,
937,
1872,
13,
3262,
5225,
13,
75,
6962,
13,
36439,
75,
6962,
1330,
1874,
71,
1758,
198,
6738,
937,
1872,
13,
26791,
1330,
4155,
62,
83,
29291,
11,
4155,
62,
83,
29291,
62,
7856,
198,
198,
834,
439,
834,
796,
14631,
8081,
44292,
8973,
628,
198,
4871,
3310,
44292,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
15738,
257,
3127,
329,
11270,
1588,
12,
13982,
5128,
11192,
669,
284,
1402,
5072,
11192,
669,
11,
37941,
13,
842,
11697,
1588,
198,
220,
220,
220,
3815,
284,
257,
17724,
13,
1052,
5072,
286,
257,
2060,
15793,
460,
307,
973,
355,
1988,
20683,
393,
5021,
12,
18242,
198,
220,
220,
220,
17923,
17724,
11,
281,
5072,
286,
257,
2060,
1988,
460,
307,
973,
355,
257,
6534,
20900,
393,
4014,
17724,
13,
628,
220,
220,
220,
383,
3127,
318,
12006,
355,
257,
8379,
286,
11685,
11,
2035,
1058,
9078,
25,
4871,
25,
63,
2144,
1872,
13,
3262,
5225,
13,
27372,
13,
3103,
85,
2122,
63,
393,
198,
220,
220,
220,
1058,
9078,
25,
4871,
25,
63,
2144,
1872,
13,
3262,
5225,
13,
27372,
13,
4965,
312,
723,
26453,
47671,
351,
257,
2457,
3938,
12,
15236,
7679,
581,
2890,
262,
5072,
422,
262,
198,
220,
220,
220,
7021,
284,
262,
2457,
2546,
13,
5501,
2512,
318,
5447,
351,
257,
33769,
1988,
6032,
973,
284,
21838,
1403,
262,
5128,
1262,
198,
220,
220,
220,
965,
1384,
3063,
14191,
13,
554,
428,
835,
1123,
2512,
34322,
1779,
4541,
1321,
422,
262,
5128,
656,
257,
2769,
198,
220,
220,
220,
10552,
262,
2457,
3938,
12,
15236,
7679,
18436,
284,
257,
2457,
1255,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
287,
62,
43358,
25,
46545,
286,
37014,
12316,
262,
15793,
286,
262,
5128,
11192,
273,
357,
40191,
15458,
15793,
8,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
43358,
25,
46545,
286,
37014,
12316,
262,
15793,
286,
262,
2457,
5072,
11192,
273,
357,
40191,
15458,
15793,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9619,
25,
46545,
286,
37014,
12316,
262,
5072,
9619,
286,
1123,
3063,
2122,
282,
7679,
198,
220,
220,
220,
220,
220,
220,
220,
35002,
25,
46545,
286,
37014,
12316,
262,
33769,
357,
2902,
9888,
5766,
8,
286,
1123,
3063,
2122,
282,
7679,
198,
220,
220,
220,
220,
220,
220,
220,
9720,
62,
7857,
25,
18253,
393,
46545,
286,
37014,
12316,
2546,
286,
3063,
2122,
282,
50207,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
411,
62,
41667,
25,
18253,
12316,
1271,
286,
3063,
14191,
287,
29598,
4991,
11,
657,
1724,
645,
29598,
4991,
198,
220,
220,
220,
220,
220,
220,
220,
719,
25,
1438,
393,
2099,
16215,
14916,
11685,
198,
220,
220,
220,
220,
220,
220,
220,
2593,
25,
1438,
393,
2099,
16215,
3487,
1634,
11685,
198,
220,
220,
220,
220,
220,
220,
220,
4268,
448,
25,
11902,
12178,
1988,
287,
2837,
685,
15,
11,
352,
60,
12316,
4268,
448,
12867,
329,
11685,
11,
6045,
329,
645,
4268,
448,
198,
220,
220,
220,
220,
220,
220,
220,
10690,
25,
25131,
12316,
611,
3063,
2122,
11685,
815,
423,
257,
10690,
7515,
628,
220,
220,
220,
21066,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1167,
364,
257,
362,
12,
8367,
1255,
357,
1533,
13,
257,
362,
35,
6383,
35610,
20435,
8,
422,
257,
5598,
87,
2414,
2939,
198,
220,
220,
220,
220,
220,
220,
220,
2010,
796,
3310,
44292,
19510,
16,
11,
5598,
11,
5598,
828,
357,
17,
11,
828,
357,
17,
11,
604,
11,
807,
828,
357,
17,
11,
362,
11,
362,
4008,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
4808,
1136,
62,
29289,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
287,
62,
354,
8961,
25,
493,
11,
503,
62,
354,
8961,
25,
493,
11,
35002,
25,
493,
11,
318,
62,
12957,
25,
20512,
198,
220,
220,
220,
1267,
4613,
4479,
58,
4965,
312,
723,
26453,
11,
34872,
2122,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
257,
7679,
12598,
17311,
351,
4600,
259,
62,
354,
8961,
63,
1271,
286,
9619,
290,
9194,
23862,
286,
4600,
448,
62,
354,
8961,
63,
198,
220,
220,
220,
220,
220,
220,
220,
1271,
286,
9619,
13,
383,
4600,
2536,
1460,
63,
9217,
21838,
321,
11347,
5766,
11,
37941,
13,
3063,
2122,
282,
33769,
13,
1002,
4600,
271,
62,
12957,
63,
198,
220,
220,
220,
220,
220,
220,
220,
318,
6407,
428,
318,
262,
2457,
7679,
290,
318,
407,
2938,
284,
2291,
14916,
290,
3487,
1634,
11685,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
7679,
25,
4479,
58,
4965,
312,
723,
26453,
11,
34872,
2122,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
22510,
62,
411,
62,
41667,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7679,
796,
1874,
312,
723,
26453,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
41667,
28,
944,
13,
22510,
62,
411,
62,
41667,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
938,
62,
42946,
62,
8807,
28,
271,
62,
12957,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21739,
62,
67,
12078,
28,
944,
13,
27740,
5736,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
354,
8961,
28,
259,
62,
354,
8961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
62,
354,
8961,
28,
448,
62,
354,
8961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35002,
28,
2536,
1460,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9720,
62,
7857,
28,
944,
13,
33885,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
719,
28,
944,
13,
529,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2593,
28,
944,
13,
27237,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4268,
448,
28,
944,
13,
14781,
448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10690,
28,
944,
13,
65,
4448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7679,
796,
34872,
2122,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3063,
62,
8807,
28,
271,
62,
12957,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21739,
62,
67,
12078,
28,
944,
13,
27740,
5736,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
354,
8961,
28,
259,
62,
354,
8961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
62,
354,
8961,
28,
448,
62,
354,
8961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35002,
28,
2536,
1460,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9720,
62,
7857,
28,
944,
13,
33885,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
719,
28,
944,
13,
529,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2593,
28,
944,
13,
27237,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4268,
448,
28,
944,
13,
14781,
448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10690,
28,
944,
13,
65,
4448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
7679,
198
] | 2.754568 | 1,642 |
import time
from collections import Counter
| [
11748,
640,
198,
6738,
17268,
1330,
15034,
628
] | 5.625 | 8 |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 21 20:22:37 2018
@author: gtucker
"""
import sys
import numpy as np
from percolation import Percolator
FULL = 1 # code for full cell in 'cell' array, used for plotting (only)
class PercTester(object):
"""A PercTester implements testing of percolation on a square lattice with
iterative opening of randomly selected cells."""
def __init__(self, n, plot_interval=0, seed=0):
"""Initialize the PercTester."""
self.p = Percolator(n)
self.n = n
self.closed_cells = np.arange(n*n)
self.num_closed_cells = n * n
np.random.seed(seed)
self.plot_interval = plot_interval
if plot_interval > 0:
self.cell = np.zeros((n, n), dtype=int)
def _pick_random_closed_cell(self):
"""Choose a closed cell at random and return its row and column.
Notes
-----
Assumes valid cells are those in indices < num_closed_cells. To help
ensure this, swaps contents of chosen index with the last valid index.
Examples
--------
>>> pt = PercTester(2)
>>> pt.closed_cells
array([0, 1, 2, 3])
>>> pt._pick_random_closed_cell()
(1, 1)
>>> pt.closed_cells
array([3, 1, 2, 0])
"""
r = np.random.randint(self.num_closed_cells)
cell_id = self.closed_cells[r]
# swap the id at r with the id at num_closed_cells
self.closed_cells[r] = self.closed_cells[self.num_closed_cells - 1]
self.closed_cells[self.num_closed_cells - 1] = cell_id
# for debug
r, c = self._cell_id_to_row_col(cell_id)
if self.p.is_open(r, c):
print('uh oh, cell is already open')
return self._cell_id_to_row_col(cell_id)
def _cell_id_to_row_col(self, cell_id):
"""Return cell id corresponding to a given row and column.
Examples
--------
>>> pt = PercTester(2)
>>> pt._cell_id_to_row_col(0)
(1, 1)
>>> pt._cell_id_to_row_col(1)
(1, 2)
>>> pt._cell_id_to_row_col(2)
(2, 1)
>>> pt._cell_id_to_row_col(3)
(2, 2)
"""
row = (cell_id // self.n) + 1
col = (cell_id % self.n) + 1
return row, col
def run(self):
"""Run the perc tester once through, opening cells one at a time at
random locations until lattice is fully open."""
first_perc = 0
if self.plot_interval > 0:
self.plot_lattice()
next_plot = self.plot_interval
else:
next_plot = self.n * self.n
for i in range(self.n * self.n):
(r, c) = self._pick_random_closed_cell()
self.p.open(r, c)
self.num_closed_cells -= 1
if i == next_plot:
print('Lattice with ' + str(i + 1) + ' open sites:')
self.plot_lattice()
next_plot += self.plot_interval
if first_perc == 0 and self.p.percolates():
first_perc = i
print('Percolates after ' + str(i + 1) + ' openings ('
+ str(100.0 * float(i)/(self.n * self.n)) + '%).')
print('\n')
def run_to_percolation(self):
"""Run the perc tester once through, opening cells one at a time at
random locations until percolation occurs.
Returns
-------
float : proportion of cells open at percolation.
Examples
--------
>>> pt = PercTester(8)
>>> round(100 * pt.run_to_percolation())
73.0
"""
num_open = 0.0
while not self.p.percolates():
(r, c) = self._pick_random_closed_cell()
self.p.open(r, c)
self.num_closed_cells -= 1
num_open += 1
return num_open / (self.n * self.n)
def map_full_cells(self):
"""Identify full cells in self.cell array and assign a code of 2."""
for r in range(self.n):
for c in range(self.n):
if self.p.is_open(r+1, c+1) and self.p.is_full(r+1, c+1):
self.cell[r,c] = FULL
def plot_lattice(self):
"""Plot the lattice, showing closed, open, and full cells."""
import matplotlib.pyplot as plt
self.cell[:] = 2 * self.p.cell_state.reshape(n, n)
self.map_full_cells()
plt.clf()
plt.imshow(self.cell, vmin=0, vmax=2)
plt.show()
def reset(self, seed=0):
"""Reset PercTester and Percolator for a new run."""
self.closed_cells[:] = np.arange(self.n * self.n)
self.num_closed_cells = self.n * self.n
np.random.seed(seed)
self.p.reset()
if __name__ == '__main__':
import doctest
doctest.testmod()
try:
n = sys.argv[1]
except:
n = 8
pt = PercTester(n, plot_interval=1)
pt.run()
pt.reset()
perc_thresh = pt.run_to_percolation()
print('Percolation threshold = ' + str(perc_thresh))
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
17,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
41972,
319,
26223,
7653,
2310,
1160,
25,
1828,
25,
2718,
2864,
198,
198,
31,
9800,
25,
308,
83,
12603,
198,
37811,
198,
198,
11748,
25064,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
583,
4033,
341,
1330,
2448,
4033,
1352,
628,
198,
37,
9994,
796,
352,
220,
1303,
2438,
329,
1336,
2685,
287,
705,
3846,
6,
7177,
11,
973,
329,
29353,
357,
8807,
8,
628,
198,
4871,
2448,
66,
51,
7834,
7,
15252,
2599,
198,
220,
220,
220,
37227,
32,
2448,
66,
51,
7834,
23986,
4856,
286,
583,
4033,
341,
319,
257,
6616,
47240,
501,
351,
198,
220,
220,
220,
11629,
876,
4756,
286,
15456,
6163,
4778,
526,
15931,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
299,
11,
7110,
62,
3849,
2100,
28,
15,
11,
9403,
28,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
2448,
66,
51,
7834,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
79,
796,
2448,
4033,
1352,
7,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
796,
299,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20225,
62,
46342,
796,
45941,
13,
283,
858,
7,
77,
9,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22510,
62,
20225,
62,
46342,
796,
299,
1635,
299,
198,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
25120,
13,
28826,
7,
28826,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29487,
62,
3849,
2100,
796,
7110,
62,
3849,
2100,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7110,
62,
3849,
2100,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3846,
796,
45941,
13,
9107,
418,
19510,
77,
11,
299,
828,
288,
4906,
28,
600,
8,
628,
220,
220,
220,
825,
4808,
27729,
62,
25120,
62,
20225,
62,
3846,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
31851,
257,
4838,
2685,
379,
4738,
290,
1441,
663,
5752,
290,
5721,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
11822,
198,
220,
220,
220,
220,
220,
220,
220,
37404,
198,
220,
220,
220,
220,
220,
220,
220,
2195,
8139,
4938,
4778,
389,
883,
287,
36525,
1279,
997,
62,
20225,
62,
46342,
13,
1675,
1037,
198,
220,
220,
220,
220,
220,
220,
220,
4155,
428,
11,
43997,
10154,
286,
7147,
6376,
351,
262,
938,
4938,
6376,
13,
628,
220,
220,
220,
220,
220,
220,
220,
21066,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
796,
2448,
66,
51,
7834,
7,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13,
20225,
62,
46342,
198,
220,
220,
220,
220,
220,
220,
220,
7177,
26933,
15,
11,
352,
11,
362,
11,
513,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13557,
27729,
62,
25120,
62,
20225,
62,
3846,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13,
20225,
62,
46342,
198,
220,
220,
220,
220,
220,
220,
220,
7177,
26933,
18,
11,
352,
11,
362,
11,
657,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
374,
796,
45941,
13,
25120,
13,
25192,
600,
7,
944,
13,
22510,
62,
20225,
62,
46342,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2685,
62,
312,
796,
2116,
13,
20225,
62,
46342,
58,
81,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16075,
262,
4686,
379,
374,
351,
262,
4686,
379,
997,
62,
20225,
62,
46342,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20225,
62,
46342,
58,
81,
60,
796,
2116,
13,
20225,
62,
46342,
58,
944,
13,
22510,
62,
20225,
62,
46342,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20225,
62,
46342,
58,
944,
13,
22510,
62,
20225,
62,
46342,
532,
352,
60,
796,
2685,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
14257,
198,
220,
220,
220,
220,
220,
220,
220,
374,
11,
269,
796,
2116,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
3846,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
79,
13,
271,
62,
9654,
7,
81,
11,
269,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
7456,
11752,
11,
2685,
318,
1541,
1280,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
3846,
62,
312,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
4808,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
944,
11,
2685,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
2685,
4686,
11188,
284,
257,
1813,
5752,
290,
5721,
13,
628,
220,
220,
220,
220,
220,
220,
220,
21066,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
796,
2448,
66,
51,
7834,
7,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
13557,
3846,
62,
312,
62,
1462,
62,
808,
62,
4033,
7,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5752,
796,
357,
3846,
62,
312,
3373,
2116,
13,
77,
8,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
951,
796,
357,
3846,
62,
312,
4064,
2116,
13,
77,
8,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5752,
11,
951,
628,
220,
220,
220,
825,
1057,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10987,
262,
583,
66,
256,
7834,
1752,
832,
11,
4756,
4778,
530,
379,
257,
640,
379,
198,
220,
220,
220,
220,
220,
220,
220,
4738,
7064,
1566,
47240,
501,
318,
3938,
1280,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
525,
66,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
29487,
62,
3849,
2100,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29487,
62,
75,
1078,
501,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
29487,
796,
2116,
13,
29487,
62,
3849,
2100,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
29487,
796,
2116,
13,
77,
1635,
2116,
13,
77,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
944,
13,
77,
1635,
2116,
13,
77,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
81,
11,
269,
8,
796,
2116,
13557,
27729,
62,
25120,
62,
20225,
62,
3846,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
79,
13,
9654,
7,
81,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22510,
62,
20225,
62,
46342,
48185,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
1306,
62,
29487,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
43,
1078,
501,
351,
705,
1343,
965,
7,
72,
1343,
352,
8,
1343,
705,
1280,
5043,
25,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29487,
62,
75,
1078,
501,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
29487,
15853,
2116,
13,
29487,
62,
3849,
2100,
198,
220,
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,
611,
717,
62,
525,
66,
6624,
657,
290,
2116,
13,
79,
13,
525,
4033,
689,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
717,
62,
525,
66,
796,
1312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
47,
2798,
349,
689,
706,
705,
1343,
965,
7,
72,
1343,
352,
8,
1343,
705,
28431,
19203,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
965,
7,
3064,
13,
15,
1635,
12178,
7,
72,
20679,
7,
944,
13,
77,
1635,
2116,
13,
77,
4008,
1343,
705,
18823,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
77,
11537,
628,
220,
220,
220,
825,
1057,
62,
1462,
62,
525,
4033,
341,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10987,
262,
583,
66,
256,
7834,
1752,
832,
11,
4756,
4778,
530,
379,
257,
640,
379,
198,
220,
220,
220,
220,
220,
220,
220,
4738,
7064,
1566,
583,
4033,
341,
8833,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
12178,
1058,
9823,
286,
4778,
1280,
379,
583,
4033,
341,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
21066,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
42975,
796,
2448,
66,
51,
7834,
7,
23,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
2835,
7,
3064,
1635,
42975,
13,
5143,
62,
1462,
62,
525,
4033,
341,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
8854,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
9654,
796,
657,
13,
15,
628,
220,
220,
220,
220,
220,
220,
220,
981,
407,
2116,
13,
79,
13,
525,
4033,
689,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
81,
11,
269,
8,
796,
2116,
13557,
27729,
62,
25120,
62,
20225,
62,
3846,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
79,
13,
9654,
7,
81,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22510,
62,
20225,
62,
46342,
48185,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
9654,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
997,
62,
9654,
1220,
357,
944,
13,
77,
1635,
2116,
13,
77,
8,
628,
220,
220,
220,
825,
3975,
62,
12853,
62,
46342,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
33234,
1958,
1336,
4778,
287,
2116,
13,
3846,
7177,
290,
8333,
257,
2438,
286,
362,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
2837,
7,
944,
13,
77,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
2837,
7,
944,
13,
77,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
79,
13,
271,
62,
9654,
7,
81,
10,
16,
11,
269,
10,
16,
8,
290,
2116,
13,
79,
13,
271,
62,
12853,
7,
81,
10,
16,
11,
269,
10,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3846,
58,
81,
11,
66,
60,
796,
34958,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
7110,
62,
75,
1078,
501,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
43328,
262,
47240,
501,
11,
4478,
4838,
11,
1280,
11,
290,
1336,
4778,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3846,
58,
47715,
796,
362,
1635,
2116,
13,
79,
13,
3846,
62,
5219,
13,
3447,
1758,
7,
77,
11,
299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8899,
62,
12853,
62,
46342,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
565,
69,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
320,
12860,
7,
944,
13,
3846,
11,
410,
1084,
28,
15,
11,
410,
9806,
28,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
12860,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
13259,
7,
944,
11,
9403,
28,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4965,
316,
2448,
66,
51,
7834,
290,
2448,
4033,
1352,
329,
257,
649,
1057,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20225,
62,
46342,
58,
47715,
796,
45941,
13,
283,
858,
7,
944,
13,
77,
1635,
2116,
13,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22510,
62,
20225,
62,
46342,
796,
2116,
13,
77,
1635,
2116,
13,
77,
198,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
25120,
13,
28826,
7,
28826,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
79,
13,
42503,
3419,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1330,
10412,
395,
198,
220,
220,
220,
10412,
395,
13,
9288,
4666,
3419,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
807,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
42975,
796,
2448,
66,
51,
7834,
7,
77,
11,
7110,
62,
3849,
2100,
28,
16,
8,
198,
220,
220,
220,
42975,
13,
5143,
3419,
198,
220,
220,
220,
42975,
13,
42503,
3419,
198,
220,
220,
220,
583,
66,
62,
400,
3447,
796,
42975,
13,
5143,
62,
1462,
62,
525,
4033,
341,
3419,
198,
220,
220,
220,
3601,
10786,
47,
2798,
21417,
11387,
796,
705,
1343,
965,
7,
525,
66,
62,
400,
3447,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220
] | 1.967949 | 2,652 |
import os
from .app import show
from .widgets import QtWidgets
import pype
import pyblish.api
| [
11748,
28686,
198,
6738,
764,
1324,
1330,
905,
198,
6738,
764,
28029,
11407,
1330,
33734,
54,
312,
11407,
198,
11748,
279,
2981,
198,
11748,
12972,
65,
1836,
13,
15042,
628
] | 3.166667 | 30 |
#!/bin/python3
# The aim of this script is to reorganize everything from ``update_mathjax.js``
# and ``get_refman`` by package, roughly mimicking the layout exported by
# ``get_cwl``. Anything not in a known package can follow two routes: If
# tagged with a ``KaTeX`` or ``MathJax`` meta tag, it'll get dumped in the
# ``misc-web`` package. Otherwise, it'll end up in a generic ``misc-other``
# package.
#
# TODO - Get rid of checks for "required", i.e. "meta", packages. A meta
# package is one containing only include statements. The "required" packages
# ``tools`` and ``amslatex`` are examples. Instead, just assume all are
# present. The main reason is that not all "required" packages on CTAN contain
# manifests, and parsing readmes isn't worth it.
import os
import json
from get_refman import outdict as RF
from get_unimath import outdict as UD
from get_cwl import packages as CP
from common.fpaths import is_path, save_backup
from common.types import enlist, is_seq
CWD = os.curdir if __name__ == "__main__" else os.path.dirname(__loader__.path)
MJ_SRCFILE = 'lists/update_mathjax.json'
OUTFILES = ('lists/union_mj_refman.json', 'lists/union_cwl.json')
MANIDIR = 'data/manifests'
# Provide updated CP and tool to lookup package by category member
# Called last by ``make_packs()``.
def fix_modes(packages, inspect=True):
"""Attempt to fill empty ``mode`` vals with best guess. Currently,
this means almost everything gets assigned ``['text']``. """
# XXX - Absent some reliable, authoritative data source, mislabled modes
# are here to stay. Scraping docs is not an option and relying on
# (crowdsourced) cwl classifiers lacking.
#
# These are for the inspection helper below.
nomode = []
hasmode = []
# Lame kludge to manually tweak modes mislabeled by KaTeX or MathJax.
force_text = ('color',)
#
for pack, pdata in packages.items():
if not pdata:
continue
for cat, cdata in pdata.items():
if not cdata or cat not in 'commands environments'.split():
continue
for entry, edata in cdata.items():
if inspect:
outtup = (pack, cat, entry, edata['mode'])
if edata['mode']:
if pack in force_text:
edata['mode'] = enlist(edata['mode'], 'text',
ret_type=list)
if inspect:
hasmode.append(outtup)
else:
if inspect:
nomode.append(outtup)
else:
if 'math' in pack and cat == 'commands':
edata['mode'] = ['math', 'text']
else:
edata['mode'] = ['text']
#
#
if inspect:
return inspect_modes
# Add emtpy classes to make sorting easier.
# Format hodgepodge of all meta data as a cludge for when no info string found.
def bake_info_string(indict) -> str:
"""Concatenate meta strings into fmt: `Foo: foo; Bar: bar ...`
#
Known keys: {'doc', 'alt_doc', 'package', 'lshort',
'katable', 'atom', 'ams', 'codepoints',
'speaktext', 'uniname', 'pre'}
"""
odoc, pack, lktab, atom, ams, cpt, uspeak = (None for n in range(7))
#
if 'doc' in indict:
doc = indict['doc']
odoc = doc.rstrip('\n ')
if 'alt_doc' in indict:
adoc = indict['alt_doc'].rstrip('\n ')
if adoc[:10].lower() == doc[:10].lower():
odoc = adoc if adoc.count('\n') < doc.count('\n') else doc
else:
odoc = adoc if len(adoc) < len(doc) else doc
# The most usable doc strings from refman start with `\\` and have
# pseudo call signatures, e.g., `\\foo[BAR]{BAZ}`
#
# XXX - Check for breakage, diff, delete:
od_pfx = '' if '\n' not in odoc else 'From latexrefman:\n'
odoc = odoc if odoc.startswith("'\\") else od_pfx + odoc
#
if pack in indict:
pack = 'Package: ' + pack
#
# lshort and katable are basically the same...
if 'lshort' in indict:
lktab = 'L-short table: ' + indict['lshort']
elif 'katable' in indict:
lktab = 'KaTeX table: ' + indict['katable']
#
if 'atom' in indict:
atom = ('Atom: ' + (', '.join(indict['atom']) if
is_seq(indict['atom']) else indict['atom']))
#
# ams already has labels
ams = indict.get('ams', None)
#
# Refman @item math nodes include unicode codepoints...
if 'codepoints' in indict:
if not (odoc and 'U+' in odoc):
cpt = 'Codepoint: ' + indict['codepoints']
#
if 'speaktext' in indict and 'uniname' in indict:
de_speak = indict['speaktext'].replace('-', ' ')
de_uni = indict['uniname'].replace('wards', '')
speak_words = de_speak.split()
count = sum([1 for w in speak_words if w in de_uni]) / len(speak_words)
if count > 2 / 3:
uspeak = 'Unicode name: "' + indict['uniname'].strip('"') + '"'
else:
if set(speak_words) & {'corner', 'set', 'struck', 'times',
'brace', 'sigma', 'omicron', 'period',
'trade', 'plus or minus'}:
uspeak = 'Speaktext: "' + indict['speaktext'].strip('"') + '"'
else:
uspeak = 'Unicode name: "' + indict['uniname'].strip('"') + '"'
elif 'uniname' in indict:
uspeak = 'Unicode name: "' + indict['uniname'].strip('"') + '"'
elif 'speaktext' in indict:
uspeak = 'Speaktext: "' + indict['speaktext'].strip('"') + '"'
# docstrings for most commands include unicode names...
if odoc and uspeak and uspeak.lower().replace(
'wards', '').replace('-', ' ') in odoc.lower():
uspeak = None
#
outstr = ''
for s in (odoc, pack, lktab, atom, ams, cpt, uspeak):
if s:
sep = '\n' if '\n' in s else ' ' if s.endswith('.') else '; '
outstr += s + sep
return outstr.rstrip('; ')
# Value massaging for ``allcats``-related business, delegated from make_packs.
# Similar to above, but for ``packages`` data.
# "main()"
allcats, packages = make_packs(load_mathjax(MJ_SRCFILE))
# Save lists...
if __name__ == "__main__":
for outfile, outdict in zip(OUTFILES, (allcats, packages)):
save_backup(CWD, outfile)
with open(os.path.join(CWD, outfile), 'w') as f:
json.dump(outdict, f, indent=2, sort_keys=True)
| [
2,
48443,
8800,
14,
29412,
18,
198,
198,
2,
383,
4031,
286,
428,
4226,
318,
284,
35459,
1096,
2279,
422,
7559,
19119,
62,
11018,
73,
897,
13,
8457,
15506,
198,
2,
290,
7559,
1136,
62,
5420,
805,
15506,
416,
5301,
11,
7323,
17007,
7958,
262,
12461,
29050,
416,
198,
2,
7559,
1136,
62,
66,
40989,
15506,
13,
220,
21035,
407,
287,
257,
1900,
5301,
460,
1061,
734,
11926,
25,
1002,
198,
2,
30509,
351,
257,
7559,
37281,
49568,
15506,
393,
7559,
37372,
41,
897,
15506,
13634,
7621,
11,
340,
1183,
651,
24105,
287,
262,
198,
2,
7559,
44374,
12,
12384,
15506,
5301,
13,
220,
15323,
11,
340,
1183,
886,
510,
287,
257,
14276,
7559,
44374,
12,
847,
15506,
198,
2,
5301,
13,
198,
2,
198,
2,
16926,
46,
532,
3497,
5755,
286,
8794,
329,
366,
35827,
1600,
1312,
13,
68,
13,
366,
28961,
1600,
10392,
13,
317,
13634,
198,
2,
5301,
318,
530,
7268,
691,
2291,
6299,
13,
383,
366,
35827,
1,
10392,
198,
2,
7559,
31391,
15506,
290,
7559,
4105,
17660,
87,
15506,
389,
6096,
13,
5455,
11,
655,
7048,
477,
389,
198,
2,
1944,
13,
383,
1388,
1738,
318,
326,
407,
477,
366,
35827,
1,
10392,
319,
16356,
1565,
3994,
198,
2,
42190,
11,
290,
32096,
1100,
6880,
2125,
470,
2861,
340,
13,
628,
198,
11748,
28686,
198,
11748,
33918,
198,
198,
6738,
651,
62,
5420,
805,
1330,
503,
11600,
355,
20445,
198,
6738,
651,
62,
403,
320,
776,
1330,
503,
11600,
355,
43700,
198,
6738,
651,
62,
66,
40989,
1330,
10392,
355,
16932,
198,
198,
6738,
2219,
13,
69,
6978,
82,
1330,
318,
62,
6978,
11,
3613,
62,
1891,
929,
198,
6738,
2219,
13,
19199,
1330,
33858,
11,
318,
62,
41068,
198,
198,
34,
22332,
796,
28686,
13,
66,
2799,
343,
611,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1,
2073,
28686,
13,
6978,
13,
15908,
3672,
7,
834,
29356,
834,
13,
6978,
8,
198,
198,
43421,
62,
50,
7397,
25664,
796,
705,
20713,
14,
19119,
62,
11018,
73,
897,
13,
17752,
6,
198,
2606,
10234,
4146,
1546,
796,
19203,
20713,
14,
24592,
62,
76,
73,
62,
5420,
805,
13,
17752,
3256,
705,
20713,
14,
24592,
62,
66,
40989,
13,
17752,
11537,
198,
10725,
2389,
4663,
796,
705,
7890,
14,
805,
361,
3558,
6,
628,
198,
2,
44290,
6153,
16932,
290,
2891,
284,
35847,
5301,
416,
6536,
2888,
198,
198,
2,
34099,
938,
416,
7559,
15883,
62,
32377,
3419,
15506,
13,
198,
4299,
4259,
62,
76,
4147,
7,
43789,
11,
10104,
28,
17821,
2599,
198,
220,
220,
220,
37227,
37177,
284,
6070,
6565,
7559,
14171,
15506,
410,
874,
351,
1266,
4724,
13,
16888,
11,
198,
220,
220,
220,
428,
1724,
2048,
2279,
3011,
8686,
7559,
17816,
5239,
20520,
15506,
13,
37227,
198,
220,
220,
220,
1303,
27713,
532,
49274,
617,
9314,
11,
32042,
1366,
2723,
11,
2984,
75,
4510,
12881,
198,
220,
220,
220,
1303,
389,
994,
284,
2652,
13,
1446,
2416,
278,
34165,
318,
407,
281,
3038,
290,
17965,
319,
198,
220,
220,
220,
1303,
357,
66,
3986,
82,
30555,
8,
269,
40989,
1398,
13350,
14394,
13,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
2312,
389,
329,
262,
15210,
31904,
2174,
13,
198,
220,
220,
220,
4515,
1098,
796,
17635,
198,
220,
220,
220,
468,
14171,
796,
17635,
198,
220,
220,
220,
1303,
406,
480,
479,
75,
12587,
284,
14500,
25393,
12881,
2984,
18242,
276,
416,
11611,
49568,
393,
16320,
41,
897,
13,
198,
220,
220,
220,
2700,
62,
5239,
796,
19203,
8043,
3256,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
329,
2353,
11,
279,
7890,
287,
10392,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
279,
7890,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3797,
11,
269,
7890,
287,
279,
7890,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
269,
7890,
393,
3797,
407,
287,
705,
9503,
1746,
12493,
4458,
35312,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
5726,
11,
1225,
1045,
287,
269,
7890,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10104,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
83,
929,
796,
357,
8002,
11,
3797,
11,
5726,
11,
1225,
1045,
17816,
14171,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1225,
1045,
17816,
14171,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2353,
287,
2700,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1225,
1045,
17816,
14171,
20520,
796,
33858,
7,
276,
1045,
17816,
14171,
6,
4357,
705,
5239,
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,
1005,
62,
4906,
28,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10104,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
14171,
13,
33295,
7,
448,
83,
929,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10104,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4515,
1098,
13,
33295,
7,
448,
83,
929,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
11018,
6,
287,
2353,
290,
3797,
6624,
705,
9503,
1746,
10354,
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,
1225,
1045,
17816,
14171,
20520,
796,
37250,
11018,
3256,
705,
5239,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
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,
1225,
1045,
17816,
14171,
20520,
796,
37250,
5239,
20520,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
10104,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10104,
62,
76,
4147,
198,
198,
2,
3060,
795,
83,
9078,
6097,
284,
787,
29407,
4577,
13,
198,
198,
2,
18980,
289,
9728,
79,
9728,
286,
477,
13634,
1366,
355,
257,
537,
12587,
329,
618,
645,
7508,
4731,
1043,
13,
198,
4299,
28450,
62,
10951,
62,
8841,
7,
521,
713,
8,
4613,
965,
25,
198,
220,
220,
220,
37227,
3103,
9246,
268,
378,
13634,
13042,
656,
46996,
25,
4600,
37,
2238,
25,
22944,
26,
2409,
25,
2318,
2644,
63,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
29454,
8251,
25,
1391,
6,
15390,
3256,
705,
2501,
62,
15390,
3256,
705,
26495,
3256,
705,
75,
19509,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
74,
21156,
3256,
705,
37696,
3256,
705,
4105,
3256,
705,
19815,
538,
1563,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
47350,
5239,
3256,
705,
38453,
480,
3256,
705,
3866,
6,
92,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
267,
15390,
11,
2353,
11,
300,
74,
8658,
11,
22037,
11,
716,
82,
11,
269,
457,
11,
514,
36729,
796,
357,
14202,
329,
299,
287,
2837,
7,
22,
4008,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
705,
15390,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2205,
796,
16056,
17816,
15390,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15390,
796,
2205,
13,
81,
36311,
10786,
59,
77,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
2501,
62,
15390,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
512,
420,
796,
16056,
17816,
2501,
62,
15390,
6,
4083,
81,
36311,
10786,
59,
77,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
512,
420,
58,
25,
940,
4083,
21037,
3419,
6624,
2205,
58,
25,
940,
4083,
21037,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
15390,
796,
512,
420,
611,
512,
420,
13,
9127,
10786,
59,
77,
11537,
1279,
2205,
13,
9127,
10786,
59,
77,
11537,
2073,
2205,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
15390,
796,
512,
420,
611,
18896,
7,
324,
420,
8,
1279,
18896,
7,
15390,
8,
2073,
2205,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
749,
24284,
2205,
13042,
422,
1006,
805,
923,
351,
4600,
6852,
63,
290,
423,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24543,
869,
17239,
11,
304,
13,
70,
1539,
4600,
6852,
21943,
58,
33,
1503,
60,
90,
4339,
57,
92,
63,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
27713,
532,
6822,
329,
2270,
496,
11,
814,
11,
12233,
25,
198,
220,
220,
220,
220,
220,
220,
220,
16298,
62,
79,
21373,
796,
10148,
611,
705,
59,
77,
6,
407,
287,
267,
15390,
2073,
705,
4863,
47038,
5420,
805,
7479,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15390,
796,
267,
15390,
611,
267,
15390,
13,
9688,
2032,
342,
7203,
6,
6852,
4943,
2073,
16298,
62,
79,
21373,
1343,
267,
15390,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
2353,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2353,
796,
705,
27813,
25,
705,
1343,
2353,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
300,
19509,
290,
479,
21156,
389,
6209,
262,
976,
986,
198,
220,
220,
220,
611,
705,
75,
19509,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
300,
74,
8658,
796,
705,
43,
12,
19509,
3084,
25,
705,
1343,
16056,
17816,
75,
19509,
20520,
198,
220,
220,
220,
1288,
361,
705,
74,
21156,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
300,
74,
8658,
796,
705,
37281,
49568,
3084,
25,
705,
1343,
16056,
17816,
74,
21156,
20520,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
705,
37696,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
22037,
796,
19203,
2953,
296,
25,
705,
1343,
357,
3256,
45302,
22179,
7,
521,
713,
17816,
37696,
6,
12962,
611,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
41068,
7,
521,
713,
17816,
37696,
6,
12962,
2073,
16056,
17816,
37696,
20520,
4008,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
716,
82,
1541,
468,
14722,
198,
220,
220,
220,
716,
82,
796,
16056,
13,
1136,
10786,
4105,
3256,
6045,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
6524,
805,
2488,
9186,
10688,
13760,
2291,
28000,
1098,
14873,
538,
1563,
82,
986,
198,
220,
220,
220,
611,
705,
19815,
538,
1563,
82,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
357,
375,
420,
290,
705,
52,
10,
6,
287,
267,
15390,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
457,
796,
705,
43806,
538,
1563,
25,
705,
1343,
16056,
17816,
19815,
538,
1563,
82,
20520,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
705,
47350,
5239,
6,
287,
16056,
290,
705,
38453,
480,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
390,
62,
47350,
796,
16056,
17816,
47350,
5239,
6,
4083,
33491,
10786,
12,
3256,
705,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
390,
62,
35657,
796,
16056,
17816,
38453,
480,
6,
4083,
33491,
10786,
2017,
3256,
10148,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2740,
62,
10879,
796,
390,
62,
47350,
13,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
954,
796,
2160,
26933,
16,
329,
266,
287,
2740,
62,
10879,
611,
266,
287,
390,
62,
35657,
12962,
1220,
18896,
7,
47350,
62,
10879,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
954,
1875,
362,
1220,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
705,
3118,
291,
1098,
1438,
25,
24018,
1343,
16056,
17816,
38453,
480,
6,
4083,
36311,
10786,
1,
11537,
1343,
705,
30543,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
900,
7,
47350,
62,
10879,
8,
1222,
1391,
6,
10215,
1008,
3256,
705,
2617,
3256,
705,
19554,
694,
3256,
705,
22355,
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,
705,
46565,
3256,
705,
82,
13495,
3256,
705,
10179,
1313,
3256,
705,
41007,
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,
705,
25351,
3256,
705,
9541,
393,
20208,
6,
38362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
705,
5248,
461,
5239,
25,
24018,
1343,
16056,
17816,
47350,
5239,
6,
4083,
36311,
10786,
1,
11537,
1343,
705,
30543,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
705,
3118,
291,
1098,
1438,
25,
24018,
1343,
16056,
17816,
38453,
480,
6,
4083,
36311,
10786,
1,
11537,
1343,
705,
30543,
198,
220,
220,
220,
1288,
361,
705,
38453,
480,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
705,
3118,
291,
1098,
1438,
25,
24018,
1343,
16056,
17816,
38453,
480,
6,
4083,
36311,
10786,
1,
11537,
1343,
705,
30543,
198,
220,
220,
220,
1288,
361,
705,
47350,
5239,
6,
287,
16056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
705,
5248,
461,
5239,
25,
24018,
1343,
16056,
17816,
47350,
5239,
6,
4083,
36311,
10786,
1,
11537,
1343,
705,
30543,
198,
220,
220,
220,
1303,
2205,
37336,
329,
749,
9729,
2291,
28000,
1098,
3891,
986,
198,
220,
220,
220,
611,
267,
15390,
290,
514,
36729,
290,
514,
36729,
13,
21037,
22446,
33491,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2017,
3256,
10148,
737,
33491,
10786,
12,
3256,
705,
705,
8,
287,
267,
15390,
13,
21037,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
514,
36729,
796,
6045,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
503,
2536,
796,
10148,
198,
220,
220,
220,
329,
264,
287,
357,
375,
420,
11,
2353,
11,
300,
74,
8658,
11,
22037,
11,
716,
82,
11,
269,
457,
11,
514,
36729,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
264,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41767,
796,
705,
59,
77,
6,
611,
705,
59,
77,
6,
287,
264,
2073,
705,
705,
611,
264,
13,
437,
2032,
342,
10786,
2637,
8,
2073,
705,
26,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
2536,
15853,
264,
1343,
41767,
198,
220,
220,
220,
1441,
503,
2536,
13,
81,
36311,
10786,
26,
705,
8,
198,
198,
2,
11052,
2347,
3039,
329,
7559,
439,
24619,
15506,
12,
5363,
1597,
11,
49711,
422,
787,
62,
32377,
13,
198,
198,
2,
11014,
284,
2029,
11,
475,
329,
7559,
43789,
15506,
1366,
13,
198,
198,
2,
366,
12417,
3419,
1,
628,
198,
439,
24619,
11,
10392,
796,
787,
62,
32377,
7,
2220,
62,
11018,
73,
897,
7,
43421,
62,
50,
7397,
25664,
4008,
198,
198,
2,
12793,
8341,
986,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
329,
503,
7753,
11,
503,
11600,
287,
19974,
7,
2606,
10234,
4146,
1546,
11,
357,
439,
24619,
11,
10392,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
1891,
929,
7,
34,
22332,
11,
503,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
418,
13,
6978,
13,
22179,
7,
34,
22332,
11,
503,
7753,
828,
705,
86,
11537,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
13,
39455,
7,
448,
11600,
11,
277,
11,
33793,
28,
17,
11,
3297,
62,
13083,
28,
17821,
8,
198
] | 2.221074 | 2,999 |
#!/usr/bin/env python3
# planck -
# Copyright (C) 2021 nineties
#
import os
import sys
import operator
import array
import ctypes
import platform
RUNTIME_NAME = "Python {}".format(platform.python_version())
COPYRIGHT = "Copyright (c) 2021 Koichi Nakamura <[email protected]>"
VERSION = "{}:{}".format(RUNTIME_NAME, COPYRIGHT)
MEMORY_SIZE = 0x10000
memory = array.array('i', [0]*MEMORY_SIZE)
CELL = memory.itemsize
STACK_SIZE = 0x100
RSTACK_SIZE = 0x100
HERE_CELL = 0
LATEST_CELL = CELL
sp = MEMORY_SIZE * CELL
rp = (MEMORY_SIZE - STACK_SIZE) * CELL
ip = 0
np = 0
operators = []
write(HERE_CELL, 2*CELL)
write(LATEST_CELL, 0)
# Store command line arguments
argv_addrs = []
for arg in sys.argv:
argv_addrs.append(read(HERE_CELL))
comma_string(arg)
align()
ARGV_ADDR = read(HERE_CELL)
for addr in argv_addrs:
comma(addr)
# Version String
VERSION_ADDR = read(HERE_CELL)
comma_string(VERSION)
align()
DOCOL_ID = add_operator('', docol)
add_simple_operator('Q', lambda: exit(pop()))
add_simple_operator('C', lambda: push(CELL))
add_simple_operator('h', lambda: push(HERE_CELL))
add_simple_operator('l', lambda: push(LATEST_CELL))
add_simple_operator('k', key)
add_simple_operator('t', lambda: sys.stdout.write(chr(pop())))
add_operator('j', lambda ip,np: next(np + read(np)))
add_operator('J', lambda ip,np: next(np + (CELL if pop() else read(np))))
add_simple_operator('f', lambda: push(find(chr(pop()))))
add_operator('x', lambda ip,np: (pop(), np))
add_simple_operator('@', lambda: push(read(pop())))
# NB: Python evaluates expressions from left to right
# https://docs.python.org/3/reference/expressions.html#evaluation-order
add_simple_operator('!', lambda: write(pop(), pop()))
add_simple_operator('?', lambda: push(read_byte(pop())))
add_simple_operator('$', lambda: write_byte(pop(), pop()))
add_simple_operator('d', lambda: push(sp))
add_simple_operator('D', set_sp)
add_simple_operator('r', lambda: push(rp))
add_simple_operator('R', set_rp)
add_simple_operator('i', lambda: push(DOCOL_ID))
add_operator('e', lambda ip,np: next(rpop()))
add_operator('L', lit)
add_operator('S', litstring)
add_simple_operator('/', divmod)
add_int_operator('+', operator.add)
add_int_operator('-', operator.sub)
add_int_operator('*', operator.mul)
add_uint_operator('&', operator.and_)
add_uint_operator('|', operator.or_)
add_uint_operator('^', operator.xor)
add_int_operator('<', operator.lt)
add_uint_operator('u', operator.lt)
add_uint_operator('=', operator.eq)
add_uint_operator('(', operator.lshift)
add_uint_operator(')', operator.rshift)
add_int_operator('%', operator.rshift)
add_simple_operator('v', argv)
add_simple_operator('V', lambda: push(VERSION_ADDR))
add_simple_operator('(open)', openfile)
add_simple_operator('(close)', closefile)
add_simple_operator('(write)', writefile)
add_simple_operator('(read)', readfile)
add_simple_operator('(allocate)', allocate)
add_simple_operator('(free)', free)
start = read(HERE_CELL)
comma(find('k'))
comma(find('f'))
comma(find('x'))
comma(find('j'))
comma(-4*CELL)
ip, np = next(start)
while True:
ip, np = operators[read(ip)](ip, np)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
1410,
694,
532,
220,
198,
2,
15069,
357,
34,
8,
33448,
13462,
31638,
198,
2,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
10088,
198,
11748,
7177,
198,
11748,
269,
19199,
198,
11748,
3859,
198,
198,
49,
4944,
34694,
62,
20608,
796,
366,
37906,
23884,
1911,
18982,
7,
24254,
13,
29412,
62,
9641,
28955,
198,
34,
3185,
38162,
9947,
796,
366,
15269,
357,
66,
8,
33448,
17634,
16590,
22255,
37324,
1279,
7204,
16590,
31,
485,
259,
13,
34523,
24618,
198,
198,
43717,
796,
45144,
92,
29164,
92,
1911,
18982,
7,
49,
4944,
34694,
62,
20608,
11,
27975,
38162,
9947,
8,
198,
198,
44,
3620,
15513,
62,
33489,
796,
657,
87,
49388,
198,
198,
31673,
796,
7177,
13,
18747,
10786,
72,
3256,
685,
15,
60,
9,
44,
3620,
15513,
62,
33489,
8,
198,
5222,
3069,
796,
4088,
13,
23814,
1096,
198,
2257,
8120,
62,
33489,
796,
657,
87,
3064,
198,
49,
2257,
8120,
62,
33489,
796,
657,
87,
3064,
198,
198,
39,
9338,
62,
5222,
3069,
796,
657,
198,
43,
1404,
6465,
62,
5222,
3069,
796,
18671,
3069,
198,
198,
2777,
796,
35153,
15513,
62,
33489,
1635,
18671,
3069,
198,
81,
79,
796,
357,
44,
3620,
15513,
62,
33489,
532,
3563,
8120,
62,
33489,
8,
1635,
18671,
3069,
198,
541,
796,
657,
198,
37659,
796,
657,
198,
198,
3575,
2024,
796,
17635,
198,
198,
13564,
7,
39,
9338,
62,
5222,
3069,
11,
362,
9,
5222,
3069,
8,
198,
13564,
7,
43,
1404,
6465,
62,
5222,
3069,
11,
657,
8,
198,
198,
2,
9363,
3141,
1627,
7159,
198,
853,
85,
62,
2860,
3808,
796,
17635,
198,
1640,
1822,
287,
25064,
13,
853,
85,
25,
198,
220,
220,
220,
1822,
85,
62,
2860,
3808,
13,
33295,
7,
961,
7,
39,
9338,
62,
5222,
3069,
4008,
198,
220,
220,
220,
39650,
62,
8841,
7,
853,
8,
198,
31494,
3419,
198,
1503,
37094,
62,
2885,
7707,
796,
1100,
7,
39,
9338,
62,
5222,
3069,
8,
198,
1640,
37817,
287,
1822,
85,
62,
2860,
3808,
25,
198,
220,
220,
220,
39650,
7,
29851,
8,
198,
198,
2,
10628,
10903,
198,
43717,
62,
2885,
7707,
796,
1100,
7,
39,
9338,
62,
5222,
3069,
8,
198,
785,
2611,
62,
8841,
7,
43717,
8,
198,
31494,
3419,
198,
38715,
3535,
62,
2389,
796,
751,
62,
46616,
10786,
3256,
2205,
349,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
48,
3256,
37456,
25,
8420,
7,
12924,
3419,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
34,
3256,
37456,
25,
4574,
7,
5222,
3069,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
71,
3256,
37456,
25,
4574,
7,
39,
9338,
62,
5222,
3069,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
75,
3256,
37456,
25,
4574,
7,
43,
1404,
6465,
62,
5222,
3069,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
74,
3256,
1994,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
83,
3256,
37456,
25,
25064,
13,
19282,
448,
13,
13564,
7,
354,
81,
7,
12924,
3419,
22305,
198,
2860,
62,
46616,
10786,
73,
3256,
37456,
20966,
11,
37659,
25,
1306,
7,
37659,
1343,
1100,
7,
37659,
22305,
198,
2860,
62,
46616,
10786,
41,
3256,
37456,
20966,
11,
37659,
25,
1306,
7,
37659,
1343,
357,
5222,
3069,
611,
1461,
3419,
2073,
1100,
7,
37659,
35514,
198,
2860,
62,
36439,
62,
46616,
10786,
69,
3256,
37456,
25,
4574,
7,
19796,
7,
354,
81,
7,
12924,
3419,
35514,
198,
2860,
62,
46616,
10786,
87,
3256,
37456,
20966,
11,
37659,
25,
357,
12924,
22784,
45941,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
31,
3256,
37456,
25,
4574,
7,
961,
7,
12924,
3419,
22305,
198,
198,
2,
41354,
25,
11361,
47850,
14700,
422,
1364,
284,
826,
198,
2,
3740,
1378,
31628,
13,
29412,
13,
2398,
14,
18,
14,
35790,
14,
42712,
507,
13,
6494,
2,
18206,
2288,
12,
2875,
198,
2860,
62,
36439,
62,
46616,
10786,
0,
3256,
37456,
25,
3551,
7,
12924,
22784,
1461,
3419,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
30,
3256,
37456,
25,
4574,
7,
961,
62,
26327,
7,
12924,
3419,
22305,
198,
2860,
62,
36439,
62,
46616,
10786,
3,
3256,
37456,
25,
3551,
62,
26327,
7,
12924,
22784,
1461,
3419,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
67,
3256,
37456,
25,
4574,
7,
2777,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
35,
3256,
900,
62,
2777,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
81,
3256,
37456,
25,
4574,
7,
81,
79,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
49,
3256,
900,
62,
81,
79,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
72,
3256,
37456,
25,
4574,
7,
38715,
3535,
62,
2389,
4008,
198,
2860,
62,
46616,
10786,
68,
3256,
37456,
20966,
11,
37659,
25,
1306,
7,
81,
12924,
3419,
4008,
198,
2860,
62,
46616,
10786,
43,
3256,
6578,
8,
198,
2860,
62,
46616,
10786,
50,
3256,
6578,
8841,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
14,
3256,
2659,
4666,
8,
198,
2860,
62,
600,
62,
46616,
10786,
10,
3256,
10088,
13,
2860,
8,
198,
2860,
62,
600,
62,
46616,
10786,
12,
3256,
10088,
13,
7266,
8,
198,
2860,
62,
600,
62,
46616,
10786,
9,
3256,
10088,
13,
76,
377,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
5,
3256,
10088,
13,
392,
62,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
91,
3256,
10088,
13,
273,
62,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
61,
3256,
10088,
13,
87,
273,
8,
198,
2860,
62,
600,
62,
46616,
10786,
27,
3256,
10088,
13,
2528,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
84,
3256,
10088,
13,
2528,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
28,
3256,
10088,
13,
27363,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
7,
3256,
10088,
13,
75,
30846,
8,
198,
2860,
62,
28611,
62,
46616,
10786,
8,
3256,
10088,
13,
81,
30846,
8,
198,
2860,
62,
600,
62,
46616,
10786,
4,
3256,
10088,
13,
81,
30846,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
85,
3256,
1822,
85,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
53,
3256,
37456,
25,
4574,
7,
43717,
62,
2885,
7707,
4008,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
9654,
8,
3256,
1280,
7753,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
19836,
8,
3256,
1969,
7753,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
13564,
8,
3256,
3551,
7753,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
961,
8,
3256,
1100,
7753,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
439,
13369,
8,
3256,
31935,
8,
198,
2860,
62,
36439,
62,
46616,
10786,
7,
5787,
8,
3256,
1479,
8,
198,
198,
9688,
796,
1100,
7,
39,
9338,
62,
5222,
3069,
8,
198,
785,
2611,
7,
19796,
10786,
74,
6,
4008,
198,
785,
2611,
7,
19796,
10786,
69,
6,
4008,
198,
785,
2611,
7,
19796,
10786,
87,
6,
4008,
198,
785,
2611,
7,
19796,
10786,
73,
6,
4008,
198,
785,
2611,
32590,
19,
9,
5222,
3069,
8,
198,
198,
541,
11,
45941,
796,
1306,
7,
9688,
8,
198,
4514,
6407,
25,
198,
220,
220,
220,
20966,
11,
45941,
796,
12879,
58,
961,
7,
541,
15437,
7,
541,
11,
45941,
8,
198
] | 2.614478 | 1,188 |
from typing import Dict
from uuid import uuid4
from imageio import imread, imwrite
from numpy import array, hstack, ndarray, subtract
from PIL import Image
from PIL.Image import Image as ImageType
from PIL.ImageFilter import FIND_EDGES, GaussianBlur
from tqdm import tqdm
from . import IMAGE_SIZE_LARGE, IMAGE_SIZE_SMALL
def prepare_image(image: ImageType):
"""
1. Downscale the image a little bit to a square
2. Blur (1)
3. Find the edges in (1)
4. Downscale both a lot and return them
"""
image_square = image.resize((IMAGE_SIZE_LARGE, IMAGE_SIZE_LARGE))
image_blurred = image_square.filter(GaussianBlur(radius=4))
image_blurred_small = image_blurred.resize(
(IMAGE_SIZE_SMALL, IMAGE_SIZE_SMALL))
image_edges = image_square.filter(FIND_EDGES)
image_edges_small = image_edges.resize(
(IMAGE_SIZE_SMALL, IMAGE_SIZE_SMALL))
return {
"edges_small": image_edges_small,
"blurred_small": image_blurred_small,
}
def side_by_side(image_1: ImageType, image_2: ImageType) -> ImageType:
"Create an image with the two images side by side (horizontally)"
horizontal = hstack((array(image_1), array(image_2)))
return Image.fromarray(horizontal)
| [
6738,
19720,
1330,
360,
713,
198,
6738,
334,
27112,
1330,
334,
27112,
19,
198,
198,
6738,
2939,
952,
1330,
545,
961,
11,
545,
13564,
198,
6738,
299,
32152,
1330,
7177,
11,
289,
25558,
11,
299,
67,
18747,
11,
34128,
198,
6738,
350,
4146,
1330,
7412,
198,
6738,
350,
4146,
13,
5159,
1330,
7412,
355,
7412,
6030,
198,
6738,
350,
4146,
13,
5159,
22417,
1330,
376,
12115,
62,
1961,
48075,
11,
12822,
31562,
3629,
333,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
198,
6738,
764,
1330,
8959,
11879,
62,
33489,
62,
43,
1503,
8264,
11,
8959,
11879,
62,
33489,
62,
12310,
7036,
628,
198,
198,
4299,
8335,
62,
9060,
7,
9060,
25,
7412,
6030,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
352,
13,
5588,
9888,
262,
2939,
257,
1310,
1643,
284,
257,
6616,
198,
220,
220,
220,
362,
13,
1086,
333,
357,
16,
8,
198,
220,
220,
220,
513,
13,
9938,
262,
13015,
287,
357,
16,
8,
198,
220,
220,
220,
604,
13,
5588,
9888,
1111,
257,
1256,
290,
1441,
606,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2939,
62,
23415,
796,
2939,
13,
411,
1096,
19510,
3955,
11879,
62,
33489,
62,
43,
1503,
8264,
11,
8959,
11879,
62,
33489,
62,
43,
1503,
8264,
4008,
628,
220,
220,
220,
2939,
62,
2436,
12808,
796,
2939,
62,
23415,
13,
24455,
7,
35389,
31562,
3629,
333,
7,
42172,
28,
19,
4008,
198,
220,
220,
220,
2939,
62,
2436,
12808,
62,
17470,
796,
2939,
62,
2436,
12808,
13,
411,
1096,
7,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3955,
11879,
62,
33489,
62,
12310,
7036,
11,
8959,
11879,
62,
33489,
62,
12310,
7036,
4008,
628,
220,
220,
220,
2939,
62,
276,
3212,
796,
2939,
62,
23415,
13,
24455,
7,
37,
12115,
62,
1961,
48075,
8,
198,
220,
220,
220,
2939,
62,
276,
3212,
62,
17470,
796,
2939,
62,
276,
3212,
13,
411,
1096,
7,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3955,
11879,
62,
33489,
62,
12310,
7036,
11,
8959,
11879,
62,
33489,
62,
12310,
7036,
4008,
628,
220,
220,
220,
1441,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
276,
3212,
62,
17470,
1298,
2939,
62,
276,
3212,
62,
17470,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2436,
12808,
62,
17470,
1298,
2939,
62,
2436,
12808,
62,
17470,
11,
198,
220,
220,
220,
1782,
628,
198,
4299,
1735,
62,
1525,
62,
1589,
7,
9060,
62,
16,
25,
7412,
6030,
11,
2939,
62,
17,
25,
7412,
6030,
8,
4613,
7412,
6030,
25,
198,
220,
220,
220,
366,
16447,
281,
2939,
351,
262,
734,
4263,
1735,
416,
1735,
357,
17899,
12071,
453,
16725,
628,
220,
220,
220,
16021,
796,
289,
25558,
19510,
18747,
7,
9060,
62,
16,
828,
7177,
7,
9060,
62,
17,
22305,
198,
220,
220,
220,
1441,
7412,
13,
6738,
18747,
7,
17899,
38342,
8,
198
] | 2.583333 | 480 |
# -*- coding: UTF-8 -*-
# ------------------------(max to 80 columns)-----------------------------------
# author by : (学员ID)
# created: 2019.11
# Description:
# 初步学习 WinForm 编程 ( Frame )
# ------------------------(max to 80 columns)-----------------------------------
import tkinter as tk
from tkinter import ttk
import tkinter.messagebox
# create root window
top_win = tk.Tk()
# naming root window
top_win.title('Hello World Window')
# resize root window
win_size_pos = '800x600'
#win_size_pos = '360x60'
top_win.geometry(win_size_pos)
#------------------------------
# Step1: Create frame
frame_root1 = tk.Frame(top_win, bg="#646464", width=360, height=240)
# frame_root1.pack()
frame_root1.place(x=20, y=20)
# Step2: Appedn other controls
lbl_test = tk.Label(frame_root1, text='text in frame1')
lbl_test.place(x=20, y=20)
# Step3: Try grid()
for r in range(5):
for c in range(3):
lbl = tk.Label(frame_root1, bg='blue', text='label at row%d, column%d' % (r, c))
lbl.grid(row=r, column=c)
#------------------------------
# show window and get into event loop
top_win.mainloop()
| [
2,
532,
9,
12,
19617,
25,
41002,
12,
23,
532,
9,
12,
198,
198,
2,
220,
22369,
7,
9806,
284,
4019,
15180,
8,
3880,
6329,
198,
2,
1772,
416,
1058,
27332,
120,
230,
27764,
99,
37772,
246,
2389,
8,
198,
2,
2727,
25,
220,
13130,
13,
1157,
198,
198,
2,
12489,
25,
198,
2,
220,
220,
10263,
230,
251,
29826,
98,
27764,
99,
20046,
254,
7178,
8479,
13328,
120,
244,
163,
101,
233,
357,
25184,
1267,
198,
2,
220,
22369,
7,
9806,
284,
4019,
15180,
8,
3880,
6329,
198,
198,
11748,
256,
74,
3849,
355,
256,
74,
198,
6738,
256,
74,
3849,
1330,
256,
30488,
198,
11748,
256,
74,
3849,
13,
20500,
3524,
198,
198,
2,
2251,
6808,
4324,
198,
4852,
62,
5404,
796,
256,
74,
13,
51,
74,
3419,
198,
198,
2,
19264,
6808,
4324,
198,
4852,
62,
5404,
13,
7839,
10786,
15496,
2159,
26580,
11537,
198,
198,
2,
47558,
6808,
4324,
198,
5404,
62,
7857,
62,
1930,
796,
705,
7410,
87,
8054,
6,
198,
2,
5404,
62,
7857,
62,
1930,
796,
705,
15277,
87,
1899,
6,
198,
4852,
62,
5404,
13,
469,
15748,
7,
5404,
62,
7857,
62,
1930,
8,
198,
198,
2,
1783,
26171,
198,
2,
5012,
16,
25,
13610,
5739,
198,
14535,
62,
15763,
16,
796,
256,
74,
13,
19778,
7,
4852,
62,
5404,
11,
275,
70,
25698,
2414,
2414,
2414,
1600,
9647,
28,
15277,
11,
6001,
28,
16102,
8,
198,
2,
5739,
62,
15763,
16,
13,
8002,
3419,
198,
14535,
62,
15763,
16,
13,
5372,
7,
87,
28,
1238,
11,
331,
28,
1238,
8,
198,
198,
2,
5012,
17,
25,
317,
1496,
77,
584,
6973,
198,
75,
2436,
62,
9288,
796,
256,
74,
13,
33986,
7,
14535,
62,
15763,
16,
11,
2420,
11639,
5239,
287,
5739,
16,
11537,
198,
75,
2436,
62,
9288,
13,
5372,
7,
87,
28,
1238,
11,
331,
28,
1238,
8,
198,
198,
2,
5012,
18,
25,
9993,
10706,
3419,
198,
1640,
374,
287,
2837,
7,
20,
2599,
198,
220,
220,
220,
329,
269,
287,
2837,
7,
18,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
300,
2436,
796,
256,
74,
13,
33986,
7,
14535,
62,
15763,
16,
11,
275,
70,
11639,
17585,
3256,
2420,
11639,
18242,
379,
5752,
4,
67,
11,
5721,
4,
67,
6,
4064,
357,
81,
11,
269,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
300,
2436,
13,
25928,
7,
808,
28,
81,
11,
5721,
28,
66,
8,
198,
198,
2,
1783,
26171,
628,
198,
2,
905,
4324,
290,
651,
656,
1785,
9052,
198,
4852,
62,
5404,
13,
12417,
26268,
3419,
198
] | 2.617371 | 426 |
import json
import pickle
import logging
import datetime
import time
from datetime import timedelta
from geopy.distance import great_circle
import requests
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
class PyWorker:
"""
Represents a Python process acting as worker (listening for jobs
and executing them)
"""
| [
11748,
33918,
198,
11748,
2298,
293,
198,
11748,
18931,
198,
11748,
4818,
8079,
198,
11748,
640,
198,
6738,
4818,
8079,
1330,
28805,
12514,
198,
198,
6738,
4903,
11081,
13,
30246,
1330,
1049,
62,
45597,
198,
11748,
7007,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
10778,
8,
628,
198,
4871,
9485,
12468,
263,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
1432,
6629,
257,
11361,
1429,
7205,
355,
8383,
357,
4868,
3101,
329,
3946,
198,
220,
220,
220,
220,
220,
290,
23710,
606,
8,
198,
220,
220,
220,
37227,
198
] | 3.207207 | 111 |
#
# Copyright (c) 2020 by Ilya Tsyganov, Ryazan State Radio Engineering University.
#
# 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.
#
import unittest
from lib.topology import Topology, Link, LinkRepository, BidirectionalLinkSet
if __name__ == '__main__':
unittest.main()
| [
2,
198,
2,
15069,
357,
66,
8,
12131,
416,
49804,
64,
309,
1837,
1030,
709,
11,
11089,
1031,
272,
1812,
8829,
14044,
2059,
13,
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,
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,
2,
198,
11748,
555,
715,
395,
198,
198,
6738,
9195,
13,
4852,
1435,
1330,
5849,
1435,
11,
7502,
11,
7502,
6207,
13264,
11,
43484,
4154,
282,
11280,
7248,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 3.688571 | 350 |
import requests
from django.conf import settings
| [
11748,
7007,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
628,
628,
628,
628
] | 4 | 14 |
import sys
import os
import shutil
from conans import ConanFile, CMake
from conans.tools import download, unzip
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
| [
11748,
25064,
198,
11748,
28686,
198,
11748,
4423,
346,
198,
198,
6738,
369,
504,
1330,
31634,
8979,
11,
327,
12050,
198,
6738,
369,
504,
13,
31391,
1330,
4321,
11,
555,
13344,
198,
198,
17597,
13,
6978,
13,
33295,
7,
198,
220,
220,
220,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
828,
705,
492,
6,
22305,
628
] | 2.739726 | 73 |
import unittest
import os
import for_unittest
if __name__ == '__main__':
unittest.main()
| [
11748,
555,
715,
395,
198,
11748,
28686,
198,
11748,
329,
62,
403,
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.552632 | 38 |
from util import get_index
balances = [{'currency':'KRW','balance':50000000}] | [
6738,
7736,
1330,
651,
62,
9630,
198,
198,
6893,
1817,
796,
685,
90,
6,
34415,
10354,
6,
30758,
54,
41707,
20427,
10354,
20,
24598,
92,
60
] | 3 | 26 |
from panoptes.pocs.focuser.serial import AbstractSerialFocuser
class Focuser(AbstractSerialFocuser):
"""
Focuser class for control of a Canon DSLR lens via an Astromechanics Engineering Canon EF/EF-S adapter.
Args:
name (str, optional): default 'Astromechanics Focuser'
model (str, optional): default 'Canon EF/EF-S'
Additional positonal and keyword arguments are passed to the base class, AbstractSerialFocuser. See
that class' documentation for a complete list.
Min/max commands do not exist for the astromechanics controller, as well as
other commands to get serial numbers and library/hardware versions. However,
as they are marked with the decorator @abstractmethod, we have to override them.
"""
##################################################################################################
# Properties
##################################################################################################
@AbstractSerialFocuser.position.getter
def position(self):
"""
Returns current focus position in the lens focus encoder units.
"""
response = self._send_command("P#").rstrip("#")
return int(response)
@property
def min_position(self):
"""
Returns position of close limit of focus travel, in encoder units.
"""
return self._min_position
@property
def max_position(self):
"""
Returns position of far limit of focus travel, in encoder units.
"""
return None
##################################################################################################
# Public Methods
##################################################################################################
def move_to(self, new_position):
"""
Moves focuser to a new position.
Args:
position (int): new focuser position, in encoder units
Returns:
int: focuser position following the move, in encoder units.
Does not do any checking of the requested position but will warn if the lens reports
hitting a stop.
"""
self._is_moving = True
try:
self._send_command(f'M{int(new_position):d}#')
finally:
# Focuser move commands block until the move is finished, so if the command has
# returned then the focuser is no longer moving.
self._is_moving = False
self.logger.debug(f"Moved to encoder position {self.position}")
return self.position
def move_by(self, increment):
"""
Move focuser by a given amount.
Args:
increment (int): distance to move the focuser, in encoder units.
Returns:
int: distance moved, in encoder units.
"""
self._is_moving = True
try:
new_pos = self.position + increment
self._send_command(f'M{int(new_pos):d}#')
finally:
# Focuser move commands block until the move is finished, so if the command has
# returned then the focuser is no longer moving.
self._is_moving = False
self.logger.debug(f"Moved by {increment} encoder units. Current position is {new_pos}")
return new_pos
##################################################################################################
# Private Methods
##################################################################################################
def _send_command(self, command):
"""
Sends a command to the focuser adaptor and retrieves the response.
Args:
command (string): command string to send (without newline), e.g. 'P#'
response length (integer, optional, default=None): number of lines of response expected.
For most commands this should be 0 or 1. If None readlines() will be called to
capture all responses. As this will block until the timeout expires it should only
be used if the number of lines expected is not known (e.g. 'ds' command).
Returns:
string: containing the '\r' terminated lines of the response from the adaptor.
"""
if not self.is_connected:
self.logger.critical("Attempt to send command to {} when not connected!".format(self))
return
# Clear the input buffer in case there's anything left over in there.
self._serial_port.reset_input_buffer()
# Send command
self._serial_io.write(command + '\r')
return self._serial_io.readline()
| [
6738,
3425,
404,
4879,
13,
79,
420,
82,
13,
69,
420,
7220,
13,
46911,
1330,
27741,
32634,
37,
420,
7220,
628,
198,
4871,
376,
420,
7220,
7,
23839,
32634,
37,
420,
7220,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
376,
420,
7220,
1398,
329,
1630,
286,
257,
19507,
32643,
49,
10317,
2884,
281,
8304,
398,
3055,
272,
873,
14044,
19507,
33685,
14,
25425,
12,
50,
21302,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
357,
2536,
11,
11902,
2599,
4277,
705,
32,
20282,
3055,
272,
873,
376,
420,
7220,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
357,
2536,
11,
11902,
2599,
4277,
705,
6090,
261,
33685,
14,
25425,
12,
50,
6,
628,
220,
220,
220,
15891,
46436,
20996,
290,
21179,
7159,
389,
3804,
284,
262,
2779,
1398,
11,
27741,
32634,
37,
420,
7220,
13,
4091,
198,
220,
220,
220,
326,
1398,
6,
10314,
329,
257,
1844,
1351,
13,
628,
220,
220,
220,
1855,
14,
9806,
9729,
466,
407,
2152,
329,
262,
6468,
398,
3055,
272,
873,
10444,
11,
355,
880,
355,
198,
220,
220,
220,
584,
9729,
284,
651,
11389,
3146,
290,
5888,
14,
10424,
1574,
6300,
13,
2102,
11,
198,
220,
220,
220,
355,
484,
389,
7498,
351,
262,
11705,
1352,
2488,
397,
8709,
24396,
11,
356,
423,
284,
20957,
606,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
198,
220,
220,
220,
1303,
24946,
198,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
628,
220,
220,
220,
2488,
23839,
32634,
37,
420,
7220,
13,
9150,
13,
1136,
353,
198,
220,
220,
220,
825,
2292,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
1459,
2962,
2292,
287,
262,
10317,
2962,
2207,
12342,
4991,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13557,
21280,
62,
21812,
7203,
47,
2,
11074,
81,
36311,
7203,
2,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
493,
7,
26209,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
949,
62,
9150,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
2292,
286,
1969,
4179,
286,
2962,
3067,
11,
287,
2207,
12342,
4991,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1084,
62,
9150,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
3509,
62,
9150,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
2292,
286,
1290,
4179,
286,
2962,
3067,
11,
287,
2207,
12342,
4991,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
198,
220,
220,
220,
1303,
5094,
25458,
198,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
628,
220,
220,
220,
825,
1445,
62,
1462,
7,
944,
11,
649,
62,
9150,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
38213,
2962,
263,
284,
257,
649,
2292,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2292,
357,
600,
2599,
649,
2962,
263,
2292,
11,
287,
2207,
12342,
4991,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
25,
2962,
263,
2292,
1708,
262,
1445,
11,
287,
2207,
12342,
4991,
13,
628,
220,
220,
220,
220,
220,
220,
220,
8314,
407,
466,
597,
10627,
286,
262,
9167,
2292,
475,
481,
9828,
611,
262,
10317,
3136,
198,
220,
220,
220,
220,
220,
220,
220,
9008,
257,
2245,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
31462,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
21280,
62,
21812,
7,
69,
6,
44,
90,
600,
7,
3605,
62,
9150,
2599,
67,
92,
2,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3443,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
376,
420,
7220,
1445,
9729,
2512,
1566,
262,
1445,
318,
5201,
11,
523,
611,
262,
3141,
468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4504,
788,
262,
2962,
263,
318,
645,
2392,
3867,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
31462,
796,
10352,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
13,
24442,
7,
69,
1,
44,
2668,
284,
2207,
12342,
2292,
1391,
944,
13,
9150,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9150,
628,
220,
220,
220,
825,
1445,
62,
1525,
7,
944,
11,
18703,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10028,
2962,
263,
416,
257,
1813,
2033,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18703,
357,
600,
2599,
5253,
284,
1445,
262,
2962,
263,
11,
287,
2207,
12342,
4991,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
25,
5253,
3888,
11,
287,
2207,
12342,
4991,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
31462,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
1930,
796,
2116,
13,
9150,
1343,
18703,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
21280,
62,
21812,
7,
69,
6,
44,
90,
600,
7,
3605,
62,
1930,
2599,
67,
92,
2,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3443,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
376,
420,
7220,
1445,
9729,
2512,
1566,
262,
1445,
318,
5201,
11,
523,
611,
262,
3141,
468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4504,
788,
262,
2962,
263,
318,
645,
2392,
3867,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
271,
62,
31462,
796,
10352,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
13,
24442,
7,
69,
1,
44,
2668,
416,
1391,
24988,
434,
92,
2207,
12342,
4991,
13,
9236,
2292,
318,
1391,
3605,
62,
1930,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
62,
1930,
628,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
198,
220,
220,
220,
1303,
15348,
25458,
198,
220,
220,
220,
1303,
29113,
29113,
29113,
2,
628,
220,
220,
220,
825,
4808,
21280,
62,
21812,
7,
944,
11,
3141,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
257,
3141,
284,
262,
2962,
263,
6068,
273,
290,
13236,
1158,
262,
2882,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3141,
357,
8841,
2599,
3141,
4731,
284,
3758,
357,
19419,
649,
1370,
828,
304,
13,
70,
13,
705,
47,
2,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
4129,
357,
41433,
11,
11902,
11,
4277,
28,
14202,
2599,
1271,
286,
3951,
286,
2882,
2938,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1114,
749,
9729,
428,
815,
307,
657,
393,
352,
13,
1002,
6045,
1100,
6615,
3419,
481,
307,
1444,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8006,
477,
9109,
13,
1081,
428,
481,
2512,
1566,
262,
26827,
27396,
340,
815,
691,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
307,
973,
611,
262,
1271,
286,
3951,
2938,
318,
407,
1900,
357,
68,
13,
70,
13,
705,
9310,
6,
3141,
737,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
25,
220,
7268,
262,
705,
59,
81,
6,
23083,
3951,
286,
262,
2882,
422,
262,
6068,
273,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
271,
62,
15236,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
13,
34666,
7203,
37177,
284,
3758,
3141,
284,
23884,
618,
407,
5884,
48220,
18982,
7,
944,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
11459,
262,
5128,
11876,
287,
1339,
612,
338,
1997,
1364,
625,
287,
612,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
46911,
62,
634,
13,
42503,
62,
15414,
62,
22252,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16290,
3141,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
46911,
62,
952,
13,
13564,
7,
21812,
1343,
705,
59,
81,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
46911,
62,
952,
13,
961,
1370,
3419,
198
] | 2.85662 | 1,639 |
import sys
MOD = 10 ** 9 + 7
n, m, *a = map(int, sys.stdin.read().split())
broken = set(a)
if __name__ == '__main__':
ans = main()
print(ans)
| [
11748,
25064,
201,
198,
201,
198,
33365,
796,
838,
12429,
860,
1343,
767,
201,
198,
201,
198,
77,
11,
285,
11,
1635,
64,
796,
3975,
7,
600,
11,
25064,
13,
19282,
259,
13,
961,
22446,
35312,
28955,
201,
198,
25826,
796,
900,
7,
64,
8,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
9093,
796,
1388,
3419,
201,
198,
220,
220,
220,
3601,
7,
504,
8,
198
] | 2.076923 | 78 |
# -*- coding: utf-8 -*-
import scrapy
from scrapy.loader import ItemLoader
from scrapy.exceptions import CloseSpider
from spider.items import Report
class CustomerReports(scrapy.Spider):
"""Spider that retrieves raw customer reports about companies.
This spider reaches the consumidor.gov.br website to crawl the data
from the customer raw reports page. The specific page containing
this information is composed by a hidden form that is submitted to
retrieve the reports. For this reason, this spider trigger the form
submission to obtain the data. The website returns 10 values per call.
Attributes
----------
name : str
the spider name used by Scrapy to start the spider
allowed_domains : list
contains the list of domains that the spider is allowed to crawl
start_urls : list
URLs where the spider should start the crawl from
next_result_index: int
the index for the first result of the next report request
Methods
-------
parse(self, response)
Handles the crawled form. This method will select the required
nodes and loads the scrapy items that were defined in the Report
items object.
"""
name = 'reports'
allowed_domains = ['consumidor.gov.br']
start_urls = [
'https://www.consumidor.gov.br/pages/indicador/relatos/abrir'
]
next_result_index = 0
# The endpoint API limits the response up to 10 requests
NEXT_INDEX_INCREMENT = 10
def parse(self, response):
"""Parses the response data, crawling the required fields and loading
the Item to populate the final data set."""
index = 0
report_card_path = '//div[contains(@class,"cartao-relato")]'
report_card = response.xpath(report_card_path)
if report_card.extract_first() is None and self.next_result_index > 0:
raise CloseSpider(reason='No more items left to crawl')
for crawled_report in report_card:
try:
# Loader responsible to process input and populate an item
loader = ItemLoader(item=Report(), response=response)
loader.add_value(
'company_name',
crawled_report.xpath(
'//*[@class="relatos-nome-empresa"]/a/text()').extract_first()
)
users_report = crawled_report.xpath(
'//div[strong="Relato"]/p/text()').extract()
loader.add_value('user_report', users_report[index])
company_response = crawled_report.xpath(
'//div[strong="Resposta"]/p/text()').extract()
loader.add_value(
'company_response',
company_response[index]
)
loader.add_value(
'status',
crawled_report.xpath(
'//h4[@class="relatos-status"]/text()').extract_first()
)
users_feedback = crawled_report.xpath(
'//div[strong="Avaliação"]/p[2]/text()').extract()
loader.add_value('user_feedback', users_feedback[index])
users_rating = crawled_report.xpath(
'//div[strong="Avaliação"]/p[1]/text()').extract()
loader.add_value('user_rating', users_rating[index])
user_date_location = crawled_report.xpath(
'//div[strong="Relato"]'
'/span[descendant::i[contains(@class,"glyphicon")]]'
'/text()').extract()
user_date_location = [
item for item in user_date_location if item != ' ']
# Date and location are stored in the same element.
date, location = user_date_location[index].split(',')
city, state = location.split(' - ')
loader.add_value('date', date)
loader.add_value('city', city)
loader.add_value('state', state)
index += 1
yield loader.load_item()
except IndexError:
# Whenever an Index Error is raised, it means that the current
# report is missing some of the required data. In this case,
# ignore it by jumping to the next report.
continue
self.next_result_index += self.NEXT_INDEX_INCREMENT
yield scrapy.FormRequest(
url="https://consumidor.gov.br/pages/indicador/relatos/consultar",
callback=self.parse,
formdata={"indicePrimeiroResultado": str(self.next_result_index),
"palavrasChave": ""},
)
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
15881,
88,
198,
6738,
15881,
88,
13,
29356,
1330,
9097,
17401,
198,
6738,
15881,
88,
13,
1069,
11755,
1330,
13872,
41294,
198,
6738,
19230,
13,
23814,
1330,
6358,
628,
198,
4871,
22092,
37844,
7,
1416,
2416,
88,
13,
41294,
2599,
628,
220,
220,
220,
37227,
41294,
326,
13236,
1158,
8246,
6491,
3136,
546,
2706,
13,
628,
220,
220,
220,
770,
19230,
12229,
262,
2784,
312,
273,
13,
9567,
13,
1671,
3052,
284,
27318,
262,
1366,
198,
220,
220,
220,
422,
262,
6491,
8246,
3136,
2443,
13,
383,
2176,
2443,
7268,
198,
220,
220,
220,
428,
1321,
318,
13160,
416,
257,
7104,
1296,
326,
318,
8948,
284,
198,
220,
220,
220,
19818,
262,
3136,
13,
1114,
428,
1738,
11,
428,
19230,
7616,
262,
1296,
198,
220,
220,
220,
14498,
284,
7330,
262,
1366,
13,
383,
3052,
5860,
838,
3815,
583,
869,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
262,
19230,
1438,
973,
416,
1446,
2416,
88,
284,
923,
262,
19230,
198,
220,
220,
220,
3142,
62,
3438,
1299,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
4909,
262,
1351,
286,
18209,
326,
262,
19230,
318,
3142,
284,
27318,
198,
220,
220,
220,
923,
62,
6371,
82,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
32336,
810,
262,
19230,
815,
923,
262,
27318,
422,
198,
220,
220,
220,
1306,
62,
20274,
62,
9630,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
262,
6376,
329,
262,
717,
1255,
286,
262,
1306,
989,
2581,
628,
220,
220,
220,
25458,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
21136,
7,
944,
11,
2882,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7157,
829,
262,
45668,
1296,
13,
770,
2446,
481,
2922,
262,
2672,
198,
220,
220,
220,
220,
220,
220,
220,
13760,
290,
15989,
262,
15881,
88,
3709,
326,
547,
5447,
287,
262,
6358,
198,
220,
220,
220,
220,
220,
220,
220,
3709,
2134,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1438,
796,
705,
48922,
6,
198,
220,
220,
220,
3142,
62,
3438,
1299,
796,
37250,
5936,
388,
312,
273,
13,
9567,
13,
1671,
20520,
198,
220,
220,
220,
923,
62,
6371,
82,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5450,
1378,
2503,
13,
5936,
388,
312,
273,
13,
9567,
13,
1671,
14,
31126,
14,
521,
291,
7079,
14,
2411,
35492,
14,
397,
29283,
6,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
1306,
62,
20274,
62,
9630,
796,
657,
628,
220,
220,
220,
1303,
383,
36123,
7824,
7095,
262,
2882,
510,
284,
838,
7007,
198,
220,
220,
220,
39726,
62,
12115,
6369,
62,
30158,
2200,
10979,
796,
838,
628,
220,
220,
220,
825,
21136,
7,
944,
11,
2882,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
47,
945,
274,
262,
2882,
1366,
11,
34499,
262,
2672,
7032,
290,
11046,
198,
220,
220,
220,
220,
220,
220,
220,
262,
9097,
284,
48040,
262,
2457,
1366,
900,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
989,
62,
9517,
62,
6978,
796,
705,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
553,
26674,
5488,
12,
2411,
5549,
4943,
49946,
198,
220,
220,
220,
220,
220,
220,
220,
989,
62,
9517,
796,
2882,
13,
87,
6978,
7,
13116,
62,
9517,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
989,
62,
9517,
13,
2302,
974,
62,
11085,
3419,
318,
6045,
290,
2116,
13,
19545,
62,
20274,
62,
9630,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
13872,
41294,
7,
41181,
11639,
2949,
517,
3709,
1364,
284,
27318,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
329,
45668,
62,
13116,
287,
989,
62,
9517,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8778,
263,
4497,
284,
1429,
5128,
290,
48040,
281,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
796,
9097,
17401,
7,
9186,
28,
19100,
22784,
2882,
28,
26209,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39722,
62,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
9,
58,
31,
4871,
2625,
2411,
35492,
12,
77,
462,
12,
45787,
14625,
8973,
14,
64,
14,
5239,
3419,
27691,
2302,
974,
62,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2985,
62,
13116,
796,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
7146,
58,
11576,
2625,
6892,
5549,
8973,
14,
79,
14,
5239,
3419,
27691,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
7220,
62,
13116,
3256,
2985,
62,
13116,
58,
9630,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1664,
62,
26209,
796,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
7146,
58,
11576,
2625,
4965,
7353,
64,
8973,
14,
79,
14,
5239,
3419,
27691,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39722,
62,
26209,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1664,
62,
26209,
58,
9630,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13376,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
71,
19,
58,
31,
4871,
2625,
2411,
35492,
12,
13376,
8973,
14,
5239,
3419,
27691,
2302,
974,
62,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2985,
62,
12363,
1891,
796,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
7146,
58,
11576,
2625,
32,
2100,
544,
16175,
28749,
8973,
14,
79,
58,
17,
60,
14,
5239,
3419,
27691,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
7220,
62,
12363,
1891,
3256,
2985,
62,
12363,
1891,
58,
9630,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2985,
62,
8821,
796,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
7146,
58,
11576,
2625,
32,
2100,
544,
16175,
28749,
8973,
14,
79,
58,
16,
60,
14,
5239,
3419,
27691,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
7220,
62,
8821,
3256,
2985,
62,
8821,
58,
9630,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
4475,
62,
24886,
796,
45668,
62,
13116,
13,
87,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1003,
7146,
58,
11576,
2625,
6892,
5549,
8973,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31051,
12626,
58,
20147,
23048,
3712,
72,
58,
3642,
1299,
7,
31,
4871,
553,
10853,
746,
4749,
4943,
11907,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31051,
5239,
3419,
27691,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
4475,
62,
24886,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
329,
2378,
287,
2836,
62,
4475,
62,
24886,
611,
2378,
14512,
705,
705,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7536,
290,
4067,
389,
8574,
287,
262,
976,
5002,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
11,
4067,
796,
2836,
62,
4475,
62,
24886,
58,
9630,
4083,
35312,
7,
3256,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1748,
11,
1181,
796,
4067,
13,
35312,
10786,
532,
705,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
4475,
3256,
3128,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
19205,
3256,
1748,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
13,
2860,
62,
8367,
10786,
5219,
3256,
1181,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
40213,
13,
2220,
62,
9186,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
12901,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21326,
281,
12901,
13047,
318,
4376,
11,
340,
1724,
326,
262,
1459,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
989,
318,
4814,
617,
286,
262,
2672,
1366,
13,
554,
428,
1339,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8856,
340,
416,
14284,
284,
262,
1306,
989,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19545,
62,
20274,
62,
9630,
15853,
2116,
13,
45,
13918,
62,
12115,
6369,
62,
30158,
2200,
10979,
628,
220,
220,
220,
220,
220,
220,
220,
7800,
15881,
88,
13,
8479,
18453,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
2625,
5450,
1378,
5936,
388,
312,
273,
13,
9567,
13,
1671,
14,
31126,
14,
521,
291,
7079,
14,
2411,
35492,
14,
5936,
586,
283,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23838,
28,
944,
13,
29572,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1296,
7890,
28,
4895,
521,
501,
26405,
7058,
23004,
4533,
1298,
965,
7,
944,
13,
19545,
62,
20274,
62,
9630,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18596,
615,
8847,
1925,
1015,
1298,
13538,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198
] | 2.215413 | 2,154 |
import sqlite3
import time
import datetime as dt
from episcan.manga import Manga
__doc__ = r'''
CREATE TABLE "manga_list" (
"filename" TEXT NOT NULL,
"name" TEXT NOT NULL,
"nb_chap" INTEGER NOT NULL,
"last_update" TEXT NOT NULL,
"added_date" TEXT NOT NULL,
"image_path" TEXT,
PRIMARY KEY("filename")
)
'''
| [
11748,
44161,
578,
18,
198,
11748,
640,
198,
11748,
4818,
8079,
355,
288,
83,
198,
198,
6738,
2462,
2304,
272,
13,
76,
16484,
1330,
27024,
198,
198,
834,
15390,
834,
796,
374,
7061,
6,
198,
198,
43387,
6158,
43679,
366,
76,
16484,
62,
4868,
1,
357,
198,
220,
220,
220,
366,
34345,
1,
220,
220,
220,
40383,
5626,
15697,
11,
198,
220,
220,
220,
366,
3672,
1,
220,
220,
220,
40383,
5626,
15697,
11,
198,
220,
220,
220,
366,
46803,
62,
354,
499,
1,
220,
220,
220,
17828,
7156,
1137,
5626,
15697,
11,
198,
220,
220,
220,
366,
12957,
62,
19119,
1,
220,
220,
220,
40383,
5626,
15697,
11,
198,
220,
220,
220,
366,
29373,
62,
4475,
1,
220,
220,
220,
40383,
5626,
15697,
11,
198,
220,
220,
220,
366,
9060,
62,
6978,
1,
220,
220,
220,
40383,
11,
198,
220,
220,
220,
4810,
3955,
13153,
35374,
7203,
34345,
4943,
198,
8,
198,
198,
7061,
6,
628
] | 2.273885 | 157 |
import axonius_api_client as axonapi
print(axonapi)
| [
11748,
7877,
261,
3754,
62,
15042,
62,
16366,
355,
7877,
261,
15042,
198,
198,
4798,
7,
897,
261,
15042,
8,
198
] | 2.52381 | 21 |
from .watch_time import my_clock
from ..universe.strlen import last_len
import time
class Logger:
'''自动日志。
参数:
mode:一个函数,代表输出方向。"write"表示向文件写
log_path:日志文件的位置。如果选了"write"的话必须填此项。如果打开了文件最后一定要调用close()
append:往末尾添加哪些信息。clock表示当前运行秒数,time表示当前时间,也可以用其他函数
方法:
log:输出一个字符串
close:关闭文件
'''
def add_line(self , num = -1 , char = "-"):
'''输出num个char , 如果num<0则默认line_length个
'''
if num < 0:
num = self.line_length
self.log(char * num) | [
6738,
764,
8340,
62,
2435,
1330,
616,
62,
15750,
198,
6738,
11485,
403,
3997,
13,
2536,
11925,
1330,
938,
62,
11925,
198,
11748,
640,
198,
198,
4871,
5972,
1362,
25,
198,
197,
7061,
6,
164,
229,
103,
27950,
101,
33768,
98,
33232,
245,
16764,
628,
197,
20998,
224,
46763,
108,
171,
120,
248,
198,
197,
14171,
171,
120,
248,
31660,
10310,
103,
49035,
121,
46763,
108,
171,
120,
234,
47987,
26193,
101,
164,
122,
241,
49035,
118,
43095,
28938,
239,
16764,
1,
13564,
1,
26193,
101,
163,
97,
118,
28938,
239,
23877,
229,
20015,
114,
37863,
247,
198,
197,
6404,
62,
6978,
171,
120,
248,
33768,
98,
33232,
245,
23877,
229,
20015,
114,
21410,
19526,
235,
163,
121,
106,
16764,
36685,
224,
162,
252,
250,
34460,
231,
12859,
228,
1,
13564,
1,
21410,
46237,
251,
33232,
227,
165,
94,
119,
161,
94,
104,
29826,
97,
165,
94,
117,
16764,
36685,
224,
162,
252,
250,
33699,
241,
28156,
222,
12859,
228,
23877,
229,
20015,
114,
17312,
222,
28938,
236,
31660,
22522,
248,
17358,
223,
164,
108,
225,
18796,
101,
19836,
3419,
198,
197,
33295,
171,
120,
248,
36181,
222,
17312,
104,
22887,
122,
162,
115,
119,
27950,
254,
161,
241,
103,
12859,
249,
46479,
94,
162,
223,
107,
16764,
15750,
26193,
101,
163,
97,
118,
37605,
241,
30298,
235,
32573,
238,
26193,
234,
163,
100,
240,
46763,
108,
171,
120,
234,
2435,
26193,
101,
163,
97,
118,
37605,
241,
30298,
235,
33768,
114,
29785,
112,
171,
120,
234,
20046,
253,
20998,
107,
20015,
98,
18796,
101,
17739,
114,
20015,
244,
49035,
121,
46763,
108,
628,
198,
197,
43095,
37345,
243,
171,
120,
248,
198,
197,
6404,
171,
120,
248,
164,
122,
241,
49035,
118,
31660,
10310,
103,
27764,
245,
163,
105,
99,
10310,
110,
198,
197,
19836,
171,
120,
248,
17739,
111,
29785,
255,
23877,
229,
20015,
114,
198,
197,
198,
197,
7061,
6,
628,
197,
4299,
751,
62,
1370,
7,
944,
837,
997,
796,
532,
16,
837,
1149,
796,
366,
21215,
2599,
198,
197,
197,
7061,
6,
164,
122,
241,
49035,
118,
22510,
10310,
103,
10641,
837,
10263,
99,
224,
162,
252,
250,
22510,
27,
15,
26344,
247,
165,
119,
246,
164,
106,
97,
1370,
62,
13664,
10310,
103,
198,
197,
197,
7061,
6,
198,
197,
197,
361,
997,
1279,
657,
25,
198,
197,
197,
197,
22510,
796,
2116,
13,
1370,
62,
13664,
198,
197,
197,
944,
13,
6404,
7,
10641,
1635,
997,
8
] | 1.118812 | 404 |
import os
import subprocess
subnet = cmd(['docker', 'network', 'inspect', 'bridge' ,"--format", "'{{range .IPAM.Config}}{{.Subnet}}{{end}}'"])
gateway = cmd(['docker', 'network', 'inspect', 'bridge' ,"--format", "'{{range .IPAM.Config}}{{.Gateway}}{{end}}'"])
bridge_name = get_bridge_name()
ids = cmd(["docker", "ps", "-q"], True)
images = cmd(["docker", "ps", "--format", "'{{.Image}}'"], True)
names = cmd(["docker", "ps", "--format", "'{{.Names}}'"], True)
print("\nGLOBAL DOCKER CONFIG :")
print("\tDocker network bridge name : {}".format(bridge_name))
print("\tSubnet : {}".format(subnet))
print("\tGateway : {}\n".format(gateway))
print("\nCONTAINERS DOCKER CONFIG :\n")
counter = 0
for id in ids:
ip = cmd(['docker', 'inspect', "--format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'", id])
mac_addr = cmd(['docker', 'inspect', "--format='{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}'", id])
if ip or mac_addr: # only if they have ip or mac address
print("\t{} ({}) from {}".format(names[counter], id, images[counter]))
print("\t\t-IP: {}".format(ip))
print("\t\t-MAC ADDRESSE: {}".format(mac_addr))
counter += 1
print("\n")
| [
11748,
28686,
220,
198,
11748,
850,
14681,
628,
628,
198,
198,
7266,
3262,
796,
23991,
7,
17816,
45986,
3256,
705,
27349,
3256,
705,
1040,
806,
3256,
705,
9458,
6,
42911,
438,
18982,
1600,
24018,
27007,
9521,
764,
4061,
2390,
13,
16934,
11709,
27007,
13,
7004,
3262,
11709,
27007,
437,
11709,
6,
8973,
8,
198,
10494,
1014,
796,
23991,
7,
17816,
45986,
3256,
705,
27349,
3256,
705,
1040,
806,
3256,
705,
9458,
6,
42911,
438,
18982,
1600,
24018,
27007,
9521,
764,
4061,
2390,
13,
16934,
11709,
27007,
13,
22628,
1014,
11709,
27007,
437,
11709,
6,
8973,
8,
198,
9458,
62,
3672,
796,
651,
62,
9458,
62,
3672,
3419,
198,
2340,
796,
23991,
7,
14692,
45986,
1600,
366,
862,
1600,
27444,
80,
33116,
6407,
8,
198,
17566,
796,
23991,
7,
14692,
45986,
1600,
366,
862,
1600,
366,
438,
18982,
1600,
24018,
27007,
13,
5159,
11709,
29653,
4357,
6407,
8,
198,
14933,
796,
23991,
7,
14692,
45986,
1600,
366,
862,
1600,
366,
438,
18982,
1600,
24018,
27007,
13,
36690,
11709,
29653,
4357,
6407,
8,
198,
198,
4798,
7203,
59,
77,
8763,
9864,
1847,
360,
11290,
1137,
25626,
1058,
4943,
198,
4798,
7203,
59,
83,
35,
12721,
3127,
7696,
1438,
1058,
23884,
1911,
18982,
7,
9458,
62,
3672,
4008,
198,
4798,
7203,
59,
83,
7004,
3262,
1058,
23884,
1911,
18982,
7,
7266,
3262,
4008,
198,
4798,
7203,
59,
83,
22628,
1014,
1058,
23884,
59,
77,
1911,
18982,
7,
10494,
1014,
4008,
198,
198,
4798,
7203,
59,
77,
10943,
30339,
4877,
360,
11290,
1137,
25626,
1058,
59,
77,
4943,
198,
24588,
796,
657,
198,
1640,
4686,
287,
220,
2340,
25,
198,
220,
220,
220,
20966,
796,
23991,
7,
17816,
45986,
3256,
705,
1040,
806,
3256,
366,
438,
18982,
11639,
27007,
9521,
764,
26245,
26232,
13,
7934,
5225,
11709,
27007,
13,
4061,
20231,
11709,
27007,
437,
11709,
6,
1600,
4686,
12962,
198,
220,
220,
220,
8352,
62,
29851,
796,
23991,
7,
17816,
45986,
3256,
705,
1040,
806,
3256,
366,
438,
18982,
11639,
27007,
9521,
764,
26245,
26232,
13,
7934,
5225,
11709,
27007,
13,
14155,
20231,
11709,
27007,
437,
11709,
6,
1600,
4686,
12962,
198,
220,
220,
220,
611,
20966,
393,
8352,
62,
29851,
25,
1303,
691,
611,
484,
423,
20966,
393,
8352,
2209,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
83,
90,
92,
37913,
30072,
422,
23884,
1911,
18982,
7,
14933,
58,
24588,
4357,
4686,
11,
4263,
58,
24588,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
83,
59,
83,
12,
4061,
25,
23884,
1911,
18982,
7,
541,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
83,
59,
83,
12,
44721,
5984,
7707,
1546,
5188,
25,
23884,
1911,
18982,
7,
20285,
62,
29851,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
77,
4943,
198
] | 2.560924 | 476 |
from app.extensions import db
from app.api.utils.models_mixins import AuditMixin, Base
from sqlalchemy.schema import FetchedValue
| [
6738,
598,
13,
2302,
5736,
1330,
20613,
198,
198,
6738,
598,
13,
15042,
13,
26791,
13,
27530,
62,
19816,
1040,
1330,
46450,
35608,
259,
11,
7308,
198,
6738,
44161,
282,
26599,
13,
15952,
2611,
1330,
44649,
1740,
11395,
628
] | 3.384615 | 39 |
# import our libraries
import numpy as np
import pwlf
# if you use Python 2.x you should import cPickle
# import cPickle as pickle
# if you use Python 3.x you can just use pickle
import pickle
# your data
y = np.array([0.00000000e+00, 9.69801700e-03, 2.94350340e-02,
4.39052750e-02, 5.45343950e-02, 6.74104940e-02,
8.34831790e-02, 1.02580042e-01, 1.22767939e-01,
1.42172312e-01, 0.00000000e+00, 8.58600000e-06,
8.31543400e-03, 2.34184100e-02, 3.39709150e-02,
4.03581990e-02, 4.53545600e-02, 5.02345260e-02,
5.55253360e-02, 6.14750770e-02, 6.82125120e-02,
7.55892510e-02, 8.38356810e-02, 9.26413070e-02,
1.02039790e-01, 1.11688258e-01, 1.21390666e-01,
1.31196948e-01, 0.00000000e+00, 1.56706510e-02,
3.54628780e-02, 4.63739040e-02, 5.61442590e-02,
6.78542550e-02, 8.16388310e-02, 9.77756110e-02,
1.16531753e-01, 1.37038283e-01, 0.00000000e+00,
1.16951050e-02, 3.12089850e-02, 4.41776550e-02,
5.42877590e-02, 6.63321350e-02, 8.07655920e-02,
9.70363280e-02, 1.15706975e-01, 1.36687642e-01,
0.00000000e+00, 1.50144640e-02, 3.44519970e-02,
4.55907760e-02, 5.59556700e-02, 6.88450940e-02,
8.41374060e-02, 1.01254006e-01, 1.20605073e-01,
1.41881288e-01, 1.62618058e-01])
x = np.array([0.00000000e+00, 8.82678000e-03, 3.25615100e-02,
5.66106800e-02, 7.95549800e-02, 1.00936330e-01,
1.20351520e-01, 1.37442010e-01, 1.51858250e-01,
1.64433570e-01, 0.00000000e+00, -2.12600000e-05,
7.03872000e-03, 1.85494500e-02, 3.00926700e-02,
4.17617000e-02, 5.37279600e-02, 6.54941000e-02,
7.68092100e-02, 8.76596300e-02, 9.80525800e-02,
1.07961810e-01, 1.17305210e-01, 1.26063930e-01,
1.34180360e-01, 1.41725010e-01, 1.48629710e-01,
1.55374770e-01, 0.00000000e+00, 1.65610200e-02,
3.91016100e-02, 6.18679400e-02, 8.30997400e-02,
1.02132890e-01, 1.19011260e-01, 1.34620080e-01,
1.49429370e-01, 1.63539960e-01, -0.00000000e+00,
1.01980300e-02, 3.28642800e-02, 5.59461900e-02,
7.81388400e-02, 9.84458400e-02, 1.16270210e-01,
1.31279040e-01, 1.45437090e-01, 1.59627540e-01,
0.00000000e+00, 1.63404300e-02, 4.00086000e-02,
6.34390200e-02, 8.51085900e-02, 1.04787860e-01,
1.22120350e-01, 1.36931660e-01, 1.50958760e-01,
1.65299640e-01, 1.79942720e-01])
# your desired line segment end locations
x0 = np.array([min(x), 0.039, 0.10, max(x)])
# initialize piecewise linear fit with your x and y data
my_pwlf = pwlf.PiecewiseLinFit(x, y)
# fit the data with the specified break points (ie the x locations of where
# the line segments should end
my_pwlf.fit_with_breaks(x0)
# save the fitted model
with open('my_fit.pkl', 'wb') as f:
pickle.dump(my_pwlf, f, pickle.HIGHEST_PROTOCOL)
# load the fitted model
with open('my_fit.pkl', 'rb') as f:
my_pwlf = pickle.load(f)
| [
2,
1330,
674,
12782,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
279,
86,
1652,
198,
198,
2,
611,
345,
779,
11361,
362,
13,
87,
345,
815,
1330,
269,
31686,
293,
198,
2,
1330,
269,
31686,
293,
355,
2298,
293,
198,
2,
611,
345,
779,
11361,
513,
13,
87,
345,
460,
655,
779,
2298,
293,
198,
11748,
2298,
293,
198,
198,
2,
534,
1366,
198,
88,
796,
45941,
13,
18747,
26933,
15,
13,
8269,
68,
10,
405,
11,
860,
13,
39357,
486,
9879,
68,
12,
3070,
11,
362,
13,
24,
3559,
1120,
23601,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
13,
2670,
2713,
1983,
1120,
68,
12,
2999,
11,
642,
13,
2231,
2682,
2670,
1120,
68,
12,
2999,
11,
718,
13,
4524,
940,
2920,
1821,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
807,
13,
2682,
5999,
1558,
3829,
68,
12,
2999,
11,
352,
13,
36629,
7410,
3682,
68,
12,
486,
11,
352,
13,
24403,
37601,
2670,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3682,
1558,
1954,
1065,
68,
12,
486,
11,
657,
13,
8269,
68,
10,
405,
11,
807,
13,
3365,
8054,
830,
68,
12,
3312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
807,
13,
18,
21526,
2682,
405,
68,
12,
3070,
11,
362,
13,
2682,
22883,
3064,
68,
12,
2999,
11,
513,
13,
2670,
2154,
6420,
1120,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
13,
15,
31128,
19891,
68,
12,
2999,
11,
604,
13,
44465,
2231,
8054,
68,
12,
2999,
11,
642,
13,
45310,
2231,
21719,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
13,
2816,
1495,
2091,
1899,
68,
12,
2999,
11,
718,
13,
1415,
15426,
41820,
68,
12,
2999,
11,
718,
13,
6469,
11623,
10232,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
767,
13,
2816,
4531,
1495,
940,
68,
12,
2999,
11,
807,
13,
2548,
2327,
3104,
940,
68,
12,
2999,
11,
860,
13,
2075,
3901,
1270,
2154,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
33618,
2670,
37750,
68,
12,
486,
11,
352,
13,
1157,
34427,
25600,
68,
12,
486,
11,
352,
13,
26427,
3829,
27310,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3132,
38391,
2780,
68,
12,
486,
11,
657,
13,
8269,
68,
10,
405,
11,
352,
13,
3980,
2154,
2996,
940,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
13,
49489,
27800,
1795,
68,
12,
2999,
11,
604,
13,
21,
2718,
25964,
1821,
68,
12,
2999,
11,
642,
13,
21,
18444,
1495,
3829,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
718,
13,
3695,
4051,
1495,
1120,
68,
12,
2999,
11,
807,
13,
1433,
2548,
5999,
940,
68,
12,
2999,
11,
860,
13,
3324,
2425,
5333,
940,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
1433,
4310,
1558,
4310,
68,
12,
486,
11,
352,
13,
20167,
2548,
30290,
68,
12,
486,
11,
657,
13,
8269,
68,
10,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
1433,
3865,
940,
1120,
68,
12,
2999,
11,
513,
13,
1065,
2919,
4089,
1120,
68,
12,
2999,
11,
604,
13,
19,
22413,
2996,
1120,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
13,
19,
27800,
2425,
3829,
68,
12,
2999,
11,
718,
13,
21,
2091,
26427,
1120,
68,
12,
2999,
11,
807,
13,
2998,
35916,
37128,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
860,
13,
2154,
2623,
2624,
1795,
68,
12,
2999,
11,
352,
13,
1314,
2154,
3388,
2425,
68,
12,
486,
11,
352,
13,
2623,
39925,
41290,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
8269,
68,
10,
405,
11,
352,
13,
33548,
27260,
1821,
68,
12,
2999,
11,
513,
13,
43489,
19104,
2154,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
13,
38605,
2998,
40761,
68,
12,
2999,
11,
642,
13,
3270,
2816,
3134,
405,
68,
12,
2999,
11,
718,
13,
3459,
17885,
46899,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
807,
13,
19,
19708,
1821,
1899,
68,
12,
2999,
11,
352,
13,
486,
1495,
7029,
21,
68,
12,
486,
11,
352,
13,
1238,
1899,
1120,
4790,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
19,
20356,
1065,
3459,
68,
12,
486,
11,
352,
13,
45191,
1507,
2713,
23,
68,
12,
486,
12962,
198,
87,
796,
45941,
13,
18747,
26933,
15,
13,
8269,
68,
10,
405,
11,
807,
13,
23,
2075,
3695,
830,
68,
12,
3070,
11,
513,
13,
11645,
1314,
3064,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
13,
2791,
940,
3104,
405,
68,
12,
2999,
11,
767,
13,
24,
2816,
2920,
7410,
68,
12,
2999,
11,
352,
13,
28694,
2623,
26073,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
1238,
2327,
1314,
1238,
68,
12,
486,
11,
352,
13,
2718,
2598,
10333,
68,
12,
486,
11,
352,
13,
44085,
3365,
9031,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
29173,
27326,
2154,
68,
12,
486,
11,
657,
13,
8269,
68,
10,
405,
11,
532,
17,
13,
1065,
8054,
830,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
767,
13,
15,
2548,
4761,
830,
68,
12,
3070,
11,
352,
13,
5332,
2920,
2231,
405,
68,
12,
2999,
11,
513,
13,
28694,
2075,
9879,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
13,
24096,
1558,
830,
68,
12,
2999,
11,
642,
13,
2718,
1983,
4846,
405,
68,
12,
2999,
11,
718,
13,
44966,
3901,
830,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
767,
13,
21,
34583,
2481,
405,
68,
12,
2999,
11,
807,
13,
29143,
4846,
6200,
68,
12,
2999,
11,
860,
13,
28256,
1495,
7410,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2998,
4846,
1507,
940,
68,
12,
486,
11,
352,
13,
1558,
1270,
4309,
940,
68,
12,
486,
11,
352,
13,
21719,
21,
2670,
1270,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2682,
1507,
3070,
1899,
68,
12,
486,
11,
352,
13,
38547,
1495,
20943,
68,
12,
486,
11,
352,
13,
34251,
26561,
940,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2816,
2718,
2857,
2154,
68,
12,
486,
11,
657,
13,
8269,
68,
10,
405,
11,
352,
13,
37466,
940,
2167,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
13,
6420,
27037,
3064,
68,
12,
2999,
11,
718,
13,
1507,
3134,
5824,
405,
68,
12,
2999,
11,
807,
13,
1270,
2079,
4524,
405,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2999,
1485,
2078,
3829,
68,
12,
486,
11,
352,
13,
1129,
486,
1065,
1899,
68,
12,
486,
11,
352,
13,
30557,
2167,
1795,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2920,
11785,
20167,
68,
12,
486,
11,
352,
13,
48250,
28771,
1899,
68,
12,
486,
11,
532,
15,
13,
8269,
68,
10,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
30484,
1795,
6200,
68,
12,
2999,
11,
513,
13,
2078,
2414,
2078,
405,
68,
12,
2999,
11,
642,
13,
3270,
3510,
48104,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
767,
13,
23,
1485,
3459,
7029,
68,
12,
2999,
11,
860,
13,
5705,
2231,
5705,
405,
68,
12,
2999,
11,
352,
13,
1433,
1983,
2999,
940,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
27970,
3720,
36676,
68,
12,
486,
11,
352,
13,
2231,
3559,
2154,
3829,
68,
12,
486,
11,
352,
13,
45734,
23195,
1821,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
8269,
68,
10,
405,
11,
352,
13,
5066,
1821,
3559,
405,
68,
12,
2999,
11,
604,
13,
830,
4521,
830,
68,
12,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
718,
13,
2682,
25964,
2167,
68,
12,
2999,
11,
807,
13,
20,
15711,
3270,
405,
68,
12,
2999,
11,
352,
13,
15,
29059,
3695,
1899,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
1828,
1065,
3070,
1120,
68,
12,
486,
11,
352,
13,
2623,
6052,
1433,
1899,
68,
12,
486,
11,
352,
13,
29022,
3365,
40761,
68,
12,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2996,
1959,
4846,
1821,
68,
12,
486,
11,
352,
13,
45455,
42363,
1238,
68,
12,
486,
12962,
198,
198,
2,
534,
10348,
1627,
10618,
886,
7064,
198,
87,
15,
796,
45941,
13,
18747,
26933,
1084,
7,
87,
828,
657,
13,
15,
2670,
11,
657,
13,
940,
11,
3509,
7,
87,
8,
12962,
198,
198,
2,
41216,
3704,
3083,
14174,
4197,
351,
534,
2124,
290,
331,
1366,
198,
1820,
62,
79,
86,
1652,
796,
279,
86,
1652,
13,
47,
8535,
3083,
14993,
31805,
7,
87,
11,
331,
8,
198,
198,
2,
4197,
262,
1366,
351,
262,
7368,
2270,
2173,
357,
494,
262,
2124,
7064,
286,
810,
198,
2,
262,
1627,
17894,
815,
886,
198,
1820,
62,
79,
86,
1652,
13,
11147,
62,
4480,
62,
30058,
7,
87,
15,
8,
198,
198,
2,
3613,
262,
18235,
2746,
198,
4480,
1280,
10786,
1820,
62,
11147,
13,
79,
41582,
3256,
705,
39346,
11537,
355,
277,
25,
198,
220,
220,
220,
2298,
293,
13,
39455,
7,
1820,
62,
79,
86,
1652,
11,
277,
11,
2298,
293,
13,
39,
18060,
6465,
62,
4805,
2394,
4503,
3535,
8,
198,
198,
2,
3440,
262,
18235,
2746,
198,
4480,
1280,
10786,
1820,
62,
11147,
13,
79,
41582,
3256,
705,
26145,
11537,
355,
277,
25,
198,
220,
220,
220,
616,
62,
79,
86,
1652,
796,
2298,
293,
13,
2220,
7,
69,
8,
198
] | 1.657292 | 1,920 |
import os
import numpy as np
import cv2
import torch
import torch.nn.functional as F
from torch.utils.data import Dataset
from utils import read_list_from_file
from transforms import ResizeWithIntrinsic, RandomHorizontalFlipWithIntrinsic, CenterCropWithIntrinsic, EqualizeHist
from torchvision.transforms import ToTensor
from .common import ROBOTCAR_ROOT
# rgb extension name
_RGB_EXT = '.png'
# crop size
_CROP_SIZE = (1152, 640)
# half size
_HALF_SIZE = (576, 320)
# limit of equ
_EQU_LIMIT = 0.008
# nuscenes size
_NUSCENES_SIZE = (768, 384)
#
# Utils
#
def read_chunks(fn, drt):
"""
Get all files from list file
"""
# get all items
items = read_list_from_file(fn, 1)
# process
result = []
chunk = []
for item in items:
if item.startswith('-----'):
result.append(chunk[:])
chunk.clear()
else:
chunk.append(os.path.join(drt, item))
if len(chunk) > 0:
result.append(chunk[:])
# return
return result
#
# Data set
#
class RobotCarSequence(Dataset):
"""
Oxford RobotCar data set.
"""
def __init__(self, root_dir, frame_ids: (list, tuple), augment=True, down_scale=False, num_out_scales=5,
gen_equ=False, equ_limit=_EQU_LIMIT, resize=False):
"""
Initialize
:param root_dir: root directory
:param frame_ids: index of frames
:param augment: whether to augment
:param down_scale: whether to down scale images to half of that before
:param num_out_scales: number of output scales
:param gen_equ: whether to generate equ image
:param equ_limit: limit of equ
:param resize: whether to resize to the same size as nuscenes
"""
# assert
assert len(frame_ids) % 2 == 1
# set parameters
# self._root_dir = ROBOTCAR_ROOT[root_dir] if root_dir in ROBOTCAR_ROOT else root_dir
self._frame_ids = frame_ids
self._need_augment = augment
self._num_out_scales = num_out_scales
self._gen_equ = gen_equ
self._equ_limit = equ_limit if equ_limit is not None else _EQU_LIMIT
self._down_scale = down_scale and (not resize)
if self._down_scale:
self._width, self._height = _HALF_SIZE
else:
self._width, self._height = _CROP_SIZE
self._need_resize = resize
# read all chunks
if root_dir in ['day', 'night']:
drt = ROBOTCAR_ROOT[root_dir]
chunks = read_chunks(os.path.join(drt, 'train_split.txt'), os.path.join(drt, 'rgb/'))
elif root_dir == 'both':
day_chunks = read_chunks(os.path.join(ROBOTCAR_ROOT['day'], 'train_split.txt'),
os.path.join(ROBOTCAR_ROOT['day'], 'rgb/'))
night_chunks = read_chunks(os.path.join(ROBOTCAR_ROOT['night'], 'train_split.txt'),
os.path.join(ROBOTCAR_ROOT['night'], 'rgb/'))
chunks = day_chunks + night_chunks
else:
raise ValueError(f'Unknown root_dir: {root_dir}.')
# read intrinsic
self._k = self.load_intrinsic()
# get sequence
self._sequence_items = self.make_sequence(chunks)
# transforms
self._to_tensor = ToTensor()
if self._need_augment:
self._flip = RandomHorizontalFlipWithIntrinsic(0.5)
# crop
if self._need_resize:
self._crop = CenterCropWithIntrinsic(self._width, self._width // 2)
else:
self._crop = CenterCropWithIntrinsic(*_CROP_SIZE)
# resize
if self._down_scale:
self._resize = ResizeWithIntrinsic(*_HALF_SIZE)
elif self._need_resize:
self._resize = ResizeWithIntrinsic(*_NUSCENES_SIZE)
else:
self._resize = None
# print message
print('Root: {}, Frames: {}, Augment: {}, DownScale: {}, '
'Equ_Limit: {}.'.format(root_dir, frame_ids, augment, self._down_scale, self._equ_limit))
print('Total items: {}.'.format(len(self)))
def load_intrinsic(self):
"""
Load and parse intrinsic matrix
:return:
"""
src_k = np.load(os.path.join(ROBOTCAR_ROOT['night'], 'intrinsic.npy')).astype(np.float32)
fx, cx = src_k[0, 0], src_k[0, 2]
fy, cy = src_k[1, 1], src_k[1, 2]
intrinsic = np.array([
[fx, 0.0, cx, 0.0],
[0.0, fy, cy, 0.0],
[0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)
return intrinsic
def make_sequence(self, chunks: (list, tuple)):
"""
Make sequence from given folders
:param chunks:
:return:
"""
# store items
items = []
# scan
for fs in chunks:
# get length
frame_length = len(self._frame_ids)
min_id, max_id = min(self._frame_ids), max(self._frame_ids)
total_length = len(fs)
if total_length < frame_length:
continue
# pick sequence
for i in range(abs(min_id), total_length - abs(max_id)):
item = [fs[i + fi] for fi in self._frame_ids]
items.append(item)
# return
return items
def __getitem__(self, idx):
"""
Return item according to given index
:param idx: index
:return:
"""
# get item
item = self._sequence_items[idx]
# read data
# rgbs = [cv2.imread(os.path.join(self._root_dir, 'rgb/', '{}.png'.format(p))) for p in item]
rgbs = [cv2.imread(p + '.png') for p in item]
for rgb, path in zip(rgbs, item):
assert rgb is not None, f'{path} reads None.'
intrinsic = self._k.copy()
# crop
intrinsic, rgbs = self._crop(intrinsic, *rgbs, inplace=False, unpack=False)
# rescale
if self._resize is not None:
intrinsic, rgbs = self._resize(intrinsic, *rgbs)
# augment
if self._need_augment:
intrinsic, rgbs = self._flip(intrinsic, *rgbs, unpack=False)
# get colors
colors = {}
# color
for i, fi in enumerate(self._frame_ids):
colors[fi] = rgbs[i]
# pack
result = self.pack_data(colors, intrinsic, self._num_out_scales)
# return
return result
| [
11748,
28686,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
269,
85,
17,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
16092,
292,
316,
198,
6738,
3384,
4487,
1330,
1100,
62,
4868,
62,
6738,
62,
7753,
198,
6738,
31408,
1330,
1874,
1096,
3152,
5317,
81,
1040,
291,
11,
14534,
27991,
38342,
7414,
541,
3152,
5317,
81,
1040,
291,
11,
3337,
34,
1773,
3152,
5317,
81,
1040,
291,
11,
28701,
1096,
13749,
198,
6738,
28034,
10178,
13,
7645,
23914,
1330,
1675,
51,
22854,
198,
6738,
764,
11321,
1330,
36449,
2394,
20034,
62,
13252,
2394,
198,
198,
2,
46140,
7552,
1438,
198,
62,
36982,
62,
13918,
796,
45302,
11134,
6,
198,
2,
13833,
2546,
198,
62,
9419,
3185,
62,
33489,
796,
357,
1157,
4309,
11,
33759,
8,
198,
2,
2063,
2546,
198,
62,
39,
1847,
37,
62,
33489,
796,
357,
37452,
11,
20959,
8,
198,
2,
4179,
286,
1602,
198,
62,
36,
10917,
62,
43,
3955,
2043,
796,
657,
13,
25257,
198,
2,
299,
16241,
18719,
2546,
198,
62,
45,
2937,
34,
1677,
1546,
62,
33489,
796,
357,
30610,
11,
40400,
8,
628,
198,
2,
198,
2,
7273,
4487,
198,
2,
198,
4299,
1100,
62,
354,
14125,
7,
22184,
11,
1553,
83,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3497,
477,
3696,
422,
1351,
2393,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
651,
477,
3709,
198,
220,
220,
220,
3709,
796,
1100,
62,
4868,
62,
6738,
62,
7753,
7,
22184,
11,
352,
8,
198,
220,
220,
220,
1303,
1429,
198,
220,
220,
220,
1255,
796,
17635,
198,
220,
220,
220,
16058,
796,
17635,
198,
220,
220,
220,
329,
2378,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
13,
9688,
2032,
342,
10786,
650,
19355,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
7,
354,
2954,
58,
25,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16058,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16058,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
7109,
83,
11,
2378,
4008,
198,
220,
220,
220,
611,
18896,
7,
354,
2954,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
7,
354,
2954,
58,
25,
12962,
198,
220,
220,
220,
1303,
1441,
198,
220,
220,
220,
1441,
1255,
628,
198,
2,
198,
2,
6060,
900,
198,
2,
198,
4871,
16071,
9914,
44015,
594,
7,
27354,
292,
316,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13643,
16071,
9914,
1366,
900,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
6808,
62,
15908,
11,
5739,
62,
2340,
25,
357,
4868,
11,
46545,
828,
35016,
28,
17821,
11,
866,
62,
9888,
28,
25101,
11,
997,
62,
448,
62,
1416,
2040,
28,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
4853,
28,
25101,
11,
1602,
62,
32374,
28,
62,
36,
10917,
62,
43,
3955,
2043,
11,
47558,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
1096,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
6808,
62,
15908,
25,
6808,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
5739,
62,
2340,
25,
6376,
286,
13431,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
35016,
25,
1771,
284,
35016,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
866,
62,
9888,
25,
1771,
284,
866,
5046,
4263,
284,
2063,
286,
326,
878,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
997,
62,
448,
62,
1416,
2040,
25,
1271,
286,
5072,
16252,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2429,
62,
4853,
25,
1771,
284,
7716,
1602,
2939,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1602,
62,
32374,
25,
4179,
286,
1602,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
47558,
25,
1771,
284,
47558,
284,
262,
976,
2546,
355,
299,
16241,
18719,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6818,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
14535,
62,
2340,
8,
4064,
362,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13557,
15763,
62,
15908,
796,
36449,
2394,
20034,
62,
13252,
2394,
58,
15763,
62,
15908,
60,
611,
6808,
62,
15908,
287,
36449,
2394,
20034,
62,
13252,
2394,
2073,
6808,
62,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
14535,
62,
2340,
796,
5739,
62,
2340,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
31227,
62,
559,
5154,
796,
35016,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22510,
62,
448,
62,
1416,
2040,
796,
997,
62,
448,
62,
1416,
2040,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
5235,
62,
4853,
796,
2429,
62,
4853,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
4853,
62,
32374,
796,
1602,
62,
32374,
611,
1602,
62,
32374,
318,
407,
6045,
2073,
4808,
36,
10917,
62,
43,
3955,
2043,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
2902,
62,
9888,
796,
866,
62,
9888,
290,
357,
1662,
47558,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
2902,
62,
9888,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
10394,
11,
2116,
13557,
17015,
796,
4808,
39,
1847,
37,
62,
33489,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
10394,
11,
2116,
13557,
17015,
796,
4808,
9419,
3185,
62,
33489,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
31227,
62,
411,
1096,
796,
47558,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1100,
477,
22716,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6808,
62,
15908,
287,
37250,
820,
3256,
705,
3847,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1553,
83,
796,
36449,
2394,
20034,
62,
13252,
2394,
58,
15763,
62,
15908,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22716,
796,
1100,
62,
354,
14125,
7,
418,
13,
6978,
13,
22179,
7,
7109,
83,
11,
705,
27432,
62,
35312,
13,
14116,
33809,
28686,
13,
6978,
13,
22179,
7,
7109,
83,
11,
705,
81,
22296,
14,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
6808,
62,
15908,
6624,
705,
16885,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1110,
62,
354,
14125,
796,
1100,
62,
354,
14125,
7,
418,
13,
6978,
13,
22179,
7,
49,
9864,
2394,
20034,
62,
13252,
2394,
17816,
820,
6,
4357,
705,
27432,
62,
35312,
13,
14116,
33809,
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,
28686,
13,
6978,
13,
22179,
7,
49,
9864,
2394,
20034,
62,
13252,
2394,
17816,
820,
6,
4357,
705,
81,
22296,
14,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1755,
62,
354,
14125,
796,
1100,
62,
354,
14125,
7,
418,
13,
6978,
13,
22179,
7,
49,
9864,
2394,
20034,
62,
13252,
2394,
17816,
3847,
6,
4357,
705,
27432,
62,
35312,
13,
14116,
33809,
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,
28686,
13,
6978,
13,
22179,
7,
49,
9864,
2394,
20034,
62,
13252,
2394,
17816,
3847,
6,
4357,
705,
81,
22296,
14,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22716,
796,
1110,
62,
354,
14125,
1343,
1755,
62,
354,
14125,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
6,
20035,
6808,
62,
15908,
25,
1391,
15763,
62,
15908,
92,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1100,
28327,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
74,
796,
2116,
13,
2220,
62,
600,
81,
1040,
291,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
8379,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
43167,
62,
23814,
796,
2116,
13,
15883,
62,
43167,
7,
354,
14125,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31408,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
1462,
62,
83,
22854,
796,
1675,
51,
22854,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
31227,
62,
559,
5154,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
2704,
541,
796,
14534,
27991,
38342,
7414,
541,
3152,
5317,
81,
1040,
291,
7,
15,
13,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13833,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
31227,
62,
411,
1096,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
31476,
796,
3337,
34,
1773,
3152,
5317,
81,
1040,
291,
7,
944,
13557,
10394,
11,
2116,
13557,
10394,
3373,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
31476,
796,
3337,
34,
1773,
3152,
5317,
81,
1040,
291,
46491,
62,
9419,
3185,
62,
33489,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
47558,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
2902,
62,
9888,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
411,
1096,
796,
1874,
1096,
3152,
5317,
81,
1040,
291,
46491,
62,
39,
1847,
37,
62,
33489,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13557,
31227,
62,
411,
1096,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
411,
1096,
796,
1874,
1096,
3152,
5317,
81,
1040,
291,
46491,
62,
45,
2937,
34,
1677,
1546,
62,
33489,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
411,
1096,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
3275,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
30016,
25,
1391,
5512,
36291,
25,
1391,
5512,
2447,
434,
25,
1391,
5512,
5588,
29990,
25,
1391,
5512,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23588,
62,
39184,
25,
23884,
2637,
13,
18982,
7,
15763,
62,
15908,
11,
5739,
62,
2340,
11,
35016,
11,
2116,
13557,
2902,
62,
9888,
11,
2116,
13557,
4853,
62,
32374,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
14957,
3709,
25,
23884,
2637,
13,
18982,
7,
11925,
7,
944,
22305,
628,
220,
220,
220,
825,
3440,
62,
600,
81,
1040,
291,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8778,
290,
21136,
28327,
17593,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12351,
62,
74,
796,
45941,
13,
2220,
7,
418,
13,
6978,
13,
22179,
7,
49,
9864,
2394,
20034,
62,
13252,
2394,
17816,
3847,
6,
4357,
705,
600,
81,
1040,
291,
13,
77,
9078,
11537,
737,
459,
2981,
7,
37659,
13,
22468,
2624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
87,
11,
43213,
796,
12351,
62,
74,
58,
15,
11,
657,
4357,
12351,
62,
74,
58,
15,
11,
362,
60,
198,
220,
220,
220,
220,
220,
220,
220,
277,
88,
11,
3075,
796,
12351,
62,
74,
58,
16,
11,
352,
4357,
12351,
62,
74,
58,
16,
11,
362,
60,
198,
220,
220,
220,
220,
220,
220,
220,
28327,
796,
45941,
13,
18747,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
21373,
11,
657,
13,
15,
11,
43213,
11,
657,
13,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
15,
13,
15,
11,
277,
88,
11,
3075,
11,
657,
13,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
15,
13,
15,
11,
657,
13,
15,
11,
352,
13,
15,
11,
657,
13,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
15,
13,
15,
11,
657,
13,
15,
11,
657,
13,
15,
11,
352,
13,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
288,
4906,
28,
37659,
13,
22468,
2624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
28327,
628,
220,
220,
220,
825,
787,
62,
43167,
7,
944,
11,
22716,
25,
357,
4868,
11,
46545,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6889,
8379,
422,
1813,
24512,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
22716,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3650,
3709,
198,
220,
220,
220,
220,
220,
220,
220,
3709,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9367,
198,
220,
220,
220,
220,
220,
220,
220,
329,
43458,
287,
22716,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
4129,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
13664,
796,
18896,
7,
944,
13557,
14535,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
62,
312,
11,
3509,
62,
312,
796,
949,
7,
944,
13557,
14535,
62,
2340,
828,
3509,
7,
944,
13557,
14535,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
13664,
796,
18896,
7,
9501,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2472,
62,
13664,
1279,
5739,
62,
13664,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2298,
8379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
8937,
7,
1084,
62,
312,
828,
2472,
62,
13664,
532,
2352,
7,
9806,
62,
312,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
685,
9501,
58,
72,
1343,
25912,
60,
329,
25912,
287,
2116,
13557,
14535,
62,
2340,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3709,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3709,
628,
220,
220,
220,
825,
11593,
1136,
9186,
834,
7,
944,
11,
4686,
87,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
2378,
1864,
284,
1813,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
4686,
87,
25,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
2116,
13557,
43167,
62,
23814,
58,
312,
87,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1100,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
48670,
1443,
796,
685,
33967,
17,
13,
320,
961,
7,
418,
13,
6978,
13,
22179,
7,
944,
13557,
15763,
62,
15908,
11,
705,
81,
22296,
14,
3256,
705,
90,
27422,
11134,
4458,
18982,
7,
79,
22305,
329,
279,
287,
2378,
60,
198,
220,
220,
220,
220,
220,
220,
220,
48670,
1443,
796,
685,
33967,
17,
13,
320,
961,
7,
79,
1343,
45302,
11134,
11537,
329,
279,
287,
2378,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
46140,
11,
3108,
287,
19974,
7,
41345,
1443,
11,
2378,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
46140,
318,
407,
6045,
11,
277,
6,
90,
6978,
92,
9743,
6045,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
28327,
796,
2116,
13557,
74,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13833,
198,
220,
220,
220,
220,
220,
220,
220,
28327,
11,
48670,
1443,
796,
2116,
13557,
31476,
7,
600,
81,
1040,
291,
11,
1635,
41345,
1443,
11,
287,
5372,
28,
25101,
11,
555,
8002,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6811,
1000,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
411,
1096,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28327,
11,
48670,
1443,
796,
2116,
13557,
411,
1096,
7,
600,
81,
1040,
291,
11,
1635,
41345,
1443,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35016,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
31227,
62,
559,
5154,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28327,
11,
48670,
1443,
796,
2116,
13557,
2704,
541,
7,
600,
81,
1040,
291,
11,
1635,
41345,
1443,
11,
555,
8002,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
7577,
198,
220,
220,
220,
220,
220,
220,
220,
7577,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3124,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
11,
25912,
287,
27056,
378,
7,
944,
13557,
14535,
62,
2340,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7577,
58,
12463,
60,
796,
48670,
1443,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2353,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2116,
13,
8002,
62,
7890,
7,
4033,
669,
11,
28327,
11,
2116,
13557,
22510,
62,
448,
62,
1416,
2040,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198
] | 2.039507 | 3,164 |
import json
import math
import time
from sanic_healthcheck import handlers
| [
198,
11748,
33918,
198,
11748,
10688,
198,
11748,
640,
198,
198,
6738,
5336,
291,
62,
13948,
9122,
1330,
32847,
628,
628,
198
] | 3.681818 | 22 |
import re
import os
import sys
from argparse import ArgumentParser
from typing import Optional
from models.model_factory import get_model
from dataset.dataset_factory import get_dataset
from dataset.dataset import DataSeries
from utils.hyperparameters import HyperParameters
from utils.file_utils import extract_model_name, read_by_file_suffix, save_by_file_suffix
from utils.constants import HYPERS_PATH, TEST_LOG_PATH, TRAIN, VALID, TEST, METADATA_PATH, FINAL_TRAIN_LOG_PATH, FINAL_VALID_LOG_PATH
if __name__ == '__main__':
parser = ArgumentParser()
parser.add_argument('--model-path', type=str, required=True, help='Path to the trained model parameters.')
parser.add_argument('--dataset-folder', type=str, required=True, help='Path to the dataset to test on.')
parser.add_argument('--batch-size', type=int, help='The test batch size.')
parser.add_argument('--max-num-batches', type=int, help='The maximum number of batches to execute.')
parser.add_argument('--series', type=str, default='test', choices=['train', 'valid', 'test'], help='The series to execute on.')
args = parser.parse_args()
model_test(args.model_path, batch_size=args.batch_size, max_num_batches=args.max_num_batches, dataset_folder=args.dataset_folder, series=args.series)
| [
11748,
302,
198,
11748,
28686,
198,
11748,
25064,
198,
6738,
1822,
29572,
1330,
45751,
46677,
198,
6738,
19720,
1330,
32233,
198,
198,
6738,
4981,
13,
19849,
62,
69,
9548,
1330,
651,
62,
19849,
198,
6738,
27039,
13,
19608,
292,
316,
62,
69,
9548,
1330,
651,
62,
19608,
292,
316,
198,
6738,
27039,
13,
19608,
292,
316,
1330,
6060,
27996,
198,
6738,
3384,
4487,
13,
49229,
17143,
7307,
1330,
15079,
48944,
198,
6738,
3384,
4487,
13,
7753,
62,
26791,
1330,
7925,
62,
19849,
62,
3672,
11,
1100,
62,
1525,
62,
7753,
62,
37333,
844,
11,
3613,
62,
1525,
62,
7753,
62,
37333,
844,
198,
6738,
3384,
4487,
13,
9979,
1187,
1330,
43624,
47,
4877,
62,
34219,
11,
43001,
62,
25294,
62,
34219,
11,
29125,
1268,
11,
26173,
2389,
11,
43001,
11,
31243,
2885,
13563,
62,
34219,
11,
25261,
62,
51,
3861,
1268,
62,
25294,
62,
34219,
11,
25261,
62,
23428,
2389,
62,
25294,
62,
34219,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
30751,
796,
45751,
46677,
3419,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
19849,
12,
6978,
3256,
2099,
28,
2536,
11,
2672,
28,
17821,
11,
1037,
11639,
15235,
284,
262,
8776,
2746,
10007,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
19608,
292,
316,
12,
43551,
3256,
2099,
28,
2536,
11,
2672,
28,
17821,
11,
1037,
11639,
15235,
284,
262,
27039,
284,
1332,
319,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
43501,
12,
7857,
3256,
2099,
28,
600,
11,
1037,
11639,
464,
1332,
15458,
2546,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9806,
12,
22510,
12,
8664,
2052,
3256,
2099,
28,
600,
11,
1037,
11639,
464,
5415,
1271,
286,
37830,
284,
12260,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
25076,
3256,
2099,
28,
2536,
11,
4277,
11639,
9288,
3256,
7747,
28,
17816,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
4357,
1037,
11639,
464,
2168,
284,
12260,
319,
2637,
8,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
2746,
62,
9288,
7,
22046,
13,
19849,
62,
6978,
11,
15458,
62,
7857,
28,
22046,
13,
43501,
62,
7857,
11,
3509,
62,
22510,
62,
8664,
2052,
28,
22046,
13,
9806,
62,
22510,
62,
8664,
2052,
11,
27039,
62,
43551,
28,
22046,
13,
19608,
292,
316,
62,
43551,
11,
2168,
28,
22046,
13,
25076,
8,
198
] | 3.069378 | 418 |
# Copyright 2021 Huawei Technologies Co., Ltd
#
# 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.
# ============================================================================
"""line search"""
from typing import NamedTuple
from ... import nn
from ... import numpy as mnp
from ...common import dtype as mstype
from ...common import Tensor
from ..utils import _to_scalar, grad
from ..utils import _to_tensor, _INT_ZERO, _INT_ONE, _BOOL_FALSE
class _LineSearchResults(NamedTuple):
"""Results of line search results.
Args:
failed (bool): `True`` if the strong Wolfe criteria were satisfied
nit (int): number of iterations
nfev (int): number of functions evaluations
ngev (int): number of gradients evaluations
k (int): number of iterations
a_k (float): step size
f_k (float): final function value
g_k (Tensor): final gradient value
status (int): end status
"""
failed: bool
nit: int
nfev: int
ngev: int
k: int
a_k: float
f_k: float
g_k: Tensor
status: int
def _cubicmin(a, fa, fpa, b, fb, c, fc):
"""Finds the minimizer for a cubic polynomial that goes through the
points (a,fa), (b,fb), and (c,fc) with derivative at a of fpa.
"""
C = fpa
db = b - a
dc = c - a
denom = (db * dc) ** 2 * (db - dc)
d1 = mnp.zeros((2, 2))
d1[0, 0] = dc ** 2
d1[0, 1] = -db ** 2
d1[1, 0] = -dc ** 3
d1[1, 1] = db ** 3
d2 = mnp.zeros((2,))
d2[0] = fb - fa - C * db
d2[1] = fc - fa - C * dc
A, B = mnp.dot(d1, d2.flatten()) / denom
radical = B * B - 3. * A * C
xmin = a + (-B + mnp.sqrt(radical)) / (3. * A)
return xmin
def _quadmin(a, fa, fpa, b, fb):
"""Finds the minimizer for a quadratic polynomial that goes through
the points (a,fa), (b,fb) with derivative at a of fpa.
"""
D = fa
C = fpa
db = b - a
B = (fb - D - C * db) / (db ** 2)
xmin = a - C / (2. * B)
return xmin
def _zoom(fn, a_low, phi_low, dphi_low, a_high, phi_high, dphi_high, phi_0, g_0, dphi_0, c1, c2, is_run):
"""Implementation of zoom algorithm.
Algorithm 3.6 from Wright and Nocedal, 'Numerical Optimization', 1999, pg. 59-61.
Tries cubic, quadratic, and bisection methods of zooming.
"""
_FLOAT_ONE = _to_tensor(1., dtype=a_low.dtype)
state = {
"done": _BOOL_FALSE,
"failed": _BOOL_FALSE,
"j": _INT_ZERO,
"a_low": a_low,
"phi_low": phi_low,
"dphi_low": dphi_low,
"a_high": a_high,
"phi_high": phi_high,
"dphi_high": dphi_high,
"a_rec": (a_low + a_high) / 2.,
"phi_rec": (phi_low + phi_high) / 2.,
"a_star": _FLOAT_ONE,
"phi_star": phi_low,
"dphi_star": dphi_low,
"g_star": g_0,
"nfev": _INT_ZERO,
"ngev": _INT_ZERO,
}
if mnp.logical_not(is_run):
return state
delta1 = 0.2
delta2 = 0.1
maxiter = 10 # scipy: 10 jax: 30
while mnp.logical_not(state["done"]) and state["j"] < maxiter:
dalpha = state["a_high"] - state["a_low"]
a = mnp.minimum(state["a_low"], state["a_high"])
b = mnp.maximum(state["a_low"], state["a_high"])
cchk = delta1 * dalpha
qchk = delta2 * dalpha
a_j_cubic = _cubicmin(state["a_low"], state["phi_low"], state["dphi_low"], state["a_high"],
state["phi_high"], state["a_rec"], state["phi_rec"])
use_cubic = state["j"] > 0 and mnp.isfinite(a_j_cubic) and \
mnp.logical_and(a_j_cubic > a + cchk, a_j_cubic < b - cchk)
a_j_quad = _quadmin(state["a_low"], state["phi_low"], state["dphi_low"], state["a_high"],
state["phi_high"])
use_quad = mnp.logical_not(use_cubic) and mnp.isfinite(a_j_quad) and \
mnp.logical_and(a_j_quad > a + qchk, a_j_quad < b - qchk)
a_j_bisection = (state["a_low"] + state["a_high"]) / 2.0
use_bisection = mnp.logical_not(use_cubic) and mnp.logical_not(use_quad)
a_j = mnp.where(use_cubic, a_j_cubic, state["a_rec"])
a_j = mnp.where(use_quad, a_j_quad, a_j)
a_j = mnp.where(use_bisection, a_j_bisection, a_j)
phi_j, g_j, dphi_j = fn(a_j)
state["nfev"] += 1
state["ngev"] += 1
j_to_high = (phi_j > phi_0 + c1 * a_j * dphi_0) or (phi_j >= state["phi_low"])
state["a_rec"] = mnp.where(j_to_high, state["a_high"], state["a_rec"])
state["phi_rec"] = mnp.where(j_to_high, state["phi_high"], state["phi_rec"])
state["a_high"] = mnp.where(j_to_high, a_j, state["a_high"])
state["phi_high"] = mnp.where(j_to_high, phi_j, state["phi_high"])
state["dphi_high"] = mnp.where(j_to_high, dphi_j, state["dphi_high"])
j_to_star = mnp.logical_not(j_to_high) and mnp.abs(dphi_j) <= -c2 * dphi_0
state["done"] = j_to_star
state["a_star"] = mnp.where(j_to_star, a_j, state["a_star"])
state["phi_star"] = mnp.where(j_to_star, phi_j, state["phi_star"])
state["g_star"] = mnp.where(j_to_star, g_j, state["g_star"])
state["dphi_star"] = mnp.where(j_to_star, dphi_j, state["dphi_star"])
low_to_high = mnp.logical_not(j_to_high) and mnp.logical_not(j_to_star) and \
dphi_j * (state["a_high"] - state["a_low"]) >= 0.
state["a_rec"] = mnp.where(low_to_high, state["a_high"], state["a_rec"])
state["phi_rec"] = mnp.where(low_to_high, state["phi_high"], state["phi_rec"])
state["a_high"] = mnp.where(low_to_high, a_low, state["a_high"])
state["phi_high"] = mnp.where(low_to_high, phi_low, state["phi_high"])
state["dphi_high"] = mnp.where(low_to_high, dphi_low, state["dphi_high"])
j_to_low = mnp.logical_not(j_to_high) and mnp.logical_not(j_to_star)
state["a_rec"] = mnp.where(j_to_low, state["a_low"], state["a_rec"])
state["phi_rec"] = mnp.where(j_to_low, state["phi_low"], state["phi_rec"])
state["a_low"] = mnp.where(j_to_low, a_j, state["a_low"])
state["phi_low"] = mnp.where(j_to_low, phi_j, state["phi_low"])
state["dphi_low"] = mnp.where(j_to_low, dphi_j, state["dphi_low"])
# next iteration
state["j"] = state["j"] + 1
state["failed"] = state["j"] == maxiter
return state
class LineSearch(nn.Cell):
"""Line Search that satisfies strong Wolfe conditions."""
def __init__(self, func):
"""Initialize LineSearch."""
super(LineSearch, self).__init__()
self.func = func
def line_search(f, xk, pk, gfk=None, old_fval=None, old_old_fval=None, c1=1e-4,
c2=0.9, maxiter=20):
"""Inexact line search that satisfies strong Wolfe conditions.
Algorithm 3.5 from Wright and Nocedal, 'Numerical Optimization', 1999, pg. 59-61
Args:
f (function): function of the form f(x) where x is a flat Tensor and returns a real
scalar. The function should be composed of operations with vjp defined.
xk (Tensor): initial guess.
pk (Tensor): direction to search in. Assumes the direction is a descent direction.
gfk (Tensor): initial value of value_and_gradient as position. Default: None.
old_fval (Tensor): The same as `gfk`. Default: None.
old_old_fval (Tensor): unused argument, only for scipy API compliance. Default: None.
c1 (float): Wolfe criteria constant, see ref. Default: 1e-4.
c2 (float): The same as `c1`. Default: 0.9.
maxiter (int): maximum number of iterations to search. Default: 20.
Returns:
LineSearchResults
Supported Platforms:
``CPU`` ``GPU``
Examples:
>>> import numpy as onp
>>> from mindspore.scipy.optimize import line_search
>>> from mindspore.common import Tensor
>>> x0 = Tensor(onp.ones(2).astype(onp.float32))
>>> p0 = Tensor(onp.array([-1, -1]).astype(onp.float32))
>>> def func(x):
>>> return x[0] ** 2 - x[1] ** 3
>>> res = line_search(func, x0, p0)
>>> res.a_k
1.0
"""
state = LineSearch(f)(xk, pk, old_fval, old_old_fval, gfk, c1, c2, maxiter)
# If running in graph mode, the state is a tuple.
if isinstance(state, tuple):
state = _LineSearchResults(failed=_to_scalar(state[1] or not state[0]),
nit=_to_scalar(state[2] - 1),
nfev=_to_scalar(state[6]),
ngev=_to_scalar(state[7]),
k=_to_scalar(state[2]),
a_k=_to_scalar(state[8]),
f_k=_to_scalar(state[9]),
g_k=state[11],
status=_to_scalar(state[12]))
else:
state = _LineSearchResults(failed=_to_scalar(state["failed"] or not state["done"]),
nit=_to_scalar(state["i"] - 1),
nfev=_to_scalar(state["nfev"]),
ngev=_to_scalar(state["ngev"]),
k=_to_scalar(state["i"]),
a_k=_to_scalar(state["a_star"]),
f_k=_to_scalar(state["phi_star"]),
g_k=state["g_star"],
status=_to_scalar(state["status"]))
return state
| [
2,
15069,
33448,
43208,
21852,
1766,
1539,
12052,
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,
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,
38093,
2559,
18604,
198,
37811,
1370,
2989,
37811,
198,
6738,
19720,
1330,
34441,
51,
29291,
198,
198,
6738,
2644,
1330,
299,
77,
198,
6738,
2644,
1330,
299,
32152,
355,
285,
37659,
198,
6738,
2644,
11321,
1330,
288,
4906,
355,
285,
301,
2981,
198,
6738,
2644,
11321,
1330,
309,
22854,
198,
198,
6738,
11485,
26791,
1330,
4808,
1462,
62,
1416,
282,
283,
11,
3915,
198,
6738,
11485,
26791,
1330,
4808,
1462,
62,
83,
22854,
11,
4808,
12394,
62,
57,
34812,
11,
4808,
12394,
62,
11651,
11,
4808,
8202,
3535,
62,
37,
23719,
628,
198,
4871,
4808,
13949,
18243,
25468,
7,
45,
2434,
51,
29291,
2599,
198,
220,
220,
220,
37227,
25468,
286,
1627,
2989,
2482,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4054,
357,
30388,
2599,
4600,
17821,
15506,
611,
262,
1913,
37013,
9987,
547,
11378,
198,
220,
220,
220,
220,
220,
220,
220,
13759,
357,
600,
2599,
1271,
286,
34820,
198,
220,
220,
220,
220,
220,
220,
220,
299,
69,
1990,
357,
600,
2599,
1271,
286,
5499,
34109,
198,
220,
220,
220,
220,
220,
220,
220,
299,
469,
85,
357,
600,
2599,
1271,
286,
3915,
2334,
34109,
198,
220,
220,
220,
220,
220,
220,
220,
479,
357,
600,
2599,
1271,
286,
34820,
198,
220,
220,
220,
220,
220,
220,
220,
257,
62,
74,
357,
22468,
2599,
2239,
2546,
198,
220,
220,
220,
220,
220,
220,
220,
277,
62,
74,
357,
22468,
2599,
2457,
2163,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
308,
62,
74,
357,
51,
22854,
2599,
2457,
31312,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
357,
600,
2599,
886,
3722,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4054,
25,
20512,
198,
220,
220,
220,
13759,
25,
493,
198,
220,
220,
220,
299,
69,
1990,
25,
493,
198,
220,
220,
220,
299,
469,
85,
25,
493,
198,
220,
220,
220,
479,
25,
493,
198,
220,
220,
220,
257,
62,
74,
25,
12178,
198,
220,
220,
220,
277,
62,
74,
25,
12178,
198,
220,
220,
220,
308,
62,
74,
25,
309,
22854,
198,
220,
220,
220,
3722,
25,
493,
628,
198,
4299,
4808,
66,
549,
291,
1084,
7,
64,
11,
24685,
11,
277,
8957,
11,
275,
11,
277,
65,
11,
269,
11,
277,
66,
2599,
198,
220,
220,
220,
37227,
16742,
82,
262,
10356,
7509,
329,
257,
27216,
745,
6213,
49070,
326,
2925,
832,
262,
198,
220,
220,
220,
2173,
357,
64,
11,
13331,
828,
357,
65,
11,
21855,
828,
290,
357,
66,
11,
16072,
8,
351,
27255,
379,
257,
286,
277,
8957,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
327,
796,
277,
8957,
198,
220,
220,
220,
20613,
796,
275,
532,
257,
198,
220,
220,
220,
30736,
796,
269,
532,
257,
198,
220,
220,
220,
2853,
296,
796,
357,
9945,
1635,
30736,
8,
12429,
362,
1635,
357,
9945,
532,
30736,
8,
628,
220,
220,
220,
288,
16,
796,
285,
37659,
13,
9107,
418,
19510,
17,
11,
362,
4008,
198,
220,
220,
220,
288,
16,
58,
15,
11,
657,
60,
796,
30736,
12429,
362,
198,
220,
220,
220,
288,
16,
58,
15,
11,
352,
60,
796,
532,
9945,
12429,
362,
198,
220,
220,
220,
288,
16,
58,
16,
11,
657,
60,
796,
532,
17896,
12429,
513,
198,
220,
220,
220,
288,
16,
58,
16,
11,
352,
60,
796,
20613,
12429,
513,
628,
220,
220,
220,
288,
17,
796,
285,
37659,
13,
9107,
418,
19510,
17,
11,
4008,
198,
220,
220,
220,
288,
17,
58,
15,
60,
796,
277,
65,
532,
24685,
532,
327,
1635,
20613,
198,
220,
220,
220,
288,
17,
58,
16,
60,
796,
277,
66,
532,
24685,
532,
327,
1635,
30736,
628,
220,
220,
220,
317,
11,
347,
796,
285,
37659,
13,
26518,
7,
67,
16,
11,
288,
17,
13,
2704,
41769,
28955,
1220,
2853,
296,
628,
220,
220,
220,
7702,
796,
347,
1635,
347,
532,
513,
13,
1635,
317,
1635,
327,
198,
220,
220,
220,
2124,
1084,
796,
257,
1343,
13841,
33,
1343,
285,
37659,
13,
31166,
17034,
7,
42325,
4008,
1220,
357,
18,
13,
1635,
317,
8,
198,
220,
220,
220,
1441,
2124,
1084,
628,
198,
4299,
4808,
421,
28482,
7,
64,
11,
24685,
11,
277,
8957,
11,
275,
11,
277,
65,
2599,
198,
220,
220,
220,
37227,
16742,
82,
262,
10356,
7509,
329,
257,
15094,
81,
1512,
745,
6213,
49070,
326,
2925,
832,
198,
220,
220,
220,
262,
2173,
357,
64,
11,
13331,
828,
357,
65,
11,
21855,
8,
351,
27255,
379,
257,
286,
277,
8957,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
360,
796,
24685,
198,
220,
220,
220,
327,
796,
277,
8957,
198,
220,
220,
220,
20613,
796,
275,
532,
257,
198,
220,
220,
220,
347,
796,
357,
21855,
532,
360,
532,
327,
1635,
20613,
8,
1220,
357,
9945,
12429,
362,
8,
198,
220,
220,
220,
2124,
1084,
796,
257,
532,
327,
1220,
357,
17,
13,
1635,
347,
8,
198,
220,
220,
220,
1441,
2124,
1084,
628,
198,
4299,
4808,
89,
4207,
7,
22184,
11,
257,
62,
9319,
11,
872,
72,
62,
9319,
11,
288,
34846,
62,
9319,
11,
257,
62,
8929,
11,
872,
72,
62,
8929,
11,
288,
34846,
62,
8929,
11,
872,
72,
62,
15,
11,
308,
62,
15,
11,
288,
34846,
62,
15,
11,
269,
16,
11,
269,
17,
11,
318,
62,
5143,
2599,
198,
220,
220,
220,
37227,
3546,
32851,
286,
19792,
11862,
13,
198,
220,
220,
220,
978,
42289,
513,
13,
21,
422,
12206,
290,
399,
420,
276,
282,
11,
705,
45,
6975,
605,
30011,
1634,
3256,
7358,
11,
23241,
13,
7863,
12,
5333,
13,
198,
220,
220,
220,
309,
1678,
27216,
11,
15094,
81,
1512,
11,
290,
47457,
3213,
5050,
286,
1976,
30602,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
3697,
46,
1404,
62,
11651,
796,
4808,
1462,
62,
83,
22854,
7,
16,
1539,
288,
4906,
28,
64,
62,
9319,
13,
67,
4906,
8,
198,
220,
220,
220,
1181,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
28060,
1298,
4808,
8202,
3535,
62,
37,
23719,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
47904,
1298,
4808,
8202,
3535,
62,
37,
23719,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
73,
1298,
4808,
12394,
62,
57,
34812,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
64,
62,
9319,
1298,
257,
62,
9319,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34846,
62,
9319,
1298,
872,
72,
62,
9319,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
67,
34846,
62,
9319,
1298,
288,
34846,
62,
9319,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
64,
62,
8929,
1298,
257,
62,
8929,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34846,
62,
8929,
1298,
872,
72,
62,
8929,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
67,
34846,
62,
8929,
1298,
288,
34846,
62,
8929,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
64,
62,
8344,
1298,
357,
64,
62,
9319,
1343,
257,
62,
8929,
8,
1220,
362,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34846,
62,
8344,
1298,
357,
34846,
62,
9319,
1343,
872,
72,
62,
8929,
8,
1220,
362,
1539,
198,
220,
220,
220,
220,
220,
220,
220,
366,
64,
62,
7364,
1298,
4808,
3697,
46,
1404,
62,
11651,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34846,
62,
7364,
1298,
872,
72,
62,
9319,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
67,
34846,
62,
7364,
1298,
288,
34846,
62,
9319,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
70,
62,
7364,
1298,
308,
62,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
77,
69,
1990,
1298,
4808,
12394,
62,
57,
34812,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
77,
469,
85,
1298,
4808,
12394,
62,
57,
34812,
11,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
611,
285,
37659,
13,
6404,
605,
62,
1662,
7,
271,
62,
5143,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1181,
628,
220,
220,
220,
25979,
16,
796,
657,
13,
17,
198,
220,
220,
220,
25979,
17,
796,
657,
13,
16,
198,
220,
220,
220,
3509,
2676,
796,
838,
220,
1303,
629,
541,
88,
25,
838,
474,
897,
25,
1542,
198,
220,
220,
220,
981,
285,
37659,
13,
6404,
605,
62,
1662,
7,
5219,
14692,
28060,
8973,
8,
290,
1181,
14692,
73,
8973,
1279,
3509,
2676,
25,
198,
220,
220,
220,
220,
220,
220,
220,
288,
26591,
796,
1181,
14692,
64,
62,
8929,
8973,
532,
1181,
14692,
64,
62,
9319,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
285,
37659,
13,
39504,
7,
5219,
14692,
64,
62,
9319,
33116,
1181,
14692,
64,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
285,
37659,
13,
47033,
7,
5219,
14692,
64,
62,
9319,
33116,
1181,
14692,
64,
62,
8929,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
269,
354,
74,
796,
25979,
16,
1635,
288,
26591,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
354,
74,
796,
25979,
17,
1635,
288,
26591,
628,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
62,
66,
549,
291,
796,
4808,
66,
549,
291,
1084,
7,
5219,
14692,
64,
62,
9319,
33116,
1181,
14692,
34846,
62,
9319,
33116,
1181,
14692,
67,
34846,
62,
9319,
33116,
1181,
14692,
64,
62,
8929,
33116,
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,
1181,
14692,
34846,
62,
8929,
33116,
1181,
14692,
64,
62,
8344,
33116,
1181,
14692,
34846,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
779,
62,
66,
549,
291,
796,
1181,
14692,
73,
8973,
1875,
657,
290,
285,
37659,
13,
4468,
9504,
7,
64,
62,
73,
62,
66,
549,
291,
8,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
37659,
13,
6404,
605,
62,
392,
7,
64,
62,
73,
62,
66,
549,
291,
1875,
257,
1343,
269,
354,
74,
11,
257,
62,
73,
62,
66,
549,
291,
1279,
275,
532,
269,
354,
74,
8,
628,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
62,
47003,
796,
4808,
421,
28482,
7,
5219,
14692,
64,
62,
9319,
33116,
1181,
14692,
34846,
62,
9319,
33116,
1181,
14692,
67,
34846,
62,
9319,
33116,
1181,
14692,
64,
62,
8929,
33116,
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,
1181,
14692,
34846,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
779,
62,
47003,
796,
285,
37659,
13,
6404,
605,
62,
1662,
7,
1904,
62,
66,
549,
291,
8,
290,
285,
37659,
13,
4468,
9504,
7,
64,
62,
73,
62,
47003,
8,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
37659,
13,
6404,
605,
62,
392,
7,
64,
62,
73,
62,
47003,
1875,
257,
1343,
10662,
354,
74,
11,
257,
62,
73,
62,
47003,
1279,
275,
532,
10662,
354,
74,
8,
628,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
62,
41907,
3213,
796,
357,
5219,
14692,
64,
62,
9319,
8973,
1343,
1181,
14692,
64,
62,
8929,
8973,
8,
1220,
362,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
779,
62,
41907,
3213,
796,
285,
37659,
13,
6404,
605,
62,
1662,
7,
1904,
62,
66,
549,
291,
8,
290,
285,
37659,
13,
6404,
605,
62,
1662,
7,
1904,
62,
47003,
8,
628,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
796,
285,
37659,
13,
3003,
7,
1904,
62,
66,
549,
291,
11,
257,
62,
73,
62,
66,
549,
291,
11,
1181,
14692,
64,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
796,
285,
37659,
13,
3003,
7,
1904,
62,
47003,
11,
257,
62,
73,
62,
47003,
11,
257,
62,
73,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
62,
73,
796,
285,
37659,
13,
3003,
7,
1904,
62,
41907,
3213,
11,
257,
62,
73,
62,
41907,
3213,
11,
257,
62,
73,
8,
628,
220,
220,
220,
220,
220,
220,
220,
872,
72,
62,
73,
11,
308,
62,
73,
11,
288,
34846,
62,
73,
796,
24714,
7,
64,
62,
73,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
77,
69,
1990,
8973,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
77,
469,
85,
8973,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
474,
62,
1462,
62,
8929,
796,
357,
34846,
62,
73,
1875,
872,
72,
62,
15,
1343,
269,
16,
1635,
257,
62,
73,
1635,
288,
34846,
62,
15,
8,
393,
357,
34846,
62,
73,
18189,
1181,
14692,
34846,
62,
9319,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
8929,
11,
1181,
14692,
64,
62,
8929,
33116,
1181,
14692,
64,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
8929,
11,
1181,
14692,
34846,
62,
8929,
33116,
1181,
14692,
34846,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
8929,
11,
257,
62,
73,
11,
1181,
14692,
64,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
8929,
11,
872,
72,
62,
73,
11,
1181,
14692,
34846,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
67,
34846,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
8929,
11,
288,
34846,
62,
73,
11,
1181,
14692,
67,
34846,
62,
8929,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
474,
62,
1462,
62,
7364,
796,
285,
37659,
13,
6404,
605,
62,
1662,
7,
73,
62,
1462,
62,
8929,
8,
290,
285,
37659,
13,
8937,
7,
67,
34846,
62,
73,
8,
19841,
532,
66,
17,
1635,
288,
34846,
62,
15,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
28060,
8973,
796,
474,
62,
1462,
62,
7364,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
7364,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
7364,
11,
257,
62,
73,
11,
1181,
14692,
64,
62,
7364,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
7364,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
7364,
11,
872,
72,
62,
73,
11,
1181,
14692,
34846,
62,
7364,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
70,
62,
7364,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
7364,
11,
308,
62,
73,
11,
1181,
14692,
70,
62,
7364,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
67,
34846,
62,
7364,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
7364,
11,
288,
34846,
62,
73,
11,
1181,
14692,
67,
34846,
62,
7364,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1877,
62,
1462,
62,
8929,
796,
285,
37659,
13,
6404,
605,
62,
1662,
7,
73,
62,
1462,
62,
8929,
8,
290,
285,
37659,
13,
6404,
605,
62,
1662,
7,
73,
62,
1462,
62,
7364,
8,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
34846,
62,
73,
1635,
357,
5219,
14692,
64,
62,
8929,
8973,
532,
1181,
14692,
64,
62,
9319,
8973,
8,
18189,
657,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
9319,
62,
1462,
62,
8929,
11,
1181,
14692,
64,
62,
8929,
33116,
1181,
14692,
64,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
9319,
62,
1462,
62,
8929,
11,
1181,
14692,
34846,
62,
8929,
33116,
1181,
14692,
34846,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
9319,
62,
1462,
62,
8929,
11,
257,
62,
9319,
11,
1181,
14692,
64,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
9319,
62,
1462,
62,
8929,
11,
872,
72,
62,
9319,
11,
1181,
14692,
34846,
62,
8929,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
67,
34846,
62,
8929,
8973,
796,
285,
37659,
13,
3003,
7,
9319,
62,
1462,
62,
8929,
11,
288,
34846,
62,
9319,
11,
1181,
14692,
67,
34846,
62,
8929,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
474,
62,
1462,
62,
9319,
796,
285,
37659,
13,
6404,
605,
62,
1662,
7,
73,
62,
1462,
62,
8929,
8,
290,
285,
37659,
13,
6404,
605,
62,
1662,
7,
73,
62,
1462,
62,
7364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
9319,
11,
1181,
14692,
64,
62,
9319,
33116,
1181,
14692,
64,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
8344,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
9319,
11,
1181,
14692,
34846,
62,
9319,
33116,
1181,
14692,
34846,
62,
8344,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
64,
62,
9319,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
9319,
11,
257,
62,
73,
11,
1181,
14692,
64,
62,
9319,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
34846,
62,
9319,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
9319,
11,
872,
72,
62,
73,
11,
1181,
14692,
34846,
62,
9319,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
67,
34846,
62,
9319,
8973,
796,
285,
37659,
13,
3003,
7,
73,
62,
1462,
62,
9319,
11,
288,
34846,
62,
73,
11,
1181,
14692,
67,
34846,
62,
9319,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1306,
24415,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
14692,
73,
8973,
796,
1181,
14692,
73,
8973,
1343,
352,
628,
220,
220,
220,
1181,
14692,
47904,
8973,
796,
1181,
14692,
73,
8973,
6624,
3509,
2676,
198,
220,
220,
220,
1441,
1181,
628,
198,
4871,
6910,
18243,
7,
20471,
13,
28780,
2599,
198,
220,
220,
220,
37227,
13949,
11140,
326,
45104,
1913,
37013,
3403,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
25439,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
6910,
18243,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
7,
13949,
18243,
11,
2116,
737,
834,
15003,
834,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20786,
796,
25439,
628,
198,
4299,
1627,
62,
12947,
7,
69,
11,
2124,
74,
11,
279,
74,
11,
308,
69,
74,
28,
14202,
11,
1468,
62,
69,
2100,
28,
14202,
11,
1468,
62,
727,
62,
69,
2100,
28,
14202,
11,
269,
16,
28,
16,
68,
12,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
28,
15,
13,
24,
11,
3509,
2676,
28,
1238,
2599,
198,
220,
220,
220,
37227,
40,
12413,
529,
1627,
2989,
326,
45104,
1913,
37013,
3403,
13,
628,
220,
220,
220,
978,
42289,
513,
13,
20,
422,
12206,
290,
399,
420,
276,
282,
11,
705,
45,
6975,
605,
30011,
1634,
3256,
7358,
11,
23241,
13,
7863,
12,
5333,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
357,
8818,
2599,
2163,
286,
262,
1296,
277,
7,
87,
8,
810,
2124,
318,
257,
6228,
309,
22854,
290,
5860,
257,
1103,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16578,
283,
13,
383,
2163,
815,
307,
13160,
286,
4560,
351,
410,
34523,
5447,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
74,
357,
51,
22854,
2599,
4238,
4724,
13,
198,
220,
220,
220,
220,
220,
220,
220,
279,
74,
357,
51,
22854,
2599,
4571,
284,
2989,
287,
13,
2195,
8139,
262,
4571,
318,
257,
18598,
4571,
13,
198,
220,
220,
220,
220,
220,
220,
220,
308,
69,
74,
357,
51,
22854,
2599,
4238,
1988,
286,
1988,
62,
392,
62,
49607,
355,
2292,
13,
15161,
25,
6045,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1468,
62,
69,
2100,
357,
51,
22854,
2599,
383,
976,
355,
4600,
70,
69,
74,
44646,
15161,
25,
6045,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1468,
62,
727,
62,
69,
2100,
357,
51,
22854,
2599,
21958,
4578,
11,
691,
329,
629,
541,
88,
7824,
11846,
13,
15161,
25,
6045,
13,
198,
220,
220,
220,
220,
220,
220,
220,
269,
16,
357,
22468,
2599,
37013,
9987,
6937,
11,
766,
1006,
13,
15161,
25,
352,
68,
12,
19,
13,
198,
220,
220,
220,
220,
220,
220,
220,
269,
17,
357,
22468,
2599,
383,
976,
355,
4600,
66,
16,
44646,
15161,
25,
657,
13,
24,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
2676,
357,
600,
2599,
5415,
1271,
286,
34820,
284,
2989,
13,
15161,
25,
1160,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6910,
18243,
25468,
628,
220,
220,
220,
36848,
19193,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
36037,
15506,
7559,
33346,
15506,
628,
220,
220,
220,
21066,
25,
198,
220,
220,
220,
13163,
1330,
299,
32152,
355,
319,
79,
198,
220,
220,
220,
13163,
422,
2000,
2777,
382,
13,
1416,
541,
88,
13,
40085,
1096,
1330,
1627,
62,
12947,
198,
220,
220,
220,
13163,
422,
2000,
2777,
382,
13,
11321,
1330,
309,
22854,
198,
220,
220,
220,
13163,
2124,
15,
796,
309,
22854,
7,
261,
79,
13,
1952,
7,
17,
737,
459,
2981,
7,
261,
79,
13,
22468,
2624,
4008,
198,
220,
220,
220,
13163,
279,
15,
796,
309,
22854,
7,
261,
79,
13,
18747,
26933,
12,
16,
11,
532,
16,
35944,
459,
2981,
7,
261,
79,
13,
22468,
2624,
4008,
198,
220,
220,
220,
13163,
825,
25439,
7,
87,
2599,
198,
220,
220,
220,
13163,
220,
220,
220,
220,
1441,
2124,
58,
15,
60,
12429,
362,
532,
2124,
58,
16,
60,
12429,
513,
198,
220,
220,
220,
13163,
581,
796,
1627,
62,
12947,
7,
20786,
11,
2124,
15,
11,
279,
15,
8,
198,
220,
220,
220,
13163,
581,
13,
64,
62,
74,
198,
220,
220,
220,
352,
13,
15,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1181,
796,
6910,
18243,
7,
69,
5769,
87,
74,
11,
279,
74,
11,
1468,
62,
69,
2100,
11,
1468,
62,
727,
62,
69,
2100,
11,
308,
69,
74,
11,
269,
16,
11,
269,
17,
11,
3509,
2676,
8,
198,
220,
220,
220,
1303,
1002,
2491,
287,
4823,
4235,
11,
262,
1181,
318,
257,
46545,
13,
198,
220,
220,
220,
611,
318,
39098,
7,
5219,
11,
46545,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
4808,
13949,
18243,
25468,
7,
47904,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
16,
60,
393,
407,
1181,
58,
15,
46570,
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,
13759,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
17,
60,
532,
352,
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,
299,
69,
1990,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
21,
46570,
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,
299,
469,
85,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
22,
46570,
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,
479,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
17,
46570,
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,
257,
62,
74,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
23,
46570,
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,
277,
62,
74,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
24,
46570,
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,
308,
62,
74,
28,
5219,
58,
1157,
4357,
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,
3722,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
58,
1065,
60,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
4808,
13949,
18243,
25468,
7,
47904,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
47904,
8973,
393,
407,
1181,
14692,
28060,
8973,
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,
13759,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
72,
8973,
532,
352,
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,
299,
69,
1990,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
77,
69,
1990,
8973,
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,
299,
469,
85,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
77,
469,
85,
8973,
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,
479,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
72,
8973,
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,
257,
62,
74,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
64,
62,
7364,
8973,
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,
277,
62,
74,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
34846,
62,
7364,
8973,
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,
308,
62,
74,
28,
5219,
14692,
70,
62,
7364,
33116,
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,
3722,
28,
62,
1462,
62,
1416,
282,
283,
7,
5219,
14692,
13376,
8973,
4008,
628,
220,
220,
220,
1441,
1181,
198
] | 2.01191 | 4,954 |
import matplotlib.pyplot as plt
import networkx as nx
edgeListRaw = []
pathList = []
label = {}
weights = []
col = []
edgeTraffic = {}
maxw = 0
minw = 999999999
# Reading path from file
textFile = open("src/data/path.txt", "r")
data = textFile.read().split()
for r in range(1,len(data)-1):
pathList.append((int(data[r]),int(data[r+1])))
Hnode = int(data[len(data)-1])
HighList = [Hnode]
directed = int(data[0])
if directed==0:
G = nx.Graph()
else:
G = nx.DiGraph()
# Reading edge data from file
with open("src/data/trafficmap.txt") as curfile:
for line in curfile:
fr, t, string, ln, wt = line.split()
fro = int(fr)
to = int(t)
w = int(ln)
traffic = int(wt)
minw = min(minw,w)
maxw = max(maxw,w)
edgeListRaw.append((fro,to,w))
label[(fro,to)] = string
edgeTraffic[(fro,to)] = traffic
if(directed==0):
edgeTraffic[(to,fro)] = traffic
# Scaling weights
edgeList = []
for u,v,w in edgeListRaw:
wt = (0.5+(2.5)*((w-minw)/(maxw-minw)))
edgeList.append((u,v,wt))
G.add_weighted_edges_from(edgeList) # loading edges to NetworkX graph
edges = G.edges()
widths = [G[u][v]['weight'] for u,v in edges]
# Assigning colors to nodes based on their traffic percentage
col = []
for u,v in edges:
traf = edgeTraffic[(u,v)]
if traf<=25:
col.append('#00ff00')
elif traf>25 and traf<=50:
col.append('#ffff00')
elif traf>50 and traf<=75:
col.append('#ff6600')
elif traf>75 and traf<=100:
col.append('#ff0000')
pathCol = []
for u,v in pathList:
traf = edgeTraffic[(u,v)]
if traf<=25:
pathCol.append('#00ff00')
elif traf>25 and traf<=50:
pathCol.append('#ffff00')
elif traf>50 and traf<=75:
pathCol.append('#ff6600')
elif traf>75 and traf<=100:
pathCol.append('#ff0000')
n = len(G.nodes())
nodeSize = max(10,300-(n/10)) # Scaling size of nodes according to number of nodes
if nodeSize>150:
nlab = 1
else:
nlab = 0
if nlab==1:
Ncol = '#a8d3f0'
else:
Ncol = '#000099'
pos = nx.kamada_kawai_layout(G) # Requires scipy
# Drawing graph using NetworkX and matplotlib
nx.draw_networkx(G,pos,node_size=nodeSize,with_labels=nlab,edge_color=col,node_color=Ncol)
nx.draw_networkx_edges(G,pos,width=3,edgelist=pathList,edge_color=pathCol)
nx.draw_networkx_edges(G,pos,width=3,alpha=0.3,edgelist=pathList,edge_color='k')
nx.draw_networkx_nodes(G,pos,nodelist=HighList,alpha=0.5,node_size=nodeSize,node_color='k')
if len(G.edges())<100:
nx.draw_networkx_edge_labels(G,pos,edge_labels=label)
plt.axis("off")
plt.show()
| [
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
3127,
87,
355,
299,
87,
198,
198,
14907,
8053,
27369,
796,
17635,
198,
6978,
8053,
796,
17635,
198,
18242,
796,
23884,
198,
43775,
796,
17635,
198,
4033,
796,
17635,
198,
14907,
15721,
2108,
796,
23884,
198,
9806,
86,
796,
657,
198,
1084,
86,
796,
860,
24214,
24214,
198,
198,
2,
11725,
3108,
422,
2393,
198,
198,
5239,
8979,
796,
1280,
7203,
10677,
14,
7890,
14,
6978,
13,
14116,
1600,
366,
81,
4943,
198,
7890,
796,
2420,
8979,
13,
961,
22446,
35312,
3419,
198,
198,
1640,
374,
287,
2837,
7,
16,
11,
11925,
7,
7890,
13219,
16,
2599,
198,
220,
220,
220,
3108,
8053,
13,
33295,
19510,
600,
7,
7890,
58,
81,
46570,
600,
7,
7890,
58,
81,
10,
16,
60,
22305,
198,
198,
39,
17440,
796,
493,
7,
7890,
58,
11925,
7,
7890,
13219,
16,
12962,
198,
198,
11922,
8053,
796,
685,
39,
17440,
60,
198,
198,
34762,
796,
493,
7,
7890,
58,
15,
12962,
198,
198,
361,
7924,
855,
15,
25,
198,
220,
220,
220,
402,
796,
299,
87,
13,
37065,
3419,
198,
17772,
25,
198,
220,
220,
220,
402,
796,
299,
87,
13,
18683,
37065,
3419,
198,
198,
2,
11725,
5743,
1366,
422,
2393,
198,
198,
4480,
1280,
7203,
10677,
14,
7890,
14,
9535,
2108,
8899,
13,
14116,
4943,
355,
1090,
7753,
25,
198,
220,
220,
220,
329,
1627,
287,
1090,
7753,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1216,
11,
256,
11,
4731,
11,
300,
77,
11,
266,
83,
796,
1627,
13,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
8400,
796,
493,
7,
8310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
284,
796,
493,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
266,
796,
493,
7,
18755,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4979,
796,
493,
7,
46569,
8,
198,
220,
220,
220,
220,
220,
220,
220,
949,
86,
796,
949,
7,
1084,
86,
11,
86,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
86,
796,
3509,
7,
9806,
86,
11,
86,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
8053,
27369,
13,
33295,
19510,
69,
305,
11,
1462,
11,
86,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
58,
7,
69,
305,
11,
1462,
15437,
796,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
15721,
2108,
58,
7,
69,
305,
11,
1462,
15437,
796,
4979,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7,
34762,
855,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
15721,
2108,
58,
7,
1462,
11,
69,
305,
15437,
796,
4979,
198,
198,
2,
1446,
4272,
19590,
198,
198,
14907,
8053,
796,
17635,
198,
1640,
334,
11,
85,
11,
86,
287,
5743,
8053,
27369,
25,
198,
220,
220,
220,
266,
83,
796,
357,
15,
13,
20,
33747,
17,
13,
20,
27493,
19510,
86,
12,
1084,
86,
20679,
7,
9806,
86,
12,
1084,
86,
22305,
198,
220,
220,
220,
5743,
8053,
13,
33295,
19510,
84,
11,
85,
11,
46569,
4008,
628,
198,
38,
13,
2860,
62,
6551,
276,
62,
276,
3212,
62,
6738,
7,
14907,
8053,
8,
220,
1303,
11046,
13015,
284,
7311,
55,
4823,
198,
198,
276,
3212,
796,
402,
13,
276,
3212,
3419,
198,
10394,
82,
796,
685,
38,
58,
84,
7131,
85,
7131,
6,
6551,
20520,
329,
334,
11,
85,
287,
13015,
60,
198,
198,
2,
2195,
38944,
7577,
284,
13760,
1912,
319,
511,
4979,
5873,
198,
4033,
796,
17635,
198,
198,
1640,
334,
11,
85,
287,
13015,
25,
198,
220,
220,
220,
1291,
69,
796,
5743,
15721,
2108,
58,
7,
84,
11,
85,
15437,
198,
220,
220,
220,
611,
1291,
69,
27,
28,
1495,
25,
198,
220,
220,
220,
220,
220,
220,
220,
951,
13,
33295,
10786,
2,
405,
487,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
1495,
290,
1291,
69,
27,
28,
1120,
25,
198,
220,
220,
220,
220,
220,
220,
220,
951,
13,
33295,
10786,
2,
12927,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
1120,
290,
1291,
69,
27,
28,
2425,
25,
198,
220,
220,
220,
220,
220,
220,
220,
951,
13,
33295,
10786,
2,
487,
2791,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
2425,
290,
1291,
69,
27,
28,
3064,
25,
198,
220,
220,
220,
220,
220,
220,
220,
951,
13,
33295,
10786,
2,
487,
2388,
11537,
628,
198,
6978,
5216,
796,
17635,
198,
1640,
334,
11,
85,
287,
3108,
8053,
25,
198,
220,
220,
220,
1291,
69,
796,
5743,
15721,
2108,
58,
7,
84,
11,
85,
15437,
198,
220,
220,
220,
611,
1291,
69,
27,
28,
1495,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
5216,
13,
33295,
10786,
2,
405,
487,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
1495,
290,
1291,
69,
27,
28,
1120,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
5216,
13,
33295,
10786,
2,
12927,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
1120,
290,
1291,
69,
27,
28,
2425,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
5216,
13,
33295,
10786,
2,
487,
2791,
405,
11537,
198,
220,
220,
220,
1288,
361,
1291,
69,
29,
2425,
290,
1291,
69,
27,
28,
3064,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
5216,
13,
33295,
10786,
2,
487,
2388,
11537,
198,
198,
77,
796,
18896,
7,
38,
13,
77,
4147,
28955,
198,
17440,
10699,
796,
3509,
7,
940,
11,
6200,
30420,
77,
14,
940,
4008,
220,
220,
1303,
1446,
4272,
2546,
286,
13760,
1864,
284,
1271,
286,
13760,
198,
198,
361,
10139,
10699,
29,
8628,
25,
198,
220,
220,
220,
299,
23912,
796,
352,
198,
17772,
25,
198,
220,
220,
220,
299,
23912,
796,
657,
198,
198,
361,
299,
23912,
855,
16,
25,
198,
220,
220,
220,
399,
4033,
796,
705,
2,
64,
23,
67,
18,
69,
15,
6,
198,
17772,
25,
198,
220,
220,
220,
399,
4033,
796,
705,
2,
2388,
2079,
6,
198,
198,
1930,
796,
299,
87,
13,
74,
321,
4763,
62,
74,
707,
1872,
62,
39786,
7,
38,
8,
220,
1303,
26848,
629,
541,
88,
198,
198,
2,
40027,
4823,
1262,
7311,
55,
290,
2603,
29487,
8019,
198,
198,
77,
87,
13,
19334,
62,
27349,
87,
7,
38,
11,
1930,
11,
17440,
62,
7857,
28,
17440,
10699,
11,
4480,
62,
23912,
1424,
28,
21283,
397,
11,
14907,
62,
8043,
28,
4033,
11,
17440,
62,
8043,
28,
45,
4033,
8,
198,
77,
87,
13,
19334,
62,
27349,
87,
62,
276,
3212,
7,
38,
11,
1930,
11,
10394,
28,
18,
11,
276,
25280,
396,
28,
6978,
8053,
11,
14907,
62,
8043,
28,
6978,
5216,
8,
198,
77,
87,
13,
19334,
62,
27349,
87,
62,
276,
3212,
7,
38,
11,
1930,
11,
10394,
28,
18,
11,
26591,
28,
15,
13,
18,
11,
276,
25280,
396,
28,
6978,
8053,
11,
14907,
62,
8043,
11639,
74,
11537,
198,
77,
87,
13,
19334,
62,
27349,
87,
62,
77,
4147,
7,
38,
11,
1930,
11,
77,
375,
46331,
28,
11922,
8053,
11,
26591,
28,
15,
13,
20,
11,
17440,
62,
7857,
28,
17440,
10699,
11,
17440,
62,
8043,
11639,
74,
11537,
198,
361,
18896,
7,
38,
13,
276,
3212,
28955,
27,
3064,
25,
198,
220,
220,
220,
299,
87,
13,
19334,
62,
27349,
87,
62,
14907,
62,
23912,
1424,
7,
38,
11,
1930,
11,
14907,
62,
23912,
1424,
28,
18242,
8,
198,
489,
83,
13,
22704,
7203,
2364,
4943,
198,
489,
83,
13,
12860,
3419,
198
] | 2.109524 | 1,260 |
# %%
from tensorflow import keras
(x_train, y_train), (x_test, y_test) = keras.datasets.fashion_mnist.load_data()
model = keras.models.Sequential([
keras.layers.Flatten(input_shape=[28, 28]),
keras.layers.Dense(128, activation='relu'),
keras.layers.Dense(10, activation='softmax')
])
model.compile(loss=keras.losses.SparseCategoricalCrossentropy())
model.fit(x_train, y_train)
# %%
| [
2,
43313,
198,
6738,
11192,
273,
11125,
1330,
41927,
292,
198,
198,
7,
87,
62,
27432,
11,
331,
62,
27432,
828,
357,
87,
62,
9288,
11,
331,
62,
9288,
8,
796,
41927,
292,
13,
19608,
292,
1039,
13,
25265,
62,
10295,
396,
13,
2220,
62,
7890,
3419,
198,
198,
19849,
796,
41927,
292,
13,
27530,
13,
44015,
1843,
26933,
198,
220,
220,
220,
41927,
292,
13,
75,
6962,
13,
7414,
41769,
7,
15414,
62,
43358,
41888,
2078,
11,
2579,
46570,
198,
220,
220,
220,
41927,
292,
13,
75,
6962,
13,
35,
1072,
7,
12762,
11,
14916,
11639,
260,
2290,
33809,
198,
220,
220,
220,
41927,
292,
13,
75,
6962,
13,
35,
1072,
7,
940,
11,
14916,
11639,
4215,
9806,
11537,
198,
12962,
198,
198,
19849,
13,
5589,
576,
7,
22462,
28,
6122,
292,
13,
22462,
274,
13,
50,
29572,
34,
2397,
12409,
21544,
298,
28338,
28955,
198,
19849,
13,
11147,
7,
87,
62,
27432,
11,
331,
62,
27432,
8,
198,
198,
2,
43313,
198
] | 2.426829 | 164 |
######################################################################
#
# File: b2sdk/account_info/in_memory.py
#
# Copyright 2019 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from .exception import MissingAccountData
from .upload_url_pool import UrlPoolAccountInfo
from functools import wraps
def _raise_missing_if_result_is_none(function):
"""
Raise MissingAccountData if function's result is None
"""
@wraps(function)
return inner
class InMemoryAccountInfo(UrlPoolAccountInfo):
"""
Holder for all account-related information that needs to be kept
between API calls, and between invocations of the command-line
tool. This includes: account ID, application key ID, application key,
auth tokens, API URL, download URL, and uploads URLs.
"""
def clear(self):
"""
Remove all stored information
"""
self._clear_in_memory_account_fields()
return super(InMemoryAccountInfo, self).clear()
def refresh_entire_bucket_name_cache(self, name_id_iterable):
"""
Removes all previous name-to-id mappings and stores new ones.
:param name_id_iterable: a list of tuples of the form (name, id)
:type name_id_iterable: list
"""
self._buckets = dict(name_id_iterable)
def get_bucket_id_or_none_from_bucket_name(self, bucket_name):
"""
Looks up the bucket ID for a given bucket name.
:param bucket_name: a bucket name
:type bucket_name: str
:return bucket ID or None:
:rtype: str, None
"""
return self._buckets.get(bucket_name)
def save_bucket(self, bucket):
"""
Remembers the ID for a bucket name.
:param bucket: a Bucket object
:type bucket: b2sdk.bucket.Bucket
"""
self._buckets[bucket.name] = bucket.id_
def remove_bucket_name(self, bucket_name):
"""
Removes one entry from the bucket name cache.
:param bucket_name: a bucket name
:type bucket_name: str
"""
if bucket_name in self._buckets:
del self._buckets[bucket_name]
@_raise_missing_if_result_is_none
def get_account_id(self):
"""
Returns account_id or raises MissingAccountData exception
:rtype: str
"""
return self._account_id
@_raise_missing_if_result_is_none
def get_application_key_id(self):
"""
Returns the application key ID used to authenticate
:rtype: str
"""
return self._application_key_id
@_raise_missing_if_result_is_none
def get_account_auth_token(self):
"""
Return account_auth_token or raises MissingAccountData exception
:rtype: str
"""
return self._auth_token
@_raise_missing_if_result_is_none
def get_api_url(self):
"""
Returns api_url or raises MissingAccountData exception
:rtype: str
"""
return self._api_url
@_raise_missing_if_result_is_none
def get_application_key(self):
"""
Returns application_key or raises MissingAccountData exception
:rtype: str
"""
return self._application_key
@_raise_missing_if_result_is_none
def get_download_url(self):
"""
Returns download_url or raises MissingAccountData exception
:rtype: str
"""
return self._download_url
@_raise_missing_if_result_is_none
def get_minimum_part_size(self):
"""
Return the minimum number of bytes in a part of a large file
:return: number of bytes
:rtype: int
"""
return self._minimum_part_size
@_raise_missing_if_result_is_none
def get_realm(self):
"""
Returns realm or raises MissingAccountData exception
:rtype: str
"""
return self._realm
@_raise_missing_if_result_is_none
def get_allowed(self):
"""
An 'allowed' dict, as returned by b2_authorize_account.
Never None; for account info that was saved before 'allowed' existed,
returns DEFAULT_ALLOWED.
:rtype: dict
"""
return self._allowed
| [
29113,
29113,
4242,
2235,
198,
2,
198,
2,
9220,
25,
275,
17,
21282,
74,
14,
23317,
62,
10951,
14,
259,
62,
31673,
13,
9078,
198,
2,
198,
2,
15069,
13130,
5157,
2436,
6201,
3457,
13,
1439,
6923,
33876,
13,
198,
2,
198,
2,
13789,
3740,
1378,
2503,
13,
1891,
2436,
6201,
13,
785,
14,
3500,
62,
65,
17,
62,
8189,
13,
6494,
198,
2,
198,
29113,
29113,
4242,
2235,
198,
198,
6738,
764,
1069,
4516,
1330,
25639,
30116,
6601,
198,
6738,
764,
25850,
62,
6371,
62,
7742,
1330,
8799,
75,
27201,
30116,
12360,
198,
198,
6738,
1257,
310,
10141,
1330,
27521,
628,
198,
4299,
4808,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
7,
8818,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
35123,
25639,
30116,
6601,
611,
2163,
338,
1255,
318,
6045,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
29988,
862,
7,
8818,
8,
628,
220,
220,
220,
1441,
8434,
628,
198,
4871,
554,
30871,
30116,
12360,
7,
28165,
27201,
30116,
12360,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
24210,
329,
477,
1848,
12,
5363,
1321,
326,
2476,
284,
307,
4030,
198,
220,
220,
220,
1022,
7824,
3848,
11,
290,
1022,
800,
20968,
286,
262,
3141,
12,
1370,
198,
220,
220,
220,
2891,
13,
220,
770,
3407,
25,
1848,
4522,
11,
3586,
1994,
4522,
11,
3586,
1994,
11,
198,
220,
220,
220,
6284,
16326,
11,
7824,
10289,
11,
4321,
10289,
11,
290,
9516,
82,
32336,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
1598,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
17220,
477,
8574,
1321,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20063,
62,
259,
62,
31673,
62,
23317,
62,
25747,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2208,
7,
818,
30871,
30116,
12360,
11,
2116,
737,
20063,
3419,
628,
220,
220,
220,
825,
14976,
62,
298,
557,
62,
27041,
316,
62,
3672,
62,
23870,
7,
944,
11,
1438,
62,
312,
62,
2676,
540,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3982,
5241,
477,
2180,
1438,
12,
1462,
12,
312,
285,
39242,
290,
7000,
649,
3392,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1438,
62,
312,
62,
2676,
540,
25,
257,
1351,
286,
12777,
2374,
286,
262,
1296,
357,
3672,
11,
4686,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
1438,
62,
312,
62,
2676,
540,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
27041,
1039,
796,
8633,
7,
3672,
62,
312,
62,
2676,
540,
8,
628,
220,
220,
220,
825,
651,
62,
27041,
316,
62,
312,
62,
273,
62,
23108,
62,
6738,
62,
27041,
316,
62,
3672,
7,
944,
11,
19236,
62,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29403,
510,
262,
19236,
4522,
329,
257,
1813,
19236,
1438,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
19236,
62,
3672,
25,
257,
19236,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
19236,
62,
3672,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
19236,
4522,
393,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
11,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
27041,
1039,
13,
1136,
7,
27041,
316,
62,
3672,
8,
628,
220,
220,
220,
825,
3613,
62,
27041,
316,
7,
944,
11,
19236,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
42898,
1213,
262,
4522,
329,
257,
19236,
1438,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
19236,
25,
257,
48353,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
19236,
25,
275,
17,
21282,
74,
13,
27041,
316,
13,
33,
38811,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
27041,
1039,
58,
27041,
316,
13,
3672,
60,
796,
19236,
13,
312,
62,
628,
220,
220,
220,
825,
4781,
62,
27041,
316,
62,
3672,
7,
944,
11,
19236,
62,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3982,
5241,
530,
5726,
422,
262,
19236,
1438,
12940,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
19236,
62,
3672,
25,
257,
19236,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
19236,
62,
3672,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
19236,
62,
3672,
287,
2116,
13557,
27041,
1039,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1619,
2116,
13557,
27041,
1039,
58,
27041,
316,
62,
3672,
60,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
23317,
62,
312,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
1848,
62,
312,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
23317,
62,
312,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
31438,
62,
2539,
62,
312,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
220,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
3586,
1994,
4522,
973,
284,
8323,
5344,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
31438,
62,
2539,
62,
312,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
23317,
62,
18439,
62,
30001,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
220,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
1848,
62,
18439,
62,
30001,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
18439,
62,
30001,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
15042,
62,
6371,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
220,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
40391,
62,
6371,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
15042,
62,
6371,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
31438,
62,
2539,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
3586,
62,
2539,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
31438,
62,
2539,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
15002,
62,
6371,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
4321,
62,
6371,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
15002,
62,
6371,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
39504,
62,
3911,
62,
7857,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
262,
5288,
1271,
286,
9881,
287,
257,
636,
286,
257,
1588,
2393,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1271,
286,
9881,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
39504,
62,
3911,
62,
7857,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
5305,
76,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
13360,
393,
12073,
25639,
30116,
6601,
6631,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
5305,
76,
628,
220,
220,
220,
2488,
62,
40225,
62,
45688,
62,
361,
62,
20274,
62,
271,
62,
23108,
198,
220,
220,
220,
825,
651,
62,
40845,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1052,
705,
40845,
6,
8633,
11,
355,
4504,
416,
275,
17,
62,
9800,
1096,
62,
23317,
13,
198,
220,
220,
220,
220,
220,
220,
220,
7236,
6045,
26,
329,
1848,
7508,
326,
373,
7448,
878,
705,
40845,
6,
11196,
11,
198,
220,
220,
220,
220,
220,
220,
220,
5860,
5550,
38865,
62,
7036,
3913,
1961,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
8633,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
40845,
198
] | 2.472191 | 1,762 |
from django.contrib import messages
from django.db.models import Q
from django.http import Http404, JsonResponse
from django.shortcuts import redirect, render
from django.views.decorators.cache import cache_page
from product.models import Product
from .models import Contact
@cache_page(60 * 60)
def search_api(request):
''' Search API for autocomplete '''
queryset = request.GET.get('query')
if queryset:
products = Product.objects.filter(Q(title__icontains=queryset) | Q(
slug__icontains=queryset) | Q(description__icontains=queryset))
jsonPayload = []
for product in products:
jsonPayload.append({
'title': product.title,
'slug': product.slug,
# 'image': print(type(product.image)),
'url': product.url,
'description': product.description,
})
return JsonResponse({
'status': 200,
'data': jsonPayload
})
else:
raise Http404
@cache_page(60 * 60)
def search(request):
''' redirect search result '''
queryset = request.GET.get('query')
if queryset:
products = Product.objects.filter(Q(title__icontains=queryset) | Q(
slug__icontains=queryset) | Q(description__icontains=queryset))
return render(request, 'core/search.html', {'results': products})
else:
raise Http404
def contact(request):
'''
user contact submission form
'''
if request.method == 'POST':
name = request.POST.get('name')
email = request.POST.get('email')
message = request.POST.get('message')
subject = request.POST.get('subject')
contact = Contact(name=name, email=email, message=message, subject=subject)
contact.save()
messages.success(request, 'Your message has been sent successfully')
return redirect('contact')
return render(request, 'core/contact.html')
| [
6738,
42625,
14208,
13,
3642,
822,
1330,
6218,
201,
198,
6738,
42625,
14208,
13,
9945,
13,
27530,
1330,
1195,
201,
198,
6738,
42625,
14208,
13,
4023,
1330,
367,
29281,
26429,
11,
449,
1559,
31077,
201,
198,
6738,
42625,
14208,
13,
19509,
23779,
1330,
18941,
11,
8543,
201,
198,
6738,
42625,
14208,
13,
33571,
13,
12501,
273,
2024,
13,
23870,
1330,
12940,
62,
7700,
201,
198,
6738,
1720,
13,
27530,
1330,
8721,
201,
198,
201,
198,
6738,
764,
27530,
1330,
14039,
201,
198,
201,
198,
201,
198,
201,
198,
31,
23870,
62,
7700,
7,
1899,
1635,
3126,
8,
201,
198,
4299,
2989,
62,
15042,
7,
25927,
2599,
201,
198,
220,
220,
220,
705,
7061,
11140,
7824,
329,
1960,
42829,
6677,
705,
7061,
201,
198,
220,
220,
220,
42517,
893,
316,
796,
2581,
13,
18851,
13,
1136,
10786,
22766,
11537,
201,
198,
220,
220,
220,
611,
42517,
893,
316,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3186,
796,
8721,
13,
48205,
13,
24455,
7,
48,
7,
7839,
834,
291,
756,
1299,
28,
10819,
893,
316,
8,
930,
1195,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31065,
834,
291,
756,
1299,
28,
10819,
893,
316,
8,
930,
1195,
7,
11213,
834,
291,
756,
1299,
28,
10819,
893,
316,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
19197,
2220,
796,
17635,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1720,
287,
3186,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
19197,
2220,
13,
33295,
15090,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7839,
10354,
1720,
13,
7839,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6649,
1018,
10354,
1720,
13,
6649,
1018,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
705,
9060,
10354,
3601,
7,
4906,
7,
11167,
13,
9060,
36911,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6371,
10354,
1720,
13,
6371,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11213,
10354,
1720,
13,
11213,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
449,
1559,
31077,
15090,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13376,
10354,
939,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7890,
10354,
33918,
19197,
2220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
32092,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
367,
29281,
26429,
201,
198,
201,
198,
201,
198,
31,
23870,
62,
7700,
7,
1899,
1635,
3126,
8,
201,
198,
4299,
2989,
7,
25927,
2599,
201,
198,
220,
220,
220,
705,
7061,
18941,
2989,
1255,
220,
705,
7061,
201,
198,
220,
220,
220,
42517,
893,
316,
796,
2581,
13,
18851,
13,
1136,
10786,
22766,
11537,
201,
198,
220,
220,
220,
611,
42517,
893,
316,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3186,
796,
8721,
13,
48205,
13,
24455,
7,
48,
7,
7839,
834,
291,
756,
1299,
28,
10819,
893,
316,
8,
930,
1195,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31065,
834,
291,
756,
1299,
28,
10819,
893,
316,
8,
930,
1195,
7,
11213,
834,
291,
756,
1299,
28,
10819,
893,
316,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
7,
25927,
11,
705,
7295,
14,
12947,
13,
6494,
3256,
1391,
6,
43420,
10354,
3186,
30072,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
367,
29281,
26429,
201,
198,
201,
198,
201,
198,
201,
198,
4299,
2800,
7,
25927,
2599,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
2836,
2800,
14498,
1296,
201,
198,
220,
220,
220,
705,
7061,
201,
198,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
10354,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
2581,
13,
32782,
13,
1136,
10786,
3672,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3053,
796,
2581,
13,
32782,
13,
1136,
10786,
12888,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
796,
2581,
13,
32782,
13,
1136,
10786,
20500,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2426,
796,
2581,
13,
32782,
13,
1136,
10786,
32796,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2800,
796,
14039,
7,
3672,
28,
3672,
11,
3053,
28,
12888,
11,
3275,
28,
20500,
11,
2426,
28,
32796,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2800,
13,
21928,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6218,
13,
13138,
7,
25927,
11,
705,
7120,
3275,
468,
587,
1908,
7675,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
32057,
11537,
201,
198,
201,
198,
220,
220,
220,
1441,
8543,
7,
25927,
11,
705,
7295,
14,
32057,
13,
6494,
11537,
201,
198
] | 2.296963 | 889 |
from feed.spiders.spider import Spider
| [
198,
6738,
3745,
13,
2777,
4157,
13,
2777,
1304,
1330,
12648,
628
] | 3.416667 | 12 |
import turtle
import pandas
# creen setup
correct_guess_list = []
screen = turtle.Screen()
screen.title(" U.S State Game")
image = 'blank_states_img.gif'
screen.addshape(image)
turtle.shape(image)
# import the dataset as a csv
data = pandas.read_csv('50_states.csv')
state_list = data.state.to_list()
# getting user guess
while len(correct_guess_list) < 50:
answer = screen.textinput(title=f'{len(correct_guess_list)}/ 50 Guess the Sate',
prompt="what's another state's name").title()
# detect when user want to exit the game and return a list of all the messing states
if answer == 'Exit':
remaining_state = [
state for state in data.state if state not in correct_guess_list]
state_learn = pandas.DataFrame(remaining_state)
state_learn.to_csv('state_learn.csv')
break
# checking the user impurt againt the state list in the dataset
if answer in state_list:
correct_guess_list.append(answer)
state_choice = data[data['state'] == answer]
state = turtle.Turtle()
state.hideturtle()
state.penup()
x = int(state_choice.x)
y = int(state_choice.y)
# write the sate on the coresponding state
state.goto(x, y)
state.write(state_choice.state.item())
else:
# if user input does not match any state return NONE!
print('None')
| [
11748,
28699,
198,
11748,
19798,
292,
198,
2,
1126,
268,
9058,
198,
30283,
62,
5162,
408,
62,
4868,
796,
17635,
198,
9612,
796,
28699,
13,
23901,
3419,
198,
9612,
13,
7839,
7203,
471,
13,
50,
1812,
3776,
4943,
198,
9060,
796,
705,
27190,
62,
27219,
62,
9600,
13,
27908,
6,
198,
9612,
13,
2860,
43358,
7,
9060,
8,
198,
198,
83,
17964,
13,
43358,
7,
9060,
8,
628,
198,
2,
1330,
262,
27039,
355,
257,
269,
21370,
198,
198,
7890,
796,
19798,
292,
13,
961,
62,
40664,
10786,
1120,
62,
27219,
13,
40664,
11537,
198,
5219,
62,
4868,
796,
1366,
13,
5219,
13,
1462,
62,
4868,
3419,
198,
198,
2,
1972,
2836,
4724,
198,
4514,
18896,
7,
30283,
62,
5162,
408,
62,
4868,
8,
1279,
2026,
25,
198,
220,
220,
220,
3280,
796,
3159,
13,
5239,
15414,
7,
7839,
28,
69,
6,
90,
11925,
7,
30283,
62,
5162,
408,
62,
4868,
38165,
14,
2026,
37571,
262,
311,
378,
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,
6152,
2625,
10919,
338,
1194,
1181,
338,
1438,
11074,
7839,
3419,
628,
220,
220,
220,
1303,
4886,
618,
2836,
765,
284,
8420,
262,
983,
220,
290,
1441,
257,
1351,
286,
477,
262,
37241,
2585,
198,
220,
220,
220,
611,
3280,
6624,
705,
30337,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
5637,
62,
5219,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
329,
1181,
287,
1366,
13,
5219,
611,
1181,
407,
287,
3376,
62,
5162,
408,
62,
4868,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
62,
35720,
796,
19798,
292,
13,
6601,
19778,
7,
2787,
1397,
62,
5219,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
62,
35720,
13,
1462,
62,
40664,
10786,
5219,
62,
35720,
13,
40664,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10627,
262,
2836,
848,
3325,
757,
83,
262,
1181,
1351,
287,
262,
27039,
628,
220,
220,
220,
611,
3280,
287,
1181,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3376,
62,
5162,
408,
62,
4868,
13,
33295,
7,
41484,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
62,
25541,
796,
1366,
58,
7890,
17816,
5219,
20520,
6624,
3280,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
28699,
13,
51,
17964,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
13,
49675,
316,
17964,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
13,
3617,
929,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
493,
7,
5219,
62,
25541,
13,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
493,
7,
5219,
62,
25541,
13,
88,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3551,
262,
264,
378,
319,
262,
4755,
2777,
42703,
1181,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
13,
70,
2069,
7,
87,
11,
331,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
13,
13564,
7,
5219,
62,
25541,
13,
5219,
13,
9186,
28955,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
2836,
5128,
857,
407,
2872,
597,
1181,
1441,
399,
11651,
0,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
14202,
11537,
198
] | 2.466205 | 577 |
from django import forms
| [
6738,
42625,
14208,
1330,
5107,
628
] | 4.333333 | 6 |
import unittest
from solution import solution_part_one, solution_part_two
if __name__ == "__main__":
unittest.main()
| [
11748,
555,
715,
395,
198,
198,
6738,
4610,
1330,
4610,
62,
3911,
62,
505,
11,
4610,
62,
3911,
62,
11545,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.863636 | 44 |
# This test includes unit tests for MarkovChain and MarkovDecisionProcess of
# the tulip.transys module
#
# * mc_test(): a unit test for the MarkovChain class
# * mdp_test(): a unit test for the MarkovDecisionProcess class
from tulip.transys import MarkovChain as MC
from tulip.transys import MarkovDecisionProcess as MDP
| [
2,
770,
1332,
3407,
4326,
5254,
329,
2940,
709,
35491,
290,
2940,
709,
10707,
1166,
18709,
286,
198,
2,
262,
48373,
541,
13,
7645,
893,
8265,
198,
2,
198,
2,
1635,
36650,
62,
9288,
33529,
257,
4326,
1332,
329,
262,
2940,
709,
35491,
1398,
198,
2,
1635,
285,
26059,
62,
9288,
33529,
257,
4326,
1332,
329,
262,
2940,
709,
10707,
1166,
18709,
1398,
198,
198,
6738,
48373,
541,
13,
7645,
893,
1330,
2940,
709,
35491,
355,
13122,
198,
6738,
48373,
541,
13,
7645,
893,
1330,
2940,
709,
10707,
1166,
18709,
355,
337,
6322,
628,
628
] | 3.431579 | 95 |
import os
import pathlib
import shutil
import glob
| [
11748,
28686,
198,
11748,
3108,
8019,
198,
11748,
4423,
346,
198,
11748,
15095,
198
] | 3.642857 | 14 |
"""959. Regions Cut By Slashes
https://leetcode.com/problems/regions-cut-by-slashes/
In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \,
or blank space. These characters divide the square into contiguous regions.
(Note that backslash characters are escaped, so a \ is represented as "\\".)
Return the number of regions.
Example 1:
Input:
[
" /",
"/ "
]
Output: 2
Explanation: The 2x2 grid is as follows:
Example 2:
Input:
[
" /",
" "
]
Output: 1
Explanation: The 2x2 grid is as follows:
Example 3:
Input:
[
"\\/",
"/\\"
]
Output: 4
Explanation: (Recall that because \ characters are escaped,
"\\/" refers to \/, and "/\\" refers to /\.)
The 2x2 grid is as follows:
Example 4:
Input:
[
"/\\",
"\\/"
]
Output: 5
Explanation: (Recall that because \ characters are escaped,
"/\\" refers to /\, and "\\/" refers to \/.)
The 2x2 grid is as follows:
Example 5:
Input:
[
"//",
"/ "
]
Output: 3
Explanation: The 2x2 grid is as follows:
Note:
1 <= grid.length == grid[0].length <= 30
grid[i][j] is either '/', '\', or ' '.
"""
from typing import List
| [
37811,
24,
3270,
13,
47089,
9712,
2750,
3454,
7465,
198,
5450,
1378,
293,
316,
8189,
13,
785,
14,
1676,
22143,
14,
2301,
507,
12,
8968,
12,
1525,
12,
6649,
7465,
14,
198,
198,
818,
257,
399,
2124,
399,
10706,
13160,
286,
352,
2124,
352,
24438,
11,
1123,
352,
2124,
352,
6616,
10874,
286,
257,
1220,
11,
3467,
11,
198,
273,
9178,
2272,
13,
220,
2312,
3435,
14083,
262,
6616,
656,
48627,
7652,
13,
198,
198,
7,
6425,
326,
736,
6649,
1077,
3435,
389,
13537,
11,
523,
257,
3467,
318,
7997,
355,
366,
6852,
1911,
8,
198,
198,
13615,
262,
1271,
286,
7652,
13,
628,
198,
198,
16281,
352,
25,
198,
220,
23412,
25,
198,
220,
685,
198,
220,
220,
220,
366,
1220,
1600,
198,
220,
220,
220,
12813,
366,
198,
220,
2361,
198,
220,
25235,
25,
362,
198,
220,
50125,
341,
25,
383,
362,
87,
17,
10706,
318,
355,
5679,
25,
198,
198,
16281,
362,
25,
628,
220,
23412,
25,
198,
220,
685,
198,
220,
220,
220,
366,
1220,
1600,
198,
220,
220,
220,
366,
220,
366,
198,
220,
2361,
198,
220,
25235,
25,
352,
198,
220,
50125,
341,
25,
383,
362,
87,
17,
10706,
318,
355,
5679,
25,
198,
198,
16281,
513,
25,
628,
220,
23412,
25,
198,
220,
685,
198,
220,
220,
220,
366,
6852,
14,
1600,
198,
220,
220,
220,
12813,
6852,
1,
198,
220,
2361,
198,
220,
25235,
25,
604,
198,
220,
50125,
341,
25,
357,
6690,
439,
326,
780,
3467,
3435,
389,
13537,
11,
198,
220,
366,
6852,
30487,
10229,
284,
3467,
47454,
290,
12813,
6852,
1,
10229,
284,
1220,
59,
2014,
198,
220,
383,
362,
87,
17,
10706,
318,
355,
5679,
25,
198,
198,
16281,
604,
25,
628,
220,
23412,
25,
198,
220,
685,
198,
220,
220,
220,
12813,
6852,
1600,
198,
220,
220,
220,
366,
6852,
30487,
198,
220,
2361,
198,
220,
25235,
25,
642,
198,
220,
50125,
341,
25,
357,
6690,
439,
326,
780,
3467,
3435,
389,
13537,
11,
198,
220,
12813,
6852,
1,
10229,
284,
1220,
59,
11,
290,
366,
6852,
30487,
10229,
284,
3467,
14,
2014,
198,
220,
383,
362,
87,
17,
10706,
318,
355,
5679,
25,
198,
198,
16281,
642,
25,
628,
220,
23412,
25,
198,
220,
685,
198,
220,
220,
220,
366,
1003,
1600,
198,
220,
220,
220,
12813,
366,
198,
220,
2361,
198,
220,
25235,
25,
513,
198,
220,
50125,
341,
25,
383,
362,
87,
17,
10706,
318,
355,
5679,
25,
628,
198,
6425,
25,
628,
220,
352,
19841,
10706,
13,
13664,
6624,
10706,
58,
15,
4083,
13664,
19841,
1542,
198,
220,
10706,
58,
72,
7131,
73,
60,
318,
2035,
31051,
3256,
705,
59,
3256,
393,
705,
45302,
198,
37811,
198,
6738,
19720,
1330,
7343,
628
] | 2.654788 | 449 |
# *-* coding: utf-8 *-*
# Copyright (c) 2015 Mounier Florian
# 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.
try:
from http.server import HTTPServer
from urllib.request import urlopen
except ImportError:
from BaseHTTPServer import HTTPServer
from urllib import urlopen
from functools import wraps
import os.path
def patch(lr_host='localhost', lr_port=35729, files=None):
"""
Patch the server_forever method of http.server to make a
livereload call at the very last moment before starting serve.
"""
# Save the original serve_forever method
old_serve_forever = HTTPServer.serve_forever
@wraps(old_serve_forever)
def new_serve_forever(self):
"""This is the patched server_forever method"""
try:
# Make a tiny-lr compatible request
urlopen('http://%s:%d/changed?files=%s' % (
lr_host, lr_port, ','.join(files or '/',)
))
except Exception:
# Do nothing if it does not work
pass
# Call the original serve_forever
old_serve_forever(self)
# Patch the method
HTTPServer.serve_forever = new_serve_forever
def patch_werkzeug_reloader(filter_=None):
"""
Patch the WatchdogReloaderLoop of werkzeug to add an exclude filter
Preventing reload on emacs lock files for example.
The filter_ attribute takes the file absolute path and the file name
as parameters. It must be a function that returns true if the file
must NOT be taken in account.
Defaults to excluding files starting with '.#'
"""
try:
import watchdog
except ImportError:
print('You must have watchdog installed to use this patch')
return
from werkzeug._reloader import reloader_loops, WatchdogReloaderLoop
default_filter = lambda abspath, fn: fn.startswith('.#')
if reloader_loops['auto'] == reloader_loops['watchdog']:
reloader_loops['auto'] = FilteredWatchdogReloaderLoop
reloader_loops['watchdog'] = FilteredWatchdogReloaderLoop
| [
2,
1635,
12,
9,
19617,
25,
3384,
69,
12,
23,
1635,
12,
9,
198,
2,
15069,
357,
66,
8,
1853,
337,
977,
959,
4432,
666,
198,
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,
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,
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,
28311,
25,
198,
220,
220,
220,
422,
2638,
13,
15388,
1330,
38288,
18497,
198,
220,
220,
220,
422,
2956,
297,
571,
13,
25927,
1330,
19016,
9654,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
422,
7308,
6535,
28820,
18497,
1330,
38288,
18497,
198,
220,
220,
220,
422,
2956,
297,
571,
1330,
19016,
9654,
198,
198,
6738,
1257,
310,
10141,
1330,
27521,
198,
11748,
28686,
13,
6978,
628,
198,
4299,
8529,
7,
14050,
62,
4774,
11639,
36750,
3256,
300,
81,
62,
634,
28,
27277,
1959,
11,
3696,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
17106,
262,
4382,
62,
754,
332,
2446,
286,
2638,
13,
15388,
284,
787,
257,
198,
220,
220,
220,
2107,
260,
2220,
869,
379,
262,
845,
938,
2589,
878,
3599,
4691,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
12793,
262,
2656,
4691,
62,
754,
332,
2446,
198,
220,
220,
220,
1468,
62,
2655,
303,
62,
754,
332,
796,
38288,
18497,
13,
2655,
303,
62,
754,
332,
628,
220,
220,
220,
2488,
29988,
862,
7,
727,
62,
2655,
303,
62,
754,
332,
8,
198,
220,
220,
220,
825,
649,
62,
2655,
303,
62,
754,
332,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
318,
262,
39378,
4382,
62,
754,
332,
2446,
37811,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
257,
7009,
12,
14050,
11670,
2581,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
9654,
10786,
4023,
1378,
4,
82,
25,
4,
67,
14,
40985,
30,
16624,
28,
4,
82,
6,
4064,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
81,
62,
4774,
11,
300,
81,
62,
634,
11,
705,
4032,
13,
22179,
7,
16624,
393,
31051,
3256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2141,
2147,
611,
340,
857,
407,
670,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4889,
262,
2656,
4691,
62,
754,
332,
198,
220,
220,
220,
220,
220,
220,
220,
1468,
62,
2655,
303,
62,
754,
332,
7,
944,
8,
628,
220,
220,
220,
1303,
17106,
262,
2446,
198,
220,
220,
220,
38288,
18497,
13,
2655,
303,
62,
754,
332,
796,
649,
62,
2655,
303,
62,
754,
332,
628,
198,
4299,
8529,
62,
86,
9587,
2736,
1018,
62,
260,
29356,
7,
24455,
62,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
17106,
262,
6305,
9703,
6892,
1170,
263,
39516,
286,
266,
9587,
2736,
1018,
284,
751,
281,
19607,
8106,
198,
220,
220,
220,
31572,
278,
18126,
319,
795,
16436,
5793,
3696,
329,
1672,
13,
628,
220,
220,
220,
383,
8106,
62,
11688,
2753,
262,
2393,
4112,
3108,
290,
262,
2393,
1438,
198,
220,
220,
220,
355,
10007,
13,
632,
1276,
307,
257,
2163,
326,
5860,
2081,
611,
262,
2393,
198,
220,
220,
220,
1276,
5626,
307,
2077,
287,
1848,
13,
198,
220,
220,
220,
2896,
13185,
284,
23494,
3696,
3599,
351,
705,
32535,
6,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
26856,
198,
220,
220,
220,
2845,
17267,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
1639,
1276,
423,
26856,
6589,
284,
779,
428,
8529,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
422,
266,
9587,
2736,
1018,
13557,
260,
29356,
1330,
18126,
263,
62,
5439,
2840,
11,
6305,
9703,
6892,
1170,
263,
39516,
198,
220,
220,
220,
4277,
62,
24455,
796,
37456,
2352,
6978,
11,
24714,
25,
24714,
13,
9688,
2032,
342,
7,
4458,
2,
11537,
628,
198,
220,
220,
220,
611,
18126,
263,
62,
5439,
2840,
17816,
23736,
20520,
6624,
18126,
263,
62,
5439,
2840,
17816,
8340,
9703,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
18126,
263,
62,
5439,
2840,
17816,
23736,
20520,
796,
7066,
4400,
10723,
9703,
6892,
1170,
263,
39516,
198,
220,
220,
220,
18126,
263,
62,
5439,
2840,
17816,
8340,
9703,
20520,
796,
7066,
4400,
10723,
9703,
6892,
1170,
263,
39516,
198
] | 2.974733 | 1,029 |
import logging
from pymongo import ASCENDING, MongoClient
from pymongo.errors import ConnectionFailure, ServerSelectionTimeoutError
from ..exceptions import MongoBackendError, ProcessingError
from ..filters.mongodb_filter import MongoDBFilter
from ..utils.common import (create_bundle, format_datetime, generate_status,
get_timestamp)
from .base import Backend
# Module-level logger
log = logging.getLogger(__name__)
def catch_mongodb_error(func):
"""Catch mongodb availability error"""
return api_wrapper
| [
11748,
18931,
198,
198,
6738,
279,
4948,
25162,
1330,
25400,
10619,
2751,
11,
42591,
11792,
198,
6738,
279,
4948,
25162,
13,
48277,
1330,
26923,
50015,
11,
9652,
4653,
1564,
48031,
12331,
198,
198,
6738,
11485,
1069,
11755,
1330,
42591,
7282,
437,
12331,
11,
28403,
12331,
198,
6738,
11485,
10379,
1010,
13,
31059,
375,
65,
62,
24455,
1330,
42591,
11012,
22417,
198,
6738,
11485,
26791,
13,
11321,
1330,
357,
17953,
62,
65,
31249,
11,
5794,
62,
19608,
8079,
11,
7716,
62,
13376,
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,
651,
62,
16514,
27823,
8,
198,
6738,
764,
8692,
1330,
5157,
437,
198,
198,
2,
19937,
12,
5715,
49706,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
4299,
4929,
62,
31059,
375,
65,
62,
18224,
7,
20786,
2599,
198,
220,
220,
220,
37227,
34,
963,
285,
506,
375,
65,
11500,
4049,
37811,
628,
220,
220,
220,
1441,
40391,
62,
48553,
628
] | 3.08427 | 178 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.