content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
# -*- coding: utf-8 -*- from django.conf import settings from django.core.management.base import BaseCommand, CommandError from monapay.rpc import make_rpc_connection
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 7295, 13, 27604, 13, 8692, 1330, 7308, 21575, 11, 9455, 12331, 198, 6738, 937, 499, 323, 13, 81, 14751, 1330, 787, 62, 81, 14751, 62, 38659, 198 ]
3.111111
54
from typing import * # usage.dask: 8 # usage.sklearn: 9 CategoricalDtype: object # usage.dask: 2 is_categorical_dtype: object # usage.dask: 3 is_sparse: object
[ 6738, 19720, 1330, 1635, 198, 198, 2, 8748, 13, 67, 2093, 25, 807, 198, 2, 8748, 13, 8135, 35720, 25, 860, 198, 34, 2397, 12409, 35, 4906, 25, 2134, 198, 198, 2, 8748, 13, 67, 2093, 25, 362, 198, 271, 62, 66, 2397, 12409, 62, 67, 4906, 25, 2134, 198, 198, 2, 8748, 13, 67, 2093, 25, 513, 198, 271, 62, 82, 29572, 25, 2134, 198 ]
2.469697
66
""" Defines decorators that Architect provides. """ import inspect import functools from .bases import BaseFeature from .registry import registry, Registrar from ..exceptions import ( ORMError, FeatureInstallError, FeatureUninstallError, MethodAutoDecorateError ) from copy import deepcopy class install(object): """ Install decorator installs the requested feature for a model. All features are installed inside the "architect" namespace to avoid all possible naming conflicts. """ def __init__(self, feature, **options): """ :param string feature: (required). A feature to install. :param dictionary options: (optional). Feature options. """ # for backward compatibility options = set_list_vals('subtype', **options) options = set_list_vals('constraint', **options) options = set_list_vals('column', **options) self.features = {} self.feature = feature self.options = {'feature': options, 'global': dict((k, v) for k, v in options.items() if k in ('db',))} def __call__(self, model): """ :param class model: (required). A model class where feature will be installed. """ orm = self.options['feature'].pop('orm', None) or model.__class__.__module__.split('.')[0] if orm not in Registrar.orms: try: __import__('{0}.features'.format(orm), globals(), level=1, fromlist='*') except ImportError: import os import pkgutil raise ORMError( current=orm, model=model.__name__, allowed=[name for _, name, is_pkg in pkgutil.iter_modules([os.path.dirname(__file__)]) if is_pkg]) self.init_feature(self.feature, model, registry[orm]) # If a model already has some architect features installed, we need to # gather them and merge with the new feature that needs to be installed if hasattr(model, 'architect'): for name, obj in model.architect.__dict__.items(): if isinstance(obj, BaseFeature): if name not in self.features: self.features[name] = {'class': obj.__class__, 'options': obj.options} # Some ORMs disallow setting new attributes on model classes, we # have to fix this by providing the default __setattr__ behaviour type(model).__setattr__ = lambda o, n, v: type.__setattr__(o, n, v) # So what's going on here ? The idea is to create an "architect" namespace using the # Architect class which is a descriptor itself, which when accessed returns the # autogenerated class with all the requested features. The most important part here # is that because we're using a descriptor we can get access to the model class from # every feature class and all that absolutely correctly works even with the model # inheritance. While the same can be achieved using metaclasses, the problem is that # every ORM also uses metaclasses which produces the metaclass conflict because a # class can't have two metaclasses. This situation can also be solved but it requires # much more magical stuff to be written that is why this approach was chosen model.architect = Architect(self.features) return model def init_feature(self, feature, model, features_registry): """ Initializes the requested feature. :param string feature: (required). A feature to initialize. :param class model: (required). A model where feature will be initialized. :param dict features_registry: (required). A registry with available features for the current ORM. """ try: feature_cls = features_registry[feature] except KeyError: raise FeatureInstallError(current=feature, model=model.__name__, allowed=features_registry.keys()) for name in feature_cls.decorate: try: original = getattr(model, name) if getattr(original, 'is_decorated', False): # Handle the inheritance cases original = original.original except AttributeError: raise MethodAutoDecorateError(current=name, model=model.__name__) decorator = getattr(feature_cls, '_decorate_{0}'.format(name)) decorated = functools.wraps(original)(decorator(original)) decorated.original = original decorated.is_decorated = True setattr(model, name, decorated) self.features[feature] = { 'class': feature_cls, 'options': self.options['feature'] if feature == self.feature else self.options['global'] } if hasattr(feature_cls, 'register_hooks'): feature_cls.register_hooks(model) for dependency in feature_cls.dependencies: self.init_feature(dependency, model, features_registry) class uninstall(object): """ Uninstall decorator uninstalls the requested feature and all it's dependencies from a model. """ def __init__(self, feature): """ :param string feature: (required). A feature to uninstall. """ self.feature = feature def __call__(self, model): """ :param class model: (required). A model class to work with. """ self.deinit_feature(self.feature, model) return model def deinit_feature(self, feature, model): """ Deinitializes requested feature and it's dependencies. :param string feature: (required). A feature to deinitialize. :param class model: (required). A model class to work with. """ try: feature_obj = getattr(model.architect, feature) except AttributeError: raise FeatureUninstallError( current=feature, model=model.__name__, allowed=[name for name, obj in model.architect.__dict__.items() if isinstance(obj, BaseFeature)]) # The concept of "unbound methods" has been removed from Python 3. When accessing a method # from a class, we now get a plain function object. This is what the isfunction check for methods = inspect.getmembers(model, predicate=lambda m: inspect.isfunction(m) or inspect.ismethod(m)) for name, method in methods: if getattr(method, 'is_decorated', False): setattr(model, name, method.original) delattr(model.architect, feature) # TODO: prohibit uninstall if there are dependant features for dependency in feature_obj.dependencies: self.deinit_feature(dependency, model)
[ 37811, 198, 7469, 1127, 11705, 2024, 326, 17340, 3769, 13, 198, 37811, 198, 198, 11748, 10104, 198, 11748, 1257, 310, 10141, 198, 198, 6738, 764, 65, 1386, 1330, 7308, 38816, 198, 6738, 764, 2301, 4592, 1330, 20478, 11, 46439, 198, 6738, 11485, 1069, 11755, 1330, 357, 198, 220, 220, 220, 6375, 44, 12331, 11, 198, 220, 220, 220, 27018, 15798, 12331, 11, 198, 220, 220, 220, 27018, 3118, 17350, 12331, 11, 198, 220, 220, 220, 11789, 27722, 10707, 16262, 12331, 198, 8, 198, 6738, 4866, 1330, 2769, 30073, 628, 198, 198, 4871, 2721, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15545, 11705, 1352, 42027, 262, 9167, 3895, 329, 257, 2746, 13, 1439, 3033, 389, 198, 220, 220, 220, 6589, 2641, 262, 366, 998, 5712, 1, 25745, 284, 3368, 477, 1744, 19264, 12333, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 3895, 11, 12429, 25811, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4731, 3895, 25, 357, 35827, 737, 317, 3895, 284, 2721, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 22155, 3689, 25, 357, 25968, 737, 27018, 3689, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 329, 19528, 17764, 198, 220, 220, 220, 220, 220, 220, 220, 3689, 796, 900, 62, 4868, 62, 12786, 10786, 7266, 4906, 3256, 12429, 25811, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3689, 796, 900, 62, 4868, 62, 12786, 10786, 1102, 2536, 2913, 3256, 12429, 25811, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3689, 796, 900, 62, 4868, 62, 12786, 10786, 28665, 3256, 12429, 25811, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 40890, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30053, 796, 3895, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25811, 796, 1391, 6, 30053, 10354, 3689, 11, 705, 20541, 10354, 8633, 19510, 74, 11, 410, 8, 329, 479, 11, 410, 287, 3689, 13, 23814, 3419, 611, 479, 287, 19203, 9945, 3256, 4008, 92, 628, 220, 220, 220, 825, 11593, 13345, 834, 7, 944, 11, 2746, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1398, 2746, 25, 357, 35827, 737, 317, 2746, 1398, 810, 3895, 481, 307, 6589, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 393, 76, 796, 2116, 13, 25811, 17816, 30053, 6, 4083, 12924, 10786, 579, 3256, 6045, 8, 393, 2746, 13, 834, 4871, 834, 13, 834, 21412, 834, 13, 35312, 10786, 2637, 38381, 15, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 393, 76, 407, 287, 46439, 13, 579, 82, 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, 11593, 11748, 834, 10786, 90, 15, 27422, 40890, 4458, 18982, 7, 579, 828, 15095, 874, 22784, 1241, 28, 16, 11, 422, 4868, 11639, 9, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 17267, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 28686, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 279, 10025, 22602, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 6375, 44, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 28, 579, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 28, 19849, 13, 834, 3672, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3142, 41888, 3672, 329, 4808, 11, 1438, 11, 318, 62, 35339, 287, 279, 10025, 22602, 13, 2676, 62, 18170, 26933, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 12962, 611, 318, 62, 35339, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15003, 62, 30053, 7, 944, 13, 30053, 11, 2746, 11, 20478, 58, 579, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 257, 2746, 1541, 468, 617, 7068, 3033, 6589, 11, 356, 761, 284, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6431, 606, 290, 20121, 351, 262, 649, 3895, 326, 2476, 284, 307, 6589, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 19849, 11, 705, 998, 5712, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1438, 11, 26181, 287, 2746, 13, 998, 5712, 13, 834, 11600, 834, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 26801, 11, 7308, 38816, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 407, 287, 2116, 13, 40890, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 40890, 58, 3672, 60, 796, 1391, 6, 4871, 10354, 26181, 13, 834, 4871, 834, 11, 705, 25811, 10354, 26181, 13, 25811, 92, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2773, 6375, 10128, 595, 12154, 4634, 649, 12608, 319, 2746, 6097, 11, 356, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 423, 284, 4259, 428, 416, 4955, 262, 4277, 11593, 2617, 35226, 834, 9172, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 7, 19849, 737, 834, 2617, 35226, 834, 796, 37456, 267, 11, 299, 11, 410, 25, 2099, 13, 834, 2617, 35226, 834, 7, 78, 11, 299, 11, 410, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1406, 644, 338, 1016, 319, 994, 5633, 383, 2126, 318, 284, 2251, 281, 366, 998, 5712, 1, 25745, 1262, 262, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 17340, 1398, 543, 318, 257, 43087, 2346, 11, 543, 618, 17535, 5860, 262, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1960, 519, 877, 515, 1398, 351, 477, 262, 9167, 3033, 13, 383, 749, 1593, 636, 994, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 318, 326, 780, 356, 821, 1262, 257, 43087, 356, 460, 651, 1895, 284, 262, 2746, 1398, 422, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 790, 3895, 1398, 290, 477, 326, 5543, 9380, 2499, 772, 351, 262, 2746, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 24155, 13, 2893, 262, 976, 460, 307, 8793, 1262, 1138, 330, 28958, 11, 262, 1917, 318, 326, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 790, 6375, 44, 635, 3544, 1138, 330, 28958, 543, 11073, 262, 1138, 330, 31172, 5358, 780, 257, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1398, 460, 470, 423, 734, 1138, 330, 28958, 13, 770, 3074, 460, 635, 307, 16019, 475, 340, 4433, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 881, 517, 10883, 3404, 284, 307, 3194, 326, 318, 1521, 428, 3164, 373, 7147, 628, 220, 220, 220, 220, 220, 220, 220, 2746, 13, 998, 5712, 796, 17340, 7, 944, 13, 40890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2746, 628, 220, 220, 220, 825, 2315, 62, 30053, 7, 944, 11, 3895, 11, 2746, 11, 3033, 62, 2301, 4592, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 20768, 4340, 262, 9167, 3895, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4731, 3895, 25, 357, 35827, 737, 317, 3895, 284, 41216, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1398, 2746, 25, 357, 35827, 737, 317, 2746, 810, 3895, 481, 307, 23224, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 8633, 3033, 62, 2301, 4592, 25, 357, 35827, 737, 317, 20478, 351, 1695, 3033, 329, 262, 1459, 6375, 44, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3895, 62, 565, 82, 796, 3033, 62, 2301, 4592, 58, 30053, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 27018, 15798, 12331, 7, 14421, 28, 30053, 11, 2746, 28, 19849, 13, 834, 3672, 834, 11, 3142, 28, 40890, 62, 2301, 4592, 13, 13083, 28955, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1438, 287, 3895, 62, 565, 82, 13, 12501, 16262, 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, 2656, 796, 651, 35226, 7, 19849, 11, 1438, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 651, 35226, 7, 14986, 11, 705, 271, 62, 12501, 273, 515, 3256, 10352, 2599, 220, 1303, 33141, 262, 24155, 2663, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2656, 796, 2656, 13, 14986, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 3460, 4163, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11789, 27722, 10707, 16262, 12331, 7, 14421, 28, 3672, 11, 2746, 28, 19849, 13, 834, 3672, 834, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11705, 1352, 796, 651, 35226, 7, 30053, 62, 565, 82, 11, 705, 62, 12501, 16262, 23330, 15, 92, 4458, 18982, 7, 3672, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24789, 796, 1257, 310, 10141, 13, 29988, 862, 7, 14986, 5769, 12501, 273, 1352, 7, 14986, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24789, 13, 14986, 796, 2656, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24789, 13, 271, 62, 12501, 273, 515, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 19849, 11, 1438, 11, 24789, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 40890, 58, 30053, 60, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 4871, 10354, 3895, 62, 565, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 25811, 10354, 2116, 13, 25811, 17816, 30053, 20520, 611, 3895, 6624, 2116, 13, 30053, 2073, 2116, 13, 25811, 17816, 20541, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 628, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 30053, 62, 565, 82, 11, 705, 30238, 62, 25480, 82, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3895, 62, 565, 82, 13, 30238, 62, 25480, 82, 7, 19849, 8, 628, 220, 220, 220, 220, 220, 220, 220, 329, 20203, 287, 3895, 62, 565, 82, 13, 45841, 3976, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15003, 62, 30053, 7, 45841, 1387, 11, 2746, 11, 3033, 62, 2301, 4592, 8, 628, 198, 4871, 43194, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 791, 17350, 11705, 1352, 555, 8625, 5691, 262, 9167, 3895, 290, 477, 340, 338, 20086, 422, 257, 2746, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 3895, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4731, 3895, 25, 357, 35827, 737, 317, 3895, 284, 43194, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30053, 796, 3895, 628, 220, 220, 220, 825, 11593, 13345, 834, 7, 944, 11, 2746, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1398, 2746, 25, 357, 35827, 737, 317, 2746, 1398, 284, 670, 351, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2934, 15003, 62, 30053, 7, 944, 13, 30053, 11, 2746, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2746, 628, 220, 220, 220, 825, 390, 15003, 62, 30053, 7, 944, 11, 3895, 11, 2746, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1024, 36733, 4340, 9167, 3895, 290, 340, 338, 20086, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4731, 3895, 25, 357, 35827, 737, 317, 3895, 284, 390, 36733, 1096, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1398, 2746, 25, 357, 35827, 737, 317, 2746, 1398, 284, 670, 351, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3895, 62, 26801, 796, 651, 35226, 7, 19849, 13, 998, 5712, 11, 3895, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 3460, 4163, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 27018, 3118, 17350, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 28, 30053, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 28, 19849, 13, 834, 3672, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3142, 41888, 3672, 329, 1438, 11, 26181, 287, 2746, 13, 998, 5712, 13, 834, 11600, 834, 13, 23814, 3419, 611, 318, 39098, 7, 26801, 11, 7308, 38816, 8, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 3721, 286, 366, 403, 7784, 5050, 1, 468, 587, 4615, 422, 11361, 513, 13, 1649, 22534, 257, 2446, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 422, 257, 1398, 11, 356, 783, 651, 257, 8631, 2163, 2134, 13, 770, 318, 644, 262, 318, 8818, 2198, 329, 198, 220, 220, 220, 220, 220, 220, 220, 5050, 796, 10104, 13, 1136, 30814, 7, 19849, 11, 44010, 28, 50033, 285, 25, 10104, 13, 4468, 4575, 7, 76, 8, 393, 10104, 13, 1042, 316, 2065, 7, 76, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1438, 11, 2446, 287, 5050, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 651, 35226, 7, 24396, 11, 705, 271, 62, 12501, 273, 515, 3256, 10352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 19849, 11, 1438, 11, 2446, 13, 14986, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1619, 35226, 7, 19849, 13, 998, 5712, 11, 3895, 8, 220, 1303, 16926, 46, 25, 20767, 43194, 611, 612, 389, 4745, 415, 3033, 628, 220, 220, 220, 220, 220, 220, 220, 329, 20203, 287, 3895, 62, 26801, 13, 45841, 3976, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2934, 15003, 62, 30053, 7, 45841, 1387, 11, 2746, 8, 198 ]
2.589062
2,633
# -*- coding: utf-8 -*- # Importing the Libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the Data dataset=pd.read_csv('Data.csv') X = dataset.iloc[:,:-1].values y = dataset.iloc[:,3].values # Taking care of missing Data from sklearn.preprocessing import Imputer imputer = Imputer(missing_values='NaN', strategy='mean', axis=0) imputer = imputer.fit(X[:,1:3]) X[:,1:3] = imputer.transform(X[:,1:3]) # Encoding Categorical Data from sklearn.preprocessing import LabelEncoder, OneHotEncoder labelencoder_X = LabelEncoder() X[:,0] = labelencoder_X.fit_transform(X[:,0]) onehotencoder = OneHotEncoder(categorical_features=[0]) X = onehotencoder.fit_transform(X).toarray() labelencoder_y = LabelEncoder() y = labelencoder_y.fit_transform(y) #Splitting the Data into Training Set and Test Set from sklearn.cross_validation import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, random_state = 0) # Feature Scaling from sklearn.preprocessing import StandardScaler sc_X = StandardScaler() X_train = sc_X.fit_transform(X_train) X_test = sc_X.transform(X_test)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 17267, 278, 262, 46267, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 19798, 292, 355, 279, 67, 198, 198, 2, 17267, 278, 262, 6060, 198, 19608, 292, 316, 28, 30094, 13, 961, 62, 40664, 10786, 6601, 13, 40664, 11537, 198, 55, 796, 27039, 13, 346, 420, 58, 45299, 21912, 16, 4083, 27160, 198, 88, 796, 27039, 13, 346, 420, 58, 45299, 18, 4083, 27160, 198, 198, 2, 20879, 1337, 286, 4814, 6060, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 1846, 10549, 198, 320, 10549, 796, 1846, 10549, 7, 45688, 62, 27160, 11639, 26705, 45, 3256, 4811, 11639, 32604, 3256, 16488, 28, 15, 8, 198, 320, 10549, 796, 848, 11894, 13, 11147, 7, 55, 58, 45299, 16, 25, 18, 12962, 198, 55, 58, 45299, 16, 25, 18, 60, 796, 848, 11894, 13, 35636, 7, 55, 58, 45299, 16, 25, 18, 12962, 198, 198, 2, 14711, 7656, 327, 2397, 12409, 6060, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 36052, 27195, 12342, 11, 1881, 21352, 27195, 12342, 198, 18242, 12685, 12342, 62, 55, 796, 36052, 27195, 12342, 3419, 198, 55, 58, 45299, 15, 60, 796, 6167, 12685, 12342, 62, 55, 13, 11147, 62, 35636, 7, 55, 58, 45299, 15, 12962, 198, 505, 8940, 12685, 12342, 796, 1881, 21352, 27195, 12342, 7, 66, 2397, 12409, 62, 40890, 41888, 15, 12962, 198, 55, 796, 530, 8940, 12685, 12342, 13, 11147, 62, 35636, 7, 55, 737, 1462, 18747, 3419, 198, 18242, 12685, 12342, 62, 88, 796, 36052, 27195, 12342, 3419, 198, 88, 796, 6167, 12685, 12342, 62, 88, 13, 11147, 62, 35636, 7, 88, 8, 198, 198, 2, 26568, 2535, 262, 6060, 656, 13614, 5345, 290, 6208, 5345, 198, 6738, 1341, 35720, 13, 19692, 62, 12102, 341, 1330, 4512, 62, 9288, 62, 35312, 198, 55, 62, 27432, 11, 1395, 62, 9288, 11, 331, 62, 27432, 11, 331, 62, 9288, 796, 4512, 62, 9288, 62, 35312, 7, 55, 11, 331, 11, 1332, 62, 7857, 796, 657, 13, 17, 11, 4738, 62, 5219, 796, 657, 8, 198, 198, 2, 27018, 1446, 4272, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 8997, 3351, 36213, 198, 1416, 62, 55, 796, 8997, 3351, 36213, 3419, 198, 55, 62, 27432, 796, 629, 62, 55, 13, 11147, 62, 35636, 7, 55, 62, 27432, 8, 198, 55, 62, 9288, 796, 629, 62, 55, 13, 35636, 7, 55, 62, 9288, 8, 198 ]
2.75
416
# Copyright (c) 2013, TZCODE SRL and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import cstr, flt, date_diff, nowdate def get_data(filters): """ Return the data that needs to be rendered """ fields = get_fields(filters) conditions = get_conditions(filters) results = [] pinv_date = " " sinv_date = " " if filters.get('from_date'): sinv_date = sinv_date + " AND `tabSales Invoice`.posting_date >= '{}' ".format(filters.get('from_date')) pinv_date = pinv_date + " AND `tabPayment Entry`.posting_date >= '{}' ".format(filters.get('from_date')) if filters.get('to_date'): sinv_date = sinv_date + " AND `tabSales Invoice`.posting_date <= '{}' ".format(filters.get('to_date')) pinv_date = pinv_date + " AND `tabPayment Entry`.posting_date <= '{}' ".format(filters.get('to_date')) data = frappe.db.sql(""" Select {fields} From `tabSales Invoice` Inner Join `tabSales Invoice Item` On `tabSales Invoice`.name = `tabSales Invoice Item`.parent And `tabSales Invoice`.docstatus = 1 {sinv_date} Inner Join `tabItem` On `tabSales Invoice Item`.item_code = `tabItem`.item_code Left Join `tabSales Taxes and Charges` On `tabSales Invoice`.name = `tabSales Taxes and Charges`.parent Left Join `tabTax Segment Item` On `tabSales Taxes and Charges`.account_head = `tabTax Segment Item`.tax Left Join `tabPayment Entry Reference` On `tabPayment Entry Reference`.reference_name = `tabSales Invoice`.name And `tabPayment Entry Reference`.docstatus = 1 Left Join `tabPayment Entry` On `tabPayment Entry Reference`.parent = `tabPayment Entry`.name And `tabPayment Entry`.docstatus = 1 {pinv_date} Left Join `tabAddress` On `tabItem`.location = `tabAddress`.name Left Join `tabDelivery Checklist` On `tabDelivery Checklist`.name = `tabItem`.name Where {conditions} Group By `tabSales Invoice`.name, `tabPayment Entry Reference`.name Order By `tabSales Invoice`.name, `tabPayment Entry`.name """.format( fields=fields, sinv_date=sinv_date, pinv_date=pinv_date, conditions=conditions or "1 = 1"), filters, as_dict=True, debug=False) last_inv = '' vim = '' entry = '' pay_date = '' mode = '' for row in data: total_costs = flt(row.pinv_price) + flt(row.fee) + flt(row.transport) + \ flt(row.delivery) + flt(row.parts) + flt(row.repair) + flt(row.others) vim_number = row.cont_vim.split('-')[0] if row.cont_vim and '-' in row.cont_vim else row.vim_number details = "-" if row.item_type == "Vehicles": details = "{} {} {} {}".format(row.make or "", row.model or "", row.exterior_color or "", row.year or "") if row.item_type == "Containers": details = "{} {}".format(row.booking_no or "", row.container_no or "") if row.item_type == "Vehicle Parts": details = row.part_type if row.item_type == "Services": details = row.item_type if last_inv != row.sinv_name or vim_number != vim or entry != row.payment_entry: paid_arr = [flt(x.allocated_amount) for x in filter(lambda x, n=row.sinv_name : x.get('sinv_name') == n and x.get("payment_type") == "Receive", data)] returns_arr = [flt(x.allocated_amount) for x in filter(lambda x, n=row.sinv_name : x.get('sinv_name') == n and x.get("payment_type") == "Pay", data)] total_paid = sum(paid_arr) if paid_arr else .00 total_return = sum(returns_arr) if returns_arr else .00 final_sale = flt(row.base_grand_total) + flt(row.credit_note) if filters.get('print_customer'): results.append( ( row.customer , vim_number, details, row.base_grand_total if last_inv != row.sinv_name else .00, row.credit_note if last_inv != row.sinv_name else '', final_sale if last_inv != row.sinv_name and row.is_return == 0 else 0, # Final Sale row.p_posting_date if entry != row.payment_entry or mode != row.mode_of_payment or pay_date != row.p_posting_date else '-', row.mode_of_payment if entry != row.payment_entry or mode != row.mode_of_payment or pay_date != row.p_posting_date else ' ', row.allocated_amount if last_inv != row.sinv_name or entry != row.payment_entry else .00, total_paid if last_inv != row.sinv_name else .00, total_return if last_inv != row.sinv_name else .00, #Refund row.outstanding_amount if last_inv != row.sinv_name else .00, ) ) else: results.append( ( row.company, row.location, row.item_code, row.item_type, #Item Type. row.customer , # row.customer if last_inv != row.sinv_name else '', vim_number, details, # row.due_date if last_inv != row.sinv_name else '', row.sinv_date if last_inv != row.sinv_name else '', date_diff(nowdate(), row.sinv_date) if last_inv != row.sinv_name else '', # row.net_total if last_inv != row.sinv_name else '', # row.gst_total if last_inv != row.sinv_name else '', # row.pst_total if last_inv != row.sinv_name else '', row.base_grand_total if last_inv != row.sinv_name else .00, row.credit_note if last_inv != row.sinv_name else '', final_sale if last_inv != row.sinv_name and row.is_return == 0 else 0, # Final Sale # row.grand_total if last_inv != row.sinv_name and row.currency == "USD" else .00, row.p_posting_date if entry != row.payment_entry or mode != row.mode_of_payment or pay_date != row.p_posting_date else '-', row.mode_of_payment if entry != row.payment_entry or mode != row.mode_of_payment or pay_date != row.p_posting_date else ' ', row.allocated_amount if last_inv != row.sinv_name or entry != row.payment_entry else .00, # flt(row.grand_total) - flt(row.outstanding_amount) if last_inv != row.sinv_name else .00, # Total Paid total_paid if last_inv != row.sinv_name else .00, total_return if last_inv != row.sinv_name else .00, #Refund row.outstanding_amount if last_inv != row.sinv_name else .00, row.item_code, # Notes row.payment_entry, row.sinv_name if last_inv != row.sinv_name else '', row.checklist, row.status, row.title_status, row.bl, ) ) else: if filters.get('customer_print'): results.append( ( "", # Customer "", # Vim Number "", # Details "", # Total Sale "", # Credit Note "", # Final Sale row.p_posting_date, # Pay Date row.mode_of_payment, # Payment Type row.allocated_amount, # Breakdown row.payment_entry, # Payment Entry row.bl ) ) else: results.append( ( "", # Company "", # Location "", # Stock No. "", #Item Type "", # Customer "", # Vim Number "", # Details # "", # Due Date "", # Inv Date "", # Age "", # Total Sale "", # Credit Note "", # Final Sale # "", # Sale N/ Total # "", # GST # "", # PST row.p_posting_date, # Pay Date row.mode_of_payment, # Payment Type row.allocated_amount, # Breakdown "", # Total Paid "", # Refund "", # Outstanding " ", # Notes row.payment_entry, # Payment Entry "", # Checklist "", # Status. "", # Title Status. # "", # GPrice row.bl ) ) last_inv = row.sinv_name vim = vim_number entry = row.payment_entry pay_date = row.p_posting_date mode = row.mode_of_payment return results def get_conditions(filters): """ Return sql conditions ready to use in query NOTE: Value is mandatory if condition_type == value """ company = frappe.get_value("User Permission", { "user":frappe.session.user, "allow":"Company", }, "for_value") conditions = [("Item", "item_type", "!=", "Services")] if filters.get('company'): conditions.append( ("Sales Invoice", "company", "=", filters.get('company')) ) if filters.get('customer'): conditions.append( ("Sales Invoice", "customer", "=", filters.get('customer')) ) if filters.get('payment_status') == "Unpaid Only": conditions.append( ("Sales Invoice", "outstanding_amount", ">", 0) ) if filters.get('payment_status') == "Paid Only": conditions.append( ("Sales Invoice", "outstanding_amount", "=", 0) ) if filters.get('item_code'): conditions.append( ("Sales Invoice Item", "item_code", "=", filters.get('item_code')) ) sql_conditions = [] if not conditions: return sql_conditions for doctype, fieldname, compare, value in conditions: if fieldname == '-': continue if value == "NULL": sql_condition = "`tab{doctype}`.`{fieldname}` {compare} {value}" \ .format(doctype=doctype, fieldname=fieldname, compare=compare, value=value) else: sql_condition = "`tab{doctype}`.`{fieldname}` {compare} '{value}'" \ .format(doctype=doctype, fieldname=fieldname, compare=compare, value=value) sql_conditions.append(sql_condition) # frappe.errprint(conditions) return " And ".join(sql_conditions) def get_fields(filters): """ Return sql fields ready to be used on query """ fields = ( ("Sales Invoice", "company"), ("CONCAT(`tabItem`._default_supplier, ' - ', `tabAddress`.city, ', ', `tabAddress`.state) as location"), ("Sales Invoice Item", "item_code"), ("Item", "vim_number"), ("Item", "make"), ("Item", "model"), ("Item", "item_type"), ("Item", "part_type"), ("Item", "year"), ("Item", "exterior_color"), ("Delivery Checklist", "status", "checklist"), ("Sales Invoice Item", "vim_number", "cont_vim"), ("Sales Invoice Item", "item_name"), ("Sales Invoice", "due_date", "due_date"), ("Sales Invoice", "posting_date", "sinv_date"), ("Sales Invoice", "customer"), ("Sales Invoice", "invoice_type"), ("Sales Invoice", "net_total"), (""" SUM( IF( `tabTax Segment Item`.parent = 'GST', IFNULL(`tabSales Taxes and Charges`.tax_amount, 0), 0 ) ) as gst_total """ ), (""" SUM( IF( `tabTax Segment Item`.parent = 'PST', IFNULL(`tabSales Taxes and Charges`.tax_amount, 0), 0 ) ) as pst_total """ ), ("Sales Invoice", "currency"), ("Sales Invoice", "base_grand_total"), ("Sales Invoice", "grand_total"), ("Sales Invoice", "is_return"), ("Payment Entry", "posting_date", "p_posting_date"), ("""(SELECT SUM(b.grand_total) FROM `tabSales Invoice` as b WHERE b.is_return = 1 and b.docstatus = 1 and b.return_against = `tabSales Invoice`.name ) as credit_note"""), ("Payment Entry", "mode_of_payment"), ("Payment Entry", "payment_type"), ("Payment Entry Reference", "allocated_amount"), ("Sales Invoice", "outstanding_amount"), ("Payment Entry Reference", "parent", "payment_entry"), ("Sales Invoice", "name", "sinv_name"), ("Sales Invoice Item", "gprice"), ("Item", "status"), ("Item", "title_status"), ("Item", "bl"), ) sql_fields = [] for args in fields: sql_field = get_field(args) sql_fields.append(sql_field) # frappe.errprint(", ".join(sql_fields)) return ", ".join(sql_fields)
[ 2, 15069, 357, 66, 8, 2211, 11, 309, 57, 34, 16820, 311, 7836, 290, 20420, 198, 2, 1114, 5964, 1321, 11, 3387, 766, 5964, 13, 14116, 198, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 11748, 5306, 27768, 198, 6738, 5306, 27768, 1330, 4808, 198, 6738, 5306, 27768, 13, 26791, 1330, 269, 2536, 11, 781, 83, 11, 3128, 62, 26069, 11, 783, 4475, 198, 198, 4299, 651, 62, 7890, 7, 10379, 1010, 2599, 198, 197, 37811, 198, 197, 13615, 262, 1366, 326, 2476, 284, 307, 15111, 198, 197, 37811, 198, 197, 25747, 796, 651, 62, 25747, 7, 10379, 1010, 8, 198, 197, 17561, 1756, 796, 651, 62, 17561, 1756, 7, 10379, 1010, 8, 198, 197, 43420, 796, 17635, 198, 197, 11635, 85, 62, 4475, 796, 366, 366, 198, 197, 82, 16340, 62, 4475, 796, 366, 366, 628, 197, 361, 16628, 13, 1136, 10786, 6738, 62, 4475, 6, 2599, 198, 197, 197, 82, 16340, 62, 4475, 796, 7813, 85, 62, 4475, 1343, 366, 5357, 4600, 8658, 44490, 10001, 2942, 44646, 7353, 278, 62, 4475, 18189, 705, 90, 92, 6, 27071, 18982, 7, 10379, 1010, 13, 1136, 10786, 6738, 62, 4475, 6, 4008, 198, 197, 197, 11635, 85, 62, 4475, 796, 6757, 85, 62, 4475, 1343, 366, 5357, 4600, 8658, 19197, 434, 21617, 44646, 7353, 278, 62, 4475, 18189, 705, 90, 92, 6, 27071, 18982, 7, 10379, 1010, 13, 1136, 10786, 6738, 62, 4475, 6, 4008, 628, 197, 361, 16628, 13, 1136, 10786, 1462, 62, 4475, 6, 2599, 198, 197, 197, 82, 16340, 62, 4475, 796, 7813, 85, 62, 4475, 1343, 366, 5357, 4600, 8658, 44490, 10001, 2942, 44646, 7353, 278, 62, 4475, 19841, 705, 90, 92, 6, 27071, 18982, 7, 10379, 1010, 13, 1136, 10786, 1462, 62, 4475, 6, 4008, 198, 197, 197, 11635, 85, 62, 4475, 796, 6757, 85, 62, 4475, 1343, 366, 5357, 4600, 8658, 19197, 434, 21617, 44646, 7353, 278, 62, 4475, 19841, 705, 90, 92, 6, 27071, 18982, 7, 10379, 1010, 13, 1136, 10786, 1462, 62, 4475, 6, 4008, 628, 198, 197, 7890, 796, 220, 5306, 27768, 13, 9945, 13, 25410, 7203, 15931, 198, 197, 197, 17563, 198, 197, 197, 197, 90, 25747, 92, 198, 197, 197, 4863, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 63, 198, 197, 197, 818, 1008, 15251, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 9097, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 44646, 3672, 796, 4600, 8658, 44490, 10001, 2942, 9097, 44646, 8000, 198, 197, 197, 1870, 220, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 44646, 15390, 13376, 796, 352, 198, 197, 197, 90, 82, 16340, 62, 4475, 92, 198, 197, 197, 818, 1008, 15251, 198, 197, 197, 197, 63, 8658, 7449, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 9097, 44646, 9186, 62, 8189, 796, 4600, 8658, 7449, 44646, 9186, 62, 8189, 628, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 44490, 42260, 290, 44620, 63, 198, 197, 197, 2202, 220, 220, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 44646, 3672, 796, 4600, 8658, 44490, 42260, 290, 44620, 44646, 8000, 198, 197, 197, 198, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 27017, 1001, 5154, 9097, 63, 198, 197, 197, 2202, 220, 220, 198, 197, 197, 197, 63, 8658, 44490, 42260, 290, 44620, 44646, 23317, 62, 2256, 796, 4600, 8658, 27017, 1001, 5154, 9097, 44646, 19290, 628, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 20984, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 20984, 44646, 35790, 62, 3672, 796, 4600, 8658, 44490, 10001, 2942, 44646, 3672, 198, 197, 197, 1870, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 20984, 44646, 15390, 13376, 796, 352, 198, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 20984, 44646, 8000, 796, 4600, 8658, 19197, 434, 21617, 44646, 3672, 198, 197, 197, 1870, 220, 198, 197, 197, 197, 63, 8658, 19197, 434, 21617, 44646, 15390, 13376, 796, 352, 198, 197, 197, 90, 11635, 85, 62, 4475, 92, 198, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 20231, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 7449, 44646, 24886, 796, 4600, 8658, 20231, 44646, 3672, 198, 197, 197, 18819, 15251, 198, 197, 197, 197, 63, 8658, 33129, 6822, 4868, 63, 198, 197, 197, 2202, 198, 197, 197, 197, 63, 8658, 33129, 6822, 4868, 44646, 3672, 796, 4600, 8658, 7449, 44646, 3672, 197, 198, 197, 197, 8496, 198, 197, 197, 197, 90, 17561, 1756, 92, 198, 197, 197, 13247, 2750, 220, 198, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 44646, 3672, 11, 4600, 8658, 19197, 434, 21617, 20984, 44646, 3672, 198, 220, 197, 197, 18743, 2750, 220, 198, 220, 197, 197, 197, 63, 8658, 44490, 10001, 2942, 44646, 3672, 11, 4600, 8658, 19197, 434, 21617, 44646, 3672, 628, 197, 197, 15931, 1911, 18982, 7, 198, 197, 197, 197, 197, 25747, 28, 25747, 11, 198, 197, 197, 197, 197, 82, 16340, 62, 4475, 28, 82, 16340, 62, 4475, 11, 198, 197, 197, 197, 197, 11635, 85, 62, 4475, 28, 11635, 85, 62, 4475, 11, 198, 197, 197, 197, 197, 17561, 1756, 28, 17561, 1756, 393, 366, 16, 796, 352, 12340, 198, 197, 197, 10379, 1010, 11, 355, 62, 11600, 28, 17821, 11, 14257, 28, 25101, 8, 198, 197, 12957, 62, 16340, 796, 10148, 198, 197, 31124, 796, 10148, 198, 197, 13000, 796, 10148, 198, 197, 15577, 62, 4475, 796, 10148, 198, 197, 14171, 796, 10148, 198, 197, 1640, 5752, 287, 1366, 25, 198, 197, 197, 23350, 62, 15805, 82, 796, 781, 83, 7, 808, 13, 11635, 85, 62, 20888, 8, 1343, 781, 83, 7, 808, 13, 39071, 8, 1343, 781, 83, 7, 808, 13, 7645, 634, 8, 1343, 3467, 198, 197, 197, 197, 69, 2528, 7, 808, 13, 12381, 6315, 8, 1343, 781, 83, 7, 808, 13, 42632, 8, 1343, 781, 83, 7, 808, 13, 49932, 8, 1343, 781, 83, 7, 808, 13, 847, 82, 8, 198, 197, 197, 31124, 62, 17618, 796, 5752, 13, 3642, 62, 31124, 13, 35312, 10786, 12, 11537, 58, 15, 60, 611, 5752, 13, 3642, 62, 31124, 290, 705, 19355, 287, 5752, 13, 3642, 62, 31124, 2073, 5752, 13, 31124, 62, 17618, 198, 197, 197, 198, 197, 197, 36604, 796, 366, 21215, 220, 198, 197, 197, 361, 5752, 13, 9186, 62, 4906, 6624, 366, 37870, 2983, 1298, 198, 197, 197, 197, 36604, 796, 45144, 92, 23884, 23884, 23884, 1911, 18982, 7, 808, 13, 15883, 393, 366, 1600, 5752, 13, 19849, 393, 366, 1600, 5752, 13, 1069, 14172, 62, 8043, 393, 366, 1600, 5752, 13, 1941, 393, 366, 4943, 198, 197, 197, 361, 5752, 13, 9186, 62, 4906, 6624, 366, 4264, 50221, 1298, 198, 197, 197, 197, 36604, 796, 45144, 92, 23884, 1911, 18982, 7, 808, 13, 2070, 278, 62, 3919, 393, 366, 1600, 5752, 13, 34924, 62, 3919, 393, 366, 4943, 198, 197, 197, 361, 5752, 13, 9186, 62, 4906, 6624, 366, 37870, 1548, 22349, 1298, 198, 197, 197, 197, 36604, 796, 5752, 13, 3911, 62, 4906, 198, 197, 197, 361, 5752, 13, 9186, 62, 4906, 6624, 366, 31007, 1298, 198, 197, 197, 197, 36604, 796, 5752, 13, 9186, 62, 4906, 198, 197, 197, 198, 197, 197, 361, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 393, 43907, 62, 17618, 14512, 43907, 393, 5726, 14512, 5752, 13, 37301, 62, 13000, 25, 198, 197, 197, 197, 20333, 62, 3258, 796, 685, 69, 2528, 7, 87, 13, 439, 10533, 62, 17287, 8, 329, 2124, 287, 8106, 7, 50033, 2124, 11, 299, 28, 808, 13, 82, 16340, 62, 3672, 1058, 2124, 13, 1136, 10786, 82, 16340, 62, 3672, 11537, 6624, 299, 290, 2124, 13, 1136, 7203, 37301, 62, 4906, 4943, 6624, 366, 3041, 15164, 1600, 1366, 15437, 198, 197, 197, 197, 7783, 82, 62, 3258, 796, 685, 69, 2528, 7, 87, 13, 439, 10533, 62, 17287, 8, 329, 2124, 287, 8106, 7, 50033, 2124, 11, 299, 28, 808, 13, 82, 16340, 62, 3672, 1058, 2124, 13, 1136, 10786, 82, 16340, 62, 3672, 11537, 6624, 299, 290, 2124, 13, 1136, 7203, 37301, 62, 4906, 4943, 6624, 366, 19197, 1600, 1366, 15437, 198, 197, 197, 197, 23350, 62, 20333, 796, 2160, 7, 20333, 62, 3258, 8, 611, 3432, 62, 3258, 2073, 764, 405, 198, 197, 197, 197, 23350, 62, 7783, 796, 2160, 7, 7783, 82, 62, 3258, 8, 611, 5860, 62, 3258, 2073, 764, 405, 198, 197, 197, 197, 20311, 62, 21378, 796, 781, 83, 7, 808, 13, 8692, 62, 23936, 62, 23350, 8, 1343, 781, 83, 7, 808, 13, 43082, 62, 11295, 8, 198, 197, 197, 197, 361, 16628, 13, 1136, 10786, 4798, 62, 23144, 263, 6, 2599, 198, 197, 197, 197, 197, 43420, 13, 33295, 7, 198, 197, 197, 197, 197, 197, 7, 198, 197, 197, 197, 197, 197, 197, 808, 13, 23144, 263, 837, 198, 197, 197, 197, 197, 197, 197, 31124, 62, 17618, 11, 198, 197, 197, 197, 197, 197, 197, 36604, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 8692, 62, 23936, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 43082, 62, 11295, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 20311, 62, 21378, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 290, 5752, 13, 271, 62, 7783, 6624, 657, 2073, 657, 11, 220, 220, 220, 1303, 8125, 16467, 198, 197, 197, 197, 197, 197, 197, 808, 13, 79, 62, 7353, 278, 62, 4475, 611, 5726, 14512, 5752, 13, 37301, 62, 13000, 393, 4235, 14512, 5752, 13, 14171, 62, 1659, 62, 37301, 393, 1414, 62, 4475, 14512, 5752, 13, 79, 62, 7353, 278, 62, 4475, 2073, 705, 12, 3256, 198, 197, 197, 197, 197, 197, 197, 808, 13, 14171, 62, 1659, 62, 37301, 611, 5726, 14512, 5752, 13, 37301, 62, 13000, 393, 4235, 14512, 5752, 13, 14171, 62, 1659, 62, 37301, 393, 1414, 62, 4475, 14512, 5752, 13, 79, 62, 7353, 278, 62, 4475, 2073, 705, 46083, 198, 197, 197, 197, 197, 197, 197, 808, 13, 439, 10533, 62, 17287, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 220, 393, 5726, 14512, 5752, 13, 37301, 62, 13000, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 23350, 62, 20333, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 23350, 62, 7783, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 220, 220, 220, 220, 1303, 8134, 917, 220, 198, 197, 197, 197, 197, 197, 197, 808, 13, 448, 5646, 62, 17287, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 220, 198, 197, 197, 197, 197, 197, 8, 198, 197, 197, 197, 197, 8, 198, 197, 197, 197, 17772, 25, 198, 197, 197, 197, 197, 43420, 13, 33295, 7, 198, 197, 197, 197, 197, 197, 7, 198, 197, 197, 197, 197, 197, 197, 808, 13, 39722, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 24886, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 9186, 62, 8189, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 9186, 62, 4906, 11, 197, 197, 197, 2, 7449, 5994, 13, 198, 197, 197, 197, 197, 197, 197, 808, 13, 23144, 263, 837, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 23144, 263, 220, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 31124, 62, 17618, 11, 198, 197, 197, 197, 197, 197, 197, 36604, 11, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 23301, 62, 4475, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 808, 13, 82, 16340, 62, 4475, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 4475, 62, 26069, 7, 2197, 4475, 22784, 5752, 13, 82, 16340, 62, 4475, 8, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 3262, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 70, 301, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 79, 301, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 808, 13, 8692, 62, 23936, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 43082, 62, 11295, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 20311, 62, 21378, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 290, 5752, 13, 271, 62, 7783, 6624, 657, 2073, 657, 11, 220, 220, 220, 1303, 8125, 16467, 198, 197, 197, 197, 197, 197, 197, 2, 5752, 13, 23936, 62, 23350, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 220, 290, 5752, 13, 34415, 6624, 366, 29072, 1, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 79, 62, 7353, 278, 62, 4475, 611, 5726, 14512, 5752, 13, 37301, 62, 13000, 393, 4235, 14512, 5752, 13, 14171, 62, 1659, 62, 37301, 393, 1414, 62, 4475, 14512, 5752, 13, 79, 62, 7353, 278, 62, 4475, 2073, 705, 12, 3256, 198, 197, 197, 197, 197, 197, 197, 808, 13, 14171, 62, 1659, 62, 37301, 611, 5726, 14512, 5752, 13, 37301, 62, 13000, 393, 4235, 14512, 5752, 13, 14171, 62, 1659, 62, 37301, 393, 1414, 62, 4475, 14512, 5752, 13, 79, 62, 7353, 278, 62, 4475, 2073, 705, 46083, 198, 197, 197, 197, 197, 197, 197, 808, 13, 439, 10533, 62, 17287, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 220, 393, 5726, 14512, 5752, 13, 37301, 62, 13000, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 2, 781, 83, 7, 808, 13, 23936, 62, 23350, 8, 532, 781, 83, 7, 808, 13, 448, 5646, 62, 17287, 8, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 1303, 7472, 47355, 198, 197, 197, 197, 197, 197, 197, 23350, 62, 20333, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 198, 197, 197, 197, 197, 197, 197, 23350, 62, 7783, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 220, 220, 220, 220, 1303, 8134, 917, 220, 198, 197, 197, 197, 197, 197, 197, 808, 13, 448, 5646, 62, 17287, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 764, 405, 11, 220, 198, 197, 197, 197, 197, 197, 197, 808, 13, 9186, 62, 8189, 11, 197, 197, 2, 11822, 220, 198, 197, 197, 197, 197, 197, 197, 808, 13, 37301, 62, 13000, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 82, 16340, 62, 3672, 611, 938, 62, 16340, 14512, 5752, 13, 82, 16340, 62, 3672, 2073, 705, 3256, 198, 197, 197, 197, 197, 197, 197, 808, 13, 9122, 4868, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 13376, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 7839, 62, 13376, 11, 198, 197, 197, 197, 197, 197, 197, 808, 13, 2436, 11, 197, 197, 197, 198, 197, 197, 197, 197, 197, 8, 198, 197, 197, 197, 197, 8, 198, 197, 197, 17772, 25, 198, 197, 197, 197, 361, 16628, 13, 1136, 10786, 23144, 263, 62, 4798, 6, 2599, 198, 197, 197, 197, 197, 43420, 13, 33295, 7, 198, 197, 197, 197, 197, 197, 7, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 22092, 220, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 36645, 7913, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 14890, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 7472, 16467, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 10504, 5740, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 8125, 16467, 198, 197, 197, 197, 197, 197, 197, 808, 13, 79, 62, 7353, 278, 62, 4475, 11, 1303, 7119, 7536, 198, 197, 197, 197, 197, 197, 197, 808, 13, 14171, 62, 1659, 62, 37301, 11, 1303, 28784, 5994, 198, 197, 197, 197, 197, 197, 197, 808, 13, 439, 10533, 62, 17287, 11, 1303, 12243, 2902, 198, 197, 197, 197, 197, 197, 197, 808, 13, 37301, 62, 13000, 11, 1303, 28784, 21617, 198, 197, 197, 197, 197, 197, 197, 808, 13, 2436, 198, 197, 197, 197, 197, 197, 8, 198, 197, 197, 197, 197, 8, 198, 197, 197, 197, 17772, 25, 198, 197, 197, 197, 197, 43420, 13, 33295, 7, 198, 197, 197, 197, 197, 197, 7, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 5834, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 13397, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 10500, 1400, 13, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 7449, 5994, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 22092, 220, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 36645, 7913, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 14890, 198, 197, 197, 197, 197, 197, 197, 2, 366, 1600, 1303, 14444, 7536, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 10001, 7536, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 7129, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 7472, 16467, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 10504, 5740, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 8125, 16467, 198, 197, 197, 197, 197, 197, 197, 2, 366, 1600, 1303, 16467, 399, 14, 7472, 198, 197, 197, 197, 197, 197, 197, 2, 366, 1600, 1303, 31802, 198, 197, 197, 197, 197, 197, 197, 2, 366, 1600, 1303, 28220, 198, 197, 197, 197, 197, 197, 197, 808, 13, 79, 62, 7353, 278, 62, 4475, 11, 1303, 7119, 7536, 198, 197, 197, 197, 197, 197, 197, 808, 13, 14171, 62, 1659, 62, 37301, 11, 1303, 28784, 5994, 198, 197, 197, 197, 197, 197, 197, 808, 13, 439, 10533, 62, 17287, 11, 1303, 12243, 2902, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 7472, 47355, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 6524, 917, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 3806, 5646, 198, 197, 197, 197, 197, 197, 197, 1, 33172, 1303, 11822, 198, 197, 197, 197, 197, 197, 197, 808, 13, 37301, 62, 13000, 11, 1303, 28784, 21617, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 6822, 4868, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 12678, 13, 198, 197, 197, 197, 197, 197, 197, 1, 1600, 1303, 11851, 12678, 13, 198, 197, 197, 197, 197, 197, 197, 2, 366, 1600, 1303, 220, 402, 18124, 198, 197, 197, 197, 197, 197, 197, 808, 13, 2436, 198, 197, 197, 197, 197, 197, 8, 198, 197, 197, 197, 197, 8, 198, 197, 197, 12957, 62, 16340, 796, 5752, 13, 82, 16340, 62, 3672, 198, 197, 197, 31124, 796, 43907, 62, 17618, 198, 197, 197, 13000, 796, 5752, 13, 37301, 62, 13000, 198, 197, 197, 15577, 62, 4475, 796, 5752, 13, 79, 62, 7353, 278, 62, 4475, 198, 197, 197, 14171, 796, 5752, 13, 14171, 62, 1659, 62, 37301, 198, 197, 7783, 2482, 198, 198, 4299, 651, 62, 17561, 1756, 7, 10379, 1010, 2599, 198, 197, 37811, 198, 197, 13615, 44161, 3403, 3492, 284, 779, 287, 12405, 628, 197, 16580, 25, 11052, 318, 13677, 611, 4006, 62, 4906, 6624, 1988, 198, 197, 37811, 198, 197, 39722, 796, 5306, 27768, 13, 1136, 62, 8367, 7203, 12982, 2448, 3411, 1600, 1391, 198, 197, 197, 197, 1, 7220, 1298, 69, 430, 27768, 13, 29891, 13, 7220, 11, 198, 197, 197, 197, 1, 12154, 2404, 39154, 1600, 198, 197, 197, 5512, 366, 1640, 62, 8367, 4943, 628, 197, 17561, 1756, 796, 685, 7203, 7449, 1600, 366, 9186, 62, 4906, 1600, 366, 0, 28, 1600, 366, 31007, 4943, 60, 628, 197, 361, 16628, 13, 1136, 10786, 39722, 6, 2599, 198, 197, 197, 17561, 1756, 13, 33295, 7, 198, 197, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 39722, 1600, 366, 28, 1600, 16628, 13, 1136, 10786, 39722, 6, 4008, 198, 197, 197, 8, 198, 197, 198, 197, 361, 16628, 13, 1136, 10786, 23144, 263, 6, 2599, 198, 197, 197, 17561, 1756, 13, 33295, 7, 198, 197, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 23144, 263, 1600, 366, 28, 1600, 16628, 13, 1136, 10786, 23144, 263, 6, 4008, 198, 197, 197, 8, 628, 197, 361, 16628, 13, 1136, 10786, 37301, 62, 13376, 11537, 6624, 366, 3118, 20333, 5514, 1298, 198, 197, 197, 17561, 1756, 13, 33295, 7, 198, 197, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 448, 5646, 62, 17287, 1600, 366, 29, 1600, 657, 8, 198, 197, 197, 8, 628, 197, 361, 16628, 13, 1136, 10786, 37301, 62, 13376, 11537, 6624, 366, 47, 1698, 5514, 1298, 198, 197, 197, 17561, 1756, 13, 33295, 7, 198, 197, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 448, 5646, 62, 17287, 1600, 366, 28, 1600, 657, 8, 198, 197, 197, 8, 628, 197, 361, 16628, 13, 1136, 10786, 9186, 62, 8189, 6, 2599, 198, 197, 197, 17561, 1756, 13, 33295, 7, 198, 197, 197, 197, 7203, 44490, 10001, 2942, 9097, 1600, 366, 9186, 62, 8189, 1600, 366, 28, 1600, 16628, 13, 1136, 10786, 9186, 62, 8189, 6, 4008, 198, 197, 197, 8, 198, 197, 25410, 62, 17561, 1756, 796, 17635, 628, 197, 361, 407, 3403, 25, 198, 197, 197, 7783, 44161, 62, 17561, 1756, 198, 197, 198, 197, 1640, 10412, 2981, 11, 2214, 3672, 11, 8996, 11, 1988, 287, 3403, 25, 198, 197, 197, 361, 2214, 3672, 6624, 705, 12, 10354, 198, 197, 197, 197, 43043, 198, 197, 197, 361, 1988, 6624, 366, 33991, 1298, 198, 197, 197, 197, 25410, 62, 31448, 796, 366, 63, 8658, 90, 4598, 310, 2981, 92, 44646, 63, 90, 3245, 3672, 92, 63, 1391, 5589, 533, 92, 1391, 8367, 36786, 3467, 198, 197, 197, 197, 197, 13, 18982, 7, 4598, 310, 2981, 28, 4598, 310, 2981, 11, 2214, 3672, 28, 3245, 3672, 11, 8996, 28, 5589, 533, 11, 198, 197, 197, 197, 197, 197, 8367, 28, 8367, 8, 198, 197, 197, 17772, 25, 198, 197, 197, 197, 25410, 62, 31448, 796, 366, 63, 8658, 90, 4598, 310, 2981, 92, 44646, 63, 90, 3245, 3672, 92, 63, 1391, 5589, 533, 92, 705, 90, 8367, 92, 29653, 3467, 198, 197, 197, 197, 197, 13, 18982, 7, 4598, 310, 2981, 28, 4598, 310, 2981, 11, 2214, 3672, 28, 3245, 3672, 11, 8996, 28, 5589, 533, 11, 198, 197, 197, 197, 197, 197, 8367, 28, 8367, 8, 628, 197, 197, 25410, 62, 17561, 1756, 13, 33295, 7, 25410, 62, 31448, 8, 628, 197, 2, 5306, 27768, 13, 8056, 4798, 7, 17561, 1756, 8, 198, 197, 7783, 366, 843, 27071, 22179, 7, 25410, 62, 17561, 1756, 8, 198, 197, 198, 4299, 651, 62, 25747, 7, 10379, 1010, 2599, 198, 197, 37811, 198, 197, 13615, 44161, 7032, 3492, 284, 307, 973, 319, 12405, 198, 197, 37811, 198, 197, 25747, 796, 357, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 39722, 12340, 198, 197, 197, 7203, 10943, 34, 1404, 7, 63, 8658, 7449, 63, 13557, 12286, 62, 18608, 2505, 11, 705, 532, 46083, 4600, 8658, 20231, 44646, 19205, 11, 46083, 46083, 4600, 8658, 20231, 44646, 5219, 8, 355, 4067, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 9097, 1600, 366, 9186, 62, 8189, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 31124, 62, 17618, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 15883, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 19849, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 9186, 62, 4906, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 3911, 62, 4906, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 1941, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 1069, 14172, 62, 8043, 12340, 198, 197, 197, 7203, 33129, 6822, 4868, 1600, 366, 13376, 1600, 366, 9122, 4868, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 9097, 1600, 366, 31124, 62, 17618, 1600, 366, 3642, 62, 31124, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 9097, 1600, 366, 9186, 62, 3672, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 23301, 62, 4475, 1600, 366, 23301, 62, 4475, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 7353, 278, 62, 4475, 1600, 366, 82, 16340, 62, 4475, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 23144, 263, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 16340, 2942, 62, 4906, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 3262, 62, 23350, 12340, 198, 197, 197, 7203, 15931, 198, 197, 197, 197, 50, 5883, 7, 198, 197, 197, 197, 197, 5064, 7, 198, 197, 197, 197, 197, 197, 63, 8658, 27017, 1001, 5154, 9097, 44646, 8000, 796, 705, 38, 2257, 3256, 198, 197, 197, 197, 197, 197, 5064, 33991, 7, 63, 8658, 44490, 42260, 290, 44620, 44646, 19290, 62, 17287, 11, 657, 828, 657, 198, 197, 197, 197, 197, 8, 198, 197, 197, 197, 8, 355, 308, 301, 62, 23350, 198, 197, 197, 37811, 198, 197, 197, 828, 198, 197, 197, 7203, 15931, 198, 197, 197, 197, 50, 5883, 7, 198, 197, 197, 197, 197, 5064, 7, 198, 197, 197, 197, 197, 197, 63, 8658, 27017, 1001, 5154, 9097, 44646, 8000, 796, 705, 47, 2257, 3256, 198, 197, 197, 197, 197, 197, 5064, 33991, 7, 63, 8658, 44490, 42260, 290, 44620, 44646, 19290, 62, 17287, 11, 657, 828, 657, 198, 197, 197, 197, 197, 8, 198, 197, 197, 197, 8, 355, 279, 301, 62, 23350, 198, 197, 197, 37811, 198, 197, 197, 828, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 34415, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 8692, 62, 23936, 62, 23350, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 23936, 62, 23350, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 271, 62, 7783, 12340, 198, 197, 197, 7203, 19197, 434, 21617, 1600, 366, 7353, 278, 62, 4475, 1600, 366, 79, 62, 7353, 278, 62, 4475, 12340, 198, 197, 197, 7203, 15931, 7, 46506, 35683, 7, 65, 13, 23936, 62, 23350, 8, 16034, 4600, 8658, 44490, 10001, 2942, 63, 355, 275, 33411, 275, 13, 271, 62, 7783, 796, 352, 290, 275, 13, 15390, 13376, 796, 352, 290, 275, 13, 7783, 62, 32826, 796, 4600, 8658, 44490, 10001, 2942, 44646, 3672, 1267, 355, 3884, 62, 11295, 15931, 12340, 198, 197, 197, 7203, 19197, 434, 21617, 1600, 366, 14171, 62, 1659, 62, 37301, 12340, 198, 197, 197, 7203, 19197, 434, 21617, 1600, 366, 37301, 62, 4906, 12340, 198, 197, 197, 7203, 19197, 434, 21617, 20984, 1600, 366, 439, 10533, 62, 17287, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 448, 5646, 62, 17287, 12340, 198, 197, 197, 7203, 19197, 434, 21617, 20984, 1600, 366, 8000, 1600, 366, 37301, 62, 13000, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 1600, 366, 3672, 1600, 366, 82, 16340, 62, 3672, 12340, 198, 197, 197, 7203, 44490, 10001, 2942, 9097, 1600, 366, 70, 20888, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 13376, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 7839, 62, 13376, 12340, 198, 197, 197, 7203, 7449, 1600, 366, 2436, 12340, 198, 197, 8, 198, 197, 197, 198, 197, 25410, 62, 25747, 796, 17635, 628, 197, 1640, 26498, 287, 7032, 25, 198, 197, 197, 25410, 62, 3245, 796, 651, 62, 3245, 7, 22046, 8, 628, 197, 197, 25410, 62, 25747, 13, 33295, 7, 25410, 62, 3245, 8, 198, 197, 2, 5306, 27768, 13, 8056, 4798, 7, 1600, 27071, 22179, 7, 25410, 62, 25747, 4008, 198, 197, 7783, 33172, 27071, 22179, 7, 25410, 62, 25747, 8, 198 ]
2.353574
4,743
# -*- coding: utf-8 -*- import codecs import json from setuptools import setup, find_packages # with codecs.open('README.md', encoding='utf-8') as f: README = f.read() with open('./ocrd-tool.json', 'r') as f: version = json.load(f)['version'] setup( name='ocrd_vandalize', version=version, description='Demo processor to illustrate the OCR-D Pytonn API', long_description=README, long_description_content_type='text/markdown', author='OCR-D', author_email='[email protected]', url='https://github.com/OCR-D/ocrd_vandalize', license='Apache License 2.0', packages=find_packages(exclude=('tests', 'docs')), include_package_data=True, install_requires=open('requirements.txt').read().split('\n'), package_data={ '': ['*.json', '*.ttf'], }, entry_points={ 'console_scripts': [ 'ocrd-vandalize=ocrd_vandalize.ocrd_cli:cli', ] }, )
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 11748, 40481, 82, 198, 11748, 33918, 198, 198, 6738, 900, 37623, 10141, 1330, 9058, 11, 1064, 62, 43789, 198, 198, 2, 220, 198, 4480, 40481, 82, 13, 9654, 10786, 15675, 11682, 13, 9132, 3256, 21004, 11639, 40477, 12, 23, 11537, 355, 277, 25, 198, 220, 220, 220, 20832, 11682, 796, 277, 13, 961, 3419, 198, 4480, 1280, 7, 4458, 14, 1696, 67, 12, 25981, 13, 17752, 3256, 705, 81, 11537, 355, 277, 25, 198, 220, 220, 220, 2196, 796, 33918, 13, 2220, 7, 69, 8, 17816, 9641, 20520, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 11639, 1696, 67, 62, 85, 7642, 1096, 3256, 198, 220, 220, 220, 2196, 28, 9641, 11, 198, 220, 220, 220, 6764, 11639, 11522, 78, 12649, 284, 19418, 262, 440, 9419, 12, 35, 9485, 1122, 77, 7824, 3256, 198, 220, 220, 220, 890, 62, 11213, 28, 15675, 11682, 11, 198, 220, 220, 220, 890, 62, 11213, 62, 11299, 62, 4906, 11639, 5239, 14, 4102, 2902, 3256, 198, 220, 220, 220, 1772, 11639, 4503, 49, 12, 35, 3256, 198, 220, 220, 220, 1772, 62, 12888, 11639, 10951, 31, 1696, 12, 67, 13, 2934, 3256, 198, 220, 220, 220, 19016, 11639, 5450, 1378, 12567, 13, 785, 14, 4503, 49, 12, 35, 14, 1696, 67, 62, 85, 7642, 1096, 3256, 198, 220, 220, 220, 5964, 11639, 25189, 4891, 13789, 362, 13, 15, 3256, 198, 220, 220, 220, 10392, 28, 19796, 62, 43789, 7, 1069, 9152, 28, 10786, 41989, 3256, 705, 31628, 11537, 828, 198, 220, 220, 220, 2291, 62, 26495, 62, 7890, 28, 17821, 11, 198, 220, 220, 220, 2721, 62, 47911, 28, 9654, 10786, 8897, 18883, 13, 14116, 27691, 961, 22446, 35312, 10786, 59, 77, 33809, 198, 220, 220, 220, 5301, 62, 7890, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 10148, 25, 37250, 24620, 17752, 3256, 705, 24620, 926, 69, 6, 4357, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 5726, 62, 13033, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 705, 41947, 62, 46521, 10354, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1696, 67, 12, 85, 7642, 1096, 28, 1696, 67, 62, 85, 7642, 1096, 13, 1696, 67, 62, 44506, 25, 44506, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 8964, 198, 8, 198 ]
2.335
400
dic = {'name':'lili','age':12} print(dic) del dic['name'] print(dic) dic2 ={'name':'mam'} print(dic2) dic.update(dic2) print(dic)
[ 67, 291, 796, 1391, 6, 3672, 10354, 6, 75, 2403, 41707, 496, 10354, 1065, 92, 201, 198, 4798, 7, 67, 291, 8, 201, 198, 201, 198, 12381, 288, 291, 17816, 3672, 20520, 201, 198, 4798, 7, 67, 291, 8, 201, 198, 201, 198, 67, 291, 17, 796, 90, 6, 3672, 10354, 6, 76, 321, 6, 92, 201, 198, 4798, 7, 67, 291, 17, 8, 201, 198, 201, 198, 67, 291, 13, 19119, 7, 67, 291, 17, 8, 201, 198, 4798, 7, 67, 291, 8 ]
1.690476
84
from django.db import transaction from rest_framework import serializers from hacktheback.forms.models import Form, Question, QuestionOption
[ 6738, 42625, 14208, 13, 9945, 1330, 8611, 198, 6738, 1334, 62, 30604, 1330, 11389, 11341, 198, 198, 6738, 8156, 1169, 1891, 13, 23914, 13, 27530, 1330, 5178, 11, 18233, 11, 18233, 19722, 628, 628 ]
4.264706
34
import numpy as np filename='deltaz.asc' file=open(filename) delta_z=np.loadtxt(file,comments='#') filename='SOM_cov_multiplied.asc' file=open(filename) cov_z=np.loadtxt(file,comments='#') L = np.linalg.cholesky(cov_z) inv_L = np.linalg.inv(L) delta_x = np.dot(inv_L,delta_z) print(delta_x)
[ 11748, 299, 32152, 355, 45941, 198, 198, 34345, 11639, 67, 2120, 1031, 13, 3372, 6, 198, 7753, 28, 9654, 7, 34345, 8, 198, 67, 12514, 62, 89, 28, 37659, 13, 2220, 14116, 7, 7753, 11, 15944, 11639, 2, 11537, 628, 198, 34345, 11639, 50, 2662, 62, 66, 709, 62, 47945, 798, 13, 3372, 6, 198, 7753, 28, 9654, 7, 34345, 8, 198, 66, 709, 62, 89, 28, 37659, 13, 2220, 14116, 7, 7753, 11, 15944, 11639, 2, 11537, 198, 198, 43, 796, 45941, 13, 75, 1292, 70, 13, 354, 4316, 2584, 7, 66, 709, 62, 89, 8, 220, 198, 198, 16340, 62, 43, 796, 45941, 13, 75, 1292, 70, 13, 16340, 7, 43, 8, 198, 198, 67, 12514, 62, 87, 796, 45941, 13, 26518, 7, 16340, 62, 43, 11, 67, 12514, 62, 89, 8, 198, 198, 4798, 7, 67, 12514, 62, 87, 8 ]
2.083916
143
import pygame from pygame.locals import * from pygame import * import globals import pygame as pg from pygame.mixer import Sound import time pg.init() # definindo cores BLACK = (0, 0, 0) WHITE = (255, 255, 255) BLUE = (0, 0, 255) GREEN = (0, 255, 0) RED = (255, 0, 0) ROXO = (127,0,127) LARANJA = (255, 127, 0) AMARELO = (255,255,0) COR1 = (153, 0, 153) PELE = (251, 230, 226) CorSelecionada = (0, 255, 0) global cor1 cor1 = (0, 0, 0) cont = 1 fase = 0 pygame.init() pygame.mixer.init() fundo = pygame.mixer.music.load(globals.get_path() + '\\Sound\\gameplay.mpeg') click = pygame.mixer.Sound(globals.get_path() + '\\Sound\\click.wav') pygame.mixer.music.play() screen = pygame.display.set_mode((800, 700)) # carregando fonte font = pygame.font.SysFont(None, 55) pygame.display.set_caption('COLORANDO') # preenchendo o fundo com preto screen.fill(PELE) regras() menu() menu_botoes = menu() while True: if(cont == 1): menu() cor1 = primeiro() cont= cont + 1 elif(cont == 2): cor2 = segundo() cont= cont + 1 pygame.display.flip() elif(cont == 3): resultado = misturar(cor1,cor2) decisao = clicarConfirmarOuExcluir() if(decisao==1): if (fase == 0): if(resultado == GREEN): fase = fase + 1 cont = 1 else: cont = 1 elif(fase == 1): if(resultado == LARANJA): fase = 2 cont = 1 else: cont = 1 elif(fase == 2): if(resultado == ROXO): fase = 3 cont = 4 else: cont = 1 else: cont = 1 else: cont = 1 elif(cont == 4): break for event in pygame.event.get(): if event.type == QUIT: pygame.quit() exit() import main
[ 11748, 12972, 6057, 198, 6738, 12972, 6057, 13, 17946, 874, 1330, 1635, 198, 6738, 12972, 6057, 1330, 1635, 198, 11748, 15095, 874, 198, 11748, 12972, 6057, 355, 23241, 198, 6738, 12972, 6057, 13, 19816, 263, 1330, 9506, 198, 11748, 640, 628, 198, 6024, 13, 15003, 3419, 198, 2, 2730, 521, 78, 21758, 198, 9148, 8120, 796, 357, 15, 11, 657, 11, 657, 8, 198, 12418, 12709, 796, 357, 13381, 11, 14280, 11, 14280, 8, 198, 9148, 8924, 796, 357, 15, 11, 657, 11, 14280, 8, 198, 43016, 796, 357, 15, 11, 14280, 11, 657, 8, 198, 22083, 796, 357, 13381, 11, 657, 11, 657, 8, 198, 13252, 55, 46, 796, 357, 16799, 11, 15, 11, 16799, 8, 198, 43, 1503, 1565, 37048, 796, 357, 13381, 11, 18112, 11, 657, 8, 198, 2390, 1503, 3698, 46, 796, 357, 13381, 11, 13381, 11, 15, 8, 198, 44879, 16, 796, 357, 21395, 11, 657, 11, 24652, 8, 198, 11401, 2538, 796, 357, 28072, 11, 18395, 11, 31510, 8, 198, 10606, 4653, 293, 66, 295, 4763, 796, 357, 15, 11, 14280, 11, 657, 8, 198, 20541, 1162, 16, 198, 10215, 16, 796, 357, 15, 11, 657, 11, 657, 8, 198, 198, 3642, 796, 352, 198, 198, 69, 589, 796, 657, 198, 198, 9078, 6057, 13, 15003, 3419, 198, 198, 9078, 6057, 13, 19816, 263, 13, 15003, 3419, 198, 198, 10990, 78, 796, 12972, 6057, 13, 19816, 263, 13, 28965, 13, 2220, 7, 4743, 672, 874, 13, 1136, 62, 6978, 3419, 1343, 705, 6852, 21369, 6852, 6057, 1759, 13, 43913, 11537, 198, 198, 12976, 796, 12972, 6057, 13, 19816, 263, 13, 21369, 7, 4743, 672, 874, 13, 1136, 62, 6978, 3419, 1343, 705, 6852, 21369, 6852, 12976, 13, 45137, 11537, 198, 198, 9078, 6057, 13, 19816, 263, 13, 28965, 13, 1759, 3419, 198, 198, 9612, 796, 12972, 6057, 13, 13812, 13, 2617, 62, 14171, 19510, 7410, 11, 13037, 4008, 198, 2, 1097, 2301, 25440, 277, 38599, 198, 10331, 796, 12972, 6057, 13, 10331, 13, 44387, 23252, 7, 14202, 11, 5996, 8, 198, 198, 9078, 6057, 13, 13812, 13, 2617, 62, 6888, 1159, 10786, 46786, 6981, 46, 11537, 198, 198, 2, 662, 268, 2395, 358, 78, 267, 1814, 78, 401, 662, 1462, 198, 9612, 13, 20797, 7, 11401, 2538, 8, 198, 198, 260, 2164, 292, 3419, 198, 198, 26272, 3419, 198, 26272, 62, 65, 2069, 274, 796, 6859, 3419, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 7, 3642, 6624, 352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6859, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1162, 16, 796, 6994, 7058, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 28, 542, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 3642, 6624, 362, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1162, 17, 796, 384, 70, 41204, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 28, 542, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 6057, 13, 13812, 13, 2704, 541, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 3642, 6624, 513, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 4533, 796, 4020, 333, 283, 7, 10215, 16, 11, 10215, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 875, 271, 5488, 796, 537, 291, 283, 18546, 2533, 283, 46, 84, 3109, 565, 84, 343, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 7, 12501, 271, 5488, 855, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 69, 589, 6624, 657, 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, 7, 20274, 4533, 6624, 47606, 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, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 589, 796, 277, 589, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 69, 589, 6624, 352, 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, 7, 20274, 4533, 6624, 47211, 1565, 37048, 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, 220, 220, 277, 589, 796, 362, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 69, 589, 6624, 362, 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, 7, 20274, 4533, 6624, 15107, 55, 46, 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, 220, 220, 277, 589, 796, 513, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 604, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 542, 796, 352, 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, 542, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 3642, 6624, 604, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1785, 287, 12972, 6057, 13, 15596, 13, 1136, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 4906, 6624, 19604, 2043, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 6057, 13, 47391, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8420, 3419, 198, 11748, 1388, 198 ]
1.630205
1,417
#!/usr/bin/python """ Rescale baseline density files, Nring(u), into n(x) = n(u=d/lambda) / lambda^2, which is approx. const. with frequency (and x = u / nu). Phil Bull (2014) """ import numpy as np import pylab as P import scipy.integrate import os, sys try: Ndish = int(sys.argv[1]) infile = sys.argv[2] outfile = sys.argv[3] except: print "Expects 3 arguments: Ndish, infile, outfile" sys.exit(1) def process_baseline_file(fname): """ Process SKA N(u) files and output n(d), which can then be converted into a freq.-dep. n(u). """ # Extract info. about baseline file fname_end = fname.split("/")[-1] tmp = fname_end.split("_") freq = float(tmp[1]) / 1e6 # Freq., MHz dec = float(tmp[2][3:]) # Declination, degrees ts = float(tmp[3].split("sec")[0]) # Single baseline integ. time, in sec if len(tmp) == 6: du = float(tmp[5][2:-4]) # u bin width, ~1/sqrt(fov) else: du = float(tmp[4][2:-4]) # u bin width, ~1/sqrt(fov) # Output information about this datafile print "-"*50 print "Filename:", fname print "-"*50 print "Ndish: ", Ndish print "Freq.: ", freq, "MHz" print "Dec.: ", dec, "deg" print "t_s: ", ts, "sec" print "du: ", du print "-"*50 # Load datafile and convert to density (don't need bin centres; just use edges) u, Nring = np.genfromtxt(fname).T n = Nring / (2.*np.pi * u * du) / (24.*3600. / ts) # Eq. 18 of Mario's notes # Remove leading zeros (or other special values), if any, to ensure # interpolation has a sharp cut at u_min minidx = None; jj = -1 while minidx is None: jj += 1 if (n[jj] != 0.) and (not np.isnan(n[jj])) and (not np.isinf(n[jj])): minidx = jj u = u[minidx:] n = n[minidx:] # Integrate n(u) to find normalisation (should be N_dish^2) norm = scipy.integrate.simps(2.*np.pi*n*u, u) print "n(u) renorm. factor:", 0.5 * Ndish * (Ndish - 1) / norm, "(applied)" # (Renorm factor should be close to 1 if Ndish is correct) n *= 0.5 * Ndish * (Ndish - 1) / norm # Convert to freq.-independent expression, n(x) = n(u) * nu^2, # where nu is in MHz. n_x = n * freq**2. x = u / freq return x, n_x # Process input file x, n_x = process_baseline_file(infile) # Output to disk np.savetxt(outfile, np.column_stack((x, n_x))) print "Done."
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 37811, 198, 49, 3798, 1000, 14805, 12109, 3696, 11, 399, 1806, 7, 84, 828, 656, 299, 7, 87, 8, 796, 299, 7, 84, 28, 67, 14, 50033, 8, 1220, 37456, 61, 17, 11, 220, 198, 4758, 318, 5561, 13, 1500, 13, 351, 8373, 357, 392, 2124, 796, 334, 1220, 14364, 737, 198, 18673, 8266, 357, 4967, 8, 198, 37811, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 279, 2645, 397, 355, 350, 198, 11748, 629, 541, 88, 13, 18908, 4873, 198, 11748, 28686, 11, 25064, 198, 220, 198, 28311, 25, 198, 220, 220, 220, 399, 67, 680, 796, 493, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 220, 220, 220, 1167, 576, 796, 25064, 13, 853, 85, 58, 17, 60, 198, 220, 220, 220, 503, 7753, 796, 25064, 13, 853, 85, 58, 18, 60, 198, 16341, 25, 198, 220, 220, 220, 3601, 366, 3109, 38046, 513, 7159, 25, 399, 67, 680, 11, 1167, 576, 11, 503, 7753, 1, 198, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 198, 198, 4299, 1429, 62, 12093, 4470, 62, 7753, 7, 69, 3672, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10854, 14277, 32, 399, 7, 84, 8, 3696, 290, 5072, 299, 7, 67, 828, 543, 460, 788, 307, 11513, 656, 257, 220, 198, 220, 220, 220, 2030, 80, 7874, 10378, 13, 299, 7, 84, 737, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 29677, 7508, 13, 546, 14805, 2393, 198, 220, 220, 220, 277, 3672, 62, 437, 796, 277, 3672, 13, 35312, 7203, 14, 4943, 58, 12, 16, 60, 198, 220, 220, 220, 45218, 796, 277, 3672, 62, 437, 13, 35312, 7203, 62, 4943, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2030, 80, 796, 12178, 7, 22065, 58, 16, 12962, 1220, 352, 68, 21, 1303, 4848, 80, 1539, 19805, 198, 220, 220, 220, 875, 796, 12178, 7, 22065, 58, 17, 7131, 18, 25, 12962, 1303, 16691, 1883, 11, 7370, 198, 220, 220, 220, 40379, 796, 12178, 7, 22065, 58, 18, 4083, 35312, 7203, 2363, 4943, 58, 15, 12962, 1303, 14206, 14805, 4132, 13, 640, 11, 287, 792, 198, 220, 220, 220, 611, 18896, 7, 22065, 8, 6624, 718, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7043, 796, 12178, 7, 22065, 58, 20, 7131, 17, 21912, 19, 12962, 1303, 334, 9874, 9647, 11, 5299, 16, 14, 31166, 17034, 7, 69, 709, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7043, 796, 12178, 7, 22065, 58, 19, 7131, 17, 21912, 19, 12962, 1303, 334, 9874, 9647, 11, 5299, 16, 14, 31166, 17034, 7, 69, 709, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 25235, 1321, 546, 428, 1366, 7753, 198, 220, 220, 220, 3601, 366, 21215, 9, 1120, 198, 220, 220, 220, 3601, 366, 35063, 25, 1600, 277, 3672, 198, 220, 220, 220, 3601, 366, 21215, 9, 1120, 198, 220, 220, 220, 3601, 366, 45, 67, 680, 25, 220, 220, 33172, 399, 67, 680, 198, 220, 220, 220, 3601, 366, 20366, 80, 11207, 220, 220, 33172, 2030, 80, 11, 366, 25983, 1, 198, 220, 220, 220, 3601, 366, 10707, 11207, 220, 220, 220, 33172, 875, 11, 366, 13500, 1, 198, 220, 220, 220, 3601, 366, 83, 62, 82, 25, 220, 220, 220, 220, 33172, 40379, 11, 366, 2363, 1, 198, 220, 220, 220, 3601, 366, 646, 25, 220, 220, 220, 220, 220, 33172, 7043, 198, 220, 220, 220, 3601, 366, 21215, 9, 1120, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 8778, 1366, 7753, 290, 10385, 284, 12109, 357, 9099, 470, 761, 9874, 19788, 26, 655, 779, 13015, 8, 198, 220, 220, 220, 334, 11, 399, 1806, 796, 45941, 13, 5235, 6738, 14116, 7, 69, 3672, 737, 51, 198, 220, 220, 220, 299, 796, 399, 1806, 1220, 357, 17, 15885, 37659, 13, 14415, 1635, 334, 1635, 7043, 8, 1220, 357, 1731, 15885, 2623, 405, 13, 1220, 40379, 8, 1303, 412, 80, 13, 1248, 286, 10682, 338, 4710, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 17220, 3756, 1976, 27498, 357, 273, 584, 2041, 3815, 828, 611, 597, 11, 284, 4155, 220, 198, 220, 220, 220, 1303, 39555, 341, 468, 257, 7786, 2005, 379, 334, 62, 1084, 198, 220, 220, 220, 949, 312, 87, 796, 6045, 26, 474, 73, 796, 532, 16, 198, 220, 220, 220, 981, 949, 312, 87, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 474, 73, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 77, 58, 41098, 60, 14512, 657, 2014, 290, 357, 1662, 45941, 13, 271, 12647, 7, 77, 58, 41098, 60, 4008, 290, 357, 1662, 45941, 13, 271, 10745, 7, 77, 58, 41098, 12962, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 312, 87, 796, 474, 73, 198, 220, 220, 220, 334, 796, 334, 58, 1084, 312, 87, 47715, 198, 220, 220, 220, 299, 796, 299, 58, 1084, 312, 87, 47715, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 15995, 4873, 299, 7, 84, 8, 284, 1064, 3487, 5612, 357, 21754, 307, 399, 62, 67, 680, 61, 17, 8, 198, 220, 220, 220, 2593, 796, 629, 541, 88, 13, 18908, 4873, 13, 14323, 862, 7, 17, 15885, 37659, 13, 14415, 9, 77, 9, 84, 11, 334, 8, 198, 220, 220, 220, 3601, 366, 77, 7, 84, 8, 8851, 579, 13, 5766, 25, 1600, 657, 13, 20, 1635, 399, 67, 680, 1635, 357, 45, 67, 680, 532, 352, 8, 1220, 2593, 11, 30629, 1324, 18511, 16725, 198, 220, 220, 220, 1303, 357, 26764, 579, 5766, 815, 307, 1969, 284, 352, 611, 399, 67, 680, 318, 3376, 8, 198, 220, 220, 220, 299, 1635, 28, 657, 13, 20, 1635, 399, 67, 680, 1635, 357, 45, 67, 680, 532, 352, 8, 1220, 2593, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 38240, 284, 2030, 80, 7874, 34750, 5408, 11, 299, 7, 87, 8, 796, 299, 7, 84, 8, 1635, 14364, 61, 17, 11, 198, 220, 220, 220, 1303, 810, 14364, 318, 287, 19805, 13, 198, 220, 220, 220, 299, 62, 87, 796, 299, 1635, 2030, 80, 1174, 17, 13, 198, 220, 220, 220, 2124, 796, 334, 1220, 2030, 80, 198, 220, 220, 220, 1441, 2124, 11, 299, 62, 87, 628, 198, 2, 10854, 5128, 2393, 198, 87, 11, 299, 62, 87, 796, 1429, 62, 12093, 4470, 62, 7753, 7, 259, 7753, 8, 198, 198, 2, 25235, 284, 11898, 198, 37659, 13, 21928, 14116, 7, 448, 7753, 11, 45941, 13, 28665, 62, 25558, 19510, 87, 11, 299, 62, 87, 22305, 198, 4798, 366, 45677, 526, 198 ]
2.19802
1,111
import cv2 cap=cv2.VideoCapture(0) ret,frame1=cap.read() ret,frame2=cap.read() print(cap.get(cv2.CAP_PROP_FRAME_WIDTH)) print(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) while (cap.isOpened()): diff=cv2.absdiff(frame1,frame2) diff=doContour(setFrame(diff),frame1) cv2.imshow('Detection',frame1) frame1=frame2 ret,frame2=cap.read() if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows()
[ 11748, 269, 85, 17, 198, 198, 11128, 28, 33967, 17, 13, 10798, 49630, 7, 15, 8, 198, 1186, 11, 14535, 16, 28, 11128, 13, 961, 3419, 198, 1186, 11, 14535, 17, 28, 11128, 13, 961, 3419, 198, 4798, 7, 11128, 13, 1136, 7, 33967, 17, 13, 33177, 62, 4805, 3185, 62, 10913, 10067, 62, 54, 2389, 4221, 4008, 198, 4798, 7, 11128, 13, 1136, 7, 33967, 17, 13, 33177, 62, 4805, 3185, 62, 10913, 10067, 62, 13909, 9947, 4008, 198, 198, 4514, 357, 11128, 13, 271, 18257, 2945, 3419, 2599, 198, 220, 220, 220, 814, 28, 33967, 17, 13, 8937, 26069, 7, 14535, 16, 11, 14535, 17, 8, 198, 220, 220, 220, 814, 28, 4598, 4264, 454, 7, 2617, 19778, 7, 26069, 828, 14535, 16, 8, 198, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 11242, 3213, 3256, 14535, 16, 8, 198, 220, 220, 220, 5739, 16, 28, 14535, 17, 198, 220, 220, 220, 1005, 11, 14535, 17, 28, 11128, 13, 961, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 611, 269, 85, 17, 13, 17077, 9218, 7, 16, 8, 1222, 657, 87, 5777, 6624, 2760, 10786, 80, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 198, 11128, 13, 20979, 3419, 198, 33967, 17, 13, 41659, 3237, 11209, 3419 ]
2.046083
217
from flask import Flask, jsonify, request import pymongo from flask_cors import CORS from os import environ from bson.json_util import dumps import json app = Flask(__name__) client = pymongo.MongoClient( "mongodb+srv://iotadmin:[email protected]/iotTest?retryWrites=true&w=majority&ssl=true&ssl_cert_reqs=CERT_NONE") CORS(app) db = client['iotTest'] positivetrayreturn = db['positivetrayreturn'] stall_distribution = db['stall_distribution'] empty_trayreturn = db['empty_trayreturn'] @app.route("/g6trayreturndistr/<stall_id>/<date_wanted>", methods=['GET']) @app.route("/g6trayclear/<date_wanted>", methods=['GET']) @app.route("/g6total/<stall_id>/<date_wanted>", methods=['GET']) if __name__ == '__main__': app.run(host='0.0.0.0', port=5002, debug=True)
[ 6738, 42903, 1330, 46947, 11, 33918, 1958, 11, 2581, 198, 11748, 279, 4948, 25162, 198, 6738, 42903, 62, 66, 669, 1330, 327, 20673, 198, 6738, 28686, 1330, 551, 2268, 198, 6738, 275, 1559, 13, 17752, 62, 22602, 1330, 45514, 198, 198, 11748, 33918, 198, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 198, 16366, 796, 279, 4948, 25162, 13, 44, 25162, 11792, 7, 198, 220, 220, 220, 366, 31059, 375, 65, 10, 27891, 85, 1378, 5151, 28482, 25, 5151, 28482, 28712, 31, 565, 5819, 15, 13, 8232, 80, 69, 13, 31059, 375, 65, 13, 3262, 14, 5151, 14402, 30, 1186, 563, 20257, 274, 28, 7942, 5, 86, 28, 35839, 5, 45163, 28, 7942, 5, 45163, 62, 22583, 62, 42180, 82, 28, 34, 17395, 62, 45, 11651, 4943, 198, 198, 34, 20673, 7, 1324, 8, 198, 198, 9945, 796, 5456, 17816, 5151, 14402, 20520, 198, 24561, 2213, 323, 7783, 796, 20613, 17816, 24561, 2213, 323, 7783, 20520, 198, 32989, 62, 17080, 3890, 796, 20613, 17816, 32989, 62, 17080, 3890, 20520, 198, 28920, 62, 2213, 323, 7783, 796, 20613, 17816, 28920, 62, 2213, 323, 7783, 20520, 198, 198, 31, 1324, 13, 38629, 7203, 14, 70, 21, 2213, 323, 1186, 333, 358, 396, 81, 14, 27, 32989, 62, 312, 29, 14, 27, 4475, 62, 86, 4126, 29, 1600, 5050, 28, 17816, 18851, 6, 12962, 198, 198, 31, 1324, 13, 38629, 7203, 14, 70, 21, 2213, 323, 20063, 14, 27, 4475, 62, 86, 4126, 29, 1600, 5050, 28, 17816, 18851, 6, 12962, 198, 198, 31, 1324, 13, 38629, 7203, 14, 70, 21, 23350, 14, 27, 32989, 62, 312, 29, 14, 27, 4475, 62, 86, 4126, 29, 1600, 5050, 28, 17816, 18851, 6, 12962, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 598, 13, 5143, 7, 4774, 11639, 15, 13, 15, 13, 15, 13, 15, 3256, 2493, 28, 4059, 17, 11, 14257, 28, 17821, 8, 198 ]
2.5
320
import json from collections import Counter ALLSKL = 'allSkillLvlup' # Key for character dictionary to get 2-7 level up mats LVCOST = 'lvlUpCost' MCOSTC = 'levelUpCostCond' # Key for mastery level cost upgrades. MCOST = 'levelUpCost' SKILLS = 'skills' ELITE = 'phases' PROMOTE = 'evolveCost' RARE = 'rarity' ID = 'id' CT = 'count' CHAR_LOC = "chardata.json" FORMULAS = "formulas.json" ITEMNAMES = "itemnames.json" ITEMIDS = "itemids.json" MASTERY = "masterylist.json" NM = 'name' COST = 'costs' if __name__ == '__main__': main()
[ 11748, 33918, 198, 6738, 17268, 1330, 15034, 198, 198, 1847, 6561, 42, 43, 796, 705, 439, 35040, 43, 19279, 929, 6, 1303, 7383, 329, 2095, 22155, 284, 651, 362, 12, 22, 1241, 510, 46054, 198, 30976, 8220, 2257, 796, 705, 47147, 4933, 13729, 6, 198, 44, 8220, 2257, 34, 796, 705, 5715, 4933, 13729, 25559, 6, 1303, 7383, 329, 30677, 1241, 1575, 16608, 13, 198, 44, 8220, 2257, 796, 705, 5715, 4933, 13729, 6, 198, 18831, 8267, 50, 796, 705, 8135, 2171, 6, 198, 3698, 12709, 796, 705, 746, 1386, 6, 198, 4805, 2662, 23051, 796, 705, 1990, 6442, 13729, 6, 198, 49, 12203, 796, 705, 81, 6806, 6, 198, 2389, 796, 705, 312, 6, 198, 4177, 796, 705, 9127, 6, 198, 38019, 62, 29701, 796, 366, 30215, 1045, 13, 17752, 1, 198, 21389, 6239, 1921, 796, 366, 687, 25283, 13, 17752, 1, 198, 2043, 3620, 45, 29559, 796, 366, 9186, 14933, 13, 17752, 1, 198, 2043, 3620, 14255, 796, 366, 9186, 2340, 13, 17752, 1, 198, 31180, 5781, 56, 796, 366, 9866, 2645, 396, 13, 17752, 1, 198, 32755, 796, 705, 3672, 6, 198, 8220, 2257, 796, 705, 15805, 82, 6, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419 ]
2.540284
211
"""A backend for playing twenty questions.""" import logging import flask from backend.views import ( twentyquestions, socketio) logger = logging.getLogger(__name__) app = flask.Flask(__name__) @app.route('/') def root(): """A root page for twentyquestions.""" return ( 'This server is used by the Allen Institute for Artificial' ' Intelligence to crowdsource common sense by playing 20' ' Questions.', 200 ) # register blueprints app.register_blueprint(twentyquestions) # set up the web socket socketio.init_app(app)
[ 37811, 32, 30203, 329, 2712, 8208, 2683, 526, 15931, 198, 198, 11748, 18931, 198, 198, 11748, 42903, 198, 198, 6738, 30203, 13, 33571, 1330, 357, 198, 220, 220, 220, 8208, 6138, 507, 11, 198, 220, 220, 220, 17802, 952, 8, 628, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 1324, 796, 42903, 13, 7414, 2093, 7, 834, 3672, 834, 8, 628, 198, 31, 1324, 13, 38629, 10786, 14, 11537, 198, 4299, 6808, 33529, 198, 220, 220, 220, 37227, 32, 6808, 2443, 329, 8208, 6138, 507, 526, 15931, 198, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1212, 4382, 318, 973, 416, 262, 9659, 5136, 329, 35941, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9345, 284, 4315, 10459, 2219, 2565, 416, 2712, 1160, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20396, 2637, 11, 198, 220, 220, 220, 220, 220, 220, 220, 939, 198, 220, 220, 220, 1267, 628, 198, 2, 7881, 4171, 17190, 198, 1324, 13, 30238, 62, 17585, 4798, 7, 4246, 3787, 6138, 507, 8, 628, 198, 2, 900, 510, 262, 3992, 17802, 198, 44971, 952, 13, 15003, 62, 1324, 7, 1324, 8, 198 ]
2.857843
204
import json import requests import os my_directory = os.path.dirname(os.path.abspath(__file__)) with open(f'{my_directory}/secrets/keys.json') as f: api_keys = json.load(f) TGKEY = api_keys["Telegram"]["Key"] DEVID = api_keys["Telegram"]["DeviceID"] def send_analytics(req, fingerprint): """Sends analytics data to Telegram API Args: req (dict): Hashmap containing request information """ content = f'Someone from {req["city"]} , {req["country_name"]} visited your Website @ {req["Page"]} \nCarrier: {req["org"]} \nOS: {req["Operating System"]} \nBrowser: {req["Browser"]} \nDate-Time: {req["Date & Time"]} \nIP: {req["ip"]}\nFingerprint: {fingerprint}' push(content) def send_form(formData): """Sends Form data to Telegram API Args: formData (dict): Hashmap containing form data """ content = f'Someone sent you a message via contact form.\nName: {formData["name"]}\nEmail: {formData["email"]}\nAbout: {formData["about"]}\nMessage: {formData["message"]}' push(content) def send_performance(name, response_time, allowed): """Sends Performance data to Telegram API Args: name (string): The name of the endpoint that the alert is raised for response_time (float): The average response time for the alert allowed (float): The allowed response time for the service """ content = f'Perfomance Alert\nThe {name} endpoint took an average of : {response_time} to compute \n while the allowed time is : {allowed}' push(content)
[ 11748, 33918, 198, 11748, 7007, 198, 11748, 28686, 198, 198, 1820, 62, 34945, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 4008, 198, 4480, 1280, 7, 69, 6, 90, 1820, 62, 34945, 92, 14, 2363, 8004, 14, 13083, 13, 17752, 11537, 355, 277, 25, 198, 220, 220, 220, 40391, 62, 13083, 796, 33918, 13, 2220, 7, 69, 8, 198, 35990, 20373, 796, 40391, 62, 13083, 14692, 6767, 30536, 1, 7131, 1, 9218, 8973, 198, 7206, 11008, 796, 40391, 62, 13083, 14692, 6767, 30536, 1, 7131, 1, 24728, 2389, 8973, 628, 198, 4299, 3758, 62, 38200, 14094, 7, 42180, 11, 25338, 2599, 198, 220, 220, 220, 37227, 50, 2412, 23696, 1366, 284, 50203, 7824, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 43089, 357, 11600, 2599, 21059, 8899, 7268, 2581, 1321, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2695, 796, 277, 6, 28211, 422, 1391, 42180, 14692, 19205, 8973, 92, 837, 1391, 42180, 14692, 19315, 62, 3672, 8973, 92, 8672, 534, 15887, 2488, 1391, 42180, 14692, 9876, 8973, 92, 3467, 77, 9914, 5277, 25, 1391, 42180, 14692, 2398, 8973, 92, 3467, 77, 2640, 25, 1391, 42180, 14692, 18843, 803, 4482, 8973, 92, 3467, 77, 46532, 25, 1391, 42180, 14692, 46532, 8973, 92, 3467, 77, 10430, 12, 7575, 25, 1391, 42180, 14692, 10430, 1222, 3862, 8973, 92, 3467, 77, 4061, 25, 1391, 42180, 14692, 541, 8973, 32239, 77, 37, 3889, 4798, 25, 1391, 35461, 4798, 92, 6, 198, 220, 220, 220, 4574, 7, 11299, 8, 628, 198, 4299, 3758, 62, 687, 7, 687, 6601, 2599, 198, 220, 220, 220, 37227, 50, 2412, 5178, 1366, 284, 50203, 7824, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1296, 6601, 357, 11600, 2599, 21059, 8899, 7268, 1296, 1366, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2695, 796, 277, 6, 28211, 1908, 345, 257, 3275, 2884, 2800, 1296, 13, 59, 77, 5376, 25, 1391, 687, 6601, 14692, 3672, 8973, 32239, 77, 15333, 25, 1391, 687, 6601, 14692, 12888, 8973, 32239, 77, 8585, 25, 1391, 687, 6601, 14692, 10755, 8973, 32239, 77, 12837, 25, 1391, 687, 6601, 14692, 20500, 8973, 92, 6, 198, 220, 220, 220, 4574, 7, 11299, 8, 628, 198, 4299, 3758, 62, 26585, 7, 3672, 11, 2882, 62, 2435, 11, 3142, 2599, 198, 220, 220, 220, 37227, 50, 2412, 15193, 1366, 284, 50203, 7824, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 357, 8841, 2599, 383, 1438, 286, 262, 36123, 326, 262, 7995, 318, 4376, 329, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 62, 2435, 357, 22468, 2599, 383, 2811, 2882, 640, 329, 262, 7995, 198, 220, 220, 220, 220, 220, 220, 220, 3142, 357, 22468, 2599, 383, 3142, 2882, 640, 329, 262, 2139, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2695, 796, 277, 6, 5990, 69, 296, 590, 23276, 59, 77, 464, 1391, 3672, 92, 36123, 1718, 281, 2811, 286, 1058, 1391, 26209, 62, 2435, 92, 284, 24061, 3467, 77, 981, 262, 3142, 640, 318, 1058, 1391, 40845, 92, 6, 198, 220, 220, 220, 4574, 7, 11299, 8, 198 ]
2.854749
537
import datetime import logging import os.path import traceback from io import BytesIO import django_tables2 as tables import numpy as np from bokeh.embed import components from bokeh.models import DataRange1d, LinearColorMapper, ColorBar, LabelSet, FuncTickFormatter, TapTool, OpenURL from bokeh.plotting import figure, ColumnDataSource from django.conf import settings from django.contrib.auth.mixins import UserPassesTestMixin from django.core.exceptions import PermissionDenied from django.core.files import File from django.core.files.storage import FileSystemStorage from django.core.files.storage import default_storage from django.db.models import Q from django.db import transaction from django.http import HttpResponse, Http404 from django.shortcuts import redirect, render from django.urls import reverse, reverse_lazy from django.utils.decorators import method_decorator from django.utils.safestring import mark_safe from django.views.generic import DetailView, UpdateView, CreateView, DeleteView, TemplateView, ListView, FormView from django.views.generic.edit import FormMixin from django_tables2 import RequestConfig from django.contrib.staticfiles.storage import staticfiles_storage from formtools.wizard.views import SessionWizardView from guardian.decorators import permission_required_or_403 from guardian.shortcuts import get_users_with_perms, get_objects_for_user, get_anonymous_user from notifications.signals import notify from rest_framework.decorators import api_view from rest_framework.generics import ListAPIView, RetrieveAPIView from rest_framework.pagination import PageNumberPagination from rest_framework.response import Response from rest_framework.renderers import JSONRenderer from rest_framework.utils.urls import remove_query_param, replace_query_param from trackstats.models import Metric, Period from .forms import TopographyFileUploadForm, TopographyMetaDataForm, TopographyWizardUnitsForm, DEFAULT_LICENSE from .forms import TopographyForm, SurfaceForm, SurfaceShareForm, SurfacePublishForm from .models import Topography, Surface, TagModel, \ NewPublicationTooFastException, LoadTopographyException, PlotTopographyException from .serializers import SurfaceSerializer, TagSerializer from .utils import selected_instances, bandwidths_data, get_topography_reader, tags_for_user, get_reader_infos, \ mailto_link_for_reporting_an_error, current_selection_as_basket_items, filtered_surfaces, \ filtered_topographies, get_search_term, get_category, get_sharing_status, get_tree_mode, \ get_permission_table_data from ..usage_stats.utils import increase_statistics_by_date, increase_statistics_by_date_and_object from ..users.models import User from ..users.utils import get_default_group from ..publication.models import Publication, MAX_LEN_AUTHORS_FIELD from .containers import write_surface_container from ..taskapp.tasks import renew_squeezed_datafile, renew_topography_thumbnail, renew_analyses_related_to_topography # create dicts with labels and option values for Select tab CATEGORY_FILTER_CHOICES = {'all': 'All categories', **{cc[0]: cc[1] + " only" for cc in Surface.CATEGORY_CHOICES}} SHARING_STATUS_FILTER_CHOICES = { 'all': 'All accessible surfaces', 'own': 'Only own surfaces', 'shared': 'Only surfaces shared with you', 'published': 'Only surfaces published by anyone', } TREE_MODE_CHOICES = ['surface list', 'tag tree'] MAX_PAGE_SIZE = 100 DEFAULT_PAGE_SIZE = 10 DEFAULT_SELECT_TAB_STATE = { 'search_term': '', # empty string means: no search 'category': 'all', 'sharing_status': 'all', 'tree_mode': 'surface list', 'page_size': 10, 'current_page': 1, # all these values are the default if no filter has been applied # and the page is loaded the first time } MEASUREMENT_TIME_INFO_FIELD = 'acquisition_time' _log = logging.getLogger(__name__) surface_view_permission_required = method_decorator( permission_required_or_403('manager.view_surface', ('manager.Surface', 'pk', 'pk')) # translates to: # # In order to access, a specific permission is required. This permission # is 'view_surface' for a specific surface. Which surface? This is calculated # from view argument 'pk' (the last element in tuple), which is used to get a # 'manager.Surface' instance (first element in tuple) with field 'pk' with same value as # last element in tuple (the view argument 'pk'). # # Or in pseudocode: # # s = Surface.objects.get(pk=view.kwargs['pk']) # assert request.user.has_perm('view_surface', s) ) surface_update_permission_required = method_decorator( permission_required_or_403('manager.change_surface', ('manager.Surface', 'pk', 'pk')) ) surface_delete_permission_required = method_decorator( permission_required_or_403('manager.delete_surface', ('manager.Surface', 'pk', 'pk')) ) surface_share_permission_required = method_decorator( permission_required_or_403('manager.share_surface', ('manager.Surface', 'pk', 'pk')) ) surface_publish_permission_required = method_decorator( permission_required_or_403('manager.publish_surface', ('manager.Surface', 'pk', 'pk')) ) # # Using a wizard because we need intermediate calculations # # There are 3 forms, used in 3 steps (0,1, then 2): # # 0: loading of the topography file # 1: choosing the data source, add measurement date and a description # 2: adding physical size and units (for data which is not available in the file, for 1D or 2D) # # Maybe an alternative would be to use AJAX calls as described here (under "GET"): # # https://sixfeetup.com/blog/making-your-django-templates-ajax-y # def topography_plot(request, pk): """Render an HTML snippet with topography plot""" try: pk = int(pk) topo = Topography.objects.get(pk=pk) assert request.user.has_perm('view_surface', topo.surface) except (ValueError, Topography.DoesNotExist, AssertionError): raise PermissionDenied() # This should be shown independent of whether the surface exists errors = [] # list of dicts with keys 'message' and 'link' context = {} plotted = False try: plot = topo.get_plot() plotted = True except LoadTopographyException as exc: err_message = "Topography '{}' (id: {}) cannot be loaded unexpectedly.".format( topo.name, topo.id) _log.error(err_message) link = mailto_link_for_reporting_an_error(f"Failure loading topography (id: {topo.id})", "Plotting measurement", err_message, traceback.format_exc()) errors.append(dict(message=err_message, link=link)) except PlotTopographyException as exc: err_message = "Topography '{}' (id: {}) cannot be plotted.".format(topo.name, topo.id) _log.error(err_message) link = mailto_link_for_reporting_an_error(f"Failure plotting measurement (id: {topo.id})", "Plotting measurement", err_message, traceback.format_exc()) errors.append(dict(message=err_message, link=link)) if plotted: script, div = components(plot) context['image_plot_script'] = script context['image_plot_div'] = div context['errors'] = errors return render(request, 'manager/topography_plot.html', context=context) def download_surface(request, surface_id): """Returns a file comprised from topographies contained in a surface. :param request: :param surface_id: surface id :return: """ # # Check existence and permissions for given surface # try: surface = Surface.objects.get(id=surface_id) except Surface.DoesNotExist: raise PermissionDenied() if not request.user.has_perm('view_surface', surface): raise PermissionDenied() content_data = None # # If the surface has been published, there might be a container file already. # If yes: # Is there already a container? # Then it instead of creating a new container.from # If no, save the container in the publication later. # If no: create a container for this surface on the fly # renew_publication_container = False if surface.is_published: pub = surface.publication # noinspection PyBroadException try: with pub.container.open() as cf: content_data = cf.read() _log.debug(f"Read container for published surface {pub.short_url} from storage.") except Exception: # not interested here, why it fails renew_publication_container = True if content_data is None: container_bytes = BytesIO() _log.info(f"Preparing container of surface id={surface_id} for download..") write_surface_container(container_bytes, [surface], request=request) content_data = container_bytes.getvalue() if renew_publication_container: try: container_bytes.seek(0) _log.info(f"Saving container for publication with URL {pub.short_url} to storage for later..") pub.container.save(pub.container_storage_path, container_bytes) except (OSError, BlockingIOError) as exc: _log.error(f"Cannot save container for publication {pub.short_url} to storage. " f"Reason: {exc}") # Prepare response object. response = HttpResponse(content_data, content_type='application/x-zip-compressed') response['Content-Disposition'] = 'attachment; filename="{}"'.format('surface.zip') increase_statistics_by_date_and_object(Metric.objects.SURFACE_DOWNLOAD_COUNT, period=Period.DAY, obj=surface) return response def download_selection_as_surfaces(request): """Returns a file comprised from surfaces related to the selection. :param request: current request :return: """ from .utils import current_selection_as_surface_list surfaces = current_selection_as_surface_list(request) container_bytes = BytesIO() write_surface_container(container_bytes, surfaces, request=request) # Prepare response object. response = HttpResponse(container_bytes.getvalue(), content_type='application/x-zip-compressed') response['Content-Disposition'] = 'attachment; filename="{}"'.format('surface.zip') # increase download count for each surface for surf in surfaces: increase_statistics_by_date_and_object(Metric.objects.SURFACE_DOWNLOAD_COUNT, period=Period.DAY, obj=surf) return response ####################################################################################### # Views for REST interface ####################################################################################### class TagTreeView(ListAPIView): """ Generate tree of tags with surfaces and topographies underneath. """ serializer_class = TagSerializer pagination_class = SurfaceSearchPaginator class SurfaceListView(ListAPIView): """ List all surfaces with topographies underneath. """ serializer_class = SurfaceSerializer pagination_class = SurfaceSearchPaginator def set_surface_select_status(request, pk, select_status): """Marks the given surface as 'selected' in session or checks this. :param request: request :param pk: primary key of the surface :param select_status: True if surface should be selected, False if it should be unselected :return: JSON Response The response returns the current selection as suitable for the basket. """ try: pk = int(pk) surface = Surface.objects.get(pk=pk) assert request.user.has_perm('view_surface', surface) except (ValueError, Surface.DoesNotExist, AssertionError): raise PermissionDenied() # This should be shown independent of whether the surface exists surface_key = _surface_key(pk) selection = _selection_set(request) is_selected = surface_key in selection if request.method == 'POST': if select_status: # surface should be selected selection.add(surface_key) elif is_selected: selection.remove(surface_key) request.session['selection'] = list(selection) data = current_selection_as_basket_items(request) return Response(data) @api_view(['POST']) def select_surface(request, pk): """Marks the given surface as 'selected' in session. :param request: request :param pk: primary key of the surface :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_surface_select_status(request, pk, True) @api_view(['POST']) def unselect_surface(request, pk): """Marks the given surface as 'unselected' in session. :param request: request :param pk: primary key of the surface :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_surface_select_status(request, pk, False) def set_topography_select_status(request, pk, select_status): """Marks the given topography as 'selected' or 'unselected' in session. :param request: request :param pk: primary key of the surface :param select_status: True or False, True means "mark as selected", False means "mark as unselected" :return: JSON Response The response returns the current selection as suitable for the basket. """ try: pk = int(pk) topo = Topography.objects.get(pk=pk) assert request.user.has_perm('view_surface', topo.surface) except (ValueError, Topography.DoesNotExist, AssertionError): raise PermissionDenied() # This should be shown independent of whether the surface exists topography_key = _topography_key(pk) selection = _selection_set(request) is_selected = topography_key in selection if request.method == 'POST': if select_status: # topography should be selected selection.add(topography_key) elif is_selected: selection.remove(topography_key) request.session['selection'] = list(selection) data = current_selection_as_basket_items(request) return Response(data) @api_view(['POST']) def select_topography(request, pk): """Marks the given topography as 'selected' in session. :param request: request :param pk: primary key of the surface :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_topography_select_status(request, pk, True) @api_view(['POST']) def unselect_topography(request, pk): """Marks the given topography as 'selected' in session. :param request: request :param pk: primary key of the surface :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_topography_select_status(request, pk, False) def set_tag_select_status(request, pk, select_status): """Marks the given tag as 'selected' in session or checks this. :param request: request :param pk: primary key of the tag :param select_status: True if tag should be selected, False if it should be unselected :return: JSON Response The response returns the current selection as suitable for the basket. """ try: pk = int(pk) tag = TagModel.objects.get(pk=pk) except ValueError: raise PermissionDenied() if not tag in tags_for_user(request.user): raise PermissionDenied() tag_key = _tag_key(pk) selection = _selection_set(request) is_selected = tag_key in selection if request.method == 'POST': if select_status: # tag should be selected selection.add(tag_key) elif is_selected: selection.remove(tag_key) request.session['selection'] = list(selection) data = current_selection_as_basket_items(request) return Response(data) @api_view(['POST']) def select_tag(request, pk): """Marks the given tag as 'selected' in session. :param request: request :param pk: primary key of the tag :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_tag_select_status(request, pk, True) @api_view(['POST']) def unselect_tag(request, pk): """Marks the given tag as 'unselected' in session. :param request: request :param pk: primary key of the tag :return: JSON Response The response returns the current selection as suitable for the basket. """ return set_tag_select_status(request, pk, False) @api_view(['POST']) def unselect_all(request): """Removes all selections from session. :param request: request :return: empty list as JSON Response """ request.session['selection'] = [] return Response([]) def thumbnail(request, pk): """Returns image data for a topography thumbail Parameters ---------- request Returns ------- HTML Response with image data """ try: pk = int(pk) except ValueError: raise Http404() try: topo = Topography.objects.get(pk=pk) except Topography.DoesNotExist: raise Http404() if not request.user.has_perm('view_surface', topo.surface): raise PermissionDenied() # okay, we have a valid topography and the user is allowed to see it image = topo.thumbnail response = HttpResponse(content_type="image/png") try: response.write(image.file.read()) except Exception as exc: _log.warning("Cannot load thumbnail for topography %d. Reason: %s", topo.id, exc) # return some default image so the client gets sth in any case with staticfiles_storage.open('images/thumbnail_unavailable.png', mode='rb') as img_file: response.write(img_file.read()) return response
[ 11748, 4818, 8079, 198, 11748, 18931, 198, 11748, 28686, 13, 6978, 198, 11748, 12854, 1891, 198, 6738, 33245, 1330, 2750, 4879, 9399, 198, 198, 11748, 42625, 14208, 62, 83, 2977, 17, 355, 8893, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 1489, 365, 71, 13, 20521, 1330, 6805, 198, 6738, 1489, 365, 71, 13, 27530, 1330, 6060, 17257, 16, 67, 11, 44800, 10258, 44, 11463, 11, 5315, 10374, 11, 36052, 7248, 11, 11138, 66, 51, 624, 8479, 1436, 11, 16880, 25391, 11, 4946, 21886, 198, 6738, 1489, 365, 71, 13, 29487, 889, 1330, 3785, 11, 29201, 6601, 7416, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 19816, 1040, 1330, 11787, 47, 13978, 14402, 35608, 259, 198, 6738, 42625, 14208, 13, 7295, 13, 1069, 11755, 1330, 2448, 3411, 21306, 798, 198, 6738, 42625, 14208, 13, 7295, 13, 16624, 1330, 9220, 198, 6738, 42625, 14208, 13, 7295, 13, 16624, 13, 35350, 1330, 9220, 11964, 31425, 198, 6738, 42625, 14208, 13, 7295, 13, 16624, 13, 35350, 1330, 4277, 62, 35350, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 1330, 1195, 198, 6738, 42625, 14208, 13, 9945, 1330, 8611, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 11, 367, 29281, 26429, 198, 6738, 42625, 14208, 13, 19509, 23779, 1330, 18941, 11, 8543, 198, 6738, 42625, 14208, 13, 6371, 82, 1330, 9575, 11, 9575, 62, 75, 12582, 198, 6738, 42625, 14208, 13, 26791, 13, 12501, 273, 2024, 1330, 2446, 62, 12501, 273, 1352, 198, 6738, 42625, 14208, 13, 26791, 13, 49585, 395, 1806, 1330, 1317, 62, 21230, 198, 6738, 42625, 14208, 13, 33571, 13, 41357, 1330, 42585, 7680, 11, 10133, 7680, 11, 13610, 7680, 11, 23520, 7680, 11, 37350, 7680, 11, 7343, 7680, 11, 5178, 7680, 198, 6738, 42625, 14208, 13, 33571, 13, 41357, 13, 19312, 1330, 5178, 35608, 259, 198, 6738, 42625, 14208, 62, 83, 2977, 17, 1330, 19390, 16934, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 12708, 16624, 13, 35350, 1330, 9037, 16624, 62, 35350, 198, 198, 6738, 1296, 31391, 13, 86, 8669, 13, 33571, 1330, 23575, 54, 8669, 7680, 198, 6738, 21688, 13, 12501, 273, 2024, 1330, 7170, 62, 35827, 62, 273, 62, 31552, 198, 6738, 21688, 13, 19509, 23779, 1330, 651, 62, 18417, 62, 4480, 62, 525, 907, 11, 651, 62, 48205, 62, 1640, 62, 7220, 11, 651, 62, 272, 6704, 62, 7220, 198, 6738, 19605, 13, 12683, 874, 1330, 19361, 198, 6738, 1334, 62, 30604, 13, 12501, 273, 2024, 1330, 40391, 62, 1177, 198, 6738, 1334, 62, 30604, 13, 8612, 873, 1330, 7343, 2969, 3824, 769, 11, 4990, 30227, 2969, 3824, 769, 198, 6738, 1334, 62, 30604, 13, 79, 363, 1883, 1330, 7873, 15057, 47, 363, 1883, 198, 6738, 1334, 62, 30604, 13, 26209, 1330, 18261, 198, 6738, 1334, 62, 30604, 13, 10920, 19288, 1330, 19449, 49, 437, 11882, 198, 6738, 1334, 62, 30604, 13, 26791, 13, 6371, 82, 1330, 4781, 62, 22766, 62, 17143, 11, 6330, 62, 22766, 62, 17143, 198, 6738, 2610, 34242, 13, 27530, 1330, 3395, 1173, 11, 18581, 198, 198, 6738, 764, 23914, 1330, 5849, 4867, 8979, 41592, 8479, 11, 5849, 4867, 48526, 6601, 8479, 11, 5849, 4867, 54, 8669, 3118, 896, 8479, 11, 5550, 38865, 62, 43, 2149, 24290, 198, 6738, 764, 23914, 1330, 5849, 4867, 8479, 11, 20321, 8479, 11, 20321, 11649, 8479, 11, 20321, 14876, 1836, 8479, 198, 6738, 764, 27530, 1330, 5849, 4867, 11, 20321, 11, 17467, 17633, 11, 3467, 198, 220, 220, 220, 968, 15202, 341, 23307, 22968, 16922, 11, 8778, 9126, 4867, 16922, 11, 28114, 9126, 4867, 16922, 198, 6738, 764, 46911, 11341, 1330, 20321, 32634, 7509, 11, 17467, 32634, 7509, 198, 6738, 764, 26791, 1330, 6163, 62, 8625, 1817, 11, 19484, 82, 62, 7890, 11, 651, 62, 4852, 4867, 62, 46862, 11, 15940, 62, 1640, 62, 7220, 11, 651, 62, 46862, 62, 10745, 418, 11, 3467, 198, 220, 220, 220, 6920, 1462, 62, 8726, 62, 1640, 62, 49914, 62, 272, 62, 18224, 11, 1459, 62, 49283, 62, 292, 62, 65, 11715, 62, 23814, 11, 29083, 62, 11793, 32186, 11, 3467, 198, 220, 220, 220, 29083, 62, 4852, 41480, 11, 651, 62, 12947, 62, 4354, 11, 651, 62, 22872, 11, 651, 62, 21987, 62, 13376, 11, 651, 62, 21048, 62, 14171, 11, 3467, 198, 220, 220, 220, 651, 62, 525, 3411, 62, 11487, 62, 7890, 198, 6738, 11485, 26060, 62, 34242, 13, 26791, 1330, 2620, 62, 14269, 3969, 62, 1525, 62, 4475, 11, 2620, 62, 14269, 3969, 62, 1525, 62, 4475, 62, 392, 62, 15252, 198, 6738, 11485, 18417, 13, 27530, 1330, 11787, 198, 6738, 11485, 18417, 13, 26791, 1330, 651, 62, 12286, 62, 8094, 198, 6738, 11485, 11377, 341, 13, 27530, 1330, 45065, 11, 25882, 62, 43, 1677, 62, 32, 24318, 20673, 62, 44603, 198, 6738, 764, 3642, 50221, 1330, 3551, 62, 42029, 62, 34924, 198, 6738, 11485, 35943, 1324, 13, 83, 6791, 1330, 6931, 62, 16485, 1453, 8863, 62, 7890, 7753, 11, 6931, 62, 4852, 4867, 62, 400, 20566, 11, 6931, 62, 272, 43710, 62, 5363, 62, 1462, 62, 4852, 4867, 198, 198, 2, 2251, 8633, 82, 351, 14722, 290, 3038, 3815, 329, 9683, 7400, 198, 34, 6158, 38, 15513, 62, 46700, 5781, 62, 44899, 34444, 796, 1391, 6, 439, 10354, 705, 3237, 9376, 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, 12429, 90, 535, 58, 15, 5974, 36624, 58, 16, 60, 1343, 366, 691, 1, 329, 36624, 287, 20321, 13, 34, 6158, 38, 15513, 62, 44899, 34444, 11709, 198, 9693, 1503, 2751, 62, 35744, 2937, 62, 46700, 5781, 62, 44899, 34444, 796, 1391, 198, 220, 220, 220, 705, 439, 10354, 705, 3237, 9857, 16649, 3256, 198, 220, 220, 220, 705, 593, 10354, 705, 10049, 898, 16649, 3256, 198, 220, 220, 220, 705, 28710, 10354, 705, 10049, 16649, 4888, 351, 345, 3256, 198, 220, 220, 220, 705, 30271, 10354, 705, 10049, 16649, 3199, 416, 2687, 3256, 198, 92, 198, 51, 11587, 62, 49058, 62, 44899, 34444, 796, 37250, 42029, 1351, 3256, 705, 12985, 5509, 20520, 198, 198, 22921, 62, 4537, 8264, 62, 33489, 796, 1802, 198, 7206, 38865, 62, 4537, 8264, 62, 33489, 796, 838, 198, 198, 7206, 38865, 62, 46506, 62, 5603, 33, 62, 44724, 796, 1391, 198, 220, 220, 220, 705, 12947, 62, 4354, 10354, 705, 3256, 220, 1303, 6565, 4731, 1724, 25, 645, 2989, 198, 220, 220, 220, 705, 22872, 10354, 705, 439, 3256, 198, 220, 220, 220, 705, 21987, 62, 13376, 10354, 705, 439, 3256, 198, 220, 220, 220, 705, 21048, 62, 14171, 10354, 705, 42029, 1351, 3256, 198, 220, 220, 220, 705, 7700, 62, 7857, 10354, 838, 11, 198, 220, 220, 220, 705, 14421, 62, 7700, 10354, 352, 11, 198, 220, 220, 220, 1303, 477, 777, 3815, 389, 262, 4277, 611, 645, 8106, 468, 587, 5625, 198, 220, 220, 220, 1303, 290, 262, 2443, 318, 9639, 262, 717, 640, 198, 92, 198, 198, 11682, 1921, 11335, 10979, 62, 34694, 62, 10778, 62, 44603, 796, 705, 43561, 10027, 62, 2435, 6, 198, 198, 62, 6404, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 198, 42029, 62, 1177, 62, 525, 3411, 62, 35827, 796, 2446, 62, 12501, 273, 1352, 7, 198, 220, 220, 220, 7170, 62, 35827, 62, 273, 62, 31552, 10786, 37153, 13, 1177, 62, 42029, 3256, 19203, 37153, 13, 14214, 2550, 3256, 705, 79, 74, 3256, 705, 79, 74, 6, 4008, 198, 220, 220, 220, 1303, 23677, 284, 25, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 554, 1502, 284, 1895, 11, 257, 2176, 7170, 318, 2672, 13, 770, 7170, 198, 220, 220, 220, 1303, 318, 705, 1177, 62, 42029, 6, 329, 257, 2176, 4417, 13, 9022, 4417, 30, 770, 318, 10488, 198, 220, 220, 220, 1303, 422, 1570, 4578, 705, 79, 74, 6, 357, 1169, 938, 5002, 287, 46545, 828, 543, 318, 973, 284, 651, 257, 198, 220, 220, 220, 1303, 705, 37153, 13, 14214, 2550, 6, 4554, 357, 11085, 5002, 287, 46545, 8, 351, 2214, 705, 79, 74, 6, 351, 976, 1988, 355, 198, 220, 220, 220, 1303, 938, 5002, 287, 46545, 357, 1169, 1570, 4578, 705, 79, 74, 27691, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 1471, 287, 25038, 420, 1098, 25, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 220, 264, 796, 20321, 13, 48205, 13, 1136, 7, 79, 74, 28, 1177, 13, 46265, 22046, 17816, 79, 74, 6, 12962, 198, 220, 220, 220, 1303, 220, 6818, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 264, 8, 198, 8, 198, 198, 42029, 62, 19119, 62, 525, 3411, 62, 35827, 796, 2446, 62, 12501, 273, 1352, 7, 198, 220, 220, 220, 7170, 62, 35827, 62, 273, 62, 31552, 10786, 37153, 13, 3803, 62, 42029, 3256, 19203, 37153, 13, 14214, 2550, 3256, 705, 79, 74, 3256, 705, 79, 74, 6, 4008, 198, 8, 198, 198, 42029, 62, 33678, 62, 525, 3411, 62, 35827, 796, 2446, 62, 12501, 273, 1352, 7, 198, 220, 220, 220, 7170, 62, 35827, 62, 273, 62, 31552, 10786, 37153, 13, 33678, 62, 42029, 3256, 19203, 37153, 13, 14214, 2550, 3256, 705, 79, 74, 3256, 705, 79, 74, 6, 4008, 198, 8, 198, 198, 42029, 62, 20077, 62, 525, 3411, 62, 35827, 796, 2446, 62, 12501, 273, 1352, 7, 198, 220, 220, 220, 7170, 62, 35827, 62, 273, 62, 31552, 10786, 37153, 13, 20077, 62, 42029, 3256, 19203, 37153, 13, 14214, 2550, 3256, 705, 79, 74, 3256, 705, 79, 74, 6, 4008, 198, 8, 198, 198, 42029, 62, 12984, 1836, 62, 525, 3411, 62, 35827, 796, 2446, 62, 12501, 273, 1352, 7, 198, 220, 220, 220, 7170, 62, 35827, 62, 273, 62, 31552, 10786, 37153, 13, 12984, 1836, 62, 42029, 3256, 19203, 37153, 13, 14214, 2550, 3256, 705, 79, 74, 3256, 705, 79, 74, 6, 4008, 198, 8, 628, 628, 628, 198, 2, 198, 2, 8554, 257, 18731, 780, 356, 761, 19898, 16765, 198, 2, 198, 2, 1318, 389, 513, 5107, 11, 973, 287, 513, 4831, 357, 15, 11, 16, 11, 788, 362, 2599, 198, 2, 198, 2, 657, 25, 11046, 286, 262, 1353, 4867, 2393, 198, 2, 352, 25, 11236, 262, 1366, 2723, 11, 751, 15558, 3128, 290, 257, 6764, 198, 2, 362, 25, 4375, 3518, 2546, 290, 4991, 357, 1640, 1366, 543, 318, 407, 1695, 287, 262, 2393, 11, 329, 352, 35, 393, 362, 35, 8, 198, 2, 198, 2, 6674, 281, 5559, 561, 307, 284, 779, 25347, 25922, 3848, 355, 3417, 994, 357, 4625, 366, 18851, 1, 2599, 198, 2, 198, 2, 220, 3740, 1378, 19412, 39690, 929, 13, 785, 14, 14036, 14, 8601, 12, 14108, 12, 28241, 14208, 12, 11498, 17041, 12, 1228, 897, 12, 88, 198, 2, 628, 628, 198, 4299, 1353, 4867, 62, 29487, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 45819, 281, 11532, 39442, 351, 1353, 4867, 7110, 37811, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 493, 7, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1353, 78, 796, 5849, 4867, 13, 48205, 13, 1136, 7, 79, 74, 28, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 1353, 78, 13, 42029, 8, 198, 220, 220, 220, 2845, 357, 11395, 12331, 11, 5849, 4867, 13, 13921, 3673, 3109, 396, 11, 2195, 861, 295, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 220, 1303, 770, 815, 307, 3402, 4795, 286, 1771, 262, 4417, 7160, 628, 220, 220, 220, 8563, 796, 17635, 220, 1303, 1351, 286, 8633, 82, 351, 8251, 705, 20500, 6, 290, 705, 8726, 6, 198, 220, 220, 220, 4732, 796, 23884, 628, 220, 220, 220, 37515, 796, 10352, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7110, 796, 1353, 78, 13, 1136, 62, 29487, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 37515, 796, 6407, 198, 220, 220, 220, 2845, 8778, 9126, 4867, 16922, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11454, 62, 20500, 796, 366, 9126, 4867, 705, 90, 92, 6, 357, 312, 25, 23884, 8, 2314, 307, 9639, 25884, 526, 13, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1353, 78, 13, 3672, 11, 1353, 78, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 18224, 7, 8056, 62, 20500, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2792, 796, 6920, 1462, 62, 8726, 62, 1640, 62, 49914, 62, 272, 62, 18224, 7, 69, 1, 50015, 11046, 1353, 4867, 357, 312, 25, 1391, 4852, 78, 13, 312, 30072, 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, 220, 220, 220, 220, 220, 220, 366, 43328, 889, 15558, 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, 220, 220, 220, 220, 220, 220, 11454, 62, 20500, 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, 12854, 1891, 13, 18982, 62, 41194, 28955, 628, 220, 220, 220, 220, 220, 220, 220, 8563, 13, 33295, 7, 11600, 7, 20500, 28, 8056, 62, 20500, 11, 2792, 28, 8726, 4008, 198, 220, 220, 220, 2845, 28114, 9126, 4867, 16922, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11454, 62, 20500, 796, 366, 9126, 4867, 705, 90, 92, 6, 357, 312, 25, 23884, 8, 2314, 307, 37515, 526, 13, 18982, 7, 4852, 78, 13, 3672, 11, 1353, 78, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 18224, 7, 8056, 62, 20500, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2792, 796, 6920, 1462, 62, 8726, 62, 1640, 62, 49914, 62, 272, 62, 18224, 7, 69, 1, 50015, 29353, 15558, 357, 312, 25, 1391, 4852, 78, 13, 312, 30072, 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, 220, 220, 220, 220, 220, 220, 366, 43328, 889, 15558, 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, 220, 220, 220, 220, 220, 220, 11454, 62, 20500, 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, 12854, 1891, 13, 18982, 62, 41194, 28955, 628, 220, 220, 220, 220, 220, 220, 220, 8563, 13, 33295, 7, 11600, 7, 20500, 28, 8056, 62, 20500, 11, 2792, 28, 8726, 4008, 628, 220, 220, 220, 611, 37515, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4226, 11, 2659, 796, 6805, 7, 29487, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4732, 17816, 9060, 62, 29487, 62, 12048, 20520, 796, 4226, 198, 220, 220, 220, 220, 220, 220, 220, 4732, 17816, 9060, 62, 29487, 62, 7146, 20520, 796, 2659, 628, 220, 220, 220, 4732, 17816, 48277, 20520, 796, 8563, 628, 220, 220, 220, 1441, 8543, 7, 25927, 11, 705, 37153, 14, 4852, 4867, 62, 29487, 13, 6494, 3256, 4732, 28, 22866, 8, 628, 628, 628, 628, 628, 628, 628, 628, 198, 4299, 4321, 62, 42029, 7, 25927, 11, 4417, 62, 312, 2599, 198, 220, 220, 220, 37227, 35561, 257, 2393, 19869, 422, 1353, 41480, 7763, 287, 257, 4417, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 198, 220, 220, 220, 1058, 17143, 4417, 62, 312, 25, 4417, 4686, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 6822, 6224, 290, 21627, 329, 1813, 4417, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4417, 796, 20321, 13, 48205, 13, 1136, 7, 312, 28, 42029, 62, 312, 8, 198, 220, 220, 220, 2845, 20321, 13, 13921, 3673, 3109, 396, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 628, 220, 220, 220, 611, 407, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 4417, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 628, 220, 220, 220, 2695, 62, 7890, 796, 6045, 628, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 1002, 262, 4417, 468, 587, 3199, 11, 612, 1244, 307, 257, 9290, 2393, 1541, 13, 198, 220, 220, 220, 1303, 1002, 3763, 25, 198, 220, 220, 220, 1303, 220, 220, 1148, 612, 1541, 257, 9290, 30, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 3244, 340, 2427, 286, 4441, 257, 649, 9290, 13, 6738, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1002, 645, 11, 3613, 262, 9290, 287, 262, 9207, 1568, 13, 198, 220, 220, 220, 1303, 1002, 645, 25, 2251, 257, 9290, 329, 428, 4417, 319, 262, 6129, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 6931, 62, 11377, 341, 62, 34924, 796, 10352, 198, 220, 220, 220, 611, 4417, 13, 271, 62, 30271, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2240, 796, 4417, 13, 11377, 341, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 645, 1040, 14978, 9485, 30507, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2240, 13, 34924, 13, 9654, 3419, 355, 30218, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2695, 62, 7890, 796, 30218, 13, 961, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 24442, 7, 69, 1, 5569, 9290, 329, 3199, 4417, 1391, 12984, 13, 19509, 62, 6371, 92, 422, 6143, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 25, 220, 1303, 407, 4609, 994, 11, 1521, 340, 10143, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6931, 62, 11377, 341, 62, 34924, 796, 6407, 628, 220, 220, 220, 611, 2695, 62, 7890, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9290, 62, 33661, 796, 2750, 4879, 9399, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 10951, 7, 69, 1, 37534, 1723, 9290, 286, 4417, 4686, 34758, 42029, 62, 312, 92, 329, 4321, 492, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 3551, 62, 42029, 62, 34924, 7, 34924, 62, 33661, 11, 685, 42029, 4357, 2581, 28, 25927, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2695, 62, 7890, 796, 9290, 62, 33661, 13, 1136, 8367, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 6931, 62, 11377, 341, 62, 34924, 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, 9290, 62, 33661, 13, 36163, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 10951, 7, 69, 1, 50, 2703, 9290, 329, 9207, 351, 10289, 1391, 12984, 13, 19509, 62, 6371, 92, 284, 6143, 329, 1568, 492, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2240, 13, 34924, 13, 21928, 7, 12984, 13, 34924, 62, 35350, 62, 6978, 11, 9290, 62, 33661, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 2640, 12331, 11, 1086, 8629, 9399, 12331, 8, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 18224, 7, 69, 1, 34, 34574, 3613, 9290, 329, 9207, 1391, 12984, 13, 19509, 62, 6371, 92, 284, 6143, 13, 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, 277, 1, 45008, 25, 1391, 41194, 92, 4943, 628, 220, 220, 220, 1303, 43426, 2882, 2134, 13, 198, 220, 220, 220, 2882, 796, 367, 29281, 31077, 7, 11299, 62, 7890, 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, 2695, 62, 4906, 11639, 31438, 14, 87, 12, 13344, 12, 5589, 2790, 11537, 198, 220, 220, 220, 2882, 17816, 19746, 12, 7279, 9150, 20520, 796, 705, 1078, 15520, 26, 29472, 2625, 90, 36786, 4458, 18982, 10786, 42029, 13, 13344, 11537, 628, 220, 220, 220, 2620, 62, 14269, 3969, 62, 1525, 62, 4475, 62, 392, 62, 15252, 7, 9171, 1173, 13, 48205, 13, 50, 4261, 49836, 62, 41925, 35613, 62, 34, 28270, 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, 2278, 28, 5990, 2101, 13, 26442, 11, 26181, 28, 42029, 8, 628, 220, 220, 220, 1441, 2882, 628, 198, 4299, 4321, 62, 49283, 62, 292, 62, 11793, 32186, 7, 25927, 2599, 198, 220, 220, 220, 37227, 35561, 257, 2393, 19869, 422, 16649, 3519, 284, 262, 6356, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 1459, 2581, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 422, 764, 26791, 1330, 1459, 62, 49283, 62, 292, 62, 42029, 62, 4868, 198, 220, 220, 220, 16649, 796, 1459, 62, 49283, 62, 292, 62, 42029, 62, 4868, 7, 25927, 8, 628, 220, 220, 220, 9290, 62, 33661, 796, 2750, 4879, 9399, 3419, 198, 220, 220, 220, 3551, 62, 42029, 62, 34924, 7, 34924, 62, 33661, 11, 16649, 11, 2581, 28, 25927, 8, 628, 220, 220, 220, 1303, 43426, 2882, 2134, 13, 198, 220, 220, 220, 2882, 796, 367, 29281, 31077, 7, 34924, 62, 33661, 13, 1136, 8367, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2695, 62, 4906, 11639, 31438, 14, 87, 12, 13344, 12, 5589, 2790, 11537, 198, 220, 220, 220, 2882, 17816, 19746, 12, 7279, 9150, 20520, 796, 705, 1078, 15520, 26, 29472, 2625, 90, 36786, 4458, 18982, 10786, 42029, 13, 13344, 11537, 628, 220, 220, 220, 1303, 2620, 4321, 954, 329, 1123, 4417, 198, 220, 220, 220, 329, 9053, 287, 16649, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2620, 62, 14269, 3969, 62, 1525, 62, 4475, 62, 392, 62, 15252, 7, 9171, 1173, 13, 48205, 13, 50, 4261, 49836, 62, 41925, 35613, 62, 34, 28270, 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, 2278, 28, 5990, 2101, 13, 26442, 11, 26181, 28, 11793, 69, 8, 628, 220, 220, 220, 1441, 2882, 628, 198, 29113, 29113, 14468, 4242, 21017, 198, 2, 29978, 329, 30617, 7071, 198, 29113, 29113, 14468, 4242, 21017, 628, 198, 4871, 17467, 27660, 7680, 7, 8053, 2969, 3824, 769, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2980, 378, 5509, 286, 15940, 351, 16649, 290, 1353, 41480, 14638, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 11389, 7509, 62, 4871, 796, 17467, 32634, 7509, 198, 220, 220, 220, 42208, 1883, 62, 4871, 796, 20321, 18243, 47, 363, 20900, 628, 198, 4871, 20321, 8053, 7680, 7, 8053, 2969, 3824, 769, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7343, 477, 16649, 351, 1353, 41480, 14638, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 11389, 7509, 62, 4871, 796, 20321, 32634, 7509, 198, 220, 220, 220, 42208, 1883, 62, 4871, 796, 20321, 18243, 47, 363, 20900, 628, 628, 628, 198, 4299, 900, 62, 42029, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 2922, 62, 13376, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 4417, 355, 705, 34213, 6, 287, 6246, 393, 8794, 428, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2922, 62, 13376, 25, 6407, 611, 4417, 815, 307, 6163, 11, 10352, 611, 340, 815, 307, 555, 34213, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 220, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 493, 7, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4417, 796, 20321, 13, 48205, 13, 1136, 7, 79, 74, 28, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 4417, 8, 198, 220, 220, 220, 2845, 357, 11395, 12331, 11, 20321, 13, 13921, 3673, 3109, 396, 11, 2195, 861, 295, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 220, 1303, 770, 815, 307, 3402, 4795, 286, 1771, 262, 4417, 7160, 628, 220, 220, 220, 4417, 62, 2539, 796, 4808, 42029, 62, 2539, 7, 79, 74, 8, 198, 220, 220, 220, 6356, 796, 4808, 49283, 62, 2617, 7, 25927, 8, 198, 220, 220, 220, 318, 62, 34213, 796, 4417, 62, 2539, 287, 6356, 628, 220, 220, 220, 611, 2581, 13, 24396, 6624, 705, 32782, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2922, 62, 13376, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4417, 815, 307, 6163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 2860, 7, 42029, 62, 2539, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 62, 34213, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 28956, 7, 42029, 62, 2539, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2581, 13, 29891, 17816, 49283, 20520, 796, 1351, 7, 49283, 8, 628, 220, 220, 220, 1366, 796, 1459, 62, 49283, 62, 292, 62, 65, 11715, 62, 23814, 7, 25927, 8, 198, 220, 220, 220, 1441, 18261, 7, 7890, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 2922, 62, 42029, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 4417, 355, 705, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 42029, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 6407, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 555, 19738, 62, 42029, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 4417, 355, 705, 403, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 42029, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 10352, 8, 628, 198, 4299, 900, 62, 4852, 4867, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 2922, 62, 13376, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 1353, 4867, 355, 705, 34213, 6, 393, 705, 403, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 1058, 17143, 2922, 62, 13376, 25, 6407, 393, 10352, 11, 6407, 1724, 366, 4102, 355, 6163, 1600, 10352, 1724, 366, 4102, 355, 555, 34213, 1, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 493, 7, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1353, 78, 796, 5849, 4867, 13, 48205, 13, 1136, 7, 79, 74, 28, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 1353, 78, 13, 42029, 8, 198, 220, 220, 220, 2845, 357, 11395, 12331, 11, 5849, 4867, 13, 13921, 3673, 3109, 396, 11, 2195, 861, 295, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 220, 1303, 770, 815, 307, 3402, 4795, 286, 1771, 262, 4417, 7160, 628, 220, 220, 220, 1353, 4867, 62, 2539, 796, 4808, 4852, 4867, 62, 2539, 7, 79, 74, 8, 198, 220, 220, 220, 6356, 796, 4808, 49283, 62, 2617, 7, 25927, 8, 198, 220, 220, 220, 318, 62, 34213, 796, 1353, 4867, 62, 2539, 287, 6356, 628, 220, 220, 220, 611, 2581, 13, 24396, 6624, 705, 32782, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2922, 62, 13376, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1353, 4867, 815, 307, 6163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 2860, 7, 4852, 4867, 62, 2539, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 62, 34213, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 28956, 7, 4852, 4867, 62, 2539, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2581, 13, 29891, 17816, 49283, 20520, 796, 1351, 7, 49283, 8, 628, 220, 220, 220, 1366, 796, 1459, 62, 49283, 62, 292, 62, 65, 11715, 62, 23814, 7, 25927, 8, 198, 220, 220, 220, 1441, 18261, 7, 7890, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 2922, 62, 4852, 4867, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 1353, 4867, 355, 705, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 4852, 4867, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 6407, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 555, 19738, 62, 4852, 4867, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 1353, 4867, 355, 705, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 4417, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 4852, 4867, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 10352, 8, 628, 198, 4299, 900, 62, 12985, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 2922, 62, 13376, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 7621, 355, 705, 34213, 6, 287, 6246, 393, 8794, 428, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 7621, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2922, 62, 13376, 25, 6407, 611, 7621, 815, 307, 6163, 11, 10352, 611, 340, 815, 307, 555, 34213, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 220, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 493, 7, 79, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7621, 796, 17467, 17633, 13, 48205, 13, 1136, 7, 79, 74, 28, 79, 74, 8, 198, 220, 220, 220, 2845, 11052, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 628, 220, 220, 220, 611, 407, 7621, 287, 15940, 62, 1640, 62, 7220, 7, 25927, 13, 7220, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 628, 220, 220, 220, 7621, 62, 2539, 796, 4808, 12985, 62, 2539, 7, 79, 74, 8, 198, 220, 220, 220, 6356, 796, 4808, 49283, 62, 2617, 7, 25927, 8, 198, 220, 220, 220, 318, 62, 34213, 796, 7621, 62, 2539, 287, 6356, 628, 220, 220, 220, 611, 2581, 13, 24396, 6624, 705, 32782, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2922, 62, 13376, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7621, 815, 307, 6163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 2860, 7, 12985, 62, 2539, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 62, 34213, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6356, 13, 28956, 7, 12985, 62, 2539, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2581, 13, 29891, 17816, 49283, 20520, 796, 1351, 7, 49283, 8, 628, 220, 220, 220, 1366, 796, 1459, 62, 49283, 62, 292, 62, 65, 11715, 62, 23814, 7, 25927, 8, 198, 220, 220, 220, 1441, 18261, 7, 7890, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 2922, 62, 12985, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 7621, 355, 705, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 7621, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 12985, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 6407, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 555, 19738, 62, 12985, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 44, 5558, 262, 1813, 7621, 355, 705, 403, 34213, 6, 287, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 17143, 279, 74, 25, 4165, 1994, 286, 262, 7621, 198, 220, 220, 220, 1058, 7783, 25, 19449, 18261, 628, 220, 220, 220, 383, 2882, 5860, 262, 1459, 6356, 355, 11080, 329, 262, 7988, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 900, 62, 12985, 62, 19738, 62, 13376, 7, 25927, 11, 279, 74, 11, 10352, 8, 628, 198, 31, 15042, 62, 1177, 7, 17816, 32782, 6, 12962, 198, 4299, 555, 19738, 62, 439, 7, 25927, 2599, 198, 220, 220, 220, 37227, 8413, 5241, 477, 28224, 422, 6246, 13, 628, 220, 220, 220, 1058, 17143, 2581, 25, 2581, 198, 220, 220, 220, 1058, 7783, 25, 6565, 1351, 355, 19449, 18261, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2581, 13, 29891, 17816, 49283, 20520, 796, 17635, 198, 220, 220, 220, 1441, 18261, 26933, 12962, 628, 198, 4299, 40901, 7, 25927, 11, 279, 74, 2599, 198, 220, 220, 220, 37227, 35561, 2939, 1366, 329, 257, 1353, 4867, 15683, 603, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 2581, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 11532, 18261, 351, 2939, 1366, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 74, 796, 493, 7, 79, 74, 8, 198, 220, 220, 220, 2845, 11052, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 367, 29281, 26429, 3419, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1353, 78, 796, 5849, 4867, 13, 48205, 13, 1136, 7, 79, 74, 28, 79, 74, 8, 198, 220, 220, 220, 2845, 5849, 4867, 13, 13921, 3673, 3109, 396, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 367, 29281, 26429, 3419, 628, 220, 220, 220, 611, 407, 2581, 13, 7220, 13, 10134, 62, 16321, 10786, 1177, 62, 42029, 3256, 1353, 78, 13, 42029, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2448, 3411, 21306, 798, 3419, 628, 220, 220, 220, 1303, 8788, 11, 356, 423, 257, 4938, 1353, 4867, 290, 262, 2836, 318, 3142, 284, 766, 340, 628, 220, 220, 220, 2939, 796, 1353, 78, 13, 400, 20566, 198, 220, 220, 220, 2882, 796, 367, 29281, 31077, 7, 11299, 62, 4906, 2625, 9060, 14, 11134, 4943, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13564, 7, 9060, 13, 7753, 13, 961, 28955, 198, 220, 220, 220, 2845, 35528, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 6404, 13, 43917, 7203, 34, 34574, 3440, 40901, 329, 1353, 4867, 4064, 67, 13, 23219, 25, 4064, 82, 1600, 1353, 78, 13, 312, 11, 2859, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1441, 617, 4277, 2939, 523, 262, 5456, 3011, 336, 71, 287, 597, 1339, 198, 220, 220, 220, 220, 220, 220, 220, 351, 9037, 16624, 62, 35350, 13, 9654, 10786, 17566, 14, 400, 20566, 62, 403, 15182, 13, 11134, 3256, 4235, 11639, 26145, 11537, 355, 33705, 62, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2882, 13, 13564, 7, 9600, 62, 7753, 13, 961, 28955, 628, 220, 220, 220, 1441, 2882, 198 ]
2.776907
6,634
#!/usr/bin/env python3 from gabriel_server.network_engine import server_runner import logging import argparse import importlib DEFAULT_PORT = 9099 DEFAULT_NUM_TOKENS = 2 INPUT_QUEUE_MAXSIZE = 60 logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 6738, 308, 397, 11719, 62, 15388, 13, 27349, 62, 18392, 1330, 4382, 62, 16737, 198, 11748, 18931, 198, 11748, 1822, 29572, 198, 11748, 1330, 8019, 198, 198, 7206, 38865, 62, 15490, 796, 4101, 2079, 198, 7206, 38865, 62, 41359, 62, 10468, 42, 16938, 796, 362, 198, 1268, 30076, 62, 48, 8924, 8924, 62, 22921, 33489, 796, 3126, 198, 198, 6404, 2667, 13, 35487, 16934, 7, 5715, 28, 6404, 2667, 13, 10778, 8, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
2.700855
117
from acondbs.db.sa import sa from acondbs.models import ProductRelationType ##__________________________________________________________________|| ##__________________________________________________________________||
[ 6738, 936, 623, 1443, 13, 9945, 13, 11400, 1330, 473, 198, 6738, 936, 623, 1443, 13, 27530, 1330, 8721, 6892, 341, 6030, 628, 198, 2235, 27193, 834, 15886, 628, 198, 2235, 27193, 834, 15886, 198 ]
6.342857
35
# -*- coding: utf-8 -*- from gitlint.rules import LineRule, RuleViolation, CommitMessageTitle from gitlint.options import ListOption """ Full details on user-defined rules: https://jorisroovers.com/gitlint/user_defined_rules The SpecialChars class below is an example of a user-defined LineRule. Line rules are gitlint rules that only act on a single line at once. Once the rule is discovered, gitlint will automatically take care of applying this rule against each line of the commit message title or body (whether it is applied to the title or body is determined by the `target` attribute of the class). A LineRule contrasts with a CommitRule (see examples/my_commit_rules.py) in that a commit rule is only applied once on an entire commit. This allows commit rules to implement more complex checks that span multiple lines and/or checks that should only be done once per gitlint run. While every LineRule can be implemented as a CommitRule, it's usually easier and more concise to go with a LineRule if that fits your needs. """ class SpecialChars(LineRule): """ This rule will enforce that the commit message title does not contain any of the following characters: $^%@!*() """ # A rule MUST have a human friendly name name = "title-no-special-chars" # A rule MUST have a *unique* id, we recommend starting with UL (for User-defined Line-rule), but this can # really be anything. id = "UL1" # A line-rule MUST have a target (not required for CommitRules). target = CommitMessageTitle # A rule MAY have an option_spec if its behavior should be configurable. options_spec = [ListOption('special-chars', ['$', '^', '%', '@', '!', '*', '(', ')'], "Comma separated list of characters that should not occur in the title")]
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 17606, 75, 600, 13, 38785, 1330, 6910, 31929, 11, 14330, 33894, 341, 11, 35910, 12837, 19160, 198, 6738, 17606, 75, 600, 13, 25811, 1330, 7343, 19722, 198, 198, 37811, 198, 13295, 3307, 319, 2836, 12, 23211, 3173, 25, 3740, 1378, 73, 37279, 305, 13801, 13, 785, 14, 18300, 75, 600, 14, 7220, 62, 23211, 62, 38785, 198, 198, 464, 6093, 1925, 945, 1398, 2174, 318, 281, 1672, 286, 257, 2836, 12, 23211, 6910, 31929, 13, 6910, 3173, 389, 17606, 75, 600, 3173, 326, 691, 719, 319, 257, 198, 29762, 1627, 379, 1752, 13, 4874, 262, 3896, 318, 5071, 11, 17606, 75, 600, 481, 6338, 1011, 1337, 286, 11524, 428, 3896, 198, 32826, 1123, 1627, 286, 262, 4589, 3275, 3670, 393, 1767, 357, 25356, 340, 318, 5625, 284, 262, 3670, 393, 1767, 318, 5295, 416, 262, 198, 63, 16793, 63, 11688, 286, 262, 1398, 737, 198, 198, 32, 6910, 31929, 39469, 351, 257, 35910, 31929, 357, 3826, 6096, 14, 1820, 62, 41509, 62, 38785, 13, 9078, 8, 287, 326, 257, 4589, 3896, 318, 691, 5625, 1752, 319, 198, 272, 2104, 4589, 13, 770, 3578, 4589, 3173, 284, 3494, 517, 3716, 8794, 326, 11506, 3294, 3951, 290, 14, 273, 8794, 198, 5562, 815, 691, 307, 1760, 1752, 583, 17606, 75, 600, 1057, 13, 198, 198, 3633, 790, 6910, 31929, 460, 307, 9177, 355, 257, 35910, 31929, 11, 340, 338, 3221, 4577, 290, 517, 35327, 284, 467, 351, 257, 6910, 31929, 611, 198, 5562, 11414, 534, 2476, 13, 198, 37811, 628, 198, 4871, 6093, 1925, 945, 7, 13949, 31929, 2599, 198, 220, 220, 220, 37227, 770, 3896, 481, 4605, 326, 262, 4589, 3275, 3670, 857, 407, 3994, 597, 286, 262, 1708, 3435, 25, 198, 220, 220, 220, 220, 220, 220, 220, 720, 61, 4, 31, 0, 9, 3419, 37227, 628, 220, 220, 220, 1303, 317, 3896, 17191, 423, 257, 1692, 8030, 1438, 198, 220, 220, 220, 1438, 796, 366, 7839, 12, 3919, 12, 20887, 12, 354, 945, 1, 628, 220, 220, 220, 1303, 317, 3896, 17191, 423, 257, 1635, 34642, 9, 4686, 11, 356, 4313, 3599, 351, 44475, 357, 1640, 11787, 12, 23211, 6910, 12, 25135, 828, 475, 428, 460, 198, 220, 220, 220, 1303, 1107, 307, 1997, 13, 198, 220, 220, 220, 4686, 796, 366, 6239, 16, 1, 628, 220, 220, 220, 1303, 317, 1627, 12, 25135, 17191, 423, 257, 2496, 357, 1662, 2672, 329, 35910, 37766, 737, 198, 220, 220, 220, 2496, 796, 35910, 12837, 19160, 628, 220, 220, 220, 1303, 317, 3896, 26720, 423, 281, 3038, 62, 16684, 611, 663, 4069, 815, 307, 4566, 11970, 13, 198, 220, 220, 220, 3689, 62, 16684, 796, 685, 8053, 19722, 10786, 20887, 12, 354, 945, 3256, 37250, 3, 3256, 705, 61, 3256, 705, 4, 3256, 705, 31, 3256, 705, 0, 3256, 705, 9, 3256, 29513, 3256, 705, 33047, 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, 366, 6935, 64, 11266, 1351, 286, 3435, 326, 815, 407, 3051, 287, 262, 3670, 4943, 60, 198 ]
3.416981
530
import ctre from wpilib import SmartDashboard as Dash from wpilib.command import Subsystem from constants import Constants from utils import singleton, units, lazytalonsrx, pidf class BackArm(Subsystem, metaclass=singleton.Singleton): """The back arm subsystem controls the back arm motors and encoders.""" def init(self): """Initialize the back arm motors. This is not in the constructor to make the calling explicit in the robotInit to the robot simulator.""" self.s_motor = lazytalonsrx.LazyTalonSRX(Constants.BS_MOTOR_ID) self.m_motor = lazytalonsrx.LazyTalonSRX(Constants.BM_MOTOR_ID) self.s_motor.initialize( inverted=True, encoder=True, phase=False, name="Back Arm Slave") self.m_motor.initialize( inverted=False, encoder=True, phase=False, name="Back Arm Master") self.s_motor.follow(self.m_motor) self.initPIDF() def initPIDF(self): """Initialize the arm motor pidf gains.""" self.m_motor.setMotionMagicConfig( Constants.BACK_ARM_CRUISE_VELOCITY * (192) * (10/360), Constants.BACK_ARM_ACCELERATION * (192) * (10/360)) self.m_motor.setPIDF(0, Constants.BACK_ARM_KP, Constants.BACK_ARM_KI, Constants.BACK_ARM_KD, Constants.BACK_ARM_KF) def zeroSensors(self): """Set the encoder positions to 0.""" self.m_motor.zero() def getAngle(self): """Get the angle of the arm in degrees.""" return self.m_motor.getPosition() / (192) / (10/360) def setAngle(self, angle): """Set the angle of the arm in degrees.""" ticks = angle * (192) * (10/360) self.m_motor.setMotionMagicSetpoint(ticks)
[ 11748, 269, 33945, 198, 6738, 266, 79, 22282, 1330, 10880, 43041, 3526, 355, 16189, 198, 6738, 266, 79, 22282, 13, 21812, 1330, 3834, 10057, 198, 198, 6738, 38491, 1330, 4757, 1187, 198, 6738, 3384, 4487, 1330, 2060, 1122, 11, 4991, 11, 16931, 39240, 684, 40914, 11, 46514, 69, 628, 198, 4871, 5157, 26560, 7, 7004, 10057, 11, 1138, 330, 31172, 28, 12215, 10565, 13, 29974, 10565, 2599, 198, 220, 220, 220, 37227, 464, 736, 3211, 39335, 6973, 262, 736, 3211, 24699, 290, 2207, 375, 364, 526, 15931, 628, 220, 220, 220, 825, 2315, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 24243, 1096, 262, 736, 3211, 24699, 13, 770, 318, 407, 287, 262, 23772, 284, 787, 262, 4585, 7952, 287, 262, 9379, 31768, 284, 262, 9379, 35375, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 82, 62, 76, 20965, 796, 16931, 39240, 684, 40914, 13, 43, 12582, 31466, 261, 12562, 55, 7, 34184, 1187, 13, 4462, 62, 44, 2394, 1581, 62, 2389, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 796, 16931, 39240, 684, 40914, 13, 43, 12582, 31466, 261, 12562, 55, 7, 34184, 1187, 13, 12261, 62, 44, 2394, 1581, 62, 2389, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 82, 62, 76, 20965, 13, 36733, 1096, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37204, 28, 17821, 11, 2207, 12342, 28, 17821, 11, 7108, 28, 25101, 11, 1438, 2625, 7282, 7057, 38795, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 13, 36733, 1096, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37204, 28, 25101, 11, 2207, 12342, 28, 17821, 11, 7108, 28, 25101, 11, 1438, 2625, 7282, 7057, 5599, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 82, 62, 76, 20965, 13, 27780, 7, 944, 13, 76, 62, 76, 20965, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15003, 47, 2389, 37, 3419, 628, 220, 220, 220, 825, 2315, 47, 2389, 37, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 24243, 1096, 262, 3211, 5584, 46514, 69, 8810, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 13, 2617, 45740, 22975, 16934, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4757, 1187, 13, 31098, 62, 33456, 62, 9419, 52, 24352, 62, 18697, 4503, 9050, 1635, 357, 17477, 8, 1635, 357, 940, 14, 15277, 828, 4757, 1187, 13, 31098, 62, 33456, 62, 26861, 3698, 1137, 6234, 1635, 357, 17477, 8, 1635, 357, 940, 14, 15277, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 13, 2617, 47, 2389, 37, 7, 15, 11, 4757, 1187, 13, 31098, 62, 33456, 62, 42, 47, 11, 4757, 1187, 13, 31098, 62, 33456, 62, 37845, 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, 4757, 1187, 13, 31098, 62, 33456, 62, 42, 35, 11, 4757, 1187, 13, 31098, 62, 33456, 62, 42, 37, 8, 628, 220, 220, 220, 825, 6632, 50, 641, 669, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 2207, 12342, 6116, 284, 657, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 13, 22570, 3419, 628, 220, 220, 220, 825, 651, 13450, 293, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3855, 262, 9848, 286, 262, 3211, 287, 7370, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 76, 62, 76, 20965, 13, 1136, 26545, 3419, 1220, 357, 17477, 8, 1220, 357, 940, 14, 15277, 8, 628, 220, 220, 220, 825, 900, 13450, 293, 7, 944, 11, 9848, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 9848, 286, 262, 3211, 287, 7370, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 36066, 796, 9848, 1635, 357, 17477, 8, 1635, 357, 940, 14, 15277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 62, 76, 20965, 13, 2617, 45740, 22975, 7248, 4122, 7, 83, 3378, 8, 198 ]
2.361264
728
import re import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.checkpoint as cp from collections import OrderedDict import torch.utils.model_zoo as model_zoo __all__ = ['DenseNet', 'densenet50', 'densenet121', 'densenet169', 'densenet201', 'densenet161'] model_urls = { 'densenet121': 'https://download.pytorch.org/models/densenet121-a639ec97.pth', 'densenet169': 'https://download.pytorch.org/models/densenet169-b2777c0a.pth', 'densenet201': 'https://download.pytorch.org/models/densenet201-c1103571.pth', 'densenet161': 'https://download.pytorch.org/models/densenet161-8d451a50.pth', } class DenseNet(nn.Module): r"""Densenet-BC model class, based on `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: growth_rate (int) - how many filters to add each layer (`k` in paper) block_config (list of 4 ints) - how many layers in each pooling block num_init_features (int) - the number of filters to learn in the first convolution layer bn_size (int) - multiplicative factor for number of bottle neck layers (i.e. bn_size * k features in the bottleneck layer) drop_rate (float) - dropout rate after each dense layer num_classes (int) - number of classification classes memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ def densenet50(pretrained=False, progress=True, **kwargs): r"""Densenet-121 model from `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ return _densenet('densenet50', 32, (6, 12, 24, 16), 64, pretrained, progress, **kwargs) def densenet121(pretrained=False, progress=True, **kwargs): r"""Densenet-121 model from `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ return _densenet('densenet121', 32, (6, 12, 24, 16), 64, pretrained, progress, **kwargs) def densenet161(pretrained=False, progress=True, **kwargs): r"""Densenet-161 model from `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ return _densenet('densenet161', 48, (6, 12, 36, 24), 96, pretrained, progress, **kwargs) def densenet169(pretrained=False, progress=True, **kwargs): r"""Densenet-169 model from `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ return _densenet('densenet169', 32, (6, 12, 32, 32), 64, pretrained, progress, **kwargs) def densenet201(pretrained=False, progress=True, **kwargs): r"""Densenet-201 model from `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_ Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr memory_efficient (bool) - If True, uses checkpointing. Much more memory efficient, but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_ """ return _densenet('densenet201', 32, (6, 12, 48, 32), 64, pretrained, progress, **kwargs)
[ 11748, 302, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 11748, 28034, 13, 26791, 13, 9122, 4122, 355, 31396, 198, 6738, 17268, 1330, 14230, 1068, 35, 713, 198, 11748, 28034, 13, 26791, 13, 19849, 62, 89, 2238, 355, 2746, 62, 89, 2238, 628, 198, 834, 439, 834, 796, 37250, 35, 1072, 7934, 3256, 705, 67, 18756, 316, 1120, 3256, 705, 67, 18756, 316, 19244, 3256, 705, 67, 18756, 316, 22172, 3256, 705, 67, 18756, 316, 1264, 3256, 705, 67, 18756, 316, 25948, 20520, 198, 198, 19849, 62, 6371, 82, 796, 1391, 198, 220, 220, 220, 705, 67, 18756, 316, 19244, 10354, 705, 5450, 1378, 15002, 13, 9078, 13165, 354, 13, 2398, 14, 27530, 14, 67, 18756, 316, 19244, 12, 64, 21, 2670, 721, 5607, 13, 79, 400, 3256, 198, 220, 220, 220, 705, 67, 18756, 316, 22172, 10354, 705, 5450, 1378, 15002, 13, 9078, 13165, 354, 13, 2398, 14, 27530, 14, 67, 18756, 316, 22172, 12, 65, 1983, 3324, 66, 15, 64, 13, 79, 400, 3256, 198, 220, 220, 220, 705, 67, 18756, 316, 1264, 10354, 705, 5450, 1378, 15002, 13, 9078, 13165, 354, 13, 2398, 14, 27530, 14, 67, 18756, 316, 1264, 12, 66, 11442, 2327, 4869, 13, 79, 400, 3256, 198, 220, 220, 220, 705, 67, 18756, 316, 25948, 10354, 705, 5450, 1378, 15002, 13, 9078, 13165, 354, 13, 2398, 14, 27530, 14, 67, 18756, 316, 25948, 12, 23, 67, 36330, 64, 1120, 13, 79, 400, 3256, 198, 92, 628, 628, 628, 628, 198, 4871, 360, 1072, 7934, 7, 20471, 13, 26796, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 2749, 2746, 1398, 11, 1912, 319, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3349, 62, 4873, 357, 600, 8, 532, 703, 867, 16628, 284, 751, 1123, 7679, 357, 63, 74, 63, 287, 3348, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 62, 11250, 357, 4868, 286, 604, 493, 82, 8, 532, 703, 867, 11685, 287, 1123, 5933, 278, 2512, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 15003, 62, 40890, 357, 600, 8, 532, 262, 1271, 286, 16628, 284, 2193, 287, 262, 717, 3063, 2122, 7679, 198, 220, 220, 220, 220, 220, 220, 220, 275, 77, 62, 7857, 357, 600, 8, 532, 15082, 43058, 5766, 329, 1271, 286, 9294, 7393, 11685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 72, 13, 68, 13, 275, 77, 62, 7857, 1635, 479, 3033, 287, 262, 49936, 7679, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4268, 62, 4873, 357, 22468, 8, 532, 4268, 448, 2494, 706, 1123, 15715, 7679, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 37724, 357, 600, 8, 532, 1271, 286, 17923, 6097, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 628, 198, 4299, 288, 18756, 316, 1120, 7, 5310, 13363, 28, 25101, 11, 4371, 28, 17821, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 19244, 2746, 422, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 357, 30388, 2599, 1002, 6407, 11, 5860, 257, 2746, 662, 12, 35311, 319, 7412, 7934, 198, 220, 220, 220, 220, 220, 220, 220, 4371, 357, 30388, 2599, 1002, 6407, 11, 11298, 257, 4371, 2318, 286, 262, 4321, 284, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 67, 18756, 316, 10786, 67, 18756, 316, 1120, 3256, 3933, 11, 357, 21, 11, 1105, 11, 1987, 11, 1467, 828, 5598, 11, 2181, 13363, 11, 4371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 8, 628, 198, 4299, 288, 18756, 316, 19244, 7, 5310, 13363, 28, 25101, 11, 4371, 28, 17821, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 19244, 2746, 422, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 357, 30388, 2599, 1002, 6407, 11, 5860, 257, 2746, 662, 12, 35311, 319, 7412, 7934, 198, 220, 220, 220, 220, 220, 220, 220, 4371, 357, 30388, 2599, 1002, 6407, 11, 11298, 257, 4371, 2318, 286, 262, 4321, 284, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 67, 18756, 316, 10786, 67, 18756, 316, 19244, 3256, 3933, 11, 357, 21, 11, 1105, 11, 1987, 11, 1467, 828, 5598, 11, 2181, 13363, 11, 4371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 8, 628, 198, 4299, 288, 18756, 316, 25948, 7, 5310, 13363, 28, 25101, 11, 4371, 28, 17821, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 25948, 2746, 422, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 357, 30388, 2599, 1002, 6407, 11, 5860, 257, 2746, 662, 12, 35311, 319, 7412, 7934, 198, 220, 220, 220, 220, 220, 220, 220, 4371, 357, 30388, 2599, 1002, 6407, 11, 11298, 257, 4371, 2318, 286, 262, 4321, 284, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 67, 18756, 316, 10786, 67, 18756, 316, 25948, 3256, 4764, 11, 357, 21, 11, 1105, 11, 4570, 11, 1987, 828, 9907, 11, 2181, 13363, 11, 4371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 8, 628, 198, 4299, 288, 18756, 316, 22172, 7, 5310, 13363, 28, 25101, 11, 4371, 28, 17821, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 22172, 2746, 422, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 357, 30388, 2599, 1002, 6407, 11, 5860, 257, 2746, 662, 12, 35311, 319, 7412, 7934, 198, 220, 220, 220, 220, 220, 220, 220, 4371, 357, 30388, 2599, 1002, 6407, 11, 11298, 257, 4371, 2318, 286, 262, 4321, 284, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 67, 18756, 316, 10786, 67, 18756, 316, 22172, 3256, 3933, 11, 357, 21, 11, 1105, 11, 3933, 11, 3933, 828, 5598, 11, 2181, 13363, 11, 4371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 8, 628, 198, 4299, 288, 18756, 316, 1264, 7, 5310, 13363, 28, 25101, 11, 4371, 28, 17821, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 35, 18756, 316, 12, 1264, 2746, 422, 198, 220, 220, 220, 4600, 1, 35, 1072, 306, 8113, 276, 34872, 2122, 282, 27862, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1433, 2919, 13, 3312, 44821, 13, 12315, 29, 63, 62, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 357, 30388, 2599, 1002, 6407, 11, 5860, 257, 2746, 662, 12, 35311, 319, 7412, 7934, 198, 220, 220, 220, 220, 220, 220, 220, 4371, 357, 30388, 2599, 1002, 6407, 11, 11298, 257, 4371, 2318, 286, 262, 4321, 284, 336, 1082, 81, 198, 220, 220, 220, 220, 220, 220, 220, 4088, 62, 16814, 357, 30388, 8, 532, 1002, 6407, 11, 3544, 26954, 278, 13, 13111, 517, 4088, 6942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 475, 13611, 13, 15161, 25, 1635, 25101, 24620, 4091, 4600, 1, 20189, 1, 1279, 5450, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1558, 2998, 13, 3312, 34155, 13, 12315, 29, 63, 62, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 67, 18756, 316, 10786, 67, 18756, 316, 1264, 3256, 3933, 11, 357, 21, 11, 1105, 11, 4764, 11, 3933, 828, 5598, 11, 2181, 13363, 11, 4371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 8 ]
2.542061
1,902
from sqlalchemy import ARRAY from sqlalchemy import Column from sqlalchemy.types import String, Integer, BigInteger, Float, Date, Text from rfdmovie.db import BaseModel from rfdmovie.utils import generate_timestamp
[ 6738, 44161, 282, 26599, 1330, 5923, 30631, 198, 6738, 44161, 282, 26599, 1330, 29201, 198, 6738, 44161, 282, 26599, 13, 19199, 1330, 10903, 11, 34142, 11, 4403, 46541, 11, 48436, 11, 7536, 11, 8255, 198, 198, 6738, 374, 16344, 41364, 13, 9945, 1330, 7308, 17633, 198, 6738, 374, 16344, 41364, 13, 26791, 1330, 7716, 62, 16514, 27823, 628, 198 ]
3.694915
59
# modified from: # https://www.pyimagesearch.com/2018/07/23/simple-object-tracking-with-opencv/ from scipy.spatial import distance as dist import numpy as np
[ 2, 9518, 422, 25, 198, 2, 3740, 1378, 2503, 13, 9078, 17566, 3679, 13, 785, 14, 7908, 14, 2998, 14, 1954, 14, 36439, 12, 15252, 12, 36280, 12, 4480, 12, 9654, 33967, 14, 198, 6738, 629, 541, 88, 13, 2777, 34961, 1330, 5253, 355, 1233, 198, 11748, 299, 32152, 355, 45941, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220 ]
2.536232
69
import lightbus from lightbus.api import Api, Event from dataclasses import dataclass from ib_insync.objects import Position, PortfolioItem from ib_insync.contract import Contract from ib_insync.order import Order, Trade from trader.container import Container from trader.trading.trading_runtime import Action, Trader from trader.data.universe import Universe from trader.common.helpers import DictHelper from typing import List, Dict, Tuple, Optional bus = lightbus.create(config_file=Container().config()['lightbus_config_file']) bus.client.register_api(TraderServiceApi())
[ 11748, 1657, 10885, 198, 6738, 1657, 10885, 13, 15042, 1330, 5949, 72, 11, 8558, 198, 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 24283, 62, 1040, 13361, 13, 48205, 1330, 23158, 11, 4347, 13652, 7449, 198, 6738, 24283, 62, 1040, 13361, 13, 28484, 1330, 17453, 198, 6738, 24283, 62, 1040, 13361, 13, 2875, 1330, 8284, 11, 9601, 198, 6738, 31791, 13, 34924, 1330, 43101, 198, 6738, 31791, 13, 2213, 4980, 13, 2213, 4980, 62, 43282, 1330, 7561, 11, 41956, 198, 6738, 31791, 13, 7890, 13, 403, 3997, 1330, 11950, 198, 6738, 31791, 13, 11321, 13, 16794, 364, 1330, 360, 713, 47429, 198, 198, 6738, 19720, 1330, 7343, 11, 360, 713, 11, 309, 29291, 11, 32233, 198, 198, 10885, 796, 1657, 10885, 13, 17953, 7, 11250, 62, 7753, 28, 29869, 22446, 11250, 3419, 17816, 2971, 10885, 62, 11250, 62, 7753, 6, 12962, 198, 10885, 13, 16366, 13, 30238, 62, 15042, 7, 2898, 5067, 16177, 32, 14415, 28955, 198 ]
3.63522
159
import pytest from turing.generated.exceptions import ApiValueError from turing.router.config.resource_request import (ResourceRequest, InvalidReplicaCountException) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 1, 3, "100m", "512Mi", "generic_resource_request" ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( ResourceRequest.min_allowed_replica - 1, 3, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 1, ResourceRequest.max_allowed_replica + 1, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 5, 4, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 2, 5, "3m", "512Mi", ApiValueError ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 2, 5, "33m", "512Ri", ApiValueError ) ]) @pytest.mark.parametrize( "new_min_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 1, 2, 3, "100m", "512Mi", "generic_resource_request" ) ]) @pytest.mark.parametrize( "new_max_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 3, 1, 6, "100m", "512Mi", "generic_resource_request" ) ]) @pytest.mark.parametrize( "new_min_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( -1, 1, 3, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "new_max_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 50, 1, 3, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "new_min_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 5, 1, 3, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "new_max_replica,min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 4, 5, 10, "100m", "512Mi", InvalidReplicaCountException ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 1, 3, "3m", "512Mi", ApiValueError ) ]) @pytest.mark.parametrize( "min_replica,max_replica,cpu_request,memory_request,expected", [ pytest.param( 1, 3, "100m", "512Ri", ApiValueError ) ])
[ 11748, 12972, 9288, 198, 6738, 256, 870, 13, 27568, 13, 1069, 11755, 1330, 5949, 72, 11395, 12331, 198, 6738, 256, 870, 13, 472, 353, 13, 11250, 13, 31092, 62, 25927, 1330, 357, 26198, 18453, 11, 17665, 39232, 3970, 12332, 16922, 8, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 41357, 62, 31092, 62, 25927, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20857, 18453, 13, 1084, 62, 40845, 62, 35666, 3970, 532, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20857, 18453, 13, 9806, 62, 40845, 62, 35666, 3970, 1343, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 604, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5949, 72, 11395, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2091, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 49, 72, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5949, 72, 11395, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 1084, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 41357, 62, 31092, 62, 25927, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 9806, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 718, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 41357, 62, 31092, 62, 25927, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 1084, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 9806, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2026, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 1084, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 3605, 62, 9806, 62, 35666, 3970, 11, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 604, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 838, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17665, 39232, 3970, 12332, 16922, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 41541, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5949, 72, 11395, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 1084, 62, 35666, 3970, 11, 9806, 62, 35666, 3970, 11, 36166, 62, 25927, 11, 31673, 62, 25927, 11, 40319, 1600, 685, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 9288, 13, 17143, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3064, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25836, 49, 72, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5949, 72, 11395, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 33761, 198 ]
1.745786
2,195
from bs_utils.utils import * import re BAM_MATCH = 0 BAM_INS = 1 BAM_DEL = 2 BAM_SOFTCLIP = 4 CIGAR_OPS = {'M' : BAM_MATCH, 'I' : BAM_INS, 'D' : BAM_DEL, 'S' : BAM_SOFTCLIP} #---------------------------------------------------------------- """ Exmaple: ======== Read : ACCGCGTTGATCGAGTACGTACGTGGGTC Adapter : ....................ACGTGGGTCCCG ======== no_mismatch : the maximum number allowed for mismatches Algorithm: (allowing 1 mismatch) ======== -Step 1: ACCGCGTTGATCGAGTACGTACGTGGGTC ||XX ACGTGGGTCCCG -Step 2: ACCGCGTTGATCGAGTACGTACGTGGGTC X||X .ACGTGGGTCCCG -Step 3: ACCGCGTTGATCGAGTACGTACGTGGGTC XX ..ACGTGGGTCCCG -Step ... -Step N: ACCGCGTTGATCGAGTACGTACGTGGGTC ||||||||| ....................ACGTGGGTCCCG Success & return! ======== """ # Remove the adapter from 3' end def next_nuc(seq, pos, n): """ Returns the nucleotide that is n places from pos in seq. Skips gap symbols. """ i = pos + 1 while i < len(seq): if seq[i] != '-': n -= 1 if n == 0: break i += 1 if i < len(seq) : return seq[i] else : return 'N' def cigar_to_alignment(cigar, read_seq, genome_seq): """ Reconstruct the pairwise alignment based on the CIGAR string and the two sequences """ # reconstruct the alignment r_pos = cigar[0][1] if cigar[0][0] == BAM_SOFTCLIP else 0 g_pos = 0 r_aln = '' g_aln = '' for edit_op, count in cigar: if edit_op == BAM_MATCH: r_aln += read_seq[r_pos : r_pos + count] g_aln += genome_seq[g_pos : g_pos + count] r_pos += count g_pos += count elif edit_op == BAM_DEL: r_aln += '-'*count g_aln += genome_seq[g_pos : g_pos + count] g_pos += count elif edit_op == BAM_INS: r_aln += read_seq[r_pos : r_pos + count] g_aln += '-'*count r_pos += count return r_aln, g_aln # return sequence is [start, end), not include 'end'
[ 6738, 275, 82, 62, 26791, 13, 26791, 1330, 1635, 198, 11748, 302, 628, 198, 33, 2390, 62, 44, 11417, 796, 657, 198, 33, 2390, 62, 20913, 796, 352, 198, 33, 2390, 62, 35, 3698, 796, 362, 198, 33, 2390, 62, 15821, 37, 4825, 43, 4061, 796, 604, 198, 198, 34, 3528, 1503, 62, 30737, 796, 1391, 6, 44, 6, 1058, 347, 2390, 62, 44, 11417, 11, 705, 40, 6, 1058, 347, 2390, 62, 20913, 11, 705, 35, 6, 1058, 347, 2390, 62, 35, 3698, 11, 705, 50, 6, 1058, 347, 2390, 62, 15821, 37, 4825, 43, 4061, 92, 628, 198, 198, 2, 10097, 198, 198, 37811, 198, 3109, 8899, 293, 25, 198, 2559, 198, 5569, 1058, 220, 220, 220, 220, 220, 220, 15859, 15916, 38, 15751, 38, 1404, 39816, 4760, 51, 2246, 19555, 2246, 19555, 11190, 38, 4825, 198, 47307, 1058, 220, 220, 220, 44713, 1106, 2246, 19555, 11190, 19555, 4093, 39816, 198, 2559, 198, 198, 3919, 62, 76, 1042, 963, 1058, 262, 5415, 1271, 3142, 329, 32691, 20981, 198, 198, 2348, 42289, 25, 357, 439, 7855, 352, 46318, 8, 198, 2559, 198, 12, 8600, 352, 25, 220, 198, 220, 15859, 15916, 38, 15751, 38, 1404, 39816, 4760, 51, 2246, 19555, 2246, 19555, 11190, 38, 4825, 198, 220, 8614, 8051, 198, 220, 7125, 19555, 11190, 19555, 4093, 39816, 198, 12, 8600, 362, 25, 220, 198, 220, 15859, 15916, 38, 15751, 38, 1404, 39816, 4760, 51, 2246, 19555, 2246, 19555, 11190, 38, 4825, 198, 220, 220, 1395, 15886, 55, 198, 220, 764, 2246, 19555, 11190, 19555, 4093, 39816, 198, 12, 8600, 513, 25, 220, 198, 220, 15859, 15916, 38, 15751, 38, 1404, 39816, 4760, 51, 2246, 19555, 2246, 19555, 11190, 38, 4825, 198, 220, 220, 220, 21044, 198, 220, 11485, 2246, 19555, 11190, 19555, 4093, 39816, 198, 12, 8600, 2644, 198, 12, 8600, 399, 25, 220, 198, 220, 15859, 15916, 38, 15751, 38, 1404, 39816, 4760, 51, 2246, 19555, 2246, 19555, 11190, 38, 4825, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8614, 42210, 15886, 91, 198, 220, 44713, 1106, 2246, 19555, 11190, 19555, 4093, 39816, 198, 33244, 1222, 1441, 0, 198, 2559, 198, 198, 37811, 198, 198, 2, 17220, 262, 21302, 422, 513, 6, 886, 628, 198, 198, 4299, 1306, 62, 77, 1229, 7, 41068, 11, 1426, 11, 299, 2599, 198, 220, 220, 220, 37227, 16409, 262, 17751, 45608, 326, 318, 299, 4113, 422, 1426, 287, 33756, 13, 3661, 2419, 7625, 14354, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1312, 796, 1426, 1343, 352, 198, 220, 220, 220, 981, 1312, 1279, 18896, 7, 41068, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 58, 72, 60, 14512, 705, 12, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 48185, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 299, 6624, 657, 25, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 15853, 352, 198, 220, 220, 220, 611, 1312, 1279, 18896, 7, 41068, 8, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 33756, 58, 72, 60, 198, 220, 220, 220, 2073, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 705, 45, 6, 628, 628, 628, 198, 198, 4299, 24518, 62, 1462, 62, 282, 16747, 7, 22683, 283, 11, 1100, 62, 41068, 11, 19270, 62, 41068, 2599, 198, 220, 220, 220, 37227, 23419, 7249, 262, 5166, 3083, 19114, 1912, 319, 262, 327, 3528, 1503, 4731, 290, 262, 734, 16311, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 31081, 262, 19114, 198, 220, 220, 220, 374, 62, 1930, 796, 24518, 58, 15, 7131, 16, 60, 611, 24518, 58, 15, 7131, 15, 60, 6624, 347, 2390, 62, 15821, 37, 4825, 43, 4061, 2073, 657, 198, 220, 220, 220, 308, 62, 1930, 796, 657, 198, 220, 220, 220, 374, 62, 282, 77, 796, 10148, 198, 220, 220, 220, 308, 62, 282, 77, 796, 10148, 198, 220, 220, 220, 329, 4370, 62, 404, 11, 954, 287, 24518, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4370, 62, 404, 6624, 347, 2390, 62, 44, 11417, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 282, 77, 15853, 1100, 62, 41068, 58, 81, 62, 1930, 1058, 374, 62, 1930, 1343, 954, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 62, 282, 77, 15853, 19270, 62, 41068, 58, 70, 62, 1930, 1058, 308, 62, 1930, 1343, 954, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 1930, 15853, 954, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 62, 1930, 15853, 954, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 4370, 62, 404, 6624, 347, 2390, 62, 35, 3698, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 282, 77, 15853, 705, 19355, 9, 9127, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 62, 282, 77, 15853, 19270, 62, 41068, 58, 70, 62, 1930, 1058, 308, 62, 1930, 1343, 954, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 62, 1930, 15853, 954, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 4370, 62, 404, 6624, 347, 2390, 62, 20913, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 282, 77, 15853, 1100, 62, 41068, 58, 81, 62, 1930, 1058, 374, 62, 1930, 1343, 954, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 62, 282, 77, 15853, 705, 19355, 9, 9127, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 1930, 15853, 954, 628, 220, 220, 220, 1441, 374, 62, 282, 77, 11, 308, 62, 282, 77, 628, 198, 198, 2, 1441, 8379, 318, 685, 9688, 11, 886, 828, 407, 2291, 705, 437, 6 ]
2.06487
1,002
if not "mo02=o" in sm.getQRValue(22013): sm.avatarOriented("Effect/OnUserEff.img/guideEffect/evanTutorial/evanBalloon02") sm.addQRValue(22013, "mo02=o")
[ 361, 407, 366, 5908, 2999, 28, 78, 1, 287, 895, 13, 1136, 48, 49, 11395, 7, 17, 6390, 2599, 198, 220, 220, 220, 895, 13, 615, 9459, 46, 380, 4714, 7203, 18610, 14, 2202, 12982, 36, 487, 13, 9600, 14, 41311, 18610, 14, 1990, 272, 51, 44917, 14, 1990, 272, 23410, 2049, 2999, 4943, 198, 220, 220, 220, 895, 13, 2860, 48, 49, 11395, 7, 17, 6390, 11, 366, 5908, 2999, 28, 78, 4943 ]
2.162162
74
import numpy as np import matplotlib.pyplot as plt from sklearn.neighbors import KNeighborsRegressor from sklearn.metrics import euclidean_distances from .datasets import make_wave from .plot_helpers import cm3
[ 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 198, 6738, 1341, 35720, 13, 710, 394, 32289, 1330, 509, 46445, 32289, 8081, 44292, 198, 6738, 1341, 35720, 13, 4164, 10466, 1330, 304, 36616, 485, 272, 62, 17080, 1817, 198, 198, 6738, 764, 19608, 292, 1039, 1330, 787, 62, 19204, 198, 6738, 764, 29487, 62, 16794, 364, 1330, 12067, 18, 628 ]
3.147059
68
"""A subpackage containing plotting functions.""" __all__ = [ 'd3', 'three', 'vis', ] from .d3 import d3 from .three import three from .vis import vis
[ 37811, 32, 850, 26495, 7268, 29353, 5499, 526, 15931, 198, 198, 834, 439, 834, 796, 685, 198, 220, 220, 220, 705, 67, 18, 3256, 198, 220, 220, 220, 705, 15542, 3256, 198, 220, 220, 220, 705, 4703, 3256, 198, 60, 198, 198, 6738, 764, 67, 18, 1330, 288, 18, 198, 6738, 764, 15542, 1330, 1115, 198, 6738, 764, 4703, 1330, 1490, 198 ]
2.66129
62
#!/usr/bin/env python3 from .random_manifest import RandomManifest
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 6738, 764, 25120, 62, 805, 8409, 1330, 14534, 5124, 8409, 198 ]
3.090909
22
#!/bin/bash from mimetypes import init import unittest import coal_mine class TestCoalMine(unittest.TestCase): # Test that worker property sets values in range correctly # Test that worker property sets negative values to zero # Test that worker property sets values exceeding threshold to threshold """Test output for all number of workers The test is purposely set up to fail since it expects that the output scales linearly with the number of workers and the diminishing returns are not taken into accout Because subTest() is used the test will show all of the failed example with messages similar to ====================================================================== FAIL: test_output (__main__.TestCoalMine) (workers=6) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/rune/python_testing/subtest/test_coal_mine.py", line 34, in test_output self.assertEqual(self.cm.output, workers*self.cm.BASE_WORKER_OUTPUT) AssertionError: 87.0 != 90 This makes it easy to identify which sub tests are failing""" if __name__ == "__main__": main()
[ 2, 48443, 8800, 14, 41757, 198, 198, 6738, 17007, 2963, 12272, 1330, 2315, 198, 11748, 555, 715, 395, 198, 11748, 5655, 62, 3810, 198, 198, 4871, 6208, 7222, 282, 24461, 7, 403, 715, 395, 13, 14402, 20448, 2599, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 6208, 326, 8383, 3119, 5621, 3815, 287, 2837, 9380, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 6208, 326, 8383, 3119, 5621, 4633, 3815, 284, 6632, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 6208, 326, 8383, 3119, 5621, 3815, 23353, 11387, 284, 11387, 628, 220, 220, 220, 37227, 14402, 5072, 329, 477, 1271, 286, 3259, 198, 220, 220, 220, 220, 198, 220, 220, 220, 383, 1332, 318, 39033, 900, 510, 284, 2038, 1201, 340, 13423, 198, 220, 220, 220, 326, 262, 5072, 16252, 9493, 11458, 351, 262, 1271, 286, 3259, 198, 220, 220, 220, 290, 262, 35197, 5860, 389, 407, 2077, 656, 697, 448, 198, 220, 220, 220, 220, 198, 220, 220, 220, 4362, 850, 14402, 3419, 318, 973, 262, 1332, 481, 905, 477, 286, 262, 198, 220, 220, 220, 4054, 1672, 351, 6218, 2092, 284, 198, 220, 220, 220, 220, 198, 220, 220, 220, 38093, 1421, 28, 198, 220, 220, 220, 9677, 4146, 25, 1332, 62, 22915, 357, 834, 12417, 834, 13, 14402, 7222, 282, 24461, 8, 357, 22896, 28, 21, 8, 198, 220, 220, 220, 16529, 23031, 198, 220, 220, 220, 34912, 1891, 357, 1712, 2274, 869, 938, 2599, 198, 220, 220, 220, 9220, 12813, 11195, 14, 81, 1726, 14, 29412, 62, 33407, 14, 7266, 9288, 14, 9288, 62, 25140, 62, 3810, 13, 9078, 1600, 1627, 4974, 11, 287, 1332, 62, 22915, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 944, 13, 11215, 13, 22915, 11, 3259, 9, 944, 13, 11215, 13, 33, 11159, 62, 33249, 1137, 62, 2606, 7250, 3843, 8, 198, 220, 220, 220, 2195, 861, 295, 12331, 25, 10083, 13, 15, 14512, 4101, 628, 220, 220, 220, 770, 1838, 340, 2562, 284, 5911, 543, 850, 5254, 389, 9894, 37811, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419 ]
3.382271
361
import os import time import logging import pytest from subprocess import run from seldon_e2e_utils import ( wait_for_status, wait_for_rollout, rest_request_ambassador, initial_rest_request, retry_run, API_AMBASSADOR, API_ISTIO_GATEWAY, ) with_api_gateways = pytest.mark.parametrize( "api_gateway", [API_AMBASSADOR, API_ISTIO_GATEWAY], ids=["ambas", "istio"] ) @pytest.mark.parametrize( "from_deployment,to_deployment", [ ("graph1.json", "graph8.json"), # From v1alpha2 to v1 ("graph7.json", "graph8.json"), # From v1alpha3 to v1 ], )
[ 11748, 28686, 198, 11748, 640, 198, 11748, 18931, 198, 11748, 12972, 9288, 198, 6738, 850, 14681, 1330, 1057, 198, 6738, 384, 25900, 62, 68, 17, 68, 62, 26791, 1330, 357, 198, 220, 220, 220, 4043, 62, 1640, 62, 13376, 11, 198, 220, 220, 220, 4043, 62, 1640, 62, 2487, 448, 11, 198, 220, 220, 220, 1334, 62, 25927, 62, 4131, 10623, 11, 198, 220, 220, 220, 4238, 62, 2118, 62, 25927, 11, 198, 220, 220, 220, 1005, 563, 62, 5143, 11, 198, 220, 220, 220, 7824, 62, 2390, 33, 10705, 2885, 1581, 11, 198, 220, 220, 220, 7824, 62, 8808, 9399, 62, 38, 6158, 27285, 11, 198, 8, 628, 198, 198, 4480, 62, 15042, 62, 10494, 1322, 796, 12972, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 15042, 62, 10494, 1014, 1600, 685, 17614, 62, 2390, 33, 10705, 2885, 1581, 11, 7824, 62, 8808, 9399, 62, 38, 6158, 27285, 4357, 220, 2340, 28, 14692, 4131, 292, 1600, 366, 396, 952, 8973, 198, 8, 628, 198, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 7, 198, 220, 220, 220, 366, 6738, 62, 2934, 1420, 434, 11, 1462, 62, 2934, 1420, 434, 1600, 198, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 5855, 34960, 16, 13, 17752, 1600, 366, 34960, 23, 13, 17752, 12340, 220, 1303, 3574, 410, 16, 26591, 17, 284, 410, 16, 198, 220, 220, 220, 220, 220, 220, 220, 5855, 34960, 22, 13, 17752, 1600, 366, 34960, 23, 13, 17752, 12340, 220, 1303, 3574, 410, 16, 26591, 18, 284, 410, 16, 198, 220, 220, 220, 16589, 198, 8, 198 ]
2.208791
273
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.domain.mandates.definitions.create_mandate_base import CreateMandateBase
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 198, 2, 770, 1398, 373, 8295, 12, 27568, 422, 262, 7824, 10288, 1043, 379, 198, 2, 3740, 1378, 538, 323, 902, 12, 15042, 13, 16244, 263, 12, 36795, 3713, 13, 785, 14, 82, 17, 82, 15042, 14, 85, 16, 14, 198, 2, 198, 6738, 27016, 3713, 13, 8443, 13, 21282, 74, 13, 27830, 13, 22249, 689, 13, 4299, 50101, 13, 17953, 62, 22249, 378, 62, 8692, 1330, 13610, 49846, 378, 14881, 628 ]
2.885057
87
################################################################################ # UNIVERSIDADE FEDERAL DE CATALÃO (UFCAT) # WANDERLEI MALAQUIAS PEREIRA JUNIOR, ENG. CIVIL / PROF (UFCAT) # DONIZETTI SOUZA JUNIOR, ENG. CIVIL (UFCAT) ################################################################################ ################################################################################ # DESCRIÇÃO ALGORITMO: # BIBLIOTECA DE VERIFICAÇÃO DE ESTADO LIMITE EM VIGAS METÁLICAS DESENVOLVIDA # PELO GRUPO DE PESQUISAS E ESTUDOS EM ENGENHARIA (GPEE) ################################################################################ ################################################################################ # BIBLIOTECAS PYTHON import numpy as np ################################################################################ # BIBLIOTECAS DESENVOLVEDORES GPEE def DEFINICAO_SECAO(LAMBDA, LAMBDA_R, LAMBDA_P): """ Está função define se uma seção metálica é compacta, semi-compacta ou esbelta. Entrada: LAMBDA | Esbeltez calculada | - | Float LAMBDA_R | Esbeltez secao compacta calculada | - | Float LAMBDA_P | Esbeltez secao semicompacta calculada | - | Float Saída: TIPO_SEC | Tipo de secao calculada | - | String """ if LAMBDA <= LAMBDA_P: TIPO_SEC = "COMPACTA" elif (LAMBDA > LAMBDA_P) and (LAMBDA <= LAMBDA_R): TIPO_SEC = "SEMI-COMPACTA" elif LAMBDA > LAMBDA_R: TIPO_SEC = "ESBELTA" return TIPO_SEC def MOMENTO_MRD_ALMA(E_S, F_Y, H_W, T_W, Z, B_F, T_F, W_C, W_T, PARAMETRO_PERFIL, TIPO_PERFIL, GAMMA_A1): """ Esta função classifica e verifica o momento resistente na alma de um perfil metálico de acordo com a NBR 8800. Entrada: E_S | Módulo de elasticidade do aço | kN/m² | Float F_Y | Tensão de escoamento do aço | kN/m² | Float H_W | Altura da alma | m | Float T_W | Largura da alma | m | Float T_F | Altura da mesa | m | Float B_F | Largura da mesa | m | Float Z | Módulo plastico da seção | m³ | Float W_C | Módulo plastico da seção compressao | kN/m² | Float W_T | Módulo plastico da seção tracao | kN/m² | Float PERFIL | Caracteristica do perfil | | String GAMMA_A1 | Coeficiente de ponderação | | Float Saída: M_RD | Momento resistido de projeto | kN*m | Float """ Z = MODULO_PLASTICO(B_F, T_F, H_W, T_W) # Classificação perfil LAMBDA = H_W / T_W LAMBDA_R = 5.70 * (E_S / F_Y) ** 0.5 if PARAMETRO_PERFIL == "DUPLA SIMETRIA": D = 3.76 elif PARAMETRO_PERFIL == "MONO SIMETRIA": pass # depois tem que implementar o monosimentrico LAMBDA_P = D * (E_S / F_Y) ** 0.5 if LAMBDA_P >= LAMBDA_R: print('SEÇÃO COM λp > λr') # return Aqui tem que ver como vamos fazer para o código encerrar aqui TIPO_SEC = DEFINICAO_SECAO(LAMBDA, LAMBDA_R, LAMBDA_P) # Momento resistente if TIPO_SEC == "COMPACTA": M_P = Z * F_Y M_RD = M_P / GAMMA_A1 elif TIPO_SEC == "SEMI-COMPACTA": M_P = Z * F_Y W = min(W_C, W_T) M_R = W * F_Y AUX_0 = (LAMBDA - LAMBDA_P) / (LAMBDA_R - LAMBDA_P) M_RD = (M_P - AUX_0 * (M_P - M_R)) / GAMMA_A1 elif TIPO_SEC == "ESBELTA": pass # Momento máximo resistente W = min(W_C, W_T) M_RDMAX = 1.50 * W * F_Y / GAMMA_A1 if M_RD > M_RDMAX: M_RD = M_RDMAX return M_RD def MOMENTO_MRD_MESA(E_S, F_Y, H_W, T_W, B_F, T_F, Z, W_C, W_T, PARAMETRO_PERFIL, TIPO_PERFIL, GAMMA_A1): """ Esta função classifica e verifica o momento resistente na mesa de um perfil metálico de acordo com a NBR 8800. Entrada: E_S | Módulo de elasticidade do aço | kN/m² | Float F_Y | Tensão de escoamento do aço | kN/m² | Float H_W | Altura da alma | m | Float T_W | Largura da alma | m | Float T_F | Altura da mesa | m | Float B_F | Largura da mesa | m | Float Z | Módulo plastico da seção | m³ | Float W_C | Módulo plastico da seção compressao | kN/m² | Float W_T | Módulo plastico da seção tracao | kN/m² | Float PERFIL | Caracteristica do perfil | - | String GAMMA_A1 | Coeficiente de ponderação | - | Float Saída: M_RD | Momento fletor resistido | kN*m | Float """ Z = MODULO_PLASTICO(B_F, T_F, H_W, T_W) # Classificação perfil LAMBDA = B_F / (2 * T_F) LAMBDA_P = 0.38 * (E_S / F_Y) ** 0.5 if TIPO_PERFIL == "SOLDADO": C = 0.95 AUX_0 = 4 / (H_W / T_W) ** 0.50 K_C = np.clip(AUX_0, 0.35, 0.76) elif TIPO_PERFIL == "LAMINADO": C = 0.83 K_C = 1.00 AUX_1 = 0.70 * F_Y / K_C LAMBDA_R = C * (E_S / AUX_1) ** 0.5 TIPO_SEC = DEFINICAO_SECAO(LAMBDA, LAMBDA_R, LAMBDA_P) # Momento resistente if TIPO_SEC == "COMPACTA": M_P = Z * F_Y M_RD = M_P / GAMMA_A1 elif TIPO_SEC == "SEMI-COMPACTA": M_P = Z * F_Y SIGMA_R = 0.30 * F_Y M_R = W_C * (F_Y - SIGMA_R) M_RMAX = W_T * F_Y if M_R > M_RMAX: M_R = M_RMAX AUX_2 = (LAMBDA - LAMBDA_P) / (LAMBDA_R - LAMBDA_P) M_RD = (M_P - AUX_2 * (M_P - M_R)) / GAMMA_A1 elif TIPO_SEC == "ESBELTA": if PERFIL == "SOLDADO": M_N = (0.90 * E_S * K_C * W_C) / LAMDA ** 2 elif PERFIL == "LAMINADO": M_N = (0.69 * E_S * W_C) / LAMDA ** 2 M_RD = M_N / GAMMA_A1 W = min(W_C, W_T) # Momento máximo resistente M_RDMAX = 1.50 * W * F_Y / GAMMA_A1 if M_RD > M_RDMAX: M_RD = M_RDMAX return M_RD def CALCULO_CV(H_W, T_W, E_S, F_Y): """ Esta função determina o coeficiente de redução do cisalhamento resistente Cv. Entrada: E_S | Módulo de elasticidade do aço | kN/m² | Float F_Y | Tensão de escoamento do aço | kN/m² | Float H_W | Altura da alma | m | Float T_W | Largura da alma | m | Float Saída: C_V | Coeficiente de cisalhmento | - | Float """ LAMBDA = H_W / T_W LAMBDA_P = 2.46 * (E_S / F_Y) ** 0.5 LAMBDA_R = 3.06 * (E_S / F_Y) ** 0.5 if LAMBDA <= LAMBDA_P: C_V = 1 elif (LAMBDA_P < LAMBDA) and (LAMBDA <= LAMBDA_R): C_V = (2.46 / LAMBDA) * (E_S / F_Y) ** 0.5 elif LAMBDA > LAMBDA_R: C_V = (7.5 * E_S) / (F_Y * LAMBDA ** 2) return C_V def CORTANTE_VRD(H_W, T_W, E_S, F_Y, GAMMA_A1): """ Esta função determina o cortante de cálculo para seções metálicas segundo a NBR 8800. Entrada: E_S | Módulo de elasticidade do aço | kN/m² | Float F_Y | Tensão de escoamento do aço | kN/m² | Float H_W | Altura da alma | m | Float T_W | Largura da alma | m | Float GAMMA_A1 | Coeficiente de ponderação | - | Float Saída: V_RD | Esforco cortante resistido | kN | Float """ A_W = H_W * T_W C_V = CALCULO_CV(H_W, T_W, E_S, F_Y) V_RD = (C_V * 0.6 * F_Y * A_W) / GAMMA_A1 return V_RD def VERIFICACAO_VIGA_METALICA_MOMENTO_FLETOR(VIGA, ESFORCOS): """ Esta função verifica o momento fletor resistente de um perfil metálico de acordo com a NBR 8800. Entrada: VIGA | Tags dicionario | 'E_S' == Módulo de elasticidade do aço | Float | 'F_Y' == Tensão de escoamento do aço | Float | 'H_W' == Altura da alma | Float | 'T_W' == Largura da alma | Float | 'T_F' == Altura da mesa | Float | 'B_F' == Largura da mesa | Float | 'Z' == Módulo plastico da seção | Float | 'W_C' == Módulo plastico da seção compressao | Float | 'W_T' == Módulo plastico da seção tracao | Float | 'S1' == Erro de modelo 1 | Float | 'S2' == Erro de modelo 2 | Float | 'PARAMETRO_PERFIL' == Caracteristica do perfil | String | 'TIPO_PERFIL' == Tipo de perfil analisado | String | 'GAMMA_A1' == Coeficiente de ponderação | Float ESFORCOS | Tags dicionario | 'M_SD' == Momento fletor solicitante | Float Saída: R | Momento fletor resistente | Float S | Momento fletor solicitante | Float """ E_S = VIGA['E_S'] F_Y = VIGA['F_Y'] H_W = VIGA['H_W'] T_W = VIGA['T_W'] B_F = VIGA['B_F'] T_F = VIGA['T_F'] Z = MODULO_PLASTICO(B_F, T_F, H_W, T_W) #Z = VIGA['Z'] INERCIA = INERCIA_CALCULO(B_F, T_F, H_W, T_W) #INERCIA = VIGA['INERCIA'] S1 = VIGA['S1'] S2 = VIGA['S2'] Y_GC = (( T_F * 2) + H_W) / 2 W_C = INERCIA / Y_GC W_T = W_C PARAMETRO_PERFIL = VIGA['PARAMETRO_PERFIL'] TIPO_PERFIL = VIGA['TIPO_PERFIL'] GAMMA_A1 = VIGA['GAMMA_A1'] M_SD = ESFORCOS['M_SD'] #Resistencia momento fletor de projeto M_RDMESA = MOMENTO_MRD_MESA(E_S, F_Y, H_W, T_W, B_F, T_F, Z, W_C, W_T, PARAMETRO_PERFIL, TIPO_PERFIL, GAMMA_A1) M_RDALMA = MOMENTO_MRD_ALMA(E_S, F_Y, H_W, T_W, Z, B_F, T_F, W_C, W_T, PARAMETRO_PERFIL, TIPO_PERFIL, GAMMA_A1) M_RD = min(M_RDMESA, M_RDALMA) R = S1 * M_RD S = S2 * M_SD return(R, S) def VERIFICACAO_VIGA_METALICA_ESFORCO_CORTANTE(VIGA, ESFORCOS): """ Esta função verifica o esforco cortante de um perfil metálico de acordo com a NBR 8800. Entrada: VIGA | Tags dicionario | 'E_S' == Módulo de elasticidade do aço | Float | 'F_Y' == Tensão de escoamento do aço | Float | 'H_W' == Altura da alma | Float | 'T_W' == Largura da alma | Float | 'S1' == Erro de modelo 1 | Float | 'S2' == Erro de modelo 2 | Float | 'GAMMA_A1' == Coeficiente de ponderação | Float ESFORCOS | Tags dicionario | 'V_SD' == Esforco cortante solicitante | Float Saída: R | Esforco cortante resistente | Float S | Esforco cortante solicitante | Float """ E_S = VIGA['E_S'] F_Y = VIGA['F_Y'] H_W = VIGA['H_W'] T_W = VIGA['T_W'] S1 = VIGA['S1'] S2 = VIGA['S2'] V_SD = ESFORCOS['V_SD'] GAMMA_A1 = VIGA['GAMMA_A1'] #Resistencia esforco cortante de projeto V_RD = CORTANTE_VRD(H_W, T_W, E_S, F_Y, GAMMA_A1) R = S1 * V_RD S = S2 * V_SD return(R, S) def VERIFICACAO_VIGA_METALICA_DEFORMACAO(VIGA, ESFORCOS): """ Esta função verifica o deflexao maxima de um perfil metálico de acordo com a NBR 8800. Entrada: VIGA | Tags dicionario | 'L_MAX' == Largura do elemento | Float | 'S1' == Erro de modelo 1 | Float | 'S2' == Erro de modelo 2 | Float ESFORCOS | Tags dicionario | 'D_SD' == Deflexao solicitante | Float Saída: R | Esforco cortante resistente | Float S | Esforco cortante solicitante | Float """ D_SD = ESFORCOS['D_SD'] S1 = VIGA['S1'] S2 = VIGA['S2'] L_MAX = ESFORCOS['L_MAX'] D_MAX = L_MAX / 350 R = abs(S1 * D_MAX) S = abs(S2 * D_SD / 100) return(R, S)
[ 29113, 29113, 14468, 198, 2, 49677, 2389, 19266, 376, 1961, 27130, 5550, 38348, 1847, 5746, 46, 357, 44534, 1404, 8, 198, 2, 370, 6981, 1137, 2538, 40, 337, 1847, 32, 43702, 1921, 350, 9338, 40, 3861, 449, 4944, 41254, 11, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36924, 13, 327, 3824, 4146, 1220, 4810, 19238, 357, 44534, 1404, 8, 198, 2, 23917, 14887, 2767, 25621, 30065, 34892, 449, 4944, 41254, 11, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36924, 13, 327, 3824, 4146, 357, 44534, 1404, 8, 198, 29113, 29113, 14468, 198, 198, 29113, 29113, 14468, 198, 2, 22196, 34, 7112, 127, 229, 5746, 46, 8355, 38, 1581, 2043, 11770, 25, 198, 2, 20068, 9148, 40, 2394, 36600, 5550, 33310, 5064, 25241, 127, 229, 5746, 46, 5550, 17160, 2885, 46, 27564, 12709, 17228, 569, 3528, 1921, 31243, 127, 223, 43, 2149, 1921, 22196, 1677, 44558, 11008, 32, 220, 198, 2, 350, 3698, 46, 10863, 8577, 46, 5550, 350, 1546, 10917, 1797, 1921, 412, 17160, 8322, 2640, 17228, 36924, 1677, 39, 1503, 3539, 357, 16960, 6500, 8, 198, 29113, 29113, 14468, 198, 198, 29113, 29113, 14468, 198, 2, 20068, 9148, 40, 2394, 2943, 1921, 350, 56, 4221, 1340, 198, 11748, 299, 32152, 355, 45941, 198, 198, 29113, 29113, 14468, 198, 2, 20068, 9148, 40, 2394, 2943, 1921, 22196, 1677, 44558, 53, 1961, 1581, 1546, 14714, 6500, 198, 198, 4299, 5550, 20032, 25241, 46, 62, 23683, 32, 46, 7, 43, 2390, 33, 5631, 11, 406, 2390, 33, 5631, 62, 49, 11, 406, 2390, 33, 5631, 62, 47, 2599, 198, 220, 37227, 198, 220, 10062, 6557, 1257, 16175, 28749, 8160, 384, 334, 2611, 384, 16175, 28749, 1138, 6557, 677, 64, 38251, 16001, 64, 11, 10663, 12, 5589, 529, 64, 267, 84, 1658, 65, 12514, 13, 628, 220, 7232, 81, 4763, 25, 198, 220, 406, 2390, 33, 5631, 220, 220, 220, 930, 8678, 6667, 660, 89, 5204, 4763, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 532, 220, 930, 48436, 220, 220, 198, 220, 406, 2390, 33, 5631, 62, 49, 220, 930, 8678, 6667, 660, 89, 792, 5488, 16001, 64, 5204, 4763, 220, 220, 220, 220, 930, 220, 532, 220, 930, 48436, 220, 220, 198, 220, 406, 2390, 33, 5631, 62, 47, 220, 930, 8678, 6667, 660, 89, 792, 5488, 39290, 3361, 529, 64, 5204, 4763, 930, 220, 532, 220, 930, 48436, 220, 628, 220, 10318, 8836, 6814, 25, 198, 220, 309, 4061, 46, 62, 23683, 220, 930, 23095, 78, 390, 792, 5488, 5204, 4763, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 532, 220, 930, 10903, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 37227, 198, 220, 611, 406, 2390, 33, 5631, 19841, 406, 2390, 33, 5631, 62, 47, 25, 198, 220, 220, 220, 220, 220, 309, 4061, 46, 62, 23683, 796, 366, 9858, 44938, 5603, 1, 198, 220, 1288, 361, 357, 43, 2390, 33, 5631, 1875, 406, 2390, 33, 5631, 62, 47, 8, 290, 357, 43, 2390, 33, 5631, 19841, 406, 2390, 33, 5631, 62, 49, 2599, 198, 220, 220, 220, 220, 220, 309, 4061, 46, 62, 23683, 796, 366, 50, 3620, 40, 12, 9858, 44938, 5603, 1, 198, 220, 1288, 361, 406, 2390, 33, 5631, 1875, 406, 2390, 33, 5631, 62, 49, 25, 198, 220, 220, 220, 220, 220, 309, 4061, 46, 62, 23683, 796, 366, 1546, 33, 3698, 5603, 1, 198, 220, 1441, 309, 4061, 46, 62, 23683, 198, 198, 4299, 337, 2662, 3525, 46, 62, 13599, 35, 62, 1847, 5673, 7, 36, 62, 50, 11, 376, 62, 56, 11, 367, 62, 54, 11, 309, 62, 54, 11, 1168, 11, 347, 62, 37, 11, 309, 62, 37, 11, 370, 62, 34, 11, 370, 62, 51, 11, 29463, 2390, 2767, 13252, 62, 18973, 46700, 11, 309, 4061, 46, 62, 18973, 46700, 11, 49965, 5673, 62, 32, 16, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 1398, 811, 64, 304, 3326, 811, 64, 267, 2589, 78, 4180, 21872, 12385, 435, 2611, 390, 23781, 583, 10379, 1138, 6557, 677, 78, 198, 220, 220, 220, 390, 936, 585, 78, 401, 257, 399, 11473, 807, 7410, 13, 628, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 412, 62, 50, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 376, 62, 56, 220, 220, 220, 220, 220, 220, 930, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 367, 62, 54, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 198, 220, 220, 220, 309, 62, 54, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 309, 62, 37, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 347, 62, 37, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 1168, 220, 220, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 126, 111, 220, 930, 48436, 198, 220, 220, 220, 370, 62, 34, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 27413, 5488, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 370, 62, 51, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 491, 330, 5488, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 220, 220, 220, 220, 198, 220, 220, 220, 19878, 46700, 220, 220, 220, 930, 1879, 7321, 2569, 64, 466, 583, 10379, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 930, 10903, 198, 220, 220, 220, 49965, 5673, 62, 32, 16, 220, 930, 1766, 891, 11373, 68, 390, 16723, 8607, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 930, 48436, 628, 220, 220, 220, 10318, 8836, 6814, 25, 220, 198, 220, 220, 220, 337, 62, 35257, 220, 220, 220, 220, 220, 930, 29278, 78, 4180, 17305, 390, 386, 73, 27206, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 9, 76, 220, 930, 48436, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1168, 796, 19164, 6239, 46, 62, 6489, 11262, 22707, 7, 33, 62, 37, 11, 309, 62, 37, 11, 367, 62, 54, 11, 309, 62, 54, 8, 628, 220, 220, 220, 1303, 5016, 811, 64, 16175, 28749, 583, 10379, 198, 220, 220, 220, 406, 2390, 33, 5631, 796, 367, 62, 54, 1220, 309, 62, 54, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 49, 796, 642, 13, 2154, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 198, 220, 220, 220, 611, 29463, 2390, 2767, 13252, 62, 18973, 46700, 6624, 366, 35, 52, 45710, 23749, 2767, 49, 3539, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 360, 796, 513, 13, 4304, 198, 220, 220, 220, 1288, 361, 29463, 2390, 2767, 13252, 62, 18973, 46700, 6624, 366, 27857, 46, 23749, 2767, 49, 3539, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 1303, 1207, 10924, 2169, 8358, 3494, 283, 267, 937, 418, 3681, 1173, 78, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 47, 796, 360, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 198, 220, 220, 220, 611, 406, 2390, 33, 5631, 62, 47, 18189, 406, 2390, 33, 5631, 62, 49, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 5188, 127, 229, 5746, 46, 9440, 7377, 119, 79, 1875, 7377, 119, 81, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1441, 11446, 72, 2169, 8358, 3326, 401, 78, 410, 321, 418, 277, 19178, 31215, 267, 269, 10205, 12894, 78, 551, 2189, 20040, 14839, 72, 198, 220, 220, 220, 309, 4061, 46, 62, 23683, 796, 5550, 20032, 25241, 46, 62, 23683, 32, 46, 7, 43, 2390, 33, 5631, 11, 406, 2390, 33, 5631, 62, 49, 11, 406, 2390, 33, 5631, 62, 47, 8, 198, 220, 220, 220, 1303, 29278, 78, 4180, 21872, 198, 220, 220, 220, 611, 309, 4061, 46, 62, 23683, 6624, 366, 9858, 44938, 5603, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 47, 796, 1168, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 337, 62, 47, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 1288, 361, 309, 4061, 46, 62, 23683, 6624, 366, 50, 3620, 40, 12, 9858, 44938, 5603, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 47, 796, 1168, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 370, 796, 949, 7, 54, 62, 34, 11, 370, 62, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 49, 796, 370, 1635, 376, 62, 56, 220, 198, 220, 220, 220, 220, 220, 220, 220, 27548, 55, 62, 15, 796, 357, 43, 2390, 33, 5631, 532, 406, 2390, 33, 5631, 62, 47, 8, 1220, 357, 43, 2390, 33, 5631, 62, 49, 532, 406, 2390, 33, 5631, 62, 47, 8, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 357, 44, 62, 47, 532, 27548, 55, 62, 15, 1635, 357, 44, 62, 47, 532, 337, 62, 49, 4008, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 1288, 361, 309, 4061, 46, 62, 23683, 6624, 366, 1546, 33, 3698, 5603, 1298, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 198, 220, 220, 220, 1303, 29278, 78, 285, 6557, 87, 25147, 4180, 21872, 198, 220, 220, 220, 370, 796, 949, 7, 54, 62, 34, 11, 370, 62, 51, 8, 198, 220, 220, 220, 337, 62, 35257, 22921, 796, 352, 13, 1120, 1635, 370, 1635, 376, 62, 56, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 611, 337, 62, 35257, 1875, 337, 62, 35257, 22921, 25, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 337, 62, 35257, 22921, 198, 220, 220, 220, 1441, 337, 62, 35257, 198, 198, 4299, 337, 2662, 3525, 46, 62, 13599, 35, 62, 44, 43279, 7, 36, 62, 50, 11, 376, 62, 56, 11, 367, 62, 54, 11, 309, 62, 54, 11, 347, 62, 37, 11, 309, 62, 37, 11, 1168, 11, 370, 62, 34, 11, 370, 62, 51, 11, 29463, 2390, 2767, 13252, 62, 18973, 46700, 11, 309, 4061, 46, 62, 18973, 46700, 11, 49965, 5673, 62, 32, 16, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 1398, 811, 64, 304, 3326, 811, 64, 267, 2589, 78, 4180, 21872, 12385, 18842, 64, 390, 23781, 583, 10379, 1138, 6557, 677, 78, 198, 220, 220, 220, 390, 936, 585, 78, 401, 257, 399, 11473, 807, 7410, 13, 628, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 412, 62, 50, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 376, 62, 56, 220, 220, 220, 220, 220, 220, 930, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 367, 62, 54, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 198, 220, 220, 220, 309, 62, 54, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 309, 62, 37, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 347, 62, 37, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 1168, 220, 220, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 126, 111, 220, 930, 48436, 198, 220, 220, 220, 370, 62, 34, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 27413, 5488, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 370, 62, 51, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 491, 330, 5488, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 220, 220, 220, 220, 198, 220, 220, 220, 19878, 46700, 220, 220, 220, 930, 1879, 7321, 2569, 64, 466, 583, 10379, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 532, 220, 220, 930, 10903, 198, 220, 220, 220, 49965, 5673, 62, 32, 16, 220, 930, 1766, 891, 11373, 68, 390, 16723, 8607, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 532, 220, 220, 930, 48436, 628, 220, 220, 220, 10318, 8836, 6814, 25, 220, 198, 220, 220, 220, 337, 62, 35257, 220, 220, 220, 220, 220, 930, 29278, 78, 277, 1616, 273, 4180, 17305, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 9, 76, 220, 930, 48436, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1168, 796, 19164, 6239, 46, 62, 6489, 11262, 22707, 7, 33, 62, 37, 11, 309, 62, 37, 11, 367, 62, 54, 11, 309, 62, 54, 8, 628, 220, 220, 220, 1303, 5016, 811, 64, 16175, 28749, 583, 10379, 198, 220, 220, 220, 406, 2390, 33, 5631, 796, 347, 62, 37, 1220, 357, 17, 1635, 309, 62, 37, 8, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 47, 796, 657, 13, 2548, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 220, 198, 220, 220, 220, 611, 309, 4061, 46, 62, 18973, 46700, 6624, 366, 50, 15173, 2885, 46, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 327, 796, 657, 13, 3865, 198, 220, 220, 220, 220, 220, 220, 220, 27548, 55, 62, 15, 796, 604, 1220, 357, 39, 62, 54, 1220, 309, 62, 54, 8, 12429, 657, 13, 1120, 198, 220, 220, 220, 220, 220, 220, 220, 509, 62, 34, 796, 45941, 13, 15036, 7, 26830, 55, 62, 15, 11, 657, 13, 2327, 11, 657, 13, 4304, 8, 198, 220, 220, 220, 1288, 361, 309, 4061, 46, 62, 18973, 46700, 6624, 366, 43, 2390, 1268, 2885, 46, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 327, 796, 657, 13, 5999, 198, 220, 220, 220, 220, 220, 220, 220, 509, 62, 34, 796, 352, 13, 405, 198, 220, 220, 220, 27548, 55, 62, 16, 796, 657, 13, 2154, 1635, 376, 62, 56, 1220, 509, 62, 34, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 49, 796, 327, 1635, 357, 36, 62, 50, 1220, 27548, 55, 62, 16, 8, 12429, 657, 13, 20, 220, 220, 198, 220, 220, 220, 309, 4061, 46, 62, 23683, 796, 5550, 20032, 25241, 46, 62, 23683, 32, 46, 7, 43, 2390, 33, 5631, 11, 406, 2390, 33, 5631, 62, 49, 11, 406, 2390, 33, 5631, 62, 47, 8, 198, 220, 220, 220, 1303, 29278, 78, 4180, 21872, 198, 220, 220, 220, 611, 309, 4061, 46, 62, 23683, 6624, 366, 9858, 44938, 5603, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 47, 796, 1168, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 337, 62, 47, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 1288, 361, 309, 4061, 46, 62, 23683, 6624, 366, 50, 3620, 40, 12, 9858, 44938, 5603, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 47, 796, 1168, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 33993, 5673, 62, 49, 796, 657, 13, 1270, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 49, 796, 370, 62, 34, 1635, 357, 37, 62, 56, 532, 33993, 5673, 62, 49, 8, 220, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 49, 22921, 796, 370, 62, 51, 1635, 376, 62, 56, 198, 220, 220, 220, 220, 220, 220, 220, 611, 337, 62, 49, 1875, 337, 62, 49, 22921, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 337, 62, 49, 796, 337, 62, 49, 22921, 198, 220, 220, 220, 220, 220, 220, 220, 27548, 55, 62, 17, 796, 357, 43, 2390, 33, 5631, 532, 406, 2390, 33, 5631, 62, 47, 8, 1220, 357, 43, 2390, 33, 5631, 62, 49, 532, 406, 2390, 33, 5631, 62, 47, 8, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 357, 44, 62, 47, 532, 27548, 55, 62, 17, 1635, 357, 44, 62, 47, 532, 337, 62, 49, 4008, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 1288, 361, 309, 4061, 46, 62, 23683, 6624, 366, 1546, 33, 3698, 5603, 1298, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 19878, 46700, 6624, 366, 50, 15173, 2885, 46, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 337, 62, 45, 796, 357, 15, 13, 3829, 1635, 412, 62, 50, 1635, 509, 62, 34, 1635, 370, 62, 34, 8, 1220, 406, 2390, 5631, 12429, 362, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 19878, 46700, 6624, 366, 43, 2390, 1268, 2885, 46, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 337, 62, 45, 796, 357, 15, 13, 3388, 1635, 412, 62, 50, 1635, 370, 62, 34, 8, 1220, 406, 2390, 5631, 12429, 362, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 337, 62, 45, 1220, 49965, 5673, 62, 32, 16, 220, 198, 220, 220, 220, 370, 796, 949, 7, 54, 62, 34, 11, 370, 62, 51, 8, 220, 220, 220, 198, 220, 220, 220, 1303, 29278, 78, 285, 6557, 87, 25147, 4180, 21872, 198, 220, 220, 220, 337, 62, 35257, 22921, 796, 352, 13, 1120, 1635, 370, 1635, 376, 62, 56, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 611, 337, 62, 35257, 1875, 337, 62, 35257, 22921, 25, 198, 220, 220, 220, 220, 220, 220, 220, 337, 62, 35257, 796, 337, 62, 35257, 22921, 198, 220, 220, 220, 1441, 337, 62, 35257, 198, 220, 198, 4299, 33290, 34, 6239, 46, 62, 33538, 7, 39, 62, 54, 11, 309, 62, 54, 11, 412, 62, 50, 11, 376, 62, 56, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 3416, 64, 267, 763, 891, 11373, 68, 390, 2027, 16175, 28749, 466, 269, 28456, 2763, 50217, 4180, 21872, 327, 85, 13, 628, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 412, 62, 50, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 376, 62, 56, 220, 220, 220, 220, 220, 220, 930, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 367, 62, 54, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 198, 220, 220, 220, 309, 62, 54, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 628, 220, 220, 220, 10318, 8836, 6814, 25, 198, 220, 220, 220, 327, 62, 53, 220, 220, 220, 220, 220, 220, 930, 1766, 891, 11373, 68, 390, 269, 28456, 71, 434, 78, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 532, 220, 220, 930, 48436, 220, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 406, 2390, 33, 5631, 796, 367, 62, 54, 1220, 309, 62, 54, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 47, 796, 362, 13, 3510, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 198, 220, 220, 220, 406, 2390, 33, 5631, 62, 49, 796, 513, 13, 3312, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 198, 220, 220, 220, 611, 406, 2390, 33, 5631, 19841, 406, 2390, 33, 5631, 62, 47, 25, 198, 220, 220, 220, 220, 220, 220, 220, 327, 62, 53, 796, 352, 198, 220, 220, 220, 1288, 361, 357, 43, 2390, 33, 5631, 62, 47, 1279, 406, 2390, 33, 5631, 8, 290, 357, 43, 2390, 33, 5631, 19841, 406, 2390, 33, 5631, 62, 49, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 327, 62, 53, 796, 357, 17, 13, 3510, 1220, 406, 2390, 33, 5631, 8, 1635, 357, 36, 62, 50, 1220, 376, 62, 56, 8, 12429, 657, 13, 20, 198, 220, 220, 220, 1288, 361, 406, 2390, 33, 5631, 1875, 406, 2390, 33, 5631, 62, 49, 25, 198, 220, 220, 220, 220, 220, 220, 220, 327, 62, 53, 796, 357, 22, 13, 20, 1635, 412, 62, 50, 8, 1220, 357, 37, 62, 56, 1635, 406, 2390, 33, 5631, 12429, 362, 8, 198, 220, 220, 220, 1441, 327, 62, 53, 198, 198, 4299, 327, 9863, 8643, 36, 62, 13024, 35, 7, 39, 62, 54, 11, 309, 62, 54, 11, 412, 62, 50, 11, 376, 62, 56, 11, 49965, 5673, 62, 32, 16, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 3416, 64, 267, 12794, 12427, 390, 269, 6557, 75, 3129, 78, 31215, 384, 16175, 127, 113, 274, 1138, 6557, 677, 292, 384, 70, 41204, 257, 399, 11473, 807, 7410, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 412, 62, 50, 220, 220, 220, 220, 220, 220, 930, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 376, 62, 56, 220, 220, 220, 220, 220, 220, 930, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 930, 479, 45, 14, 76, 31185, 930, 48436, 198, 220, 220, 220, 367, 62, 54, 220, 220, 220, 220, 220, 220, 930, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 198, 220, 220, 220, 309, 62, 54, 220, 220, 220, 220, 220, 220, 930, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 285, 220, 220, 930, 48436, 198, 220, 220, 220, 49965, 5673, 62, 32, 16, 220, 930, 1766, 891, 11373, 68, 390, 16723, 8607, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 532, 220, 220, 930, 48436, 628, 220, 220, 220, 10318, 8836, 6814, 25, 198, 220, 220, 220, 569, 62, 35257, 220, 220, 220, 220, 220, 930, 8678, 1640, 1073, 12794, 12427, 4180, 17305, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 220, 479, 45, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 62, 54, 796, 367, 62, 54, 1635, 309, 62, 54, 198, 220, 220, 220, 327, 62, 53, 796, 33290, 34, 6239, 46, 62, 33538, 7, 39, 62, 54, 11, 309, 62, 54, 11, 412, 62, 50, 11, 376, 62, 56, 8, 198, 220, 220, 220, 569, 62, 35257, 796, 357, 34, 62, 53, 1635, 657, 13, 21, 1635, 376, 62, 56, 1635, 317, 62, 54, 8, 1220, 49965, 5673, 62, 32, 16, 198, 220, 220, 220, 1441, 569, 62, 35257, 198, 198, 4299, 33310, 30643, 26576, 46, 62, 53, 3528, 32, 62, 47123, 1847, 25241, 62, 44, 2662, 3525, 46, 62, 37, 28882, 1581, 7, 53, 3528, 32, 11, 13380, 13775, 34, 2640, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 3326, 811, 64, 267, 2589, 78, 277, 1616, 273, 4180, 21872, 390, 23781, 583, 10379, 1138, 6557, 677, 78, 198, 220, 220, 220, 390, 936, 585, 78, 401, 257, 399, 11473, 807, 7410, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 569, 3528, 32, 220, 220, 220, 220, 220, 930, 44789, 288, 47430, 4982, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 36, 62, 50, 6, 220, 220, 6624, 220, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 37, 62, 56, 6, 220, 220, 6624, 220, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 39, 62, 54, 6, 220, 220, 6624, 220, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 51, 62, 54, 6, 220, 220, 6624, 220, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 51, 62, 37, 6, 220, 220, 6624, 220, 12344, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 33, 62, 37, 6, 220, 220, 6624, 220, 406, 853, 5330, 12379, 18842, 64, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 57, 6, 220, 220, 220, 220, 6624, 220, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 54, 62, 34, 6, 220, 220, 6624, 220, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 27413, 5488, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 54, 62, 51, 6, 220, 220, 6624, 220, 337, 10205, 67, 43348, 7309, 78, 12379, 384, 16175, 28749, 491, 330, 5488, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 16, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 352, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 17, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 362, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 27082, 2390, 2767, 13252, 62, 18973, 46700, 6, 6624, 220, 1879, 7321, 2569, 64, 466, 583, 10379, 220, 930, 10903, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 51, 4061, 46, 62, 18973, 46700, 6, 220, 220, 220, 220, 220, 6624, 220, 23095, 78, 390, 583, 10379, 2037, 271, 4533, 220, 930, 10903, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 38, 2390, 5673, 62, 32, 16, 6, 220, 220, 220, 220, 220, 220, 220, 220, 6624, 220, 1766, 891, 11373, 68, 390, 16723, 8607, 16175, 28749, 930, 48436, 220, 628, 220, 220, 220, 13380, 13775, 34, 2640, 220, 930, 44789, 288, 47430, 4982, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 44, 62, 10305, 6, 220, 6624, 29278, 78, 277, 1616, 273, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 220, 628, 220, 220, 220, 10318, 8836, 6814, 25, 198, 220, 220, 220, 371, 220, 220, 220, 220, 220, 220, 220, 220, 930, 29278, 78, 277, 1616, 273, 4180, 21872, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 311, 220, 220, 220, 220, 220, 220, 220, 220, 930, 29278, 78, 277, 1616, 273, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 412, 62, 50, 796, 569, 3528, 32, 17816, 36, 62, 50, 20520, 198, 220, 220, 220, 376, 62, 56, 796, 569, 3528, 32, 17816, 37, 62, 56, 20520, 198, 220, 220, 220, 367, 62, 54, 796, 569, 3528, 32, 17816, 39, 62, 54, 20520, 198, 220, 220, 220, 309, 62, 54, 796, 569, 3528, 32, 17816, 51, 62, 54, 20520, 198, 220, 220, 220, 347, 62, 37, 796, 569, 3528, 32, 17816, 33, 62, 37, 20520, 198, 220, 220, 220, 309, 62, 37, 796, 569, 3528, 32, 17816, 51, 62, 37, 20520, 198, 220, 220, 220, 1168, 796, 19164, 6239, 46, 62, 6489, 11262, 22707, 7, 33, 62, 37, 11, 309, 62, 37, 11, 367, 62, 54, 11, 309, 62, 54, 8, 198, 220, 220, 220, 1303, 57, 796, 569, 3528, 32, 17816, 57, 20520, 198, 220, 220, 220, 3268, 47691, 3539, 796, 3268, 47691, 3539, 62, 34, 1847, 34, 6239, 46, 7, 33, 62, 37, 11, 309, 62, 37, 11, 367, 62, 54, 11, 309, 62, 54, 8, 198, 220, 220, 220, 1303, 1268, 47691, 3539, 796, 569, 3528, 32, 17816, 1268, 47691, 3539, 20520, 198, 220, 220, 220, 311, 16, 796, 569, 3528, 32, 17816, 50, 16, 20520, 198, 220, 220, 220, 311, 17, 796, 569, 3528, 32, 17816, 50, 17, 20520, 198, 220, 220, 220, 575, 62, 15916, 796, 14808, 309, 62, 37, 1635, 362, 8, 1343, 367, 62, 54, 8, 1220, 362, 220, 198, 220, 220, 220, 370, 62, 34, 796, 3268, 47691, 3539, 1220, 575, 62, 15916, 198, 220, 220, 220, 370, 62, 51, 796, 370, 62, 34, 198, 220, 220, 220, 29463, 2390, 2767, 13252, 62, 18973, 46700, 796, 569, 3528, 32, 17816, 27082, 2390, 2767, 13252, 62, 18973, 46700, 20520, 198, 220, 220, 220, 309, 4061, 46, 62, 18973, 46700, 796, 569, 3528, 32, 17816, 51, 4061, 46, 62, 18973, 46700, 20520, 220, 198, 220, 220, 220, 49965, 5673, 62, 32, 16, 796, 569, 3528, 32, 17816, 38, 2390, 5673, 62, 32, 16, 20520, 198, 220, 220, 220, 337, 62, 10305, 796, 13380, 13775, 34, 2640, 17816, 44, 62, 10305, 20520, 628, 220, 220, 220, 1303, 4965, 396, 29634, 2589, 78, 277, 1616, 273, 390, 386, 73, 27206, 198, 220, 220, 220, 337, 62, 49, 23127, 43279, 796, 337, 2662, 3525, 46, 62, 13599, 35, 62, 44, 43279, 7, 36, 62, 50, 11, 376, 62, 56, 11, 367, 62, 54, 11, 309, 62, 54, 11, 347, 62, 37, 11, 309, 62, 37, 11, 1168, 11, 370, 62, 34, 11, 370, 62, 51, 11, 29463, 2390, 2767, 13252, 62, 18973, 46700, 11, 309, 4061, 46, 62, 18973, 46700, 11, 49965, 5673, 62, 32, 16, 8, 198, 220, 220, 220, 337, 62, 35257, 1847, 5673, 796, 337, 2662, 3525, 46, 62, 13599, 35, 62, 1847, 5673, 7, 36, 62, 50, 11, 376, 62, 56, 11, 367, 62, 54, 11, 309, 62, 54, 11, 1168, 11, 347, 62, 37, 11, 309, 62, 37, 11, 370, 62, 34, 11, 370, 62, 51, 11, 29463, 2390, 2767, 13252, 62, 18973, 46700, 11, 309, 4061, 46, 62, 18973, 46700, 11, 49965, 5673, 62, 32, 16, 8, 198, 220, 220, 220, 337, 62, 35257, 796, 949, 7, 44, 62, 49, 23127, 43279, 11, 337, 62, 35257, 1847, 5673, 8, 198, 220, 220, 220, 371, 796, 311, 16, 1635, 337, 62, 35257, 198, 220, 220, 220, 311, 796, 311, 17, 1635, 337, 62, 10305, 628, 220, 220, 220, 1441, 7, 49, 11, 311, 8, 628, 198, 4299, 33310, 30643, 26576, 46, 62, 53, 3528, 32, 62, 47123, 1847, 25241, 62, 1546, 13775, 8220, 62, 34, 9863, 8643, 36, 7, 53, 3528, 32, 11, 13380, 13775, 34, 2640, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 3326, 811, 64, 267, 1658, 1640, 1073, 12794, 12427, 390, 23781, 583, 10379, 1138, 6557, 677, 78, 198, 220, 220, 220, 390, 936, 585, 78, 401, 257, 399, 11473, 807, 7410, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 569, 3528, 32, 220, 220, 220, 220, 220, 930, 44789, 288, 47430, 4982, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 36, 62, 50, 6, 220, 220, 6624, 220, 337, 10205, 67, 43348, 390, 27468, 312, 671, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 37, 62, 56, 6, 220, 220, 6624, 220, 40280, 28749, 390, 1658, 1073, 3263, 78, 466, 257, 16175, 78, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 39, 62, 54, 6, 220, 220, 6624, 220, 12344, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 51, 62, 54, 6, 220, 220, 6624, 220, 406, 853, 5330, 12379, 435, 2611, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 16, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 352, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 17, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 362, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 38, 2390, 5673, 62, 32, 16, 6, 220, 6624, 220, 1766, 891, 11373, 68, 390, 16723, 8607, 16175, 28749, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 13380, 13775, 34, 2640, 220, 930, 44789, 288, 47430, 4982, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 53, 62, 10305, 6, 220, 6624, 8678, 1640, 1073, 12794, 12427, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 628, 220, 220, 220, 10318, 8836, 6814, 25, 198, 220, 220, 220, 371, 220, 220, 220, 220, 220, 220, 220, 220, 930, 8678, 1640, 1073, 12794, 12427, 4180, 21872, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 311, 220, 220, 220, 220, 220, 220, 220, 220, 930, 8678, 1640, 1073, 12794, 12427, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 412, 62, 50, 796, 569, 3528, 32, 17816, 36, 62, 50, 20520, 198, 220, 220, 220, 376, 62, 56, 796, 569, 3528, 32, 17816, 37, 62, 56, 20520, 198, 220, 220, 220, 367, 62, 54, 796, 569, 3528, 32, 17816, 39, 62, 54, 20520, 198, 220, 220, 220, 309, 62, 54, 796, 569, 3528, 32, 17816, 51, 62, 54, 20520, 198, 220, 220, 220, 311, 16, 796, 569, 3528, 32, 17816, 50, 16, 20520, 198, 220, 220, 220, 311, 17, 796, 569, 3528, 32, 17816, 50, 17, 20520, 198, 220, 220, 220, 569, 62, 10305, 796, 13380, 13775, 34, 2640, 17816, 53, 62, 10305, 20520, 198, 220, 220, 220, 49965, 5673, 62, 32, 16, 796, 569, 3528, 32, 17816, 38, 2390, 5673, 62, 32, 16, 20520, 628, 220, 220, 220, 1303, 4965, 396, 29634, 1658, 1640, 1073, 12794, 12427, 390, 386, 73, 27206, 198, 220, 220, 220, 569, 62, 35257, 796, 327, 9863, 8643, 36, 62, 13024, 35, 7, 39, 62, 54, 11, 309, 62, 54, 11, 412, 62, 50, 11, 376, 62, 56, 11, 49965, 5673, 62, 32, 16, 8, 198, 220, 220, 220, 371, 796, 311, 16, 1635, 569, 62, 35257, 198, 220, 220, 220, 311, 796, 311, 17, 1635, 569, 62, 10305, 628, 220, 220, 220, 1441, 7, 49, 11, 311, 8, 628, 198, 4299, 33310, 30643, 26576, 46, 62, 53, 3528, 32, 62, 47123, 1847, 25241, 62, 7206, 21389, 26576, 46, 7, 53, 3528, 32, 11, 13380, 13775, 34, 2640, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10062, 64, 1257, 16175, 28749, 3326, 811, 64, 267, 825, 2588, 5488, 3509, 8083, 390, 23781, 583, 10379, 1138, 6557, 677, 78, 198, 220, 220, 220, 390, 936, 585, 78, 401, 257, 399, 11473, 807, 7410, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 7232, 81, 4763, 25, 198, 220, 220, 220, 569, 3528, 32, 220, 220, 220, 220, 220, 930, 44789, 288, 47430, 4982, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 43, 62, 22921, 6, 6624, 406, 853, 5330, 466, 5002, 78, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 16, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 352, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 50, 17, 6, 220, 220, 220, 6624, 220, 5256, 305, 390, 2746, 78, 362, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 220, 198, 220, 220, 220, 13380, 13775, 34, 2640, 220, 930, 44789, 288, 47430, 4982, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 705, 35, 62, 10305, 6, 220, 6624, 2896, 2588, 5488, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 220, 628, 220, 220, 220, 10318, 8836, 6814, 25, 198, 220, 220, 220, 371, 220, 220, 220, 220, 220, 220, 220, 220, 930, 8678, 1640, 1073, 12794, 12427, 4180, 21872, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 311, 220, 220, 220, 220, 220, 220, 220, 220, 930, 8678, 1640, 1073, 12794, 12427, 25063, 12427, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 48436, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 360, 62, 10305, 796, 13380, 13775, 34, 2640, 17816, 35, 62, 10305, 20520, 198, 220, 220, 220, 311, 16, 796, 569, 3528, 32, 17816, 50, 16, 20520, 198, 220, 220, 220, 311, 17, 796, 569, 3528, 32, 17816, 50, 17, 20520, 198, 220, 220, 220, 406, 62, 22921, 796, 13380, 13775, 34, 2640, 17816, 43, 62, 22921, 20520, 198, 220, 220, 220, 360, 62, 22921, 796, 406, 62, 22921, 1220, 13803, 628, 220, 220, 220, 371, 796, 2352, 7, 50, 16, 1635, 360, 62, 22921, 8, 198, 220, 220, 220, 311, 796, 2352, 7, 50, 17, 1635, 360, 62, 10305, 1220, 1802, 8, 628, 220, 220, 220, 1441, 7, 49, 11, 311, 8 ]
1.699057
7,317
#!/usr/bin/env python # ================================= # Music Visualizer # ------------ # Reference to -> [May 2020] - Mina PECHEUX # # Based on the work by Yu-Jie Lin # (Public Domain) # Github: https://gist.github.com/manugarri/1c0fcfe9619b775bb82de0790ccb88da import wave import click from compute import plt, compute, WIDTH, HEIGHT, \ SAMPLE_SIZE, CHANNELS, RATE, FPS @click.command(context_settings=dict(help_option_names=['-h', '--help'])) @click.argument('filename', type=str) @click.option('-m', '--method', help='Method to use for the video processing', required=True, type=click.Choice(['bars', 'spectrum', 'wave', 'rain'], case_sensitive=False)) @click.option('-c', '--color', help='An hex color or "hue_rotate" to auto-update the color throughout the film', type=str, default='hue_rotate', show_default=True) @click.option('--output/--no-output', help='Whether to save the result in a file or display it directly', default=False, show_default=True) if __name__ == '__main__': main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 46111, 198, 2, 7849, 15612, 7509, 198, 2, 220, 10541, 198, 2, 20984, 284, 4613, 685, 6747, 12131, 60, 532, 337, 1437, 350, 2943, 13909, 31235, 198, 2, 198, 2, 13403, 319, 262, 670, 416, 10605, 12, 41, 494, 5164, 198, 2, 357, 15202, 20021, 8, 198, 2, 38994, 25, 3740, 1378, 70, 396, 13, 12567, 13, 785, 14, 805, 35652, 380, 14, 16, 66, 15, 16072, 5036, 4846, 1129, 65, 34483, 11848, 6469, 2934, 2998, 3829, 535, 65, 3459, 6814, 198, 198, 11748, 6769, 198, 11748, 3904, 198, 198, 6738, 24061, 1330, 458, 83, 11, 24061, 11, 370, 2389, 4221, 11, 11179, 9947, 11, 3467, 198, 28844, 16437, 62, 33489, 11, 5870, 22846, 37142, 11, 371, 6158, 11, 22082, 198, 198, 31, 12976, 13, 21812, 7, 22866, 62, 33692, 28, 11600, 7, 16794, 62, 18076, 62, 14933, 28, 17816, 12, 71, 3256, 705, 438, 16794, 20520, 4008, 198, 31, 12976, 13, 49140, 10786, 34345, 3256, 2099, 28, 2536, 8, 198, 31, 12976, 13, 18076, 10786, 12, 76, 3256, 705, 438, 24396, 3256, 1037, 11639, 17410, 284, 779, 329, 262, 2008, 7587, 3256, 2672, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 12976, 13, 46770, 7, 17816, 34046, 3256, 705, 4443, 6582, 3256, 705, 19204, 3256, 705, 3201, 6, 4357, 1339, 62, 30176, 28, 25101, 4008, 198, 31, 12976, 13, 18076, 10786, 12, 66, 3256, 705, 438, 8043, 3256, 1037, 11639, 2025, 17910, 3124, 393, 366, 71, 518, 62, 10599, 378, 1, 284, 8295, 12, 19119, 262, 3124, 3690, 262, 2646, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 2536, 11, 4277, 11639, 71, 518, 62, 10599, 378, 3256, 905, 62, 12286, 28, 17821, 8, 198, 31, 12976, 13, 18076, 10786, 438, 22915, 14, 438, 3919, 12, 22915, 3256, 1037, 11639, 15354, 284, 3613, 262, 1255, 287, 257, 2393, 393, 3359, 340, 3264, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 25101, 11, 905, 62, 12286, 28, 17821, 8, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 1388, 3419, 198 ]
2.794667
375
# IMPORTAÇÕES import random import string # FUNÇÃO QUE GERA NÚMEROS DE INSCRIÇÃO ESTADUAL
[ 2, 30023, 1581, 5603, 127, 229, 127, 243, 1546, 201, 198, 11748, 4738, 201, 198, 11748, 4731, 201, 198, 201, 198, 201, 198, 2, 29397, 127, 229, 5746, 46, 1195, 8924, 44186, 32, 399, 127, 248, 29296, 2640, 5550, 3268, 6173, 7112, 127, 229, 5746, 46, 17160, 2885, 25620, 201, 198 ]
1.921569
51
import pandas as pd import pytest from cognite.client.data_classes import Datapoints, DatapointsList from cognite.client.testing import monkeypatch_cognite_client from cognite.model_hosting.data_fetcher._cdp_client import CdpClient, DatapointsFrameQuery @pytest.fixture @pytest.fixture @pytest.fixture
[ 11748, 19798, 292, 355, 279, 67, 198, 11748, 12972, 9288, 198, 198, 6738, 8866, 578, 13, 16366, 13, 7890, 62, 37724, 1330, 16092, 499, 1563, 82, 11, 16092, 499, 1563, 82, 8053, 198, 6738, 8866, 578, 13, 16366, 13, 33407, 1330, 21657, 17147, 62, 66, 2360, 578, 62, 16366, 198, 6738, 8866, 578, 13, 19849, 62, 4774, 278, 13, 7890, 62, 34045, 2044, 13557, 10210, 79, 62, 16366, 1330, 327, 26059, 11792, 11, 16092, 499, 1563, 82, 19778, 20746, 628, 198, 31, 9078, 9288, 13, 69, 9602, 628, 198, 198, 31, 9078, 9288, 13, 69, 9602, 628, 198, 198, 31, 9078, 9288, 13, 69, 9602, 628 ]
2.943396
106
''' 오락실 pang 게임 만들기 [게임 조건] 1. 캐릭터는 화면 아래에 위치, 좌우로만 이동 가능 2. 스페이스를 누르면 무기를 쏘아 올림 3. 큰 공 1개가 나타나서 바운스 4. 무기에 닿으면 공은 작은 크기 2개로 분할, 가장 작은 크기의 공은 사라짐 5. 모든 공을 없애면 게임 종료(성공) 6. 캐릭터는 공에 닿으면 게임 종료(실패) 7. 시간 제한 99초 초과시 게임 종료(실패) 8. FPS는 30으로 고정(필요시 speed 값을 조정) [게임 이미지] 1. 배경 : 640 * 480(가로, 세로) - background.png 2. 무대 : 640 * 50 - stage.png 3. 캐릭터 : 33 * 60 - character.png 4. 무기 : 20 * 430 weapon.png 5. 풍선 : 160 * 160, 80 * 80, 40 * 40, 20 * 20 - ball1.png ~ ball4/png ''' import os import pygame # 기본 초기화(반드시 해야하는 것들) # pygame 을 import 하면 반드시 초기화를 해줘야한다. pygame.init() # 화면 크기 설정 screen_width = 640 screen_height = 480 screen = pygame.display.set_mode((screen_width, screen_height)) # 화면 타이틀 설정 pygame.display.set_caption("SPLIT BALLOON GAME") # 폰트 설정 game_font = pygame.font.Font(None, 40) total_time = 100 start_ticks = pygame.time.get_ticks() # 게임 종료 메시지 game_result = "GAME OVER" # 이동할 좌표 character_to_x = 0 # 이동 속도 character_speed = 0.6 # FPS clock = pygame.time.Clock() # 1. 사용자 게임 초기화 (배경 화면, 게임 이미지, 좌표, 속도, 폰트 등) life = 3 current_path = os.path.dirname(__file__) image_path = os.path.join(current_path, "images") background = pygame.image.load(os.path.join(image_path, "background.png")) stage = pygame.image.load(os.path.join(image_path, "stage.png")) stage_size = stage.get_rect().size stage_height = stage_size[1] stage_y_pos = screen_height - stage_height character = pygame.image.load(os.path.join(image_path, "character.png")) character_size = character.get_rect().size character_width = character_size[0] character_height = character_size[1] character_x_pos = screen_width / 2 - character_width / 2 character_y_pos = screen_height - character_height - stage_height weapon = pygame.image.load(os.path.join(image_path, "weapon.png")) weapon_size = weapon.get_rect().size weapon_width = weapon_size[0] # 무기는 한번에 여러 발 발사 가능 weapons = [] # 무기 이동 속도 weapon_speed = 10 # 풍선 만들기(4개 크기에 대해 따로 처리) balloon_images = [ pygame.image.load(os.path.join(image_path, "balloon1.png")), pygame.image.load(os.path.join(image_path, "balloon2.png")), pygame.image.load(os.path.join(image_path, "balloon3.png")), pygame.image.load(os.path.join(image_path, "balloon4.png")) ] # 풍선 크기에 따른 최초 스피드 balloon_speed_y = [-18, -15, -12, -9] # 풍선들 balloons = [] # 최초 발생 큰 풍선 추가 balloons.append({ "pos_x": 50, # 풍선의 x 좌표 "pos_y": 50, # 풍선의 y좌표 "img_idx": 0, "to_x": 3, # x축 이동 방향 "to_y": -6, # y축 이동 방향 "init_speed_y": balloon_speed_y[0] # y 최초 속도 }) # 사라질 무기와 공 정보 저장 변수 weapon_to_remove = -1 ballons_to_remove = -1 running = True while running: dt = clock.tick(30) # 게임화면의 초당 프레임 수 # 2. 이벤트 처리(키보드, 마우스 등) for event in pygame.event.get(): if event.type == pygame.QUIT: # 창이 닫히는 이벤트가 발생하였는가? running = False # 게임이 진행되지 않음 if event.type == pygame.KEYDOWN: if event.key == pygame.K_LEFT: character_to_x -= character_speed elif event.key == pygame.K_RIGHT: character_to_x += character_speed elif event.key == pygame.K_SPACE: # 무기 위치 정의 weapon_x_pos = character_x_pos + (character_width / 2) - (weapon_width / 2) weapon_y_pos = character_y_pos weapons.append([weapon_x_pos, weapon_y_pos]) if event.type == pygame.KEYUP: if event.key == pygame.K_LEFT or event.key == pygame.K_RIGHT: character_to_x = 0 character_x_pos += character_to_x * dt # 3. 게임 캐릭터 위치 정의 if character_x_pos < 0: character_x_pos = 0 elif character_x_pos > (screen_width - character_width): character_x_pos = screen_width - character_width # 무기 이동 조절 weapons = [[w[0], w[1] - weapon_speed] for w in weapons] # 천장에 닿은 무기 없애기 weapons = [[w[0], w[1]] for w in weapons if w[1] > 0] # 풍선 위치 정의 for balloon_idx, balloon_val in enumerate(balloons): balloon_pos_x = balloon_val["pos_x"] balloon_pos_y = balloon_val["pos_y"] balloon_img_idx = balloon_val["img_idx"] balloon_size = balloon_images[balloon_img_idx].get_rect().size balloon_width = balloon_size[0] balloon_height = balloon_size[1] # 좌,우 벽에 닿았을 때 공 위치 변경(튕겨나가는 효과) if balloon_pos_x < 0 or balloon_pos_x > screen_width - balloon_width: balloon_val["to_x"] = balloon_val["to_x"] * -1 # 스테이지에 튕겨서 올라가는 효과 if balloon_pos_y >= screen_height - stage_height - balloon_height: balloon_val["to_y"] = balloon_val["init_speed_y"] # 그 외의 경우에는 속도를 줄여나감(포물선 효과) else: balloon_val["to_y"] += 0.5 balloon_val["pos_x"] += balloon_val["to_x"] balloon_val["pos_y"] += balloon_val["to_y"] # 4. 충돌 처리 # 캐릭터 rect 정보 업데이트 character_rect = character.get_rect() character_rect.left = character_x_pos character_rect.top = character_y_pos for balloon_idx, balloon_val in enumerate(balloons): balloon_pos_x = balloon_val["pos_x"] balloon_pos_y = balloon_val["pos_y"] balloon_img_idx = balloon_val["img_idx"] # 공 rect 정보 업데이트 balloon_rect = balloon_images[balloon_img_idx].get_rect() balloon_rect.left = balloon_pos_x balloon_rect.top = balloon_pos_y # 공과 캐릭터 충돌 처리 if character_rect.colliderect(balloon_rect): if life == 0: running = False break life -= 1 character_x_pos = 10 character_y_pos = screen_height - character_height - stage_height # 공과 무기들 충돌 처리 for weapon_idx, weapon_val in enumerate(weapons): weapon_x_pos = weapon_val[0] weapon_y_pos = weapon_val[1] # 무기 rect 정보 업데이트 weapon_rect = weapon.get_rect() weapon_rect.left = weapon_x_pos weapon_rect.top = weapon_y_pos # 충돌 체크 if weapon_rect.colliderect(balloon_rect): weapon_to_remove = weapon_idx # 해당 무기를 없애기 위한 값 설정 ballons_to_remove = balloon_idx # 해당 풍선을 없애기 위한 값 설정 if balloon_img_idx < 3: # 현재 공 크기 정보를 가지고 옴 balloon_width = balloon_rect.size[0] balloon_height = balloon_rect.size[1] # 나눠진 공 정보 small_balloon_rect = balloon_images[balloon_img_idx + 1].get_rect() small_balloon_width = small_balloon_rect.size[0] small_balloon_height = small_balloon_rect.size[1] # 왼쪽으로 튕겨나가는 작은 공 balloons.append({ "pos_x": balloon_pos_x + (balloon_width / 2) - (small_balloon_width / 2), # 풍선의 x 좌표 "pos_y": balloon_pos_y + (balloon_height / 2) - (small_balloon_height / 2), # 풍선의 y좌표 "img_idx": balloon_img_idx + 1, "to_x": -3, # x축 이동 방향 "to_y": -6, # y축 이동 방향 "init_speed_y": balloon_speed_y[balloon_img_idx + 1] # y 최초 속도 }) # 오른쪽으로 튕겨나가는 작은 공 balloons.append({ "pos_x": balloon_pos_x + (balloon_width / 2) - (small_balloon_width / 2), # 풍선의 x 좌표 "pos_y": balloon_pos_y + (balloon_height / 2) - (small_balloon_height / 2), # 풍선의 y좌표 "img_idx": balloon_img_idx + 1, "to_x": +3, # x축 이동 방향 "to_y": -6, # y축 이동 방향 "init_speed_y": balloon_speed_y[balloon_img_idx + 1] }) break else : continue break if ballons_to_remove > -1: del balloons[ballons_to_remove] ballons_to_remove = -1 if weapon_to_remove > -1: del weapons[weapon_to_remove] weapon_to_remove = -1 # 모든 공을 없앤경우 게임 종료 if len(balloons) == 0: game_result = "Mission Complete" running = False # 5. 화면에 그리기 - screen.blit screen.blit(background, (0, 0)) for weapon_x_pos, weapon_y_pos in weapons: screen.blit(weapon, (weapon_x_pos, weapon_y_pos)) for idx, val in enumerate(balloons): balloon_pos_x = val["pos_x"] balloon_pos_y = val["pos_y"] balloon_img_idx = val["img_idx"] screen.blit(balloon_images[balloon_img_idx], (balloon_pos_x, balloon_pos_y)) screen.blit(stage, (0, stage_y_pos)) screen.blit(character, (character_x_pos, character_y_pos)) now_life = game_font.render(str(int(life)), True, (0, 0, 0)) screen.blit(now_life, (screen_width - 30, 10)) elapsed_time = (pygame.time.get_ticks() - start_ticks) / 1000 timer = game_font.render(f"Time : {int(total_time - elapsed_time)}", True, (0, 0, 0)) screen.blit(timer, (10, 10)) # 시간 초과 if total_time - elapsed_time <= 0: game_result = "Time Over" running = False pygame.display.update() # 게임 오버 메시지 저장 msg = game_font.render(game_result, True, (0, 0, 0)) msg_rect = msg.get_rect(center=(int(screen_width / 2), int(screen_height / 2))) screen.blit(msg, msg_rect) pygame.display.update() pygame.time.delay(2000) pygame.quit()
[ 7061, 6, 198, 168, 246, 97, 167, 251, 121, 168, 233, 97, 279, 648, 220, 166, 110, 234, 168, 252, 226, 31619, 100, 234, 167, 241, 97, 166, 116, 108, 198, 198, 58, 166, 110, 234, 168, 252, 226, 23821, 94, 108, 166, 109, 112, 60, 198, 16, 13, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 167, 232, 242, 220, 169, 247, 242, 167, 102, 112, 23821, 243, 226, 167, 252, 246, 168, 245, 238, 23821, 250, 226, 168, 117, 246, 11, 23821, 95, 234, 168, 248, 108, 167, 94, 250, 167, 100, 234, 23821, 251, 112, 167, 237, 247, 220, 166, 108, 222, 167, 232, 98, 198, 17, 13, 23821, 232, 97, 169, 236, 246, 35975, 112, 168, 232, 97, 167, 98, 120, 31619, 230, 226, 167, 98, 112, 167, 102, 112, 31619, 105, 112, 166, 116, 108, 167, 98, 120, 23821, 237, 246, 168, 243, 226, 23821, 246, 105, 167, 99, 120, 198, 18, 13, 220, 169, 223, 108, 220, 166, 111, 113, 352, 166, 108, 250, 166, 108, 222, 31619, 224, 246, 169, 225, 222, 167, 224, 246, 168, 226, 250, 31619, 108, 242, 168, 248, 112, 168, 232, 97, 198, 19, 13, 31619, 105, 112, 166, 116, 108, 168, 245, 238, 31619, 233, 123, 168, 250, 120, 167, 102, 112, 220, 166, 111, 113, 35975, 222, 23821, 252, 239, 35975, 222, 220, 169, 223, 105, 166, 116, 108, 362, 166, 108, 250, 167, 94, 250, 31619, 114, 226, 47991, 254, 11, 220, 166, 108, 222, 168, 252, 98, 23821, 252, 239, 35975, 222, 220, 169, 223, 105, 166, 116, 108, 35975, 246, 220, 166, 111, 113, 35975, 222, 23821, 8955, 167, 251, 120, 168, 100, 238, 198, 20, 13, 31619, 103, 101, 167, 241, 254, 220, 166, 111, 113, 35975, 226, 23821, 245, 228, 168, 243, 254, 167, 102, 112, 220, 166, 110, 234, 168, 252, 226, 23821, 95, 227, 167, 96, 234, 7, 168, 226, 109, 166, 111, 113, 8, 198, 21, 13, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 167, 232, 242, 220, 166, 111, 113, 168, 245, 238, 31619, 233, 123, 168, 250, 120, 167, 102, 112, 220, 166, 110, 234, 168, 252, 226, 23821, 95, 227, 167, 96, 234, 7, 168, 233, 97, 169, 234, 101, 8, 198, 22, 13, 23821, 233, 250, 166, 108, 226, 23821, 254, 250, 47991, 250, 7388, 168, 112, 230, 23821, 112, 230, 166, 111, 120, 168, 233, 250, 220, 166, 110, 234, 168, 252, 226, 23821, 95, 227, 167, 96, 234, 7, 168, 233, 97, 169, 234, 101, 8, 198, 23, 13, 22082, 167, 232, 242, 1542, 168, 250, 120, 167, 94, 250, 220, 166, 111, 254, 168, 254, 243, 7, 47991, 226, 168, 248, 242, 168, 233, 250, 2866, 220, 166, 108, 240, 35975, 226, 23821, 94, 108, 168, 254, 243, 8, 198, 198, 58, 166, 110, 234, 168, 252, 226, 23821, 251, 112, 167, 107, 116, 168, 100, 222, 60, 198, 16, 13, 31619, 108, 108, 166, 110, 121, 1058, 33759, 1635, 23487, 7, 166, 108, 222, 167, 94, 250, 11, 23821, 226, 116, 167, 94, 250, 8, 532, 4469, 13, 11134, 198, 17, 13, 31619, 105, 112, 167, 234, 222, 1058, 33759, 1635, 2026, 532, 3800, 13, 11134, 198, 18, 13, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 1058, 4747, 1635, 3126, 532, 2095, 13, 11134, 198, 19, 13, 31619, 105, 112, 166, 116, 108, 1058, 1160, 1635, 35090, 4282, 13, 11134, 198, 20, 13, 220, 169, 240, 235, 168, 226, 254, 1058, 13454, 1635, 13454, 11, 4019, 1635, 4019, 11, 2319, 1635, 2319, 11, 1160, 1635, 1160, 532, 2613, 16, 13, 11134, 5299, 2613, 19, 14, 11134, 198, 7061, 6, 198, 11748, 28686, 198, 198, 11748, 12972, 6057, 198, 198, 2, 220, 166, 116, 108, 167, 111, 116, 23821, 112, 230, 166, 116, 108, 169, 247, 242, 7, 167, 108, 246, 167, 241, 250, 168, 233, 250, 220, 47991, 112, 168, 243, 120, 47991, 246, 167, 232, 242, 220, 166, 110, 225, 167, 241, 97, 8, 198, 2, 12972, 6057, 23821, 251, 226, 1330, 220, 47991, 246, 167, 102, 112, 31619, 108, 246, 167, 241, 250, 168, 233, 250, 23821, 112, 230, 166, 116, 108, 169, 247, 242, 167, 98, 120, 220, 47991, 112, 168, 97, 246, 168, 243, 120, 47991, 250, 46695, 97, 13, 198, 9078, 6057, 13, 15003, 3419, 198, 198, 2, 220, 169, 247, 242, 167, 102, 112, 220, 169, 223, 105, 166, 116, 108, 23821, 226, 97, 168, 254, 243, 198, 9612, 62, 10394, 796, 33759, 198, 9612, 62, 17015, 796, 23487, 198, 9612, 796, 12972, 6057, 13, 13812, 13, 2617, 62, 14171, 19510, 9612, 62, 10394, 11, 3159, 62, 17015, 4008, 198, 198, 2, 220, 169, 247, 242, 167, 102, 112, 220, 169, 225, 222, 35975, 112, 169, 233, 222, 23821, 226, 97, 168, 254, 243, 198, 9078, 6057, 13, 13812, 13, 2617, 62, 6888, 1159, 7203, 4303, 43, 2043, 46433, 46, 1340, 30517, 4943, 198, 198, 2, 220, 169, 237, 108, 169, 232, 116, 23821, 226, 97, 168, 254, 243, 198, 6057, 62, 10331, 796, 12972, 6057, 13, 10331, 13, 23252, 7, 14202, 11, 2319, 8, 198, 23350, 62, 2435, 796, 1802, 198, 9688, 62, 83, 3378, 796, 12972, 6057, 13, 2435, 13, 1136, 62, 83, 3378, 3419, 198, 198, 2, 220, 166, 110, 234, 168, 252, 226, 23821, 95, 227, 167, 96, 234, 31619, 102, 242, 168, 233, 250, 168, 100, 222, 198, 6057, 62, 20274, 796, 366, 47109, 28729, 1, 198, 198, 2, 23821, 251, 112, 167, 237, 247, 47991, 254, 23821, 95, 234, 169, 239, 250, 198, 22769, 62, 1462, 62, 87, 796, 657, 198, 2, 23821, 251, 112, 167, 237, 247, 23821, 228, 235, 167, 237, 226, 198, 22769, 62, 12287, 796, 657, 13, 21, 198, 198, 2, 22082, 198, 15750, 796, 12972, 6057, 13, 2435, 13, 44758, 3419, 198, 198, 2, 352, 13, 23821, 8955, 168, 248, 102, 168, 252, 238, 220, 166, 110, 234, 168, 252, 226, 23821, 112, 230, 166, 116, 108, 169, 247, 242, 357, 167, 108, 108, 166, 110, 121, 220, 169, 247, 242, 167, 102, 112, 11, 220, 166, 110, 234, 168, 252, 226, 23821, 251, 112, 167, 107, 116, 168, 100, 222, 11, 23821, 95, 234, 169, 239, 250, 11, 23821, 228, 235, 167, 237, 226, 11, 220, 169, 237, 108, 169, 232, 116, 31619, 241, 109, 8, 198, 6042, 796, 513, 198, 14421, 62, 6978, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 198, 9060, 62, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 14421, 62, 6978, 11, 366, 17566, 4943, 198, 198, 25249, 796, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 25249, 13, 11134, 48774, 198, 198, 14247, 796, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 14247, 13, 11134, 48774, 198, 14247, 62, 7857, 796, 3800, 13, 1136, 62, 2554, 22446, 7857, 198, 14247, 62, 17015, 796, 3800, 62, 7857, 58, 16, 60, 198, 14247, 62, 88, 62, 1930, 796, 3159, 62, 17015, 532, 3800, 62, 17015, 198, 198, 22769, 796, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 22769, 13, 11134, 48774, 198, 22769, 62, 7857, 796, 2095, 13, 1136, 62, 2554, 22446, 7857, 198, 22769, 62, 10394, 796, 2095, 62, 7857, 58, 15, 60, 198, 22769, 62, 17015, 796, 2095, 62, 7857, 58, 16, 60, 198, 22769, 62, 87, 62, 1930, 796, 3159, 62, 10394, 1220, 362, 532, 2095, 62, 10394, 1220, 362, 198, 22769, 62, 88, 62, 1930, 796, 3159, 62, 17015, 532, 2095, 62, 17015, 532, 3800, 62, 17015, 198, 198, 28741, 796, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 28741, 13, 11134, 48774, 198, 28741, 62, 7857, 796, 4282, 13, 1136, 62, 2554, 22446, 7857, 198, 28741, 62, 10394, 796, 4282, 62, 7857, 58, 15, 60, 198, 198, 2, 31619, 105, 112, 166, 116, 108, 167, 232, 242, 220, 47991, 250, 167, 110, 230, 168, 245, 238, 23821, 245, 105, 167, 253, 105, 31619, 108, 250, 31619, 108, 250, 168, 8955, 220, 166, 108, 222, 167, 232, 98, 198, 33999, 796, 17635, 198, 198, 2, 31619, 105, 112, 166, 116, 108, 23821, 251, 112, 167, 237, 247, 23821, 228, 235, 167, 237, 226, 198, 28741, 62, 12287, 796, 838, 198, 198, 2, 220, 169, 240, 235, 168, 226, 254, 31619, 100, 234, 167, 241, 97, 166, 116, 108, 7, 19, 166, 108, 250, 220, 169, 223, 105, 166, 116, 108, 168, 245, 238, 31619, 234, 222, 47991, 112, 31619, 242, 108, 167, 94, 250, 23821, 110, 246, 167, 99, 105, 8, 198, 1894, 2049, 62, 17566, 796, 685, 198, 220, 220, 220, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 1894, 2049, 16, 13, 11134, 4943, 828, 198, 220, 220, 220, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 1894, 2049, 17, 13, 11134, 4943, 828, 198, 220, 220, 220, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 1894, 2049, 18, 13, 11134, 4943, 828, 198, 220, 220, 220, 12972, 6057, 13, 9060, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 9060, 62, 6978, 11, 366, 1894, 2049, 19, 13, 11134, 48774, 198, 60, 198, 198, 2, 220, 169, 240, 235, 168, 226, 254, 220, 169, 223, 105, 166, 116, 108, 168, 245, 238, 31619, 242, 108, 167, 98, 116, 23821, 113, 250, 168, 112, 230, 23821, 232, 97, 169, 242, 120, 167, 241, 250, 198, 1894, 2049, 62, 12287, 62, 88, 796, 25915, 1507, 11, 532, 1314, 11, 532, 1065, 11, 532, 24, 60, 198, 198, 2, 220, 169, 240, 235, 168, 226, 254, 167, 241, 97, 198, 1894, 13022, 796, 17635, 198, 198, 2, 23821, 113, 250, 168, 112, 230, 31619, 108, 250, 168, 225, 251, 220, 169, 223, 108, 220, 169, 240, 235, 168, 226, 254, 23821, 114, 242, 166, 108, 222, 198, 1894, 13022, 13, 33295, 15090, 198, 220, 220, 220, 366, 1930, 62, 87, 1298, 2026, 11, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 2124, 23821, 95, 234, 169, 239, 250, 198, 220, 220, 220, 366, 1930, 62, 88, 1298, 2026, 11, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 331, 168, 95, 234, 169, 239, 250, 198, 220, 220, 220, 366, 9600, 62, 312, 87, 1298, 657, 11, 198, 220, 220, 220, 366, 1462, 62, 87, 1298, 513, 11, 220, 1303, 2124, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 198, 220, 220, 220, 366, 1462, 62, 88, 1298, 532, 21, 11, 220, 1303, 331, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 198, 220, 220, 220, 366, 15003, 62, 12287, 62, 88, 1298, 21190, 62, 12287, 62, 88, 58, 15, 60, 220, 1303, 331, 23821, 113, 250, 168, 112, 230, 23821, 228, 235, 167, 237, 226, 198, 30072, 198, 198, 2, 23821, 8955, 167, 251, 120, 168, 100, 230, 31619, 105, 112, 166, 116, 108, 168, 247, 222, 220, 166, 111, 113, 23821, 254, 243, 167, 111, 112, 23821, 254, 222, 168, 252, 98, 31619, 111, 222, 168, 230, 246, 198, 28741, 62, 1462, 62, 28956, 796, 532, 16, 198, 1894, 684, 62, 1462, 62, 28956, 796, 532, 16, 198, 198, 20270, 796, 6407, 198, 4514, 2491, 25, 198, 220, 220, 220, 288, 83, 796, 8801, 13, 42298, 7, 1270, 8, 220, 1303, 220, 166, 110, 234, 168, 252, 226, 169, 247, 242, 167, 102, 112, 35975, 246, 23821, 112, 230, 46695, 117, 220, 169, 242, 226, 167, 254, 230, 168, 252, 226, 23821, 230, 246, 628, 220, 220, 220, 1303, 362, 13, 23821, 251, 112, 167, 110, 97, 169, 232, 116, 23821, 110, 246, 167, 99, 105, 7, 169, 224, 97, 167, 111, 112, 167, 241, 250, 11, 31619, 100, 230, 168, 248, 108, 168, 232, 97, 31619, 241, 109, 8, 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, 220, 1303, 23821, 108, 121, 35975, 112, 31619, 233, 104, 169, 252, 230, 167, 232, 242, 23821, 251, 112, 167, 110, 97, 169, 232, 116, 166, 108, 222, 31619, 108, 250, 168, 225, 251, 47991, 246, 168, 246, 222, 167, 232, 242, 166, 108, 222, 30, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2491, 796, 10352, 220, 1303, 220, 166, 110, 234, 168, 252, 226, 35975, 112, 23821, 100, 226, 169, 244, 231, 167, 238, 246, 168, 100, 222, 23821, 243, 232, 35975, 234, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 4906, 6624, 12972, 6057, 13, 20373, 41925, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 2539, 6624, 12972, 6057, 13, 42, 62, 2538, 9792, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 1462, 62, 87, 48185, 2095, 62, 12287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1785, 13, 2539, 6624, 12972, 6057, 13, 42, 62, 49, 9947, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 1462, 62, 87, 15853, 2095, 62, 12287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1785, 13, 2539, 6624, 12972, 6057, 13, 42, 62, 4303, 11598, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31619, 105, 112, 166, 116, 108, 23821, 250, 226, 168, 117, 246, 23821, 254, 243, 35975, 246, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 87, 62, 1930, 796, 2095, 62, 87, 62, 1930, 1343, 357, 22769, 62, 10394, 1220, 362, 8, 532, 357, 28741, 62, 10394, 1220, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 88, 62, 1930, 796, 2095, 62, 88, 62, 1930, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3777, 13, 33295, 26933, 28741, 62, 87, 62, 1930, 11, 4282, 62, 88, 62, 1930, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 4906, 6624, 12972, 6057, 13, 20373, 8577, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 13, 2539, 6624, 12972, 6057, 13, 42, 62, 2538, 9792, 393, 1785, 13, 2539, 6624, 12972, 6057, 13, 42, 62, 49, 9947, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 1462, 62, 87, 796, 657, 628, 220, 220, 220, 2095, 62, 87, 62, 1930, 15853, 2095, 62, 1462, 62, 87, 1635, 288, 83, 198, 220, 220, 220, 1303, 513, 13, 220, 166, 110, 234, 168, 252, 226, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 23821, 250, 226, 168, 117, 246, 23821, 254, 243, 35975, 246, 198, 220, 220, 220, 611, 2095, 62, 87, 62, 1930, 1279, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 87, 62, 1930, 796, 657, 198, 220, 220, 220, 1288, 361, 2095, 62, 87, 62, 1930, 1875, 357, 9612, 62, 10394, 532, 2095, 62, 10394, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 87, 62, 1930, 796, 3159, 62, 10394, 532, 2095, 62, 10394, 628, 220, 220, 220, 1303, 31619, 105, 112, 166, 116, 108, 23821, 251, 112, 167, 237, 247, 23821, 94, 108, 168, 254, 230, 198, 220, 220, 220, 3777, 796, 16410, 86, 58, 15, 4357, 266, 58, 16, 60, 532, 4282, 62, 12287, 60, 329, 266, 287, 3777, 60, 628, 220, 220, 220, 1303, 23821, 110, 250, 168, 252, 98, 168, 245, 238, 31619, 233, 123, 35975, 222, 31619, 105, 112, 166, 116, 108, 23821, 245, 228, 168, 243, 254, 166, 116, 108, 198, 220, 220, 220, 3777, 796, 16410, 86, 58, 15, 4357, 266, 58, 16, 11907, 329, 266, 287, 3777, 611, 266, 58, 16, 60, 1875, 657, 60, 628, 220, 220, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 23821, 250, 226, 168, 117, 246, 23821, 254, 243, 35975, 246, 198, 220, 220, 220, 329, 21190, 62, 312, 87, 11, 21190, 62, 2100, 287, 27056, 378, 7, 1894, 13022, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 87, 796, 21190, 62, 2100, 14692, 1930, 62, 87, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 88, 796, 21190, 62, 2100, 14692, 1930, 62, 88, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 9600, 62, 312, 87, 796, 21190, 62, 2100, 14692, 9600, 62, 312, 87, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 7857, 796, 21190, 62, 17566, 58, 1894, 2049, 62, 9600, 62, 312, 87, 4083, 1136, 62, 2554, 22446, 7857, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 10394, 796, 21190, 62, 7857, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 17015, 796, 21190, 62, 7857, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 23821, 95, 234, 11, 168, 248, 108, 31619, 110, 121, 168, 245, 238, 31619, 233, 123, 168, 243, 246, 35975, 226, 31619, 243, 234, 220, 166, 111, 113, 23821, 250, 226, 168, 117, 246, 31619, 111, 222, 166, 110, 121, 7, 169, 232, 243, 166, 110, 101, 167, 224, 246, 166, 108, 222, 167, 232, 242, 220, 169, 248, 101, 166, 111, 120, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 21190, 62, 1930, 62, 87, 1279, 657, 393, 21190, 62, 1930, 62, 87, 1875, 3159, 62, 10394, 532, 21190, 62, 10394, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2100, 14692, 1462, 62, 87, 8973, 796, 21190, 62, 2100, 14692, 1462, 62, 87, 8973, 1635, 532, 16, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 23821, 232, 97, 169, 227, 234, 35975, 112, 168, 100, 222, 168, 245, 238, 220, 169, 232, 243, 166, 110, 101, 168, 226, 250, 23821, 246, 105, 167, 251, 120, 166, 108, 222, 167, 232, 242, 220, 169, 248, 101, 166, 111, 120, 198, 220, 220, 220, 220, 220, 220, 220, 611, 21190, 62, 1930, 62, 88, 18189, 3159, 62, 17015, 532, 3800, 62, 17015, 532, 21190, 62, 17015, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2100, 14692, 1462, 62, 88, 8973, 796, 21190, 62, 2100, 14692, 15003, 62, 12287, 62, 88, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 166, 115, 116, 23821, 247, 116, 35975, 246, 220, 166, 110, 121, 168, 248, 108, 168, 245, 238, 167, 232, 242, 23821, 228, 235, 167, 237, 226, 167, 98, 120, 23821, 97, 226, 168, 245, 105, 167, 224, 246, 166, 108, 238, 7, 169, 237, 105, 167, 45539, 168, 226, 254, 220, 169, 248, 101, 166, 111, 120, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2100, 14692, 1462, 62, 88, 8973, 15853, 657, 13, 20, 628, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2100, 14692, 1930, 62, 87, 8973, 15853, 21190, 62, 2100, 14692, 1462, 62, 87, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2100, 14692, 1930, 62, 88, 8973, 15853, 21190, 62, 2100, 14692, 1462, 62, 88, 8973, 628, 220, 220, 220, 1303, 604, 13, 23821, 114, 102, 167, 237, 234, 23821, 110, 246, 167, 99, 105, 628, 220, 220, 220, 1303, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 13621, 23821, 254, 243, 167, 111, 112, 23821, 245, 227, 167, 235, 108, 35975, 112, 169, 232, 116, 198, 220, 220, 220, 2095, 62, 2554, 796, 2095, 13, 1136, 62, 2554, 3419, 198, 220, 220, 220, 2095, 62, 2554, 13, 9464, 796, 2095, 62, 87, 62, 1930, 198, 220, 220, 220, 2095, 62, 2554, 13, 4852, 796, 2095, 62, 88, 62, 1930, 628, 220, 220, 220, 329, 21190, 62, 312, 87, 11, 21190, 62, 2100, 287, 27056, 378, 7, 1894, 13022, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 87, 796, 21190, 62, 2100, 14692, 1930, 62, 87, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 88, 796, 21190, 62, 2100, 14692, 1930, 62, 88, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 9600, 62, 312, 87, 796, 21190, 62, 2100, 14692, 9600, 62, 312, 87, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 166, 111, 113, 13621, 23821, 254, 243, 167, 111, 112, 23821, 245, 227, 167, 235, 108, 35975, 112, 169, 232, 116, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2554, 796, 21190, 62, 17566, 58, 1894, 2049, 62, 9600, 62, 312, 87, 4083, 1136, 62, 2554, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2554, 13, 9464, 796, 21190, 62, 1930, 62, 87, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 2554, 13, 4852, 796, 21190, 62, 1930, 62, 88, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 166, 111, 113, 166, 111, 120, 23821, 118, 238, 167, 99, 255, 169, 226, 108, 23821, 114, 102, 167, 237, 234, 23821, 110, 246, 167, 99, 105, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2095, 62, 2554, 13, 26000, 485, 2554, 7, 1894, 2049, 62, 2554, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1204, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2491, 796, 10352, 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, 1204, 48185, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 87, 62, 1930, 796, 838, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2095, 62, 88, 62, 1930, 796, 3159, 62, 17015, 532, 2095, 62, 17015, 532, 3800, 62, 17015, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 166, 111, 113, 166, 111, 120, 31619, 105, 112, 166, 116, 108, 167, 241, 97, 23821, 114, 102, 167, 237, 234, 23821, 110, 246, 167, 99, 105, 198, 220, 220, 220, 220, 220, 220, 220, 329, 4282, 62, 312, 87, 11, 4282, 62, 2100, 287, 27056, 378, 7, 33999, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 87, 62, 1930, 796, 4282, 62, 2100, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 88, 62, 1930, 796, 4282, 62, 2100, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31619, 105, 112, 166, 116, 108, 13621, 23821, 254, 243, 167, 111, 112, 23821, 245, 227, 167, 235, 108, 35975, 112, 169, 232, 116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 2554, 796, 4282, 13, 1136, 62, 2554, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 2554, 13, 9464, 796, 4282, 62, 87, 62, 1930, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 2554, 13, 4852, 796, 4282, 62, 88, 62, 1930, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23821, 114, 102, 167, 237, 234, 23821, 110, 112, 169, 223, 105, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4282, 62, 2554, 13, 26000, 485, 2554, 7, 1894, 2049, 62, 2554, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 1462, 62, 28956, 796, 4282, 62, 312, 87, 220, 1303, 220, 47991, 112, 46695, 117, 31619, 105, 112, 166, 116, 108, 167, 98, 120, 23821, 245, 228, 168, 243, 254, 166, 116, 108, 23821, 250, 226, 47991, 250, 220, 166, 108, 240, 23821, 226, 97, 168, 254, 243, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2613, 684, 62, 1462, 62, 28956, 796, 21190, 62, 312, 87, 220, 1303, 220, 47991, 112, 46695, 117, 220, 169, 240, 235, 168, 226, 254, 35975, 226, 23821, 245, 228, 168, 243, 254, 166, 116, 108, 23821, 250, 226, 47991, 250, 220, 166, 108, 240, 23821, 226, 97, 168, 254, 243, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 21190, 62, 9600, 62, 312, 87, 1279, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 169, 246, 226, 168, 252, 105, 220, 166, 111, 113, 220, 169, 223, 105, 166, 116, 108, 23821, 254, 243, 167, 111, 112, 167, 98, 120, 220, 166, 108, 222, 168, 100, 222, 166, 111, 254, 23821, 246, 112, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 10394, 796, 21190, 62, 2554, 13, 7857, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 17015, 796, 21190, 62, 2554, 13, 7857, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31619, 224, 246, 167, 230, 254, 168, 100, 226, 220, 166, 111, 113, 23821, 254, 243, 167, 111, 112, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1402, 62, 1894, 2049, 62, 2554, 796, 21190, 62, 17566, 58, 1894, 2049, 62, 9600, 62, 312, 87, 1343, 352, 4083, 1136, 62, 2554, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1402, 62, 1894, 2049, 62, 10394, 796, 1402, 62, 1894, 2049, 62, 2554, 13, 7857, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1402, 62, 1894, 2049, 62, 17015, 796, 1402, 62, 1894, 2049, 62, 2554, 13, 7857, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23821, 247, 120, 168, 103, 121, 168, 250, 120, 167, 94, 250, 220, 169, 232, 243, 166, 110, 101, 167, 224, 246, 166, 108, 222, 167, 232, 242, 23821, 252, 239, 35975, 222, 220, 166, 111, 113, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35485, 13, 33295, 15090, 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, 1930, 62, 87, 1298, 21190, 62, 1930, 62, 87, 1343, 357, 1894, 2049, 62, 10394, 1220, 362, 8, 532, 357, 17470, 62, 1894, 2049, 62, 10394, 1220, 362, 828, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 2124, 23821, 95, 234, 169, 239, 250, 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, 1930, 62, 88, 1298, 21190, 62, 1930, 62, 88, 1343, 357, 1894, 2049, 62, 17015, 1220, 362, 8, 532, 357, 17470, 62, 1894, 2049, 62, 17015, 1220, 362, 828, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 331, 168, 95, 234, 169, 239, 250, 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, 9600, 62, 312, 87, 1298, 21190, 62, 9600, 62, 312, 87, 1343, 352, 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, 366, 1462, 62, 87, 1298, 532, 18, 11, 220, 1303, 2124, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 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, 1462, 62, 88, 1298, 532, 21, 11, 220, 1303, 331, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 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, 15003, 62, 12287, 62, 88, 1298, 21190, 62, 12287, 62, 88, 58, 1894, 2049, 62, 9600, 62, 312, 87, 1343, 352, 60, 220, 1303, 331, 23821, 113, 250, 168, 112, 230, 23821, 228, 235, 167, 237, 226, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32092, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23821, 246, 97, 167, 98, 116, 168, 103, 121, 168, 250, 120, 167, 94, 250, 220, 169, 232, 243, 166, 110, 101, 167, 224, 246, 166, 108, 222, 167, 232, 242, 23821, 252, 239, 35975, 222, 220, 166, 111, 113, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35485, 13, 33295, 15090, 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, 1930, 62, 87, 1298, 21190, 62, 1930, 62, 87, 1343, 357, 1894, 2049, 62, 10394, 1220, 362, 8, 532, 357, 17470, 62, 1894, 2049, 62, 10394, 1220, 362, 828, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 2124, 23821, 95, 234, 169, 239, 250, 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, 1930, 62, 88, 1298, 21190, 62, 1930, 62, 88, 1343, 357, 1894, 2049, 62, 17015, 1220, 362, 8, 532, 357, 17470, 62, 1894, 2049, 62, 17015, 1220, 362, 828, 220, 1303, 220, 169, 240, 235, 168, 226, 254, 35975, 246, 331, 168, 95, 234, 169, 239, 250, 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, 9600, 62, 312, 87, 1298, 21190, 62, 9600, 62, 312, 87, 1343, 352, 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, 366, 1462, 62, 87, 1298, 1343, 18, 11, 220, 1303, 2124, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 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, 1462, 62, 88, 1298, 532, 21, 11, 220, 1303, 331, 168, 114, 243, 23821, 251, 112, 167, 237, 247, 31619, 108, 102, 169, 244, 98, 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, 15003, 62, 12287, 62, 88, 1298, 21190, 62, 12287, 62, 88, 58, 1894, 2049, 62, 9600, 62, 312, 87, 1343, 352, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32092, 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, 2073, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 220, 220, 220, 611, 2613, 684, 62, 1462, 62, 28956, 1875, 532, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1619, 35485, 58, 1894, 684, 62, 1462, 62, 28956, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2613, 684, 62, 1462, 62, 28956, 796, 532, 16, 628, 220, 220, 220, 611, 4282, 62, 1462, 62, 28956, 1875, 532, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1619, 3777, 58, 28741, 62, 1462, 62, 28956, 60, 198, 220, 220, 220, 220, 220, 220, 220, 4282, 62, 1462, 62, 28956, 796, 532, 16, 628, 220, 220, 220, 1303, 31619, 103, 101, 167, 241, 254, 220, 166, 111, 113, 35975, 226, 23821, 245, 228, 168, 243, 97, 166, 110, 121, 168, 248, 108, 220, 166, 110, 234, 168, 252, 226, 23821, 95, 227, 167, 96, 234, 198, 220, 220, 220, 611, 18896, 7, 1894, 13022, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 983, 62, 20274, 796, 366, 37057, 13248, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2491, 796, 10352, 628, 220, 220, 220, 1303, 642, 13, 220, 169, 247, 242, 167, 102, 112, 168, 245, 238, 220, 166, 115, 116, 167, 99, 105, 166, 116, 108, 532, 3159, 13, 2436, 270, 198, 220, 220, 220, 3159, 13, 2436, 270, 7, 25249, 11, 357, 15, 11, 657, 4008, 198, 220, 220, 220, 329, 4282, 62, 87, 62, 1930, 11, 4282, 62, 88, 62, 1930, 287, 3777, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3159, 13, 2436, 270, 7, 28741, 11, 357, 28741, 62, 87, 62, 1930, 11, 4282, 62, 88, 62, 1930, 4008, 628, 220, 220, 220, 329, 4686, 87, 11, 1188, 287, 27056, 378, 7, 1894, 13022, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 87, 796, 1188, 14692, 1930, 62, 87, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 1930, 62, 88, 796, 1188, 14692, 1930, 62, 88, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 21190, 62, 9600, 62, 312, 87, 796, 1188, 14692, 9600, 62, 312, 87, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 3159, 13, 2436, 270, 7, 1894, 2049, 62, 17566, 58, 1894, 2049, 62, 9600, 62, 312, 87, 4357, 357, 1894, 2049, 62, 1930, 62, 87, 11, 21190, 62, 1930, 62, 88, 4008, 628, 220, 220, 220, 3159, 13, 2436, 270, 7, 14247, 11, 357, 15, 11, 3800, 62, 88, 62, 1930, 4008, 198, 220, 220, 220, 3159, 13, 2436, 270, 7, 22769, 11, 357, 22769, 62, 87, 62, 1930, 11, 2095, 62, 88, 62, 1930, 4008, 628, 220, 220, 220, 783, 62, 6042, 796, 983, 62, 10331, 13, 13287, 7, 2536, 7, 600, 7, 6042, 36911, 6407, 11, 357, 15, 11, 657, 11, 657, 4008, 198, 220, 220, 220, 3159, 13, 2436, 270, 7, 2197, 62, 6042, 11, 357, 9612, 62, 10394, 532, 1542, 11, 838, 4008, 628, 220, 220, 220, 42118, 62, 2435, 796, 357, 9078, 6057, 13, 2435, 13, 1136, 62, 83, 3378, 3419, 532, 923, 62, 83, 3378, 8, 1220, 8576, 198, 220, 220, 220, 19781, 796, 983, 62, 10331, 13, 13287, 7, 69, 1, 7575, 1058, 1391, 600, 7, 23350, 62, 2435, 532, 42118, 62, 2435, 38165, 1600, 6407, 11, 357, 15, 11, 657, 11, 657, 4008, 198, 220, 220, 220, 3159, 13, 2436, 270, 7, 45016, 11, 357, 940, 11, 838, 4008, 628, 220, 220, 220, 1303, 23821, 233, 250, 166, 108, 226, 23821, 112, 230, 166, 111, 120, 198, 220, 220, 220, 611, 2472, 62, 2435, 532, 42118, 62, 2435, 19841, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 983, 62, 20274, 796, 366, 7575, 3827, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2491, 796, 10352, 628, 220, 220, 220, 12972, 6057, 13, 13812, 13, 19119, 3419, 198, 2, 220, 166, 110, 234, 168, 252, 226, 23821, 246, 97, 167, 110, 226, 31619, 102, 242, 168, 233, 250, 168, 100, 222, 23821, 254, 222, 168, 252, 98, 198, 19662, 796, 983, 62, 10331, 13, 13287, 7, 6057, 62, 20274, 11, 6407, 11, 357, 15, 11, 657, 11, 657, 4008, 198, 19662, 62, 2554, 796, 31456, 13, 1136, 62, 2554, 7, 16159, 16193, 600, 7, 9612, 62, 10394, 1220, 362, 828, 493, 7, 9612, 62, 17015, 1220, 362, 22305, 198, 198, 9612, 13, 2436, 270, 7, 19662, 11, 31456, 62, 2554, 8, 198, 9078, 6057, 13, 13812, 13, 19119, 3419, 198, 198, 9078, 6057, 13, 2435, 13, 40850, 7, 11024, 8, 198, 198, 9078, 6057, 13, 47391, 3419, 198 ]
1.505186
6,170
'''VGG11/13/16/19 in Pytorch.''' import torch import torch.nn as nn import torchvision.models as models import torch.nn.functional as F from ipdb import set_trace as bp cfg = { 'VGG16_POST': [512, 512, 'M'] }
[ 7061, 6, 53, 11190, 1157, 14, 1485, 14, 1433, 14, 1129, 287, 9485, 13165, 354, 2637, 7061, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 10178, 13, 27530, 355, 4981, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 198, 6738, 20966, 9945, 1330, 900, 62, 40546, 355, 275, 79, 198, 198, 37581, 796, 1391, 198, 220, 220, 220, 705, 53, 11190, 1433, 62, 32782, 10354, 685, 25836, 11, 22243, 11, 705, 44, 20520, 198, 92, 198 ]
2.559524
84
import os import pkg_resources from unittest import TestCase from cyvcf2 import VCF from vafator.annotator import Annotator import vafator.tests.utils as test_utils import time from logzero import logger
[ 11748, 28686, 201, 198, 11748, 279, 10025, 62, 37540, 201, 198, 6738, 555, 715, 395, 1330, 6208, 20448, 201, 198, 6738, 3075, 85, 12993, 17, 1330, 569, 22495, 201, 198, 6738, 410, 1878, 1352, 13, 34574, 1352, 1330, 1052, 1662, 1352, 201, 198, 11748, 410, 1878, 1352, 13, 41989, 13, 26791, 355, 1332, 62, 26791, 201, 198, 11748, 640, 201, 198, 6738, 2604, 22570, 1330, 49706, 201, 198, 201, 198 ]
3.057143
70
# # Implementation of the exhaustive search algorithm # import sys, time import main.tuner.search.search #----------------------------------------------------- class Exhaustive(main.tuner.search.search.Search): '''The search engine that uses an exhaustive search approach''' def __init__(self, cfrags, axis_names, axis_val_ranges, constraint, time_limit, total_runs, search_opts, cmd_line_opts, ptcodegen, ptdriver, odriver): '''To instantiate an exhaustive search engine''' main.tuner.search.search.Search.__init__(self, cfrags, axis_names, axis_val_ranges, constraint, time_limit, total_runs, search_opts, cmd_line_opts, ptcodegen, ptdriver, odriver) # read all algorithm-specific arguments self.__readAlgoArgs() # complain if the total number of search runs is defined (i.e. exhaustive search # only needs to be run once) if self.total_runs > 1: print ('error: the total number of %s search runs must be one (or can be undefined)' % self.__class__.__name__) sys.exit(1) #-------------------------------------------------- def __readAlgoArgs(self): '''To read all algorithm-specific arguments''' for vname, rhs in self.search_opts.iteritems(): print ('error: unrecognized %s algorithm-specific argument: "%s"' % (self.__class__.__name__, vname)) sys.exit(1) #-------------------------------------------------- def __getNextCoord(self, coord): ''' Return the next neighboring coordinate to be considered in the search space. Return None if all coordinates in the search space have been visited. ''' next_coord = coord[:] for i in range(0, self.total_dims): ipoint = next_coord[i] iuplimit = self.dim_uplimits[i] if ipoint < iuplimit-1: next_coord[i] += 1 break else: next_coord[i] = 0 if i == self.total_dims - 1: return None return next_coord #-------------------------------------------------- def searchBestCoord(self): ''' To explore the search space and retun the coordinate that yields the best performance (i.e. minimum performance cost). ''' if self.verbose: print '\n----- begin exhaustive search -----' # record the best coordinate and its best performance cost best_coord = None best_perf_cost = self.MAXFLOAT # start the timer start_time = time.time() # start from the origin coordinate (i.e. [0,0,...]) coord = [0] * self.total_dims # evaluate every coordinate in the search space while True: # determine the performance cost of the current coordinate perf_cost = self.getPerfCost(coord) if self.verbose: print 'coordinate: %s, cost: %s' % (coord, perf_cost) # compare to the best result so far if perf_cost < best_perf_cost: best_coord = coord best_perf_cost = perf_cost if self.verbose: print '>>>> best coordinate found: %s, cost: %s' % (coord,perf_cost) # check if the time is up if self.time_limit > 0 and (time.time()-start_time) > self.time_limit: break # move to the next coordinate in the search space coord = self.__getNextCoord(coord) # check if all coordinates have been visited if coord == None: break # compute the total search time search_time = time.time() - start_time if self.verbose: print '----- end exhaustive search -----' if self.verbose: print '----- begin summary -----' if self.verbose: print ' best coordinate: %s, cost: %s' % (best_coord, best_perf_cost) if self.verbose: print ' total search time: %.2f seconds' % search_time if self.verbose: print '----- end summary -----' # return the best coordinate return best_coord
[ 2, 198, 2, 46333, 286, 262, 36049, 2989, 11862, 220, 198, 2, 198, 198, 11748, 25064, 11, 640, 198, 11748, 1388, 13, 28286, 263, 13, 12947, 13, 12947, 198, 198, 2, 3880, 19351, 12, 198, 198, 4871, 1475, 42456, 425, 7, 12417, 13, 28286, 263, 13, 12947, 13, 12947, 13, 18243, 2599, 198, 220, 220, 220, 705, 7061, 464, 2989, 3113, 326, 3544, 281, 36049, 2989, 3164, 7061, 6, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 269, 8310, 3775, 11, 16488, 62, 14933, 11, 16488, 62, 2100, 62, 81, 6231, 11, 32315, 11, 640, 62, 32374, 11, 2472, 62, 48381, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2989, 62, 404, 912, 11, 23991, 62, 1370, 62, 404, 912, 11, 42975, 8189, 5235, 11, 42975, 26230, 11, 267, 26230, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 2514, 9113, 9386, 281, 36049, 2989, 3113, 7061, 6, 628, 220, 220, 220, 220, 220, 220, 220, 1388, 13, 28286, 263, 13, 12947, 13, 12947, 13, 18243, 13, 834, 15003, 834, 7, 944, 11, 269, 8310, 3775, 11, 16488, 62, 14933, 11, 16488, 62, 2100, 62, 81, 6231, 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, 32315, 11, 640, 62, 32374, 11, 2472, 62, 48381, 11, 2989, 62, 404, 912, 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, 23991, 62, 1370, 62, 404, 912, 11, 42975, 8189, 5235, 11, 42975, 26230, 11, 267, 26230, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1100, 477, 11862, 12, 11423, 7159, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 961, 2348, 2188, 42035, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13121, 611, 262, 2472, 1271, 286, 2989, 4539, 318, 5447, 357, 72, 13, 68, 13, 36049, 2989, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 691, 2476, 284, 307, 1057, 1752, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 23350, 62, 48381, 1875, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 19203, 18224, 25, 262, 2472, 1271, 286, 4064, 82, 2989, 4539, 1276, 307, 530, 357, 273, 460, 307, 28721, 33047, 4064, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 4871, 834, 13, 834, 3672, 834, 8, 198, 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, 220, 198, 220, 220, 220, 1303, 47232, 438, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 11593, 961, 2348, 2188, 42035, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 2514, 1100, 477, 11862, 12, 11423, 7159, 7061, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 329, 410, 3672, 11, 9529, 82, 287, 2116, 13, 12947, 62, 404, 912, 13, 2676, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 19203, 18224, 25, 43483, 1143, 4064, 82, 11862, 12, 11423, 4578, 25, 36521, 82, 30543, 4064, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 944, 13, 834, 4871, 834, 13, 834, 3672, 834, 11, 410, 3672, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 1303, 47232, 438, 628, 220, 220, 220, 825, 11593, 1136, 10019, 7222, 585, 7, 944, 11, 6349, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 1306, 19651, 20435, 284, 307, 3177, 287, 262, 2989, 2272, 13, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 6045, 611, 477, 22715, 287, 262, 2989, 2272, 423, 587, 8672, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1306, 62, 37652, 796, 6349, 58, 47715, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 15, 11, 2116, 13, 23350, 62, 67, 12078, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20966, 1563, 796, 1306, 62, 37652, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 84, 489, 320, 270, 796, 2116, 13, 27740, 62, 84, 489, 320, 896, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 20966, 1563, 1279, 1312, 84, 489, 320, 270, 12, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1306, 62, 37652, 58, 72, 60, 15853, 352, 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, 1306, 62, 37652, 58, 72, 60, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 6624, 2116, 13, 23350, 62, 67, 12078, 532, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1306, 62, 37652, 628, 220, 220, 220, 1303, 47232, 438, 628, 220, 220, 220, 825, 2989, 13014, 7222, 585, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1675, 7301, 262, 2989, 2272, 290, 1005, 403, 262, 20435, 326, 19299, 262, 1266, 2854, 198, 220, 220, 220, 220, 220, 220, 220, 357, 72, 13, 68, 13, 5288, 2854, 1575, 737, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 59, 77, 30934, 2221, 36049, 2989, 13498, 19355, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1700, 262, 1266, 20435, 290, 663, 1266, 2854, 1575, 198, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 37652, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 525, 69, 62, 15805, 796, 2116, 13, 22921, 3697, 46, 1404, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 923, 262, 19781, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 2435, 796, 640, 13, 2435, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 923, 422, 262, 8159, 20435, 357, 72, 13, 68, 13, 685, 15, 11, 15, 42303, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 6349, 796, 685, 15, 60, 1635, 2116, 13, 23350, 62, 67, 12078, 220, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13446, 790, 20435, 287, 262, 2989, 2272, 198, 220, 220, 220, 220, 220, 220, 220, 981, 6407, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5004, 262, 2854, 1575, 286, 262, 1459, 20435, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23035, 62, 15805, 796, 2116, 13, 1136, 5990, 69, 13729, 7, 37652, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 37652, 4559, 25, 4064, 82, 11, 1575, 25, 4064, 82, 6, 4064, 357, 37652, 11, 23035, 62, 15805, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8996, 284, 262, 1266, 1255, 523, 1290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 23035, 62, 15805, 1279, 1266, 62, 525, 69, 62, 15805, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 37652, 796, 6349, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 525, 69, 62, 15805, 796, 23035, 62, 15805, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 16471, 1266, 20435, 1043, 25, 4064, 82, 11, 1575, 25, 4064, 82, 6, 4064, 357, 37652, 11, 525, 69, 62, 15805, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2198, 611, 262, 640, 318, 510, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 2435, 62, 32374, 1875, 657, 290, 357, 2435, 13, 2435, 3419, 12, 9688, 62, 2435, 8, 1875, 2116, 13, 2435, 62, 32374, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1445, 284, 262, 1306, 20435, 287, 262, 2989, 2272, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6349, 796, 2116, 13, 834, 1136, 10019, 7222, 585, 7, 37652, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2198, 611, 477, 22715, 423, 587, 8672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6349, 6624, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 24061, 262, 2472, 2989, 640, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 62, 2435, 796, 640, 13, 2435, 3419, 532, 923, 62, 2435, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 30934, 886, 36049, 2989, 13498, 19355, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 30934, 2221, 10638, 13498, 19355, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 1266, 20435, 25, 4064, 82, 11, 1575, 25, 4064, 82, 6, 4064, 357, 13466, 62, 37652, 11, 1266, 62, 525, 69, 62, 15805, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 2472, 2989, 640, 25, 4064, 13, 17, 69, 4201, 6, 4064, 2989, 62, 2435, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19011, 577, 25, 3601, 705, 30934, 886, 10638, 13498, 19355, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1441, 262, 1266, 20435, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1266, 62, 37652, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 628 ]
2.282871
1,909
import os import joblib classifier = joblib.load(r'smartirrigation.pkl') # importing Flask and other modules from flask import Flask, request, render_template import numpy as np # Flask constructor app = Flask(__name__) # A decorator used to tell the application # which URL is associated function @app.route('/', methods = ["GET", "POST"]) if __name__=='__main__': port = int(os.environ.get("PORT", 5000)) app.run(host='0.0.0.0', port=port)
[ 11748, 28686, 201, 198, 11748, 1693, 8019, 201, 198, 4871, 7483, 796, 1693, 8019, 13, 2220, 7, 81, 338, 13822, 343, 4359, 341, 13, 79, 41582, 11537, 201, 198, 201, 198, 2, 33332, 46947, 290, 584, 13103, 201, 198, 6738, 42903, 1330, 46947, 11, 2581, 11, 8543, 62, 28243, 220, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 220, 220, 201, 198, 2, 46947, 23772, 201, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 220, 220, 220, 201, 198, 220, 220, 201, 198, 2, 317, 11705, 1352, 973, 284, 1560, 262, 3586, 201, 198, 2, 543, 10289, 318, 3917, 2163, 201, 198, 31, 1324, 13, 38629, 10786, 14, 3256, 5050, 796, 14631, 18851, 1600, 366, 32782, 8973, 8, 201, 198, 220, 220, 201, 198, 361, 11593, 3672, 834, 855, 6, 834, 12417, 834, 10354, 201, 198, 220, 220, 2493, 796, 493, 7, 418, 13, 268, 2268, 13, 1136, 7203, 15490, 1600, 23336, 4008, 201, 198, 220, 220, 598, 13, 5143, 7, 4774, 11639, 15, 13, 15, 13, 15, 13, 15, 3256, 2493, 28, 634, 8, 201, 198 ]
2.681564
179
""" Django settings for bebotPlatform project. Generated by 'django-admin startproject' using Django 2.0.1. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PROJECT_ROOT = os.path.abspath(os.path.join(BASE_DIR, '..')) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'w7hotrp-fj11%$fp1gc)uoqk3zwx@5nmucgy-2sd&aht4gt80c' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['localhost', '127.0.0.1','142.93.189.104'] # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sites', 'webPlatform', 'vote', 'actstream', 'notifications', ] SITE_ID = 1 MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.locale.LocaleMiddleware', ] ROOT_URLCONF = 'bebotPlatform.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, "templates")], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'bebotPlatform.wsgi.application' # Database # https://docs.djangoproject.com/en/2.0/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'bebotDB', 'USER': 'bebot', 'PASSWORD': 'bebot', 'HOST': 'localhost', 'PORT': '', } } # Password validation # https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/2.0/topics/i18n/ TIME_ZONE = 'America/Santiago' USE_I18N = True USE_L10N = True USE_TZ = False # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), ] # File handler MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') # Language LANGUAGE_CODE = 'es' LANGUAGES = [ ('es', _('Spanish')) ] LOCALE_PATH = (os.path.join(BASE_DIR,'locale')) # Email setting EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 25 EMAIL_HOST_USER = '[email protected]' EMAIL_HOST_PASSWORD = 'bebotproject' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' SMTP_ENABLED = True EMAIL_HOST_MEDGO = '[email protected]' TEMPLATED_EMAIL_TEMPLATE_DIR = 'templated_email/' #use '' for top level template dir, ensure there is a trailing slash TEMPLATED_EMAIL_FILE_EXTENSION = 'email' # Images Avatar DJANGORESIZED_DEFAULT_KEEP_META = True DJANGORESIZED_DEFAULT_FORCE_FORMAT = 'JPEG' # Google GOOGLE_RECAPTCHA_SECRET_KEY = '6LfuJEAUAAAAAJdnw0LxAKSlMbhEeYt8ijfoUNyl' # ACTSTREAM ACTSTREAM_SETTINGS = { 'FETCH_RELATIONS': True, 'USE_PREFETCH': True, 'USE_JSONFIELD': True, 'GFK_FETCH_DEPTH': 1, } # Notification NOTIFICATIONS_SOFT_DELETE=True
[ 37811, 198, 35, 73, 14208, 6460, 329, 307, 13645, 37148, 1628, 13, 198, 198, 8645, 515, 416, 705, 28241, 14208, 12, 28482, 923, 16302, 6, 1262, 37770, 362, 13, 15, 13, 16, 13, 198, 198, 1890, 517, 1321, 319, 428, 2393, 11, 766, 198, 5450, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 4852, 873, 14, 33692, 14, 198, 198, 1890, 262, 1336, 1351, 286, 6460, 290, 511, 3815, 11, 766, 198, 5450, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 5420, 14, 33692, 14, 198, 37811, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 62, 75, 12582, 355, 4808, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 198, 198, 11748, 28686, 198, 198, 2, 10934, 13532, 2641, 262, 1628, 588, 428, 25, 28686, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 11, 2644, 8, 198, 33, 11159, 62, 34720, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 22305, 198, 31190, 23680, 62, 13252, 2394, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 11, 705, 492, 6, 4008, 198, 198, 2, 12029, 12, 9688, 2478, 6460, 532, 48092, 4674, 329, 3227, 198, 2, 4091, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 4919, 1462, 14, 2934, 1420, 434, 14, 9122, 4868, 14, 198, 198, 2, 10729, 4261, 9050, 39410, 25, 1394, 262, 3200, 1994, 973, 287, 3227, 3200, 0, 198, 23683, 26087, 62, 20373, 796, 705, 86, 22, 8940, 81, 79, 12, 69, 73, 1157, 4, 3, 46428, 16, 36484, 8, 20895, 80, 74, 18, 89, 49345, 31, 20, 21533, 1229, 1360, 12, 17, 21282, 5, 993, 83, 19, 13655, 1795, 66, 6, 198, 198, 2, 10729, 4261, 9050, 39410, 25, 836, 470, 1057, 351, 14257, 2900, 319, 287, 3227, 0, 198, 30531, 796, 6407, 198, 198, 7036, 3913, 1961, 62, 39, 10892, 50, 796, 37250, 36750, 3256, 705, 16799, 13, 15, 13, 15, 13, 16, 41707, 23726, 13, 6052, 13, 23362, 13, 13464, 20520, 628, 198, 2, 15678, 6770, 198, 198, 38604, 7036, 1961, 62, 2969, 3705, 796, 685, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 28482, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 11299, 19199, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 82, 6202, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 37348, 1095, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 12708, 16624, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 10734, 1096, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 49315, 3256, 198, 220, 220, 220, 705, 12384, 37148, 3256, 198, 220, 220, 220, 705, 27257, 3256, 198, 220, 220, 220, 705, 529, 5532, 3256, 198, 220, 220, 220, 705, 1662, 6637, 3256, 198, 60, 198, 198, 50, 12709, 62, 2389, 796, 352, 198, 198, 44, 2389, 35, 2538, 33746, 796, 685, 198, 220, 220, 220, 705, 28241, 14208, 13, 27171, 1574, 13, 12961, 13, 24074, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 82, 6202, 13, 27171, 1574, 13, 36044, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 27171, 1574, 13, 11321, 13, 17227, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 27171, 1574, 13, 6359, 41871, 13, 34, 27891, 69, 7680, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 27171, 1574, 13, 47649, 3299, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 37348, 1095, 13, 27171, 1574, 13, 12837, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 27171, 1574, 13, 12976, 73, 5430, 13, 55, 19778, 29046, 34621, 1574, 3256, 198, 220, 220, 220, 705, 28241, 14208, 13, 27171, 1574, 13, 17946, 1000, 13, 33711, 1000, 34621, 1574, 3256, 198, 60, 198, 198, 13252, 2394, 62, 4261, 5639, 1340, 37, 796, 705, 1350, 13645, 37148, 13, 6371, 82, 6, 198, 198, 51, 3620, 6489, 29462, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 31098, 10619, 10354, 705, 28241, 14208, 13, 28243, 13, 1891, 2412, 13, 28241, 14208, 13, 35, 73, 14208, 12966, 17041, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 34720, 50, 10354, 685, 418, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 11, 366, 11498, 17041, 4943, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 705, 24805, 62, 34720, 50, 10354, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3185, 51, 11053, 10354, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 22866, 62, 14681, 669, 10354, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28241, 14208, 13, 28243, 13, 22866, 62, 14681, 669, 13, 72, 1507, 77, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28241, 14208, 13, 28243, 13, 22866, 62, 14681, 669, 13, 24442, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28241, 14208, 13, 28243, 13, 22866, 62, 14681, 669, 13, 25927, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 22866, 62, 14681, 669, 13, 18439, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 28241, 14208, 13, 3642, 822, 13, 37348, 1095, 13, 22866, 62, 14681, 669, 13, 37348, 1095, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 8964, 198, 60, 628, 198, 19416, 18878, 62, 2969, 31484, 6234, 796, 705, 1350, 13645, 37148, 13, 18504, 12397, 13, 31438, 6, 628, 198, 2, 24047, 198, 2, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 5420, 14, 33692, 31113, 19608, 18826, 198, 198, 35, 1404, 6242, 1921, 1546, 796, 1391, 198, 220, 220, 220, 705, 12286, 10354, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 26808, 8881, 10354, 705, 28241, 14208, 13, 9945, 13, 1891, 2412, 13, 28744, 13976, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20608, 10354, 705, 1350, 13645, 11012, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 29904, 10354, 705, 1350, 13645, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 47924, 54, 12532, 10354, 705, 1350, 13645, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 39, 10892, 10354, 705, 36750, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15490, 10354, 705, 3256, 198, 220, 220, 220, 1782, 198, 92, 198, 198, 2, 30275, 21201, 198, 2, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 5420, 14, 33692, 31113, 18439, 12, 28712, 12, 12102, 2024, 198, 198, 32, 24318, 62, 47924, 54, 12532, 62, 23428, 2389, 1404, 20673, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20608, 10354, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 28712, 62, 12102, 341, 13, 12982, 33682, 18925, 414, 47139, 1352, 3256, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20608, 10354, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 28712, 62, 12102, 341, 13, 44046, 24539, 47139, 1352, 3256, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20608, 10354, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 28712, 62, 12102, 341, 13, 17227, 35215, 47139, 1352, 3256, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20608, 10354, 705, 28241, 14208, 13, 3642, 822, 13, 18439, 13, 28712, 62, 12102, 341, 13, 45, 39223, 35215, 47139, 1352, 3256, 198, 220, 220, 220, 8964, 198, 60, 628, 198, 2, 4037, 1634, 198, 2, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 4852, 873, 14, 72, 1507, 77, 14, 198, 198, 34694, 62, 57, 11651, 796, 705, 18165, 14, 50, 17096, 3839, 6, 198, 198, 19108, 62, 40, 1507, 45, 796, 6407, 198, 198, 19108, 62, 43, 940, 45, 796, 6407, 198, 198, 19108, 62, 51, 57, 796, 10352, 628, 198, 2, 36125, 3696, 357, 49155, 11, 11933, 11, 5382, 8, 198, 2, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 17, 13, 15, 14, 4919, 1462, 14, 12708, 12, 16624, 14, 198, 198, 35744, 2149, 62, 21886, 796, 31051, 12708, 14, 6, 198, 35744, 2149, 46700, 1546, 62, 34720, 50, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 11, 366, 12708, 12340, 198, 60, 198, 198, 2, 9220, 21360, 198, 30733, 3539, 62, 21886, 796, 31051, 11431, 14, 6, 198, 30733, 3539, 62, 13252, 2394, 796, 28686, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 11, 705, 11431, 11537, 198, 198, 2, 15417, 198, 43, 15567, 52, 11879, 62, 34, 16820, 796, 705, 274, 6, 198, 43, 15567, 52, 25552, 796, 685, 198, 220, 220, 220, 19203, 274, 3256, 4808, 10786, 43584, 6, 4008, 198, 60, 198, 29701, 21358, 62, 34219, 796, 357, 418, 13, 6978, 13, 22179, 7, 33, 11159, 62, 34720, 4032, 17946, 1000, 6, 4008, 198, 198, 2, 9570, 4634, 198, 27630, 4146, 62, 19108, 62, 51, 6561, 796, 6407, 198, 27630, 4146, 62, 39, 10892, 796, 705, 5796, 34788, 13, 14816, 13, 785, 6, 198, 27630, 4146, 62, 15490, 796, 1679, 198, 27630, 4146, 62, 39, 10892, 62, 29904, 796, 705, 3856, 20630, 13, 16775, 31, 14816, 13, 785, 6, 198, 27630, 4146, 62, 39, 10892, 62, 47924, 54, 12532, 796, 705, 1350, 13645, 16302, 6, 198, 27630, 4146, 62, 31098, 10619, 796, 705, 28241, 14208, 13, 7295, 13, 4529, 13, 1891, 2412, 13, 5796, 34788, 13, 15333, 7282, 437, 6, 198, 12310, 7250, 62, 1677, 6242, 30465, 796, 6407, 220, 220, 198, 27630, 4146, 62, 39, 10892, 62, 30733, 11230, 796, 705, 3856, 20630, 13, 16775, 31, 14816, 13, 785, 6, 198, 198, 51, 3620, 6489, 11617, 62, 27630, 4146, 62, 51, 3620, 6489, 6158, 62, 34720, 796, 705, 11498, 489, 515, 62, 12888, 14, 6, 1303, 1904, 10148, 329, 1353, 1241, 11055, 26672, 11, 4155, 612, 318, 257, 25462, 24632, 198, 51, 3620, 6489, 11617, 62, 27630, 4146, 62, 25664, 62, 13918, 16938, 2849, 796, 705, 12888, 6, 198, 198, 2, 5382, 26703, 198, 35028, 15567, 1581, 1546, 14887, 1961, 62, 7206, 38865, 62, 42, 35238, 62, 44, 20892, 796, 6407, 198, 35028, 15567, 1581, 1546, 14887, 1961, 62, 7206, 38865, 62, 13775, 5222, 62, 21389, 1404, 796, 705, 12889, 7156, 6, 198, 198, 2, 3012, 198, 38, 6684, 38, 2538, 62, 2200, 33177, 51, 49285, 62, 23683, 26087, 62, 20373, 796, 705, 21, 43, 20942, 41, 16412, 52, 17922, 32, 41, 32656, 86, 15, 43, 87, 10206, 11122, 44, 34369, 36, 68, 56, 83, 23, 2926, 6513, 4944, 2645, 6, 198, 198, 2, 11741, 2257, 32235, 220, 198, 10659, 2257, 32235, 62, 28480, 51, 20754, 796, 1391, 198, 220, 220, 220, 705, 37, 2767, 3398, 62, 16448, 18421, 10354, 6407, 11, 198, 220, 220, 220, 705, 19108, 62, 47, 31688, 2767, 3398, 10354, 6407, 11, 198, 220, 220, 220, 705, 19108, 62, 40386, 44603, 10354, 6407, 11, 198, 220, 220, 220, 705, 21713, 42, 62, 37, 2767, 3398, 62, 46162, 4221, 10354, 352, 11, 198, 92, 198, 198, 2, 42808, 198, 11929, 30643, 18421, 62, 15821, 9792, 62, 7206, 2538, 9328, 28, 17821, 198 ]
2.322439
2,050
# Census_CBP.py (flowsa) # !/usr/bin/env python3 # coding=utf-8 """ Pulls County Business Patterns data in NAICS from the Census Bureau Writes out to various FlowBySector class files for these data items EMP = Number of employees, Class = Employment PAYANN = Annual payroll ($1,000), Class = Money ESTAB = Number of establishments, Class = Other This script is designed to run with a configuration parameter --year = 'year' e.g. 2015 """ import pandas as pd import numpy as np import json #from flowsa.datapull import build_url, make_http_request, load_from_requests_response from flowsa.common import log, flow_by_activity_fields, get_all_state_FIPS_2, datapath
[ 2, 20962, 62, 34, 20866, 13, 9078, 357, 44041, 64, 8, 198, 2, 5145, 14, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 19617, 28, 40477, 12, 23, 198, 37811, 198, 42940, 82, 3418, 7320, 47020, 1366, 287, 11746, 19505, 422, 262, 20962, 9840, 198, 20257, 274, 503, 284, 2972, 27782, 3886, 50, 9250, 1398, 3696, 329, 777, 1366, 3709, 198, 39494, 796, 7913, 286, 4409, 11, 5016, 796, 24656, 198, 4537, 56, 22846, 796, 16328, 22235, 7198, 16, 11, 830, 828, 5016, 796, 12911, 198, 1546, 5603, 33, 796, 7913, 286, 33228, 11, 5016, 796, 3819, 198, 1212, 4226, 318, 3562, 284, 1057, 351, 257, 8398, 11507, 198, 438, 1941, 796, 705, 1941, 6, 304, 13, 70, 13, 1853, 198, 37811, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 33918, 198, 2, 6738, 15623, 64, 13, 19608, 499, 724, 1330, 1382, 62, 6371, 11, 787, 62, 4023, 62, 25927, 11, 3440, 62, 6738, 62, 8897, 3558, 62, 26209, 198, 6738, 15623, 64, 13, 11321, 1330, 2604, 11, 5202, 62, 1525, 62, 21797, 62, 25747, 11, 651, 62, 439, 62, 5219, 62, 11674, 3705, 62, 17, 11, 4818, 499, 776, 628, 628, 628 ]
3.311881
202
# This sample tests various conditions under which Unpack # can and cannot be used. # pyright: reportMissingModuleSource=false from typing import Generic, List, Tuple, TypeVar, Union from typing_extensions import TypeVarTuple, Unpack _T = TypeVar("_T") _Xs = TypeVarTuple("_Xs") # This should generate an error. x: List[Unpack[_Xs]] = [] # This should generate an error. y: Unpack[_Xs] = () # This should generate an error. z: Unpack = () # This should generate two errors because _Xs must be unpacked. # def func1(value: Array[*_Xs]) -> Tuple[complex, *_Xs, str]: # ...
[ 2, 770, 6291, 5254, 2972, 3403, 739, 543, 791, 8002, 198, 2, 460, 290, 2314, 307, 973, 13, 198, 198, 2, 279, 4766, 25, 989, 43730, 26796, 7416, 28, 9562, 198, 198, 6738, 19720, 1330, 42044, 11, 7343, 11, 309, 29291, 11, 5994, 19852, 11, 4479, 198, 6738, 19720, 62, 2302, 5736, 1330, 5994, 19852, 51, 29291, 11, 791, 8002, 628, 198, 62, 51, 796, 5994, 19852, 7203, 62, 51, 4943, 198, 62, 55, 82, 796, 5994, 19852, 51, 29291, 7203, 62, 55, 82, 4943, 628, 198, 198, 2, 770, 815, 7716, 281, 4049, 13, 198, 87, 25, 7343, 58, 3118, 8002, 29795, 55, 82, 11907, 796, 17635, 198, 198, 2, 770, 815, 7716, 281, 4049, 13, 198, 88, 25, 791, 8002, 29795, 55, 82, 60, 796, 7499, 198, 198, 2, 770, 815, 7716, 281, 4049, 13, 198, 89, 25, 791, 8002, 796, 7499, 628, 198, 198, 2, 770, 815, 7716, 734, 8563, 780, 4808, 55, 82, 1276, 307, 8593, 6021, 13, 628, 198, 2, 825, 25439, 16, 7, 8367, 25, 15690, 58, 9, 62, 55, 82, 12962, 4613, 309, 29291, 58, 41887, 11, 1635, 62, 55, 82, 11, 965, 5974, 198, 2, 220, 220, 220, 220, 2644, 198 ]
2.959799
199
# -*- coding: utf-8 -*- # # Copyright (c) 2016, Giacomo Cariello. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from zc.buildout import UserError from dockeroo import BaseGroupRecipe from dockeroo.docker import BaseDockerSubRecipe, Archive from dockeroo.utils import merge, string_as_bool class DockerGentooBootstrapRecipe(BaseGroupRecipe): """ This recipe creates a docker image that contains a full operating system (typically Gentoo). Such builder image can be used to create further docker images with :py:class:`dockeroo.docker.gentoo_build.DockerGentooBuildRecipe` recipe. The recipe executes the following tasks: 1. Extract **archives** into a docker image. 2. Create a container from such image. 3. Install "freeze" binary into the container. This is a simple no-op binary executable. 4. If a **layout** is defined, copy layout contents onto container's root. 5. Execute **build-script**. 6. If **commit** is enabled, commit modifications of image. .. describe:: Usage The following example buildout part shows how to build a full Gentoo amd64 docker image. .. code-block:: ini [crossdev_builder.img] crossdev-arch = x86_64 crossdev-platform = x86_64 crossdev-processor = x86_64 crossdev-variant = docker crossdev-abi = gnu crossdev-gentoo-profile = no-multilib crossdev-gentoo-platform = amd64 crossdev-gentoo-platform-flavor = amd64 recipe = dockeroo:docker.gentoo-bootstrap image = dockeroo/builder_${:crossdev-arch}:latest container = dockeroo_builder_${:crossdev-arch} volumes-from = ${distfiles:container} gentoo-platform = amd64 gentoo-platform-flavor = amd64-nomultilib gentoo-version = 20160414 archives = http://distfiles.gentoo.org/releases/${:gentoo-platform}/autobuilds/${:gentoo-version}/stage3-${:gentoo-platform-flavor}-${:gentoo-version}.tar.bz2 commit = true keep = true layout = ${buildout:containers-directory}/builder_${:crossdev-arch} build-script = test -d /usr/portage/profiles || emerge-webrsync emerge --sync emerge -uDNvkb world emerge -nNuvkb sys-devel/crossdev test -e /usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}/.crossdev || \ crossdev -S -v -t ${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi} --ov-output /usr/local/portage-crossdev-${:crossdev-arch} -P -kb && \ touch /usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}/.crossdev (cd /usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}/etc/portage && \ rm -f make.profile && ln -s /usr/portage/profiles/default/linux/${:crossdev-gentoo-platform}/13.0/${:crossdev-gentoo-profile} make.profile) ROOT=/usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi} \ ${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}-emerge -nuvkb1 --keep-going sys-apps/baselayout ROOT=/usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi} \ ${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}-emerge -nuvkb1 --keep-going $(egrep '^[a-z]+' /usr/portage/profiles/default/linux/packages.build) ROOT=/usr/${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi} \ ${:crossdev-processor}-${:crossdev-variant}-linux-${:crossdev-abi}-emerge -nuvkb1 --keep-going sys-apps/portage sys-apps/openrc net-misc/netifrc app-portage/gentoolkit chroot-${:crossdev-arch}-docker -c locale-gen chroot-${:crossdev-arch}-docker -c env-update To use the above part, several other files are necessary, to be copied in via **layout**:: /etc/locale.gen /etc/portage/repos.conf/crossdev.conf /etc/portage/repos.conf/local.conf /usr/local/bin/chroot-x86_64-docker /usr/local/portage-crossdev-x86_64/metadata/layout.conf /usr/local/portage-crossdev-x86_64/profiles/repo_name /usr/x86_64-docker-linux-gnu/dockeroo-root/.keep /usr/x86_64-docker-linux-gnu/etc/bash/bashrc.d/emerge-chroot /usr/x86_64-docker-linux-gnu/etc/locale.gen /usr/x86_64-docker-linux-gnu/etc/portage/make.conf Here's an example of chroot-x86_64-docker script, useful to build docker images with :py:class:`dockeroo.docker.gentoo_build.DockerGentooBuildRecipe` recipe: .. code-block:: bash #!/bin/sh cd /usr/x86_64-docker-linux-gnu set -e mkdir -p dev proc sys tmp etc/portage/repos.conf usr/portage usr/local/portage-crossdev-x86_64/packages var/lib/layman mount -o bind /dev dev mount -o bind /dev/pts dev/pts mount -o bind /dev/shm dev/shm mount -o bind /etc/portage/repos.conf etc/portage/repos.conf mount -o bind /proc proc mount -o bind /sys sys mount -o bind /tmp tmp mount -o bind /usr/portage usr/portage mount -o bind /usr/portage/distfiles usr/portage/distfiles mount -o bind /usr/local/portage-crossdev-x86_64 usr/local/portage-crossdev-x86_64 mount -o bind /usr/local/portage-crossdev-x86_64/packages usr/local/portage-crossdev-x86_64/packages mount -o bind /var/lib/layman var/lib/layman cp /etc/resolv.conf etc/resolv.conf set +e chroot . /bin/bash --login "$@" ret=$? set -e umount var/lib/layman umount usr/local/portage-crossdev-x86_64/packages umount usr/local/portage-crossdev-x86_64 umount usr/portage/distfiles umount usr/portage umount tmp umount sys umount proc umount etc/portage/repos.conf umount dev/shm umount dev/pts umount dev set +e exit $ret .. describe:: Configuration options archives List of URLs of operating system initial filesystem contents (Gentoo stageX). crossdev-platform Name of destination platform. If enabled, allows automatic configuration of QEMU binfmt mapping. command Command to execute upon container starting. Defaults to "/bin/freeze". commit Commit image changes after recipe install execution. Defaults to false. container Name of build container. keep Don't delete image upon uninstall. layout Copies a local folder to container's root with **docker cp**. machine-name Docker machine where **build-image** and **base-image** reside. Defaults to DOCKER_MACHINE_NAME environment variable or "default" if unset. name Name of destination image. Defaults to part name. build-script Execute this script after extraction of archives filesystem and import of layout. tag Tag name. Defaults to "latest". timeout **docker** command timeout. tty Assign a **Pseudo-TTY** to the container. volumes Volumes to bind mount, one per line. Format is <path>:<mountpoint>. volumes-from Mount volumes from specified container. """ subrecipe_class = DockerGentooBootstrapSubRecipe
[ 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 198, 2, 15069, 357, 66, 8, 1584, 11, 8118, 330, 17902, 1879, 494, 18798, 13, 1439, 2489, 10395, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 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, 628, 198, 6738, 1976, 66, 13, 11249, 448, 1330, 11787, 12331, 198, 198, 6738, 36253, 2238, 1330, 7308, 13247, 37523, 198, 6738, 36253, 2238, 13, 45986, 1330, 7308, 35, 12721, 7004, 37523, 11, 20816, 198, 6738, 36253, 2238, 13, 26791, 1330, 20121, 11, 4731, 62, 292, 62, 30388, 628, 198, 198, 4871, 25716, 38, 298, 2238, 36476, 26418, 37523, 7, 14881, 13247, 37523, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 8364, 8075, 257, 36253, 2939, 326, 4909, 257, 1336, 5361, 1080, 357, 48126, 27391, 2238, 737, 198, 220, 220, 220, 8013, 27098, 2939, 460, 307, 973, 284, 2251, 2252, 36253, 4263, 351, 1058, 9078, 25, 4871, 25, 63, 45986, 2238, 13, 45986, 13, 6783, 2238, 62, 11249, 13, 35, 12721, 38, 298, 2238, 15580, 37523, 63, 8364, 13, 628, 220, 220, 220, 383, 8364, 42985, 262, 1708, 8861, 25, 628, 220, 220, 220, 352, 13, 29677, 12429, 48814, 1174, 656, 257, 36253, 2939, 13, 198, 220, 220, 220, 362, 13, 13610, 257, 9290, 422, 884, 2939, 13, 198, 220, 220, 220, 513, 13, 15545, 366, 5787, 2736, 1, 13934, 656, 262, 9290, 13, 770, 318, 257, 2829, 645, 12, 404, 13934, 28883, 13, 198, 220, 220, 220, 604, 13, 1002, 257, 12429, 39786, 1174, 318, 5447, 11, 4866, 12461, 10154, 4291, 9290, 338, 6808, 13, 198, 220, 220, 220, 642, 13, 8393, 1133, 12429, 11249, 12, 12048, 1174, 13, 198, 220, 220, 220, 718, 13, 1002, 12429, 41509, 1174, 318, 9343, 11, 4589, 19008, 286, 2939, 13, 628, 220, 220, 220, 11485, 6901, 3712, 29566, 628, 220, 220, 220, 220, 220, 220, 383, 1708, 1672, 1382, 448, 636, 2523, 703, 284, 1382, 257, 1336, 27391, 2238, 39971, 2414, 36253, 2939, 13, 628, 220, 220, 220, 11485, 2438, 12, 9967, 3712, 287, 72, 628, 220, 220, 220, 220, 220, 220, 685, 19692, 7959, 62, 38272, 13, 9600, 60, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 998, 796, 2124, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 24254, 796, 2124, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 41341, 796, 2124, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 25641, 415, 796, 36253, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 17914, 796, 19967, 84, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 6783, 2238, 12, 13317, 796, 645, 12, 16680, 22282, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 6783, 2238, 12, 24254, 796, 39971, 2414, 198, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 6783, 2238, 12, 24254, 12, 2704, 5570, 796, 39971, 2414, 198, 220, 220, 220, 220, 220, 220, 8364, 796, 36253, 2238, 25, 45986, 13, 6783, 2238, 12, 18769, 26418, 198, 220, 220, 220, 220, 220, 220, 2939, 796, 36253, 2238, 14, 38272, 62, 38892, 25, 19692, 7959, 12, 998, 38362, 42861, 198, 220, 220, 220, 220, 220, 220, 9290, 796, 36253, 2238, 62, 38272, 62, 38892, 25, 19692, 7959, 12, 998, 92, 198, 220, 220, 220, 220, 220, 220, 15343, 12, 6738, 796, 25597, 17080, 16624, 25, 34924, 92, 198, 220, 220, 220, 220, 220, 220, 25049, 2238, 12, 24254, 796, 39971, 2414, 198, 220, 220, 220, 220, 220, 220, 25049, 2238, 12, 24254, 12, 2704, 5570, 796, 39971, 2414, 12, 26601, 586, 22282, 198, 220, 220, 220, 220, 220, 220, 25049, 2238, 12, 9641, 796, 1584, 3023, 1415, 198, 220, 220, 220, 220, 220, 220, 22415, 796, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2638, 1378, 17080, 16624, 13, 6783, 2238, 13, 2398, 14, 260, 29329, 32624, 90, 25, 6783, 2238, 12, 24254, 92, 14, 2306, 672, 3547, 82, 32624, 90, 25, 6783, 2238, 12, 9641, 92, 14, 14247, 18, 22799, 90, 25, 6783, 2238, 12, 24254, 12, 2704, 5570, 92, 22799, 90, 25, 6783, 2238, 12, 9641, 27422, 18870, 13, 65, 89, 17, 198, 220, 220, 220, 220, 220, 220, 4589, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 1394, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 12461, 796, 25597, 11249, 448, 25, 3642, 50221, 12, 34945, 92, 14, 38272, 62, 38892, 25, 19692, 7959, 12, 998, 92, 198, 220, 220, 220, 220, 220, 220, 1382, 12, 12048, 796, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 532, 67, 1220, 14629, 14, 634, 496, 14, 5577, 2915, 8614, 14740, 12, 732, 1671, 27261, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14740, 1377, 27261, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14740, 532, 84, 35504, 85, 32812, 995, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14740, 532, 77, 45, 14795, 32812, 25064, 12, 2934, 626, 14, 19692, 7959, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 532, 68, 1220, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 11757, 19692, 7959, 8614, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3272, 7959, 532, 50, 532, 85, 532, 83, 25597, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 1377, 709, 12, 22915, 1220, 14629, 14, 12001, 14, 634, 496, 12, 19692, 7959, 22799, 90, 25, 19692, 7959, 12, 998, 92, 532, 47, 532, 32812, 11405, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3638, 1220, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 11757, 19692, 7959, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 10210, 1220, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 14, 14784, 14, 634, 496, 11405, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42721, 532, 69, 787, 13, 13317, 11405, 300, 77, 532, 82, 1220, 14629, 14, 634, 496, 14, 5577, 2915, 14, 12286, 14, 23289, 32624, 90, 25, 19692, 7959, 12, 6783, 2238, 12, 24254, 92, 14, 1485, 13, 15, 32624, 90, 25, 19692, 7959, 12, 6783, 2238, 12, 13317, 92, 787, 13, 13317, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15107, 2394, 33223, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25597, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 12, 24677, 469, 532, 77, 14795, 32812, 16, 1377, 14894, 12, 5146, 25064, 12, 18211, 14, 12093, 417, 323, 448, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15107, 2394, 33223, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25597, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 12, 24677, 469, 532, 77, 14795, 32812, 16, 1377, 14894, 12, 5146, 29568, 1533, 7856, 705, 61, 58, 64, 12, 89, 48688, 6, 1220, 14629, 14, 634, 496, 14, 5577, 2915, 14, 12286, 14, 23289, 14, 43789, 13, 11249, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15107, 2394, 33223, 14629, 32624, 90, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25597, 25, 19692, 7959, 12, 41341, 92, 22799, 90, 25, 19692, 7959, 12, 25641, 415, 92, 12, 23289, 22799, 90, 25, 19692, 7959, 12, 17914, 92, 12, 24677, 469, 532, 77, 14795, 32812, 16, 1377, 14894, 12, 5146, 25064, 12, 18211, 14, 634, 496, 25064, 12, 18211, 14, 9654, 6015, 2010, 12, 44374, 14, 3262, 361, 6015, 598, 12, 634, 496, 14, 6783, 970, 15813, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 15763, 22799, 90, 25, 19692, 7959, 12, 998, 92, 12, 45986, 532, 66, 36693, 12, 5235, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 15763, 22799, 90, 25, 19692, 7959, 12, 998, 92, 12, 45986, 532, 66, 17365, 12, 19119, 628, 220, 220, 220, 1675, 779, 262, 2029, 636, 11, 1811, 584, 3696, 389, 3306, 11, 284, 307, 18984, 287, 2884, 12429, 39786, 1174, 3712, 628, 220, 220, 220, 220, 220, 220, 1220, 14784, 14, 17946, 1000, 13, 5235, 198, 220, 220, 220, 220, 220, 220, 1220, 14784, 14, 634, 496, 14, 260, 1930, 13, 10414, 14, 19692, 7959, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 1220, 14784, 14, 634, 496, 14, 260, 1930, 13, 10414, 14, 12001, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 12001, 14, 8800, 14, 354, 15763, 12, 87, 4521, 62, 2414, 12, 45986, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 38993, 14, 39786, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 5577, 2915, 14, 260, 7501, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 87, 4521, 62, 2414, 12, 45986, 12, 23289, 12, 41791, 14, 45986, 2238, 12, 15763, 11757, 14894, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 87, 4521, 62, 2414, 12, 45986, 12, 23289, 12, 41791, 14, 14784, 14, 41757, 14, 41757, 6015, 13, 67, 14, 24677, 469, 12, 354, 15763, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 87, 4521, 62, 2414, 12, 45986, 12, 23289, 12, 41791, 14, 14784, 14, 17946, 1000, 13, 5235, 198, 220, 220, 220, 220, 220, 220, 1220, 14629, 14, 87, 4521, 62, 2414, 12, 45986, 12, 23289, 12, 41791, 14, 14784, 14, 634, 496, 14, 15883, 13, 10414, 628, 220, 220, 220, 3423, 338, 281, 1672, 286, 442, 15763, 12, 87, 4521, 62, 2414, 12, 45986, 4226, 11, 4465, 284, 1382, 36253, 4263, 351, 1058, 9078, 25, 4871, 25, 63, 45986, 2238, 13, 45986, 13, 6783, 2238, 62, 11249, 13, 35, 12721, 38, 298, 2238, 15580, 37523, 63, 8364, 25, 628, 220, 220, 220, 11485, 2438, 12, 9967, 3712, 27334, 628, 220, 220, 220, 220, 220, 220, 1303, 48443, 8800, 14, 1477, 628, 220, 220, 220, 220, 220, 220, 22927, 1220, 14629, 14, 87, 4521, 62, 2414, 12, 45986, 12, 23289, 12, 41791, 628, 220, 220, 220, 220, 220, 220, 900, 532, 68, 198, 220, 220, 220, 220, 220, 220, 33480, 15908, 532, 79, 1614, 13834, 25064, 45218, 3503, 14, 634, 496, 14, 260, 1930, 13, 10414, 514, 81, 14, 634, 496, 514, 81, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 43789, 1401, 14, 8019, 14, 10724, 805, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 7959, 1614, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 7959, 14, 457, 82, 1614, 14, 457, 82, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 7959, 14, 1477, 76, 1614, 14, 1477, 76, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 14784, 14, 634, 496, 14, 260, 1930, 13, 10414, 3503, 14, 634, 496, 14, 260, 1930, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 36942, 13834, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 17597, 25064, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 22065, 45218, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 14629, 14, 634, 496, 514, 81, 14, 634, 496, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 14629, 14, 634, 496, 14, 17080, 16624, 514, 81, 14, 634, 496, 14, 17080, 16624, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 14629, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 514, 81, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 14629, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 43789, 514, 81, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 43789, 198, 220, 220, 220, 220, 220, 220, 3817, 532, 78, 11007, 1220, 7785, 14, 8019, 14, 10724, 805, 1401, 14, 8019, 14, 10724, 805, 198, 220, 220, 220, 220, 220, 220, 31396, 1220, 14784, 14, 411, 349, 85, 13, 10414, 3503, 14, 411, 349, 85, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 900, 1343, 68, 628, 220, 220, 220, 220, 220, 220, 442, 15763, 764, 1220, 8800, 14, 41757, 1377, 38235, 17971, 31, 1, 198, 220, 220, 220, 220, 220, 220, 1005, 43641, 30, 628, 220, 220, 220, 220, 220, 220, 900, 532, 68, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 1401, 14, 8019, 14, 10724, 805, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 514, 81, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 14, 43789, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 514, 81, 14, 12001, 14, 634, 496, 12, 19692, 7959, 12, 87, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 514, 81, 14, 634, 496, 14, 17080, 16624, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 514, 81, 14, 634, 496, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 45218, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 25064, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 13834, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 3503, 14, 634, 496, 14, 260, 1930, 13, 10414, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 1614, 14, 1477, 76, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 1614, 14, 457, 82, 198, 220, 220, 220, 220, 220, 220, 334, 14948, 1614, 198, 220, 220, 220, 220, 220, 220, 900, 1343, 68, 628, 220, 220, 220, 220, 220, 220, 8420, 720, 1186, 628, 220, 220, 220, 11485, 6901, 3712, 28373, 3689, 628, 220, 220, 220, 220, 220, 220, 22415, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 286, 32336, 286, 5361, 1080, 4238, 29905, 10154, 357, 38, 298, 2238, 3800, 55, 737, 628, 220, 220, 220, 220, 220, 220, 3272, 7959, 12, 24254, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6530, 286, 10965, 3859, 13, 1002, 9343, 11, 3578, 11353, 8398, 286, 1195, 3620, 52, 9874, 69, 16762, 16855, 13, 628, 220, 220, 220, 220, 220, 220, 3141, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9455, 284, 12260, 2402, 9290, 3599, 13, 2896, 13185, 284, 12813, 8800, 14, 5787, 2736, 1911, 628, 220, 220, 220, 220, 220, 220, 4589, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35910, 2939, 2458, 706, 8364, 2721, 9706, 13, 2896, 13185, 284, 3991, 13, 628, 220, 220, 220, 220, 220, 220, 9290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6530, 286, 1382, 9290, 13, 628, 220, 220, 220, 220, 220, 220, 1394, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2094, 470, 12233, 2939, 2402, 43194, 13, 628, 220, 220, 220, 220, 220, 220, 12461, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6955, 444, 257, 1957, 9483, 284, 9290, 338, 6808, 351, 12429, 45986, 31396, 1174, 13, 628, 220, 220, 220, 220, 220, 220, 4572, 12, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25716, 4572, 810, 12429, 11249, 12, 9060, 1174, 290, 12429, 8692, 12, 9060, 1174, 26412, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2896, 13185, 284, 360, 11290, 1137, 62, 44, 16219, 8881, 62, 20608, 2858, 7885, 393, 366, 12286, 1, 611, 555, 2617, 13, 628, 220, 220, 220, 220, 220, 220, 1438, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6530, 286, 10965, 2939, 13, 2896, 13185, 284, 636, 1438, 13, 628, 220, 220, 220, 220, 220, 220, 1382, 12, 12048, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8393, 1133, 428, 4226, 706, 22236, 286, 22415, 29905, 290, 1330, 286, 12461, 13, 628, 220, 220, 220, 220, 220, 220, 7621, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17467, 1438, 13, 2896, 13185, 284, 366, 42861, 1911, 628, 220, 220, 220, 220, 220, 220, 26827, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 45986, 1174, 3141, 26827, 13, 628, 220, 220, 220, 220, 220, 220, 256, 774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2195, 570, 257, 12429, 47, 325, 12003, 12, 51, 9936, 1174, 284, 262, 9290, 13, 628, 220, 220, 220, 220, 220, 220, 15343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4709, 8139, 284, 11007, 3817, 11, 530, 583, 1627, 13, 18980, 318, 1279, 6978, 31175, 27, 14948, 4122, 28401, 628, 220, 220, 220, 220, 220, 220, 15343, 12, 6738, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5628, 15343, 422, 7368, 9290, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 850, 29102, 431, 62, 4871, 796, 25716, 38, 298, 2238, 36476, 26418, 7004, 37523, 198 ]
2.457294
3,208
#!/usr/bin python3 #importing stuffs import speech_recognition as sr import os import sys import re import webbrowser import smtplib import requests import subprocess from pyowm import OWM import youtube_dl import vlc import urllib import urllib3 import json from bs4 import BeautifulSoup as soup from urllib.request import urlopen import wikipedia import random from time import strftime from gtts import gTTS import pyttsx3 import lxml from yeelight import Bulb from yeelight import * from matplotlib import colors from tempfile import TemporaryFile import facebook import tweepy import snowboydecoder import signal import pyaudio from ibm_watson import TextToSpeechV1 from ibm_watson.websocket import SynthesizeCallback from pygame import mixer bulb = Bulb('192.168.15.2') interrupted = False text_to_speech = TextToSpeechV1( iam_apikey='9mDYXRnjmXZS5grZPaBVleJarFajeVEn-Mjp9m_sWFSm', url='https://stream.watsonplatform.net/text-to-speech/api' ) class Play(object): """ Wrapper to play the audio in a blocking mode """ test_callback = MySynthesizeCallback() while True: assistant(mic())
[ 2, 48443, 14629, 14, 8800, 21015, 18, 628, 198, 2, 11748, 278, 3404, 82, 198, 11748, 4046, 62, 26243, 653, 355, 19677, 198, 11748, 28686, 198, 11748, 25064, 198, 11748, 302, 198, 11748, 3992, 40259, 198, 11748, 895, 83, 489, 571, 198, 11748, 7007, 198, 11748, 850, 14681, 198, 6738, 12972, 322, 76, 1330, 440, 22117, 198, 11748, 35116, 62, 25404, 198, 11748, 410, 44601, 198, 11748, 2956, 297, 571, 198, 11748, 2956, 297, 571, 18, 198, 11748, 33918, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 355, 17141, 198, 6738, 2956, 297, 571, 13, 25927, 1330, 19016, 9654, 198, 11748, 47145, 11151, 198, 11748, 4738, 198, 6738, 640, 1330, 965, 31387, 198, 6738, 308, 83, 912, 1330, 308, 51, 4694, 198, 11748, 12972, 83, 912, 87, 18, 198, 11748, 300, 19875, 198, 6738, 9838, 49984, 1330, 8510, 65, 198, 6738, 9838, 49984, 1330, 1635, 198, 6738, 2603, 29487, 8019, 1330, 7577, 198, 6738, 20218, 7753, 1330, 46042, 8979, 198, 11748, 23960, 198, 11748, 4184, 538, 88, 198, 11748, 6729, 7081, 12501, 12342, 198, 11748, 6737, 198, 11748, 12972, 24051, 198, 6738, 24283, 76, 62, 86, 13506, 1330, 8255, 2514, 5248, 3055, 53, 16, 198, 6738, 24283, 76, 62, 86, 13506, 13, 732, 1443, 5459, 1330, 26375, 956, 1096, 47258, 198, 6738, 12972, 6057, 1330, 33938, 628, 198, 198, 15065, 65, 796, 8510, 65, 10786, 17477, 13, 14656, 13, 1314, 13, 17, 11537, 198, 46037, 796, 10352, 198, 5239, 62, 1462, 62, 45862, 796, 8255, 2514, 5248, 3055, 53, 16, 7, 198, 220, 220, 220, 1312, 321, 62, 499, 522, 88, 11639, 24, 76, 35, 56, 55, 49, 77, 73, 76, 55, 57, 50, 20, 2164, 57, 28875, 33, 53, 293, 47511, 37, 1228, 68, 53, 4834, 12, 44, 34523, 24, 76, 62, 82, 48397, 7556, 3256, 198, 220, 220, 220, 19016, 11639, 5450, 1378, 5532, 13, 86, 13506, 24254, 13, 3262, 14, 5239, 12, 1462, 12, 45862, 14, 15042, 6, 198, 8, 198, 198, 4871, 3811, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27323, 2848, 284, 711, 262, 6597, 287, 257, 12013, 4235, 198, 220, 220, 220, 37227, 198, 198, 9288, 62, 47423, 796, 2011, 13940, 429, 956, 1096, 47258, 3419, 628, 220, 220, 220, 220, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 8796, 7, 9383, 28955, 628, 220, 220, 220, 220, 198 ]
2.892857
392
# Copyright 2017-present Open Networking Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import print_function from __future__ import absolute_import from xossynchronizer.event_steps.eventstep import EventStep from mock_modelaccessor import *
[ 2, 15069, 2177, 12, 25579, 4946, 7311, 278, 5693, 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, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 6738, 2124, 793, 24871, 7509, 13, 15596, 62, 20214, 13, 15596, 9662, 1330, 8558, 8600, 198, 6738, 15290, 62, 19849, 15526, 273, 1330, 1635, 628 ]
3.989583
192
"""This module implements .joinall.""" from __future__ import ( unicode_literals, absolute_import, print_function, division ) from sopel import module import time @module.require_admin @module.commands('joinall') @module.thread(True) def handle_joins(bot, trigger): """Join some channels.""" channels = bot.config.core.channels if trigger.sender == '#ZppixBot': for channel in channels: bot.join(channel) time.sleep(1)
[ 37811, 1212, 8265, 23986, 764, 22179, 439, 526, 15931, 198, 198, 6738, 11593, 37443, 834, 1330, 357, 198, 220, 220, 220, 28000, 1098, 62, 17201, 874, 11, 198, 220, 220, 220, 4112, 62, 11748, 11, 198, 220, 220, 220, 3601, 62, 8818, 11, 198, 220, 220, 220, 7297, 198, 8, 198, 198, 6738, 264, 404, 417, 1330, 8265, 198, 198, 11748, 640, 628, 198, 31, 21412, 13, 46115, 62, 28482, 198, 31, 21412, 13, 9503, 1746, 10786, 22179, 439, 11537, 198, 31, 21412, 13, 16663, 7, 17821, 8, 198, 4299, 5412, 62, 7639, 1040, 7, 13645, 11, 7616, 2599, 198, 220, 220, 220, 37227, 18234, 617, 9619, 526, 15931, 198, 220, 220, 220, 9619, 796, 10214, 13, 11250, 13, 7295, 13, 354, 8961, 198, 220, 220, 220, 611, 7616, 13, 82, 2194, 6624, 705, 2, 57, 381, 844, 20630, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 329, 6518, 287, 9619, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10214, 13, 22179, 7, 17620, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8, 198 ]
2.547368
190
import requests import json from bs4 import BeautifulSoup import sys word = sys.argv[1] word = word.strip().replace("&", "+") main()
[ 11748, 7007, 198, 11748, 33918, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 198, 11748, 25064, 198, 220, 198, 4775, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 4775, 796, 1573, 13, 36311, 22446, 33491, 7203, 5, 1600, 43825, 4943, 628, 220, 220, 198, 12417, 3419, 628, 628 ]
2.84
50
# --- default imports --- # --- load utils --- from WGALP.utils.commandLauncher import run_sp from WGALP.step import Step description = """ load kraken_db in a ramdisk """ input_description = """ the position (on disk) of the kraken2 database """ output_description = """ the mounting point of the newly created ramdisk """ ### Wrapper ### Runner def krakendb_make_ramdisk_runner(step, args): """ NOTE: this requires 8GB of free RAM, be careful not to forget the ramdisk loaded... [better to be run with "force"] input: kraken_db : path output: kraken_ram_db : position of kraken2 dabtabase in the ramdisk kraken_ramdisk : ramdisk mounting point """ db = args["kraken_db"] # this command works with minikraken db, change ramdisk size if needed... command = "mount -t tmpfs -o size=8G tmpfs " + step.outpath + " && " command += "cp -R " + db + " " + step.outpath + "/kraken_db" # note that this command requies to be root (may prompt to get a password) if step.execution_mode != "read": run_sp(step, command) # organize output step.outputs = { "kraken_ram_db" : "kraken_db", "kraken_ramdisk" : "" } return step
[ 2, 11420, 4277, 17944, 11420, 198, 198, 2, 11420, 3440, 3384, 4487, 11420, 198, 6738, 370, 38, 1847, 47, 13, 26791, 13, 21812, 46182, 2044, 1330, 1057, 62, 2777, 198, 6738, 370, 38, 1847, 47, 13, 9662, 1330, 5012, 198, 198, 11213, 796, 37227, 198, 2220, 479, 430, 3464, 62, 9945, 287, 257, 15770, 39531, 198, 37811, 198, 15414, 62, 11213, 796, 37227, 198, 1169, 2292, 357, 261, 11898, 8, 286, 262, 479, 430, 3464, 17, 6831, 198, 37811, 198, 22915, 62, 11213, 796, 37227, 198, 1169, 17260, 966, 286, 262, 8308, 2727, 15770, 39531, 198, 37811, 198, 198, 21017, 27323, 2848, 198, 198, 21017, 21529, 198, 4299, 479, 17716, 437, 65, 62, 15883, 62, 859, 39531, 62, 16737, 7, 9662, 11, 26498, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 24550, 25, 428, 4433, 807, 4579, 286, 1479, 13931, 11, 307, 8161, 407, 284, 6044, 262, 15770, 39531, 9639, 986, 198, 220, 220, 220, 685, 27903, 284, 307, 1057, 351, 366, 3174, 8973, 198, 220, 220, 220, 5128, 25, 198, 220, 220, 220, 220, 220, 220, 220, 479, 430, 3464, 62, 9945, 1058, 3108, 198, 220, 220, 220, 5072, 25, 198, 220, 220, 220, 220, 220, 220, 220, 479, 430, 3464, 62, 859, 62, 9945, 1058, 2292, 286, 479, 430, 3464, 17, 45553, 83, 5754, 287, 262, 15770, 39531, 198, 220, 220, 220, 220, 220, 220, 220, 479, 430, 3464, 62, 859, 39531, 1058, 15770, 39531, 17260, 966, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 20613, 796, 26498, 14692, 74, 430, 3464, 62, 9945, 8973, 628, 220, 220, 220, 1303, 428, 3141, 2499, 351, 949, 1134, 430, 3464, 20613, 11, 1487, 15770, 39531, 2546, 611, 2622, 986, 198, 220, 220, 220, 3141, 220, 796, 366, 14948, 532, 83, 45218, 9501, 532, 78, 2546, 28, 23, 38, 45218, 9501, 366, 1343, 2239, 13, 448, 6978, 1343, 366, 11405, 366, 198, 220, 220, 220, 3141, 15853, 366, 13155, 532, 49, 366, 1343, 20613, 1343, 366, 366, 1343, 2239, 13, 448, 6978, 1343, 12813, 74, 430, 3464, 62, 9945, 1, 628, 220, 220, 220, 1303, 3465, 326, 428, 3141, 1038, 444, 284, 307, 6808, 357, 11261, 6152, 284, 651, 257, 9206, 8, 198, 220, 220, 220, 611, 2239, 13, 18558, 1009, 62, 14171, 14512, 366, 961, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 1057, 62, 2777, 7, 9662, 11, 3141, 8, 628, 220, 220, 220, 1303, 16481, 5072, 628, 220, 220, 220, 2239, 13, 22915, 82, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 74, 430, 3464, 62, 859, 62, 9945, 1, 1058, 366, 74, 430, 3464, 62, 9945, 1600, 220, 198, 220, 220, 220, 220, 220, 220, 220, 366, 74, 430, 3464, 62, 859, 39531, 1, 1058, 13538, 198, 220, 220, 220, 1782, 628, 220, 220, 220, 1441, 2239, 198 ]
2.634615
468
# Copyright (C) 2015 UCSC Computational Genomics Lab # # 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. """ Terminates the specified cluster and associated resources """ import logging from toil.provisioners import Cluster from toil.lib.bioio import parseBasicOptions, getBasicOptionParser from toil.utils import addBasicProvisionerOptions logger = logging.getLogger(__name__)
[ 2, 15069, 357, 34, 8, 1853, 14417, 6173, 22476, 864, 5215, 31994, 3498, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 37811, 198, 44798, 689, 262, 7368, 13946, 290, 3917, 4133, 198, 37811, 198, 11748, 18931, 198, 6738, 284, 346, 13, 1676, 10178, 364, 1330, 38279, 198, 6738, 284, 346, 13, 8019, 13, 65, 952, 952, 1330, 21136, 26416, 29046, 11, 651, 26416, 19722, 46677, 198, 6738, 284, 346, 13, 26791, 1330, 751, 26416, 2964, 10178, 263, 29046, 628, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628 ]
3.820961
229
from flask import Flask, request import requests, json app = Flask(__name__) @app.route('/shazam', methods=['GET', 'POST']) @app.route('/') if __name__ == '__main__': app.run('0.0.0.0', debug = 'True')
[ 6738, 42903, 1330, 46947, 11, 2581, 198, 11748, 7007, 11, 33918, 198, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 198, 198, 31, 1324, 13, 38629, 10786, 14, 1477, 1031, 321, 3256, 5050, 28, 17816, 18851, 3256, 705, 32782, 6, 12962, 198, 31, 1324, 13, 38629, 10786, 14, 11537, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 598, 13, 5143, 10786, 15, 13, 15, 13, 15, 13, 15, 3256, 14257, 796, 705, 17821, 11537, 198 ]
2.488095
84
# A converter that takes a denary number and converts it, using comparison # rather than recursion, to binary import sys from colorama import init from termcolor import cprint from pyfiglet import figlet_format init(strip=not sys.stdout.isatty()) cprint(figlet_format('Binary / Decimal Converter', font='doom'), 'white', attrs=['bold']) while True: print("Please select from the following options:", "\n") print("1 - Convert Decimal -> Binary") print("2 - Convert Binary -> Decimal") print("X - Exit the program", "\n") choice = input("Please make your selection: ") if choice == "x": break elif choice == '1': try: user_number = input("Your number: ") result = convert_to_binary(int(user_number)) print("\n", "Your number converted to binary is: ", "0b", result, " \n") except ValueError: print("\n", "Please enter an integer" " \n") elif choice == '2': try: user_number = input("Your number: ") result = binary_to_decimal(user_number) print("\n", "Your number converted to decimal is: ", result, " \n") except ValueError: print("\n""Please enter a decimal number." " \n") else: print("\n", "!! Please select from one of the three options !!", " \n")
[ 2, 317, 38394, 326, 2753, 257, 2853, 560, 1271, 290, 26161, 340, 11, 1262, 7208, 198, 2, 2138, 621, 664, 24197, 11, 284, 13934, 198, 198, 11748, 25064, 198, 198, 6738, 3124, 1689, 1330, 2315, 198, 6738, 3381, 8043, 1330, 269, 4798, 198, 6738, 12972, 5647, 1616, 1330, 2336, 1616, 62, 18982, 198, 15003, 7, 36311, 28, 1662, 25064, 13, 19282, 448, 13, 271, 265, 774, 28955, 198, 198, 66, 4798, 7, 5647, 1616, 62, 18982, 10786, 33, 3219, 1220, 4280, 4402, 35602, 353, 3256, 10369, 11639, 67, 4207, 33809, 705, 11186, 3256, 198, 220, 220, 220, 220, 220, 220, 708, 3808, 28, 17816, 36575, 6, 12962, 628, 628, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 3601, 7203, 5492, 2922, 422, 262, 1708, 3689, 25, 1600, 37082, 77, 4943, 198, 220, 220, 220, 3601, 7203, 16, 532, 38240, 4280, 4402, 4613, 45755, 4943, 198, 220, 220, 220, 3601, 7203, 17, 532, 38240, 45755, 4613, 4280, 4402, 4943, 198, 220, 220, 220, 3601, 7203, 55, 532, 29739, 262, 1430, 1600, 37082, 77, 4943, 198, 220, 220, 220, 3572, 796, 5128, 7203, 5492, 787, 534, 6356, 25, 366, 8, 198, 220, 220, 220, 611, 3572, 6624, 366, 87, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 1288, 361, 3572, 6624, 705, 16, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 62, 17618, 796, 5128, 7203, 7120, 1271, 25, 366, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 10385, 62, 1462, 62, 39491, 7, 600, 7, 7220, 62, 17618, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 1600, 366, 7120, 1271, 11513, 284, 13934, 318, 25, 33172, 366, 15, 65, 1600, 1255, 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, 366, 3467, 77, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 11052, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 1600, 366, 5492, 3802, 281, 18253, 1, 366, 3467, 77, 4943, 198, 220, 220, 220, 1288, 361, 3572, 6624, 705, 17, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 62, 17618, 796, 5128, 7203, 7120, 1271, 25, 366, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 13934, 62, 1462, 62, 12501, 4402, 7, 7220, 62, 17618, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 1600, 366, 7120, 1271, 11513, 284, 32465, 318, 25, 33172, 1255, 11, 366, 3467, 77, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 11052, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 15931, 5492, 3802, 257, 32465, 1271, 526, 366, 3467, 77, 4943, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 1600, 366, 3228, 4222, 2922, 422, 530, 286, 262, 1115, 3689, 37867, 1600, 366, 3467, 77, 4943, 198 ]
2.479204
553
''' Add an SnmpCredentials model to the models.py file. This model should support both SNMPv3 and SNMPv1/v2c. Add a foreign key reference in the NetworkDevice model pointing to the SnmpCredentials model. ''' from django.db import models
[ 7061, 6, 198, 4550, 281, 5489, 3149, 34, 445, 14817, 2746, 284, 262, 4981, 13, 9078, 2393, 13, 770, 2746, 815, 1104, 220, 198, 16885, 11346, 7378, 85, 18, 290, 11346, 7378, 85, 16, 14, 85, 17, 66, 13, 220, 3060, 257, 3215, 1994, 4941, 287, 262, 7311, 24728, 220, 198, 19849, 10609, 284, 262, 5489, 3149, 34, 445, 14817, 2746, 13, 198, 7061, 6, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198 ]
3.213333
75
from .. import Device class AD_ImagePlugin(Device): """ AreaDetector Image Plugin """ attrs = ('ArrayData', 'UniqueId', 'UniqueId_RBV', 'NDimensions', 'NDimensions_RBV', 'ArraySize0', 'ArraySize0_RBV', 'ArraySize1', 'ArraySize1_RBV', 'ArraySize2', 'ArraySize2_RBV', 'ColorMode', 'ColorMode_RBV') _nonpvs = ('_prefix', '_pvs', '_delim') def ensure_value(self, attr, value, wait=False): """ensures that an attribute with an associated _RBV value is set to the specifed value """ rbv_attr = "%s_RBV" % attr if rbv_attr not in self._pvs: return self._pvs[attr].put(value, wait=wait) if self._pvs[rbv_attr].get(as_string=True) != value: self._pvs[attr].put(value, wait=wait)
[ 6738, 11485, 1330, 16232, 198, 198, 4871, 5984, 62, 5159, 37233, 7, 24728, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 9498, 11242, 9250, 7412, 42636, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 708, 3808, 796, 19203, 19182, 6601, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 40257, 7390, 3256, 705, 40257, 7390, 62, 27912, 53, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 8575, 320, 5736, 3256, 705, 8575, 320, 5736, 62, 27912, 53, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19182, 10699, 15, 3256, 705, 19182, 10699, 15, 62, 27912, 53, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19182, 10699, 16, 3256, 705, 19182, 10699, 16, 62, 27912, 53, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19182, 10699, 17, 3256, 705, 19182, 10699, 17, 62, 27912, 53, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 10258, 19076, 3256, 705, 10258, 19076, 62, 27912, 53, 11537, 628, 220, 220, 220, 4808, 13159, 79, 14259, 796, 19203, 62, 40290, 3256, 705, 62, 79, 14259, 3256, 705, 62, 12381, 320, 11537, 628, 220, 220, 220, 825, 4155, 62, 8367, 7, 944, 11, 708, 81, 11, 1988, 11, 4043, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 641, 942, 326, 281, 11688, 351, 281, 3917, 4808, 27912, 53, 1988, 318, 198, 220, 220, 220, 220, 220, 220, 220, 900, 284, 262, 1020, 361, 276, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 374, 65, 85, 62, 35226, 796, 36521, 82, 62, 27912, 53, 1, 4064, 708, 81, 198, 220, 220, 220, 220, 220, 220, 220, 611, 374, 65, 85, 62, 35226, 407, 287, 2116, 13557, 79, 14259, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 79, 14259, 58, 35226, 4083, 1996, 7, 8367, 11, 4043, 28, 17077, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 220, 2116, 13557, 79, 14259, 58, 26145, 85, 62, 35226, 4083, 1136, 7, 292, 62, 8841, 28, 17821, 8, 14512, 1988, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 79, 14259, 58, 35226, 4083, 1996, 7, 8367, 11, 4043, 28, 17077, 8, 628 ]
2.043269
416
import subprocess as sp from . import util # This is a Tazer Server class. It is here to help wrap several functions that # exist across the Tazer source. The Commands listed in the arguments are the # equivalent commands (and arguments) as if run from the build tree. # The path is the path to the build directory!!! # This functions runs a Tazer server locally # Command: # pathToBuild/src/server/server port # Args: # (optional) port = Port to listen on. Default is 6023 (Config.h: serverPort) # This funtions pings a Tazer server. # Command: # pathToBuild/test/PingServer serverIpAddr port attempts sleepTime # Args: # (optional) serverIpAddr = Ip address of the server. Default is 127.0.0.1 # (optional) port = Port server is listening on. Default is 6023 (Config.h: serverPort) # (optional) attempts = Number of times to attempt a ping. Default is 10 # (optional) sleepTime = Time in seconds to sleep between attempts. Default is 10 # This funtion closes a Tazer server. Can close a local or remote server. # Command: # pathToBuild/test/CloseServer serverIpAddr port # Args: # serverIpAddr = Ip address of the server. # (optional) port = Port server is listening on. Default is 6023 (Config.h: serverPort) # Will block until the process that launched server finishes # Returns true if the process that launched server is still running # Kills the processes that is running the server # Get the PID of the child process
[ 11748, 850, 14681, 355, 599, 198, 6738, 764, 1330, 7736, 198, 198, 2, 770, 318, 257, 309, 19178, 9652, 1398, 13, 220, 632, 318, 994, 284, 1037, 14441, 1811, 5499, 326, 198, 2, 2152, 1973, 262, 309, 19178, 2723, 13, 220, 383, 49505, 5610, 287, 262, 7159, 389, 262, 198, 2, 7548, 9729, 357, 392, 7159, 8, 355, 611, 1057, 422, 262, 1382, 5509, 13, 198, 220, 220, 220, 1303, 383, 3108, 318, 262, 3108, 284, 262, 1382, 8619, 10185, 628, 220, 220, 220, 1303, 770, 5499, 4539, 257, 309, 19178, 4382, 15726, 198, 220, 220, 220, 1303, 9455, 25, 198, 220, 220, 220, 1303, 220, 220, 3108, 2514, 15580, 14, 10677, 14, 15388, 14, 15388, 2493, 198, 220, 220, 220, 1303, 943, 14542, 25, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 2493, 796, 4347, 284, 6004, 319, 13, 15161, 318, 3126, 1954, 357, 16934, 13, 71, 25, 4382, 13924, 8, 628, 220, 220, 220, 1303, 770, 1257, 45240, 279, 654, 257, 309, 19178, 4382, 13, 198, 220, 220, 220, 1303, 9455, 25, 198, 220, 220, 220, 1303, 220, 220, 3108, 2514, 15580, 14, 9288, 14, 49806, 10697, 4382, 40, 79, 4550, 81, 2493, 6370, 3993, 7575, 198, 220, 220, 220, 1303, 943, 14542, 25, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 4382, 40, 79, 4550, 81, 796, 314, 79, 2209, 286, 262, 4382, 13, 15161, 318, 18112, 13, 15, 13, 15, 13, 16, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 2493, 796, 4347, 4382, 318, 8680, 319, 13, 15161, 318, 3126, 1954, 357, 16934, 13, 71, 25, 4382, 13924, 8, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 6370, 796, 7913, 286, 1661, 284, 2230, 257, 29400, 13, 15161, 318, 838, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 3993, 7575, 796, 3862, 287, 4201, 284, 3993, 1022, 6370, 13, 15161, 318, 838, 628, 220, 220, 220, 1303, 770, 1257, 5378, 20612, 257, 309, 19178, 4382, 13, 1680, 1969, 257, 1957, 393, 6569, 4382, 13, 198, 220, 220, 220, 1303, 9455, 25, 198, 220, 220, 220, 1303, 220, 220, 3108, 2514, 15580, 14, 9288, 14, 26125, 10697, 4382, 40, 79, 4550, 81, 2493, 198, 220, 220, 220, 1303, 943, 14542, 25, 198, 220, 220, 220, 1303, 220, 220, 4382, 40, 79, 4550, 81, 796, 314, 79, 2209, 286, 262, 4382, 13, 198, 220, 220, 220, 1303, 220, 220, 357, 25968, 8, 2493, 796, 4347, 4382, 318, 8680, 319, 13, 15161, 318, 3126, 1954, 357, 16934, 13, 71, 25, 4382, 13924, 8, 628, 220, 220, 220, 1303, 2561, 2512, 1566, 262, 1429, 326, 5611, 4382, 20271, 628, 220, 220, 220, 1303, 16409, 2081, 611, 262, 1429, 326, 5611, 4382, 318, 991, 2491, 628, 220, 220, 220, 1303, 23478, 262, 7767, 326, 318, 2491, 262, 4382, 628, 220, 220, 220, 1303, 3497, 262, 37022, 286, 262, 1200, 1429 ]
3.229167
480
from django.forms.widgets import Media def get_class_media(base, instance): '''Convenience function to be used when overriding the `media` property. This function maintains the tasks of the media property set up by `MediaDefiningClass` but allows you to extend the normal behavior. Use: class MyClass(Block): def media(self): media = get_classMedia(super().media(), self) # ... do extra stuff here ... return media ''' definition = getattr(instance, 'Media', None) if definition: extend = getattr(definition, 'extend', True) if extend: if extend is True: m = base else: m = Media() for medium in extend: m = m + base[medium] return m + Media(definition) return Media(definition) else: return base
[ 6738, 42625, 14208, 13, 23914, 13, 28029, 11407, 1330, 6343, 198, 198, 4299, 651, 62, 4871, 62, 11431, 7, 8692, 11, 4554, 2599, 198, 220, 220, 220, 705, 7061, 3103, 574, 1240, 2163, 284, 307, 973, 618, 44987, 262, 4600, 11431, 63, 3119, 13, 628, 220, 220, 220, 770, 2163, 16047, 262, 8861, 286, 262, 2056, 3119, 900, 510, 416, 198, 220, 220, 220, 4600, 13152, 7469, 3191, 9487, 63, 475, 3578, 345, 284, 9117, 262, 3487, 4069, 13, 628, 220, 220, 220, 5765, 25, 198, 220, 220, 220, 1398, 2011, 9487, 7, 12235, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 825, 2056, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2056, 796, 651, 62, 4871, 13152, 7, 16668, 22446, 11431, 22784, 2116, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2644, 466, 3131, 3404, 994, 2644, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2056, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 6770, 796, 651, 35226, 7, 39098, 11, 705, 13152, 3256, 6045, 8, 198, 220, 220, 220, 611, 6770, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9117, 796, 651, 35226, 7, 46758, 11, 705, 2302, 437, 3256, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 9117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 9117, 318, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 796, 2779, 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, 285, 796, 6343, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 7090, 287, 9117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 796, 285, 1343, 2779, 58, 24132, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 285, 1343, 6343, 7, 46758, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6343, 7, 46758, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2779 ]
2.322335
394
from indy import pool from utilities import utils from utilities import common, constant from test_scripts.functional_tests.pool.pool_test_base import PoolTestBase import pytest
[ 6738, 773, 88, 1330, 5933, 198, 198, 6738, 20081, 1330, 3384, 4487, 198, 6738, 20081, 1330, 2219, 11, 6937, 198, 6738, 1332, 62, 46521, 13, 45124, 62, 41989, 13, 7742, 13, 7742, 62, 9288, 62, 8692, 1330, 19850, 14402, 14881, 198, 11748, 12972, 9288, 628 ]
4
45
## Bokeh server for Select import pandas as pd from bokeh.io import curdoc from bokeh.layouts import row from bokeh.models import ColumnDataSource, Select from bokeh.plotting import figure x=[3,4,6,12,10,1,5,6,3,8] y=[7,1,3,4,1,6,10,4,10,3] label=['Red', 'Orange', 'Red', 'Orange','Red', 'Orange','Red', 'Orange','Red', 'Orange',] df=pd.DataFrame({'x':x,'y':y,'label':label}) source = ColumnDataSource(data=dict(x=df.x, y=df.y,label=df.label)) plot_figure = figure(title='Select',height=450, width=600, tools="save,reset", toolbar_location="below") plot_figure.scatter('x', 'y', source=source, size=10,color='label') select = Select(title="Filter plot by color:", value="All", options=["All", "Red", "Orange"]) select.on_change('value',select_click) layout=row(select, plot_figure) curdoc().add_root(layout) curdoc().title = "Select Bokeh Server"
[ 2235, 347, 2088, 71, 4382, 329, 9683, 198, 11748, 19798, 292, 355, 279, 67, 198, 198, 6738, 1489, 365, 71, 13, 952, 1330, 1090, 15390, 198, 6738, 1489, 365, 71, 13, 10724, 5269, 1330, 5752, 198, 6738, 1489, 365, 71, 13, 27530, 1330, 29201, 6601, 7416, 11, 9683, 198, 6738, 1489, 365, 71, 13, 29487, 889, 1330, 3785, 198, 198, 87, 41888, 18, 11, 19, 11, 21, 11, 1065, 11, 940, 11, 16, 11, 20, 11, 21, 11, 18, 11, 23, 60, 198, 88, 41888, 22, 11, 16, 11, 18, 11, 19, 11, 16, 11, 21, 11, 940, 11, 19, 11, 940, 11, 18, 60, 198, 18242, 28, 17816, 7738, 3256, 705, 40141, 3256, 705, 7738, 3256, 705, 40141, 41707, 7738, 3256, 705, 40141, 41707, 7738, 3256, 705, 40141, 41707, 7738, 3256, 705, 40141, 3256, 60, 198, 198, 7568, 28, 30094, 13, 6601, 19778, 15090, 6, 87, 10354, 87, 4032, 88, 10354, 88, 4032, 18242, 10354, 18242, 30072, 198, 198, 10459, 796, 29201, 6601, 7416, 7, 7890, 28, 11600, 7, 87, 28, 7568, 13, 87, 11, 331, 28, 7568, 13, 88, 11, 18242, 28, 7568, 13, 18242, 4008, 198, 198, 29487, 62, 26875, 796, 3785, 7, 7839, 11639, 17563, 3256, 17015, 28, 17885, 11, 9647, 28, 8054, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4899, 2625, 21928, 11, 42503, 1600, 50149, 62, 24886, 2625, 35993, 4943, 198, 198, 29487, 62, 26875, 13, 1416, 1436, 10786, 87, 3256, 705, 88, 3256, 2723, 28, 10459, 11, 2546, 28, 940, 11, 8043, 11639, 18242, 11537, 198, 198, 19738, 796, 9683, 7, 7839, 2625, 22417, 7110, 416, 3124, 25, 1600, 1988, 2625, 3237, 1600, 3689, 28, 14692, 3237, 1600, 366, 7738, 1600, 366, 40141, 8973, 8, 198, 198, 19738, 13, 261, 62, 3803, 10786, 8367, 3256, 19738, 62, 12976, 8, 198, 198, 39786, 28, 808, 7, 19738, 11, 7110, 62, 26875, 8, 198, 198, 66, 2799, 420, 22446, 2860, 62, 15763, 7, 39786, 8, 198, 66, 2799, 420, 22446, 7839, 796, 366, 17563, 347, 2088, 71, 9652, 1, 198 ]
2.539359
343
# -*- coding: utf-8 -*- from sklearn.feature_extraction.text import CountVectorizer from natto import MeCab _morpheme_type = ['NNG', 'NNP'] _escape_pattern = ['\n'] _nm = MeCab() corpus = generate_corpus2('news.txt') print('corpus : ', corpus) _cv = CountVectorizer() word_matrix = _cv.fit_transform(corpus) index = 0 for word_vector in word_matrix.toarray(): print('[', corpus[index], '] \n: ', word_vector) index += 1
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 1341, 35720, 13, 30053, 62, 2302, 7861, 13, 5239, 1330, 2764, 38469, 7509, 198, 6738, 299, 45807, 1330, 2185, 34, 397, 628, 198, 62, 4491, 36335, 1326, 62, 4906, 796, 37250, 6144, 38, 3256, 705, 6144, 47, 20520, 198, 62, 41915, 62, 33279, 796, 37250, 59, 77, 20520, 198, 62, 21533, 796, 2185, 34, 397, 3419, 628, 628, 198, 10215, 79, 385, 796, 7716, 62, 10215, 79, 385, 17, 10786, 10827, 13, 14116, 11537, 198, 4798, 10786, 10215, 79, 385, 1058, 46083, 35789, 8, 198, 62, 33967, 796, 2764, 38469, 7509, 3419, 198, 4775, 62, 6759, 8609, 796, 4808, 33967, 13, 11147, 62, 35636, 7, 10215, 79, 385, 8, 198, 198, 9630, 796, 657, 198, 1640, 1573, 62, 31364, 287, 1573, 62, 6759, 8609, 13, 1462, 18747, 33529, 198, 220, 220, 220, 3601, 10786, 58, 3256, 35789, 58, 9630, 4357, 705, 60, 3467, 77, 25, 46083, 1573, 62, 31364, 8, 198, 220, 220, 220, 6376, 15853, 352, 198 ]
2.505747
174
#!/usr/bin/python3 from PyQt5 import QtCore, QtGui, QtWidgets
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 8205, 72, 11, 33734, 54, 312, 11407, 198 ]
2.25
28
# -*- coding: utf-8 -*- """ Created on April 12, 2018 @author: neerbek """ import os import getopt import sys import io import monUtil import monsantoData import textClean import server_rnn_helper from similarity import load_trees from importlib import reload reload(textClean) # from backends import PDFMinerBackend datadir = "../data_monsanto/2018-04-12-workdir" filename = "monsantoDataEntries.json" startindex = 0 endindex = -1 outfile = "indexedsentences.txt" # parse input argv = sys.argv[1:] # first arg is filename # argv = "-s 0 -e -1 -o jantmp_trees.txt".split() try: opts, args = getopt.getopt(argv, "hd:l:s:e:o:", ["help", "datadir=", "labelfile=", "start=", "end=", "outfile="]) except getopt.GetoptError: usage(exitCode=2) for opt, arg in opts: if opt in ("-h", "--help"): usage(exitCode=0) elif opt in ("-d", "--datadir"): datadir = arg elif opt in ("-l", "--labelfile"): filename = arg elif opt in ("-s", "--start"): startindex = int(arg) elif opt in ("-e", "--end"): endindex = int(arg) elif opt in ("-o", "--outfile"): outfile = arg labelMap = {} for i, label in enumerate(monsantoData.labelList): labelMap[label] = i docs = monUtil.loadJSONList(filename, monUtil.MonsantoDocument.dictToMonsantoDocument) for d in docs: d.uri = os.path.join(datadir, d.uri[:-4] + ".txt") d.label = labelMap[d.label] # want to address # non-ascii # sentences split over several lines (with newlines) # monIds in text # non-informative lines (maybe later) # save with docId (monId?) and with lineNumber and sentenceNumber # I guess to save in file next to datafile with extension .sentences (might cause problems on windows) # watch out for very long or very short sentences cleanDocs = [] for i, doc in enumerate(docs): doc = docs[i] doc.uri = doc.uri.replace("\ ", " ") # don't escape for io.open doc.uri = doc.uri.replace("\$", "$") # don't escape for io.open with io.open(doc.uri, 'r', encoding='utf8') as f: lines = f.readlines() cleaner = textClean.TextCleaner() res = [] for j, line in enumerate(lines): before = line line = cleaner.cleanLine(line) if len(line) != 0: res.append(line) cleanDocs.append(res) if len(res) == 0: print("INFO: received empty doc: ", i, doc.uri) # if i % 10 == 0: # print("INFO: done processing doc", i) indexedSentenceList = [] for i, text in enumerate(cleanDocs): sentences = server_rnn_helper.get_indexed_sentences("\n".join(text)) for sentence in sentences: sentence.sentence = monUtil.removeNewline(sentence.sentence) # remove \n introduced above, not handled by server_rnn_helper.get_nltk_trees below sentence.sentence = monUtil.removeApostrof(sentence.sentence) # remove "'" not handled by server_rnn_helper.get_nltk_trees below sentence.sentence = monUtil.removeMultiCommas(sentence.sentence) # remove multiple commas indexedSentenceList.append(sentences) # i = 0 # for indexedSentence in indexedSentenceList[i]: # print(indexedSentence) # count = 0 # for sentences in indexedSentenceList: # count += len(sentences) # print(count) # counts = [] # for sentences in indexedSentenceList: # for sentence in sentences: # counts.append(len(sentence.sentence)) # len(counts) # import numpy # data = numpy.array(counts) # print(max(counts)) # bins = numpy.array([5, 20, 75, 125, 300, 500, 1000]) # classes = numpy.digitize(data, bins) # unique, counts = numpy.unique(classes, return_counts=True) # print(dict(zip(unique, counts))) # # {0: 1175, 1: 1122, 2: 2428, 3: 2062, 4: 3165, 5: 573, 6: 195, 7: 54} # count = 0 # val = 1 # for c in counts: # if c == val: # count += 1 # print("{}:".format(val), count) treeList = [] if endindex == -1: endindex = len(indexedSentenceList) endindex = min(endindex, len(indexedSentenceList)) for i in range(startindex, endindex): indexSentences = indexedSentenceList[i] print("Working on doc {}/{} ({}-{})".format(i, len(indexedSentenceList), startindex, endindex)) trees = server_rnn_helper.get_nltk_trees(i, indexedSentenceList[i]) treeList.append(trees) if len(trees) == 0: print("WARN: trees were empty", i, docs[i].uri) trees = [] for i in range(startindex, endindex): doc = docs[i] indexSentences = indexedSentenceList[i] for indexSentence in indexSentences: tree = indexSentence.tree if tree is None: continue # empty tree n = load_trees.Node() n.syntax = "{}".format(indexSentence.beginIndex) n.word = doc.monsantoId n.word = n.word.replace(" ", "%20") tree.parent = n n.left = tree nRight = n.add_child() nRight.syntax = "{}".format(doc.label) nRight.word = doc.uri[len(datadir) + 1:-4] nRight.word = nRight.word.replace(" ", "%20") trees.append(n) load_trees.put_trees(outfile, trees) # TODO: add timestamp here so we can track when the process terminated print("done. saved {} trees to {}".format(len(trees), outfile))
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 198, 41972, 319, 3035, 1105, 11, 2864, 198, 198, 31, 9800, 25, 220, 497, 23552, 988, 198, 37811, 198, 198, 11748, 28686, 198, 11748, 651, 8738, 198, 11748, 25064, 198, 198, 11748, 33245, 198, 198, 11748, 937, 18274, 346, 198, 11748, 285, 684, 14723, 6601, 198, 11748, 2420, 32657, 198, 11748, 4382, 62, 81, 20471, 62, 2978, 525, 198, 6738, 26789, 1330, 3440, 62, 83, 6037, 198, 198, 6738, 1330, 8019, 1330, 18126, 198, 260, 2220, 7, 5239, 32657, 8, 198, 2, 422, 736, 2412, 1330, 12960, 44, 7274, 7282, 437, 198, 19608, 324, 343, 796, 366, 40720, 7890, 62, 11567, 14723, 14, 7908, 12, 3023, 12, 1065, 12, 1818, 15908, 1, 198, 34345, 796, 366, 11567, 14723, 6601, 14539, 1678, 13, 17752, 1, 198, 9688, 9630, 796, 657, 198, 437, 9630, 796, 532, 16, 198, 448, 7753, 796, 366, 9630, 5379, 298, 3007, 13, 14116, 1, 628, 198, 2, 21136, 5128, 198, 853, 85, 796, 25064, 13, 853, 85, 58, 16, 47715, 220, 1303, 717, 1822, 318, 29472, 198, 2, 1822, 85, 796, 27444, 82, 657, 532, 68, 532, 16, 532, 78, 474, 415, 3149, 62, 83, 6037, 13, 14116, 1911, 35312, 3419, 198, 28311, 25, 198, 220, 220, 220, 2172, 82, 11, 26498, 796, 651, 8738, 13, 1136, 8738, 7, 853, 85, 11, 366, 31298, 25, 75, 25, 82, 25, 68, 25, 78, 25, 1600, 14631, 16794, 1600, 366, 19608, 324, 343, 28, 1600, 366, 23912, 7046, 576, 28, 1600, 366, 9688, 28, 1600, 366, 437, 28, 1600, 366, 448, 7753, 2625, 12962, 198, 16341, 651, 8738, 13, 3855, 8738, 12331, 25, 198, 220, 220, 220, 8748, 7, 37023, 10669, 28, 17, 8, 198, 198, 1640, 2172, 11, 1822, 287, 2172, 82, 25, 198, 220, 220, 220, 611, 2172, 287, 5855, 12, 71, 1600, 366, 438, 16794, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 8748, 7, 37023, 10669, 28, 15, 8, 198, 220, 220, 220, 1288, 361, 2172, 287, 5855, 12, 67, 1600, 366, 438, 19608, 324, 343, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 4818, 324, 343, 796, 1822, 198, 220, 220, 220, 1288, 361, 2172, 287, 5855, 12, 75, 1600, 366, 438, 23912, 7046, 576, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 1822, 198, 220, 220, 220, 1288, 361, 2172, 287, 5855, 12, 82, 1600, 366, 438, 9688, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 923, 9630, 796, 493, 7, 853, 8, 198, 220, 220, 220, 1288, 361, 2172, 287, 5855, 12, 68, 1600, 366, 438, 437, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 886, 9630, 796, 493, 7, 853, 8, 198, 220, 220, 220, 1288, 361, 2172, 287, 5855, 12, 78, 1600, 366, 438, 448, 7753, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 796, 1822, 198, 198, 18242, 13912, 796, 23884, 198, 1640, 1312, 11, 6167, 287, 27056, 378, 7, 11567, 14723, 6601, 13, 18242, 8053, 2599, 198, 220, 220, 220, 6167, 13912, 58, 18242, 60, 796, 1312, 198, 198, 31628, 796, 937, 18274, 346, 13, 2220, 40386, 8053, 7, 34345, 11, 937, 18274, 346, 13, 44, 684, 14723, 24941, 13, 11600, 2514, 44, 684, 14723, 24941, 8, 198, 1640, 288, 287, 34165, 25, 198, 220, 220, 220, 288, 13, 9900, 796, 28686, 13, 6978, 13, 22179, 7, 19608, 324, 343, 11, 288, 13, 9900, 58, 21912, 19, 60, 1343, 27071, 14116, 4943, 198, 220, 220, 220, 288, 13, 18242, 796, 6167, 13912, 58, 67, 13, 18242, 60, 198, 198, 2, 765, 284, 2209, 198, 2, 1729, 12, 292, 979, 72, 198, 2, 13439, 6626, 625, 1811, 3951, 357, 4480, 649, 6615, 8, 198, 2, 937, 7390, 82, 287, 2420, 198, 2, 1729, 12, 259, 687, 876, 3951, 357, 25991, 1568, 8, 198, 2, 3613, 351, 2205, 7390, 357, 2144, 7390, 10091, 290, 351, 1627, 15057, 290, 6827, 15057, 198, 2, 314, 4724, 284, 3613, 287, 2393, 1306, 284, 1366, 7753, 351, 7552, 764, 34086, 3007, 357, 44092, 2728, 2761, 319, 9168, 8, 198, 2, 2342, 503, 329, 845, 890, 393, 845, 1790, 13439, 198, 198, 27773, 23579, 82, 796, 17635, 198, 1640, 1312, 11, 2205, 287, 27056, 378, 7, 31628, 2599, 198, 220, 220, 220, 2205, 796, 34165, 58, 72, 60, 198, 220, 220, 220, 2205, 13, 9900, 796, 2205, 13, 9900, 13, 33491, 7203, 59, 33172, 366, 366, 8, 220, 220, 1303, 836, 470, 6654, 329, 33245, 13, 9654, 198, 220, 220, 220, 2205, 13, 9900, 796, 2205, 13, 9900, 13, 33491, 7203, 59, 3, 1600, 17971, 4943, 220, 220, 1303, 836, 470, 6654, 329, 33245, 13, 9654, 198, 220, 220, 220, 351, 33245, 13, 9654, 7, 15390, 13, 9900, 11, 705, 81, 3256, 21004, 11639, 40477, 23, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3951, 796, 277, 13, 961, 6615, 3419, 198, 220, 220, 220, 21723, 796, 2420, 32657, 13, 8206, 32657, 263, 3419, 198, 220, 220, 220, 581, 796, 17635, 198, 220, 220, 220, 329, 474, 11, 1627, 287, 27056, 378, 7, 6615, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 878, 796, 1627, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 21723, 13, 27773, 13949, 7, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 1370, 8, 14512, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 13, 33295, 7, 1370, 8, 198, 220, 220, 220, 3424, 23579, 82, 13, 33295, 7, 411, 8, 198, 220, 220, 220, 611, 18896, 7, 411, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 10778, 25, 2722, 6565, 2205, 25, 33172, 1312, 11, 2205, 13, 9900, 8, 198, 220, 220, 220, 1303, 611, 1312, 4064, 838, 6624, 657, 25, 198, 220, 220, 220, 1303, 3601, 7203, 10778, 25, 1760, 7587, 2205, 1600, 1312, 8, 628, 198, 9630, 276, 31837, 594, 8053, 796, 17635, 198, 1640, 1312, 11, 2420, 287, 27056, 378, 7, 27773, 23579, 82, 2599, 198, 220, 220, 220, 13439, 796, 4382, 62, 81, 20471, 62, 2978, 525, 13, 1136, 62, 9630, 276, 62, 34086, 3007, 7203, 59, 77, 1911, 22179, 7, 5239, 4008, 198, 220, 220, 220, 329, 6827, 287, 13439, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6827, 13, 34086, 594, 796, 937, 18274, 346, 13, 28956, 3791, 1370, 7, 34086, 594, 13, 34086, 594, 8, 220, 1303, 4781, 3467, 77, 5495, 2029, 11, 407, 12118, 416, 4382, 62, 81, 20471, 62, 2978, 525, 13, 1136, 62, 77, 2528, 74, 62, 83, 6037, 2174, 198, 220, 220, 220, 220, 220, 220, 220, 6827, 13, 34086, 594, 796, 937, 18274, 346, 13, 28956, 32, 7353, 305, 69, 7, 34086, 594, 13, 34086, 594, 8, 220, 1303, 4781, 24018, 1, 407, 12118, 416, 4382, 62, 81, 20471, 62, 2978, 525, 13, 1136, 62, 77, 2528, 74, 62, 83, 6037, 2174, 198, 220, 220, 220, 220, 220, 220, 220, 6827, 13, 34086, 594, 796, 937, 18274, 346, 13, 28956, 29800, 6935, 292, 7, 34086, 594, 13, 34086, 594, 8, 220, 1303, 4781, 3294, 725, 292, 198, 220, 220, 220, 41497, 31837, 594, 8053, 13, 33295, 7, 34086, 3007, 8, 198, 198, 2, 1312, 796, 657, 198, 2, 329, 41497, 31837, 594, 287, 41497, 31837, 594, 8053, 58, 72, 5974, 198, 2, 220, 220, 220, 220, 3601, 7, 9630, 276, 31837, 594, 8, 198, 198, 2, 954, 796, 657, 198, 2, 329, 13439, 287, 41497, 31837, 594, 8053, 25, 198, 2, 220, 220, 220, 220, 954, 15853, 18896, 7, 34086, 3007, 8, 198, 2, 3601, 7, 9127, 8, 198, 2, 9853, 796, 17635, 198, 2, 329, 13439, 287, 41497, 31837, 594, 8053, 25, 198, 2, 220, 220, 220, 220, 329, 6827, 287, 13439, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 9853, 13, 33295, 7, 11925, 7, 34086, 594, 13, 34086, 594, 4008, 198, 2, 18896, 7, 9127, 82, 8, 198, 2, 1330, 299, 32152, 198, 2, 1366, 796, 299, 32152, 13, 18747, 7, 9127, 82, 8, 198, 2, 3601, 7, 9806, 7, 9127, 82, 4008, 198, 2, 41701, 796, 299, 32152, 13, 18747, 26933, 20, 11, 1160, 11, 5441, 11, 13151, 11, 5867, 11, 5323, 11, 8576, 12962, 198, 2, 6097, 796, 299, 32152, 13, 27003, 1096, 7, 7890, 11, 41701, 8, 198, 2, 3748, 11, 9853, 796, 299, 32152, 13, 34642, 7, 37724, 11, 1441, 62, 9127, 82, 28, 17821, 8, 198, 2, 3601, 7, 11600, 7, 13344, 7, 34642, 11, 9853, 22305, 198, 2, 1303, 1391, 15, 25, 1367, 2425, 11, 352, 25, 13539, 17, 11, 362, 25, 1987, 2078, 11, 513, 25, 1160, 5237, 11, 604, 25, 513, 20986, 11, 642, 25, 642, 4790, 11, 718, 25, 24793, 11, 767, 25, 7175, 92, 198, 198, 2, 954, 796, 657, 198, 2, 1188, 796, 352, 198, 2, 329, 269, 287, 9853, 25, 198, 2, 220, 220, 220, 220, 611, 269, 6624, 1188, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 954, 15853, 352, 198, 2, 3601, 7203, 90, 38362, 1911, 18982, 7, 2100, 828, 954, 8, 628, 198, 21048, 8053, 796, 17635, 198, 361, 886, 9630, 6624, 532, 16, 25, 198, 220, 220, 220, 886, 9630, 796, 18896, 7, 9630, 276, 31837, 594, 8053, 8, 198, 437, 9630, 796, 949, 7, 437, 9630, 11, 18896, 7, 9630, 276, 31837, 594, 8053, 4008, 198, 198, 1640, 1312, 287, 2837, 7, 9688, 9630, 11, 886, 9630, 2599, 198, 220, 220, 220, 6376, 31837, 3007, 796, 41497, 31837, 594, 8053, 58, 72, 60, 198, 220, 220, 220, 3601, 7203, 28516, 319, 2205, 23884, 14, 90, 92, 37913, 92, 12, 90, 30072, 1911, 18982, 7, 72, 11, 18896, 7, 9630, 276, 31837, 594, 8053, 828, 923, 9630, 11, 886, 9630, 4008, 198, 220, 220, 220, 7150, 796, 4382, 62, 81, 20471, 62, 2978, 525, 13, 1136, 62, 77, 2528, 74, 62, 83, 6037, 7, 72, 11, 41497, 31837, 594, 8053, 58, 72, 12962, 198, 220, 220, 220, 5509, 8053, 13, 33295, 7, 83, 6037, 8, 198, 220, 220, 220, 611, 18896, 7, 83, 6037, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 37771, 25, 7150, 547, 6565, 1600, 1312, 11, 34165, 58, 72, 4083, 9900, 8, 198, 198, 83, 6037, 796, 17635, 198, 1640, 1312, 287, 2837, 7, 9688, 9630, 11, 886, 9630, 2599, 198, 220, 220, 220, 2205, 796, 34165, 58, 72, 60, 198, 220, 220, 220, 6376, 31837, 3007, 796, 41497, 31837, 594, 8053, 58, 72, 60, 198, 220, 220, 220, 329, 6376, 31837, 594, 287, 6376, 31837, 3007, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5509, 796, 6376, 31837, 594, 13, 21048, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5509, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 220, 1303, 6565, 5509, 198, 220, 220, 220, 220, 220, 220, 220, 299, 796, 3440, 62, 83, 6037, 13, 19667, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 299, 13, 1837, 41641, 796, 45144, 92, 1911, 18982, 7, 9630, 31837, 594, 13, 27471, 15732, 8, 198, 220, 220, 220, 220, 220, 220, 220, 299, 13, 4775, 796, 2205, 13, 11567, 14723, 7390, 198, 220, 220, 220, 220, 220, 220, 220, 299, 13, 4775, 796, 299, 13, 4775, 13, 33491, 7203, 33172, 36521, 1238, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 5509, 13, 8000, 796, 299, 198, 220, 220, 220, 220, 220, 220, 220, 299, 13, 9464, 796, 5509, 198, 220, 220, 220, 220, 220, 220, 220, 299, 11028, 796, 299, 13, 2860, 62, 9410, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 299, 11028, 13, 1837, 41641, 796, 45144, 92, 1911, 18982, 7, 15390, 13, 18242, 8, 198, 220, 220, 220, 220, 220, 220, 220, 299, 11028, 13, 4775, 796, 2205, 13, 9900, 58, 11925, 7, 19608, 324, 343, 8, 1343, 352, 21912, 19, 60, 198, 220, 220, 220, 220, 220, 220, 220, 299, 11028, 13, 4775, 796, 299, 11028, 13, 4775, 13, 33491, 7203, 33172, 36521, 1238, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 7150, 13, 33295, 7, 77, 8, 198, 198, 2220, 62, 83, 6037, 13, 1996, 62, 83, 6037, 7, 448, 7753, 11, 7150, 8, 198, 2, 16926, 46, 25, 751, 41033, 994, 523, 356, 460, 2610, 618, 262, 1429, 23083, 198, 4798, 7203, 28060, 13, 7448, 23884, 7150, 284, 23884, 1911, 18982, 7, 11925, 7, 83, 6037, 828, 503, 7753, 4008, 198 ]
2.468585
2,085
import datetime as dt import re class Field(object): """Base class for fields validation. Attributes ---------- allowed_type : Optional[type or Tuple[type]] Allowed field's type. Parameters ---------- label: Optional[unicode] Name of the field. required : bool Raise a `ValidationError` if the field value is `None`. False by default. nullable : bool Set this to `True` to consider nullable values as valid ones. True by default. """ allowed_type = None choices = None @staticmethod def is_nullable(value): """Check nullability of the value. Parameters ---------- value : Any Actual field value. Returns ------- bool `True` if `value` may be considered as a nullable, `False` otherwise. """ return not bool(value) def clean(self, value): """Validate the given value and return its "cleaned" value. Raise ValidationError for any errors. Parameters ---------- value : Any Actual field value. Raises ------ ValidationError If validation does not succeed. Returns ------- result : ValidationResult """ if value is None: if self.required: err = u"Field `{}` is required." raise ValidationError(err.format(self.label)) return value if isinstance(self.allowed_type, (type, tuple)): if not isinstance(value, self.allowed_type): err = u"Field `{}` must be an instance of `{}` type / types." err = err.format(self.label, self.allowed_type) raise ValidationError(err) if self.is_nullable(value): if not self.nullable: err = u"Field `{}` may not be nullable." raise ValidationError(err.format(self.label)) return value if self.choices: if value not in self.choices: err = u"Invalid value for field `{}`. Choices are: `{}`." choices = ", ".join(str(item) for item in self.choices) raise ValidationError(err.format(self.label, choices)) return value return self.validate(value) def validate(self, value): """Additional validation of non-empty value. """ return value class CharField(Field): """Represents a string. Parameters ---------- max_len: int Max length of the string. + from Field """ allowed_type = unicode, str class RegexField(CharField): """ Represents a string that match specified pattern. Parameters ---------- patter: Optional[unicode] Regular expression pattern. + from CharField """ pattern = r".*" error_message = u"Field `{}` doesn't match `{}` pattern." class ArgumentsField(Field): """Represents a dictionary. """ allowed_type = dict class EmailField(RegexField): """Represents an email address. """ pattern = r"^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$" error_message = u"Field `{}` is not a valid email address." class PhoneField(RegexField): """Represents a phone number. """ allowed_type = unicode, str, int pattern = r"^7\d{10}$" error_message = u"Field `{}` is not a valid phone number." @staticmethod class DateField(Field): """Represents a date in `DD.MM. YYYY` format. """ allowed_type = unicode, str class BirthDayField(DateField): """Represents a date of birth in `DD.MM. YYYY` format. """ class GenderField(Field): """Represents a gender. """ UNKNOWN = 0 MALE = 1 FEMALE = 2 GENDERS = {UNKNOWN: u"unknown", MALE: u"male", FEMALE: u"female"} allowed_type = unicode, str, int choices = GENDERS @staticmethod class ClientIDsField(Field): """Represents a non-empty list of integers. """ allowed_type = list
[ 11748, 4818, 8079, 355, 288, 83, 198, 11748, 302, 628, 198, 198, 4871, 7663, 7, 15252, 2599, 198, 220, 220, 220, 37227, 14881, 1398, 329, 7032, 21201, 13, 628, 220, 220, 220, 49213, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 3142, 62, 4906, 1058, 32233, 58, 4906, 393, 309, 29291, 58, 4906, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 1439, 6972, 2214, 338, 2099, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6167, 25, 32233, 58, 46903, 1098, 60, 198, 220, 220, 220, 220, 220, 220, 220, 6530, 286, 262, 2214, 13, 198, 220, 220, 220, 2672, 1058, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 35123, 257, 4600, 7762, 24765, 12331, 63, 611, 262, 2214, 1988, 318, 4600, 14202, 44646, 198, 220, 220, 220, 220, 220, 220, 220, 10352, 416, 4277, 13, 198, 220, 220, 220, 9242, 540, 1058, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 428, 284, 4600, 17821, 63, 284, 2074, 9242, 540, 3815, 355, 4938, 3392, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6407, 416, 4277, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 6045, 198, 220, 220, 220, 7747, 796, 6045, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 318, 62, 8423, 540, 7, 8367, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9787, 9242, 1799, 286, 262, 1988, 13, 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, 1988, 1058, 4377, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33520, 2214, 1988, 13, 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, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4600, 17821, 63, 611, 4600, 8367, 63, 743, 307, 3177, 355, 257, 9242, 540, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4600, 25101, 63, 4306, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 407, 20512, 7, 8367, 8, 628, 220, 220, 220, 825, 3424, 7, 944, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7762, 20540, 262, 1813, 1988, 290, 1441, 663, 366, 2375, 22739, 1, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 35123, 3254, 24765, 12331, 329, 597, 8563, 13, 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, 1988, 1058, 4377, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33520, 2214, 1988, 13, 628, 220, 220, 220, 220, 220, 220, 220, 7567, 2696, 198, 220, 220, 220, 220, 220, 220, 220, 40103, 198, 220, 220, 220, 220, 220, 220, 220, 3254, 24765, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 21201, 857, 407, 6758, 13, 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, 1255, 1058, 3254, 24765, 23004, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 35827, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11454, 796, 334, 1, 15878, 4600, 90, 92, 63, 318, 2672, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3254, 24765, 12331, 7, 8056, 13, 18982, 7, 944, 13, 18242, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 944, 13, 40845, 62, 4906, 11, 357, 4906, 11, 46545, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 8367, 11, 2116, 13, 40845, 62, 4906, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11454, 796, 334, 1, 15878, 4600, 90, 92, 63, 1276, 307, 281, 4554, 286, 4600, 90, 92, 63, 2099, 1220, 3858, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11454, 796, 11454, 13, 18982, 7, 944, 13, 18242, 11, 2116, 13, 40845, 62, 4906, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3254, 24765, 12331, 7, 8056, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 271, 62, 8423, 540, 7, 8367, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13, 8423, 540, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11454, 796, 334, 1, 15878, 4600, 90, 92, 63, 743, 407, 307, 9242, 540, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3254, 24765, 12331, 7, 8056, 13, 18982, 7, 944, 13, 18242, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 6679, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 407, 287, 2116, 13, 6679, 1063, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11454, 796, 334, 1, 44651, 1988, 329, 2214, 4600, 90, 92, 44646, 10031, 1063, 389, 25, 4600, 90, 92, 63, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7747, 796, 33172, 27071, 22179, 7, 2536, 7, 9186, 8, 329, 2378, 287, 2116, 13, 6679, 1063, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3254, 24765, 12331, 7, 8056, 13, 18982, 7, 944, 13, 18242, 11, 7747, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 12102, 378, 7, 8367, 8, 628, 220, 220, 220, 825, 26571, 7, 944, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 17699, 21201, 286, 1729, 12, 28920, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1988, 628, 198, 4871, 3178, 15878, 7, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 4731, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 3509, 62, 11925, 25, 493, 198, 220, 220, 220, 220, 220, 220, 220, 5436, 4129, 286, 262, 4731, 13, 198, 220, 220, 220, 1343, 422, 7663, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 28000, 1098, 11, 965, 628, 198, 4871, 797, 25636, 15878, 7, 12441, 15878, 2599, 198, 220, 220, 220, 37227, 1432, 6629, 257, 4731, 326, 2872, 7368, 3912, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 279, 1436, 25, 32233, 58, 46903, 1098, 60, 198, 220, 220, 220, 220, 220, 220, 220, 23603, 5408, 3912, 13, 198, 220, 220, 220, 1343, 422, 3178, 15878, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3912, 796, 374, 1911, 9, 1, 198, 220, 220, 220, 4049, 62, 20500, 796, 334, 1, 15878, 4600, 90, 92, 63, 1595, 470, 2872, 4600, 90, 92, 63, 3912, 526, 628, 198, 4871, 20559, 2886, 15878, 7, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 22155, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 8633, 628, 198, 4871, 9570, 15878, 7, 3041, 25636, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 281, 3053, 2209, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3912, 796, 374, 1, 61, 58, 64, 12, 89, 32, 12, 57, 15, 12, 24, 44807, 10, 12, 48688, 31, 58, 64, 12, 89, 32, 12, 57, 15, 12, 24, 12, 48688, 59, 3693, 64, 12, 89, 32, 12, 57, 15, 12, 24, 12, 8183, 10, 3, 1, 198, 220, 220, 220, 4049, 62, 20500, 796, 334, 1, 15878, 4600, 90, 92, 63, 318, 407, 257, 4938, 3053, 2209, 526, 628, 198, 4871, 14484, 15878, 7, 3041, 25636, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 3072, 1271, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 28000, 1098, 11, 965, 11, 493, 198, 220, 220, 220, 3912, 796, 374, 1, 61, 22, 59, 67, 90, 940, 92, 3, 1, 198, 220, 220, 220, 4049, 62, 20500, 796, 334, 1, 15878, 4600, 90, 92, 63, 318, 407, 257, 4938, 3072, 1271, 526, 628, 220, 220, 220, 2488, 12708, 24396, 628, 198, 4871, 7536, 15878, 7, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 3128, 287, 4600, 16458, 13, 12038, 13, 575, 26314, 56, 63, 5794, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 28000, 1098, 11, 965, 628, 198, 4871, 17647, 12393, 15878, 7, 10430, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 3128, 286, 4082, 287, 4600, 16458, 13, 12038, 13, 575, 26314, 56, 63, 5794, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 20247, 15878, 7, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 5279, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 4725, 44706, 796, 657, 198, 220, 220, 220, 337, 21358, 796, 352, 198, 220, 220, 220, 376, 3620, 21358, 796, 362, 198, 220, 220, 220, 402, 10619, 4877, 796, 1391, 4944, 44706, 25, 334, 1, 34680, 1600, 337, 21358, 25, 334, 1, 22606, 1600, 376, 3620, 21358, 25, 334, 1, 24724, 20662, 628, 220, 220, 220, 3142, 62, 4906, 796, 28000, 1098, 11, 965, 11, 493, 198, 220, 220, 220, 7747, 796, 402, 10619, 4877, 628, 220, 220, 220, 2488, 12708, 24396, 628, 198, 4871, 20985, 47954, 15878, 7, 15878, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 257, 1729, 12, 28920, 1351, 286, 37014, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 3142, 62, 4906, 796, 1351, 198 ]
2.330322
1,771
#t=int(input('Quantos anos tem seu carro?')) #if t <=3: # print('Carro novo') #else: # print('Carro velho') #print('Carro novo' if t<=3 else 'Carro velho') #print('fim') # print('Que nome lindo') #print('Bom dia, {}'.format(n)) #print('fim') #_____________________________ import random from time import sleep c = 0 while c != 1: print('O computador escolherá um númeor entre 1 e 6') a = int(random.randint(1,6)) b = int(input('Agora vc deve escolher um número entre 1 e 6: ')) print('-='*20) sleep(2) if a==b: print('Você escolheu o número que o computador escolheu') print('Você ganhou o jogo!') else: print('você escolheu o número errado') print('O número escolhido pelo computador foi {:.0f}, e o seu {:.0f}'.format(a,b)) print('O computador ganhou o jogo') print('-='*20) sleep(2) c = int(input('Para continuar digite 0 e para sair digite 1: ')) print(' ') print('Fim do jogo')
[ 2, 83, 28, 600, 7, 15414, 10786, 24915, 418, 281, 418, 2169, 384, 84, 1097, 305, 8348, 4008, 198, 2, 361, 256, 19841, 18, 25, 198, 2, 220, 220, 3601, 10786, 9914, 305, 645, 13038, 11537, 198, 2, 17772, 25, 198, 2, 220, 220, 220, 3601, 10786, 9914, 305, 11555, 8873, 11537, 198, 2, 4798, 10786, 9914, 305, 645, 13038, 6, 611, 256, 27, 28, 18, 2073, 705, 9914, 305, 11555, 8873, 11537, 198, 2, 4798, 10786, 69, 320, 11537, 198, 2, 220, 220, 220, 3601, 10786, 15681, 299, 462, 300, 521, 78, 11537, 198, 2, 4798, 10786, 33, 296, 288, 544, 11, 23884, 4458, 18982, 7, 77, 4008, 198, 2, 4798, 10786, 69, 320, 11537, 198, 2, 32941, 29343, 198, 11748, 4738, 198, 6738, 640, 1330, 3993, 198, 66, 796, 657, 198, 4514, 269, 14512, 352, 25, 198, 220, 220, 220, 3601, 10786, 46, 2653, 7079, 3671, 349, 372, 6557, 23781, 299, 21356, 1326, 273, 920, 260, 352, 304, 718, 11537, 198, 220, 220, 220, 257, 796, 493, 7, 25120, 13, 25192, 600, 7, 16, 11, 21, 4008, 198, 220, 220, 220, 275, 796, 493, 7, 15414, 10786, 10262, 5799, 410, 66, 390, 303, 3671, 349, 372, 23781, 299, 21356, 647, 78, 920, 260, 352, 304, 718, 25, 705, 4008, 198, 220, 220, 220, 3601, 10786, 12, 11639, 9, 1238, 8, 198, 220, 220, 220, 3993, 7, 17, 8, 198, 220, 220, 220, 611, 257, 855, 65, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 53, 420, 25792, 3671, 349, 258, 84, 267, 299, 21356, 647, 78, 8358, 267, 2653, 7079, 3671, 349, 258, 84, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 53, 420, 25792, 308, 272, 15710, 267, 474, 24076, 0, 11537, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 18893, 25792, 3671, 349, 258, 84, 267, 299, 21356, 647, 78, 11454, 4533, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 46, 299, 21356, 647, 78, 3671, 349, 71, 17305, 16176, 78, 2653, 7079, 11511, 72, 46110, 13, 15, 69, 5512, 304, 267, 384, 84, 46110, 13, 15, 69, 92, 4458, 18982, 7, 64, 11, 65, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 46, 2653, 7079, 308, 272, 15710, 267, 474, 24076, 11537, 198, 220, 220, 220, 3601, 10786, 12, 11639, 9, 1238, 8, 198, 220, 220, 220, 3993, 7, 17, 8, 198, 220, 220, 220, 269, 796, 493, 7, 15414, 10786, 47, 3301, 11143, 283, 3100, 578, 657, 304, 31215, 473, 343, 3100, 578, 352, 25, 705, 4008, 198, 220, 220, 220, 3601, 10786, 705, 8, 198, 4798, 10786, 37, 320, 466, 474, 24076, 11537 ]
2.164444
450
from __future__ import annotations import os import click from pelutils.logger import log from pelutils.ds.plot import figsize_std, tab_colours, update_rc_params, rc_params import matplotlib.pyplot as plt from matplotlib.lines import Line2D import numpy as np from daluke.ner.training import TrainResults from daluke.plot import running_avg update_rc_params(rc_params) @click.command() @click.argument("location") if __name__ == "__main__": with log.log_errors: make_finetuning_plots()
[ 6738, 11593, 37443, 834, 1330, 37647, 198, 11748, 28686, 198, 198, 11748, 3904, 198, 6738, 16176, 26791, 13, 6404, 1362, 1330, 2604, 198, 6738, 16176, 26791, 13, 9310, 13, 29487, 1330, 2336, 7857, 62, 19282, 11, 7400, 62, 4033, 4662, 11, 4296, 62, 6015, 62, 37266, 11, 48321, 62, 37266, 198, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 2603, 29487, 8019, 13, 6615, 1330, 6910, 17, 35, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 288, 282, 4649, 13, 1008, 13, 34409, 1330, 16835, 25468, 198, 6738, 288, 282, 4649, 13, 29487, 1330, 2491, 62, 615, 70, 198, 198, 19119, 62, 6015, 62, 37266, 7, 6015, 62, 37266, 8, 628, 198, 31, 12976, 13, 21812, 3419, 198, 31, 12976, 13, 49140, 7203, 24886, 4943, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 351, 2604, 13, 6404, 62, 48277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 787, 62, 15643, 316, 46493, 62, 489, 1747, 3419, 198 ]
2.936047
172
# 定义函数 def count_numbers(filename): """获取指定的文件,并计算单词'the'在每个文件中出现的次数""" try: with open(filename) as file_object: contents = file_object.read() except FileNotFoundError: print(f"Sorry, the file {filename} does not exits.") else: # 计算出现的次数 numbers = contents.lower().count('the') print(f"The word 'the' appears {numbers} times in file {filename}.") # 获取文件 filenames = ['/home/yyh/Documents/Python_Crash_Course/Python-Crash-Course/VSCode_work/chapter10/data/63558-0.txt', '/home/yyh/Documents/Python_Crash_Course/Python-Crash-Course/VSCode_work/chapter10/data/63559-0.txt', '/home/yyh/Documents/Python_Crash_Course/Python-Crash-Course/VSCode_work/chapter10/data/63560-0.txt'] for filename in filenames: count_numbers(filename)
[ 2, 10263, 106, 248, 20046, 231, 49035, 121, 46763, 108, 198, 4299, 954, 62, 77, 17024, 7, 34345, 2599, 198, 220, 220, 220, 37227, 164, 236, 115, 20998, 244, 162, 234, 229, 22522, 248, 21410, 23877, 229, 20015, 114, 171, 120, 234, 33176, 114, 164, 106, 94, 163, 106, 245, 39355, 243, 46237, 235, 470, 258, 6, 28839, 101, 162, 107, 237, 10310, 103, 23877, 229, 20015, 114, 40792, 49035, 118, 163, 236, 108, 21410, 162, 105, 94, 46763, 108, 37811, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 34345, 8, 355, 2393, 62, 15252, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10154, 796, 2393, 62, 15252, 13, 961, 3419, 198, 220, 220, 220, 2845, 9220, 3673, 21077, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 1, 14385, 11, 262, 2393, 1391, 34345, 92, 857, 407, 30151, 19570, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5525, 106, 94, 163, 106, 245, 49035, 118, 163, 236, 108, 21410, 162, 105, 94, 46763, 108, 198, 220, 220, 220, 220, 220, 220, 220, 3146, 796, 10154, 13, 21037, 22446, 9127, 10786, 1169, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 1, 464, 1573, 705, 1169, 6, 3568, 1391, 77, 17024, 92, 1661, 287, 2393, 1391, 34345, 92, 19570, 198, 198, 2, 5525, 236, 115, 20998, 244, 23877, 229, 20015, 114, 198, 10379, 268, 1047, 796, 685, 26488, 11195, 14, 22556, 71, 14, 38354, 14, 37906, 62, 47598, 62, 49046, 14, 37906, 12, 47598, 12, 49046, 14, 53, 6173, 1098, 62, 1818, 14, 43582, 940, 14, 7890, 14, 48250, 3365, 12, 15, 13, 14116, 3256, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31051, 11195, 14, 22556, 71, 14, 38354, 14, 37906, 62, 47598, 62, 49046, 14, 37906, 12, 47598, 12, 49046, 14, 53, 6173, 1098, 62, 1818, 14, 43582, 940, 14, 7890, 14, 48250, 3270, 12, 15, 13, 14116, 3256, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31051, 11195, 14, 22556, 71, 14, 38354, 14, 37906, 62, 47598, 62, 49046, 14, 37906, 12, 47598, 12, 49046, 14, 53, 6173, 1098, 62, 1818, 14, 43582, 940, 14, 7890, 14, 48250, 1899, 12, 15, 13, 14116, 20520, 198, 1640, 29472, 287, 1226, 268, 1047, 25, 198, 220, 220, 220, 954, 62, 77, 17024, 7, 34345, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220 ]
1.96
425
# standard library import json # local Django from apps.article.models import Article from apps.article.serializers.article import ArticleHeavySerializer from apps.tests.fixtures import RepositoryTestCase class ListArticleTest(RepositoryTestCase): """ ... """ serializer = ArticleHeavySerializer
[ 2, 3210, 5888, 198, 11748, 33918, 198, 198, 2, 1957, 37770, 198, 6738, 6725, 13, 20205, 13, 27530, 1330, 10172, 198, 6738, 6725, 13, 20205, 13, 46911, 11341, 13, 20205, 1330, 10172, 33210, 32634, 7509, 198, 6738, 6725, 13, 41989, 13, 69, 25506, 1330, 1432, 13264, 14402, 20448, 628, 198, 4871, 7343, 14906, 14402, 7, 6207, 13264, 14402, 20448, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2644, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11389, 7509, 796, 10172, 33210, 32634, 7509, 198 ]
3.632184
87
from ai.players.random_ai_player import RandomAIPlayer from ai.games.ai_game import AIGame from checkers.game import Game import random
[ 6738, 257, 72, 13, 32399, 13, 25120, 62, 1872, 62, 7829, 1330, 14534, 20185, 14140, 198, 6738, 257, 72, 13, 19966, 13, 1872, 62, 6057, 1330, 317, 3528, 480, 198, 6738, 2198, 364, 13, 6057, 1330, 3776, 198, 11748, 4738, 198 ]
3.317073
41
# Copyright 2021 Amazon.com, Inc. or its affiliates. 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. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanying this file. This file is distributed # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either # express or implied. See the License for the specific language governing # permissions and limitations under the License. import logging from typing import Dict, Optional import numpy as np import pandas as pd import xgboost from syne_tune.blackbox_repository.blackbox_surrogate import BlackboxSurrogate from syne_tune.config_space import Domain from syne_tune.optimizer.schedulers.searchers.searcher import BaseSearcher from syne_tune.optimizer.schedulers.transfer_learning import ( TransferLearningTaskEvaluations, TransferLearningMixin, ) logger = logging.getLogger(__name__)
[ 2, 15069, 33448, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 1439, 6923, 33876, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 11074, 198, 2, 921, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 317, 4866, 286, 262, 13789, 318, 5140, 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, 393, 287, 262, 366, 43085, 1, 2393, 19249, 428, 2393, 13, 770, 2393, 318, 9387, 198, 2, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 198, 2, 4911, 393, 17142, 13, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 198, 2, 21627, 290, 11247, 739, 262, 13789, 13, 198, 11748, 18931, 198, 6738, 19720, 1330, 360, 713, 11, 32233, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 2124, 70, 39521, 198, 198, 6738, 827, 710, 62, 83, 1726, 13, 13424, 3524, 62, 260, 1930, 37765, 13, 13424, 3524, 62, 11793, 3828, 378, 1330, 2619, 3524, 14214, 3828, 378, 198, 6738, 827, 710, 62, 83, 1726, 13, 11250, 62, 13200, 1330, 20021, 198, 6738, 827, 710, 62, 83, 1726, 13, 40085, 7509, 13, 1416, 704, 377, 364, 13, 325, 283, 3533, 13, 325, 283, 2044, 1330, 7308, 50, 50194, 198, 6738, 827, 710, 62, 83, 1726, 13, 40085, 7509, 13, 1416, 704, 377, 364, 13, 39437, 62, 40684, 1330, 357, 198, 220, 220, 220, 20558, 41730, 25714, 36, 2100, 6055, 11, 198, 220, 220, 220, 20558, 41730, 35608, 259, 11, 198, 8, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628 ]
3.367742
310
import os from shutil import copyfile from os import listdir save_dir =r'J:/game/seg_classification/data/' imgs_dir =r'J:/game/seg_classification/_ouput_dir_/' if not os.path.isdir(save_dir): os.makedirs(save_dir) for files in listdir(imgs_dir): if files[-5] =='0': source_file=os.path.join(imgs_dir +files) target_file =os.path.join(save_dir +files) copyfile(source_file,target_file)
[ 11748, 28686, 220, 198, 6738, 4423, 346, 1330, 4866, 7753, 198, 6738, 28686, 1330, 1351, 15908, 628, 198, 21928, 62, 15908, 796, 81, 6, 41, 14079, 6057, 14, 325, 70, 62, 4871, 2649, 14, 7890, 14, 6, 198, 9600, 82, 62, 15908, 796, 81, 6, 41, 14079, 6057, 14, 325, 70, 62, 4871, 2649, 47835, 280, 1996, 62, 15908, 62, 14, 6, 198, 361, 407, 28686, 13, 6978, 13, 9409, 343, 7, 21928, 62, 15908, 2599, 198, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 21928, 62, 15908, 8, 628, 198, 1640, 3696, 287, 1351, 15908, 7, 9600, 82, 62, 15908, 2599, 198, 220, 220, 220, 611, 3696, 58, 12, 20, 60, 6624, 6, 15, 10354, 198, 220, 220, 220, 220, 220, 220, 2723, 62, 7753, 28, 418, 13, 6978, 13, 22179, 7, 9600, 82, 62, 15908, 1343, 16624, 8, 198, 220, 220, 220, 220, 220, 220, 2496, 62, 7753, 796, 418, 13, 6978, 13, 22179, 7, 21928, 62, 15908, 1343, 16624, 8, 198, 220, 220, 220, 220, 220, 220, 4866, 7753, 7, 10459, 62, 7753, 11, 16793, 62, 7753, 8, 220, 628, 220, 198 ]
2.274194
186
# Copyright 2019 DeepMind Technologies Limited. 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. # ============================================================================== """Tests for haiku._src.random.""" import functools from absl.testing import absltest from haiku._src import base from haiku._src import random from haiku._src import transform import jax from jax import prng import jax.numpy as jnp import numpy as np if __name__ == "__main__": absltest.main()
[ 2, 15069, 13130, 10766, 28478, 21852, 15302, 13, 1439, 6923, 33876, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 38093, 25609, 28, 198, 37811, 51, 3558, 329, 387, 28643, 13557, 10677, 13, 25120, 526, 15931, 198, 198, 11748, 1257, 310, 10141, 198, 198, 6738, 2352, 75, 13, 33407, 1330, 2352, 2528, 395, 198, 6738, 387, 28643, 13557, 10677, 1330, 2779, 198, 6738, 387, 28643, 13557, 10677, 1330, 4738, 198, 6738, 387, 28643, 13557, 10677, 1330, 6121, 198, 11748, 474, 897, 198, 6738, 474, 897, 1330, 778, 782, 198, 11748, 474, 897, 13, 77, 32152, 355, 474, 37659, 198, 11748, 299, 32152, 355, 45941, 628, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 2352, 2528, 395, 13, 12417, 3419, 198 ]
3.802281
263
from frappe import _
[ 6738, 5306, 27768, 1330, 4808, 198 ]
3.5
6
from argparse import ArgumentParser import os import sys from six.moves.configparser import ConfigParser from najdisi_sms import utils from .api import SMSSender log = utils.get_logger() class SettingParser(object): """docstring for SettingParser""" def merge_settings(self, parser_space): """ Merge config file and cli options """ if os.path.exists(parser_space.config): ini_config = parse_ini(parser_space.config) for attr in ['username', 'password']: setattr( parser_space, attr, getattr(parser_space, attr, None) or ini_config.get('najdisi_sms', attr) ) elif not self.default_config_path == parser_space.config: log.info('Config file you specified not found!') return parser_space if __name__ == '__main__': main()
[ 6738, 1822, 29572, 1330, 45751, 46677, 198, 11748, 28686, 198, 11748, 25064, 198, 198, 6738, 2237, 13, 76, 5241, 13, 11250, 48610, 1330, 17056, 46677, 198, 198, 6738, 299, 1228, 6381, 72, 62, 82, 907, 1330, 3384, 4487, 198, 6738, 764, 15042, 1330, 9447, 5432, 2194, 198, 198, 6404, 796, 3384, 4487, 13, 1136, 62, 6404, 1362, 3419, 628, 198, 4871, 25700, 46677, 7, 15252, 2599, 198, 220, 220, 220, 37227, 15390, 8841, 329, 25700, 46677, 37811, 628, 220, 220, 220, 825, 20121, 62, 33692, 7, 944, 11, 30751, 62, 13200, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 39407, 4566, 2393, 290, 537, 72, 3689, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 48610, 62, 13200, 13, 11250, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 287, 72, 62, 11250, 796, 21136, 62, 5362, 7, 48610, 62, 13200, 13, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 708, 81, 287, 37250, 29460, 3256, 705, 28712, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30751, 62, 13200, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 651, 35226, 7, 48610, 62, 13200, 11, 708, 81, 11, 6045, 8, 393, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 287, 72, 62, 11250, 13, 1136, 10786, 77, 1228, 6381, 72, 62, 82, 907, 3256, 708, 81, 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, 1288, 361, 407, 2116, 13, 12286, 62, 11250, 62, 6978, 6624, 30751, 62, 13200, 13, 11250, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 10951, 10786, 16934, 2393, 345, 7368, 407, 1043, 0, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 30751, 62, 13200, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, 198 ]
2.171296
432
""" Modified from ML-GCN/util.py: * adding calculations: OP, OR, OF1, CP, CR, CF1, EP, ER, EF1 * removing args: difficult_examples """ import math import torch from PIL import Image from tqdm import tqdm import numpy as np import random import torch.nn.functional as F
[ 37811, 198, 5841, 1431, 422, 10373, 12, 15916, 45, 14, 22602, 13, 9078, 25, 198, 9, 4375, 16765, 25, 13349, 11, 6375, 11, 3963, 16, 11, 16932, 11, 8740, 11, 18551, 16, 11, 14724, 11, 13793, 11, 33685, 16, 198, 9, 10829, 26498, 25, 2408, 62, 1069, 12629, 198, 37811, 198, 198, 11748, 10688, 198, 11748, 28034, 198, 6738, 350, 4146, 1330, 7412, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 4738, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 628, 198 ]
2.956522
92
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Aug 6 12:05:46 2019 @author: chrisbartel """ import numpy as np from sklearn.metrics import confusion_matrix, r2_score
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 30030, 2447, 220, 718, 1105, 25, 2713, 25, 3510, 13130, 198, 198, 31, 9800, 25, 442, 2442, 16575, 417, 198, 37811, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 1341, 35720, 13, 4164, 10466, 1330, 10802, 62, 6759, 8609, 11, 374, 17, 62, 26675 ]
2.583333
72
from ceph_deploy.util import templates from ceph_deploy.lib.remoto import process
[ 6738, 269, 27446, 62, 2934, 1420, 13, 22602, 1330, 24019, 198, 6738, 269, 27446, 62, 2934, 1420, 13, 8019, 13, 2787, 2069, 1330, 1429, 628, 198 ]
3.230769
26
Bar()
[ 198, 10374, 3419, 198 ]
1.75
4
""" Problem Statement: Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. """ from __future__ import print_function import os try: raw_input # Python 2 except NameError: raw_input = input # Python 3 def solution(array): """Returns the first ten digits of the sum of the array elements. >>> sum = 0 >>> array = [] >>> with open(os.path.dirname(__file__) + "/num.txt","r") as f: ... for line in f: ... array.append(int(line)) ... >>> solution(array) '5537376230' """ return str(sum(array))[:10] if __name__ == "__main__": n = int(input().strip()) array = [] for i in range(n): array.append(int(input().strip())) print(solution(array))
[ 37811, 198, 40781, 21983, 25, 198, 12468, 503, 262, 717, 3478, 19561, 286, 262, 2160, 286, 262, 1708, 530, 12, 71, 3229, 2026, 12, 27003, 198, 77, 17024, 13, 198, 37811, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 11748, 28686, 198, 198, 28311, 25, 198, 220, 220, 220, 8246, 62, 15414, 220, 1303, 11361, 362, 198, 16341, 6530, 12331, 25, 198, 220, 220, 220, 8246, 62, 15414, 796, 5128, 220, 1303, 11361, 513, 628, 198, 4299, 4610, 7, 18747, 2599, 198, 220, 220, 220, 37227, 35561, 262, 717, 3478, 19561, 286, 262, 2160, 286, 262, 7177, 4847, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 13163, 2160, 796, 657, 198, 220, 220, 220, 13163, 7177, 796, 17635, 198, 220, 220, 220, 13163, 351, 1280, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 1343, 12813, 22510, 13, 14116, 2430, 81, 4943, 355, 277, 25, 198, 220, 220, 220, 2644, 220, 220, 220, 220, 329, 1627, 287, 277, 25, 198, 220, 220, 220, 2644, 220, 220, 220, 220, 220, 220, 220, 220, 7177, 13, 33295, 7, 600, 7, 1370, 4008, 198, 220, 220, 220, 2644, 198, 220, 220, 220, 13163, 4610, 7, 18747, 8, 198, 220, 220, 220, 705, 2816, 2718, 2718, 5237, 1270, 6, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 965, 7, 16345, 7, 18747, 4008, 58, 25, 940, 60, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 299, 796, 493, 7, 15414, 22446, 36311, 28955, 628, 220, 220, 220, 7177, 796, 17635, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 77, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 7177, 13, 33295, 7, 600, 7, 15414, 22446, 36311, 3419, 4008, 198, 220, 220, 220, 3601, 7, 82, 2122, 7, 18747, 4008, 198 ]
2.527869
305
import discord from discord.ext import commands import json import subprocess class Music(commands.Cog): """Play all great classics""" @commands.command(name='play', description="play a given music", brief="play a given music") @commands.command(name='stop', description="stop music and leave voice channel", brief="stop music")
[ 11748, 36446, 198, 6738, 36446, 13, 2302, 1330, 9729, 198, 11748, 33918, 198, 11748, 850, 14681, 198, 198, 4871, 7849, 7, 9503, 1746, 13, 34, 519, 2599, 198, 220, 220, 220, 37227, 11002, 477, 1049, 29039, 37811, 628, 220, 220, 220, 2488, 9503, 1746, 13, 21812, 7, 3672, 11639, 1759, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6764, 2625, 1759, 257, 1813, 2647, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4506, 2625, 1759, 257, 1813, 2647, 4943, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 9503, 1746, 13, 21812, 7, 3672, 11639, 11338, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6764, 2625, 11338, 2647, 290, 2666, 3809, 6518, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4506, 2625, 11338, 2647, 4943, 198 ]
2.331551
187
import re import csv from dmutils.documents import get_document_path, generate_download_filename
[ 11748, 302, 198, 11748, 269, 21370, 198, 198, 6738, 288, 21973, 4487, 13, 15390, 2886, 1330, 651, 62, 22897, 62, 6978, 11, 7716, 62, 15002, 62, 34345, 628, 628, 198 ]
3.4
30
## @ingroup Methods-Flight_Dynamics-Dynamic_Stability-Full_Linearized_Equations-Supporting_Functions # cm_alphadot.py # # Created: Jun 2014, A. Wendorff # Modified: Jan 2016, E. Botero # ---------------------------------------------------------------------- # Method # ---------------------------------------------------------------------- ## @ingroup Methods-Flight_Dynamics-Dynamic_Stability-Full_Linearized_Equations-Supporting_Functions def cm_alphadot(cm_i, ep_alpha, l_t, mac): """ This calculates the pitching moment coefficient with respect to the rate of change of the alpha of attack of the aircraft Assumptions: None Source: J.H. Blakelock, "Automatic Control of Aircraft and Missiles" Wiley & Sons, Inc. New York, 1991, (pg 23) Inputs: cm_i [dimensionless] ep_alpha [dimensionless] l_t [meters] mac [meters] Outputs: cm_alphadot [dimensionless] Properties Used: N/A """ # Generating Stability derivative cm_alphadot = 2. * cm_i * ep_alpha * l_t / mac return cm_alphadot
[ 2235, 2488, 278, 3233, 25458, 12, 43069, 62, 35, 4989, 873, 12, 44090, 62, 1273, 1799, 12, 13295, 62, 14993, 451, 1143, 62, 23588, 602, 12, 15514, 278, 62, 24629, 2733, 198, 2, 12067, 62, 17307, 324, 313, 13, 9078, 198, 2, 220, 198, 2, 15622, 25, 220, 7653, 1946, 11, 317, 13, 370, 18738, 487, 198, 2, 40499, 25, 2365, 1584, 11, 412, 13, 18579, 3529, 198, 198, 2, 16529, 23031, 198, 2, 220, 220, 11789, 198, 2, 16529, 23031, 198, 2235, 2488, 278, 3233, 25458, 12, 43069, 62, 35, 4989, 873, 12, 44090, 62, 1273, 1799, 12, 13295, 62, 14993, 451, 1143, 62, 23588, 602, 12, 15514, 278, 62, 24629, 2733, 198, 4299, 12067, 62, 17307, 324, 313, 7, 11215, 62, 72, 11, 2462, 62, 26591, 11, 300, 62, 83, 11, 8352, 2599, 198, 220, 220, 220, 37227, 770, 43707, 262, 21088, 2589, 35381, 351, 2461, 284, 262, 220, 198, 220, 220, 220, 2494, 286, 1487, 286, 262, 17130, 286, 1368, 286, 262, 6215, 220, 220, 220, 220, 220, 220, 220, 220, 628, 220, 220, 220, 2195, 388, 8544, 25, 198, 220, 220, 220, 6045, 198, 220, 220, 220, 220, 198, 220, 220, 220, 8090, 25, 198, 220, 220, 220, 449, 13, 39, 13, 13307, 5354, 11, 366, 16541, 13730, 6779, 286, 30767, 290, 4544, 2915, 1, 220, 198, 220, 220, 220, 43424, 1222, 27989, 11, 3457, 13, 968, 1971, 11, 10249, 11, 357, 6024, 2242, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 23412, 82, 25, 198, 220, 220, 220, 12067, 62, 72, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 46156, 1203, 60, 198, 220, 220, 220, 2462, 62, 26591, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 46156, 1203, 60, 198, 220, 220, 220, 300, 62, 83, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 4164, 364, 60, 198, 220, 220, 220, 8352, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 4164, 364, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 25235, 82, 25, 198, 220, 220, 220, 12067, 62, 17307, 324, 313, 220, 220, 220, 220, 220, 220, 220, 220, 685, 46156, 1203, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 24946, 16718, 25, 198, 220, 220, 220, 399, 14, 32, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 2980, 803, 47865, 27255, 628, 220, 220, 220, 12067, 62, 17307, 324, 313, 220, 796, 362, 13, 1635, 12067, 62, 72, 1635, 2462, 62, 26591, 1635, 300, 62, 83, 1220, 8352, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 12067, 62, 17307, 324, 313, 220 ]
2.459016
488
from test.base import BaseTestCase from application.models import RequestAssertion
[ 6738, 1332, 13, 8692, 1330, 7308, 14402, 20448, 198, 6738, 3586, 13, 27530, 1330, 19390, 8021, 861, 295, 628 ]
4.421053
19
#Author: ahmelq - github.com/ahmedelq/ #License: MIT #This is a solution of https://www.codewars.com/kata/583203e6eb35d7980400002a if __name__ == "__main__": print( countSmileys([':)', ';(', ';}', ':-D']), # should return 2 countSmileys([';D', ':-(', ':-)', ';~)']), # should return 3 countSmileys([';]', ':[', ';*', ':$', ';-D']) # should return 1 )
[ 198, 2, 13838, 25, 29042, 17694, 80, 532, 220, 33084, 13, 785, 14, 993, 1150, 417, 80, 14, 198, 2, 34156, 25, 17168, 198, 2, 1212, 318, 257, 4610, 286, 3740, 1378, 2503, 13, 19815, 413, 945, 13, 785, 14, 74, 1045, 14, 3365, 19504, 18, 68, 21, 1765, 2327, 67, 3720, 36088, 2388, 17, 64, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 3601, 7, 198, 220, 220, 220, 220, 220, 220, 220, 954, 7556, 576, 893, 26933, 10354, 8, 3256, 705, 26, 7, 3256, 705, 46956, 3256, 705, 21912, 35, 20520, 828, 220, 220, 220, 220, 220, 220, 220, 1303, 815, 1441, 362, 198, 220, 220, 220, 220, 220, 220, 220, 954, 7556, 576, 893, 26933, 17020, 35, 3256, 705, 21912, 7, 3256, 705, 21912, 8, 3256, 705, 26, 93, 8, 20520, 828, 220, 220, 220, 220, 220, 1303, 815, 1441, 513, 198, 220, 220, 220, 220, 220, 220, 220, 954, 7556, 576, 893, 26933, 17020, 60, 3256, 705, 33250, 3256, 705, 26, 9, 3256, 705, 25, 3, 3256, 705, 26, 12, 35, 6, 12962, 220, 220, 1303, 815, 1441, 352, 198, 220, 220, 220, 220, 220, 220, 220, 1267 ]
2.014925
201
import json import logging import os from argparse import Namespace from datetime import datetime from tempfile import NamedTemporaryFile from time import sleep from plastron import pcdm from plastron.stomp import Message from plastron.exceptions import FailureException, DataReadException, RESTAPIException from plastron.namespaces import get_manager from plastron.serializers import SERIALIZER_CLASSES from plastron.util import LocalFile logger = logging.getLogger(__name__) nsm = get_manager()
[ 11748, 33918, 198, 11748, 18931, 198, 11748, 28686, 198, 198, 6738, 1822, 29572, 1330, 28531, 10223, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 6738, 20218, 7753, 1330, 34441, 12966, 5551, 8979, 198, 6738, 640, 1330, 3993, 198, 198, 6738, 458, 459, 1313, 1330, 279, 10210, 76, 198, 6738, 458, 459, 1313, 13, 301, 3361, 1330, 16000, 198, 6738, 458, 459, 1313, 13, 1069, 11755, 1330, 25743, 16922, 11, 6060, 5569, 16922, 11, 30617, 17614, 16922, 198, 6738, 458, 459, 1313, 13, 14933, 43076, 1330, 651, 62, 37153, 198, 6738, 458, 459, 1313, 13, 46911, 11341, 1330, 18871, 12576, 14887, 1137, 62, 31631, 1546, 198, 6738, 458, 459, 1313, 13, 22602, 1330, 10714, 8979, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 77, 5796, 796, 651, 62, 37153, 3419, 628, 628 ]
3.618705
139
<<<<<<< HEAD '''Implements ResNet9,..56 dynamically for CIFAR-10 Description of implementation can be found here: https://arxiv.org/pdf/1512.03385.pdf''' import tensorflow as class ResNetBlock(tf.keras.layers.Layer): '''See official RStudio/Keras documentation here: https://github.com/rstudio/keras/blob/main/vignettes/examples/cifar10_resnet.py for implemetation of residual block layers Implements residual block described for CIFAR 10 in He et al. (2016): https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/He_Deep_Residual_Learning_CVPR_2016_paper.pdf ''' class ResNet56(tf.keras.Model): def summary(self): """See hack here: https://stackoverflow.com/questions/55235212/model-summary-cant-print-output-shape-while-using-subclass-model overrides default 'multiple' output shape for debugging, something that is still an open issue on GitHub for TF2.7""" x = tf.keras.layers.Input(shape=(32,32,3)) m = tf.keras.Model(inputs=x, outputs=self.call(x)) return m.summary() mod = ResNet56(3, 16) mod.compile(loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True)) ======= '''Implements ResNet9,..56 dynamically for CIFAR-10 Description of implementation can be found here: https://arxiv.org/pdf/1512.03385.pdf''' import tensorflow as tf class ResNetBlock(tf.keras.layers.Layer): '''See official RStudio/Keras documentation here: https://github.com/rstudio/keras/blob/main/vignettes/examples/cifar10_resnet.py for implemetation of residual block layers Implements residual block described for CIFAR 10 in He et al. (2016): https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/He_Deep_Residual_Learning_CVPR_2016_paper.pdf ''' >>>>>>> 5c65073e7e9b9d1e712f2f35af09fbe7b3ffc696
[ 16791, 16791, 16791, 27, 39837, 198, 7061, 6, 3546, 1154, 902, 1874, 7934, 24, 11, 492, 3980, 32366, 329, 327, 5064, 1503, 12, 940, 198, 11828, 286, 7822, 460, 307, 1043, 994, 25, 3740, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1314, 1065, 13, 44427, 5332, 13, 12315, 7061, 6, 198, 11748, 11192, 273, 11125, 355, 198, 198, 4871, 1874, 7934, 12235, 7, 27110, 13, 6122, 292, 13, 75, 6962, 13, 49925, 2599, 198, 220, 705, 7061, 6214, 1743, 371, 41501, 14, 42, 263, 292, 10314, 994, 25, 198, 220, 3740, 1378, 12567, 13, 785, 14, 81, 19149, 952, 14, 6122, 292, 14, 2436, 672, 14, 12417, 14, 85, 570, 23014, 14, 1069, 12629, 14, 66, 361, 283, 940, 62, 411, 3262, 13, 9078, 198, 220, 329, 848, 293, 4164, 341, 286, 29598, 2512, 11685, 628, 220, 1846, 1154, 902, 29598, 2512, 3417, 329, 327, 5064, 1503, 838, 287, 198, 220, 679, 2123, 435, 13, 357, 5304, 2599, 3740, 1378, 2503, 13, 33967, 12, 42526, 13, 2398, 14, 9654, 15526, 14, 11299, 62, 33967, 1050, 62, 5304, 14, 40491, 14, 1544, 62, 29744, 62, 4965, 312, 723, 62, 41730, 62, 33538, 4805, 62, 5304, 62, 20189, 13, 12315, 198, 220, 705, 7061, 628, 198, 4871, 1874, 7934, 3980, 7, 27110, 13, 6122, 292, 13, 17633, 2599, 628, 220, 825, 10638, 7, 944, 2599, 198, 220, 220, 220, 37227, 6214, 8156, 994, 25, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 2816, 1954, 4309, 1065, 14, 19849, 12, 49736, 12, 66, 415, 12, 4798, 12, 22915, 12, 43358, 12, 4514, 12, 3500, 12, 7266, 4871, 12, 19849, 198, 220, 220, 220, 23170, 1460, 4277, 705, 48101, 6, 5072, 5485, 329, 28769, 11, 1223, 326, 318, 991, 281, 1280, 2071, 319, 21722, 329, 24958, 17, 13, 22, 37811, 198, 220, 220, 220, 2124, 796, 48700, 13, 6122, 292, 13, 75, 6962, 13, 20560, 7, 43358, 16193, 2624, 11, 2624, 11, 18, 4008, 198, 220, 220, 220, 285, 796, 48700, 13, 6122, 292, 13, 17633, 7, 15414, 82, 28, 87, 11, 23862, 28, 944, 13, 13345, 7, 87, 4008, 198, 220, 220, 220, 1441, 285, 13, 49736, 3419, 198, 198, 4666, 796, 1874, 7934, 3980, 7, 18, 11, 1467, 8, 198, 4666, 13, 5589, 576, 7, 22462, 28, 27110, 13, 6122, 292, 13, 22462, 274, 13, 50, 29572, 34, 2397, 12409, 21544, 298, 28338, 7, 6738, 62, 6404, 896, 28, 17821, 4008, 198, 1421, 18604, 198, 7061, 6, 3546, 1154, 902, 1874, 7934, 24, 11, 492, 3980, 32366, 329, 327, 5064, 1503, 12, 940, 198, 11828, 286, 7822, 460, 307, 1043, 994, 25, 3740, 1378, 283, 87, 452, 13, 2398, 14, 12315, 14, 1314, 1065, 13, 44427, 5332, 13, 12315, 7061, 6, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 198, 4871, 1874, 7934, 12235, 7, 27110, 13, 6122, 292, 13, 75, 6962, 13, 49925, 2599, 198, 220, 705, 7061, 6214, 1743, 371, 41501, 14, 42, 263, 292, 10314, 994, 25, 198, 220, 3740, 1378, 12567, 13, 785, 14, 81, 19149, 952, 14, 6122, 292, 14, 2436, 672, 14, 12417, 14, 85, 570, 23014, 14, 1069, 12629, 14, 66, 361, 283, 940, 62, 411, 3262, 13, 9078, 198, 220, 329, 848, 293, 4164, 341, 286, 29598, 2512, 11685, 198, 220, 220, 198, 220, 1846, 1154, 902, 29598, 2512, 3417, 329, 327, 5064, 1503, 838, 287, 198, 220, 679, 2123, 435, 13, 357, 5304, 2599, 3740, 1378, 2503, 13, 33967, 12, 42526, 13, 2398, 14, 9654, 15526, 14, 11299, 62, 33967, 1050, 62, 5304, 14, 40491, 14, 1544, 62, 29744, 62, 4965, 312, 723, 62, 41730, 62, 33538, 4805, 62, 5304, 62, 20189, 13, 12315, 198, 220, 705, 7061, 198, 198, 16471, 33409, 642, 66, 17544, 4790, 68, 22, 68, 24, 65, 24, 67, 16, 68, 49517, 69, 17, 69, 2327, 1878, 2931, 69, 1350, 22, 65, 18, 487, 66, 38205, 198 ]
2.752722
643
import pkgutil from ram.classes import Service
[ 11748, 279, 10025, 22602, 198, 198, 6738, 15770, 13, 37724, 1330, 4809, 628 ]
3.769231
13
from unittest import TestCase, skip from hw1cs561s2018 import Chess, Configuration, alphabeta_cutoff_search, minimax_decision
[ 6738, 555, 715, 395, 1330, 6208, 20448, 11, 14267, 198, 198, 6738, 289, 86, 16, 6359, 47915, 82, 7908, 1330, 25774, 11, 28373, 11, 24830, 64, 62, 8968, 2364, 62, 12947, 11, 10356, 897, 62, 12501, 1166, 628 ]
3.368421
38
""" Dataflow visualization. An upstream dataflow visualization explains the derivation of a value. Take for example this dataflow visualization of the derivation of a VCF file from a bioinformatic analysis: ``` value = File(path=sample4.vcf, hash=********) value <-- <********> call_variants(bam, ref_genome) bam = <********> File(path=sample4.bam, hash=********) ref_genome = <********> File(path=ref_genome, hash=********) bam <-- argument of <********> call_variants_all(bams, ref_genome) <-- <********> align_reads_all(fastqs, ref_genome) <-- <********> align_reads(fastq, ref_genome) fastq = <********> File(path=sample4.fastq, hash=********) ref_genome = <********> File(path=ref_genome, hash=********) fastq <-- argument of <********> align_reads_all(fastqs, ref_genome) <-- argument of <********> main(fastqs, ref_genome) <-- origin ref_genome <-- argument of <********> align_reads_all(fastqs, ref_genome) <-- argument of <********> main(fastqs, ref_genome) <-- origin ``` Hash values are indicated by * above. For reference, here is what the workflow might have been: ``` @task() def align_reads(fastq: File, ref_genome: File) -> File: reads = cast(str, fastq.read()) ref = cast(str, ref_genome.read()) bam = File(fastq.path.replace("fastq", "bam")) bam.write("align({}, {})".format(reads, ref)) return bam @task() def call_variants(bam: File, ref_genome: File) -> File: align = cast(str, bam.read()) ref = cast(str, ref_genome.read()) vcf = File(bam.path.replace("bam", "vcf")) vcf.write("calls({}, {})".format(align, ref)) return vcf @task() def align_reads_all(fastqs: List[File], ref_genome: File): bams = [align_reads(fastq, ref_genome) for fastq in fastqs] return bams @task() def call_variants_all(bams: List[File], ref_genome: File): vcfs = [call_variants(bam, ref_genome) for bam in bams] return vcfs @task() def main(fastqs: List[File], ref_genome: File): bams = align_reads_all(fastqs, ref_genome) vcfs = call_variants_all(bams, ref_genome) return vcfs ``` A dataflow visualization consists of a series of paragraphs called "dataflow sections" that describe how one of the values is derived. Here is the section for the `bam` value: ``` bam <-- argument of <********> call_variants_all(bams, ref_genome) <-- <********> align_reads_all(fastqs, ref_genome) <-- <********> align_reads(fastq, ref_genome_2) fastq = <********> File(path=sample4.fastq, hash=********) ref_genome = <********> File(path=ref_genome, hash=********) ``` A section is made of three clauses: assignment, routing, and arguments. The assignment clause indicates which CallNode produced this value: ``` bam <-- argument of <********> call_variants_all(bams, ref_genome) ``` Routing clauses, if present, describe a series of additional CallNodes that "route" the value by passing via arguments from parent CallNode to child CallNode, or by results from child CallNode to parent CallNode. ``` <-- result of <********> align_reads_all(fastqs, ref_genome) <-- <********> align_reads(fastq, ref_genome_2) ``` Argument clauses define the value for each argument in the final CallNode. ``` fastq = <********> File(path=sample4.fastq, hash=********) ref_genome = <********> File(path=ref_genome, hash=********) ``` To build this visualization, the following strategy is used: - Given a starting value (e.g. a VCF file in the example above), walk the CallGraph backwards (i.e. upstream) to determine relevant nodes. These are call DataflowNodes, which are connected by DataflowEdges. - DataflowEdges are then grouped into sections. - Each section is then reorganized into a DataflowSectionDOM. A DataflowDOM is the collection of DataflowSectionDOMs. The DOM(document object model) is an intermediate representation that can be rendered in multiple ways. - Once a DataflowDOM is created, it can either be rendered into a textual format, or serialized into JSON for the web frontend. """ import ast import re from collections import defaultdict from enum import Enum from itertools import chain from textwrap import dedent from typing import ( Any, Callable, Dict, Iterable, Iterator, List, NamedTuple, Optional, Set, Tuple, TypeVar, Union, cast, ) from redun.backends.db import Argument, CallNode, RedunBackendDb, Task, Value from redun.utils import assert_never, trim_string T = TypeVar("T") REDUN_INTERNAL_TASKS = { "redun.postprocess_script", "redun.script", } def iter_unique(items: Iterable[T], key: Callable[[T], Any] = lambda x: x) -> Iterator[T]: """ Iterate through unique items. """ seen: Set[T] = set() for item in items: item_key = key(item) if item_key not in seen: yield item seen.add(item_key) class ArgumentValue(NamedTuple): """ A DataflowNode used for tracing one subvalue in an argument. """ argument: Argument value: Value class CallNodeValue(NamedTuple): """ A DataflowNode used for tracing one subvalue of a CallNode result. """ call_node: CallNode value: Value # There are several kinds of DataflowNodes. DataflowNode = Union[ArgumentValue, CallNodeValue, CallNode, Value] class DataflowEdge(NamedTuple): """ An edge in a Dataflow graph. """ src: DataflowNode dest: Optional[DataflowNode] # A grouping of DataflowEdges that are displayed as one "paragraph". DataflowSection = List[DataflowEdge] class DataflowSectionKind(Enum): """ Each dataflow section describes either a task call or a data manipulation. """ CALL = "call" DATA = "data" class DataflowAssign(NamedTuple): """ The assignment clause in a Dataflow DOM. """ var_name: str prefix: str node_display: str node: Optional[DataflowNode] class DataflowRouting(NamedTuple): """ A routing clause in a Dataflow DOM. """ prefix: str node_display: str node: Optional[DataflowNode] class DataflowArg(NamedTuple): """ An argument clause in a Dataflow DOM. """ var_name: str value: Value class DataflowSectionDOM(NamedTuple): """ A section in Dataflow DOM. """ assign: DataflowAssign routing: List[DataflowRouting] args: List[DataflowArg] # The top-level Dataflow DOM. DataflowDOM = Iterable[DataflowSectionDOM] def get_task_args(task: Task) -> List[str]: """ Returns list of argument names of a Task. Raises a SyntaxError if the task source code is not properly formatted. """ # Since we don't currently record the name of positional arguments, # we have to infer them from the source code. code = ast.parse(dedent(task.source)) if not isinstance(code.body[0], ast.FunctionDef): raise SyntaxError("Source code is not a properly formatted function.") # Type ignore is needed since the AST lib does seem to use proper types # everywhere. return [arg.arg for arg in code.body[0].args.args] # type: ignore def make_var_name(var_name_base: str, name2var: Dict[str, DataflowNode], suffix: int = 2) -> str: """ Generate a new variable using a unique suffix (e.g. myvar_2). """ # Strip numerical suffix. var_name_base = re.sub(r"_\d+$", "", var_name_base) if var_name_base not in name2var: # This variable name is already unique. return var_name_base # Search increase suffixes until we find a unique variable name. while True: new_var_name = var_name_base + "_" + str(suffix) if new_var_name not in name2var: return new_var_name suffix += 1 def get_default_arg_name(pos: int) -> str: """ Generate the default name for argument. """ return f"arg{pos}" class DataflowVars: """ Manages variable names for nodes in a dataflow. """ def __getitem__(self, node: DataflowNode) -> str: """ Get a variable name for a DataflowNode. """ return self.var2name[node] def __setitem__(self, node: DataflowNode, var_name: str) -> str: """ Set a new variable name for a DataflowNode. """ self.var2name[node] = var_name self.name2var[var_name] = node return var_name def __contains__(self, node: DataflowNode) -> bool: """ Returns True if node has a variable name. """ return node in self.var2name def get_task_args(self, task: Task) -> List[str]: """ Returns the parameter names of a Task. """ args = self.task2args.get(task) if not args: # Cache task arg names. # TODO: Properly handle variadic args. try: args = self.task2args[task] = get_task_args(task) except SyntaxError: # The argument names cannot be properly parsed. return [] return args def new_var_name( self, node: DataflowNode, base_var_name: Optional[str] = None ) -> Tuple[str, Optional[str]]: """ Get or create a new variable name for a DataflowNode. """ var_name = self.var2name.get(node) if var_name: # Node is already named. return var_name, None if not base_var_name: # Autogenerate base var name from ArgumentValue. assert isinstance(node, ArgumentValue) argument, value = node # Determine new variable name. if argument.arg_key: base_var_name = argument.arg_key else: arg_names = self.get_task_args(argument.call_node.task) if not arg_names: # Use default argument names. base_var_name = get_default_arg_name(argument.arg_position) else: base_var_name = arg_names[argument.arg_position] # Ensure variable name is unique. var_name = make_var_name(base_var_name, self.name2var) self[node] = var_name return var_name, base_var_name def walk_dataflow_value(backend: RedunBackendDb, value: Value) -> Iterator[DataflowEdge]: """ Iterates through the edges in the upstream dataflow graph of a Value. """ # Find upstream CallNodes. # A value can be produced by many CallNodes and it can be a subvalue of # a value produced from many CallNodes. call_nodes = set(value.results) | { call_node for parent in value.parents for call_node in parent.results } call_nodes = {call_node for call_node in call_nodes if not is_internal_task(call_node.task)} # Determine which CallNodes are just routing CallNodes. # A routing CallNode is an upstream CallNode that is also an ancestor # of another upstream CallNode. seen: Set[CallNode] = set() routing_call_nodes = set() for call_node in call_nodes: for ancestor in walk_parents(call_node, seen): if ancestor in call_nodes: routing_call_nodes.add(ancestor) break # Determine originating CallNodes (upstream and non-routing). originating_call_nodes = call_nodes - routing_call_nodes # Prefer the most recent CallNodes. start_time_call_nodes = [ (job.start_time, call_node) for call_node in originating_call_nodes for job in call_node.jobs ] max_start_time = max((start_time for start_time, _ in start_time_call_nodes), default=None) upstream_call_node = next( ( call_node for start_time, call_node in start_time_call_nodes if start_time == max_start_time ), None, ) # Emit Value-CallNode edges in dataflow. if upstream_call_node: yield DataflowEdge(value, upstream_call_node) else: yield DataflowEdge(value, None) def get_callnode_arguments(call_node: CallNode) -> List[Argument]: """ Returns a CallNode's arguments in sorted order. """ pos_args = [] kw_args = [] for arg in call_node.arguments: if arg.arg_position is not None: pos_args.append(arg) else: kw_args.append(arg) pos_args.sort(key=lambda arg: arg.arg_position) kw_args.sort(key=lambda arg: arg.arg_key) return pos_args + kw_args def walk_dataflow_callnode(backend: RedunBackendDb, call_node: CallNode) -> Iterator[DataflowEdge]: """ Iterates through the upstream Arguments of a CallNode. """ # Emit CallNode-ArgumentValue edges in dataflow. # Reversing the arguments will lead to the traversal to be in original # argument order, which is nicer for display. arguments = get_callnode_arguments(call_node) if arguments: for argument in arguments: yield DataflowEdge(call_node, ArgumentValue(argument, argument.value)) else: # There are no arguments, this is an origin of the dataflow. yield DataflowEdge(call_node, None) def is_internal_task(task: Task) -> bool: """ Returns True if task is an internal redun task. We skip such tasks in the dataflow to avoid clutter. """ return task.fullname in REDUN_INTERNAL_TASKS def walk_dataflow_callnode_value( backend: RedunBackendDb, call_node_value: CallNodeValue ) -> Iterator[DataflowEdge]: """ Iterates through the upstream dataflow edges of a CallNodeValue. The edges either go deeper to the child CallNodes or stay with this CallNode. """ call_node, value = call_node_value # Prefer the flow from children of call_node over call_node. child_matches = [ child_node for child_node in call_node.children if not is_internal_task(child_node.task) and is_subvalue(value, child_node.value) ] if len(child_matches) == 1: # There is one obvious child CallNode that produced this value. # Follow the dataflow through this child CallNode. [child_node] = child_matches yield DataflowEdge(call_node_value, CallNodeValue(child_node, value)) else: # Otherwise, we follow the dataflow for the whole CallNode. yield DataflowEdge(call_node_value, call_node) def walk_dataflow_argument_value( backend: RedunBackendDb, argument_value: ArgumentValue ) -> Iterator[DataflowEdge]: """ Iterates through the upstream dataflow edges of an ArgumentValue. Edge types: - ArgumentValue <-- CallNodeValue: - Value came from the result of a CallNode. - ArgumentValue <-- ArgumentValue - Value came from argument of parent CallNode, i.e. argument-to-argument routing. - ArgumentValue <-- Origin - Value came directly from user or task. """ argument, value = argument_value is_terminal = True # Determine the most recent common parent CallNode of all the upstream CallNodes. call_node_parents = [set(call_node.parents) for call_node in argument.upstream] call_node_parents.append(set(argument.call_node.parents)) context_call_node = next( iter( sorted( set.intersection(*call_node_parents), key=lambda call_node: call_node.timestamp, reverse=True, ) ), None, ) # Process upstream CallNodes in a consistent order (call_order). if context_call_node: # Use reverse order during emission to get correct order during display. upstream_order = sorted( [ (call_node, edge.call_order) for call_node in argument.upstream for edge in call_node.parent_edges if edge.parent_node == context_call_node ], key=lambda pair: pair[1], reverse=True, ) upstream = [call_node for call_node, _ in upstream_order] else: # Fallback if we can't determine context call node. upstream = argument.upstream # Emit upstream sibling CallNodes. for call_node in iter_unique(upstream): # Order subvalues for consistency. subvalues = sorted(call_node.value.children, key=lambda child: child.value_hash) result_values = iter_unique(chain([call_node.value], subvalues)) match = False for result_value in result_values: if value.value_hash == result_value.value_hash: is_terminal = False match = True yield DataflowEdge( argument_value, CallNodeValue(call_node, result_value), ) if not match: # Default to emitting the whole result of the CallNode. is_terminal = False yield DataflowEdge( argument_value, CallNodeValue(call_node, call_node.value), ) # Emit upstream argument from parent CallNode. # Prefer most recent parent. parent_call_nodes = sorted( argument.call_node.parents, key=lambda parent: parent.timestamp, reverse=True ) for parent_call_node in parent_call_nodes[:1]: for parent_argument in parent_call_node.arguments: parent_values = chain([parent_argument.value], parent_argument.value.children) for parent_value in parent_values: if value.value_hash == parent_value.value_hash: is_terminal = False yield DataflowEdge( argument_value, ArgumentValue(parent_argument, value), ) # Emit terminal origin value. if is_terminal: yield DataflowEdge(argument_value, None) def walk_dataflow_node(backend: RedunBackendDb, node: DataflowNode) -> Iterator[DataflowEdge]: """ Iterates through the upstream dataflow edges of a any DataflowNode. """ if isinstance(node, Value): return walk_dataflow_value(backend, node) elif isinstance(node, CallNode): return walk_dataflow_callnode(backend, node) elif isinstance(node, ArgumentValue): return walk_dataflow_argument_value(backend, node) elif isinstance(node, CallNodeValue): return walk_dataflow_callnode_value(backend, node) else: assert_never(node) def walk_dataflow(backend: RedunBackendDb, init_node: DataflowNode) -> Iterator[DataflowEdge]: """ Iterate through all the upstream dataflow edges of a 'node' in the CallGraph. A 'node' can be a Value, CallNode, CallNodeValue, or an ArgumentValue. """ # Perform depth-first traversal. queue: List[DataflowNode] = [init_node] seen: Set[DataflowNode] = set() while queue: node: DataflowNode = queue.pop() child_edges = list(walk_dataflow_node(backend, node)) yield from child_edges # Reverse edges before pushing on to stack to maintain sibling order. for edge in reversed(child_edges): node2 = edge.dest if node2 is None: # Terminal node of type 'Origin'. continue # Determine whether dest node is unique and should be added to queue. if node2 not in seen: queue.append(node2) seen.add(node2) def get_section_edge_type(edge: DataflowEdge) -> str: """ Classifies a DataflowEdge. """ src, dest = edge if ( isinstance(src, ArgumentValue) and isinstance(dest, CallNodeValue) and src.value.value_hash != dest.value.value_hash ): return "data" elif isinstance(src, CallNode) and isinstance(dest, ArgumentValue): return "call_arg" elif isinstance(src, (Value, CallNodeValue)) and isinstance(dest, CallNode): return "call_result" elif isinstance(src, CallNodeValue) and isinstance(dest, CallNodeValue): return "call_result_routing" elif isinstance(src, ArgumentValue) and isinstance(dest, CallNodeValue): return "call_arg_result_routing" elif isinstance(src, ArgumentValue) and isinstance(dest, ArgumentValue): return "call_arg_routing" elif isinstance(src, CallNode) and dest is None: return "call_origin" elif isinstance(src, ArgumentValue) and dest is None: return "call_arg_origin" elif isinstance(src, Value) and dest is None: return "call_value_origin" else: raise AssertionError(f"Unknown edge type {edge}") def toposort_edges(edges: Iterable[DataflowEdge]) -> Iterator[DataflowEdge]: """ Topologically sort DataflowEdges in depth-first order. """ # Compute indegree. indegrees: Dict[DataflowNode, int] = defaultdict(int) src2edge: Dict[DataflowNode, List[DataflowEdge]] = defaultdict( cast(Callable[[], List[DataflowEdge]], list) ) for edge in edges: src2edge[edge.src].append(edge) # Ensure every node is present in indegrees, including roots. indegrees[edge.src] if edge.dest: indegrees[edge.dest] += 1 # Initialize queue with roots. queue: List[DataflowNode] = [node for node, degree in indegrees.items() if degree == 0] while queue: node = queue.pop() yield from src2edge[node] # Reverse edges before pushing on stack in order to maintain sibling order. for edge in reversed(src2edge[node]): if edge.dest: indegrees[edge.dest] -= 1 if indegrees[edge.dest] == 0: # All parents have been visited, we can enqueue dest. queue.append(edge.dest) def rewrite_call_node_merges(edges: List[DataflowEdge]) -> List[DataflowEdge]: """ Rewrites dataflow graphs to enforce one CallNodeValue per CallNode. This function identifies CallNode that have multilple parent CallNodeValues like this: ArgumentValue --> CallNodeValue --\ V CallNode (merge_node) ^ ArgumentValue --> CallNodeValue --/ and rewrite them to unify the CallNodeValues like this: ArgumentValue --\ V CallNodeValue --> CallNode ^ ArgumentValue --/ """ # Build graph dict. src2edges: Dict[Optional[DataflowNode], List[DataflowEdge]] = defaultdict(list) dest2edges = defaultdict(list) nodes = [] for edge in edges: nodes.append(edge.src) src2edges[edge.src].append(edge) if edge.dest: dest2edges[edge.dest].append(edge) # Find merge nodes. merge_nodes = [ node for node, edges in dest2edges.items() if isinstance(node, CallNode) and len(edges) > 1 ] # Rewrite CallNode merge nodes. for merge_node in merge_nodes: # Find relevant edges and nodes. cv_cn_edges = dest2edges[merge_node] call_node_values = [edge.src for edge in cv_cn_edges] upstream_edges = [ edge for call_node_value in call_node_values for edge in dest2edges[call_node_value] ] upstream_nodes = list(iter_unique(edge.src for edge in upstream_edges)) old_edges = set(cv_cn_edges) | set(upstream_edges) # Create new unified CallNodeValue from call_node_values. unified_node = CallNodeValue(call_node=merge_node, value=merge_node.value) # Create new edges. new_edges = [ DataflowEdge( src=upstream_node, dest=unified_node, ) for upstream_node in upstream_nodes ] + [DataflowEdge(src=unified_node, dest=merge_node)] # Remove old edges from edges. edges2 = [edge for edge in edges if edge not in old_edges] # To keep edges in traversal order, insert new edges right before # the first appearance of the merge_node. insert_index = min(i for i, edge in enumerate(edges2) if edge.src == merge_node) edges = edges2[:insert_index] + new_edges + edges2[insert_index:] return edges def iter_subsections(section: DataflowSection) -> Iterator[DataflowSection]: """ Determines if a section should be broken down into small sections. In real life dataflows, there are some cases where the dataflow merges such that the structure is a DAG, not just a tree. These merges represent a value that was passed to two or more different tasks and then their outputs eventually combine again, either into a single Value like a list or as arguments into a common task. For example, `value` is a merge node in the upstream dataflow of `result`. value = task0() output1 = task1(a=value) output2 = task2(b=value) result = task3(c=output1, d=output2) The upstream dataflow graph of `result` is: Value(result) | V CallNode(task3) ---------------\ | | V V ArgumentValue(task3, key=a) ArgumentValue(task3, key=b) | | V V CallNode(task1) CallNode(task2) | | V V ArgumentValue(task1, key=c) ArgumentValue(task2, key=d) | | V | CallNodeValue(task0, value) <--/ | V CallNode(task0) | V Origin The function `iter_dataflow_section()` will break this graph right after every the `CallNode --> ArgumentValue` edge, resulting in three sections. One of those sections will have a "merge node", `CallNode(task0)`: ArgumentValue(task1, key=c) ArgumentValue(task2, key=d) | | V | CallNodeValue(task0, value) <--/ | V CallNode(task0) | V Origin This function will further break this section into subsections like this: Subsection 1: ArgumentValue(task1, key=c) | V CallNodeValue(task0, value) Subsection 2: ArgumentValue(task2, key=d) | V CallNodeValue(task0, value) Subsection 3: CallNodeValue(task0, value) | V CallNode(task0) | V Origin Ultimately these three subsections get rendered as: c <-- c_2 d <-- c_2 c_2 <-- task() <-- origin """ # Build graph dict. src2edges: Dict[Optional[DataflowNode], List[DataflowEdge]] = defaultdict(list) dest2edges = defaultdict(list) nodes = [] for edge in section: nodes.append(edge.src) src2edges[edge.src].append(edge) if edge.dest: dest2edges[edge.dest].append(edge) # Find roots. Maintain order of appearence in section. roots = [node for node in iter_unique(nodes) if len(dest2edges[node]) == 0] # Find merge nodes. merge_nodes = [node for node, edges in dest2edges.items() if len(edges) > 1] if not merge_nodes: # No merge nodes. Keep section as is. yield section return # Determine subsections. subsection: DataflowSection = [] node: Optional[DataflowNode] for node in roots + merge_nodes: while True: next_edges = src2edges[node] if len(next_edges) != 1: # We have hit the end of the section. # There are either no more edges, or we hitting the arguments. subsection.extend(next_edges) yield subsection subsection = [] break # Path should always be linear. [edge] = next_edges subsection.append(edge) if edge.dest not in merge_nodes: # Follow edge. node = edge.dest else: # We have hit the merge node, stop. yield subsection subsection = [] break def iter_dataflow_sections( dataflow_edges: Iterable[DataflowEdge], ) -> Iterator[Tuple[DataflowSectionKind, DataflowSection]]: """ Yields dataflow sections from an iterable of dataflow edges. A dataflow section is a group of edges representing one 'paragraph' in a dataflow display. value <-- <1234abcd> call_node(arg1, arg2) <-- result of <2345abcd> call_node2(arg3, arg4) arg3 = <3456abcd> 'hello_world' arg4 = <4567abcd> File('foo.txt') """ node2call_section: Dict[DataflowNode, List[Tuple[int, DataflowEdge]]] = {} node2data_section: Dict[DataflowNode, List[Tuple[int, DataflowEdge]]] = defaultdict( cast(Callable[[], List[Tuple[int, DataflowEdge]]], list) ) new_vars: Set[ArgumentValue] = set() section: List[Tuple[int, DataflowEdge]] edges = toposort_edges(dataflow_edges) edge_list = rewrite_call_node_merges(list(edges)) # Group dataflow edges into display sections. # Retain the appearance order of each edge so we can sort sections later. for i, edge in enumerate(edge_list): edge_type = get_section_edge_type(edge) if edge_type == "data": # Edge is a data section edge. node2data_section[edge.src].append((i, edge)) continue if edge_type == "call_arg": # New variable. assert isinstance(edge.dest, ArgumentValue) new_vars.add(edge.dest) if edge.src in new_vars: # src is a new variable so we start a new section. section = [(i, edge)] else: # Get or create section associated with src and add this edge. if edge.src not in node2call_section: section = node2call_section[edge.src] = [] else: section = node2call_section[edge.src] section.append((i, edge)) # Get section associated with dest and union with src section. if edge.dest: if edge.dest not in node2call_section: # dest_section same as src. node2call_section[edge.dest] = section else: # Union dest_section with section. # Although this extend might have dups, I use iter_unique to clean it up. dest_section = node2call_section[edge.dest] dest_section.extend(section) node2call_section[edge.src] = dest_section # Get unique sections. call_sections = iter_unique(node2call_section.values(), key=id) data_sections = node2data_section.values() def get_order_section( int_edges: List[Tuple[int, DataflowEdge]] ) -> Tuple[int, List[DataflowEdge]]: """ Returns a tuple of section appearance order and the section. The appearance order of a section is the maximum order of its edges. We also clean up any duplicate edges that may have been added to the section. """ ints = [] section = [] for i, edge in int_edges: ints.append(i) section.append(edge) return (max(ints), list(iter_unique(section))) # Label each section with its type ("call" or "data") and determine section order. sections = [ (DataflowSectionKind.CALL,) + get_order_section(int_edges) for int_edges in call_sections ] sections.extend( (DataflowSectionKind.DATA,) + get_order_section(int_edges) for int_edges in data_sections ) # Sort sections. sections = sorted(sections, key=lambda row: row[1]) # Yield sections. for kind, _, section2 in sections: if kind == DataflowSectionKind.CALL: # If there is path merging, then we will emit multiple sections. for subsection in iter_subsections(section2): yield (kind, subsection) else: yield (kind, section2) def make_section_dom( section: DataflowSection, dataflow_vars: DataflowVars, new_varname: str = "value", ) -> DataflowSectionDOM: """ Returns DOM for a dataflow section. """ # Determine assign information from first edge in section. src, assign_node = section[0] if isinstance(src, Value): # Start new variable. assign_var_name = dataflow_vars[src] = new_varname elif isinstance(src, (ArgumentValue, CallNodeValue)): # Value should be named already. assign_var_name = dataflow_vars[src] else: assert not isinstance(src, CallNode) assert_never(src) routing_defs: List[Optional[DataflowNode]] = [] arg_defs: List[Tuple[str, Value]] = [] renames: Dict[str, str] = {} # Compute whether this section ends with a variable. is_var2var = isinstance(assign_node, (ArgumentValue, CallNodeValue)) last_routing_node = None # Process remaining edges. for src, dest in section[1:]: if isinstance(src, CallNode) and isinstance(dest, ArgumentValue): # Argument definition edge. var_name, base_var_name = dataflow_vars.new_var_name(dest) if base_var_name: renames[base_var_name] = var_name arg_defs.append((var_name, dest.value)) else: # Routing edge. last_routing_node = dest if isinstance(dest, CallNode): is_var2var = False # Skip unnecessary routing edge, ignore. if not (isinstance(src, CallNodeValue) and isinstance(dest, CallNode)): routing_defs.append(dest) # The last routing def or assign (if there are no routing defs) needs # to rename its variables to be unique. last_line = len(routing_defs) # Create assign clause. if is_var2var and not routing_defs: # Assignment is a var2var. assert assign_node # Name the last node after the first node, if it doesn't have a name yet. base_name = dataflow_vars[section[0].src] var_name, _ = dataflow_vars.new_var_name(assign_node, base_name) dom_assign = DataflowAssign(assign_var_name, "", var_name, assign_node) else: prefix, node_display = display_node(assign_node, renames if last_line == 0 else {}) dom_assign = DataflowAssign(assign_var_name, prefix, node_display, assign_node) # Create routing clauses. dom_routing: List[DataflowRouting] = [] for i, dest in enumerate(routing_defs, 1): prefix, node_display = display_node(dest, renames if i == last_line else {}) dom_routing.append(DataflowRouting(prefix, node_display, dest)) # If last routing node is a Value, as opposed to a CallNode, then this was a # merge node and we should end with a new variable. if is_var2var and isinstance(last_routing_node, (ArgumentValue, CallNodeValue)): # This is a merge node, give it a variable name. assert not arg_defs # Name the last node after the first node, if it doesn't have a name yet. base_name = dataflow_vars[section[0].src] var_name, _ = dataflow_vars.new_var_name(last_routing_node, base_name) dom_routing.append(DataflowRouting("", var_name, last_routing_node)) # Create argument definitions. dom_args: List[DataflowArg] = [DataflowArg(var_name, var) for var_name, var in arg_defs] return DataflowSectionDOM(dom_assign, dom_routing, dom_args) def make_data_section_dom( section: DataflowSection, dataflow_vars: DataflowVars, new_varname: str = "value", ) -> DataflowSectionDOM: """ Returns a DOM for a data section. A data section describes how one value was constructed from several subvalues. For example this dataflow section: parent_value <-- derives from subvalue1 = File(path='file1') subvalue2 = File(path='file2') corresponds to this kind of code: subvalue1 = task1() subvalue2 = task2() parent_value = [subvalue1, subvalue2] task3(parent_value) """ downstream_nodes: Set[DataflowNode] = set() upstream_nodes: List[CallNodeValue] = [] for edge in section: assert isinstance(edge.dest, CallNodeValue) downstream_nodes.add(edge.src) upstream_nodes.append(edge.dest) # Determine assign clause. # We only support one downstream node currently. [downstream_node] = downstream_nodes assign_var_name = dataflow_vars[downstream_node] # Determine arg clauses. args = [] for upstream_node in iter_unique(upstream_nodes): call_node, value = upstream_node # Ensure variable name is unique. base_var_name = upstream_node.call_node.task.name + "_result" new_var_name, _ = dataflow_vars.new_var_name(upstream_node, base_var_name) args.append(DataflowArg(new_var_name, value)) return DataflowSectionDOM( assign=DataflowAssign( var_name=assign_var_name, prefix="", node_display="derives from", node=None ), routing=[], args=args, ) def make_dataflow_dom( dataflow_edges: Iterable[DataflowEdge], new_varname: str = "value" ) -> Iterable[DataflowSectionDOM]: """ Yields dataflow section DOMs from an iterable of dataflow edges. It also performs variable renaming to give every value a unique variable name. """ dataflow_vars = DataflowVars() for kind, section in iter_dataflow_sections(dataflow_edges): if kind == DataflowSectionKind.CALL: yield make_section_dom(section, dataflow_vars, new_varname=new_varname) elif kind == DataflowSectionKind.DATA: yield make_data_section_dom(section, dataflow_vars, new_varname=new_varname) else: raise NotImplementedError(f"Unknown kind '{kind}'.") def get_dataflow_call_node(node: Optional[DataflowNode]) -> Optional[CallNode]: """ Returns the CallNode for a DataflowNode. """ if isinstance(node, CallNode): return node elif isinstance(node, ArgumentValue): return node.argument.call_node elif isinstance(node, CallNodeValue): return node.call_node elif node is None: return None else: assert_never(node) def get_node_hash(node: Optional[DataflowNode]) -> Optional[str]: """ Formats hash for a DataflowNode. """ if isinstance(node, Value): return node.value_hash call_node = get_dataflow_call_node(node) if call_node: return call_node.call_hash return None def display_node(node: Optional[DataflowNode], renames: Dict[str, str]) -> Tuple[str, str]: """ Formats a dataflow node to a string. """ if isinstance(node, CallNode): return ("", display_call_node(node, renames)) elif isinstance(node, ArgumentValue): return ( "argument of", display_call_node(node.argument.call_node, renames), ) elif isinstance(node, CallNodeValue): return ("", display_call_node(node.call_node, renames)) elif node is None: return ("", "origin") else: assert_never(node) def display_call_node(call_node: CallNode, renames: Dict[str, str]) -> str: """ Formats a CallNode to a string. """ try: arg_names = get_task_args(call_node.task) except SyntaxError: arg_names = [get_default_arg_name(i) for i in range(len(call_node.arguments))] args = [renames.get(arg, arg) for arg in arg_names] return "{task_name}({args})".format(task_name=call_node.task.name, args=", ".join(args)) def display_value(value: Value) -> str: """ Format a Value to a string. """ return trim_string(repr(value.value_parsed)) def display_hash(node: Optional[DataflowNode]) -> str: """ Formats hash for a DataflowNode. """ node_hash = get_node_hash(node) if node_hash: return "<{}> ".format(node_hash[:8]) else: return "" def display_section(dom: DataflowSectionDOM) -> Iterator[str]: """ Yields lines for displaying a dataflow section DOM. """ # Display assign line. assign = dom.assign yield "{var_name} <-- {prefix}{value_hash}{value}".format( var_name=assign.var_name, prefix=assign.prefix + " " if assign.prefix else "", value_hash=display_hash(assign.node), value=assign.node_display, ) indent = len(assign.var_name) + 1 # Display routing. for routing_def in dom.routing: yield "{indent}<-- {prefix}{node_hash}{node}".format( indent=" " * indent, prefix=routing_def.prefix + " " if routing_def.prefix else "", node_hash=display_hash(routing_def.node), node=routing_def.node_display, ) # Display argument definitions. if dom.args: max_var_len = max(len(arg.var_name) for arg in dom.args) for arg in dom.args: yield " {var_name}{padding} = <{value_hash}> {var}".format( var_name=arg.var_name, padding=" " * (max_var_len - len(arg.var_name)), value_hash=arg.value.value_hash[:8], var=display_value(arg.value), ) def display_dataflow(dom: DataflowDOM) -> Iterator[str]: """ Yields for lines displaying a dataflow DOM. """ for dom_section in dom: yield from display_section(dom_section) yield "" def serialize_section(dom: DataflowSectionDOM) -> dict: """ Serialize a DataflowSectionDOM to JSON. """ # Serialize assignment. assign_hash: Optional[str] if isinstance(dom.assign.node, Value): assign_hash = dom.assign.node.value_hash assign_job_id = None assign_execution_id = None elif dom.assign.node: call_node = get_dataflow_call_node(dom.assign.node) assert call_node assign_hash = call_node.call_hash # Get latest job of call_node. assign_job = sorted(call_node.jobs, key=lambda job: job.start_time, reverse=True)[0] assign_job_id = assign_job.id assign_execution_id = assign_job.execution.id else: assign_hash = None assign_job_id = None assign_execution_id = None # Serialize routing. routing = [] for routing_def in dom.routing: call_node = get_dataflow_call_node(routing_def.node) if call_node: call_hash: Optional[str] = call_node.call_hash # Get latest job of call_node. job = sorted(call_node.jobs, key=lambda job: job.start_time, reverse=True)[0] job_id: Optional[str] = job.id execution_id: Optional[str] = job.execution.id else: call_hash = None job_id = None execution_id = None routing.append( { "prefix": routing_def.prefix, "hash": call_hash, "display": routing_def.node_display, "job_id": job_id, "execution_id": execution_id, } ) # Serialize arguments. args = [ { "var_name": arg.var_name, "hash": arg.value.value_hash, "value_display": display_value(arg.value), } for arg in dom.args ] return { "assign": { "var_name": dom.assign.var_name, "prefix": dom.assign.prefix, "display": dom.assign.node_display, "hash": assign_hash, "job_id": assign_job_id, "execution_id": assign_execution_id, }, "routing": routing, "args": args, } def serialize_dataflow(dom: DataflowDOM) -> Iterator[dict]: """ Serialize DataflowDOM to JSON. """ for dom_section in dom: yield serialize_section(dom_section)
[ 37811, 198, 6601, 11125, 32704, 13, 198, 198, 2025, 28717, 1366, 11125, 32704, 6688, 262, 16124, 341, 286, 257, 1988, 13, 7214, 198, 1640, 1672, 428, 1366, 11125, 32704, 286, 262, 16124, 341, 286, 257, 569, 22495, 2393, 198, 6738, 257, 13401, 259, 687, 1512, 3781, 25, 198, 198, 15506, 63, 198, 8367, 796, 9220, 7, 6978, 28, 39873, 19, 13, 85, 12993, 11, 12234, 28, 4557, 8, 198, 198, 8367, 1279, 438, 1279, 4557, 29, 869, 62, 25641, 1187, 7, 65, 321, 11, 1006, 62, 5235, 462, 8, 198, 220, 275, 321, 220, 220, 220, 220, 220, 220, 220, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 39873, 19, 13, 65, 321, 11, 12234, 28, 4557, 8, 198, 220, 1006, 62, 5235, 462, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 5420, 62, 5235, 462, 11, 12234, 28, 4557, 8, 198, 198, 65, 321, 1279, 438, 4578, 286, 1279, 4557, 29, 869, 62, 25641, 1187, 62, 439, 7, 65, 4105, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 1279, 438, 1279, 4557, 29, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 1279, 438, 1279, 4557, 29, 10548, 62, 40779, 7, 7217, 80, 11, 1006, 62, 5235, 462, 8, 198, 220, 3049, 80, 220, 220, 220, 220, 220, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 39873, 19, 13, 7217, 80, 11, 12234, 28, 4557, 8, 198, 220, 1006, 62, 5235, 462, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 5420, 62, 5235, 462, 11, 12234, 28, 4557, 8, 198, 198, 7217, 80, 1279, 438, 4578, 286, 1279, 4557, 29, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 1279, 438, 4578, 286, 1279, 4557, 29, 1388, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 1279, 438, 8159, 198, 198, 5420, 62, 5235, 462, 1279, 438, 4578, 286, 1279, 4557, 29, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 438, 4578, 286, 1279, 4557, 29, 1388, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 438, 8159, 198, 15506, 63, 198, 198, 26257, 3815, 389, 8203, 416, 1635, 2029, 13, 220, 1114, 4941, 11, 994, 318, 644, 262, 198, 1818, 11125, 1244, 423, 587, 25, 198, 198, 15506, 63, 198, 220, 220, 220, 2488, 35943, 3419, 198, 220, 220, 220, 825, 10548, 62, 40779, 7, 7217, 80, 25, 9220, 11, 1006, 62, 5235, 462, 25, 9220, 8, 4613, 9220, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9743, 796, 3350, 7, 2536, 11, 3049, 80, 13, 961, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 1006, 796, 3350, 7, 2536, 11, 1006, 62, 5235, 462, 13, 961, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 275, 321, 796, 9220, 7, 7217, 80, 13, 6978, 13, 33491, 7203, 7217, 80, 1600, 366, 65, 321, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 275, 321, 13, 13564, 7203, 31494, 15090, 5512, 23884, 8, 1911, 18982, 7, 40779, 11, 1006, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 275, 321, 628, 220, 220, 220, 2488, 35943, 3419, 198, 220, 220, 220, 825, 869, 62, 25641, 1187, 7, 65, 321, 25, 9220, 11, 1006, 62, 5235, 462, 25, 9220, 8, 4613, 9220, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10548, 796, 3350, 7, 2536, 11, 275, 321, 13, 961, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 1006, 796, 3350, 7, 2536, 11, 1006, 62, 5235, 462, 13, 961, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 410, 12993, 796, 9220, 7, 65, 321, 13, 6978, 13, 33491, 7203, 65, 321, 1600, 366, 85, 12993, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 410, 12993, 13, 13564, 7203, 66, 5691, 15090, 5512, 23884, 8, 1911, 18982, 7, 31494, 11, 1006, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 410, 12993, 628, 220, 220, 220, 2488, 35943, 3419, 198, 220, 220, 220, 825, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 25, 7343, 58, 8979, 4357, 1006, 62, 5235, 462, 25, 9220, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 275, 4105, 796, 685, 31494, 62, 40779, 7, 7217, 80, 11, 1006, 62, 5235, 462, 8, 329, 3049, 80, 287, 3049, 48382, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 275, 4105, 628, 220, 220, 220, 2488, 35943, 3419, 198, 220, 220, 220, 825, 869, 62, 25641, 1187, 62, 439, 7, 65, 4105, 25, 7343, 58, 8979, 4357, 1006, 62, 5235, 462, 25, 9220, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 410, 66, 9501, 796, 685, 13345, 62, 25641, 1187, 7, 65, 321, 11, 1006, 62, 5235, 462, 8, 329, 275, 321, 287, 275, 4105, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 410, 66, 9501, 628, 220, 220, 220, 2488, 35943, 3419, 198, 220, 220, 220, 825, 1388, 7, 7217, 48382, 25, 7343, 58, 8979, 4357, 1006, 62, 5235, 462, 25, 9220, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 275, 4105, 796, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 220, 220, 410, 66, 9501, 796, 869, 62, 25641, 1187, 62, 439, 7, 65, 4105, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 410, 66, 9501, 198, 15506, 63, 198, 198, 32, 1366, 11125, 32704, 10874, 286, 257, 2168, 286, 23549, 1444, 198, 1, 7890, 11125, 9004, 1, 326, 6901, 703, 530, 286, 262, 3815, 318, 10944, 13, 3423, 198, 271, 262, 2665, 329, 262, 4600, 65, 321, 63, 1988, 25, 198, 198, 15506, 63, 198, 65, 321, 1279, 438, 4578, 286, 1279, 4557, 29, 869, 62, 25641, 1187, 62, 439, 7, 65, 4105, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 1279, 438, 1279, 4557, 29, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 1279, 438, 1279, 4557, 29, 10548, 62, 40779, 7, 7217, 80, 11, 1006, 62, 5235, 462, 62, 17, 8, 198, 220, 3049, 80, 220, 220, 220, 220, 220, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 39873, 19, 13, 7217, 80, 11, 12234, 28, 4557, 8, 198, 220, 1006, 62, 5235, 462, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 5420, 62, 5235, 462, 11, 12234, 28, 4557, 8, 198, 15506, 63, 198, 198, 32, 2665, 318, 925, 286, 1115, 31485, 25, 16237, 11, 28166, 11, 290, 7159, 13, 198, 198, 464, 16237, 13444, 9217, 543, 4889, 19667, 4635, 428, 1988, 25, 198, 198, 15506, 63, 198, 65, 321, 1279, 438, 4578, 286, 1279, 4557, 29, 869, 62, 25641, 1187, 62, 439, 7, 65, 4105, 11, 1006, 62, 5235, 462, 8, 198, 15506, 63, 198, 198, 49, 13660, 31485, 11, 611, 1944, 11, 6901, 257, 2168, 286, 3224, 4889, 45, 4147, 198, 5562, 366, 38629, 1, 262, 1988, 416, 6427, 2884, 7159, 422, 2560, 4889, 19667, 284, 1200, 198, 14134, 19667, 11, 393, 416, 2482, 422, 1200, 4889, 19667, 284, 2560, 4889, 19667, 13, 198, 198, 15506, 63, 198, 220, 220, 220, 1279, 438, 1255, 286, 1279, 4557, 29, 10548, 62, 40779, 62, 439, 7, 7217, 48382, 11, 1006, 62, 5235, 462, 8, 198, 220, 220, 220, 1279, 438, 1279, 4557, 29, 10548, 62, 40779, 7, 7217, 80, 11, 1006, 62, 5235, 462, 62, 17, 8, 198, 15506, 63, 198, 198, 28100, 1713, 31485, 8160, 262, 1988, 329, 1123, 4578, 287, 262, 2457, 4889, 19667, 13, 198, 198, 15506, 63, 198, 220, 3049, 80, 220, 220, 220, 220, 220, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 39873, 19, 13, 7217, 80, 11, 12234, 28, 4557, 8, 198, 220, 1006, 62, 5235, 462, 796, 1279, 4557, 29, 9220, 7, 6978, 28, 5420, 62, 5235, 462, 11, 12234, 28, 4557, 8, 198, 15506, 63, 198, 198, 2514, 1382, 428, 32704, 11, 262, 1708, 4811, 318, 973, 25, 198, 12, 11259, 257, 3599, 1988, 357, 68, 13, 70, 13, 257, 569, 22495, 2393, 287, 262, 1672, 2029, 828, 2513, 262, 198, 220, 4889, 37065, 16196, 357, 72, 13, 68, 13, 28717, 8, 284, 5004, 5981, 13760, 13, 2312, 389, 198, 220, 869, 6060, 11125, 45, 4147, 11, 543, 389, 5884, 416, 6060, 11125, 7407, 3212, 13, 198, 12, 6060, 11125, 7407, 3212, 389, 788, 32824, 656, 9004, 13, 198, 12, 5501, 2665, 318, 788, 302, 30280, 656, 257, 6060, 11125, 16375, 39170, 13, 317, 6060, 11125, 39170, 198, 220, 318, 262, 4947, 286, 6060, 11125, 16375, 39170, 82, 13, 383, 24121, 7, 22897, 2134, 2746, 8, 318, 198, 220, 281, 19898, 10552, 326, 460, 307, 15111, 287, 3294, 2842, 13, 198, 12, 4874, 257, 6060, 11125, 39170, 318, 2727, 11, 340, 460, 2035, 307, 15111, 656, 257, 40577, 198, 220, 5794, 11, 393, 11389, 1143, 656, 19449, 329, 262, 3992, 2166, 437, 13, 198, 37811, 198, 198, 11748, 6468, 198, 11748, 302, 198, 6738, 17268, 1330, 4277, 11600, 198, 6738, 33829, 1330, 2039, 388, 198, 6738, 340, 861, 10141, 1330, 6333, 198, 6738, 2420, 37150, 1330, 4648, 298, 198, 6738, 19720, 1330, 357, 198, 220, 220, 220, 4377, 11, 198, 220, 220, 220, 4889, 540, 11, 198, 220, 220, 220, 360, 713, 11, 198, 220, 220, 220, 40806, 540, 11, 198, 220, 220, 220, 40806, 1352, 11, 198, 220, 220, 220, 7343, 11, 198, 220, 220, 220, 34441, 51, 29291, 11, 198, 220, 220, 220, 32233, 11, 198, 220, 220, 220, 5345, 11, 198, 220, 220, 220, 309, 29291, 11, 198, 220, 220, 220, 5994, 19852, 11, 198, 220, 220, 220, 4479, 11, 198, 220, 220, 220, 3350, 11, 198, 8, 198, 198, 6738, 2266, 403, 13, 1891, 2412, 13, 9945, 1330, 45751, 11, 4889, 19667, 11, 2297, 403, 7282, 437, 43832, 11, 15941, 11, 11052, 198, 6738, 2266, 403, 13, 26791, 1330, 6818, 62, 12081, 11, 15797, 62, 8841, 198, 198, 51, 796, 5994, 19852, 7203, 51, 4943, 198, 198, 22083, 4944, 62, 1268, 31800, 1847, 62, 51, 1921, 27015, 796, 1391, 198, 220, 220, 220, 366, 445, 403, 13, 7353, 14681, 62, 12048, 1600, 198, 220, 220, 220, 366, 445, 403, 13, 12048, 1600, 198, 92, 628, 198, 4299, 11629, 62, 34642, 7, 23814, 25, 40806, 540, 58, 51, 4357, 1994, 25, 4889, 540, 30109, 51, 4357, 4377, 60, 796, 37456, 2124, 25, 2124, 8, 4613, 40806, 1352, 58, 51, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 378, 832, 3748, 3709, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1775, 25, 5345, 58, 51, 60, 796, 900, 3419, 198, 220, 220, 220, 329, 2378, 287, 3709, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 62, 2539, 796, 1994, 7, 9186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2378, 62, 2539, 407, 287, 1775, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 2378, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1775, 13, 2860, 7, 9186, 62, 2539, 8, 628, 198, 4871, 45751, 11395, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 6060, 11125, 19667, 973, 329, 35328, 530, 850, 8367, 287, 281, 4578, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 4578, 25, 45751, 198, 220, 220, 220, 1988, 25, 11052, 628, 198, 4871, 4889, 19667, 11395, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 6060, 11125, 19667, 973, 329, 35328, 530, 850, 8367, 286, 257, 4889, 19667, 1255, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 869, 62, 17440, 25, 4889, 19667, 198, 220, 220, 220, 1988, 25, 11052, 628, 198, 2, 1318, 389, 1811, 6982, 286, 6060, 11125, 45, 4147, 13, 198, 6601, 11125, 19667, 796, 4479, 58, 28100, 1713, 11395, 11, 4889, 19667, 11395, 11, 4889, 19667, 11, 11052, 60, 628, 198, 4871, 6060, 11125, 37021, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1052, 5743, 287, 257, 6060, 11125, 4823, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 12351, 25, 6060, 11125, 19667, 198, 220, 220, 220, 2244, 25, 32233, 58, 6601, 11125, 19667, 60, 628, 198, 2, 317, 36115, 286, 6060, 11125, 7407, 3212, 326, 389, 9066, 355, 530, 366, 20360, 1911, 198, 6601, 11125, 16375, 796, 7343, 58, 6601, 11125, 37021, 60, 628, 198, 4871, 6060, 11125, 16375, 35854, 7, 4834, 388, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5501, 1366, 11125, 2665, 8477, 2035, 257, 4876, 869, 393, 257, 1366, 17512, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 42815, 796, 366, 13345, 1, 198, 220, 220, 220, 42865, 796, 366, 7890, 1, 628, 198, 4871, 6060, 11125, 8021, 570, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 383, 16237, 13444, 287, 257, 6060, 11125, 24121, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1401, 62, 3672, 25, 965, 198, 220, 220, 220, 21231, 25, 965, 198, 220, 220, 220, 10139, 62, 13812, 25, 965, 198, 220, 220, 220, 10139, 25, 32233, 58, 6601, 11125, 19667, 60, 628, 198, 4871, 6060, 11125, 49, 13660, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 28166, 13444, 287, 257, 6060, 11125, 24121, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 21231, 25, 965, 198, 220, 220, 220, 10139, 62, 13812, 25, 965, 198, 220, 220, 220, 10139, 25, 32233, 58, 6601, 11125, 19667, 60, 628, 198, 4871, 6060, 11125, 28100, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1052, 4578, 13444, 287, 257, 6060, 11125, 24121, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1401, 62, 3672, 25, 965, 198, 220, 220, 220, 1988, 25, 11052, 628, 198, 4871, 6060, 11125, 16375, 39170, 7, 45, 2434, 51, 29291, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 2665, 287, 6060, 11125, 24121, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 8333, 25, 6060, 11125, 8021, 570, 198, 220, 220, 220, 28166, 25, 7343, 58, 6601, 11125, 49, 13660, 60, 198, 220, 220, 220, 26498, 25, 7343, 58, 6601, 11125, 28100, 60, 628, 198, 2, 383, 1353, 12, 5715, 6060, 11125, 24121, 13, 198, 6601, 11125, 39170, 796, 40806, 540, 58, 6601, 11125, 16375, 39170, 60, 628, 198, 4299, 651, 62, 35943, 62, 22046, 7, 35943, 25, 15941, 8, 4613, 7343, 58, 2536, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 1351, 286, 4578, 3891, 286, 257, 15941, 13, 7567, 2696, 257, 26375, 897, 12331, 611, 262, 4876, 2723, 2438, 318, 407, 198, 220, 220, 220, 6105, 39559, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 4619, 356, 836, 470, 3058, 1700, 262, 1438, 286, 45203, 7159, 11, 198, 220, 220, 220, 1303, 356, 423, 284, 13249, 606, 422, 262, 2723, 2438, 13, 198, 220, 220, 220, 2438, 796, 6468, 13, 29572, 7, 9395, 298, 7, 35943, 13, 10459, 4008, 628, 220, 220, 220, 611, 407, 318, 39098, 7, 8189, 13, 2618, 58, 15, 4357, 6468, 13, 22203, 7469, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 26375, 897, 12331, 7203, 7416, 2438, 318, 407, 257, 6105, 39559, 2163, 19570, 628, 220, 220, 220, 1303, 5994, 8856, 318, 2622, 1201, 262, 29273, 9195, 857, 1283, 284, 779, 1774, 3858, 198, 220, 220, 220, 1303, 8347, 13, 198, 220, 220, 220, 1441, 685, 853, 13, 853, 329, 1822, 287, 2438, 13, 2618, 58, 15, 4083, 22046, 13, 22046, 60, 220, 1303, 2099, 25, 8856, 628, 198, 4299, 787, 62, 7785, 62, 3672, 7, 7785, 62, 3672, 62, 8692, 25, 965, 11, 1438, 17, 7785, 25, 360, 713, 58, 2536, 11, 6060, 11125, 19667, 4357, 35488, 25, 493, 796, 362, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2980, 378, 257, 649, 7885, 1262, 257, 3748, 35488, 357, 68, 13, 70, 13, 616, 7785, 62, 17, 737, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 18508, 29052, 35488, 13, 198, 220, 220, 220, 1401, 62, 3672, 62, 8692, 796, 302, 13, 7266, 7, 81, 1, 62, 59, 67, 10, 3, 1600, 366, 1600, 1401, 62, 3672, 62, 8692, 8, 628, 220, 220, 220, 611, 1401, 62, 3672, 62, 8692, 407, 287, 1438, 17, 7785, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 770, 7885, 1438, 318, 1541, 3748, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1401, 62, 3672, 62, 8692, 628, 220, 220, 220, 1303, 11140, 2620, 35488, 274, 1566, 356, 1064, 257, 3748, 7885, 1438, 13, 198, 220, 220, 220, 981, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 7785, 62, 3672, 796, 1401, 62, 3672, 62, 8692, 1343, 45434, 1, 1343, 965, 7, 37333, 844, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 649, 62, 7785, 62, 3672, 407, 287, 1438, 17, 7785, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 649, 62, 7785, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 35488, 15853, 352, 628, 198, 4299, 651, 62, 12286, 62, 853, 62, 3672, 7, 1930, 25, 493, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2980, 378, 262, 4277, 1438, 329, 4578, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 277, 1, 853, 90, 1930, 36786, 628, 198, 4871, 6060, 11125, 53, 945, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1869, 1095, 7885, 3891, 329, 13760, 287, 257, 1366, 11125, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 1136, 9186, 834, 7, 944, 11, 10139, 25, 6060, 11125, 19667, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 7885, 1438, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 7785, 17, 3672, 58, 17440, 60, 628, 220, 220, 220, 825, 11593, 2617, 9186, 834, 7, 944, 11, 10139, 25, 6060, 11125, 19667, 11, 1401, 62, 3672, 25, 965, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 257, 649, 7885, 1438, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 7785, 17, 3672, 58, 17440, 60, 796, 1401, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3672, 17, 7785, 58, 7785, 62, 3672, 60, 796, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1401, 62, 3672, 628, 220, 220, 220, 825, 11593, 3642, 1299, 834, 7, 944, 11, 10139, 25, 6060, 11125, 19667, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 6407, 611, 10139, 468, 257, 7885, 1438, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10139, 287, 2116, 13, 7785, 17, 3672, 628, 220, 220, 220, 825, 651, 62, 35943, 62, 22046, 7, 944, 11, 4876, 25, 15941, 8, 4613, 7343, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 262, 11507, 3891, 286, 257, 15941, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26498, 796, 2116, 13, 35943, 17, 22046, 13, 1136, 7, 35943, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 26498, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 34088, 4876, 1822, 3891, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 45989, 306, 5412, 5553, 23876, 26498, 13, 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, 26498, 796, 2116, 13, 35943, 17, 22046, 58, 35943, 60, 796, 651, 62, 35943, 62, 22046, 7, 35943, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 26375, 897, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 4578, 3891, 2314, 307, 6105, 44267, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 26498, 628, 220, 220, 220, 825, 649, 62, 7785, 62, 3672, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 10139, 25, 6060, 11125, 19667, 11, 2779, 62, 7785, 62, 3672, 25, 32233, 58, 2536, 60, 796, 6045, 198, 220, 220, 220, 1267, 4613, 309, 29291, 58, 2536, 11, 32233, 58, 2536, 60, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 393, 2251, 257, 649, 7885, 1438, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 796, 2116, 13, 7785, 17, 3672, 13, 1136, 7, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1401, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 19081, 318, 1541, 3706, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1401, 62, 3672, 11, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2779, 62, 7785, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5231, 519, 877, 378, 2779, 1401, 1438, 422, 45751, 11395, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 318, 39098, 7, 17440, 11, 45751, 11395, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4578, 11, 1988, 796, 10139, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 45559, 3810, 649, 7885, 1438, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4578, 13, 853, 62, 2539, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 7785, 62, 3672, 796, 4578, 13, 853, 62, 2539, 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, 1822, 62, 14933, 796, 2116, 13, 1136, 62, 35943, 62, 22046, 7, 49140, 13, 13345, 62, 17440, 13, 35943, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1822, 62, 14933, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5765, 4277, 4578, 3891, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 7785, 62, 3672, 796, 651, 62, 12286, 62, 853, 62, 3672, 7, 49140, 13, 853, 62, 9150, 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, 2779, 62, 7785, 62, 3672, 796, 1822, 62, 14933, 58, 49140, 13, 853, 62, 9150, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 48987, 7885, 1438, 318, 3748, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 796, 787, 62, 7785, 62, 3672, 7, 8692, 62, 7785, 62, 3672, 11, 2116, 13, 3672, 17, 7785, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 58, 17440, 60, 796, 1401, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1401, 62, 3672, 11, 2779, 62, 7785, 62, 3672, 628, 198, 4299, 2513, 62, 7890, 11125, 62, 8367, 7, 1891, 437, 25, 2297, 403, 7282, 437, 43832, 11, 1988, 25, 11052, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 689, 832, 262, 13015, 287, 262, 28717, 1366, 11125, 4823, 286, 257, 11052, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 9938, 28717, 4889, 45, 4147, 13, 198, 220, 220, 220, 1303, 317, 1988, 460, 307, 4635, 416, 867, 4889, 45, 4147, 290, 340, 460, 307, 257, 850, 8367, 286, 198, 220, 220, 220, 1303, 257, 1988, 4635, 422, 867, 4889, 45, 4147, 13, 198, 220, 220, 220, 869, 62, 77, 4147, 796, 900, 7, 8367, 13, 43420, 8, 930, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 329, 2560, 287, 1988, 13, 23743, 329, 869, 62, 17440, 287, 2560, 13, 43420, 198, 220, 220, 220, 1782, 198, 220, 220, 220, 869, 62, 77, 4147, 796, 1391, 13345, 62, 17440, 329, 869, 62, 17440, 287, 869, 62, 77, 4147, 611, 407, 318, 62, 32538, 62, 35943, 7, 13345, 62, 17440, 13, 35943, 38165, 628, 220, 220, 220, 1303, 45559, 3810, 543, 4889, 45, 4147, 389, 655, 28166, 4889, 45, 4147, 13, 198, 220, 220, 220, 1303, 317, 28166, 4889, 19667, 318, 281, 28717, 4889, 19667, 326, 318, 635, 281, 31836, 198, 220, 220, 220, 1303, 286, 1194, 28717, 4889, 19667, 13, 198, 220, 220, 220, 1775, 25, 5345, 58, 14134, 19667, 60, 796, 900, 3419, 198, 220, 220, 220, 28166, 62, 13345, 62, 77, 4147, 796, 900, 3419, 198, 220, 220, 220, 329, 869, 62, 17440, 287, 869, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 31836, 287, 2513, 62, 23743, 7, 13345, 62, 17440, 11, 1775, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 31836, 287, 869, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28166, 62, 13345, 62, 77, 4147, 13, 2860, 7, 1192, 395, 273, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 220, 220, 220, 1303, 45559, 3810, 37962, 4889, 45, 4147, 357, 929, 5532, 290, 1729, 12, 81, 13660, 737, 198, 220, 220, 220, 37962, 62, 13345, 62, 77, 4147, 796, 869, 62, 77, 4147, 532, 28166, 62, 13345, 62, 77, 4147, 628, 220, 220, 220, 1303, 3771, 2232, 262, 749, 2274, 4889, 45, 4147, 13, 198, 220, 220, 220, 923, 62, 2435, 62, 13345, 62, 77, 4147, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 357, 21858, 13, 9688, 62, 2435, 11, 869, 62, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 869, 62, 17440, 287, 37962, 62, 13345, 62, 77, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1693, 287, 869, 62, 17440, 13, 43863, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 3509, 62, 9688, 62, 2435, 796, 3509, 19510, 9688, 62, 2435, 329, 923, 62, 2435, 11, 4808, 287, 923, 62, 2435, 62, 13345, 62, 77, 4147, 828, 4277, 28, 14202, 8, 198, 220, 220, 220, 28717, 62, 13345, 62, 17440, 796, 1306, 7, 198, 220, 220, 220, 220, 220, 220, 220, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 923, 62, 2435, 11, 869, 62, 17440, 287, 923, 62, 2435, 62, 13345, 62, 77, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 923, 62, 2435, 6624, 3509, 62, 9688, 62, 2435, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 2295, 270, 11052, 12, 14134, 19667, 13015, 287, 1366, 11125, 13, 198, 220, 220, 220, 611, 28717, 62, 13345, 62, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 8367, 11, 28717, 62, 13345, 62, 17440, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 8367, 11, 6045, 8, 628, 198, 4299, 651, 62, 13345, 17440, 62, 853, 2886, 7, 13345, 62, 17440, 25, 4889, 19667, 8, 4613, 7343, 58, 28100, 1713, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 257, 4889, 19667, 338, 7159, 287, 23243, 1502, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1426, 62, 22046, 796, 17635, 198, 220, 220, 220, 479, 86, 62, 22046, 796, 17635, 198, 220, 220, 220, 329, 1822, 287, 869, 62, 17440, 13, 853, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1822, 13, 853, 62, 9150, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1426, 62, 22046, 13, 33295, 7, 853, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 86, 62, 22046, 13, 33295, 7, 853, 8, 198, 220, 220, 220, 1426, 62, 22046, 13, 30619, 7, 2539, 28, 50033, 1822, 25, 1822, 13, 853, 62, 9150, 8, 198, 220, 220, 220, 479, 86, 62, 22046, 13, 30619, 7, 2539, 28, 50033, 1822, 25, 1822, 13, 853, 62, 2539, 8, 198, 220, 220, 220, 1441, 1426, 62, 22046, 1343, 479, 86, 62, 22046, 628, 198, 4299, 2513, 62, 7890, 11125, 62, 13345, 17440, 7, 1891, 437, 25, 2297, 403, 7282, 437, 43832, 11, 869, 62, 17440, 25, 4889, 19667, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 689, 832, 262, 28717, 20559, 2886, 286, 257, 4889, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 2295, 270, 4889, 19667, 12, 28100, 1713, 11395, 13015, 287, 1366, 11125, 13, 198, 220, 220, 220, 1303, 797, 690, 278, 262, 7159, 481, 1085, 284, 262, 33038, 282, 284, 307, 287, 2656, 198, 220, 220, 220, 1303, 4578, 1502, 11, 543, 318, 36597, 329, 3359, 13, 198, 220, 220, 220, 7159, 796, 651, 62, 13345, 17440, 62, 853, 2886, 7, 13345, 62, 17440, 8, 198, 220, 220, 220, 611, 7159, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 4578, 287, 7159, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 13345, 62, 17440, 11, 45751, 11395, 7, 49140, 11, 4578, 13, 8367, 4008, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1318, 389, 645, 7159, 11, 428, 318, 281, 8159, 286, 262, 1366, 11125, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 13345, 62, 17440, 11, 6045, 8, 628, 198, 4299, 318, 62, 32538, 62, 35943, 7, 35943, 25, 15941, 8, 4613, 20512, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 6407, 611, 4876, 318, 281, 5387, 2266, 403, 4876, 13, 628, 220, 220, 220, 775, 14267, 884, 8861, 287, 262, 1366, 11125, 284, 3368, 45343, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4876, 13, 12853, 3672, 287, 23848, 4944, 62, 1268, 31800, 1847, 62, 51, 1921, 27015, 628, 198, 4299, 2513, 62, 7890, 11125, 62, 13345, 17440, 62, 8367, 7, 198, 220, 220, 220, 30203, 25, 2297, 403, 7282, 437, 43832, 11, 869, 62, 17440, 62, 8367, 25, 4889, 19667, 11395, 198, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 689, 832, 262, 28717, 1366, 11125, 13015, 286, 257, 4889, 19667, 11395, 13, 628, 220, 220, 220, 383, 13015, 2035, 467, 9211, 284, 262, 1200, 4889, 45, 4147, 393, 2652, 351, 428, 4889, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 869, 62, 17440, 11, 1988, 796, 869, 62, 17440, 62, 8367, 628, 220, 220, 220, 1303, 3771, 2232, 262, 5202, 422, 1751, 286, 869, 62, 17440, 625, 869, 62, 17440, 13, 198, 220, 220, 220, 1200, 62, 6759, 2052, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 1200, 62, 17440, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1200, 62, 17440, 287, 869, 62, 17440, 13, 17197, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 62, 32538, 62, 35943, 7, 9410, 62, 17440, 13, 35943, 8, 290, 318, 62, 7266, 8367, 7, 8367, 11, 1200, 62, 17440, 13, 8367, 8, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 611, 18896, 7, 9410, 62, 6759, 2052, 8, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1318, 318, 530, 3489, 1200, 4889, 19667, 326, 4635, 428, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7281, 262, 1366, 11125, 832, 428, 1200, 4889, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 685, 9410, 62, 17440, 60, 796, 1200, 62, 6759, 2052, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 13345, 62, 17440, 62, 8367, 11, 4889, 19667, 11395, 7, 9410, 62, 17440, 11, 1988, 4008, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 15323, 11, 356, 1061, 262, 1366, 11125, 329, 262, 2187, 4889, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 13345, 62, 17440, 62, 8367, 11, 869, 62, 17440, 8, 628, 198, 4299, 2513, 62, 7890, 11125, 62, 49140, 62, 8367, 7, 198, 220, 220, 220, 30203, 25, 2297, 403, 7282, 437, 43832, 11, 4578, 62, 8367, 25, 45751, 11395, 198, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 689, 832, 262, 28717, 1366, 11125, 13015, 286, 281, 45751, 11395, 13, 628, 220, 220, 220, 13113, 3858, 25, 198, 220, 220, 220, 532, 45751, 11395, 1279, 438, 4889, 19667, 11395, 25, 198, 220, 220, 220, 220, 220, 532, 11052, 1625, 422, 262, 1255, 286, 257, 4889, 19667, 13, 198, 220, 220, 220, 532, 45751, 11395, 1279, 438, 45751, 11395, 198, 220, 220, 220, 220, 220, 532, 11052, 1625, 422, 4578, 286, 2560, 4889, 19667, 11, 1312, 13, 68, 13, 4578, 12, 1462, 12, 49140, 28166, 13, 198, 220, 220, 220, 532, 45751, 11395, 1279, 438, 19349, 198, 220, 220, 220, 220, 220, 532, 11052, 1625, 3264, 422, 2836, 393, 4876, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4578, 11, 1988, 796, 4578, 62, 8367, 198, 220, 220, 220, 318, 62, 23705, 282, 796, 6407, 628, 220, 220, 220, 1303, 45559, 3810, 262, 749, 2274, 2219, 2560, 4889, 19667, 286, 477, 262, 28717, 4889, 45, 4147, 13, 198, 220, 220, 220, 869, 62, 17440, 62, 23743, 796, 685, 2617, 7, 13345, 62, 17440, 13, 23743, 8, 329, 869, 62, 17440, 287, 4578, 13, 929, 5532, 60, 198, 220, 220, 220, 869, 62, 17440, 62, 23743, 13, 33295, 7, 2617, 7, 49140, 13, 13345, 62, 17440, 13, 23743, 4008, 198, 220, 220, 220, 4732, 62, 13345, 62, 17440, 796, 1306, 7, 198, 220, 220, 220, 220, 220, 220, 220, 11629, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23243, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 13, 3849, 5458, 46491, 13345, 62, 17440, 62, 23743, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 28, 50033, 869, 62, 17440, 25, 869, 62, 17440, 13, 16514, 27823, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9575, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 10854, 28717, 4889, 45, 4147, 287, 257, 6414, 1502, 357, 13345, 62, 2875, 737, 198, 220, 220, 220, 611, 4732, 62, 13345, 62, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5765, 9575, 1502, 1141, 25592, 284, 651, 3376, 1502, 1141, 3359, 13, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 62, 2875, 796, 23243, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 13345, 62, 17440, 11, 5743, 13, 13345, 62, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 869, 62, 17440, 287, 4578, 13, 929, 5532, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 5743, 287, 869, 62, 17440, 13, 8000, 62, 276, 3212, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 8000, 62, 17440, 6624, 4732, 62, 13345, 62, 17440, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1994, 28, 50033, 5166, 25, 5166, 58, 16, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9575, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 796, 685, 13345, 62, 17440, 329, 869, 62, 17440, 11, 4808, 287, 28717, 62, 2875, 60, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7218, 1891, 611, 356, 460, 470, 5004, 4732, 869, 10139, 13, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 796, 4578, 13, 929, 5532, 628, 220, 220, 220, 1303, 2295, 270, 28717, 33423, 4889, 45, 4147, 13, 198, 220, 220, 220, 329, 869, 62, 17440, 287, 11629, 62, 34642, 7, 929, 5532, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8284, 850, 27160, 329, 15794, 13, 198, 220, 220, 220, 220, 220, 220, 220, 850, 27160, 796, 23243, 7, 13345, 62, 17440, 13, 8367, 13, 17197, 11, 1994, 28, 50033, 1200, 25, 1200, 13, 8367, 62, 17831, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 62, 27160, 796, 11629, 62, 34642, 7, 7983, 26933, 13345, 62, 17440, 13, 8367, 4357, 850, 27160, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1255, 62, 8367, 287, 1255, 62, 27160, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 13, 8367, 62, 17831, 6624, 1255, 62, 8367, 13, 8367, 62, 17831, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 23705, 282, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4578, 62, 8367, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 13345, 62, 17440, 11, 1255, 62, 8367, 828, 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, 611, 407, 2872, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15161, 284, 48143, 262, 2187, 1255, 286, 262, 4889, 19667, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 23705, 282, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4578, 62, 8367, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 13345, 62, 17440, 11, 869, 62, 17440, 13, 8367, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 2295, 270, 28717, 4578, 422, 2560, 4889, 19667, 13, 198, 220, 220, 220, 1303, 3771, 2232, 749, 2274, 2560, 13, 198, 220, 220, 220, 2560, 62, 13345, 62, 77, 4147, 796, 23243, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4578, 13, 13345, 62, 17440, 13, 23743, 11, 1994, 28, 50033, 2560, 25, 2560, 13, 16514, 27823, 11, 9575, 28, 17821, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 329, 2560, 62, 13345, 62, 17440, 287, 2560, 62, 13345, 62, 77, 4147, 58, 25, 16, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2560, 62, 49140, 287, 2560, 62, 13345, 62, 17440, 13, 853, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2560, 62, 27160, 796, 6333, 26933, 8000, 62, 49140, 13, 8367, 4357, 2560, 62, 49140, 13, 8367, 13, 17197, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2560, 62, 8367, 287, 2560, 62, 27160, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 13, 8367, 62, 17831, 6624, 2560, 62, 8367, 13, 8367, 62, 17831, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 23705, 282, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4578, 62, 8367, 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, 45751, 11395, 7, 8000, 62, 49140, 11, 1988, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 2295, 270, 12094, 8159, 1988, 13, 198, 220, 220, 220, 611, 318, 62, 23705, 282, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 6060, 11125, 37021, 7, 49140, 62, 8367, 11, 6045, 8, 628, 198, 4299, 2513, 62, 7890, 11125, 62, 17440, 7, 1891, 437, 25, 2297, 403, 7282, 437, 43832, 11, 10139, 25, 6060, 11125, 19667, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 689, 832, 262, 28717, 1366, 11125, 13015, 286, 257, 597, 6060, 11125, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 17440, 11, 11052, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2513, 62, 7890, 11125, 62, 8367, 7, 1891, 437, 11, 10139, 8, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 4889, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2513, 62, 7890, 11125, 62, 13345, 17440, 7, 1891, 437, 11, 10139, 8, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2513, 62, 7890, 11125, 62, 49140, 62, 8367, 7, 1891, 437, 11, 10139, 8, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 4889, 19667, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2513, 62, 7890, 11125, 62, 13345, 17440, 62, 8367, 7, 1891, 437, 11, 10139, 8, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 62, 12081, 7, 17440, 8, 628, 198, 4299, 2513, 62, 7890, 11125, 7, 1891, 437, 25, 2297, 403, 7282, 437, 43832, 11, 2315, 62, 17440, 25, 6060, 11125, 19667, 8, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40806, 378, 832, 477, 262, 28717, 1366, 11125, 13015, 286, 257, 705, 17440, 6, 287, 262, 4889, 37065, 13, 628, 220, 220, 220, 317, 705, 17440, 6, 460, 307, 257, 11052, 11, 4889, 19667, 11, 4889, 19667, 11395, 11, 393, 281, 45751, 11395, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 35006, 6795, 12, 11085, 33038, 282, 13, 198, 220, 220, 220, 16834, 25, 7343, 58, 6601, 11125, 19667, 60, 796, 685, 15003, 62, 17440, 60, 198, 220, 220, 220, 1775, 25, 5345, 58, 6601, 11125, 19667, 60, 796, 900, 3419, 628, 220, 220, 220, 981, 16834, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10139, 25, 6060, 11125, 19667, 796, 16834, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1200, 62, 276, 3212, 796, 1351, 7, 11152, 62, 7890, 11125, 62, 17440, 7, 1891, 437, 11, 10139, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 422, 1200, 62, 276, 3212, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 31849, 13015, 878, 7796, 319, 284, 8931, 284, 5529, 33423, 1502, 13, 198, 220, 220, 220, 220, 220, 220, 220, 329, 5743, 287, 17687, 7, 9410, 62, 276, 3212, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 17, 796, 5743, 13, 16520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10139, 17, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 24523, 10139, 286, 2099, 705, 39688, 4458, 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, 220, 220, 220, 220, 1303, 45559, 3810, 1771, 2244, 10139, 318, 3748, 290, 815, 307, 2087, 284, 16834, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10139, 17, 407, 287, 1775, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16834, 13, 33295, 7, 17440, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1775, 13, 2860, 7, 17440, 17, 8, 628, 198, 4299, 651, 62, 5458, 62, 14907, 62, 4906, 7, 14907, 25, 6060, 11125, 37021, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5016, 6945, 257, 6060, 11125, 37021, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12351, 11, 2244, 796, 5743, 198, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 318, 39098, 7, 10677, 11, 45751, 11395, 8, 198, 220, 220, 220, 220, 220, 220, 220, 290, 318, 39098, 7, 16520, 11, 4889, 19667, 11395, 8, 198, 220, 220, 220, 220, 220, 220, 220, 290, 12351, 13, 8367, 13, 8367, 62, 17831, 14512, 2244, 13, 8367, 13, 8367, 62, 17831, 198, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 7890, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 4889, 19667, 8, 290, 318, 39098, 7, 16520, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 853, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 357, 11395, 11, 4889, 19667, 11395, 4008, 290, 318, 39098, 7, 16520, 11, 4889, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 20274, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 4889, 19667, 11395, 8, 290, 318, 39098, 7, 16520, 11, 4889, 19667, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 20274, 62, 81, 13660, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 45751, 11395, 8, 290, 318, 39098, 7, 16520, 11, 4889, 19667, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 853, 62, 20274, 62, 81, 13660, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 45751, 11395, 8, 290, 318, 39098, 7, 16520, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 853, 62, 81, 13660, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 4889, 19667, 8, 290, 2244, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 47103, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 45751, 11395, 8, 290, 2244, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 853, 62, 47103, 1, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 11052, 8, 290, 2244, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 366, 13345, 62, 8367, 62, 47103, 1, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2195, 861, 295, 12331, 7, 69, 1, 20035, 5743, 2099, 1391, 14907, 92, 4943, 628, 198, 4299, 1353, 418, 419, 62, 276, 3212, 7, 276, 3212, 25, 40806, 540, 58, 6601, 11125, 37021, 12962, 4613, 40806, 1352, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5849, 13437, 3297, 6060, 11125, 7407, 3212, 287, 6795, 12, 11085, 1502, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 3082, 1133, 773, 1533, 631, 13, 198, 220, 220, 220, 773, 1533, 6037, 25, 360, 713, 58, 6601, 11125, 19667, 11, 493, 60, 796, 4277, 11600, 7, 600, 8, 198, 220, 220, 220, 12351, 17, 14907, 25, 360, 713, 58, 6601, 11125, 19667, 11, 7343, 58, 6601, 11125, 37021, 11907, 796, 4277, 11600, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3350, 7, 14134, 540, 30109, 4357, 7343, 58, 6601, 11125, 37021, 60, 4357, 1351, 8, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 329, 5743, 287, 13015, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 17, 14907, 58, 14907, 13, 10677, 4083, 33295, 7, 14907, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 48987, 790, 10139, 318, 1944, 287, 773, 1533, 6037, 11, 1390, 11135, 13, 198, 220, 220, 220, 220, 220, 220, 220, 773, 1533, 6037, 58, 14907, 13, 10677, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 1533, 6037, 58, 14907, 13, 16520, 60, 15853, 352, 628, 220, 220, 220, 1303, 20768, 1096, 16834, 351, 11135, 13, 198, 220, 220, 220, 16834, 25, 7343, 58, 6601, 11125, 19667, 60, 796, 685, 17440, 329, 10139, 11, 4922, 287, 773, 1533, 6037, 13, 23814, 3419, 611, 4922, 6624, 657, 60, 628, 220, 220, 220, 981, 16834, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10139, 796, 16834, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 422, 12351, 17, 14907, 58, 17440, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 31849, 13015, 878, 7796, 319, 8931, 287, 1502, 284, 5529, 33423, 1502, 13, 198, 220, 220, 220, 220, 220, 220, 220, 329, 5743, 287, 17687, 7, 10677, 17, 14907, 58, 17440, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 1533, 6037, 58, 14907, 13, 16520, 60, 48185, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 773, 1533, 6037, 58, 14907, 13, 16520, 60, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1439, 3397, 423, 587, 8672, 11, 356, 460, 551, 36560, 2244, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16834, 13, 33295, 7, 14907, 13, 16520, 8, 628, 198, 4299, 28183, 62, 13345, 62, 17440, 62, 647, 3212, 7, 276, 3212, 25, 7343, 58, 6601, 11125, 37021, 12962, 4613, 7343, 58, 6601, 11125, 37021, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16140, 23156, 1366, 11125, 28770, 284, 4605, 530, 4889, 19667, 11395, 583, 4889, 19667, 13, 628, 220, 220, 220, 770, 2163, 21079, 4889, 19667, 326, 423, 1963, 346, 1154, 2560, 4889, 19667, 40161, 198, 220, 220, 220, 588, 428, 25, 628, 220, 220, 220, 220, 220, 45751, 11395, 14610, 4889, 19667, 11395, 1377, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4889, 19667, 357, 647, 469, 62, 17440, 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, 10563, 198, 220, 220, 220, 220, 220, 45751, 11395, 14610, 4889, 19667, 11395, 1377, 14, 628, 220, 220, 220, 290, 28183, 606, 284, 555, 1958, 262, 4889, 19667, 40161, 588, 428, 25, 628, 220, 220, 220, 220, 220, 45751, 11395, 1377, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4889, 19667, 11395, 14610, 4889, 19667, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10563, 198, 220, 220, 220, 220, 220, 45751, 11395, 1377, 14, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 10934, 4823, 8633, 13, 198, 220, 220, 220, 12351, 17, 276, 3212, 25, 360, 713, 58, 30719, 58, 6601, 11125, 19667, 4357, 7343, 58, 6601, 11125, 37021, 11907, 796, 4277, 11600, 7, 4868, 8, 198, 220, 220, 220, 2244, 17, 276, 3212, 796, 4277, 11600, 7, 4868, 8, 198, 220, 220, 220, 13760, 796, 17635, 198, 220, 220, 220, 329, 5743, 287, 13015, 25, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 13, 33295, 7, 14907, 13, 10677, 8, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 17, 276, 3212, 58, 14907, 13, 10677, 4083, 33295, 7, 14907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2244, 17, 276, 3212, 58, 14907, 13, 16520, 4083, 33295, 7, 14907, 8, 628, 220, 220, 220, 1303, 9938, 20121, 13760, 13, 198, 220, 220, 220, 20121, 62, 77, 4147, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 10139, 329, 10139, 11, 13015, 287, 2244, 17, 276, 3212, 13, 23814, 3419, 611, 318, 39098, 7, 17440, 11, 4889, 19667, 8, 290, 18896, 7, 276, 3212, 8, 1875, 352, 198, 220, 220, 220, 2361, 628, 220, 220, 220, 1303, 16140, 6525, 4889, 19667, 20121, 13760, 13, 198, 220, 220, 220, 329, 20121, 62, 17440, 287, 20121, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 9938, 5981, 13015, 290, 13760, 13, 198, 220, 220, 220, 220, 220, 220, 220, 269, 85, 62, 31522, 62, 276, 3212, 796, 2244, 17, 276, 3212, 58, 647, 469, 62, 17440, 60, 198, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 62, 27160, 796, 685, 14907, 13, 10677, 329, 5743, 287, 269, 85, 62, 31522, 62, 276, 3212, 60, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 62, 276, 3212, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5743, 329, 869, 62, 17440, 62, 8367, 287, 869, 62, 17440, 62, 27160, 329, 5743, 287, 2244, 17, 276, 3212, 58, 13345, 62, 17440, 62, 8367, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 62, 77, 4147, 796, 1351, 7, 2676, 62, 34642, 7, 14907, 13, 10677, 329, 5743, 287, 28717, 62, 276, 3212, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 276, 3212, 796, 900, 7, 33967, 62, 31522, 62, 276, 3212, 8, 930, 900, 7, 929, 5532, 62, 276, 3212, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13610, 649, 22706, 4889, 19667, 11395, 422, 869, 62, 17440, 62, 27160, 13, 198, 220, 220, 220, 220, 220, 220, 220, 22706, 62, 17440, 796, 4889, 19667, 11395, 7, 13345, 62, 17440, 28, 647, 469, 62, 17440, 11, 1988, 28, 647, 469, 62, 17440, 13, 8367, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13610, 649, 13015, 13, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 276, 3212, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 11125, 37021, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12351, 28, 929, 5532, 62, 17440, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2244, 28, 403, 1431, 62, 17440, 11, 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, 28717, 62, 17440, 287, 28717, 62, 77, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 1343, 685, 6601, 11125, 37021, 7, 10677, 28, 403, 1431, 62, 17440, 11, 2244, 28, 647, 469, 62, 17440, 15437, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 17220, 1468, 13015, 422, 13015, 13, 198, 220, 220, 220, 220, 220, 220, 220, 13015, 17, 796, 685, 14907, 329, 5743, 287, 13015, 611, 5743, 407, 287, 1468, 62, 276, 3212, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 1394, 13015, 287, 33038, 282, 1502, 11, 7550, 649, 13015, 826, 878, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 717, 5585, 286, 262, 20121, 62, 17440, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7550, 62, 9630, 796, 949, 7, 72, 329, 1312, 11, 5743, 287, 27056, 378, 7, 276, 3212, 17, 8, 611, 5743, 13, 10677, 6624, 20121, 62, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 13015, 796, 13015, 17, 58, 25, 28463, 62, 9630, 60, 1343, 649, 62, 276, 3212, 1343, 13015, 17, 58, 28463, 62, 9630, 47715, 628, 220, 220, 220, 1441, 13015, 628, 198, 4299, 11629, 62, 7266, 23946, 7, 5458, 25, 6060, 11125, 16375, 8, 4613, 40806, 1352, 58, 6601, 11125, 16375, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 360, 13221, 274, 611, 257, 2665, 815, 307, 5445, 866, 656, 1402, 9004, 13, 628, 220, 220, 220, 554, 1103, 1204, 1366, 44041, 11, 612, 389, 617, 2663, 810, 262, 1366, 11125, 4017, 3212, 198, 220, 220, 220, 884, 326, 262, 4645, 318, 257, 360, 4760, 11, 407, 655, 257, 5509, 13, 2312, 4017, 3212, 2380, 257, 198, 220, 220, 220, 1988, 326, 373, 3804, 284, 734, 393, 517, 1180, 8861, 290, 788, 511, 23862, 198, 220, 220, 220, 4191, 12082, 757, 11, 2035, 656, 257, 2060, 11052, 588, 257, 1351, 393, 355, 7159, 198, 220, 220, 220, 656, 257, 2219, 4876, 13, 1114, 1672, 11, 4600, 8367, 63, 318, 257, 20121, 10139, 287, 262, 28717, 198, 220, 220, 220, 1366, 11125, 286, 4600, 20274, 44646, 628, 220, 220, 220, 220, 220, 1988, 796, 4876, 15, 3419, 198, 220, 220, 220, 220, 220, 5072, 16, 796, 4876, 16, 7, 64, 28, 8367, 8, 198, 220, 220, 220, 220, 220, 5072, 17, 796, 4876, 17, 7, 65, 28, 8367, 8, 198, 220, 220, 220, 220, 220, 1255, 796, 4876, 18, 7, 66, 28, 22915, 16, 11, 288, 28, 22915, 17, 8, 628, 220, 220, 220, 383, 28717, 1366, 11125, 4823, 286, 4600, 20274, 63, 318, 25, 628, 220, 220, 220, 220, 220, 11052, 7, 20274, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 18, 8, 220, 24305, 59, 198, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 45751, 11395, 7, 35943, 18, 11, 1994, 28, 64, 8, 45751, 11395, 7, 35943, 18, 11, 1994, 28, 65, 8, 198, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 16, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 17, 8, 198, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 45751, 11395, 7, 35943, 16, 11, 1994, 28, 66, 8, 45751, 11395, 7, 35943, 17, 11, 1994, 28, 67, 8, 198, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 35943, 15, 11, 1988, 8, 1279, 438, 14, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 15, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 19349, 628, 220, 220, 220, 383, 2163, 4600, 2676, 62, 7890, 11125, 62, 5458, 3419, 63, 481, 2270, 428, 4823, 826, 706, 198, 220, 220, 220, 790, 262, 4600, 14134, 19667, 14610, 45751, 11395, 63, 5743, 11, 7186, 287, 1115, 9004, 13, 198, 220, 220, 220, 1881, 286, 883, 9004, 481, 423, 257, 366, 647, 469, 10139, 1600, 4600, 14134, 19667, 7, 35943, 15, 8, 63, 25, 628, 220, 220, 220, 220, 220, 45751, 11395, 7, 35943, 16, 11, 1994, 28, 66, 8, 45751, 11395, 7, 35943, 17, 11, 1994, 28, 67, 8, 198, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 35943, 15, 11, 1988, 8, 1279, 438, 14, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 15, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 19349, 628, 220, 220, 220, 770, 2163, 481, 2252, 2270, 428, 2665, 656, 46310, 588, 428, 25, 628, 220, 220, 220, 3834, 5458, 352, 25, 628, 220, 220, 220, 220, 220, 45751, 11395, 7, 35943, 16, 11, 1994, 28, 66, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 35943, 15, 11, 1988, 8, 628, 220, 220, 220, 3834, 5458, 362, 25, 628, 220, 220, 220, 220, 220, 45751, 11395, 7, 35943, 17, 11, 1994, 28, 67, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 35943, 15, 11, 1988, 8, 628, 220, 220, 220, 3834, 5458, 513, 25, 628, 220, 220, 220, 220, 220, 4889, 19667, 11395, 7, 35943, 15, 11, 1988, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 4889, 19667, 7, 35943, 15, 8, 198, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 569, 198, 220, 220, 220, 220, 220, 19349, 628, 220, 220, 220, 24199, 777, 1115, 46310, 651, 15111, 355, 25, 628, 220, 220, 220, 220, 220, 269, 1279, 438, 269, 62, 17, 628, 220, 220, 220, 220, 220, 288, 1279, 438, 269, 62, 17, 628, 220, 220, 220, 220, 220, 269, 62, 17, 1279, 438, 4876, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 438, 8159, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 10934, 4823, 8633, 13, 198, 220, 220, 220, 12351, 17, 276, 3212, 25, 360, 713, 58, 30719, 58, 6601, 11125, 19667, 4357, 7343, 58, 6601, 11125, 37021, 11907, 796, 4277, 11600, 7, 4868, 8, 198, 220, 220, 220, 2244, 17, 276, 3212, 796, 4277, 11600, 7, 4868, 8, 198, 220, 220, 220, 13760, 796, 17635, 198, 220, 220, 220, 329, 5743, 287, 2665, 25, 198, 220, 220, 220, 220, 220, 220, 220, 13760, 13, 33295, 7, 14907, 13, 10677, 8, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 17, 276, 3212, 58, 14907, 13, 10677, 4083, 33295, 7, 14907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2244, 17, 276, 3212, 58, 14907, 13, 16520, 4083, 33295, 7, 14907, 8, 628, 220, 220, 220, 1303, 9938, 11135, 13, 337, 32725, 1502, 286, 35787, 533, 1198, 287, 2665, 13, 198, 220, 220, 220, 11135, 796, 685, 17440, 329, 10139, 287, 11629, 62, 34642, 7, 77, 4147, 8, 611, 18896, 7, 16520, 17, 276, 3212, 58, 17440, 12962, 6624, 657, 60, 628, 220, 220, 220, 1303, 9938, 20121, 13760, 13, 198, 220, 220, 220, 20121, 62, 77, 4147, 796, 685, 17440, 329, 10139, 11, 13015, 287, 2244, 17, 276, 3212, 13, 23814, 3419, 611, 18896, 7, 276, 3212, 8, 1875, 352, 60, 628, 220, 220, 220, 611, 407, 20121, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1400, 20121, 13760, 13, 9175, 2665, 355, 318, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 1303, 45559, 3810, 46310, 13, 198, 220, 220, 220, 8371, 25, 6060, 11125, 16375, 796, 17635, 198, 220, 220, 220, 10139, 25, 32233, 58, 6601, 11125, 19667, 60, 198, 220, 220, 220, 329, 10139, 287, 11135, 1343, 20121, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 981, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1306, 62, 276, 3212, 796, 12351, 17, 276, 3212, 58, 17440, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 19545, 62, 276, 3212, 8, 14512, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 423, 2277, 262, 886, 286, 262, 2665, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1318, 389, 2035, 645, 517, 13015, 11, 393, 356, 9008, 262, 7159, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8371, 13, 2302, 437, 7, 19545, 62, 276, 3212, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 8371, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8371, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10644, 815, 1464, 307, 14174, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 14907, 60, 796, 1306, 62, 276, 3212, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8371, 13, 33295, 7, 14907, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 407, 287, 20121, 62, 77, 4147, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7281, 5743, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 796, 5743, 13, 16520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 423, 2277, 262, 20121, 10139, 11, 2245, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 8371, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8371, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 628, 198, 4299, 11629, 62, 7890, 11125, 62, 23946, 7, 198, 220, 220, 220, 1366, 11125, 62, 276, 3212, 25, 40806, 540, 58, 6601, 11125, 37021, 4357, 198, 8, 4613, 40806, 1352, 58, 51, 29291, 58, 6601, 11125, 16375, 35854, 11, 6060, 11125, 16375, 60, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 575, 1164, 82, 1366, 11125, 9004, 422, 281, 11629, 540, 286, 1366, 11125, 13015, 13, 628, 220, 220, 220, 317, 1366, 11125, 2665, 318, 257, 1448, 286, 13015, 10200, 530, 705, 20360, 6, 287, 257, 198, 220, 220, 220, 1366, 11125, 3359, 13, 628, 220, 220, 220, 220, 220, 1988, 1279, 438, 1279, 1065, 2682, 397, 10210, 29, 869, 62, 17440, 7, 853, 16, 11, 1822, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 438, 1255, 286, 1279, 1954, 2231, 397, 10210, 29, 869, 62, 17440, 17, 7, 853, 18, 11, 1822, 19, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 18, 796, 1279, 27712, 21, 397, 10210, 29, 705, 31373, 62, 6894, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 19, 796, 1279, 2231, 3134, 397, 10210, 29, 9220, 10786, 21943, 13, 14116, 11537, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10139, 17, 13345, 62, 5458, 25, 360, 713, 58, 6601, 11125, 19667, 11, 7343, 58, 51, 29291, 58, 600, 11, 6060, 11125, 37021, 11907, 60, 796, 23884, 198, 220, 220, 220, 10139, 17, 7890, 62, 5458, 25, 360, 713, 58, 6601, 11125, 19667, 11, 7343, 58, 51, 29291, 58, 600, 11, 6060, 11125, 37021, 11907, 60, 796, 4277, 11600, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3350, 7, 14134, 540, 30109, 4357, 7343, 58, 51, 29291, 58, 600, 11, 6060, 11125, 37021, 11907, 4357, 1351, 8, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 649, 62, 85, 945, 25, 5345, 58, 28100, 1713, 11395, 60, 796, 900, 3419, 198, 220, 220, 220, 2665, 25, 7343, 58, 51, 29291, 58, 600, 11, 6060, 11125, 37021, 11907, 628, 220, 220, 220, 13015, 796, 1353, 418, 419, 62, 276, 3212, 7, 7890, 11125, 62, 276, 3212, 8, 198, 220, 220, 220, 5743, 62, 4868, 796, 28183, 62, 13345, 62, 17440, 62, 647, 3212, 7, 4868, 7, 276, 3212, 4008, 628, 220, 220, 220, 1303, 4912, 1366, 11125, 13015, 656, 3359, 9004, 13, 198, 220, 220, 220, 1303, 4990, 391, 262, 5585, 1502, 286, 1123, 5743, 523, 356, 460, 3297, 9004, 1568, 13, 198, 220, 220, 220, 329, 1312, 11, 5743, 287, 27056, 378, 7, 14907, 62, 4868, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5743, 62, 4906, 796, 651, 62, 5458, 62, 14907, 62, 4906, 7, 14907, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 62, 4906, 6624, 366, 7890, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 13113, 318, 257, 1366, 2665, 5743, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 17, 7890, 62, 5458, 58, 14907, 13, 10677, 4083, 33295, 19510, 72, 11, 5743, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 62, 4906, 6624, 366, 13345, 62, 853, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 968, 7885, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 318, 39098, 7, 14907, 13, 16520, 11, 45751, 11395, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 62, 85, 945, 13, 2860, 7, 14907, 13, 16520, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 10677, 287, 649, 62, 85, 945, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 12351, 318, 257, 649, 7885, 523, 356, 923, 257, 649, 2665, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 796, 47527, 72, 11, 5743, 15437, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 393, 2251, 2665, 3917, 351, 12351, 290, 751, 428, 5743, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 10677, 407, 287, 10139, 17, 13345, 62, 5458, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 796, 10139, 17, 13345, 62, 5458, 58, 14907, 13, 10677, 60, 796, 17635, 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, 2665, 796, 10139, 17, 13345, 62, 5458, 58, 14907, 13, 10677, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 13, 33295, 19510, 72, 11, 5743, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 2665, 3917, 351, 2244, 290, 6441, 351, 12351, 2665, 13, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5743, 13, 16520, 407, 287, 10139, 17, 13345, 62, 5458, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2244, 62, 5458, 976, 355, 12351, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 17, 13345, 62, 5458, 58, 14907, 13, 16520, 60, 796, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4479, 2244, 62, 5458, 351, 2665, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4900, 428, 9117, 1244, 423, 288, 4739, 11, 314, 779, 11629, 62, 34642, 284, 3424, 340, 510, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2244, 62, 5458, 796, 10139, 17, 13345, 62, 5458, 58, 14907, 13, 16520, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2244, 62, 5458, 13, 2302, 437, 7, 5458, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 17, 13345, 62, 5458, 58, 14907, 13, 10677, 60, 796, 2244, 62, 5458, 628, 220, 220, 220, 1303, 3497, 3748, 9004, 13, 198, 220, 220, 220, 869, 62, 23946, 796, 11629, 62, 34642, 7, 17440, 17, 13345, 62, 5458, 13, 27160, 22784, 1994, 28, 312, 8, 198, 220, 220, 220, 1366, 62, 23946, 796, 10139, 17, 7890, 62, 5458, 13, 27160, 3419, 628, 220, 220, 220, 825, 651, 62, 2875, 62, 5458, 7, 198, 220, 220, 220, 220, 220, 220, 220, 493, 62, 276, 3212, 25, 7343, 58, 51, 29291, 58, 600, 11, 6060, 11125, 37021, 11907, 198, 220, 220, 220, 1267, 4613, 309, 29291, 58, 600, 11, 7343, 58, 6601, 11125, 37021, 60, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 257, 46545, 286, 2665, 5585, 1502, 290, 262, 2665, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 5585, 1502, 286, 257, 2665, 318, 262, 5415, 1502, 286, 663, 13015, 13, 198, 220, 220, 220, 220, 220, 220, 220, 775, 635, 3424, 510, 597, 23418, 13015, 326, 743, 423, 587, 2087, 284, 262, 2665, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 493, 82, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2665, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 5743, 287, 493, 62, 276, 3212, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 493, 82, 13, 33295, 7, 72, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2665, 13, 33295, 7, 14907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 9806, 7, 29503, 828, 1351, 7, 2676, 62, 34642, 7, 5458, 22305, 628, 220, 220, 220, 1303, 36052, 1123, 2665, 351, 663, 2099, 5855, 13345, 1, 393, 366, 7890, 4943, 290, 5004, 2665, 1502, 13, 198, 220, 220, 220, 9004, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 357, 6601, 11125, 16375, 35854, 13, 34, 7036, 35751, 1343, 651, 62, 2875, 62, 5458, 7, 600, 62, 276, 3212, 8, 329, 493, 62, 276, 3212, 287, 869, 62, 23946, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 9004, 13, 2302, 437, 7, 198, 220, 220, 220, 220, 220, 220, 220, 357, 6601, 11125, 16375, 35854, 13, 26947, 35751, 1343, 651, 62, 2875, 62, 5458, 7, 600, 62, 276, 3212, 8, 329, 493, 62, 276, 3212, 287, 1366, 62, 23946, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 33947, 9004, 13, 198, 220, 220, 220, 9004, 796, 23243, 7, 23946, 11, 1994, 28, 50033, 5752, 25, 5752, 58, 16, 12962, 628, 220, 220, 220, 1303, 575, 1164, 9004, 13, 198, 220, 220, 220, 329, 1611, 11, 4808, 11, 2665, 17, 287, 9004, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1611, 6624, 6060, 11125, 16375, 35854, 13, 34, 7036, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 612, 318, 3108, 35981, 11, 788, 356, 481, 27588, 3294, 9004, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 8371, 287, 11629, 62, 7266, 23946, 7, 5458, 17, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 357, 11031, 11, 8371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 357, 11031, 11, 2665, 17, 8, 628, 198, 4299, 787, 62, 5458, 62, 3438, 7, 198, 220, 220, 220, 2665, 25, 6060, 11125, 16375, 11, 198, 220, 220, 220, 1366, 11125, 62, 85, 945, 25, 6060, 11125, 53, 945, 11, 198, 220, 220, 220, 649, 62, 85, 1501, 480, 25, 965, 796, 366, 8367, 1600, 198, 8, 4613, 6060, 11125, 16375, 39170, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 24121, 329, 257, 1366, 11125, 2665, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 45559, 3810, 8333, 1321, 422, 717, 5743, 287, 2665, 13, 198, 220, 220, 220, 12351, 11, 8333, 62, 17440, 796, 2665, 58, 15, 60, 198, 220, 220, 220, 611, 318, 39098, 7, 10677, 11, 11052, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7253, 649, 7885, 13, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 7785, 62, 3672, 796, 1366, 11125, 62, 85, 945, 58, 10677, 60, 796, 649, 62, 85, 1501, 480, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 10677, 11, 357, 28100, 1713, 11395, 11, 4889, 19667, 11395, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 11052, 815, 307, 3706, 1541, 13, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 7785, 62, 3672, 796, 1366, 11125, 62, 85, 945, 58, 10677, 60, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 407, 318, 39098, 7, 10677, 11, 4889, 19667, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 62, 12081, 7, 10677, 8, 628, 220, 220, 220, 28166, 62, 4299, 82, 25, 7343, 58, 30719, 58, 6601, 11125, 19667, 11907, 796, 17635, 198, 220, 220, 220, 1822, 62, 4299, 82, 25, 7343, 58, 51, 29291, 58, 2536, 11, 11052, 11907, 796, 17635, 198, 220, 220, 220, 8851, 1047, 25, 360, 713, 58, 2536, 11, 965, 60, 796, 23884, 628, 220, 220, 220, 1303, 3082, 1133, 1771, 428, 2665, 5645, 351, 257, 7885, 13, 198, 220, 220, 220, 318, 62, 7785, 17, 7785, 796, 318, 39098, 7, 562, 570, 62, 17440, 11, 357, 28100, 1713, 11395, 11, 4889, 19667, 11395, 4008, 198, 220, 220, 220, 938, 62, 81, 13660, 62, 17440, 796, 6045, 628, 220, 220, 220, 1303, 10854, 5637, 13015, 13, 198, 220, 220, 220, 329, 12351, 11, 2244, 287, 2665, 58, 16, 25, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 10677, 11, 4889, 19667, 8, 290, 318, 39098, 7, 16520, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 45751, 6770, 5743, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 11, 2779, 62, 7785, 62, 3672, 796, 1366, 11125, 62, 85, 945, 13, 3605, 62, 7785, 62, 3672, 7, 16520, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2779, 62, 7785, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8851, 1047, 58, 8692, 62, 7785, 62, 3672, 60, 796, 1401, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 4299, 82, 13, 33295, 19510, 7785, 62, 3672, 11, 2244, 13, 8367, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 371, 13660, 5743, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 938, 62, 81, 13660, 62, 17440, 796, 2244, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 16520, 11, 4889, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 7785, 17, 7785, 796, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 32214, 13114, 28166, 5743, 11, 8856, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 357, 271, 39098, 7, 10677, 11, 4889, 19667, 11395, 8, 290, 318, 39098, 7, 16520, 11, 4889, 19667, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28166, 62, 4299, 82, 13, 33295, 7, 16520, 8, 628, 220, 220, 220, 1303, 383, 938, 28166, 825, 393, 8333, 357, 361, 612, 389, 645, 28166, 825, 82, 8, 2476, 198, 220, 220, 220, 1303, 284, 36265, 663, 9633, 284, 307, 3748, 13, 198, 220, 220, 220, 938, 62, 1370, 796, 18896, 7, 81, 13660, 62, 4299, 82, 8, 628, 220, 220, 220, 1303, 13610, 8333, 13444, 13, 198, 220, 220, 220, 611, 318, 62, 7785, 17, 7785, 290, 407, 28166, 62, 4299, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 50144, 318, 257, 1401, 17, 7785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 8333, 62, 17440, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6530, 262, 938, 10139, 706, 262, 717, 10139, 11, 611, 340, 1595, 470, 423, 257, 1438, 1865, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 3672, 796, 1366, 11125, 62, 85, 945, 58, 5458, 58, 15, 4083, 10677, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 11, 4808, 796, 1366, 11125, 62, 85, 945, 13, 3605, 62, 7785, 62, 3672, 7, 562, 570, 62, 17440, 11, 2779, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2401, 62, 562, 570, 796, 6060, 11125, 8021, 570, 7, 562, 570, 62, 7785, 62, 3672, 11, 366, 1600, 1401, 62, 3672, 11, 8333, 62, 17440, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 21231, 11, 10139, 62, 13812, 796, 3359, 62, 17440, 7, 562, 570, 62, 17440, 11, 8851, 1047, 611, 938, 62, 1370, 6624, 657, 2073, 23884, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2401, 62, 562, 570, 796, 6060, 11125, 8021, 570, 7, 562, 570, 62, 7785, 62, 3672, 11, 21231, 11, 10139, 62, 13812, 11, 8333, 62, 17440, 8, 628, 220, 220, 220, 1303, 13610, 28166, 31485, 13, 198, 220, 220, 220, 2401, 62, 81, 13660, 25, 7343, 58, 6601, 11125, 49, 13660, 60, 796, 17635, 198, 220, 220, 220, 329, 1312, 11, 2244, 287, 27056, 378, 7, 81, 13660, 62, 4299, 82, 11, 352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 21231, 11, 10139, 62, 13812, 796, 3359, 62, 17440, 7, 16520, 11, 8851, 1047, 611, 1312, 6624, 938, 62, 1370, 2073, 23884, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2401, 62, 81, 13660, 13, 33295, 7, 6601, 11125, 49, 13660, 7, 40290, 11, 10139, 62, 13812, 11, 2244, 4008, 628, 220, 220, 220, 1303, 1002, 938, 28166, 10139, 318, 257, 11052, 11, 355, 6886, 284, 257, 4889, 19667, 11, 788, 428, 373, 257, 198, 220, 220, 220, 1303, 20121, 10139, 290, 356, 815, 886, 351, 257, 649, 7885, 13, 198, 220, 220, 220, 611, 318, 62, 7785, 17, 7785, 290, 318, 39098, 7, 12957, 62, 81, 13660, 62, 17440, 11, 357, 28100, 1713, 11395, 11, 4889, 19667, 11395, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 770, 318, 257, 20121, 10139, 11, 1577, 340, 257, 7885, 1438, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 407, 1822, 62, 4299, 82, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6530, 262, 938, 10139, 706, 262, 717, 10139, 11, 611, 340, 1595, 470, 423, 257, 1438, 1865, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 3672, 796, 1366, 11125, 62, 85, 945, 58, 5458, 58, 15, 4083, 10677, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 11, 4808, 796, 1366, 11125, 62, 85, 945, 13, 3605, 62, 7785, 62, 3672, 7, 12957, 62, 81, 13660, 62, 17440, 11, 2779, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2401, 62, 81, 13660, 13, 33295, 7, 6601, 11125, 49, 13660, 7203, 1600, 1401, 62, 3672, 11, 938, 62, 81, 13660, 62, 17440, 4008, 628, 220, 220, 220, 1303, 13610, 4578, 17336, 13, 198, 220, 220, 220, 2401, 62, 22046, 25, 7343, 58, 6601, 11125, 28100, 60, 796, 685, 6601, 11125, 28100, 7, 7785, 62, 3672, 11, 1401, 8, 329, 1401, 62, 3672, 11, 1401, 287, 1822, 62, 4299, 82, 60, 628, 220, 220, 220, 1441, 6060, 11125, 16375, 39170, 7, 3438, 62, 562, 570, 11, 2401, 62, 81, 13660, 11, 2401, 62, 22046, 8, 628, 198, 4299, 787, 62, 7890, 62, 5458, 62, 3438, 7, 198, 220, 220, 220, 2665, 25, 6060, 11125, 16375, 11, 198, 220, 220, 220, 1366, 11125, 62, 85, 945, 25, 6060, 11125, 53, 945, 11, 198, 220, 220, 220, 649, 62, 85, 1501, 480, 25, 965, 796, 366, 8367, 1600, 198, 8, 4613, 6060, 11125, 16375, 39170, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 257, 24121, 329, 257, 1366, 2665, 13, 628, 220, 220, 220, 317, 1366, 2665, 8477, 703, 530, 1988, 373, 12006, 422, 1811, 850, 27160, 13, 198, 220, 220, 220, 1114, 1672, 428, 1366, 11125, 2665, 25, 628, 220, 220, 220, 220, 220, 2560, 62, 8367, 1279, 438, 37453, 422, 198, 220, 220, 220, 220, 220, 220, 220, 850, 8367, 16, 796, 9220, 7, 6978, 11639, 7753, 16, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 850, 8367, 17, 796, 9220, 7, 6978, 11639, 7753, 17, 11537, 628, 220, 220, 220, 24866, 284, 428, 1611, 286, 2438, 25, 628, 220, 220, 220, 220, 220, 850, 8367, 16, 796, 4876, 16, 3419, 198, 220, 220, 220, 220, 220, 850, 8367, 17, 796, 4876, 17, 3419, 198, 220, 220, 220, 220, 220, 2560, 62, 8367, 796, 685, 7266, 8367, 16, 11, 850, 8367, 17, 60, 198, 220, 220, 220, 220, 220, 4876, 18, 7, 8000, 62, 8367, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33218, 62, 77, 4147, 25, 5345, 58, 6601, 11125, 19667, 60, 796, 900, 3419, 198, 220, 220, 220, 28717, 62, 77, 4147, 25, 7343, 58, 14134, 19667, 11395, 60, 796, 17635, 628, 220, 220, 220, 329, 5743, 287, 2665, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 318, 39098, 7, 14907, 13, 16520, 11, 4889, 19667, 11395, 8, 198, 220, 220, 220, 220, 220, 220, 220, 33218, 62, 77, 4147, 13, 2860, 7, 14907, 13, 10677, 8, 198, 220, 220, 220, 220, 220, 220, 220, 28717, 62, 77, 4147, 13, 33295, 7, 14907, 13, 16520, 8, 628, 220, 220, 220, 1303, 45559, 3810, 8333, 13444, 13, 198, 220, 220, 220, 1303, 775, 691, 1104, 530, 33218, 10139, 3058, 13, 198, 220, 220, 220, 685, 2902, 5532, 62, 17440, 60, 796, 33218, 62, 77, 4147, 198, 220, 220, 220, 8333, 62, 7785, 62, 3672, 796, 1366, 11125, 62, 85, 945, 58, 2902, 5532, 62, 17440, 60, 628, 220, 220, 220, 1303, 45559, 3810, 1822, 31485, 13, 198, 220, 220, 220, 26498, 796, 17635, 198, 220, 220, 220, 329, 28717, 62, 17440, 287, 11629, 62, 34642, 7, 929, 5532, 62, 77, 4147, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 11, 1988, 796, 28717, 62, 17440, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 48987, 7885, 1438, 318, 3748, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2779, 62, 7785, 62, 3672, 796, 28717, 62, 17440, 13, 13345, 62, 17440, 13, 35943, 13, 3672, 1343, 45434, 20274, 1, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 7785, 62, 3672, 11, 4808, 796, 1366, 11125, 62, 85, 945, 13, 3605, 62, 7785, 62, 3672, 7, 929, 5532, 62, 17440, 11, 2779, 62, 7785, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 26498, 13, 33295, 7, 6601, 11125, 28100, 7, 3605, 62, 7785, 62, 3672, 11, 1988, 4008, 628, 220, 220, 220, 1441, 6060, 11125, 16375, 39170, 7, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 28, 6601, 11125, 8021, 570, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 28, 562, 570, 62, 7785, 62, 3672, 11, 21231, 2625, 1600, 10139, 62, 13812, 2625, 1082, 1083, 422, 1600, 10139, 28, 14202, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 28166, 41888, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 26498, 28, 22046, 11, 198, 220, 220, 220, 1267, 628, 198, 4299, 787, 62, 7890, 11125, 62, 3438, 7, 198, 220, 220, 220, 1366, 11125, 62, 276, 3212, 25, 40806, 540, 58, 6601, 11125, 37021, 4357, 649, 62, 85, 1501, 480, 25, 965, 796, 366, 8367, 1, 198, 8, 4613, 40806, 540, 58, 6601, 11125, 16375, 39170, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 575, 1164, 82, 1366, 11125, 2665, 24121, 82, 422, 281, 11629, 540, 286, 1366, 11125, 13015, 13, 628, 220, 220, 220, 632, 635, 17706, 7885, 8851, 3723, 284, 1577, 790, 1988, 257, 3748, 7885, 1438, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1366, 11125, 62, 85, 945, 796, 6060, 11125, 53, 945, 3419, 628, 220, 220, 220, 329, 1611, 11, 2665, 287, 11629, 62, 7890, 11125, 62, 23946, 7, 7890, 11125, 62, 276, 3212, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1611, 6624, 6060, 11125, 16375, 35854, 13, 34, 7036, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 787, 62, 5458, 62, 3438, 7, 5458, 11, 1366, 11125, 62, 85, 945, 11, 649, 62, 85, 1501, 480, 28, 3605, 62, 85, 1501, 480, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1611, 6624, 6060, 11125, 16375, 35854, 13, 26947, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 787, 62, 7890, 62, 5458, 62, 3438, 7, 5458, 11, 1366, 11125, 62, 85, 945, 11, 649, 62, 85, 1501, 480, 28, 3605, 62, 85, 1501, 480, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 1892, 3546, 1154, 12061, 12331, 7, 69, 1, 20035, 1611, 705, 90, 11031, 92, 6, 19570, 628, 198, 4299, 651, 62, 7890, 11125, 62, 13345, 62, 17440, 7, 17440, 25, 32233, 58, 6601, 11125, 19667, 12962, 4613, 32233, 58, 14134, 19667, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16409, 262, 4889, 19667, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 17440, 11, 4889, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10139, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10139, 13, 49140, 13, 13345, 62, 17440, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 4889, 19667, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10139, 13, 13345, 62, 17440, 628, 220, 220, 220, 1288, 361, 10139, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 62, 12081, 7, 17440, 8, 628, 198, 4299, 651, 62, 17440, 62, 17831, 7, 17440, 25, 32233, 58, 6601, 11125, 19667, 12962, 4613, 32233, 58, 2536, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5178, 1381, 12234, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 17440, 11, 11052, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10139, 13, 8367, 62, 17831, 628, 220, 220, 220, 869, 62, 17440, 796, 651, 62, 7890, 11125, 62, 13345, 62, 17440, 7, 17440, 8, 198, 220, 220, 220, 611, 869, 62, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 869, 62, 17440, 13, 13345, 62, 17831, 628, 220, 220, 220, 1441, 6045, 628, 198, 4299, 3359, 62, 17440, 7, 17440, 25, 32233, 58, 6601, 11125, 19667, 4357, 8851, 1047, 25, 360, 713, 58, 2536, 11, 965, 12962, 4613, 309, 29291, 58, 2536, 11, 965, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5178, 1381, 257, 1366, 11125, 10139, 284, 257, 4731, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 17440, 11, 4889, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 5855, 1600, 3359, 62, 13345, 62, 17440, 7, 17440, 11, 8851, 1047, 4008, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 45751, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 49140, 286, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3359, 62, 13345, 62, 17440, 7, 17440, 13, 49140, 13, 13345, 62, 17440, 11, 8851, 1047, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1288, 361, 318, 39098, 7, 17440, 11, 4889, 19667, 11395, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 5855, 1600, 3359, 62, 13345, 62, 17440, 7, 17440, 13, 13345, 62, 17440, 11, 8851, 1047, 4008, 628, 220, 220, 220, 1288, 361, 10139, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 5855, 1600, 366, 47103, 4943, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 62, 12081, 7, 17440, 8, 628, 198, 4299, 3359, 62, 13345, 62, 17440, 7, 13345, 62, 17440, 25, 4889, 19667, 11, 8851, 1047, 25, 360, 713, 58, 2536, 11, 965, 12962, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5178, 1381, 257, 4889, 19667, 284, 257, 4731, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 14933, 796, 651, 62, 35943, 62, 22046, 7, 13345, 62, 17440, 13, 35943, 8, 198, 220, 220, 220, 2845, 26375, 897, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 14933, 796, 685, 1136, 62, 12286, 62, 853, 62, 3672, 7, 72, 8, 329, 1312, 287, 2837, 7, 11925, 7, 13345, 62, 17440, 13, 853, 2886, 4008, 60, 198, 220, 220, 220, 26498, 796, 685, 918, 1047, 13, 1136, 7, 853, 11, 1822, 8, 329, 1822, 287, 1822, 62, 14933, 60, 198, 220, 220, 220, 1441, 45144, 35943, 62, 3672, 92, 15090, 22046, 30072, 1911, 18982, 7, 35943, 62, 3672, 28, 13345, 62, 17440, 13, 35943, 13, 3672, 11, 26498, 28, 1600, 27071, 22179, 7, 22046, 4008, 628, 198, 4299, 3359, 62, 8367, 7, 8367, 25, 11052, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 18980, 257, 11052, 284, 257, 4731, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 15797, 62, 8841, 7, 260, 1050, 7, 8367, 13, 8367, 62, 79, 945, 276, 4008, 628, 198, 4299, 3359, 62, 17831, 7, 17440, 25, 32233, 58, 6601, 11125, 19667, 12962, 4613, 965, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5178, 1381, 12234, 329, 257, 6060, 11125, 19667, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10139, 62, 17831, 796, 651, 62, 17440, 62, 17831, 7, 17440, 8, 198, 220, 220, 220, 611, 10139, 62, 17831, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 33490, 90, 92, 29, 27071, 18982, 7, 17440, 62, 17831, 58, 25, 23, 12962, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13538, 628, 198, 4299, 3359, 62, 5458, 7, 3438, 25, 6060, 11125, 16375, 39170, 8, 4613, 40806, 1352, 58, 2536, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 575, 1164, 82, 3951, 329, 19407, 257, 1366, 11125, 2665, 24121, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 16531, 8333, 1627, 13, 198, 220, 220, 220, 8333, 796, 2401, 13, 562, 570, 198, 220, 220, 220, 7800, 45144, 7785, 62, 3672, 92, 1279, 438, 1391, 40290, 18477, 8367, 62, 17831, 18477, 8367, 92, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 28, 562, 570, 13, 7785, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 21231, 28, 562, 570, 13, 40290, 1343, 366, 366, 611, 8333, 13, 40290, 2073, 366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 62, 17831, 28, 13812, 62, 17831, 7, 562, 570, 13, 17440, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 28, 562, 570, 13, 17440, 62, 13812, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 33793, 796, 18896, 7, 562, 570, 13, 7785, 62, 3672, 8, 1343, 352, 628, 220, 220, 220, 1303, 16531, 28166, 13, 198, 220, 220, 220, 329, 28166, 62, 4299, 287, 2401, 13, 81, 13660, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 45144, 521, 298, 92, 27, 438, 1391, 40290, 18477, 17440, 62, 17831, 18477, 17440, 92, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33793, 2625, 366, 1635, 33793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21231, 28, 81, 13660, 62, 4299, 13, 40290, 1343, 366, 366, 611, 28166, 62, 4299, 13, 40290, 2073, 366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 62, 17831, 28, 13812, 62, 17831, 7, 81, 13660, 62, 4299, 13, 17440, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 28, 81, 13660, 62, 4299, 13, 17440, 62, 13812, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 16531, 4578, 17336, 13, 198, 220, 220, 220, 611, 2401, 13, 22046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 7785, 62, 11925, 796, 3509, 7, 11925, 7, 853, 13, 7785, 62, 3672, 8, 329, 1822, 287, 2401, 13, 22046, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1822, 287, 2401, 13, 22046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 366, 220, 1391, 7785, 62, 3672, 18477, 39231, 92, 796, 1279, 90, 8367, 62, 17831, 92, 29, 1391, 7785, 92, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 3672, 28, 853, 13, 7785, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 2625, 366, 1635, 357, 9806, 62, 7785, 62, 11925, 532, 18896, 7, 853, 13, 7785, 62, 3672, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 62, 17831, 28, 853, 13, 8367, 13, 8367, 62, 17831, 58, 25, 23, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1401, 28, 13812, 62, 8367, 7, 853, 13, 8367, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 198, 4299, 3359, 62, 7890, 11125, 7, 3438, 25, 6060, 11125, 39170, 8, 4613, 40806, 1352, 58, 2536, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 575, 1164, 82, 329, 3951, 19407, 257, 1366, 11125, 24121, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 329, 2401, 62, 5458, 287, 2401, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 422, 3359, 62, 5458, 7, 3438, 62, 5458, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 13538, 628, 198, 4299, 11389, 1096, 62, 5458, 7, 3438, 25, 6060, 11125, 16375, 39170, 8, 4613, 8633, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 23283, 1096, 257, 6060, 11125, 16375, 39170, 284, 19449, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 23283, 1096, 16237, 13, 198, 220, 220, 220, 8333, 62, 17831, 25, 32233, 58, 2536, 60, 198, 220, 220, 220, 611, 318, 39098, 7, 3438, 13, 562, 570, 13, 17440, 11, 11052, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 17831, 796, 2401, 13, 562, 570, 13, 17440, 13, 8367, 62, 17831, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 21858, 62, 312, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 18558, 1009, 62, 312, 796, 6045, 198, 220, 220, 220, 1288, 361, 2401, 13, 562, 570, 13, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 796, 651, 62, 7890, 11125, 62, 13345, 62, 17440, 7, 3438, 13, 562, 570, 13, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 869, 62, 17440, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 17831, 796, 869, 62, 17440, 13, 13345, 62, 17831, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 3452, 1693, 286, 869, 62, 17440, 13, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 21858, 796, 23243, 7, 13345, 62, 17440, 13, 43863, 11, 1994, 28, 50033, 1693, 25, 1693, 13, 9688, 62, 2435, 11, 9575, 28, 17821, 38381, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 21858, 62, 312, 796, 8333, 62, 21858, 13, 312, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 18558, 1009, 62, 312, 796, 8333, 62, 21858, 13, 18558, 1009, 13, 312, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 17831, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 21858, 62, 312, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 8333, 62, 18558, 1009, 62, 312, 796, 6045, 628, 220, 220, 220, 1303, 23283, 1096, 28166, 13, 198, 220, 220, 220, 28166, 796, 17635, 198, 220, 220, 220, 329, 28166, 62, 4299, 287, 2401, 13, 81, 13660, 25, 198, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17440, 796, 651, 62, 7890, 11125, 62, 13345, 62, 17440, 7, 81, 13660, 62, 4299, 13, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 869, 62, 17440, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17831, 25, 32233, 58, 2536, 60, 796, 869, 62, 17440, 13, 13345, 62, 17831, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 3452, 1693, 286, 869, 62, 17440, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1693, 796, 23243, 7, 13345, 62, 17440, 13, 43863, 11, 1994, 28, 50033, 1693, 25, 1693, 13, 9688, 62, 2435, 11, 9575, 28, 17821, 38381, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1693, 62, 312, 25, 32233, 58, 2536, 60, 796, 1693, 13, 312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9706, 62, 312, 25, 32233, 58, 2536, 60, 796, 1693, 13, 18558, 1009, 13, 312, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 869, 62, 17831, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1693, 62, 312, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9706, 62, 312, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 28166, 13, 33295, 7, 198, 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, 366, 40290, 1298, 28166, 62, 4299, 13, 40290, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 17831, 1298, 869, 62, 17831, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 13812, 1298, 28166, 62, 4299, 13, 17440, 62, 13812, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 21858, 62, 312, 1298, 1693, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18558, 1009, 62, 312, 1298, 9706, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 23283, 1096, 7159, 13, 198, 220, 220, 220, 26498, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 7785, 62, 3672, 1298, 1822, 13, 7785, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 17831, 1298, 1822, 13, 8367, 13, 8367, 62, 17831, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 8367, 62, 13812, 1298, 3359, 62, 8367, 7, 853, 13, 8367, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1822, 287, 2401, 13, 22046, 198, 220, 220, 220, 2361, 628, 220, 220, 220, 1441, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 562, 570, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 7785, 62, 3672, 1298, 2401, 13, 562, 570, 13, 7785, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 40290, 1298, 2401, 13, 562, 570, 13, 40290, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 13812, 1298, 2401, 13, 562, 570, 13, 17440, 62, 13812, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 17831, 1298, 8333, 62, 17831, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 21858, 62, 312, 1298, 8333, 62, 21858, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18558, 1009, 62, 312, 1298, 8333, 62, 18558, 1009, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 366, 81, 13660, 1298, 28166, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22046, 1298, 26498, 11, 198, 220, 220, 220, 1782, 628, 198, 4299, 11389, 1096, 62, 7890, 11125, 7, 3438, 25, 6060, 11125, 39170, 8, 4613, 40806, 1352, 58, 11600, 5974, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 23283, 1096, 6060, 11125, 39170, 284, 19449, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 329, 2401, 62, 5458, 287, 2401, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 11389, 1096, 62, 5458, 7, 3438, 62, 5458, 8, 198 ]
2.368731
18,664
import matplotlib.pyplot as plt import scipy.stats import numpy as np from tqdm import tqdm from PIL import Image from deeplab3.config.defaults import get_cfg_defaults from dataloaders.utils import sample_distribution from dataloaders.datasets.cityscapes import CityscapesSegmentation from dataloaders.datasets.coco import COCOSegmentation from dataloaders.datasets.sunrgbd import RGBDSegmentation from dataloaders.SampleLoader import SampleLoader city_rgbd = get_cfg_defaults() city_rgbd.merge_from_file('configs/cityscapes_rgbd.yaml') city_rgbd.merge_from_list(['DATASET.ROOT', 'datasets/cityscapes/', 'DATASET.CITYSCAPES.DEPTH_DIR', 'completed_depth']) sunrgbd_rgbd = get_cfg_defaults() sunrgbd_rgbd.merge_from_file('configs/sunrgbd.yaml') sunrgbd_rgbd.merge_from_list(['DATASET.ROOT', 'datasets/SUNRGBD/']) sunrgbd_rgbd_dist_train = sample_distribution(RGBDSegmentation(sunrgbd_rgbd, split='train'), n=100) sunrgbd_rgbd_dist_test = sample_distribution(RGBDSegmentation(sunrgbd_rgbd, split='test'), n=100) city_rgbd_dist = sample_distribution(CityscapesSegmentation(city_rgbd, split='train'))
[ 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 629, 541, 88, 13, 34242, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 198, 6738, 350, 4146, 1330, 7412, 198, 198, 6738, 390, 68, 489, 397, 18, 13, 11250, 13, 12286, 82, 1330, 651, 62, 37581, 62, 12286, 82, 198, 6738, 4818, 282, 1170, 364, 13, 26791, 1330, 6291, 62, 17080, 3890, 198, 198, 6738, 4818, 282, 1170, 364, 13, 19608, 292, 1039, 13, 19205, 1416, 7916, 1330, 2254, 1416, 7916, 41030, 14374, 198, 6738, 4818, 282, 1170, 364, 13, 19608, 292, 1039, 13, 66, 25634, 1330, 327, 4503, 2640, 1533, 14374, 198, 6738, 4818, 282, 1170, 364, 13, 19608, 292, 1039, 13, 19155, 41345, 17457, 1330, 25228, 5258, 1533, 14374, 198, 198, 6738, 4818, 282, 1170, 364, 13, 36674, 17401, 1330, 27565, 17401, 198, 198, 19205, 62, 41345, 17457, 796, 651, 62, 37581, 62, 12286, 82, 3419, 198, 19205, 62, 41345, 17457, 13, 647, 469, 62, 6738, 62, 7753, 10786, 11250, 82, 14, 19205, 1416, 7916, 62, 41345, 17457, 13, 88, 43695, 11537, 198, 19205, 62, 41345, 17457, 13, 647, 469, 62, 6738, 62, 4868, 7, 17816, 35, 1404, 1921, 2767, 13, 13252, 2394, 3256, 705, 19608, 292, 1039, 14, 19205, 1416, 7916, 14, 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, 705, 35, 1404, 1921, 2767, 13, 34, 9050, 6173, 2969, 1546, 13, 46162, 4221, 62, 34720, 3256, 705, 785, 16838, 62, 18053, 6, 12962, 198, 198, 19155, 41345, 17457, 62, 41345, 17457, 796, 651, 62, 37581, 62, 12286, 82, 3419, 198, 19155, 41345, 17457, 62, 41345, 17457, 13, 647, 469, 62, 6738, 62, 7753, 10786, 11250, 82, 14, 19155, 41345, 17457, 13, 88, 43695, 11537, 198, 19155, 41345, 17457, 62, 41345, 17457, 13, 647, 469, 62, 6738, 62, 4868, 7, 17816, 35, 1404, 1921, 2767, 13, 13252, 2394, 3256, 705, 19608, 292, 1039, 14, 50, 4944, 36982, 35, 14, 6, 12962, 198, 198, 19155, 41345, 17457, 62, 41345, 17457, 62, 17080, 62, 27432, 796, 6291, 62, 17080, 3890, 7, 36982, 5258, 1533, 14374, 7, 19155, 41345, 17457, 62, 41345, 17457, 11, 6626, 11639, 27432, 33809, 299, 28, 3064, 8, 198, 19155, 41345, 17457, 62, 41345, 17457, 62, 17080, 62, 9288, 796, 6291, 62, 17080, 3890, 7, 36982, 5258, 1533, 14374, 7, 19155, 41345, 17457, 62, 41345, 17457, 11, 6626, 11639, 9288, 33809, 299, 28, 3064, 8, 198, 198, 19205, 62, 41345, 17457, 62, 17080, 796, 6291, 62, 17080, 3890, 7, 14941, 1416, 7916, 41030, 14374, 7, 19205, 62, 41345, 17457, 11, 6626, 11639, 27432, 6, 4008, 198 ]
2.513333
450
import os import json import logging import requests from unittest.mock import patch, MagicMock import walters_art_museum as wam RESOURCES = os.path.join( os.path.abspath(os.path.dirname(__file__)), 'tests/resources/waltersartmuseum' ) logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s: %(message)s', level=logging.DEBUG ) logger = logging.getLogger(__name__) # _get_image_list test suite # _build_query_param test suite # This test fails if default constants change. # _extract_image_list_from_json test suite # _process_image test suite # _get_creator_info test suite # get_meta_data test suite
[ 11748, 28686, 198, 11748, 33918, 198, 11748, 18931, 198, 11748, 7007, 198, 6738, 555, 715, 395, 13, 76, 735, 1330, 8529, 11, 6139, 44, 735, 198, 11748, 6514, 1010, 62, 433, 62, 76, 6744, 355, 266, 321, 628, 198, 19535, 2606, 7397, 1546, 796, 28686, 13, 6978, 13, 22179, 7, 198, 220, 220, 220, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 36911, 198, 220, 220, 220, 705, 41989, 14, 37540, 14, 16783, 1010, 433, 76, 6744, 6, 198, 8, 198, 198, 6404, 2667, 13, 35487, 16934, 7, 198, 220, 220, 220, 5794, 11639, 4, 7, 292, 310, 524, 8, 82, 532, 4064, 7, 3672, 8, 82, 532, 4064, 7, 5715, 3672, 8, 82, 25, 220, 4064, 7, 20500, 8, 82, 3256, 198, 220, 220, 220, 1241, 28, 6404, 2667, 13, 30531, 198, 8, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 198, 2, 4808, 1136, 62, 9060, 62, 4868, 1332, 18389, 628, 628, 198, 2, 4808, 11249, 62, 22766, 62, 17143, 1332, 18389, 198, 2, 770, 1332, 10143, 611, 4277, 38491, 1487, 13, 628, 198, 198, 2, 4808, 2302, 974, 62, 9060, 62, 4868, 62, 6738, 62, 17752, 1332, 18389, 628, 628, 628, 198, 2, 4808, 14681, 62, 9060, 1332, 18389, 628, 198, 2, 4808, 1136, 62, 45382, 62, 10951, 1332, 18389, 628, 198, 198, 2, 651, 62, 28961, 62, 7890, 1332, 18389, 628, 198 ]
2.689796
245
# -*- coding: utf-8 -*- """ Created on Tue Jan 14 09:35:53 2020 @author: Christian """
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 30030, 2365, 1478, 7769, 25, 2327, 25, 4310, 12131, 198, 198, 31, 9800, 25, 4302, 198, 37811, 628 ]
2.472222
36
#!/usr/bin/env python3 """ Convert from pre-trained models. """ import argparse import math import os import sys from collections import OrderedDict from dataclasses import dataclass from typing import Dict import numpy as np import onnx import toml from onnx import shape_inference from pydeacon.graph import ( DeaconGraph, Globals, LayerType, Node, Output, OutputType, Parallelism, Seq, Shape, ) @dataclass if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 37811, 38240, 422, 662, 12, 35311, 4981, 13, 37227, 198, 198, 11748, 1822, 29572, 198, 11748, 10688, 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 17268, 1330, 14230, 1068, 35, 713, 198, 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 19720, 1330, 360, 713, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 319, 77, 87, 198, 11748, 284, 4029, 198, 6738, 319, 77, 87, 1330, 5485, 62, 259, 4288, 198, 6738, 12972, 2934, 7807, 13, 34960, 1330, 357, 198, 220, 220, 220, 1024, 7807, 37065, 11, 198, 220, 220, 220, 40713, 874, 11, 198, 220, 220, 220, 34398, 6030, 11, 198, 220, 220, 220, 19081, 11, 198, 220, 220, 220, 25235, 11, 198, 220, 220, 220, 25235, 6030, 11, 198, 220, 220, 220, 42945, 1042, 11, 198, 220, 220, 220, 1001, 80, 11, 198, 220, 220, 220, 25959, 11, 198, 8, 628, 628, 198, 31, 19608, 330, 31172, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
2.714286
182
"""Assortment of utilities for application.""" import itertools import operator import os import random from typing import List from flask_sqlalchemy import Model, SQLAlchemy from pma_api.app import PmaApiFlask B64_CHAR_SET = ''.join(('abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', '0123456789-_')) seen = {None} random.seed(2020) def next64(): """Random string generator. Returns: str: Randomly generated string. """ n_char = 8 result = None while result in seen: result = ''.join(random.choice(B64_CHAR_SET) for _ in range(n_char)) seen.add(result) return result def most_common(a_list: list): """Get most common element in a list Args: a_list (list): Any arbitrary list Returns: any: pick the highest-count/earliest item """ # get an iterable of (item, iterable) pairs sorted_list = sorted((x, i) for i, x in enumerate(a_list)) groups = itertools.groupby(sorted_list, key=operator.itemgetter(0)) def _auxfun(grp): """Auxiliary function to get "quality" for an item This function should be used in tandem with max() Args: grp (iterable): an object to returned by max() if the provided iterable passed to max() is empty. """ item, iterable = grp count = 0 min_index = len(a_list) for _, where in iterable: count += 1 min_index = min(min_index, where) return count, -min_index return max(groups, key=_auxfun)[0] def dict_to_pretty_json(dictionary: {}) -> '': """Given a dictionary, pretty print JSON str Args: dictionary (dict): dictionary Returns: str: Prettified JSON string """ import json return json.dumps( dictionary, sort_keys=True, indent=4, separators=(',', ': ')) def join_url_parts(*args: str) -> str: """Join parts of a url string Parts of a URL string may come from different sources, so joining them directly together may yield too many or too few '/' delimiters. Args: *args: Returns: str: Well-formed url """ base_str = '/'.join(args) return 'http://' + base_str.replace('http://', '').replace('//', '/') def get_db_models(db: SQLAlchemy) -> List[Model]: """Get list of models from SqlAlchemy Args: db: SqlAlchemy db object Returns: list(Model): List of registered SqlAlchemy models """ # noinspection PyProtectedMember models: List[Model] = \ [cls for cls in db.Model._decl_class_registry.values() if isinstance(cls, type) and issubclass(cls, db.Model)] return models # TODO 2019.03.10-jef: Get this to work def stderr_stdout_captured(func): """Capture stderr and stdout Args: func: A function Returns: str, str, any: stderr output, stdout output, return of function """ import sys from io import StringIO old_stdout = sys.stdout old_stderr = sys.stderr captured_stderr = sys.stderr = StringIO() captured_stdout = sys.stdout = StringIO() returned_value = func() _err: str = captured_stderr.getvalue() _out: str = captured_stdout.getvalue() sys.stdout = old_stdout sys.stderr = old_stderr return _err, _out, returned_value def get_app_instance() -> PmaApiFlask: """Get reference to copy of currently running application instance Returns: PmaApiFlask: PmaApiFlask application instance. """ err = 'A current running app was not able to be found.' try: from flask import current_app app: PmaApiFlask = current_app if app.__repr__() == '<LocalProxy unbound>': raise RuntimeError(err) except RuntimeError: from pma_api import create_app app: PmaApiFlask = create_app(os.getenv('ENV_NAME', 'default')) return app
[ 37811, 8021, 33920, 286, 20081, 329, 3586, 526, 15931, 198, 11748, 340, 861, 10141, 198, 11748, 10088, 198, 11748, 28686, 198, 11748, 4738, 198, 6738, 19720, 1330, 7343, 198, 198, 6738, 42903, 62, 25410, 282, 26599, 1330, 9104, 11, 16363, 2348, 26599, 198, 198, 6738, 279, 2611, 62, 15042, 13, 1324, 1330, 350, 2611, 32, 14415, 7414, 2093, 198, 198, 33, 2414, 62, 38019, 62, 28480, 796, 705, 4458, 22179, 7, 10786, 39305, 4299, 456, 2926, 41582, 10295, 404, 80, 81, 301, 14795, 86, 5431, 89, 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, 705, 24694, 32988, 17511, 23852, 42, 31288, 45, 3185, 48, 49, 2257, 52, 30133, 34278, 57, 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, 705, 486, 1954, 2231, 3134, 4531, 12, 62, 6, 4008, 198, 15898, 796, 1391, 14202, 92, 198, 25120, 13, 28826, 7, 42334, 8, 628, 198, 4299, 1306, 2414, 33529, 198, 220, 220, 220, 37227, 29531, 4731, 17301, 13, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 965, 25, 14534, 306, 7560, 4731, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 299, 62, 10641, 796, 807, 198, 220, 220, 220, 1255, 796, 6045, 628, 220, 220, 220, 981, 1255, 287, 1775, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 705, 4458, 22179, 7, 25120, 13, 25541, 7, 33, 2414, 62, 38019, 62, 28480, 8, 329, 4808, 287, 2837, 7, 77, 62, 10641, 4008, 198, 220, 220, 220, 1775, 13, 2860, 7, 20274, 8, 628, 220, 220, 220, 1441, 1255, 628, 198, 4299, 749, 62, 11321, 7, 64, 62, 4868, 25, 1351, 2599, 198, 220, 220, 220, 37227, 3855, 749, 2219, 5002, 287, 257, 1351, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 257, 62, 4868, 357, 4868, 2599, 4377, 14977, 1351, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 597, 25, 2298, 262, 4511, 12, 9127, 14, 451, 11318, 2378, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 651, 281, 11629, 540, 286, 357, 9186, 11, 11629, 540, 8, 14729, 198, 220, 220, 220, 23243, 62, 4868, 796, 23243, 19510, 87, 11, 1312, 8, 329, 1312, 11, 2124, 287, 27056, 378, 7, 64, 62, 4868, 4008, 198, 220, 220, 220, 2628, 796, 340, 861, 10141, 13, 8094, 1525, 7, 82, 9741, 62, 4868, 11, 1994, 28, 46616, 13, 9186, 1136, 353, 7, 15, 4008, 628, 220, 220, 220, 825, 4808, 14644, 12543, 7, 2164, 79, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 32, 2821, 28129, 2163, 284, 651, 366, 13237, 1, 329, 281, 2378, 628, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 815, 307, 973, 287, 32969, 351, 3509, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1036, 79, 357, 2676, 540, 2599, 281, 2134, 284, 4504, 416, 3509, 3419, 611, 262, 2810, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11629, 540, 3804, 284, 3509, 3419, 318, 6565, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 11, 11629, 540, 796, 1036, 79, 198, 220, 220, 220, 220, 220, 220, 220, 954, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 949, 62, 9630, 796, 18896, 7, 64, 62, 4868, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 4808, 11, 810, 287, 11629, 540, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 62, 9630, 796, 949, 7, 1084, 62, 9630, 11, 810, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 954, 11, 532, 1084, 62, 9630, 628, 220, 220, 220, 1441, 3509, 7, 24432, 11, 1994, 28, 62, 14644, 12543, 38381, 15, 60, 628, 198, 4299, 8633, 62, 1462, 62, 37784, 62, 17752, 7, 67, 14188, 25, 23884, 8, 4613, 10148, 25, 198, 220, 220, 220, 37227, 15056, 257, 22155, 11, 2495, 3601, 19449, 965, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 22155, 357, 11600, 2599, 22155, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 965, 25, 3771, 926, 1431, 19449, 4731, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1330, 33918, 628, 220, 220, 220, 1441, 33918, 13, 67, 8142, 7, 198, 220, 220, 220, 220, 220, 220, 220, 22155, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3297, 62, 13083, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 33793, 28, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2880, 2024, 16193, 3256, 3256, 705, 25, 705, 4008, 628, 198, 4299, 4654, 62, 6371, 62, 42632, 46491, 22046, 25, 965, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 18234, 3354, 286, 257, 19016, 4731, 628, 220, 220, 220, 22349, 286, 257, 10289, 4731, 743, 1282, 422, 1180, 4237, 11, 523, 9679, 606, 198, 220, 220, 220, 3264, 1978, 743, 7800, 1165, 867, 393, 1165, 1178, 31051, 6, 46728, 270, 364, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 22046, 25, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 965, 25, 3894, 12, 12214, 19016, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2779, 62, 2536, 796, 31051, 4458, 22179, 7, 22046, 8, 628, 220, 220, 220, 1441, 705, 4023, 1378, 6, 1343, 2779, 62, 2536, 13, 33491, 10786, 4023, 1378, 3256, 10148, 737, 33491, 10786, 1003, 3256, 31051, 11537, 628, 198, 4299, 651, 62, 9945, 62, 27530, 7, 9945, 25, 16363, 2348, 26599, 8, 4613, 7343, 58, 17633, 5974, 198, 220, 220, 220, 37227, 3855, 1351, 286, 4981, 422, 311, 13976, 2348, 26599, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 20613, 25, 311, 13976, 2348, 26599, 20613, 2134, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 7, 17633, 2599, 7343, 286, 6823, 311, 13976, 2348, 26599, 4981, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 645, 1040, 14978, 9485, 19703, 11197, 27608, 198, 220, 220, 220, 4981, 25, 7343, 58, 17633, 60, 796, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 685, 565, 82, 329, 537, 82, 287, 20613, 13, 17633, 13557, 32446, 62, 4871, 62, 2301, 4592, 13, 27160, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 565, 82, 11, 2099, 8, 290, 1189, 549, 4871, 7, 565, 82, 11, 20613, 13, 17633, 15437, 628, 220, 220, 220, 1441, 4981, 628, 198, 2, 16926, 46, 13130, 13, 3070, 13, 940, 12, 73, 891, 25, 3497, 428, 284, 670, 198, 4299, 336, 1082, 81, 62, 19282, 448, 62, 27144, 1522, 7, 20786, 2599, 198, 220, 220, 220, 37227, 49630, 336, 1082, 81, 290, 14367, 448, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 25439, 25, 317, 2163, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 965, 11, 965, 11, 597, 25, 336, 1082, 81, 5072, 11, 14367, 448, 5072, 11, 1441, 286, 2163, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1330, 25064, 198, 220, 220, 220, 422, 33245, 1330, 10903, 9399, 628, 220, 220, 220, 1468, 62, 19282, 448, 796, 25064, 13, 19282, 448, 198, 220, 220, 220, 1468, 62, 301, 1082, 81, 796, 25064, 13, 301, 1082, 81, 198, 220, 220, 220, 7907, 62, 301, 1082, 81, 796, 25064, 13, 301, 1082, 81, 796, 10903, 9399, 3419, 198, 220, 220, 220, 7907, 62, 19282, 448, 796, 25064, 13, 19282, 448, 796, 10903, 9399, 3419, 628, 220, 220, 220, 4504, 62, 8367, 796, 25439, 3419, 628, 220, 220, 220, 4808, 8056, 25, 965, 796, 7907, 62, 301, 1082, 81, 13, 1136, 8367, 3419, 198, 220, 220, 220, 4808, 448, 25, 965, 796, 7907, 62, 19282, 448, 13, 1136, 8367, 3419, 198, 220, 220, 220, 25064, 13, 19282, 448, 796, 1468, 62, 19282, 448, 198, 220, 220, 220, 25064, 13, 301, 1082, 81, 796, 1468, 62, 301, 1082, 81, 628, 220, 220, 220, 1441, 4808, 8056, 11, 4808, 448, 11, 4504, 62, 8367, 628, 198, 4299, 651, 62, 1324, 62, 39098, 3419, 4613, 350, 2611, 32, 14415, 7414, 2093, 25, 198, 220, 220, 220, 37227, 3855, 4941, 284, 4866, 286, 3058, 2491, 3586, 4554, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 350, 2611, 32, 14415, 7414, 2093, 25, 350, 2611, 32, 14415, 7414, 2093, 3586, 4554, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 11454, 796, 705, 32, 1459, 2491, 598, 373, 407, 1498, 284, 307, 1043, 2637, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 422, 42903, 1330, 1459, 62, 1324, 198, 220, 220, 220, 220, 220, 220, 220, 598, 25, 350, 2611, 32, 14415, 7414, 2093, 796, 1459, 62, 1324, 198, 220, 220, 220, 220, 220, 220, 220, 611, 598, 13, 834, 260, 1050, 834, 3419, 6624, 705, 27, 14565, 44148, 555, 7784, 29, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 7, 8056, 8, 198, 220, 220, 220, 2845, 43160, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 422, 279, 2611, 62, 15042, 1330, 2251, 62, 1324, 198, 220, 220, 220, 220, 220, 220, 220, 598, 25, 350, 2611, 32, 14415, 7414, 2093, 796, 2251, 62, 1324, 7, 418, 13, 1136, 24330, 10786, 1677, 53, 62, 20608, 3256, 705, 12286, 6, 4008, 628, 220, 220, 220, 1441, 598, 198 ]
2.40469
1,663
# !/usr/bin/env python3 ####################################################################################### # # # Program purpose: Concatenates N-strings. # # Program Author : Happi Yvan <[email protected]> # # Creation Date : August 27, 2019 # # # ####################################################################################### if __name__ == "__main__": num_str = int(input("Enter number of strings: ")) strs = read_strs(num_str) print(f"\nStrings are: {strs}") # joining strings on '-' print(f"Concatenated strings: {'-'.join(strs)}")
[ 2, 5145, 14, 14629, 14, 8800, 14, 24330, 220, 21015, 18, 198, 198, 29113, 29113, 14468, 4242, 21017, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 198, 2, 220, 220, 220, 220, 220, 220, 6118, 4007, 25, 1482, 9246, 268, 689, 399, 12, 37336, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 198, 2, 220, 220, 220, 220, 220, 220, 6118, 6434, 1058, 18321, 72, 575, 10438, 1279, 1469, 5714, 79, 11020, 31, 14816, 13, 785, 29, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 198, 2, 220, 220, 220, 220, 220, 220, 21582, 7536, 220, 1058, 2932, 2681, 11, 13130, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 198, 29113, 29113, 14468, 4242, 21017, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 997, 62, 2536, 796, 493, 7, 15414, 7203, 17469, 1271, 286, 13042, 25, 366, 4008, 198, 220, 220, 220, 965, 82, 796, 1100, 62, 2536, 82, 7, 22510, 62, 2536, 8, 198, 220, 220, 220, 3601, 7, 69, 1, 59, 77, 13290, 654, 389, 25, 1391, 2536, 82, 92, 4943, 628, 220, 220, 220, 1303, 9679, 13042, 319, 705, 19355, 198, 220, 220, 220, 3601, 7, 69, 1, 3103, 9246, 268, 515, 13042, 25, 1391, 29001, 4458, 22179, 7, 2536, 82, 38165, 4943, 198 ]
1.873391
466
import requests import hmac import hashlib import datetime as dt import simplejson as json access_key = '80473469' # example secret_key = 'GhDzk8Lc00xUzUjHFJqDqLztMNq5KMgU' # example # Generate the X-Timestamp t = dt.datetime.utcnow().replace(microsecond=0) timestamp = t.isoformat() timestamp = '2015-10-29T14:33:46' headers = { 'accept': "application/json", 'x-timestamp': timestamp } # Generate the MD5 hash of the body body = '' body_md5 = hashlib.md5(body).hexdigest() if body != '' else '' # Creating URI info query_params = ['limit=1','page=2'] # Since this is a simple request, we won't set any query params query_params.sort() url_scheme = 'https' net_location = 'api.flowroute.com' method = 'GET' path = '/v1/routes/' ordered_query_params = u'&'.join(query_params) canonical_uri = '{0}://{1}{2}\n{3}'.format(url_scheme, net_location, path, ordered_query_params) # Create the message string tokens = (timestamp, method, body_md5, canonical_uri) message_string = u'\n'.join(tokens).encode('utf-8') # Generate the signature signature = hmac.new(secret_key, message_string, digestmod=hashlib.sha1).hexdigest() # Make the request request_url = '{0}://{1}{2}?{3}'.format(url_scheme, net_location, path, ordered_query_params) # append ordered query params here #request = requests.get(request_url, auth=(access_key, signature), headers=headers) #result = json.loads(request.text) print "timestamp: " + str(timestamp) print "tokens: " + str(tokens) print "canonical_uri: " + str(canonical_uri) print "request_uri: " + str(request_url) print "message_string: " + str(message_string) print "access_key: " + str(access_key) print "signature: " + str(signature) print "headers: " + str(headers) print "" #print str(result)
[ 11748, 7007, 198, 11748, 289, 20285, 198, 11748, 12234, 8019, 198, 11748, 4818, 8079, 355, 288, 83, 198, 11748, 2829, 17752, 355, 33918, 198, 198, 15526, 62, 2539, 796, 705, 1795, 2857, 2682, 3388, 6, 1303, 1672, 198, 21078, 62, 2539, 796, 705, 41126, 35, 89, 74, 23, 43, 66, 405, 87, 52, 89, 52, 73, 29567, 41, 80, 35, 80, 43, 89, 83, 39764, 80, 20, 42, 44, 70, 52, 6, 1303, 1672, 198, 198, 2, 2980, 378, 262, 1395, 12, 14967, 27823, 198, 83, 796, 288, 83, 13, 19608, 8079, 13, 315, 66, 2197, 22446, 33491, 7, 24055, 12227, 28, 15, 8, 198, 16514, 27823, 796, 256, 13, 26786, 18982, 3419, 198, 16514, 27823, 796, 705, 4626, 12, 940, 12, 1959, 51, 1415, 25, 2091, 25, 3510, 6, 198, 50145, 796, 1391, 198, 220, 220, 220, 705, 13635, 10354, 366, 31438, 14, 17752, 1600, 198, 220, 220, 220, 705, 87, 12, 16514, 27823, 10354, 41033, 198, 220, 220, 220, 1782, 198, 198, 2, 2980, 378, 262, 10670, 20, 12234, 286, 262, 1767, 198, 2618, 796, 10148, 198, 2618, 62, 9132, 20, 796, 12234, 8019, 13, 9132, 20, 7, 2618, 737, 33095, 12894, 395, 3419, 611, 1767, 14512, 10148, 2073, 10148, 198, 198, 2, 30481, 43975, 7508, 198, 22766, 62, 37266, 796, 37250, 32374, 28, 16, 41707, 7700, 28, 17, 20520, 1303, 4619, 428, 318, 257, 2829, 2581, 11, 356, 1839, 470, 900, 597, 12405, 42287, 198, 22766, 62, 37266, 13, 30619, 3419, 198, 6371, 62, 15952, 1326, 796, 705, 5450, 6, 198, 3262, 62, 24886, 796, 705, 15042, 13, 11125, 38629, 13, 785, 6, 198, 24396, 796, 705, 18851, 6, 198, 6978, 796, 31051, 85, 16, 14, 81, 448, 274, 14, 6, 198, 24071, 62, 22766, 62, 37266, 796, 334, 6, 5, 4458, 22179, 7, 22766, 62, 37266, 8, 198, 49883, 605, 62, 9900, 796, 705, 90, 15, 92, 1378, 90, 16, 18477, 17, 32239, 77, 90, 18, 92, 4458, 18982, 7, 6371, 62, 15952, 1326, 11, 2010, 62, 24886, 11, 3108, 11, 6149, 62, 22766, 62, 37266, 8, 198, 198, 2, 13610, 262, 3275, 4731, 198, 83, 482, 641, 796, 357, 16514, 27823, 11, 2446, 11, 1767, 62, 9132, 20, 11, 40091, 62, 9900, 8, 198, 20500, 62, 8841, 796, 334, 6, 59, 77, 4458, 22179, 7, 83, 482, 641, 737, 268, 8189, 10786, 40477, 12, 23, 11537, 198, 198, 2, 2980, 378, 262, 9877, 198, 12683, 1300, 796, 289, 20285, 13, 3605, 7, 21078, 62, 2539, 11, 3275, 62, 8841, 11, 16274, 4666, 28, 17831, 8019, 13, 26270, 16, 737, 33095, 12894, 395, 3419, 198, 198, 2, 6889, 262, 2581, 198, 25927, 62, 6371, 796, 705, 90, 15, 92, 1378, 90, 16, 18477, 17, 92, 30, 90, 18, 92, 4458, 18982, 7, 6371, 62, 15952, 1326, 11, 2010, 62, 24886, 11, 3108, 11, 6149, 62, 22766, 62, 37266, 8, 220, 1303, 24443, 6149, 12405, 42287, 994, 198, 2, 25927, 796, 7007, 13, 1136, 7, 25927, 62, 6371, 11, 6284, 16193, 15526, 62, 2539, 11, 9877, 828, 24697, 28, 50145, 8, 198, 2, 20274, 796, 33918, 13, 46030, 7, 25927, 13, 5239, 8, 198, 198, 4798, 366, 16514, 27823, 25, 366, 1343, 965, 7, 16514, 27823, 8, 198, 4798, 366, 83, 482, 641, 25, 366, 1343, 965, 7, 83, 482, 641, 8, 198, 4798, 366, 49883, 605, 62, 9900, 25, 366, 1343, 965, 7, 49883, 605, 62, 9900, 8, 198, 4798, 366, 25927, 62, 9900, 25, 366, 1343, 965, 7, 25927, 62, 6371, 8, 198, 4798, 366, 20500, 62, 8841, 25, 366, 1343, 965, 7, 20500, 62, 8841, 8, 198, 4798, 366, 15526, 62, 2539, 25, 366, 1343, 965, 7, 15526, 62, 2539, 8, 198, 4798, 366, 12683, 1300, 25, 366, 1343, 965, 7, 12683, 1300, 8, 198, 4798, 366, 50145, 25, 366, 1343, 965, 7, 50145, 8, 198, 4798, 13538, 198, 2, 4798, 965, 7, 20274, 8 ]
2.716069
641
# -*- encoding=utf-8 -*- """ # ********************************************************************************** # Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. # [oecp] is licensed under the Mulan PSL v1. # You can use this software according to the terms and conditions of the Mulan PSL v1. # You may obtain a copy of Mulan PSL v1 at: # http://license.coscl.org.cn/MulanPSL # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR # PURPOSE. # See the Mulan PSL v1 for more details. # Author: # Create: 2021-09-03 # Description: requests api proxy # ********************************************************************************** """ import logging import sys import traceback from time import time from urllib.request import urlretrieve from urllib.error import URLError from tqdm import tqdm from oecp.utils.unit_convert import convert_bytes logger = logging.getLogger("oecp") def do_download(url, file_path, progress=False, step=1): """ 从url下载,保存到file_path :param url: 远程地址 :param file_path: 文件路径 :param progress: 展示下载进度 :param step: 每次展示进度步数 :return: """ def current_timestamp(): """ 当前秒 :return: """ return int(time()) class ReportHook(object): """ 回调类 """ last_block = 0 download = 0 total = 0 percent = 0 last_time = current_timestamp() def cb(self, block_num=1, block_size=1, total_size=None): """ retrieve reporthook :param block_num: 块编号 :param block_size: 块大小 :param total_size: 总下载大小 :return: """ if not total_size: return self.total = total_size download = (block_num - self.last_block) * block_size now = current_timestamp() interval = now - self.last_time if not interval: return speed = download // interval if not speed: return self.download += download percent = self.download * 100 // self.total est = (self.total - self.download) // speed if percent >= self.percent + step: sys.stderr.write(f"{percent}% [{convert_bytes(self.download)}/{convert_bytes(self.total)}] complete, " f"estimate to take another {est} seconds\n") self.percent = percent self.last_block = block_num self.last_time = now #logger.debug("recommended to use requests.proxy.do_download_tqdm instead if stdout support \"\\r\"") reporthook = ReportHook().cb if progress else None try: logger.debug(f"download {url} to {file_path}") return urlretrieve(url, file_path, reporthook=reporthook) except: logger.debug(f"urlretrieve {url} exception {traceback.format_exc()}") def do_download_tqdm(url, file_path): """ 使用tqdm展示下载进度条 :param url: :param file_path: :return: """ class ReportHook(tqdm): """ 回调类 """ last_block = 0 def cb(self, block_num=1, block_size=1, total_size=None): """ retrieve reporthook :param block_num: 块编号 :param block_size: 块大小 :param total_size: 总下载大小 :return: """ if total_size: self.total = total_size self.update((block_num - self.last_block) * block_size) self.last_block = block_num with ReportHook(unit='iB', unit_scale=True) as progress_bar: try: logger.debug(f"download {url} to {file_path}") return urlretrieve(url, file_path, progress_bar.cb) except: logger.debug(f"urlretrieve {url} exception {traceback.format_exc()}")
[ 2, 532, 9, 12, 21004, 28, 40477, 12, 23, 532, 9, 12, 198, 37811, 198, 2, 41906, 17174, 8412, 1174, 198, 2, 15069, 357, 66, 8, 43208, 21852, 1766, 1539, 12052, 13, 12131, 12, 42334, 13, 1439, 2489, 10395, 13, 198, 2, 685, 78, 721, 79, 60, 318, 11971, 739, 262, 17996, 272, 6599, 43, 410, 16, 13, 198, 2, 921, 460, 779, 428, 3788, 1864, 284, 262, 2846, 290, 3403, 286, 262, 17996, 272, 6599, 43, 410, 16, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 17996, 272, 6599, 43, 410, 16, 379, 25, 198, 2, 220, 220, 220, 220, 2638, 1378, 43085, 13, 6966, 565, 13, 2398, 13, 31522, 14, 44, 377, 272, 3705, 43, 198, 2, 12680, 47466, 3180, 36592, 2389, 1961, 6177, 3537, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 34764, 11015, 3963, 15529, 509, 12115, 11, 412, 10554, 1137, 7788, 32761, 6375, 198, 2, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 44521, 12, 1268, 10913, 2751, 12529, 11, 34482, 3398, 1565, 5603, 25382, 6375, 376, 2043, 7473, 317, 16652, 2149, 37232, 198, 2, 33079, 48933, 13, 198, 2, 4091, 262, 17996, 272, 6599, 43, 410, 16, 329, 517, 3307, 13, 198, 2, 6434, 25, 220, 198, 2, 13610, 25, 33448, 12, 2931, 12, 3070, 198, 2, 12489, 25, 7007, 40391, 15741, 198, 2, 41906, 17174, 8412, 1174, 198, 37811, 198, 198, 11748, 18931, 198, 11748, 25064, 198, 11748, 12854, 1891, 198, 6738, 640, 1330, 640, 198, 6738, 2956, 297, 571, 13, 25927, 1330, 19016, 1186, 30227, 198, 6738, 2956, 297, 571, 13, 18224, 1330, 37902, 2538, 81, 1472, 198, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 198, 6738, 267, 721, 79, 13, 26791, 13, 20850, 62, 1102, 1851, 1330, 10385, 62, 33661, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7203, 78, 721, 79, 4943, 628, 198, 4299, 466, 62, 15002, 7, 6371, 11, 2393, 62, 6978, 11, 4371, 28, 25101, 11, 2239, 28, 16, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 20015, 236, 6371, 10310, 233, 164, 121, 121, 171, 120, 234, 46479, 251, 27764, 246, 26344, 108, 7753, 62, 6978, 198, 220, 220, 220, 1058, 17143, 19016, 25, 5525, 123, 250, 163, 101, 233, 28839, 108, 161, 251, 222, 198, 220, 220, 220, 1058, 17143, 2393, 62, 6978, 25, 10545, 244, 229, 20015, 114, 164, 115, 107, 36181, 226, 198, 220, 220, 220, 1058, 17143, 4371, 25, 10263, 109, 243, 163, 97, 118, 10310, 233, 164, 121, 121, 32573, 249, 41753, 99, 198, 220, 220, 220, 1058, 17143, 2239, 25, 10545, 107, 237, 162, 105, 94, 161, 109, 243, 163, 97, 118, 32573, 249, 41753, 99, 29826, 98, 46763, 108, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 1459, 62, 16514, 27823, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10263, 121, 241, 30298, 235, 163, 100, 240, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 493, 7, 2435, 28955, 628, 220, 220, 220, 1398, 6358, 39, 566, 7, 15252, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10263, 249, 252, 164, 108, 225, 163, 109, 119, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 9967, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 4321, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 1411, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 2435, 796, 1459, 62, 16514, 27823, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 825, 269, 65, 7, 944, 11, 2512, 62, 22510, 28, 16, 11, 2512, 62, 7857, 28, 16, 11, 2472, 62, 7857, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19818, 1128, 1506, 566, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2512, 62, 22510, 25, 10263, 251, 245, 163, 120, 244, 20998, 115, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2512, 62, 7857, 25, 10263, 251, 245, 32014, 22887, 237, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2472, 62, 7857, 25, 10545, 222, 119, 10310, 233, 164, 121, 121, 32014, 22887, 237, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2472, 62, 7857, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 23350, 796, 2472, 62, 7857, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4321, 796, 357, 9967, 62, 22510, 532, 2116, 13, 12957, 62, 9967, 8, 1635, 2512, 62, 7857, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 783, 796, 1459, 62, 16514, 27823, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16654, 796, 783, 532, 2116, 13, 12957, 62, 2435, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 16654, 25, 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, 2866, 796, 4321, 3373, 16654, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2866, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15002, 15853, 4321, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1411, 796, 2116, 13, 15002, 1635, 1802, 3373, 2116, 13, 23350, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1556, 796, 357, 944, 13, 23350, 532, 2116, 13, 15002, 8, 3373, 2866, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1411, 18189, 2116, 13, 25067, 1343, 2239, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 301, 1082, 81, 13, 13564, 7, 69, 1, 90, 25067, 92, 4, 685, 90, 1102, 1851, 62, 33661, 7, 944, 13, 15002, 38165, 14, 90, 1102, 1851, 62, 33661, 7, 944, 13, 23350, 38165, 60, 1844, 11, 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, 220, 220, 220, 220, 220, 277, 1, 395, 1920, 284, 1011, 1194, 1391, 395, 92, 4201, 59, 77, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25067, 796, 1411, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12957, 62, 9967, 796, 2512, 62, 22510, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12957, 62, 2435, 796, 783, 628, 220, 220, 220, 1303, 6404, 1362, 13, 24442, 7203, 47335, 1631, 284, 779, 7007, 13, 36436, 13, 4598, 62, 15002, 62, 83, 80, 36020, 2427, 611, 14367, 448, 1104, 19990, 6852, 81, 7879, 4943, 198, 220, 220, 220, 1128, 1506, 566, 796, 6358, 39, 566, 22446, 21101, 611, 4371, 2073, 6045, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 15002, 1391, 6371, 92, 284, 1391, 7753, 62, 6978, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 19016, 1186, 30227, 7, 6371, 11, 2393, 62, 6978, 11, 1128, 1506, 566, 28, 7856, 1506, 566, 8, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 6371, 1186, 30227, 1391, 6371, 92, 6631, 1391, 40546, 1891, 13, 18982, 62, 41194, 3419, 92, 4943, 628, 198, 4299, 466, 62, 15002, 62, 83, 80, 36020, 7, 6371, 11, 2393, 62, 6978, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 45635, 18796, 101, 83, 80, 36020, 161, 109, 243, 163, 97, 118, 10310, 233, 164, 121, 121, 32573, 249, 41753, 99, 30266, 94, 198, 220, 220, 220, 1058, 17143, 19016, 25, 198, 220, 220, 220, 1058, 17143, 2393, 62, 6978, 25, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1398, 6358, 39, 566, 7, 83, 80, 36020, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10263, 249, 252, 164, 108, 225, 163, 109, 119, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 9967, 796, 657, 628, 220, 220, 220, 220, 220, 220, 220, 825, 269, 65, 7, 944, 11, 2512, 62, 22510, 28, 16, 11, 2512, 62, 7857, 28, 16, 11, 2472, 62, 7857, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19818, 1128, 1506, 566, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2512, 62, 22510, 25, 10263, 251, 245, 163, 120, 244, 20998, 115, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2512, 62, 7857, 25, 10263, 251, 245, 32014, 22887, 237, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2472, 62, 7857, 25, 10545, 222, 119, 10310, 233, 164, 121, 121, 32014, 22887, 237, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2472, 62, 7857, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 23350, 796, 2472, 62, 7857, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19119, 19510, 9967, 62, 22510, 532, 2116, 13, 12957, 62, 9967, 8, 1635, 2512, 62, 7857, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12957, 62, 9967, 796, 2512, 62, 22510, 628, 220, 220, 220, 351, 6358, 39, 566, 7, 20850, 11639, 72, 33, 3256, 4326, 62, 9888, 28, 17821, 8, 355, 4371, 62, 5657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 15002, 1391, 6371, 92, 284, 1391, 7753, 62, 6978, 92, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 19016, 1186, 30227, 7, 6371, 11, 2393, 62, 6978, 11, 4371, 62, 5657, 13, 21101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 24442, 7, 69, 1, 6371, 1186, 30227, 1391, 6371, 92, 6631, 1391, 40546, 1891, 13, 18982, 62, 41194, 3419, 92, 4943, 198 ]
2.078462
1,950
import re import os import vim
[ 11748, 302, 198, 11748, 28686, 198, 11748, 43907, 198 ]
3.444444
9
# pylint:disable=line-too-long import logging from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool from ...calling_conventions import SimCCStdcall, SimCCMicrosoftAMD64 from .. import SIM_PROCEDURES as P from . import SimLibrary _l = logging.getLogger(name=__name__) lib = SimLibrary() lib.set_default_cc('X86', SimCCStdcall) lib.set_default_cc('AMD64', SimCCMicrosoftAMD64) lib.set_library_names("api-ms-win-wsl-api-l1-1-0.dll") prototypes = \ { # 'WslIsDistributionRegistered': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName"]), # 'WslRegisterDistribution': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypePointer(SimTypeChar(label="Char"), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName", "tarGzFilename"]), # 'WslUnregisterDistribution': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName"]), # 'WslConfigureDistribution': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypeInt(signed=False, label="UInt32"), SimTypeInt(signed=False, label="WSL_DISTRIBUTION_FLAGS")], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName", "defaultUID", "wslDistributionFlags"]), # 'WslGetDistributionConfiguration': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypePointer(SimTypeInt(signed=False, label="UInt32"), offset=0), SimTypePointer(SimTypeInt(signed=False, label="UInt32"), offset=0), SimTypePointer(SimTypeInt(signed=False, label="WSL_DISTRIBUTION_FLAGS"), offset=0), SimTypePointer(SimTypePointer(SimTypePointer(SimTypeChar(label="Byte"), offset=0), offset=0), offset=0), SimTypePointer(SimTypeInt(signed=False, label="UInt32"), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName", "distributionVersion", "defaultUID", "wslDistributionFlags", "defaultEnvironmentVariables", "defaultEnvironmentVariableCount"]), # 'WslLaunchInteractive': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypeInt(signed=True, label="Int32"), SimTypePointer(SimTypeInt(signed=False, label="UInt32"), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName", "command", "useCurrentWorkingDirectory", "exitCode"]), # 'WslLaunch': SimTypeFunction([SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypePointer(SimTypeChar(label="Char"), offset=0), SimTypeInt(signed=True, label="Int32"), SimTypePointer(SimTypeInt(signed=True, label="Int"), label="IntPtr", offset=0), SimTypePointer(SimTypeInt(signed=True, label="Int"), label="IntPtr", offset=0), SimTypePointer(SimTypeInt(signed=True, label="Int"), label="IntPtr", offset=0), SimTypePointer(SimTypePointer(SimTypeInt(signed=True, label="Int"), label="IntPtr", offset=0), offset=0)], SimTypeInt(signed=True, label="Int32"), arg_names=["distributionName", "command", "useCurrentWorkingDirectory", "stdIn", "stdOut", "stdErr", "process"]), } lib.set_prototypes(prototypes)
[ 2, 279, 2645, 600, 25, 40223, 28, 1370, 12, 18820, 12, 6511, 198, 11748, 18931, 198, 198, 6738, 2644, 14323, 62, 4906, 1330, 3184, 6030, 22203, 11, 220, 220, 220, 220, 3184, 6030, 16438, 11, 3184, 6030, 5317, 11, 3184, 6030, 14617, 11, 3184, 6030, 14617, 14617, 11, 3184, 6030, 25628, 11, 3184, 6030, 43879, 11, 220, 220, 220, 220, 3184, 6030, 18833, 3849, 11, 220, 220, 220, 220, 3184, 6030, 12441, 11, 220, 220, 220, 220, 3184, 44909, 11, 220, 220, 220, 220, 3184, 6030, 13715, 10699, 19182, 11, 220, 220, 220, 220, 3184, 6030, 34104, 11, 220, 220, 220, 220, 3184, 38176, 11, 220, 220, 220, 220, 3184, 6030, 33, 970, 198, 6738, 2644, 44714, 62, 1102, 16593, 1330, 3184, 4093, 1273, 67, 13345, 11, 3184, 4093, 15905, 28075, 2414, 198, 6738, 11485, 1330, 23749, 62, 4805, 4503, 1961, 29514, 355, 350, 198, 6738, 764, 1330, 3184, 23377, 628, 198, 62, 75, 796, 18931, 13, 1136, 11187, 1362, 7, 3672, 28, 834, 3672, 834, 8, 628, 198, 8019, 796, 3184, 23377, 3419, 198, 8019, 13, 2617, 62, 12286, 62, 535, 10786, 55, 4521, 3256, 3184, 4093, 1273, 67, 13345, 8, 198, 8019, 13, 2617, 62, 12286, 62, 535, 10786, 28075, 2414, 3256, 3184, 4093, 15905, 28075, 2414, 8, 198, 8019, 13, 2617, 62, 32016, 62, 14933, 7203, 15042, 12, 907, 12, 5404, 12, 86, 6649, 12, 15042, 12, 75, 16, 12, 16, 12, 15, 13, 12736, 4943, 198, 11235, 13567, 796, 3467, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 3792, 20344, 3890, 47473, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 38804, 20344, 3890, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 1600, 366, 18870, 38, 89, 35063, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 3118, 30238, 20344, 3890, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 16934, 495, 20344, 3890, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 52, 5317, 2624, 12340, 3184, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 54, 8634, 62, 26288, 5446, 9865, 35354, 62, 38948, 50, 4943, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 1600, 366, 12286, 27586, 1600, 366, 86, 6649, 20344, 3890, 40053, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 3855, 20344, 3890, 38149, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 52, 5317, 2624, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 52, 5317, 2624, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 54, 8634, 62, 26288, 5446, 9865, 35354, 62, 38948, 50, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 18833, 3849, 7, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 40778, 12340, 11677, 28, 15, 828, 11677, 28, 15, 828, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 52, 5317, 2624, 12340, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 1600, 366, 17080, 3890, 14815, 1600, 366, 12286, 27586, 1600, 366, 86, 6649, 20344, 3890, 40053, 1600, 366, 12286, 31441, 23907, 2977, 1600, 366, 12286, 31441, 43015, 12332, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 38296, 9492, 5275, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 25101, 11, 6167, 2625, 52, 5317, 2624, 12340, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 1600, 366, 21812, 1600, 366, 1904, 11297, 28516, 43055, 1600, 366, 37023, 10669, 8973, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 54, 6649, 38296, 10354, 3184, 6030, 22203, 26933, 8890, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 12441, 7, 18242, 2625, 12441, 12340, 11677, 28, 15, 828, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 12340, 6167, 2625, 5317, 46745, 1600, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 12340, 6167, 2625, 5317, 46745, 1600, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 12340, 6167, 2625, 5317, 46745, 1600, 11677, 28, 15, 828, 3184, 6030, 18833, 3849, 7, 8890, 6030, 18833, 3849, 7, 8890, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 12340, 6167, 2625, 5317, 46745, 1600, 11677, 28, 15, 828, 11677, 28, 15, 8, 4357, 3184, 6030, 5317, 7, 32696, 28, 17821, 11, 6167, 2625, 5317, 2624, 12340, 1822, 62, 14933, 28, 14692, 17080, 3890, 5376, 1600, 366, 21812, 1600, 366, 1904, 11297, 28516, 43055, 1600, 366, 19282, 818, 1600, 366, 19282, 7975, 1600, 366, 19282, 9139, 81, 1600, 366, 14681, 8973, 828, 198, 220, 220, 220, 1782, 198, 198, 8019, 13, 2617, 62, 11235, 13567, 7, 11235, 13567, 8, 198 ]
2.849673
1,224