content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
from unittest import TestCase from wsgisubdomain import SubdomainDispatcher
[ 6738, 555, 715, 395, 1330, 6208, 20448, 198, 6738, 266, 45213, 271, 549, 27830, 1330, 3834, 27830, 7279, 8071, 2044, 628 ]
3.666667
21
import pytest from unittestmock import UnitTestMock from cykhash import Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet import cykhash SUFFIX={Int64Set : "int64", Int32Set : "int32", Float64Set : "float64", Float32Set : "float32", PyObjectSet : "pyobject"} @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] ) @pytest.mark.parametrize( "set_type", [Int64Set, Int32Set, Float64Set, Float32Set, PyObjectSet] )
[ 11748, 12972, 9288, 198, 6738, 555, 715, 395, 76, 735, 1330, 11801, 14402, 44, 735, 628, 198, 6738, 3075, 14636, 1077, 1330, 2558, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 198, 11748, 3075, 14636, 1077, 198, 198, 12564, 5777, 10426, 34758, 5317, 2414, 7248, 1058, 366, 600, 2414, 1600, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2558, 2624, 7248, 1058, 366, 600, 2624, 1600, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 48436, 2414, 7248, 1058, 366, 22468, 2414, 1600, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 48436, 2624, 7248, 1058, 366, 22468, 2624, 1600, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 9485, 10267, 7248, 1058, 366, 9078, 15252, 20662, 198, 220, 220, 220, 220, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 2617, 62, 4906, 1600, 198, 220, 220, 220, 685, 5317, 2414, 7248, 11, 2558, 2624, 7248, 11, 48436, 2414, 7248, 11, 48436, 2624, 7248, 11, 9485, 10267, 7248, 60, 198, 8, 628, 198 ]
2.214777
582
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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 multiprocessing import os import time import unittest import pendulum.datetime from notification_service.base_notification import BaseEvent from notification_service.client import NotificationClient from notification_service.event_storage import MemoryEventStorage from notification_service.server import NotificationServer from notification_service.service import NotificationService from airflow.models.serialized_dag import SerializedDagModel from airflow.contrib.jobs.dag_trigger import DagTrigger from airflow.contrib.jobs.scheduler_client import EventSchedulerClient, ResponseWatcher from airflow.models import DagModel from airflow.utils.mailbox import Mailbox from airflow.utils.session import create_session from airflow.events.scheduler_events import SchedulerInnerEventUtil, SchedulerInnerEventType, SCHEDULER_NAMESPACE from tests.test_utils import db from tests.test_utils.config import conf_vars DAG_FOLDER = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'dags') TEST_DAG_FILE = os.path.join(DAG_FOLDER, 'test_scheduler_dags.py') if __name__ == '__main__': unittest.main()
[ 2, 49962, 284, 262, 24843, 10442, 5693, 357, 1921, 37, 8, 739, 530, 198, 2, 393, 517, 18920, 5964, 11704, 13, 220, 4091, 262, 28536, 2393, 198, 2, 9387, 351, 428, 670, 329, 3224, 1321, 198, 2, 5115, 6634, 9238, 13, 220, 383, 7054, 37, 16625, 428, 2393, 198, 2, 284, 345, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 198, 2, 366, 34156, 15341, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 198, 2, 351, 262, 13789, 13, 220, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 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, 198, 2, 3788, 9387, 739, 262, 13789, 318, 9387, 319, 281, 198, 2, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 198, 2, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 220, 4091, 262, 13789, 329, 262, 198, 2, 2176, 3303, 15030, 21627, 290, 11247, 198, 2, 739, 262, 13789, 13, 198, 11748, 18540, 305, 919, 278, 198, 11748, 28686, 198, 11748, 640, 198, 11748, 555, 715, 395, 198, 198, 11748, 44017, 14452, 13, 19608, 8079, 198, 6738, 14483, 62, 15271, 13, 8692, 62, 1662, 2649, 1330, 7308, 9237, 198, 6738, 14483, 62, 15271, 13, 16366, 1330, 42808, 11792, 198, 6738, 14483, 62, 15271, 13, 15596, 62, 35350, 1330, 14059, 9237, 31425, 198, 6738, 14483, 62, 15271, 13, 15388, 1330, 42808, 10697, 198, 6738, 14483, 62, 15271, 13, 15271, 1330, 42808, 16177, 198, 6738, 45771, 13, 27530, 13, 46911, 1143, 62, 67, 363, 1330, 23283, 1143, 35, 363, 17633, 198, 198, 6738, 45771, 13, 3642, 822, 13, 43863, 13, 67, 363, 62, 46284, 1330, 32167, 48344, 198, 6738, 45771, 13, 3642, 822, 13, 43863, 13, 1416, 704, 18173, 62, 16366, 1330, 8558, 50, 1740, 18173, 11792, 11, 18261, 54, 34734, 198, 6738, 45771, 13, 27530, 1330, 32167, 17633, 198, 6738, 45771, 13, 26791, 13, 4529, 3524, 1330, 11099, 3524, 198, 6738, 45771, 13, 26791, 13, 29891, 1330, 2251, 62, 29891, 198, 6738, 45771, 13, 31534, 13, 1416, 704, 18173, 62, 31534, 1330, 27774, 18173, 818, 1008, 9237, 18274, 346, 11, 27774, 18173, 818, 1008, 9237, 6030, 11, 22374, 1961, 6239, 1137, 62, 45, 29559, 47, 11598, 198, 6738, 5254, 13, 9288, 62, 26791, 1330, 20613, 198, 6738, 5254, 13, 9288, 62, 26791, 13, 11250, 1330, 1013, 62, 85, 945, 198, 198, 35, 4760, 62, 37, 3535, 14418, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 4008, 828, 705, 67, 3775, 11537, 198, 51, 6465, 62, 35, 4760, 62, 25664, 796, 28686, 13, 6978, 13, 22179, 7, 35, 4760, 62, 37, 3535, 14418, 11, 705, 9288, 62, 1416, 704, 18173, 62, 67, 3775, 13, 9078, 11537, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
3.670498
522
# Copyright 2021 MosaicML. All Rights Reserved. import pytest from composer.models import ModelHparams from composer.trainer.trainer_hparams import model_registry @pytest.mark.parametrize("model_name", model_registry.keys())
[ 2, 15069, 33448, 5826, 18452, 5805, 13, 1439, 6923, 33876, 13, 198, 198, 11748, 12972, 9288, 198, 198, 6738, 26777, 13, 27530, 1330, 9104, 39, 37266, 198, 6738, 26777, 13, 2213, 10613, 13, 2213, 10613, 62, 71, 37266, 1330, 2746, 62, 2301, 4592, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7203, 19849, 62, 3672, 1600, 2746, 62, 2301, 4592, 13, 13083, 28955, 198 ]
3.367647
68
from .base import GnuRecipe
[ 6738, 764, 8692, 1330, 18509, 84, 37523, 628, 198 ]
3.333333
9
#!/usr/bin/env python3 # coding: utf8 from labconstants import LabConstants if __name__ == '__main__': import argparse parser = argparse.ArgumentParser(description='色空間を変換する。Lab->RGB', formatter_class=argparse.RawTextHelpFormatter) parser.add_argument('lab', help="色。カンマ区切りで渡す。\n 0.0 <= l <= 100.0\n -86.18463 <= a <= 98.25422\n -107.863686 <= b <= 94.48248") args = parser.parse_args() lab = args.lab.split(',') lab[0] = float(lab[0]) lab[1] = float(lab[1]) lab[2] = float(lab[2]) r, g, b = lab2rgb(lab) print('%d,%d,%d' % (r, g, b))
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 19617, 25, 3384, 69, 23, 198, 6738, 2248, 9979, 1187, 1330, 3498, 34184, 1187, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1330, 1822, 29572, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 164, 231, 110, 163, 102, 118, 38461, 241, 31758, 13783, 231, 162, 237, 249, 33623, 25748, 16764, 17822, 3784, 36982, 3256, 1296, 1436, 62, 4871, 28, 853, 29572, 13, 27369, 8206, 22087, 8479, 1436, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 23912, 3256, 1037, 2625, 164, 231, 110, 16764, 21763, 6527, 20115, 44293, 118, 26344, 229, 28255, 30640, 162, 116, 94, 33623, 16764, 59, 77, 220, 657, 13, 15, 19841, 300, 19841, 1802, 13, 15, 59, 77, 220, 532, 4521, 13, 1507, 38380, 19841, 257, 19841, 9661, 13, 24970, 1828, 59, 77, 220, 532, 15982, 13, 4521, 2623, 4521, 19841, 275, 19841, 10048, 13, 2780, 23045, 4943, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 220, 220, 220, 2248, 796, 26498, 13, 23912, 13, 35312, 7, 3256, 11537, 198, 220, 220, 220, 2248, 58, 15, 60, 796, 12178, 7, 23912, 58, 15, 12962, 198, 220, 220, 220, 2248, 58, 16, 60, 796, 12178, 7, 23912, 58, 16, 12962, 198, 220, 220, 220, 2248, 58, 17, 60, 796, 12178, 7, 23912, 58, 17, 12962, 198, 220, 220, 220, 374, 11, 308, 11, 275, 796, 2248, 17, 81, 22296, 7, 23912, 8, 198, 220, 220, 220, 3601, 10786, 4, 67, 11, 4, 67, 11, 4, 67, 6, 4064, 357, 81, 11, 308, 11, 275, 4008, 628 ]
2.056738
282
# Copyright 2009-2010 by Ka-Ping Yee # # 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. """The Resource Mapper data model. All entities and fields are add-only and are never deleted or overwritten. To represent modifications to a country's data, create a new Version under the appropriate Country. To represent modifications to a subject's attributes, add a new Report for that Subject. This project uses the following naming conventions in variables and properties: "key": An App Engine entity key. "name": A unique identifier for an entity, used as the entity's key_name. Fields ending in "_name" contain the key_names of other entities. Names should be C-style identifiers (thus usable as HTML element IDs, form element names, and CSS classes) and are usually not displayed in the UI directly. For each name, there should be a corresponding Message entity that provides the localized text. "title": A non-localizable, UI-displayable text label for an entity. """ import datetime from google.appengine.ext import db MAX_DATE = datetime.datetime(datetime.MAXYEAR, 1, 1) class Subdomain(db.Model): """A separate grouping of Subjects and SubjectTypes. Top-level entity, with no parent. Key name: unique subdomain name. In the UI, each subdomain appears to be an independent instance of the application. The permitted actions of Accounts and key_names of Subjects and SubjectTypes are namespaced by prefixing them with the subdomain name and a colon. All other entities are shared across all subdomains.""" pass # No properties for now; only the key_name is significant. def filter_by_prefix(query, key_name_prefix, root_kind=None): """Filters a query for key_names that have the given prefix. If root_kind is specified, filters the query for children of any entities that are of that kind with the given prefix; otherwise, the results are assumed to be top-level entities of the kind being queried.""" root_kind = root_kind or query._model_class.__name__ min_key = db.Key.from_path(root_kind, key_name_prefix) max_key = db.Key.from_path(root_kind, key_name_prefix + u'\uffff') return query.filter('__key__ >=', min_key).filter('__key__ <=', max_key) def value_or_none(value): """Converts any false value other than 0 or 0.0 to None.""" if value or value == 0: return value return None def get_name(name_or_entity): """If given an entity, returns its name (without subdomain); if given a string, returns the string itself.""" if isinstance(name_or_entity, (Subject, SubjectType)): return name_or_entity.name elif isinstance(name_or_entity, db.Model): return name_or_entity.key().name() else: return name_or_entity class SubdomainMixin: """A mix-in class providing common methods for entities whose key names begin with a subdomain and a colon.""" @classmethod def get(cls, subdomain, name): """Gets an entity by its subdomain and name. This method overrides the default get() method, which takes a db.Key.""" return cls.get_by_key_name(subdomain + ':' + name) @classmethod def all_in_subdomain(cls, subdomain): """Gets a query for all entities with the given subdomain.""" root_kind = getattr(cls, 'ROOT_KIND', None) return filter_by_prefix(cls.all(), subdomain + ':', root_kind) def get_subdomain(self): """Gets the entity's subdomain.""" return self.key().name().split(':', 1)[0] subdomain = property(get_subdomain) def get_name(self): """Gets the entity's name (without the subdomain).""" return self.key().name().split(':', 1)[1] name = property(get_name) class Subject(SubdomainMixin, db.Expando): """A thing whose attributes are tracked by this application. Top-level entity, has no parent. Key name: subdomain + ':' + subject name. A subject name is a globally unique ID that starts with a domain name and a slash. In the 'haiti' subdomain, Subjects are health facilities with a government or internationally established health facility ID.""" timestamp = db.DateTimeProperty(auto_now_add=True) # creation time type = db.StringProperty(required=True) # key_name of a SubjectType, # without the subdomain prefix author = db.UserProperty() # who created this Subject # additional properties for the current value of each attribute # (named by Attribute's key_name). This denormalization is for read speed. # Consider an attribute named 'foo'. We will store 6 values here: # foo__ various types, the attribute value # foo__observed datetime, timestamp when the value was valid # foo__author users.User, the user who provided the change # foo__author_nickname string, source of the change # foo__author_affiliation string, affiliation of the source # foo__comment string, a comment about the change # These properties will exist with the following invariants: # 1. If subject.foo__ is not present, that means attribute "foo" has never # existed on this subject at any point in the past. # 2. If subject.foo__ is None, that means some user actually set the # attribute to "(unspecified)". # 3. All six fields are always written together at the same time, and are # never removed. (Hence either all are present or none are present.) @staticmethod def create(subdomain, subject_type_or_type_name, subject_name, author): """Creates a Subject with a given subdomain, type, name, and author.""" return Subject(key_name='%s:%s' % (subdomain, subject_name), type=get_name(subject_type_or_type_name), author=author) @staticmethod def generate_name(host, subject_type_or_type_name): """Makes a new unique subject_name for an original subject (originally created in this repository, not cloned from an external repository).""" id = UniqueId.create_id() return '%s/%s.%d' % (host, get_name(subject_type_or_type_name), id) @staticmethod @classmethod def has_value(self, attribute_name): """Returns the value of the Attribute with the given key_name, or default if it does not exist.""" return hasattr(self, '%s__' % attribute_name) def get_value(self, attribute_name, default=None): """Returns the value of the Attribute with the given key_name, or default if it does not exist.""" return getattr(self, '%s__' % attribute_name, default) def get_observed(self, attribute_name, default=None): """Returns the timestamp when the Attribute with the given key_name was valid, or default if it does not exist.""" return getattr(self, '%s__observed' % attribute_name, default) def get_author(self, attribute_name, default=None): """Returns the author of the Attribute value with the given key_name, or default if it does not exist.""" return getattr(self, '%s__author' % attribute_name, default) def get_author_nickname(self, attribute_name, default=None): """Returns the author nickname of the Attribute value with the given key_name, or default if it does not exist.""" return getattr(self, '%s__author_nickname' % attribute_name, default) def get_author_affiliation(self, attribute_name, default=None): """Returns the affiliation of the author of the Attribute value with the given key_name, or default if it does not exist.""" return getattr(self, '%s__author_affiliation' % attribute_name, default) def get_comment(self, attribute_name, default=None): """Returns the author's comment about the Attribute value with the given key_name, or default if it does not exist.""" return getattr(self, '%s__comment' % attribute_name, default) def set_attribute(self, name, value, observed, author, author_nickname, author_affiliation, comment): """Sets the value for the Attribute with the given key_name.""" setattr(self, '%s__' % name, value_or_none(value)) setattr(self, '%s__observed' % name, value_or_none(observed)) setattr(self, '%s__author' % name, value_or_none(author)) setattr(self, '%s__author_nickname' % name, value_or_none(author_nickname)) setattr(self, '%s__author_affiliation' % name, value_or_none(author_affiliation)) setattr(self, '%s__comment' % name, value_or_none(comment)) class MinimalSubject(SubdomainMixin, db.Expando): """Minimal version of Subject that loads fast from the datastore and contains just the information needed to populate the initial list and map. Parent: Subject. Key name: same as its parent Subject. Wouldn't be necessary if we could select columns from the datastore.""" type = db.StringProperty(required=True) # key_name of a SubjectType, # without the subdomain prefix # More properties for the current values of ONLY the most critically # important attributes of Subject (named by Attribute's key_name). # An attribute named foo will be stored as 'foo__' to match Subject. ROOT_KIND = 'Subject' # filter_by_prefix uses this to filter keys properly @staticmethod @staticmethod def get_by_subject(subject): """Gets the MinimalSubject entity for the given Subject.""" return MinimalSubject.all().ancestor(subject).get() @staticmethod def has_value(self, attribute_name): """Returns the value of the Attribute with the given key_name, or default if it does not exist.""" return hasattr(self, '%s__' % attribute_name) def get_value(self, attribute_name, default=None): """Returns the value of the Attribute with the given key_name, or default if it does not exist.""" return getattr(self, '%s__' % attribute_name, default) def set_attribute(self, name, value): """Sets the value for the Attribute with the given key_name.""" setattr(self, '%s__' % name, value_or_none(value)) class UniqueId(db.Model): """This entity is used just to generate unique numeric IDs.""" @staticmethod def create_id(): """Gets a numeric ID that is guaranteed to be different from any ID previously returned by this static method.""" unique_id = UniqueId() unique_id.put() return unique_id.key().id() class SubjectType(SubdomainMixin, db.Model): """A type of Subject, e.g. hospital, warehouse, charity, camp. Top-level entity, has no parent. Key name: subdomain + ':' + type name. A type name is an identifier used as the value of Subject.type.""" timestamp = db.DateTimeProperty(auto_now_add=True) attribute_names = db.StringListProperty() # key_names of Attribute entities minimal_attribute_names = db.StringListProperty() # key_names of # Attribute entities whose values should be copied into MinimalSubject @staticmethod class Attribute(db.Model): """An attribute of a subject, e.g. services available, # of patients. Top-level entity, has no parent. Key name: name of a property in a Report, and also the name of the Message providing the UI-displayable attribute name.""" timestamp = db.DateTimeProperty(auto_now_add=True) type = db.StringProperty(required=True, choices=[ 'str', # value is a single-line string (Python unicode) 'text', # value is a string, shown as long text (Python unicode) 'contact', # value is a 3-line string (name, phone, e-mail address) 'date', # value is a date (Python datetime with time 00:00:00) 'int', # value is an integer (64-bit long) 'float', # value is a float (Python float, i.e. double) 'bool', # value is a boolean 'choice', # value is a string (one of the elements in 'values') 'multi', # value is a list of strings (which are elements of 'values') 'geopt', # value is a db.GeoPt with latitude and longitude ]) edit_action = db.StringProperty() # What Account action can edit? values = db.StringListProperty() # allowed value names for choice or multi class Report(db.Expando): """A report on the attributes and resources of a Subject. Parent: Subject. A Report may represent a partial update of the attributes of the subject.""" arrived = db.DateTimeProperty(auto_now_add=True) # date we received report source = db.StringProperty() # a URL, the source of the report author = db.UserProperty() # author of the report observed = db.DateTimeProperty() # date that report contents were valid # additional properties for each Attribute (named by Attribute's key_name) # Consider an attribute named 'foo'. We will store 2 values here: # foo__ various, the attribute value # foo__comment db.StringProperty, a comment from user making the change # These properties will exist with the following invariants: # 1. If report.foo__ is not present, that means attribute "foo" should # not change its value from the previous report. # 2. If report.foo__ is None, that means some user actually set the # attribute to "(unspecified)". # 3. Both fields are always written together at the same time, and # are never removed. (Hence either all are present or none are present.) def get_value(self, attribute_name, default=None): """Returns the value of the Attribute with the given key_name, or default if it does not exist.""" return getattr(self, '%s__' % attribute_name, default) def get_comment(self, attribute_name, default=None): """Returns the author's comment about the Attribute value with the given key_name, or default if it does not exist.""" return getattr(self, '%s__comment' % attribute_name, default) def set_attribute(self, name, value, comment): """Sets the value for the Attribute with the given key_name.""" setattr(self, '%s__' % name, value_or_none(value)) setattr(self, '%s__comment' % name, value_or_none(comment)) class Account(db.Model): """User account. Top-level entity, has no parent. Users without Account entities can use the application; for such users, their permissions are determined by the special Account object with key_name='default'. Users get their own Account entities when editing a Subject, requesting permissions, being granted permissions, or subscribing to alerts.""" timestamp = db.DateTimeProperty(auto_now_add=True) # creation time description = db.StringProperty() # full name or description email = db.StringProperty() # e-mail address of the account user_id = db.StringProperty() # users.User.id() of the account nickname = db.StringProperty() # nickname for display in the UI; may # differ from users.User.nickname() affiliation = db.StringProperty() # company or organization, etc. token = db.StringProperty() # secret token for looking up an Account with # no e-mail address (so we can have Account # entities for nonexistent Google Accounts) actions = db.StringListProperty() # actions allowed for this user (items # have the form subdomain + ':' + verb; # '*' is a wildcard subdomain or verb) requested_actions = db.StringListProperty() # permissions requested but # not yet granted locale = db.StringProperty() # user chosen locale # default frequency for updates default_frequency = db.StringProperty(default='instant') # preferred format to receive e-mail in email_format = db.StringProperty(choices=['plain', 'html'], default='plain') # For explanation of default settings for the next alert times, see # mail_alerts.py's send_digests function. # next time to send a daily update next_daily_alert = db.DateTimeProperty(default=MAX_DATE) # next time to send a weekly update to the user next_weekly_alert = db.DateTimeProperty(default=MAX_DATE) # next time to send a monthly update to the user next_monthly_alert = db.DateTimeProperty(default=MAX_DATE) class Message(db.Expando): """Internationalized strings for value identifiers. Top-level entity, has no parent.""" # Formerly namespace, renamed to work around bug in GAE 1.3.5 (b/2811890); # Can change back after 1.3.6, which contains the fix ns = db.StringProperty(required=True, choices=[ 'english', # name is an English string 'attribute_name', # name is an Attribute's key_name 'attribute_value', # name is a value name in a choice or multi attribute 'subject_type' # name is a SubjectType's key_name (including subdomain) ]) name = db.StringProperty() # additional properties for each language (named by locale code) class Dump(db.Model): """A record of the data received from a data source in its native format, before it was converted and loaded into the datastore. Top-level entity, has no parent.""" timestamp = db.DateTimeProperty(auto_now_add=True) base = db.SelfReference() # if present, this dump is a clone of base source = db.StringProperty() # URL identifying the source data = db.BlobProperty() # received raw data # TODO(kpy): Clean up the inconsistent use of the term "subject_name". # In Subscription, subject_name is the entire Subject key including the # subdomain; elsewhere it is just the part after the subdomain. class Subscription(db.Model): """A subscription by a user to receive notification when details for a facility change. Top-level entity, has no parent. Key name: follows the format subject_name:user_email""" user_email = db.StringProperty(required=True) # user to alert subject_name = db.StringProperty(required=True) # key_name of subject frequency = db.StringProperty(required=True, choices=[ 'instant', # send an alert whenever the facility is updated 'daily', # send during a daily digest e-mail 'weekly', # send during a weekly digest e-mail 'monthly' # send during a monthly digest e-mail on the 1st of the month ]) # frequency of updates for this subject @staticmethod def get(subject_name, user_email): """Gets a Subscription entity by its subject_name and e-mail.""" return Subscription.get_by_key_name(subject_name + ':' + user_email) @staticmethod def get_by_subject(subject_name): """Gets a query for all PendingAlert with the given subject name.""" return filter_by_prefix(Subscription.all(), subject_name + ':') class PendingAlert(MinimalSubject): """A pending notification for a user; waiting to be sent on a daily/weekly/ monthly basis, pending the frequency of the particular alert. Top-level entity, has no parent. Key name: follows the format frequency:user_email:subject_name""" user_email = db.StringProperty(required=True) # user to alert subject_name = db.StringProperty(required=True) # key_name of subject timestamp = db.DateTimeProperty() # creation time of the pending alert frequency = db.StringProperty(required=True, choices=[ 'instant', # send an alert whenever the subject is updated 'daily', # send during a daily digest e-mail 'weekly', # send during a weekly digest e-mail 'monthly' # send during a monthly digest e-mail on the 1st of the month ]) # frequency of updates for this subject @staticmethod def get(frequency, user_email, subject_name): """Gets a PendingAlert entity by its frequency, e-mail, and subject name.""" return PendingAlert.get_by_key_name(frequency + ':' + user_email + ':' + subject_name) @staticmethod def get_by_frequency(frequency, user_email): """Gets a query for all PendingAlert with the given frequency and associated user e-mail.""" return filter_by_prefix(PendingAlert.all(), frequency + ':' + user_email + ':') class MailUpdateText(db.Expando): """A map from attribute names and values to alternate values accepted in the mail editing system. They are strings that users can type into e-mails to refer to attribute names or values. Key name: follows the format namespace:name. This table should at all times contain the following special cases for general-use attribute values: true, false, and none. Accepted values are: true: ['Yes', 'y', 'true'] false: ['No', 'n', 'false'] none: ['*none'] by default. In total, the number of entities in the table should be equal to the number of attribute entities, plus the unique values across all multi and choice attributes, plus the 3 general values defined above.""" # name is an attribute name or attribute value; see below name = db.StringProperty(required=True) ns = db.StringProperty(required=True, choices=[ 'attribute_name', # name is an attribute's key_name 'attribute_value' # name is a value name in a choice or multi attribute ]) # Expando values should be initialized on a per-language basis as a list # of accepted input strings for this particular map, in that language. # Use the same naming format as in the Message table [en for English, # fr for French, etc.]. The first value in each list should match the # corresponding Message, to make mail editing behavior resilient to # changes in translations. For comparison purposes, each item in the # list will be treated as case-insensitive. Spaces should be used in # favor of underscores. @classmethod def get(cls, ns, name): """Gets an entity by its namespace and name.""" key_name = '%s:%s' % (ns, name) return cls.get_by_key_name(key_name) @classmethod def create(cls, ns, name, **kwargs): """Creates an entity with the specified namespace and name.""" key_name = '%s:%s' % (ns, name) return cls(key_name=key_name, ns=ns, name=name, **kwargs) @classmethod def all_in_namespace(cls, ns): """Gets a query for all entities with the given namespace.""" return filter_by_prefix(cls.all(), ns + ':')
[ 2, 15069, 3717, 12, 10333, 416, 11611, 12, 49806, 575, 1453, 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, 37811, 464, 20857, 337, 11463, 1366, 2746, 13, 220, 1439, 12066, 290, 7032, 389, 751, 12, 8807, 290, 198, 533, 1239, 13140, 393, 6993, 9108, 13, 220, 1675, 2380, 19008, 284, 257, 1499, 338, 198, 7890, 11, 2251, 257, 649, 10628, 739, 262, 5035, 12946, 13, 220, 1675, 2380, 198, 4666, 6637, 284, 257, 2426, 338, 12608, 11, 751, 257, 649, 6358, 329, 326, 15540, 13, 198, 198, 1212, 1628, 3544, 262, 1708, 19264, 21396, 287, 9633, 290, 6608, 25, 628, 220, 220, 220, 366, 2539, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 1052, 2034, 7117, 9312, 1994, 13, 628, 220, 220, 220, 366, 3672, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 317, 3748, 27421, 329, 281, 9312, 11, 973, 355, 262, 9312, 338, 1994, 62, 3672, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23948, 7464, 287, 45434, 3672, 1, 3994, 262, 1994, 62, 14933, 286, 584, 12066, 13, 628, 220, 220, 220, 220, 220, 220, 220, 28531, 815, 307, 327, 12, 7635, 42814, 357, 26239, 24284, 355, 11532, 5002, 32373, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1296, 5002, 3891, 11, 290, 17391, 6097, 8, 290, 389, 3221, 407, 9066, 287, 198, 220, 220, 220, 220, 220, 220, 220, 262, 12454, 3264, 13, 220, 1114, 1123, 1438, 11, 612, 815, 307, 257, 11188, 198, 220, 220, 220, 220, 220, 220, 220, 16000, 9312, 326, 3769, 262, 36618, 2420, 13, 628, 220, 220, 220, 366, 7839, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 317, 1729, 12, 12001, 13821, 11, 12454, 12, 13812, 540, 2420, 6167, 329, 281, 9312, 13, 198, 37811, 198, 198, 11748, 4818, 8079, 198, 198, 6738, 23645, 13, 1324, 18392, 13, 2302, 1330, 20613, 198, 198, 22921, 62, 35, 6158, 796, 4818, 8079, 13, 19608, 8079, 7, 19608, 8079, 13, 22921, 56, 17133, 11, 352, 11, 352, 8, 198, 198, 4871, 3834, 27830, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 32, 4553, 36115, 286, 43815, 290, 15540, 31431, 13, 220, 5849, 12, 5715, 9312, 11, 198, 220, 220, 220, 351, 645, 2560, 13, 220, 7383, 1438, 25, 3748, 850, 27830, 1438, 13, 220, 554, 262, 12454, 11, 1123, 198, 220, 220, 220, 850, 27830, 3568, 284, 307, 281, 4795, 4554, 286, 262, 3586, 13, 220, 383, 198, 220, 220, 220, 10431, 4028, 286, 35584, 290, 1994, 62, 14933, 286, 43815, 290, 15540, 31431, 198, 220, 220, 220, 389, 3891, 32416, 416, 21231, 278, 606, 351, 262, 850, 27830, 1438, 290, 257, 7633, 13, 220, 1439, 198, 220, 220, 220, 584, 12066, 389, 4888, 1973, 477, 850, 3438, 1299, 526, 15931, 198, 220, 220, 220, 1208, 220, 1303, 1400, 6608, 329, 783, 26, 691, 262, 1994, 62, 3672, 318, 2383, 13, 628, 198, 4299, 8106, 62, 1525, 62, 40290, 7, 22766, 11, 1994, 62, 3672, 62, 40290, 11, 6808, 62, 11031, 28, 14202, 2599, 198, 220, 220, 220, 37227, 11928, 1010, 257, 12405, 329, 1994, 62, 14933, 326, 423, 262, 1813, 21231, 13, 220, 1002, 6808, 62, 11031, 198, 220, 220, 220, 318, 7368, 11, 16628, 262, 12405, 329, 1751, 286, 597, 12066, 326, 389, 286, 198, 220, 220, 220, 326, 1611, 351, 262, 1813, 21231, 26, 4306, 11, 262, 2482, 389, 9672, 284, 307, 198, 220, 220, 220, 1353, 12, 5715, 12066, 286, 262, 1611, 852, 42517, 798, 526, 15931, 198, 220, 220, 220, 6808, 62, 11031, 796, 6808, 62, 11031, 393, 12405, 13557, 19849, 62, 4871, 13, 834, 3672, 834, 198, 220, 220, 220, 949, 62, 2539, 796, 20613, 13, 9218, 13, 6738, 62, 6978, 7, 15763, 62, 11031, 11, 1994, 62, 3672, 62, 40290, 8, 198, 220, 220, 220, 3509, 62, 2539, 796, 20613, 13, 9218, 13, 6738, 62, 6978, 7, 15763, 62, 11031, 11, 1994, 62, 3672, 62, 40290, 1343, 334, 6, 59, 1648, 487, 11537, 198, 220, 220, 220, 1441, 12405, 13, 24455, 10786, 834, 2539, 834, 18189, 3256, 949, 62, 2539, 737, 24455, 10786, 834, 2539, 834, 19841, 3256, 3509, 62, 2539, 8, 198, 198, 4299, 1988, 62, 273, 62, 23108, 7, 8367, 2599, 198, 220, 220, 220, 37227, 3103, 24040, 597, 3991, 1988, 584, 621, 657, 393, 657, 13, 15, 284, 6045, 526, 15931, 198, 220, 220, 220, 611, 1988, 393, 1988, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 198, 220, 220, 220, 1441, 6045, 198, 198, 4299, 651, 62, 3672, 7, 3672, 62, 273, 62, 26858, 2599, 198, 220, 220, 220, 37227, 1532, 1813, 281, 9312, 11, 5860, 663, 1438, 357, 19419, 850, 27830, 1776, 611, 1813, 257, 198, 220, 220, 220, 4731, 11, 5860, 262, 4731, 2346, 526, 15931, 198, 220, 220, 220, 611, 318, 39098, 7, 3672, 62, 273, 62, 26858, 11, 357, 19776, 11, 15540, 6030, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1438, 62, 273, 62, 26858, 13, 3672, 198, 220, 220, 220, 1288, 361, 318, 39098, 7, 3672, 62, 273, 62, 26858, 11, 20613, 13, 17633, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1438, 62, 273, 62, 26858, 13, 2539, 22446, 3672, 3419, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1438, 62, 273, 62, 26858, 628, 198, 4871, 3834, 27830, 35608, 259, 25, 198, 220, 220, 220, 37227, 32, 5022, 12, 259, 1398, 4955, 2219, 5050, 329, 12066, 3025, 1994, 3891, 198, 220, 220, 220, 2221, 351, 257, 850, 27830, 290, 257, 7633, 526, 15931, 198, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 651, 7, 565, 82, 11, 850, 27830, 11, 1438, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 281, 9312, 416, 663, 850, 27830, 290, 1438, 13, 220, 770, 2446, 23170, 1460, 198, 220, 220, 220, 220, 220, 220, 220, 262, 4277, 651, 3419, 2446, 11, 543, 2753, 257, 20613, 13, 9218, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 537, 82, 13, 1136, 62, 1525, 62, 2539, 62, 3672, 7, 7266, 27830, 1343, 705, 32105, 1343, 1438, 8, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 477, 62, 259, 62, 7266, 27830, 7, 565, 82, 11, 850, 27830, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 12405, 329, 477, 12066, 351, 262, 1813, 850, 27830, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 6808, 62, 11031, 796, 651, 35226, 7, 565, 82, 11, 705, 13252, 2394, 62, 42, 12115, 3256, 6045, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8106, 62, 1525, 62, 40290, 7, 565, 82, 13, 439, 22784, 850, 27830, 1343, 705, 25, 3256, 6808, 62, 11031, 8, 628, 220, 220, 220, 825, 651, 62, 7266, 27830, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 262, 9312, 338, 850, 27830, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 2539, 22446, 3672, 22446, 35312, 7, 10354, 3256, 352, 38381, 15, 60, 198, 220, 220, 220, 850, 27830, 796, 3119, 7, 1136, 62, 7266, 27830, 8, 628, 220, 220, 220, 825, 651, 62, 3672, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 262, 9312, 338, 1438, 357, 19419, 262, 850, 27830, 21387, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 2539, 22446, 3672, 22446, 35312, 7, 10354, 3256, 352, 38381, 16, 60, 198, 220, 220, 220, 1438, 796, 3119, 7, 1136, 62, 3672, 8, 628, 198, 4871, 15540, 7, 7004, 27830, 35608, 259, 11, 20613, 13, 16870, 25440, 2599, 198, 220, 220, 220, 37227, 32, 1517, 3025, 12608, 389, 18283, 416, 428, 3586, 13, 220, 5849, 12, 5715, 198, 220, 220, 220, 9312, 11, 468, 645, 2560, 13, 220, 7383, 1438, 25, 850, 27830, 1343, 705, 32105, 1343, 2426, 1438, 13, 198, 220, 220, 220, 317, 2426, 1438, 318, 257, 18309, 3748, 4522, 326, 4940, 351, 257, 7386, 1438, 290, 198, 220, 220, 220, 257, 24632, 13, 220, 554, 262, 705, 3099, 8846, 6, 850, 27830, 11, 43815, 389, 1535, 7291, 351, 257, 198, 220, 220, 220, 1230, 393, 19765, 4920, 1535, 6841, 4522, 526, 15931, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 220, 1303, 6282, 640, 198, 220, 220, 220, 2099, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 220, 1303, 1994, 62, 3672, 286, 257, 15540, 6030, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1231, 262, 850, 27830, 21231, 198, 220, 220, 220, 1772, 796, 20613, 13, 12982, 21746, 3419, 220, 1303, 508, 2727, 428, 15540, 198, 220, 220, 220, 1303, 3224, 6608, 329, 262, 1459, 1988, 286, 1123, 11688, 198, 220, 220, 220, 1303, 357, 13190, 416, 3460, 4163, 338, 1994, 62, 3672, 737, 220, 770, 2853, 6636, 1634, 318, 329, 1100, 2866, 13, 198, 220, 220, 220, 1303, 12642, 281, 11688, 3706, 705, 21943, 4458, 775, 481, 3650, 718, 3815, 994, 25, 198, 220, 220, 220, 1303, 22944, 834, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2972, 3858, 11, 262, 11688, 1988, 198, 220, 220, 220, 1303, 22944, 834, 672, 45852, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4818, 8079, 11, 41033, 618, 262, 1988, 373, 4938, 198, 220, 220, 220, 1303, 22944, 834, 9800, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2985, 13, 12982, 11, 262, 2836, 508, 2810, 262, 1487, 198, 220, 220, 220, 1303, 22944, 834, 9800, 62, 17172, 3672, 220, 220, 220, 220, 4731, 11, 2723, 286, 262, 1487, 198, 220, 220, 220, 1303, 22944, 834, 9800, 62, 2001, 15547, 220, 4731, 11, 26218, 286, 262, 2723, 198, 220, 220, 220, 1303, 22944, 834, 23893, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4731, 11, 257, 2912, 546, 262, 1487, 198, 220, 220, 220, 1303, 2312, 6608, 481, 2152, 351, 262, 1708, 25275, 1187, 25, 198, 220, 220, 220, 1303, 352, 13, 1002, 2426, 13, 21943, 834, 318, 407, 1944, 11, 326, 1724, 11688, 366, 21943, 1, 468, 1239, 198, 220, 220, 220, 1303, 220, 220, 220, 11196, 319, 428, 2426, 379, 597, 966, 287, 262, 1613, 13, 198, 220, 220, 220, 1303, 362, 13, 1002, 2426, 13, 21943, 834, 318, 6045, 11, 326, 1724, 617, 2836, 1682, 900, 262, 198, 220, 220, 220, 1303, 220, 220, 220, 11688, 284, 30629, 403, 23599, 8, 1911, 198, 220, 220, 220, 1303, 513, 13, 1439, 2237, 7032, 389, 1464, 3194, 1978, 379, 262, 976, 640, 11, 290, 389, 198, 220, 220, 220, 1303, 220, 220, 220, 1239, 4615, 13, 220, 357, 39, 594, 2035, 477, 389, 1944, 393, 4844, 389, 1944, 2014, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 2251, 7, 7266, 27830, 11, 2426, 62, 4906, 62, 273, 62, 4906, 62, 3672, 11, 2426, 62, 3672, 11, 1772, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16719, 274, 257, 15540, 351, 257, 1813, 850, 27830, 11, 2099, 11, 1438, 11, 290, 1772, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 15540, 7, 2539, 62, 3672, 11639, 4, 82, 25, 4, 82, 6, 4064, 357, 7266, 27830, 11, 2426, 62, 3672, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 1136, 62, 3672, 7, 32796, 62, 4906, 62, 273, 62, 4906, 62, 3672, 828, 1772, 28, 9800, 8, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 7716, 62, 3672, 7, 4774, 11, 2426, 62, 4906, 62, 273, 62, 4906, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44, 1124, 257, 649, 3748, 2426, 62, 3672, 329, 281, 2656, 2426, 357, 11612, 3289, 198, 220, 220, 220, 220, 220, 220, 220, 2727, 287, 428, 16099, 11, 407, 537, 12004, 422, 281, 7097, 16099, 21387, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 796, 30015, 7390, 13, 17953, 62, 312, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 705, 4, 82, 14, 4, 82, 13, 4, 67, 6, 4064, 357, 4774, 11, 651, 62, 3672, 7, 32796, 62, 4906, 62, 273, 62, 4906, 62, 3672, 828, 4686, 8, 628, 220, 220, 220, 2488, 12708, 24396, 628, 220, 220, 220, 2488, 4871, 24396, 628, 220, 220, 220, 825, 468, 62, 8367, 7, 944, 11, 11688, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1988, 286, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 468, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 11688, 62, 3672, 8, 628, 220, 220, 220, 825, 651, 62, 8367, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1988, 286, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 672, 45852, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 41033, 618, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 373, 4938, 11, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 672, 45852, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 9800, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1772, 286, 262, 3460, 4163, 1988, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 9800, 62, 17172, 3672, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1772, 21814, 286, 262, 3460, 4163, 1988, 351, 262, 1813, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 11, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 62, 17172, 3672, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 9800, 62, 2001, 15547, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 26218, 286, 262, 1772, 286, 262, 3460, 4163, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 262, 1813, 1994, 62, 3672, 11, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 62, 2001, 15547, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 23893, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1772, 338, 2912, 546, 262, 3460, 4163, 1988, 351, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1813, 1994, 62, 3672, 11, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 23893, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 900, 62, 42348, 7, 944, 11, 1438, 11, 1988, 11, 6515, 11, 1772, 11, 1772, 62, 17172, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1772, 62, 2001, 15547, 11, 2912, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 1039, 262, 1988, 329, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 8367, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 672, 45852, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 672, 45852, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 9800, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 62, 17172, 3672, 6, 4064, 1438, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 62, 273, 62, 23108, 7, 9800, 62, 17172, 3672, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 9800, 62, 2001, 15547, 6, 4064, 1438, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 62, 273, 62, 23108, 7, 9800, 62, 2001, 15547, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 23893, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 23893, 4008, 628, 198, 4871, 1855, 4402, 19776, 7, 7004, 27830, 35608, 259, 11, 20613, 13, 16870, 25440, 2599, 198, 220, 220, 220, 37227, 9452, 4402, 2196, 286, 15540, 326, 15989, 3049, 422, 262, 4818, 459, 382, 290, 198, 220, 220, 220, 4909, 655, 262, 1321, 2622, 284, 48040, 262, 4238, 1351, 290, 3975, 13, 198, 220, 220, 220, 16774, 25, 15540, 13, 220, 7383, 1438, 25, 976, 355, 663, 2560, 15540, 13, 220, 43048, 470, 307, 198, 220, 220, 220, 3306, 611, 356, 714, 2922, 15180, 422, 262, 4818, 459, 382, 526, 15931, 198, 220, 220, 220, 2099, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 220, 1303, 1994, 62, 3672, 286, 257, 15540, 6030, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1231, 262, 850, 27830, 21231, 198, 220, 220, 220, 1303, 3125, 6608, 329, 262, 1459, 3815, 286, 22224, 262, 749, 19475, 198, 220, 220, 220, 1303, 1593, 12608, 286, 15540, 357, 13190, 416, 3460, 4163, 338, 1994, 62, 3672, 737, 198, 220, 220, 220, 1303, 1052, 11688, 3706, 22944, 481, 307, 8574, 355, 705, 21943, 834, 6, 284, 2872, 15540, 13, 628, 220, 220, 220, 15107, 2394, 62, 42, 12115, 796, 705, 19776, 6, 220, 1303, 8106, 62, 1525, 62, 40290, 3544, 428, 284, 8106, 8251, 6105, 628, 220, 220, 220, 2488, 12708, 24396, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 62, 1525, 62, 32796, 7, 32796, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 262, 1855, 4402, 19776, 9312, 329, 262, 1813, 15540, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1855, 4402, 19776, 13, 439, 22446, 1192, 395, 273, 7, 32796, 737, 1136, 3419, 628, 220, 220, 220, 2488, 12708, 24396, 628, 220, 220, 220, 825, 468, 62, 8367, 7, 944, 11, 11688, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1988, 286, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 468, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 11688, 62, 3672, 8, 628, 220, 220, 220, 825, 651, 62, 8367, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1988, 286, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 900, 62, 42348, 7, 944, 11, 1438, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 1039, 262, 1988, 329, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 8367, 4008, 628, 198, 4871, 30015, 7390, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 1212, 9312, 318, 973, 655, 284, 7716, 3748, 35575, 32373, 526, 15931, 198, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 2251, 62, 312, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 35575, 4522, 326, 318, 11462, 284, 307, 1180, 422, 597, 4522, 198, 220, 220, 220, 220, 220, 220, 220, 4271, 4504, 416, 428, 9037, 2446, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 3748, 62, 312, 796, 30015, 7390, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 3748, 62, 312, 13, 1996, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3748, 62, 312, 13, 2539, 22446, 312, 3419, 628, 198, 4871, 15540, 6030, 7, 7004, 27830, 35608, 259, 11, 20613, 13, 17633, 2599, 198, 220, 220, 220, 37227, 32, 2099, 286, 15540, 11, 304, 13, 70, 13, 4436, 11, 20933, 11, 11016, 11, 1413, 13, 220, 5849, 12, 5715, 198, 220, 220, 220, 9312, 11, 468, 645, 2560, 13, 220, 7383, 1438, 25, 850, 27830, 1343, 705, 32105, 1343, 2099, 1438, 13, 220, 317, 2099, 1438, 198, 220, 220, 220, 318, 281, 27421, 973, 355, 262, 1988, 286, 15540, 13, 4906, 526, 15931, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 198, 220, 220, 220, 11688, 62, 14933, 796, 20613, 13, 10100, 8053, 21746, 3419, 220, 1303, 1994, 62, 14933, 286, 3460, 4163, 12066, 198, 220, 220, 220, 10926, 62, 42348, 62, 14933, 796, 20613, 13, 10100, 8053, 21746, 3419, 220, 1303, 1994, 62, 14933, 286, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3460, 4163, 12066, 3025, 3815, 815, 307, 18984, 656, 1855, 4402, 19776, 628, 220, 220, 220, 2488, 12708, 24396, 628, 198, 4871, 3460, 4163, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 2025, 11688, 286, 257, 2426, 11, 304, 13, 70, 13, 2594, 1695, 11, 1303, 286, 198, 220, 220, 220, 3871, 13, 5849, 12, 5715, 9312, 11, 468, 645, 2560, 13, 220, 7383, 1438, 25, 1438, 286, 257, 3119, 198, 220, 220, 220, 287, 257, 6358, 11, 290, 635, 262, 1438, 286, 262, 16000, 4955, 262, 198, 220, 220, 220, 12454, 12, 13812, 540, 11688, 1438, 526, 15931, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 198, 220, 220, 220, 2099, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 11, 7747, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2536, 3256, 220, 220, 220, 220, 1303, 1988, 318, 257, 2060, 12, 1370, 4731, 357, 37906, 28000, 1098, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 5239, 3256, 220, 220, 220, 1303, 1988, 318, 257, 4731, 11, 3402, 355, 890, 2420, 357, 37906, 28000, 1098, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 32057, 3256, 1303, 1988, 318, 257, 513, 12, 1370, 4731, 357, 3672, 11, 3072, 11, 304, 12, 4529, 2209, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 4475, 3256, 220, 220, 220, 1303, 1988, 318, 257, 3128, 357, 37906, 4818, 8079, 351, 640, 3571, 25, 405, 25, 405, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 600, 3256, 220, 220, 220, 220, 1303, 1988, 318, 281, 18253, 357, 2414, 12, 2545, 890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 22468, 3256, 220, 220, 1303, 1988, 318, 257, 12178, 357, 37906, 12178, 11, 1312, 13, 68, 13, 4274, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 30388, 3256, 220, 220, 220, 1303, 1988, 318, 257, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 705, 25541, 3256, 220, 1303, 1988, 318, 257, 4731, 357, 505, 286, 262, 4847, 287, 705, 27160, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 41684, 3256, 220, 220, 1303, 1988, 318, 257, 1351, 286, 13042, 357, 4758, 389, 4847, 286, 705, 27160, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 469, 8738, 3256, 220, 220, 1303, 1988, 318, 257, 20613, 13, 10082, 78, 47, 83, 351, 32477, 290, 890, 3984, 198, 220, 220, 220, 33761, 198, 220, 220, 220, 4370, 62, 2673, 796, 20613, 13, 10100, 21746, 3419, 1303, 1867, 10781, 2223, 460, 4370, 30, 198, 220, 220, 220, 3815, 796, 20613, 13, 10100, 8053, 21746, 3419, 220, 1303, 3142, 1988, 3891, 329, 3572, 393, 5021, 198, 198, 4871, 6358, 7, 9945, 13, 16870, 25440, 2599, 198, 220, 220, 220, 37227, 32, 989, 319, 262, 12608, 290, 4133, 286, 257, 15540, 13, 198, 220, 220, 220, 16774, 25, 15540, 13, 220, 317, 6358, 743, 2380, 257, 13027, 4296, 286, 262, 198, 220, 220, 220, 12608, 286, 262, 2426, 526, 15931, 198, 220, 220, 220, 5284, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 1303, 3128, 356, 2722, 989, 198, 220, 220, 220, 2723, 796, 20613, 13, 10100, 21746, 3419, 1303, 257, 10289, 11, 262, 2723, 286, 262, 989, 198, 220, 220, 220, 1772, 796, 20613, 13, 12982, 21746, 3419, 1303, 1772, 286, 262, 989, 198, 220, 220, 220, 6515, 796, 20613, 13, 10430, 7575, 21746, 3419, 220, 1303, 3128, 326, 989, 10154, 547, 4938, 198, 220, 220, 220, 1303, 3224, 6608, 329, 1123, 3460, 4163, 357, 13190, 416, 3460, 4163, 338, 1994, 62, 3672, 8, 198, 220, 220, 220, 1303, 12642, 281, 11688, 3706, 705, 21943, 4458, 775, 481, 3650, 362, 3815, 994, 25, 198, 220, 220, 220, 1303, 22944, 834, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2972, 11, 262, 11688, 1988, 198, 220, 220, 220, 1303, 22944, 834, 23893, 220, 220, 20613, 13, 10100, 21746, 11, 257, 2912, 422, 2836, 1642, 262, 1487, 198, 220, 220, 220, 1303, 2312, 6608, 481, 2152, 351, 262, 1708, 25275, 1187, 25, 198, 220, 220, 220, 1303, 352, 13, 1002, 989, 13, 21943, 834, 318, 407, 1944, 11, 326, 1724, 11688, 366, 21943, 1, 815, 198, 220, 220, 220, 1303, 407, 1487, 663, 1988, 422, 262, 2180, 989, 13, 198, 220, 220, 220, 1303, 362, 13, 1002, 989, 13, 21943, 834, 318, 6045, 11, 326, 1724, 617, 2836, 1682, 900, 262, 198, 220, 220, 220, 1303, 11688, 284, 30629, 403, 23599, 8, 1911, 198, 220, 220, 220, 1303, 513, 13, 5747, 7032, 389, 1464, 3194, 1978, 379, 262, 976, 640, 11, 290, 198, 220, 220, 220, 1303, 389, 1239, 4615, 13, 220, 357, 39, 594, 2035, 477, 389, 1944, 393, 4844, 389, 1944, 2014, 628, 220, 220, 220, 825, 651, 62, 8367, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1988, 286, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 651, 62, 23893, 7, 944, 11, 11688, 62, 3672, 11, 4277, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 1772, 338, 2912, 546, 262, 3460, 4163, 1988, 351, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1813, 1994, 62, 3672, 11, 393, 4277, 611, 340, 857, 407, 2152, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 651, 35226, 7, 944, 11, 705, 4, 82, 834, 23893, 6, 4064, 11688, 62, 3672, 11, 4277, 8, 628, 220, 220, 220, 825, 900, 62, 42348, 7, 944, 11, 1438, 11, 1988, 11, 2912, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 1039, 262, 1988, 329, 262, 3460, 4163, 351, 262, 1813, 1994, 62, 3672, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 8367, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 11, 705, 4, 82, 834, 23893, 6, 4064, 1438, 11, 1988, 62, 273, 62, 23108, 7, 23893, 4008, 198, 198, 4871, 10781, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 12982, 1848, 13, 5849, 12, 5715, 9312, 11, 468, 645, 2560, 13, 220, 18987, 1231, 10781, 198, 220, 220, 220, 12066, 460, 779, 262, 3586, 26, 329, 884, 2985, 11, 511, 21627, 389, 198, 220, 220, 220, 5295, 416, 262, 2041, 10781, 2134, 351, 1994, 62, 3672, 11639, 12286, 4458, 220, 18987, 198, 220, 220, 220, 651, 511, 898, 10781, 12066, 618, 12857, 257, 15540, 11, 20623, 198, 220, 220, 220, 21627, 11, 852, 7520, 21627, 11, 393, 18412, 284, 21675, 526, 15931, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 220, 1303, 6282, 640, 198, 220, 220, 220, 6764, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 1336, 1438, 393, 6764, 198, 220, 220, 220, 3053, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 304, 12, 4529, 2209, 286, 262, 1848, 198, 220, 220, 220, 2836, 62, 312, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 2985, 13, 12982, 13, 312, 3419, 286, 262, 1848, 198, 220, 220, 220, 21814, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 21814, 329, 3359, 287, 262, 12454, 26, 743, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 13238, 422, 2985, 13, 12982, 13, 17172, 3672, 3419, 198, 220, 220, 220, 26218, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 1664, 393, 4009, 11, 3503, 13, 198, 220, 220, 220, 11241, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 3200, 11241, 329, 2045, 510, 281, 10781, 351, 198, 220, 220, 220, 220, 220, 220, 220, 220, 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, 645, 304, 12, 4529, 2209, 357, 568, 356, 460, 423, 10781, 198, 220, 220, 220, 220, 220, 220, 220, 220, 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, 12066, 329, 42601, 3012, 35584, 8, 198, 220, 220, 220, 4028, 796, 20613, 13, 10100, 8053, 21746, 3419, 220, 1303, 4028, 3142, 329, 428, 2836, 357, 23814, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 423, 262, 1296, 850, 27830, 1343, 705, 32105, 1343, 15942, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 705, 9, 6, 318, 257, 4295, 9517, 850, 27830, 393, 15942, 8, 198, 220, 220, 220, 9167, 62, 4658, 796, 20613, 13, 10100, 8053, 21746, 3419, 220, 1303, 21627, 9167, 475, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 407, 1865, 7520, 198, 220, 220, 220, 36693, 796, 20613, 13, 10100, 21746, 3419, 1303, 2836, 7147, 36693, 198, 220, 220, 220, 1303, 4277, 8373, 329, 5992, 198, 220, 220, 220, 4277, 62, 35324, 796, 20613, 13, 10100, 21746, 7, 12286, 11639, 8625, 415, 11537, 198, 220, 220, 220, 1303, 9871, 5794, 284, 3328, 304, 12, 4529, 287, 198, 220, 220, 220, 3053, 62, 18982, 796, 20613, 13, 10100, 21746, 7, 6679, 1063, 28, 17816, 25638, 3256, 705, 6494, 6, 4357, 4277, 11639, 25638, 11537, 628, 220, 220, 220, 1303, 1114, 7468, 286, 4277, 6460, 329, 262, 1306, 7995, 1661, 11, 766, 198, 220, 220, 220, 1303, 6920, 62, 44598, 82, 13, 9078, 338, 3758, 62, 12894, 3558, 2163, 13, 198, 220, 220, 220, 1303, 1306, 640, 284, 3758, 257, 4445, 4296, 198, 220, 220, 220, 1306, 62, 29468, 62, 44598, 796, 20613, 13, 10430, 7575, 21746, 7, 12286, 28, 22921, 62, 35, 6158, 8, 198, 220, 220, 220, 1303, 1306, 640, 284, 3758, 257, 10273, 4296, 284, 262, 2836, 198, 220, 220, 220, 1306, 62, 45291, 62, 44598, 796, 20613, 13, 10430, 7575, 21746, 7, 12286, 28, 22921, 62, 35, 6158, 8, 198, 220, 220, 220, 1303, 1306, 640, 284, 3758, 257, 9651, 4296, 284, 262, 2836, 198, 220, 220, 220, 1306, 62, 8424, 306, 62, 44598, 796, 20613, 13, 10430, 7575, 21746, 7, 12286, 28, 22921, 62, 35, 6158, 8, 198, 198, 4871, 16000, 7, 9945, 13, 16870, 25440, 2599, 198, 220, 220, 220, 37227, 24274, 1143, 13042, 329, 1988, 42814, 13, 220, 5849, 12, 5715, 9312, 11, 198, 220, 220, 220, 468, 645, 2560, 526, 15931, 198, 220, 220, 220, 1303, 14466, 306, 25745, 11, 25121, 284, 670, 1088, 5434, 287, 402, 14242, 352, 13, 18, 13, 20, 357, 65, 14, 2078, 16817, 3829, 1776, 198, 220, 220, 220, 1303, 1680, 1487, 736, 706, 352, 13, 18, 13, 21, 11, 543, 4909, 262, 4259, 198, 220, 220, 220, 36545, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 11, 7747, 41888, 198, 220, 220, 220, 220, 220, 705, 39126, 3256, 220, 1303, 1438, 318, 281, 3594, 4731, 198, 220, 220, 220, 220, 220, 705, 42348, 62, 3672, 3256, 220, 1303, 1438, 318, 281, 3460, 4163, 338, 1994, 62, 3672, 198, 220, 220, 220, 220, 220, 705, 42348, 62, 8367, 3256, 1303, 1438, 318, 257, 1988, 1438, 287, 257, 3572, 393, 5021, 11688, 198, 220, 220, 220, 220, 220, 705, 32796, 62, 4906, 6, 1303, 1438, 318, 257, 15540, 6030, 338, 1994, 62, 3672, 357, 8201, 850, 27830, 8, 198, 220, 220, 220, 33761, 198, 220, 220, 220, 1438, 796, 20613, 13, 10100, 21746, 3419, 198, 220, 220, 220, 1303, 3224, 6608, 329, 1123, 3303, 357, 13190, 416, 36693, 2438, 8, 198, 198, 4871, 360, 931, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 32, 1700, 286, 262, 1366, 2722, 422, 257, 1366, 2723, 287, 663, 6868, 5794, 11, 198, 220, 220, 220, 878, 340, 373, 11513, 290, 9639, 656, 262, 4818, 459, 382, 13, 220, 5849, 12, 5715, 9312, 11, 198, 220, 220, 220, 468, 645, 2560, 526, 15931, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 7, 23736, 62, 2197, 62, 2860, 28, 17821, 8, 198, 220, 220, 220, 2779, 796, 20613, 13, 24704, 26687, 3419, 220, 1303, 611, 1944, 11, 428, 10285, 318, 257, 17271, 286, 2779, 198, 220, 220, 220, 2723, 796, 20613, 13, 10100, 21746, 3419, 220, 1303, 10289, 13720, 262, 2723, 198, 220, 220, 220, 1366, 796, 20613, 13, 3629, 672, 21746, 3419, 220, 1303, 2722, 8246, 1366, 198, 198, 2, 16926, 46, 7, 74, 9078, 2599, 5985, 510, 262, 18326, 779, 286, 262, 3381, 366, 32796, 62, 3672, 1911, 198, 2, 554, 3834, 33584, 11, 2426, 62, 3672, 318, 262, 2104, 15540, 1994, 1390, 262, 198, 2, 850, 27830, 26, 8057, 340, 318, 655, 262, 636, 706, 262, 850, 27830, 13, 198, 4871, 3834, 33584, 7, 9945, 13, 17633, 2599, 198, 220, 220, 220, 37227, 32, 14569, 416, 257, 2836, 284, 3328, 14483, 618, 3307, 329, 257, 198, 220, 220, 220, 6841, 1487, 13, 5849, 12, 5715, 9312, 11, 468, 645, 2560, 13, 198, 220, 220, 220, 7383, 1438, 25, 5679, 262, 5794, 2426, 62, 3672, 25, 7220, 62, 12888, 37811, 198, 220, 220, 220, 2836, 62, 12888, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 1303, 2836, 284, 7995, 198, 220, 220, 220, 2426, 62, 3672, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 1303, 1994, 62, 3672, 286, 2426, 198, 220, 220, 220, 8373, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 11, 7747, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 8625, 415, 3256, 1303, 3758, 281, 7995, 8797, 262, 6841, 318, 6153, 198, 220, 220, 220, 220, 220, 220, 220, 705, 29468, 3256, 1303, 3758, 1141, 257, 4445, 16274, 304, 12, 4529, 198, 220, 220, 220, 220, 220, 220, 220, 705, 45291, 3256, 1303, 3758, 1141, 257, 10273, 16274, 304, 12, 4529, 198, 220, 220, 220, 220, 220, 220, 220, 705, 8424, 306, 6, 1303, 3758, 1141, 257, 9651, 16274, 304, 12, 4529, 319, 262, 352, 301, 286, 262, 1227, 198, 220, 220, 220, 33761, 1303, 8373, 286, 5992, 329, 428, 2426, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 7, 32796, 62, 3672, 11, 2836, 62, 12888, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 3834, 33584, 9312, 416, 663, 2426, 62, 3672, 290, 304, 12, 4529, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3834, 33584, 13, 1136, 62, 1525, 62, 2539, 62, 3672, 7, 32796, 62, 3672, 1343, 705, 32105, 1343, 2836, 62, 12888, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 62, 1525, 62, 32796, 7, 32796, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 12405, 329, 477, 350, 1571, 36420, 351, 262, 1813, 2426, 1438, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8106, 62, 1525, 62, 40290, 7, 7004, 33584, 13, 439, 22784, 2426, 62, 3672, 1343, 705, 25, 11537, 198, 198, 4871, 350, 1571, 36420, 7, 9452, 4402, 19776, 2599, 198, 220, 220, 220, 37227, 32, 13310, 14483, 329, 257, 2836, 26, 4953, 284, 307, 1908, 319, 257, 4445, 14, 45291, 14, 198, 220, 220, 220, 9651, 4308, 11, 13310, 262, 8373, 286, 262, 1948, 7995, 13, 5849, 12, 5715, 198, 220, 220, 220, 9312, 11, 468, 645, 2560, 13, 198, 220, 220, 220, 7383, 1438, 25, 5679, 262, 5794, 8373, 25, 7220, 62, 12888, 25, 32796, 62, 3672, 37811, 198, 220, 220, 220, 2836, 62, 12888, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 1303, 2836, 284, 7995, 198, 220, 220, 220, 2426, 62, 3672, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 1303, 1994, 62, 3672, 286, 2426, 198, 220, 220, 220, 41033, 796, 20613, 13, 10430, 7575, 21746, 3419, 1303, 6282, 640, 286, 262, 13310, 7995, 198, 220, 220, 220, 8373, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 11, 7747, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 8625, 415, 3256, 1303, 3758, 281, 7995, 8797, 262, 2426, 318, 6153, 198, 220, 220, 220, 220, 220, 220, 220, 705, 29468, 3256, 1303, 3758, 1141, 257, 4445, 16274, 304, 12, 4529, 198, 220, 220, 220, 220, 220, 220, 220, 705, 45291, 3256, 1303, 3758, 1141, 257, 10273, 16274, 304, 12, 4529, 198, 220, 220, 220, 220, 220, 220, 220, 705, 8424, 306, 6, 1303, 3758, 1141, 257, 9651, 16274, 304, 12, 4529, 319, 262, 352, 301, 286, 262, 1227, 198, 220, 220, 220, 33761, 1303, 8373, 286, 5992, 329, 428, 2426, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 7, 35324, 11, 2836, 62, 12888, 11, 2426, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 350, 1571, 36420, 9312, 416, 663, 8373, 11, 304, 12, 4529, 11, 290, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2426, 1438, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 350, 1571, 36420, 13, 1136, 62, 1525, 62, 2539, 62, 3672, 7, 35324, 1343, 705, 32105, 1343, 2836, 62, 12888, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 32105, 1343, 2426, 62, 3672, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 62, 1525, 62, 35324, 7, 35324, 11, 2836, 62, 12888, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 12405, 329, 477, 350, 1571, 36420, 351, 262, 1813, 8373, 290, 198, 220, 220, 220, 220, 220, 220, 220, 3917, 2836, 304, 12, 4529, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8106, 62, 1525, 62, 40290, 7, 47, 1571, 36420, 13, 439, 22784, 8373, 1343, 705, 32105, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 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, 12888, 1343, 705, 25, 11537, 198, 198, 4871, 11099, 10260, 8206, 7, 9945, 13, 16870, 25440, 2599, 198, 220, 220, 220, 37227, 32, 3975, 422, 11688, 3891, 290, 3815, 284, 13527, 3815, 6292, 198, 220, 220, 220, 287, 262, 6920, 12857, 1080, 13, 1119, 389, 13042, 326, 2985, 460, 2099, 656, 198, 220, 220, 220, 304, 12, 26165, 284, 3522, 284, 11688, 3891, 393, 3815, 13, 7383, 1438, 25, 5679, 262, 198, 220, 220, 220, 5794, 25745, 25, 3672, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 770, 3084, 815, 379, 477, 1661, 3994, 262, 1708, 2041, 2663, 329, 198, 220, 220, 220, 2276, 12, 1904, 11688, 3815, 25, 2081, 11, 3991, 11, 290, 4844, 13, 21699, 276, 3815, 389, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 25, 37250, 5297, 3256, 705, 88, 3256, 705, 7942, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 3991, 25, 37250, 2949, 3256, 705, 77, 3256, 705, 9562, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 4844, 25, 37250, 9, 23108, 20520, 198, 220, 220, 220, 416, 4277, 13, 554, 2472, 11, 262, 1271, 286, 12066, 287, 262, 3084, 815, 307, 4961, 198, 220, 220, 220, 284, 262, 1271, 286, 11688, 12066, 11, 5556, 262, 3748, 3815, 1973, 477, 198, 220, 220, 220, 5021, 290, 3572, 12608, 11, 5556, 262, 513, 2276, 3815, 5447, 2029, 526, 15931, 198, 220, 220, 220, 1303, 1438, 318, 281, 11688, 1438, 393, 11688, 1988, 26, 766, 2174, 198, 220, 220, 220, 1438, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 8, 198, 220, 220, 220, 36545, 796, 20613, 13, 10100, 21746, 7, 35827, 28, 17821, 11, 7747, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 42348, 62, 3672, 3256, 1303, 1438, 318, 281, 11688, 338, 1994, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 705, 42348, 62, 8367, 6, 1303, 1438, 318, 257, 1988, 1438, 287, 257, 3572, 393, 5021, 11688, 198, 220, 220, 220, 33761, 198, 220, 220, 220, 1303, 5518, 25440, 3815, 815, 307, 23224, 319, 257, 583, 12, 16129, 4308, 355, 257, 1351, 198, 220, 220, 220, 1303, 286, 6292, 5128, 13042, 329, 428, 1948, 3975, 11, 287, 326, 3303, 13, 198, 220, 220, 220, 1303, 5765, 262, 976, 19264, 5794, 355, 287, 262, 16000, 3084, 685, 268, 329, 3594, 11, 198, 220, 220, 220, 1303, 1216, 329, 4141, 11, 3503, 13, 4083, 383, 717, 1988, 287, 1123, 1351, 815, 2872, 262, 198, 220, 220, 220, 1303, 11188, 16000, 11, 284, 787, 6920, 12857, 4069, 30738, 284, 198, 220, 220, 220, 1303, 2458, 287, 25231, 13, 1114, 7208, 4959, 11, 1123, 2378, 287, 262, 198, 220, 220, 220, 1303, 1351, 481, 307, 5716, 355, 1339, 12, 1040, 18464, 13, 48086, 815, 307, 973, 287, 198, 220, 220, 220, 1303, 2661, 286, 41731, 13, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 651, 7, 565, 82, 11, 36545, 11, 1438, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 281, 9312, 416, 663, 25745, 290, 1438, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 796, 705, 4, 82, 25, 4, 82, 6, 4064, 357, 5907, 11, 1438, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 537, 82, 13, 1136, 62, 1525, 62, 2539, 62, 3672, 7, 2539, 62, 3672, 8, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 2251, 7, 565, 82, 11, 36545, 11, 1438, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16719, 274, 281, 9312, 351, 262, 7368, 25745, 290, 1438, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 796, 705, 4, 82, 25, 4, 82, 6, 4064, 357, 5907, 11, 1438, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 537, 82, 7, 2539, 62, 3672, 28, 2539, 62, 3672, 11, 36545, 28, 5907, 11, 1438, 28, 3672, 11, 12429, 46265, 22046, 8, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 477, 62, 259, 62, 14933, 10223, 7, 565, 82, 11, 36545, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38, 1039, 257, 12405, 329, 477, 12066, 351, 262, 1813, 25745, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8106, 62, 1525, 62, 40290, 7, 565, 82, 13, 439, 22784, 36545, 1343, 705, 25, 11537, 198 ]
2.921539
8,004
import numpy as np import time from ray.rllib.policy.policy import Policy, LEARNER_STATS_KEY, ACTION_PROB, \ ACTION_LOGP from ray.rllib.policy.sample_batch import SampleBatch from ray.rllib.utils.annotations import override, DeveloperAPI from ray.rllib.utils.framework import try_import_torch from ray.rllib.utils.schedules import ConstantSchedule, PiecewiseSchedule from ray.rllib.utils.torch_ops import convert_to_non_torch_type from ray.rllib.utils.tracking_dict import UsageTrackingDict torch, _ = try_import_torch() class TorchPolicy(Policy): """Template for a PyTorch policy and loss to use with RLlib. This is similar to TFPolicy, but for PyTorch. Attributes: observation_space (gym.Space): observation space of the policy. action_space (gym.Space): action space of the policy. config (dict): config of the policy. model (TorchModel): Torch model instance. dist_class (type): Torch action distribution class. """ def __init__(self, observation_space, action_space, config, model, loss, action_distribution_class): """Build a policy from policy and loss torch modules. Note that model will be placed on GPU device if CUDA_VISIBLE_DEVICES is set. Only single GPU is supported for now. Arguments: observation_space (gym.Space): observation space of the policy. action_space (gym.Space): action space of the policy. config (dict): The Policy config dict. model (nn.Module): PyTorch policy module. Given observations as input, this module must return a list of outputs where the first item is action logits, and the rest can be any value. loss (func): Function that takes (policy, model, dist_class, train_batch) and returns a single scalar loss. action_distribution_class (ActionDistribution): Class for action distribution. """ self.framework = "torch" super().__init__(observation_space, action_space, config) self.device = (torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")) self.model = model.to(self.device) self.unwrapped_model = model # used to support DistributedDataParallel self._loss = loss self._optimizer = self.optimizer() self.dist_class = action_distribution_class # If set, means we are using distributed allreduce during learning. self.distributed_world_size = None @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) @override(Policy) def extra_grad_process(self): """Allow subclass to do extra processing on gradients and return processing info.""" return {} def extra_action_out(self, input_dict, state_batches, model, action_dist=None): """Returns dict of extra info to include in experience batch. Arguments: input_dict (dict): Dict of model input tensors. state_batches (list): List of state tensors. model (TorchModelV2): Reference to the model. action_dist (Distribution): Torch Distribution object to get log-probs (e.g. for already sampled actions). """ return {} def extra_grad_info(self, train_batch): """Return dict of extra grad info.""" return {} def optimizer(self): """Custom PyTorch optimizer to use.""" if hasattr(self, "config"): return torch.optim.Adam( self.model.parameters(), lr=self.config["lr"]) else: return torch.optim.Adam(self.model.parameters()) @override(Policy) def export_model(self, export_dir): """TODO: implement for torch. """ raise NotImplementedError @override(Policy) def export_checkpoint(self, export_dir): """TODO: implement for torch. """ raise NotImplementedError @DeveloperAPI class LearningRateSchedule: """Mixin for TFPolicy that adds a learning rate schedule.""" @DeveloperAPI @override(Policy) @override(TorchPolicy) @DeveloperAPI class EntropyCoeffSchedule: """Mixin for TorchPolicy that adds entropy coeff decay.""" @DeveloperAPI @override(Policy)
[ 11748, 299, 32152, 355, 45941, 198, 11748, 640, 198, 198, 6738, 26842, 13, 81, 297, 571, 13, 30586, 13, 30586, 1330, 7820, 11, 12509, 1503, 21479, 62, 2257, 33586, 62, 20373, 11, 40282, 62, 4805, 9864, 11, 3467, 198, 220, 220, 220, 40282, 62, 25294, 47, 198, 6738, 26842, 13, 81, 297, 571, 13, 30586, 13, 39873, 62, 43501, 1330, 27565, 33, 963, 198, 6738, 26842, 13, 81, 297, 571, 13, 26791, 13, 34574, 602, 1330, 20957, 11, 23836, 17614, 198, 6738, 26842, 13, 81, 297, 571, 13, 26791, 13, 30604, 1330, 1949, 62, 11748, 62, 13165, 354, 198, 6738, 26842, 13, 81, 297, 571, 13, 26791, 13, 1416, 704, 5028, 1330, 20217, 27054, 5950, 11, 27053, 3083, 27054, 5950, 198, 6738, 26842, 13, 81, 297, 571, 13, 26791, 13, 13165, 354, 62, 2840, 1330, 10385, 62, 1462, 62, 13159, 62, 13165, 354, 62, 4906, 198, 6738, 26842, 13, 81, 297, 571, 13, 26791, 13, 36280, 62, 11600, 1330, 29566, 2898, 5430, 35, 713, 198, 198, 13165, 354, 11, 4808, 796, 1949, 62, 11748, 62, 13165, 354, 3419, 628, 198, 4871, 34868, 36727, 7, 36727, 2599, 198, 220, 220, 220, 37227, 30800, 329, 257, 9485, 15884, 354, 2450, 290, 2994, 284, 779, 351, 45715, 8019, 13, 628, 220, 220, 220, 770, 318, 2092, 284, 309, 5837, 21424, 11, 475, 329, 9485, 15884, 354, 13, 628, 220, 220, 220, 49213, 25, 198, 220, 220, 220, 220, 220, 220, 220, 13432, 62, 13200, 357, 1360, 76, 13, 14106, 2599, 13432, 2272, 286, 262, 2450, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 13200, 357, 1360, 76, 13, 14106, 2599, 2223, 2272, 286, 262, 2450, 13, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 357, 11600, 2599, 4566, 286, 262, 2450, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 357, 15884, 354, 17633, 2599, 34868, 2746, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1233, 62, 4871, 357, 4906, 2599, 34868, 2223, 6082, 1398, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 13432, 62, 13200, 11, 2223, 62, 13200, 11, 4566, 11, 2746, 11, 2994, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 17080, 3890, 62, 4871, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15580, 257, 2450, 422, 2450, 290, 2994, 28034, 13103, 13, 628, 220, 220, 220, 220, 220, 220, 220, 5740, 326, 2746, 481, 307, 4624, 319, 11362, 3335, 611, 29369, 5631, 62, 29817, 34563, 62, 39345, 34444, 198, 220, 220, 220, 220, 220, 220, 220, 318, 900, 13, 5514, 2060, 11362, 318, 4855, 329, 783, 13, 628, 220, 220, 220, 220, 220, 220, 220, 20559, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13432, 62, 13200, 357, 1360, 76, 13, 14106, 2599, 13432, 2272, 286, 262, 2450, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 13200, 357, 1360, 76, 13, 14106, 2599, 2223, 2272, 286, 262, 2450, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 357, 11600, 2599, 383, 7820, 4566, 8633, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 357, 20471, 13, 26796, 2599, 9485, 15884, 354, 2450, 8265, 13, 11259, 13050, 355, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 11, 428, 8265, 1276, 1441, 257, 1351, 286, 23862, 810, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 717, 2378, 318, 2223, 2604, 896, 11, 290, 262, 1334, 460, 307, 597, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2994, 357, 20786, 2599, 15553, 326, 2753, 357, 30586, 11, 2746, 11, 1233, 62, 4871, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4512, 62, 43501, 8, 290, 5860, 257, 2060, 16578, 283, 2994, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 17080, 3890, 62, 4871, 357, 12502, 20344, 3890, 2599, 5016, 329, 2223, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6082, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 796, 366, 13165, 354, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2208, 22446, 834, 15003, 834, 7, 672, 3168, 341, 62, 13200, 11, 2223, 62, 13200, 11, 4566, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25202, 796, 357, 13165, 354, 13, 25202, 7203, 66, 15339, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28034, 13, 66, 15339, 13, 271, 62, 15182, 3419, 2073, 28034, 13, 25202, 7203, 36166, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 796, 2746, 13, 1462, 7, 944, 13, 25202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 403, 29988, 1496, 62, 19849, 796, 2746, 220, 1303, 973, 284, 1104, 4307, 6169, 6601, 10044, 29363, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 22462, 796, 2994, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 40085, 7509, 796, 2116, 13, 40085, 7509, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17080, 62, 4871, 796, 2223, 62, 17080, 3890, 62, 4871, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 900, 11, 1724, 356, 389, 1262, 9387, 477, 445, 7234, 1141, 4673, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17080, 6169, 62, 6894, 62, 7857, 796, 6045, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 825, 3131, 62, 9744, 62, 14681, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35265, 47611, 284, 466, 3131, 7587, 319, 3915, 2334, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 7587, 7508, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 23884, 628, 220, 220, 220, 825, 3131, 62, 2673, 62, 448, 7, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 11600, 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, 1181, 62, 8664, 2052, 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, 2746, 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, 2223, 62, 17080, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 8633, 286, 3131, 7508, 284, 2291, 287, 1998, 15458, 13, 628, 220, 220, 220, 220, 220, 220, 220, 20559, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 11600, 357, 11600, 2599, 360, 713, 286, 2746, 5128, 11192, 669, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1181, 62, 8664, 2052, 357, 4868, 2599, 7343, 286, 1181, 11192, 669, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 357, 15884, 354, 17633, 53, 17, 2599, 20984, 284, 262, 2746, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 17080, 357, 20344, 3890, 2599, 34868, 27484, 2134, 284, 651, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 12, 1676, 1443, 357, 68, 13, 70, 13, 329, 1541, 35846, 4028, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 23884, 628, 220, 220, 220, 825, 3131, 62, 9744, 62, 10951, 7, 944, 11, 4512, 62, 43501, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 13615, 8633, 286, 3131, 3915, 7508, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 23884, 628, 220, 220, 220, 825, 6436, 7509, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15022, 9485, 15884, 354, 6436, 7509, 284, 779, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 366, 11250, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 28034, 13, 40085, 13, 23159, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 13, 17143, 7307, 22784, 300, 81, 28, 944, 13, 11250, 14692, 14050, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 28034, 13, 40085, 13, 23159, 7, 944, 13, 19849, 13, 17143, 7307, 28955, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 198, 220, 220, 220, 825, 10784, 62, 19849, 7, 944, 11, 10784, 62, 15908, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 51, 3727, 46, 25, 3494, 329, 28034, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 1892, 3546, 1154, 12061, 12331, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 198, 220, 220, 220, 825, 10784, 62, 9122, 4122, 7, 944, 11, 10784, 62, 15908, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 51, 3727, 46, 25, 3494, 329, 28034, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 1892, 3546, 1154, 12061, 12331, 628, 198, 31, 45351, 17614, 198, 4871, 18252, 32184, 27054, 5950, 25, 198, 220, 220, 220, 37227, 35608, 259, 329, 309, 5837, 21424, 326, 6673, 257, 4673, 2494, 7269, 526, 15931, 628, 220, 220, 220, 2488, 45351, 17614, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 628, 220, 220, 220, 2488, 2502, 13154, 7, 15884, 354, 36727, 8, 628, 198, 31, 45351, 17614, 198, 4871, 7232, 28338, 34, 2577, 487, 27054, 5950, 25, 198, 220, 220, 220, 37227, 35608, 259, 329, 34868, 36727, 326, 6673, 40709, 763, 14822, 22119, 526, 15931, 628, 220, 220, 220, 2488, 45351, 17614, 628, 220, 220, 220, 2488, 2502, 13154, 7, 36727, 8, 198 ]
2.476344
1,860
import os from .parser import parse_args from .logger import Logger from .configuration import Configuration from .requester import Requester import platform def main() -> None: """Main function where the program start""" args = parse_args() config_path = check_os_path() log = Logger(debug_flag=True) log.success("Starting the program") config = Configuration() # config.check_os() config.create_config(args, config_path, platform.system()) message = config.message(args) requester = Requester() requester.requester(args, config_path, message) #requester.requester(config_path, message, args, platform.system()) # # Initzialize logger # logging.basicConfig( # format="%(asctime)-5s %(name)-15s %(levelname)-8s %(message)s", # level = args.log_level, # #filename='/tmp/python-telegram-bot.log', # encoding='utf-8' # ) # Start program if __name__ == "__main__": main()
[ 11748, 28686, 198, 6738, 764, 48610, 1330, 21136, 62, 22046, 198, 6738, 764, 6404, 1362, 1330, 5972, 1362, 198, 6738, 764, 11250, 3924, 1330, 28373, 198, 6738, 764, 8897, 7834, 1330, 9394, 7834, 198, 11748, 3859, 628, 198, 198, 4299, 1388, 3419, 4613, 6045, 25, 198, 220, 220, 220, 37227, 13383, 2163, 810, 262, 1430, 923, 37811, 628, 220, 220, 220, 26498, 796, 21136, 62, 22046, 3419, 198, 220, 220, 220, 4566, 62, 6978, 796, 2198, 62, 418, 62, 6978, 3419, 628, 220, 220, 220, 2604, 796, 5972, 1362, 7, 24442, 62, 32109, 28, 17821, 8, 198, 220, 220, 220, 2604, 13, 13138, 7203, 22851, 262, 1430, 4943, 628, 220, 220, 220, 4566, 796, 28373, 3419, 198, 220, 220, 220, 1303, 4566, 13, 9122, 62, 418, 3419, 198, 220, 220, 220, 4566, 13, 17953, 62, 11250, 7, 22046, 11, 4566, 62, 6978, 11, 3859, 13, 10057, 28955, 628, 220, 220, 220, 3275, 796, 4566, 13, 20500, 7, 22046, 8, 628, 220, 220, 220, 1038, 7834, 796, 9394, 7834, 3419, 198, 220, 220, 220, 1038, 7834, 13, 8897, 7834, 7, 22046, 11, 4566, 62, 6978, 11, 3275, 8, 198, 220, 220, 220, 1303, 8897, 7834, 13, 8897, 7834, 7, 11250, 62, 6978, 11, 3275, 11, 26498, 11, 3859, 13, 10057, 28955, 628, 220, 220, 220, 1303, 1303, 1849, 818, 4224, 498, 1096, 49706, 198, 220, 220, 220, 1303, 18931, 13, 35487, 16934, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 5794, 2625, 4, 7, 292, 310, 524, 13219, 20, 82, 4064, 7, 3672, 13219, 1314, 82, 4064, 7, 5715, 3672, 13219, 23, 82, 4064, 7, 20500, 8, 82, 1600, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1241, 220, 796, 26498, 13, 6404, 62, 5715, 11, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 34345, 11639, 14, 22065, 14, 29412, 12, 660, 30536, 12, 13645, 13, 6404, 3256, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 21004, 11639, 40477, 12, 23, 6, 198, 220, 220, 220, 1303, 1267, 628, 220, 220, 220, 1303, 7253, 1430, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
2.732591
359
from aiosqlite import connect as db_connect from time import time from typing import List, Optional from dataclasses import dataclass from .common import DBTable @dataclass
[ 6738, 257, 4267, 13976, 578, 220, 1330, 2018, 355, 20613, 62, 8443, 198, 6738, 640, 220, 220, 220, 220, 220, 220, 220, 1330, 640, 198, 6738, 19720, 220, 220, 220, 220, 220, 1330, 7343, 11, 32233, 198, 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 764, 11321, 220, 220, 220, 220, 1330, 20137, 10962, 198, 198, 31, 19608, 330, 31172, 198 ]
3.031746
63
# 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 .resource import Resource class SearchService(Resource): """Describes an Azure Search service and its current state. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The ID of the resource. This can be used with the Azure Resource Manager to link resources together. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The resource type. :vartype type: str :param location: The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property is required when creating a new resource. :type location: str :param tags: Tags to help categorize the resource in the Azure portal. :type tags: dict[str, str] :param replica_count: The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. Default value: 1 . :type replica_count: int :param partition_count: The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. Default value: 1 . :type partition_count: int :param hosting_mode: Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. Possible values include: 'default', 'highDensity'. Default value: "default" . :type hosting_mode: str or ~azure.mgmt.search.models.HostingMode :ivar status: The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Possible values include: 'running', 'provisioning', 'deleting', 'degraded', 'disabled', 'error' :vartype status: str or ~azure.mgmt.search.models.SearchServiceStatus :ivar status_details: The details of the Search service status. :vartype status_details: str :ivar provisioning_state: The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. Possible values include: 'succeeded', 'provisioning', 'failed' :vartype provisioning_state: str or ~azure.mgmt.search.models.ProvisioningState :param sku: The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. :type sku: ~azure.mgmt.search.models.Sku """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'replica_count': {'maximum': 12, 'minimum': 1}, 'partition_count': {'maximum': 12, 'minimum': 1}, 'status': {'readonly': True}, 'status_details': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'replica_count': {'key': 'properties.replicaCount', 'type': 'int'}, 'partition_count': {'key': 'properties.partitionCount', 'type': 'int'}, 'hosting_mode': {'key': 'properties.hostingMode', 'type': 'HostingMode'}, 'status': {'key': 'properties.status', 'type': 'SearchServiceStatus'}, 'status_details': {'key': 'properties.statusDetails', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, 'sku': {'key': 'sku', 'type': 'Sku'}, }
[ 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, 764, 31092, 1330, 20857, 628, 198, 4871, 11140, 16177, 7, 26198, 2599, 198, 220, 220, 220, 37227, 24564, 22090, 281, 22134, 11140, 2139, 290, 663, 1459, 1181, 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, 4686, 25, 383, 4522, 286, 262, 8271, 13, 770, 460, 307, 973, 351, 262, 22134, 20857, 198, 220, 220, 220, 220, 9142, 284, 2792, 4133, 1978, 13, 198, 220, 220, 220, 1058, 85, 433, 2981, 4686, 25, 965, 198, 220, 220, 220, 1058, 452, 283, 1438, 25, 383, 1438, 286, 262, 8271, 13, 198, 220, 220, 220, 1058, 85, 433, 2981, 1438, 25, 965, 198, 220, 220, 220, 1058, 452, 283, 2099, 25, 383, 8271, 2099, 13, 198, 220, 220, 220, 1058, 85, 433, 2981, 2099, 25, 965, 198, 220, 220, 220, 1058, 17143, 4067, 25, 383, 22987, 4067, 286, 262, 8271, 13, 770, 1276, 307, 530, 198, 220, 220, 220, 220, 286, 262, 4855, 290, 6823, 22134, 32960, 47089, 357, 1640, 1672, 11, 2688, 1294, 11, 198, 220, 220, 220, 220, 3687, 1294, 11, 21199, 7229, 11, 290, 523, 6071, 737, 770, 3119, 318, 2672, 618, 198, 220, 220, 220, 220, 4441, 257, 649, 8271, 13, 198, 220, 220, 220, 1058, 4906, 4067, 25, 965, 198, 220, 220, 220, 1058, 17143, 15940, 25, 44789, 284, 1037, 17851, 1096, 262, 8271, 287, 262, 22134, 17898, 13, 198, 220, 220, 220, 1058, 4906, 15940, 25, 8633, 58, 2536, 11, 965, 60, 198, 220, 220, 220, 1058, 17143, 30069, 62, 9127, 25, 383, 1271, 286, 2186, 44645, 287, 262, 11140, 2139, 13, 1002, 198, 220, 220, 220, 220, 7368, 11, 340, 1276, 307, 257, 1988, 1022, 352, 290, 1105, 19889, 329, 3210, 14277, 5842, 198, 220, 220, 220, 220, 393, 1022, 352, 290, 513, 19889, 329, 4096, 14277, 52, 13, 15161, 1988, 25, 352, 764, 198, 220, 220, 220, 1058, 4906, 30069, 62, 9127, 25, 493, 198, 220, 220, 220, 1058, 17143, 18398, 62, 9127, 25, 383, 1271, 286, 43869, 287, 262, 11140, 2139, 26, 611, 198, 220, 220, 220, 220, 7368, 11, 340, 460, 307, 352, 11, 362, 11, 513, 11, 604, 11, 718, 11, 393, 1105, 13, 27068, 3744, 621, 352, 389, 691, 198, 220, 220, 220, 220, 4938, 329, 3210, 14277, 5842, 13, 1114, 705, 20307, 18, 6, 2594, 351, 13662, 19076, 900, 284, 198, 220, 220, 220, 220, 705, 8929, 35, 6377, 3256, 262, 3142, 3815, 389, 1022, 352, 290, 513, 13, 15161, 1988, 25, 352, 764, 198, 220, 220, 220, 1058, 4906, 18398, 62, 9127, 25, 493, 198, 220, 220, 220, 1058, 17143, 13662, 62, 14171, 25, 16806, 540, 691, 329, 262, 3210, 18, 14277, 52, 13, 921, 460, 900, 198, 220, 220, 220, 220, 428, 3119, 284, 7139, 510, 284, 513, 1029, 12109, 43869, 326, 1249, 510, 284, 198, 220, 220, 220, 220, 8576, 39199, 11, 543, 318, 881, 2440, 621, 262, 5415, 39199, 3142, 329, 198, 220, 220, 220, 220, 597, 584, 14277, 52, 13, 1114, 262, 3210, 18, 14277, 52, 11, 262, 1988, 318, 2035, 705, 12286, 6, 393, 198, 220, 220, 220, 220, 705, 8929, 35, 6377, 4458, 1114, 477, 584, 14277, 5842, 11, 428, 1988, 1276, 307, 705, 12286, 4458, 33671, 198, 220, 220, 220, 220, 3815, 2291, 25, 705, 12286, 3256, 705, 8929, 35, 6377, 4458, 15161, 1988, 25, 366, 12286, 1, 764, 198, 220, 220, 220, 1058, 4906, 13662, 62, 14171, 25, 965, 393, 5299, 1031, 495, 13, 11296, 16762, 13, 12947, 13, 27530, 13, 17932, 278, 19076, 198, 220, 220, 220, 1058, 452, 283, 3722, 25, 383, 3722, 286, 262, 11140, 2139, 13, 33671, 3815, 2291, 25, 198, 220, 220, 220, 220, 705, 20270, 10354, 383, 11140, 2139, 318, 2491, 290, 645, 8287, 278, 4560, 198, 220, 220, 220, 220, 389, 17715, 13, 705, 1676, 10178, 278, 10354, 383, 11140, 2139, 318, 852, 8287, 276, 393, 198, 220, 220, 220, 220, 27464, 510, 393, 866, 13, 705, 2934, 293, 889, 10354, 383, 11140, 2139, 318, 852, 13140, 13, 198, 220, 220, 220, 220, 705, 13500, 81, 5286, 10354, 383, 11140, 2139, 318, 41604, 13, 770, 460, 3051, 618, 262, 198, 220, 220, 220, 220, 10238, 2989, 4991, 389, 407, 5448, 13, 383, 11140, 2139, 318, 749, 1884, 198, 220, 220, 220, 220, 13919, 11, 475, 2854, 1244, 307, 3105, 290, 617, 7007, 1244, 307, 198, 220, 220, 220, 220, 5710, 13, 705, 47730, 10354, 383, 11140, 2139, 318, 10058, 13, 554, 428, 1181, 11, 262, 198, 220, 220, 220, 220, 2139, 481, 4968, 477, 7824, 7007, 13, 705, 18224, 10354, 383, 11140, 2139, 318, 287, 281, 198, 220, 220, 220, 220, 4049, 1181, 13, 1002, 534, 2139, 318, 287, 262, 41604, 11, 10058, 11, 393, 4049, 198, 220, 220, 220, 220, 2585, 11, 340, 1724, 262, 22134, 11140, 1074, 318, 10630, 10240, 262, 198, 220, 220, 220, 220, 10238, 2071, 13, 35023, 3474, 2594, 287, 777, 2585, 389, 991, 3877, 540, 198, 220, 220, 220, 220, 1912, 319, 262, 1271, 286, 2989, 4991, 8287, 276, 13, 33671, 3815, 2291, 25, 198, 220, 220, 220, 220, 705, 20270, 3256, 705, 1676, 10178, 278, 3256, 705, 2934, 293, 889, 3256, 705, 13500, 81, 5286, 3256, 705, 47730, 3256, 705, 18224, 6, 198, 220, 220, 220, 1058, 85, 433, 2981, 3722, 25, 965, 393, 5299, 1031, 495, 13, 11296, 16762, 13, 12947, 13, 27530, 13, 18243, 16177, 19580, 198, 220, 220, 220, 1058, 452, 283, 3722, 62, 36604, 25, 383, 3307, 286, 262, 11140, 2139, 3722, 13, 198, 220, 220, 220, 1058, 85, 433, 2981, 3722, 62, 36604, 25, 965, 198, 220, 220, 220, 1058, 452, 283, 8287, 278, 62, 5219, 25, 383, 1181, 286, 262, 938, 8287, 278, 4905, 198, 220, 220, 220, 220, 6157, 319, 262, 11140, 2139, 13, 43161, 278, 318, 281, 19898, 1181, 198, 220, 220, 220, 220, 326, 8833, 981, 2139, 5339, 318, 852, 4920, 13, 2293, 5339, 318, 198, 220, 220, 220, 220, 900, 510, 11, 8287, 278, 9012, 2458, 284, 2035, 705, 82, 1229, 2707, 276, 6, 393, 705, 47904, 4458, 198, 220, 220, 220, 220, 20985, 5479, 460, 3278, 8287, 278, 3722, 357, 1169, 7151, 13985, 198, 220, 220, 220, 220, 16654, 318, 422, 1542, 4201, 284, 530, 5664, 8, 416, 1262, 262, 3497, 11140, 4809, 198, 220, 220, 220, 220, 4905, 284, 766, 618, 281, 4905, 318, 5668, 13, 1002, 345, 389, 1262, 262, 1479, 198, 220, 220, 220, 220, 2139, 11, 428, 1988, 12444, 284, 1282, 736, 355, 705, 82, 1229, 2707, 276, 6, 3264, 287, 262, 869, 198, 220, 220, 220, 220, 284, 13610, 11140, 2139, 13, 770, 318, 780, 262, 1479, 2139, 3544, 5339, 198, 220, 220, 220, 220, 326, 318, 1541, 900, 510, 13, 33671, 3815, 2291, 25, 705, 82, 1229, 2707, 276, 3256, 198, 220, 220, 220, 220, 705, 1676, 10178, 278, 3256, 705, 47904, 6, 198, 220, 220, 220, 1058, 85, 433, 2981, 8287, 278, 62, 5219, 25, 965, 393, 198, 220, 220, 220, 220, 5299, 1031, 495, 13, 11296, 16762, 13, 12947, 13, 27530, 13, 2964, 10178, 278, 9012, 198, 220, 220, 220, 1058, 17143, 1341, 84, 25, 383, 14277, 52, 286, 262, 11140, 4809, 11, 543, 15947, 2756, 14249, 290, 198, 220, 220, 220, 220, 5339, 7095, 13, 770, 3119, 318, 2672, 618, 4441, 257, 649, 11140, 198, 220, 220, 220, 220, 4809, 13, 198, 220, 220, 220, 1058, 4906, 1341, 84, 25, 5299, 1031, 495, 13, 11296, 16762, 13, 12947, 13, 27530, 13, 15739, 84, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 4808, 12102, 341, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 312, 10354, 1391, 6, 961, 8807, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 1391, 6, 961, 8807, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 4906, 10354, 1391, 6, 961, 8807, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35666, 3970, 62, 9127, 10354, 1391, 6, 47033, 10354, 1105, 11, 705, 39504, 10354, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3911, 653, 62, 9127, 10354, 1391, 6, 47033, 10354, 1105, 11, 705, 39504, 10354, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 13376, 10354, 1391, 6, 961, 8807, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 13376, 62, 36604, 10354, 1391, 6, 961, 8807, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1676, 10178, 278, 62, 5219, 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, 312, 10354, 1391, 6, 2539, 10354, 705, 312, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 1391, 6, 2539, 10354, 705, 3672, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 4906, 10354, 1391, 6, 2539, 10354, 705, 4906, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 24886, 10354, 1391, 6, 2539, 10354, 705, 24886, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 31499, 10354, 1391, 6, 2539, 10354, 705, 31499, 3256, 705, 4906, 10354, 705, 90, 2536, 92, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35666, 3970, 62, 9127, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 35666, 3970, 12332, 3256, 705, 4906, 10354, 705, 600, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3911, 653, 62, 9127, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 3911, 653, 12332, 3256, 705, 4906, 10354, 705, 600, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 4774, 278, 62, 14171, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 4774, 278, 19076, 3256, 705, 4906, 10354, 705, 17932, 278, 19076, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 13376, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 13376, 3256, 705, 4906, 10354, 705, 18243, 16177, 19580, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 13376, 62, 36604, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 13376, 24259, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1676, 10178, 278, 62, 5219, 10354, 1391, 6, 2539, 10354, 705, 48310, 13, 1676, 10178, 278, 9012, 3256, 705, 4906, 10354, 705, 2964, 10178, 278, 9012, 6, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 8135, 84, 10354, 1391, 6, 2539, 10354, 705, 8135, 84, 3256, 705, 4906, 10354, 705, 15739, 84, 6, 5512, 198, 220, 220, 220, 1782, 198 ]
3.198093
1,888
# A PREDICTIVE MODEL FOR GOOGLE STOCK PRICES USING LINEAR REGRESSION # IMPORTING ALL THE MODULES import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression # READING THE DATASET AND VISUALIZING A FEW ENTRIES dt=pd.read_csv("Dataset/Google_Stock_Price_Train.csv") print("Entries of the dataset:") print(dt.head()) # PREPARATION OF THE TRAINING DATASET df=dt.iloc[:,1:2].values # NUMPY ARRAY print("Shape of the training dataset:") print(dt.shape) x_train=[] y_train=[] for i in range(60,1258): x_train.append(df[i-60:i,0]) y_train.append(df[i,0]) x_train,y_train= np.array(x_train), np.array(y_train) print("The Converted X_train shape:") print(x_train.shape) print("The Converted Y_train shape:") print(y_train.shape) # PREPARATION OF THE TESTING DATASET df_test = pd.read_csv('Dataset/Google_Stock_Price_Test.csv') Real_stock_price = df_test.iloc[:,1:2].values print("Shape of the testing dataset:") print(Real_stock_price.shape) total_dataset = pd.concat((dt['Open'], df_test['Open']),axis = 0 ) inputs = total_dataset[len(total_dataset)-len(df_test) - 60:].values inputs = inputs.reshape(-1,1) print("Shape of the dataset after conversion:") print(inputs.shape) x_test = [] for i in range (60,80): x_test.append(inputs[i-60:i,0]) x_test=np.array(x_test) print("Converted X_test shape:") print(x_test.shape) # FITTING THE DATA IN THE MODEL lrm = LinearRegression() print(lrm.fit(x_train,y_train)) pred_lrm = lrm.predict(x_test) print("Prediction:") print(pred_lrm) # PLOTTING THE GRAPH plt.plot(Real_stock_price,color='red', label='Real Result') plt.plot(pred_lrm,color='green',label='Predicted by Model') plt.title('Google Stock Price Prediction') plt.xlabel('Time') plt.ylabel('Price') plt.legend() plt.show()
[ 2, 317, 4810, 1961, 18379, 9306, 19164, 3698, 7473, 402, 6684, 38, 2538, 3563, 11290, 4810, 34444, 1294, 2751, 48920, 1503, 4526, 10761, 47621, 201, 198, 201, 198, 201, 198, 2, 30023, 9863, 2751, 11096, 3336, 19164, 6239, 1546, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 19798, 292, 355, 279, 67, 201, 198, 11748, 384, 397, 1211, 355, 3013, 82, 201, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 201, 198, 6738, 1341, 35720, 13, 29127, 62, 19849, 1330, 44800, 8081, 2234, 201, 198, 201, 198, 2, 20832, 2751, 3336, 360, 1404, 1921, 2767, 5357, 50035, 25620, 14887, 2751, 317, 376, 6217, 12964, 5446, 11015, 201, 198, 28664, 28, 30094, 13, 961, 62, 40664, 7203, 27354, 292, 316, 14, 11708, 62, 26207, 62, 18124, 62, 44077, 13, 40664, 4943, 201, 198, 4798, 7203, 14539, 1678, 286, 262, 27039, 25, 4943, 201, 198, 4798, 7, 28664, 13, 2256, 28955, 201, 198, 201, 198, 2, 22814, 27082, 6234, 3963, 3336, 29125, 1268, 2751, 360, 1404, 1921, 2767, 201, 198, 7568, 28, 28664, 13, 346, 420, 58, 45299, 16, 25, 17, 4083, 27160, 220, 201, 198, 2, 399, 20476, 56, 5923, 30631, 201, 198, 4798, 7203, 33383, 286, 262, 3047, 27039, 25, 4943, 201, 198, 4798, 7, 28664, 13, 43358, 8, 201, 198, 201, 198, 87, 62, 27432, 28, 21737, 201, 198, 88, 62, 27432, 28, 21737, 201, 198, 1640, 1312, 287, 2837, 7, 1899, 11, 1065, 3365, 2599, 201, 198, 220, 220, 220, 2124, 62, 27432, 13, 33295, 7, 7568, 58, 72, 12, 1899, 25, 72, 11, 15, 12962, 201, 198, 220, 220, 220, 331, 62, 27432, 13, 33295, 7, 7568, 58, 72, 11, 15, 12962, 201, 198, 87, 62, 27432, 11, 88, 62, 27432, 28, 45941, 13, 18747, 7, 87, 62, 27432, 828, 45941, 13, 18747, 7, 88, 62, 27432, 8, 201, 198, 4798, 7203, 464, 43433, 1395, 62, 27432, 5485, 25, 4943, 201, 198, 4798, 7, 87, 62, 27432, 13, 43358, 8, 201, 198, 4798, 7203, 464, 43433, 575, 62, 27432, 5485, 25, 4943, 201, 198, 4798, 7, 88, 62, 27432, 13, 43358, 8, 201, 198, 201, 198, 2, 22814, 27082, 6234, 3963, 3336, 43001, 2751, 360, 1404, 1921, 2767, 201, 198, 7568, 62, 9288, 796, 279, 67, 13, 961, 62, 40664, 10786, 27354, 292, 316, 14, 11708, 62, 26207, 62, 18124, 62, 14402, 13, 40664, 11537, 201, 198, 15633, 62, 13578, 62, 20888, 796, 47764, 62, 9288, 13, 346, 420, 58, 45299, 16, 25, 17, 4083, 27160, 201, 198, 4798, 7203, 33383, 286, 262, 4856, 27039, 25, 4943, 201, 198, 4798, 7, 15633, 62, 13578, 62, 20888, 13, 43358, 8, 201, 198, 201, 198, 23350, 62, 19608, 292, 316, 796, 279, 67, 13, 1102, 9246, 19510, 28664, 17816, 11505, 6, 4357, 47764, 62, 9288, 17816, 11505, 20520, 828, 22704, 796, 657, 1267, 201, 198, 15414, 82, 796, 2472, 62, 19608, 292, 316, 58, 11925, 7, 23350, 62, 19608, 292, 316, 13219, 11925, 7, 7568, 62, 9288, 8, 532, 3126, 25, 4083, 27160, 201, 198, 201, 198, 15414, 82, 796, 17311, 13, 3447, 1758, 32590, 16, 11, 16, 8, 201, 198, 4798, 7203, 33383, 286, 262, 27039, 706, 11315, 25, 4943, 201, 198, 4798, 7, 15414, 82, 13, 43358, 8, 201, 198, 201, 198, 87, 62, 9288, 796, 17635, 201, 198, 1640, 1312, 287, 2837, 357, 1899, 11, 1795, 2599, 201, 198, 220, 220, 220, 2124, 62, 9288, 13, 33295, 7, 15414, 82, 58, 72, 12, 1899, 25, 72, 11, 15, 12962, 201, 198, 201, 198, 87, 62, 9288, 28, 37659, 13, 18747, 7, 87, 62, 9288, 8, 201, 198, 4798, 7203, 3103, 13658, 1395, 62, 9288, 5485, 25, 4943, 201, 198, 4798, 7, 87, 62, 9288, 13, 43358, 8, 201, 198, 201, 198, 2, 376, 22470, 2751, 3336, 42865, 3268, 3336, 19164, 3698, 201, 198, 14050, 76, 796, 44800, 8081, 2234, 3419, 201, 198, 4798, 7, 14050, 76, 13, 11147, 7, 87, 62, 27432, 11, 88, 62, 27432, 4008, 201, 198, 28764, 62, 14050, 76, 796, 300, 26224, 13, 79, 17407, 7, 87, 62, 9288, 8, 201, 198, 4798, 7203, 39156, 2867, 25, 4943, 201, 198, 4798, 7, 28764, 62, 14050, 76, 8, 201, 198, 201, 198, 2, 9297, 29089, 2751, 3336, 10863, 31300, 201, 198, 489, 83, 13, 29487, 7, 15633, 62, 13578, 62, 20888, 11, 8043, 11639, 445, 3256, 6167, 11639, 15633, 25414, 11537, 201, 198, 489, 83, 13, 29487, 7, 28764, 62, 14050, 76, 11, 8043, 11639, 14809, 3256, 18242, 11639, 39156, 5722, 416, 9104, 11537, 201, 198, 489, 83, 13, 7839, 10786, 11708, 10500, 7886, 46690, 11537, 201, 198, 489, 83, 13, 87, 18242, 10786, 7575, 11537, 201, 198, 489, 83, 13, 2645, 9608, 10786, 18124, 11537, 201, 198, 489, 83, 13, 1455, 437, 3419, 201, 198, 489, 83, 13, 12860, 3419, 201, 198, 201, 198 ]
2.375157
797
# AUTOGENERATED! DO NOT EDIT! File to edit: 100_test.ipynb (unless otherwise specified). __all__ = ['items_to_arrays'] # Cell from .core import * from .data import * from .models import * from .datasets import * from .augmentations import * from .datablock import * from .dataloader import * # Cell def items_to_arrays(items): '''convert list of item tuples into X,y numpy arrays (for use with numpy dataloader)''' # return np.stack([x[0] for x in items]), np.stack([x[1] for x in items]) return tuple(np.stack([x[i] for x in items]) for i in range(len(items[0])))
[ 2, 47044, 7730, 1677, 1137, 11617, 0, 8410, 5626, 48483, 0, 9220, 284, 4370, 25, 1802, 62, 9288, 13, 541, 2047, 65, 357, 25252, 4306, 7368, 737, 198, 198, 834, 439, 834, 796, 37250, 23814, 62, 1462, 62, 3258, 592, 20520, 198, 198, 2, 12440, 198, 6738, 764, 7295, 1330, 1635, 198, 6738, 764, 7890, 1330, 1635, 198, 6738, 764, 27530, 1330, 1635, 198, 6738, 764, 19608, 292, 1039, 1330, 1635, 198, 6738, 764, 559, 5154, 602, 1330, 1635, 198, 6738, 764, 19608, 397, 5354, 1330, 1635, 198, 6738, 764, 67, 10254, 1170, 263, 1330, 1635, 198, 198, 2, 12440, 198, 4299, 3709, 62, 1462, 62, 3258, 592, 7, 23814, 2599, 198, 220, 220, 220, 705, 7061, 1102, 1851, 1351, 286, 2378, 12777, 2374, 656, 1395, 11, 88, 299, 32152, 26515, 357, 1640, 779, 351, 299, 32152, 4818, 282, 1170, 263, 8, 7061, 6, 198, 2, 220, 220, 220, 220, 1441, 45941, 13, 25558, 26933, 87, 58, 15, 60, 329, 2124, 287, 3709, 46570, 45941, 13, 25558, 26933, 87, 58, 16, 60, 329, 2124, 287, 3709, 12962, 198, 220, 220, 220, 1441, 46545, 7, 37659, 13, 25558, 26933, 87, 58, 72, 60, 329, 2124, 287, 3709, 12962, 329, 1312, 287, 2837, 7, 11925, 7, 23814, 58, 15, 60, 22305 ]
2.770335
209
# coding=utf-8 """Useful miscellaneous tools and shortcuts for Sopel plugins *Availability: 3+* """ # tools.py - Sopel misc tools # Copyright 2008, Sean B. Palmer, inamidst.com # Copyright © 2012, Elad Alfassa <[email protected]> # Copyright 2012, Elsie Powell, embolalia.com # Licensed under the Eiffel Forum License 2. # https://sopel.chat from __future__ import absolute_import, division, print_function, unicode_literals import codecs from collections import defaultdict import functools import logging import os import re import sys import threading import traceback from pkg_resources import parse_version from sopel import __version__ from sopel.tools._events import events # NOQA if sys.version_info.major >= 3: raw_input = input unicode = str iteritems = dict.items itervalues = dict.values iterkeys = dict.keys else: iteritems = dict.iteritems itervalues = dict.itervalues iterkeys = dict.iterkeys _channel_prefixes = ('#', '&', '+', '!') # Can be implementation-dependent _regex_type = type(re.compile('')) def deprecated( reason=None, version=None, removed_in=None, warning_in=None, func=None, ): """Decorator to mark deprecated functions in Sopel's API :param str reason: optional text added to the deprecation warning :param str version: optional version number when the decorated function is deprecated :param str removed_in: optional version number when the deprecated function will be removed :param str warning_in: optional version number when the decorated function should start emitting a warning when called :param callable func: deprecated function :return: a callable that depends on how the decorator is called; either the decorated function, or a decorator with the appropriate parameters Any time the decorated ``func`` is called, a deprecation warning will be printed to ``sys.stderr``, with the last frame of the traceback. The optional ``warning_in`` argument suppresses the warning on Sopel versions older than that, allowing for multi-stage deprecation timelines. The decorator can be used with or without arguments:: from sopel import tools @tools.deprecated def func1(): print('func 1') @tools.deprecated() def func2(): print('func 2') @tools.deprecated(reason='obsolete', version='7.0', removed_in='8.0') def func3(): print('func 3') which will output the following in a console:: >>> func1() Deprecated: func1 File "<stdin>", line 1, in <module> func 1 >>> func2() Deprecated: func2 File "<stdin>", line 1, in <module> func 2 >>> func3() Deprecated since 7.0, will be removed in 8.0: obsolete File "<stdin>", line 1, in <module> func 3 .. note:: There is nothing that prevents this decorator to be used on a class's method, or on any existing callable. .. versionadded:: 7.0 Parameters ``reason``, ``version``, and ``removed_in``. .. versionadded:: 7.1 The ``warning_in`` parameter. """ if not any([reason, version, removed_in, warning_in, func]): # common usage: @deprecated() return deprecated if callable(reason): # common usage: @deprecated return deprecated(func=reason) if func is None: # common usage: @deprecated(message, version, removed_in) return decorator # now, we have everything we need to have: # - message is not a callable (could be None) # - func is not None # - version and removed_in can be None but that's OK # so now we can return the actual decorated function message = reason or getattr(func, '__name__', '<anonymous-function>') template = 'Deprecated: {message}' if version and removed_in: template = ( 'Deprecated since {version}, ' 'will be removed in {removed_in}: ' '{message}') elif version: template = 'Deprecated since {version}: {message}' elif removed_in: template = 'Deprecated, will be removed in {removed_in}: {message}' text = template.format( message=message, version=version, removed_in=removed_in) @functools.wraps(func) return deprecated_func @deprecated('Shim for Python 2 cross-compatibility, no longer needed. ' 'Use built-in `input()` instead.', version='7.1', warning_in='8.0', removed_in='8.1') def get_input(prompt): """Get decoded input from the terminal (equivalent to Python 3's ``input``). :param str prompt: what to display as a prompt on the terminal :return: the user's input :rtype: str .. deprecated:: 7.1 Use of this function will become a warning when Python 2 support is dropped in Sopel 8.0. The function will be removed in Sopel 8.1. """ if sys.version_info.major >= 3: return input(prompt) else: return raw_input(prompt).decode('utf8') def compile_rule(nick, pattern, alias_nicks): """Compile a rule regex and fill in nickname placeholders. :param str nick: the nickname to use when replacing ``$nick`` and ``$nickname`` placeholders in the ``pattern`` :param str pattern: the rule regex pattern :param list alias_nicks: a list of alternatives that should also be accepted instead of ``nick`` :return: the compiled regex ``pattern``, with placeholders for ``$nick`` and ``$nickname`` filled in :rtype: :ref:`re.Pattern <python:re-objects>` Will not recompile an already compiled pattern. """ # Not sure why this happens on reloads, but it shouldn't cause problems… if isinstance(pattern, _regex_type): return pattern if alias_nicks: nicks = list(alias_nicks) # alias_nicks.copy() doesn't work in py2 nicks.append(nick) nicks = map(re.escape, nicks) nick = '(?:%s)' % '|'.join(nicks) else: nick = re.escape(nick) pattern = pattern.replace('$nickname', nick) pattern = pattern.replace('$nick ', r'{}[,:]\s*'.format(nick)) # @rule('$nick hi') pattern = pattern.replace('$nick', r'{}[,:]\s+'.format(nick)) # @rule('$nickhi') flags = re.IGNORECASE if '\n' in pattern: # See https://docs.python.org/3/library/re.html#re.VERBOSE flags |= re.VERBOSE return re.compile(pattern, flags) def get_command_regexp(prefix, command): """Get a compiled regexp object that implements the command. :param str prefix: the command prefix (interpreted as regex) :param str command: the name of the command :return: a compiled regexp object that implements the command :rtype: :ref:`re.Pattern <python:re-objects>` """ # Escape all whitespace with a single backslash. This ensures that regexp # in the prefix is treated as it was before the actual regexp was changed # to use the verbose syntax. prefix = re.sub(r"(\s)", r"\\\1", prefix) pattern = get_command_pattern(prefix, command) return re.compile(pattern, re.IGNORECASE | re.VERBOSE) def get_command_pattern(prefix, command): """Get the uncompiled regex pattern for standard commands. :param str prefix: the command prefix (interpreted as regex) :param str command: the command name :return: a regex pattern that will match the given command :rtype: str """ # This regexp matches equivalently and produces the same # groups 1 and 2 as the old regexp: r'^%s(%s)(?: +(.*))?$' # The only differences should be handling all whitespace # like spaces and the addition of groups 3-6. return r""" (?:{prefix})({command}) # Command as group 1. (?:\s+ # Whitespace to end command. ( # Rest of the line as group 2. (?:(\S+))? # Parameters 1-4 as groups 3-6. (?:\s+(\S+))? (?:\s+(\S+))? (?:\s+(\S+))? .* # Accept anything after the parameters. # Leave it up to the plugin to parse # the line. ))? # Group 2 must be None, if there are no # parameters. $ # EoL, so there are no partial matches. """.format(prefix=prefix, command=command) def get_nickname_command_regexp(nick, command, alias_nicks): """Get a compiled regexp object that implements the nickname command. :param str nick: the bot's nickname :param str command: the command name :param list alias_nicks: a list of alternatives that should also be accepted instead of ``nick`` :return: a compiled regex pattern that implements the given nickname command :rtype: :ref:`re.Pattern <python:re-objects>` """ if isinstance(alias_nicks, unicode): alias_nicks = [alias_nicks] elif not isinstance(alias_nicks, (list, tuple)): raise ValueError('A list or string is required.') return compile_rule(nick, get_nickname_command_pattern(command), alias_nicks) def get_nickname_command_pattern(command): """Get the uncompiled regex pattern for a nickname command. :param str command: the command name :return: a regex pattern that will match the given nickname command :rtype: str """ return r""" ^ $nickname[:,]? # Nickname. \s+({command}) # Command as group 1. (?:\s+ # Whitespace to end command. ( # Rest of the line as group 2. (?:(\S+))? # Parameters 1-4 as groups 3-6. (?:\s+(\S+))? (?:\s+(\S+))? (?:\s+(\S+))? .* # Accept anything after the parameters. Leave it up to # the plugin to parse the line. ))? # Group 1 must be None, if there are no parameters. $ # EoL, so there are no partial matches. """.format(command=command) def get_action_command_regexp(command): """Get a compiled regexp object that implements the command. :param str command: the name of the command :return: a compiled regexp object that implements the command :rtype: :ref:`re.Pattern <python:re-objects>` """ pattern = get_action_command_pattern(command) return re.compile(pattern, re.IGNORECASE | re.VERBOSE) def get_action_command_pattern(command): """Get the uncompiled regex pattern for action commands. :param str command: the command name :return: a regex pattern that will match the given command :rtype: str """ # This regexp matches equivalently and produces the same # groups 1 and 2 as the old regexp: r'^%s(%s)(?: +(.*))?$' # The only differences should be handling all whitespace # like spaces and the addition of groups 3-6. return r""" ({command}) # Command as group 1. (?:\s+ # Whitespace to end command. ( # Rest of the line as group 2. (?:(\S+))? # Parameters 1-4 as groups 3-6. (?:\s+(\S+))? (?:\s+(\S+))? (?:\s+(\S+))? .* # Accept anything after the parameters. # Leave it up to the plugin to parse # the line. ))? # Group 2 must be None, if there are no # parameters. $ # EoL, so there are no partial matches. """.format(command=command) def get_sendable_message(text, max_length=400): """Get a sendable ``text`` message, with its excess when needed. :param str txt: text to send (expects Unicode-encoded string) :param int max_length: maximum length of the message to be sendable :return: a tuple of two values, the sendable text and its excess text :rtype: (str, str) We're arbitrarily saying that the max is 400 bytes of text when messages will be split. Otherwise, we'd have to account for the bot's hostmask, which is hard. The ``max_length`` is the max length of text in **bytes**, but we take care of Unicode 2-byte characters by working on the Unicode string, then making sure the bytes version is smaller than the max length. """ unicode_max_length = max_length excess = '' while len(text.encode('utf-8')) > max_length: last_space = text.rfind(' ', 0, unicode_max_length) if last_space == -1: # No last space, just split where it is possible excess = text[unicode_max_length:] + excess text = text[:unicode_max_length] # Decrease max length for the unicode string unicode_max_length = unicode_max_length - 1 else: # Split at the last best space found excess = text[last_space:] text = text[:last_space] return text, excess.lstrip() # This class was useful before Python 2.5, when ``defaultdict`` was added # to the built-in ``collections`` module. # It is now deprecated. class Ddict(dict): """A default dict implementation available for Python 2.x support. It was used to make multi-dimensional ``dict``\\s easy to use when the bot worked with Python version < 2.5. .. deprecated:: 7.0 Use :class:`collections.defaultdict` instead. """ @deprecated('use "collections.defaultdict" instead', '7.0', '8.0') class Identifier(unicode): """A `unicode` subclass which acts appropriately for IRC identifiers. When used as normal `unicode` objects, case will be preserved. However, when comparing two Identifier objects, or comparing a Identifier object with a `unicode` object, the comparison will be case insensitive. This case insensitivity includes the case convention conventions regarding ``[]``, ``{}``, ``|``, ``\\``, ``^`` and ``~`` described in RFC 2812. """ # May want to tweak this and update documentation accordingly when dropping # Python 2 support, since in py3 plain str is Unicode and a "unicode" type # no longer exists. Probably lots of code will need tweaking, tbh. def lower(self): """Get the RFC 2812-compliant lowercase version of this identifier. :return: RFC 2812-compliant lowercase version of the :py:class:`Identifier` instance :rtype: str """ return self._lowered @staticmethod def _lower(identifier): """Convert an identifier to lowercase per RFC 2812. :param str identifier: the identifier (nickname or channel) to convert :return: RFC 2812-compliant lowercase version of ``identifier`` :rtype: str """ if isinstance(identifier, Identifier): return identifier._lowered # The tilde replacement isn't needed for identifiers, but is for # channels, which may be useful at some point in the future. low = identifier.lower().replace('[', '{').replace(']', '}') low = low.replace('\\', '|').replace('~', '^') return low @staticmethod def _lower_swapped(identifier): """Backward-compatible version of :meth:`_lower`. :param str identifier: the identifier (nickname or channel) to convert :return: RFC 2812-non-compliant lowercase version of ``identifier`` :rtype: str This is what the old :meth:`_lower` function did before Sopel 7.0. It maps ``{}``, ``[]``, ``|``, ``\\``, ``^``, and ``~`` incorrectly. You shouldn't use this unless you need to migrate stored values from the previous, incorrect "lowercase" representation to the correct one. """ # The tilde replacement isn't needed for identifiers, but is for # channels, which may be useful at some point in the future. low = identifier.lower().replace('{', '[').replace('}', ']') low = low.replace('|', '\\').replace('^', '~') return low def is_nick(self): """Check if the Identifier is a nickname (i.e. not a channel) :return: ``True`` if this :py:class:`Identifier` is a nickname; ``False`` if it appears to be a channel """ return self and not self.startswith(_channel_prefixes) class OutputRedirect(object): """Redirect the output to the terminal and a log file. A simplified object used to write to both the terminal and a log file. """ def __init__(self, logpath, stderr=False, quiet=False): """Create an object which will log to both a file and the terminal. :param str logpath: path to the log file :param bool stderr: write output to stderr if ``True``, or to stdout otherwise :param bool quiet: write to the log file only if ``True`` (and not to the terminal) Create an object which will log to the file at ``logpath`` as well as the terminal. """ self.logpath = logpath self.stderr = stderr self.quiet = quiet def write(self, string): """Write the given ``string`` to the logfile and terminal. :param str string: the string to write """ if not self.quiet: try: if self.stderr: sys.__stderr__.write(string) else: sys.__stdout__.write(string) except Exception: # TODO: Be specific pass with codecs.open(self.logpath, 'ab', encoding="utf8", errors='xmlcharrefreplace') as logfile: try: logfile.write(string) except UnicodeDecodeError: # we got an invalid string, safely encode it to utf-8 logfile.write(unicode(string, 'utf8', errors="replace")) def flush(self): """Flush the file writing buffer.""" if self.stderr: sys.__stderr__.flush() else: sys.__stdout__.flush() # These seems to trace back to when we thought we needed a try/except on prints, # because it looked like that was why we were having problems. # We'll drop it in Sopel 8.0 because it has been here for far too long already. @deprecated('Use `print()` instead of sopel.tools.stdout', removed_in='8.0') def stderr(string): """Print the given ``string`` to stderr. :param str string: the string to output This is equivalent to ``print >> sys.stderr, string`` """ print(string, file=sys.stderr) def check_pid(pid): """Check if a process is running with the given ``PID``. :param int pid: PID to check :return bool: ``True`` if the given PID is running, ``False`` otherwise *Availability: POSIX systems only.* .. note:: Matching the :py:func:`os.kill` behavior this function needs on Windows was rejected in `Python issue #14480 <https://bugs.python.org/issue14480>`_, so :py:func:`check_pid` cannot be used on Windows systems. """ try: os.kill(pid, 0) except OSError: return False else: return True def get_hostmask_regex(mask): """Get a compiled regex pattern for an IRC hostmask :param str mask: the hostmask that the pattern should match :return: a compiled regex pattern matching the given ``mask`` :rtype: :ref:`re.Pattern <python:re-objects>` """ mask = re.escape(mask) mask = mask.replace(r'\*', '.*') return re.compile(mask + '$', re.I) def get_logger(plugin_name): """Return a logger for a plugin. :param str plugin_name: name of the plugin :return: the logger for the given plugin This:: from sopel import plugins LOGGER = plugins.get_logger('my_custom_plugin') is equivalent to this:: import logging LOGGER = logging.getLogger('sopel.externals.my_custom_plugin') Internally, Sopel configures logging for the ``sopel`` namespace, so external plugins can't benefit from it with ``logging.getLogger(__name__)`` as they won't be in the same namespace. This function uses the ``plugin_name`` with a prefix inside this namespace. """ return logging.getLogger('sopel.externals.%s' % plugin_name) class SopelMemory(dict): """A simple thread-safe ``dict`` implementation. In order to prevent exceptions when iterating over the values and changing them at the same time from different threads, we use a blocking lock in ``__setitem__`` and ``contains``. .. versionadded:: 3.1 As ``Willie.WillieMemory`` .. versionchanged:: 4.0 Moved to ``tools.WillieMemory`` .. versionchanged:: 6.0 Renamed from ``WillieMemory`` to ``SopelMemory`` """ def __setitem__(self, key, value): """Set a key equal to a value. The dict is locked for other writes while doing so. """ self.lock.acquire() result = dict.__setitem__(self, key, value) self.lock.release() return result def __contains__(self, key): """Check if a key is in the dict. The dict is locked for writes while doing so. """ self.lock.acquire() result = dict.__contains__(self, key) self.lock.release() return result # Needed to make it explicit that we don't care about the `lock` attribute # when comparing/hashing SopelMemory objects. __eq__ = dict.__eq__ __ne__ = dict.__ne__ __hash__ = dict.__hash__ @deprecated def contains(self, key): """Check if ``key`` is in the memory :param str key: key to check for .. deprecated:: 7.0 Will be removed in Sopel 8. If you aren't already using the ``in`` operator, you should be. """ return self.__contains__(key) class SopelMemoryWithDefault(defaultdict): """Same as SopelMemory, but subclasses from collections.defaultdict. .. versionadded:: 4.3 As ``WillieMemoryWithDefault`` .. versionchanged:: 6.0 Renamed to ``SopelMemoryWithDefault`` """ def __setitem__(self, key, value): """Set a key equal to a value. The dict is locked for other writes while doing so. """ self.lock.acquire() result = defaultdict.__setitem__(self, key, value) self.lock.release() return result def __contains__(self, key): """Check if a key is in the dict. The dict is locked for writes while doing so. """ self.lock.acquire() result = defaultdict.__contains__(self, key) self.lock.release() return result @deprecated def contains(self, key): """Check if ``key`` is in the memory :param str key: key to check for .. deprecated:: 7.0 Will be removed in Sopel 8. If you aren't already using the ``in`` operator, you should be. """ return self.__contains__(key) class SopelIdentifierMemory(SopelMemory): """Special Sopel memory that stores ``Identifier`` as key. This is a convenient subclass of :class:`SopelMemory` that always casts its keys as instances of :class:`Identifier`:: >>> from sopel import tools >>> memory = tools.SopelIdentifierMemory() >>> memory['Exirel'] = 'king' >>> list(memory.items()) [(Identifier('Exirel'), 'king')] >>> tools.Identifier('exirel') in memory True >>> 'exirel' in memory True As seen in the example above, it is possible to perform various operations with both ``Identifier`` and :class:`str` objects, taking advantage of the case-insensitive behavior of ``Identifier``. .. note:: Internally, it will try to do ``key = tools.Identifier(key)``, which will raise an exception if it cannot instantiate the key properly:: >>> memory[1] = 'error' AttributeError: 'int' object has no attribute 'lower' .. versionadded:: 7.1 """ @deprecated(version='7.0', removed_in='8.0') def get_raising_file_and_line(tb=None): """Get the file and line number where an exception happened. :param tb: the traceback (uses the most recent exception if not given) :return: a tuple of the filename and line number :rtype: (str, int) .. deprecated:: 7.0 Use Python's built-in logging system, with the ``logger.exception`` method. This method makes sure to log the exception with the traceback and the relevant information (filename, line number, etc.). """ if not tb: tb = sys.exc_info()[2] filename, lineno, _context, _line = traceback.extract_tb(tb)[-1] return filename, lineno def chain_loaders(*lazy_loaders): """Chain lazy loaders into one. :param lazy_loaders: one or more lazy loader functions :type lazy_loaders: :term:`function` :return: a lazy loader that combines all of the given ones :rtype: :term:`function` This function takes any number of lazy loaders as arguments and merges them together into one. It's primarily a helper for lazy rule decorators such as :func:`sopel.plugin.url_lazy`. .. important:: This function doesn't check the uniqueness of regexes generated by all the loaders. """ return chained_loader
[ 2, 19617, 28, 40477, 12, 23, 198, 37811, 11041, 913, 2984, 25673, 4899, 290, 32953, 329, 35643, 417, 20652, 198, 198, 9, 29841, 25, 513, 10, 9, 198, 37811, 198, 198, 2, 4899, 13, 9078, 532, 35643, 417, 12747, 4899, 198, 2, 15069, 3648, 11, 11465, 347, 13, 18918, 11, 287, 321, 312, 301, 13, 785, 198, 2, 15069, 10673, 2321, 11, 2574, 324, 17136, 562, 64, 1279, 417, 324, 31, 19082, 273, 499, 305, 752, 13, 2398, 29, 198, 2, 15069, 2321, 11, 2574, 44524, 19675, 11, 4072, 349, 9752, 13, 785, 198, 2, 49962, 739, 262, 412, 733, 417, 14867, 13789, 362, 13, 198, 198, 2, 3740, 1378, 82, 404, 417, 13, 17006, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 11, 28000, 1098, 62, 17201, 874, 198, 198, 11748, 40481, 82, 198, 6738, 17268, 1330, 4277, 11600, 198, 11748, 1257, 310, 10141, 198, 11748, 18931, 198, 11748, 28686, 198, 11748, 302, 198, 11748, 25064, 198, 11748, 4704, 278, 198, 11748, 12854, 1891, 198, 198, 6738, 279, 10025, 62, 37540, 1330, 21136, 62, 9641, 198, 198, 6738, 264, 404, 417, 1330, 11593, 9641, 834, 198, 6738, 264, 404, 417, 13, 31391, 13557, 31534, 1330, 2995, 220, 1303, 8005, 48, 32, 198, 198, 361, 25064, 13, 9641, 62, 10951, 13, 22478, 18189, 513, 25, 198, 220, 220, 220, 8246, 62, 15414, 796, 5128, 198, 220, 220, 220, 28000, 1098, 796, 965, 198, 220, 220, 220, 11629, 23814, 796, 8633, 13, 23814, 198, 220, 220, 220, 340, 712, 282, 947, 796, 8633, 13, 27160, 198, 220, 220, 220, 11629, 13083, 796, 8633, 13, 13083, 198, 17772, 25, 198, 220, 220, 220, 11629, 23814, 796, 8633, 13, 2676, 23814, 198, 220, 220, 220, 340, 712, 282, 947, 796, 8633, 13, 270, 712, 282, 947, 198, 220, 220, 220, 11629, 13083, 796, 8633, 13, 2676, 13083, 198, 198, 62, 17620, 62, 40290, 274, 796, 19203, 2, 3256, 705, 5, 3256, 705, 10, 3256, 705, 0, 11537, 198, 198, 2, 1680, 307, 7822, 12, 21186, 198, 62, 260, 25636, 62, 4906, 796, 2099, 7, 260, 13, 5589, 576, 7, 7061, 4008, 628, 198, 4299, 39224, 7, 198, 220, 220, 220, 1738, 28, 14202, 11, 198, 220, 220, 220, 2196, 28, 14202, 11, 198, 220, 220, 220, 4615, 62, 259, 28, 14202, 11, 198, 220, 220, 220, 6509, 62, 259, 28, 14202, 11, 198, 220, 220, 220, 25439, 28, 14202, 11, 198, 2599, 198, 220, 220, 220, 37227, 10707, 273, 1352, 284, 1317, 39224, 5499, 287, 35643, 417, 338, 7824, 628, 220, 220, 220, 1058, 17143, 965, 1738, 25, 11902, 2420, 2087, 284, 262, 1207, 8344, 341, 6509, 198, 220, 220, 220, 1058, 17143, 965, 2196, 25, 11902, 2196, 1271, 618, 262, 24789, 2163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 39224, 198, 220, 220, 220, 1058, 17143, 965, 4615, 62, 259, 25, 11902, 2196, 1271, 618, 262, 39224, 2163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 481, 307, 4615, 198, 220, 220, 220, 1058, 17143, 965, 6509, 62, 259, 25, 11902, 2196, 1271, 618, 262, 24789, 2163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 815, 923, 48143, 257, 6509, 618, 1444, 198, 220, 220, 220, 1058, 17143, 869, 540, 25439, 25, 39224, 2163, 198, 220, 220, 220, 1058, 7783, 25, 257, 869, 540, 326, 8338, 319, 703, 262, 11705, 1352, 318, 1444, 26, 2035, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 24789, 2163, 11, 393, 257, 11705, 1352, 351, 262, 5035, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10007, 628, 220, 220, 220, 4377, 640, 262, 24789, 7559, 20786, 15506, 318, 1444, 11, 257, 1207, 8344, 341, 6509, 481, 307, 198, 220, 220, 220, 10398, 284, 7559, 17597, 13, 301, 1082, 81, 15506, 11, 351, 262, 938, 5739, 286, 262, 12854, 1891, 13, 383, 198, 220, 220, 220, 11902, 7559, 43917, 62, 259, 15506, 4578, 802, 16746, 262, 6509, 319, 35643, 417, 6300, 198, 220, 220, 220, 4697, 621, 326, 11, 5086, 329, 5021, 12, 14247, 1207, 8344, 341, 46881, 13, 628, 220, 220, 220, 383, 11705, 1352, 460, 307, 973, 351, 393, 1231, 7159, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 422, 264, 404, 417, 1330, 4899, 628, 220, 220, 220, 220, 220, 220, 220, 2488, 31391, 13, 10378, 31023, 198, 220, 220, 220, 220, 220, 220, 220, 825, 25439, 16, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 20786, 352, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 2488, 31391, 13, 10378, 31023, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 825, 25439, 17, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 20786, 362, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 2488, 31391, 13, 10378, 31023, 7, 41181, 11639, 672, 23869, 3256, 2196, 11639, 22, 13, 15, 3256, 4615, 62, 259, 11639, 23, 13, 15, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 825, 25439, 18, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 20786, 513, 11537, 628, 220, 220, 220, 543, 481, 5072, 262, 1708, 287, 257, 8624, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 25439, 16, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2129, 31023, 25, 25439, 16, 198, 220, 220, 220, 220, 220, 220, 220, 9220, 33490, 19282, 259, 29, 1600, 1627, 352, 11, 287, 1279, 21412, 29, 198, 220, 220, 220, 220, 220, 220, 220, 25439, 352, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 25439, 17, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2129, 31023, 25, 25439, 17, 198, 220, 220, 220, 220, 220, 220, 220, 9220, 33490, 19282, 259, 29, 1600, 1627, 352, 11, 287, 1279, 21412, 29, 198, 220, 220, 220, 220, 220, 220, 220, 25439, 362, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 25439, 18, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2129, 31023, 1201, 767, 13, 15, 11, 481, 307, 4615, 287, 807, 13, 15, 25, 26533, 198, 220, 220, 220, 220, 220, 220, 220, 9220, 33490, 19282, 259, 29, 1600, 1627, 352, 11, 287, 1279, 21412, 29, 198, 220, 220, 220, 220, 220, 220, 220, 25439, 513, 628, 220, 220, 220, 11485, 3465, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 1318, 318, 2147, 326, 15174, 428, 11705, 1352, 284, 307, 973, 319, 257, 1398, 338, 198, 220, 220, 220, 220, 220, 220, 220, 2446, 11, 393, 319, 597, 4683, 869, 540, 13, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 767, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 40117, 7559, 41181, 15506, 11, 7559, 9641, 15506, 11, 290, 7559, 2787, 2668, 62, 259, 15506, 13, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 767, 13, 16, 198, 220, 220, 220, 220, 220, 220, 220, 383, 7559, 43917, 62, 259, 15506, 11507, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 597, 26933, 41181, 11, 2196, 11, 4615, 62, 259, 11, 6509, 62, 259, 11, 25439, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2219, 8748, 25, 2488, 10378, 31023, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 39224, 628, 220, 220, 220, 611, 869, 540, 7, 41181, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2219, 8748, 25, 2488, 10378, 31023, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 39224, 7, 20786, 28, 41181, 8, 628, 220, 220, 220, 611, 25439, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2219, 8748, 25, 2488, 10378, 31023, 7, 20500, 11, 2196, 11, 4615, 62, 259, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 11705, 1352, 628, 220, 220, 220, 1303, 783, 11, 356, 423, 2279, 356, 761, 284, 423, 25, 198, 220, 220, 220, 1303, 532, 3275, 318, 407, 257, 869, 540, 357, 24089, 307, 6045, 8, 198, 220, 220, 220, 1303, 532, 25439, 318, 407, 6045, 198, 220, 220, 220, 1303, 532, 2196, 290, 4615, 62, 259, 460, 307, 6045, 475, 326, 338, 7477, 198, 220, 220, 220, 1303, 523, 783, 356, 460, 1441, 262, 4036, 24789, 2163, 628, 220, 220, 220, 3275, 796, 1738, 393, 651, 35226, 7, 20786, 11, 705, 834, 3672, 834, 3256, 705, 27, 272, 6704, 12, 8818, 29, 11537, 628, 220, 220, 220, 11055, 796, 705, 12156, 31023, 25, 1391, 20500, 92, 6, 198, 220, 220, 220, 611, 2196, 290, 4615, 62, 259, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11055, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 12156, 31023, 1201, 1391, 9641, 5512, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 10594, 307, 4615, 287, 1391, 2787, 2668, 62, 259, 38362, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 90, 20500, 92, 11537, 198, 220, 220, 220, 1288, 361, 2196, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11055, 796, 705, 12156, 31023, 1201, 1391, 9641, 38362, 1391, 20500, 92, 6, 198, 220, 220, 220, 1288, 361, 4615, 62, 259, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11055, 796, 705, 12156, 31023, 11, 481, 307, 4615, 287, 1391, 2787, 2668, 62, 259, 38362, 1391, 20500, 92, 6, 628, 220, 220, 220, 2420, 796, 11055, 13, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 28, 20500, 11, 2196, 28, 9641, 11, 4615, 62, 259, 28, 2787, 2668, 62, 259, 8, 628, 220, 220, 220, 2488, 12543, 310, 10141, 13, 29988, 862, 7, 20786, 8, 628, 220, 220, 220, 1441, 39224, 62, 20786, 628, 198, 31, 10378, 31023, 10786, 2484, 320, 329, 11361, 362, 3272, 12, 5589, 25901, 11, 645, 2392, 2622, 13, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11041, 3170, 12, 259, 4600, 15414, 3419, 63, 2427, 2637, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2196, 11639, 22, 13, 16, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6509, 62, 259, 11639, 23, 13, 15, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4615, 62, 259, 11639, 23, 13, 16, 11537, 198, 4299, 651, 62, 15414, 7, 16963, 457, 2599, 198, 220, 220, 220, 37227, 3855, 875, 9043, 5128, 422, 262, 12094, 357, 4853, 29540, 284, 11361, 513, 338, 7559, 15414, 15506, 737, 628, 220, 220, 220, 1058, 17143, 965, 6152, 25, 644, 284, 3359, 355, 257, 6152, 319, 262, 12094, 198, 220, 220, 220, 1058, 7783, 25, 262, 2836, 338, 5128, 198, 220, 220, 220, 1058, 81, 4906, 25, 965, 628, 220, 220, 220, 11485, 39224, 3712, 767, 13, 16, 628, 220, 220, 220, 220, 220, 220, 220, 5765, 286, 428, 2163, 481, 1716, 257, 6509, 618, 11361, 362, 1104, 318, 198, 220, 220, 220, 220, 220, 220, 220, 5710, 287, 35643, 417, 807, 13, 15, 13, 383, 2163, 481, 307, 4615, 287, 35643, 417, 807, 13, 16, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 25064, 13, 9641, 62, 10951, 13, 22478, 18189, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 5128, 7, 16963, 457, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8246, 62, 15414, 7, 16963, 457, 737, 12501, 1098, 10786, 40477, 23, 11537, 628, 198, 4299, 17632, 62, 25135, 7, 17172, 11, 3912, 11, 16144, 62, 77, 3378, 2599, 198, 220, 220, 220, 37227, 7293, 576, 257, 3896, 40364, 290, 6070, 287, 21814, 1295, 10476, 13, 628, 220, 220, 220, 1058, 17143, 965, 14428, 25, 262, 21814, 284, 779, 618, 13586, 7559, 3, 17172, 15506, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7559, 3, 17172, 3672, 15506, 1295, 10476, 287, 262, 7559, 33279, 15506, 198, 220, 220, 220, 1058, 17143, 965, 3912, 25, 262, 3896, 40364, 3912, 198, 220, 220, 220, 1058, 17143, 1351, 16144, 62, 77, 3378, 25, 257, 1351, 286, 14693, 326, 815, 635, 307, 6292, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2427, 286, 7559, 17172, 15506, 198, 220, 220, 220, 1058, 7783, 25, 262, 14102, 40364, 7559, 33279, 15506, 11, 351, 1295, 10476, 329, 7559, 3, 17172, 15506, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7559, 3, 17172, 3672, 15506, 5901, 287, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 5420, 25, 63, 260, 13, 47546, 1279, 29412, 25, 260, 12, 48205, 29, 63, 628, 220, 220, 220, 2561, 407, 48765, 576, 281, 1541, 14102, 3912, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1892, 1654, 1521, 428, 4325, 319, 18126, 82, 11, 475, 340, 6584, 470, 2728, 2761, 1399, 198, 220, 220, 220, 611, 318, 39098, 7, 33279, 11, 4808, 260, 25636, 62, 4906, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3912, 628, 220, 220, 220, 611, 16144, 62, 77, 3378, 25, 198, 220, 220, 220, 220, 220, 220, 220, 299, 3378, 796, 1351, 7, 26011, 62, 77, 3378, 8, 220, 1303, 16144, 62, 77, 3378, 13, 30073, 3419, 1595, 470, 670, 287, 12972, 17, 198, 220, 220, 220, 220, 220, 220, 220, 299, 3378, 13, 33295, 7, 17172, 8, 198, 220, 220, 220, 220, 220, 220, 220, 299, 3378, 796, 3975, 7, 260, 13, 41915, 11, 299, 3378, 8, 198, 220, 220, 220, 220, 220, 220, 220, 14428, 796, 29513, 27514, 4, 82, 33047, 4064, 705, 91, 4458, 22179, 7, 77, 3378, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 14428, 796, 302, 13, 41915, 7, 17172, 8, 628, 220, 220, 220, 3912, 796, 3912, 13, 33491, 10786, 3, 17172, 3672, 3256, 14428, 8, 198, 220, 220, 220, 3912, 796, 3912, 13, 33491, 10786, 3, 17172, 46083, 374, 6, 90, 92, 58, 11, 47715, 59, 82, 9, 4458, 18982, 7, 17172, 4008, 220, 1303, 2488, 25135, 10786, 3, 17172, 23105, 11537, 198, 220, 220, 220, 3912, 796, 3912, 13, 33491, 10786, 3, 17172, 3256, 374, 6, 90, 92, 58, 11, 47715, 59, 82, 10, 4458, 18982, 7, 17172, 4008, 220, 1303, 2488, 25135, 10786, 3, 17172, 5303, 11537, 198, 220, 220, 220, 9701, 796, 302, 13, 16284, 1581, 2943, 11159, 198, 220, 220, 220, 611, 705, 59, 77, 6, 287, 3912, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4091, 3740, 1378, 31628, 13, 29412, 13, 2398, 14, 18, 14, 32016, 14, 260, 13, 6494, 2, 260, 13, 5959, 33, 14058, 198, 220, 220, 220, 220, 220, 220, 220, 9701, 930, 28, 302, 13, 5959, 33, 14058, 198, 220, 220, 220, 1441, 302, 13, 5589, 576, 7, 33279, 11, 9701, 8, 628, 198, 4299, 651, 62, 21812, 62, 260, 25636, 79, 7, 40290, 11, 3141, 2599, 198, 220, 220, 220, 37227, 3855, 257, 14102, 40364, 79, 2134, 326, 23986, 262, 3141, 13, 628, 220, 220, 220, 1058, 17143, 965, 21231, 25, 262, 3141, 21231, 357, 27381, 276, 355, 40364, 8, 198, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 1438, 286, 262, 3141, 198, 220, 220, 220, 1058, 7783, 25, 257, 14102, 40364, 79, 2134, 326, 23986, 262, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 5420, 25, 63, 260, 13, 47546, 1279, 29412, 25, 260, 12, 48205, 29, 63, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 14473, 477, 13216, 10223, 351, 257, 2060, 736, 6649, 1077, 13, 770, 19047, 326, 40364, 79, 198, 220, 220, 220, 1303, 287, 262, 21231, 318, 5716, 355, 340, 373, 878, 262, 4036, 40364, 79, 373, 3421, 198, 220, 220, 220, 1303, 284, 779, 262, 15942, 577, 15582, 13, 198, 220, 220, 220, 21231, 796, 302, 13, 7266, 7, 81, 18109, 59, 82, 42501, 374, 1, 6852, 59, 16, 1600, 21231, 8, 628, 220, 220, 220, 3912, 796, 651, 62, 21812, 62, 33279, 7, 40290, 11, 3141, 8, 198, 220, 220, 220, 1441, 302, 13, 5589, 576, 7, 33279, 11, 302, 13, 16284, 1581, 2943, 11159, 930, 302, 13, 5959, 33, 14058, 8, 628, 198, 4299, 651, 62, 21812, 62, 33279, 7, 40290, 11, 3141, 2599, 198, 220, 220, 220, 37227, 3855, 262, 34318, 3902, 40364, 3912, 329, 3210, 9729, 13, 628, 220, 220, 220, 1058, 17143, 965, 21231, 25, 262, 3141, 21231, 357, 27381, 276, 355, 40364, 8, 198, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 3141, 1438, 198, 220, 220, 220, 1058, 7783, 25, 257, 40364, 3912, 326, 481, 2872, 262, 1813, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 965, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 770, 40364, 79, 7466, 6854, 1473, 290, 11073, 262, 976, 198, 220, 220, 220, 1303, 2628, 352, 290, 362, 355, 262, 1468, 40364, 79, 25, 374, 6, 61, 4, 82, 7, 4, 82, 5769, 27514, 1343, 7, 15885, 4008, 30, 3, 6, 198, 220, 220, 220, 1303, 383, 691, 5400, 815, 307, 9041, 477, 13216, 10223, 198, 220, 220, 220, 1303, 588, 9029, 290, 262, 3090, 286, 2628, 513, 12, 21, 13, 198, 220, 220, 220, 1441, 374, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 357, 27514, 90, 40290, 92, 5769, 90, 21812, 30072, 1303, 9455, 355, 1448, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 10, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 29290, 10223, 284, 886, 3141, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8324, 286, 262, 1627, 355, 1448, 362, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 27514, 38016, 50, 10, 4008, 30, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 40117, 352, 12, 19, 355, 2628, 513, 12, 21, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 764, 9, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 21699, 1997, 706, 262, 10007, 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, 1303, 17446, 340, 510, 284, 262, 13877, 284, 21136, 198, 220, 220, 220, 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, 262, 1627, 13, 198, 220, 220, 220, 220, 220, 220, 220, 15306, 30, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4912, 362, 1276, 307, 6045, 11, 611, 612, 389, 645, 198, 220, 220, 220, 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, 10007, 13, 198, 220, 220, 220, 220, 220, 220, 220, 720, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 412, 78, 43, 11, 523, 612, 389, 645, 13027, 7466, 13, 198, 220, 220, 220, 220, 220, 220, 220, 13538, 1911, 18982, 7, 40290, 28, 40290, 11, 3141, 28, 21812, 8, 628, 198, 4299, 651, 62, 17172, 3672, 62, 21812, 62, 260, 25636, 79, 7, 17172, 11, 3141, 11, 16144, 62, 77, 3378, 2599, 198, 220, 220, 220, 37227, 3855, 257, 14102, 40364, 79, 2134, 326, 23986, 262, 21814, 3141, 13, 628, 220, 220, 220, 1058, 17143, 965, 14428, 25, 262, 10214, 338, 21814, 198, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 3141, 1438, 198, 220, 220, 220, 1058, 17143, 1351, 16144, 62, 77, 3378, 25, 257, 1351, 286, 14693, 326, 815, 635, 307, 6292, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2427, 286, 7559, 17172, 15506, 198, 220, 220, 220, 1058, 7783, 25, 257, 14102, 40364, 3912, 326, 23986, 262, 1813, 21814, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 5420, 25, 63, 260, 13, 47546, 1279, 29412, 25, 260, 12, 48205, 29, 63, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 26011, 62, 77, 3378, 11, 28000, 1098, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 16144, 62, 77, 3378, 796, 685, 26011, 62, 77, 3378, 60, 198, 220, 220, 220, 1288, 361, 407, 318, 39098, 7, 26011, 62, 77, 3378, 11, 357, 4868, 11, 46545, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 10786, 32, 1351, 393, 4731, 318, 2672, 2637, 8, 628, 220, 220, 220, 1441, 17632, 62, 25135, 7, 17172, 11, 651, 62, 17172, 3672, 62, 21812, 62, 33279, 7, 21812, 828, 16144, 62, 77, 3378, 8, 628, 198, 4299, 651, 62, 17172, 3672, 62, 21812, 62, 33279, 7, 21812, 2599, 198, 220, 220, 220, 37227, 3855, 262, 34318, 3902, 40364, 3912, 329, 257, 21814, 3141, 13, 628, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 3141, 1438, 198, 220, 220, 220, 1058, 7783, 25, 257, 40364, 3912, 326, 481, 2872, 262, 1813, 21814, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 965, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 374, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 198, 220, 220, 220, 220, 220, 220, 220, 720, 17172, 3672, 58, 45299, 60, 30, 1303, 8047, 3672, 13, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 82, 10, 15090, 21812, 30072, 1303, 9455, 355, 1448, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 10, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 29290, 10223, 284, 886, 3141, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8324, 286, 262, 1627, 355, 1448, 362, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 27514, 38016, 50, 10, 4008, 30, 220, 220, 220, 220, 1303, 40117, 352, 12, 19, 355, 2628, 513, 12, 21, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 764, 9, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 21699, 1997, 706, 262, 10007, 13, 17446, 340, 510, 284, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 13877, 284, 21136, 262, 1627, 13, 198, 220, 220, 220, 220, 220, 220, 220, 15306, 30, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4912, 352, 1276, 307, 6045, 11, 611, 612, 389, 645, 10007, 13, 198, 220, 220, 220, 220, 220, 220, 220, 720, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 412, 78, 43, 11, 523, 612, 389, 645, 13027, 7466, 13, 198, 220, 220, 220, 220, 220, 220, 220, 13538, 1911, 18982, 7, 21812, 28, 21812, 8, 628, 198, 4299, 651, 62, 2673, 62, 21812, 62, 260, 25636, 79, 7, 21812, 2599, 198, 220, 220, 220, 37227, 3855, 257, 14102, 40364, 79, 2134, 326, 23986, 262, 3141, 13, 628, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 1438, 286, 262, 3141, 198, 220, 220, 220, 1058, 7783, 25, 257, 14102, 40364, 79, 2134, 326, 23986, 262, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 5420, 25, 63, 260, 13, 47546, 1279, 29412, 25, 260, 12, 48205, 29, 63, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3912, 796, 651, 62, 2673, 62, 21812, 62, 33279, 7, 21812, 8, 198, 220, 220, 220, 1441, 302, 13, 5589, 576, 7, 33279, 11, 302, 13, 16284, 1581, 2943, 11159, 930, 302, 13, 5959, 33, 14058, 8, 628, 198, 4299, 651, 62, 2673, 62, 21812, 62, 33279, 7, 21812, 2599, 198, 220, 220, 220, 37227, 3855, 262, 34318, 3902, 40364, 3912, 329, 2223, 9729, 13, 628, 220, 220, 220, 1058, 17143, 965, 3141, 25, 262, 3141, 1438, 198, 220, 220, 220, 1058, 7783, 25, 257, 40364, 3912, 326, 481, 2872, 262, 1813, 3141, 198, 220, 220, 220, 1058, 81, 4906, 25, 965, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 770, 40364, 79, 7466, 6854, 1473, 290, 11073, 262, 976, 198, 220, 220, 220, 1303, 2628, 352, 290, 362, 355, 262, 1468, 40364, 79, 25, 374, 6, 61, 4, 82, 7, 4, 82, 5769, 27514, 1343, 7, 15885, 4008, 30, 3, 6, 198, 220, 220, 220, 1303, 383, 691, 5400, 815, 307, 9041, 477, 13216, 10223, 198, 220, 220, 220, 1303, 588, 9029, 290, 262, 3090, 286, 2628, 513, 12, 21, 13, 198, 220, 220, 220, 1441, 374, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 37913, 21812, 30072, 1303, 9455, 355, 1448, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 10, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 29290, 10223, 284, 886, 3141, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8324, 286, 262, 1627, 355, 1448, 362, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 27514, 38016, 50, 10, 4008, 30, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 40117, 352, 12, 19, 355, 2628, 513, 12, 21, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 357, 30, 7479, 82, 33747, 59, 50, 10, 4008, 30, 198, 220, 220, 220, 220, 220, 220, 220, 764, 9, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 21699, 1997, 706, 262, 10007, 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, 1303, 17446, 340, 510, 284, 262, 13877, 284, 21136, 198, 220, 220, 220, 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, 262, 1627, 13, 198, 220, 220, 220, 220, 220, 220, 220, 15306, 30, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4912, 362, 1276, 307, 6045, 11, 611, 612, 389, 645, 198, 220, 220, 220, 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, 10007, 13, 198, 220, 220, 220, 220, 220, 220, 220, 720, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 412, 78, 43, 11, 523, 612, 389, 645, 13027, 7466, 13, 198, 220, 220, 220, 220, 220, 220, 220, 13538, 1911, 18982, 7, 21812, 28, 21812, 8, 628, 198, 4299, 651, 62, 21280, 540, 62, 20500, 7, 5239, 11, 3509, 62, 13664, 28, 7029, 2599, 198, 220, 220, 220, 37227, 3855, 257, 3758, 540, 7559, 5239, 15506, 3275, 11, 351, 663, 6992, 618, 2622, 13, 628, 220, 220, 220, 1058, 17143, 965, 256, 742, 25, 2420, 284, 3758, 357, 1069, 38046, 34371, 12, 12685, 9043, 4731, 8, 198, 220, 220, 220, 1058, 17143, 493, 3509, 62, 13664, 25, 5415, 4129, 286, 262, 3275, 284, 307, 3758, 540, 198, 220, 220, 220, 1058, 7783, 25, 257, 46545, 286, 734, 3815, 11, 262, 3758, 540, 2420, 290, 663, 6992, 2420, 198, 220, 220, 220, 1058, 81, 4906, 25, 357, 2536, 11, 965, 8, 628, 220, 220, 220, 775, 821, 40647, 2282, 326, 262, 3509, 318, 7337, 9881, 286, 2420, 618, 198, 220, 220, 220, 6218, 481, 307, 6626, 13, 15323, 11, 356, 1549, 423, 284, 1848, 329, 262, 10214, 338, 198, 220, 220, 220, 2583, 27932, 11, 543, 318, 1327, 13, 628, 220, 220, 220, 383, 7559, 9806, 62, 13664, 15506, 318, 262, 3509, 4129, 286, 2420, 287, 12429, 33661, 1174, 11, 475, 356, 1011, 198, 220, 220, 220, 1337, 286, 34371, 362, 12, 26327, 3435, 416, 1762, 319, 262, 34371, 4731, 11, 198, 220, 220, 220, 788, 1642, 1654, 262, 9881, 2196, 318, 4833, 621, 262, 3509, 4129, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 28000, 1098, 62, 9806, 62, 13664, 796, 3509, 62, 13664, 198, 220, 220, 220, 6992, 796, 10148, 628, 220, 220, 220, 981, 18896, 7, 5239, 13, 268, 8189, 10786, 40477, 12, 23, 6, 4008, 1875, 3509, 62, 13664, 25, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 13200, 796, 2420, 13, 81, 19796, 10786, 46083, 657, 11, 28000, 1098, 62, 9806, 62, 13664, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 938, 62, 13200, 6624, 532, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1400, 938, 2272, 11, 655, 6626, 810, 340, 318, 1744, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6992, 796, 2420, 58, 46903, 1098, 62, 9806, 62, 13664, 47715, 1343, 6992, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 2420, 58, 25, 46903, 1098, 62, 9806, 62, 13664, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 36400, 589, 3509, 4129, 329, 262, 28000, 1098, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28000, 1098, 62, 9806, 62, 13664, 796, 28000, 1098, 62, 9806, 62, 13664, 532, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 27758, 379, 262, 938, 1266, 2272, 1043, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6992, 796, 2420, 58, 12957, 62, 13200, 47715, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 2420, 58, 25, 12957, 62, 13200, 60, 628, 220, 220, 220, 1441, 2420, 11, 6992, 13, 75, 36311, 3419, 628, 198, 2, 770, 1398, 373, 4465, 878, 11361, 362, 13, 20, 11, 618, 7559, 12286, 11600, 15506, 373, 2087, 198, 2, 284, 262, 3170, 12, 259, 7559, 4033, 26448, 15506, 8265, 13, 198, 2, 632, 318, 783, 39224, 13, 198, 4871, 360, 11600, 7, 11600, 2599, 198, 220, 220, 220, 37227, 32, 4277, 8633, 7822, 1695, 329, 11361, 362, 13, 87, 1104, 13, 628, 220, 220, 220, 632, 373, 973, 284, 787, 5021, 12, 19577, 7559, 11600, 15506, 6852, 82, 2562, 284, 779, 618, 262, 198, 220, 220, 220, 10214, 3111, 351, 11361, 2196, 1279, 362, 13, 20, 13, 628, 220, 220, 220, 11485, 39224, 3712, 767, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 5765, 1058, 4871, 25, 63, 4033, 26448, 13, 12286, 11600, 63, 2427, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2488, 10378, 31023, 10786, 1904, 366, 4033, 26448, 13, 12286, 11600, 1, 2427, 3256, 705, 22, 13, 15, 3256, 705, 23, 13, 15, 11537, 628, 198, 4871, 11440, 7483, 7, 46903, 1098, 2599, 198, 220, 220, 220, 37227, 32, 4600, 46903, 1098, 63, 47611, 543, 6529, 20431, 329, 30039, 42814, 13, 628, 220, 220, 220, 1649, 973, 355, 3487, 4600, 46903, 1098, 63, 5563, 11, 1339, 481, 307, 17232, 13, 198, 220, 220, 220, 2102, 11, 618, 14176, 734, 11440, 7483, 5563, 11, 393, 14176, 257, 11440, 7483, 198, 220, 220, 220, 2134, 351, 257, 4600, 46903, 1098, 63, 2134, 11, 262, 7208, 481, 307, 1339, 41246, 13, 198, 220, 220, 220, 770, 1339, 1035, 40545, 3407, 262, 1339, 9831, 21396, 5115, 198, 220, 220, 220, 7559, 21737, 15506, 11, 7559, 90, 92, 15506, 11, 7559, 91, 15506, 11, 7559, 6852, 15506, 11, 7559, 61, 15506, 290, 7559, 93, 15506, 3417, 287, 30978, 2579, 1065, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1737, 765, 284, 25393, 428, 290, 4296, 10314, 16062, 618, 12047, 198, 220, 220, 220, 1303, 11361, 362, 1104, 11, 1201, 287, 12972, 18, 8631, 965, 318, 34371, 290, 257, 366, 46903, 1098, 1, 2099, 198, 220, 220, 220, 1303, 645, 2392, 7160, 13, 18578, 6041, 286, 2438, 481, 761, 39272, 11, 256, 34369, 13, 628, 220, 220, 220, 825, 2793, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3855, 262, 30978, 2579, 1065, 12, 23855, 3014, 2793, 7442, 2196, 286, 428, 27421, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 30978, 2579, 1065, 12, 23855, 3014, 2793, 7442, 2196, 286, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 9078, 25, 4871, 25, 63, 33234, 7483, 63, 4554, 198, 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, 9319, 1068, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 4808, 21037, 7, 738, 7483, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3103, 1851, 281, 27421, 284, 2793, 7442, 583, 30978, 2579, 1065, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 27421, 25, 262, 27421, 357, 17172, 3672, 393, 6518, 8, 284, 10385, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 30978, 2579, 1065, 12, 23855, 3014, 2793, 7442, 2196, 286, 7559, 738, 7483, 15506, 198, 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, 611, 318, 39098, 7, 738, 7483, 11, 11440, 7483, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 27421, 13557, 9319, 1068, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 256, 44725, 9014, 2125, 470, 2622, 329, 42814, 11, 475, 318, 329, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 9619, 11, 543, 743, 307, 4465, 379, 617, 966, 287, 262, 2003, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 27421, 13, 21037, 22446, 33491, 10786, 58, 3256, 705, 90, 27691, 33491, 10786, 60, 3256, 705, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 1877, 13, 33491, 10786, 6852, 3256, 705, 91, 27691, 33491, 10786, 93, 3256, 705, 61, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1877, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 4808, 21037, 62, 2032, 6320, 7, 738, 7483, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7282, 904, 12, 38532, 2196, 286, 1058, 76, 2788, 25, 63, 62, 21037, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 27421, 25, 262, 27421, 357, 17172, 3672, 393, 6518, 8, 284, 10385, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 30978, 2579, 1065, 12, 13159, 12, 23855, 3014, 2793, 7442, 2196, 286, 7559, 738, 7483, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 965, 628, 220, 220, 220, 220, 220, 220, 220, 770, 318, 644, 262, 1468, 1058, 76, 2788, 25, 63, 62, 21037, 63, 2163, 750, 878, 35643, 417, 767, 13, 15, 13, 632, 8739, 198, 220, 220, 220, 220, 220, 220, 220, 7559, 90, 92, 15506, 11, 7559, 21737, 15506, 11, 7559, 91, 15506, 11, 7559, 6852, 15506, 11, 7559, 61, 15506, 11, 290, 7559, 93, 15506, 23175, 13, 628, 220, 220, 220, 220, 220, 220, 220, 921, 6584, 470, 779, 428, 4556, 345, 761, 284, 32492, 8574, 3815, 422, 262, 198, 220, 220, 220, 220, 220, 220, 220, 2180, 11, 11491, 366, 21037, 7442, 1, 10552, 284, 262, 3376, 530, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 256, 44725, 9014, 2125, 470, 2622, 329, 42814, 11, 475, 318, 329, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 9619, 11, 543, 743, 307, 4465, 379, 617, 966, 287, 262, 2003, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 27421, 13, 21037, 22446, 33491, 10786, 90, 3256, 705, 17816, 737, 33491, 10786, 92, 3256, 705, 60, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 1877, 13, 33491, 10786, 91, 3256, 705, 6852, 27691, 33491, 10786, 61, 3256, 705, 93, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1877, 628, 220, 220, 220, 825, 318, 62, 17172, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 611, 262, 11440, 7483, 318, 257, 21814, 357, 72, 13, 68, 13, 407, 257, 6518, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 7559, 17821, 15506, 611, 428, 1058, 9078, 25, 4871, 25, 63, 33234, 7483, 63, 318, 257, 21814, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7559, 25101, 15506, 611, 340, 3568, 284, 307, 257, 6518, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 290, 407, 2116, 13, 9688, 2032, 342, 28264, 17620, 62, 40290, 274, 8, 628, 198, 4871, 25235, 7738, 1060, 7, 15252, 2599, 198, 220, 220, 220, 37227, 7738, 1060, 262, 5072, 284, 262, 12094, 290, 257, 2604, 2393, 13, 628, 220, 220, 220, 317, 27009, 2134, 973, 284, 3551, 284, 1111, 262, 12094, 290, 257, 2604, 2393, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 2604, 6978, 11, 336, 1082, 81, 28, 25101, 11, 5897, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16447, 281, 2134, 543, 481, 2604, 284, 1111, 257, 2393, 290, 262, 12094, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 2604, 6978, 25, 3108, 284, 262, 2604, 2393, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 20512, 336, 1082, 81, 25, 3551, 5072, 284, 336, 1082, 81, 611, 7559, 17821, 15506, 11, 393, 284, 14367, 448, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4306, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 20512, 5897, 25, 3551, 284, 262, 2604, 2393, 691, 611, 7559, 17821, 15506, 357, 392, 407, 284, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 12094, 8, 628, 220, 220, 220, 220, 220, 220, 220, 13610, 281, 2134, 543, 481, 2604, 284, 262, 2393, 379, 7559, 6404, 6978, 15506, 355, 880, 355, 198, 220, 220, 220, 220, 220, 220, 220, 262, 12094, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 6404, 6978, 796, 2604, 6978, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 301, 1082, 81, 796, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 39624, 796, 5897, 628, 220, 220, 220, 825, 3551, 7, 944, 11, 4731, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16594, 262, 1813, 7559, 8841, 15506, 284, 262, 2604, 7753, 290, 12094, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 4731, 25, 262, 4731, 284, 3551, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13, 39624, 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, 611, 2116, 13, 301, 1082, 81, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 834, 301, 1082, 81, 834, 13, 13564, 7, 8841, 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, 25064, 13, 834, 19282, 448, 834, 13, 13564, 7, 8841, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 25, 220, 1303, 16926, 46, 25, 1355, 2176, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 351, 40481, 82, 13, 9654, 7, 944, 13, 6404, 6978, 11, 705, 397, 3256, 21004, 2625, 40477, 23, 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, 8563, 11639, 19875, 10641, 5420, 33491, 11537, 355, 2604, 7753, 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, 2604, 7753, 13, 13564, 7, 8841, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 34371, 10707, 1098, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 356, 1392, 281, 12515, 4731, 11, 11512, 37773, 340, 284, 3384, 69, 12, 23, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 7753, 13, 13564, 7, 46903, 1098, 7, 8841, 11, 705, 40477, 23, 3256, 8563, 2625, 33491, 48774, 628, 220, 220, 220, 825, 24773, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7414, 1530, 262, 2393, 3597, 11876, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 301, 1082, 81, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 834, 301, 1082, 81, 834, 13, 25925, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 834, 19282, 448, 834, 13, 25925, 3419, 628, 198, 2, 2312, 2331, 284, 12854, 736, 284, 618, 356, 1807, 356, 2622, 257, 1949, 14, 16341, 319, 20842, 11, 198, 2, 780, 340, 3114, 588, 326, 373, 1521, 356, 547, 1719, 2761, 13, 198, 2, 775, 1183, 4268, 340, 287, 35643, 417, 807, 13, 15, 780, 340, 468, 587, 994, 329, 1290, 1165, 890, 1541, 13, 198, 31, 10378, 31023, 10786, 11041, 4600, 4798, 3419, 63, 2427, 286, 264, 404, 417, 13, 31391, 13, 19282, 448, 3256, 4615, 62, 259, 11639, 23, 13, 15, 11537, 628, 198, 4299, 336, 1082, 81, 7, 8841, 2599, 198, 220, 220, 220, 37227, 18557, 262, 1813, 7559, 8841, 15506, 284, 336, 1082, 81, 13, 628, 220, 220, 220, 1058, 17143, 965, 4731, 25, 262, 4731, 284, 5072, 628, 220, 220, 220, 770, 318, 7548, 284, 7559, 4798, 9609, 25064, 13, 301, 1082, 81, 11, 4731, 15506, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3601, 7, 8841, 11, 2393, 28, 17597, 13, 301, 1082, 81, 8, 628, 198, 4299, 2198, 62, 35317, 7, 35317, 2599, 198, 220, 220, 220, 37227, 9787, 611, 257, 1429, 318, 2491, 351, 262, 1813, 7559, 47, 2389, 15506, 13, 628, 220, 220, 220, 1058, 17143, 493, 46514, 25, 37022, 284, 2198, 198, 220, 220, 220, 1058, 7783, 20512, 25, 7559, 17821, 15506, 611, 262, 1813, 37022, 318, 2491, 11, 7559, 25101, 15506, 4306, 628, 220, 220, 220, 1635, 29841, 25, 28069, 10426, 3341, 691, 15885, 628, 220, 220, 220, 11485, 3465, 3712, 198, 220, 220, 220, 220, 220, 220, 220, 13225, 278, 262, 1058, 9078, 25, 20786, 25, 63, 418, 13, 12728, 63, 4069, 428, 2163, 2476, 319, 3964, 198, 220, 220, 220, 220, 220, 220, 220, 373, 8606, 287, 198, 220, 220, 220, 220, 220, 220, 220, 4600, 37906, 2071, 1303, 18444, 1795, 1279, 5450, 1378, 32965, 13, 29412, 13, 2398, 14, 21949, 18444, 1795, 29, 63, 62, 11, 523, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 9078, 25, 20786, 25, 63, 9122, 62, 35317, 63, 2314, 307, 973, 319, 3964, 3341, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 12728, 7, 35317, 11, 657, 8, 198, 220, 220, 220, 2845, 440, 5188, 81, 1472, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 198, 4299, 651, 62, 4774, 27932, 62, 260, 25636, 7, 27932, 2599, 198, 220, 220, 220, 37227, 3855, 257, 14102, 40364, 3912, 329, 281, 30039, 2583, 27932, 628, 220, 220, 220, 1058, 17143, 965, 9335, 25, 262, 2583, 27932, 326, 262, 3912, 815, 2872, 198, 220, 220, 220, 1058, 7783, 25, 257, 14102, 40364, 3912, 12336, 262, 1813, 7559, 27932, 15506, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 5420, 25, 63, 260, 13, 47546, 1279, 29412, 25, 260, 12, 48205, 29, 63, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 9335, 796, 302, 13, 41915, 7, 27932, 8, 198, 220, 220, 220, 9335, 796, 9335, 13, 33491, 7, 81, 6, 59, 9, 3256, 705, 15885, 11537, 198, 220, 220, 220, 1441, 302, 13, 5589, 576, 7, 27932, 1343, 705, 3, 3256, 302, 13, 40, 8, 628, 198, 4299, 651, 62, 6404, 1362, 7, 33803, 62, 3672, 2599, 198, 220, 220, 220, 37227, 13615, 257, 49706, 329, 257, 13877, 13, 628, 220, 220, 220, 1058, 17143, 965, 13877, 62, 3672, 25, 1438, 286, 262, 13877, 198, 220, 220, 220, 1058, 7783, 25, 262, 49706, 329, 262, 1813, 13877, 628, 220, 220, 220, 770, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 422, 264, 404, 417, 1330, 20652, 198, 220, 220, 220, 220, 220, 220, 220, 41605, 30373, 796, 20652, 13, 1136, 62, 6404, 1362, 10786, 1820, 62, 23144, 62, 33803, 11537, 628, 220, 220, 220, 318, 7548, 284, 428, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 1330, 18931, 198, 220, 220, 220, 220, 220, 220, 220, 41605, 30373, 796, 18931, 13, 1136, 11187, 1362, 10786, 82, 404, 417, 13, 1069, 759, 874, 13, 1820, 62, 23144, 62, 33803, 11537, 628, 220, 220, 220, 2445, 453, 11, 35643, 417, 4566, 942, 18931, 329, 262, 7559, 82, 404, 417, 15506, 25745, 11, 523, 198, 220, 220, 220, 7097, 20652, 460, 470, 4414, 422, 340, 351, 7559, 6404, 2667, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 15506, 198, 220, 220, 220, 355, 484, 1839, 470, 307, 287, 262, 976, 25745, 13, 770, 2163, 3544, 262, 198, 220, 220, 220, 7559, 33803, 62, 3672, 15506, 351, 257, 21231, 2641, 428, 25745, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 18931, 13, 1136, 11187, 1362, 10786, 82, 404, 417, 13, 1069, 759, 874, 13, 4, 82, 6, 4064, 13877, 62, 3672, 8, 628, 198, 4871, 35643, 417, 30871, 7, 11600, 2599, 198, 220, 220, 220, 37227, 32, 2829, 4704, 12, 21230, 7559, 11600, 15506, 7822, 13, 628, 220, 220, 220, 554, 1502, 284, 2948, 13269, 618, 11629, 803, 625, 262, 3815, 290, 5609, 198, 220, 220, 220, 606, 379, 262, 976, 640, 422, 1180, 14390, 11, 356, 779, 257, 12013, 5793, 287, 198, 220, 220, 220, 7559, 834, 2617, 9186, 834, 15506, 290, 7559, 3642, 1299, 15506, 13, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 513, 13, 16, 198, 220, 220, 220, 220, 220, 220, 220, 1081, 7559, 8743, 494, 13, 8743, 494, 30871, 15506, 198, 220, 220, 220, 11485, 2196, 40985, 3712, 604, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 337, 2668, 284, 7559, 31391, 13, 8743, 494, 30871, 15506, 198, 220, 220, 220, 11485, 2196, 40985, 3712, 718, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 7152, 2434, 422, 7559, 8743, 494, 30871, 15506, 284, 7559, 50, 404, 417, 30871, 15506, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 2617, 9186, 834, 7, 944, 11, 1994, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 257, 1994, 4961, 284, 257, 1988, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 8633, 318, 8970, 329, 584, 6797, 981, 1804, 523, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 330, 29782, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 8633, 13, 834, 2617, 9186, 834, 7, 944, 11, 1994, 11, 1988, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 825, 11593, 3642, 1299, 834, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 611, 257, 1994, 318, 287, 262, 8633, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 8633, 318, 8970, 329, 6797, 981, 1804, 523, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 330, 29782, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 8633, 13, 834, 3642, 1299, 834, 7, 944, 11, 1994, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 1303, 10664, 276, 284, 787, 340, 7952, 326, 356, 836, 470, 1337, 546, 262, 4600, 5354, 63, 11688, 198, 220, 220, 220, 1303, 618, 14176, 14, 71, 2140, 35643, 417, 30871, 5563, 13, 198, 220, 220, 220, 11593, 27363, 834, 796, 8633, 13, 834, 27363, 834, 198, 220, 220, 220, 11593, 710, 834, 796, 8633, 13, 834, 710, 834, 198, 220, 220, 220, 11593, 17831, 834, 796, 8633, 13, 834, 17831, 834, 628, 220, 220, 220, 2488, 10378, 31023, 198, 220, 220, 220, 825, 4909, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 611, 7559, 2539, 15506, 318, 287, 262, 4088, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 1994, 284, 2198, 329, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 39224, 3712, 767, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2561, 307, 4615, 287, 35643, 417, 807, 13, 1002, 345, 3588, 470, 1541, 1262, 262, 7559, 259, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10088, 11, 345, 815, 307, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 3642, 1299, 834, 7, 2539, 8, 628, 198, 4871, 35643, 417, 30871, 3152, 19463, 7, 12286, 11600, 2599, 198, 220, 220, 220, 37227, 30556, 355, 35643, 417, 30871, 11, 475, 850, 37724, 422, 17268, 13, 12286, 11600, 13, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 604, 13, 18, 198, 220, 220, 220, 220, 220, 220, 220, 1081, 7559, 8743, 494, 30871, 3152, 19463, 15506, 198, 220, 220, 220, 11485, 2196, 40985, 3712, 718, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 7152, 2434, 284, 7559, 50, 404, 417, 30871, 3152, 19463, 15506, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 2617, 9186, 834, 7, 944, 11, 1994, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 257, 1994, 4961, 284, 257, 1988, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 8633, 318, 8970, 329, 584, 6797, 981, 1804, 523, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 330, 29782, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 4277, 11600, 13, 834, 2617, 9186, 834, 7, 944, 11, 1994, 11, 1988, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 825, 11593, 3642, 1299, 834, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 611, 257, 1994, 318, 287, 262, 8633, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 8633, 318, 8970, 329, 6797, 981, 1804, 523, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 330, 29782, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 4277, 11600, 13, 834, 3642, 1299, 834, 7, 944, 11, 1994, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5354, 13, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 2488, 10378, 31023, 198, 220, 220, 220, 825, 4909, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 611, 7559, 2539, 15506, 318, 287, 262, 4088, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 1994, 284, 2198, 329, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 39224, 3712, 767, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2561, 307, 4615, 287, 35643, 417, 807, 13, 1002, 345, 3588, 470, 1541, 1262, 262, 7559, 259, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10088, 11, 345, 815, 307, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 3642, 1299, 834, 7, 2539, 8, 628, 198, 4871, 35643, 417, 33234, 7483, 30871, 7, 50, 404, 417, 30871, 2599, 198, 220, 220, 220, 37227, 13409, 35643, 417, 4088, 326, 7000, 7559, 33234, 7483, 15506, 355, 1994, 13, 628, 220, 220, 220, 770, 318, 257, 11282, 47611, 286, 1058, 4871, 25, 63, 50, 404, 417, 30871, 63, 326, 1464, 26217, 663, 198, 220, 220, 220, 8251, 355, 10245, 286, 1058, 4871, 25, 63, 33234, 7483, 63, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 422, 264, 404, 417, 1330, 4899, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 4088, 796, 4899, 13, 50, 404, 417, 33234, 7483, 30871, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 4088, 17816, 3109, 557, 75, 20520, 796, 705, 3364, 6, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 1351, 7, 31673, 13, 23814, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 47527, 33234, 7483, 10786, 3109, 557, 75, 33809, 705, 3364, 11537, 60, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 4899, 13, 33234, 7483, 10786, 1069, 557, 75, 11537, 287, 4088, 198, 220, 220, 220, 220, 220, 220, 220, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 705, 1069, 557, 75, 6, 287, 4088, 198, 220, 220, 220, 220, 220, 220, 220, 6407, 628, 220, 220, 220, 1081, 1775, 287, 262, 1672, 2029, 11, 340, 318, 1744, 284, 1620, 2972, 4560, 198, 220, 220, 220, 351, 1111, 7559, 33234, 7483, 15506, 290, 1058, 4871, 25, 63, 2536, 63, 5563, 11, 2263, 4621, 286, 262, 198, 220, 220, 220, 1339, 12, 1040, 18464, 4069, 286, 7559, 33234, 7483, 15506, 13, 628, 220, 220, 220, 11485, 3465, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 2445, 453, 11, 340, 481, 1949, 284, 466, 7559, 2539, 796, 4899, 13, 33234, 7483, 7, 2539, 8, 15506, 11, 543, 198, 220, 220, 220, 220, 220, 220, 220, 481, 5298, 281, 6631, 611, 340, 2314, 9113, 9386, 262, 1994, 6105, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13163, 4088, 58, 16, 60, 796, 705, 18224, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3460, 4163, 12331, 25, 705, 600, 6, 2134, 468, 645, 11688, 705, 21037, 6, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 767, 13, 16, 198, 220, 220, 220, 37227, 628, 198, 31, 10378, 31023, 7, 9641, 11639, 22, 13, 15, 3256, 4615, 62, 259, 11639, 23, 13, 15, 11537, 198, 4299, 651, 62, 32741, 62, 7753, 62, 392, 62, 1370, 7, 83, 65, 28, 14202, 2599, 198, 220, 220, 220, 37227, 3855, 262, 2393, 290, 1627, 1271, 810, 281, 6631, 3022, 13, 628, 220, 220, 220, 1058, 17143, 256, 65, 25, 262, 12854, 1891, 357, 2664, 262, 749, 2274, 6631, 611, 407, 1813, 8, 198, 220, 220, 220, 1058, 7783, 25, 257, 46545, 286, 262, 29472, 290, 1627, 1271, 198, 220, 220, 220, 1058, 81, 4906, 25, 357, 2536, 11, 493, 8, 628, 220, 220, 220, 11485, 39224, 3712, 767, 13, 15, 628, 220, 220, 220, 220, 220, 220, 220, 5765, 11361, 338, 3170, 12, 259, 18931, 1080, 11, 351, 262, 7559, 6404, 1362, 13, 1069, 4516, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 2446, 13, 770, 2446, 1838, 1654, 284, 2604, 262, 6631, 351, 262, 12854, 1891, 198, 220, 220, 220, 220, 220, 220, 220, 290, 262, 5981, 1321, 357, 34345, 11, 1627, 1271, 11, 3503, 15729, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 256, 65, 25, 198, 220, 220, 220, 220, 220, 220, 220, 256, 65, 796, 25064, 13, 41194, 62, 10951, 3419, 58, 17, 60, 628, 220, 220, 220, 29472, 11, 9493, 23397, 11, 4808, 22866, 11, 4808, 1370, 796, 12854, 1891, 13, 2302, 974, 62, 83, 65, 7, 83, 65, 38381, 12, 16, 60, 628, 220, 220, 220, 1441, 29472, 11, 9493, 23397, 628, 198, 4299, 6333, 62, 2220, 364, 46491, 75, 12582, 62, 2220, 364, 2599, 198, 220, 220, 220, 37227, 35491, 16931, 3440, 364, 656, 530, 13, 628, 220, 220, 220, 1058, 17143, 16931, 62, 2220, 364, 25, 530, 393, 517, 16931, 40213, 5499, 198, 220, 220, 220, 1058, 4906, 16931, 62, 2220, 364, 25, 1058, 4354, 25, 63, 8818, 63, 198, 220, 220, 220, 1058, 7783, 25, 257, 16931, 40213, 326, 21001, 477, 286, 262, 1813, 3392, 198, 220, 220, 220, 1058, 81, 4906, 25, 1058, 4354, 25, 63, 8818, 63, 628, 220, 220, 220, 770, 2163, 2753, 597, 1271, 286, 16931, 3440, 364, 355, 7159, 290, 4017, 3212, 606, 198, 220, 220, 220, 1978, 656, 530, 13, 632, 338, 7525, 257, 31904, 329, 16931, 3896, 11705, 2024, 884, 355, 198, 220, 220, 220, 1058, 20786, 25, 63, 82, 404, 417, 13, 33803, 13, 6371, 62, 75, 12582, 44646, 628, 220, 220, 220, 11485, 1593, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 1595, 470, 2198, 262, 49650, 286, 40364, 274, 7560, 416, 198, 220, 220, 220, 220, 220, 220, 220, 477, 262, 3440, 364, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 40682, 62, 29356, 198 ]
2.559701
10,025
""" Produce TREC fair ranking runs from an oracle. This script assumes the data lives in a directory 'data'. It loads the training topics and uses them as an oracle for producing rankings. Usage: oracle-runs.py --task1 [options] oracle-runs.py --task2 [options] Options: -v, --verbose Write verbose logging output. -o FILE Write output to FILE. -p PREC, --precision=PREC Produce results with the specified precision [default: 0.9]. """ import sys from pathlib import Path import logging from tqdm import tqdm from docopt import docopt import pandas as pd import numpy as np _log = logging.getLogger('oracle-runs') if __name__ == '__main__': opts = docopt(__doc__) main(opts)
[ 37811, 198, 11547, 344, 309, 38827, 3148, 12759, 4539, 422, 281, 393, 6008, 13, 198, 198, 1212, 4226, 18533, 262, 1366, 3160, 287, 257, 8619, 705, 7890, 4458, 220, 632, 15989, 262, 3047, 198, 4852, 873, 290, 3544, 606, 355, 281, 393, 6008, 329, 9194, 16905, 13, 198, 198, 28350, 25, 198, 220, 220, 220, 393, 6008, 12, 48381, 13, 9078, 1377, 35943, 16, 685, 25811, 60, 198, 220, 220, 220, 393, 6008, 12, 48381, 13, 9078, 1377, 35943, 17, 685, 25811, 60, 198, 198, 29046, 25, 198, 220, 220, 220, 532, 85, 11, 1377, 19011, 577, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 15942, 577, 18931, 5072, 13, 198, 220, 220, 220, 532, 78, 45811, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 5072, 284, 45811, 13, 198, 220, 220, 220, 532, 79, 22814, 34, 11, 1377, 3866, 16005, 28, 47, 38827, 198, 220, 220, 220, 220, 220, 220, 220, 21522, 344, 2482, 351, 262, 7368, 15440, 685, 12286, 25, 657, 13, 24, 4083, 198, 37811, 198, 198, 11748, 25064, 198, 6738, 3108, 8019, 1330, 10644, 198, 11748, 18931, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 6738, 2205, 8738, 1330, 2205, 8738, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 198, 62, 6404, 796, 18931, 13, 1136, 11187, 1362, 10786, 273, 6008, 12, 48381, 11537, 628, 628, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 2172, 82, 796, 2205, 8738, 7, 834, 15390, 834, 8, 198, 220, 220, 220, 1388, 7, 404, 912, 8 ]
2.775281
267
import argparse import csv import requests import urllib3 from urllib.parse import urljoin from lib import decrypt_beacon, decode_config, JsonEncoder import multiprocessing from functools import partial import datetime import pandas as pd if __name__ == "__main__": parser = argparse.ArgumentParser(description='Extract Cobalt Strike beacon and configuration from a list of server') parser.add_argument('HOSTLIST', help='List of IP addresses or domains from a file') parser.add_argument('--PROCESS','-j', help='Number of process to be active simultaneously', default=10, type=int) parser.add_argument('--PORT','-p', help='Specify port on which scan will occur. Default: port 443', default=443, type=int) parser.add_argument('--BITS','-b', help='Specify which version of payload the script should request (32 or 64 bits). Default: 32', default=32, type=int, choices=[32, 64]) parser.add_argument('--HTTP', help='If specified, made request http and NOT https. Default : nothing', default=False, action='store_true') parser.add_argument('--format','-f', help='Specify format (csv or json). Default : csv', default="csv", choices=['csv', 'json']) args = parser.parse_args() ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) df = mp_handler(args.HOSTLIST, args.PROCESS, args.BITS, args.PORT, args.HTTP) header = ["host", "result", "ssl", "port", ".http-get.uri", ".http-post.uri", ".user-agent", ".watermark", "bits"] df["port"] = args.PORT df["ssl"] = not args.HTTP df["bits"] = args.BITS # Add columns if they are missing for h in header: if h not in df: df[h] = "" try: if args.format == "csv": df.to_csv(f'{datetime.date.today()}-{args.PORT}-test-output.csv', columns=header, index=False, doublequote=True, escapechar=",", quoting=csv.QUOTE_ALL) print(f'[+] Output success : {datetime.date.today()}-{args.PORT}-test-output.csv') else: df.to_json(f'{datetime.date.today()}-{args.PORT}-test-output.json', orient='records') print(f'[+] Output success : {datetime.date.today()}-{args.PORT}-test-output.json') except Exception as e: print("[-] Error during output : " + str(e))
[ 11748, 1822, 29572, 198, 11748, 269, 21370, 198, 11748, 7007, 198, 11748, 2956, 297, 571, 18, 198, 6738, 2956, 297, 571, 13, 29572, 1330, 19016, 22179, 198, 6738, 9195, 1330, 42797, 62, 1350, 7807, 11, 36899, 62, 11250, 11, 449, 1559, 27195, 12342, 198, 11748, 18540, 305, 919, 278, 198, 6738, 1257, 310, 10141, 1330, 13027, 198, 11748, 4818, 8079, 198, 11748, 19798, 292, 355, 279, 67, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 11627, 974, 14828, 2501, 12282, 34538, 290, 8398, 422, 257, 1351, 286, 4382, 11537, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 39, 10892, 45849, 3256, 1037, 11639, 8053, 286, 6101, 9405, 393, 18209, 422, 257, 2393, 11537, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 4805, 4503, 7597, 3256, 29001, 73, 3256, 1037, 11639, 15057, 286, 1429, 284, 307, 4075, 11640, 3256, 4277, 28, 940, 11, 2099, 28, 600, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 15490, 3256, 29001, 79, 3256, 1037, 11639, 22882, 1958, 2493, 319, 543, 9367, 481, 3051, 13, 15161, 25, 2493, 40384, 3256, 4277, 28, 34938, 11, 2099, 28, 600, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 26094, 50, 3256, 29001, 65, 3256, 1037, 11639, 22882, 1958, 543, 2196, 286, 21437, 262, 4226, 815, 2581, 357, 2624, 393, 5598, 10340, 737, 15161, 25, 3933, 3256, 4277, 28, 2624, 11, 2099, 28, 600, 11, 7747, 41888, 2624, 11, 5598, 12962, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 40717, 3256, 1037, 11639, 1532, 7368, 11, 925, 2581, 220, 2638, 290, 5626, 3740, 13, 15161, 1058, 2147, 3256, 4277, 28, 25101, 11, 2223, 11639, 8095, 62, 7942, 11537, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 18982, 3256, 29001, 69, 3256, 1037, 11639, 22882, 1958, 5794, 357, 40664, 393, 33918, 737, 15161, 1058, 269, 21370, 3256, 4277, 2625, 40664, 1600, 7747, 28, 17816, 40664, 3256, 705, 17752, 6, 12962, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 334, 64, 796, 366, 44, 8590, 5049, 14, 20, 13, 15, 357, 11209, 24563, 838, 13, 15, 26, 7178, 2414, 26, 2124, 2414, 8, 4196, 13908, 20827, 14, 46096, 13, 2623, 357, 42, 28656, 11, 588, 2269, 37549, 8, 13282, 14, 2154, 13, 15, 13, 2327, 2548, 13, 3324, 23298, 14, 46096, 13, 2623, 1, 198, 220, 220, 220, 2956, 297, 571, 18, 13, 40223, 62, 40539, 654, 7, 333, 297, 571, 18, 13, 1069, 11755, 13, 818, 22390, 18453, 20361, 8, 628, 220, 220, 220, 47764, 796, 29034, 62, 30281, 7, 22046, 13, 39, 10892, 45849, 11, 26498, 13, 4805, 4503, 7597, 11, 26498, 13, 26094, 50, 11, 26498, 13, 15490, 11, 26498, 13, 40717, 8, 198, 220, 220, 220, 13639, 796, 14631, 4774, 1600, 366, 20274, 1600, 366, 45163, 1600, 366, 634, 1600, 27071, 4023, 12, 1136, 13, 9900, 1600, 27071, 4023, 12, 7353, 13, 9900, 1600, 27071, 7220, 12, 25781, 1600, 27071, 7050, 4102, 1600, 366, 9895, 8973, 198, 220, 220, 220, 47764, 14692, 634, 8973, 796, 26498, 13, 15490, 198, 220, 220, 220, 47764, 14692, 45163, 8973, 796, 407, 26498, 13, 40717, 198, 220, 220, 220, 47764, 14692, 9895, 8973, 796, 26498, 13, 26094, 50, 198, 220, 220, 220, 1303, 3060, 15180, 611, 484, 389, 4814, 198, 220, 220, 220, 329, 289, 287, 13639, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 289, 407, 287, 47764, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 58, 71, 60, 796, 13538, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 13, 18982, 6624, 366, 40664, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 13, 1462, 62, 40664, 7, 69, 6, 90, 19608, 8079, 13, 4475, 13, 40838, 3419, 92, 12, 90, 22046, 13, 15490, 92, 12, 9288, 12, 22915, 13, 40664, 3256, 15180, 28, 25677, 11, 6376, 28, 25101, 11, 4274, 22708, 28, 17821, 11, 6654, 10641, 28, 2430, 11, 28411, 28, 40664, 13, 10917, 23051, 62, 7036, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 6, 58, 10, 60, 25235, 1943, 1058, 1391, 19608, 8079, 13, 4475, 13, 40838, 3419, 92, 12, 90, 22046, 13, 15490, 92, 12, 9288, 12, 22915, 13, 40664, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 13, 1462, 62, 17752, 7, 69, 6, 90, 19608, 8079, 13, 4475, 13, 40838, 3419, 92, 12, 90, 22046, 13, 15490, 92, 12, 9288, 12, 22915, 13, 17752, 3256, 11367, 11639, 8344, 3669, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 6, 58, 10, 60, 25235, 1943, 1058, 1391, 19608, 8079, 13, 4475, 13, 40838, 3419, 92, 12, 90, 22046, 13, 15490, 92, 12, 9288, 12, 22915, 13, 17752, 11537, 198, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 58, 12, 60, 13047, 1141, 5072, 1058, 366, 1343, 965, 7, 68, 4008, 198 ]
2.700226
884
# The MIT-Zero License # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # 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. # 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 numpy as np from music21 import midi import pypianoroll from pypianoroll import Multitrack from texttable import Texttable from constants import Constants def process_midi(midi_file, beat_resolution, program=0, ignore_warnings=False): '''Takes path to an input midi file and parses it to pianoroll :param input_midi: Path to midi file :param beat_resolution :return: parsed painoroll ''' multi_track = pypianoroll.Multitrack(beat_resolution=beat_resolution) multi_track_onsets = multi_track.copy() try: multi_track.parse_midi(midi_file, skip_empty_tracks=False, collect_onsets_only=False, algorithm='custom', first_beat_time=0) multi_track_onsets.parse_midi(midi_file, skip_empty_tracks=False, collect_onsets_only=True, algorithm='custom', first_beat_time=0) except: print("ERROR - midi file: {} is invalid. Ignoring during preprocessing".format( midi_file)) pass # Merge regular pianoroll with onsets to make sure to not miss any notes for track_onset in multi_track_onsets.tracks: multi_track.append_track(track_onset) # Convert the PianoRoll to binary ignoring the values of velocities multi_track.pad_to_multiple(Constants.number_of_timesteps) multi_track.binarize() track_indices = [] # to merge all the voices track_indices_drum = [] # to merge drums for index,track in enumerate(multi_track.tracks): if track.is_drum: track_indices_drum.append(index) else: track_indices.append(index) if len(track_indices) == 0 and not ignore_warnings: print("WARNING - midi file: {} is empty. Ignoring during preprocessing".format(midi_file)) pass if len(track_indices_drum) == 0 and not ignore_warnings: print("WARNING - midi file: {} has no drum. Ignoring during preprocessing".format(midi_file)) pass multi_track.merge_tracks(track_indices=track_indices, mode='any', program=program, remove_merged=False) pianoroll = multi_track.tracks[-1].pianoroll drums = np.zeros((pianoroll.shape[0], 128), bool) if len(track_indices_drum) > 0: multi_track.merge_tracks(track_indices=track_indices_drum, mode='any', is_drum=True, remove_merged=False) drums = multi_track.tracks[-1].pianoroll return pianoroll,drums def process_pianoroll(pianoroll, drums, total_time_steps_shifted_per_sample, total_timesteps_per_nbars): '''Takes path to an input midi file and parses it to pianoroll :param pianoroll: pianoroll obtained after parsing midi file :param time_steps_shifted_per_sample: number of bars to be shifted in timesteps param timesteps_per_nbars: total number of timesteps to be included in processed pianoroll :return: parsed painoroll sections ''' if Constants.split_into_two_voices: time_steps_shifted_per_sample = total_time_steps_shifted_per_sample // 2 timesteps_per_nbars = total_timesteps_per_nbars // 2 else: time_steps_shifted_per_sample = total_time_steps_shifted_per_sample timesteps_per_nbars = total_timesteps_per_nbars # instead squeeze drums at the end of the pianoroll pianoroll_start = Constants.voices_maximum pianoroll_end = pianoroll_start + len(Constants.drums) pianoroll[:,pianoroll_start:pianoroll_end] = np.take(drums, axis=1, indices=Constants.drums) pianoroll[:,pianoroll_end:].fill(0) pianoroll_sections = [] truncated_pianoroll_length = pianoroll.shape[0]# - (pianoroll.shape[0] % timesteps_per_nbars) for i in range(0, truncated_pianoroll_length - timesteps_per_nbars + 1, time_steps_shifted_per_sample): if Constants.split_into_two_voices: pianoroll_section = pianoroll[i:i + timesteps_per_nbars, :] drum_section = drums[i:i + timesteps_per_nbars, :] section = np.concatenate((pianoroll_section, drum_section)) else: section = pianoroll[i:i + timesteps_per_nbars, :] if section.any(): pianoroll_sections.append(section) else: break return pianoroll_sections def play_midi(input_midi): '''Takes path to an input and plays the midi file in the notebook cell :param input_midi: Path to midi file :return: ''' midi_object = midi.MidiFile() midi_object.open(input_midi) midi_object.read() midi_object.close() show_midi = midi.translate.midiFileToStream(midi_object) show_midi.show('midi') def plot_pianoroll(pianoroll, beat_resolution, fig_name=None): '''Plot a Single Track Pianoroll image :param pianoroll: Pianoroll tensor of shape time_steps * pitches :return: ''' pypianoroll.plot_track(pypianoroll.Track(pianoroll=pianoroll), fig_name, beat_resolution) def get_music_metrics(input_midi, beat_resolution, track=0): """Takes a midifile as an input and Returns the following metrics :param input_midi: Path to midi file :param beat_resolution: :param trac: Instrument number in the multi track midi file :return: The following metrics are returned 1.) n_pitch_classes_used is the unique pitch classes used in a pianoroll. 2.) polyphonic_rate ie ratio of the number of time steps where the number of pitches being played is larger than `threshold` to the total number of time steps in a pianoroll 3.) in_scale_rate is the ratio of the number of nonzero entries that lie in a specific scale to the total number of nonzero entries in a pianoroll. 4.) n_pitches_used is the the number of unique pitches used in a pianoroll.""" midi_data = Multitrack(input_midi, beat_resolution) piano_roll = midi_data.tracks[track].pianoroll n_pitch_classes_used = pypianoroll.metrics.n_pitch_classes_used(piano_roll) polyphonic_rate = pypianoroll.metrics.polyphonic_rate(piano_roll) in_scale_rate = pypianoroll.metrics.in_scale_rate(piano_roll) n_pitches_used = pypianoroll.metrics.n_pitches_used(piano_roll) metrics = [ n_pitch_classes_used, polyphonic_rate, n_pitches_used, in_scale_rate ] metrics_table = [[ "n_pitch_classes_used", "in_scale_rate", "polyphonic_rate", "n_pitches_used" ], metrics] table = Texttable() table.add_rows(metrics_table) print(table.draw())
[ 2, 383, 17168, 12, 28667, 13789, 198, 198, 2, 15069, 12131, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 1439, 6923, 33876, 13, 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, 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, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 2647, 2481, 1330, 3095, 72, 198, 11748, 279, 4464, 666, 273, 692, 198, 6738, 279, 4464, 666, 273, 692, 1330, 7854, 270, 39638, 198, 6738, 2420, 11487, 1330, 8255, 11487, 198, 198, 6738, 38491, 1330, 4757, 1187, 198, 198, 4299, 1429, 62, 13602, 72, 7, 13602, 72, 62, 7753, 11, 4405, 62, 29268, 11, 1430, 28, 15, 11, 8856, 62, 40539, 654, 28, 25101, 2599, 198, 220, 220, 220, 705, 7061, 51, 1124, 3108, 284, 281, 5128, 3095, 72, 2393, 290, 13544, 274, 340, 284, 43923, 273, 692, 198, 220, 220, 220, 1058, 17143, 5128, 62, 13602, 72, 25, 10644, 284, 3095, 72, 2393, 198, 220, 220, 220, 1058, 17143, 4405, 62, 29268, 198, 220, 220, 220, 1058, 7783, 25, 44267, 2356, 273, 692, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5021, 62, 11659, 796, 279, 4464, 666, 273, 692, 13, 15205, 270, 39638, 7, 12945, 62, 29268, 28, 12945, 62, 29268, 8, 198, 220, 220, 220, 5021, 62, 11659, 62, 684, 1039, 796, 5021, 62, 11659, 13, 30073, 3419, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5021, 62, 11659, 13, 29572, 62, 13602, 72, 7, 13602, 72, 62, 7753, 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, 14267, 62, 28920, 62, 46074, 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, 2824, 62, 684, 1039, 62, 8807, 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, 11862, 11639, 23144, 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, 717, 62, 12945, 62, 2435, 28, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5021, 62, 11659, 62, 684, 1039, 13, 29572, 62, 13602, 72, 7, 13602, 72, 62, 7753, 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, 14267, 62, 28920, 62, 46074, 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, 2824, 62, 684, 1039, 62, 8807, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11862, 11639, 23144, 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, 717, 62, 12945, 62, 2435, 28, 15, 8, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 24908, 532, 3095, 72, 2393, 25, 23884, 318, 12515, 13, 16583, 3255, 1141, 662, 36948, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3095, 72, 62, 7753, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 1303, 39407, 3218, 43923, 273, 692, 351, 319, 28709, 284, 787, 1654, 284, 407, 2051, 597, 4710, 198, 220, 220, 220, 329, 2610, 62, 684, 316, 287, 5021, 62, 11659, 62, 684, 1039, 13, 46074, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5021, 62, 11659, 13, 33295, 62, 11659, 7, 11659, 62, 684, 316, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 38240, 262, 46605, 26869, 284, 13934, 15482, 262, 3815, 286, 11555, 420, 871, 628, 220, 220, 220, 5021, 62, 11659, 13, 15636, 62, 1462, 62, 48101, 7, 34184, 1187, 13, 17618, 62, 1659, 62, 16514, 395, 25386, 8, 198, 220, 220, 220, 5021, 62, 11659, 13, 8800, 283, 1096, 3419, 198, 220, 220, 220, 2610, 62, 521, 1063, 796, 17635, 220, 197, 197, 2, 284, 20121, 477, 262, 10839, 198, 220, 220, 220, 2610, 62, 521, 1063, 62, 67, 6582, 796, 17635, 1303, 284, 20121, 24730, 198, 220, 220, 220, 329, 6376, 11, 11659, 287, 27056, 378, 7, 41684, 62, 11659, 13, 46074, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2610, 13, 271, 62, 67, 6582, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2610, 62, 521, 1063, 62, 67, 6582, 13, 33295, 7, 9630, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2610, 62, 521, 1063, 13, 33295, 7, 9630, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 611, 18896, 7, 11659, 62, 521, 1063, 8, 6624, 657, 290, 407, 8856, 62, 40539, 654, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 31502, 532, 3095, 72, 2393, 25, 23884, 318, 6565, 13, 16583, 3255, 1141, 662, 36948, 1911, 18982, 7, 13602, 72, 62, 7753, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 611, 18896, 7, 11659, 62, 521, 1063, 62, 67, 6582, 8, 6624, 657, 290, 407, 8856, 62, 40539, 654, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 31502, 532, 3095, 72, 2393, 25, 23884, 468, 645, 13026, 13, 16583, 3255, 1141, 662, 36948, 1911, 18982, 7, 13602, 72, 62, 7753, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 5021, 62, 11659, 13, 647, 469, 62, 46074, 7, 11659, 62, 521, 1063, 28, 11659, 62, 521, 1063, 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, 4235, 11639, 1092, 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, 1430, 28, 23065, 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, 4781, 62, 647, 2004, 28, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 43923, 273, 692, 796, 5021, 62, 11659, 13, 46074, 58, 12, 16, 4083, 79, 666, 273, 692, 198, 220, 220, 220, 24730, 796, 45941, 13, 9107, 418, 19510, 79, 666, 273, 692, 13, 43358, 58, 15, 4357, 13108, 828, 20512, 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, 198, 220, 220, 220, 611, 18896, 7, 11659, 62, 521, 1063, 62, 67, 6582, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5021, 62, 11659, 13, 647, 469, 62, 46074, 7, 11659, 62, 521, 1063, 28, 11659, 62, 521, 1063, 62, 67, 6582, 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, 4235, 11639, 1092, 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, 318, 62, 67, 6582, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4781, 62, 647, 2004, 28, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 24730, 796, 5021, 62, 11659, 13, 46074, 58, 12, 16, 4083, 79, 666, 273, 692, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 43923, 273, 692, 11, 7109, 5700, 628, 198, 4299, 1429, 62, 79, 666, 273, 692, 7, 79, 666, 273, 692, 11, 24730, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 2435, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 16514, 395, 25386, 62, 525, 62, 77, 34046, 2599, 198, 220, 220, 220, 705, 7061, 51, 1124, 3108, 284, 281, 5128, 3095, 72, 2393, 290, 13544, 274, 340, 284, 43923, 273, 692, 198, 220, 220, 220, 1058, 17143, 43923, 273, 692, 25, 43923, 273, 692, 6492, 706, 32096, 3095, 72, 2393, 198, 220, 220, 220, 1058, 17143, 640, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 25, 1271, 286, 9210, 284, 307, 14869, 287, 4628, 395, 25386, 198, 220, 220, 220, 5772, 4628, 395, 25386, 62, 525, 62, 77, 34046, 25, 2472, 1271, 286, 4628, 395, 25386, 284, 307, 3017, 287, 13686, 43923, 273, 692, 198, 220, 220, 220, 1058, 7783, 25, 44267, 2356, 273, 692, 9004, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 611, 4757, 1187, 13, 35312, 62, 20424, 62, 11545, 62, 13038, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 640, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 796, 2472, 62, 2435, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 3373, 362, 198, 220, 220, 220, 220, 220, 220, 220, 4628, 395, 25386, 62, 525, 62, 77, 34046, 796, 2472, 62, 16514, 395, 25386, 62, 525, 62, 77, 34046, 3373, 362, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 640, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 796, 2472, 62, 2435, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 198, 220, 220, 220, 220, 220, 220, 220, 4628, 395, 25386, 62, 525, 62, 77, 34046, 796, 2472, 62, 16514, 395, 25386, 62, 525, 62, 77, 34046, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2427, 21229, 24730, 379, 262, 886, 286, 262, 43923, 273, 692, 198, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 62, 9688, 796, 4757, 1187, 13, 13038, 1063, 62, 47033, 198, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 62, 437, 796, 43923, 273, 692, 62, 9688, 1343, 18896, 7, 34184, 1187, 13, 7109, 5700, 8, 198, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 58, 45299, 79, 666, 273, 692, 62, 9688, 25, 79, 666, 273, 692, 62, 437, 60, 796, 45941, 13, 20657, 7, 7109, 5700, 11, 16488, 28, 16, 11, 36525, 28, 34184, 1187, 13, 7109, 5700, 8, 198, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 58, 45299, 79, 666, 273, 692, 62, 437, 25, 4083, 20797, 7, 15, 8, 628, 220, 220, 220, 43923, 273, 692, 62, 23946, 796, 17635, 198, 220, 220, 220, 40122, 515, 62, 79, 666, 273, 692, 62, 13664, 796, 43923, 273, 692, 13, 43358, 58, 15, 60, 2, 532, 357, 79, 666, 273, 692, 13, 43358, 58, 15, 60, 4064, 4628, 395, 25386, 62, 525, 62, 77, 34046, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 15, 11, 40122, 515, 62, 79, 666, 273, 692, 62, 13664, 532, 4628, 395, 25386, 62, 525, 62, 77, 34046, 1343, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 640, 62, 20214, 62, 1477, 21715, 62, 525, 62, 39873, 2599, 198, 197, 197, 197, 197, 197, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4757, 1187, 13, 35312, 62, 20424, 62, 11545, 62, 13038, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 62, 5458, 796, 43923, 273, 692, 58, 72, 25, 72, 1343, 4628, 395, 25386, 62, 525, 62, 77, 34046, 11, 1058, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13026, 62, 5458, 796, 24730, 58, 72, 25, 72, 1343, 4628, 395, 25386, 62, 525, 62, 77, 34046, 11, 1058, 60, 197, 197, 197, 197, 197, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 796, 45941, 13, 1102, 9246, 268, 378, 19510, 79, 666, 273, 692, 62, 5458, 11, 13026, 62, 5458, 4008, 197, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 197, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 796, 43923, 273, 692, 58, 72, 25, 72, 1343, 4628, 395, 25386, 62, 525, 62, 77, 34046, 11, 1058, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2665, 13, 1092, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43923, 273, 692, 62, 23946, 13, 33295, 7, 5458, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 43923, 273, 692, 62, 23946, 198, 198, 4299, 711, 62, 13602, 72, 7, 15414, 62, 13602, 72, 2599, 198, 220, 220, 220, 705, 7061, 51, 1124, 3108, 284, 281, 5128, 290, 5341, 262, 3095, 72, 2393, 287, 262, 20922, 2685, 198, 220, 220, 220, 1058, 17143, 5128, 62, 13602, 72, 25, 10644, 284, 3095, 72, 2393, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 3095, 72, 62, 15252, 796, 3095, 72, 13, 44, 19830, 8979, 3419, 198, 220, 220, 220, 3095, 72, 62, 15252, 13, 9654, 7, 15414, 62, 13602, 72, 8, 198, 220, 220, 220, 3095, 72, 62, 15252, 13, 961, 3419, 198, 220, 220, 220, 3095, 72, 62, 15252, 13, 19836, 3419, 198, 220, 220, 220, 905, 62, 13602, 72, 796, 3095, 72, 13, 7645, 17660, 13, 13602, 72, 8979, 2514, 12124, 7, 13602, 72, 62, 15252, 8, 198, 220, 220, 220, 905, 62, 13602, 72, 13, 12860, 10786, 13602, 72, 11537, 628, 198, 4299, 7110, 62, 79, 666, 273, 692, 7, 79, 666, 273, 692, 11, 4405, 62, 29268, 11, 2336, 62, 3672, 28, 14202, 2599, 198, 220, 220, 220, 705, 7061, 43328, 257, 14206, 17762, 350, 666, 273, 692, 2939, 198, 220, 220, 220, 1058, 17143, 43923, 273, 692, 25, 350, 666, 273, 692, 11192, 273, 286, 5485, 640, 62, 20214, 1635, 22421, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 279, 4464, 666, 273, 692, 13, 29487, 62, 11659, 7, 79, 4464, 666, 273, 692, 13, 24802, 7, 79, 666, 273, 692, 28, 79, 666, 273, 692, 828, 2336, 62, 3672, 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, 4405, 62, 29268, 8, 628, 198, 4299, 651, 62, 28965, 62, 4164, 10466, 7, 15414, 62, 13602, 72, 11, 4405, 62, 29268, 11, 2610, 28, 15, 2599, 198, 220, 220, 220, 37227, 51, 1124, 257, 3095, 361, 576, 355, 281, 5128, 290, 16409, 262, 1708, 20731, 198, 220, 220, 220, 1058, 17143, 5128, 62, 13602, 72, 25, 10644, 284, 3095, 72, 2393, 198, 220, 220, 220, 1058, 17143, 4405, 62, 29268, 25, 198, 220, 220, 220, 1058, 17143, 491, 330, 25, 42410, 1271, 287, 262, 5021, 2610, 3095, 72, 2393, 198, 220, 220, 220, 1058, 7783, 25, 383, 1708, 20731, 389, 4504, 198, 220, 220, 220, 352, 2014, 299, 62, 79, 2007, 62, 37724, 62, 1484, 318, 262, 3748, 7078, 6097, 973, 287, 257, 43923, 273, 692, 13, 198, 220, 220, 220, 362, 2014, 7514, 746, 9229, 62, 4873, 37941, 8064, 286, 262, 1271, 286, 640, 4831, 810, 262, 1271, 286, 22421, 198, 220, 220, 220, 220, 220, 220, 220, 852, 2826, 318, 4025, 621, 4600, 400, 10126, 63, 284, 262, 2472, 1271, 286, 640, 4831, 287, 198, 220, 220, 220, 220, 220, 220, 220, 257, 43923, 273, 692, 198, 220, 220, 220, 513, 2014, 287, 62, 9888, 62, 4873, 318, 262, 8064, 286, 262, 1271, 286, 1729, 22570, 12784, 326, 6486, 287, 257, 2176, 5046, 198, 220, 220, 220, 220, 220, 220, 220, 284, 262, 2472, 1271, 286, 1729, 22570, 12784, 287, 257, 43923, 273, 692, 13, 198, 220, 220, 220, 604, 2014, 299, 62, 79, 9249, 62, 1484, 318, 262, 262, 1271, 286, 3748, 22421, 973, 287, 257, 43923, 273, 692, 526, 15931, 628, 220, 220, 220, 3095, 72, 62, 7890, 796, 7854, 270, 39638, 7, 15414, 62, 13602, 72, 11, 4405, 62, 29268, 8, 198, 220, 220, 220, 19132, 62, 2487, 796, 3095, 72, 62, 7890, 13, 46074, 58, 11659, 4083, 79, 666, 273, 692, 198, 220, 220, 220, 299, 62, 79, 2007, 62, 37724, 62, 1484, 796, 279, 4464, 666, 273, 692, 13, 4164, 10466, 13, 77, 62, 79, 2007, 62, 37724, 62, 1484, 7, 79, 10115, 62, 2487, 8, 198, 220, 220, 220, 7514, 746, 9229, 62, 4873, 796, 279, 4464, 666, 273, 692, 13, 4164, 10466, 13, 35428, 746, 9229, 62, 4873, 7, 79, 10115, 62, 2487, 8, 198, 220, 220, 220, 287, 62, 9888, 62, 4873, 796, 279, 4464, 666, 273, 692, 13, 4164, 10466, 13, 259, 62, 9888, 62, 4873, 7, 79, 10115, 62, 2487, 8, 198, 220, 220, 220, 299, 62, 79, 9249, 62, 1484, 796, 279, 4464, 666, 273, 692, 13, 4164, 10466, 13, 77, 62, 79, 9249, 62, 1484, 7, 79, 10115, 62, 2487, 8, 198, 220, 220, 220, 20731, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 299, 62, 79, 2007, 62, 37724, 62, 1484, 11, 7514, 746, 9229, 62, 4873, 11, 299, 62, 79, 9249, 62, 1484, 11, 287, 62, 9888, 62, 4873, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 20731, 62, 11487, 796, 16410, 198, 220, 220, 220, 220, 220, 220, 220, 366, 77, 62, 79, 2007, 62, 37724, 62, 1484, 1600, 366, 259, 62, 9888, 62, 4873, 1600, 366, 35428, 746, 9229, 62, 4873, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 77, 62, 79, 9249, 62, 1484, 1, 198, 220, 220, 220, 16589, 20731, 60, 198, 220, 220, 220, 3084, 796, 8255, 11487, 3419, 198, 220, 220, 220, 3084, 13, 2860, 62, 8516, 7, 4164, 10466, 62, 11487, 8, 198, 220, 220, 220, 3601, 7, 11487, 13, 19334, 28955, 198 ]
2.301118
3,487
from core.constraints.hard.hard_constraint_1 import violates_hard_constraint_1 from core.constraints.hard.hard_constraint_2 import violates_hard_constraint_2 from core.constraints.soft.soft_constraint_1 import penalty_of_soft_constraint_1 from core.constraints.soft.soft_constraint_2 import penalty_of_soft_constraint_2 from core.constraints.soft.soft_constraint_3 import penalty_of_soft_constraint_3 from core.constraints.soft.soft_constraint_4 import penalty_of_soft_constraint_4 from core.constraints.soft.soft_constraint_5 import penalty_of_soft_constraint_5 from core.constraints.soft.soft_constraint_6 import penalty_of_soft_constraint_6 from core.constraints.soft.soft_constraint_7 import penalty_of_soft_constraint_7 from core.constraints.soft.soft_constraint_8 import penalty_of_soft_constraint_8 """ to learn how to add new constraints, read `core/constraints/modify_constraints.md` """ HARD_CONSTRAINT_FUNCS = [ { "id": 1, "func": violates_hard_constraint_1, "desc": "No two classes can take place in the same room at the same Timeslot." }, { "id": 2, "func": violates_hard_constraint_2, "desc": "No Instructor can take more than one class at a given Timeslot." }, ] SOFT_CONSTRAINT_FUNCS = [ { "id": 1, "unit_penalty": 0.9, "func": penalty_of_soft_constraint_1, "desc": "Instructors should only take certain courses they are are assigned to." }, { "id": 2, "unit_penalty": 0.85, "func": penalty_of_soft_constraint_2, "desc": "A particular Room should only allow Classes of certain Courses." }, { "id": 3, "unit_penalty": 0.6, "func": penalty_of_soft_constraint_3, "desc": "CourseGroups have Timeslot preferences." }, { "id": 4, "unit_penalty": 0.5, "func": penalty_of_soft_constraint_4, "desc": "Instructors have Timeslot preferences." }, { "id": 5, "unit_penalty": 1.0, "func": penalty_of_soft_constraint_5, "desc": "If a Course has 2 Lectures Per Week, it should take place in a composite Timeslot i.e. with Day code of 'ST' or 'MW'." }, { "id": 6, "unit_penalty": 0.8, "func": penalty_of_soft_constraint_6, "desc": "The Lab Section of a Course (if any) should be placed in a Timeslot that is before or after the corresponding Theory Section." }, { "id": 7, "unit_penalty": 0.6, "func": penalty_of_soft_constraint_7, "desc": "The Theory Section and the corresponding Lab Section of a Course (if any) should be taken by the same Instructor." }, { "id": 8, "unit_penalty": 0.9, "func": penalty_of_soft_constraint_8, "desc": "Instructors have minimum credit load requirements." }, ]
[ 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 10424, 13, 10424, 62, 1102, 2536, 2913, 62, 16, 1330, 21806, 62, 10424, 62, 1102, 2536, 2913, 62, 16, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 10424, 13, 10424, 62, 1102, 2536, 2913, 62, 17, 1330, 21806, 62, 10424, 62, 1102, 2536, 2913, 62, 17, 198, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 16, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 16, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 17, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 17, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 18, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 18, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 19, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 19, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 20, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 20, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 21, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 21, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 22, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 22, 198, 6738, 4755, 13, 1102, 2536, 6003, 13, 4215, 13, 4215, 62, 1102, 2536, 2913, 62, 23, 1330, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 23, 628, 198, 37811, 284, 2193, 703, 284, 751, 649, 17778, 11, 1100, 4600, 7295, 14, 1102, 2536, 6003, 14, 4666, 1958, 62, 1102, 2536, 6003, 13, 9132, 63, 37227, 198, 198, 39, 9795, 62, 10943, 2257, 3861, 12394, 62, 42296, 7902, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 352, 11, 366, 20786, 1298, 21806, 62, 10424, 62, 1102, 2536, 2913, 62, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 2949, 734, 6097, 460, 1011, 1295, 287, 262, 976, 2119, 379, 262, 976, 3782, 26487, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 362, 11, 366, 20786, 1298, 21806, 62, 10424, 62, 1102, 2536, 2913, 62, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 2949, 47839, 460, 1011, 517, 621, 530, 1398, 379, 257, 1813, 3782, 26487, 526, 198, 220, 220, 220, 8964, 198, 60, 198, 198, 15821, 9792, 62, 10943, 2257, 3861, 12394, 62, 42296, 7902, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 352, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 24, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 43993, 669, 815, 691, 1011, 1728, 10902, 484, 389, 389, 8686, 284, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 362, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 5332, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 32, 1948, 10096, 815, 691, 1249, 38884, 286, 1728, 2734, 8448, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 513, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 21, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 49046, 38, 14459, 423, 3782, 26487, 15387, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 604, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 20, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 43993, 669, 423, 3782, 26487, 15387, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 642, 11, 366, 20850, 62, 3617, 6017, 1298, 352, 13, 15, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 1532, 257, 20537, 468, 362, 31209, 942, 2448, 6119, 11, 340, 815, 1011, 1295, 287, 257, 24185, 3782, 26487, 1312, 13, 68, 13, 351, 3596, 2438, 286, 705, 2257, 6, 393, 705, 14326, 30827, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 718, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 23, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 21, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 464, 3498, 7275, 286, 257, 20537, 357, 361, 597, 8, 815, 307, 4624, 287, 257, 3782, 26487, 326, 318, 878, 393, 706, 262, 11188, 17003, 7275, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 767, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 21, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 22, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 464, 17003, 7275, 290, 262, 11188, 3498, 7275, 286, 257, 20537, 357, 361, 597, 8, 815, 307, 2077, 416, 262, 976, 47839, 526, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 807, 11, 366, 20850, 62, 3617, 6017, 1298, 657, 13, 24, 11, 366, 20786, 1298, 7389, 62, 1659, 62, 4215, 62, 1102, 2536, 2913, 62, 23, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 20147, 1298, 366, 43993, 669, 423, 5288, 3884, 3440, 5359, 526, 198, 220, 220, 220, 8964, 198, 60, 198 ]
2.520699
1,087
#!/usr/bin/env python # Provide code as arg: ./whatever.py "0000 ... ..." import binascii import struct if __name__ == '__main__': import sys for code in sys.argv[1:]: pronto = bytearray.fromhex(code) pulses = pronto2lirc(pronto) output = "" count = 0 for pulse in pulses: if count%2 != 0: output += "{},".format(pulse*-1) else: output += "{},".format(pulse) count += 1 print "["+output[:-1]+"]"
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 2, 44290, 2438, 355, 1822, 25, 24457, 39664, 13, 9078, 366, 2388, 2644, 35713, 220, 198, 198, 11748, 9874, 292, 979, 72, 198, 11748, 2878, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 220, 198, 220, 220, 220, 1330, 25064, 628, 220, 220, 220, 329, 2438, 287, 25064, 13, 853, 85, 58, 16, 25, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 778, 5957, 796, 416, 83, 451, 2433, 13, 6738, 33095, 7, 8189, 8, 198, 220, 220, 220, 220, 220, 220, 220, 37783, 796, 778, 5957, 17, 75, 1980, 7, 1050, 5957, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 954, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 329, 19445, 287, 37783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 954, 4, 17, 14512, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 15853, 45144, 9063, 13, 18982, 7, 79, 9615, 9, 12, 16, 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, 5072, 15853, 45144, 9063, 13, 18982, 7, 79, 9615, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 12878, 1, 10, 22915, 58, 21912, 16, 48688, 8973, 1, 198 ]
1.973783
267
import torch from torch import nn class MutualInfoLoss(nn.Module): """ Mutual Information Loss derived from ss-with-RIM that also applied in this work. First term enforces to generate a sparse nSpixel dimension vector for each pixel; Second term indicates the cardinality of each spixel. Args: logits: torch.tensor A trainable tensor of shape (b, nSpixel, h, w) that represents the probability of each pixel belonging to all spixels. It should be softmaxed before calling this loss funtion. coef: float A coefficient that controls the amplitude of second term. """ class SmoothContourLoss(nn.Module): """ Loss function that contains smoothness loss derived from ss-with-RIM and contour-aware loss. Smoothness loss concerns about smoothness of local patterns, while contour-aware loss is interested in whether two patches are divided. Cross entropy (or KL divergence) is applied to calculate Contour-aware loss. When calculating the gradients of probability, i.e. dp, and that of image, i.e. di, we desire that the distribution of dp should appoximate that of di. Args: logits: torch.tensor A trainable tensor of shape (b, nSpixel, h, w) It should be softmaxed before calling this loss function. image: torch.tensor A tensor derived from color channels of input with shape (b, c, h, w) sigma: float Parameter of transformed Gaussian kernel size weights: List[float] A List contains 2 coefficients that control the amplitudes of 2 losses thresh: float Parameter for controling the amplitude of edge margin: int Parameter for finding edge width """ class ReconstructionLoss(nn.Module): """ Reconstruction loss for validating whether the features extracted by CNN are effective Args: pred_img: torch.tensor A trainable tensor of shape (b, c, h, w), where c = 3 in default image: torch.tensor A tensor of shape (b, c, h, w) that is derived from color channels of input """ class Loss(nn.Module): """ Calculate total loss Args: pred_spixel: List[List[torch.tensor]] containing 2 Lists with spixel probabilities in x and y dir pred_img: tensor.tensor A trainable tensor of shape (b, c, h, w), where c is 3 in default img_in: tensor.tensor An input tensor of shape (b, c, h, w), where c is 20 in default These features consists of 15-channel features extracted by CNN, and 5-channel RGB () loss_weights: List[float] Weights for MutualInfoLoss, SmoothContourLoss, CompactnessLoss and Reconstruction in sequence sc_weights: List[float] Weights for SmoothContourLoss thresh: float A parameter for SmoothContourLoss coef_card: float Parameter for MutualInfoLoss sigma: float Parameter for SmoothContourLoss margin: int Parameter for SmoothContourLoss Returns: total_loss: torch.tensor A trainable tensor indicating final loss losses: List[torch.tensor] A List containing aforementioned losses in sequence """
[ 11748, 28034, 201, 198, 6738, 28034, 1330, 299, 77, 201, 198, 201, 198, 201, 198, 4871, 48807, 12360, 43, 793, 7, 20471, 13, 26796, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 48807, 6188, 22014, 10944, 422, 37786, 12, 4480, 12, 49, 3955, 326, 635, 5625, 287, 201, 198, 220, 220, 220, 220, 220, 220, 220, 428, 670, 13, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3274, 3381, 551, 27087, 284, 7716, 257, 29877, 299, 4561, 7168, 15793, 15879, 329, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1123, 17465, 26, 5498, 3381, 9217, 262, 38691, 414, 286, 1123, 599, 7168, 13, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 896, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 4512, 540, 11192, 273, 286, 5485, 357, 65, 11, 299, 4561, 7168, 11, 289, 11, 266, 8, 326, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6870, 262, 12867, 286, 1123, 17465, 16686, 284, 477, 599, 14810, 13, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 632, 815, 307, 2705, 9806, 276, 878, 4585, 428, 2994, 1257, 5378, 13, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 763, 891, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 35381, 326, 6973, 262, 37188, 286, 1218, 3381, 13, 201, 198, 220, 220, 220, 37227, 201, 198, 201, 198, 201, 198, 4871, 37002, 4264, 454, 43, 793, 7, 20471, 13, 26796, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 22014, 2163, 326, 4909, 7209, 1108, 2994, 10944, 422, 37786, 12, 4480, 12, 49, 3955, 201, 198, 220, 220, 220, 220, 220, 220, 220, 290, 542, 454, 12, 9685, 2994, 13, 201, 198, 220, 220, 220, 220, 220, 220, 220, 37002, 1108, 2994, 4786, 546, 7209, 1108, 286, 1957, 7572, 11, 981, 201, 198, 220, 220, 220, 220, 220, 220, 220, 542, 454, 12, 9685, 2994, 318, 4609, 287, 1771, 734, 16082, 389, 9086, 13, 201, 198, 220, 220, 220, 220, 220, 220, 220, 6372, 40709, 357, 273, 48253, 43366, 8, 318, 5625, 284, 15284, 2345, 454, 12, 9685, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 13, 1649, 26019, 262, 3915, 2334, 286, 12867, 11, 1312, 13, 68, 13, 288, 79, 11, 290, 326, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 286, 2939, 11, 1312, 13, 68, 13, 2566, 11, 356, 6227, 326, 262, 6082, 286, 288, 79, 815, 598, 1140, 1920, 201, 198, 220, 220, 220, 220, 220, 220, 220, 326, 286, 2566, 13, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 896, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 4512, 540, 11192, 273, 286, 5485, 357, 65, 11, 299, 4561, 7168, 11, 289, 11, 266, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 632, 815, 307, 2705, 9806, 276, 878, 4585, 428, 2994, 2163, 13, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2939, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 11192, 273, 10944, 422, 3124, 9619, 286, 5128, 351, 5485, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 65, 11, 269, 11, 289, 11, 266, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 13495, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 286, 14434, 12822, 31562, 9720, 2546, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19590, 25, 7343, 58, 22468, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 7343, 4909, 362, 44036, 326, 1630, 262, 12306, 10455, 286, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 9089, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 294, 3447, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 329, 1246, 1359, 262, 37188, 286, 5743, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10330, 25, 493, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 329, 4917, 5743, 9647, 201, 198, 220, 220, 220, 37227, 201, 198, 201, 198, 201, 198, 4871, 45060, 43, 793, 7, 20471, 13, 26796, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 45060, 2994, 329, 4938, 803, 1771, 262, 3033, 21242, 416, 201, 198, 220, 220, 220, 220, 220, 220, 220, 8100, 389, 4050, 201, 198, 201, 198, 220, 220, 220, 943, 14542, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2747, 62, 9600, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 4512, 540, 11192, 273, 286, 5485, 357, 65, 11, 269, 11, 289, 11, 266, 828, 810, 269, 796, 513, 287, 4277, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2939, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 11192, 273, 286, 5485, 357, 65, 11, 269, 11, 289, 11, 266, 8, 326, 318, 10944, 422, 3124, 9619, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 286, 5128, 201, 198, 220, 220, 220, 37227, 201, 198, 201, 198, 201, 198, 4871, 22014, 7, 20471, 13, 26796, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 27131, 378, 2472, 2994, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 62, 2777, 7168, 25, 7343, 58, 8053, 58, 13165, 354, 13, 83, 22854, 11907, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7268, 362, 44968, 351, 599, 7168, 39522, 287, 2124, 290, 331, 26672, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 62, 9600, 25, 11192, 273, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 4512, 540, 11192, 273, 286, 5485, 357, 65, 11, 269, 11, 289, 11, 266, 828, 810, 269, 318, 513, 287, 4277, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33705, 62, 259, 25, 11192, 273, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1052, 5128, 11192, 273, 286, 5485, 357, 65, 11, 269, 11, 289, 11, 266, 828, 810, 269, 318, 1160, 287, 4277, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2312, 3033, 10874, 286, 1315, 12, 17620, 3033, 21242, 416, 8100, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 642, 12, 17620, 25228, 7499, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2994, 62, 43775, 25, 7343, 58, 22468, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 775, 2337, 329, 48807, 12360, 43, 793, 11, 37002, 4264, 454, 43, 793, 11, 37904, 1108, 43, 793, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 45060, 287, 8379, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 629, 62, 43775, 25, 7343, 58, 22468, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 775, 2337, 329, 37002, 4264, 454, 43, 793, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 294, 3447, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 11507, 329, 37002, 4264, 454, 43, 793, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 763, 891, 62, 9517, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 329, 48807, 12360, 43, 793, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 13495, 25, 12178, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 329, 37002, 4264, 454, 43, 793, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10330, 25, 493, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25139, 2357, 329, 37002, 4264, 454, 43, 793, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 22462, 25, 28034, 13, 83, 22854, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 4512, 540, 11192, 273, 12739, 2457, 2994, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9089, 25, 7343, 58, 13165, 354, 13, 83, 22854, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 317, 7343, 7268, 20794, 9089, 287, 8379, 201, 198, 220, 220, 220, 37227, 201, 198 ]
2.204743
1,729
from engi_mod import * Card( name = "Turret", type = "power", target = "self", rarity = "uncommon", cost = 1, const = dict( DAMAGE = 6, DAMAGE_UPGRADE = 3, MAGIC_NUMBER = "DAMAGE", ), desc = "At the end of your turn, deal !M! damage to a random enemy.", upgrade_code = """ upgradeName(); upgradeMagicNumber(DAMAGE_UPGRADE); """, ) Power( name = "Turret", desc = [ "At the end of your turn, deal #b", " damage to a random enemy." ], desc_expr = "DESCRIPTIONS[0] + amount + DESCRIPTIONS[1]", code = """ @Override public void atEndOfTurn(final boolean isPlayer) { if (AbstractDungeon.getCurrRoom().monsters.areMonstersBasicallyDead()) { AbstractDungeon.actionManager.clearPostCombatActions(); return; } flash(); AbstractMonster target = AbstractDungeon.getMonsters().getRandomMonster(true); if (target.currentHealth > 0) { AbstractDungeon.actionManager.addToBottom( new DamageAction((AbstractCreature)target, new DamageInfo(owner, amount, DamageInfo.DamageType.THORNS)) ); } } """, icon = "armor", )
[ 6738, 1786, 72, 62, 4666, 1330, 1635, 198, 198, 16962, 7, 198, 220, 220, 220, 1438, 796, 366, 17483, 1186, 1600, 198, 220, 220, 220, 2099, 796, 366, 6477, 1600, 198, 220, 220, 220, 2496, 796, 366, 944, 1600, 198, 220, 220, 220, 32823, 796, 366, 403, 11321, 1600, 198, 220, 220, 220, 1575, 796, 352, 11, 198, 220, 220, 220, 1500, 796, 8633, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29506, 11879, 796, 718, 11, 198, 220, 220, 220, 220, 220, 220, 220, 29506, 11879, 62, 52, 6968, 49, 19266, 796, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 28263, 2149, 62, 41359, 13246, 796, 366, 35, 2390, 11879, 1600, 198, 220, 220, 220, 10612, 198, 220, 220, 220, 1715, 796, 366, 2953, 262, 886, 286, 534, 1210, 11, 1730, 5145, 44, 0, 2465, 284, 257, 4738, 4472, 33283, 198, 220, 220, 220, 8515, 62, 8189, 796, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8515, 5376, 9783, 198, 220, 220, 220, 220, 220, 220, 220, 8515, 22975, 15057, 7, 35, 2390, 11879, 62, 52, 6968, 49, 19266, 1776, 198, 220, 220, 220, 13538, 1600, 198, 8, 198, 13434, 7, 198, 220, 220, 220, 1438, 796, 366, 17483, 1186, 1600, 198, 220, 220, 220, 1715, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2953, 262, 886, 286, 534, 1210, 11, 1730, 1303, 65, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2465, 284, 257, 4738, 4472, 526, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 1715, 62, 31937, 796, 366, 30910, 36584, 51, 11053, 58, 15, 60, 1343, 2033, 1343, 22196, 36584, 51, 11053, 58, 16, 60, 1600, 198, 220, 220, 220, 2438, 796, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 37961, 198, 220, 220, 220, 220, 220, 220, 220, 1171, 7951, 379, 12915, 5189, 17278, 7, 20311, 25131, 318, 14140, 8, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 23839, 30128, 6281, 13, 1136, 26628, 81, 41178, 22446, 2144, 5937, 13, 533, 9069, 5937, 31524, 20489, 28955, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27741, 30128, 6281, 13, 2673, 13511, 13, 20063, 6307, 38667, 32, 2733, 9783, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7644, 9783, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27741, 40872, 2496, 796, 27741, 30128, 6281, 13, 1136, 9069, 5937, 22446, 1136, 29531, 40872, 7, 7942, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 16793, 13, 14421, 18081, 1875, 657, 8, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27741, 30128, 6281, 13, 2673, 13511, 13, 2860, 2514, 34104, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 8995, 12502, 19510, 23839, 16719, 495, 8, 16793, 11, 649, 8995, 12360, 7, 18403, 11, 2033, 11, 8995, 12360, 13, 22022, 6030, 13, 4221, 1581, 8035, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5619, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 13538, 1600, 198, 220, 220, 220, 7196, 796, 366, 40456, 1600, 198, 8, 198 ]
2.137931
609
#!/usr/bin/python3 """ Define a class City that inherits from Base """ from sqlalchemy import Column, Integer, String, ForeignKey from model_state import Base class City(Base): """ A class City that inherits from Base """ __tablename__ = "cities" id = Column(Integer, primary_key=True, nullable=False, unique=True, autoincrement=True) name = Column(String(128), nullable=False) state_id = Column(Integer, ForeignKey('states.id'), nullable=False)
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 37811, 198, 7469, 500, 257, 1398, 2254, 326, 10639, 896, 422, 7308, 198, 37811, 198, 198, 6738, 44161, 282, 26599, 1330, 29201, 11, 34142, 11, 10903, 11, 8708, 9218, 198, 6738, 2746, 62, 5219, 1330, 7308, 628, 198, 4871, 2254, 7, 14881, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 1398, 2254, 326, 10639, 896, 422, 7308, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 8658, 11925, 480, 834, 796, 366, 66, 871, 1, 198, 220, 220, 220, 4686, 796, 29201, 7, 46541, 11, 4165, 62, 2539, 28, 17821, 11, 9242, 540, 28, 25101, 11, 3748, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8295, 24988, 434, 28, 17821, 8, 198, 220, 220, 220, 1438, 796, 29201, 7, 10100, 7, 12762, 828, 9242, 540, 28, 25101, 8, 198, 220, 220, 220, 1181, 62, 312, 796, 29201, 7, 46541, 11, 8708, 9218, 10786, 27219, 13, 312, 33809, 9242, 540, 28, 25101, 8, 198 ]
2.79096
177
from collections import defaultdict from compressor.templatetags.compress import CompressorNode from django.template import ( Library, Node, Template, TemplateSyntaxError, Context) register = Library() CONTEXT_VARIABLE_NAME = 'static_grouper_dict' register.tag('addstatic', AddStaticNode) register.tag('static_list', StaticListNode)
[ 6738, 17268, 1330, 4277, 11600, 198, 6738, 49395, 13, 11498, 489, 265, 316, 3775, 13, 5589, 601, 1330, 3082, 44292, 19667, 198, 198, 6738, 42625, 14208, 13, 28243, 1330, 357, 198, 220, 220, 220, 10074, 11, 19081, 11, 37350, 11, 37350, 13940, 41641, 12331, 11, 30532, 8, 198, 198, 30238, 796, 10074, 3419, 628, 198, 10943, 32541, 62, 53, 1503, 3539, 19146, 62, 20608, 796, 705, 12708, 62, 70, 472, 525, 62, 11600, 6, 628, 198, 30238, 13, 12985, 10786, 2860, 12708, 3256, 3060, 45442, 19667, 8, 628, 198, 30238, 13, 12985, 10786, 12708, 62, 4868, 3256, 36125, 8053, 19667, 8, 198 ]
3.382353
102
# Generated by Django 3.1.1 on 2020-09-17 21:20 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 16, 13, 16, 319, 12131, 12, 2931, 12, 1558, 2310, 25, 1238, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
from django.conf.urls import url from coverage_score_viewer.views import index, states, districts, municipalities, details, search, coverage_chart from map.views import map urlpatterns = [ url(r'^$', index, name='index'), url(r'^states/$', states, name='states'), url(r'^districts/$', districts, name='districts'), url(r'^municipalities/$', municipalities, name='municipalities'), url(r'^details/(?P<boundary_id>\d+)$', details, name='details'), url(r'^search$', search, name='search'), url(r'^coverage-chart.svg', coverage_chart, name='coverage_chart'), url(r'^map/$', map, name='map'), ]
[ 6738, 42625, 14208, 13, 10414, 13, 6371, 82, 1330, 19016, 198, 6738, 5197, 62, 26675, 62, 1177, 263, 13, 33571, 1330, 6376, 11, 2585, 11, 12815, 11, 29364, 11, 3307, 11, 2989, 11, 5197, 62, 40926, 198, 6738, 3975, 13, 33571, 1330, 3975, 198, 198, 6371, 33279, 82, 796, 685, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 3, 3256, 6376, 11, 1438, 11639, 9630, 33809, 628, 220, 220, 220, 19016, 7, 81, 6, 61, 27219, 32624, 3256, 2585, 11, 1438, 11639, 27219, 33809, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 17080, 2012, 82, 32624, 3256, 12815, 11, 1438, 11639, 17080, 2012, 82, 33809, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 6199, 4311, 27969, 32624, 3256, 29364, 11, 1438, 11639, 6199, 4311, 27969, 33809, 628, 220, 220, 220, 19016, 7, 81, 6, 61, 36604, 29006, 30, 47, 27, 7784, 560, 62, 312, 29, 59, 67, 28988, 3, 3256, 3307, 11, 1438, 11639, 36604, 33809, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 12947, 3, 3256, 2989, 11, 1438, 11639, 12947, 33809, 628, 220, 220, 220, 19016, 7, 81, 6, 61, 1073, 1857, 12, 40926, 13, 21370, 70, 3256, 5197, 62, 40926, 11, 1438, 11639, 1073, 1857, 62, 40926, 33809, 628, 220, 220, 220, 19016, 7, 81, 6, 61, 8899, 32624, 3256, 3975, 11, 1438, 11639, 8899, 33809, 198, 60, 198 ]
2.774336
226
#Hanoi tower import time diskNumber = 1 while diskNumber != 0: print("============================") diskNumber = input("Give how many disk you have.\nGive 0 to end.\n============================\n") print("============================") diskNumber=int(diskNumber) moveTower(diskNumber,"A","C","B") print("Thanks for your time.") time.sleep(4)
[ 2, 39, 5733, 72, 10580, 201, 198, 201, 198, 11748, 640, 201, 198, 201, 198, 39531, 15057, 796, 352, 201, 198, 4514, 11898, 15057, 14512, 657, 25, 201, 198, 220, 220, 220, 3601, 7203, 4770, 25609, 4943, 201, 198, 220, 220, 220, 11898, 15057, 796, 5128, 7203, 23318, 703, 867, 11898, 345, 423, 13, 59, 77, 23318, 657, 284, 886, 13, 59, 77, 4770, 25609, 59, 77, 4943, 201, 198, 220, 220, 220, 3601, 7203, 4770, 25609, 4943, 201, 198, 220, 220, 220, 11898, 15057, 28, 600, 7, 39531, 15057, 8, 201, 198, 220, 220, 220, 1445, 51, 789, 7, 39531, 15057, 553, 32, 2430, 34, 2430, 33, 4943, 201, 198, 201, 198, 4798, 7203, 9690, 329, 534, 640, 19570, 201, 198, 2435, 13, 42832, 7, 19, 8, 201, 198 ]
2.930769
130
import requests from errors import PermissionsMissing # Servers # Subusers if __name__ == "__main__": print("I dont run. No use in trying to make me lol")
[ 11748, 7007, 198, 6738, 8563, 1330, 2448, 8481, 43730, 628, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 2930, 690, 628, 220, 220, 220, 1303, 220, 220, 3834, 18417, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 3601, 7203, 40, 17666, 1057, 13, 1400, 779, 287, 2111, 284, 787, 502, 19462, 4943, 198 ]
2.825397
63
from Containers.ParsedStructure import ParsedElement from Tools.misc import strip_all from Grammar.Top_Grammar import Top_Grammar from Grammar.Functions import ExpressionFactory import logging log = logging.getLogger(__name__)
[ 6738, 2345, 50221, 13, 47, 945, 276, 1273, 5620, 1330, 23042, 276, 20180, 198, 6738, 20003, 13, 44374, 1330, 10283, 62, 439, 198, 6738, 20159, 3876, 13, 9126, 62, 38, 859, 3876, 1330, 5849, 62, 38, 859, 3876, 198, 6738, 20159, 3876, 13, 24629, 2733, 1330, 41986, 22810, 198, 198, 11748, 18931, 198, 6404, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8 ]
3.492308
65
from .aggregates import ( AggregateDiff, ) from .fields import ( FieldDiff, FieldDiffContainer, IncrementalFieldDiff, )
[ 6738, 764, 9460, 2301, 689, 1330, 357, 198, 220, 220, 220, 19015, 49373, 28813, 11, 198, 8, 198, 6738, 764, 25747, 1330, 357, 198, 220, 220, 220, 7663, 28813, 11, 198, 220, 220, 220, 7663, 28813, 29869, 11, 198, 220, 220, 220, 10791, 37098, 15878, 28813, 11, 198, 8, 198 ]
2.72
50
from marshmallow_jsonapi import fields from marshmallow_jsonapi.flask import Schema from app.api.helpers.utilities import dasherize from utils.common import use_defaults @use_defaults() class EventImageSizeSchema(Schema): """ Api schema for image_size Model """ class Meta: """ Meta class for image_size Api Schema """ type_ = 'event-image-size' self_view = 'v1.event_image_size_detail' self_view_kwargs = {'id': '<id>'} inflect = dasherize id = fields.Str(dump_only=True) type = fields.Str(allow_none=True) full_width = fields.Integer(validate=lambda n: n >= 0, allow_none=True) full_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) full_aspect = fields.Boolean(default=False) full_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True) icon_width = fields.Integer(validate=lambda n: n >= 0, allow_none=True) icon_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) icon_aspect = fields.Boolean(default=False) icon_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True) thumbnail_width = fields.Integer(validate=lambda n: n >= 0, allow_none=True) thumbnail_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) thumbnail_aspect = fields.Boolean(default=False) thumbnail_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True) logo_width = fields.Integer(validate=lambda n: n >= 0, allow_none=True) logo_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) @use_defaults() class SpeakerImageSizeSchema(Schema): """ Api schema for image_size Model """ class Meta: """ Meta class for image_size Api Schema """ type_ = 'speaker-image-size' self_view = 'v1.speaker_image_size_detail' self_view_kwargs = {'id': '<id>'} inflect = dasherize id = fields.Str(dump_only=True) type = fields.Str(allow_none=True) small_size_width_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) small_size_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True) thumbnail_size_width_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) thumbnail_size_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True) icon_size_width_height = fields.Integer(validate=lambda n: n >= 0, allow_none=True) icon_size_quality = fields.Integer(validate=lambda n: 0 <= n <= 100, allow_none=True)
[ 6738, 22397, 42725, 62, 17752, 15042, 1330, 7032, 198, 6738, 22397, 42725, 62, 17752, 15042, 13, 2704, 2093, 1330, 10011, 2611, 198, 198, 6738, 598, 13, 15042, 13, 16794, 364, 13, 315, 2410, 1330, 288, 31218, 1096, 198, 6738, 3384, 4487, 13, 11321, 1330, 779, 62, 12286, 82, 628, 198, 31, 1904, 62, 12286, 82, 3419, 198, 4871, 8558, 5159, 10699, 27054, 2611, 7, 27054, 2611, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5949, 72, 32815, 329, 2939, 62, 7857, 9104, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1398, 30277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 30277, 1398, 329, 2939, 62, 7857, 5949, 72, 10011, 2611, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 62, 796, 705, 15596, 12, 9060, 12, 7857, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 62, 1177, 796, 705, 85, 16, 13, 15596, 62, 9060, 62, 7857, 62, 49170, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 62, 1177, 62, 46265, 22046, 796, 1391, 6, 312, 10354, 705, 27, 312, 29, 6, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1167, 801, 796, 288, 31218, 1096, 628, 220, 220, 220, 4686, 796, 7032, 13, 13290, 7, 39455, 62, 8807, 28, 17821, 8, 198, 220, 220, 220, 2099, 796, 7032, 13, 13290, 7, 12154, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 1336, 62, 10394, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 1336, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 1336, 62, 292, 806, 796, 7032, 13, 46120, 13087, 7, 12286, 28, 25101, 8, 198, 220, 220, 220, 1336, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 7196, 62, 10394, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 7196, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 7196, 62, 292, 806, 796, 7032, 13, 46120, 13087, 7, 12286, 28, 25101, 8, 198, 220, 220, 220, 7196, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 40901, 62, 10394, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 40901, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 40901, 62, 292, 806, 796, 7032, 13, 46120, 13087, 7, 12286, 28, 25101, 8, 198, 220, 220, 220, 40901, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 11112, 62, 10394, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 11112, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 628, 198, 31, 1904, 62, 12286, 82, 3419, 198, 4871, 14931, 5159, 10699, 27054, 2611, 7, 27054, 2611, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5949, 72, 32815, 329, 2939, 62, 7857, 9104, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1398, 30277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 30277, 1398, 329, 2939, 62, 7857, 5949, 72, 10011, 2611, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 62, 796, 705, 4125, 3110, 12, 9060, 12, 7857, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 62, 1177, 796, 705, 85, 16, 13, 4125, 3110, 62, 9060, 62, 7857, 62, 49170, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 62, 1177, 62, 46265, 22046, 796, 1391, 6, 312, 10354, 705, 27, 312, 29, 6, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1167, 801, 796, 288, 31218, 1096, 628, 220, 220, 220, 4686, 796, 7032, 13, 13290, 7, 39455, 62, 8807, 28, 17821, 8, 198, 220, 220, 220, 2099, 796, 7032, 13, 13290, 7, 12154, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 1402, 62, 7857, 62, 10394, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 1402, 62, 7857, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 40901, 62, 7857, 62, 10394, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 40901, 62, 7857, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 7196, 62, 7857, 62, 10394, 62, 17015, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 299, 18189, 657, 11, 1249, 62, 23108, 28, 17821, 8, 198, 220, 220, 220, 7196, 62, 7857, 62, 13237, 796, 7032, 13, 46541, 7, 12102, 378, 28, 50033, 299, 25, 657, 19841, 299, 19841, 1802, 11, 1249, 62, 23108, 28, 17821, 8, 198 ]
2.583085
1,005
# Space: O(n) # Time: O(n)
[ 198, 2, 4687, 25, 440, 7, 77, 8, 198, 2, 3862, 25, 440, 7, 77, 8, 628, 628, 628, 628, 198 ]
1.714286
21
from django.db import models # car Model with input/attributes make, model, year, mpg
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 198, 2, 1097, 9104, 351, 5128, 14, 1078, 7657, 787, 11, 2746, 11, 614, 11, 285, 6024 ]
3.44
25
import ecfactory.mnt_cycles as mnt_cycles # Example (find an MNT cycle with D = -19) cycles = mnt_cycles.make_cycle(-19) print('Found a cycle: ' + str(cycles[0][0]) + ', ' + str(cycles[0][1]))
[ 11748, 9940, 69, 9548, 13, 76, 429, 62, 32503, 355, 285, 429, 62, 32503, 198, 198, 2, 17934, 357, 19796, 281, 337, 11251, 6772, 351, 360, 796, 532, 1129, 8, 198, 32503, 796, 285, 429, 62, 32503, 13, 15883, 62, 13696, 32590, 1129, 8, 198, 4798, 10786, 21077, 257, 6772, 25, 705, 1343, 965, 7, 32503, 58, 15, 7131, 15, 12962, 1343, 46083, 705, 1343, 965, 7, 32503, 58, 15, 7131, 16, 60, 4008 ]
2.608108
74
import os import pytest import mock from pipenv._compat import TemporaryDirectory from pipenv.core import warn_in_virtualenv, load_dot_env from pipenv.utils import temp_environ @mock.patch('pipenv.environments.PIPENV_VIRTUALENV', 'totallyrealenv') @mock.patch('pipenv.environments.PIPENV_VERBOSITY', -1) @pytest.mark.core @pytest.mark.core @pytest.mark.core @pytest.mark.core
[ 11748, 28686, 198, 198, 11748, 12972, 9288, 198, 11748, 15290, 198, 198, 6738, 7347, 24330, 13557, 5589, 265, 1330, 46042, 43055, 198, 6738, 7347, 24330, 13, 7295, 1330, 9828, 62, 259, 62, 32844, 24330, 11, 3440, 62, 26518, 62, 24330, 198, 6738, 7347, 24330, 13, 26791, 1330, 20218, 62, 268, 2268, 628, 198, 31, 76, 735, 13, 17147, 10786, 79, 541, 24330, 13, 268, 12103, 13, 47, 4061, 1677, 53, 62, 53, 48771, 25620, 1677, 53, 3256, 705, 83, 38908, 5305, 24330, 11537, 198, 31, 76, 735, 13, 17147, 10786, 79, 541, 24330, 13, 268, 12103, 13, 47, 4061, 1677, 53, 62, 5959, 33, 2640, 9050, 3256, 532, 16, 8, 198, 31, 9078, 9288, 13, 4102, 13, 7295, 628, 198, 31, 9078, 9288, 13, 4102, 13, 7295, 628, 198, 31, 9078, 9288, 13, 4102, 13, 7295, 628, 198, 31, 9078, 9288, 13, 4102, 13, 7295, 198 ]
2.643836
146
import PIL import streamlit as st import datetime import uuid from streamlit.uploaded_file_manager import UploadedFile from utils.utils import upload_image, create_unique_filename, save_to_google_sheet st.title("Foodify.ai Data Collection 🍔🌯🍫") st.write( "Upload or take a photo of your food and help us to build the world's biggest \ indian food image database!" ) # Store image upload ID as key, this will be changed once image is uploaded if "upload_key" not in st.session_state: st.session_state["upload_key"] = str(uuid.uuid4()) uploaded_image = st.file_uploader( label="Upload an image of any indian food", type=["png", "jpeg", "jpg"], help="Tip: if you're on a mobile device you can also take a photo", # set the key for the uploaded file key=st.session_state["upload_key"], ) def display_image(img: UploadedFile) -> PIL.Image: """ Displays an image if the image exists. """ displayed_image = None if img is not None: # Show the image img = PIL.Image.open(img) print("Displaying image...") print(img.height, img.width) displayed_image = st.image(img, use_column_width="auto") return img, displayed_image image, displayed_image = display_image(uploaded_image) # Create image label form to submit st.write("## Image details") with st.form(key="image_metadata_submit_form", clear_on_submit=True): # Image label label = st.text_input( label="What food(s) it is in the image that you have uploaded? \ You can enter text like: '*biryani*' or '*parotha, aloo parotha*' or '*dosa, masala dosa*' ", max_chars=100, ) # Image upload location place = st.text_input( label="Where are you uploading this images? \ You can enter state name if you are uploading image from India else you can enter country name. ", autocomplete="place", max_chars=100, ) # Person email email = st.text_input( label="What's your email? (optional, we'll use this to contact you \ about the app/say thank you for your image(s))", autocomplete="email", ) # Disclaimer st.info( '**Note:** If you click "upload image", your image will be stored on \ our servers and we will use this image to the largest indian food image database\ in the world! *(Do not upload anything sensitive, \ as we will make it publically available soon)*' ) # Submit button + logic submit_button = st.form_submit_button( label="Upload image", help="Click to upload your image and label to Foodify.ai servers.", ) if submit_button: if uploaded_image is None: st.error("Please upload an image.") else: # Generate unique filename for the image unique_image_id = create_unique_filename() # Make timestamp current_time = datetime.datetime.now().strftime( "%Y-%m-%d %H:%M:%S" ) #Upload image object to AWS S3 Bucket with st.spinner("Uploading Image to our server..."): upload_image( source_file=uploaded_image, destination_file_name=unique_image_id + ".jpg", ) st.success( f"Your image of {label} has been uploaded sucessfully! Thank you for your contribution :)" ) info = [ [ unique_image_id, current_time, image.height, image.width, label, place, email ] ] save_to_google_sheet(info) # Remove (displayed) image after upload successful displayed_image.empty() # To do this, the key it's stored under Streamlit's # UploadedFile gets changed to something random st.session_state["upload_key"] = str(uuid.uuid4())
[ 11748, 350, 4146, 198, 11748, 4269, 18250, 355, 336, 198, 11748, 4818, 8079, 198, 11748, 334, 27112, 198, 6738, 4269, 18250, 13, 25850, 276, 62, 7753, 62, 37153, 1330, 36803, 276, 8979, 198, 6738, 3384, 4487, 13, 26791, 1330, 9516, 62, 9060, 11, 2251, 62, 34642, 62, 34345, 11, 3613, 62, 1462, 62, 13297, 62, 21760, 198, 198, 301, 13, 7839, 7203, 24602, 1958, 13, 1872, 6060, 12251, 12520, 235, 242, 8582, 234, 107, 8582, 235, 104, 4943, 198, 301, 13, 13564, 7, 198, 220, 220, 220, 366, 41592, 393, 1011, 257, 4590, 286, 534, 2057, 290, 1037, 514, 284, 1382, 262, 995, 338, 4094, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 773, 666, 2057, 2939, 6831, 2474, 198, 8, 198, 198, 2, 9363, 2939, 9516, 4522, 355, 1994, 11, 428, 481, 307, 3421, 1752, 2939, 318, 19144, 198, 361, 366, 25850, 62, 2539, 1, 407, 287, 336, 13, 29891, 62, 5219, 25, 198, 220, 220, 220, 336, 13, 29891, 62, 5219, 14692, 25850, 62, 2539, 8973, 796, 965, 7, 12303, 312, 13, 12303, 312, 19, 28955, 198, 198, 25850, 276, 62, 9060, 796, 336, 13, 7753, 62, 25850, 263, 7, 198, 220, 220, 220, 6167, 2625, 41592, 281, 2939, 286, 597, 773, 666, 2057, 1600, 198, 220, 220, 220, 2099, 28, 14692, 11134, 1600, 366, 73, 22071, 1600, 366, 9479, 33116, 198, 220, 220, 220, 1037, 2625, 28434, 25, 611, 345, 821, 319, 257, 5175, 3335, 345, 460, 635, 1011, 257, 4590, 1600, 198, 220, 220, 220, 1303, 900, 262, 1994, 329, 262, 19144, 2393, 198, 220, 220, 220, 1994, 28, 301, 13, 29891, 62, 5219, 14692, 25850, 62, 2539, 33116, 220, 220, 198, 8, 628, 198, 4299, 3359, 62, 9060, 7, 9600, 25, 36803, 276, 8979, 8, 4613, 350, 4146, 13, 5159, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3167, 26024, 281, 2939, 611, 262, 2939, 7160, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 9066, 62, 9060, 796, 6045, 198, 220, 220, 220, 611, 33705, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5438, 262, 2939, 198, 220, 220, 220, 220, 220, 220, 220, 33705, 796, 350, 4146, 13, 5159, 13, 9654, 7, 9600, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 7279, 17916, 2939, 9313, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 9600, 13, 17015, 11, 33705, 13, 10394, 8, 198, 220, 220, 220, 220, 220, 220, 220, 9066, 62, 9060, 796, 336, 13, 9060, 7, 9600, 11, 779, 62, 28665, 62, 10394, 2625, 23736, 4943, 198, 220, 220, 220, 1441, 33705, 11, 9066, 62, 9060, 628, 198, 9060, 11, 9066, 62, 9060, 796, 3359, 62, 9060, 7, 25850, 276, 62, 9060, 8, 198, 198, 2, 13610, 2939, 6167, 1296, 284, 9199, 198, 301, 13, 13564, 7203, 2235, 7412, 3307, 4943, 198, 4480, 336, 13, 687, 7, 2539, 2625, 9060, 62, 38993, 62, 46002, 62, 687, 1600, 1598, 62, 261, 62, 46002, 28, 17821, 2599, 628, 220, 220, 220, 1303, 7412, 6167, 198, 220, 220, 220, 6167, 796, 336, 13, 5239, 62, 15414, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6167, 2625, 2061, 2057, 7, 82, 8, 340, 318, 287, 262, 2939, 326, 345, 423, 19144, 30, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 921, 460, 3802, 2420, 588, 25, 705, 9, 65, 9045, 3216, 9, 6, 393, 705, 9, 1845, 849, 64, 11, 435, 2238, 1582, 849, 64, 9, 6, 393, 705, 9, 67, 8546, 11, 12422, 6081, 288, 8546, 9, 6, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 354, 945, 28, 3064, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 7412, 9516, 4067, 198, 220, 220, 220, 1295, 796, 336, 13, 5239, 62, 15414, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6167, 2625, 8496, 389, 345, 33794, 428, 4263, 30, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 921, 460, 3802, 1181, 1438, 611, 345, 389, 33794, 2939, 422, 3794, 2073, 345, 460, 3802, 1499, 1438, 13, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 1960, 42829, 6677, 2625, 5372, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 354, 945, 28, 3064, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 7755, 3053, 198, 220, 220, 220, 3053, 796, 336, 13, 5239, 62, 15414, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6167, 2625, 2061, 338, 534, 3053, 30, 357, 25968, 11, 356, 1183, 779, 428, 284, 2800, 345, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 546, 262, 598, 14, 16706, 5875, 345, 329, 534, 2939, 7, 82, 4008, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1960, 42829, 6677, 2625, 12888, 1600, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 3167, 17111, 198, 220, 220, 220, 336, 13, 10951, 7, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1174, 6425, 25, 1174, 1002, 345, 3904, 366, 25850, 2939, 1600, 534, 2939, 481, 307, 8574, 319, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 674, 9597, 290, 356, 481, 779, 428, 2939, 284, 262, 4387, 773, 666, 2057, 2939, 6831, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 287, 262, 995, 0, 1635, 7, 5211, 407, 9516, 1997, 8564, 11, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 355, 356, 481, 787, 340, 1171, 453, 1695, 2582, 27493, 6, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 39900, 4936, 1343, 9156, 198, 220, 220, 220, 9199, 62, 16539, 796, 336, 13, 687, 62, 46002, 62, 16539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6167, 2625, 41592, 2939, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 8164, 284, 9516, 534, 2939, 290, 6167, 284, 7318, 1958, 13, 1872, 9597, 33283, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 611, 9199, 62, 16539, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 19144, 62, 9060, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 13, 18224, 7203, 5492, 9516, 281, 2939, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2980, 378, 3748, 29472, 329, 262, 2939, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3748, 62, 9060, 62, 312, 796, 2251, 62, 34642, 62, 34345, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6889, 41033, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 2435, 796, 4818, 8079, 13, 19608, 8079, 13, 2197, 22446, 2536, 31387, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36521, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 41592, 2939, 2134, 284, 30865, 311, 18, 48353, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 336, 13, 2777, 5083, 7203, 41592, 278, 7412, 284, 674, 4382, 9313, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9516, 62, 9060, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2723, 62, 7753, 28, 25850, 276, 62, 9060, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10965, 62, 7753, 62, 3672, 28, 34642, 62, 9060, 62, 312, 1343, 27071, 9479, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 13, 13138, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 7120, 2939, 286, 1391, 18242, 92, 468, 587, 19144, 424, 919, 2759, 0, 6952, 345, 329, 534, 10156, 14373, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3748, 62, 9060, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 2435, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2939, 13, 17015, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2939, 13, 10394, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6167, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1295, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3053, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3613, 62, 1462, 62, 13297, 62, 21760, 7, 10951, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 17220, 357, 13812, 276, 8, 2939, 706, 9516, 4388, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9066, 62, 9060, 13, 28920, 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, 1303, 1675, 466, 428, 11, 262, 1994, 340, 338, 8574, 739, 13860, 18250, 338, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 36803, 276, 8979, 3011, 3421, 284, 1223, 4738, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 336, 13, 29891, 62, 5219, 14692, 25850, 62, 2539, 8973, 796, 965, 7, 12303, 312, 13, 12303, 312, 19, 28955, 198 ]
2.303421
1,783
from django.db import models from django.core.cache import cache from common import config # class ModelToDictMixin(object): def get(cls, *args, **kwargs): """ 为 objects 管理类的 get 方法增加缓存功能 Model.get(pk=123) :param self: :param args: :param kwargs: :return: """ # 1、从缓存中获取数据 # 根据 pk 或 id 字段获得模型主键 if 'pk' in kwargs: pk = kwargs.get('pk') else: pk = kwargs.get('id') if pk is not None: # 根据主键生成的 key,从缓存中获得数据 key = config.MODEL_CACHE_PREFIX % (cls.__name__, pk) model_obj = cache.get(key) # 如果缓存中不为空,则返回,否则执行原有数据库操作 if isinstance(model_obj, cls): return model_obj # 2、如果缓存中不存在,则从数据库中获得数据 model_obj = cls.objects.get(*args, **kwargs) # 3、将数据库中返回的数据保存至缓存 key = config.MODEL_CACHE_PREFIX % (cls.__name__, model_obj.pk) cache.set(key, model_obj) return model_obj def get_or_create(cls, defaults=None, **kwargs): """ 为 objects 管理类的 get_or_create 增加缓存操作 User.get_or_create() :param cls: :param defaults: :param kwargs: :return: """ # 根据 pk 或 id 字段获得模型主键 if 'pk' in kwargs: pk = kwargs.get('pk') else: pk = kwargs.get('id') if pk is not None: # 根据主键生成的 key,从缓存中获得数据 key = config.MODEL_CACHE_PREFIX % (cls.__name__, pk) model_obj = cache.get(key) # 如果缓存中不为空,则返回,否则执行原有数据库操作 if isinstance(model_obj, cls): return model_obj, False model_obj, created = cls.objects.get_or_create(defaults=None, **kwargs) key = config.MODEL_CACHE_PREFIX % (cls.__name__, model_obj.pk) cache.set(key, model_obj) return model_obj, created
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 7295, 13, 23870, 1330, 12940, 198, 198, 6738, 2219, 1330, 4566, 628, 198, 2, 1398, 9104, 2514, 35, 713, 35608, 259, 7, 15252, 2599, 628, 198, 4299, 651, 7, 565, 82, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 10310, 118, 5563, 13328, 106, 94, 49426, 228, 163, 109, 119, 21410, 651, 10545, 244, 117, 37345, 243, 161, 95, 252, 27950, 254, 163, 120, 241, 27764, 246, 27950, 253, 47797, 121, 628, 220, 220, 220, 9104, 13, 1136, 7, 79, 74, 28, 10163, 8, 628, 220, 220, 220, 1058, 17143, 2116, 25, 198, 220, 220, 220, 1058, 17143, 26498, 25, 198, 220, 220, 220, 1058, 17143, 479, 86, 22046, 25, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 352, 23513, 20015, 236, 163, 120, 241, 27764, 246, 40792, 164, 236, 115, 20998, 244, 46763, 108, 162, 235, 106, 628, 220, 220, 220, 1303, 10545, 254, 117, 162, 235, 106, 279, 74, 10545, 230, 244, 4686, 10263, 255, 245, 162, 106, 113, 164, 236, 115, 36181, 245, 162, 101, 94, 161, 252, 233, 10310, 119, 165, 242, 106, 198, 220, 220, 220, 611, 705, 79, 74, 6, 287, 479, 86, 22046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 479, 86, 22046, 13, 1136, 10786, 79, 74, 11537, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 479, 86, 22046, 13, 1136, 10786, 312, 11537, 628, 220, 220, 220, 611, 279, 74, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 10545, 254, 117, 162, 235, 106, 10310, 119, 165, 242, 106, 37955, 22755, 238, 21410, 1994, 171, 120, 234, 20015, 236, 163, 120, 241, 27764, 246, 40792, 164, 236, 115, 36181, 245, 46763, 108, 162, 235, 106, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 4566, 13, 33365, 3698, 62, 34, 2246, 13909, 62, 47, 31688, 10426, 4064, 357, 565, 82, 13, 834, 3672, 834, 11, 279, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 62, 26801, 796, 12940, 13, 1136, 7, 2539, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 10263, 99, 224, 162, 252, 250, 163, 120, 241, 27764, 246, 40792, 38834, 10310, 118, 163, 102, 118, 171, 120, 234, 26344, 247, 32573, 242, 32368, 252, 171, 120, 234, 28938, 99, 26344, 247, 33699, 100, 26193, 234, 43889, 253, 17312, 231, 46763, 108, 162, 235, 106, 41753, 241, 162, 241, 235, 43291, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 19849, 62, 26801, 11, 537, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2746, 62, 26801, 628, 220, 220, 220, 1303, 362, 23513, 36685, 224, 162, 252, 250, 163, 120, 241, 27764, 246, 40792, 38834, 27764, 246, 28839, 101, 171, 120, 234, 26344, 247, 20015, 236, 46763, 108, 162, 235, 106, 41753, 241, 40792, 164, 236, 115, 36181, 245, 46763, 108, 162, 235, 106, 198, 220, 220, 220, 2746, 62, 26801, 796, 537, 82, 13, 48205, 13, 1136, 46491, 22046, 11, 12429, 46265, 22046, 8, 628, 220, 220, 220, 1303, 513, 23513, 49546, 46763, 108, 162, 235, 106, 41753, 241, 40792, 32573, 242, 32368, 252, 21410, 46763, 108, 162, 235, 106, 46479, 251, 27764, 246, 164, 229, 111, 163, 120, 241, 27764, 246, 198, 220, 220, 220, 1994, 796, 4566, 13, 33365, 3698, 62, 34, 2246, 13909, 62, 47, 31688, 10426, 4064, 357, 565, 82, 13, 834, 3672, 834, 11, 2746, 62, 26801, 13, 79, 74, 8, 198, 220, 220, 220, 12940, 13, 2617, 7, 2539, 11, 2746, 62, 26801, 8, 628, 220, 220, 220, 1441, 2746, 62, 26801, 628, 198, 4299, 651, 62, 273, 62, 17953, 7, 565, 82, 11, 26235, 28, 14202, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 10310, 118, 5563, 13328, 106, 94, 49426, 228, 163, 109, 119, 21410, 651, 62, 273, 62, 17953, 10263, 95, 252, 27950, 254, 163, 120, 241, 27764, 246, 162, 241, 235, 43291, 628, 220, 220, 220, 11787, 13, 1136, 62, 273, 62, 17953, 3419, 628, 220, 220, 220, 1058, 17143, 537, 82, 25, 198, 220, 220, 220, 1058, 17143, 26235, 25, 198, 220, 220, 220, 1058, 17143, 479, 86, 22046, 25, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 10545, 254, 117, 162, 235, 106, 279, 74, 10545, 230, 244, 4686, 10263, 255, 245, 162, 106, 113, 164, 236, 115, 36181, 245, 162, 101, 94, 161, 252, 233, 10310, 119, 165, 242, 106, 198, 220, 220, 220, 611, 705, 79, 74, 6, 287, 479, 86, 22046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 479, 86, 22046, 13, 1136, 10786, 79, 74, 11537, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 479, 86, 22046, 13, 1136, 10786, 312, 11537, 628, 220, 220, 220, 611, 279, 74, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 10545, 254, 117, 162, 235, 106, 10310, 119, 165, 242, 106, 37955, 22755, 238, 21410, 1994, 171, 120, 234, 20015, 236, 163, 120, 241, 27764, 246, 40792, 164, 236, 115, 36181, 245, 46763, 108, 162, 235, 106, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 4566, 13, 33365, 3698, 62, 34, 2246, 13909, 62, 47, 31688, 10426, 4064, 357, 565, 82, 13, 834, 3672, 834, 11, 279, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 62, 26801, 796, 12940, 13, 1136, 7, 2539, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 10263, 99, 224, 162, 252, 250, 163, 120, 241, 27764, 246, 40792, 38834, 10310, 118, 163, 102, 118, 171, 120, 234, 26344, 247, 32573, 242, 32368, 252, 171, 120, 234, 28938, 99, 26344, 247, 33699, 100, 26193, 234, 43889, 253, 17312, 231, 46763, 108, 162, 235, 106, 41753, 241, 162, 241, 235, 43291, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 19849, 62, 26801, 11, 537, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2746, 62, 26801, 11, 10352, 628, 220, 220, 220, 2746, 62, 26801, 11, 2727, 796, 537, 82, 13, 48205, 13, 1136, 62, 273, 62, 17953, 7, 12286, 82, 28, 14202, 11, 12429, 46265, 22046, 8, 628, 220, 220, 220, 1994, 796, 4566, 13, 33365, 3698, 62, 34, 2246, 13909, 62, 47, 31688, 10426, 4064, 357, 565, 82, 13, 834, 3672, 834, 11, 2746, 62, 26801, 13, 79, 74, 8, 198, 220, 220, 220, 12940, 13, 2617, 7, 2539, 11, 2746, 62, 26801, 8, 628, 220, 220, 220, 1441, 2746, 62, 26801, 11, 2727, 628, 198 ]
1.490385
1,144
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from functools import wraps import requests # Define standard timings in seconds SLEEP_ON_HIGH_LOAD: float = 9.0 TEST_DATA_FIELD = "some_data_field" TEST_RATE_LIMIT_THRESHOLD = 0.1 TEST_HEADERS_NAME = [ ("x-rate-limit-api-key-remaining", "x-rate-limit-api-key-max"), ("x-rate-limit-api-token-remaining", "x-rate-limit-api-token-max"), ] def control_request_rate_limit_decorator(threshold: float = 0.05, limit_headers=None): """ This decorator was replicated completely, as separeted function in order to be tested. The only difference is: :: the real one inside utils.py sleeps the actual defined time and returns the function back, :: and this fake one simply sleeps and returns the wait_time as actual sleep time in order to be tested. """ return decorator # Simulating real function call based CDK's parse_response() method @control_request_rate_limit_decorator(TEST_RATE_LIMIT_THRESHOLD, TEST_HEADERS_NAME) def test_with_load(requests_mock): """ Test simulates high load of rate limit. In this case we should wait at least 9 sec before next API call. """ test_response_header = { "x-rate-limit-api-token-max": "300", "x-rate-limit-api-token-remaining": "10", "x-rate-limit-api-key-max": "300", "x-rate-limit-api-key-remaining": "100", } requests_mock.get("https://test.trello.com/", headers=test_response_header) test_response = requests.get("https://test.trello.com/") actual_sleep_time = fake_parse_response(test_response) assert SLEEP_ON_HIGH_LOAD == actual_sleep_time
[ 2, 198, 2, 15069, 357, 66, 8, 33448, 3701, 26327, 11, 3457, 1539, 477, 2489, 10395, 13, 198, 2, 198, 198, 6738, 1257, 310, 10141, 1330, 27521, 198, 198, 11748, 7007, 198, 198, 2, 2896, 500, 3210, 4628, 654, 287, 4201, 198, 50, 2538, 8905, 62, 1340, 62, 39, 18060, 62, 35613, 25, 12178, 796, 860, 13, 15, 198, 198, 51, 6465, 62, 26947, 62, 44603, 796, 366, 11246, 62, 7890, 62, 3245, 1, 198, 51, 6465, 62, 49, 6158, 62, 43, 3955, 2043, 62, 4221, 19535, 39, 15173, 796, 657, 13, 16, 198, 51, 6465, 62, 37682, 4877, 62, 20608, 796, 685, 198, 220, 220, 220, 5855, 87, 12, 4873, 12, 32374, 12, 15042, 12, 2539, 12, 2787, 1397, 1600, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 2539, 12, 9806, 12340, 198, 220, 220, 220, 5855, 87, 12, 4873, 12, 32374, 12, 15042, 12, 30001, 12, 2787, 1397, 1600, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 30001, 12, 9806, 12340, 198, 60, 628, 198, 4299, 1630, 62, 25927, 62, 4873, 62, 32374, 62, 12501, 273, 1352, 7, 400, 10126, 25, 12178, 796, 657, 13, 2713, 11, 4179, 62, 50145, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 11705, 1352, 373, 35108, 3190, 11, 355, 41767, 533, 1513, 2163, 287, 1502, 284, 307, 6789, 13, 198, 220, 220, 220, 383, 691, 3580, 318, 25, 198, 220, 220, 220, 7904, 262, 1103, 530, 2641, 3384, 4487, 13, 9078, 44263, 262, 4036, 5447, 640, 290, 5860, 262, 2163, 736, 11, 198, 220, 220, 220, 7904, 290, 428, 8390, 530, 2391, 44263, 290, 5860, 262, 4043, 62, 2435, 355, 4036, 3993, 640, 287, 1502, 284, 307, 6789, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1441, 11705, 1352, 628, 198, 2, 3184, 8306, 1103, 2163, 869, 1912, 6458, 42, 338, 21136, 62, 26209, 3419, 2446, 198, 31, 13716, 62, 25927, 62, 4873, 62, 32374, 62, 12501, 273, 1352, 7, 51, 6465, 62, 49, 6158, 62, 43, 3955, 2043, 62, 4221, 19535, 39, 15173, 11, 43001, 62, 37682, 4877, 62, 20608, 8, 628, 198, 4299, 1332, 62, 4480, 62, 2220, 7, 8897, 3558, 62, 76, 735, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6208, 985, 15968, 1029, 3440, 286, 2494, 4179, 13, 198, 220, 220, 220, 554, 428, 1339, 356, 815, 4043, 379, 1551, 860, 792, 878, 1306, 7824, 869, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1332, 62, 26209, 62, 25677, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 30001, 12, 9806, 1298, 366, 6200, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 30001, 12, 2787, 1397, 1298, 366, 940, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 2539, 12, 9806, 1298, 366, 6200, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 87, 12, 4873, 12, 32374, 12, 15042, 12, 2539, 12, 2787, 1397, 1298, 366, 3064, 1600, 198, 220, 220, 220, 1782, 628, 220, 220, 220, 7007, 62, 76, 735, 13, 1136, 7203, 5450, 1378, 9288, 13, 83, 11252, 78, 13, 785, 14, 1600, 24697, 28, 9288, 62, 26209, 62, 25677, 8, 198, 220, 220, 220, 1332, 62, 26209, 796, 7007, 13, 1136, 7203, 5450, 1378, 9288, 13, 83, 11252, 78, 13, 785, 14, 4943, 628, 220, 220, 220, 4036, 62, 42832, 62, 2435, 796, 8390, 62, 29572, 62, 26209, 7, 9288, 62, 26209, 8, 628, 220, 220, 220, 6818, 311, 2538, 8905, 62, 1340, 62, 39, 18060, 62, 35613, 6624, 4036, 62, 42832, 62, 2435, 198 ]
2.697561
615
# Copyright 2013 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. """ This migration handles migrating encrypted image location values from the unquoted form to the quoted form. If 'metadata_encryption_key' is specified in the config then this migration performs the following steps for every entry in the images table: 1. Decrypt the location value with the metadata_encryption_key 2. Changes the value to its quoted form 3. Encrypts the new value with the metadata_encryption_key 4. Inserts the new value back into the row Fixes bug #1081043 """ import types # noqa from oslo_config import cfg from oslo_log import log as logging from oslo_utils import encodeutils import six.moves.urllib.parse as urlparse import sqlalchemy from xmonitor.common import crypt from xmonitor.common import exception from xmonitor.i18n import _, _LE, _LI, _LW LOG = logging.getLogger(__name__) CONF = cfg.CONF CONF.import_opt('metadata_encryption_key', 'xmonitor.common.config') def migrate_location_credentials(migrate_engine, to_quoted): """ Migrate location credentials for encrypted swift uri's between the quoted and unquoted forms. :param migrate_engine: The configured db engine :param to_quoted: If True, migrate location credentials from unquoted to quoted form. If False, do the reverse. """ if not CONF.metadata_encryption_key: msg = _LI("'metadata_encryption_key' was not specified in the config" " file or a config file was not specified. This means that" " this migration is a NOOP.") LOG.info(msg) return meta = sqlalchemy.schema.MetaData() meta.bind = migrate_engine images_table = sqlalchemy.Table('images', meta, autoload=True) images = list(images_table.select().execute()) for image in images: try: fixed_uri = fix_uri_credentials(image['location'], to_quoted) images_table.update().where( images_table.c.id == image['id']).values( location=fixed_uri).execute() except exception.Invalid: msg = _LW("Failed to decrypt location value for image" " %(image_id)s") % {'image_id': image['id']} LOG.warn(msg) except exception.BadStoreUri as e: reason = encodeutils.exception_to_unicode(e) msg = _LE("Invalid store uri for image: %(image_id)s. " "Details: %(reason)s") % {'image_id': image.id, 'reason': reason} LOG.exception(msg) raise def fix_uri_credentials(uri, to_quoted): """ Fix the given uri's embedded credentials by round-tripping with StoreLocation. If to_quoted is True, the uri is assumed to have credentials that have not been quoted, and the resulting uri will contain quoted credentials. If to_quoted is False, the uri is assumed to have credentials that have been quoted, and the resulting uri will contain credentials that have not been quoted. """ if not uri: return try: decrypted_uri = decrypt_location(uri) # NOTE (ameade): If a uri is not encrypted or incorrectly encoded then we # we raise an exception. except (TypeError, ValueError) as e: raise exception.Invalid(str(e)) return legacy_parse_uri(decrypted_uri, to_quoted) def legacy_parse_uri(uri, to_quote): """ Parse URLs. This method fixes an issue where credentials specified in the URL are interpreted differently in Python 2.6.1+ than prior versions of Python. It also deals with the peculiarity that new-style Swift URIs have where a username can contain a ':', like so: swift://account:user:[email protected]/container/obj If to_quoted is True, the uri is assumed to have credentials that have not been quoted, and the resulting uri will contain quoted credentials. If to_quoted is False, the uri is assumed to have credentials that have been quoted, and the resulting uri will contain credentials that have not been quoted. """ # Make sure that URIs that contain multiple schemes, such as: # swift://user:pass@http://authurl.com/v1/container/obj # are immediately rejected. if uri.count('://') != 1: reason = _("URI cannot contain more than one occurrence of a scheme." "If you have specified a URI like " "swift://user:pass@http://authurl.com/v1/container/obj" ", you need to change it to use the swift+http:// scheme, " "like so: " "swift+http://user:[email protected]/v1/container/obj") raise exception.BadStoreUri(message=reason) pieces = urlparse.urlparse(uri) if pieces.scheme not in ('swift', 'swift+http', 'swift+https'): raise exception.BadStoreUri(message="Unacceptable scheme: '%s'" % pieces.scheme) scheme = pieces.scheme netloc = pieces.netloc path = pieces.path.lstrip('/') if netloc != '': # > Python 2.6.1 if '@' in netloc: creds, netloc = netloc.split('@') else: creds = None else: # Python 2.6.1 compat # see lp659445 and Python issue7904 if '@' in path: creds, path = path.split('@') else: creds = None netloc = path[0:path.find('/')].strip('/') path = path[path.find('/'):].strip('/') if creds: cred_parts = creds.split(':') # User can be account:user, in which case cred_parts[0:2] will be # the account and user. Combine them into a single username of # account:user if to_quote: if len(cred_parts) == 1: reason = (_("Badly formed credentials '%(creds)s' in Swift " "URI") % {'creds': creds}) raise exception.BadStoreUri(message=reason) elif len(cred_parts) == 3: user = ':'.join(cred_parts[0:2]) else: user = cred_parts[0] key = cred_parts[-1] user = user key = key else: if len(cred_parts) != 2: reason = (_("Badly formed credentials in Swift URI.")) raise exception.BadStoreUri(message=reason) user, key = cred_parts user = urlparse.unquote(user) key = urlparse.unquote(key) else: user = None key = None path_parts = path.split('/') try: obj = path_parts.pop() container = path_parts.pop() if not netloc.startswith('http'): # push hostname back into the remaining to build full authurl path_parts.insert(0, netloc) auth_or_store_url = '/'.join(path_parts) except IndexError: reason = _("Badly formed S3 URI: %(uri)s") % {'uri': uri} raise exception.BadStoreUri(message=reason) if auth_or_store_url.startswith('http://'): auth_or_store_url = auth_or_store_url[len('http://'):] elif auth_or_store_url.startswith('https://'): auth_or_store_url = auth_or_store_url[len('https://'):] credstring = '' if user and key: if to_quote: quote_user = urlparse.quote(user) quote_key = urlparse.quote(key) else: quote_user = user quote_key = key credstring = '%s:%s@' % (quote_user, quote_key) auth_or_store_url = auth_or_store_url.strip('/') container = container.strip('/') obj = obj.strip('/') uri = '%s://%s%s/%s/%s' % (scheme, credstring, auth_or_store_url, container, obj) return encrypt_location(uri)
[ 2, 15069, 2211, 4946, 25896, 5693, 198, 2, 1439, 6923, 33876, 13, 198, 2, 198, 2, 220, 220, 220, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 345, 743, 198, 2, 220, 220, 220, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 921, 743, 7330, 198, 2, 220, 220, 220, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 220, 220, 220, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 220, 220, 220, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 198, 2, 220, 220, 220, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 4091, 262, 198, 2, 220, 220, 220, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 11247, 198, 2, 220, 220, 220, 739, 262, 13789, 13, 198, 198, 37811, 198, 1212, 13472, 17105, 45879, 19365, 2939, 4067, 3815, 422, 198, 1169, 555, 421, 5191, 1296, 284, 262, 10947, 1296, 13, 198, 198, 1532, 705, 38993, 62, 12685, 13168, 62, 2539, 6, 318, 7368, 287, 262, 4566, 788, 428, 198, 76, 4254, 17706, 262, 1708, 4831, 329, 790, 5726, 287, 262, 4263, 3084, 25, 198, 16, 13, 4280, 6012, 262, 4067, 1988, 351, 262, 20150, 62, 12685, 13168, 62, 2539, 198, 17, 13, 19179, 262, 1988, 284, 663, 10947, 1296, 198, 18, 13, 14711, 6012, 82, 262, 649, 1988, 351, 262, 20150, 62, 12685, 13168, 62, 2539, 198, 19, 13, 35835, 82, 262, 649, 1988, 736, 656, 262, 5752, 198, 198, 22743, 274, 5434, 1303, 15711, 940, 3559, 198, 37811, 198, 11748, 3858, 220, 1303, 645, 20402, 198, 198, 6738, 28686, 5439, 62, 11250, 1330, 30218, 70, 198, 6738, 28686, 5439, 62, 6404, 1330, 2604, 355, 18931, 198, 6738, 28686, 5439, 62, 26791, 1330, 37773, 26791, 198, 11748, 2237, 13, 76, 5241, 13, 333, 297, 571, 13, 29572, 355, 19016, 29572, 198, 11748, 44161, 282, 26599, 198, 198, 6738, 2124, 41143, 13, 11321, 1330, 8194, 198, 6738, 2124, 41143, 13, 11321, 1330, 6631, 198, 6738, 2124, 41143, 13, 72, 1507, 77, 1330, 4808, 11, 4808, 2538, 11, 4808, 31271, 11, 4808, 43, 54, 198, 198, 25294, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 10943, 37, 796, 30218, 70, 13, 10943, 37, 198, 198, 10943, 37, 13, 11748, 62, 8738, 10786, 38993, 62, 12685, 13168, 62, 2539, 3256, 705, 87, 41143, 13, 11321, 13, 11250, 11537, 628, 628, 198, 4299, 32492, 62, 24886, 62, 66, 445, 14817, 7, 76, 42175, 62, 18392, 11, 284, 62, 421, 5191, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 337, 42175, 4067, 18031, 329, 19365, 14622, 2956, 72, 338, 1022, 262, 198, 220, 220, 220, 10947, 290, 555, 421, 5191, 5107, 13, 628, 220, 220, 220, 1058, 17143, 32492, 62, 18392, 25, 383, 17839, 20613, 3113, 198, 220, 220, 220, 1058, 17143, 284, 62, 421, 5191, 25, 1002, 6407, 11, 32492, 4067, 18031, 422, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 555, 421, 5191, 284, 10947, 1296, 13, 220, 1002, 10352, 11, 466, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9575, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 7102, 37, 13, 38993, 62, 12685, 13168, 62, 2539, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 4808, 31271, 7203, 6, 38993, 62, 12685, 13168, 62, 2539, 6, 373, 407, 7368, 287, 262, 4566, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2393, 393, 257, 4566, 2393, 373, 407, 7368, 13, 770, 1724, 326, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 428, 13472, 318, 257, 8005, 3185, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 41605, 13, 10951, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 13634, 796, 44161, 282, 26599, 13, 15952, 2611, 13, 48526, 6601, 3419, 198, 220, 220, 220, 13634, 13, 21653, 796, 32492, 62, 18392, 628, 220, 220, 220, 4263, 62, 11487, 796, 44161, 282, 26599, 13, 10962, 10786, 17566, 3256, 13634, 11, 1960, 349, 1170, 28, 17821, 8, 628, 220, 220, 220, 4263, 796, 1351, 7, 17566, 62, 11487, 13, 19738, 22446, 41049, 28955, 628, 220, 220, 220, 329, 2939, 287, 4263, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5969, 62, 9900, 796, 4259, 62, 9900, 62, 66, 445, 14817, 7, 9060, 17816, 24886, 6, 4357, 284, 62, 421, 5191, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4263, 62, 11487, 13, 19119, 22446, 3003, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4263, 62, 11487, 13, 66, 13, 312, 6624, 2939, 17816, 312, 20520, 737, 27160, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4067, 28, 34021, 62, 9900, 737, 41049, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 6631, 13, 44651, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 4808, 43, 54, 7203, 37, 6255, 284, 42797, 4067, 1988, 329, 2939, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 4064, 7, 9060, 62, 312, 8, 82, 4943, 4064, 1391, 6, 9060, 62, 312, 10354, 2939, 17816, 312, 20520, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41605, 13, 40539, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 6631, 13, 22069, 22658, 52, 380, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1738, 796, 37773, 26791, 13, 1069, 4516, 62, 1462, 62, 46903, 1098, 7, 68, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 4808, 2538, 7203, 44651, 3650, 2956, 72, 329, 2939, 25, 4064, 7, 9060, 62, 312, 8, 82, 13, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 24259, 25, 4064, 7, 41181, 8, 82, 4943, 4064, 1391, 6, 9060, 62, 312, 10354, 2939, 13, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 41181, 10354, 1738, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41605, 13, 1069, 4516, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 628, 628, 198, 4299, 4259, 62, 9900, 62, 66, 445, 14817, 7, 9900, 11, 284, 62, 421, 5191, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13268, 262, 1813, 2956, 72, 338, 14553, 18031, 416, 2835, 12, 28461, 2105, 351, 198, 220, 220, 220, 9363, 14749, 13, 628, 220, 220, 220, 1002, 284, 62, 421, 5191, 318, 6407, 11, 262, 2956, 72, 318, 9672, 284, 423, 18031, 326, 198, 220, 220, 220, 423, 407, 587, 10947, 11, 290, 262, 7186, 2956, 72, 481, 3994, 10947, 198, 220, 220, 220, 18031, 13, 628, 220, 220, 220, 1002, 284, 62, 421, 5191, 318, 10352, 11, 262, 2956, 72, 318, 9672, 284, 423, 18031, 326, 198, 220, 220, 220, 423, 587, 10947, 11, 290, 262, 7186, 2956, 72, 481, 3994, 18031, 198, 220, 220, 220, 326, 423, 407, 587, 10947, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 2956, 72, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 875, 15109, 62, 9900, 796, 42797, 62, 24886, 7, 9900, 8, 198, 220, 220, 220, 1303, 24550, 357, 480, 671, 2599, 1002, 257, 2956, 72, 318, 407, 19365, 393, 23175, 30240, 788, 356, 198, 220, 220, 220, 1303, 356, 5298, 281, 6631, 13, 198, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 8, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 44651, 7, 2536, 7, 68, 4008, 628, 220, 220, 220, 1441, 10655, 62, 29572, 62, 9900, 7, 12501, 15109, 62, 9900, 11, 284, 62, 421, 5191, 8, 628, 198, 4299, 10655, 62, 29572, 62, 9900, 7, 9900, 11, 284, 62, 22708, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2547, 325, 32336, 13, 770, 2446, 13040, 281, 2071, 810, 18031, 7368, 198, 220, 220, 220, 287, 262, 10289, 389, 16173, 10338, 287, 11361, 362, 13, 21, 13, 16, 10, 621, 3161, 198, 220, 220, 220, 6300, 286, 11361, 13, 632, 635, 7529, 351, 262, 18699, 72, 6806, 326, 649, 12, 7635, 198, 220, 220, 220, 15608, 37902, 3792, 423, 810, 257, 20579, 460, 3994, 257, 705, 25, 3256, 588, 523, 25, 628, 220, 220, 220, 220, 220, 220, 220, 14622, 1378, 23317, 25, 7220, 25, 6603, 31, 18439, 6371, 13, 785, 14, 34924, 14, 26801, 628, 220, 220, 220, 1002, 284, 62, 421, 5191, 318, 6407, 11, 262, 2956, 72, 318, 9672, 284, 423, 18031, 326, 198, 220, 220, 220, 423, 407, 587, 10947, 11, 290, 262, 7186, 2956, 72, 481, 3994, 10947, 198, 220, 220, 220, 18031, 13, 628, 220, 220, 220, 1002, 284, 62, 421, 5191, 318, 10352, 11, 262, 2956, 72, 318, 9672, 284, 423, 18031, 326, 198, 220, 220, 220, 423, 587, 10947, 11, 290, 262, 7186, 2956, 72, 481, 3994, 18031, 198, 220, 220, 220, 326, 423, 407, 587, 10947, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 6889, 1654, 326, 37902, 3792, 326, 3994, 3294, 16546, 11, 884, 355, 25, 198, 220, 220, 220, 1303, 14622, 1378, 7220, 25, 6603, 31, 4023, 1378, 18439, 6371, 13, 785, 14, 85, 16, 14, 34924, 14, 26801, 198, 220, 220, 220, 1303, 389, 3393, 8606, 13, 198, 220, 220, 220, 611, 2956, 72, 13, 9127, 10786, 1378, 11537, 14512, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1738, 796, 4808, 7203, 47269, 2314, 3994, 517, 621, 530, 19810, 286, 257, 7791, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1532, 345, 423, 7368, 257, 43975, 588, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2032, 2135, 1378, 7220, 25, 6603, 31, 4023, 1378, 18439, 6371, 13, 785, 14, 85, 16, 14, 34924, 14, 26801, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33172, 345, 761, 284, 1487, 340, 284, 779, 262, 14622, 10, 4023, 1378, 7791, 11, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2339, 523, 25, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2032, 2135, 10, 4023, 1378, 7220, 25, 6603, 31, 18439, 6371, 13, 785, 14, 85, 16, 14, 34924, 14, 26801, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 22069, 22658, 52, 380, 7, 20500, 28, 41181, 8, 628, 220, 220, 220, 5207, 796, 19016, 29572, 13, 6371, 29572, 7, 9900, 8, 198, 220, 220, 220, 611, 5207, 13, 15952, 1326, 407, 287, 19203, 2032, 2135, 3256, 705, 2032, 2135, 10, 4023, 3256, 705, 2032, 2135, 10, 5450, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 22069, 22658, 52, 380, 7, 20500, 2625, 3118, 16037, 7791, 25, 705, 4, 82, 29653, 4064, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5207, 13, 15952, 1326, 8, 198, 220, 220, 220, 7791, 796, 5207, 13, 15952, 1326, 198, 220, 220, 220, 2010, 17946, 796, 5207, 13, 3262, 17946, 198, 220, 220, 220, 3108, 796, 5207, 13, 6978, 13, 75, 36311, 10786, 14, 11537, 198, 220, 220, 220, 611, 2010, 17946, 14512, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1875, 11361, 362, 13, 21, 13, 16, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 31, 6, 287, 2010, 17946, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2600, 82, 11, 2010, 17946, 796, 2010, 17946, 13, 35312, 10786, 31, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2600, 82, 796, 6045, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 11361, 362, 13, 21, 13, 16, 8330, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 766, 300, 79, 2996, 5824, 2231, 290, 11361, 2071, 3720, 3023, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 31, 6, 287, 3108, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2600, 82, 11, 3108, 796, 3108, 13, 35312, 10786, 31, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2600, 82, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2010, 17946, 796, 3108, 58, 15, 25, 6978, 13, 19796, 10786, 14, 11537, 4083, 36311, 10786, 14, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 3108, 796, 3108, 58, 6978, 13, 19796, 10786, 14, 6, 2599, 4083, 36311, 10786, 14, 11537, 198, 220, 220, 220, 611, 2600, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2600, 62, 42632, 796, 2600, 82, 13, 35312, 7, 10354, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 11787, 460, 307, 1848, 25, 7220, 11, 287, 543, 1339, 2600, 62, 42632, 58, 15, 25, 17, 60, 481, 307, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 1848, 290, 2836, 13, 29176, 606, 656, 257, 2060, 20579, 286, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1848, 25, 7220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 284, 62, 22708, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 66, 445, 62, 42632, 8, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1738, 796, 44104, 7203, 22069, 306, 7042, 18031, 705, 4, 7, 66, 445, 82, 8, 82, 6, 287, 15608, 366, 198, 220, 220, 220, 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, 47269, 4943, 4064, 1391, 6, 66, 445, 82, 10354, 2600, 82, 30072, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 22069, 22658, 52, 380, 7, 20500, 28, 41181, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 18896, 7, 66, 445, 62, 42632, 8, 6624, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 796, 705, 25, 4458, 22179, 7, 66, 445, 62, 42632, 58, 15, 25, 17, 12962, 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, 2836, 796, 2600, 62, 42632, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 2600, 62, 42632, 58, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 796, 2836, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 1994, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 66, 445, 62, 42632, 8, 14512, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1738, 796, 44104, 7203, 22069, 306, 7042, 18031, 287, 15608, 43975, 526, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 22069, 22658, 52, 380, 7, 20500, 28, 41181, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 11, 1994, 796, 2600, 62, 42632, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 796, 19016, 29572, 13, 403, 22708, 7, 7220, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 19016, 29572, 13, 403, 22708, 7, 2539, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2836, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 6045, 198, 220, 220, 220, 3108, 62, 42632, 796, 3108, 13, 35312, 10786, 14, 11537, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 3108, 62, 42632, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 9290, 796, 3108, 62, 42632, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2010, 17946, 13, 9688, 2032, 342, 10786, 4023, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4574, 2583, 3672, 736, 656, 262, 5637, 284, 1382, 1336, 6284, 6371, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 42632, 13, 28463, 7, 15, 11, 2010, 17946, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6284, 62, 273, 62, 8095, 62, 6371, 796, 31051, 4458, 22179, 7, 6978, 62, 42632, 8, 198, 220, 220, 220, 2845, 12901, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1738, 796, 4808, 7203, 22069, 306, 7042, 311, 18, 43975, 25, 4064, 7, 9900, 8, 82, 4943, 4064, 1391, 6, 9900, 10354, 2956, 72, 92, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 6631, 13, 22069, 22658, 52, 380, 7, 20500, 28, 41181, 8, 628, 220, 220, 220, 611, 6284, 62, 273, 62, 8095, 62, 6371, 13, 9688, 2032, 342, 10786, 4023, 1378, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 6284, 62, 273, 62, 8095, 62, 6371, 796, 6284, 62, 273, 62, 8095, 62, 6371, 58, 11925, 10786, 4023, 1378, 6, 2599, 60, 198, 220, 220, 220, 1288, 361, 6284, 62, 273, 62, 8095, 62, 6371, 13, 9688, 2032, 342, 10786, 5450, 1378, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 6284, 62, 273, 62, 8095, 62, 6371, 796, 6284, 62, 273, 62, 8095, 62, 6371, 58, 11925, 10786, 5450, 1378, 6, 2599, 60, 628, 220, 220, 220, 2600, 8841, 796, 10148, 198, 220, 220, 220, 611, 2836, 290, 1994, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 284, 62, 22708, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9577, 62, 7220, 796, 19016, 29572, 13, 22708, 7, 7220, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9577, 62, 2539, 796, 19016, 29572, 13, 22708, 7, 2539, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9577, 62, 7220, 796, 2836, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9577, 62, 2539, 796, 1994, 198, 220, 220, 220, 220, 220, 220, 220, 2600, 8841, 796, 705, 4, 82, 25, 4, 82, 31, 6, 4064, 357, 22708, 62, 7220, 11, 9577, 62, 2539, 8, 628, 220, 220, 220, 6284, 62, 273, 62, 8095, 62, 6371, 796, 6284, 62, 273, 62, 8095, 62, 6371, 13, 36311, 10786, 14, 11537, 198, 220, 220, 220, 9290, 796, 9290, 13, 36311, 10786, 14, 11537, 198, 220, 220, 220, 26181, 796, 26181, 13, 36311, 10786, 14, 11537, 628, 220, 220, 220, 2956, 72, 796, 705, 4, 82, 1378, 4, 82, 4, 82, 14, 4, 82, 14, 4, 82, 6, 4064, 357, 15952, 1326, 11, 2600, 8841, 11, 6284, 62, 273, 62, 8095, 62, 6371, 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, 9290, 11, 26181, 8, 198, 220, 220, 220, 1441, 34117, 62, 24886, 7, 9900, 8, 198 ]
2.379486
3,539
""" Created on August 14 2018 @author: [email protected] """ import os import sys from osgeo import gdal, osr path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) if path not in sys.path: sys.path.append(path) def array2raster( outRasterPath, geo_transform, dataType, array, noDataValue=0, OutputRasterSRS=3035 ): """ This function rasterizes the input numpy array. The input array and the geo_transform must be given for EPSG3035. """ # conversion of data types from numpy to gdal dict_varTyp = { "int8": gdal.GDT_Byte, "int16": gdal.GDT_Int16, "int32": gdal.GDT_Int32, "uint16": gdal.GDT_UInt16, "uint32": gdal.GDT_UInt32, "float32": gdal.GDT_Float32, "float64": gdal.GDT_Float64, } cols = array.shape[1] rows = array.shape[0] driver = gdal.GetDriverByName("GTiff") outRaster = driver.Create( outRasterPath, cols, rows, 1, dict_varTyp[dataType], ["compress=DEFLATE", "TILED=YES", "TFW=YES", "ZLEVEL=9", "PREDICTOR=1"], ) outRaster.SetGeoTransform(geo_transform) outRasterSRS = osr.SpatialReference() outRasterSRS.ImportFromEPSG(OutputRasterSRS) outRaster.SetProjection(outRasterSRS.ExportToWkt()) outRaster.GetRasterBand(1).SetNoDataValue(noDataValue) if dataType == "int8" or dataType == "uint16": # This can be used for dtype int8 ct = gdal.ColorTable() ct.SetColorEntry(noDataValue, (0, 0, 0, 255)) ct.SetColorEntry(1, (250, 159, 181, 255)) """ for i in range(1, 1+np.max(array)): ct.SetColorEntry(i, tuple(np.random.choice(range(256), size=4))) """ outRaster.GetRasterBand(1).SetColorTable(ct) outRaster.GetRasterBand(1).WriteArray(array) outRaster.FlushCache()
[ 37811, 198, 41972, 319, 2932, 1478, 2864, 198, 198, 31, 9800, 25, 2121, 993, 710, 38442, 31, 1453, 70, 13, 28047, 86, 2013, 13, 330, 13, 265, 198, 37811, 198, 11748, 28686, 198, 11748, 25064, 198, 198, 6738, 28686, 469, 78, 1330, 308, 31748, 11, 267, 27891, 198, 198, 6978, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 35514, 198, 361, 3108, 407, 287, 25064, 13, 6978, 25, 198, 220, 220, 220, 25064, 13, 6978, 13, 33295, 7, 6978, 8, 628, 198, 4299, 7177, 17, 81, 1603, 7, 198, 220, 220, 220, 503, 49, 1603, 15235, 11, 40087, 62, 35636, 11, 1366, 6030, 11, 7177, 11, 645, 6601, 11395, 28, 15, 11, 25235, 49, 1603, 50, 6998, 28, 1270, 2327, 198, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 374, 1603, 4340, 262, 5128, 299, 32152, 7177, 13, 383, 5128, 7177, 290, 262, 198, 220, 220, 220, 40087, 62, 35636, 1276, 307, 1813, 329, 47013, 38, 1270, 2327, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 11315, 286, 1366, 3858, 422, 299, 32152, 284, 308, 31748, 198, 220, 220, 220, 8633, 62, 7785, 31467, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 600, 23, 1298, 308, 31748, 13, 38, 24544, 62, 40778, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 600, 1433, 1298, 308, 31748, 13, 38, 24544, 62, 5317, 1433, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 600, 2624, 1298, 308, 31748, 13, 38, 24544, 62, 5317, 2624, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28611, 1433, 1298, 308, 31748, 13, 38, 24544, 62, 52, 5317, 1433, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28611, 2624, 1298, 308, 31748, 13, 38, 24544, 62, 52, 5317, 2624, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22468, 2624, 1298, 308, 31748, 13, 38, 24544, 62, 43879, 2624, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22468, 2414, 1298, 308, 31748, 13, 38, 24544, 62, 43879, 2414, 11, 198, 220, 220, 220, 1782, 198, 220, 220, 220, 951, 82, 796, 7177, 13, 43358, 58, 16, 60, 198, 220, 220, 220, 15274, 796, 7177, 13, 43358, 58, 15, 60, 198, 220, 220, 220, 4639, 796, 308, 31748, 13, 3855, 32103, 3886, 5376, 7203, 19555, 733, 4943, 198, 220, 220, 220, 503, 49, 1603, 796, 4639, 13, 16447, 7, 198, 220, 220, 220, 220, 220, 220, 220, 503, 49, 1603, 15235, 11, 198, 220, 220, 220, 220, 220, 220, 220, 951, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 15274, 11, 198, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 62, 7785, 31467, 58, 7890, 6030, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 14631, 5589, 601, 28, 7206, 3697, 6158, 1600, 366, 51, 4146, 1961, 28, 43335, 1600, 366, 10234, 54, 28, 43335, 1600, 366, 57, 2538, 18697, 28, 24, 1600, 366, 4805, 1961, 18379, 1581, 28, 16, 33116, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 503, 49, 1603, 13, 7248, 10082, 78, 41762, 7, 469, 78, 62, 35636, 8, 198, 220, 220, 220, 503, 49, 1603, 50, 6998, 796, 267, 27891, 13, 4561, 34961, 26687, 3419, 198, 220, 220, 220, 503, 49, 1603, 50, 6998, 13, 20939, 4863, 36, 3705, 38, 7, 26410, 49, 1603, 50, 6998, 8, 198, 220, 220, 220, 503, 49, 1603, 13, 7248, 16775, 295, 7, 448, 49, 1603, 50, 6998, 13, 43834, 2514, 54, 21841, 28955, 198, 220, 220, 220, 503, 49, 1603, 13, 3855, 49, 1603, 31407, 7, 16, 737, 7248, 2949, 6601, 11395, 7, 3919, 6601, 11395, 8, 628, 220, 220, 220, 611, 1366, 6030, 6624, 366, 600, 23, 1, 393, 1366, 6030, 6624, 366, 28611, 1433, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 770, 460, 307, 973, 329, 288, 4906, 493, 23, 198, 220, 220, 220, 220, 220, 220, 220, 269, 83, 796, 308, 31748, 13, 10258, 10962, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 269, 83, 13, 7248, 10258, 30150, 7, 3919, 6601, 11395, 11, 357, 15, 11, 657, 11, 657, 11, 14280, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 269, 83, 13, 7248, 10258, 30150, 7, 16, 11, 357, 9031, 11, 26422, 11, 30110, 11, 14280, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 16, 11, 352, 10, 37659, 13, 9806, 7, 18747, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 83, 13, 7248, 10258, 30150, 7, 72, 11, 46545, 7, 37659, 13, 25120, 13, 25541, 7, 9521, 7, 11645, 828, 2546, 28, 19, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 503, 49, 1603, 13, 3855, 49, 1603, 31407, 7, 16, 737, 7248, 10258, 10962, 7, 310, 8, 628, 220, 220, 220, 503, 49, 1603, 13, 3855, 49, 1603, 31407, 7, 16, 737, 16594, 19182, 7, 18747, 8, 198, 220, 220, 220, 503, 49, 1603, 13, 7414, 1530, 30562, 3419, 198 ]
2.132353
884
#!/usr/bin/python3 import sys, subprocess ############################################################################### # Config ############################################################################### dataFile = None binFile = None onlyFunc = False verbose = False ############################################################################### # Utility functions ############################################################################### ############################################################################### # Driver ############################################################################### skip = False for i in range(len(sys.argv)): if skip: skip = False continue elif sys.argv[i] == "-h" or sys.argv[i] == "--help": printHelp() sys.exit(0) continue elif sys.argv[i] == "-d": dataFile = sys.argv[i+1] skip = True continue elif sys.argv[i] == "-b": binFile = sys.argv[i+1] skip = True continue elif sys.argv[i] == "-f": onlyFunc = True continue elif sys.argv[i] == "-v": verbose = True continue if dataFile == None: print("Please supply a data file!") printHelp() sys.exit(1) if onlyFunc and binFile == None: print("Please supply a binary to print function names!") printHelp() sys.exit(1) avgDepth, maxDepth, funcCalls = parseData(dataFile) if binFile == None: printRaw(dataFile, avgDepth, maxDepth, funcCalls) else: symbols = getSymbolTable(binFile) printDetailed(dataFile, binFile, symbols, avgDepth, maxDepth, funcCalls)
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 198, 11748, 25064, 11, 850, 14681, 198, 198, 29113, 29113, 7804, 4242, 21017, 198, 2, 17056, 198, 29113, 29113, 7804, 4242, 21017, 198, 198, 7890, 8979, 796, 6045, 198, 8800, 8979, 796, 6045, 198, 8807, 37, 19524, 796, 10352, 198, 19011, 577, 796, 10352, 198, 198, 29113, 29113, 7804, 4242, 21017, 198, 2, 34030, 5499, 198, 29113, 29113, 7804, 4242, 21017, 198, 198, 29113, 29113, 7804, 4242, 21017, 198, 2, 12434, 198, 29113, 29113, 7804, 4242, 21017, 198, 198, 48267, 796, 10352, 198, 1640, 1312, 287, 2837, 7, 11925, 7, 17597, 13, 853, 85, 8, 2599, 198, 197, 361, 14267, 25, 198, 197, 197, 48267, 796, 10352, 198, 197, 197, 43043, 198, 197, 417, 361, 25064, 13, 853, 85, 58, 72, 60, 6624, 27444, 71, 1, 393, 25064, 13, 853, 85, 58, 72, 60, 6624, 366, 438, 16794, 1298, 198, 197, 197, 4798, 22087, 3419, 198, 197, 197, 17597, 13, 37023, 7, 15, 8, 198, 197, 197, 43043, 198, 197, 417, 361, 25064, 13, 853, 85, 58, 72, 60, 6624, 27444, 67, 1298, 198, 197, 197, 7890, 8979, 796, 25064, 13, 853, 85, 58, 72, 10, 16, 60, 198, 197, 197, 48267, 796, 6407, 198, 197, 197, 43043, 198, 197, 417, 361, 25064, 13, 853, 85, 58, 72, 60, 6624, 27444, 65, 1298, 198, 197, 197, 8800, 8979, 796, 25064, 13, 853, 85, 58, 72, 10, 16, 60, 198, 197, 197, 48267, 796, 6407, 198, 197, 197, 43043, 198, 197, 417, 361, 25064, 13, 853, 85, 58, 72, 60, 6624, 27444, 69, 1298, 198, 197, 197, 8807, 37, 19524, 796, 6407, 198, 197, 197, 43043, 198, 197, 417, 361, 25064, 13, 853, 85, 58, 72, 60, 6624, 27444, 85, 1298, 198, 197, 197, 19011, 577, 796, 6407, 198, 197, 197, 43043, 198, 198, 361, 1366, 8979, 6624, 6045, 25, 198, 197, 4798, 7203, 5492, 5127, 257, 1366, 2393, 2474, 8, 198, 197, 4798, 22087, 3419, 198, 197, 17597, 13, 37023, 7, 16, 8, 198, 198, 361, 691, 37, 19524, 290, 9874, 8979, 6624, 6045, 25, 198, 197, 4798, 7203, 5492, 5127, 257, 13934, 284, 3601, 2163, 3891, 2474, 8, 198, 197, 4798, 22087, 3419, 198, 197, 17597, 13, 37023, 7, 16, 8, 198, 198, 615, 70, 48791, 11, 3509, 48791, 11, 25439, 34, 5691, 796, 21136, 6601, 7, 7890, 8979, 8, 198, 361, 9874, 8979, 6624, 6045, 25, 198, 197, 4798, 27369, 7, 7890, 8979, 11, 42781, 48791, 11, 3509, 48791, 11, 25439, 34, 5691, 8, 198, 17772, 25, 198, 197, 1837, 2022, 10220, 796, 651, 13940, 23650, 10962, 7, 8800, 8979, 8, 198, 197, 4798, 32080, 7, 7890, 8979, 11, 9874, 8979, 11, 14354, 11, 42781, 48791, 11, 3509, 48791, 11, 25439, 34, 5691, 8, 628 ]
3.320175
456
from InstagramCLI import InstagramCLI cli = InstagramCLI(username="", password="") data= cli.get_user_info(target_username="usnjsi77",save_to_device=True) print(data) cli.close()
[ 6738, 10767, 5097, 40, 1330, 10767, 5097, 40, 198, 44506, 796, 10767, 5097, 40, 7, 29460, 2625, 1600, 9206, 2625, 4943, 198, 7890, 28, 537, 72, 13, 1136, 62, 7220, 62, 10951, 7, 16793, 62, 29460, 2625, 385, 77, 8457, 72, 3324, 1600, 21928, 62, 1462, 62, 25202, 28, 17821, 8, 198, 4798, 7, 7890, 8, 198, 44506, 13, 19836, 3419 ]
2.918033
61
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module provides classes to comparsion the structures of the two molecule. As long as the two molecule have the same bond connection tables, the molecules are deemed to be same. The atom in the two molecule must be paired accordingly. This module is supposed to perform rough comparisons with the atom order correspondence prerequisite, while molecule_matcher is supposed to do exact comparisons without the atom order correspondence prerequisite. """ import itertools from monty.json import MSONable __author__ = "Xiaohui Qu" __copyright__ = "Copyright 2011, The Materials Project" __version__ = "1.0" __maintainer__ = "Xiaohui Qu" __email__ = "[email protected]" __status__ = "Experimental" __date__ = "Jan 22, 2014" class CovalentRadius: """ Covalent Radius of the elements. Beatriz C. et al. Dalton Trans. 2008, 2832-2838. DOI: 10.1039/b801115j """ radius = { "H": 0.31, "He": 0.28, "Li": 1.28, "Be": 0.96, "B": 0.84, "C": 0.73, "N": 0.71, "O": 0.66, "F": 0.57, "Ne": 0.58, "Na": 1.66, "Mg": 1.41, "Al": 1.21, "Si": 1.11, "P": 1.07, "S": 1.05, "Cl": 1.02, "Ar": 1.06, "K": 2.03, "Ca": 1.76, "Sc": 1.70, "Ti": 1.60, "V": 1.53, "Cr": 1.39, "Mn": 1.50, "Fe": 1.42, "Co": 1.38, "Ni": 1.24, "Cu": 1.32, "Zn": 1.22, "Ga": 1.22, "Ge": 1.20, "As": 1.19, "Se": 1.20, "Br": 1.20, "Kr": 1.16, "Rb": 2.20, "Sr": 1.95, "Y": 1.90, "Zr": 1.75, "Nb": 1.64, "Mo": 1.54, "Tc": 1.47, "Ru": 1.46, "Rh": 1.42, "Pd": 1.39, "Ag": 1.45, "Cd": 1.44, "In": 1.42, "Sn": 1.39, "Sb": 1.39, "Te": 1.38, "I": 1.39, "Xe": 1.40, "Cs": 2.44, "Ba": 2.15, "La": 2.07, "Ce": 2.04, "Pr": 2.03, "Nd": 2.01, "Pm": 1.99, "Sm": 1.98, "Eu": 1.98, "Gd": 1.96, "Tb": 1.94, "Dy": 1.92, "Ho": 1.92, "Er": 1.89, "Tm": 1.90, "Yb": 1.87, "Lu": 1.87, "Hf": 1.75, "Ta": 1.70, "W": 1.62, "Re": 1.51, "Os": 1.44, "Ir": 1.41, "Pt": 1.36, "Au": 1.36, "Hg": 1.32, "Tl": 1.45, "Pb": 1.46, "Bi": 1.48, "Po": 1.40, "At": 1.50, "Rn": 1.50, "Fr": 2.60, "Ra": 2.21, "Ac": 2.15, "Th": 2.06, "Pa": 2.00, "U": 1.96, "Np": 1.90, "Pu": 1.87, "Am": 1.80, "Cm": 1.69, } class MoleculeStructureComparator(MSONable): """ Class to check whether the connection tables of the two molecules are the same. The atom in the two molecule must be paired accordingly. """ ionic_element_list = [ "Na", "Mg", "Al", "Sc", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu", "Zn", "Ga", "Rb", "Sr", ] halogen_list = ["F", "Cl", "Br", "I"] def __init__( self, bond_length_cap=0.3, covalent_radius=CovalentRadius.radius, priority_bonds=(), priority_cap=0.8, ignore_ionic_bond=True, bond_13_cap=0.05, ): """ Args: bond_length_cap: The ratio of the elongation of the bond to be acknowledged. If the distance between two atoms is less than ( empirical covalent bond length) X (1 + bond_length_cap), the bond between the two atoms will be acknowledged. covalent_radius: The covalent radius of the atoms. dict (element symbol -> radius) priority_bonds: The bonds that are known to be existed in the initial molecule. Such bonds will be acknowledged in a loose criteria. The index should start from 0. priority_cap: The ratio of the elongation of the bond to be acknowledged for the priority bonds. """ self.bond_length_cap = bond_length_cap self.covalent_radius = covalent_radius self.priority_bonds = [tuple(sorted(b)) for b in priority_bonds] self.priority_cap = priority_cap self.ignore_ionic_bond = ignore_ionic_bond self.ignore_halogen_self_bond = True self.bond_13_cap = bond_13_cap def are_equal(self, mol1, mol2): """ Compare the bond table of the two molecules. Args: mol1: first molecule. pymatgen Molecule object. mol2: second moleculs. pymatgen Molecule objec. """ b1 = set(self._get_bonds(mol1)) b2 = set(self._get_bonds(mol2)) return b1 == b2 @staticmethod def get_13_bonds(priority_bonds): """ Args: priority_bonds (): Returns: """ all_bond_pairs = list(itertools.combinations(priority_bonds, r=2)) all_2_bond_atoms = [set(b1 + b2) for b1, b2 in all_bond_pairs] all_13_bond_atoms = [a for a in all_2_bond_atoms if len(a) == 3] all_2_and_13_bonds = { tuple(sorted(b)) for b in itertools.chain(*(itertools.combinations(p, 2) for p in all_13_bond_atoms)) } bonds_13 = all_2_and_13_bonds - {tuple(b) for b in priority_bonds} return tuple(sorted(bonds_13)) def _get_bonds(self, mol): """ Find all the bond in a molcule Args: mol: the molecule. pymatgen Molecule object Returns: List of tuple. Each tuple correspond to a bond represented by the id of the two end atoms. """ num_atoms = len(mol) # index starting from 0 if self.ignore_ionic_bond: covalent_atoms = [i for i in range(num_atoms) if mol.species[i].symbol not in self.ionic_element_list] else: covalent_atoms = list(range(num_atoms)) all_pairs = list(itertools.combinations(covalent_atoms, 2)) pair_dists = [mol.get_distance(*p) for p in all_pairs] elements = mol.composition.as_dict().keys() unavailable_elements = list(set(elements) - set(self.covalent_radius.keys())) if len(unavailable_elements) > 0: raise ValueError(f"The covalent radius for element {unavailable_elements} is not available") bond_13 = self.get_13_bonds(self.priority_bonds) max_length = [ (self.covalent_radius[mol.sites[p[0]].specie.symbol] + self.covalent_radius[mol.sites[p[1]].specie.symbol]) * ( 1 + ( self.priority_cap if p in self.priority_bonds else (self.bond_length_cap if p not in bond_13 else self.bond_13_cap) ) ) * ( 0.1 if ( self.ignore_halogen_self_bond and p not in self.priority_bonds and mol.sites[p[0]].specie.symbol in self.halogen_list and mol.sites[p[1]].specie.symbol in self.halogen_list ) else 1.0 ) for p in all_pairs ] bonds = [bond for bond, dist, cap in zip(all_pairs, pair_dists, max_length) if dist <= cap] return bonds def as_dict(self): """ Returns: MSONable dict """ return { "version": __version__, "@module": self.__class__.__module__, "@class": self.__class__.__name__, "bond_length_cap": self.bond_length_cap, "covalent_radius": self.covalent_radius, "priority_bonds": self.priority_bonds, "priority_cap": self.priority_cap, } @classmethod def from_dict(cls, d): """ Args: d (dict): Dict representation Returns: MoleculeStructureComparator """ return MoleculeStructureComparator( bond_length_cap=d["bond_length_cap"], covalent_radius=d["covalent_radius"], priority_bonds=d["priority_bonds"], priority_cap=d["priority_cap"], )
[ 2, 15069, 357, 66, 8, 350, 4948, 265, 5235, 7712, 4816, 13, 198, 2, 4307, 6169, 739, 262, 2846, 286, 262, 17168, 13789, 13, 628, 198, 37811, 198, 1212, 8265, 3769, 6097, 284, 552, 945, 295, 262, 8573, 286, 262, 734, 198, 76, 2305, 23172, 13, 1081, 890, 355, 262, 734, 27756, 423, 262, 976, 6314, 4637, 8893, 11, 198, 1169, 17745, 389, 10762, 284, 307, 976, 13, 383, 22037, 287, 262, 734, 27756, 1276, 307, 198, 8957, 1202, 16062, 13, 198, 1212, 8265, 318, 4385, 284, 1620, 5210, 17909, 351, 262, 22037, 1502, 198, 10215, 5546, 594, 43119, 11, 981, 27756, 62, 6759, 2044, 318, 4385, 284, 466, 2748, 198, 785, 1845, 9886, 1231, 262, 22037, 1502, 22440, 43119, 13, 198, 37811, 198, 198, 11748, 340, 861, 10141, 198, 198, 6738, 40689, 88, 13, 17752, 1330, 6579, 1340, 540, 198, 198, 834, 9800, 834, 796, 366, 55, 544, 1219, 9019, 2264, 1, 198, 834, 22163, 4766, 834, 796, 366, 15269, 2813, 11, 383, 24310, 4935, 1, 198, 834, 9641, 834, 796, 366, 16, 13, 15, 1, 198, 834, 76, 2913, 10613, 834, 796, 366, 55, 544, 1219, 9019, 2264, 1, 198, 834, 12888, 834, 796, 366, 87, 71, 421, 35411, 31, 14816, 13, 785, 1, 198, 834, 13376, 834, 796, 366, 20468, 9134, 1, 198, 834, 4475, 834, 796, 366, 12128, 2534, 11, 1946, 1, 628, 198, 4871, 327, 8325, 298, 15546, 3754, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 327, 8325, 298, 48838, 286, 262, 4847, 13, 628, 220, 220, 220, 12568, 47847, 327, 13, 2123, 435, 13, 33261, 3602, 13, 3648, 11, 2579, 2624, 12, 2078, 2548, 13, 40722, 25, 838, 13, 940, 2670, 14, 65, 41531, 15363, 73, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 16874, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 39, 1298, 657, 13, 3132, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1544, 1298, 657, 13, 2078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 32304, 1298, 352, 13, 2078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3856, 1298, 657, 13, 4846, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 33, 1298, 657, 13, 5705, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34, 1298, 657, 13, 4790, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 45, 1298, 657, 13, 4869, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 46, 1298, 657, 13, 2791, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 37, 1298, 657, 13, 3553, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 8199, 1298, 657, 13, 3365, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 26705, 1298, 352, 13, 2791, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 44, 70, 1298, 352, 13, 3901, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2348, 1298, 352, 13, 2481, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 42801, 1298, 352, 13, 1157, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 1298, 352, 13, 2998, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 50, 1298, 352, 13, 2713, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2601, 1298, 352, 13, 2999, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3163, 1298, 352, 13, 3312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 42, 1298, 362, 13, 3070, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 24334, 1298, 352, 13, 4304, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3351, 1298, 352, 13, 2154, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 40533, 1298, 352, 13, 1899, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 53, 1298, 352, 13, 4310, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 13916, 1298, 352, 13, 2670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 44, 77, 1298, 352, 13, 1120, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 14304, 1298, 352, 13, 3682, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7222, 1298, 352, 13, 2548, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34153, 1298, 352, 13, 1731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 46141, 1298, 352, 13, 2624, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 57, 77, 1298, 352, 13, 1828, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 35389, 1298, 352, 13, 1828, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 10082, 1298, 352, 13, 1238, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1722, 1298, 352, 13, 1129, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 4653, 1298, 352, 13, 1238, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9414, 1298, 352, 13, 1238, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 42, 81, 1298, 352, 13, 1433, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 49, 65, 1298, 362, 13, 1238, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 50, 81, 1298, 352, 13, 3865, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 56, 1298, 352, 13, 3829, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 57, 81, 1298, 352, 13, 2425, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 45, 65, 1298, 352, 13, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 16632, 1298, 352, 13, 4051, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 51, 66, 1298, 352, 13, 2857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 40464, 1298, 352, 13, 3510, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 38576, 1298, 352, 13, 3682, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 67, 1298, 352, 13, 2670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 10262, 1298, 352, 13, 2231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34, 67, 1298, 352, 13, 2598, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 818, 1298, 352, 13, 3682, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 16501, 1298, 352, 13, 2670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 50, 65, 1298, 352, 13, 2670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 6767, 1298, 352, 13, 2548, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 40, 1298, 352, 13, 2670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 55, 68, 1298, 352, 13, 1821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 32274, 1298, 362, 13, 2598, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34458, 1298, 362, 13, 1314, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 14772, 1298, 362, 13, 2998, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34, 68, 1298, 362, 13, 3023, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 6836, 1298, 362, 13, 3070, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 45, 67, 1298, 362, 13, 486, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 76, 1298, 352, 13, 2079, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7556, 1298, 352, 13, 4089, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 36, 84, 1298, 352, 13, 4089, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 38, 67, 1298, 352, 13, 4846, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 51, 65, 1298, 352, 13, 5824, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 35, 88, 1298, 352, 13, 5892, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28900, 1298, 352, 13, 5892, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9139, 1298, 352, 13, 4531, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 51, 76, 1298, 352, 13, 3829, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 56, 65, 1298, 352, 13, 5774, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 25596, 1298, 352, 13, 5774, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 39, 69, 1298, 352, 13, 2425, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 38586, 1298, 352, 13, 2154, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 54, 1298, 352, 13, 5237, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3041, 1298, 352, 13, 4349, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 16748, 1298, 352, 13, 2598, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 23820, 1298, 352, 13, 3901, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 83, 1298, 352, 13, 2623, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 32, 84, 1298, 352, 13, 2623, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 39, 70, 1298, 352, 13, 2624, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 51, 75, 1298, 352, 13, 2231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 65, 1298, 352, 13, 3510, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 23286, 1298, 352, 13, 2780, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18833, 1298, 352, 13, 1821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2953, 1298, 352, 13, 1120, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 49, 77, 1298, 352, 13, 1120, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 6732, 1298, 362, 13, 1899, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 21762, 1298, 362, 13, 2481, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 12832, 1298, 362, 13, 1314, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 817, 1298, 362, 13, 3312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28875, 1298, 362, 13, 405, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 52, 1298, 352, 13, 4846, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 45, 79, 1298, 352, 13, 3829, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 47, 84, 1298, 352, 13, 5774, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5840, 1298, 352, 13, 1795, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34, 76, 1298, 352, 13, 3388, 11, 198, 220, 220, 220, 1782, 628, 198, 4871, 25726, 23172, 1273, 5620, 50249, 1352, 7, 5653, 1340, 540, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5016, 284, 2198, 1771, 262, 4637, 8893, 286, 262, 734, 17745, 389, 262, 198, 220, 220, 220, 976, 13, 383, 22037, 287, 262, 734, 27756, 1276, 307, 20312, 16062, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 22088, 291, 62, 30854, 62, 4868, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 366, 26705, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 44, 70, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2348, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3351, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 53, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 13916, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 44, 77, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 14304, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7222, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34153, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 46141, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 57, 77, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 35389, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 49, 65, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 50, 81, 1600, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 10284, 6644, 62, 4868, 796, 14631, 37, 1600, 366, 2601, 1600, 366, 9414, 1600, 366, 40, 8973, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6314, 62, 13664, 62, 11128, 28, 15, 13, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 269, 8325, 298, 62, 42172, 28, 34, 8325, 298, 15546, 3754, 13, 42172, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 65, 24764, 16193, 828, 198, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 11128, 28, 15, 13, 23, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 26523, 62, 65, 623, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6314, 62, 1485, 62, 11128, 28, 15, 13, 2713, 11, 198, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6314, 62, 13664, 62, 11128, 25, 383, 8064, 286, 262, 39696, 341, 286, 262, 6314, 284, 307, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10810, 13, 1002, 262, 5253, 1022, 734, 23235, 318, 1342, 621, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21594, 269, 8325, 298, 6314, 4129, 8, 1395, 357, 16, 1343, 6314, 62, 13664, 62, 11128, 828, 262, 6314, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1022, 262, 734, 23235, 481, 307, 10810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 8325, 298, 62, 42172, 25, 383, 269, 8325, 298, 16874, 286, 262, 23235, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8633, 357, 30854, 6194, 4613, 16874, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 65, 24764, 25, 383, 13100, 326, 389, 1900, 284, 307, 11196, 287, 262, 4238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27756, 13, 8013, 13100, 481, 307, 10810, 287, 257, 9155, 9987, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 6376, 815, 923, 422, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 11128, 25, 383, 8064, 286, 262, 39696, 341, 286, 262, 6314, 284, 307, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10810, 329, 262, 8475, 13100, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 65, 623, 62, 13664, 62, 11128, 796, 6314, 62, 13664, 62, 11128, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 66, 8325, 298, 62, 42172, 796, 269, 8325, 298, 62, 42172, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 49336, 62, 65, 24764, 796, 685, 83, 29291, 7, 82, 9741, 7, 65, 4008, 329, 275, 287, 8475, 62, 65, 24764, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 49336, 62, 11128, 796, 8475, 62, 11128, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 46430, 62, 26523, 62, 65, 623, 796, 8856, 62, 26523, 62, 65, 623, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 46430, 62, 14201, 6644, 62, 944, 62, 65, 623, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 65, 623, 62, 1485, 62, 11128, 796, 6314, 62, 1485, 62, 11128, 628, 220, 220, 220, 825, 389, 62, 40496, 7, 944, 11, 18605, 16, 11, 18605, 17, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 27814, 262, 6314, 3084, 286, 262, 734, 17745, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 16, 25, 717, 27756, 13, 279, 4948, 265, 5235, 25726, 23172, 2134, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 17, 25, 1218, 9411, 3129, 82, 13, 279, 4948, 265, 5235, 25726, 23172, 26181, 721, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 275, 16, 796, 900, 7, 944, 13557, 1136, 62, 65, 24764, 7, 43132, 16, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 275, 17, 796, 900, 7, 944, 13557, 1136, 62, 65, 24764, 7, 43132, 17, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 275, 16, 6624, 275, 17, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 62, 1485, 62, 65, 24764, 7, 49336, 62, 65, 24764, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 65, 24764, 357, 2599, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 65, 623, 62, 79, 3468, 796, 1351, 7, 270, 861, 10141, 13, 24011, 7352, 7, 49336, 62, 65, 24764, 11, 374, 28, 17, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 17, 62, 65, 623, 62, 265, 3150, 796, 685, 2617, 7, 65, 16, 1343, 275, 17, 8, 329, 275, 16, 11, 275, 17, 287, 477, 62, 65, 623, 62, 79, 3468, 60, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 1485, 62, 65, 623, 62, 265, 3150, 796, 685, 64, 329, 257, 287, 477, 62, 17, 62, 65, 623, 62, 265, 3150, 611, 18896, 7, 64, 8, 6624, 513, 60, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 17, 62, 392, 62, 1485, 62, 65, 24764, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 46545, 7, 82, 9741, 7, 65, 4008, 329, 275, 287, 340, 861, 10141, 13, 7983, 46491, 7, 270, 861, 10141, 13, 24011, 7352, 7, 79, 11, 362, 8, 329, 279, 287, 477, 62, 1485, 62, 65, 623, 62, 265, 3150, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 13100, 62, 1485, 796, 477, 62, 17, 62, 392, 62, 1485, 62, 65, 24764, 532, 1391, 83, 29291, 7, 65, 8, 329, 275, 287, 8475, 62, 65, 24764, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 46545, 7, 82, 9741, 7, 65, 24764, 62, 1485, 4008, 628, 220, 220, 220, 825, 4808, 1136, 62, 65, 24764, 7, 944, 11, 18605, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 9938, 477, 262, 6314, 287, 257, 18605, 23172, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 25, 262, 27756, 13, 279, 4948, 265, 5235, 25726, 23172, 2134, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 286, 46545, 13, 5501, 46545, 6053, 284, 257, 6314, 7997, 416, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4686, 286, 262, 734, 886, 23235, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 265, 3150, 796, 18896, 7, 43132, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6376, 3599, 422, 657, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 46430, 62, 26523, 62, 65, 623, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 8325, 298, 62, 265, 3150, 796, 685, 72, 329, 1312, 287, 2837, 7, 22510, 62, 265, 3150, 8, 611, 18605, 13, 35448, 58, 72, 4083, 1837, 23650, 407, 287, 2116, 13, 26523, 62, 30854, 62, 4868, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 8325, 298, 62, 265, 3150, 796, 1351, 7, 9521, 7, 22510, 62, 265, 3150, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 79, 3468, 796, 1351, 7, 270, 861, 10141, 13, 24011, 7352, 7, 66, 8325, 298, 62, 265, 3150, 11, 362, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 5166, 62, 67, 1023, 796, 685, 43132, 13, 1136, 62, 30246, 46491, 79, 8, 329, 279, 287, 477, 62, 79, 3468, 60, 198, 220, 220, 220, 220, 220, 220, 220, 4847, 796, 18605, 13, 785, 9150, 13, 292, 62, 11600, 22446, 13083, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 23485, 62, 68, 3639, 796, 1351, 7, 2617, 7, 68, 3639, 8, 532, 900, 7, 944, 13, 66, 8325, 298, 62, 42172, 13, 13083, 3419, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 403, 15182, 62, 68, 3639, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 69, 1, 464, 269, 8325, 298, 16874, 329, 5002, 1391, 403, 15182, 62, 68, 3639, 92, 318, 407, 1695, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 6314, 62, 1485, 796, 2116, 13, 1136, 62, 1485, 62, 65, 24764, 7, 944, 13, 49336, 62, 65, 24764, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 944, 13, 66, 8325, 298, 62, 42172, 58, 43132, 13, 49315, 58, 79, 58, 15, 60, 4083, 16684, 494, 13, 1837, 23650, 60, 1343, 2116, 13, 66, 8325, 298, 62, 42172, 58, 43132, 13, 49315, 58, 79, 58, 16, 60, 4083, 16684, 494, 13, 1837, 23650, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1343, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 49336, 62, 11128, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 279, 287, 2116, 13, 49336, 62, 65, 24764, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 357, 944, 13, 65, 623, 62, 13664, 62, 11128, 611, 279, 407, 287, 6314, 62, 1485, 2073, 2116, 13, 65, 623, 62, 1485, 62, 11128, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 46430, 62, 14201, 6644, 62, 944, 62, 65, 623, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 279, 407, 287, 2116, 13, 49336, 62, 65, 24764, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 18605, 13, 49315, 58, 79, 58, 15, 60, 4083, 16684, 494, 13, 1837, 23650, 287, 2116, 13, 14201, 6644, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 18605, 13, 49315, 58, 79, 58, 16, 60, 4083, 16684, 494, 13, 1837, 23650, 287, 2116, 13, 14201, 6644, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 352, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 279, 287, 477, 62, 79, 3468, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 628, 220, 220, 220, 220, 220, 220, 220, 13100, 796, 685, 65, 623, 329, 6314, 11, 1233, 11, 1451, 287, 19974, 7, 439, 62, 79, 3468, 11, 5166, 62, 67, 1023, 11, 3509, 62, 13664, 8, 611, 1233, 19841, 1451, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13100, 628, 220, 220, 220, 825, 355, 62, 11600, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 6579, 1340, 540, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9641, 1298, 11593, 9641, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44212, 21412, 1298, 2116, 13, 834, 4871, 834, 13, 834, 21412, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44212, 4871, 1298, 2116, 13, 834, 4871, 834, 13, 834, 3672, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 65, 623, 62, 13664, 62, 11128, 1298, 2116, 13, 65, 623, 62, 13664, 62, 11128, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 66, 8325, 298, 62, 42172, 1298, 2116, 13, 66, 8325, 298, 62, 42172, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 49336, 62, 65, 24764, 1298, 2116, 13, 49336, 62, 65, 24764, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 49336, 62, 11128, 1298, 2116, 13, 49336, 62, 11128, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 422, 62, 11600, 7, 565, 82, 11, 288, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 357, 11600, 2599, 360, 713, 10552, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25726, 23172, 1273, 5620, 50249, 1352, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 25726, 23172, 1273, 5620, 50249, 1352, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6314, 62, 13664, 62, 11128, 28, 67, 14692, 65, 623, 62, 13664, 62, 11128, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 8325, 298, 62, 42172, 28, 67, 14692, 66, 8325, 298, 62, 42172, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 65, 24764, 28, 67, 14692, 49336, 62, 65, 24764, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8475, 62, 11128, 28, 67, 14692, 49336, 62, 11128, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198 ]
1.839041
4,672
#!/usr/bin/env python3 # Copyright (C) 2018 Intel Corporation # SPDX-License-Identifier: BSD-3-Clause """Function for evaluating the nodes of a decision tree and extracting out the results from each of the nodes.""" # Import built in modules import argparse import sys import os # Import 3rd party modules # Import local modules from ThenWhatTree import _get_file_type from ThenWhatTree import evaluate from ThenWhatTree import extract # Module authorship metadata __author__ = "Erik W Berg" __copyright__ = "Copyright 2018, Intel Corporation" __credits__ = [""] __license__ = "BSD-3-Clause" __version__ = "1.0" __maintainer__ = "Erik W Berg" __email__ = "" __status__ = "Production" # Prototype, Development, Production # Code starts here def parse_args(): ''' Function to parse the cmdline, check that required args are present and that the file types are correct :return: ''' parser = argparse.ArgumentParser() parser.add_argument('--xml', help='path to xml file defining the decision tree', nargs='?', type=str) args = parser.parse_args() check_cmd_line_args(args) check_xml_file_type(args) return args def check_cmd_line_args(args): ''' Raise an exception if an XML file was not passed in on the cmd line. :param args: :return: none ''' if not args.xml: raise Exception('--xml switch must be populated') def check_xml_file_type(args): ''' Raise an exception if the cmd line switch does not match the type of the passed file :param args: :return: none ''' if 'XML' not in _get_file_type(args.xml): raise Exception(sys.argv[1] + ' is not a XML file') if __name__ == '__main__': args = parse_args() os.environ['PYTHONDONTWRITEBYTECODE'] = 'TRUE' tree_object = evaluate(args.xml) print(extract(tree_object.getroot()))
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 628, 198, 2, 15069, 357, 34, 8, 2864, 8180, 10501, 198, 2, 30628, 55, 12, 34156, 12, 33234, 7483, 25, 347, 10305, 12, 18, 12, 2601, 682, 198, 198, 37811, 22203, 329, 22232, 262, 13760, 286, 257, 2551, 5509, 290, 37895, 503, 262, 2482, 422, 1123, 286, 262, 13760, 526, 15931, 198, 198, 2, 17267, 3170, 287, 13103, 198, 11748, 1822, 29572, 198, 11748, 25064, 198, 11748, 28686, 198, 198, 2, 17267, 513, 4372, 2151, 13103, 198, 198, 2, 17267, 1957, 13103, 198, 6738, 3244, 2061, 27660, 1330, 4808, 1136, 62, 7753, 62, 4906, 198, 6738, 3244, 2061, 27660, 1330, 13446, 198, 6738, 3244, 2061, 27660, 1330, 7925, 198, 198, 2, 19937, 7035, 1056, 20150, 198, 834, 9800, 834, 796, 366, 36, 12602, 370, 24626, 1, 198, 834, 22163, 4766, 834, 796, 366, 15269, 2864, 11, 8180, 10501, 1, 198, 834, 66, 20696, 834, 796, 14631, 8973, 198, 834, 43085, 834, 796, 366, 21800, 12, 18, 12, 2601, 682, 1, 198, 834, 9641, 834, 796, 366, 16, 13, 15, 1, 198, 834, 76, 2913, 10613, 834, 796, 366, 36, 12602, 370, 24626, 1, 198, 834, 12888, 834, 796, 13538, 198, 834, 13376, 834, 796, 366, 35027, 1, 220, 1303, 48954, 11, 7712, 11, 19174, 198, 198, 2, 6127, 4940, 994, 628, 198, 4299, 21136, 62, 22046, 33529, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 15553, 284, 21136, 262, 23991, 1370, 11, 2198, 326, 2672, 26498, 389, 1944, 290, 326, 262, 2393, 3858, 389, 3376, 628, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 19875, 3256, 1037, 11639, 6978, 284, 35555, 2393, 16215, 262, 2551, 5509, 3256, 299, 22046, 11639, 30, 3256, 2099, 28, 2536, 8, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 220, 220, 220, 2198, 62, 28758, 62, 1370, 62, 22046, 7, 22046, 8, 198, 220, 220, 220, 2198, 62, 19875, 62, 7753, 62, 4906, 7, 22046, 8, 198, 220, 220, 220, 1441, 26498, 198, 198, 4299, 2198, 62, 28758, 62, 1370, 62, 22046, 7, 22046, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 35123, 281, 6631, 611, 281, 23735, 2393, 373, 407, 3804, 287, 319, 262, 23991, 1627, 13, 198, 220, 220, 220, 1058, 17143, 26498, 25, 198, 220, 220, 220, 1058, 7783, 25, 4844, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 611, 407, 26498, 13, 19875, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 10786, 438, 19875, 5078, 1276, 307, 22331, 11537, 628, 198, 4299, 2198, 62, 19875, 62, 7753, 62, 4906, 7, 22046, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 35123, 281, 6631, 611, 262, 23991, 1627, 5078, 857, 407, 2872, 262, 2099, 286, 262, 3804, 2393, 628, 220, 220, 220, 1058, 17143, 26498, 25, 198, 220, 220, 220, 1058, 7783, 25, 4844, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 611, 705, 55, 5805, 6, 407, 287, 4808, 1136, 62, 7753, 62, 4906, 7, 22046, 13, 19875, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 7, 17597, 13, 853, 85, 58, 16, 60, 1343, 705, 318, 407, 257, 23735, 2393, 11537, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 628, 220, 220, 220, 26498, 796, 21136, 62, 22046, 3419, 198, 220, 220, 220, 28686, 13, 268, 2268, 17816, 47, 56, 4221, 18672, 35830, 18564, 12709, 17513, 51, 2943, 16820, 20520, 796, 705, 5446, 8924, 6, 198, 220, 220, 220, 5509, 62, 15252, 796, 13446, 7, 22046, 13, 19875, 8, 198, 220, 220, 220, 3601, 7, 2302, 974, 7, 21048, 62, 15252, 13, 1136, 15763, 3419, 4008, 198 ]
2.903125
640
from dataclasses import dataclass @dataclass
[ 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 628, 198, 31, 19608, 330, 31172, 198 ]
3.133333
15
import torch import numpy as np def run_sis(T, G, S, I, newI, nu, mu, d, beta, N): ''' Runs the linearized SIS model, returning the total number of infected agents summed over all time steps. ''' #duplicate these variables along an additional axis to match the batch size nu = torch.diag(1 - nu).expand_as(beta) d = torch.diag(1 - d).expand_as(beta) G = G.expand_as(beta) #run the main loop for the linearized disease dynamics total_infected = I.mean(dim=0).sum() for t in range(1, T): new_infections = S[t-1] @ mu[t-1] @ beta @ N[t-1] old_infections = nu @ d A = G @ (new_infections + old_infections) I = A @ I I = I + newI[t] total_infected += I.mean(dim=0).sum() return total_infected def run_seis(T, G, S, I, newI, nu, mu, d, beta, N, alpha_fast, alpha_slow, E): ''' Runs the linearized SEIS model, returning the total number of infected agents summed over all time steps. ''' #duplicate these variables along an additional axis to match the batch size nu = torch.diag(1 - nu).expand_as(beta) d = torch.diag(1 - d).expand_as(beta) G = G.expand_as(beta) E = E.expand_as(beta) alpha_fast = torch.diag(alpha_fast).expand_as(beta) alpha_slow = alpha_slow.expand_as(beta) #run the main loop for the linearized disease dynamics total_infected = I.mean(dim=0).sum() import numpy as np infections_time = np.zeros((T, 100)) for t in range(1, T): new_infections = S[t-1] @ mu[t-1] @ beta @ N[t-1] @ I # print(new_infections.shape) # print(alpha_fast.shape) new_infections_active = alpha_fast @ new_infections new_infections_latent = new_infections - new_infections_active E = mu[t-1] @ E activations = alpha_slow*E E = (1 - alpha_slow)*E # print(E[:, 0].shape) # print(new_infections_latent.squeeze().shape) E[:, 0] += new_infections_latent.squeeze() E = G @ E @ G old_infections = nu @ d @ I # print(new_infections_active.shape) # print(old_infections.shape) # print(newI[t].shape) # print(activations.sum(dim=2).shape) # print(I.shape) I = new_infections_active + old_infections + newI[t] + activations.sum(dim=2).view_as(I) I = G @ I # infections_time.append(I.mean(dim=0).sum().item()) for j in range(100): total_pop = (1./torch.diag(N[t, j])).sum() infections_time[t, j] = I[j].sum()/total_pop if t == 1 and j == 0: print(total_pop.item(), I[j].sum().item()) # total_infected += I.mean(dim=0).sum() return infections_time def run_seis_information(T, G, S, I, newI, nu, mu, d, beta, N, alpha_fast, alpha_slow, E, beta_information, nu_max): ''' Runs the linearized SEIS model, returning the total number of infected agents summed over all time steps. ''' #duplicate these variables along an additional axis to match the batch size informed = nu.view(len(nu), 1) informed = informed.expand(beta.shape[0], *informed.shape) nu = torch.diag(1 - nu).expand_as(beta) d = torch.diag(1 - d).expand_as(beta) G = G.expand_as(beta) E = E.expand_as(beta) alpha_fast = torch.diag(alpha_fast).expand_as(beta) alpha_slow = alpha_slow.expand_as(beta) #keep track of infected, latent, and informed at each time step all_infections = torch.zeros(T, beta.shape[1], 1) all_E = torch.zeros(T, E.shape[1], E.shape[2]) all_F = torch.zeros_like(all_infections) #run the main loop for the linearized disease dynamics for t in range(1, T): #update nu with new information spread not_informed_fraction = 1 - informed not_informed_fraction_diag = vector_to_diag(not_informed_fraction, beta) #constant scaling the beta for information spread informed = 0.1*not_informed_fraction_diag@beta_information@informed + informed nu = nu_max*informed nu = vector_to_diag(1 - nu, beta) #infections new_infections = S[t-1] @ mu[t-1] @ beta @ N[t-1] @ I new_infections_active = alpha_fast @ new_infections new_infections_latent = new_infections - new_infections_active E = mu[t-1] @ E activations = alpha_slow*E E = (1 - alpha_slow)*E E[:, 0] += new_infections_latent.squeeze() E = G @ E @ G old_infections = nu @ d @ I I = new_infections_active + old_infections + newI[t] + activations.sum(dim=2).view_as(I) I = G @ I #return E, I, F by time and age group #mean across samples all_infections[t] = I.mean(dim=0) all_E[t] = E.mean(dim=0) all_F[t] = informed.mean(dim = 0) return all_infections, all_E, all_F def run_seis_information_new(T, G, S, I, migration_I, migration_E, nu, mu, d, beta, N, alpha_fast, alpha_slow, E, beta_information, nu_max): ''' Runs the linearized SEIS model, returning the total number of infected agents summed over all time steps. ''' #read in for first period of F, informed #nu_sq = np.loadtxt('ann2018_clearanceProb.csv.csv', delimiter=',', skiprows=1) #nu_sq[np.isnan(nu_sq)] = 0 #nu_sq = nu_sq.mean(axis = 0) #nu_sq = torch.from_numpy(nu_sq) #duplicate these variables along an additional axis to match the batch size beta = beta.expand_as(G) informed = nu.view(len(nu), 1) informed = informed.expand(beta.shape[0], *informed.shape) nu = torch.diag(1 - nu).expand_as(beta) num_samples = G.shape[0] #keep track of infected, latent, and informed at each time step all_I = torch.zeros(T, num_samples, beta.shape[1], 1).double() all_E = torch.zeros(T, num_samples, E.shape[1], E.shape[2]).double() all_F = torch.zeros_like(all_I).double() all_I[0] = I[0] all_E[0] = E[0] #all_I[0] = I[30] #all_E[0] = E[30] all_F[0] = informed #run the main loop for the linearized disease dynamics for t in range(1, T): #update nu with new information spread not_informed_fraction = 1 - informed not_informed_fraction_diag = vector_to_diag(not_informed_fraction, beta) #constant scaling the beta for information spread informed = not_informed_fraction_diag@beta_information@informed + informed #print('here is info beta mat') #print(beta_information) #print('here is informed') #print(informed) #debug sze nu = nu_max*informed nu = vector_to_diag(1 - nu, beta) #infections new_infections = S[t-1] @ mu @ beta @ N[t-1] @ I new_infections_active = alpha_fast @ new_infections new_infections_latent = new_infections - new_infections_active E = mu @ E activations = alpha_slow@E E = E - activations E += new_infections_latent E = G @ E + migration_E[t] #CHANGING TO USING THE LAST MIGRATION PERIOD #E = G @ E + migration_E[30] old_infections = nu @ d @ I I = new_infections_active + old_infections + activations I = G @ I + migration_I[t] #CHANGING TO USING THE LAST MIGRATION PERIOD #I = G @ I + migration_I[30] #return E, I, F by time and age group #mean across samples all_I[t] = I all_E[t] = E all_F[t] = informed #print(all_I) return all_I, all_E, all_F class SISInstance(): """ Represents an instantiation of the SIS model with a particular (distribution over) parameters. Foward pass computes total infections as a function of nu, backward computes gradient wrt nu. """ def greedy(grad, U, L, K): ''' Greedily select budget number of elements with highest weight according to grad ''' sorted_groups = torch.sort(grad)[1] nu = L.clone() curr = 0 while (nu - L).sum() < K and curr < len(grad): amount_add = min([U[sorted_groups[curr]] - L[sorted_groups[curr]], K - (nu - L).sum()]) nu[[sorted_groups[curr]]] += amount_add curr += 1 return nu
[ 11748, 28034, 198, 11748, 299, 32152, 355, 45941, 198, 198, 4299, 1057, 62, 13429, 7, 51, 11, 402, 11, 311, 11, 314, 11, 649, 40, 11, 14364, 11, 38779, 11, 288, 11, 12159, 11, 399, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 44743, 262, 14174, 1143, 311, 1797, 2746, 11, 8024, 262, 2472, 1271, 286, 14112, 6554, 198, 220, 220, 220, 32794, 625, 477, 640, 4831, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1303, 646, 489, 5344, 777, 9633, 1863, 281, 3224, 16488, 284, 2872, 262, 15458, 2546, 198, 220, 220, 220, 14364, 796, 28034, 13, 10989, 363, 7, 16, 532, 14364, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 288, 796, 28034, 13, 10989, 363, 7, 16, 532, 288, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 402, 796, 402, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 1303, 5143, 262, 1388, 9052, 329, 262, 14174, 1143, 4369, 17262, 198, 220, 220, 220, 2472, 62, 27816, 276, 796, 314, 13, 32604, 7, 27740, 28, 15, 737, 16345, 3419, 198, 220, 220, 220, 329, 256, 287, 2837, 7, 16, 11, 309, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 796, 311, 58, 83, 12, 16, 60, 2488, 38779, 58, 83, 12, 16, 60, 2488, 12159, 2488, 399, 58, 83, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 27816, 507, 796, 14364, 2488, 288, 198, 220, 220, 220, 220, 220, 220, 220, 317, 796, 402, 2488, 357, 3605, 62, 27816, 507, 1343, 1468, 62, 27816, 507, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 317, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 314, 1343, 649, 40, 58, 83, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 27816, 276, 15853, 314, 13, 32604, 7, 27740, 28, 15, 737, 16345, 3419, 220, 198, 220, 220, 220, 1441, 2472, 62, 27816, 276, 628, 198, 4299, 1057, 62, 325, 271, 7, 51, 11, 402, 11, 311, 11, 314, 11, 649, 40, 11, 14364, 11, 38779, 11, 288, 11, 12159, 11, 399, 11, 17130, 62, 7217, 11, 17130, 62, 38246, 11, 412, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 44743, 262, 14174, 1143, 7946, 1797, 2746, 11, 8024, 262, 2472, 1271, 286, 14112, 6554, 198, 220, 220, 220, 32794, 625, 477, 640, 4831, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1303, 646, 489, 5344, 777, 9633, 1863, 281, 3224, 16488, 284, 2872, 262, 15458, 2546, 198, 220, 220, 220, 14364, 796, 28034, 13, 10989, 363, 7, 16, 532, 14364, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 288, 796, 28034, 13, 10989, 363, 7, 16, 532, 288, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 402, 796, 402, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 412, 796, 412, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 17130, 62, 7217, 796, 28034, 13, 10989, 363, 7, 26591, 62, 7217, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 17130, 62, 38246, 796, 17130, 62, 38246, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 1303, 5143, 262, 1388, 9052, 329, 262, 14174, 1143, 4369, 17262, 198, 220, 220, 220, 2472, 62, 27816, 276, 796, 314, 13, 32604, 7, 27740, 28, 15, 737, 16345, 3419, 198, 220, 220, 220, 1330, 299, 32152, 355, 45941, 198, 220, 220, 220, 16079, 62, 2435, 796, 45941, 13, 9107, 418, 19510, 51, 11, 1802, 4008, 198, 220, 220, 220, 329, 256, 287, 2837, 7, 16, 11, 309, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 796, 311, 58, 83, 12, 16, 60, 2488, 38779, 58, 83, 12, 16, 60, 2488, 12159, 2488, 399, 58, 83, 12, 16, 60, 2488, 314, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 3605, 62, 27816, 507, 13, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 26591, 62, 7217, 13, 43358, 8, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 5275, 796, 17130, 62, 7217, 2488, 649, 62, 27816, 507, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 15460, 298, 796, 649, 62, 27816, 507, 532, 649, 62, 27816, 507, 62, 5275, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 38779, 58, 83, 12, 16, 60, 2488, 412, 198, 220, 220, 220, 220, 220, 220, 220, 1753, 602, 796, 17130, 62, 38246, 9, 36, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 357, 16, 532, 17130, 62, 38246, 27493, 36, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 36, 58, 45299, 657, 4083, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 3605, 62, 27816, 507, 62, 15460, 298, 13, 16485, 1453, 2736, 22446, 43358, 8, 198, 220, 220, 220, 220, 220, 220, 220, 412, 58, 45299, 657, 60, 15853, 649, 62, 27816, 507, 62, 15460, 298, 13, 16485, 1453, 2736, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 402, 2488, 412, 2488, 402, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 27816, 507, 796, 14364, 2488, 288, 2488, 314, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 3605, 62, 27816, 507, 62, 5275, 13, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 727, 62, 27816, 507, 13, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 3605, 40, 58, 83, 4083, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 15791, 602, 13, 16345, 7, 27740, 28, 17, 737, 43358, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 40, 13, 43358, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 649, 62, 27816, 507, 62, 5275, 1343, 1468, 62, 27816, 507, 1343, 649, 40, 58, 83, 60, 1343, 1753, 602, 13, 16345, 7, 27740, 28, 17, 737, 1177, 62, 292, 7, 40, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 402, 2488, 314, 198, 2, 220, 220, 220, 220, 220, 220, 220, 16079, 62, 2435, 13, 33295, 7, 40, 13, 32604, 7, 27740, 28, 15, 737, 16345, 22446, 9186, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 2837, 7, 3064, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 12924, 796, 357, 16, 19571, 13165, 354, 13, 10989, 363, 7, 45, 58, 83, 11, 474, 12962, 737, 16345, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16079, 62, 2435, 58, 83, 11, 474, 60, 796, 314, 58, 73, 4083, 16345, 3419, 14, 23350, 62, 12924, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 256, 6624, 352, 290, 474, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 23350, 62, 12924, 13, 9186, 22784, 314, 58, 73, 4083, 16345, 22446, 9186, 28955, 198, 2, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 27816, 276, 15853, 314, 13, 32604, 7, 27740, 28, 15, 737, 16345, 3419, 220, 198, 220, 220, 220, 1441, 16079, 62, 2435, 628, 198, 198, 4299, 1057, 62, 325, 271, 62, 17018, 7, 51, 11, 402, 11, 311, 11, 314, 11, 649, 40, 11, 14364, 11, 38779, 11, 288, 11, 12159, 11, 399, 11, 17130, 62, 7217, 11, 17130, 62, 38246, 11, 412, 11, 12159, 62, 17018, 11, 14364, 62, 9806, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 44743, 262, 14174, 1143, 7946, 1797, 2746, 11, 8024, 262, 2472, 1271, 286, 14112, 6554, 198, 220, 220, 220, 32794, 625, 477, 640, 4831, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1303, 646, 489, 5344, 777, 9633, 1863, 281, 3224, 16488, 284, 2872, 262, 15458, 2546, 198, 220, 220, 220, 7981, 796, 14364, 13, 1177, 7, 11925, 7, 28803, 828, 352, 8, 198, 220, 220, 220, 7981, 796, 7981, 13, 11201, 392, 7, 31361, 13, 43358, 58, 15, 4357, 1635, 35698, 13, 43358, 8, 198, 220, 220, 220, 14364, 796, 28034, 13, 10989, 363, 7, 16, 532, 14364, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 288, 796, 28034, 13, 10989, 363, 7, 16, 532, 288, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 402, 796, 402, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 412, 796, 412, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 17130, 62, 7217, 796, 28034, 13, 10989, 363, 7, 26591, 62, 7217, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 17130, 62, 38246, 796, 17130, 62, 38246, 13, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 14894, 2610, 286, 14112, 11, 41270, 11, 290, 7981, 379, 1123, 640, 2239, 198, 220, 220, 220, 477, 62, 27816, 507, 796, 28034, 13, 9107, 418, 7, 51, 11, 12159, 13, 43358, 58, 16, 4357, 352, 8, 198, 220, 220, 220, 477, 62, 36, 796, 28034, 13, 9107, 418, 7, 51, 11, 412, 13, 43358, 58, 16, 4357, 412, 13, 43358, 58, 17, 12962, 198, 220, 220, 220, 477, 62, 37, 796, 28034, 13, 9107, 418, 62, 2339, 7, 439, 62, 27816, 507, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5143, 262, 1388, 9052, 329, 262, 14174, 1143, 4369, 17262, 198, 220, 220, 220, 329, 256, 287, 2837, 7, 16, 11, 309, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 19119, 14364, 351, 649, 1321, 4104, 198, 220, 220, 220, 220, 220, 220, 220, 407, 62, 35698, 62, 69, 7861, 796, 352, 532, 7981, 198, 220, 220, 220, 220, 220, 220, 220, 407, 62, 35698, 62, 69, 7861, 62, 10989, 363, 796, 15879, 62, 1462, 62, 10989, 363, 7, 1662, 62, 35698, 62, 69, 7861, 11, 12159, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 9979, 415, 20796, 262, 12159, 329, 1321, 4104, 198, 220, 220, 220, 220, 220, 220, 220, 7981, 796, 657, 13, 16, 9, 1662, 62, 35698, 62, 69, 7861, 62, 10989, 363, 31, 31361, 62, 17018, 31, 35698, 1343, 7981, 198, 220, 220, 220, 220, 220, 220, 220, 14364, 796, 14364, 62, 9806, 9, 35698, 198, 220, 220, 220, 220, 220, 220, 220, 14364, 796, 15879, 62, 1462, 62, 10989, 363, 7, 16, 532, 14364, 11, 12159, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 27816, 507, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 796, 311, 58, 83, 12, 16, 60, 2488, 38779, 58, 83, 12, 16, 60, 2488, 12159, 2488, 399, 58, 83, 12, 16, 60, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 5275, 796, 17130, 62, 7217, 2488, 649, 62, 27816, 507, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 15460, 298, 796, 649, 62, 27816, 507, 532, 649, 62, 27816, 507, 62, 5275, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 38779, 58, 83, 12, 16, 60, 2488, 412, 198, 220, 220, 220, 220, 220, 220, 220, 1753, 602, 796, 17130, 62, 38246, 9, 36, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 357, 16, 532, 17130, 62, 38246, 27493, 36, 198, 220, 220, 220, 220, 220, 220, 220, 412, 58, 45299, 657, 60, 15853, 649, 62, 27816, 507, 62, 15460, 298, 13, 16485, 1453, 2736, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 402, 2488, 412, 2488, 402, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 27816, 507, 796, 14364, 2488, 288, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 649, 62, 27816, 507, 62, 5275, 1343, 1468, 62, 27816, 507, 1343, 649, 40, 58, 83, 60, 1343, 1753, 602, 13, 16345, 7, 27740, 28, 17, 737, 1177, 62, 292, 7, 40, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 402, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7783, 412, 11, 314, 11, 376, 416, 640, 290, 2479, 1448, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 32604, 1973, 8405, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 27816, 507, 58, 83, 60, 796, 314, 13, 32604, 7, 27740, 28, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 36, 58, 83, 60, 796, 412, 13, 32604, 7, 27740, 28, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 37, 58, 83, 60, 796, 7981, 13, 32604, 7, 27740, 796, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 477, 62, 27816, 507, 11, 477, 62, 36, 11, 477, 62, 37, 628, 198, 4299, 1057, 62, 325, 271, 62, 17018, 62, 3605, 7, 51, 11, 402, 11, 311, 11, 314, 11, 13472, 62, 40, 11, 13472, 62, 36, 11, 14364, 11, 38779, 11, 288, 11, 12159, 11, 399, 11, 17130, 62, 7217, 11, 17130, 62, 38246, 11, 412, 11, 12159, 62, 17018, 11, 14364, 62, 9806, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 44743, 262, 14174, 1143, 7946, 1797, 2746, 11, 8024, 262, 2472, 1271, 286, 14112, 6554, 198, 220, 220, 220, 32794, 625, 477, 640, 4831, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1303, 961, 287, 329, 717, 2278, 286, 376, 11, 7981, 198, 220, 220, 220, 1303, 28803, 62, 31166, 796, 45941, 13, 2220, 14116, 10786, 1236, 7908, 62, 20063, 590, 2964, 65, 13, 40664, 13, 40664, 3256, 46728, 2676, 28, 3256, 3256, 14267, 8516, 28, 16, 8, 198, 220, 220, 220, 1303, 28803, 62, 31166, 58, 37659, 13, 271, 12647, 7, 28803, 62, 31166, 15437, 796, 657, 198, 220, 220, 220, 1303, 28803, 62, 31166, 796, 14364, 62, 31166, 13, 32604, 7, 22704, 796, 657, 8, 198, 220, 220, 220, 1303, 28803, 62, 31166, 796, 28034, 13, 6738, 62, 77, 32152, 7, 28803, 62, 31166, 8, 628, 220, 220, 220, 1303, 646, 489, 5344, 777, 9633, 1863, 281, 3224, 16488, 284, 2872, 262, 15458, 2546, 198, 220, 220, 220, 12159, 796, 12159, 13, 11201, 392, 62, 292, 7, 38, 8, 198, 220, 220, 220, 7981, 796, 14364, 13, 1177, 7, 11925, 7, 28803, 828, 352, 8, 198, 220, 220, 220, 7981, 796, 7981, 13, 11201, 392, 7, 31361, 13, 43358, 58, 15, 4357, 1635, 35698, 13, 43358, 8, 198, 220, 220, 220, 14364, 796, 28034, 13, 10989, 363, 7, 16, 532, 14364, 737, 11201, 392, 62, 292, 7, 31361, 8, 198, 220, 220, 220, 997, 62, 82, 12629, 796, 402, 13, 43358, 58, 15, 60, 198, 220, 220, 220, 1303, 14894, 2610, 286, 14112, 11, 41270, 11, 290, 7981, 379, 1123, 640, 2239, 198, 220, 220, 220, 477, 62, 40, 796, 28034, 13, 9107, 418, 7, 51, 11, 997, 62, 82, 12629, 11, 12159, 13, 43358, 58, 16, 4357, 352, 737, 23352, 3419, 198, 220, 220, 220, 477, 62, 36, 796, 28034, 13, 9107, 418, 7, 51, 11, 997, 62, 82, 12629, 11, 412, 13, 43358, 58, 16, 4357, 412, 13, 43358, 58, 17, 35944, 23352, 3419, 198, 220, 220, 220, 477, 62, 37, 796, 28034, 13, 9107, 418, 62, 2339, 7, 439, 62, 40, 737, 23352, 3419, 198, 220, 220, 220, 477, 62, 40, 58, 15, 60, 796, 314, 58, 15, 60, 198, 220, 220, 220, 477, 62, 36, 58, 15, 60, 796, 412, 58, 15, 60, 198, 220, 220, 220, 1303, 439, 62, 40, 58, 15, 60, 796, 314, 58, 1270, 60, 198, 220, 220, 220, 1303, 439, 62, 36, 58, 15, 60, 796, 412, 58, 1270, 60, 628, 220, 220, 220, 477, 62, 37, 58, 15, 60, 796, 7981, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5143, 262, 1388, 9052, 329, 262, 14174, 1143, 4369, 17262, 198, 220, 220, 220, 329, 256, 287, 2837, 7, 16, 11, 309, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 19119, 14364, 351, 649, 1321, 4104, 198, 220, 220, 220, 220, 220, 220, 220, 407, 62, 35698, 62, 69, 7861, 796, 352, 532, 7981, 198, 220, 220, 220, 220, 220, 220, 220, 407, 62, 35698, 62, 69, 7861, 62, 10989, 363, 796, 15879, 62, 1462, 62, 10989, 363, 7, 1662, 62, 35698, 62, 69, 7861, 11, 12159, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 9979, 415, 20796, 262, 12159, 329, 1321, 4104, 198, 220, 220, 220, 220, 220, 220, 220, 7981, 796, 407, 62, 35698, 62, 69, 7861, 62, 10989, 363, 31, 31361, 62, 17018, 31, 35698, 1343, 7981, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4798, 10786, 1456, 318, 7508, 12159, 2603, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4798, 7, 31361, 62, 17018, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4798, 10786, 1456, 318, 7981, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4798, 7, 35698, 8, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 24442, 264, 2736, 198, 220, 220, 220, 220, 220, 220, 220, 14364, 796, 14364, 62, 9806, 9, 35698, 198, 220, 220, 220, 220, 220, 220, 220, 14364, 796, 15879, 62, 1462, 62, 10989, 363, 7, 16, 532, 14364, 11, 12159, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 27816, 507, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 796, 311, 58, 83, 12, 16, 60, 2488, 38779, 2488, 12159, 2488, 399, 58, 83, 12, 16, 60, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 5275, 796, 17130, 62, 7217, 2488, 649, 62, 27816, 507, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 27816, 507, 62, 15460, 298, 796, 649, 62, 27816, 507, 532, 649, 62, 27816, 507, 62, 5275, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 38779, 2488, 412, 198, 220, 220, 220, 220, 220, 220, 220, 1753, 602, 796, 17130, 62, 38246, 31, 36, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 412, 532, 1753, 602, 198, 220, 220, 220, 220, 220, 220, 220, 412, 15853, 649, 62, 27816, 507, 62, 15460, 298, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 402, 2488, 412, 1343, 13472, 62, 36, 58, 83, 60, 1303, 3398, 15567, 2751, 5390, 1294, 2751, 3336, 41894, 337, 3528, 49, 6234, 19878, 40, 3727, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 36, 796, 402, 2488, 412, 1343, 13472, 62, 36, 58, 1270, 60, 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, 1468, 62, 27816, 507, 796, 14364, 2488, 288, 2488, 314, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 649, 62, 27816, 507, 62, 5275, 1343, 1468, 62, 27816, 507, 1343, 1753, 602, 198, 220, 220, 220, 220, 220, 220, 220, 314, 796, 402, 2488, 314, 1343, 13472, 62, 40, 58, 83, 60, 220, 220, 1303, 3398, 15567, 2751, 5390, 1294, 2751, 3336, 41894, 337, 3528, 49, 6234, 19878, 40, 3727, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 40, 796, 402, 2488, 314, 1343, 13472, 62, 40, 58, 1270, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7783, 412, 11, 314, 11, 376, 416, 640, 290, 2479, 1448, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 32604, 1973, 8405, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 40, 58, 83, 60, 796, 314, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 36, 58, 83, 60, 796, 412, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 37, 58, 83, 60, 796, 7981, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 4798, 7, 439, 62, 40, 8, 198, 220, 220, 220, 1441, 477, 62, 40, 11, 477, 62, 36, 11, 477, 62, 37, 198, 220, 220, 220, 220, 198, 198, 4871, 311, 1797, 33384, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1432, 6629, 281, 9113, 3920, 286, 262, 311, 1797, 2746, 351, 257, 1948, 357, 17080, 3890, 220, 198, 220, 220, 220, 625, 8, 10007, 13, 376, 46138, 1208, 552, 1769, 2472, 16079, 355, 257, 2163, 286, 14364, 11, 198, 220, 220, 220, 19528, 552, 1769, 31312, 1319, 83, 14364, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 198, 198, 4299, 31828, 7, 9744, 11, 471, 11, 406, 11, 509, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 11955, 276, 813, 2922, 4466, 1271, 286, 4847, 351, 4511, 3463, 1864, 284, 198, 220, 220, 220, 3915, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 23243, 62, 24432, 796, 28034, 13, 30619, 7, 9744, 38381, 16, 60, 198, 220, 220, 220, 14364, 796, 406, 13, 21018, 3419, 198, 220, 220, 220, 1090, 81, 796, 657, 198, 220, 220, 220, 981, 357, 28803, 532, 406, 737, 16345, 3419, 1279, 509, 290, 1090, 81, 1279, 18896, 7, 9744, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2033, 62, 2860, 796, 949, 26933, 52, 58, 82, 9741, 62, 24432, 58, 22019, 81, 11907, 532, 406, 58, 82, 9741, 62, 24432, 58, 22019, 81, 60, 4357, 509, 532, 357, 28803, 532, 406, 737, 16345, 3419, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 14364, 30109, 82, 9741, 62, 24432, 58, 22019, 81, 11907, 60, 15853, 2033, 62, 2860, 198, 220, 220, 220, 220, 220, 220, 220, 1090, 81, 15853, 352, 198, 220, 220, 220, 1441, 14364, 628, 628, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220 ]
2.228981
3,699
import sys filename = sys.argv[1] test_input = open(filename, 'r') numberOfTest = int(test_input.readline().replace('\n', '').replace('\r', '').strip()) nodesR = [] distanceR = [] nodesC = [] distanceC = [] branchPoint = 0 output = open(filename.replace('in', 'out'), 'w') for i in range(numberOfTest): initData() numNodeRow = int(test_input.readline().replace('\n', '').replace('\r', '').strip()) line = test_input.readline().replace('\n', '').replace('\r', '').strip() ins = line.split(' ') for j in range(0, 2 * (numNodeRow - 1), 2): nodesR.append(int(ins[j])) distanceR.append(int(ins[j+1])) ins = test_input.readline().replace('\n', '').replace('\r', '').strip().split(' ') branchPoint = int(ins[0]) numNodeCol = int(ins[1]) line = test_input.readline().replace('\n', '').replace('\r', '').strip() ins = line.split(' ') for j in range(0, 2 * numNodeCol, 2): distanceC.append(int(ins[j])) nodesC.append(int(ins[j+1])) if branchPoint-1 >= len(nodesR): nodesC.insert(0, 100) else: nodesC.insert(0, nodesR[branchPoint-1]) checkCost() test_input.close() output.close()
[ 11748, 25064, 198, 198, 34345, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 198, 9288, 62, 15414, 796, 1280, 7, 34345, 11, 705, 81, 11537, 198, 198, 17618, 5189, 14402, 796, 493, 7, 9288, 62, 15414, 13, 961, 1370, 22446, 33491, 10786, 59, 77, 3256, 10148, 737, 33491, 10786, 59, 81, 3256, 10148, 737, 36311, 28955, 198, 198, 77, 4147, 49, 796, 17635, 198, 30246, 49, 796, 17635, 198, 77, 4147, 34, 796, 17635, 198, 30246, 34, 796, 17635, 198, 1671, 3702, 12727, 796, 657, 198, 198, 22915, 796, 1280, 7, 34345, 13, 33491, 10786, 259, 3256, 705, 448, 33809, 705, 86, 11537, 198, 198, 1640, 1312, 287, 2837, 7, 17618, 5189, 14402, 2599, 198, 220, 220, 220, 2315, 6601, 3419, 198, 220, 220, 220, 997, 19667, 25166, 796, 493, 7, 9288, 62, 15414, 13, 961, 1370, 22446, 33491, 10786, 59, 77, 3256, 10148, 737, 33491, 10786, 59, 81, 3256, 10148, 737, 36311, 28955, 198, 220, 220, 220, 1627, 796, 1332, 62, 15414, 13, 961, 1370, 22446, 33491, 10786, 59, 77, 3256, 10148, 737, 33491, 10786, 59, 81, 3256, 10148, 737, 36311, 3419, 198, 220, 220, 220, 1035, 796, 1627, 13, 35312, 10786, 705, 8, 198, 220, 220, 220, 329, 474, 287, 2837, 7, 15, 11, 362, 1635, 357, 22510, 19667, 25166, 532, 352, 828, 362, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 49, 13, 33295, 7, 600, 7, 1040, 58, 73, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 5253, 49, 13, 33295, 7, 600, 7, 1040, 58, 73, 10, 16, 60, 4008, 198, 220, 220, 220, 1035, 796, 1332, 62, 15414, 13, 961, 1370, 22446, 33491, 10786, 59, 77, 3256, 10148, 737, 33491, 10786, 59, 81, 3256, 10148, 737, 36311, 22446, 35312, 10786, 705, 8, 198, 220, 220, 220, 8478, 12727, 796, 493, 7, 1040, 58, 15, 12962, 198, 220, 220, 220, 997, 19667, 5216, 796, 493, 7, 1040, 58, 16, 12962, 198, 220, 220, 220, 1627, 796, 1332, 62, 15414, 13, 961, 1370, 22446, 33491, 10786, 59, 77, 3256, 10148, 737, 33491, 10786, 59, 81, 3256, 10148, 737, 36311, 3419, 198, 220, 220, 220, 1035, 796, 1627, 13, 35312, 10786, 705, 8, 198, 220, 220, 220, 329, 474, 287, 2837, 7, 15, 11, 362, 1635, 997, 19667, 5216, 11, 362, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5253, 34, 13, 33295, 7, 600, 7, 1040, 58, 73, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 34, 13, 33295, 7, 600, 7, 1040, 58, 73, 10, 16, 60, 4008, 628, 220, 220, 220, 611, 8478, 12727, 12, 16, 18189, 18896, 7, 77, 4147, 49, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 34, 13, 28463, 7, 15, 11, 1802, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 34, 13, 28463, 7, 15, 11, 13760, 49, 58, 1671, 3702, 12727, 12, 16, 12962, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2198, 13729, 3419, 198, 198, 9288, 62, 15414, 13, 19836, 3419, 198, 22915, 13, 19836, 3419 ]
2.323529
510
''' Created on 2014-5-25 @author: xiajie ''' import numpy as np import prostate import preprocess if __name__ == '__main__': inputs, output, Ttype = prostate.loaddata() train_data, train_out, test_data, test_out = prostate.cookdata2(inputs, output, Ttype) X, X_mean, Y_mean, X_std = preprocess.center_data(train_data, train_out, True) beta = PCR(X,train_out) print beta RSS = 0 for i in range(len(test_out)): x = test_data[i] x = (x-X_mean)/X_std print test_out[i], predict(x,beta,Y_mean) RSS += (test_out[i]-predict(x,beta,Y_mean))**2 print RSS/len(test_out)
[ 7061, 6, 198, 41972, 319, 1946, 12, 20, 12, 1495, 198, 198, 31, 9800, 25, 2124, 544, 73, 494, 198, 7061, 6, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 26711, 198, 11748, 662, 14681, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 17311, 11, 5072, 11, 309, 4906, 796, 26711, 13, 2220, 7890, 3419, 198, 220, 220, 220, 4512, 62, 7890, 11, 4512, 62, 448, 11, 1332, 62, 7890, 11, 1332, 62, 448, 796, 26711, 13, 27916, 7890, 17, 7, 15414, 82, 11, 5072, 11, 309, 4906, 8, 198, 220, 220, 220, 1395, 11, 1395, 62, 32604, 11, 575, 62, 32604, 11, 1395, 62, 19282, 796, 662, 14681, 13, 16159, 62, 7890, 7, 27432, 62, 7890, 11, 4512, 62, 448, 11, 6407, 8, 198, 220, 220, 220, 12159, 796, 45154, 7, 55, 11, 27432, 62, 448, 8, 198, 220, 220, 220, 3601, 12159, 198, 220, 220, 220, 25012, 796, 657, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 9288, 62, 448, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 1332, 62, 7890, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 357, 87, 12, 55, 62, 32604, 20679, 55, 62, 19282, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 1332, 62, 448, 58, 72, 4357, 4331, 7, 87, 11, 31361, 11, 56, 62, 32604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 25012, 15853, 357, 9288, 62, 448, 58, 72, 45297, 79, 17407, 7, 87, 11, 31361, 11, 56, 62, 32604, 4008, 1174, 17, 198, 220, 220, 220, 3601, 25012, 14, 11925, 7, 9288, 62, 448, 8 ]
2.240143
279
"""Contain the unit tests related to the views in app ``profiles``.""" from django.http.request import HttpRequest from django.test import TestCase from teamspirit.core.models import Address from teamspirit.profiles.models import Personal from teamspirit.profiles.views import ( add_id_file_view, add_medical_file_view, custom_password_reset_complete_view, custom_password_reset_done_view, drop_file_view, drop_id_file_view, drop_medical_file_view, password_changed_view, personal_info_view, phone_address_view, profile_view, ) from teamspirit.users.models import User class ProfilesViewsTestCase(TestCase): """Test the views in the app ``profiles``.""" def test_profile_view(self): """Unit test - app ``profiles`` - view ``profile_view`` Test the profile view. """ view = profile_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn('<title>Team Spirit - Profil</title>', html) # next test: status 403 (Forbidden), problem with CSRF? # def test_custom_password_change_view(self): # """Unit test - app ``profiles`` - view ... # [complete view: ``custom_password_change_view``] # Test the custom password change view. # """ # view = custom_password_change_view # view = requires_csrf_token(view) # response = view(self.get_request) # print(response) # print(type(response)) # # response = csrf_exempt(view)(self.get_request) # # render the response content # # response.render() # html = response.content.decode('utf8') # self.assertEqual(response.status_code, 200) # self.assertTrue(html.startswith('<!DOCTYPE html>')) # self.assertIn( # '<title>Team Spirit - Changement de mot de passe</title>', # html # ) def test_password_changed_view(self): """Unit test - app ``profiles`` - view ``password_changed_view`` Test the 'password changed' (confirmation) view. """ view = password_changed_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn('<title>Team Spirit - Mot de passe changé</title>', html) # next test: status 403 (Forbidden), problem with CSRF? # def test_password_reset_view(self): # """Unit test - app ``profiles`` - view ``custom_password_reset_view`` # Test the custom password reset view. # """ # view = custom_password_reset_view # response = view(self.get_request) # # response = csrf_exempt(view)(self.get_request) # # render the response content # # response.render() # html = response.content.decode('utf8') # self.assertEqual(response.status_code, 200) # self.assertTrue(html.startswith('<!DOCTYPE html>')) # self.assertIn( # '<title>Team Spirit - Réinitialisation du mot de passe</title>', # html # ) def test_password_reset_done_view(self): """Unit test - app ``profiles`` - view ... [complete view: ``custom_password_reset_done_view``] Test the custom password reset (done) view. """ view = custom_password_reset_done_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - ' 'Envoi d\'un mail pour réinitialisation du mot de passe</title>', html ) # next test: AttributeError: 'NoneType' object has no attribute 'is_bound' # I do not know how to generate/mock the `uidb64` and `token`. # def test_password_reset_confirm_view(self): # """Unit test - app ``profiles`` - view ... # [complete view: ``custom_password_reset_confirm_view``] # Test the custom password reset confirm view. # """ # view = custom_password_reset_confirm_view # response = view(self.get_request, uidb64='uidb64', token='token') # print(type(response)) # print(response) # # response = csrf_exempt(view)(self.get_request) # # render the response content # response.render() # html = response.content.decode('utf8') # self.assertEqual(response.status_code, 200) # self.assertTrue(html.startswith('<!DOCTYPE html>')) # self.assertIn( # '<title>Team Spirit - ' # 'Définition du nouveau mot de passe</title>', # html # ) def test_password_reset_complete_view(self): """Unit test - app ``profiles`` - view ... [complete view: ``custom_password_reset_complete_view``] Test the custom password reset (complete) view. """ view = custom_password_reset_complete_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn('<title>Team Spirit - Mot de passe réinitialisé', html) def test_personal_info_view(self): """Unit test - app ``profiles`` - view ``personal_info_view`` Test the personal info view. """ view = personal_info_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Mise à jour des informations personnelles', html ) def test_update_phone_address_view(self): """Unit test - app ``profiles`` - view ``phone_address_view`` Test the phone and address view. """ view = phone_address_view response = view(self.get_request) # type is TemplateResponse html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Mise à jour des coordonnées', html ) def test_add_medical_file_view(self): """Unit test - app ``profiles`` - view ``add_medical_file_view`` Test the 'medical file add' view. """ view = add_medical_file_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Mise à jour du certificat médical ou de la' ' licence', html ) def test_add_id_file_view(self): """Unit test - app ``profiles`` - view ``add_id_file_view`` Test the 'id file add' view. """ view = add_id_file_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Mise à jour de la pièce d\'identité', html ) def test_drop_medical_file_view(self): """Unit test - app ``profiles`` - view ``drop_medical_file_view`` Test the 'medical file drop' view. """ view = drop_medical_file_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Suppression du certificat médical ou de la' ' licence', html ) def test_drop_id_file_view(self): """Unit test - app ``profiles`` - view ``drop_id_file_view`` Test the 'id file drop' view. """ view = drop_id_file_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Suppression de la pièce d\'identité', html ) def test_drop_file_view(self): """Unit test - app ``profiles`` - view ``drop_file_view`` Test the 'file drop' view. """ view = drop_file_view response = view(self.get_request) # type is TemplateResponse # render the response content response.render() html = response.content.decode('utf8') self.assertEqual(response.status_code, 200) self.assertTrue(html.startswith('<!DOCTYPE html>')) self.assertIn( '<title>Team Spirit - Suppression d\'un fichier', html )
[ 37811, 4264, 391, 262, 4326, 5254, 3519, 284, 262, 5009, 287, 598, 7559, 5577, 2915, 15506, 526, 15931, 198, 198, 6738, 42625, 14208, 13, 4023, 13, 25927, 1330, 367, 29281, 18453, 198, 6738, 42625, 14208, 13, 9288, 1330, 6208, 20448, 198, 198, 6738, 1074, 38685, 13, 7295, 13, 27530, 1330, 17917, 198, 6738, 1074, 38685, 13, 5577, 2915, 13, 27530, 1330, 15644, 198, 6738, 1074, 38685, 13, 5577, 2915, 13, 33571, 1330, 357, 198, 220, 220, 220, 751, 62, 312, 62, 7753, 62, 1177, 11, 198, 220, 220, 220, 751, 62, 41693, 62, 7753, 62, 1177, 11, 198, 220, 220, 220, 2183, 62, 28712, 62, 42503, 62, 20751, 62, 1177, 11, 198, 220, 220, 220, 2183, 62, 28712, 62, 42503, 62, 28060, 62, 1177, 11, 198, 220, 220, 220, 4268, 62, 7753, 62, 1177, 11, 198, 220, 220, 220, 4268, 62, 312, 62, 7753, 62, 1177, 11, 198, 220, 220, 220, 4268, 62, 41693, 62, 7753, 62, 1177, 11, 198, 220, 220, 220, 9206, 62, 40985, 62, 1177, 11, 198, 220, 220, 220, 2614, 62, 10951, 62, 1177, 11, 198, 220, 220, 220, 3072, 62, 21975, 62, 1177, 11, 198, 220, 220, 220, 7034, 62, 1177, 11, 198, 8, 198, 6738, 1074, 38685, 13, 18417, 13, 27530, 1330, 11787, 628, 198, 4871, 4415, 2915, 7680, 82, 14402, 20448, 7, 14402, 20448, 2599, 198, 220, 220, 220, 37227, 14402, 262, 5009, 287, 262, 598, 7559, 5577, 2915, 15506, 526, 15931, 628, 220, 220, 220, 825, 1332, 62, 13317, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 13317, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 7034, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 7034, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 10786, 27, 7839, 29, 15592, 7710, 532, 4415, 346, 3556, 7839, 29, 3256, 27711, 8, 628, 220, 220, 220, 1303, 1306, 1332, 25, 3722, 38210, 357, 1890, 37978, 828, 1917, 351, 9429, 32754, 30, 628, 220, 220, 220, 1303, 825, 1332, 62, 23144, 62, 28712, 62, 3803, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 2644, 628, 220, 220, 220, 1303, 220, 220, 220, 220, 685, 20751, 1570, 25, 7559, 23144, 62, 28712, 62, 3803, 62, 1177, 15506, 60, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 6208, 262, 2183, 9206, 1487, 1570, 13, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1570, 796, 2183, 62, 28712, 62, 3803, 62, 1177, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1570, 796, 4433, 62, 6359, 41871, 62, 30001, 7, 1177, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 3601, 7, 26209, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 3601, 7, 4906, 7, 26209, 4008, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2882, 796, 269, 27891, 69, 62, 42679, 7, 1177, 5769, 944, 13, 1136, 62, 25927, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2882, 13, 13287, 3419, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 22597, 972, 390, 2369, 390, 279, 21612, 3556, 7839, 29, 3256, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 28712, 62, 40985, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 28712, 62, 40985, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 28712, 3421, 6, 357, 10414, 36241, 8, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 9206, 62, 40985, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 10786, 27, 7839, 29, 15592, 7710, 532, 6543, 390, 279, 21612, 1488, 2634, 3556, 7839, 29, 3256, 27711, 8, 628, 220, 220, 220, 1303, 1306, 1332, 25, 3722, 38210, 357, 1890, 37978, 828, 1917, 351, 9429, 32754, 30, 628, 220, 220, 220, 1303, 825, 1332, 62, 28712, 62, 42503, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 23144, 62, 28712, 62, 42503, 62, 1177, 15506, 628, 220, 220, 220, 1303, 220, 220, 220, 220, 6208, 262, 2183, 9206, 13259, 1570, 13, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1570, 796, 2183, 62, 28712, 62, 42503, 62, 1177, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2882, 796, 269, 27891, 69, 62, 42679, 7, 1177, 5769, 944, 13, 1136, 62, 25927, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2882, 13, 13287, 3419, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 47957, 36733, 5612, 7043, 2369, 390, 279, 21612, 3556, 7839, 29, 3256, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 28712, 62, 42503, 62, 28060, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 2644, 628, 220, 220, 220, 220, 220, 220, 220, 685, 20751, 1570, 25, 7559, 23144, 62, 28712, 62, 42503, 62, 28060, 62, 1177, 15506, 60, 198, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 2183, 9206, 13259, 357, 28060, 8, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 2183, 62, 28712, 62, 42503, 62, 28060, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 4834, 13038, 72, 288, 43054, 403, 6920, 12797, 40560, 36733, 5612, 7043, 2369, 390, 279, 21612, 3556, 7839, 29, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 1306, 1332, 25, 3460, 4163, 12331, 25, 705, 14202, 6030, 6, 2134, 468, 645, 11688, 705, 271, 62, 7784, 6, 198, 220, 220, 220, 1303, 314, 466, 407, 760, 703, 284, 7716, 14, 76, 735, 262, 4600, 27112, 65, 2414, 63, 290, 4600, 30001, 44646, 628, 220, 220, 220, 1303, 825, 1332, 62, 28712, 62, 42503, 62, 10414, 2533, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 2644, 628, 220, 220, 220, 1303, 220, 220, 220, 220, 685, 20751, 1570, 25, 7559, 23144, 62, 28712, 62, 42503, 62, 10414, 2533, 62, 1177, 15506, 60, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 6208, 262, 2183, 9206, 13259, 6216, 1570, 13, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1570, 796, 2183, 62, 28712, 62, 42503, 62, 10414, 2533, 62, 1177, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 11, 334, 312, 65, 2414, 11639, 27112, 65, 2414, 3256, 11241, 11639, 30001, 11537, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 3601, 7, 4906, 7, 26209, 4008, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 3601, 7, 26209, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2882, 796, 269, 27891, 69, 62, 42679, 7, 1177, 5769, 944, 13, 1136, 62, 25927, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 705, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 705, 35, 2634, 15643, 653, 7043, 299, 280, 303, 559, 2369, 390, 279, 21612, 3556, 7839, 29, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1267, 628, 220, 220, 220, 825, 1332, 62, 28712, 62, 42503, 62, 20751, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 2644, 628, 220, 220, 220, 220, 220, 220, 220, 685, 20751, 1570, 25, 7559, 23144, 62, 28712, 62, 42503, 62, 20751, 62, 1177, 15506, 60, 198, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 2183, 9206, 13259, 357, 20751, 8, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 2183, 62, 28712, 62, 42503, 62, 20751, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 10786, 27, 7839, 29, 15592, 7710, 532, 6543, 390, 279, 21612, 40560, 36733, 271, 2634, 3256, 27711, 8, 628, 220, 220, 220, 825, 1332, 62, 22682, 62, 10951, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 22682, 62, 10951, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 2614, 7508, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 2614, 62, 10951, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 337, 786, 28141, 30068, 748, 4175, 602, 1048, 10076, 274, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 19119, 62, 4862, 62, 21975, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 4862, 62, 21975, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 3072, 290, 2209, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 3072, 62, 21975, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 337, 786, 28141, 30068, 748, 6349, 261, 77, 2634, 274, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 2860, 62, 41693, 62, 7753, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 2860, 62, 41693, 62, 7753, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 41693, 2393, 751, 6, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 751, 62, 41693, 62, 7753, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 337, 786, 28141, 30068, 7043, 8700, 265, 285, 2634, 67, 605, 267, 84, 390, 8591, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 17098, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 2860, 62, 312, 62, 7753, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 2860, 62, 312, 62, 7753, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 312, 2393, 751, 6, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 751, 62, 312, 62, 7753, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 337, 786, 28141, 30068, 390, 8591, 31028, 14064, 344, 288, 43054, 738, 43816, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 14781, 62, 41693, 62, 7753, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 14781, 62, 41693, 62, 7753, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 41693, 2393, 4268, 6, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 4268, 62, 41693, 62, 7753, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 8105, 2234, 7043, 8700, 265, 285, 2634, 67, 605, 267, 84, 390, 8591, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 17098, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 14781, 62, 312, 62, 7753, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 14781, 62, 312, 62, 7753, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 312, 2393, 4268, 6, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 4268, 62, 312, 62, 7753, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 8105, 2234, 390, 8591, 31028, 14064, 344, 288, 43054, 738, 43816, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 1332, 62, 14781, 62, 7753, 62, 1177, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26453, 1332, 532, 598, 7559, 5577, 2915, 15506, 532, 1570, 7559, 14781, 62, 7753, 62, 1177, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 6208, 262, 705, 7753, 4268, 6, 1570, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1570, 796, 4268, 62, 7753, 62, 1177, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 1570, 7, 944, 13, 1136, 62, 25927, 8, 220, 1303, 2099, 318, 37350, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8543, 262, 2882, 2695, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13287, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 2882, 13, 11299, 13, 12501, 1098, 10786, 40477, 23, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 26209, 13, 13376, 62, 8189, 11, 939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 6494, 13, 9688, 2032, 342, 10786, 27, 0, 18227, 4177, 56, 11401, 27711, 29, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 27, 7839, 29, 15592, 7710, 532, 8105, 2234, 288, 43054, 403, 277, 488, 959, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198 ]
2.349977
4,326
from .packages import os, plt from .common_functions import parameter_check_function, random_binary_files_single, time_stamp
[ 6738, 764, 43789, 1330, 28686, 11, 458, 83, 198, 6738, 764, 11321, 62, 12543, 2733, 1330, 11507, 62, 9122, 62, 8818, 11, 4738, 62, 39491, 62, 16624, 62, 29762, 11, 640, 62, 301, 696, 628, 628, 628 ]
3.513514
37
#!/usr/bin/env python """ Program that runs a script or copy a file into a set of machines. """ import argparse import os import sys from threading import Thread import abc import subprocess import getpass import Queue NORMAL = '\033[00m' RED = '\033[0;31m' CLOUDSIM_PREFIX = 'OSRF_CloudSim_' CONST_PREFIX = 'OSRF_VRC_Constellation_' MACHINES = ['cs', 'router', 'sim', 'fc1', 'fc2'] class Ssh_base(object): ''' Abstract class for running a ssh/scp command. ''' DEFAULT_SSH_OPTS = ('-o UserKnownHostsFile=/dev/null ' '-o StrictHostKeyChecking=no ' '-o ConnectTimeout=5') __metaclass__ = abc.ABCMeta def get_credentials(self): ''' To be implemented by derived classes. ''' return def run_remote_command(self, cmd, queue): ''' Execute a command, and put in a shared queue the stdout, stderr outputs. @param cmd Command to be executed @param queue Shared queue (thread safe) ''' po = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = po.communicate() if po.returncode == 0: msg = self.name + ': Success' if out != '': msg += '\n\t' + out.replace('\n', '\n\t') queue.put(msg) else: queue.put(self.name + ': Error\n\t%s' % err) def get_cmd_context(self, ssh_options): ''' Returns the current ssh options, key file and ip of the current machine. @param ssh_options Extra ssh options to be used ''' ssh_options = Ssh_base.DEFAULT_SSH_OPTS + ssh_options key, ip = self.get_credentials() if not os.path.exists(key): raise NameError('Identity file not found (%s)...Aborting' % key) return ssh_options, key, ip def copy(self, ssh_options, src, user, dst, queue): ''' Copy a file into a remote machine. @param ssh_options Extra ssh options @param src Full path to the file to be uploaded @param user Remote user used by ssh @param dst Destination path @param queue Shared queue to store the output of the command ''' ssh_options, key, ip = self.get_cmd_context(ssh_options) cmd = ('scp ' + ssh_options + ' -i ' + key + ' ' + src + ' ' + user + '@' + ip + ':' + dst) self.run_remote_command(cmd, queue) def run(self, ssh_options, cmd, user, queue): ''' Run a command in a remote machine. @param ssh_options Extra ssh options @param cmd Command to be executed @param user Remote user used by ssh @param queue Shared queue to store the output of the command ''' ssh_options, key, ip = self.get_cmd_context(ssh_options) cmd = ('ssh ' + ssh_options + ' -i ' + key + ' ' + user + '@' + ip + ' ' + cmd) self.run_remote_command(cmd, queue) class Ssh_cloudsim(Ssh_base): ''' Derived class for running a ssh/scp command in a CloudSim machine. ''' def get_credentials(self): ''' Return the CloudSim credentials. ''' directory = self.constellation['constellation_directory'] ip = self.constellation['simulation_ip'] key = os.path.join(directory, 'cs', 'key-cs.pem') return (key, ip) class Ssh_router(Ssh_base): ''' Derived class for running a ssh/scp command in a router machine. ''' def get_credentials(self): ''' Return the Router credentials. ''' directory = self.constellation['constellation_directory'] ip = self.constellation['router_public_ip'] key = os.path.join(directory, 'router', 'key-router.pem') return (key, ip) class Ssh_machine(Ssh_base): ''' Derived class for running a ssh/scp command in a sim, fc1, or fc2 machine. ''' def get_credentials(self): ''' Return the Sim, FC1, or FC2 credentials. ''' if self.machine_type == 'sim': ip = '10.0.0.51' key_name = 'key-sim.pem' elif self.machine_type == 'fc1': ip = '10.0.0.52' key_name = 'key-fc1.pem' elif self.machine_type == 'fc2': ip = '10.0.0.53' key_name = 'key-fc2.pem' else: raise NameError('Invalid machine type: %s' % self.machine_type) key = os.path.join('/home/ubuntu/cloudsim', key_name) return (key, ip) def go(args): ''' Function that run a command or copy a file in multiples machines. A thread is created to the job in every machine. A shared queue among the threads is used to capture the returned value of the commands, stdout, and stderr. @param args Command line arguments ''' # Retrieve command line arguments ssh_options = args.ssh_options machine_type = args.type subcommand = args.which if subcommand == 'run': arg = args.cmd stats_msg = 'Command executed in' elif subcommand == 'copy': arg = args.src dst = args.dst stats_msg = 'File uploaded into' if not os.path.exists(arg): print '%sFile not found: (%s)...Aborting%s' % (RED, arg, NORMAL) sys.exit(1) else: print 'Invalid subcommand (%s)...Aborting' % subcommand sys.exit(1) # Sanity check if getpass.getuser() != 'root': print "Invalid user, you should run this program as root...Aborting" sys.exit(1) # Counter for stats, threads for the job, and a queue for the returned vals11 counter = 0 threads = [] succeed_queue = Queue.Queue() if machine_type in ['cs', 'router']: try: # Import cloudsimd basepath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) if not os.path.exists(os.path.join(basepath, 'cloudsimd')): print 'Your DB does not contain any remote CloudSim...Aborting' sys.exit(1) sys.path.insert(0, basepath) from cloudsimd import cloudsimd const_list = cloudsimd.list_constellations() except Exception, excep: print ('%sError importing cloudsimd: %s%s' % (RED, repr(excep), NORMAL)) sys.exit(1) # Iterate over the list of CloudSims for constellation in const_list: try: name = constellation['constellation_name'] if name.startswith(CLOUDSIM_PREFIX) and machine_type == 'cs': machine = Ssh_cloudsim(name, constellation) elif name.startswith(CONST_PREFIX) and machine_type == 'router': machine = Ssh_router(name, constellation) else: continue if subcommand == 'run': params = [ssh_options, arg, 'ubuntu', succeed_queue] t = Thread(target=machine.run, args=params) elif subcommand == 'copy': params = [ssh_options, arg, 'ubuntu', dst, succeed_queue] t = Thread(target=machine.copy, args=params) threads.append(t) t.start() counter += 1 except Exception, excep: print ('%sError running command: %s%s' % (RED, repr(excep), NORMAL)) counter -= 1 elif machine_type in ['sim', 'fc1', 'fc2']: try: machine = Ssh_machine(machine_type) if subcommand == 'run': machine.run(ssh_options, arg, 'ubuntu', succeed_queue) elif subcommand == 'copy': machine.copy(ssh_options, arg, 'ubuntu', dst, succeed_queue) counter += 1 except Exception, excep: print repr(excep) sys.exit(1) else: print 'Invalid machine type (%s)...Aborting' % machine_type sys.exit(1) # Wait for all the threads to finish [x.join() for x in threads] # Print some stats for elem in sorted(list(succeed_queue.queue)): print elem print '%s %d machine/s' % (stats_msg, counter) if __name__ == '__main__': # Specify top level command line arguments parser = argparse.ArgumentParser(description='Manage multiple VRC SSH/SCP') parser.add_argument('-o', '--ssh_options', default='', help='ssh options') subparsers = parser.add_subparsers(title='subcommands', description='valid subcommands', help='additional help') # create the parser for the "run" command parser_run = subparsers.add_parser('run', help='Run a command in several machines') parser_run.add_argument('cmd', help='Command to run remotely') parser_run.set_defaults(which='run') parser_run.add_argument('type', choices=MACHINES, help='Remote machine type') parser_run.set_defaults(func=go) # create the parser for the "copy" command parser_copy = subparsers.add_parser('copy', help='Copy a file into several machines') parser_copy.add_argument('src', help='File to upload') parser_copy.set_defaults(which='copy') parser_copy.add_argument('dst', help='Destination path') parser_copy.add_argument('type', choices=MACHINES, help='Remote machine type') parser_copy.set_defaults(func=go) # Parse command line arguments args = parser.parse_args() args.func(args)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 37811, 198, 15167, 326, 4539, 257, 4226, 393, 4866, 257, 2393, 656, 257, 900, 286, 8217, 13, 198, 37811, 198, 198, 11748, 1822, 29572, 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 4704, 278, 1330, 14122, 198, 11748, 450, 66, 198, 11748, 850, 14681, 198, 11748, 651, 6603, 198, 11748, 4670, 518, 198, 198, 35510, 42126, 796, 705, 59, 44427, 58, 405, 76, 6, 198, 22083, 796, 705, 59, 44427, 58, 15, 26, 3132, 76, 6, 198, 5097, 2606, 5258, 3955, 62, 47, 31688, 10426, 796, 705, 2640, 32754, 62, 18839, 8890, 62, 6, 198, 10943, 2257, 62, 47, 31688, 10426, 796, 705, 2640, 32754, 62, 53, 7397, 62, 34184, 28828, 62, 6, 198, 44, 16219, 1268, 1546, 796, 37250, 6359, 3256, 705, 472, 353, 3256, 705, 14323, 3256, 705, 16072, 16, 3256, 705, 16072, 17, 20520, 628, 198, 4871, 311, 1477, 62, 8692, 7, 15252, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 27741, 1398, 329, 2491, 257, 26678, 14, 1416, 79, 3141, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5550, 38865, 62, 5432, 39, 62, 3185, 4694, 796, 19203, 12, 78, 11787, 29870, 17932, 82, 8979, 33223, 7959, 14, 8423, 705, 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, 12, 78, 520, 2012, 17932, 9218, 9787, 278, 28, 3919, 705, 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, 12, 78, 8113, 48031, 28, 20, 11537, 198, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 450, 66, 13, 24694, 48526, 628, 220, 220, 220, 825, 651, 62, 66, 445, 14817, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1675, 307, 9177, 416, 10944, 6097, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 825, 1057, 62, 47960, 62, 21812, 7, 944, 11, 23991, 11, 16834, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8393, 1133, 257, 3141, 11, 290, 1234, 287, 257, 4888, 16834, 262, 14367, 448, 11, 336, 1082, 81, 23862, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 23991, 9455, 284, 307, 10945, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 16834, 39403, 16834, 357, 16663, 3338, 8, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 745, 796, 850, 14681, 13, 47, 9654, 7, 28758, 13, 35312, 22784, 14367, 448, 28, 7266, 14681, 13, 47, 4061, 36, 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, 336, 1082, 81, 28, 7266, 14681, 13, 47, 4061, 36, 8, 198, 220, 220, 220, 220, 220, 220, 220, 503, 11, 11454, 796, 745, 13, 10709, 5344, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 745, 13, 7783, 8189, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 2116, 13, 3672, 1343, 705, 25, 16282, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 503, 14512, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 15853, 705, 59, 77, 59, 83, 6, 1343, 503, 13, 33491, 10786, 59, 77, 3256, 705, 59, 77, 59, 83, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16834, 13, 1996, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16834, 13, 1996, 7, 944, 13, 3672, 1343, 705, 25, 13047, 59, 77, 59, 83, 4, 82, 6, 4064, 11454, 8, 628, 220, 220, 220, 825, 651, 62, 28758, 62, 22866, 7, 944, 11, 26678, 62, 25811, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 262, 1459, 26678, 3689, 11, 1994, 2393, 290, 20966, 286, 262, 1459, 4572, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 26678, 62, 25811, 17221, 26678, 3689, 284, 307, 973, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 26678, 62, 25811, 796, 311, 1477, 62, 8692, 13, 7206, 38865, 62, 5432, 39, 62, 3185, 4694, 1343, 26678, 62, 25811, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 11, 20966, 796, 2116, 13, 1136, 62, 66, 445, 14817, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 2539, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 6530, 12331, 10786, 7390, 26858, 2393, 407, 1043, 37633, 82, 26513, 4826, 24707, 6, 4064, 1994, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 26678, 62, 25811, 11, 1994, 11, 20966, 628, 220, 220, 220, 825, 4866, 7, 944, 11, 26678, 62, 25811, 11, 12351, 11, 2836, 11, 29636, 11, 16834, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 17393, 257, 2393, 656, 257, 6569, 4572, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 26678, 62, 25811, 17221, 26678, 3689, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 12351, 6462, 3108, 284, 262, 2393, 284, 307, 19144, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 2836, 21520, 2836, 973, 416, 26678, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 29636, 45657, 3108, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 16834, 39403, 16834, 284, 3650, 262, 5072, 286, 262, 3141, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 26678, 62, 25811, 11, 1994, 11, 20966, 796, 2116, 13, 1136, 62, 28758, 62, 22866, 7, 45824, 62, 25811, 8, 198, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 19203, 1416, 79, 705, 1343, 26678, 62, 25811, 1343, 705, 532, 72, 705, 1343, 1994, 1343, 705, 705, 1343, 12351, 1343, 705, 705, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 1343, 705, 31, 6, 1343, 20966, 1343, 705, 32105, 1343, 29636, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5143, 62, 47960, 62, 21812, 7, 28758, 11, 16834, 8, 628, 220, 220, 220, 825, 1057, 7, 944, 11, 26678, 62, 25811, 11, 23991, 11, 2836, 11, 16834, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 5660, 257, 3141, 287, 257, 6569, 4572, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 26678, 62, 25811, 17221, 26678, 3689, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 23991, 9455, 284, 307, 10945, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 2836, 21520, 2836, 973, 416, 26678, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 16834, 39403, 16834, 284, 3650, 262, 5072, 286, 262, 3141, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 26678, 62, 25811, 11, 1994, 11, 20966, 796, 2116, 13, 1136, 62, 28758, 62, 22866, 7, 45824, 62, 25811, 8, 198, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 19203, 45824, 705, 1343, 26678, 62, 25811, 1343, 705, 532, 72, 705, 1343, 1994, 1343, 705, 705, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 1343, 705, 31, 6, 1343, 20966, 1343, 705, 705, 1343, 23991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5143, 62, 47960, 62, 21812, 7, 28758, 11, 16834, 8, 628, 198, 4871, 311, 1477, 62, 17721, 14323, 7, 50, 1477, 62, 8692, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 9626, 1572, 1398, 329, 2491, 257, 26678, 14, 1416, 79, 3141, 287, 257, 10130, 8890, 4572, 13, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 825, 651, 62, 66, 445, 14817, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 10130, 8890, 18031, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8619, 796, 2116, 13, 9979, 28828, 17816, 9979, 28828, 62, 34945, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 2116, 13, 9979, 28828, 17816, 14323, 1741, 62, 541, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 28686, 13, 6978, 13, 22179, 7, 34945, 11, 705, 6359, 3256, 705, 2539, 12, 6359, 13, 79, 368, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 2539, 11, 20966, 8, 628, 198, 4871, 311, 1477, 62, 472, 353, 7, 50, 1477, 62, 8692, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 9626, 1572, 1398, 329, 2491, 257, 26678, 14, 1416, 79, 3141, 287, 257, 20264, 4572, 13, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 825, 651, 62, 66, 445, 14817, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 48538, 18031, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8619, 796, 2116, 13, 9979, 28828, 17816, 9979, 28828, 62, 34945, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 2116, 13, 9979, 28828, 17816, 472, 353, 62, 11377, 62, 541, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 28686, 13, 6978, 13, 22179, 7, 34945, 11, 705, 472, 353, 3256, 705, 2539, 12, 472, 353, 13, 79, 368, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 2539, 11, 20966, 8, 628, 198, 4871, 311, 1477, 62, 30243, 7, 50, 1477, 62, 8692, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 9626, 1572, 1398, 329, 2491, 257, 26678, 14, 1416, 79, 3141, 287, 257, 985, 11, 277, 66, 16, 11, 393, 277, 66, 17, 4572, 13, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 825, 651, 62, 66, 445, 14817, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 3184, 11, 10029, 16, 11, 393, 10029, 17, 18031, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 30243, 62, 4906, 6624, 705, 14323, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 705, 940, 13, 15, 13, 15, 13, 4349, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 796, 705, 2539, 12, 14323, 13, 79, 368, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 30243, 62, 4906, 6624, 705, 16072, 16, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 705, 940, 13, 15, 13, 15, 13, 4309, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 796, 705, 2539, 12, 16072, 16, 13, 79, 368, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 30243, 62, 4906, 6624, 705, 16072, 17, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 705, 940, 13, 15, 13, 15, 13, 4310, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 62, 3672, 796, 705, 2539, 12, 16072, 17, 13, 79, 368, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 6530, 12331, 10786, 44651, 4572, 2099, 25, 4064, 82, 6, 4064, 2116, 13, 30243, 62, 4906, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 28686, 13, 6978, 13, 22179, 10786, 14, 11195, 14, 32230, 14, 17721, 14323, 3256, 1994, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 2539, 11, 20966, 8, 628, 198, 4299, 467, 7, 22046, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 15553, 326, 1057, 257, 3141, 393, 4866, 257, 2393, 287, 5021, 2374, 8217, 13, 317, 4704, 198, 220, 220, 220, 318, 2727, 284, 262, 1693, 287, 790, 4572, 13, 317, 4888, 16834, 1871, 262, 14390, 198, 220, 220, 220, 318, 973, 284, 8006, 262, 4504, 1988, 286, 262, 9729, 11, 14367, 448, 11, 290, 336, 1082, 81, 13, 198, 220, 220, 220, 2488, 17143, 26498, 9455, 1627, 7159, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 1303, 4990, 30227, 3141, 1627, 7159, 198, 220, 220, 220, 26678, 62, 25811, 796, 26498, 13, 45824, 62, 25811, 198, 220, 220, 220, 4572, 62, 4906, 796, 26498, 13, 4906, 198, 220, 220, 220, 850, 21812, 796, 26498, 13, 4758, 198, 220, 220, 220, 611, 850, 21812, 6624, 705, 5143, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 796, 26498, 13, 28758, 198, 220, 220, 220, 220, 220, 220, 220, 9756, 62, 19662, 796, 705, 21575, 10945, 287, 6, 198, 220, 220, 220, 1288, 361, 850, 21812, 6624, 705, 30073, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 796, 26498, 13, 10677, 198, 220, 220, 220, 220, 220, 220, 220, 29636, 796, 26498, 13, 67, 301, 198, 220, 220, 220, 220, 220, 220, 220, 9756, 62, 19662, 796, 705, 8979, 19144, 656, 6, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 853, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 705, 4, 82, 8979, 407, 1043, 25, 37633, 82, 26513, 4826, 24707, 4, 82, 6, 4064, 357, 22083, 11, 1822, 11, 25273, 42126, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 705, 44651, 850, 21812, 37633, 82, 26513, 4826, 24707, 6, 4064, 850, 21812, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 1303, 2986, 414, 2198, 198, 220, 220, 220, 611, 651, 6603, 13, 1136, 7220, 3419, 14512, 705, 15763, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 44651, 2836, 11, 345, 815, 1057, 428, 1430, 355, 6808, 986, 4826, 24707, 1, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 1303, 15034, 329, 9756, 11, 14390, 329, 262, 1693, 11, 290, 257, 16834, 329, 262, 4504, 410, 874, 1157, 198, 220, 220, 220, 3753, 796, 657, 198, 220, 220, 220, 14390, 796, 17635, 198, 220, 220, 220, 6758, 62, 36560, 796, 4670, 518, 13, 34991, 3419, 628, 220, 220, 220, 611, 4572, 62, 4906, 287, 37250, 6359, 3256, 705, 472, 353, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 17267, 6279, 14323, 67, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1615, 538, 776, 796, 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, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 418, 13, 6978, 13, 22179, 7, 12093, 538, 776, 11, 705, 17721, 14323, 67, 11537, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 705, 7120, 20137, 857, 407, 3994, 597, 6569, 10130, 8890, 986, 4826, 24707, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 6978, 13, 28463, 7, 15, 11, 1615, 538, 776, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 6279, 14323, 67, 1330, 6279, 14323, 67, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1500, 62, 4868, 796, 6279, 14323, 67, 13, 4868, 62, 9979, 695, 602, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 11, 43748, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 19203, 4, 82, 12331, 33332, 6279, 14323, 67, 25, 4064, 82, 4, 82, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4064, 357, 22083, 11, 41575, 7, 1069, 344, 79, 828, 25273, 42126, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 40806, 378, 625, 262, 1351, 286, 10130, 8890, 82, 198, 220, 220, 220, 220, 220, 220, 220, 329, 38712, 287, 1500, 62, 4868, 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, 1438, 796, 38712, 17816, 9979, 28828, 62, 3672, 20520, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 13, 9688, 2032, 342, 7, 5097, 2606, 5258, 3955, 62, 47, 31688, 10426, 8, 290, 4572, 62, 4906, 6624, 705, 6359, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4572, 796, 311, 1477, 62, 17721, 14323, 7, 3672, 11, 38712, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1438, 13, 9688, 2032, 342, 7, 10943, 2257, 62, 47, 31688, 10426, 8, 290, 4572, 62, 4906, 6624, 705, 472, 353, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4572, 796, 311, 1477, 62, 472, 353, 7, 3672, 11, 38712, 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, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 850, 21812, 6624, 705, 5143, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42287, 796, 685, 45824, 62, 25811, 11, 1822, 11, 705, 32230, 3256, 6758, 62, 36560, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 14122, 7, 16793, 28, 30243, 13, 5143, 11, 26498, 28, 37266, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 850, 21812, 6624, 705, 30073, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42287, 796, 685, 45824, 62, 25811, 11, 1822, 11, 705, 32230, 3256, 29636, 11, 6758, 62, 36560, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 14122, 7, 16793, 28, 30243, 13, 30073, 11, 26498, 28, 37266, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14390, 13, 33295, 7, 83, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 13, 9688, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3753, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 11, 43748, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 19203, 4, 82, 12331, 2491, 3141, 25, 4064, 82, 4, 82, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4064, 357, 22083, 11, 41575, 7, 1069, 344, 79, 828, 25273, 42126, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3753, 48185, 352, 628, 220, 220, 220, 1288, 361, 4572, 62, 4906, 287, 37250, 14323, 3256, 705, 16072, 16, 3256, 705, 16072, 17, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4572, 796, 311, 1477, 62, 30243, 7, 30243, 62, 4906, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 850, 21812, 6624, 705, 5143, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4572, 13, 5143, 7, 45824, 62, 25811, 11, 1822, 11, 705, 32230, 3256, 6758, 62, 36560, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 850, 21812, 6624, 705, 30073, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4572, 13, 30073, 7, 45824, 62, 25811, 11, 1822, 11, 705, 32230, 3256, 29636, 11, 6758, 62, 36560, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3753, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 11, 43748, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 41575, 7, 1069, 344, 79, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 705, 44651, 4572, 2099, 37633, 82, 26513, 4826, 24707, 6, 4064, 4572, 62, 4906, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 1303, 16314, 329, 477, 262, 14390, 284, 5461, 198, 220, 220, 220, 685, 87, 13, 22179, 3419, 329, 2124, 287, 14390, 60, 628, 220, 220, 220, 1303, 12578, 617, 9756, 198, 220, 220, 220, 329, 9766, 76, 287, 23243, 7, 4868, 7, 82, 1229, 2707, 62, 36560, 13, 36560, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 9766, 76, 198, 220, 220, 220, 3601, 705, 4, 82, 4064, 67, 4572, 14, 82, 6, 4064, 357, 34242, 62, 19662, 11, 3753, 8, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 628, 220, 220, 220, 1303, 18291, 1958, 1353, 1241, 3141, 1627, 7159, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 5124, 496, 3294, 6453, 34, 33825, 14, 48956, 11537, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 78, 3256, 705, 438, 45824, 62, 25811, 3256, 4277, 11639, 3256, 1037, 11639, 45824, 3689, 11537, 198, 220, 220, 220, 22718, 945, 364, 796, 30751, 13, 2860, 62, 7266, 79, 945, 364, 7, 7839, 11639, 7266, 9503, 1746, 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, 6764, 11639, 12102, 850, 9503, 1746, 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, 1037, 11639, 2860, 1859, 1037, 11537, 628, 220, 220, 220, 1303, 2251, 262, 30751, 329, 262, 366, 5143, 1, 3141, 198, 220, 220, 220, 30751, 62, 5143, 796, 22718, 945, 364, 13, 2860, 62, 48610, 10786, 5143, 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, 1037, 11639, 10987, 257, 3141, 287, 1811, 8217, 11537, 198, 220, 220, 220, 30751, 62, 5143, 13, 2860, 62, 49140, 10786, 28758, 3256, 1037, 11639, 21575, 284, 1057, 19863, 11537, 198, 220, 220, 220, 30751, 62, 5143, 13, 2617, 62, 12286, 82, 7, 4758, 11639, 5143, 11537, 198, 220, 220, 220, 30751, 62, 5143, 13, 2860, 62, 49140, 10786, 4906, 3256, 7747, 28, 44, 16219, 1268, 1546, 11, 1037, 11639, 36510, 4572, 2099, 11537, 198, 220, 220, 220, 30751, 62, 5143, 13, 2617, 62, 12286, 82, 7, 20786, 28, 2188, 8, 628, 220, 220, 220, 1303, 2251, 262, 30751, 329, 262, 366, 30073, 1, 3141, 198, 220, 220, 220, 30751, 62, 30073, 796, 22718, 945, 364, 13, 2860, 62, 48610, 10786, 30073, 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, 1037, 11639, 29881, 257, 2393, 656, 1811, 8217, 11537, 198, 220, 220, 220, 30751, 62, 30073, 13, 2860, 62, 49140, 10786, 10677, 3256, 1037, 11639, 8979, 284, 9516, 11537, 198, 220, 220, 220, 30751, 62, 30073, 13, 2617, 62, 12286, 82, 7, 4758, 11639, 30073, 11537, 198, 220, 220, 220, 30751, 62, 30073, 13, 2860, 62, 49140, 10786, 67, 301, 3256, 1037, 11639, 24159, 1883, 3108, 11537, 198, 220, 220, 220, 30751, 62, 30073, 13, 2860, 62, 49140, 10786, 4906, 3256, 7747, 28, 44, 16219, 1268, 1546, 11, 1037, 11639, 36510, 4572, 2099, 11537, 198, 220, 220, 220, 30751, 62, 30073, 13, 2617, 62, 12286, 82, 7, 20786, 28, 2188, 8, 628, 220, 220, 220, 1303, 2547, 325, 3141, 1627, 7159, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 220, 220, 220, 26498, 13, 20786, 7, 22046, 8, 198 ]
2.187063
4,437
import theano import theano.tensor as TT from rllab.misc import ext import numpy as np import copy import rllab.misc.logger as logger from rllab.spaces.box import Box from rllab.envs.env_spec import EnvSpec from sandbox.finetuning.policies.concurrent_hier_policy2 import HierarchicalPolicy from sandbox.finetuning.algos.hier_batch_polopt import BatchPolopt, \ BatchSampler # note that I use my own BatchPolopt class here from sandbox.finetuning.algos.hier_batch_sampler import HierBatchSampler from rllab.optimizers.first_order_optimizer import FirstOrderOptimizer from rllab.distributions.diagonal_gaussian import DiagonalGaussian from rllab.baselines.linear_feature_baseline import LinearFeatureBaseline from rllab.baselines.gaussian_mlp_baseline import GaussianMLPBaseline class ConcurrentContinuousPPO(BatchPolopt): """ Designed to enable concurrent training of a SNN that parameterizes skills and also train the manager at the same time Note that, if I'm not trying to do the sample approximation of the weird log of sum term, I don't need to know which skill was picked, just need to know the action """ # double check this constructor later # initialize the computation graph # optimize is run on >= 1 trajectory at a time # assumptions: 1 trajectory, which is a multiple of p; that the obs_var_probs is valid # do the optimization
[ 11748, 262, 5733, 198, 11748, 262, 5733, 13, 83, 22854, 355, 26653, 198, 6738, 374, 297, 397, 13, 44374, 1330, 1070, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 4866, 198, 11748, 374, 297, 397, 13, 44374, 13, 6404, 1362, 355, 49706, 198, 6738, 374, 297, 397, 13, 2777, 2114, 13, 3524, 1330, 8315, 198, 6738, 374, 297, 397, 13, 268, 14259, 13, 24330, 62, 16684, 1330, 2039, 85, 22882, 198, 6738, 35204, 13, 15643, 316, 46493, 13, 79, 4160, 444, 13, 1102, 14421, 62, 71, 959, 62, 30586, 17, 1330, 36496, 998, 605, 36727, 198, 6738, 35204, 13, 15643, 316, 46493, 13, 14016, 418, 13, 71, 959, 62, 43501, 62, 16104, 8738, 1330, 347, 963, 8017, 8738, 11, 3467, 198, 220, 220, 220, 347, 963, 16305, 20053, 220, 1303, 3465, 326, 314, 779, 616, 898, 347, 963, 8017, 8738, 1398, 994, 198, 6738, 35204, 13, 15643, 316, 46493, 13, 14016, 418, 13, 71, 959, 62, 43501, 62, 37687, 20053, 1330, 36496, 33, 963, 16305, 20053, 198, 6738, 374, 297, 397, 13, 40085, 11341, 13, 11085, 62, 2875, 62, 40085, 7509, 1330, 3274, 18743, 27871, 320, 7509, 198, 6738, 374, 297, 397, 13, 17080, 2455, 507, 13, 10989, 27923, 62, 4908, 31562, 1330, 6031, 27923, 35389, 31562, 198, 6738, 374, 297, 397, 13, 12093, 20655, 13, 29127, 62, 30053, 62, 12093, 4470, 1330, 44800, 38816, 15522, 4470, 198, 6738, 374, 297, 397, 13, 12093, 20655, 13, 4908, 31562, 62, 4029, 79, 62, 12093, 4470, 1330, 12822, 31562, 5805, 47, 15522, 4470, 628, 198, 4871, 13223, 6657, 17875, 5623, 10246, 46, 7, 33, 963, 8017, 8738, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 39198, 284, 7139, 24580, 3047, 286, 257, 311, 6144, 326, 11507, 4340, 4678, 198, 220, 220, 220, 290, 635, 4512, 262, 4706, 379, 262, 976, 640, 628, 220, 220, 220, 5740, 326, 11, 611, 314, 1101, 407, 2111, 284, 466, 262, 6291, 40874, 286, 262, 7650, 2604, 286, 2160, 3381, 11, 198, 220, 220, 220, 314, 836, 470, 761, 284, 760, 543, 5032, 373, 6497, 11, 655, 761, 284, 760, 262, 2223, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 4274, 2198, 428, 23772, 1568, 628, 220, 220, 220, 1303, 41216, 262, 29964, 4823, 198, 220, 220, 220, 1303, 27183, 318, 1057, 319, 18189, 352, 22942, 379, 257, 640, 198, 220, 220, 220, 1303, 14895, 25, 352, 22942, 11, 543, 318, 257, 3294, 286, 279, 26, 326, 262, 10201, 62, 7785, 62, 1676, 1443, 318, 4938, 628, 220, 220, 220, 1303, 466, 262, 23989, 198 ]
3.303318
422
import pytrace import py3D filename = 'perspective.png' ppu = 400 passes = 16 S = py3D.Sphere C = py3D.Color V = py3D.Vector cam = pytrace.Camera(V(0.0,10.0,0.0), V(0.0,0.0,0.0), 2.0, 2.0, V(0.0,0.0,1.0)) cam.set_ppu(ppu) center = S(V(0.0,0.0,0.0), 1.0, C(0.99,0.99,0.99)).set_reflectivity(0.8) bodies = [] bodies.append( S(V(0.0,0.0,3.0), 1.0, C(0.01,0.01,0.01)) ) bodies.append( S(V(3.0,0.0,3.0).norm().scale(3.0), 1.0, C(0.99,0.01,0.01)) ) bodies.append( S(V(3.0,0.0,0.0), 1.0, C(0.99,0.99,0.01)) ) bodies.append( S(V(3.0,0.0,-3.0).norm().scale(3.0), 1.0, C(0.01,0.99,0.01)) ) bodies.append( S(V(0.0,0.0,-3.0), 1.0, C(0.01,0.99,0.99)) ) bodies.append( S(V(-3.0,0.0,-3.0).norm().scale(3.0), 1.0, C(0.01,0.01,0.99)) ) bodies.append( S(V(-3.0,0.0,0.0), 1.0, C(0.99,0.01,0.99)) ) bodies.append( S(V(-3.0,0.0,3.0).norm().scale(3.0), 1.0, C(0.99,0.99,0.99)) ) for b in bodies: b.set_reflectivity(0.4) bodies.append(center) world = pytrace.World(bodies, py3D.Sky(V(0.0,1.0,0.0), C(0.01,0.01,0.3)) ) pytrace.Tracer(world, cam).draw(passes).write(filename)
[ 11748, 12972, 40546, 198, 11748, 12972, 18, 35, 198, 198, 34345, 796, 705, 19276, 806, 425, 13, 11134, 6, 198, 381, 84, 796, 7337, 198, 6603, 274, 796, 1467, 198, 198, 50, 796, 12972, 18, 35, 13, 38882, 198, 34, 796, 12972, 18, 35, 13, 10258, 198, 53, 796, 12972, 18, 35, 13, 38469, 198, 198, 20991, 796, 12972, 40546, 13, 35632, 7, 53, 7, 15, 13, 15, 11, 940, 13, 15, 11, 15, 13, 15, 828, 569, 7, 15, 13, 15, 11, 15, 13, 15, 11, 15, 13, 15, 828, 362, 13, 15, 11, 362, 13, 15, 11, 569, 7, 15, 13, 15, 11, 15, 13, 15, 11, 16, 13, 15, 4008, 198, 20991, 13, 2617, 62, 381, 84, 7, 381, 84, 8, 628, 198, 16159, 796, 311, 7, 53, 7, 15, 13, 15, 11, 15, 13, 15, 11, 15, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 2079, 11, 15, 13, 2079, 11, 15, 13, 2079, 29720, 2617, 62, 35051, 3458, 7, 15, 13, 23, 8, 198, 198, 65, 5042, 796, 17635, 198, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 7, 15, 13, 15, 11, 15, 13, 15, 11, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 486, 11, 15, 13, 486, 11, 15, 13, 486, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 7, 18, 13, 15, 11, 15, 13, 15, 11, 18, 13, 15, 737, 27237, 22446, 9888, 7, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 2079, 11, 15, 13, 486, 11, 15, 13, 486, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 7, 18, 13, 15, 11, 15, 13, 15, 11, 15, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 2079, 11, 15, 13, 2079, 11, 15, 13, 486, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 7, 18, 13, 15, 11, 15, 13, 15, 12095, 18, 13, 15, 737, 27237, 22446, 9888, 7, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 486, 11, 15, 13, 2079, 11, 15, 13, 486, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 7, 15, 13, 15, 11, 15, 13, 15, 12095, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 486, 11, 15, 13, 2079, 11, 15, 13, 2079, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 32590, 18, 13, 15, 11, 15, 13, 15, 12095, 18, 13, 15, 737, 27237, 22446, 9888, 7, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 486, 11, 15, 13, 486, 11, 15, 13, 2079, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 32590, 18, 13, 15, 11, 15, 13, 15, 11, 15, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 2079, 11, 15, 13, 486, 11, 15, 13, 2079, 4008, 1267, 198, 65, 5042, 13, 33295, 7, 311, 7, 53, 32590, 18, 13, 15, 11, 15, 13, 15, 11, 18, 13, 15, 737, 27237, 22446, 9888, 7, 18, 13, 15, 828, 352, 13, 15, 11, 327, 7, 15, 13, 2079, 11, 15, 13, 2079, 11, 15, 13, 2079, 4008, 1267, 198, 1640, 275, 287, 5920, 25, 198, 220, 220, 220, 275, 13, 2617, 62, 35051, 3458, 7, 15, 13, 19, 8, 198, 65, 5042, 13, 33295, 7, 16159, 8, 198, 198, 6894, 796, 12972, 40546, 13, 10603, 7, 65, 5042, 11, 12972, 18, 35, 13, 22308, 7, 53, 7, 15, 13, 15, 11, 16, 13, 15, 11, 15, 13, 15, 828, 327, 7, 15, 13, 486, 11, 15, 13, 486, 11, 15, 13, 18, 4008, 1267, 198, 198, 9078, 40546, 13, 2898, 11736, 7, 6894, 11, 12172, 737, 19334, 7, 6603, 274, 737, 13564, 7, 34345, 8, 198 ]
1.672956
636
import asyncio import atexit import os import dotenv import requests from apscheduler.schedulers.background import BackgroundScheduler from flask import (Flask, make_response, redirect, render_template, request, send_from_directory, url_for) from flask_login import ( LoginManager, UserMixin, current_user, login_required, login_user, logout_user) from flask_sqlalchemy import SQLAlchemy from flask_app.edutatar import (check_login, facultative_info, get_diary, get_home_params, login_edu, my_facultatives, my_stars) from flask_app.forms import LoginForm dotenv.load_dotenv() application = Flask(__name__) application.config['SECRET_KEY'] = os.environ['SECRET_KEY'] application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True # region DATABASE SETUP application.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///database.db' db = SQLAlchemy(application) db.create_all() # endregion # region LOGIN SETUP login_manager = LoginManager() login_manager.init_app(application) @login_manager.user_loader @login_manager.unauthorized_handler sessions = {} for user in User.query.all(): s = requests.Session() login_edu(s, user.login, user.password) sessions[user.login] = s scheduler = BackgroundScheduler() scheduler.add_job(func=reload_sessions, trigger='interval', seconds=900) scheduler.start() atexit.register(lambda: scheduler.shutdown()) # endregion @application.route('/sw.js', methods=['GET']) @application.route('/', methods=['GET']) @login_required @application.route('/marks', methods=['GET']) @login_required @application.route('/marks/<int:term>', methods=['GET']) @login_required @application.route('/facultatives', methods=['GET']) @login_required @application.route('/facultative/<int:index>') @login_required @application.route('/diary') @login_required @application.route('/diary/<int:date>') @login_required @application.route('/login', methods=['GET', 'POST']) @application.route('/logout') @login_required
[ 11748, 30351, 952, 198, 11748, 379, 37023, 198, 11748, 28686, 198, 198, 11748, 16605, 24330, 198, 11748, 7007, 198, 6738, 257, 862, 1740, 18173, 13, 1416, 704, 377, 364, 13, 25249, 1330, 25353, 50, 1740, 18173, 198, 6738, 42903, 1330, 357, 7414, 2093, 11, 787, 62, 26209, 11, 18941, 11, 8543, 62, 28243, 11, 2581, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3758, 62, 6738, 62, 34945, 11, 19016, 62, 1640, 8, 198, 6738, 42903, 62, 38235, 1330, 357, 198, 220, 220, 220, 23093, 13511, 11, 11787, 35608, 259, 11, 1459, 62, 7220, 11, 17594, 62, 35827, 11, 17594, 62, 7220, 11, 198, 220, 220, 220, 2604, 448, 62, 7220, 8, 198, 6738, 42903, 62, 25410, 282, 26599, 1330, 16363, 2348, 26599, 198, 198, 6738, 42903, 62, 1324, 13, 276, 315, 9459, 1330, 357, 9122, 62, 38235, 11, 45101, 876, 62, 10951, 11, 651, 62, 67, 8042, 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, 651, 62, 11195, 62, 37266, 11, 17594, 62, 15532, 11, 616, 62, 38942, 586, 2929, 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, 616, 62, 30783, 8, 198, 6738, 42903, 62, 1324, 13, 23914, 1330, 23093, 8479, 198, 198, 26518, 24330, 13, 2220, 62, 26518, 24330, 3419, 198, 198, 31438, 796, 46947, 7, 834, 3672, 834, 8, 198, 198, 31438, 13, 11250, 17816, 23683, 26087, 62, 20373, 20520, 796, 28686, 13, 268, 2268, 17816, 23683, 26087, 62, 20373, 20520, 198, 31438, 13, 11250, 17816, 17861, 1847, 3398, 3620, 56, 62, 5446, 8120, 62, 33365, 30643, 18421, 20520, 796, 6407, 198, 198, 2, 3814, 360, 1404, 6242, 11159, 25823, 8577, 198, 198, 31438, 13, 11250, 17816, 17861, 1847, 3398, 3620, 56, 62, 35, 1404, 6242, 11159, 62, 47269, 20520, 796, 705, 25410, 578, 1378, 14, 48806, 13, 9945, 6, 198, 9945, 796, 16363, 2348, 26599, 7, 31438, 8, 628, 198, 198, 9945, 13, 17953, 62, 439, 3419, 198, 198, 2, 886, 36996, 198, 198, 2, 3814, 41605, 1268, 25823, 8577, 198, 198, 38235, 62, 37153, 796, 23093, 13511, 3419, 198, 38235, 62, 37153, 13, 15003, 62, 1324, 7, 31438, 8, 628, 198, 31, 38235, 62, 37153, 13, 7220, 62, 29356, 628, 198, 31, 38235, 62, 37153, 13, 9613, 1457, 1143, 62, 30281, 628, 198, 82, 6202, 796, 23884, 198, 198, 1640, 2836, 287, 11787, 13, 22766, 13, 439, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 264, 796, 7007, 13, 36044, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 17594, 62, 15532, 7, 82, 11, 2836, 13, 38235, 11, 2836, 13, 28712, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10991, 58, 7220, 13, 38235, 60, 796, 264, 628, 198, 198, 1416, 704, 18173, 796, 25353, 50, 1740, 18173, 3419, 198, 1416, 704, 18173, 13, 2860, 62, 21858, 7, 20786, 28, 260, 2220, 62, 82, 6202, 11, 7616, 11639, 3849, 2100, 3256, 4201, 28, 12865, 8, 198, 1416, 704, 18173, 13, 9688, 3419, 198, 198, 378, 10198, 13, 30238, 7, 50033, 25, 6038, 18173, 13, 49625, 2902, 28955, 198, 198, 2, 886, 36996, 628, 198, 31, 31438, 13, 38629, 10786, 14, 2032, 13, 8457, 3256, 5050, 28, 17816, 18851, 6, 12962, 628, 198, 31, 31438, 13, 38629, 10786, 14, 3256, 5050, 28, 17816, 18851, 6, 12962, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 14306, 3256, 5050, 28, 17816, 18851, 6, 12962, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 14306, 14, 27, 600, 25, 4354, 29, 3256, 5050, 28, 17816, 18851, 6, 12962, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 38942, 586, 2929, 3256, 5050, 28, 17816, 18851, 6, 12962, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 38942, 586, 876, 14, 27, 600, 25, 9630, 29, 11537, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 67, 8042, 11537, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 67, 8042, 14, 27, 600, 25, 4475, 29, 11537, 198, 31, 38235, 62, 35827, 628, 198, 31, 31438, 13, 38629, 10786, 14, 38235, 3256, 5050, 28, 17816, 18851, 3256, 705, 32782, 6, 12962, 628, 198, 31, 31438, 13, 38629, 10786, 14, 6404, 448, 11537, 198, 31, 38235, 62, 35827, 198 ]
2.69961
769
nombre = input("¿Cual es tu nombre?") print(f'Hola {nombre}')
[ 77, 2381, 260, 796, 5128, 7203, 126, 123, 34, 723, 1658, 12777, 299, 2381, 260, 1701, 8, 198, 4798, 7, 69, 6, 39, 5708, 1391, 77, 2381, 260, 92, 11537, 198 ]
2
31
import os os.getcwd() import sys sys.path.append('scvi') import torch import numpy as np import pandas as pd import scanpy as sc save_path = "/lustre/scratch117/cellgen/team205/tpcg/backup/backup_20190401/sc_sclassification/CellTypist/data_repo/MouseAtlas/MouseAtlas.total.h5ad" save_path2 = "/lustre/scratch117/cellgen/team205/tpcg/human_data/HumanAtlas.h5ad" adata_mouse = sc.read_h5ad(save_path) adata_human = sc.read_h5ad(save_path2) # sc.read_10x_mtx save_path = "/lustre/scratch117/cellgen/team205/zx3/pooled_2019-03-21" adata = sc.read_10x_mtx(save_path) import scvi from dataset.anndata import AnnDataset from inference import UnsupervisedTrainer from models.vae import VAE from typing import Tuple import scvi from models.modules import Encoder
[ 11748, 28686, 198, 418, 13, 1136, 66, 16993, 3419, 198, 198, 11748, 25064, 198, 17597, 13, 6978, 13, 33295, 10786, 1416, 8903, 11537, 198, 198, 11748, 28034, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 9367, 9078, 355, 629, 628, 198, 21928, 62, 6978, 796, 12813, 38878, 260, 14, 1416, 36722, 17657, 14, 3846, 5235, 14, 15097, 21261, 14, 83, 14751, 70, 14, 1891, 929, 14, 1891, 929, 62, 23344, 3023, 486, 14, 1416, 62, 82, 4871, 2649, 14, 28780, 31467, 396, 14, 7890, 62, 260, 7501, 14, 39643, 2953, 21921, 14, 39643, 2953, 21921, 13, 23350, 13, 71, 20, 324, 1, 198, 21928, 62, 6978, 17, 796, 12813, 38878, 260, 14, 1416, 36722, 17657, 14, 3846, 5235, 14, 15097, 21261, 14, 83, 14751, 70, 14, 10734, 62, 7890, 14, 20490, 2953, 21921, 13, 71, 20, 324, 1, 198, 14706, 62, 35888, 796, 629, 13, 961, 62, 71, 20, 324, 7, 21928, 62, 6978, 8, 198, 14706, 62, 10734, 796, 629, 13, 961, 62, 71, 20, 324, 7, 21928, 62, 6978, 17, 8, 198, 198, 2, 629, 13, 961, 62, 940, 87, 62, 16762, 87, 198, 21928, 62, 6978, 796, 12813, 38878, 260, 14, 1416, 36722, 17657, 14, 3846, 5235, 14, 15097, 21261, 14, 42592, 18, 14, 7742, 276, 62, 23344, 12, 3070, 12, 2481, 1, 198, 14706, 796, 629, 13, 961, 62, 940, 87, 62, 16762, 87, 7, 21928, 62, 6978, 8, 628, 198, 11748, 629, 8903, 198, 198, 6738, 27039, 13, 272, 358, 1045, 1330, 5506, 27354, 292, 316, 198, 6738, 32278, 1330, 791, 16668, 16149, 2898, 10613, 198, 6738, 4981, 13, 33353, 1330, 13753, 36, 198, 6738, 19720, 1330, 309, 29291, 628, 198, 11748, 629, 8903, 198, 198, 6738, 4981, 13, 18170, 1330, 14711, 12342, 198 ]
2.584459
296
# Copyright 2018-2021 Jakub Kuczys (https://github.com/jack1142) # # 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 # # https://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 asyncio import asyncio.subprocess as asp import contextlib from typing import Any, Dict, List, Literal from redbot.core import commands from redbot.core.bot import Red from .errors import ProcessTerminatedEarly from .utils import get_env, send_pages, wait_for_result RequestType = Literal["discord_deleted_user", "owner", "user", "user_strict"] class Shell(commands.Cog): """Run shell commands on bot's system from Discord.""" @commands.is_owner() @commands.command() async def shell(self, ctx: commands.Context, *, command: str) -> None: """Run shell command.""" await self._shell_command(ctx, command) @commands.is_owner() @commands.command() async def shellq(self, ctx: commands.Context, *, command: str) -> None: """ Run shell command quietly. If command's exit code is 0, `[p]shellq` will only send a tick reaction. Otherwise, the result will be shown as with regular `[p]shell` command. """ await self._shell_command(ctx, command, send_message_on_success=False) @commands.is_owner() @commands.command() async def killshells(self, ctx: commands.Context) -> None: """Kill all shell processes started by Shell cog.""" async with self._killing_lock: for p in reversed(self.active_processes): # in case some Process is still here after it terminated if p.returncode is None: p.kill() self.active_processes.pop() await ctx.send("Killed all active shell processes.")
[ 2, 15069, 2864, 12, 1238, 2481, 25845, 549, 509, 1229, 89, 893, 357, 5450, 1378, 12567, 13, 785, 14, 19650, 1157, 3682, 8, 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, 3740, 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, 30351, 952, 198, 11748, 30351, 952, 13, 7266, 14681, 355, 355, 79, 198, 11748, 4732, 8019, 198, 6738, 19720, 1330, 4377, 11, 360, 713, 11, 7343, 11, 25659, 1691, 198, 198, 6738, 2266, 13645, 13, 7295, 1330, 9729, 198, 6738, 2266, 13645, 13, 7295, 13, 13645, 1330, 2297, 198, 198, 6738, 764, 48277, 1330, 10854, 44798, 515, 20457, 198, 6738, 764, 26791, 1330, 651, 62, 24330, 11, 3758, 62, 31126, 11, 4043, 62, 1640, 62, 20274, 198, 198, 18453, 6030, 796, 25659, 1691, 14692, 15410, 585, 62, 2934, 33342, 62, 7220, 1600, 366, 18403, 1600, 366, 7220, 1600, 366, 7220, 62, 301, 2012, 8973, 628, 198, 4871, 17537, 7, 9503, 1746, 13, 34, 519, 2599, 198, 220, 220, 220, 37227, 10987, 7582, 9729, 319, 10214, 338, 1080, 422, 39462, 526, 15931, 628, 220, 220, 220, 2488, 9503, 1746, 13, 271, 62, 18403, 3419, 198, 220, 220, 220, 2488, 9503, 1746, 13, 21812, 3419, 198, 220, 220, 220, 30351, 825, 7582, 7, 944, 11, 269, 17602, 25, 9729, 13, 21947, 11, 1635, 11, 3141, 25, 965, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 10987, 7582, 3141, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 25507, 2116, 13557, 29149, 62, 21812, 7, 49464, 11, 3141, 8, 628, 220, 220, 220, 2488, 9503, 1746, 13, 271, 62, 18403, 3419, 198, 220, 220, 220, 2488, 9503, 1746, 13, 21812, 3419, 198, 220, 220, 220, 30351, 825, 7582, 80, 7, 944, 11, 269, 17602, 25, 9729, 13, 21947, 11, 1635, 11, 3141, 25, 965, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5660, 7582, 3141, 12703, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1002, 3141, 338, 8420, 2438, 318, 657, 11, 4600, 58, 79, 60, 29149, 80, 63, 481, 691, 3758, 257, 4378, 6317, 13, 198, 220, 220, 220, 220, 220, 220, 220, 15323, 11, 262, 1255, 481, 307, 3402, 355, 351, 3218, 4600, 58, 79, 60, 29149, 63, 3141, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 25507, 2116, 13557, 29149, 62, 21812, 7, 49464, 11, 3141, 11, 3758, 62, 20500, 62, 261, 62, 13138, 28, 25101, 8, 628, 220, 220, 220, 2488, 9503, 1746, 13, 271, 62, 18403, 3419, 198, 220, 220, 220, 2488, 9503, 1746, 13, 21812, 3419, 198, 220, 220, 220, 30351, 825, 1494, 29149, 82, 7, 944, 11, 269, 17602, 25, 9729, 13, 21947, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 27100, 477, 7582, 7767, 2067, 416, 17537, 43072, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 30351, 351, 2116, 13557, 43764, 62, 5354, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 279, 287, 17687, 7, 944, 13, 5275, 62, 14681, 274, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 287, 1339, 617, 10854, 318, 991, 994, 706, 340, 23083, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 279, 13, 7783, 8189, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 13, 12728, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5275, 62, 14681, 274, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 25507, 269, 17602, 13, 21280, 7203, 42, 2967, 477, 4075, 7582, 7767, 19570, 198 ]
2.861039
770
import re; import random import sys # splitter = re.compile('.', re.MULTILINE) if __name__ == '__main__': k = int(sys.argv[1]) n = int(sys.argv[2]) ma = Markov(n) for i in sys.argv[3:]: ma.Feed(open(i, 'r').read()) #print ma.probs #print ma.Dump(int(sys.argv[1])) words, hits = ma.Generate(k, random.choice) print ' '.join(words) #print ''.join(words) print>>sys.stderr, hits, 'hits', (100*float(hits)/k), '%'
[ 11748, 302, 26, 198, 11748, 4738, 198, 11748, 25064, 198, 220, 220, 1303, 4328, 1967, 796, 302, 13, 5589, 576, 10786, 2637, 11, 302, 13, 44, 16724, 4146, 8881, 8, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 479, 796, 493, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 220, 220, 220, 299, 796, 493, 7, 17597, 13, 853, 85, 58, 17, 12962, 198, 220, 220, 220, 17266, 796, 2940, 709, 7, 77, 8, 198, 220, 220, 220, 329, 1312, 287, 25064, 13, 853, 85, 58, 18, 25, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 17266, 13, 18332, 7, 9654, 7, 72, 11, 705, 81, 27691, 961, 28955, 198, 220, 220, 220, 1303, 4798, 17266, 13, 1676, 1443, 198, 220, 220, 220, 1303, 4798, 17266, 13, 35, 931, 7, 600, 7, 17597, 13, 853, 85, 58, 16, 60, 4008, 198, 220, 220, 220, 2456, 11, 7127, 796, 17266, 13, 8645, 378, 7, 74, 11, 4738, 13, 25541, 8, 198, 220, 220, 220, 3601, 705, 45302, 22179, 7, 10879, 8, 198, 220, 220, 220, 1303, 4798, 705, 4458, 22179, 7, 10879, 8, 198, 220, 220, 220, 3601, 4211, 17597, 13, 301, 1082, 81, 11, 7127, 11, 705, 71, 896, 3256, 357, 3064, 9, 22468, 7, 71, 896, 20679, 74, 828, 705, 4, 6, 198 ]
2.0625
224
""" Dongyoon Han et al. "`Deep Pyramidal Residual Networks <https://arxiv.org/abs/1610.02915>`_" """ from . import ResNet class PyramidNet(ResNet): """ The base PyramidNet model Notes ----- This class is intended to define custom PyramidNets. For more convenience use predefined :class:`.tf.PyramidNet18`, :class:`.tf.PyramidNet34`, and others described down below. **Configuration** inputs : dict dict with 'images' and 'labels' (see :meth:`~.TFModel._make_inputs`) initial_block : dict parameters for the initial block (see :func:`.conv_block`). body : dict num_blocks : list of int number of blocks in each group with the same number of filters. block : dict widening : int an increment of filters number in each block (default=8) and other :class:`~.tf.ResNet` block params head : dict 'Vdf' with dropout_rate=.4 Notes ----- Also see :class:`~.TFModel` and :class:`~.tf.ResNet` configuration. """ @classmethod def default_config(cls): """ Define model defaults. See :meth: `~.TFModel.default_config` """ config = ResNet.default_config() config['body/block/widening'] = 8 config['body/block/zero_pad'] = True return config @classmethod def default_layout(cls, bottleneck, **kwargs): """ Define conv block layout """ _ = kwargs return 'nc nac nac n' if bottleneck else 'nc nac n' def build_config(self, names=None): """ Define model's architecture configuration. See :meth: `~.TFModel.build_config` """ config = super(ResNet, self).build_config(names) if config.get('body/filters') is None: w = config['body/block/widening'] filters = config['initial_block/filters'] config['body/filters'] = [] for g in config['body/num_blocks']: bfilters = [filters + w * b for b in range(1, g + 1)] filters = bfilters[-1] config['body/filters'].append(bfilters) if config.get('head/units') is None: config['head/units'] = self.num_classes('targets') if config.get('head/filters') is None: config['head/filters'] = self.num_classes('targets') return config class PyramidNet18(PyramidNet): """ 18-layer PyramidNet architecture """ @classmethod class PyramidNet34(PyramidNet): """ 34-layer PyramidNet architecture """ @classmethod class PyramidNet50(PyramidNet): """ 50-layer PyramidNet architecture with bottleneck blocks """ @classmethod class PyramidNet101(PyramidNet): """ 101-layer PyramidNet architecture with bottleneck blocks """ @classmethod class PyramidNet152(PyramidNet): """ 152-layer PyramidNet architecture with bottleneck blocks """ @classmethod
[ 37811, 198, 35, 506, 88, 2049, 9530, 2123, 435, 13, 366, 63, 29744, 9485, 859, 11624, 1874, 312, 723, 27862, 198, 27, 5450, 1378, 283, 87, 452, 13, 2398, 14, 8937, 14, 1433, 940, 13, 48891, 1314, 29, 63, 62, 1, 198, 198, 37811, 198, 6738, 764, 1330, 1874, 7934, 628, 198, 4871, 41450, 7934, 7, 4965, 7934, 2599, 198, 220, 220, 220, 37227, 383, 2779, 41450, 7934, 2746, 628, 220, 220, 220, 11822, 198, 220, 220, 220, 37404, 198, 220, 220, 220, 770, 1398, 318, 5292, 284, 8160, 2183, 41450, 45, 1039, 13, 198, 220, 220, 220, 1114, 517, 15607, 779, 2747, 18156, 1058, 4871, 25, 44646, 27110, 13, 20519, 20255, 7934, 1507, 47671, 1058, 4871, 25, 44646, 27110, 13, 20519, 20255, 7934, 2682, 47671, 198, 220, 220, 220, 290, 1854, 3417, 866, 2174, 13, 628, 220, 220, 220, 12429, 38149, 1174, 628, 220, 220, 220, 17311, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 351, 705, 17566, 6, 290, 705, 23912, 1424, 6, 357, 3826, 1058, 76, 2788, 25, 63, 93, 13, 10234, 17633, 13557, 15883, 62, 15414, 82, 63, 8, 628, 220, 220, 220, 4238, 62, 9967, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 10007, 329, 262, 4238, 2512, 357, 3826, 1058, 20786, 25, 44646, 42946, 62, 9967, 63, 737, 628, 220, 220, 220, 1767, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27372, 1058, 1351, 286, 493, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 286, 7021, 287, 1123, 1448, 351, 262, 976, 1271, 286, 16628, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2512, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38118, 1058, 493, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 281, 18703, 286, 16628, 1271, 287, 1123, 2512, 357, 12286, 28, 23, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 584, 1058, 4871, 25, 63, 93, 13, 27110, 13, 4965, 7934, 63, 2512, 42287, 628, 220, 220, 220, 1182, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 705, 53, 7568, 6, 351, 4268, 448, 62, 4873, 28, 13, 19, 628, 220, 220, 220, 11822, 198, 220, 220, 220, 37404, 198, 220, 220, 220, 4418, 766, 1058, 4871, 25, 63, 93, 13, 10234, 17633, 63, 290, 1058, 4871, 25, 63, 93, 13, 27110, 13, 4965, 7934, 63, 8398, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 4277, 62, 11250, 7, 565, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 2896, 500, 2746, 26235, 13, 4091, 1058, 76, 2788, 25, 4600, 93, 13, 10234, 17633, 13, 12286, 62, 11250, 63, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 1874, 7934, 13, 12286, 62, 11250, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2618, 14, 9967, 14, 28029, 3101, 20520, 796, 807, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2618, 14, 9967, 14, 22570, 62, 15636, 20520, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 4566, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 4277, 62, 39786, 7, 565, 82, 11, 49936, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 2896, 500, 3063, 2512, 12461, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 796, 479, 86, 22046, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 705, 10782, 299, 330, 299, 330, 299, 6, 611, 49936, 2073, 705, 10782, 299, 330, 299, 6, 628, 220, 220, 220, 825, 1382, 62, 11250, 7, 944, 11, 3891, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 2896, 500, 2746, 338, 10959, 8398, 13, 4091, 1058, 76, 2788, 25, 4600, 93, 13, 10234, 17633, 13, 11249, 62, 11250, 63, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 2208, 7, 4965, 7934, 11, 2116, 737, 11249, 62, 11250, 7, 14933, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 1136, 10786, 2618, 14, 10379, 1010, 11537, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 266, 796, 4566, 17816, 2618, 14, 9967, 14, 28029, 3101, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16628, 796, 4566, 17816, 36733, 62, 9967, 14, 10379, 1010, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2618, 14, 10379, 1010, 20520, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 308, 287, 4566, 17816, 2618, 14, 22510, 62, 27372, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 10379, 1010, 796, 685, 10379, 1010, 1343, 220, 266, 1635, 275, 329, 275, 287, 2837, 7, 16, 11, 308, 1343, 352, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16628, 796, 275, 10379, 1010, 58, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2618, 14, 10379, 1010, 6, 4083, 33295, 7, 65, 10379, 1010, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 1136, 10786, 2256, 14, 41667, 11537, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2256, 14, 41667, 20520, 796, 2116, 13, 22510, 62, 37724, 10786, 83, 853, 1039, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 1136, 10786, 2256, 14, 10379, 1010, 11537, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 17816, 2256, 14, 10379, 1010, 20520, 796, 2116, 13, 22510, 62, 37724, 10786, 83, 853, 1039, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 4566, 198, 198, 4871, 41450, 7934, 1507, 7, 20519, 20255, 7934, 2599, 198, 220, 220, 220, 37227, 1248, 12, 29289, 41450, 7934, 10959, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 628, 198, 4871, 41450, 7934, 2682, 7, 20519, 20255, 7934, 2599, 198, 220, 220, 220, 37227, 4974, 12, 29289, 41450, 7934, 10959, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 628, 198, 4871, 41450, 7934, 1120, 7, 20519, 20255, 7934, 2599, 198, 220, 220, 220, 37227, 2026, 12, 29289, 41450, 7934, 10959, 351, 49936, 7021, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 628, 198, 4871, 41450, 7934, 8784, 7, 20519, 20255, 7934, 2599, 198, 220, 220, 220, 37227, 8949, 12, 29289, 41450, 7934, 10959, 351, 49936, 7021, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 628, 198, 4871, 41450, 7934, 17827, 7, 20519, 20255, 7934, 2599, 198, 220, 220, 220, 37227, 24848, 12, 29289, 41450, 7934, 10959, 351, 49936, 7021, 37227, 198, 220, 220, 220, 2488, 4871, 24396, 198 ]
2.517688
1,159
# (c) 2019-2021, Alvaro Gomariz @ ETH Zurich # Computer-assisted Applications in Medicine (CAiM) Group, Prof. Orcun Goksel import numpy as np import tensorflow as tf from cnn import layers_keras as clayers, losses, metrics_keras as cmetrics import logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) class CustomModel: """ Base class to build other models on top """ optimizer = tf.keras.optimizers.Adam() # optimizer = tf.keras.optimizers.Adam(0.000001) activation = 'linear' nlabels = 0 loss_name = 'crossentropy' loss_weights = None att_minput = ('att_domchcomb', 'att_chcomb', 'att_domchcomb_cust1', 'att_domchcomb_sm', 'att_domchcomb_cust1sm', 'att_domchcomb_cust2') name_metrictrack = "Fscore_labelmean" def __init__(self, msettings, class_weights=None, name='CustomModel', **kwargs): """ Class initialization Parameters ---------- msettings : dict dictionary describing the model settings. Normally loaded from an external .json file class_weights : list or None list of floats indicating the weight for each of the classes name: str name assigned to identify the created model """ # Data settings self.name = name self.msettings = msettings self.msettings.update({ 'activation': self.activation, 'nchannels': len(msettings['channels']), 'nlabels': len(msettings['labels']) + 1 }) self.class_weights = class_weights self.patch_size = msettings['patch_size'] self.patch_size_out = msettings['patch_size_out'] self.nchannels = len(msettings['channels']) self.input_aux = tf.keras.Input(shape=self.patch_size + [self.nchannels], name="input") self.input_shape_aux = self.input_aux.shape # self.input_shape = self.patch_size + [self.nchannels] # Network settings if 'nnNodes' in msettings: self.nn_nodes = np.array(msettings['nnNodes']) else: self.nn_nodes = np.array([[64, 128, 256, 512, 1024], [1024, 512, 256, 128, 64]]) self.do_batch_norm = msettings['batchnorm'] self.padding = msettings['padding'] # Use extra label in segmentation (for bg) extra_labels = 0 if ( ('dataset_type' in self.msettings) and self.msettings['dataset_type'] in ('detection')) else 1 self.nlabels = len(msettings['labels']) + extra_labels self.scale_factor = msettings['scale_factor'] self.ksize = msettings['kernel_size'] self.nlevels = msettings['nlevels'] # Graph settings self._graph_built = False self._model_built = False # self.run_eagerly = system.eager_mode # if self.run_eagerly: # logger.warning("The model is running in eager mode, so it will be slower") if not (self.activation in ('softmax', 'sigmoid')): self.is_logits = True def get_loss(self): """ Parses the string in self.loss_name to assign the proper loss Returns ------- class:`tf.losses.Loss` loss function for the model """ if self.loss_name == 'dice': return losses.DiceLoss(mode='macro_robust', only_foreground=True) elif self.loss_name == 'crossentropy': if self.class_weights is None: self.class_weights = [1] * self.nlabels logger.warning("class_weights should be declared for weighted cross entropy") return losses.CrossEntropyWeighted(self.class_weights) else: raise Exception("The loss {} has not been implemented".format(self.loss_name)) def model_fromlayer(self, nlayer, name=None): """ Create a model from a specific layer Parameters ---------- nlayer : int or str layer number or name that can be recognized within the model name str or None name assigned to the newly created model Returns ------- class:`tf.keras.Model` newly created model """ m_aux = self.build_model() if isinstance(nlayer, int): layer = m_aux.layers[nlayer] elif isinstance(nlayer, str): layer = m_aux.get_layer(nlayer) else: raise Exception("The layer type was not recognized") return tf.keras.Model(inputs=self.input_aux, outputs=layer.output, name=name) def build_model(self, name=None): """ Created a keras model from the layers stablished in this class Parameters ---------- name str or None name of the model Returns ------- class:`tf.keras.Model` keras model """ name = name or self.name model = tf.keras.Model(self.input_aux, self.call(self.input_aux), name=name) return model def build_metrics(self, do_idclass=False, **kwargs): """ Builds the custom metrics required for the defined mdoel Parameters ---------- do_idclass: bool Indicates if classes are treated separately (True) or aggregated together (False) Returns ------- class:`tf.keras.metrics.Metric` Metrics for the model """ return cmetrics.get_confmetrics(self.nlabels, self.is_logits, do_idclass=do_idclass) def get_vislayers(self, model=None, names=None): """ Defines the layers that will be visualized in tensorboard Parameters ---------- model: class:`tf.keras.Model` or None model from which the visualizations are to be obtained names: list (of str) or None names of the layers to be visualized Returns ------- class:`tf.keras.Model` Keras model that outputs the different defined layers """ if names: layers = [layer.output for layer in model.layers if not isinstance(layer.output, list) and any([n in layer.name for n in names])] else: layers = [layer.output for layer in model.layers if not isinstance(layer.output, list) and len(layer.output.shape) > 3] try: mlayers = tf.keras.Model(inputs=model.input, outputs=layers) except ValueError: logger.warning("Layers could not be obtained for visualization") mlayers = None return mlayers class UNet(CustomModel): """ Custom 2D U-Net model References ---------- .. [1] Olaf Ronneberger, Philipp Fischer, Thomas Brox, *U-Net: Convolutional Networks for Biomedical Image Segmentation*, MICCAI 2015 """ def __init__(self, nodes_factor=2, do_outlayer=True, channel_gather=None, chdrop=None, drop_rate=0.5, do_att=None, pos_att=None, nn_nodes=None, ndims=2, unsupervised_settings=None, **kwargs): """ Class initialization Parameters ---------- nodes_factor : int Reduce the number of nodes in every layer by the factor indicated here do_outlayer : bool Employ a last layer that outputs the classes (True) or output logits (False) channel_gather : int or None If int, the channel corresponding to that id will be employed by the network chdrop : str or None If str, defines the type of MarkerSampling employed as defined in `cnn.layers_keras.lchdrop` drop_rate : float If chdrop is True, this indicated the sampling ratio do_att : str or None If str, defines the type of attention employed as defined in `cnn.layers_keras.get_attention_layer` pos_att : list (of strs) or None It indicates the parts of the UNet where attention is employed. If None, it is used in ('encoder', 'bottleneck', 'decoder') nn_nodes : list (of lists (of ints)) or None Defines the number of nodes in every layer of the model. kwargs : key, value mappings Other keyword arguments are passed through to class:`CustomModel` """ super().__init__(**kwargs) self.do_outlayer = do_outlayer if nn_nodes is not None: self.nn_nodes = nn_nodes else: self.nn_nodes = self.nn_nodes // nodes_factor if channel_gather is not None: if chdrop: raise Exception("chdrop and channel_gather cannot be used together") self.do_channelgather = True self.channelgather = clayers.ChannelGather(channel_gather) chname = "BE" + str(channel_gather) + "_" else: self.do_channelgather = False chname = "" self.chdrop = chdrop self.chdrop_multi = False self.drop_rate = drop_rate self.ndims = ndims if self.chdrop is not None: self.chdrop_multi = 'chcomb' in self.chdrop self.drop_channels = clayers.lchdrop(self.chdrop, drop_rate) if self.chdrop == 'att_chcomb': self.drop_channels_att = clayers.ChCombAtt(name="ChDrop_auxAtt") self.encoder = [None] * (self.nlevels) self.encoder_skip = [None] * (self.nlevels - 1) self.decoder = [None] * (self.nlevels - 1) self.crop_encoder = [None] * (self.nlevels - 1) self.concat = [tf.keras.layers.Concatenate() for _ in range(self.nlevels - 1)] if ndims == 2: self.down = [ tf.keras.layers.MaxPool2D(self.scale_factor, padding=self.padding, name=chname + "downsample_level" + str(l)) for l in range(self.nlevels - 1)] elif ndims == 3: self.down = [ tf.keras.layers.MaxPool3D(self.scale_factor, padding=self.padding, name=chname + "downsample_level" + str(l)) for l in range(self.nlevels - 1)] else: logger.error("Method not implemented for {} dimensions".format(ndims)) self.up = [clayers.upsampling_custom( nodes=self.nn_nodes[1][l + 1], scale_factor=self.scale_factor, ndims=ndims, name=chname + "upsample_level" + str(l) ) for l in range(self.nlevels - 1)] self.do_att = do_att self.act2 = None if self.do_att == 'att_chcomb_postact' else 'relu' if self.do_att is None: self.pos_att = {k: False for k in ('encoder', 'bottleneck', 'decoder')} self.att_multi = False else: self.pos_att = pos_att or {k: True for k in ('encoder', 'bottleneck', 'decoder')} self.att_multi = 'chcomb' in self.do_att fatt = clayers.get_attention_layer(self.do_att) # self.latt = [[ # fatt("SE_" + net + str(nl)) for nl in range(self.nlevels) # ] for laux, net in zip((self.nlevels, self.nlevels - 1), ('e', 'd'))] self.latt_enc = [ fatt("SE_enc_l" + str(nl)) for nl in range(self.nlevels - 1) ] if self.pos_att['encoder'] else None self.latt_dec = [ fatt("SE_dec_l" + str(nl)) for nl in range(self.nlevels - 1) ] if self.pos_att['decoder'] else None self.latt_bottleneck = fatt("SE_bn") if self.pos_att['bottleneck'] else None self.encoder[0] = clayers.blockconv(self.nn_nodes[0][0], do_batchnorm=self.do_batch_norm, ksize=self.ksize, padding=self.padding, ndims=ndims, name=chname + "BlockDown_level0", rdrop=float(self.msettings["dropout"])) for level in range(1, self.nlevels): self.encoder[level] = clayers.blockconv(self.nn_nodes[0][level], do_batchnorm=self.do_batch_norm, ksize=self.ksize, padding=self.padding, activation2=self.act2, ndims=ndims, name=chname + "BlockDown_level" + str(level), rdrop=float(self.msettings["dropout"])) self.decoder[level - 1] = clayers.blockconv(self.nn_nodes[1][level], do_batchnorm=self.do_batch_norm, ksize=self.ksize, padding=self.padding, activation2=self.act2, ndims=ndims, name=chname + "BlockUp_level" + str(level), rdrop=float(self.msettings["dropout"])) self.crop_encoder[level - 1] = clayers.skipconnect( level - 1, self.nlevels, scale_factor=self.scale_factor, padding=self.padding, ndims=ndims, name=chname + "cropping_level" + str(level)) if self.do_outlayer: if ndims == 2: self.final_layer = tf.keras.layers.Conv2D(filters=self.nlabels, kernel_size=(1, 1), padding=self.padding, activation=self.activation, name=chname + 'output_layer') elif ndims == 3: self.final_layer = tf.keras.layers.Conv3D(filters=self.nlabels, kernel_size=(1, 1, 1), padding=self.padding, activation=self.activation, name=chname + 'output_layer') else: logger.error("Method not implemented for {} dimensions".format(ndims)) else: self.final_layer = tf.keras.layers.Lambda(lambda x: x, name=chname + 'output_layer') # @tf.function class UNet_MarkerDrop_MarkerExcite(UNet2D): """ MS-ME model """ class MarkerSampling_MarkerExcite(UNet_MarkerDrop_MarkerExcite): """ Alias for UNet_MarkerDrop_MarkerExcite """ pass class UNet3D(UNet): """ Custom 3D U-Net model """
[ 2, 357, 66, 8, 13130, 12, 1238, 2481, 11, 978, 7785, 78, 402, 296, 283, 528, 220, 2488, 220, 35920, 43412, 198, 2, 13851, 12, 42191, 26622, 287, 11558, 357, 8141, 72, 44, 8, 4912, 11, 220, 4415, 13, 19083, 403, 402, 482, 741, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 6738, 269, 20471, 1330, 11685, 62, 6122, 292, 355, 537, 6962, 11, 9089, 11, 20731, 62, 6122, 292, 355, 269, 4164, 10466, 198, 11748, 18931, 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, 30531, 8, 628, 198, 4871, 8562, 17633, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7308, 1398, 284, 1382, 584, 4981, 319, 1353, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 6436, 7509, 796, 48700, 13, 6122, 292, 13, 40085, 11341, 13, 23159, 3419, 198, 220, 220, 220, 1303, 6436, 7509, 796, 48700, 13, 6122, 292, 13, 40085, 11341, 13, 23159, 7, 15, 13, 2388, 486, 8, 198, 220, 220, 220, 14916, 796, 705, 29127, 6, 198, 220, 220, 220, 299, 23912, 1424, 796, 657, 198, 220, 220, 220, 2994, 62, 3672, 796, 705, 19692, 298, 28338, 6, 198, 220, 220, 220, 2994, 62, 43775, 796, 6045, 198, 220, 220, 220, 708, 62, 1084, 1996, 796, 19203, 1078, 62, 3438, 354, 24011, 3256, 705, 1078, 62, 354, 24011, 3256, 705, 1078, 62, 3438, 354, 24011, 62, 66, 436, 16, 3256, 705, 1078, 62, 3438, 354, 24011, 62, 5796, 3256, 705, 1078, 62, 3438, 354, 24011, 62, 66, 436, 16, 5796, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1078, 62, 3438, 354, 24011, 62, 66, 436, 17, 11537, 198, 220, 220, 220, 1438, 62, 4164, 2012, 39638, 796, 366, 37, 26675, 62, 18242, 32604, 1, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 285, 33692, 11, 1398, 62, 43775, 28, 14202, 11, 1438, 11639, 15022, 17633, 3256, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5016, 37588, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 285, 33692, 1058, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22155, 12059, 262, 2746, 6460, 13, 29282, 9639, 422, 281, 7097, 764, 17752, 2393, 198, 220, 220, 220, 220, 220, 220, 220, 1398, 62, 43775, 1058, 1351, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 36016, 12739, 262, 3463, 329, 1123, 286, 262, 6097, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 25, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 8686, 284, 5911, 262, 2727, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6060, 6460, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3672, 796, 1438, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 907, 12374, 796, 285, 33692, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 907, 12374, 13, 19119, 15090, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 48545, 10354, 2116, 13, 48545, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 77, 354, 8961, 10354, 18896, 7, 907, 12374, 17816, 354, 8961, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21283, 397, 1424, 10354, 18896, 7, 907, 12374, 17816, 23912, 1424, 6, 12962, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 32092, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 62, 43775, 796, 1398, 62, 43775, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17147, 62, 7857, 796, 285, 33692, 17816, 17147, 62, 7857, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17147, 62, 7857, 62, 448, 796, 285, 33692, 17816, 17147, 62, 7857, 62, 448, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 77, 354, 8961, 796, 18896, 7, 907, 12374, 17816, 354, 8961, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15414, 62, 14644, 796, 48700, 13, 6122, 292, 13, 20560, 7, 43358, 28, 944, 13, 17147, 62, 7857, 1343, 685, 944, 13, 77, 354, 8961, 4357, 1438, 2625, 15414, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15414, 62, 43358, 62, 14644, 796, 2116, 13, 15414, 62, 14644, 13, 43358, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 15414, 62, 43358, 796, 2116, 13, 17147, 62, 7857, 1343, 685, 944, 13, 77, 354, 8961, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 7311, 6460, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 20471, 45, 4147, 6, 287, 285, 33692, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20471, 62, 77, 4147, 796, 45941, 13, 18747, 7, 907, 12374, 17816, 20471, 45, 4147, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20471, 62, 77, 4147, 796, 45941, 13, 18747, 26933, 58, 2414, 11, 13108, 11, 17759, 11, 22243, 11, 28119, 4357, 685, 35500, 11, 22243, 11, 17759, 11, 13108, 11, 5598, 11907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4598, 62, 43501, 62, 27237, 796, 285, 33692, 17816, 43501, 27237, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 39231, 796, 285, 33692, 17816, 39231, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5765, 3131, 6167, 287, 10618, 341, 357, 1640, 275, 70, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3131, 62, 23912, 1424, 796, 657, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19203, 19608, 292, 316, 62, 4906, 6, 287, 2116, 13, 907, 12374, 8, 290, 2116, 13, 907, 12374, 17816, 19608, 292, 316, 62, 4906, 20520, 287, 19203, 15255, 3213, 6, 4008, 2073, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21283, 397, 1424, 796, 18896, 7, 907, 12374, 17816, 23912, 1424, 6, 12962, 1343, 3131, 62, 23912, 1424, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9888, 62, 31412, 796, 285, 33692, 17816, 9888, 62, 31412, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 591, 1096, 796, 285, 33692, 17816, 33885, 62, 7857, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 77, 46170, 796, 285, 33692, 17816, 77, 46170, 20520, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 29681, 6460, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 34960, 62, 18780, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 19849, 62, 18780, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 5143, 62, 68, 3536, 306, 796, 1080, 13, 68, 3536, 62, 14171, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 2116, 13, 5143, 62, 68, 3536, 306, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 49706, 13, 43917, 7203, 464, 2746, 318, 2491, 287, 11069, 4235, 11, 523, 340, 481, 307, 13611, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 357, 944, 13, 48545, 287, 19203, 4215, 9806, 3256, 705, 82, 17225, 1868, 11537, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 271, 62, 6404, 896, 796, 6407, 628, 220, 220, 220, 825, 651, 62, 22462, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 23042, 274, 262, 4731, 287, 2116, 13, 22462, 62, 3672, 284, 8333, 262, 1774, 2994, 628, 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, 1398, 25, 63, 27110, 13, 22462, 274, 13, 43, 793, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2994, 2163, 329, 262, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 22462, 62, 3672, 6624, 705, 67, 501, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 9089, 13, 35, 501, 43, 793, 7, 14171, 11639, 20285, 305, 62, 22609, 436, 3256, 691, 62, 754, 2833, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 22462, 62, 3672, 6624, 705, 19692, 298, 28338, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 4871, 62, 43775, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 62, 43775, 796, 685, 16, 60, 1635, 2116, 13, 21283, 397, 1424, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 43917, 7203, 4871, 62, 43775, 815, 307, 6875, 329, 26356, 3272, 40709, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 9089, 13, 21544, 14539, 28338, 25844, 276, 7, 944, 13, 4871, 62, 43775, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 7203, 464, 2994, 23884, 468, 407, 587, 9177, 1911, 18982, 7, 944, 13, 22462, 62, 3672, 4008, 628, 220, 220, 220, 825, 2746, 62, 6738, 29289, 7, 944, 11, 299, 29289, 11, 1438, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 13610, 257, 2746, 422, 257, 2176, 7679, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 299, 29289, 1058, 493, 393, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7679, 1271, 393, 1438, 326, 460, 307, 8018, 1626, 262, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 965, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 8686, 284, 262, 8308, 2727, 2746, 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, 1398, 25, 63, 27110, 13, 6122, 292, 13, 17633, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8308, 2727, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 285, 62, 14644, 796, 2116, 13, 11249, 62, 19849, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 21283, 2794, 11, 493, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7679, 796, 285, 62, 14644, 13, 75, 6962, 58, 21283, 2794, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 39098, 7, 21283, 2794, 11, 965, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7679, 796, 285, 62, 14644, 13, 1136, 62, 29289, 7, 21283, 2794, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 7203, 464, 7679, 2099, 373, 407, 8018, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 48700, 13, 6122, 292, 13, 17633, 7, 15414, 82, 28, 944, 13, 15414, 62, 14644, 11, 23862, 28, 29289, 13, 22915, 11, 1438, 28, 3672, 8, 628, 220, 220, 220, 825, 1382, 62, 19849, 7, 944, 11, 1438, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 15622, 257, 41927, 292, 2746, 422, 262, 11685, 8303, 2115, 287, 428, 1398, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 965, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 286, 262, 2746, 628, 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, 1398, 25, 63, 27110, 13, 6122, 292, 13, 17633, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41927, 292, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 1438, 393, 2116, 13, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 48700, 13, 6122, 292, 13, 17633, 7, 944, 13, 15414, 62, 14644, 11, 2116, 13, 13345, 7, 944, 13, 15414, 62, 14644, 828, 1438, 28, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2746, 628, 220, 220, 220, 825, 1382, 62, 4164, 10466, 7, 944, 11, 466, 62, 312, 4871, 28, 25101, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10934, 82, 262, 2183, 20731, 2672, 329, 262, 5447, 285, 4598, 417, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 466, 62, 312, 4871, 25, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1423, 16856, 611, 6097, 389, 5716, 13869, 357, 17821, 8, 393, 13262, 515, 1978, 357, 25101, 8, 628, 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, 1398, 25, 63, 27110, 13, 6122, 292, 13, 4164, 10466, 13, 9171, 1173, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3395, 10466, 329, 262, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 269, 4164, 10466, 13, 1136, 62, 10414, 4164, 10466, 7, 944, 13, 21283, 397, 1424, 11, 2116, 13, 271, 62, 6404, 896, 11, 466, 62, 312, 4871, 28, 4598, 62, 312, 4871, 8, 628, 220, 220, 220, 825, 651, 62, 85, 3044, 6962, 7, 944, 11, 2746, 28, 14202, 11, 3891, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2896, 1127, 262, 11685, 326, 481, 307, 5874, 1143, 287, 11192, 273, 3526, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 25, 1398, 25, 63, 27110, 13, 6122, 292, 13, 17633, 63, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 422, 543, 262, 5874, 4582, 389, 284, 307, 6492, 198, 220, 220, 220, 220, 220, 220, 220, 3891, 25, 1351, 357, 1659, 965, 8, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3891, 286, 262, 11685, 284, 307, 5874, 1143, 628, 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, 1398, 25, 63, 27110, 13, 6122, 292, 13, 17633, 63, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17337, 292, 2746, 326, 23862, 262, 1180, 5447, 11685, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3891, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11685, 796, 685, 29289, 13, 22915, 329, 7679, 287, 2746, 13, 75, 6962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 29289, 13, 22915, 11, 1351, 8, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 597, 26933, 77, 287, 7679, 13, 3672, 329, 299, 287, 3891, 12962, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11685, 796, 685, 29289, 13, 22915, 329, 7679, 287, 2746, 13, 75, 6962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 29289, 13, 22915, 11, 1351, 8, 290, 18896, 7, 29289, 13, 22915, 13, 43358, 8, 1875, 513, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25962, 6962, 796, 48700, 13, 6122, 292, 13, 17633, 7, 15414, 82, 28, 19849, 13, 15414, 11, 23862, 28, 75, 6962, 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, 49706, 13, 43917, 7203, 43, 6962, 714, 407, 307, 6492, 329, 32704, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25962, 6962, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 25962, 6962, 628, 198, 4871, 4725, 316, 7, 15022, 17633, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8562, 362, 35, 471, 12, 7934, 2746, 628, 220, 220, 220, 31458, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 11485, 685, 16, 60, 6544, 1878, 6575, 710, 21041, 11, 9844, 30901, 11, 5658, 2806, 87, 11, 1635, 52, 12, 7934, 25, 34872, 2122, 282, 27862, 329, 8436, 35914, 7412, 1001, 5154, 341, 25666, 35878, 8141, 40, 1853, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13760, 62, 31412, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 466, 62, 448, 29289, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6518, 62, 70, 1032, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 14781, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4268, 62, 4873, 28, 15, 13, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 466, 62, 1078, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1426, 62, 1078, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 77, 62, 77, 4147, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 67, 12078, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 555, 16668, 16149, 62, 33692, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5016, 37588, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 62, 31412, 1058, 493, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44048, 262, 1271, 286, 13760, 287, 790, 7679, 416, 262, 5766, 8203, 994, 198, 220, 220, 220, 220, 220, 220, 220, 466, 62, 448, 29289, 1058, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12645, 257, 938, 7679, 326, 23862, 262, 6097, 357, 17821, 8, 393, 5072, 2604, 896, 357, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6518, 62, 70, 1032, 1058, 493, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 493, 11, 262, 6518, 11188, 284, 326, 4686, 481, 307, 9322, 416, 262, 3127, 198, 220, 220, 220, 220, 220, 220, 220, 442, 14781, 1058, 965, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 965, 11, 15738, 262, 2099, 286, 2940, 263, 16305, 11347, 9322, 355, 5447, 287, 4600, 66, 20471, 13, 75, 6962, 62, 6122, 292, 13, 75, 354, 14781, 63, 198, 220, 220, 220, 220, 220, 220, 220, 4268, 62, 4873, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 442, 14781, 318, 6407, 11, 428, 8203, 262, 19232, 8064, 198, 220, 220, 220, 220, 220, 220, 220, 466, 62, 1078, 1058, 965, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 965, 11, 15738, 262, 2099, 286, 3241, 9322, 355, 5447, 287, 4600, 66, 20471, 13, 75, 6962, 62, 6122, 292, 13, 1136, 62, 1078, 1463, 62, 29289, 63, 198, 220, 220, 220, 220, 220, 220, 220, 1426, 62, 1078, 1058, 1351, 357, 1659, 965, 82, 8, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 632, 9217, 262, 3354, 286, 262, 4725, 316, 810, 3241, 318, 9322, 13, 1002, 6045, 11, 340, 318, 973, 287, 19203, 12685, 12342, 3256, 705, 10985, 43163, 3256, 705, 12501, 12342, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 299, 77, 62, 77, 4147, 1058, 1351, 357, 1659, 8341, 357, 1659, 493, 82, 4008, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2896, 1127, 262, 1271, 286, 13760, 287, 790, 7679, 286, 262, 2746, 13, 198, 220, 220, 220, 220, 220, 220, 220, 479, 86, 22046, 1058, 1994, 11, 1988, 285, 39242, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3819, 21179, 7159, 389, 3804, 832, 284, 1398, 25, 63, 15022, 17633, 63, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2208, 22446, 834, 15003, 834, 7, 1174, 46265, 22046, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4598, 62, 448, 29289, 796, 466, 62, 448, 29289, 198, 220, 220, 220, 220, 220, 220, 220, 611, 299, 77, 62, 77, 4147, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20471, 62, 77, 4147, 796, 299, 77, 62, 77, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20471, 62, 77, 4147, 796, 2116, 13, 20471, 62, 77, 4147, 3373, 13760, 62, 31412, 628, 220, 220, 220, 220, 220, 220, 220, 611, 6518, 62, 70, 1032, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 442, 14781, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 7203, 354, 14781, 290, 6518, 62, 70, 1032, 2314, 307, 973, 1978, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4598, 62, 17620, 70, 1032, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17620, 70, 1032, 796, 537, 6962, 13, 29239, 38, 1032, 7, 17620, 62, 70, 1032, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 3672, 796, 366, 12473, 1, 1343, 965, 7, 17620, 62, 70, 1032, 8, 1343, 45434, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4598, 62, 17620, 70, 1032, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 3672, 796, 13538, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 354, 14781, 796, 442, 14781, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 354, 14781, 62, 41684, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14781, 62, 4873, 796, 4268, 62, 4873, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 358, 12078, 796, 299, 67, 12078, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 354, 14781, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 354, 14781, 62, 41684, 796, 705, 354, 24011, 6, 287, 2116, 13, 354, 14781, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14781, 62, 354, 8961, 796, 537, 6962, 13, 75, 354, 14781, 7, 944, 13, 354, 14781, 11, 4268, 62, 4873, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 354, 14781, 6624, 705, 1078, 62, 354, 24011, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14781, 62, 354, 8961, 62, 1078, 796, 537, 6962, 13, 1925, 20575, 8086, 7, 3672, 2625, 1925, 26932, 62, 14644, 8086, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12685, 12342, 796, 685, 14202, 60, 1635, 357, 944, 13, 77, 46170, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12685, 12342, 62, 48267, 796, 685, 14202, 60, 1635, 357, 944, 13, 77, 46170, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12501, 12342, 796, 685, 14202, 60, 1635, 357, 944, 13, 77, 46170, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 31476, 62, 12685, 12342, 796, 685, 14202, 60, 1635, 357, 944, 13, 77, 46170, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1102, 9246, 796, 685, 27110, 13, 6122, 292, 13, 75, 6962, 13, 3103, 9246, 268, 378, 3419, 329, 4808, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 611, 299, 67, 12078, 6624, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2902, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 48700, 13, 6122, 292, 13, 75, 6962, 13, 11518, 27201, 17, 35, 7, 944, 13, 9888, 62, 31412, 11, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 30371, 1403, 62, 5715, 1, 1343, 965, 7, 75, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 300, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 299, 67, 12078, 6624, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2902, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 48700, 13, 6122, 292, 13, 75, 6962, 13, 11518, 27201, 18, 35, 7, 944, 13, 9888, 62, 31412, 11, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 30371, 1403, 62, 5715, 1, 1343, 965, 7, 75, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 300, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7203, 17410, 407, 9177, 329, 23884, 15225, 1911, 18982, 7, 358, 12078, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 929, 796, 685, 565, 6962, 13, 4739, 321, 11347, 62, 23144, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13760, 28, 944, 13, 20471, 62, 77, 4147, 58, 16, 7131, 75, 1343, 352, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5046, 62, 31412, 28, 944, 13, 9888, 62, 31412, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 67, 12078, 28, 358, 12078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 4739, 1403, 62, 5715, 1, 1343, 965, 7, 75, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 329, 300, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 15437, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4598, 62, 1078, 796, 466, 62, 1078, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 529, 17, 796, 6045, 611, 2116, 13, 4598, 62, 1078, 6624, 705, 1078, 62, 354, 24011, 62, 7353, 529, 6, 2073, 705, 260, 2290, 6, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 4598, 62, 1078, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1930, 62, 1078, 796, 1391, 74, 25, 10352, 329, 479, 287, 19203, 12685, 12342, 3256, 705, 10985, 43163, 3256, 705, 12501, 12342, 11537, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1078, 62, 41684, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1930, 62, 1078, 796, 1426, 62, 1078, 393, 1391, 74, 25, 6407, 329, 479, 287, 19203, 12685, 12342, 3256, 705, 10985, 43163, 3256, 705, 12501, 12342, 11537, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1078, 62, 41684, 796, 705, 354, 24011, 6, 287, 2116, 13, 4598, 62, 1078, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1078, 796, 537, 6962, 13, 1136, 62, 1078, 1463, 62, 29289, 7, 944, 13, 4598, 62, 1078, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 75, 1078, 796, 16410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 277, 1078, 7203, 5188, 62, 1, 1343, 2010, 1343, 965, 7, 21283, 4008, 329, 299, 75, 287, 2837, 7, 944, 13, 77, 46170, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2361, 329, 300, 14644, 11, 2010, 287, 19974, 19510, 944, 13, 77, 46170, 11, 2116, 13, 77, 46170, 532, 352, 828, 19203, 68, 3256, 705, 67, 6, 4008, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 75, 1078, 62, 12685, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1078, 7203, 5188, 62, 12685, 62, 75, 1, 1343, 965, 7, 21283, 4008, 329, 299, 75, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 611, 2116, 13, 1930, 62, 1078, 17816, 12685, 12342, 20520, 2073, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 75, 1078, 62, 12501, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1078, 7203, 5188, 62, 12501, 62, 75, 1, 1343, 965, 7, 21283, 4008, 329, 299, 75, 287, 2837, 7, 944, 13, 77, 46170, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 611, 2116, 13, 1930, 62, 1078, 17816, 12501, 12342, 20520, 2073, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 75, 1078, 62, 10985, 43163, 796, 277, 1078, 7203, 5188, 62, 9374, 4943, 611, 2116, 13, 1930, 62, 1078, 17816, 10985, 43163, 20520, 2073, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12685, 12342, 58, 15, 60, 796, 537, 6962, 13, 9967, 42946, 7, 944, 13, 20471, 62, 77, 4147, 58, 15, 7131, 15, 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, 220, 220, 220, 220, 220, 220, 466, 62, 43501, 27237, 28, 944, 13, 4598, 62, 43501, 62, 27237, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 7857, 28, 944, 13, 591, 1096, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 67, 12078, 28, 358, 12078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 12235, 8048, 62, 5715, 15, 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, 220, 220, 220, 220, 220, 220, 374, 14781, 28, 22468, 7, 944, 13, 907, 12374, 14692, 14781, 448, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1241, 287, 2837, 7, 16, 11, 2116, 13, 77, 46170, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12685, 12342, 58, 5715, 60, 796, 537, 6962, 13, 9967, 42946, 7, 944, 13, 20471, 62, 77, 4147, 58, 15, 7131, 5715, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 466, 62, 43501, 27237, 28, 944, 13, 4598, 62, 43501, 62, 27237, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 7857, 28, 944, 13, 591, 1096, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14916, 17, 28, 944, 13, 529, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 67, 12078, 28, 358, 12078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 12235, 8048, 62, 5715, 1, 1343, 965, 7, 5715, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 14781, 28, 22468, 7, 944, 13, 907, 12374, 14692, 14781, 448, 8973, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12501, 12342, 58, 5715, 532, 352, 60, 796, 537, 6962, 13, 9967, 42946, 7, 944, 13, 20471, 62, 77, 4147, 58, 16, 7131, 5715, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 466, 62, 43501, 27237, 28, 944, 13, 4598, 62, 43501, 62, 27237, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 7857, 28, 944, 13, 591, 1096, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14916, 17, 28, 944, 13, 529, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 67, 12078, 28, 358, 12078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 12235, 4933, 62, 5715, 1, 1343, 965, 7, 5715, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 14781, 28, 22468, 7, 944, 13, 907, 12374, 14692, 14781, 448, 8973, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 31476, 62, 12685, 12342, 58, 5715, 532, 352, 60, 796, 537, 6962, 13, 48267, 8443, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1241, 532, 352, 11, 2116, 13, 77, 46170, 11, 5046, 62, 31412, 28, 944, 13, 9888, 62, 31412, 11, 24511, 28, 944, 13, 39231, 11, 299, 67, 12078, 28, 358, 12078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 366, 19915, 2105, 62, 5715, 1, 1343, 965, 7, 5715, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 4598, 62, 448, 29289, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 299, 67, 12078, 6624, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20311, 62, 29289, 796, 48700, 13, 6122, 292, 13, 75, 6962, 13, 3103, 85, 17, 35, 7, 10379, 1010, 28, 944, 13, 21283, 397, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9720, 62, 7857, 16193, 16, 11, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14916, 28, 944, 13, 48545, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 705, 22915, 62, 29289, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 299, 67, 12078, 6624, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20311, 62, 29289, 796, 48700, 13, 6122, 292, 13, 75, 6962, 13, 3103, 85, 18, 35, 7, 10379, 1010, 28, 944, 13, 21283, 397, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9720, 62, 7857, 16193, 16, 11, 352, 11, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 944, 13, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14916, 28, 944, 13, 48545, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 1349, 480, 1343, 705, 22915, 62, 29289, 11537, 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, 49706, 13, 18224, 7203, 17410, 407, 9177, 329, 23884, 15225, 1911, 18982, 7, 358, 12078, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20311, 62, 29289, 796, 48700, 13, 6122, 292, 13, 75, 6962, 13, 43, 4131, 6814, 7, 50033, 2124, 25, 2124, 11, 1438, 28, 1349, 480, 1343, 705, 22915, 62, 29289, 11537, 628, 220, 220, 220, 1303, 2488, 27110, 13, 8818, 628, 198, 4871, 4725, 316, 62, 9704, 263, 26932, 62, 9704, 263, 40127, 578, 7, 4944, 316, 17, 35, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6579, 12, 11682, 2746, 198, 220, 220, 220, 37227, 628, 198, 4871, 2940, 263, 16305, 11347, 62, 9704, 263, 40127, 578, 7, 4944, 316, 62, 9704, 263, 26932, 62, 9704, 263, 40127, 578, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 978, 4448, 329, 4725, 316, 62, 9704, 263, 26932, 62, 9704, 263, 40127, 578, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1208, 198, 198, 4871, 4725, 316, 18, 35, 7, 4944, 316, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8562, 513, 35, 471, 12, 7934, 2746, 628, 220, 220, 220, 37227 ]
1.952563
7,842
from re import sub chiffres = ['','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen'] nombres = ['','ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety'] def formater(x): """ Function to clean up the string input and convert it into a float One mandatory arg : int, float, Decimal, or str representing numbers """ if type(x)==str: if ',' in x and len(x.split(',')[1])==3: x=x.replace(',','') elif ',' in x: x=x.replace(',','.') x=sub(r'\s*[a-zA-Z]*','',x) x=round(float(x),2) if x<0: return str(0.00) return str(x) def unite(x): """ Converts x into letters when int(x)<1000 One mandatory argument : any string input representing an integer < 1000 """ x = str(x) if len(x)==2: x= '0'+x elif len(x) ==1: x = '00'+x elif len(x) !=3: return '' if int(x[-2:])<20: dizaines = chiffres[int(x[-2:])] elif int(x[-1])==0: dizaines = nombres[int(x[-2])] else: dizaines = nombres[int(x[-2])]+'-'+chiffres[int(x[-1])] if x[0] == '0': return dizaines else: centaines = chiffres[int(x[0])]+' hundred' if dizaines!='': centaines+=' and ' return centaines+dizaines def nombre2lettres(x): """ This function converts an integer into letters. It is called twice by conv() : firstly, for the integer part of the input, and secondly for the decimals if there are some. """ x=str(x) if len(x)<=3: total = unite(x) else: milliards, millions, milliers = '','','' sp,sp2,sp3='','','' if unite(x[-3:]) != '':#nécessité d'un espace avant les centaines sp= ', ' if unite(x[-6:-3]) != '' and len(x)>6:#nécessité d'un espace avant les milliers sp2 = ', ' if unite(x[-9:-6]) != '' and len(x)>9:#nécessité d'un espace avant les millions sp3 = ', ' #MILLIERS if x[-6:-3] == '000': milliers = ''+sp+unite(x[-3:]) elif x == '1000': milliers = 'a thousand' else: milliers = unite(x[-6:-3])+' thousand'+sp+unite(x[-3:]) #MILLIONS if len(x)>6: if x[-9:-6] == '000': millions = '' else: millions = unite(x[-9:-6])+' million' #MILLIARDS if len(x)>9: if x[-12:-9] == '000' or len(x)>12: milliards = 'more than trillion' else: milliards = unite(x[-12:-9])+' billion' #TOTAL total=milliards+sp3+millions+sp2+milliers return total def conv(x): """ Principal function of this package : It takes only one argument (int, float or str) and converts it into letters. Example : conv(10) returns 'ten euros' """ x=formater(x) e,c = x.split('.')[0],x.split('.')[1] if len(c)==1: c=c+'0' if int(c)==0: c='' elif int(c)==1: c='one cent' else: c=nombre2lettres(c)+' cents' if int(e)==0: if c=='': return 'zero euro' else: return c elif int(e)==1: e='one euro' else: e=nombre2lettres(e)+' euros' if c=='': return e else: return e+' and '+c if __name__ == '__main__': result=conv(str(input('Enter here the amount in figures :'))) print(result)
[ 6738, 302, 1330, 850, 198, 198, 354, 733, 411, 796, 37250, 41707, 505, 41707, 11545, 41707, 15542, 41707, 14337, 41707, 13261, 41707, 19412, 41707, 26548, 41707, 26022, 41707, 30888, 41707, 1452, 41707, 11129, 574, 41707, 4246, 9954, 41707, 400, 22530, 41707, 14337, 7821, 41707, 32041, 7821, 41707, 19412, 7821, 41707, 325, 1151, 6429, 41707, 26022, 6429, 41707, 35073, 34026, 20520, 198, 77, 2381, 411, 796, 37250, 41707, 1452, 41707, 4246, 3787, 41707, 400, 5893, 41707, 3319, 88, 41707, 69, 24905, 41707, 82, 19404, 41707, 325, 1151, 88, 41707, 68, 14400, 41707, 35073, 2963, 20520, 198, 198, 4299, 1296, 729, 7, 87, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15553, 284, 3424, 510, 262, 4731, 5128, 290, 10385, 340, 656, 257, 12178, 198, 220, 220, 220, 1881, 13677, 1822, 1058, 493, 11, 12178, 11, 4280, 4402, 11, 393, 965, 10200, 3146, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 2099, 7, 87, 8, 855, 2536, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 4032, 287, 2124, 290, 18896, 7, 87, 13, 35312, 7, 3256, 11537, 58, 16, 12962, 855, 18, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 28, 87, 13, 33491, 7, 3256, 3256, 7061, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 705, 4032, 287, 2124, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 28, 87, 13, 33491, 7, 3256, 41707, 2637, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 28, 7266, 7, 81, 6, 59, 82, 9, 58, 64, 12, 89, 32, 12, 57, 60, 9, 41707, 3256, 87, 8, 198, 220, 220, 220, 2124, 28, 744, 7, 22468, 7, 87, 828, 17, 8, 198, 220, 220, 220, 611, 2124, 27, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 965, 7, 15, 13, 405, 8, 198, 220, 220, 220, 1441, 965, 7, 87, 8, 198, 198, 4299, 24558, 7, 87, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1482, 24040, 2124, 656, 7475, 618, 493, 7, 87, 8, 27, 12825, 198, 220, 220, 220, 1881, 13677, 4578, 1058, 597, 4731, 5128, 10200, 281, 18253, 1279, 8576, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2124, 796, 965, 7, 87, 8, 198, 220, 220, 220, 611, 18896, 7, 87, 8, 855, 17, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 28, 705, 15, 6, 10, 87, 198, 220, 220, 220, 1288, 361, 18896, 7, 87, 8, 6624, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 705, 405, 6, 10, 87, 198, 220, 220, 220, 1288, 361, 18896, 7, 87, 8, 14512, 18, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10148, 628, 220, 220, 220, 611, 493, 7, 87, 58, 12, 17, 25, 12962, 27, 1238, 25, 198, 220, 220, 220, 220, 220, 220, 220, 288, 528, 391, 274, 796, 442, 733, 411, 58, 600, 7, 87, 58, 12, 17, 25, 12962, 60, 198, 220, 220, 220, 1288, 361, 493, 7, 87, 58, 12, 16, 12962, 855, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 288, 528, 391, 274, 796, 299, 2381, 411, 58, 600, 7, 87, 58, 12, 17, 12962, 60, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 288, 528, 391, 274, 796, 299, 2381, 411, 58, 600, 7, 87, 58, 12, 17, 12962, 48688, 6, 19355, 10, 354, 733, 411, 58, 600, 7, 87, 58, 12, 16, 12962, 60, 628, 220, 220, 220, 611, 2124, 58, 15, 60, 6624, 705, 15, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 288, 528, 391, 274, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1247, 391, 274, 796, 442, 733, 411, 58, 600, 7, 87, 58, 15, 12962, 48688, 6, 3470, 6, 198, 220, 220, 220, 220, 220, 220, 220, 611, 288, 528, 391, 274, 0, 28, 7061, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1247, 391, 274, 10, 11639, 290, 705, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1247, 391, 274, 10, 67, 528, 391, 274, 198, 198, 4299, 299, 2381, 260, 17, 15503, 411, 7, 87, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 26161, 281, 18253, 656, 7475, 13, 198, 220, 220, 220, 632, 318, 1444, 5403, 416, 3063, 3419, 1058, 717, 306, 11, 329, 262, 18253, 636, 286, 262, 5128, 11, 290, 48550, 329, 262, 875, 320, 874, 611, 612, 389, 617, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2124, 28, 2536, 7, 87, 8, 198, 220, 220, 220, 611, 18896, 7, 87, 8, 27, 28, 18, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 796, 24558, 7, 87, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3939, 72, 1371, 11, 5242, 11, 3939, 3183, 796, 705, 41707, 3256, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 599, 11, 2777, 17, 11, 2777, 18, 11639, 41707, 3256, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 24558, 7, 87, 58, 12, 18, 25, 12962, 14512, 10148, 43922, 77, 2634, 919, 43816, 288, 6, 403, 1658, 10223, 1196, 415, 10287, 1247, 391, 274, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 599, 28, 46083, 705, 198, 220, 220, 220, 220, 220, 220, 220, 611, 24558, 7, 87, 58, 12, 21, 21912, 18, 12962, 14512, 10148, 290, 18896, 7, 87, 8, 29, 21, 43922, 77, 2634, 919, 43816, 288, 6, 403, 1658, 10223, 1196, 415, 10287, 3939, 3183, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 599, 17, 796, 46083, 705, 198, 220, 220, 220, 220, 220, 220, 220, 611, 24558, 7, 87, 58, 12, 24, 21912, 21, 12962, 14512, 10148, 290, 18896, 7, 87, 8, 29, 24, 43922, 77, 2634, 919, 43816, 288, 6, 403, 1658, 10223, 1196, 415, 10287, 5242, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 599, 18, 796, 46083, 705, 628, 197, 2, 44, 8267, 40, 4877, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2124, 58, 12, 21, 21912, 18, 60, 6624, 705, 830, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3939, 3183, 796, 10148, 10, 2777, 10, 403, 578, 7, 87, 58, 12, 18, 25, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2124, 6624, 705, 12825, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3939, 3183, 796, 705, 64, 7319, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3939, 3183, 796, 24558, 7, 87, 58, 12, 21, 21912, 18, 12962, 10, 6, 7319, 6, 10, 2777, 10, 403, 578, 7, 87, 58, 12, 18, 25, 12962, 628, 197, 2, 44, 8267, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 87, 8, 29, 21, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2124, 58, 12, 24, 21912, 21, 60, 6624, 705, 830, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5242, 796, 10148, 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, 5242, 796, 24558, 7, 87, 58, 12, 24, 21912, 21, 12962, 10, 6, 1510, 6, 628, 197, 2, 44, 8267, 40, 48294, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 87, 8, 29, 24, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2124, 58, 12, 1065, 21912, 24, 60, 6624, 705, 830, 6, 393, 18896, 7, 87, 8, 29, 1065, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3939, 72, 1371, 796, 705, 3549, 621, 12989, 6, 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, 3939, 72, 1371, 796, 24558, 7, 87, 58, 12, 1065, 21912, 24, 12962, 10, 6, 2997, 6, 628, 197, 2, 51, 27510, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 28, 17805, 72, 1371, 10, 2777, 18, 10, 17805, 507, 10, 2777, 17, 10, 17805, 3183, 628, 220, 220, 220, 1441, 2472, 198, 198, 4299, 3063, 7, 87, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 32641, 2163, 286, 428, 5301, 1058, 198, 220, 220, 220, 632, 2753, 691, 530, 4578, 357, 600, 11, 12178, 393, 965, 8, 290, 26161, 340, 656, 7475, 13, 628, 220, 220, 220, 17934, 1058, 198, 220, 220, 220, 3063, 7, 940, 8, 5860, 705, 1452, 21138, 6, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2124, 28, 687, 729, 7, 87, 8, 198, 220, 220, 220, 304, 11, 66, 796, 2124, 13, 35312, 10786, 2637, 38381, 15, 4357, 87, 13, 35312, 10786, 2637, 38381, 16, 60, 198, 220, 220, 220, 611, 18896, 7, 66, 8, 855, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 28, 66, 10, 6, 15, 6, 198, 220, 220, 220, 611, 493, 7, 66, 8, 855, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 28, 7061, 198, 220, 220, 220, 1288, 361, 493, 7, 66, 8, 855, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 11639, 505, 1247, 6, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 28, 77, 2381, 260, 17, 15503, 411, 7, 66, 47762, 6, 16059, 6, 198, 220, 220, 220, 611, 493, 7, 68, 8, 855, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 269, 855, 7061, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 705, 22570, 11063, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 269, 198, 220, 220, 220, 1288, 361, 493, 7, 68, 8, 855, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 304, 11639, 505, 11063, 6, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 304, 28, 77, 2381, 260, 17, 15503, 411, 7, 68, 47762, 6, 21138, 6, 198, 220, 220, 220, 611, 269, 855, 7061, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 304, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 304, 10, 6, 290, 705, 10, 66, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 197, 20274, 28, 42946, 7, 2536, 7, 15414, 10786, 17469, 994, 262, 2033, 287, 5538, 220, 220, 1058, 6, 22305, 198, 197, 4798, 7, 20274, 8, 198 ]
1.933188
1,841
''' This script runs the ftrl-proximal model on data from combo.gl and extras.gl. author: David Thaler date: July 2015 ''' import avito2_io from run_model import compute_offset import sframes from ftrl_proximal import ftrl_proximal from hash_features import hash_features from eval import logloss from datetime import datetime from math import log, exp, ceil import os import argparse import numpy as np import pandas as pd import pdb DROP_COLS = ['rowId','SearchID', 'isDS', 'isVal', 'isTest', 'IsClick','ID'] ROUND_COLS = ['HistCTR', 'cat_pos', 'spe_cat','spe_pos','sqe_cat','sqe_pos'] COL_NAMES = None VAL_START = 0 TEST_START = 0 def chunk_iterator(combo, chunk_size = 50000, start=0): ''' Returns a generator that yields chunks of data. combo - the SFrame to draw from. ''' global COL_NAMES names = combo.column_names() names.insert(0, 'rowId') COL_NAMES = names chunk_start = start data_end = combo.shape[0] chunk_end = min(data_end, start + chunk_size) while chunk_start < data_end: print('chunk [%d:%d]' % (chunk_start, chunk_end)) chunk = combo[chunk_start:chunk_end].to_dataframe() chunk_start += chunk_size chunk_end = min(data_end, chunk_end + chunk_size) yield chunk def select_train(chunk_it, all=True): ''' A generator to filter rows from the other generator. The val/test/ds sets are now files. This filters train rows for full-train or all-data-train-val. ''' for df in chunk_it: if all: # all labeled data incl. usual val set out = df[df.isTest == 0] else: # all labeled data except val set out = df[np.logical_and(df.isTest == 0, df.isVal == 0)] if out.shape[0] > 0: yield out def train(data, alpha=0.1, beta=1.0, L1=0.0, L2=0.1, D=2**26): ''' Runs one training pass. ''' model = ftrl_proximal(alpha, beta, L1, L2, D, False) for df in data: for t in df.itertuples(): x, y = process_line(t, False) f = hash_features(x, D) p = model.predict(f) model.update(f, p, y) return model def prepareSFrame(data): ''' Call this on the SFrames before calling chunk_iterator, but after adding in extra.gl, if necessary. ''' data['SearchQuery'] = data['SearchQuery'].apply(lambda s : s.strip().lower()[:5]) data['ad_sq'] = data.apply(lambda x : x['SearchQuery'] + str(x['AdID']) if x['sqe'] else '_') data['st_pos'] = data['Position'] + 0.1 * data['seenToday'] data['st_cat'] = data['CategoryID'] + 0.1 * data['seenToday'] data['st_spe'] = data['spe'] + 0.1 * data['seenToday'] data['st_sqe'] = data['sqe'] + 0.1 * data['seenToday'] data['st_ad'] = data['AdID'] + 0.1 * data['seenToday'] data['ad_pos'] = data['AdID'] + 0.1 * data['Position'] data['ad_spe'] = data['AdID'] + 0.1 * data['spe'] data['ad_sqe'] = data['AdID'] + 0.1 * data['sqe'] # Dead Code: def extendSFrame(data): ''' For now, call after prepareSFrame, and adding extras2.gl, is needed. Later, we'll merge this in. ''' # ucat == user_clicked_ad_today data['ucat_pos'] = data['user_clicked_ad_today'] + 0.1 * data['Position'] data['ucat_cat'] = data['user_clicked_ad_today'] + 0.1 * data['CategoryID'] data['ucat_spe'] = data['user_clicked_ad_today'] + 0.1 * data['spe'] data['ucat_sqe'] = data['user_clicked_ad_today'] + 0.1 * data['sqe'] # NB: ucat_ad doesn't make sense # uc = user_clicked_today data['uc_pos'] = data['user_clicked_today'] + 0.1 * data['Position'] data['uc_cat'] = data['user_clicked_today'] + 0.1 * data['CategoryID'] data['uc_spe'] = data['user_clicked_today'] + 0.1 * data['spe'] data['uc_sqe'] = data['user_clicked_today'] + 0.1 * data['sqe'] data['uc_ad'] = data['user_clicked_today'] + 0.1 * data['AdID']
[ 7061, 6, 201, 198, 1212, 4226, 4539, 262, 277, 14859, 12, 1676, 87, 4402, 2746, 319, 1366, 422, 14831, 13, 4743, 290, 33849, 13, 4743, 13, 201, 198, 201, 198, 9800, 25, 3271, 536, 36213, 201, 198, 4475, 25, 2901, 1853, 201, 198, 7061, 6, 201, 198, 11748, 1196, 10094, 17, 62, 952, 201, 198, 6738, 1057, 62, 19849, 1330, 24061, 62, 28968, 201, 198, 11748, 264, 37805, 201, 198, 6738, 277, 14859, 62, 1676, 87, 4402, 1330, 277, 14859, 62, 1676, 87, 4402, 201, 198, 6738, 12234, 62, 40890, 1330, 12234, 62, 40890, 201, 198, 6738, 5418, 1330, 2604, 22462, 201, 198, 6738, 4818, 8079, 1330, 4818, 8079, 201, 198, 6738, 10688, 1330, 2604, 11, 1033, 11, 2906, 346, 201, 198, 11748, 28686, 201, 198, 11748, 1822, 29572, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 19798, 292, 355, 279, 67, 201, 198, 11748, 279, 9945, 201, 198, 201, 198, 7707, 3185, 62, 25154, 50, 796, 37250, 808, 7390, 41707, 18243, 2389, 3256, 705, 271, 5258, 3256, 705, 271, 7762, 3256, 705, 271, 14402, 3256, 705, 3792, 8164, 41707, 2389, 20520, 201, 198, 49, 15919, 62, 25154, 50, 796, 37250, 13749, 4177, 49, 3256, 705, 9246, 62, 1930, 3256, 705, 4125, 62, 9246, 41707, 4125, 62, 1930, 41707, 31166, 68, 62, 9246, 41707, 31166, 68, 62, 1930, 20520, 201, 198, 25154, 62, 45, 29559, 796, 6045, 201, 198, 23428, 62, 2257, 7227, 796, 657, 201, 198, 51, 6465, 62, 2257, 7227, 796, 657, 201, 198, 201, 198, 201, 198, 4299, 16058, 62, 48727, 7, 785, 2127, 11, 16058, 62, 7857, 796, 642, 2388, 11, 923, 28, 15, 2599, 201, 198, 220, 705, 7061, 201, 198, 220, 16409, 257, 17301, 326, 19299, 22716, 286, 1366, 13, 201, 198, 220, 14831, 532, 262, 311, 19778, 284, 3197, 422, 13, 201, 198, 220, 705, 7061, 201, 198, 220, 3298, 20444, 62, 45, 29559, 201, 198, 220, 3891, 796, 14831, 13, 28665, 62, 14933, 3419, 201, 198, 220, 3891, 13, 28463, 7, 15, 11, 705, 808, 7390, 11537, 201, 198, 220, 20444, 62, 45, 29559, 796, 3891, 201, 198, 220, 16058, 62, 9688, 796, 923, 201, 198, 220, 1366, 62, 437, 796, 14831, 13, 43358, 58, 15, 60, 201, 198, 220, 16058, 62, 437, 796, 949, 7, 7890, 62, 437, 11, 923, 1343, 16058, 62, 7857, 8, 201, 198, 220, 981, 16058, 62, 9688, 1279, 1366, 62, 437, 25, 201, 198, 220, 220, 220, 3601, 10786, 354, 2954, 685, 4, 67, 25, 4, 67, 49946, 4064, 357, 354, 2954, 62, 9688, 11, 16058, 62, 437, 4008, 201, 198, 220, 220, 220, 16058, 796, 14831, 58, 354, 2954, 62, 9688, 25, 354, 2954, 62, 437, 4083, 1462, 62, 7890, 14535, 3419, 201, 198, 220, 220, 220, 16058, 62, 9688, 15853, 16058, 62, 7857, 201, 198, 220, 220, 220, 16058, 62, 437, 796, 949, 7, 7890, 62, 437, 11, 16058, 62, 437, 1343, 16058, 62, 7857, 8, 201, 198, 220, 220, 220, 7800, 16058, 201, 198, 201, 198, 201, 198, 4299, 2922, 62, 27432, 7, 354, 2954, 62, 270, 11, 477, 28, 17821, 2599, 201, 198, 220, 705, 7061, 201, 198, 220, 317, 17301, 284, 8106, 15274, 422, 262, 584, 17301, 13, 201, 198, 220, 383, 1188, 14, 9288, 14, 9310, 5621, 389, 783, 3696, 13, 201, 198, 220, 770, 16628, 4512, 15274, 329, 1336, 12, 27432, 393, 477, 12, 7890, 12, 27432, 12, 2100, 13, 201, 198, 220, 705, 7061, 201, 198, 220, 329, 47764, 287, 16058, 62, 270, 25, 201, 198, 220, 220, 220, 611, 477, 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, 1303, 477, 15494, 1366, 13358, 13, 6678, 1188, 900, 201, 198, 220, 220, 220, 220, 220, 503, 796, 47764, 58, 7568, 13, 271, 14402, 6624, 657, 60, 201, 198, 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, 1303, 477, 15494, 1366, 2845, 1188, 900, 201, 198, 220, 220, 220, 220, 220, 503, 796, 47764, 58, 37659, 13, 6404, 605, 62, 392, 7, 7568, 13, 271, 14402, 6624, 657, 11, 47764, 13, 271, 7762, 6624, 657, 15437, 201, 198, 220, 220, 220, 611, 503, 13, 43358, 58, 15, 60, 1875, 657, 25, 201, 198, 220, 220, 220, 220, 220, 7800, 503, 201, 198, 220, 220, 220, 220, 220, 220, 201, 198, 201, 198, 201, 198, 4299, 4512, 7, 7890, 11, 17130, 28, 15, 13, 16, 11, 12159, 28, 16, 13, 15, 11, 406, 16, 28, 15, 13, 15, 11, 406, 17, 28, 15, 13, 16, 11, 360, 28, 17, 1174, 2075, 2599, 201, 198, 220, 705, 7061, 201, 198, 220, 44743, 530, 3047, 1208, 13, 201, 198, 220, 705, 7061, 201, 198, 220, 2746, 796, 277, 14859, 62, 1676, 87, 4402, 7, 26591, 11, 12159, 11, 406, 16, 11, 406, 17, 11, 360, 11, 10352, 8, 201, 198, 220, 329, 47764, 287, 1366, 25, 201, 198, 220, 220, 220, 329, 256, 287, 47764, 13, 270, 861, 84, 2374, 33529, 201, 198, 220, 220, 220, 220, 220, 2124, 11, 331, 796, 1429, 62, 1370, 7, 83, 11, 10352, 8, 201, 198, 220, 220, 220, 220, 220, 277, 796, 12234, 62, 40890, 7, 87, 11, 360, 8, 201, 198, 220, 220, 220, 220, 220, 279, 796, 2746, 13, 79, 17407, 7, 69, 8, 201, 198, 220, 220, 220, 220, 220, 2746, 13, 19119, 7, 69, 11, 279, 11, 331, 8, 201, 198, 220, 1441, 2746, 201, 198, 201, 198, 201, 198, 220, 220, 201, 198, 201, 198, 4299, 8335, 50, 19778, 7, 7890, 2599, 201, 198, 220, 705, 7061, 201, 198, 220, 4889, 428, 319, 262, 14362, 859, 274, 878, 4585, 16058, 62, 48727, 11, 475, 706, 201, 198, 220, 4375, 287, 3131, 13, 4743, 11, 611, 3306, 13, 201, 198, 220, 705, 7061, 201, 198, 220, 1366, 17816, 18243, 20746, 20520, 796, 1366, 17816, 18243, 20746, 6, 4083, 39014, 7, 50033, 264, 1058, 264, 13, 36311, 22446, 21037, 3419, 58, 25, 20, 12962, 201, 198, 220, 1366, 17816, 324, 62, 31166, 20520, 796, 1366, 13, 39014, 7, 50033, 2124, 1058, 2124, 17816, 18243, 20746, 20520, 1343, 965, 7, 87, 17816, 2782, 2389, 6, 12962, 611, 2124, 17816, 31166, 68, 20520, 2073, 705, 62, 11537, 201, 198, 220, 1366, 17816, 301, 62, 1930, 20520, 796, 1366, 17816, 26545, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 15898, 8888, 20520, 201, 198, 220, 1366, 17816, 301, 62, 9246, 20520, 796, 1366, 17816, 27313, 2389, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 15898, 8888, 20520, 201, 198, 220, 1366, 17816, 301, 62, 4125, 20520, 796, 1366, 17816, 4125, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 15898, 8888, 20520, 201, 198, 220, 1366, 17816, 301, 62, 31166, 68, 20520, 796, 1366, 17816, 31166, 68, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 15898, 8888, 20520, 201, 198, 220, 1366, 17816, 301, 62, 324, 20520, 220, 796, 1366, 17816, 2782, 2389, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 15898, 8888, 20520, 201, 198, 220, 1366, 17816, 324, 62, 1930, 20520, 796, 1366, 17816, 2782, 2389, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 26545, 20520, 201, 198, 220, 1366, 17816, 324, 62, 4125, 20520, 796, 1366, 17816, 2782, 2389, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 4125, 20520, 201, 198, 220, 1366, 17816, 324, 62, 31166, 68, 20520, 796, 1366, 17816, 2782, 2389, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 31166, 68, 20520, 201, 198, 220, 220, 201, 198, 201, 198, 2, 5542, 6127, 25, 201, 198, 201, 198, 4299, 9117, 50, 19778, 7, 7890, 2599, 201, 198, 220, 705, 7061, 201, 198, 220, 1114, 783, 11, 869, 706, 8335, 50, 19778, 11, 290, 4375, 33849, 17, 13, 4743, 11, 318, 2622, 13, 201, 198, 220, 11450, 11, 356, 1183, 20121, 428, 287, 13, 201, 198, 220, 705, 7061, 201, 198, 220, 1303, 334, 9246, 6624, 2836, 62, 565, 9484, 62, 324, 62, 40838, 201, 198, 220, 1366, 17816, 1229, 265, 62, 1930, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 324, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 26545, 20520, 201, 198, 220, 1366, 17816, 1229, 265, 62, 9246, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 324, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 27313, 2389, 20520, 201, 198, 220, 1366, 17816, 1229, 265, 62, 4125, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 324, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 4125, 20520, 201, 198, 220, 1366, 17816, 1229, 265, 62, 31166, 68, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 324, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 31166, 68, 20520, 201, 198, 220, 1303, 41354, 25, 334, 9246, 62, 324, 1595, 470, 787, 2565, 201, 198, 220, 220, 201, 198, 220, 1303, 334, 66, 796, 2836, 62, 565, 9484, 62, 40838, 201, 198, 220, 1366, 17816, 1229, 62, 1930, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 26545, 20520, 201, 198, 220, 1366, 17816, 1229, 62, 9246, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 27313, 2389, 20520, 201, 198, 220, 1366, 17816, 1229, 62, 4125, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 4125, 20520, 201, 198, 220, 1366, 17816, 1229, 62, 31166, 68, 20520, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 31166, 68, 20520, 201, 198, 220, 1366, 17816, 1229, 62, 324, 20520, 220, 796, 1366, 17816, 7220, 62, 565, 9484, 62, 40838, 20520, 1343, 657, 13, 16, 1635, 1366, 17816, 2782, 2389, 20520, 201, 198 ]
2.367683
1,640
foo = "foo" bar = "bar" baz = "baz" # When `__all__` is not defined, names starting with underscore is not imported with `from <module> import *` _qux = "qux"
[ 21943, 796, 366, 21943, 1, 198, 5657, 796, 366, 5657, 1, 198, 65, 1031, 796, 366, 65, 1031, 1, 198, 2, 1649, 4600, 834, 439, 834, 63, 318, 407, 5447, 11, 3891, 3599, 351, 44810, 318, 407, 17392, 351, 4600, 6738, 1279, 21412, 29, 1330, 1635, 63, 198, 62, 421, 87, 796, 366, 421, 87, 1, 198 ]
2.789474
57
"""Deepstream event handling.""" from __future__ import absolute_import, division, print_function, with_statement from __future__ import unicode_literals from deepstreampy.constants import actions from deepstreampy.constants import topic as topic_constants from deepstreampy.constants import event as event_constants from deepstreampy.message import message_parser from deepstreampy.message import message_builder from deepstreampy.utils import Listener from deepstreampy.utils import AckTimeoutRegistry from deepstreampy.utils import ResubscribeNotifier from tornado import concurrent from pyee import EventEmitter class EventHandler(object): """Handles incoming and outgoing messages related to deepstream events. """ def subscribe(self, name, callback): """Subscribe to an event. Adds a callback for both locally emited events as well as events emitted by other clients. Args: name (str): The name of the event. callback (callable): The function to call when an event is received. """ future = None if not self._emitter.listeners(name): self._ack_timeout_registry.add(name, actions.SUBSCRIBE) future = self._connection.send_message(topic_constants.EVENT, actions.SUBSCRIBE, [name]) else: future = concurrent.Future() future.set_result(None) self._emitter.on(name, callback) return future def unsubscribe(self, name, callback): """Unsubscribe from an event. Removes the callback for the specified event, and notifies the server of the change. Args: name (str): The name of the event callback (callable): The callback to remove """ self._emitter.remove_listener(name, callback) if not self._emitter.listeners(name): self._ack_timeout_registry.add(name, actions.UNSUBSCRIBE) return self._connection.send_message(topic_constants.EVENT, actions.UNSUBSCRIBE, [name]) future = concurrent.Future() future.set_result(None) return future def emit(self, name, data): """Emit an event locally, and tell the server to broadcast it. Other connected clients will also receive the event. Args: name (str): The name of the event. data: JSON serializable data to send along with the event. """ future = self._connection.send_message( topic_constants.EVENT, actions.EVENT, [name, message_builder.typed(data)]) self._emitter.emit(name, data) return future def listen(self, pattern, callback): """Register as listener for event subscriptions from other clients. Args: pattern (str): Regular expression pattern to match subscriptions to callback (callable): A function that will be called when an event has been initially subscribed to or is no longer subscribed. Expects the following arguments: event_name (str) is_subscribed (bool) response (callable, callable) """ if (pattern in self._listener and not self._listener[pattern].destroy_pending): self._client._on_error(topic_constants.EVENT, event_constants.LISTENER_EXISTS, pattern) future = concurrent.Future() future.set_result(None) return future elif pattern in self._listener: self._listener[pattern].destroy() listener = Listener(topic_constants.EVENT, pattern, callback, self._options, self._client, self._connection) self._listener[pattern] = listener return listener.send_future def unlisten(self, pattern): """Stop listening to the specified pattern. Remove a previously registered listening pattern. The client will no longer be listening for active/inactive subscriptions. Args: pattern: The regular expression pattern to remove """ if pattern not in self._listener: self._client._on_error(topic_constants.ERROR, event_constants.NOT_LISTENING, pattern) future = concurrent.Future() future.set_result(None) return future listener = self._listener[pattern] if not listener.destroy_pending: listener.send_destroy() else: self._ack_timeout_registry.add(pattern, actions.UNLISTEN) listener.destroy() del self._listener[pattern] return listener.send_future
[ 37811, 29744, 5532, 1785, 9041, 526, 15931, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 11, 351, 62, 26090, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 2769, 22853, 696, 88, 13, 9979, 1187, 1330, 4028, 198, 6738, 2769, 22853, 696, 88, 13, 9979, 1187, 1330, 7243, 355, 7243, 62, 9979, 1187, 198, 6738, 2769, 22853, 696, 88, 13, 9979, 1187, 1330, 1785, 355, 1785, 62, 9979, 1187, 198, 6738, 2769, 22853, 696, 88, 13, 20500, 1330, 3275, 62, 48610, 198, 6738, 2769, 22853, 696, 88, 13, 20500, 1330, 3275, 62, 38272, 198, 6738, 2769, 22853, 696, 88, 13, 26791, 1330, 7343, 877, 198, 6738, 2769, 22853, 696, 88, 13, 26791, 1330, 36031, 48031, 8081, 4592, 198, 6738, 2769, 22853, 696, 88, 13, 26791, 1330, 1874, 549, 12522, 3673, 7483, 198, 198, 6738, 33718, 1330, 24580, 198, 198, 6738, 12972, 1453, 1330, 8558, 10161, 1967, 628, 198, 4871, 8558, 25060, 7, 15252, 2599, 198, 220, 220, 220, 37227, 12885, 829, 15619, 290, 28181, 6218, 3519, 284, 2769, 5532, 2995, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 12383, 7, 944, 11, 1438, 11, 23838, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 27125, 284, 281, 1785, 13, 628, 220, 220, 220, 220, 220, 220, 220, 34333, 257, 23838, 329, 1111, 15726, 795, 863, 2995, 355, 880, 355, 2995, 31234, 198, 220, 220, 220, 220, 220, 220, 220, 416, 584, 7534, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 357, 2536, 2599, 383, 1438, 286, 262, 1785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23838, 357, 13345, 540, 2599, 383, 2163, 284, 869, 618, 281, 1785, 318, 2722, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13557, 368, 1967, 13, 4868, 36014, 7, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 441, 62, 48678, 62, 2301, 4592, 13, 2860, 7, 3672, 11, 4028, 13, 12564, 4462, 34, 7112, 12473, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 2116, 13557, 38659, 13, 21280, 62, 20500, 7, 26652, 62, 9979, 1187, 13, 20114, 3525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4028, 13, 12564, 4462, 34, 7112, 12473, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 3672, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 24580, 13, 29783, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 13, 2617, 62, 20274, 7, 14202, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 368, 1967, 13, 261, 7, 3672, 11, 23838, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2003, 628, 220, 220, 220, 825, 32793, 12522, 7, 944, 11, 1438, 11, 23838, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3118, 7266, 12522, 422, 281, 1785, 13, 628, 220, 220, 220, 220, 220, 220, 220, 3982, 5241, 262, 23838, 329, 262, 7368, 1785, 11, 290, 407, 6945, 262, 4382, 198, 220, 220, 220, 220, 220, 220, 220, 286, 262, 1487, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 357, 2536, 2599, 383, 1438, 286, 262, 1785, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23838, 357, 13345, 540, 2599, 383, 23838, 284, 4781, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 368, 1967, 13, 28956, 62, 4868, 877, 7, 3672, 11, 23838, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13557, 368, 1967, 13, 4868, 36014, 7, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 441, 62, 48678, 62, 2301, 4592, 13, 2860, 7, 3672, 11, 4028, 13, 4944, 12564, 4462, 34, 7112, 12473, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 38659, 13, 21280, 62, 20500, 7, 26652, 62, 9979, 1187, 13, 20114, 3525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4028, 13, 4944, 12564, 4462, 34, 7112, 12473, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 3672, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 24580, 13, 29783, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2003, 13, 2617, 62, 20274, 7, 14202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2003, 628, 220, 220, 220, 825, 27588, 7, 944, 11, 1438, 11, 1366, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 36, 2781, 281, 1785, 15726, 11, 290, 1560, 262, 4382, 284, 7025, 340, 13, 628, 220, 220, 220, 220, 220, 220, 220, 3819, 5884, 7534, 481, 635, 3328, 262, 1785, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 357, 2536, 2599, 383, 1438, 286, 262, 1785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 25, 19449, 11389, 13821, 1366, 284, 3758, 1863, 351, 262, 1785, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 2116, 13557, 38659, 13, 21280, 62, 20500, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7243, 62, 9979, 1187, 13, 20114, 3525, 11, 4028, 13, 20114, 3525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 3672, 11, 3275, 62, 38272, 13, 774, 9124, 7, 7890, 8, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 368, 1967, 13, 368, 270, 7, 3672, 11, 1366, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2003, 628, 220, 220, 220, 825, 6004, 7, 944, 11, 3912, 11, 23838, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38804, 355, 24783, 329, 1785, 35675, 422, 584, 7534, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3912, 357, 2536, 2599, 23603, 5408, 3912, 284, 2872, 35675, 284, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23838, 357, 13345, 540, 2599, 317, 2163, 326, 481, 307, 1444, 618, 281, 1785, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 468, 587, 7317, 45794, 284, 393, 318, 645, 2392, 45794, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23600, 82, 262, 1708, 7159, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 62, 3672, 357, 2536, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 7266, 47495, 357, 30388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2882, 357, 13345, 540, 11, 869, 540, 8, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 33279, 287, 2116, 13557, 4868, 877, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 407, 2116, 13557, 4868, 877, 58, 33279, 4083, 41659, 62, 79, 1571, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 16366, 13557, 261, 62, 18224, 7, 26652, 62, 9979, 1187, 13, 20114, 3525, 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, 1785, 62, 9979, 1187, 13, 45849, 1677, 1137, 62, 6369, 1797, 4694, 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, 3912, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 24580, 13, 29783, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 13, 2617, 62, 20274, 7, 14202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2003, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 3912, 287, 2116, 13557, 4868, 877, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 4868, 877, 58, 33279, 4083, 41659, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 24783, 796, 7343, 877, 7, 26652, 62, 9979, 1187, 13, 20114, 3525, 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, 3912, 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, 23838, 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, 2116, 13557, 25811, 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, 2116, 13557, 16366, 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, 2116, 13557, 38659, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 4868, 877, 58, 33279, 60, 796, 24783, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 24783, 13, 21280, 62, 37443, 628, 220, 220, 220, 825, 555, 4868, 268, 7, 944, 11, 3912, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19485, 8680, 284, 262, 7368, 3912, 13, 628, 220, 220, 220, 220, 220, 220, 220, 17220, 257, 4271, 6823, 8680, 3912, 13, 383, 5456, 481, 645, 198, 220, 220, 220, 220, 220, 220, 220, 2392, 307, 8680, 329, 4075, 14, 259, 5275, 35675, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3912, 25, 383, 3218, 5408, 3912, 284, 4781, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3912, 407, 287, 2116, 13557, 4868, 877, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 16366, 13557, 261, 62, 18224, 7, 26652, 62, 9979, 1187, 13, 24908, 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, 1785, 62, 9979, 1187, 13, 11929, 62, 45849, 1677, 2751, 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, 3912, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 796, 24580, 13, 29783, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2003, 13, 2617, 62, 20274, 7, 14202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2003, 628, 220, 220, 220, 220, 220, 220, 220, 24783, 796, 2116, 13557, 4868, 877, 58, 33279, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 24783, 13, 41659, 62, 79, 1571, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24783, 13, 21280, 62, 41659, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 441, 62, 48678, 62, 2301, 4592, 13, 2860, 7, 33279, 11, 4028, 13, 4944, 45849, 1677, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24783, 13, 41659, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 2116, 13557, 4868, 877, 58, 33279, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 24783, 13, 21280, 62, 37443, 198 ]
2.22984
2,319
# 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. # ============================================================================ """ Train our Model """ import os import argparse import ast from mindspore.communication.management import get_rank, get_group_size # import mindspore.common.dtype as mstype from mindspore import context, Tensor from mindspore.communication.management import init from mindspore.train import Model from mindspore.context import ParallelMode from mindspore.train.serialization import load_checkpoint, load_param_into_net import mindspore.nn as nn from mindspore.common import set_seed from mindspore.train.callback import ModelCheckpoint, CheckpointConfig, TimeMonitor, SummaryCollector, Callback from mindspore.common import initializer as init_p from src.loss_monitor import LossMonitor from src.yolact.layers.modules.loss import MultiBoxLoss from src.yolact.yolactpp import Yolact from src.config import yolact_plus_resnet50_config as cfg from src.dataset import data_to_mindrecord_byte_image, create_yolact_dataset from src.lr_schedule import dynamic_lr from src.network_define import WithLossCell set_seed(1) parser = argparse.ArgumentParser(description="Yolact++ training") parser.add_argument("--only_create_dataset", type=ast.literal_eval, default=False, help="If set it true, only create " "Mindrecord, default is false.") # Modelarts --run_distribute default is True parser.add_argument("--run_distribute", type=ast.literal_eval, default=False, help="Run distribute, default is false.") parser.add_argument("--do_train", type=ast.literal_eval, default=True, help="Do train or not, default is true.") parser.add_argument("--do_eval", type=ast.literal_eval, default=False, help="Do eval or not, default is false.") parser.add_argument("--dataset", type=str, default="coco", help="Dataset, default is coco.") parser.add_argument("--pre_trained", type=str, default=None, help="Pretrain file path.") parser.add_argument("--device_id", type=int, default=3, help="Device id, default is 0.") parser.add_argument("--device_num", type=int, default=1, help="Use device nums, default is 1.") parser.add_argument("--rank_id", type=int, default=0, help="Rank id, default is 0.") parser.add_argument("--net_ckpt", type=str, default="/data/yolact/yolact-20_619.ckpt", help="Do") parser.add_argument("--run_platform", type=str, default="Ascend", choices="Ascend", help="run platform, only support Ascend.") parser.add_argument("--distribute", type=ast.literal_eval, default=False, help="Run distribute, default is False.") parser.add_argument("--train_url", type=str, default="obs://xxx", help="ckpt output dir in obs") # Modelarts parser.add_argument("--data_url", type=str, default="obs://xxx", help="mindrecord file path.") # Modelarts parser.add_argument('--is_modelarts', type=str, default="False", help='is train on modelarts') args_opt = parser.parse_args() class TransferCallback(Callback): """Callback""" if __name__ == '__main__': print("Start train for yolact!") if args_opt.run_platform == "Ascend": if args_opt.is_modelarts == "True": import moxing as mox context.set_context(mode=context.GRAPH_MODE, device_target="Ascend", device_id=device_id, max_call_depth=10000) device_id = int(os.getenv('DEVICE_ID'), 0) if not args_opt.do_eval and args_opt.run_distribute: init() rank = get_rank() device_num = get_group_size() context.set_auto_parallel_context(device_num=device_num, parallel_mode=ParallelMode.DATA_PARALLEL, gradients_mean=True) else: rank = 0 device_num = 1 else: context.set_context(mode=context.GRAPH_MODE, device_target="Ascend", max_call_depth=10000, enable_reduce_precision=True) if args_opt.distribute: if os.getenv("DEVICE_ID", "not_set").isdigit(): context.set_context(device_id=int(os.getenv("DEVICE_ID"))) init() device_num = int(os.getenv("DEVICE_NUM")) rank = int(os.getenv("RANK_ID")) rank_size = int(os.getenv("RANK_SIZE")) context.set_auto_parallel_context(parallel_mode=ParallelMode.DATA_PARALLEL, gradients_mean=True, device_num=device_num) else: rank = 0 device_num = 1 context.set_context(device_id=int(args_opt.device_id), save_graphs=True) else: raise ValueError("Unsupported platform.") print("Start create dataset!") if args_opt.is_modelarts == "True": ckpt_filename = "resnet50.ckpt" local_data_url = "/cache/mr/" + str(device_id) local_pretrained_url = "/cache/weights/" local_train_url = "/cache/ckpt" mox.file.make_dirs(local_data_url) mox.file.make_dirs(local_train_url) mox.file.make_dirs(local_pretrained_url) local_pretrained_url = local_pretrained_url + "resnet50.ckpt" filename = "yolact.mindrecord0" mox.file.copy_parallel(args_opt.data_url, local_data_url) if args_opt.pre_trained is not None: mox.file.copy(args_opt.pre_trained, local_pretrained_url) local_data_path = os.path.join(local_data_url, filename) else: prefix = "yolact.mindrecord" mindrecord_dir = cfg['mindrecord_dir'] mindrecord_file = os.path.join(mindrecord_dir, prefix + "0") if rank == 0 and not os.path.exists(mindrecord_file): if not os.path.isdir(mindrecord_dir): os.makedirs(mindrecord_dir) if args_opt.dataset == "coco": if os.path.isdir(cfg['coco_root']): print("Create Mindrecord.") data_to_mindrecord_byte_image("coco", True, prefix) print("Create Mindrecord Done, at {}".format(mindrecord_dir)) else: raise Exception("coco_root not exits.") else: if os.path.isdir(cfg['IMAGE_DIR']) and os.path.exists(cfg['ANNO_PATH']): print("Create Mindrecord.") data_to_mindrecord_byte_image("other", True, prefix) print("Create Mindrecord Done, at {}".format(mindrecord_dir)) else: raise Exception("IMAGE_DIR or ANNO_PATH not exits.") if not args_opt.only_create_dataset: if args_opt.is_modelarts == "True": dataset = create_yolact_dataset(local_data_path, batch_size=cfg['batch_size'], device_num=device_num, rank_id=rank) else: dataset = create_yolact_dataset(mindrecord_file, batch_size=cfg['batch_size'], device_num=device_num, rank_id=rank) num_steps = dataset.get_dataset_size() print("pre epoch step num: ", num_steps) print("Create dataset done!") net = Yolact() net = net.set_train() if args_opt.is_modelarts == "True": ckpt_file_name = "resnet50.ckpt" backbone_path = local_pretrained_url if args_opt.pre_trained is not None: param_dict = load_checkpoint(backbone_path) if cfg['pretrain_epoch_size'] == 0: for item in list(param_dict.keys()): if not item.startswith('backbone'): param_dict.pop(item) load_param_into_net(net, param_dict) init_weights(net) if args_opt.is_modelarts == "False": ckpt_path = args_opt.net_ckpt if ckpt_path != "": param_dict = load_checkpoint(ckpt_path) load_param_into_net(net, param_dict) loss = MultiBoxLoss(num_classes=cfg['num_classes'], pos_threshold=cfg['positive_iou_threshold'], neg_threshold=cfg['negative_iou_threshold'], negpos_ratio=cfg['ohem_negpos_ratio'], batch_size=cfg['batch_size'], num_priors=cfg['num_priors']) net_with_loss = WithLossCell(net, loss) lr = Tensor(dynamic_lr(cfg, start_epoch=0, total_epochs=cfg['epoch_size'], steps_each_epoch=num_steps), mstype.float32) opt = nn.Momentum(params=net.trainable_params(), learning_rate=cfg['lr'], momentum=cfg['momentum'], weight_decay=cfg['decay'], loss_scale=cfg['loss_scale']) # define model if args_opt.is_modelarts == "True": model = Model(net_with_loss, optimizer=opt, amp_level='O0') else: model = Model(net_with_loss, optimizer=opt, amp_level='O3') print("============== Starting Training ==============") time_cb = TimeMonitor(data_size=num_steps) loss_cb = LossMonitor() if args_opt.is_modelarts == "True": summary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=100) else: summary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=10) cb = [time_cb, loss_cb] if args_opt.is_modelarts == "True": if cfg['save_checkpoint']: ckptconfig = CheckpointConfig(save_checkpoint_steps=cfg['save_checkpoint_epochs'] * num_steps, keep_checkpoint_max=cfg['keep_checkpoint_max']) ckpoint_cb = ModelCheckpoint(prefix='yolact', directory=local_train_url, config=ckptconfig) transferCb = TransferCallback(local_train_url, args_opt.train_url) if device_id == 0: cb += [ckpoint_cb, transferCb] model.train(cfg['epoch_size'], dataset, callbacks=cb, dataset_sink_mode=True) else: if cfg['save_checkpoint']: ckptconfig = CheckpointConfig(save_checkpoint_steps=cfg['save_checkpoint_epochs'] * num_steps, keep_checkpoint_max=cfg['keep_checkpoint_max']) save_checkpoint_path = os.path.join(cfg['save_checkpoint_path'], 'ckpt_' + str(rank) + '/') ckpoint_cb = ModelCheckpoint(prefix='yolact', directory=save_checkpoint_path, config=ckptconfig) cb += [ckpoint_cb] model.train(cfg['epoch_size'], dataset, callbacks=cb, dataset_sink_mode=False) print("============== End Training ==============")
[ 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, 16835, 674, 9104, 37227, 198, 11748, 28686, 198, 11748, 1822, 29572, 198, 11748, 6468, 198, 6738, 2000, 2777, 382, 13, 32560, 13, 27604, 1330, 651, 62, 43027, 11, 651, 62, 8094, 62, 7857, 1303, 198, 11748, 2000, 2777, 382, 13, 11321, 13, 67, 4906, 355, 285, 301, 2981, 198, 6738, 2000, 2777, 382, 1330, 4732, 11, 309, 22854, 198, 6738, 2000, 2777, 382, 13, 32560, 13, 27604, 1330, 2315, 198, 6738, 2000, 2777, 382, 13, 27432, 1330, 9104, 198, 6738, 2000, 2777, 382, 13, 22866, 1330, 42945, 19076, 198, 6738, 2000, 2777, 382, 13, 27432, 13, 46911, 1634, 1330, 3440, 62, 9122, 4122, 11, 3440, 62, 17143, 62, 20424, 62, 3262, 198, 11748, 2000, 2777, 382, 13, 20471, 355, 299, 77, 198, 6738, 2000, 2777, 382, 13, 11321, 1330, 900, 62, 28826, 198, 6738, 2000, 2777, 382, 13, 27432, 13, 47423, 1330, 9104, 9787, 4122, 11, 6822, 4122, 16934, 11, 3862, 35479, 11, 21293, 31337, 273, 11, 4889, 1891, 198, 6738, 2000, 2777, 382, 13, 11321, 1330, 4238, 7509, 355, 2315, 62, 79, 198, 6738, 12351, 13, 22462, 62, 41143, 1330, 22014, 35479, 198, 6738, 12351, 13, 88, 349, 529, 13, 75, 6962, 13, 18170, 13, 22462, 1330, 15237, 14253, 43, 793, 198, 6738, 12351, 13, 88, 349, 529, 13, 88, 349, 529, 381, 1330, 575, 349, 529, 198, 6738, 12351, 13, 11250, 1330, 331, 349, 529, 62, 9541, 62, 411, 3262, 1120, 62, 11250, 355, 30218, 70, 198, 6738, 12351, 13, 19608, 292, 316, 1330, 1366, 62, 1462, 62, 10155, 22105, 62, 26327, 62, 9060, 11, 2251, 62, 88, 349, 529, 62, 19608, 292, 316, 198, 6738, 12351, 13, 14050, 62, 15952, 5950, 1330, 8925, 62, 14050, 198, 6738, 12351, 13, 27349, 62, 13086, 1330, 2080, 43, 793, 28780, 198, 198, 2617, 62, 28826, 7, 16, 8, 198, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 2625, 56, 349, 529, 4880, 3047, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 8807, 62, 17953, 62, 19608, 292, 316, 1600, 2099, 28, 459, 13, 18250, 1691, 62, 18206, 11, 4277, 28, 25101, 11, 1037, 2625, 1532, 900, 340, 2081, 11, 691, 2251, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 28478, 22105, 11, 4277, 318, 3991, 19570, 198, 2, 9104, 5889, 1377, 5143, 62, 17080, 4163, 4277, 318, 6407, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 5143, 62, 17080, 4163, 1600, 2099, 28, 459, 13, 18250, 1691, 62, 18206, 11, 4277, 28, 25101, 11, 1037, 2625, 10987, 14983, 11, 4277, 318, 3991, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 4598, 62, 27432, 1600, 2099, 28, 459, 13, 18250, 1691, 62, 18206, 11, 4277, 28, 17821, 11, 1037, 2625, 5211, 4512, 393, 407, 11, 4277, 318, 2081, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 4598, 62, 18206, 1600, 2099, 28, 459, 13, 18250, 1691, 62, 18206, 11, 4277, 28, 25101, 11, 1037, 2625, 5211, 5418, 393, 407, 11, 4277, 318, 3991, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 19608, 292, 316, 1600, 2099, 28, 2536, 11, 4277, 2625, 66, 25634, 1600, 1037, 2625, 27354, 292, 316, 11, 4277, 318, 8954, 78, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 3866, 62, 35311, 1600, 2099, 28, 2536, 11, 4277, 28, 14202, 11, 1037, 2625, 47, 1186, 3201, 2393, 3108, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 25202, 62, 312, 1600, 2099, 28, 600, 11, 4277, 28, 18, 11, 1037, 2625, 24728, 4686, 11, 4277, 318, 657, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 25202, 62, 22510, 1600, 2099, 28, 600, 11, 4277, 28, 16, 11, 1037, 2625, 11041, 3335, 997, 82, 11, 4277, 318, 352, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 43027, 62, 312, 1600, 2099, 28, 600, 11, 4277, 28, 15, 11, 1037, 2625, 27520, 4686, 11, 4277, 318, 657, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 3262, 62, 694, 457, 1600, 2099, 28, 2536, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 35922, 7890, 14, 88, 349, 529, 14, 88, 349, 529, 12, 1238, 62, 21, 1129, 13, 694, 457, 1600, 1037, 2625, 5211, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 5143, 62, 24254, 1600, 2099, 28, 2536, 11, 4277, 2625, 32, 1416, 437, 1600, 7747, 2625, 32, 1416, 437, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 5143, 3859, 11, 691, 1104, 45387, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 17080, 4163, 1600, 2099, 28, 459, 13, 18250, 1691, 62, 18206, 11, 4277, 28, 25101, 11, 1037, 2625, 10987, 14983, 11, 4277, 318, 10352, 19570, 198, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 27432, 62, 6371, 1600, 2099, 28, 2536, 11, 4277, 2625, 8158, 1378, 31811, 1600, 1037, 2625, 694, 457, 5072, 26672, 287, 10201, 4943, 220, 220, 220, 1303, 9104, 5889, 198, 48610, 13, 2860, 62, 49140, 7203, 438, 7890, 62, 6371, 1600, 2099, 28, 2536, 11, 4277, 2625, 8158, 1378, 31811, 1600, 1037, 2625, 10155, 22105, 2393, 3108, 19570, 220, 220, 220, 220, 220, 1303, 9104, 5889, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 271, 62, 19849, 5889, 3256, 2099, 28, 2536, 11, 4277, 2625, 25101, 1600, 1037, 11639, 271, 4512, 319, 2746, 5889, 11537, 198, 22046, 62, 8738, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 198, 4871, 20558, 47258, 7, 47258, 2599, 198, 220, 220, 220, 37227, 47258, 37811, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 3601, 7203, 10434, 4512, 329, 331, 349, 529, 2474, 8, 198, 220, 220, 220, 611, 26498, 62, 8738, 13, 5143, 62, 24254, 6624, 366, 32, 1416, 437, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 285, 1140, 278, 355, 285, 1140, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 22866, 7, 14171, 28, 22866, 13, 10761, 31300, 62, 49058, 11, 3335, 62, 16793, 2625, 32, 1416, 437, 1600, 3335, 62, 312, 28, 25202, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13345, 62, 18053, 28, 49388, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 312, 796, 493, 7, 418, 13, 1136, 24330, 10786, 7206, 27389, 62, 2389, 33809, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 26498, 62, 8738, 13, 4598, 62, 18206, 290, 26498, 62, 8738, 13, 5143, 62, 17080, 4163, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2315, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4279, 796, 651, 62, 43027, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 796, 651, 62, 8094, 62, 7857, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 23736, 62, 1845, 29363, 62, 22866, 7, 25202, 62, 22510, 28, 25202, 62, 22510, 11, 10730, 62, 14171, 28, 10044, 29363, 19076, 13, 26947, 62, 27082, 1847, 2538, 43, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3915, 2334, 62, 32604, 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, 4279, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 22866, 7, 14171, 28, 22866, 13, 10761, 31300, 62, 49058, 11, 3335, 62, 16793, 2625, 32, 1416, 437, 1600, 3509, 62, 13345, 62, 18053, 28, 49388, 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, 7139, 62, 445, 7234, 62, 3866, 16005, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 17080, 4163, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 1136, 24330, 7203, 7206, 27389, 62, 2389, 1600, 366, 1662, 62, 2617, 11074, 9409, 328, 270, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 22866, 7, 25202, 62, 312, 28, 600, 7, 418, 13, 1136, 24330, 7203, 7206, 27389, 62, 2389, 1, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2315, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 796, 493, 7, 418, 13, 1136, 24330, 7203, 7206, 27389, 62, 41359, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4279, 796, 493, 7, 418, 13, 1136, 24330, 7203, 49, 15154, 62, 2389, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4279, 62, 7857, 796, 493, 7, 418, 13, 1136, 24330, 7203, 49, 15154, 62, 33489, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 23736, 62, 1845, 29363, 62, 22866, 7, 1845, 29363, 62, 14171, 28, 10044, 29363, 19076, 13, 26947, 62, 27082, 1847, 2538, 43, 11, 3915, 2334, 62, 32604, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 28, 25202, 62, 22510, 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, 4279, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4732, 13, 2617, 62, 22866, 7, 25202, 62, 312, 28, 600, 7, 22046, 62, 8738, 13, 25202, 62, 312, 828, 3613, 62, 34960, 82, 28, 17821, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 3118, 15999, 3859, 19570, 628, 220, 220, 220, 3601, 7203, 10434, 2251, 27039, 2474, 8, 198, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 269, 74, 457, 62, 34345, 796, 366, 411, 3262, 1120, 13, 694, 457, 1, 628, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 7890, 62, 6371, 796, 12813, 23870, 14, 43395, 30487, 1343, 965, 7, 25202, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 5310, 13363, 62, 6371, 796, 12813, 23870, 14, 43775, 30487, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 27432, 62, 6371, 796, 12813, 23870, 14, 694, 457, 1, 628, 220, 220, 220, 220, 220, 220, 220, 285, 1140, 13, 7753, 13, 15883, 62, 15908, 82, 7, 12001, 62, 7890, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1140, 13, 7753, 13, 15883, 62, 15908, 82, 7, 12001, 62, 27432, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1140, 13, 7753, 13, 15883, 62, 15908, 82, 7, 12001, 62, 5310, 13363, 62, 6371, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 5310, 13363, 62, 6371, 796, 1957, 62, 5310, 13363, 62, 6371, 1343, 366, 411, 3262, 1120, 13, 694, 457, 1, 628, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 366, 88, 349, 529, 13, 10155, 22105, 15, 1, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1140, 13, 7753, 13, 30073, 62, 1845, 29363, 7, 22046, 62, 8738, 13, 7890, 62, 6371, 11, 1957, 62, 7890, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 3866, 62, 35311, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1140, 13, 7753, 13, 30073, 7, 22046, 62, 8738, 13, 3866, 62, 35311, 11, 1957, 62, 5310, 13363, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 7890, 62, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 12001, 62, 7890, 62, 6371, 11, 29472, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 21231, 796, 366, 88, 349, 529, 13, 10155, 22105, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2000, 22105, 62, 15908, 796, 30218, 70, 17816, 10155, 22105, 62, 15908, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2000, 22105, 62, 7753, 796, 28686, 13, 6978, 13, 22179, 7, 10155, 22105, 62, 15908, 11, 21231, 1343, 366, 15, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4279, 6624, 657, 290, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 10155, 22105, 62, 7753, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 9409, 343, 7, 10155, 22105, 62, 15908, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 10155, 22105, 62, 15908, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 19608, 292, 316, 6624, 366, 66, 25634, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 9409, 343, 7, 37581, 17816, 66, 25634, 62, 15763, 20520, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 16447, 10175, 22105, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 62, 1462, 62, 10155, 22105, 62, 26327, 62, 9060, 7203, 66, 25634, 1600, 6407, 11, 21231, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 16447, 10175, 22105, 24429, 11, 379, 23884, 1911, 18982, 7, 10155, 22105, 62, 15908, 4008, 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, 5298, 35528, 7203, 66, 25634, 62, 15763, 407, 30151, 19570, 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, 611, 28686, 13, 6978, 13, 9409, 343, 7, 37581, 17816, 3955, 11879, 62, 34720, 6, 12962, 290, 28686, 13, 6978, 13, 1069, 1023, 7, 37581, 17816, 1565, 15285, 62, 34219, 20520, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 16447, 10175, 22105, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 62, 1462, 62, 10155, 22105, 62, 26327, 62, 9060, 7203, 847, 1600, 6407, 11, 21231, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 16447, 10175, 22105, 24429, 11, 379, 23884, 1911, 18982, 7, 10155, 22105, 62, 15908, 4008, 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, 5298, 35528, 7203, 3955, 11879, 62, 34720, 393, 3537, 15285, 62, 34219, 407, 30151, 19570, 628, 220, 220, 220, 611, 407, 26498, 62, 8738, 13, 8807, 62, 17953, 62, 19608, 292, 316, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27039, 796, 2251, 62, 88, 349, 529, 62, 19608, 292, 316, 7, 12001, 62, 7890, 62, 6978, 11, 15458, 62, 7857, 28, 37581, 17816, 43501, 62, 7857, 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, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 28, 25202, 62, 22510, 11, 4279, 62, 312, 28, 43027, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27039, 796, 2251, 62, 88, 349, 529, 62, 19608, 292, 316, 7, 10155, 22105, 62, 7753, 11, 15458, 62, 7857, 28, 37581, 17816, 43501, 62, 7857, 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, 220, 220, 220, 220, 220, 220, 3335, 62, 22510, 28, 25202, 62, 22510, 11, 4279, 62, 312, 28, 43027, 8, 628, 220, 220, 220, 220, 220, 220, 220, 997, 62, 20214, 796, 27039, 13, 1136, 62, 19608, 292, 316, 62, 7857, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 3866, 36835, 2239, 997, 25, 33172, 997, 62, 20214, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 16447, 27039, 1760, 2474, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2010, 796, 575, 349, 529, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2010, 796, 2010, 13, 2617, 62, 27432, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 457, 62, 7753, 62, 3672, 796, 366, 411, 3262, 1120, 13, 694, 457, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32774, 62, 6978, 796, 1957, 62, 5310, 13363, 62, 6371, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 3866, 62, 35311, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 11600, 796, 3440, 62, 9122, 4122, 7, 1891, 15992, 62, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 30218, 70, 17816, 5310, 3201, 62, 538, 5374, 62, 7857, 20520, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 1351, 7, 17143, 62, 11600, 13, 13083, 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, 611, 407, 2378, 13, 9688, 2032, 342, 10786, 1891, 15992, 6, 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, 5772, 62, 11600, 13, 12924, 7, 9186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3440, 62, 17143, 62, 20424, 62, 3262, 7, 3262, 11, 5772, 62, 11600, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2315, 62, 43775, 7, 3262, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 25101, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 457, 62, 6978, 796, 26498, 62, 8738, 13, 3262, 62, 694, 457, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 269, 74, 457, 62, 6978, 14512, 366, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 11600, 796, 3440, 62, 9122, 4122, 7, 694, 457, 62, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3440, 62, 17143, 62, 20424, 62, 3262, 7, 3262, 11, 5772, 62, 11600, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 796, 15237, 14253, 43, 793, 7, 22510, 62, 37724, 28, 37581, 17816, 22510, 62, 37724, 6, 4357, 1426, 62, 400, 10126, 28, 37581, 17816, 24561, 62, 72, 280, 62, 400, 10126, 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, 2469, 62, 400, 10126, 28, 37581, 17816, 31591, 62, 72, 280, 62, 400, 10126, 6, 4357, 2469, 1930, 62, 10366, 952, 28, 37581, 17816, 78, 4411, 62, 12480, 1930, 62, 10366, 952, 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, 15458, 62, 7857, 28, 37581, 17816, 43501, 62, 7857, 6, 4357, 997, 62, 3448, 669, 28, 37581, 17816, 22510, 62, 3448, 669, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2010, 62, 4480, 62, 22462, 796, 2080, 43, 793, 28780, 7, 3262, 11, 2994, 8, 628, 220, 220, 220, 220, 220, 220, 220, 300, 81, 796, 309, 22854, 7, 67, 28995, 62, 14050, 7, 37581, 11, 923, 62, 538, 5374, 28, 15, 11, 2472, 62, 538, 5374, 82, 28, 37581, 17816, 538, 5374, 62, 7857, 6, 4357, 4831, 62, 27379, 62, 538, 5374, 28, 22510, 62, 20214, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 301, 2981, 13, 22468, 2624, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2172, 796, 299, 77, 13, 29252, 298, 388, 7, 37266, 28, 3262, 13, 27432, 540, 62, 37266, 22784, 4673, 62, 4873, 28, 37581, 17816, 14050, 6, 4357, 12858, 28, 37581, 17816, 32542, 298, 388, 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, 3463, 62, 12501, 323, 28, 37581, 17816, 12501, 323, 6, 4357, 2994, 62, 9888, 28, 37581, 17816, 22462, 62, 9888, 6, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 8160, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 9104, 7, 3262, 62, 4480, 62, 22462, 11, 6436, 7509, 28, 8738, 11, 20766, 62, 5715, 11639, 46, 15, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 9104, 7, 3262, 62, 4480, 62, 22462, 11, 6436, 7509, 28, 8738, 11, 20766, 62, 5715, 11639, 46, 18, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 25609, 855, 17962, 13614, 796, 25609, 2625, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 62, 21101, 796, 3862, 35479, 7, 7890, 62, 7857, 28, 22510, 62, 20214, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 62, 21101, 796, 22014, 35479, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10638, 62, 33327, 273, 796, 21293, 31337, 273, 7, 49736, 62, 15908, 28, 4458, 14, 49736, 62, 15908, 3256, 2824, 62, 19503, 80, 28, 3064, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10638, 62, 33327, 273, 796, 21293, 31337, 273, 7, 49736, 62, 15908, 28, 4458, 14, 49736, 62, 15908, 3256, 2824, 62, 19503, 80, 28, 940, 8, 628, 220, 220, 220, 220, 220, 220, 220, 269, 65, 796, 685, 2435, 62, 21101, 11, 2994, 62, 21101, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 62, 8738, 13, 271, 62, 19849, 5889, 6624, 366, 17821, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 30218, 70, 17816, 21928, 62, 9122, 4122, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 457, 11250, 796, 6822, 4122, 16934, 7, 21928, 62, 9122, 4122, 62, 20214, 28, 37581, 17816, 21928, 62, 9122, 4122, 62, 538, 5374, 82, 20520, 1635, 997, 62, 20214, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1394, 62, 9122, 4122, 62, 9806, 28, 37581, 17816, 14894, 62, 9122, 4122, 62, 9806, 6, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 4122, 62, 21101, 796, 9104, 9787, 4122, 7, 40290, 11639, 88, 349, 529, 3256, 8619, 28, 12001, 62, 27432, 62, 6371, 11, 4566, 28, 694, 457, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4351, 34, 65, 796, 20558, 47258, 7, 12001, 62, 27432, 62, 6371, 11, 26498, 62, 8738, 13, 27432, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 3335, 62, 312, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 65, 15853, 685, 694, 4122, 62, 21101, 11, 4351, 34, 65, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 27432, 7, 37581, 17816, 538, 5374, 62, 7857, 6, 4357, 27039, 11, 869, 10146, 28, 21101, 11, 27039, 62, 82, 676, 62, 14171, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 30218, 70, 17816, 21928, 62, 9122, 4122, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 457, 11250, 796, 6822, 4122, 16934, 7, 21928, 62, 9122, 4122, 62, 20214, 28, 37581, 17816, 21928, 62, 9122, 4122, 62, 538, 5374, 82, 20520, 1635, 997, 62, 20214, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1394, 62, 9122, 4122, 62, 9806, 28, 37581, 17816, 14894, 62, 9122, 4122, 62, 9806, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3613, 62, 9122, 4122, 62, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 37581, 17816, 21928, 62, 9122, 4122, 62, 6978, 6, 4357, 705, 694, 457, 62, 6, 1343, 965, 7, 43027, 8, 1343, 31051, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 74, 4122, 62, 21101, 796, 9104, 9787, 4122, 7, 40290, 11639, 88, 349, 529, 3256, 8619, 28, 21928, 62, 9122, 4122, 62, 6978, 11, 4566, 28, 694, 457, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 65, 15853, 685, 694, 4122, 62, 21101, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 27432, 7, 37581, 17816, 538, 5374, 62, 7857, 6, 4357, 27039, 11, 869, 10146, 28, 21101, 11, 27039, 62, 82, 676, 62, 14171, 28, 25101, 8, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 25609, 855, 5268, 13614, 796, 25609, 2625, 8, 198 ]
2.222924
5,069
from dataclasses import dataclass from enum import Enum @dataclass @dataclass
[ 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 33829, 1330, 2039, 388, 628, 198, 198, 31, 19608, 330, 31172, 628, 198, 31, 19608, 330, 31172, 198 ]
2.964286
28
import argparse import os import matplotlib.pyplot as plt import torch import torch.nn as nn from PIL import Image from torchvision.models import resnet18 from dataset import * from netvlad import EmbedNet from netvlad import NetVLAD parser = argparse.ArgumentParser(description='WayzNetVlad') # parser.add_argument('--mode', type=str, default='train', help='Mode', choices=['train', 'validation']) # parser.add_argument('--batch_size', type=int, default=2, help='batch_size') parser.add_argument('--dataset_dir', type=str, default='/media/admini/My_data/0921/dataset_cam4', help='dataset_dir') parser.add_argument('--num_workers', type=int, default=1, help='num_workers') # parser.add_argument('--from_scratch', type=bool, default=True, help='from_scratch') # parser.add_argument('--pretrained_embedding', type=bool, default=True, help='pretrained_embedding') # parser.add_argument('--num_similar_neg', type=int, default=2, help='num_similar_neg') # parser.add_argument('--margin', type=float, default=1.0, help='margin') parser.add_argument('--use_gpu', type=bool, default=True, help='use_gpu') # parser.add_argument('--learning_rate', type=float, default=0.0005, help='learning_rate') # parser.add_argument('--positive_radius', type=float, default=0.3, help='positive_search_radius') # parser.add_argument('--negative_filter_radius', type=float, default=2.0, help='negative_filter_radius') parser.add_argument('--saved_model_path', type=str, default='saved_model', help='saved_model') # parser.add_argument('--epochs', type=int, default=10, help='epochs') parser.add_argument('--load_checkpoints', type=bool, default=True, help='load_checkpoints') parser.add_argument('--num_clusters', type=int, default=64, help='num_clusters') # parser.add_argument('--images_dir', type=str, default='/media/admini/My_data/0921/dataset_cam4/images', # help='images_dir') parser.add_argument('--queried_image', type=str, default='/media/admini/My_data/0921/dataset_cam4/images/001041.png', help='queried_image') parser.add_argument('--generate_database', type=bool, default=False, help='generate_database') args = parser.parse_args() if __name__ == '__main__': test()
[ 11748, 1822, 29572, 198, 11748, 28686, 198, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 6738, 350, 4146, 1330, 7412, 198, 6738, 28034, 10178, 13, 27530, 1330, 581, 3262, 1507, 198, 198, 6738, 27039, 1330, 1635, 198, 6738, 2010, 85, 9435, 1330, 13302, 276, 7934, 198, 6738, 2010, 85, 9435, 1330, 3433, 47468, 2885, 198, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 25309, 89, 7934, 53, 9435, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 14171, 3256, 2099, 28, 2536, 11, 4277, 11639, 27432, 3256, 1037, 11639, 19076, 3256, 7747, 28, 17816, 27432, 3256, 705, 12102, 341, 6, 12962, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 43501, 62, 7857, 3256, 2099, 28, 600, 11, 4277, 28, 17, 11, 1037, 11639, 43501, 62, 7857, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 19608, 292, 316, 62, 15908, 3256, 2099, 28, 2536, 11, 4277, 11639, 14, 11431, 14, 28482, 72, 14, 3666, 62, 7890, 14, 2931, 2481, 14, 19608, 292, 316, 62, 20991, 19, 3256, 1037, 11639, 19608, 292, 316, 62, 15908, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 22510, 62, 22896, 3256, 2099, 28, 600, 11, 4277, 28, 16, 11, 1037, 11639, 22510, 62, 22896, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 6738, 62, 1416, 36722, 3256, 2099, 28, 30388, 11, 4277, 28, 17821, 11, 1037, 11639, 6738, 62, 1416, 36722, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 5310, 13363, 62, 20521, 12083, 3256, 2099, 28, 30388, 11, 4277, 28, 17821, 11, 1037, 11639, 5310, 13363, 62, 20521, 12083, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 22510, 62, 38610, 62, 12480, 3256, 2099, 28, 600, 11, 4277, 28, 17, 11, 1037, 11639, 22510, 62, 38610, 62, 12480, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 36153, 3256, 2099, 28, 22468, 11, 4277, 28, 16, 13, 15, 11, 1037, 11639, 36153, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 1904, 62, 46999, 3256, 2099, 28, 30388, 11, 4277, 28, 17821, 11, 1037, 11639, 1904, 62, 46999, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 40684, 62, 4873, 3256, 2099, 28, 22468, 11, 4277, 28, 15, 13, 830, 20, 11, 1037, 11639, 40684, 62, 4873, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 24561, 62, 42172, 3256, 2099, 28, 22468, 11, 4277, 28, 15, 13, 18, 11, 1037, 11639, 24561, 62, 12947, 62, 42172, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 31591, 62, 24455, 62, 42172, 3256, 2099, 28, 22468, 11, 4277, 28, 17, 13, 15, 11, 1037, 11639, 31591, 62, 24455, 62, 42172, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 82, 9586, 62, 19849, 62, 6978, 3256, 2099, 28, 2536, 11, 4277, 11639, 82, 9586, 62, 19849, 3256, 1037, 11639, 82, 9586, 62, 19849, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 538, 5374, 82, 3256, 2099, 28, 600, 11, 4277, 28, 940, 11, 1037, 11639, 538, 5374, 82, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 2220, 62, 9122, 13033, 3256, 2099, 28, 30388, 11, 4277, 28, 17821, 11, 1037, 11639, 2220, 62, 9122, 13033, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 22510, 62, 565, 13654, 3256, 2099, 28, 600, 11, 4277, 28, 2414, 11, 1037, 11639, 22510, 62, 565, 13654, 11537, 198, 2, 30751, 13, 2860, 62, 49140, 10786, 438, 17566, 62, 15908, 3256, 2099, 28, 2536, 11, 4277, 11639, 14, 11431, 14, 28482, 72, 14, 3666, 62, 7890, 14, 2931, 2481, 14, 19608, 292, 316, 62, 20991, 19, 14, 17566, 3256, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 17566, 62, 15908, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 10819, 798, 62, 9060, 3256, 2099, 28, 2536, 11, 4277, 11639, 14, 11431, 14, 28482, 72, 14, 3666, 62, 7890, 14, 2931, 2481, 14, 19608, 292, 316, 62, 20991, 19, 14, 17566, 14, 37187, 3901, 13, 11134, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 10819, 798, 62, 9060, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 8612, 378, 62, 48806, 3256, 2099, 28, 30388, 11, 4277, 28, 25101, 11, 1037, 11639, 8612, 378, 62, 48806, 11537, 198, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1332, 3419, 198 ]
2.851421
774
from runtool.recurse_config import ( recursive_apply, recursive_apply_dict, recursive_apply_list, Versions, ) def transform(node: dict): """ Converts node to a version object if the node has a key "versions" else it multiplies the node by 2 if the node has key "double" """ if "version" in node: return Versions(node["version"]) elif "double" in node: return 2 * node["double"] return node
[ 6738, 1057, 25981, 13, 8344, 12321, 62, 11250, 1330, 357, 198, 220, 220, 220, 45115, 62, 39014, 11, 198, 220, 220, 220, 45115, 62, 39014, 62, 11600, 11, 198, 220, 220, 220, 45115, 62, 39014, 62, 4868, 11, 198, 220, 220, 220, 18535, 507, 11, 198, 8, 628, 198, 4299, 6121, 7, 17440, 25, 8633, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1482, 24040, 10139, 284, 257, 2196, 2134, 611, 262, 10139, 468, 257, 1994, 366, 47178, 1, 198, 220, 220, 220, 2073, 340, 15082, 444, 262, 10139, 416, 362, 611, 262, 10139, 468, 1994, 366, 23352, 1, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 366, 9641, 1, 287, 10139, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 18535, 507, 7, 17440, 14692, 9641, 8973, 8, 198, 220, 220, 220, 1288, 361, 366, 23352, 1, 287, 10139, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 362, 1635, 10139, 14692, 23352, 8973, 198, 220, 220, 220, 1441, 10139, 628, 628, 628, 628, 628, 628, 198 ]
2.666667
174
import yaml from .aggregation.translator import Translator as AggregatorTranslator from tube.etl.indexers.injection.translator import Translator as InjectionTranslator from .base.translator import Translator as BaseTranslator from tube.utils.dd import init_dictionary from tube.etl.outputs.es.writer import Writer
[ 11748, 331, 43695, 198, 6738, 764, 9460, 43068, 13, 7645, 41880, 1330, 3602, 41880, 355, 19015, 2301, 1352, 8291, 41880, 198, 6738, 12403, 13, 316, 75, 13, 9630, 364, 13, 259, 29192, 13, 7645, 41880, 1330, 3602, 41880, 355, 554, 29192, 8291, 41880, 198, 6738, 764, 8692, 13, 7645, 41880, 1330, 3602, 41880, 355, 7308, 8291, 41880, 198, 6738, 12403, 13, 26791, 13, 1860, 1330, 2315, 62, 67, 14188, 198, 6738, 12403, 13, 316, 75, 13, 22915, 82, 13, 274, 13, 16002, 1330, 26606, 628, 628 ]
3.686047
86
# 1 Still using the same DataFrame from the previous exercise insurance.csv plot the chart for charges and save it # as charges_plot.png import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv('data/insurance.csv', header=0) plt.plot(df['charges']) plt.title('Charges Plot') plt.ylabel('Charges') plt.savefig('charges_plot.png') # 2 plot the histogram for bmi and save it as bmi_hist.png plt.clf() plt.hist(df['bmi']) plt.title('BMI Histogram') plt.ylabel('BMI') plt.savefig('bmi_hist.png') # 3 plot the scatterplot for age vs charges and save it as age_charge_scatter.png plt.clf() plt.scatter(df['age'], df['charges']) plt.title('Age vs Charges') plt.xlabel('Age') plt.ylabel('Charges') plt.savefig('age_charge_scatter.png') # 4 Re-do the previous items, adding the title, x label and y label for each item. # done above # 5 Think about the exercise 12 from the previous section. Do the plots match what we saw with the correlation function? # Yes, charges are going up with age
[ 2, 352, 7831, 1262, 262, 976, 6060, 19778, 422, 262, 2180, 5517, 5096, 13, 40664, 7110, 262, 8262, 329, 4530, 290, 3613, 340, 198, 2, 355, 4530, 62, 29487, 13, 11134, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 7568, 796, 279, 67, 13, 961, 62, 40664, 10786, 7890, 14, 1040, 3874, 13, 40664, 3256, 13639, 28, 15, 8, 198, 489, 83, 13, 29487, 7, 7568, 17816, 34948, 6, 12962, 198, 489, 83, 13, 7839, 10786, 36970, 28114, 11537, 198, 489, 83, 13, 2645, 9608, 10786, 36970, 11537, 198, 489, 83, 13, 21928, 5647, 10786, 34948, 62, 29487, 13, 11134, 11537, 198, 198, 2, 362, 7110, 262, 1554, 21857, 329, 275, 11632, 290, 3613, 340, 355, 275, 11632, 62, 10034, 13, 11134, 198, 489, 83, 13, 565, 69, 3419, 198, 489, 83, 13, 10034, 7, 7568, 17816, 65, 11632, 6, 12962, 198, 489, 83, 13, 7839, 10786, 33, 8895, 5590, 21857, 11537, 198, 489, 83, 13, 2645, 9608, 10786, 33, 8895, 11537, 198, 489, 83, 13, 21928, 5647, 10786, 65, 11632, 62, 10034, 13, 11134, 11537, 198, 198, 2, 513, 7110, 262, 41058, 29487, 329, 2479, 3691, 4530, 290, 3613, 340, 355, 2479, 62, 10136, 62, 1416, 1436, 13, 11134, 198, 489, 83, 13, 565, 69, 3419, 198, 489, 83, 13, 1416, 1436, 7, 7568, 17816, 496, 6, 4357, 47764, 17816, 34948, 6, 12962, 198, 489, 83, 13, 7839, 10786, 23396, 3691, 44620, 11537, 198, 489, 83, 13, 87, 18242, 10786, 23396, 11537, 198, 489, 83, 13, 2645, 9608, 10786, 36970, 11537, 198, 489, 83, 13, 21928, 5647, 10786, 496, 62, 10136, 62, 1416, 1436, 13, 11134, 11537, 198, 198, 2, 604, 797, 12, 4598, 262, 2180, 3709, 11, 4375, 262, 3670, 11, 2124, 6167, 290, 331, 6167, 329, 1123, 2378, 13, 198, 2, 1760, 2029, 198, 198, 2, 642, 11382, 546, 262, 5517, 1105, 422, 262, 2180, 2665, 13, 2141, 262, 21528, 2872, 644, 356, 2497, 351, 262, 16096, 2163, 30, 198, 2, 3363, 11, 4530, 389, 1016, 510, 351, 2479, 198 ]
2.901163
344
import sys from os import path d = path.dirname(__file__) # 获取当前路径 sys.path.append(d) from model import BankClient, BankName, Staff, Charge, Cheque, Loan, Lend, Payments, PossessCheque, Saving, PossessSaving, database from datetime import date, datetime, timedelta from peewee import DatabaseError, DataError, IntegrityError, InterfaceError, InternalError, NotSupportedError, OperationalError, ProgrammingError, fn, Alias from random import randint import pandas as pd import pandas_profiling as pdp # return: msg, info # return msg, info # return msg, info # return msg, brief info
[ 11748, 25064, 198, 6738, 28686, 1330, 3108, 198, 67, 796, 3108, 13, 15908, 3672, 7, 834, 7753, 834, 8, 1303, 5525, 236, 115, 20998, 244, 37605, 241, 30298, 235, 164, 115, 107, 36181, 226, 198, 17597, 13, 6978, 13, 33295, 7, 67, 8, 198, 6738, 2746, 1330, 5018, 11792, 11, 5018, 5376, 11, 9983, 11, 20260, 11, 2580, 4188, 11, 32314, 11, 406, 437, 11, 41318, 11, 29265, 408, 7376, 4188, 11, 34689, 11, 29265, 408, 50, 2703, 11, 6831, 198, 6738, 4818, 8079, 1330, 3128, 11, 4818, 8079, 11, 28805, 12514, 198, 6738, 613, 413, 1453, 1330, 24047, 12331, 11, 6060, 12331, 11, 39348, 12331, 11, 26491, 12331, 11, 18628, 12331, 11, 1892, 48181, 12331, 11, 6564, 864, 12331, 11, 30297, 12331, 11, 24714, 11, 978, 4448, 198, 6738, 4738, 1330, 43720, 600, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 19798, 292, 62, 5577, 4386, 355, 279, 26059, 198, 220, 1303, 1441, 25, 31456, 11, 7508, 628, 220, 1303, 1441, 31456, 11, 7508, 628, 220, 1303, 1441, 31456, 11, 7508, 628, 220, 1303, 1441, 31456, 11, 4506, 7508, 198 ]
3.263736
182
# application configuration from autonomia.settings import * # noqa DEBUG = True TESTING = True LOG_LEVEL = "DEBUG" WEBHOOK_DOMAIN = "localhost:5000" WEBHOOK_PATH = "hook" CHAT_ID = -123456 # Third party configuration API_TOKEN = "133505823:AAHZFMHno3mzVLErU5b5jJvaeG--qUyLyG0" REDIS_URL = ""
[ 2, 3586, 8398, 198, 6738, 11827, 544, 13, 33692, 1330, 1635, 220, 1303, 645, 20402, 198, 198, 30531, 796, 6407, 198, 51, 6465, 2751, 796, 6407, 198, 25294, 62, 2538, 18697, 796, 366, 30531, 1, 198, 8845, 33, 39, 15308, 62, 39170, 29833, 796, 366, 36750, 25, 27641, 1, 198, 8845, 33, 39, 15308, 62, 34219, 796, 366, 25480, 1, 198, 31542, 62, 2389, 796, 532, 10163, 29228, 198, 198, 2, 10467, 2151, 8398, 198, 17614, 62, 10468, 43959, 796, 366, 1485, 14877, 3365, 1954, 25, 3838, 39, 57, 23264, 39, 3919, 18, 76, 89, 53, 2538, 81, 52, 20, 65, 20, 73, 41, 33353, 38, 438, 80, 52, 88, 31633, 38, 15, 1, 198, 198, 22083, 1797, 62, 21886, 796, 13538, 198 ]
2.414634
123
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.yangtypes import YANGDynClass from pyangbind.lib.yangtypes import ReferenceType from pyangbind.lib.base import PybindBase from collections import OrderedDict from decimal import Decimal from bitarray import bitarray import six # PY3 support of some PY2 keywords (needs improved) if six.PY3: import builtins as __builtin__ long = int elif six.PY2: import __builtin__ class state(PybindBase): """ This class was auto-generated by the PythonClass plugin for PYANG from YANG module openconfig-network-instance - based on the path /network-instances/network-instance/mpls/lsps/constrained-path/tunnels/tunnel/p2p-tunnel-attributes/p2p-primary-path/p2p-primary-path/candidate-secondary-paths/candidate-secondary-path/state. Each member element of the container is represented as a class variable - with a specific YANG type. YANG Description: Operational state parameters relating to the candidate secondary path """ __slots__ = ( "_path_helper", "_extmethods", "__secondary_path", "__priority", "__active" ) _yang_name = "state" _pybind_generated_by = "container" def _get_secondary_path(self): """ Getter method for secondary_path, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/secondary_path (leafref) YANG Description: A reference to the secondary path that should be utilised when the containing primary path option is in use """ return self.__secondary_path def _set_secondary_path(self, v, load=False): """ Setter method for secondary_path, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/secondary_path (leafref) If this variable is read-only (config: false) in the source YANG file, then _set_secondary_path is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_secondary_path() directly. YANG Description: A reference to the secondary path that should be utilised when the containing primary path option is in use """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=six.text_type, is_leaf=True, yang_name="secondary-path", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="leafref", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """secondary_path must be of a type compatible with leafref""", "defined-type": "leafref", "generated-type": """YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secondary-path", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='leafref', is_config=False)""", } ) self.__secondary_path = t if hasattr(self, "_set"): self._set() def _get_priority(self): """ Getter method for priority, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/priority (uint16) YANG Description: The priority of the specified secondary path option. Higher priority options are less preferable - such that a secondary path reference with a priority of 0 is the most preferred """ return self.__priority def _set_priority(self, v, load=False): """ Setter method for priority, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/priority (uint16) If this variable is read-only (config: false) in the source YANG file, then _set_priority is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_priority() directly. YANG Description: The priority of the specified secondary path option. Higher priority options are less preferable - such that a secondary path reference with a priority of 0 is the most preferred """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=RestrictedClassType( base_type=int, restriction_dict={"range": ["0..65535"]}, int_size=16 ), is_leaf=True, yang_name="priority", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="uint16", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """priority must be of a type compatible with uint16""", "defined-type": "uint16", "generated-type": """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), is_leaf=True, yang_name="priority", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='uint16', is_config=False)""", } ) self.__priority = t if hasattr(self, "_set"): self._set() def _get_active(self): """ Getter method for active, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/active (boolean) YANG Description: Indicates the current active path option that has been selected of the candidate secondary paths """ return self.__active def _set_active(self, v, load=False): """ Setter method for active, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/active (boolean) If this variable is read-only (config: false) in the source YANG file, then _set_active is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_active() directly. YANG Description: Indicates the current active path option that has been selected of the candidate secondary paths """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=YANGBool, is_leaf=True, yang_name="active", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="boolean", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """active must be of a type compatible with boolean""", "defined-type": "boolean", "generated-type": """YANGDynClass(base=YANGBool, is_leaf=True, yang_name="active", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='boolean', is_config=False)""", } ) self.__active = t if hasattr(self, "_set"): self._set() secondary_path = __builtin__.property(_get_secondary_path) priority = __builtin__.property(_get_priority) active = __builtin__.property(_get_active) _pyangbind_elements = OrderedDict( [("secondary_path", secondary_path), ("priority", priority), ("active", active)] ) class state(PybindBase): """ This class was auto-generated by the PythonClass plugin for PYANG from YANG module openconfig-network-instance-l2 - based on the path /network-instances/network-instance/mpls/lsps/constrained-path/tunnels/tunnel/p2p-tunnel-attributes/p2p-primary-path/p2p-primary-path/candidate-secondary-paths/candidate-secondary-path/state. Each member element of the container is represented as a class variable - with a specific YANG type. YANG Description: Operational state parameters relating to the candidate secondary path """ __slots__ = ( "_path_helper", "_extmethods", "__secondary_path", "__priority", "__active" ) _yang_name = "state" _pybind_generated_by = "container" def _get_secondary_path(self): """ Getter method for secondary_path, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/secondary_path (leafref) YANG Description: A reference to the secondary path that should be utilised when the containing primary path option is in use """ return self.__secondary_path def _set_secondary_path(self, v, load=False): """ Setter method for secondary_path, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/secondary_path (leafref) If this variable is read-only (config: false) in the source YANG file, then _set_secondary_path is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_secondary_path() directly. YANG Description: A reference to the secondary path that should be utilised when the containing primary path option is in use """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=six.text_type, is_leaf=True, yang_name="secondary-path", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="leafref", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """secondary_path must be of a type compatible with leafref""", "defined-type": "leafref", "generated-type": """YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secondary-path", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='leafref', is_config=False)""", } ) self.__secondary_path = t if hasattr(self, "_set"): self._set() def _get_priority(self): """ Getter method for priority, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/priority (uint16) YANG Description: The priority of the specified secondary path option. Higher priority options are less preferable - such that a secondary path reference with a priority of 0 is the most preferred """ return self.__priority def _set_priority(self, v, load=False): """ Setter method for priority, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/priority (uint16) If this variable is read-only (config: false) in the source YANG file, then _set_priority is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_priority() directly. YANG Description: The priority of the specified secondary path option. Higher priority options are less preferable - such that a secondary path reference with a priority of 0 is the most preferred """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=RestrictedClassType( base_type=int, restriction_dict={"range": ["0..65535"]}, int_size=16 ), is_leaf=True, yang_name="priority", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="uint16", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """priority must be of a type compatible with uint16""", "defined-type": "uint16", "generated-type": """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), is_leaf=True, yang_name="priority", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='uint16', is_config=False)""", } ) self.__priority = t if hasattr(self, "_set"): self._set() def _get_active(self): """ Getter method for active, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/active (boolean) YANG Description: Indicates the current active path option that has been selected of the candidate secondary paths """ return self.__active def _set_active(self, v, load=False): """ Setter method for active, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/p2p_tunnel_attributes/p2p_primary_path/p2p_primary_path/candidate_secondary_paths/candidate_secondary_path/state/active (boolean) If this variable is read-only (config: false) in the source YANG file, then _set_active is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_active() directly. YANG Description: Indicates the current active path option that has been selected of the candidate secondary paths """ if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass( v, base=YANGBool, is_leaf=True, yang_name="active", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace="http://openconfig.net/yang/network-instance", defining_module="openconfig-network-instance", yang_type="boolean", is_config=False, ) except (TypeError, ValueError): raise ValueError( { "error-string": """active must be of a type compatible with boolean""", "defined-type": "boolean", "generated-type": """YANGDynClass(base=YANGBool, is_leaf=True, yang_name="active", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/network-instance', defining_module='openconfig-network-instance', yang_type='boolean', is_config=False)""", } ) self.__active = t if hasattr(self, "_set"): self._set() secondary_path = __builtin__.property(_get_secondary_path) priority = __builtin__.property(_get_priority) active = __builtin__.property(_get_active) _pyangbind_elements = OrderedDict( [("secondary_path", secondary_path), ("priority", priority), ("active", active)] )
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 6738, 10088, 1330, 708, 81, 1136, 353, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 8324, 20941, 6719, 16005, 10707, 4402, 6030, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 8324, 20941, 9487, 6030, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 17134, 276, 8053, 6030, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 575, 1565, 4579, 970, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 575, 15567, 8053, 6030, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 575, 15567, 35, 2047, 9487, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 17859, 19199, 1330, 20984, 6030, 198, 6738, 12972, 648, 21653, 13, 8019, 13, 8692, 1330, 9485, 21653, 14881, 198, 6738, 17268, 1330, 14230, 1068, 35, 713, 198, 6738, 32465, 1330, 4280, 4402, 198, 6738, 1643, 18747, 1330, 1643, 18747, 198, 11748, 2237, 198, 198, 2, 350, 56, 18, 1104, 286, 617, 350, 56, 17, 26286, 357, 50032, 6596, 8, 198, 361, 2237, 13, 47, 56, 18, 25, 198, 220, 220, 220, 1330, 3170, 1040, 355, 11593, 18780, 259, 834, 628, 220, 220, 220, 890, 796, 493, 198, 417, 361, 2237, 13, 47, 56, 17, 25, 198, 220, 220, 220, 1330, 11593, 18780, 259, 834, 628, 198, 4871, 1181, 7, 20519, 21653, 14881, 2599, 198, 220, 220, 220, 37227, 198, 220, 770, 1398, 373, 8295, 12, 27568, 416, 262, 11361, 9487, 13877, 329, 350, 56, 15567, 198, 220, 422, 575, 15567, 8265, 1280, 11250, 12, 27349, 12, 39098, 532, 1912, 319, 262, 3108, 1220, 27349, 12, 8625, 1817, 14, 27349, 12, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 12, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 12, 28286, 4954, 12, 1078, 7657, 14, 79, 17, 79, 12, 39754, 12, 6978, 14, 79, 17, 79, 12, 39754, 12, 6978, 14, 46188, 20540, 12, 38238, 12, 6978, 82, 14, 46188, 20540, 12, 38238, 12, 6978, 14, 5219, 13, 5501, 2888, 5002, 286, 198, 220, 262, 9290, 318, 7997, 355, 257, 1398, 7885, 532, 351, 257, 2176, 198, 220, 575, 15567, 2099, 13, 628, 220, 575, 15567, 12489, 25, 6564, 864, 1181, 10007, 11270, 284, 262, 4540, 198, 38238, 3108, 198, 220, 37227, 198, 220, 220, 220, 11593, 6649, 1747, 834, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 45434, 6978, 62, 2978, 525, 1600, 45434, 2302, 24396, 82, 1600, 366, 834, 38238, 62, 6978, 1600, 366, 834, 49336, 1600, 366, 834, 5275, 1, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 4808, 17859, 62, 3672, 796, 366, 5219, 1, 628, 220, 220, 220, 4808, 9078, 21653, 62, 27568, 62, 1525, 796, 366, 34924, 1, 628, 220, 220, 220, 825, 4808, 1136, 62, 38238, 62, 6978, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 9233, 62, 6978, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 38238, 62, 6978, 357, 33201, 5420, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 317, 4941, 284, 262, 9233, 3108, 326, 815, 307, 7736, 1417, 198, 12518, 262, 7268, 4165, 3108, 3038, 318, 287, 779, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 38238, 62, 6978, 628, 220, 220, 220, 825, 4808, 2617, 62, 38238, 62, 6978, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 9233, 62, 6978, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 38238, 62, 6978, 357, 33201, 5420, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 38238, 62, 6978, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 38238, 62, 6978, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 317, 4941, 284, 262, 9233, 3108, 326, 815, 307, 7736, 1417, 198, 12518, 262, 7268, 4165, 3108, 3038, 318, 287, 779, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 19412, 13, 5239, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 38238, 12, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 33201, 5420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 38238, 62, 6978, 1276, 307, 286, 257, 2099, 11670, 351, 12835, 5420, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 33201, 5420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 19412, 13, 5239, 62, 4906, 11, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 38238, 12, 6978, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 33201, 5420, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 38238, 62, 6978, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 825, 4808, 1136, 62, 49336, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 8475, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 49336, 357, 28611, 1433, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 383, 8475, 286, 262, 7368, 9233, 3108, 3038, 13, 16038, 198, 49336, 3689, 389, 1342, 33887, 532, 884, 326, 257, 9233, 198, 6978, 4941, 351, 257, 8475, 286, 657, 318, 262, 749, 9871, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 49336, 628, 220, 220, 220, 825, 4808, 2617, 62, 49336, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 8475, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 49336, 357, 28611, 1433, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 49336, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 49336, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 383, 8475, 286, 262, 7368, 9233, 3108, 3038, 13, 16038, 198, 49336, 3689, 389, 1342, 33887, 532, 884, 326, 257, 9233, 198, 6978, 4941, 351, 257, 8475, 286, 657, 318, 262, 749, 9871, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 19452, 20941, 9487, 6030, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 4906, 28, 600, 11, 17504, 62, 11600, 28, 4895, 9521, 1298, 14631, 15, 492, 35916, 2327, 8973, 5512, 493, 62, 7857, 28, 1433, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 49336, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 28611, 1433, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 49336, 1276, 307, 286, 257, 2099, 11670, 351, 20398, 1433, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 28611, 1433, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 19452, 20941, 9487, 6030, 7, 8692, 62, 4906, 28, 600, 11, 17504, 62, 11600, 34758, 6, 9521, 10354, 37250, 15, 492, 35916, 2327, 20520, 5512, 600, 62, 7857, 28, 1433, 828, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 49336, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 28611, 1433, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 49336, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 825, 4808, 1136, 62, 5275, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 4075, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 5275, 357, 2127, 21052, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 1423, 16856, 262, 1459, 4075, 3108, 3038, 326, 468, 198, 47436, 6163, 286, 262, 4540, 9233, 13532, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 5275, 628, 220, 220, 220, 825, 4808, 2617, 62, 5275, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 4075, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 5275, 357, 2127, 21052, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 5275, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 5275, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 1423, 16856, 262, 1459, 4075, 3108, 3038, 326, 468, 198, 47436, 6163, 286, 262, 4540, 9233, 13532, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 56, 1565, 4579, 970, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 5275, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 2127, 21052, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 5275, 1276, 307, 286, 257, 2099, 11670, 351, 25131, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 2127, 21052, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 56, 1565, 4579, 970, 11, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 5275, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 2127, 21052, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 5275, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 9233, 62, 6978, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 38238, 62, 6978, 8, 198, 220, 220, 220, 8475, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 49336, 8, 198, 220, 220, 220, 4075, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 5275, 8, 628, 220, 220, 220, 4808, 9078, 648, 21653, 62, 68, 3639, 796, 14230, 1068, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 685, 7203, 38238, 62, 6978, 1600, 9233, 62, 6978, 828, 5855, 49336, 1600, 8475, 828, 5855, 5275, 1600, 4075, 15437, 198, 220, 220, 220, 1267, 628, 198, 4871, 1181, 7, 20519, 21653, 14881, 2599, 198, 220, 220, 220, 37227, 198, 220, 770, 1398, 373, 8295, 12, 27568, 416, 262, 11361, 9487, 13877, 329, 350, 56, 15567, 198, 220, 422, 575, 15567, 8265, 1280, 11250, 12, 27349, 12, 39098, 12, 75, 17, 532, 1912, 319, 262, 3108, 1220, 27349, 12, 8625, 1817, 14, 27349, 12, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 12, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 12, 28286, 4954, 12, 1078, 7657, 14, 79, 17, 79, 12, 39754, 12, 6978, 14, 79, 17, 79, 12, 39754, 12, 6978, 14, 46188, 20540, 12, 38238, 12, 6978, 82, 14, 46188, 20540, 12, 38238, 12, 6978, 14, 5219, 13, 5501, 2888, 5002, 286, 198, 220, 262, 9290, 318, 7997, 355, 257, 1398, 7885, 532, 351, 257, 2176, 198, 220, 575, 15567, 2099, 13, 628, 220, 575, 15567, 12489, 25, 6564, 864, 1181, 10007, 11270, 284, 262, 4540, 198, 38238, 3108, 198, 220, 37227, 198, 220, 220, 220, 11593, 6649, 1747, 834, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 45434, 6978, 62, 2978, 525, 1600, 45434, 2302, 24396, 82, 1600, 366, 834, 38238, 62, 6978, 1600, 366, 834, 49336, 1600, 366, 834, 5275, 1, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 4808, 17859, 62, 3672, 796, 366, 5219, 1, 628, 220, 220, 220, 4808, 9078, 21653, 62, 27568, 62, 1525, 796, 366, 34924, 1, 628, 220, 220, 220, 825, 4808, 1136, 62, 38238, 62, 6978, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 9233, 62, 6978, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 38238, 62, 6978, 357, 33201, 5420, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 317, 4941, 284, 262, 9233, 3108, 326, 815, 307, 7736, 1417, 198, 12518, 262, 7268, 4165, 3108, 3038, 318, 287, 779, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 38238, 62, 6978, 628, 220, 220, 220, 825, 4808, 2617, 62, 38238, 62, 6978, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 9233, 62, 6978, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 38238, 62, 6978, 357, 33201, 5420, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 38238, 62, 6978, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 38238, 62, 6978, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 317, 4941, 284, 262, 9233, 3108, 326, 815, 307, 7736, 1417, 198, 12518, 262, 7268, 4165, 3108, 3038, 318, 287, 779, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 19412, 13, 5239, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 38238, 12, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 33201, 5420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 38238, 62, 6978, 1276, 307, 286, 257, 2099, 11670, 351, 12835, 5420, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 33201, 5420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 19412, 13, 5239, 62, 4906, 11, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 38238, 12, 6978, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 33201, 5420, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 38238, 62, 6978, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 825, 4808, 1136, 62, 49336, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 8475, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 49336, 357, 28611, 1433, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 383, 8475, 286, 262, 7368, 9233, 3108, 3038, 13, 16038, 198, 49336, 3689, 389, 1342, 33887, 532, 884, 326, 257, 9233, 198, 6978, 4941, 351, 257, 8475, 286, 657, 318, 262, 749, 9871, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 49336, 628, 220, 220, 220, 825, 4808, 2617, 62, 49336, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 8475, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 49336, 357, 28611, 1433, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 49336, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 49336, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 383, 8475, 286, 262, 7368, 9233, 3108, 3038, 13, 16038, 198, 49336, 3689, 389, 1342, 33887, 532, 884, 326, 257, 9233, 198, 6978, 4941, 351, 257, 8475, 286, 657, 318, 262, 749, 9871, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 19452, 20941, 9487, 6030, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 4906, 28, 600, 11, 17504, 62, 11600, 28, 4895, 9521, 1298, 14631, 15, 492, 35916, 2327, 8973, 5512, 493, 62, 7857, 28, 1433, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 49336, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 28611, 1433, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 49336, 1276, 307, 286, 257, 2099, 11670, 351, 20398, 1433, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 28611, 1433, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 19452, 20941, 9487, 6030, 7, 8692, 62, 4906, 28, 600, 11, 17504, 62, 11600, 34758, 6, 9521, 10354, 37250, 15, 492, 35916, 2327, 20520, 5512, 600, 62, 7857, 28, 1433, 828, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 49336, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 28611, 1433, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 49336, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 825, 4808, 1136, 62, 5275, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 353, 2446, 329, 4075, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 5275, 357, 2127, 21052, 8, 628, 220, 220, 220, 575, 15567, 12489, 25, 1423, 16856, 262, 1459, 4075, 3108, 3038, 326, 468, 198, 47436, 6163, 286, 262, 4540, 9233, 13532, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 5275, 628, 220, 220, 220, 825, 4808, 2617, 62, 5275, 7, 944, 11, 410, 11, 3440, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 5345, 353, 2446, 329, 4075, 11, 27661, 422, 575, 15567, 7885, 1220, 27349, 62, 8625, 1817, 14, 27349, 62, 39098, 14, 76, 489, 82, 14, 7278, 862, 14, 1102, 2536, 1328, 62, 6978, 14, 28286, 19423, 14, 28286, 4954, 14, 79, 17, 79, 62, 28286, 4954, 62, 1078, 7657, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 79, 17, 79, 62, 39754, 62, 6978, 14, 46188, 20540, 62, 38238, 62, 6978, 82, 14, 46188, 20540, 62, 38238, 62, 6978, 14, 5219, 14, 5275, 357, 2127, 21052, 8, 198, 220, 220, 220, 1002, 428, 7885, 318, 1100, 12, 8807, 357, 11250, 25, 3991, 8, 287, 262, 198, 220, 220, 220, 2723, 575, 15567, 2393, 11, 788, 4808, 2617, 62, 5275, 318, 3177, 355, 257, 2839, 198, 220, 220, 220, 2446, 13, 5157, 2412, 2045, 284, 48040, 428, 7885, 815, 198, 220, 220, 220, 466, 523, 2884, 4585, 428, 49201, 13557, 2617, 62, 5275, 3419, 3264, 13, 628, 220, 220, 220, 575, 15567, 12489, 25, 1423, 16856, 262, 1459, 4075, 3108, 3038, 326, 468, 198, 47436, 6163, 286, 262, 4540, 9233, 13532, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 85, 11, 45434, 315, 2981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 796, 410, 13557, 315, 2981, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 796, 575, 15567, 35, 2047, 9487, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 28, 56, 1565, 4579, 970, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 33201, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 3672, 2625, 5275, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 28, 944, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7881, 62, 6978, 82, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25745, 2625, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16215, 62, 21412, 2625, 9654, 11250, 12, 27349, 12, 39098, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 648, 62, 4906, 2625, 2127, 21052, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 11250, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 6030, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18224, 12, 8841, 1298, 37227, 5275, 1276, 307, 286, 257, 2099, 11670, 351, 25131, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 23211, 12, 4906, 1298, 366, 2127, 21052, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27568, 12, 4906, 1298, 37227, 56, 15567, 35, 2047, 9487, 7, 8692, 28, 56, 1565, 4579, 970, 11, 318, 62, 33201, 28, 17821, 11, 331, 648, 62, 3672, 2625, 5275, 1600, 2560, 28, 944, 11, 3108, 62, 2978, 525, 28, 944, 13557, 6978, 62, 2978, 525, 11, 1070, 24396, 82, 28, 944, 13557, 2302, 24396, 82, 11, 7881, 62, 6978, 82, 28, 17821, 11, 25745, 11639, 4023, 1378, 9654, 11250, 13, 3262, 14, 17859, 14, 27349, 12, 39098, 3256, 16215, 62, 21412, 11639, 9654, 11250, 12, 27349, 12, 39098, 3256, 331, 648, 62, 4906, 11639, 2127, 21052, 3256, 318, 62, 11250, 28, 25101, 8, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 5275, 796, 256, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 944, 11, 45434, 2617, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 3419, 628, 220, 220, 220, 9233, 62, 6978, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 38238, 62, 6978, 8, 198, 220, 220, 220, 8475, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 49336, 8, 198, 220, 220, 220, 4075, 796, 11593, 18780, 259, 834, 13, 26745, 28264, 1136, 62, 5275, 8, 628, 220, 220, 220, 4808, 9078, 648, 21653, 62, 68, 3639, 796, 14230, 1068, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 685, 7203, 38238, 62, 6978, 1600, 9233, 62, 6978, 828, 5855, 49336, 1600, 8475, 828, 5855, 5275, 1600, 4075, 15437, 198, 220, 220, 220, 1267, 198 ]
2.420202
7,613
import sys if len(sys.argv) != 2: print 'usage: [edge pair input path]' exit(1) with open(sys.argv[1], 'r') as fi: node_dict = {} for line in fi: tmp = line.split() src = int(tmp[0]) if src not in node_dict: node_dict[src] = 1 else: node_dict[src] += 1 max_degree = 0 max_node = 0 for node in node_dict: if node_dict[node] > max_node: max_degree = node_dict[node] max_node = node print max_node print 'degree ' + str(max_degree)
[ 11748, 25064, 198, 198, 361, 18896, 7, 17597, 13, 853, 85, 8, 14512, 362, 25, 198, 220, 220, 220, 3601, 705, 26060, 25, 685, 14907, 5166, 5128, 3108, 49946, 198, 220, 220, 220, 8420, 7, 16, 8, 198, 4480, 1280, 7, 17597, 13, 853, 85, 58, 16, 4357, 705, 81, 11537, 355, 25912, 25, 198, 220, 220, 220, 10139, 62, 11600, 796, 23884, 198, 220, 220, 220, 329, 1627, 287, 25912, 25, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 796, 1627, 13, 35312, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 796, 493, 7, 22065, 58, 15, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 611, 12351, 407, 287, 10139, 62, 11600, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 62, 11600, 58, 10677, 60, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 62, 11600, 58, 10677, 60, 15853, 352, 198, 220, 220, 220, 3509, 62, 16863, 796, 657, 198, 220, 220, 220, 3509, 62, 17440, 796, 657, 198, 220, 220, 220, 329, 10139, 287, 10139, 62, 11600, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 10139, 62, 11600, 58, 17440, 60, 1875, 3509, 62, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 16863, 796, 10139, 62, 11600, 58, 17440, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 17440, 796, 10139, 628, 220, 220, 220, 3601, 3509, 62, 17440, 198, 220, 220, 220, 3601, 705, 16863, 705, 1343, 965, 7, 9806, 62, 16863, 8, 198 ]
1.982143
280
import numpy as np import numpy.random as rand import matplotlib.pyplot as plt from numpy.linalg import norm def derivativetest(fun, x0): """ Test the gradient and Hessian of a function. A large proportion parallel in the middle of both plots means accuraccy. INPUTS: fun: a function handle that gives f, g, Hv x0: starting point OUTPUTS: derivative test plots """ x0 = x0.reshape(len(x0),1) fun0 = fun(x0) dx = rand.randn(len(x0),1) M = 20; dxs = np.zeros((M,1)) firsterror = np.zeros((M,1)) order1 = np.zeros((M-1,1)) seconderror = np.zeros((M,1)) order2 = np.zeros((M-1,1)) for i in range(M): x = x0 + dx fun1 = fun(x) H0 = Ax(fun0[2],dx) firsterror[i] = abs(fun1[0] - (fun0[0] + np.dot( dx.T, fun0[1])))/abs(fun0[0]) seconderror[i] = abs(fun1[0] - (fun0[0] + np.dot( dx.T, fun0[1]) + 0.5* np.dot(dx.T, H0)))/abs(fun0[0]) print('First Order Error is %8.2e; Second Order Error is %8.2e'% ( firsterror[i], seconderror[i])) if i > 0: order1[i-1] = np.log2(firsterror[i-1]/firsterror[i]) order2[i-1] = np.log2(seconderror[i-1]/seconderror[i]) dxs[i] = norm(dx) dx = dx/2 step = [2**(-i-1) for i in range(M)] plt.figure(figsize=(12,8)) plt.subplot(221) plt.loglog(step, abs(firsterror),'b', label = '1st Order Err') plt.loglog(step, dxs**2,'r', label = 'order') plt.gca().invert_xaxis() plt.legend() plt.subplot(222) plt.semilogx(step[1:], order1,'b', label = '1st Order') plt.gca().invert_xaxis() plt.legend() plt.subplot(223) plt.loglog(step, abs(seconderror),'b', label = '2nd Order Err') plt.loglog(step, dxs**3,'r', label = 'Order') plt.gca().invert_xaxis() plt.legend() plt.subplot(224) plt.semilogx(step[1:], order2,'b', label = '2nd Order') plt.gca().invert_xaxis() plt.legend() return plt.show()
[ 11748, 299, 32152, 355, 45941, 198, 11748, 299, 32152, 13, 25120, 355, 43720, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 299, 32152, 13, 75, 1292, 70, 1330, 2593, 198, 198, 4299, 27255, 9288, 7, 12543, 11, 2124, 15, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6208, 262, 31312, 290, 46305, 666, 286, 257, 2163, 13, 317, 1588, 9823, 220, 198, 220, 220, 220, 10730, 287, 262, 3504, 286, 1111, 21528, 1724, 4431, 330, 948, 13, 198, 220, 220, 220, 3268, 30076, 50, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1257, 25, 257, 2163, 5412, 326, 3607, 277, 11, 308, 11, 367, 85, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 15, 25, 3599, 966, 198, 220, 220, 220, 16289, 30076, 50, 25, 198, 220, 220, 220, 220, 220, 220, 220, 27255, 1332, 21528, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2124, 15, 796, 2124, 15, 13, 3447, 1758, 7, 11925, 7, 87, 15, 828, 16, 8, 198, 220, 220, 220, 1257, 15, 796, 1257, 7, 87, 15, 8, 198, 220, 220, 220, 44332, 796, 43720, 13, 25192, 77, 7, 11925, 7, 87, 15, 828, 16, 8, 198, 220, 220, 220, 337, 796, 1160, 26, 198, 220, 220, 220, 288, 34223, 796, 45941, 13, 9107, 418, 19510, 44, 11, 16, 4008, 198, 220, 220, 220, 717, 18224, 796, 45941, 13, 9107, 418, 19510, 44, 11, 16, 4008, 198, 220, 220, 220, 1502, 16, 796, 45941, 13, 9107, 418, 19510, 44, 12, 16, 11, 16, 4008, 198, 220, 220, 220, 1218, 18224, 796, 45941, 13, 9107, 418, 19510, 44, 11, 16, 4008, 198, 220, 220, 220, 1502, 17, 796, 45941, 13, 9107, 418, 19510, 44, 12, 16, 11, 16, 4008, 198, 220, 220, 220, 220, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 44, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 2124, 15, 1343, 44332, 198, 220, 220, 220, 220, 220, 220, 220, 1257, 16, 796, 1257, 7, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 367, 15, 796, 12176, 7, 12543, 15, 58, 17, 4357, 34350, 8, 198, 220, 220, 220, 220, 220, 220, 220, 717, 18224, 58, 72, 60, 796, 2352, 7, 12543, 16, 58, 15, 60, 532, 357, 12543, 15, 58, 15, 60, 1343, 45941, 13, 26518, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44332, 13, 51, 11, 1257, 15, 58, 16, 60, 4008, 20679, 8937, 7, 12543, 15, 58, 15, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1218, 18224, 58, 72, 60, 796, 2352, 7, 12543, 16, 58, 15, 60, 532, 357, 12543, 15, 58, 15, 60, 1343, 45941, 13, 26518, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44332, 13, 51, 11, 1257, 15, 58, 16, 12962, 1343, 657, 13, 20, 9, 45941, 13, 26518, 7, 34350, 13, 51, 11, 367, 15, 4008, 20679, 8937, 7, 12543, 15, 58, 15, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 5962, 8284, 13047, 318, 4064, 23, 13, 17, 68, 26, 220, 220, 5498, 8284, 13047, 318, 4064, 23, 13, 17, 68, 6, 4, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 717, 18224, 58, 72, 4357, 1218, 18224, 58, 72, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1502, 16, 58, 72, 12, 16, 60, 796, 45941, 13, 6404, 17, 7, 11085, 18224, 58, 72, 12, 16, 60, 14, 11085, 18224, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1502, 17, 58, 72, 12, 16, 60, 796, 45941, 13, 6404, 17, 7, 2363, 8623, 1472, 58, 72, 12, 16, 60, 14, 2363, 8623, 1472, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 288, 34223, 58, 72, 60, 796, 2593, 7, 34350, 8, 198, 220, 220, 220, 220, 220, 220, 220, 44332, 796, 44332, 14, 17, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2239, 796, 685, 17, 1174, 32590, 72, 12, 16, 8, 329, 1312, 287, 2837, 7, 44, 15437, 198, 220, 220, 220, 458, 83, 13, 26875, 7, 5647, 7857, 16193, 1065, 11, 23, 4008, 198, 220, 220, 220, 458, 83, 13, 7266, 29487, 7, 26115, 8, 198, 220, 220, 220, 458, 83, 13, 6404, 6404, 7, 9662, 11, 2352, 7, 11085, 18224, 828, 6, 65, 3256, 6167, 796, 705, 16, 301, 8284, 41512, 11537, 198, 220, 220, 220, 458, 83, 13, 6404, 6404, 7, 9662, 11, 288, 34223, 1174, 17, 4032, 81, 3256, 6167, 796, 705, 2875, 11537, 198, 220, 220, 220, 458, 83, 13, 70, 6888, 22446, 259, 1851, 62, 87, 22704, 3419, 198, 220, 220, 220, 458, 83, 13, 1455, 437, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 458, 83, 13, 7266, 29487, 7, 23148, 8, 198, 220, 220, 220, 458, 83, 13, 325, 25433, 519, 87, 7, 9662, 58, 16, 25, 4357, 1502, 16, 4032, 65, 3256, 6167, 796, 705, 16, 301, 8284, 11537, 198, 220, 220, 220, 458, 83, 13, 70, 6888, 22446, 259, 1851, 62, 87, 22704, 3419, 198, 220, 220, 220, 458, 83, 13, 1455, 437, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 458, 83, 13, 7266, 29487, 7, 22047, 8, 198, 220, 220, 220, 458, 83, 13, 6404, 6404, 7, 9662, 11, 2352, 7, 2363, 8623, 1472, 828, 6, 65, 3256, 6167, 796, 705, 17, 358, 8284, 41512, 11537, 198, 220, 220, 220, 458, 83, 13, 6404, 6404, 7, 9662, 11, 288, 34223, 1174, 18, 4032, 81, 3256, 6167, 796, 705, 18743, 11537, 198, 220, 220, 220, 458, 83, 13, 70, 6888, 22446, 259, 1851, 62, 87, 22704, 3419, 198, 220, 220, 220, 458, 83, 13, 1455, 437, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 458, 83, 13, 7266, 29487, 7, 24137, 8, 198, 220, 220, 220, 458, 83, 13, 325, 25433, 519, 87, 7, 9662, 58, 16, 25, 4357, 1502, 17, 4032, 65, 3256, 6167, 796, 705, 17, 358, 8284, 11537, 198, 220, 220, 220, 458, 83, 13, 70, 6888, 22446, 259, 1851, 62, 87, 22704, 3419, 198, 220, 220, 220, 458, 83, 13, 1455, 437, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 458, 83, 13, 12860, 3419, 198 ]
1.899539
1,085
# Generated by Django 2.2.4 on 2019-09-23 23:32 from django.db import migrations, models import django.db.models.deletion
[ 2, 2980, 515, 416, 37770, 362, 13, 17, 13, 19, 319, 13130, 12, 2931, 12, 1954, 2242, 25, 2624, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 198, 11748, 42625, 14208, 13, 9945, 13, 27530, 13, 2934, 1616, 295, 628 ]
2.818182
44
import pytest from brownie import Contract, chain, interface from rich.console import Console from helpers.sett.SnapshotManager import SnapshotManager from helpers.sett.simulation.SimulationManager import SimulationManager from helpers.registry import registry from helpers.registry.artifacts import artifacts from helpers.time_utils import days from helpers.token_utils import distribute_from_whales from scripts.upgrade.upgrade_crv_setts import ( queue_upgrade_crv_strat, CRV_SETTS_TO_UPGRADE, ) from scripts.systems.badger_system import connect_badger from tests.sett.generic_strategy_tests.strategy_flow import ( assert_deposit_withdraw_single_user_flow, assert_single_user_harvest_flow, assert_migrate_single_user, assert_withdraw_other, assert_single_user_harvest_flow_remove_fees, ) from tests.sett.generic_strategy_tests.strategy_permissions import ( assert_strategy_action_permissions, assert_strategy_config_permissions, assert_strategy_pausing_permissions, assert_sett_pausing_permissions, assert_sett_config_permissions, assert_controller_permissions, ) from tests.conftest import badger_single_sett from config.badger_config import badger_config console = Console() @pytest.mark.parametrize( "settID", CRV_SETTS_TO_UPGRADE, )
[ 11748, 12972, 9288, 198, 6738, 7586, 494, 1330, 17453, 11, 6333, 11, 7071, 198, 6738, 5527, 13, 41947, 1330, 24371, 198, 198, 6738, 49385, 13, 17744, 13, 43826, 9442, 13511, 1330, 16026, 9442, 13511, 198, 6738, 49385, 13, 17744, 13, 14323, 1741, 13, 8890, 1741, 13511, 1330, 41798, 13511, 198, 6738, 49385, 13, 2301, 4592, 1330, 20478, 198, 6738, 49385, 13, 2301, 4592, 13, 50179, 1330, 20316, 198, 6738, 49385, 13, 2435, 62, 26791, 1330, 1528, 198, 6738, 49385, 13, 30001, 62, 26791, 1330, 14983, 62, 6738, 62, 1929, 2040, 198, 6738, 14750, 13, 929, 9526, 13, 929, 9526, 62, 6098, 85, 62, 2617, 912, 1330, 357, 198, 220, 220, 220, 16834, 62, 929, 9526, 62, 6098, 85, 62, 2536, 265, 11, 198, 220, 220, 220, 8740, 53, 62, 28480, 4694, 62, 10468, 62, 52, 6968, 49, 19266, 11, 198, 8, 198, 6738, 14750, 13, 10057, 82, 13, 14774, 1362, 62, 10057, 1330, 2018, 62, 14774, 1362, 198, 6738, 5254, 13, 17744, 13, 41357, 62, 2536, 4338, 62, 41989, 13, 2536, 4338, 62, 11125, 1330, 357, 198, 220, 220, 220, 6818, 62, 10378, 7434, 62, 4480, 19334, 62, 29762, 62, 7220, 62, 11125, 11, 198, 220, 220, 220, 6818, 62, 29762, 62, 7220, 62, 9869, 4223, 62, 11125, 11, 198, 220, 220, 220, 6818, 62, 76, 42175, 62, 29762, 62, 7220, 11, 198, 220, 220, 220, 6818, 62, 4480, 19334, 62, 847, 11, 198, 220, 220, 220, 6818, 62, 29762, 62, 7220, 62, 9869, 4223, 62, 11125, 62, 28956, 62, 69, 2841, 11, 198, 8, 198, 6738, 5254, 13, 17744, 13, 41357, 62, 2536, 4338, 62, 41989, 13, 2536, 4338, 62, 525, 8481, 1330, 357, 198, 220, 220, 220, 6818, 62, 2536, 4338, 62, 2673, 62, 525, 8481, 11, 198, 220, 220, 220, 6818, 62, 2536, 4338, 62, 11250, 62, 525, 8481, 11, 198, 220, 220, 220, 6818, 62, 2536, 4338, 62, 8957, 3500, 62, 525, 8481, 11, 198, 220, 220, 220, 6818, 62, 17744, 62, 8957, 3500, 62, 525, 8481, 11, 198, 220, 220, 220, 6818, 62, 17744, 62, 11250, 62, 525, 8481, 11, 198, 220, 220, 220, 6818, 62, 36500, 62, 525, 8481, 11, 198, 8, 198, 6738, 5254, 13, 1102, 701, 395, 1330, 2089, 1362, 62, 29762, 62, 17744, 198, 6738, 4566, 13, 14774, 1362, 62, 11250, 1330, 2089, 1362, 62, 11250, 198, 198, 41947, 796, 24371, 3419, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 17744, 2389, 1600, 198, 220, 220, 220, 8740, 53, 62, 28480, 4694, 62, 10468, 62, 52, 6968, 49, 19266, 11, 198, 8, 198 ]
3.016204
432
import enum from typing import Optional from .client import Device from .util import lookup_enum class RefrigeratorDevice(Device): """A higher-level interface for a refrigerator.""" def set_temp_refrigerator_c(self, temp): """Set the refrigerator temperature in Celsius. """ value = self.model.enum_value('TempRefrigerator', str(temp)) self._set_control('RETM', value) def set_temp_freezer_c(self, temp): """Set the freezer temperature in Celsius. """ value = self.model.enum_value('TempFreezer', str(temp)) self._set_control('REFT', value) def poll(self) -> Optional['RefrigeratorStatus']: """Poll the device's current state. Monitoring must be started first with `monitor_start`. :returns: Either a `RefrigeratorStatus` instance or `None` if the status is not yet available. """ # Abort if monitoring has not started yet. if not hasattr(self, 'mon'): return None data = self.mon.poll() if data: res = self.model.decode_monitor(data) return RefrigeratorStatus(self, res) else: return None class RefrigeratorStatus(object): """Higher-level information about a refrigerator's current status. :param refrigerator: The RefrigeratorDevice instance. :param data: JSON data from the API. """ @property @property @property @property @property @property @property @property @property @property @property @property
[ 11748, 33829, 198, 6738, 19720, 1330, 32233, 198, 198, 6738, 764, 16366, 1330, 16232, 198, 6738, 764, 22602, 1330, 35847, 62, 44709, 628, 628, 198, 198, 4871, 6524, 18096, 1352, 24728, 7, 24728, 2599, 198, 220, 220, 220, 37227, 32, 2440, 12, 5715, 7071, 329, 257, 30500, 526, 15931, 628, 220, 220, 220, 825, 900, 62, 29510, 62, 5420, 18096, 1352, 62, 66, 7, 944, 11, 20218, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 30500, 5951, 287, 34186, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 2116, 13, 19849, 13, 44709, 62, 8367, 10786, 30782, 8134, 18096, 1352, 3256, 965, 7, 29510, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 62, 13716, 10786, 2200, 15972, 3256, 1988, 8, 628, 220, 220, 220, 825, 900, 62, 29510, 62, 5787, 9107, 62, 66, 7, 944, 11, 20218, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 30967, 5951, 287, 34186, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 2116, 13, 19849, 13, 44709, 62, 8367, 10786, 30782, 11146, 9107, 3256, 965, 7, 29510, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 2617, 62, 13716, 10786, 2200, 9792, 3256, 1988, 8, 628, 220, 220, 220, 825, 3278, 7, 944, 8, 4613, 32233, 17816, 8134, 18096, 1352, 19580, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 39176, 262, 3335, 338, 1459, 1181, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37484, 1276, 307, 2067, 717, 351, 4600, 41143, 62, 9688, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 82, 25, 15467, 257, 4600, 8134, 18096, 1352, 19580, 63, 4554, 393, 4600, 14202, 63, 611, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3722, 318, 407, 1865, 1695, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2275, 419, 611, 9904, 468, 407, 2067, 1865, 13, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 468, 35226, 7, 944, 11, 705, 2144, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 2116, 13, 2144, 13, 30393, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1366, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 2116, 13, 19849, 13, 12501, 1098, 62, 41143, 7, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6524, 18096, 1352, 19580, 7, 944, 11, 581, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 198, 4871, 6524, 18096, 1352, 19580, 7, 15252, 2599, 198, 220, 220, 220, 37227, 48708, 12, 5715, 1321, 546, 257, 30500, 338, 1459, 3722, 13, 628, 220, 220, 220, 1058, 17143, 30500, 25, 383, 6524, 18096, 1352, 24728, 4554, 13, 198, 220, 220, 220, 1058, 17143, 1366, 25, 19449, 1366, 422, 262, 7824, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 198 ]
2.612013
616
from ursinanetworking import * Server = UrsinaNetworkingServer("localhost", 25565) @Server.event @Server.event while True: Server.process_net_events()
[ 6738, 220, 1834, 259, 272, 316, 16090, 1330, 1635, 198, 198, 10697, 796, 37935, 1437, 7934, 16090, 10697, 7203, 36750, 1600, 14280, 2996, 8, 198, 198, 31, 10697, 13, 15596, 198, 198, 31, 10697, 13, 15596, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 9652, 13, 14681, 62, 3262, 62, 31534, 3419 ]
2.981132
53
#!/usr/bin/env python3 from aoc2021.util import print_solutions, import_strs from math import inf from itertools import permutations import copy Numbers = { "abcefg": 0, "cf": 1, "acdeg": 2, "acdfg": 3, "bcdf": 4, "abdfg": 5, "abdefg": 6, "acf": 7, "abcdefg": 8, "abcdfg": 9 } if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 6738, 257, 420, 1238, 2481, 13, 22602, 1330, 3601, 62, 82, 14191, 11, 1330, 62, 2536, 82, 198, 198, 6738, 10688, 1330, 1167, 198, 198, 6738, 340, 861, 10141, 1330, 9943, 32855, 198, 198, 11748, 4866, 198, 198, 49601, 796, 1391, 198, 220, 220, 220, 366, 397, 344, 40616, 1298, 657, 11, 198, 220, 220, 220, 366, 12993, 1298, 352, 11, 198, 220, 220, 220, 366, 330, 13500, 1298, 362, 11, 198, 220, 220, 220, 366, 330, 7568, 70, 1298, 513, 11, 198, 220, 220, 220, 366, 15630, 7568, 1298, 604, 11, 198, 220, 220, 220, 366, 397, 7568, 70, 1298, 642, 11, 198, 220, 220, 220, 366, 397, 4299, 70, 1298, 718, 11, 198, 220, 220, 220, 366, 330, 69, 1298, 767, 11, 198, 220, 220, 220, 366, 39305, 4299, 70, 1298, 807, 11, 198, 220, 220, 220, 366, 39305, 7568, 70, 1298, 860, 198, 92, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
2.039548
177
import os import importlib if __name__ == "__main__": import sys import pickle assert len(sys.argv) >= 3 name = sys.argv[1] Launcher = find_launcher_using_name(name) cache = "/tmp/tmux_launcher/{}".format(name) if os.path.isfile(cache): instance = pickle.load(open(cache, 'r')) else: instance = Launcher() cmd = sys.argv[2] if cmd == "launch": instance.launch() elif cmd == "stop": instance.stop() elif cmd == "send": expid = int(sys.argv[3]) cmd = int(sys.argv[4]) instance.send_command(expid, cmd) os.makedirs("/tmp/tmux_launcher/", exist_ok=True) pickle.dump(instance, open(cache, 'w'))
[ 11748, 28686, 198, 11748, 1330, 8019, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 25064, 198, 220, 220, 220, 1330, 2298, 293, 628, 220, 220, 220, 6818, 18896, 7, 17597, 13, 853, 85, 8, 18189, 513, 628, 220, 220, 220, 1438, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 220, 220, 220, 26385, 796, 1064, 62, 38722, 2044, 62, 3500, 62, 3672, 7, 3672, 8, 628, 220, 220, 220, 12940, 796, 12813, 22065, 14, 17209, 2821, 62, 38722, 2044, 14, 90, 92, 1911, 18982, 7, 3672, 8, 198, 220, 220, 220, 611, 28686, 13, 6978, 13, 4468, 576, 7, 23870, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 4554, 796, 2298, 293, 13, 2220, 7, 9654, 7, 23870, 11, 705, 81, 6, 4008, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4554, 796, 26385, 3419, 628, 220, 220, 220, 23991, 796, 25064, 13, 853, 85, 58, 17, 60, 198, 220, 220, 220, 611, 23991, 6624, 366, 35681, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 4554, 13, 35681, 3419, 198, 220, 220, 220, 1288, 361, 23991, 6624, 366, 11338, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 4554, 13, 11338, 3419, 198, 220, 220, 220, 1288, 361, 23991, 6624, 366, 21280, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 312, 796, 493, 7, 17597, 13, 853, 85, 58, 18, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 493, 7, 17597, 13, 853, 85, 58, 19, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 4554, 13, 21280, 62, 21812, 7, 11201, 312, 11, 23991, 8, 628, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7203, 14, 22065, 14, 17209, 2821, 62, 38722, 2044, 14, 1600, 2152, 62, 482, 28, 17821, 8, 198, 220, 220, 220, 2298, 293, 13, 39455, 7, 39098, 11, 1280, 7, 23870, 11, 705, 86, 6, 4008, 198 ]
2.177914
326
#!/usr/bin/env python import glob import os import shlex import sys import platform script_dir = os.path.dirname(__file__) jc3_handling_editor_root = os.path.normpath(os.path.join(script_dir, os.pardir)) sys.path.insert(0, os.path.abspath(os.path.join(jc3_handling_editor_root, 'tools'))) sys.path.insert(0, os.path.join(jc3_handling_editor_root, 'tools', 'gyp', 'pylib')) import gyp if __name__ == '__main__': args = sys.argv[1:] # GYP bug. if sys.platform == 'win32': args.append(os.path.join(jc3_handling_editor_root, 'jc3_handling_editor.gyp')) standalone_fn = os.path.join(jc3_handling_editor_root, 'standalone.gypi') toolchain_fn = os.path.join(jc3_handling_editor_root, 'toolchain.gypi') common_fn = os.path.join(jc3_handling_editor_root, 'common.gypi') options_fn = os.path.join(jc3_handling_editor_root, 'config.gypi') else: args.append(os.path.join(os.path.abspath(jc3_handling_editor_root), 'jc3_handling_editor.gyp')) standalone_fn = os.path.join(os.path.abspath(jc3_handling_editor_root), 'standalone.gypi') toolchain_fn = os.path.join(os.path.abspath(jc3_handling_editor_root), 'toolchain.gypi') common_fn = os.path.join(os.path.abspath(jc3_handling_editor_root), 'common.gypi') options_fn = os.path.join(os.path.abspath(jc3_handling_editor_root), 'config.gypi') if os.path.exists(standalone_fn): args.extend(['-I', standalone_fn]) if os.path.exists(toolchain_fn): args.extend(['-I', toolchain_fn]) if os.path.exists(common_fn): args.extend(['-I', common_fn]) if os.path.exists(options_fn): args.extend(['-I', options_fn]) args.append('--depth=' + jc3_handling_editor_root) #args.append('-Dcomponent=shared_library') #args.append('-Dlibrary=shared_library') gyp_args = list(args) print os.environ.get('GYP_GENERATORS') gyp_generators = os.environ.get('GYP_GENERATORS') #if platform.system() == 'Linux' and gyp_generators != 'ninja': # --generator-output defines where the Makefile goes. gyp_args.append('--generator-output=out') # -Goutput_dir defines where the build output goes, relative to the # Makefile. Set it to . so that the build output doesn't end up in out/out. gyp_args.append('-Goutput_dir=.') run_gyp(gyp_args)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 11748, 15095, 198, 11748, 28686, 198, 11748, 427, 2588, 198, 11748, 25064, 198, 11748, 3859, 198, 198, 12048, 62, 15908, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 198, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 220, 796, 28686, 13, 6978, 13, 27237, 6978, 7, 418, 13, 6978, 13, 22179, 7, 12048, 62, 15908, 11, 28686, 13, 26037, 343, 4008, 198, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 31391, 6, 22305, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 28686, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 31391, 3256, 705, 1360, 79, 3256, 705, 79, 2645, 571, 6, 4008, 198, 11748, 308, 4464, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 26498, 796, 25064, 13, 853, 85, 58, 16, 47715, 628, 220, 1303, 402, 48232, 5434, 13, 198, 220, 611, 25064, 13, 24254, 6624, 705, 5404, 2624, 10354, 198, 220, 220, 220, 26498, 13, 33295, 7, 418, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 48055, 18, 62, 4993, 1359, 62, 35352, 13, 1360, 79, 6, 4008, 198, 220, 220, 220, 27669, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 1481, 17749, 13, 1360, 14415, 11537, 198, 220, 220, 220, 2891, 7983, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 25981, 7983, 13, 1360, 14415, 11537, 198, 220, 220, 220, 2219, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 11321, 13, 1360, 14415, 11537, 198, 220, 220, 220, 3689, 62, 22184, 796, 28686, 13, 6978, 13, 22179, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 11, 705, 11250, 13, 1360, 14415, 11537, 198, 220, 2073, 25, 198, 220, 220, 220, 26498, 13, 33295, 7, 418, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 828, 705, 48055, 18, 62, 4993, 1359, 62, 35352, 13, 1360, 79, 6, 4008, 198, 220, 220, 220, 27669, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 828, 705, 1481, 17749, 13, 1360, 14415, 11537, 198, 220, 220, 220, 2891, 7983, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 828, 705, 25981, 7983, 13, 1360, 14415, 11537, 198, 220, 220, 220, 2219, 62, 22184, 220, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 828, 705, 11321, 13, 1360, 14415, 11537, 198, 220, 220, 220, 3689, 62, 22184, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 48055, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 828, 705, 11250, 13, 1360, 14415, 11537, 628, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 1481, 17749, 62, 22184, 2599, 198, 220, 220, 220, 26498, 13, 2302, 437, 7, 17816, 12, 40, 3256, 27669, 62, 22184, 12962, 628, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 25981, 7983, 62, 22184, 2599, 198, 220, 220, 220, 26498, 13, 2302, 437, 7, 17816, 12, 40, 3256, 2891, 7983, 62, 22184, 12962, 628, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 11321, 62, 22184, 2599, 198, 220, 220, 220, 26498, 13, 2302, 437, 7, 17816, 12, 40, 3256, 2219, 62, 22184, 12962, 628, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 25811, 62, 22184, 2599, 198, 220, 220, 220, 26498, 13, 2302, 437, 7, 17816, 12, 40, 3256, 3689, 62, 22184, 12962, 628, 220, 26498, 13, 33295, 10786, 438, 18053, 11639, 1343, 474, 66, 18, 62, 4993, 1359, 62, 35352, 62, 15763, 8, 628, 220, 1303, 22046, 13, 33295, 10786, 12, 35, 42895, 28, 28710, 62, 32016, 11537, 198, 220, 1303, 22046, 13, 33295, 10786, 12, 35, 32016, 28, 28710, 62, 32016, 11537, 198, 220, 308, 4464, 62, 22046, 796, 1351, 7, 22046, 8, 198, 220, 220, 198, 220, 3601, 28686, 13, 268, 2268, 13, 1136, 10786, 31212, 47, 62, 35353, 1137, 1404, 20673, 11537, 198, 220, 220, 198, 220, 308, 4464, 62, 8612, 2024, 796, 28686, 13, 268, 2268, 13, 1136, 10786, 31212, 47, 62, 35353, 1137, 1404, 20673, 11537, 198, 220, 1303, 361, 3859, 13, 10057, 3419, 6624, 705, 19314, 6, 290, 308, 4464, 62, 8612, 2024, 14512, 705, 35073, 6592, 10354, 198, 220, 1303, 1377, 8612, 1352, 12, 22915, 15738, 810, 262, 6889, 7753, 2925, 13, 198, 220, 308, 4464, 62, 22046, 13, 33295, 10786, 438, 8612, 1352, 12, 22915, 28, 448, 11537, 198, 220, 1303, 532, 38, 22915, 62, 15908, 15738, 810, 262, 1382, 5072, 2925, 11, 3585, 284, 262, 198, 220, 1303, 6889, 7753, 13, 5345, 340, 284, 764, 523, 326, 262, 1382, 5072, 1595, 470, 886, 510, 287, 503, 14, 448, 13, 198, 220, 308, 4464, 62, 22046, 13, 33295, 10786, 12, 38, 22915, 62, 15908, 28, 2637, 8, 198, 220, 220, 198, 220, 1057, 62, 1360, 79, 7, 1360, 79, 62, 22046, 8, 198 ]
2.428112
932
""" Res. & VM Mgmt. component of the Infrastructure Management & Abstraction (IMA) Interacts with Docker to replicate the container from origin to destiny """ from docker import APIClient
[ 37811, 198, 4965, 13, 1222, 16990, 337, 70, 16762, 13, 7515, 286, 262, 33709, 8549, 1222, 2275, 301, 7861, 357, 3955, 32, 8, 198, 9492, 8656, 351, 25716, 284, 24340, 262, 9290, 422, 8159, 284, 22701, 198, 37811, 198, 6738, 36253, 1330, 3486, 2149, 75, 1153, 198 ]
4
47
import gzip import struct import datetime import pandas as pd import os if __name__ == '__main__': bin_data = gzip.open(os.path.join('..', 'res', '08302019.NASDAQ_ITCH50.gz'), 'rb') msg_header = bin_data.read(1) itch = ITCH() while msg_header: if msg_header == "S": message = itch.get_binary(11) elif msg_header == "R": message = itch.get_binary(38) elif msg_header == "H": message = itch.get_binary(24) elif msg_header == "Y": message = itch.get_binary(19) elif msg_header == "L": message = itch.get_binary(25) elif msg_header == "V": message = itch.get_binary(34) elif msg_header == "W": message = itch.get_binary(11) elif msg_header == "K": message = itch.get_binary(27) elif msg_header == "A": message = itch.get_binary(35) elif msg_header == "F": message = itch.get_binary(39) elif msg_header == "E": message = itch.get_binary(30) elif msg_header == "C": message = itch.get_binary(35) elif msg_header == "X": message = itch.get_binary(22) elif msg_header == "D": message = itch.get_binary(18) elif msg_header == "U": message = itch.get_binary(34) elif msg_header == "P": message = itch.get_binary(43) itch.get_vwap(message) elif msg_header == "Q": message = itch.get_binary(39) elif msg_header == "B": message = itch.get_binary(18) elif msg_header == "I": message = itch.get_binary(49) elif msg_header == "N": message = itch.get_binary(19) msg_header = bin_data.read(1) bin_data.close()
[ 11748, 308, 13344, 198, 11748, 2878, 198, 11748, 4818, 8079, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 28686, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 628, 220, 220, 220, 9874, 62, 7890, 796, 308, 13344, 13, 9654, 7, 418, 13, 6978, 13, 22179, 10786, 492, 3256, 705, 411, 3256, 705, 2919, 1270, 23344, 13, 18293, 46640, 62, 31949, 1120, 13, 34586, 33809, 705, 26145, 11537, 198, 220, 220, 220, 31456, 62, 25677, 796, 9874, 62, 7890, 13, 961, 7, 16, 8, 198, 220, 220, 220, 49700, 796, 7283, 3398, 3419, 628, 220, 220, 220, 981, 31456, 62, 25677, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 31456, 62, 25677, 6624, 366, 50, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1157, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 49, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2548, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 39, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1731, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 56, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1129, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 43, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1495, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 53, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2682, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 54, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1157, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 42, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1983, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 32, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2327, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 37, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2670, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 36, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1270, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 34, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2327, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 55, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1828, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 35, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1507, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 52, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2682, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 47, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 3559, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49700, 13, 1136, 62, 85, 86, 499, 7, 20500, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 48, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2670, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 33, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1507, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 40, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 2920, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 31456, 62, 25677, 6624, 366, 45, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 49700, 13, 1136, 62, 39491, 7, 1129, 8, 628, 220, 220, 220, 220, 220, 220, 220, 31456, 62, 25677, 796, 9874, 62, 7890, 13, 961, 7, 16, 8, 628, 220, 220, 220, 9874, 62, 7890, 13, 19836, 3419, 198 ]
1.978701
939
''' 创造一个变量他等于5如果这个变量小于10会打印我打得过那些忍者,小于30会打印有点难,不过我能应付如果小于50会打印太多了 ''' ninjas = 5 if ninjas < 10: print('我打得过那些忍者') elif ninjas < 30: print('有点难,不过我能应付') elif ninjas < 50: print('太多了')
[ 7061, 6, 198, 26344, 249, 34460, 254, 31660, 10310, 103, 20998, 246, 34932, 237, 20015, 244, 163, 255, 231, 12859, 236, 20, 36685, 224, 162, 252, 250, 32573, 247, 10310, 103, 20998, 246, 34932, 237, 22887, 237, 12859, 236, 940, 27670, 248, 33699, 241, 39355, 108, 22755, 239, 33699, 241, 36181, 245, 32573, 229, 165, 224, 96, 12859, 249, 33232, 235, 38519, 171, 120, 234, 22887, 237, 12859, 236, 1270, 27670, 248, 33699, 241, 39355, 108, 17312, 231, 163, 224, 117, 49694, 122, 171, 120, 234, 38834, 32573, 229, 22755, 239, 47797, 121, 41753, 242, 20015, 246, 36685, 224, 162, 252, 250, 22887, 237, 12859, 236, 1120, 27670, 248, 33699, 241, 39355, 108, 13783, 103, 13783, 248, 12859, 228, 198, 7061, 6, 198, 35073, 28121, 796, 642, 198, 361, 13462, 28121, 1279, 838, 25, 198, 220, 220, 220, 3601, 10786, 22755, 239, 33699, 241, 36181, 245, 32573, 229, 165, 224, 96, 12859, 249, 33232, 235, 38519, 11537, 198, 417, 361, 13462, 28121, 1279, 1542, 25, 198, 220, 220, 220, 3601, 10786, 17312, 231, 163, 224, 117, 49694, 122, 171, 120, 234, 38834, 32573, 229, 22755, 239, 47797, 121, 41753, 242, 20015, 246, 11537, 198, 417, 361, 13462, 28121, 1279, 2026, 25, 198, 220, 220, 220, 3601, 10786, 13783, 103, 13783, 248, 12859, 228, 11537, 628, 198 ]
0.916667
216
import numpy as np import mindspore.nn as nn from mindspore import Tensor, context from mindspore.ops import operations as P from mindspore.nn import WithLossCell, TrainOneStepCell from mindspore.nn import Momentum from mindspore.parallel._cost_model_context import set_cost_model_context
[ 11748, 299, 32152, 355, 45941, 198, 198, 11748, 2000, 2777, 382, 13, 20471, 355, 299, 77, 198, 6738, 2000, 2777, 382, 1330, 309, 22854, 11, 4732, 198, 6738, 2000, 2777, 382, 13, 2840, 1330, 4560, 355, 350, 198, 6738, 2000, 2777, 382, 13, 20471, 1330, 2080, 43, 793, 28780, 11, 16835, 3198, 8600, 28780, 198, 6738, 2000, 2777, 382, 13, 20471, 1330, 29278, 388, 198, 6738, 2000, 2777, 382, 13, 1845, 29363, 13557, 15805, 62, 19849, 62, 22866, 1330, 900, 62, 15805, 62, 19849, 62, 22866 ]
3.360465
86
from gi.repository import GLib, Gio, Gtk from datetime import datetime, timedelta, date from agua_amiga.datastore import Datastore, convert_from_display_to_mL, convert_from_mL_to_display @Gtk.Template.from_file("ui_definitions/StreakWindow.glade")
[ 6738, 308, 72, 13, 260, 1930, 37765, 1330, 10188, 571, 11, 402, 952, 11, 402, 30488, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 11, 3128, 198, 6738, 556, 6413, 62, 321, 13827, 13, 19608, 459, 382, 1330, 16092, 459, 382, 11, 10385, 62, 6738, 62, 13812, 62, 1462, 62, 32087, 11, 10385, 62, 6738, 62, 32087, 62, 1462, 62, 13812, 628, 198, 31, 38, 30488, 13, 30800, 13, 6738, 62, 7753, 7203, 9019, 62, 4299, 50101, 14, 30611, 461, 27703, 13, 4743, 671, 4943 ]
2.862069
87
'Save a subset of lines from an input file; start at offset and count n lines' 'default 100 lines starting from 0' import sys import argparse parser = argparse.ArgumentParser( description = "Save a subset of lines from the input file to the output file" ) parser.add_argument( "input_file", help = "path to input file" ) parser.add_argument( "output_file", help = "path to output file" ) parser.add_argument( "-o", "--offset", help = "line number to start from, default 0", type = int, default = 0 ) parser.add_argument( "-l", "--lines", help = "number of lines to write, default 100", type = int, default = 100 ) args = parser.parse_args() try: lines = int( sys.argv[4] ) except IndexError: lines = 100 i = open( args.input_file ) o = open( args.output_file, 'wb' ) offset = args.offset count = 0 for line in i: if offset > 0: offset -= 1 continue o.write( line ) count += 1 if count >= args.lines: break
[ 6, 16928, 257, 24637, 286, 3951, 422, 281, 5128, 2393, 26, 923, 379, 11677, 290, 954, 299, 3951, 6, 198, 1549, 891, 1721, 1802, 3951, 3599, 422, 657, 6, 198, 198, 11748, 25064, 198, 11748, 1822, 29572, 198, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 6764, 796, 366, 16928, 257, 24637, 286, 3951, 422, 262, 5128, 2393, 284, 262, 5072, 2393, 1, 1267, 198, 48610, 13, 2860, 62, 49140, 7, 366, 15414, 62, 7753, 1600, 1037, 796, 366, 6978, 284, 5128, 2393, 1, 1267, 198, 48610, 13, 2860, 62, 49140, 7, 366, 22915, 62, 7753, 1600, 1037, 796, 366, 6978, 284, 5072, 2393, 1, 1267, 198, 48610, 13, 2860, 62, 49140, 7, 27444, 78, 1600, 366, 438, 28968, 1600, 1037, 796, 366, 1370, 1271, 284, 923, 422, 11, 4277, 657, 1600, 2099, 796, 493, 11, 4277, 796, 657, 1267, 198, 48610, 13, 2860, 62, 49140, 7, 27444, 75, 1600, 366, 438, 6615, 1600, 1037, 796, 366, 17618, 286, 3951, 284, 3551, 11, 4277, 1802, 1600, 2099, 796, 493, 11, 4277, 796, 1802, 1267, 198, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 198, 197, 198, 28311, 25, 198, 197, 6615, 796, 493, 7, 25064, 13, 853, 85, 58, 19, 60, 1267, 198, 16341, 12901, 12331, 25, 198, 197, 6615, 796, 1802, 197, 628, 198, 72, 796, 1280, 7, 26498, 13, 15414, 62, 7753, 1267, 198, 78, 796, 1280, 7, 26498, 13, 22915, 62, 7753, 11, 705, 39346, 6, 1267, 198, 198, 28968, 796, 26498, 13, 28968, 198, 9127, 796, 657, 198, 198, 1640, 1627, 287, 1312, 25, 628, 197, 361, 11677, 1875, 657, 25, 198, 197, 197, 28968, 48185, 352, 198, 197, 197, 43043, 628, 197, 78, 13, 13564, 7, 1627, 1267, 198, 197, 9127, 15853, 352, 198, 197, 198, 197, 361, 954, 18189, 26498, 13, 6615, 25, 198, 197, 197, 9032, 198, 197, 628, 197, 197, 198, 197, 197, 198, 197, 197, 198, 197, 197, 198, 197, 197, 198, 197, 197, 198, 197, 197 ]
2.9
330
import datetime from typing import Optional, List, Union, TYPE_CHECKING from pygw2.core.enums import * from pygw2.utils import LazyLoader, BaseModel if TYPE_CHECKING: from pygw2.core.models.pvp import PvPEquipment from pygw2.core.models.sab import SAB from pygw2.core.models.guild import Guild from pygw2.core.models.misc import Title, Color from pygw2.core.models.backstory import BiographyAnswer from pygw2.core.models.items import Item from pygw2.core.models.general import Skin, ItemStat from pygw2.core.models.wvw import WvWAbility
[ 11748, 4818, 8079, 198, 6738, 19720, 1330, 32233, 11, 7343, 11, 4479, 11, 41876, 62, 50084, 2751, 198, 198, 6738, 12972, 70, 86, 17, 13, 7295, 13, 268, 5700, 1330, 1635, 198, 6738, 12972, 70, 86, 17, 13, 26791, 1330, 406, 12582, 17401, 11, 7308, 17633, 198, 198, 361, 41876, 62, 50084, 2751, 25, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 79, 36133, 1330, 18367, 11401, 421, 4667, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 82, 397, 1330, 311, 6242, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 70, 3547, 1330, 16446, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 44374, 1330, 11851, 11, 5315, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 1891, 13571, 1330, 8436, 4867, 33706, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 23814, 1330, 9097, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 24622, 1330, 17847, 11, 9097, 17126, 198, 220, 220, 220, 422, 12972, 70, 86, 17, 13, 7295, 13, 27530, 13, 86, 85, 86, 1330, 370, 85, 54, 22453, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 198 ]
2.656388
227
import pandas as pd import matplotlib.pyplot as plt from io import BytesIO import base64
[ 11748, 19798, 292, 355, 279, 67, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 33245, 1330, 2750, 4879, 9399, 198, 11748, 2779, 2414, 628 ]
3.103448
29
from __future__ import absolute_import from sentry.api.base import Endpoint from sentry.api.exceptions import ResourceDoesNotExist from sentry.app import raven from sentry.models import Team, TeamStatus from sentry.models.apikey import ROOT_KEY from .organization import OrganizationPermission
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 6738, 1908, 563, 13, 15042, 13, 8692, 1330, 5268, 4122, 198, 6738, 1908, 563, 13, 15042, 13, 1069, 11755, 1330, 20857, 13921, 3673, 3109, 396, 198, 6738, 1908, 563, 13, 1324, 1330, 37735, 198, 6738, 1908, 563, 13, 27530, 1330, 4816, 11, 4816, 19580, 198, 6738, 1908, 563, 13, 27530, 13, 499, 522, 88, 1330, 15107, 2394, 62, 20373, 198, 198, 6738, 764, 9971, 1634, 1330, 12275, 5990, 3411, 628, 198 ]
3.679012
81
# Задание 5.2b london_co = { 'r1' : { 'location': '21 New Globe Walk', 'vendor': 'Cisco', 'model': '4451', 'ios': '15.4', 'ip': '10.255.0.1' }, 'r2' : { 'location': '21 New Globe Walk', 'vendor': 'Cisco', 'model': '4451', 'ios': '15.4', 'ip': '10.255.0.2' }, 'sw1' : { 'location': '21 New Globe Walk', 'vendor': 'Cisco', 'model': '3850', 'ios': '3.6.XE', 'ip': '10.255.0.101', 'vlans': '10,20,30', 'routing': True } } device = input('Enter divece name: ') key = dict(device).keys() param = input('Enter parameter name {}: '.format(key)) print(london_co[device][param])
[ 2, 12466, 245, 16142, 43666, 16142, 22177, 18849, 16843, 642, 13, 17, 65, 198, 198, 75, 3391, 62, 1073, 796, 1391, 198, 220, 220, 220, 705, 81, 16, 6, 1058, 1391, 198, 220, 220, 220, 705, 24886, 10354, 705, 2481, 968, 18260, 6857, 3256, 198, 220, 220, 220, 705, 85, 18738, 10354, 705, 34, 4861, 3256, 198, 220, 220, 220, 705, 19849, 10354, 705, 19, 36330, 3256, 198, 220, 220, 220, 705, 4267, 10354, 705, 1314, 13, 19, 3256, 198, 220, 220, 220, 705, 541, 10354, 705, 940, 13, 13381, 13, 15, 13, 16, 6, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 705, 81, 17, 6, 1058, 1391, 198, 220, 220, 220, 705, 24886, 10354, 705, 2481, 968, 18260, 6857, 3256, 198, 220, 220, 220, 705, 85, 18738, 10354, 705, 34, 4861, 3256, 198, 220, 220, 220, 705, 19849, 10354, 705, 19, 36330, 3256, 198, 220, 220, 220, 705, 4267, 10354, 705, 1314, 13, 19, 3256, 198, 220, 220, 220, 705, 541, 10354, 705, 940, 13, 13381, 13, 15, 13, 17, 6, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 705, 2032, 16, 6, 1058, 1391, 198, 220, 220, 220, 705, 24886, 10354, 705, 2481, 968, 18260, 6857, 3256, 198, 220, 220, 220, 705, 85, 18738, 10354, 705, 34, 4861, 3256, 198, 220, 220, 220, 705, 19849, 10354, 705, 2548, 1120, 3256, 198, 220, 220, 220, 705, 4267, 10354, 705, 18, 13, 21, 13, 55, 36, 3256, 198, 220, 220, 220, 705, 541, 10354, 705, 940, 13, 13381, 13, 15, 13, 8784, 3256, 198, 220, 220, 220, 705, 19279, 504, 10354, 705, 940, 11, 1238, 11, 1270, 3256, 198, 220, 220, 220, 705, 81, 13660, 10354, 6407, 198, 220, 220, 220, 1782, 198, 92, 198, 198, 25202, 796, 5128, 10786, 17469, 15647, 344, 1438, 25, 705, 8, 198, 2539, 796, 8633, 7, 25202, 737, 13083, 3419, 198, 17143, 796, 5128, 10786, 17469, 11507, 1438, 23884, 25, 45302, 18982, 7, 2539, 4008, 198, 198, 4798, 7, 75, 3391, 62, 1073, 58, 25202, 7131, 17143, 12962 ]
1.967359
337
ADVANCED_QUERY_KEY = 'advancedQuery' ALL = 'all' AND = 'AND' AND_JOIN = ' AND ' AND_NOT_JOIN = ' AND NOT ' APPENDED = 'appended' APPLICATION_JSON = 'application/json' ASC = 'asc' AT_ID = '@id' AT_CONTEXT = '@context' AT_TYPE = '@type' AUDIT = 'audit' AUDIT_TITLE = 'Audit' BOOL = 'bool' BOOST_VALUES = 'boost_values' BUCKETS = 'buckets' CLEAR_FILTERS = 'clear_filters' COLLECTION_NAME = 'item_type' COLUMNS = 'columns' DASH = '-' DEBUG_KEY = 'debug' DESC = 'desc' DOC_COUNT = 'doc_count' EMBEDDED = 'embedded.' EMBEDDED_FRAME = 'embedded' EMBEDDED_TYPE = 'embedded.@type' EXCLUDE = 'exclude' EXISTS = 'exists' FACETS = 'facets' FIELD_KEY = 'field' FILTERS = 'filters' FRAME_KEY = 'frame' FROM_KEY = 'from' GRAPH = '@graph' GROUP_BY = 'group_by' GROUP_SUBMITTER = 'group.submitter' HITS = 'hits' ITEM = 'Item' JS_IS_EQUAL = 'isEqual' JS_TRUE = 'true' JS_FALSE = 'false' JSONLD_CONTEXT = 'jsonld_context' KEY = 'key' LIMIT_KEY = 'limit' LENGTH = 'length' LONG = 'long' MATRIX = 'matrix' MATRIX_TITLE = 'Matrix' MODE_KEY = 'mode' NO = 'no' NO_LIMIT = 999999 NO_RESULTS_FOUND = 'No results found' NON_SORTABLE = 'non_sortable' NOT_JOIN = ' NOT ' NOT_FLAG = '!' NOTIFICATION = 'notification' OBJECT_FRAME = 'object' ORDER = 'order' PERIOD = '.' PICKER = 'picker' PRINCIPALS_ALLOWED_VIEW = 'principals_allowed.view' PROPERTIES = 'properties' QUERY_STRING = 'query_string' RAW_QUERY = 'raw_query' REMOVE = 'remove' REPORT_TITLE = 'Report' SEARCH_AUDIT = 'search_audit' SEARCH_BASE = 'search_base' SEARCH_PATH = '/search/' SEARCH_TITLE = 'Search' SEARCH_TERM_KEY = 'searchTerm' SIMPLE_QUERY_STRING = 'simple_query_string' SORT_KEY = 'sort' _SOURCE = '_source' SUCCESS = 'Success' SUMMARY_TITLE = 'Summary' SUMMARY = 'summary' TITLE = 'title' TERM = 'term' TERMS = 'terms' TOTAL = 'total' TYPES = 'types' TYPE_KEY = 'type' WILDCARD = '*' X = 'x' Y = 'y' YES = 'yes'
[ 2885, 53, 20940, 1961, 62, 10917, 19664, 62, 20373, 796, 705, 32225, 2903, 20746, 6, 198, 7036, 796, 705, 439, 6, 198, 6981, 796, 705, 6981, 6, 198, 6981, 62, 45006, 1268, 796, 705, 5357, 705, 198, 6981, 62, 11929, 62, 45006, 1268, 796, 705, 5357, 5626, 705, 198, 24805, 49361, 796, 705, 1324, 1631, 6, 198, 2969, 31484, 6234, 62, 40386, 796, 705, 31438, 14, 17752, 6, 198, 42643, 796, 705, 3372, 6, 198, 1404, 62, 2389, 796, 705, 31, 312, 6, 198, 1404, 62, 10943, 32541, 796, 705, 31, 22866, 6, 198, 1404, 62, 25216, 796, 705, 31, 4906, 6, 198, 48877, 2043, 796, 705, 3885, 270, 6, 198, 48877, 2043, 62, 49560, 2538, 796, 705, 16353, 270, 6, 198, 8202, 3535, 796, 705, 30388, 6, 198, 33, 6684, 2257, 62, 23428, 35409, 796, 705, 39521, 62, 27160, 6, 198, 33, 16696, 32716, 796, 705, 27041, 1039, 6, 198, 29931, 1503, 62, 46700, 51, 4877, 796, 705, 20063, 62, 10379, 1010, 6, 198, 25154, 16779, 2849, 62, 20608, 796, 705, 9186, 62, 4906, 6, 198, 25154, 5883, 8035, 796, 705, 28665, 82, 6, 198, 35, 11211, 796, 705, 19355, 198, 30531, 62, 20373, 796, 705, 24442, 6, 198, 30910, 34, 796, 705, 20147, 6, 198, 38715, 62, 34, 28270, 796, 705, 15390, 62, 9127, 6, 198, 3620, 33, 1961, 35, 1961, 796, 705, 20521, 9395, 2637, 198, 3620, 33, 1961, 35, 1961, 62, 10913, 10067, 796, 705, 20521, 9395, 6, 198, 3620, 33, 1961, 35, 1961, 62, 25216, 796, 705, 20521, 9395, 13, 31, 4906, 6, 198, 6369, 5097, 52, 7206, 796, 705, 1069, 9152, 6, 198, 6369, 1797, 4694, 796, 705, 1069, 1023, 6, 198, 37, 2246, 32716, 796, 705, 38942, 1039, 6, 198, 44603, 62, 20373, 796, 705, 3245, 6, 198, 46700, 51, 4877, 796, 705, 10379, 1010, 6, 198, 10913, 10067, 62, 20373, 796, 705, 14535, 6, 198, 10913, 2662, 62, 20373, 796, 705, 6738, 6, 198, 10761, 31300, 796, 705, 31, 34960, 6, 198, 46846, 62, 17513, 796, 705, 8094, 62, 1525, 6, 198, 46846, 62, 50, 10526, 36393, 5781, 796, 705, 8094, 13, 7266, 37974, 6, 198, 39, 29722, 796, 705, 71, 896, 6, 198, 2043, 3620, 796, 705, 7449, 6, 198, 20120, 62, 1797, 62, 36, 10917, 1847, 796, 705, 271, 36, 13255, 6, 198, 20120, 62, 5446, 8924, 796, 705, 7942, 6, 198, 20120, 62, 37, 23719, 796, 705, 9562, 6, 198, 40386, 11163, 62, 10943, 32541, 796, 705, 17752, 335, 62, 22866, 6, 198, 20373, 796, 705, 2539, 6, 198, 43, 3955, 2043, 62, 20373, 796, 705, 32374, 6, 198, 43, 49494, 796, 705, 13664, 6, 198, 43, 18494, 796, 705, 6511, 6, 198, 41636, 7112, 55, 796, 705, 6759, 8609, 6, 198, 41636, 7112, 55, 62, 49560, 2538, 796, 705, 46912, 6, 198, 49058, 62, 20373, 796, 705, 14171, 6, 198, 15285, 796, 705, 3919, 6, 198, 15285, 62, 43, 3955, 2043, 796, 36006, 17032, 198, 15285, 62, 46274, 62, 37, 15919, 796, 705, 2949, 2482, 1043, 6, 198, 45, 1340, 62, 50, 1581, 38148, 796, 705, 13159, 62, 30619, 540, 6, 198, 11929, 62, 45006, 1268, 796, 705, 5626, 705, 198, 11929, 62, 38948, 796, 705, 13679, 198, 11929, 30643, 6234, 796, 705, 1662, 2649, 6, 198, 9864, 23680, 62, 10913, 10067, 796, 705, 15252, 6, 198, 12532, 1137, 796, 705, 2875, 6, 198, 18973, 40, 3727, 796, 705, 2637, 198, 47, 11860, 1137, 796, 705, 79, 15799, 6, 198, 4805, 30158, 4061, 23333, 62, 7036, 3913, 1961, 62, 28206, 796, 705, 1050, 1939, 541, 874, 62, 40845, 13, 1177, 6, 198, 4805, 3185, 17395, 11015, 796, 705, 48310, 6, 198, 10917, 19664, 62, 18601, 2751, 796, 705, 22766, 62, 8841, 6, 198, 20530, 62, 10917, 19664, 796, 705, 1831, 62, 22766, 6, 198, 2200, 11770, 6089, 796, 705, 28956, 6, 198, 2200, 15490, 62, 49560, 2538, 796, 705, 19100, 6, 198, 5188, 31315, 62, 48877, 2043, 796, 705, 12947, 62, 3885, 270, 6, 198, 5188, 31315, 62, 33, 11159, 796, 705, 12947, 62, 8692, 6, 198, 5188, 31315, 62, 34219, 796, 31051, 12947, 14, 6, 198, 5188, 31315, 62, 49560, 2538, 796, 705, 18243, 6, 198, 5188, 31315, 62, 5781, 44, 62, 20373, 796, 705, 12947, 40596, 6, 198, 48913, 16437, 62, 10917, 19664, 62, 18601, 2751, 796, 705, 36439, 62, 22766, 62, 8841, 6, 198, 50, 9863, 62, 20373, 796, 705, 30619, 6, 198, 62, 47690, 796, 705, 62, 10459, 6, 198, 12564, 4093, 7597, 796, 705, 33244, 6, 198, 50, 5883, 44, 13153, 62, 49560, 2538, 796, 705, 22093, 6, 198, 50, 5883, 44, 13153, 796, 705, 49736, 6, 198, 49560, 2538, 796, 705, 7839, 6, 198, 5781, 44, 796, 705, 4354, 6, 198, 5781, 5653, 796, 705, 38707, 6, 198, 51, 27510, 796, 705, 23350, 6, 198, 9936, 47, 1546, 796, 705, 19199, 6, 198, 25216, 62, 20373, 796, 705, 4906, 6, 198, 54, 4146, 9697, 9795, 796, 705, 9, 6, 198, 55, 796, 705, 87, 6, 198, 56, 796, 705, 88, 6, 198, 43335, 796, 705, 8505, 6, 198 ]
2.221292
836
import pytest from app.app import create_app @pytest.fixture() @pytest.fixture() @pytest.fixture()
[ 11748, 12972, 9288, 198, 198, 6738, 598, 13, 1324, 1330, 2251, 62, 1324, 628, 198, 31, 9078, 9288, 13, 69, 9602, 3419, 628, 198, 31, 9078, 9288, 13, 69, 9602, 3419, 628, 198, 31, 9078, 9288, 13, 69, 9602, 3419, 198 ]
2.585366
41
#!/usr/bin/env python3 """LXD charm.""" import logging import os import shutil import subprocess import tarfile import tempfile from urllib.error import HTTPError, URLError from urllib.request import urlopen from ops.charm import ( ActionEvent, CharmBase, ConfigChangedEvent, InstallEvent, StartEvent, ) from ops.framework import StoredState from ops.main import main from ops.model import ActiveStatus, BlockedStatus, MaintenanceStatus, ModelError logger = logging.getLogger(__name__) SYSCTL_CONFIGS = { "fs.aio-max-nr": 524288, "fs.inotify.max_queued_events": 1048576, "fs.inotify.max_user_instances": 1048576, "fs.inotify.max_user_watches": 1048576, "kernel.dmesg_restrict": 1, "kernel.keys.maxbytes": 2000000, "kernel.keys.maxkeys": 2000, "net.core.bpf_jit_limit": 3000000000, "net.ipv4.neigh.default.gc_thresh3": 8192, "net.ipv6.neigh.default.gc_thresh3": 8192, "vm.max_map_count": 262144, } SYSTEMD_TMPFILES_CONFIGS = [ "z /proc/sched_debug 0400 - - -", "z /sys/kernel/slab 0700 - - -", ] REBOOT_REQUIRED_FILE = "/run/lxd-reboot-required" class LxdCharm(CharmBase): """LXD charm class.""" _stored = StoredState() def __init__(self, *args): """Initialize charm's variables.""" super().__init__(*args) # Initialize the persistent storage if needed self._stored.set_default( addresses={}, config={}, lxd_binary_path=None, lxd_initialized=False, lxd_installed=False, lxd_snap_path=None, reboot_required=False, ) # Action event handlers self.framework.observe( self.on.add_trusted_client_action, self._on_action_add_trusted_client ) self.framework.observe(self.on.debug_action, self._on_action_debug) self.framework.observe( self.on.show_pending_config_action, self._on_action_show_pending_config ) # Main event handlers self.framework.observe(self.on.install, self._on_charm_install) self.framework.observe(self.on.config_changed, self._on_charm_config_changed) self.framework.observe(self.on.start, self._on_charm_start) self.framework.observe(self.on.upgrade_charm, self._on_charm_upgrade) def _on_action_add_trusted_client(self, event: ActionEvent) -> None: """Add a client certificate to the trusted list.""" name = event.params.get("name", "unknown") cert = event.params.get("cert") cert_url = event.params.get("cert-url") projects = event.params.get("projects") if not cert and not cert_url: msg = "One of cert or cert-url parameter needs to be provided." event.fail(msg) logger.error(msg) return if cert: # The received PEM needs to be mangled to be able to split() # on spaces without breaking the "-----BEGIN CERTIFICATE-----" # and "-----END CERTIFICATE-----" lines cert = ( "\n".join(cert.replace(" CERTIFICATE", "CERTIFICATE", 2).split()) .replace("CERTIFICATE", " CERTIFICATE", 2) .encode() ) # Ignore the cert-url param if a cert was provided cert_url = None if cert_url and not (cert_url.startswith("http://") or cert_url.startswith("https://")): msg = 'The cert-url parameter needs to start with "http://" or "https://".' event.fail(msg) logger.error(msg) return if cert_url: try: response = urlopen(cert_url) except HTTPError as e: msg = f"The server couldn't fulfill the request. Error code: {e.code}" event.fail(msg) logger.error(msg) return except URLError as e: msg = f"We failed to reach a server. Reason: {e.reason}" event.fail(msg) logger.error(msg) return else: cert = response.read() if not cert: msg = "Invalid/empty certificate provided/retrieved." event.fail(msg) logger.error(msg) return cmd = ["lxc", "config", "trust", "add", "-", "--name", name] if projects: cmd += ["--restricted", "--projects", projects] try: subprocess.run(cmd, input=cert, check=True) except subprocess.CalledProcessError as e: msg = f'Failed to run "{e.cmd}": {e.returncode}' event.fail(msg) logger.error(msg) raise RuntimeError event.set_results({"result": "the client certificate is now trusted"}) def _on_action_debug(self, event: ActionEvent) -> None: """Collect information for a bug report.""" try: b = subprocess.run(["lxd.buginfo"], check=True) except subprocess.CalledProcessError as e: msg = f'Failed to run "{e.cmd}": {e.returncode}' event.fail(msg) logger.error(msg) raise RuntimeError event.set_results({"buginfo": b.stdout}) logger.debug("lxd.buginfo called successfully") def _on_action_show_pending_config(self, event: ActionEvent) -> None: """Show the currently pending configuration changes (queued for after the reboot).""" event.set_results({"pending": self.config_changed()}) def _on_charm_config_changed(self, event: ConfigChangedEvent) -> None: """React to configuration changes. Some configuration items can be set only once while others are changable, sometimes requiring a service reload or even a machine reboot. """ logger.info("Updating charm config") # Confirm that the config is valid if not self.config_is_valid(): return # Get all the configs that changed changed = self.config_changed() if not changed: logger.debug("No configuration changes to apply") return # Check if the required reboot occurred and clear the flag if yes if os.path.exists(REBOOT_REQUIRED_FILE): self.unit_blocked("Reboot required, deferring config change") event.defer() return # Check if any required reboot was done self.system_clear_reboot_required() # Apply all the configs that changed try: if "snap-channel" in changed: self.snap_install_lxd() elif "sysctl-tuning" in changed: self.kernel_sysctl() elif "kernel-hardening" in changed: self.kernel_hardening() elif [k for k in changed if k.startswith("snap-config-")]: self.snap_config_set() except RuntimeError: msg = "Failed to apply some configuration change(s): %s" % ", ".join(changed) self.unit_blocked(msg) event.defer() return # If some changes needed a reboot to take effect, enter blocked status if self._stored.reboot_required: self.unit_blocked("Machine reboot required") return # All done self.unit_active("Configuration change(s) applied successfully") def config_changed(self) -> dict: """Figure out what changed.""" new_config = self.config old_config = self._stored.config apply_config = {} for k, v in new_config.items(): if k not in old_config: apply_config[k] = v elif v != old_config[k]: apply_config[k] = v return apply_config def config_is_valid(self) -> bool: """Validate the config.""" if "local" in self.model.storages and len(self.model.storages["local"]) > 1: self.unit_blocked("LXD charm only supports a single storage volume") return False config_changed = self.config_changed() # If nothing changed and we were blocked due to a lxd- key # change (post-init), we can assume the change was reverted thus unblocking us if ( not config_changed and isinstance(self.unit.status, BlockedStatus) and "Can't modify lxd- keys after initialization:" in str(self.unit.status) ): self.unit_active("Unblocking as the lxd- keys were reset to their initial values") for k in config_changed: if k.startswith("lxd-") and self._stored.lxd_initialized: self.unit_blocked(f"Can't modify lxd- keys after initialization: {k}") return False return True def juju_set_proxy(self) -> None: """Apply proxy config.""" juju_proxy = "/etc/juju-proxy.conf" if not os.path.exists(juju_proxy): logger.debug("No proxy config from Juju.") return http_proxy = None https_proxy = None no_proxy = None with open(juju_proxy, encoding="UTF-8") as f: for line in f.read().splitlines(): # Only consider lines exporting variables if not line.startswith("export "): continue # Parse export lines try: # Strip "export " prefix and split variable/value k, v = line.replace("export ", "", 1).split("=", 1) except (IndexError, ValueError): continue if k == "HTTP_PROXY": http_proxy = v elif k == "HTTPS_PROXY": https_proxy = v elif k == "NO_PROXY": no_proxy = v try: if http_proxy: logger.debug(f"Configuring core.proxy_http={http_proxy}") subprocess.run(["lxc", "config", "set", "core.proxy_http", http_proxy], check=True) if https_proxy: logger.debug(f"Configuring core.proxy_https={https_proxy}") subprocess.run( ["lxc", "config", "set", "core.proxy_https", https_proxy], check=True, ) if no_proxy: logger.debug(f"Configuring core.proxy_ignore_hosts={no_proxy}") subprocess.run( ["lxc", "config", "set", "core.proxy_ignore_hosts", no_proxy], check=True, ) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError def kernel_sysctl(self) -> None: """Apply sysctl tuning keys.""" logger.debug("Applying sysctl tuning") sysctl_file = "/etc/sysctl.d/60-lxd.conf" config = self.config["sysctl-tuning"] if config: self.unit_maintenance(f"Applying sysctl config file: {sysctl_file}") with open(sysctl_file, "w", encoding="UTF-8") as f: for k, v in SYSCTL_CONFIGS.items(): f.write(f"{k} = {v}\n") try: subprocess.run(["sysctl", "--quiet", "--load", sysctl_file], check=True) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError elif os.path.exists(sysctl_file): self.unit_maintenance(f"Removing sysctl config file: {sysctl_file}") os.remove(sysctl_file) # Persist the configuration self._stored.config["sysctl-tuning"] = config def kernel_hardening(self) -> None: """Apply kernel hardening systemd tmpfiles.""" logger.debug("Applying kernel hardening") systemd_tmpfiles = "/etc/tmpfiles.d/lxd.conf" config = self.config["kernel-hardening"] if config: self.unit_maintenance(f"Applying kernel hardening config file: {systemd_tmpfiles}") with open(systemd_tmpfiles, "w", encoding="UTF-8") as f: f.write("\n".join(SYSTEMD_TMPFILES_CONFIGS) + "\n") try: subprocess.run(["systemd-tmpfiles", "--create"], check=True) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError elif os.path.exists(systemd_tmpfiles): self.unit_maintenance(f"Removing kernel hardening config file: {systemd_tmpfiles}") os.remove(systemd_tmpfiles) # Persist the configuration self._stored.config["kernel-hardening"] = config def lxd_init(self) -> None: """Apply initial configuration of LXD.""" self.unit_maintenance("Initializing LXD in standalone mode") preseed = self.config.get("lxd-preseed") if preseed: self.unit_maintenance("Applying LXD preseed") try: # NOTE: When preseeding, no further configuration is applied. subprocess.run(["lxd", "init", "--preseed"], check=True, input=preseed.encode()) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError else: self.unit_maintenance("Performing initial configuration") try: # Configure the storage if "local" in self.model.storages and len(self.model.storages["local"]) == 1: src = f"source={self.model.storages['local'][0].location}" self.unit_maintenance(f"Configuring external storage pool (zfs, {src})") subprocess.run(["lxc", "storage", "create", "local", "zfs", src], check=True) else: self.unit_maintenance("Configuring local storage pool (dir)") subprocess.run(["lxc", "storage", "create", "local", "dir"], check=True) subprocess.run( [ "lxc", "profile", "device", "add", "default", "root", "disk", "pool=local", "path=/", ], check=True, ) # Configure the network self.unit_maintenance("Configuring network bridge (lxdbr0)") subprocess.run(["lxc", "network", "create", "lxdbr0"], check=True) subprocess.run( [ "lxc", "profile", "device", "add", "default", "eth0", "nic", "network=lxdbr0", "name=eth0", ], check=True, ) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError # Initial configuration of core.proxy_* keys self.juju_set_proxy() # Done with the initialization self._stored.config["lxd-preseed"] = preseed # Flag any `lxd-*` keys not handled, there should be none for k in self.config_changed(): if k.startswith("lxd-"): logger.error(f"lxd_init did not handle the key config named: {k}") def lxd_is_active(self) -> bool: """Indicate if the lxd daemon is active.""" c = subprocess.run( ["systemctl", "is-active", "--quiet", "snap.lxd.daemon.service"], check=False, ) return c.returncode == 0 def lxd_reload(self) -> None: """Reload the lxd daemon.""" self.unit_maintenance("Reloading LXD") try: # Avoid occasional race during startup where a reload could cause a failure subprocess.run(["lxd", "waitready", "--timeout=30"], check=False) # Start a monitor process and wait for it to exit due to the service # reloading and the old lxd process closing the monitor's socket. mon = subprocess.Popen( ["lxc", "monitor", "--type=nonexistent"], stderr=subprocess.DEVNULL ) subprocess.run(["systemctl", "reload", "snap.lxd.daemon.service"], check=True) mon.wait(timeout=600) except subprocess.TimeoutExpired: if not mon.returncode: mon.kill() self.unit_maintenance("Timeout while reloading the LXD service") raise RuntimeError except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError def resource_sideload(self) -> None: """Sideload resources.""" # Multi-arch support arch = os.uname().machine if arch == "x86_64": possible_archs = ["x86_64", "amd64"] else: possible_archs = [arch] # LXD snap lxd_snap_resource = None fname_suffix = ".snap" try: # Note: self._stored can only store simple data types (int/float/dict/list/etc) lxd_snap_resource = str(self.model.resources.fetch("lxd-snap")) except ModelError: pass tmp_dir = None if lxd_snap_resource and tarfile.is_tarfile(lxd_snap_resource): logger.debug(f"{lxd_snap_resource} is a tarball; unpacking") tmp_dir = tempfile.mkdtemp() tarball = tarfile.open(lxd_snap_resource) valid_names = {f"lxd_{x}{fname_suffix}" for x in possible_archs} for f in valid_names.intersection(tarball.getnames()): tarball.extract(f, path=tmp_dir) logger.debug(f"{f} was extracted from the tarball") self._stored.lxd_snap_path = f"{tmp_dir}/{f}" break else: logger.debug("Missing arch specific snap from tarball.") else: self._stored.lxd_snap_path = lxd_snap_resource if self._stored.lxd_snap_path: self.snap_sideload_lxd() if tmp_dir: os.remove(self._stored.lxd_snap_path) os.rmdir(tmp_dir) # LXD binary lxd_binary_resource = None fname_suffix = "" try: # Note: self._stored can only store simple data types (int/float/dict/list/etc) lxd_binary_resource = str(self.model.resources.fetch("lxd-binary")) except ModelError: pass tmp_dir = None if lxd_binary_resource and tarfile.is_tarfile(lxd_binary_resource): logger.debug(f"{lxd_binary_resource} is a tarball; unpacking") tmp_dir = tempfile.mkdtemp() tarball = tarfile.open(lxd_binary_resource) valid_names = {f"lxd_{x}{fname_suffix}" for x in possible_archs} for f in valid_names.intersection(tarball.getnames()): tarball.extract(f, path=tmp_dir) logger.debug(f"{f} was extracted from the tarball") self._stored.lxd_binary_path = f"{tmp_dir}/{f}" break else: logger.debug("Missing arch specific binary from tarball.") else: self._stored.lxd_binary_path = lxd_binary_resource if self._stored.lxd_binary_path: self.snap_sideload_lxd_binary() if tmp_dir: os.remove(self._stored.lxd_binary_path) os.rmdir(tmp_dir) def snap_config_set(self) -> None: """Apply snap set to LXD.""" logger.debug("Applying snap set lxd") # Get all the `snap-config-*` configs to set snap_set = {k: v for k, v in self.config_changed().items() if k.startswith("snap-config-")} if not snap_set: return # Apply the changes snap_set_list = [] reboot_needed = False for k, v in snap_set.items(): # Convert Juju config to "snap set" syntax if v is None: snap_value = "" elif isinstance(v, bool): snap_value = str(v).lower() else: snap_value = v snap_key = k.replace("snap-config-", "", 1).replace("-", ".") # Set the snap config snap_set_list.append("%s=%s" % (snap_key, snap_value)) # Keys that require a reboot if k.startswith("snap-config-lxcfs-"): # `snap-config-lxcfs-*` cannot be applied live reboot_needed = True continue self.unit_maintenance("Setting snap configuration(s): " + ", ".join(snap_set_list)) try: subprocess.run(["snap", "set", "lxd"] + snap_set_list, check=True) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError # If "snap set lxd" was successful: save all the k/v applied for k, v in snap_set.items(): self._stored.config[k] = v if not self.lxd_is_active(): logger.debug("Skipping LXD reload (service inactive)") return self.lxd_reload() if reboot_needed: self.system_set_reboot_required() def snap_install_lxd(self) -> None: """Install LXD from snap.""" channel = self.config["snap-channel"] if channel: channel_name = channel else: channel_name = "latest/stable" self.unit_maintenance(f"Installing LXD snap (channel={channel_name})") try: subprocess.run(["snap", "install", "lxd", f"--channel={channel}"], check=True) subprocess.run(["snap", "refresh", "lxd", f"--channel={channel}"], check=True) if os.path.exists("/var/lib/lxd"): subprocess.run(["lxd.migrate", "-yes"], check=True) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError # Done with the snap installation self._stored.config["snap-channel"] = channel def snap_sideload_lxd(self) -> None: """Sideload LXD snap resource.""" logger.debug("Applying LXD snap sideload changes") # A 0 byte file will unload the resource if os.path.getsize(self._stored.lxd_snap_path) == 0: logger.debug("Reverting to LXD snap from snapstore") channel = self._stored.config["snap-channel"] cmd = ["snap", "refresh", "lxd", f"--channel={channel}", "--amend"] alias = None enable = None else: logger.debug("Sideloading LXD snap") cmd = ["snap", "install", "--dangerous", self._stored.lxd_snap_path] # Since the sideloaded snap doesn't have an assertion, some things need # to be done manually alias = ["snap", "alias", "lxd.lxc", "lxc"] enable = ["systemctl", "enable", "--now", "snap.lxd.daemon.unix.socket"] try: subprocess.run(cmd, check=True) if alias: subprocess.run(alias, check=True) if enable: subprocess.run(enable, check=True) except subprocess.CalledProcessError as e: self.unit_blocked(f'Failed to run "{e.cmd}": {e.returncode}') raise RuntimeError def snap_sideload_lxd_binary(self) -> None: """Sideload LXD binary resource.""" logger.debug("Applying LXD binary sideload changes") lxd_debug = "/var/snap/lxd/common/lxd.debug" # A 0 byte file will unload the resource if os.path.getsize(self._stored.lxd_binary_path) == 0: logger.debug("Unloading sideloaded LXD binary") if os.path.exists(lxd_debug): os.remove(lxd_debug) else: logger.debug("Sideloading LXD binary") # Avoid "Text file busy" error if os.path.exists(lxd_debug): logger.debug("Removing old sideloaded LXD binary") os.remove(lxd_debug) shutil.copyfile(self._stored.lxd_binary_path, lxd_debug) os.chmod(lxd_debug, 0o755) self.lxd_reload() def system_clear_reboot_required(self) -> None: """Clear the reboot_required flag if a reboot occurred.""" # If the required reboot occurred so let's clear the flag if self._stored.reboot_required and not os.path.exists(REBOOT_REQUIRED_FILE): self._stored.reboot_required = False logger.debug("Required reboot done") def system_set_reboot_required(self) -> None: """Indicate that a reboot is required to reach a clean state.""" # Touch a flag file indicating that a reboot is required. try: open(REBOOT_REQUIRED_FILE, "a").close() self._stored.reboot_required = True except OSError: logger.warning(f"Failed to create: {REBOOT_REQUIRED_FILE}") def unit_active(self, msg: str = "") -> None: """Set the unit's status to active and log the provided message, if any.""" self.unit.status = ActiveStatus() if msg: logger.debug(msg) def unit_blocked(self, msg: str) -> None: """Set the unit's status to blocked and log the provided message.""" self.unit.status = BlockedStatus(msg) logger.error(msg) def unit_maintenance(self, msg: str) -> None: """Set the unit's status to maintenance and log the provided message.""" self.unit.status = MaintenanceStatus(msg) logger.info(msg) if __name__ == "__main__": main(LxdCharm)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 37811, 43, 55, 35, 20024, 526, 15931, 198, 198, 11748, 18931, 198, 11748, 28686, 198, 11748, 4423, 346, 198, 11748, 850, 14681, 198, 11748, 13422, 7753, 198, 11748, 20218, 7753, 198, 6738, 2956, 297, 571, 13, 18224, 1330, 14626, 12331, 11, 37902, 2538, 81, 1472, 198, 6738, 2956, 297, 571, 13, 25927, 1330, 19016, 9654, 198, 198, 6738, 39628, 13, 354, 1670, 1330, 357, 198, 220, 220, 220, 7561, 9237, 11, 198, 220, 220, 220, 30225, 14881, 11, 198, 220, 220, 220, 17056, 31813, 9237, 11, 198, 220, 220, 220, 15545, 9237, 11, 198, 220, 220, 220, 7253, 9237, 11, 198, 8, 198, 6738, 39628, 13, 30604, 1330, 520, 1850, 9012, 198, 6738, 39628, 13, 12417, 1330, 1388, 198, 6738, 39628, 13, 19849, 1330, 14199, 19580, 11, 1086, 3543, 19580, 11, 34857, 19580, 11, 9104, 12331, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 198, 50, 16309, 4177, 43, 62, 10943, 16254, 50, 796, 1391, 198, 220, 220, 220, 366, 9501, 13, 64, 952, 12, 9806, 12, 48624, 1298, 642, 1731, 25270, 11, 198, 220, 220, 220, 366, 9501, 13, 259, 313, 1958, 13, 9806, 62, 4188, 1739, 62, 31534, 1298, 838, 2780, 37452, 11, 198, 220, 220, 220, 366, 9501, 13, 259, 313, 1958, 13, 9806, 62, 7220, 62, 8625, 1817, 1298, 838, 2780, 37452, 11, 198, 220, 220, 220, 366, 9501, 13, 259, 313, 1958, 13, 9806, 62, 7220, 62, 86, 20981, 1298, 838, 2780, 37452, 11, 198, 220, 220, 220, 366, 33885, 13, 67, 6880, 70, 62, 2118, 2012, 1298, 352, 11, 198, 220, 220, 220, 366, 33885, 13, 13083, 13, 9806, 33661, 1298, 939, 2388, 11, 198, 220, 220, 220, 366, 33885, 13, 13083, 13, 9806, 13083, 1298, 4751, 11, 198, 220, 220, 220, 366, 3262, 13, 7295, 13, 46583, 69, 62, 45051, 62, 32374, 1298, 513, 10535, 830, 11, 198, 220, 220, 220, 366, 3262, 13, 541, 85, 19, 13, 710, 394, 13, 12286, 13, 36484, 62, 400, 3447, 18, 1298, 807, 17477, 11, 198, 220, 220, 220, 366, 3262, 13, 541, 85, 21, 13, 710, 394, 13, 12286, 13, 36484, 62, 400, 3447, 18, 1298, 807, 17477, 11, 198, 220, 220, 220, 366, 14761, 13, 9806, 62, 8899, 62, 9127, 1298, 35404, 18444, 11, 198, 92, 198, 198, 23060, 25361, 35, 62, 51, 7378, 46700, 1546, 62, 10943, 16254, 50, 796, 685, 198, 220, 220, 220, 366, 89, 1220, 36942, 14, 1416, 704, 62, 24442, 657, 7029, 532, 532, 532, 1600, 198, 220, 220, 220, 366, 89, 1220, 17597, 14, 33885, 14, 6649, 397, 220, 8753, 405, 532, 532, 532, 1600, 198, 60, 198, 198, 2200, 8202, 2394, 62, 2200, 10917, 37819, 62, 25664, 796, 12813, 5143, 14, 75, 24954, 12, 260, 18769, 12, 35827, 1, 628, 198, 4871, 406, 24954, 1925, 1670, 7, 1925, 1670, 14881, 2599, 198, 220, 220, 220, 37227, 43, 55, 35, 20024, 1398, 526, 15931, 628, 220, 220, 220, 4808, 301, 1850, 796, 520, 1850, 9012, 3419, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 1635, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 24243, 1096, 20024, 338, 9633, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2208, 22446, 834, 15003, 834, 46491, 22046, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 20768, 1096, 262, 16218, 6143, 611, 2622, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 2617, 62, 12286, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9405, 34758, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 34758, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 39491, 62, 6978, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 17532, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 37050, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 45380, 62, 6978, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20149, 62, 35827, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 7561, 1785, 32847, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 261, 13, 2860, 62, 2213, 8459, 62, 16366, 62, 2673, 11, 2116, 13557, 261, 62, 2673, 62, 2860, 62, 2213, 8459, 62, 16366, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 944, 13, 261, 13, 24442, 62, 2673, 11, 2116, 13557, 261, 62, 2673, 62, 24442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 261, 13, 12860, 62, 79, 1571, 62, 11250, 62, 2673, 11, 2116, 13557, 261, 62, 2673, 62, 12860, 62, 79, 1571, 62, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 8774, 1785, 32847, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 944, 13, 261, 13, 17350, 11, 2116, 13557, 261, 62, 354, 1670, 62, 17350, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 944, 13, 261, 13, 11250, 62, 40985, 11, 2116, 13557, 261, 62, 354, 1670, 62, 11250, 62, 40985, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 944, 13, 261, 13, 9688, 11, 2116, 13557, 261, 62, 354, 1670, 62, 9688, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30604, 13, 672, 2655, 303, 7, 944, 13, 261, 13, 929, 9526, 62, 354, 1670, 11, 2116, 13557, 261, 62, 354, 1670, 62, 929, 9526, 8, 628, 220, 220, 220, 825, 4808, 261, 62, 2673, 62, 2860, 62, 2213, 8459, 62, 16366, 7, 944, 11, 1785, 25, 7561, 9237, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 4550, 257, 5456, 10703, 284, 262, 13467, 1351, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 1785, 13, 37266, 13, 1136, 7203, 3672, 1600, 366, 34680, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 5051, 796, 1785, 13, 37266, 13, 1136, 7203, 22583, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 5051, 62, 6371, 796, 1785, 13, 37266, 13, 1136, 7203, 22583, 12, 6371, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 4493, 796, 1785, 13, 37266, 13, 1136, 7203, 42068, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 5051, 290, 407, 5051, 62, 6371, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 366, 3198, 286, 5051, 393, 5051, 12, 6371, 11507, 2476, 284, 307, 2810, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5051, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 2722, 350, 3620, 2476, 284, 307, 45663, 992, 284, 307, 1498, 284, 6626, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 319, 9029, 1231, 7163, 262, 366, 30934, 33, 43312, 327, 17395, 30643, 6158, 650, 21215, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 290, 366, 30934, 10619, 327, 17395, 30643, 6158, 650, 21215, 3951, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5051, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37082, 77, 1911, 22179, 7, 22583, 13, 33491, 7203, 327, 17395, 30643, 6158, 1600, 366, 34, 17395, 30643, 6158, 1600, 362, 737, 35312, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 33491, 7203, 34, 17395, 30643, 6158, 1600, 366, 327, 17395, 30643, 6158, 1600, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 268, 8189, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 41032, 262, 5051, 12, 6371, 5772, 611, 257, 5051, 373, 2810, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5051, 62, 6371, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5051, 62, 6371, 290, 407, 357, 22583, 62, 6371, 13, 9688, 2032, 342, 7203, 4023, 1378, 4943, 393, 5051, 62, 6371, 13, 9688, 2032, 342, 7203, 5450, 1378, 4943, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 705, 464, 5051, 12, 6371, 11507, 2476, 284, 923, 351, 366, 4023, 1378, 1, 393, 366, 5450, 1378, 1911, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5051, 62, 6371, 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, 2882, 796, 19016, 9654, 7, 22583, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 14626, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 277, 1, 464, 4382, 3521, 470, 14658, 262, 2581, 13, 13047, 2438, 25, 1391, 68, 13, 8189, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 37902, 2538, 81, 1472, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 277, 1, 1135, 4054, 284, 3151, 257, 4382, 13, 23219, 25, 1391, 68, 13, 41181, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 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, 5051, 796, 2882, 13, 961, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 5051, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 366, 44651, 14, 28920, 10703, 2810, 14, 1186, 28130, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 14631, 75, 25306, 1600, 366, 11250, 1600, 366, 38087, 1600, 366, 2860, 1600, 27444, 1600, 366, 438, 3672, 1600, 1438, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4493, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23991, 15853, 14631, 438, 49343, 1600, 366, 438, 42068, 1600, 4493, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 28758, 11, 5128, 28, 22583, 11, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 277, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 2617, 62, 43420, 7, 4895, 20274, 1298, 366, 1169, 5456, 10703, 318, 783, 13467, 20662, 8, 628, 220, 220, 220, 825, 4808, 261, 62, 2673, 62, 24442, 7, 944, 11, 1785, 25, 7561, 9237, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 31337, 1321, 329, 257, 5434, 989, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 850, 14681, 13, 5143, 7, 14692, 75, 24954, 13, 25456, 10951, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 277, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 32165, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 2617, 62, 43420, 7, 4895, 25456, 10951, 1298, 275, 13, 19282, 448, 30072, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 75, 24954, 13, 25456, 10951, 1444, 7675, 4943, 628, 220, 220, 220, 825, 4808, 261, 62, 2673, 62, 12860, 62, 79, 1571, 62, 11250, 7, 944, 11, 1785, 25, 7561, 9237, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15307, 262, 3058, 13310, 8398, 2458, 357, 4188, 1739, 329, 706, 262, 20149, 21387, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 2617, 62, 43420, 7, 4895, 79, 1571, 1298, 2116, 13, 11250, 62, 40985, 3419, 30072, 628, 220, 220, 220, 825, 4808, 261, 62, 354, 1670, 62, 11250, 62, 40985, 7, 944, 11, 1785, 25, 17056, 31813, 9237, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3041, 529, 284, 8398, 2458, 13, 628, 220, 220, 220, 220, 220, 220, 220, 2773, 8398, 3709, 460, 307, 900, 691, 1752, 198, 220, 220, 220, 220, 220, 220, 220, 981, 1854, 389, 1488, 540, 11, 3360, 10616, 198, 220, 220, 220, 220, 220, 220, 220, 257, 2139, 18126, 393, 772, 257, 4572, 20149, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7203, 4933, 38734, 20024, 4566, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 7326, 2533, 326, 262, 4566, 318, 4938, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13, 11250, 62, 271, 62, 12102, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 477, 262, 4566, 82, 326, 3421, 198, 220, 220, 220, 220, 220, 220, 220, 3421, 796, 2116, 13, 11250, 62, 40985, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 3421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 2949, 8398, 2458, 284, 4174, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6822, 611, 262, 2672, 20149, 5091, 290, 1598, 262, 6056, 611, 3763, 198, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 2200, 8202, 2394, 62, 2200, 10917, 37819, 62, 25664, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7203, 28951, 1025, 2672, 11, 29135, 1806, 4566, 1487, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 4299, 263, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6822, 611, 597, 2672, 20149, 373, 1760, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 10057, 62, 20063, 62, 260, 18769, 62, 35827, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27967, 477, 262, 4566, 82, 326, 3421, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 45380, 12, 17620, 1, 287, 3421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 45380, 62, 17350, 62, 75, 24954, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 366, 17597, 34168, 12, 28286, 278, 1, 287, 3421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 33885, 62, 17597, 34168, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 366, 33885, 12, 10424, 3101, 1, 287, 3421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 33885, 62, 10424, 3101, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 685, 74, 329, 479, 287, 3421, 611, 479, 13, 9688, 2032, 342, 7203, 45380, 12, 11250, 12, 4943, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 45380, 62, 11250, 62, 2617, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 43160, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 366, 37, 6255, 284, 4174, 617, 8398, 1487, 7, 82, 2599, 4064, 82, 1, 4064, 33172, 27071, 22179, 7, 40985, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1785, 13, 4299, 263, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 617, 2458, 2622, 257, 20149, 284, 1011, 1245, 11, 3802, 10226, 3722, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 301, 1850, 13, 260, 18769, 62, 35827, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7203, 37573, 20149, 2672, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1439, 1760, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 5275, 7203, 38149, 1487, 7, 82, 8, 5625, 7675, 4943, 628, 220, 220, 220, 825, 4566, 62, 40985, 7, 944, 8, 4613, 8633, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 11337, 503, 644, 3421, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 11250, 796, 2116, 13, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 11250, 796, 2116, 13557, 301, 1850, 13, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 4174, 62, 11250, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 410, 287, 649, 62, 11250, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 479, 407, 287, 1468, 62, 11250, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4174, 62, 11250, 58, 74, 60, 796, 410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 410, 14512, 1468, 62, 11250, 58, 74, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4174, 62, 11250, 58, 74, 60, 796, 410, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 4174, 62, 11250, 628, 220, 220, 220, 825, 4566, 62, 271, 62, 12102, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7762, 20540, 262, 4566, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 12001, 1, 287, 2116, 13, 19849, 13, 301, 273, 1095, 290, 18896, 7, 944, 13, 19849, 13, 301, 273, 1095, 14692, 12001, 8973, 8, 1875, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7203, 43, 55, 35, 20024, 691, 6971, 257, 2060, 6143, 6115, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 4566, 62, 40985, 796, 2116, 13, 11250, 62, 40985, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 2147, 3421, 290, 356, 547, 10226, 2233, 284, 257, 300, 24954, 12, 1994, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1487, 357, 7353, 12, 15003, 828, 356, 460, 7048, 262, 1487, 373, 50239, 4145, 555, 41938, 514, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 407, 4566, 62, 40985, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 318, 39098, 7, 944, 13, 20850, 13, 13376, 11, 1086, 3543, 19580, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 366, 6090, 470, 13096, 300, 24954, 12, 8251, 706, 37588, 11097, 287, 965, 7, 944, 13, 20850, 13, 13376, 8, 198, 220, 220, 220, 220, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 5275, 7203, 3118, 41938, 355, 262, 300, 24954, 12, 8251, 547, 13259, 284, 511, 4238, 3815, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 329, 479, 287, 4566, 62, 40985, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 479, 13, 9688, 2032, 342, 7203, 75, 24954, 12, 4943, 290, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 17532, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 1, 6090, 470, 13096, 300, 24954, 12, 8251, 706, 37588, 25, 1391, 74, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 220, 220, 220, 825, 7544, 14396, 62, 2617, 62, 36436, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44836, 15741, 4566, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 7544, 14396, 62, 36436, 796, 12813, 14784, 14, 14396, 14396, 12, 36436, 13, 10414, 1, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 14396, 14396, 62, 36436, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 2949, 15741, 4566, 422, 12585, 14396, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 2638, 62, 36436, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 3740, 62, 36436, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 645, 62, 36436, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 14396, 14396, 62, 36436, 11, 21004, 2625, 48504, 12, 23, 4943, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1627, 287, 277, 13, 961, 22446, 35312, 6615, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5514, 2074, 3951, 39133, 9633, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1627, 13, 9688, 2032, 342, 7203, 39344, 366, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2547, 325, 10784, 3951, 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, 1303, 18508, 366, 39344, 366, 21231, 290, 6626, 7885, 14, 8367, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 11, 410, 796, 1627, 13, 33491, 7203, 39344, 33172, 366, 1600, 352, 737, 35312, 7203, 28, 1600, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 15732, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 479, 6624, 366, 40717, 62, 31190, 34278, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2638, 62, 36436, 796, 410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 479, 6624, 366, 6535, 28820, 62, 31190, 34278, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3740, 62, 36436, 796, 410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 479, 6624, 366, 15285, 62, 31190, 34278, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 645, 62, 36436, 796, 410, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2638, 62, 36436, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 16934, 870, 4755, 13, 36436, 62, 4023, 34758, 4023, 62, 36436, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 25306, 1600, 366, 11250, 1600, 366, 2617, 1600, 366, 7295, 13, 36436, 62, 4023, 1600, 2638, 62, 36436, 4357, 2198, 28, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 3740, 62, 36436, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 16934, 870, 4755, 13, 36436, 62, 5450, 34758, 5450, 62, 36436, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14631, 75, 25306, 1600, 366, 11250, 1600, 366, 2617, 1600, 366, 7295, 13, 36436, 62, 5450, 1600, 3740, 62, 36436, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2198, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 645, 62, 36436, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 16934, 870, 4755, 13, 36436, 62, 46430, 62, 4774, 82, 34758, 3919, 62, 36436, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14631, 75, 25306, 1600, 366, 11250, 1600, 366, 2617, 1600, 366, 7295, 13, 36436, 62, 46430, 62, 4774, 82, 1600, 645, 62, 36436, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2198, 28, 17821, 11, 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, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 825, 9720, 62, 17597, 34168, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44836, 25064, 34168, 24549, 8251, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 4677, 3157, 25064, 34168, 24549, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 34168, 62, 7753, 796, 12813, 14784, 14, 17597, 34168, 13, 67, 14, 1899, 12, 75, 24954, 13, 10414, 1, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 2116, 13, 11250, 14692, 17597, 34168, 12, 28286, 278, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 4677, 3157, 25064, 34168, 4566, 2393, 25, 1391, 17597, 34168, 62, 7753, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 17597, 34168, 62, 7753, 11, 366, 86, 1600, 21004, 2625, 48504, 12, 23, 4943, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 410, 287, 311, 16309, 4177, 43, 62, 10943, 16254, 50, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 69, 1, 90, 74, 92, 796, 1391, 85, 32239, 77, 4943, 628, 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, 850, 14681, 13, 5143, 7, 14692, 17597, 34168, 1600, 366, 438, 39624, 1600, 366, 438, 2220, 1600, 25064, 34168, 62, 7753, 4357, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 28686, 13, 6978, 13, 1069, 1023, 7, 17597, 34168, 62, 7753, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 8413, 5165, 25064, 34168, 4566, 2393, 25, 1391, 17597, 34168, 62, 7753, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 17597, 34168, 62, 7753, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 9467, 396, 262, 8398, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 11250, 14692, 17597, 34168, 12, 28286, 278, 8973, 796, 4566, 628, 220, 220, 220, 825, 9720, 62, 10424, 3101, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44836, 9720, 1327, 3101, 31490, 45218, 16624, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 4677, 3157, 9720, 1327, 3101, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 31490, 62, 22065, 16624, 796, 12813, 14784, 14, 22065, 16624, 13, 67, 14, 75, 24954, 13, 10414, 1, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 2116, 13, 11250, 14692, 33885, 12, 10424, 3101, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 4677, 3157, 9720, 1327, 3101, 4566, 2393, 25, 1391, 10057, 67, 62, 22065, 16624, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 10057, 67, 62, 22065, 16624, 11, 366, 86, 1600, 21004, 2625, 48504, 12, 23, 4943, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7203, 59, 77, 1911, 22179, 7, 23060, 25361, 35, 62, 51, 7378, 46700, 1546, 62, 10943, 16254, 50, 8, 1343, 37082, 77, 4943, 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, 850, 14681, 13, 5143, 7, 14692, 10057, 67, 12, 22065, 16624, 1600, 366, 438, 17953, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 28686, 13, 6978, 13, 1069, 1023, 7, 10057, 67, 62, 22065, 16624, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 8413, 5165, 9720, 1327, 3101, 4566, 2393, 25, 1391, 10057, 67, 62, 22065, 16624, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 10057, 67, 62, 22065, 16624, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 9467, 396, 262, 8398, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 11250, 14692, 33885, 12, 10424, 3101, 8973, 796, 4566, 628, 220, 220, 220, 825, 300, 24954, 62, 15003, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44836, 4238, 8398, 286, 44988, 35, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 24243, 2890, 44988, 35, 287, 27669, 4235, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 662, 28826, 796, 2116, 13, 11250, 13, 1136, 7203, 75, 24954, 12, 3866, 28826, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 611, 662, 28826, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 4677, 3157, 44988, 35, 662, 28826, 4943, 628, 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, 24550, 25, 1649, 662, 325, 8228, 11, 645, 2252, 8398, 318, 5625, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 24954, 1600, 366, 15003, 1600, 366, 438, 3866, 28826, 33116, 2198, 28, 17821, 11, 5128, 28, 3866, 28826, 13, 268, 8189, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 5990, 15464, 4238, 8398, 4943, 628, 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, 17056, 495, 262, 6143, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 12001, 1, 287, 2116, 13, 19849, 13, 301, 273, 1095, 290, 18896, 7, 944, 13, 19849, 13, 301, 273, 1095, 14692, 12001, 8973, 8, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12351, 796, 277, 1, 10459, 34758, 944, 13, 19849, 13, 301, 273, 1095, 17816, 12001, 6, 7131, 15, 4083, 24886, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 16934, 870, 7097, 6143, 5933, 357, 89, 9501, 11, 1391, 10677, 30072, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 25306, 1600, 366, 35350, 1600, 366, 17953, 1600, 366, 12001, 1600, 366, 89, 9501, 1600, 12351, 4357, 2198, 28, 17821, 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, 2116, 13, 20850, 62, 12417, 8219, 7203, 16934, 870, 1957, 6143, 5933, 357, 15908, 8, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 25306, 1600, 366, 35350, 1600, 366, 17953, 1600, 366, 12001, 1600, 366, 15908, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 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, 366, 75, 25306, 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, 366, 13317, 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, 366, 25202, 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, 366, 2860, 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, 366, 12286, 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, 366, 15763, 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, 366, 39531, 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, 366, 7742, 28, 12001, 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, 366, 6978, 33223, 1600, 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, 2198, 28, 17821, 11, 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, 1303, 17056, 495, 262, 3127, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 16934, 870, 3127, 7696, 357, 75, 24954, 1671, 15, 8, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 25306, 1600, 366, 27349, 1600, 366, 17953, 1600, 366, 75, 24954, 1671, 15, 33116, 2198, 28, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 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, 366, 75, 25306, 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, 366, 13317, 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, 366, 25202, 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, 366, 2860, 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, 366, 12286, 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, 366, 2788, 15, 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, 366, 6988, 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, 366, 27349, 28, 75, 24954, 1671, 15, 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, 366, 3672, 28, 2788, 15, 1600, 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, 2198, 28, 17821, 11, 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, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 20768, 8398, 286, 4755, 13, 36436, 62, 9, 8251, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14396, 14396, 62, 2617, 62, 36436, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 24429, 351, 262, 37588, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 11250, 14692, 75, 24954, 12, 3866, 28826, 8973, 796, 662, 28826, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 19762, 597, 4600, 75, 24954, 12, 9, 63, 8251, 407, 12118, 11, 612, 815, 307, 4844, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 287, 2116, 13, 11250, 62, 40985, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 479, 13, 9688, 2032, 342, 7203, 75, 24954, 21215, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 69, 1, 75, 24954, 62, 15003, 750, 407, 5412, 262, 1994, 4566, 3706, 25, 1391, 74, 92, 4943, 628, 220, 220, 220, 825, 300, 24954, 62, 271, 62, 5275, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5497, 5344, 611, 262, 300, 24954, 33386, 318, 4075, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 269, 796, 850, 14681, 13, 5143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14631, 10057, 34168, 1600, 366, 271, 12, 5275, 1600, 366, 438, 39624, 1600, 366, 45380, 13, 75, 24954, 13, 6814, 7966, 13, 15271, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2198, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 269, 13, 7783, 8189, 6624, 657, 628, 220, 220, 220, 825, 300, 24954, 62, 260, 2220, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 6892, 1170, 262, 300, 24954, 33386, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 6892, 1170, 278, 44988, 35, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 24390, 12209, 3234, 1141, 13693, 810, 257, 18126, 714, 2728, 257, 5287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 24954, 1600, 366, 17077, 1493, 1600, 366, 438, 48678, 28, 1270, 33116, 2198, 28, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7253, 257, 5671, 1429, 290, 4043, 329, 340, 284, 8420, 2233, 284, 262, 2139, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18126, 278, 290, 262, 1468, 300, 24954, 1429, 9605, 262, 5671, 338, 17802, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 937, 796, 850, 14681, 13, 47, 9654, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14631, 75, 25306, 1600, 366, 41143, 1600, 366, 438, 4906, 28, 23108, 87, 7609, 33116, 336, 1082, 81, 28, 7266, 14681, 13, 39345, 33991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 10057, 34168, 1600, 366, 260, 2220, 1600, 366, 45380, 13, 75, 24954, 13, 6814, 7966, 13, 15271, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 937, 13, 17077, 7, 48678, 28, 8054, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 48031, 3109, 6474, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 937, 13, 7783, 8189, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 937, 13, 12728, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7203, 48031, 981, 18126, 278, 262, 44988, 35, 2139, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 825, 8271, 62, 82, 5943, 1170, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 5943, 1170, 4133, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 15237, 12, 998, 1104, 198, 220, 220, 220, 220, 220, 220, 220, 3934, 796, 28686, 13, 403, 480, 22446, 30243, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3934, 6624, 366, 87, 4521, 62, 2414, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1744, 62, 34592, 796, 14631, 87, 4521, 62, 2414, 1600, 366, 28745, 2414, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1744, 62, 34592, 796, 685, 998, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 44988, 35, 11495, 198, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 45380, 62, 31092, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 277, 3672, 62, 37333, 844, 796, 27071, 45380, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5740, 25, 2116, 13557, 301, 1850, 460, 691, 3650, 2829, 1366, 3858, 357, 600, 14, 22468, 14, 11600, 14, 4868, 14, 14784, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 45380, 62, 31092, 796, 965, 7, 944, 13, 19849, 13, 37540, 13, 69, 7569, 7203, 75, 24954, 12, 45380, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 9104, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 15908, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 611, 300, 24954, 62, 45380, 62, 31092, 290, 13422, 7753, 13, 271, 62, 18870, 7753, 7, 75, 24954, 62, 45380, 62, 31092, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 90, 75, 24954, 62, 45380, 62, 31092, 92, 318, 257, 13422, 1894, 26, 8593, 5430, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 15908, 796, 20218, 7753, 13, 28015, 67, 29510, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13422, 1894, 796, 13422, 7753, 13, 9654, 7, 75, 24954, 62, 45380, 62, 31092, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4938, 62, 14933, 796, 1391, 69, 1, 75, 24954, 23330, 87, 18477, 69, 3672, 62, 37333, 844, 36786, 329, 2124, 287, 1744, 62, 34592, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 277, 287, 4938, 62, 14933, 13, 3849, 5458, 7, 18870, 1894, 13, 1136, 14933, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13422, 1894, 13, 2302, 974, 7, 69, 11, 3108, 28, 22065, 62, 15908, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 90, 69, 92, 373, 21242, 422, 262, 13422, 1894, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 796, 277, 1, 90, 22065, 62, 15908, 92, 14, 90, 69, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 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, 49706, 13, 24442, 7203, 43730, 3934, 2176, 11495, 422, 13422, 1894, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 796, 300, 24954, 62, 45380, 62, 31092, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 45380, 62, 82, 5943, 1170, 62, 75, 24954, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 45218, 62, 15908, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 944, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 81, 9132, 343, 7, 22065, 62, 15908, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 44988, 35, 13934, 198, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 39491, 62, 31092, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 277, 3672, 62, 37333, 844, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5740, 25, 2116, 13557, 301, 1850, 460, 691, 3650, 2829, 1366, 3858, 357, 600, 14, 22468, 14, 11600, 14, 4868, 14, 14784, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 39491, 62, 31092, 796, 965, 7, 944, 13, 19849, 13, 37540, 13, 69, 7569, 7203, 75, 24954, 12, 39491, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 9104, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 15908, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 611, 300, 24954, 62, 39491, 62, 31092, 290, 13422, 7753, 13, 271, 62, 18870, 7753, 7, 75, 24954, 62, 39491, 62, 31092, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 90, 75, 24954, 62, 39491, 62, 31092, 92, 318, 257, 13422, 1894, 26, 8593, 5430, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 15908, 796, 20218, 7753, 13, 28015, 67, 29510, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13422, 1894, 796, 13422, 7753, 13, 9654, 7, 75, 24954, 62, 39491, 62, 31092, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4938, 62, 14933, 796, 1391, 69, 1, 75, 24954, 23330, 87, 18477, 69, 3672, 62, 37333, 844, 36786, 329, 2124, 287, 1744, 62, 34592, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 277, 287, 4938, 62, 14933, 13, 3849, 5458, 7, 18870, 1894, 13, 1136, 14933, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13422, 1894, 13, 2302, 974, 7, 69, 11, 3108, 28, 22065, 62, 15908, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 90, 69, 92, 373, 21242, 422, 262, 13422, 1894, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 796, 277, 1, 90, 22065, 62, 15908, 92, 14, 90, 69, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 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, 49706, 13, 24442, 7203, 43730, 3934, 2176, 13934, 422, 13422, 1894, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 796, 300, 24954, 62, 39491, 62, 31092, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 45380, 62, 82, 5943, 1170, 62, 75, 24954, 62, 39491, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 45218, 62, 15908, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 944, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 81, 9132, 343, 7, 22065, 62, 15908, 8, 628, 220, 220, 220, 825, 11495, 62, 11250, 62, 2617, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44836, 11495, 900, 284, 44988, 35, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 4677, 3157, 11495, 900, 300, 24954, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 477, 262, 4600, 45380, 12, 11250, 12, 9, 63, 4566, 82, 284, 900, 198, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 2617, 796, 1391, 74, 25, 410, 329, 479, 11, 410, 287, 2116, 13, 11250, 62, 40985, 22446, 23814, 3419, 611, 479, 13, 9688, 2032, 342, 7203, 45380, 12, 11250, 12, 4943, 92, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 11495, 62, 2617, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27967, 262, 2458, 198, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 2617, 62, 4868, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 20149, 62, 27938, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 410, 287, 11495, 62, 2617, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 38240, 12585, 14396, 4566, 284, 366, 45380, 900, 1, 15582, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 410, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 8367, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 39098, 7, 85, 11, 20512, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 8367, 796, 965, 7, 85, 737, 21037, 3419, 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, 11495, 62, 8367, 796, 410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 2539, 796, 479, 13, 33491, 7203, 45380, 12, 11250, 12, 1600, 366, 1600, 352, 737, 33491, 7203, 12, 1600, 366, 19570, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5345, 262, 11495, 4566, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11495, 62, 2617, 62, 4868, 13, 33295, 7203, 4, 82, 28, 4, 82, 1, 4064, 357, 45380, 62, 2539, 11, 11495, 62, 8367, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 26363, 326, 2421, 257, 20149, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 479, 13, 9688, 2032, 342, 7203, 45380, 12, 11250, 12, 75, 25306, 9501, 21215, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4600, 45380, 12, 11250, 12, 75, 25306, 9501, 12, 9, 63, 2314, 307, 5625, 2107, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20149, 62, 27938, 796, 6407, 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, 20850, 62, 12417, 8219, 7203, 34149, 11495, 8398, 7, 82, 2599, 366, 1343, 33172, 27071, 22179, 7, 45380, 62, 2617, 62, 4868, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 45380, 1600, 366, 2617, 1600, 366, 75, 24954, 8973, 1343, 11495, 62, 2617, 62, 4868, 11, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 366, 45380, 900, 300, 24954, 1, 373, 4388, 25, 3613, 477, 262, 479, 14, 85, 5625, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 410, 287, 11495, 62, 2617, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 11250, 58, 74, 60, 796, 410, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13, 75, 24954, 62, 271, 62, 5275, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 50, 4106, 2105, 44988, 35, 18126, 357, 15271, 28621, 8, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 75, 24954, 62, 260, 2220, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 20149, 62, 27938, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 10057, 62, 2617, 62, 260, 18769, 62, 35827, 3419, 628, 220, 220, 220, 825, 11495, 62, 17350, 62, 75, 24954, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15798, 44988, 35, 422, 11495, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 6518, 796, 2116, 13, 11250, 14692, 45380, 12, 17620, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6518, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6518, 62, 3672, 796, 6518, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6518, 62, 3672, 796, 366, 42861, 14, 31284, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 12417, 8219, 7, 69, 1, 6310, 9221, 44988, 35, 11495, 357, 17620, 34758, 17620, 62, 3672, 30072, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 45380, 1600, 366, 17350, 1600, 366, 75, 24954, 1600, 277, 1, 438, 17620, 34758, 17620, 92, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 45380, 1600, 366, 5420, 3447, 1600, 366, 75, 24954, 1600, 277, 1, 438, 17620, 34758, 17620, 92, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7203, 14, 7785, 14, 8019, 14, 75, 24954, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 14692, 75, 24954, 13, 76, 42175, 1600, 27444, 8505, 33116, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 24429, 351, 262, 11495, 9988, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 11250, 14692, 45380, 12, 17620, 8973, 796, 6518, 628, 220, 220, 220, 825, 11495, 62, 82, 5943, 1170, 62, 75, 24954, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 5943, 1170, 44988, 35, 11495, 8271, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 4677, 3157, 44988, 35, 11495, 33614, 1170, 2458, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 317, 657, 18022, 2393, 481, 555, 2220, 262, 8271, 198, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 11407, 1096, 7, 944, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 49, 964, 889, 284, 44988, 35, 11495, 422, 11495, 8095, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6518, 796, 2116, 13557, 301, 1850, 13, 11250, 14692, 45380, 12, 17620, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 14631, 45380, 1600, 366, 5420, 3447, 1600, 366, 75, 24954, 1600, 277, 1, 438, 17620, 34758, 17620, 92, 1600, 366, 438, 321, 437, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16144, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7139, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 50, 5943, 1170, 278, 44988, 35, 11495, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23991, 796, 14631, 45380, 1600, 366, 17350, 1600, 366, 438, 38537, 516, 1600, 2116, 13557, 301, 1850, 13, 75, 24954, 62, 45380, 62, 6978, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4619, 262, 33614, 22273, 11495, 1595, 470, 423, 281, 19190, 11, 617, 1243, 761, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 307, 1760, 14500, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16144, 796, 14631, 45380, 1600, 366, 26011, 1600, 366, 75, 24954, 13, 75, 25306, 1600, 366, 75, 25306, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7139, 796, 14631, 10057, 34168, 1600, 366, 21633, 1600, 366, 438, 2197, 1600, 366, 45380, 13, 75, 24954, 13, 6814, 7966, 13, 403, 844, 13, 44971, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 28758, 11, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 16144, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 26011, 11, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 7139, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 5143, 7, 21633, 11, 2198, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 850, 14681, 13, 34, 4262, 18709, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 62, 2436, 3543, 7, 69, 6, 37, 6255, 284, 1057, 45144, 68, 13, 28758, 92, 1298, 1391, 68, 13, 7783, 8189, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 628, 220, 220, 220, 825, 11495, 62, 82, 5943, 1170, 62, 75, 24954, 62, 39491, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 5943, 1170, 44988, 35, 13934, 8271, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 4677, 3157, 44988, 35, 13934, 33614, 1170, 2458, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 300, 24954, 62, 24442, 796, 12813, 7785, 14, 45380, 14, 75, 24954, 14, 11321, 14, 75, 24954, 13, 24442, 1, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 317, 657, 18022, 2393, 481, 555, 2220, 262, 8271, 198, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 11407, 1096, 7, 944, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 3118, 25138, 33614, 22273, 44988, 35, 13934, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 75, 24954, 62, 24442, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 75, 24954, 62, 24442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 50, 5943, 1170, 278, 44988, 35, 13934, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 24390, 366, 8206, 2393, 8179, 1, 4049, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 75, 24954, 62, 24442, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 8413, 5165, 1468, 33614, 22273, 44988, 35, 13934, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 75, 24954, 62, 24442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7753, 7, 944, 13557, 301, 1850, 13, 75, 24954, 62, 39491, 62, 6978, 11, 300, 24954, 62, 24442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 354, 4666, 7, 75, 24954, 62, 24442, 11, 657, 78, 38172, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 75, 24954, 62, 260, 2220, 3419, 628, 220, 220, 220, 825, 1080, 62, 20063, 62, 260, 18769, 62, 35827, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19856, 262, 20149, 62, 35827, 6056, 611, 257, 20149, 5091, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 262, 2672, 20149, 5091, 523, 1309, 338, 1598, 262, 6056, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 301, 1850, 13, 260, 18769, 62, 35827, 290, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 2200, 8202, 2394, 62, 2200, 10917, 37819, 62, 25664, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 260, 18769, 62, 35827, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7203, 37374, 20149, 1760, 4943, 628, 220, 220, 220, 825, 1080, 62, 2617, 62, 260, 18769, 62, 35827, 7, 944, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5497, 5344, 326, 257, 20149, 318, 2672, 284, 3151, 257, 3424, 1181, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 15957, 257, 6056, 2393, 12739, 326, 257, 20149, 318, 2672, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1280, 7, 2200, 8202, 2394, 62, 2200, 10917, 37819, 62, 25664, 11, 366, 64, 11074, 19836, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 301, 1850, 13, 260, 18769, 62, 35827, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 440, 5188, 81, 1472, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 43917, 7, 69, 1, 37, 6255, 284, 2251, 25, 1391, 2200, 8202, 2394, 62, 2200, 10917, 37819, 62, 25664, 92, 4943, 628, 220, 220, 220, 825, 4326, 62, 5275, 7, 944, 11, 31456, 25, 965, 796, 366, 4943, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 4326, 338, 3722, 284, 4075, 290, 2604, 262, 2810, 3275, 11, 611, 597, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 13, 13376, 796, 14199, 19580, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 31456, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 19662, 8, 628, 220, 220, 220, 825, 4326, 62, 2436, 3543, 7, 944, 11, 31456, 25, 965, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 4326, 338, 3722, 284, 10226, 290, 2604, 262, 2810, 3275, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 13, 13376, 796, 1086, 3543, 19580, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 18224, 7, 19662, 8, 628, 220, 220, 220, 825, 4326, 62, 12417, 8219, 7, 944, 11, 31456, 25, 965, 8, 4613, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 4326, 338, 3722, 284, 9262, 290, 2604, 262, 2810, 3275, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20850, 13, 13376, 796, 34857, 19580, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7, 19662, 8, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 7, 43, 24954, 1925, 1670, 8, 198 ]
2.069863
12,682
#!/usr/bin/env python3.9 import base64 import html from http.client import HTTPSConnection import json import threading import urllib.parse if __name__ == "__main__": import argparse import concurrent.futures as cofu import logging import pathlib import sys parser = argparse.ArgumentParser( description='Download subtitles for a youtube channel/playlist') parser.add_argument('-v', '--verbose', action='store_true') parser.add_argument('-q', '--quiet', action='store_true') parser.add_argument('-l', '--list', action='store_true', help='only list target IDs') parser.add_argument('-o', '--output-dir', type=pathlib.Path, default='.', metavar='path', help='output destination, otherwise current directory') parser.add_argument('-c', '--connections', type=int, default=10, metavar='count', help='number of parallel connections to use') parser.add_argument('ids', nargs='+', metavar='ID', help='channel or playlist id') args = parser.parse_args() logger = logging.getLogger('root') logger.setLevel(logging.DEBUG if args.verbose else logging.ERROR if args.quiet else logging.INFO) ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) logger.addHandler(ch) logger.debug(f'saving subtitles in: {args.output_dir.resolve()}') logger.debug(f'using {args.connections} connections') logger.debug(f'getting videos from: {" ".join(args.ids)}') ids = (e for plId in args.ids for e in fetch_items(plId, selector=lambda e: e['videoId'])) with cofu.ThreadPoolExecutor(args.connections, initializer=ConnectionManager.threadInit) as executor: future_id = {executor.submit(get_captions_from_config, vid) : vid for vid in ids} for future in cofu.as_completed(future_id): videoId = future_id[future] text = future.result() if text is not None: logger.debug(f'saving subtitles for {videoId}') with open(args.output_dir / videoId, 'w') as f: f.write(text) else: logger.warning(f'no subs for {videoId}')
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 13, 24, 198, 198, 11748, 2779, 2414, 198, 11748, 27711, 198, 6738, 2638, 13, 16366, 1330, 38288, 32048, 198, 11748, 33918, 198, 11748, 4704, 278, 198, 11748, 2956, 297, 571, 13, 29572, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 1822, 29572, 198, 220, 220, 220, 1330, 24580, 13, 69, 315, 942, 355, 763, 20942, 198, 220, 220, 220, 1330, 18931, 198, 220, 220, 220, 1330, 3108, 8019, 198, 220, 220, 220, 1330, 25064, 628, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 11639, 10002, 44344, 329, 257, 35116, 6518, 14, 1759, 4868, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 85, 3256, 705, 438, 19011, 577, 3256, 2223, 11639, 8095, 62, 7942, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 80, 3256, 705, 438, 39624, 3256, 2223, 11639, 8095, 62, 7942, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 75, 3256, 705, 438, 4868, 3256, 2223, 11639, 8095, 62, 7942, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 8807, 1351, 2496, 32373, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 78, 3256, 705, 438, 22915, 12, 15908, 3256, 2099, 28, 6978, 8019, 13, 15235, 11, 4277, 11639, 2637, 11, 1138, 615, 283, 11639, 6978, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 22915, 10965, 11, 4306, 1459, 8619, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 12, 66, 3256, 705, 438, 8443, 507, 3256, 2099, 28, 600, 11, 4277, 28, 940, 11, 1138, 615, 283, 11639, 9127, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 17618, 286, 10730, 8787, 284, 779, 11537, 628, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 2340, 3256, 299, 22046, 11639, 10, 3256, 1138, 615, 283, 11639, 2389, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 11639, 17620, 393, 33178, 4686, 11537, 628, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 49706, 796, 18931, 13, 1136, 11187, 1362, 10786, 15763, 11537, 198, 220, 220, 220, 49706, 13, 2617, 4971, 7, 6404, 2667, 13, 30531, 611, 26498, 13, 19011, 577, 2073, 18931, 13, 24908, 611, 26498, 13, 39624, 2073, 18931, 13, 10778, 8, 198, 220, 220, 220, 442, 796, 18931, 13, 12124, 25060, 3419, 198, 220, 220, 220, 442, 13, 2617, 4971, 7, 6404, 2667, 13, 30531, 8, 198, 220, 220, 220, 49706, 13, 2860, 25060, 7, 354, 8, 628, 220, 220, 220, 49706, 13, 24442, 7, 69, 338, 2703, 44344, 287, 25, 1391, 22046, 13, 22915, 62, 15908, 13, 411, 6442, 3419, 92, 11537, 198, 220, 220, 220, 49706, 13, 24442, 7, 69, 6, 3500, 1391, 22046, 13, 8443, 507, 92, 8787, 11537, 198, 220, 220, 220, 49706, 13, 24442, 7, 69, 6, 37210, 5861, 422, 25, 19779, 27071, 22179, 7, 22046, 13, 2340, 38165, 11537, 628, 220, 220, 220, 220, 2340, 796, 357, 68, 329, 458, 7390, 287, 26498, 13, 2340, 329, 304, 287, 21207, 62, 23814, 7, 489, 7390, 11, 31870, 28, 50033, 304, 25, 304, 17816, 15588, 7390, 20520, 4008, 198, 220, 220, 220, 351, 763, 20942, 13, 16818, 27201, 23002, 38409, 7, 22046, 13, 8443, 507, 11, 4238, 7509, 28, 32048, 13511, 13, 16663, 31768, 8, 355, 3121, 273, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2003, 62, 312, 796, 1391, 18558, 38409, 13, 46002, 7, 1136, 62, 27144, 507, 62, 6738, 62, 11250, 11, 410, 312, 8, 1058, 410, 312, 329, 410, 312, 287, 220, 2340, 92, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2003, 287, 763, 20942, 13, 292, 62, 785, 16838, 7, 37443, 62, 312, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2008, 7390, 796, 2003, 62, 312, 58, 37443, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 2003, 13, 20274, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 338, 2703, 44344, 329, 1391, 15588, 7390, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 22046, 13, 22915, 62, 15908, 1220, 2008, 7390, 11, 705, 86, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 5239, 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, 49706, 13, 43917, 7, 69, 6, 3919, 6352, 329, 1391, 15588, 7390, 92, 11537, 198 ]
2.591127
834
import pygame import random pygame.init() WIDTH, HEIGHT = 960, 700 SCREEN = pygame.display.set_mode((WIDTH, HEIGHT)) WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) BLUE = (0, 0, 255) CLOCK = pygame.time.Clock() FPS = 30 particles_list = [] container = Container(500, 500) generate_particles(container, 10) main_font = pygame.font.SysFont('comicsans', 50) lost_font = pygame.font.SysFont('comicsans', 60) # Draw text lives_label = main_font.render(f"Which Law ? ", 1, BLUE) level_label = main_font.render(f"Level", 1, BLUE) done = False while not done: for event in pygame.event.get(): if event.type == pygame.QUIT: done = True mouse_pos = pygame.mouse.get_pos() mouse_press = pygame.mouse.get_pressed() keys = pygame.key.get_pressed() SCREEN.fill(WHITE) container.draw() SCREEN.blit(lives_label, (10, 10)) SCREEN.blit(level_label, (WIDTH-level_label.get_width() - 10, 10)) for p in particles_list: p.draw() p.move() p.collide() # p1.draw() # p1.move() # p1.collide() # p2.draw() # p2.move() # p2.collide() # if keys[pygame.K_SPACE]: # p1.move() # pygame.draw.rect(SCREEN, BLACK, pygame.Rect( # 10, HEIGHT//2 - 125, 300, 250), 5) # pygame.draw.rect(SCREEN, BLACK, pygame.Rect( # 330, HEIGHT//2 - 125, 300, 250), 5) # pygame.draw.rect(SCREEN, BLACK, pygame.Rect( # 650, HEIGHT//2 - 125, 300, 250), 5) pygame.display.update() CLOCK.tick(FPS)
[ 11748, 12972, 6057, 198, 11748, 4738, 198, 198, 9078, 6057, 13, 15003, 3419, 198, 198, 54, 2389, 4221, 11, 11179, 9947, 796, 41263, 11, 13037, 198, 6173, 2200, 1677, 796, 12972, 6057, 13, 13812, 13, 2617, 62, 14171, 19510, 54, 2389, 4221, 11, 11179, 9947, 4008, 198, 198, 12418, 12709, 796, 357, 13381, 11, 14280, 11, 14280, 8, 198, 9148, 8120, 796, 357, 15, 11, 657, 11, 657, 8, 198, 22083, 796, 357, 13381, 11, 657, 11, 657, 8, 198, 9148, 8924, 796, 357, 15, 11, 657, 11, 14280, 8, 198, 198, 5097, 11290, 796, 12972, 6057, 13, 2435, 13, 44758, 3419, 198, 37, 3705, 796, 1542, 198, 198, 3911, 2983, 62, 4868, 796, 17635, 628, 628, 198, 198, 34924, 796, 43101, 7, 4059, 11, 5323, 8, 198, 8612, 378, 62, 3911, 2983, 7, 34924, 11, 838, 8, 198, 198, 12417, 62, 10331, 796, 12972, 6057, 13, 10331, 13, 44387, 23252, 10786, 785, 873, 504, 3256, 2026, 8, 198, 33224, 62, 10331, 796, 12972, 6057, 13, 10331, 13, 44387, 23252, 10786, 785, 873, 504, 3256, 3126, 8, 198, 198, 2, 15315, 2420, 198, 75, 1083, 62, 18242, 796, 1388, 62, 10331, 13, 13287, 7, 69, 1, 13828, 3854, 5633, 33172, 352, 11, 9878, 8924, 8, 198, 5715, 62, 18242, 796, 1388, 62, 10331, 13, 13287, 7, 69, 1, 4971, 1600, 352, 11, 9878, 8924, 8, 628, 198, 198, 28060, 796, 10352, 198, 4514, 407, 1760, 25, 198, 220, 220, 220, 329, 1785, 287, 12972, 6057, 13, 15596, 13, 1136, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 4906, 6624, 12972, 6057, 13, 10917, 2043, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1760, 796, 6407, 628, 220, 220, 220, 10211, 62, 1930, 796, 12972, 6057, 13, 35888, 13, 1136, 62, 1930, 3419, 198, 220, 220, 220, 10211, 62, 8439, 796, 12972, 6057, 13, 35888, 13, 1136, 62, 45477, 3419, 198, 220, 220, 220, 8251, 796, 12972, 6057, 13, 2539, 13, 1136, 62, 45477, 3419, 628, 220, 220, 220, 6374, 2200, 1677, 13, 20797, 7, 12418, 12709, 8, 628, 198, 220, 220, 220, 9290, 13, 19334, 3419, 628, 220, 220, 220, 6374, 2200, 1677, 13, 2436, 270, 7, 75, 1083, 62, 18242, 11, 357, 940, 11, 838, 4008, 198, 220, 220, 220, 6374, 2200, 1677, 13, 2436, 270, 7, 5715, 62, 18242, 11, 357, 54, 2389, 4221, 12, 5715, 62, 18242, 13, 1136, 62, 10394, 3419, 532, 838, 11, 838, 4008, 628, 220, 220, 220, 329, 279, 287, 13166, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 13, 19334, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 279, 13, 21084, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 279, 13, 26000, 485, 3419, 628, 220, 220, 220, 1303, 279, 16, 13, 19334, 3419, 198, 220, 220, 220, 1303, 279, 16, 13, 21084, 3419, 198, 220, 220, 220, 1303, 279, 16, 13, 26000, 485, 3419, 628, 220, 220, 220, 1303, 279, 17, 13, 19334, 3419, 198, 220, 220, 220, 1303, 279, 17, 13, 21084, 3419, 198, 220, 220, 220, 1303, 279, 17, 13, 26000, 485, 3419, 628, 220, 220, 220, 1303, 611, 8251, 58, 9078, 6057, 13, 42, 62, 4303, 11598, 5974, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 279, 16, 13, 21084, 3419, 628, 220, 220, 220, 1303, 12972, 6057, 13, 19334, 13, 2554, 7, 6173, 2200, 1677, 11, 31963, 11, 12972, 6057, 13, 45474, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 838, 11, 11179, 9947, 1003, 17, 532, 13151, 11, 5867, 11, 8646, 828, 642, 8, 198, 220, 220, 220, 1303, 12972, 6057, 13, 19334, 13, 2554, 7, 6173, 2200, 1677, 11, 31963, 11, 12972, 6057, 13, 45474, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 25508, 11, 11179, 9947, 1003, 17, 532, 13151, 11, 5867, 11, 8646, 828, 642, 8, 198, 220, 220, 220, 1303, 12972, 6057, 13, 19334, 13, 2554, 7, 6173, 2200, 1677, 11, 31963, 11, 12972, 6057, 13, 45474, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 22626, 11, 11179, 9947, 1003, 17, 532, 13151, 11, 5867, 11, 8646, 828, 642, 8, 628, 220, 220, 220, 12972, 6057, 13, 13812, 13, 19119, 3419, 198, 220, 220, 220, 7852, 11290, 13, 42298, 7, 37, 3705, 8, 198 ]
2.154062
714
'''Script to make all interpretation based plots for the alert followup fast response paper''' import os import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import scipy.stats as st from francis import utils from results_utils import * from francis.universe.universe_plotter import UniversePlotter mpl.style.use(utils.initialize_mpl_style()) base_output = os.path.abspath(utils.get_francis_path() + '../figures/paper_plots/') + '/' palette = sns.light_palette((210, 90, 60), input="husl", n_colors=12) if __name__ == "__main__": unis, binom_scans = get_universe_dict() binomial_scan_plots(unis, binom_scans) binomial_distribution_plots(unis, binom_scans) sensitivity_and_upper_limits(unis, binom_scans)
[ 7061, 6, 7391, 284, 787, 477, 10794, 1912, 21528, 198, 1640, 262, 7995, 1061, 929, 3049, 2882, 3348, 7061, 6, 198, 198, 11748, 28686, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 355, 285, 489, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 629, 541, 88, 13, 34242, 355, 336, 198, 6738, 46754, 271, 1330, 3384, 4487, 198, 6738, 2482, 62, 26791, 1330, 1635, 198, 6738, 46754, 271, 13, 403, 3997, 13, 403, 3997, 62, 29487, 353, 1330, 11950, 43328, 353, 198, 198, 76, 489, 13, 7635, 13, 1904, 7, 26791, 13, 36733, 1096, 62, 76, 489, 62, 7635, 28955, 198, 8692, 62, 22915, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 26791, 13, 1136, 62, 8310, 1192, 271, 62, 6978, 3419, 1343, 705, 40720, 5647, 942, 14, 20189, 62, 489, 1747, 14, 11537, 1343, 31051, 6, 198, 18596, 5857, 796, 3013, 82, 13, 2971, 62, 18596, 5857, 19510, 21536, 11, 4101, 11, 3126, 828, 5128, 2625, 7537, 75, 1600, 299, 62, 4033, 669, 28, 1065, 8, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 555, 271, 11, 9874, 296, 62, 1416, 504, 796, 651, 62, 403, 3997, 62, 11600, 3419, 198, 220, 220, 220, 9874, 49070, 62, 35836, 62, 489, 1747, 7, 403, 271, 11, 9874, 296, 62, 1416, 504, 8, 198, 220, 220, 220, 9874, 49070, 62, 17080, 3890, 62, 489, 1747, 7, 403, 271, 11, 9874, 296, 62, 1416, 504, 8, 198, 220, 220, 220, 14233, 62, 392, 62, 45828, 62, 49196, 7, 403, 271, 11, 9874, 296, 62, 1416, 504, 8 ]
2.738971
272
#!/usr/bin/env python """Tests for `igit` package.""" # pylint: disable=redefined-outer-name import random import pytest import igit @pytest.fixture(scope="module")
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 37811, 51, 3558, 329, 4600, 328, 270, 63, 5301, 526, 15931, 198, 2, 279, 2645, 600, 25, 15560, 28, 445, 18156, 12, 39605, 12, 3672, 198, 198, 11748, 4738, 198, 198, 11748, 12972, 9288, 198, 198, 11748, 45329, 270, 628, 198, 31, 9078, 9288, 13, 69, 9602, 7, 29982, 2625, 21412, 4943, 628, 628 ]
2.746032
63
import argparse import json import os from xml.etree import ElementTree from cvat.api import CVATAPI from cvat.argument import cvat_args from cvat.cvat_xml import cvat_xml_to_coco if __name__ == '__main__': parser = argparse.ArgumentParser() cvat_args(parser) parser.add_argument("--job_id", action="append", type=int, required=True) parser.add_argument("--output_dir", default="./datasets") args = parser.parse_args() api = CVATAPI(args.cvat_host) api.login(args.cvat_username, args.cvat_password) for job_id in args.job_id: job = api.get_job(job_id).json() try: task_id = job["task_id"] except: raise RuntimeError(job) data = api.export_data(task_id, format="CVAT XML 1.1 for images").content root = ElementTree.fromstring(data) result = cvat_xml_to_coco(root, ignore_crowded=True, occluded_as_crowded=True, ignore_attributes=True ) with open(os.path.join(args.output_dir, f"export_job_{job_id}.coco.json"), "w") as f: json.dump(result, f)
[ 11748, 1822, 29572, 198, 11748, 33918, 198, 11748, 28686, 198, 6738, 35555, 13, 316, 631, 1330, 11703, 27660, 198, 198, 6738, 269, 85, 265, 13, 15042, 1330, 26196, 1404, 17614, 198, 6738, 269, 85, 265, 13, 49140, 1330, 269, 85, 265, 62, 22046, 198, 6738, 269, 85, 265, 13, 33967, 265, 62, 19875, 1330, 269, 85, 265, 62, 19875, 62, 1462, 62, 66, 25634, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 269, 85, 265, 62, 22046, 7, 48610, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7203, 438, 21858, 62, 312, 1600, 2223, 2625, 33295, 1600, 2099, 28, 600, 11, 2672, 28, 17821, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7203, 438, 22915, 62, 15908, 1600, 4277, 28, 1911, 14, 19608, 292, 1039, 4943, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 40391, 796, 26196, 1404, 17614, 7, 22046, 13, 33967, 265, 62, 4774, 8, 198, 220, 220, 220, 40391, 13, 38235, 7, 22046, 13, 33967, 265, 62, 29460, 11, 26498, 13, 33967, 265, 62, 28712, 8, 628, 220, 220, 220, 329, 1693, 62, 312, 287, 26498, 13, 21858, 62, 312, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1693, 796, 40391, 13, 1136, 62, 21858, 7, 21858, 62, 312, 737, 17752, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4876, 62, 312, 796, 1693, 14692, 35943, 62, 312, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 7, 21858, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 40391, 13, 39344, 62, 7890, 7, 35943, 62, 312, 11, 5794, 2625, 33538, 1404, 23735, 352, 13, 16, 329, 4263, 11074, 11299, 198, 220, 220, 220, 220, 220, 220, 220, 6808, 796, 11703, 27660, 13, 6738, 8841, 7, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 269, 85, 265, 62, 19875, 62, 1462, 62, 66, 25634, 7, 15763, 11, 8856, 62, 66, 3986, 276, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1609, 75, 19289, 62, 292, 62, 66, 3986, 276, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 1078, 7657, 28, 17821, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 351, 1280, 7, 418, 13, 6978, 13, 22179, 7, 22046, 13, 22915, 62, 15908, 11, 277, 1, 39344, 62, 21858, 23330, 21858, 62, 312, 27422, 66, 25634, 13, 17752, 12340, 366, 86, 4943, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33918, 13, 39455, 7, 20274, 11, 277, 8, 198 ]
2.035897
585
# from django.shortcuts import render import json from rest_framework import status from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.permissions import AllowAny from backend.helpers import InputErrorMessage, JSONResponse from .models import UserSerialiser, User # Create your views here.
[ 2, 422, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 11748, 33918, 198, 6738, 1334, 62, 30604, 1330, 3722, 198, 6738, 1334, 62, 30604, 13, 33571, 1330, 3486, 3824, 769, 198, 6738, 1334, 62, 30604, 13, 26209, 1330, 18261, 198, 6738, 1334, 62, 30604, 13, 525, 8481, 1330, 22507, 7149, 198, 198, 6738, 30203, 13, 16794, 364, 1330, 23412, 12331, 12837, 11, 19449, 31077, 198, 6738, 764, 27530, 1330, 11787, 32634, 5847, 11, 11787, 628, 198, 2, 13610, 534, 5009, 994, 13 ]
4.231707
82