content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
import numpy as np import matplotlib.pyplot as plt import Graphic import Core if __name__ == "__main__": # Set xy grid y0 = np.linspace(-0.5, 0.5, 30) x0 = np.linspace(-0.5, 0.5, 30) grid = np.meshgrid(x0, y0, indexing='ij') grid_array = np.stack(grid, axis=-1) Domain = Core.RectangularDomain(grid_array, wrapped=True) X, Y = grid # X and Y are matrices, while x0 and y0 are vectors # Set initial psi and V w d = 0.0 S = 0.1 psi0 = (angular(X, Y, 1, 1) + angular(X, Y, 1, -1)) * gaussian(X, S, 0) * gaussian(Y, S, 0) V = 16 * (X ** 2 + Y ** 2) ** 0.5 hbar = 0.05 mass = 0.5 schrodinger_eq = [-hbar / mass * 0.5j, 0, -hbar / mass * 0.5j, 0, 1j / hbar * V.flatten()] # build and run simulator simulator = Calculator_legacy(Domain, schrodinger_eq, 0.005, psi0, dtype='complex') simulator.run() plt.show()
[ 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 198, 11748, 43029, 198, 11748, 7231, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 628, 628, 198, 220, 220, 220, 1303, 5345, 2124, 88, 10706, 198, 220, 220, 220, 331, 15, 796, 45941, 13, 21602, 10223, 32590, 15, 13, 20, 11, 657, 13, 20, 11, 1542, 8, 198, 220, 220, 220, 2124, 15, 796, 45941, 13, 21602, 10223, 32590, 15, 13, 20, 11, 657, 13, 20, 11, 1542, 8, 628, 220, 220, 220, 10706, 796, 45941, 13, 76, 5069, 25928, 7, 87, 15, 11, 331, 15, 11, 6376, 278, 11639, 2926, 11537, 198, 220, 220, 220, 10706, 62, 18747, 796, 45941, 13, 25558, 7, 25928, 11, 16488, 10779, 16, 8, 628, 220, 220, 220, 20021, 796, 7231, 13, 45474, 21413, 43961, 7, 25928, 62, 18747, 11, 12908, 28, 17821, 8, 198, 220, 220, 220, 1395, 11, 575, 796, 10706, 220, 1303, 1395, 290, 575, 389, 2603, 45977, 11, 981, 2124, 15, 290, 331, 15, 389, 30104, 628, 220, 220, 220, 1303, 5345, 4238, 46231, 290, 569, 266, 198, 220, 220, 220, 288, 796, 657, 13, 15, 198, 220, 220, 220, 311, 796, 657, 13, 16, 628, 220, 220, 220, 46231, 15, 796, 357, 21413, 7, 55, 11, 575, 11, 352, 11, 352, 8, 1343, 32558, 7, 55, 11, 575, 11, 352, 11, 532, 16, 4008, 1635, 31986, 31562, 7, 55, 11, 311, 11, 657, 8, 1635, 31986, 31562, 7, 56, 11, 311, 11, 657, 8, 198, 220, 220, 220, 569, 796, 1467, 1635, 357, 55, 12429, 362, 1343, 575, 12429, 362, 8, 12429, 657, 13, 20, 628, 220, 220, 220, 289, 5657, 796, 657, 13, 2713, 198, 220, 220, 220, 2347, 796, 657, 13, 20, 198, 220, 220, 220, 5513, 14892, 3889, 62, 27363, 796, 25915, 71, 5657, 1220, 2347, 1635, 657, 13, 20, 73, 11, 657, 11, 532, 71, 5657, 1220, 2347, 1635, 657, 13, 20, 73, 11, 657, 11, 352, 73, 1220, 289, 5657, 1635, 569, 13, 2704, 41769, 3419, 60, 628, 220, 220, 220, 1303, 1382, 290, 1057, 35375, 198, 220, 220, 220, 35375, 796, 43597, 62, 1455, 1590, 7, 43961, 11, 5513, 14892, 3889, 62, 27363, 11, 657, 13, 22544, 11, 46231, 15, 11, 288, 4906, 11639, 41887, 11537, 198, 220, 220, 220, 35375, 13, 5143, 3419, 198, 220, 220, 220, 458, 83, 13, 12860, 3419, 198 ]
2.218362
403
if __name__=='__main__': main()
[ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 361, 11593, 3672, 834, 855, 6, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419 ]
1.575758
33
import pandas as pd import numpy as np import scipy.sparse as sparse from implicit.nearest_neighbours import bm25_weight, tfidf_weight, normalize def make_matrix(df, count=False): """ Args: plu_column: string. Name of column which contains PLU card_column: string. Name of column which contains Card numbers Returns: df: dataframe """ if count: return df \ .pivot_table(index=['user_id'], columns=['item_id'], values='feedback', aggfunc='count') \ .reset_index(drop=True) \ .fillna(0) else: return df \ .pivot_table(index=['user_id'], columns=['item_id'], values='feedback') \ .reset_index(drop=True) \ .fillna(0) def transform(matrix, method='no', clip_upper_value=100): """ Function transforms every single value in matrix with specified rules Args: matrix: Matrix to transform method: Transformation method (no, clip) clip_upper_value: clip upper value Returns: Transformed matrix """ if method == 'no': return matrix elif method == 'clip': return matrix.clip(upper=clip_upper_value) elif method == 'log': return matrix.apply(np.log).clip(0, clip_upper_value) def apply_weights(df, weight='bm25'): """ Function apply weights to user-item matrix Args: df: Matrix user-item weight: (bm25, tf-idf, normalize) - weight method Returns: Weighted user-item matrix """ if weight == 'bm25': crd_list = list(df.index.values) plu_list = list(df.columns) matrix = pd.DataFrame(bm25_weight(sparse.csr_matrix(df.to_numpy(), dtype='float16'), B=0.9).toarray()) matrix.columns = plu_list matrix.index = crd_list return matrix if weight == 'tf-idf': crd_list = list(df.index.values) plu_list = list(df.columns) matrix = pd.DataFrame(tfidf_weight(sparse.csr_matrix(df.to_numpy(), dtype='float16')).toarray()) matrix.columns = plu_list matrix.index = crd_list return matrix if weight == 'normalize': crd_list = list(df.index.values) plu_list = list(df.columns) matrix = pd.DataFrame(normalize(sparse.csr_matrix(df.to_numpy(), dtype='float16')).toarray()) matrix.columns = plu_list matrix.index = crd_list return matrix def precision_at_k(preds, df_test, matrix, k=5, warm=True): """Calculates Precision@k, x%""" precision_list = [] for user in matrix.index: if warm == True: if (user in df_test['user_id'].unique()): pred = preds[user].tolist() pred = pred[:k] # @k true = df_test.loc[df_test['user_id'] == user, 'item_id'].values.tolist() guessed = [p in true for p in pred] precision = sum(guessed) / min(sum(true), k) precision_list.append(precision) else: pred = preds[user].tolist() pred = pred[:k] # @k true = df_test.loc[df_test['user_id'] == user, 'item_id'].values.tolist() guessed = [p in true for p in pred] precision = sum(guessed) / sum(true) precision_list.append(precision) return np.round(np.mean(precision_list) * 100, 2)
[ 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 629, 541, 88, 13, 82, 29572, 355, 29877, 198, 198, 6738, 16992, 13, 710, 12423, 62, 710, 394, 65, 4662, 1330, 275, 76, 1495, 62, 6551, 11, 48700, 312, 69, 62, 6551, 11, 3487, 1096, 628, 198, 4299, 787, 62, 6759, 8609, 7, 7568, 11, 954, 28, 25101, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 458, 84, 62, 28665, 25, 4731, 13, 6530, 286, 5721, 543, 4909, 9297, 52, 198, 220, 220, 220, 220, 220, 220, 220, 2657, 62, 28665, 25, 4731, 13, 6530, 286, 5721, 543, 4909, 5172, 3146, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 25, 1366, 14535, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 954, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 47764, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 79, 45785, 62, 11487, 7, 9630, 28, 17816, 7220, 62, 312, 6, 4357, 15180, 28, 17816, 9186, 62, 312, 6, 4357, 3815, 11639, 12363, 1891, 3256, 4194, 20786, 11639, 9127, 11537, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 42503, 62, 9630, 7, 14781, 28, 17821, 8, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 20797, 2616, 7, 15, 8, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 47764, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 79, 45785, 62, 11487, 7, 9630, 28, 17816, 7220, 62, 312, 6, 4357, 15180, 28, 17816, 9186, 62, 312, 6, 4357, 3815, 11639, 12363, 1891, 11537, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 42503, 62, 9630, 7, 14781, 28, 17821, 8, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 20797, 2616, 7, 15, 8, 628, 198, 4299, 6121, 7, 6759, 8609, 11, 2446, 11639, 3919, 3256, 10651, 62, 45828, 62, 8367, 28, 3064, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15553, 31408, 790, 2060, 1988, 287, 17593, 351, 7368, 3173, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 25, 24936, 284, 6121, 198, 220, 220, 220, 220, 220, 220, 220, 2446, 25, 49127, 2446, 357, 3919, 11, 10651, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10651, 62, 45828, 62, 8367, 25, 10651, 6727, 1988, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3602, 12214, 17593, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 2446, 6624, 705, 3919, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 198, 220, 220, 220, 1288, 361, 2446, 6624, 705, 15036, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 13, 15036, 7, 45828, 28, 15036, 62, 45828, 62, 8367, 8, 198, 220, 220, 220, 1288, 361, 2446, 6624, 705, 6404, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 13, 39014, 7, 37659, 13, 6404, 737, 15036, 7, 15, 11, 10651, 62, 45828, 62, 8367, 8, 628, 198, 198, 4299, 4174, 62, 43775, 7, 7568, 11, 3463, 11639, 20475, 1495, 6, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15553, 4174, 19590, 284, 2836, 12, 9186, 17593, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 25, 24936, 2836, 12, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 3463, 25, 357, 20475, 1495, 11, 48700, 12, 312, 69, 11, 3487, 1096, 8, 532, 3463, 2446, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 14331, 276, 2836, 12, 9186, 17593, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 3463, 6624, 705, 20475, 1495, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1067, 67, 62, 4868, 796, 1351, 7, 7568, 13, 9630, 13, 27160, 8, 198, 220, 220, 220, 220, 220, 220, 220, 458, 84, 62, 4868, 796, 1351, 7, 7568, 13, 28665, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 796, 279, 67, 13, 6601, 19778, 7, 20475, 1495, 62, 6551, 7, 82, 29572, 13, 6359, 81, 62, 6759, 8609, 7, 7568, 13, 1462, 62, 77, 32152, 22784, 288, 4906, 11639, 22468, 1433, 33809, 347, 28, 15, 13, 24, 737, 1462, 18747, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 28665, 82, 796, 458, 84, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 9630, 796, 1067, 67, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 628, 220, 220, 220, 611, 3463, 6624, 705, 27110, 12, 312, 69, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1067, 67, 62, 4868, 796, 1351, 7, 7568, 13, 9630, 13, 27160, 8, 198, 220, 220, 220, 220, 220, 220, 220, 458, 84, 62, 4868, 796, 1351, 7, 7568, 13, 28665, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 796, 279, 67, 13, 6601, 19778, 7, 27110, 312, 69, 62, 6551, 7, 82, 29572, 13, 6359, 81, 62, 6759, 8609, 7, 7568, 13, 1462, 62, 77, 32152, 22784, 288, 4906, 11639, 22468, 1433, 11537, 737, 1462, 18747, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 28665, 82, 796, 458, 84, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 9630, 796, 1067, 67, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 628, 220, 220, 220, 611, 3463, 6624, 705, 11265, 1096, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 1067, 67, 62, 4868, 796, 1351, 7, 7568, 13, 9630, 13, 27160, 8, 198, 220, 220, 220, 220, 220, 220, 220, 458, 84, 62, 4868, 796, 1351, 7, 7568, 13, 28665, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 796, 279, 67, 13, 6601, 19778, 7, 11265, 1096, 7, 82, 29572, 13, 6359, 81, 62, 6759, 8609, 7, 7568, 13, 1462, 62, 77, 32152, 22784, 288, 4906, 11639, 22468, 1433, 11537, 737, 1462, 18747, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 28665, 82, 796, 458, 84, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 17593, 13, 9630, 796, 1067, 67, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 17593, 628, 198, 4299, 15440, 62, 265, 62, 74, 7, 28764, 82, 11, 47764, 62, 9288, 11, 17593, 11, 479, 28, 20, 11, 5814, 28, 17821, 2599, 198, 220, 220, 220, 37227, 9771, 3129, 689, 39281, 31, 74, 11, 2124, 4, 37811, 628, 220, 220, 220, 15440, 62, 4868, 796, 17635, 198, 220, 220, 220, 329, 2836, 287, 17593, 13, 9630, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5814, 6624, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 7220, 287, 47764, 62, 9288, 17816, 7220, 62, 312, 6, 4083, 34642, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 796, 2747, 82, 58, 7220, 4083, 83, 349, 396, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 796, 2747, 58, 25, 74, 60, 220, 1303, 2488, 74, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2081, 796, 47764, 62, 9288, 13, 17946, 58, 7568, 62, 9288, 17816, 7220, 62, 312, 20520, 6624, 2836, 11, 705, 9186, 62, 312, 6, 4083, 27160, 13, 83, 349, 396, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25183, 796, 685, 79, 287, 2081, 329, 279, 287, 2747, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15440, 796, 2160, 7, 5162, 6676, 8, 1220, 949, 7, 16345, 7, 7942, 828, 479, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15440, 62, 4868, 13, 33295, 7, 3866, 16005, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 796, 2747, 82, 58, 7220, 4083, 83, 349, 396, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 796, 2747, 58, 25, 74, 60, 220, 1303, 2488, 74, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2081, 796, 47764, 62, 9288, 13, 17946, 58, 7568, 62, 9288, 17816, 7220, 62, 312, 20520, 6624, 2836, 11, 705, 9186, 62, 312, 6, 4083, 27160, 13, 83, 349, 396, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25183, 796, 685, 79, 287, 2081, 329, 279, 287, 2747, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15440, 796, 2160, 7, 5162, 6676, 8, 1220, 2160, 7, 7942, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15440, 62, 4868, 13, 33295, 7, 3866, 16005, 8, 198, 220, 220, 220, 1441, 45941, 13, 744, 7, 37659, 13, 32604, 7, 3866, 16005, 62, 4868, 8, 1635, 1802, 11, 362, 8 ]
2.168489
1,555
import stripe from django.utils.encoding import smart_str from ..models import InvoiceItem def create(customer, amount, description, currency="usd", discountable=False, invoice=None, metadata=None, subscription=None): """ Creates a Stripe invoice item Args: customer: the customer to create the invoice for (Customer) amount: The integer amount in cents of the charge to be applied to the upcoming invoice. description: An arbitrary string which you can attach to the invoice item. currency: Three-letter ISO currency code, in lowercase. Must be a supported currency. discountable: Controls whether discounts apply to this invoice item. invoice: The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. metadata: A set of key/value pairs that you can attach to an invoice item object. subscription: The ID of a subscription to add this invoice item to. When left blank, the invoice item will be be added to the next upcoming scheduled invoice. Returns: the data from the Stripe API that represents the invoice item object that was created """ return stripe.InvoiceItem.create( amount=amount, customer=customer.stripe_id, description=description, currency=currency, discountable=discountable, invoice=invoice, metadata=metadata, subscription=subscription ) def retrieve(invoiceitem_id): """ Retrieve an invoiceitem object from Stripe's API Stripe throws an exception if the invoiceitem was not found, we are failing this exception silently and raising any other exception so the developer can know what went wrong. Args: invoiceitem_id: the Stripe ID of the invoiceitem you are fetching Returns: the data for a order object from the Stripe API """ if not invoiceitem_id: return try: return stripe.InvoiceItem.retrieve(invoiceitem_id) except stripe.InvalidRequestError as e: if smart_str(e).find("No such invoiceitem") == -1: raise else: # Not Found return None def delete(invoiceitem): """ delete an invoiceitem Args: invoiceitem: the invoiceitem to delete """ invoice_item_id = invoiceitem.id invoiceitem = retrieve(invoice_item_id) if invoiceitem: invoiceitem.delete() try: ii = InvoiceItem.objects.get(sttipe_id=invoice_item_id) ii.delete() except InvoiceItem.DoesNotExist: pass
[ 11748, 39858, 198, 6738, 42625, 14208, 13, 26791, 13, 12685, 7656, 1330, 4451, 62, 2536, 198, 6738, 11485, 27530, 1330, 10001, 2942, 7449, 198, 198, 4299, 2251, 7, 23144, 263, 11, 2033, 11, 6764, 11, 7395, 2625, 385, 67, 1600, 9780, 540, 28, 25101, 11, 45458, 28, 14202, 11, 20150, 28, 14202, 11, 14569, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7921, 274, 257, 26137, 431, 45458, 2378, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6491, 25, 262, 6491, 284, 2251, 262, 45458, 329, 357, 44939, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2033, 25, 383, 18253, 2033, 287, 16059, 286, 262, 3877, 284, 307, 5625, 284, 262, 7865, 45458, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 25, 1052, 14977, 4731, 543, 345, 460, 10199, 284, 262, 45458, 2378, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7395, 25, 7683, 12, 9291, 19694, 7395, 2438, 11, 287, 2793, 7442, 13, 12039, 307, 257, 4855, 7395, 13, 198, 220, 220, 220, 220, 220, 220, 220, 9780, 540, 25, 36357, 1771, 25684, 4174, 284, 428, 45458, 2378, 13, 198, 220, 220, 220, 220, 220, 220, 220, 45458, 25, 383, 4522, 286, 281, 4683, 45458, 284, 751, 428, 45458, 2378, 284, 13, 1649, 1364, 9178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 262, 45458, 2378, 481, 307, 2087, 284, 262, 1306, 7865, 7530, 45458, 13, 198, 220, 220, 220, 220, 220, 220, 220, 20150, 25, 317, 900, 286, 1994, 14, 8367, 14729, 326, 345, 460, 10199, 284, 281, 45458, 2378, 2134, 13, 198, 220, 220, 220, 220, 220, 220, 220, 14569, 25, 383, 4522, 286, 257, 14569, 284, 751, 428, 45458, 2378, 284, 13, 1649, 1364, 9178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 262, 45458, 2378, 481, 307, 307, 2087, 284, 262, 1306, 7865, 7530, 45458, 13, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 262, 1366, 422, 262, 26137, 431, 7824, 326, 6870, 262, 45458, 2378, 2134, 326, 198, 220, 220, 220, 220, 220, 220, 220, 373, 2727, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1441, 39858, 13, 19904, 2942, 7449, 13, 17953, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2033, 28, 17287, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6491, 28, 23144, 263, 13, 33565, 431, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 28, 11213, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7395, 28, 34415, 11, 198, 220, 220, 220, 220, 220, 220, 220, 9780, 540, 28, 15410, 608, 540, 11, 198, 220, 220, 220, 220, 220, 220, 220, 45458, 28, 16340, 2942, 11, 198, 220, 220, 220, 220, 220, 220, 220, 20150, 28, 38993, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14569, 28, 7266, 33584, 198, 220, 220, 220, 1267, 198, 198, 4299, 19818, 7, 16340, 2942, 9186, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4990, 30227, 281, 45458, 9186, 2134, 422, 26137, 431, 338, 7824, 628, 220, 220, 220, 220, 220, 220, 220, 26137, 431, 12542, 281, 6631, 611, 262, 45458, 9186, 373, 407, 1043, 11, 356, 389, 9894, 428, 6631, 198, 220, 220, 220, 220, 220, 220, 220, 24595, 290, 8620, 597, 584, 6631, 523, 262, 8517, 460, 760, 644, 1816, 2642, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45458, 9186, 62, 312, 25, 262, 26137, 431, 4522, 286, 262, 45458, 9186, 345, 389, 21207, 278, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 1366, 329, 257, 1502, 2134, 422, 262, 26137, 431, 7824, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 45458, 9186, 62, 312, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 39858, 13, 19904, 2942, 7449, 13, 1186, 30227, 7, 16340, 2942, 9186, 62, 312, 8, 198, 220, 220, 220, 2845, 39858, 13, 44651, 18453, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4451, 62, 2536, 7, 68, 737, 19796, 7203, 2949, 884, 45458, 9186, 4943, 6624, 532, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1892, 4062, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 198, 198, 4299, 12233, 7, 16340, 2942, 9186, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12233, 281, 45458, 9186, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 45458, 9186, 25, 262, 45458, 9186, 284, 12233, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 45458, 62, 9186, 62, 312, 796, 45458, 9186, 13, 312, 198, 220, 220, 220, 45458, 9186, 796, 19818, 7, 16340, 2942, 62, 9186, 62, 312, 8, 198, 220, 220, 220, 611, 45458, 9186, 25, 198, 220, 220, 220, 220, 220, 220, 220, 45458, 9186, 13, 33678, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21065, 796, 10001, 2942, 7449, 13, 48205, 13, 1136, 7, 301, 83, 3757, 62, 312, 28, 16340, 2942, 62, 9186, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21065, 13, 33678, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 10001, 2942, 7449, 13, 13921, 3673, 3109, 396, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208 ]
2.762437
985
from PyQt5 import QtWidgets, QtCore from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure import numpy as np from . artists import TemplateSourcePlotManual
[ 198, 6738, 9485, 48, 83, 20, 1330, 33734, 54, 312, 11407, 11, 33734, 14055, 198, 6738, 2603, 29487, 8019, 13, 1891, 2412, 13, 1891, 437, 62, 39568, 20, 9460, 1330, 11291, 6090, 11017, 48, 5603, 1130, 355, 11291, 6090, 11017, 198, 6738, 2603, 29487, 8019, 13, 26875, 1330, 11291, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 764, 7912, 1330, 37350, 7416, 43328, 5124, 723, 628, 628, 197, 197, 628, 628, 628, 197, 197, 198, 197, 197, 628 ]
3.064103
78
# Generated by Django 2.2.2 on 2019-07-01 16:00 from django.db import migrations import django.db.models.manager import rdmo.views.managers
[ 2, 2980, 515, 416, 37770, 362, 13, 17, 13, 17, 319, 13130, 12, 2998, 12, 486, 1467, 25, 405, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 198, 11748, 42625, 14208, 13, 9945, 13, 27530, 13, 37153, 198, 11748, 374, 67, 5908, 13, 33571, 13, 805, 10321, 628 ]
2.84
50
import argparse import sys from emeki.project_setup import setup_project_UI def emeki_main(): """The main function. It may be called directly from the command line when typing `emeki`.""" print("Hoi! This is my personal python library.") # Define argument parser parser = argparse.ArgumentParser() parser.add_argument("--init_pro", help="initialize project", action="store_true") # Parse arguments args = parser.parse_args(sys.argv[1:]) # Setup base project if args.init_pro: setup_project_UI() def execute(): """Calls `emeki_main` if module is called directly.""" if __name__ == "__main__": sys.exit(emeki_main()) execute()
[ 11748, 1822, 29572, 198, 11748, 25064, 198, 198, 6738, 795, 39548, 13, 16302, 62, 40406, 1330, 9058, 62, 16302, 62, 10080, 628, 198, 4299, 795, 39548, 62, 12417, 33529, 198, 220, 220, 220, 37227, 464, 1388, 2163, 13, 628, 220, 220, 220, 632, 743, 307, 1444, 3264, 422, 262, 3141, 1627, 618, 198, 220, 220, 220, 19720, 4600, 368, 39548, 63, 526, 15931, 628, 220, 220, 220, 3601, 7203, 39, 23013, 0, 770, 318, 616, 2614, 21015, 5888, 19570, 628, 220, 220, 220, 1303, 2896, 500, 4578, 30751, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7203, 438, 15003, 62, 1676, 1600, 1037, 2625, 36733, 1096, 1628, 1600, 2223, 2625, 8095, 62, 7942, 4943, 628, 220, 220, 220, 1303, 2547, 325, 7159, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 7, 17597, 13, 853, 85, 58, 16, 25, 12962, 628, 220, 220, 220, 1303, 31122, 2779, 1628, 198, 220, 220, 220, 611, 26498, 13, 15003, 62, 1676, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9058, 62, 16302, 62, 10080, 3419, 628, 198, 4299, 12260, 33529, 198, 220, 220, 220, 37227, 34, 5691, 4600, 368, 39548, 62, 12417, 63, 611, 8265, 318, 1444, 3264, 526, 15931, 198, 220, 220, 220, 611, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 368, 39548, 62, 12417, 28955, 628, 198, 41049, 3419, 198 ]
2.82
250
from thstatuses import STATUS, getTextFromStatus from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import QPixmap from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from pynput.keyboard import Key, Controller from multiprocessing.pool import ThreadPool from thgui import Ui_MainWindow import pygetwindow as gw import sys, time import requests import pyperclip # Define a trade class which represents one individual trade # Setup main window and links all functions # Start Button clicked # Stop Button clicked # Resume Button clicked # Function to change the current status # Main Loop for status if __name__ == "__main__": # Thread pool pool = ThreadPool(processes=4) # Local app and webdriver app = QApplication(sys.argv) driverThread = pool.apply_async(openWebDriver) # Variables appStatus = STATUS.LOADING window = setupWindow() numberOfTrades = 0 reloadTime = 3 startedAtLeastOneTrade = False # Trades that are currently displayed on the GUI tradeList = [] # List of all current session trades allTradesList = [] # Initialise keyboard keyboard = Controller() # Status bar thread statusThread = pool.apply_async(updateStatus) # Terminate the program when window is closed sys.exit(app.exec_())
[ 6738, 294, 14269, 2664, 1330, 15486, 2937, 11, 651, 8206, 4863, 19580, 198, 6738, 9485, 48, 83, 20, 13, 48, 83, 54, 312, 11407, 1330, 1195, 23416, 198, 6738, 9485, 48, 83, 20, 13, 48, 83, 8205, 72, 1330, 1195, 47, 844, 8899, 198, 198, 6738, 384, 11925, 1505, 1330, 3992, 26230, 198, 6738, 384, 11925, 1505, 13, 12384, 26230, 13, 11284, 13, 9019, 1330, 5313, 32103, 21321, 198, 6738, 384, 11925, 1505, 13, 12384, 26230, 13, 11284, 1330, 2938, 62, 17561, 1756, 355, 13182, 198, 6738, 384, 11925, 1505, 13, 11321, 13, 1069, 11755, 1330, 3862, 448, 16922, 198, 6738, 384, 11925, 1505, 13, 12384, 26230, 13, 11321, 13, 1525, 1330, 2750, 198, 198, 6738, 279, 2047, 1996, 13, 2539, 3526, 1330, 7383, 11, 22741, 198, 198, 6738, 18540, 305, 919, 278, 13, 7742, 1330, 14122, 27201, 198, 6738, 294, 48317, 1330, 471, 72, 62, 13383, 27703, 198, 11748, 12972, 1136, 17497, 355, 308, 86, 198, 11748, 25064, 11, 640, 198, 11748, 7007, 198, 11748, 12972, 525, 15036, 628, 198, 2, 2896, 500, 257, 3292, 1398, 543, 6870, 530, 1981, 3292, 628, 198, 198, 2, 31122, 1388, 4324, 290, 6117, 477, 5499, 628, 628, 198, 2, 7253, 20969, 28384, 628, 198, 2, 13707, 20969, 28384, 628, 198, 2, 1874, 2454, 20969, 28384, 628, 198, 2, 15553, 284, 1487, 262, 1459, 3722, 628, 198, 2, 8774, 26304, 329, 3722, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1303, 14122, 5933, 198, 220, 220, 220, 5933, 796, 14122, 27201, 7, 14681, 274, 28, 19, 8, 628, 220, 220, 220, 1303, 10714, 598, 290, 3992, 26230, 198, 220, 220, 220, 598, 796, 1195, 23416, 7, 17597, 13, 853, 85, 8, 198, 220, 220, 220, 4639, 16818, 796, 5933, 13, 39014, 62, 292, 13361, 7, 9654, 13908, 32103, 8, 628, 220, 220, 220, 1303, 15965, 2977, 198, 220, 220, 220, 598, 19580, 796, 15486, 2937, 13, 35613, 2751, 198, 220, 220, 220, 4324, 796, 9058, 27703, 3419, 198, 220, 220, 220, 1271, 5189, 2898, 2367, 796, 657, 198, 220, 220, 220, 18126, 7575, 796, 513, 198, 220, 220, 220, 2067, 2953, 3123, 459, 3198, 35965, 796, 10352, 628, 220, 220, 220, 1303, 833, 2367, 326, 389, 3058, 9066, 319, 262, 25757, 198, 220, 220, 220, 3292, 8053, 796, 17635, 198, 220, 220, 220, 1303, 7343, 286, 477, 1459, 6246, 17674, 198, 220, 220, 220, 477, 2898, 2367, 8053, 796, 17635, 628, 220, 220, 220, 1303, 20768, 786, 10586, 198, 220, 220, 220, 10586, 796, 22741, 3419, 628, 220, 220, 220, 1303, 12678, 2318, 4704, 198, 220, 220, 220, 3722, 16818, 796, 5933, 13, 39014, 62, 292, 13361, 7, 19119, 19580, 8, 628, 220, 220, 220, 1303, 15527, 378, 262, 1430, 618, 4324, 318, 4838, 198, 220, 220, 220, 25064, 13, 37023, 7, 1324, 13, 18558, 62, 28955, 198 ]
3.211416
473
###################Calculating state average of a variable and plotting using shape file####### ##############The shapefile and data file are read; Regions are defined and masked############# ###########Zonal statistics for first state is calculated and plotted########################## ##############Zonal statistics and plot of other states are done inside a loop################# ############Give necessary plot settings, colorbar and save figure############################# import geopandas as gpd import regionmask import numpy as np import cartopy.crs as ccrs import matplotlib.pyplot as plt import matplotlib.patheffects as pe import xarray as xr import netCDF4 as nc ############### Read the data file########################### file_name ='/mnt/d/DATA/ERA5/Wind/ERA5_Wind_2019.nc' f = xr.open_dataset(file_name) u10=f.u10.values lat=f.latitude.values lon=f.longitude.values lat_size=len(lat) lon_size=len(lon) ################Read the shape file########################## fname='/mnt/e/Python_DEMO_Scripts/plotting/shpfile/Admin2.shp' shp=gpd.read_file(fname) #print(shp.head()) state_name=list(shp['ST_NM']) state_1=list(shp['ST_NM']) indexes=[state_name.index(x) for x in state_1] # Obtain state indexes state1=regionmask.Regions(outlines=list(shp.geometry.values[i] for i in range(0, shp.shape[0])), names=shp.ST_NM[indexes],abbrevs=shp.ST_NM[indexes],name='state', ) ##Obtaining region boundaries state1_mask=state1.mask(lon,lat) ##### State mask variable ###################Calculating first state average################ time_ind=10 ####Any time step as per need u10_all=np.full([lat_size,lon_size],np.nan,order='C') ##Create a variable to store state averagein whole lat-lon range result=np.where(state1_mask==0) ###Obtain indices for first state lat_ind=result[0] # latitude index for state1 lon_ind=result[1] # longitude index for state1 u10_state=np.mean((u10[time_ind,:,:][lat_ind,:][:,lon_ind]),axis=(0,1))##Calculate state mean (single value) u10_all[result]=u10_state ##Store state mean in the whole lat-lon range del u10_state # delete variables for future use del result del lat_ind del lon_ind #####################Plotting Settings############################# ###############Plotting state 1 average############################ lev_min=-5 #Setting contour min,max levels and divisions lev_max=5 lev_n=30 plt.figure(figsize=(18,8)) # Plot settings ax=plt.axes() x,y=np.meshgrid(lon,lat) c=ax.contourf(x,y,u10_all,cmap='tab20b',levels=np.linspace(lev_min,lev_max,lev_n)) #Contour plot shp.plot(ax=ax,alpha=0.8,facecolor='None',lw=1) # Shape file plot ##################Calculating and plotting remaining state average in a loop############## for i in range(1,shp.shape[0]): ## Remaining states in a loop result=np.where(state1_mask==i) lat_ind=result[0] lon_ind=result[1] u10_state=np.mean((u10[time_ind,:,:][lat_ind,:][:,lon_ind]),axis=(0,1)) u10_all[result]=u10_state del u10_state ax.contourf(x,y,u10_all,cmap='tab20b',alpha=0.8,levels=np.linspace(lev_min,lev_max,lev_n)) shp.plot(ax=ax,alpha=0.8,facecolor='None',lw=1) cbar=plt.colorbar(c) ## Give colorbar cbar.set_label('U at 10m', rotation=270) ##Colorbar label plt.suptitle('State Average of U Wind at 10m/s at 01/01/2019 09 UTC') plt.title('Wind (m/s)', loc='left') plt.xlabel('Lon') plt.ylabel('Lat') plt.savefig('zonal_stat_final.png') #plt.show() exit()
[ 14468, 21017, 9771, 3129, 803, 1181, 2811, 286, 257, 7885, 290, 29353, 1262, 5485, 2393, 4242, 21017, 198, 7804, 4242, 2235, 464, 5485, 7753, 290, 1366, 2393, 389, 1100, 26, 47089, 389, 5447, 290, 29229, 7804, 4242, 2, 198, 7804, 21017, 57, 20996, 7869, 329, 717, 1181, 318, 10488, 290, 37515, 14468, 7804, 2235, 198, 7804, 4242, 2235, 57, 20996, 7869, 290, 7110, 286, 584, 2585, 389, 1760, 2641, 257, 9052, 14468, 2, 198, 7804, 4242, 23318, 3306, 7110, 6460, 11, 3124, 5657, 290, 3613, 3785, 14468, 7804, 4242, 2, 198, 198, 11748, 30324, 392, 292, 355, 27809, 67, 198, 11748, 3814, 27932, 220, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 6383, 11081, 13, 66, 3808, 355, 36624, 3808, 220, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 2603, 29487, 8019, 13, 8071, 258, 4812, 82, 355, 613, 198, 11748, 2124, 18747, 355, 2124, 81, 198, 11748, 2010, 34, 8068, 19, 355, 299, 66, 198, 198, 7804, 4242, 21017, 4149, 262, 1366, 2393, 14468, 7804, 21017, 198, 220, 198, 7753, 62, 3672, 796, 26488, 76, 429, 14, 67, 14, 26947, 14, 46461, 20, 14, 8731, 14, 46461, 20, 62, 8731, 62, 23344, 13, 10782, 6, 198, 69, 796, 2124, 81, 13, 9654, 62, 19608, 292, 316, 7, 7753, 62, 3672, 8, 198, 84, 940, 28, 69, 13, 84, 940, 13, 27160, 198, 15460, 28, 69, 13, 15460, 3984, 13, 27160, 198, 14995, 28, 69, 13, 6511, 3984, 13, 27160, 198, 15460, 62, 7857, 28, 11925, 7, 15460, 8, 198, 14995, 62, 7857, 28, 11925, 7, 14995, 8, 198, 198, 14468, 5569, 262, 5485, 2393, 14468, 7804, 2235, 198, 198, 69, 3672, 11639, 14, 76, 429, 14, 68, 14, 37906, 62, 39429, 46, 62, 7391, 82, 14, 29487, 889, 14, 1477, 79, 7753, 14, 46787, 17, 13, 1477, 79, 6, 198, 1477, 79, 28, 70, 30094, 13, 961, 62, 7753, 7, 69, 3672, 8, 198, 2, 4798, 7, 1477, 79, 13, 2256, 28955, 198, 198, 5219, 62, 3672, 28, 4868, 7, 1477, 79, 17816, 2257, 62, 32755, 6, 12962, 198, 5219, 62, 16, 28, 4868, 7, 1477, 79, 17816, 2257, 62, 32755, 6, 12962, 198, 9630, 274, 41888, 5219, 62, 3672, 13, 9630, 7, 87, 8, 329, 2124, 287, 1181, 62, 16, 60, 197, 197, 2, 1835, 3153, 1181, 39199, 198, 198, 5219, 16, 28, 36996, 27932, 13, 8081, 507, 7, 448, 6615, 28, 4868, 7, 1477, 79, 13, 469, 15748, 13, 27160, 58, 72, 60, 329, 1312, 287, 2837, 7, 15, 11, 427, 79, 13, 43358, 58, 15, 12962, 828, 3891, 28, 1477, 79, 13, 2257, 62, 32755, 58, 9630, 274, 4357, 397, 4679, 14259, 28, 1477, 79, 13, 2257, 62, 32755, 58, 9630, 274, 4357, 3672, 11639, 5219, 3256, 1267, 197, 2235, 5944, 7339, 3814, 13215, 198, 5219, 16, 62, 27932, 28, 5219, 16, 13, 27932, 7, 14995, 11, 15460, 8, 197, 197, 197, 4242, 2, 1812, 9335, 7885, 198, 198, 14468, 21017, 9771, 3129, 803, 717, 1181, 2811, 14468, 198, 198, 2435, 62, 521, 28, 940, 197, 197, 197, 197, 197, 197, 4242, 7149, 640, 2239, 355, 583, 761, 198, 84, 940, 62, 439, 28, 37659, 13, 12853, 26933, 15460, 62, 7857, 11, 14995, 62, 7857, 4357, 37659, 13, 12647, 11, 2875, 11639, 34, 11537, 197, 2235, 16447, 257, 7885, 284, 3650, 1181, 2811, 259, 2187, 3042, 12, 14995, 2837, 198, 20274, 28, 37659, 13, 3003, 7, 5219, 16, 62, 27932, 855, 15, 8, 197, 197, 197, 197, 21017, 5944, 3153, 36525, 329, 717, 1181, 198, 15460, 62, 521, 28, 20274, 58, 15, 60, 197, 197, 197, 197, 197, 2, 32477, 6376, 329, 1181, 16, 198, 14995, 62, 521, 28, 20274, 58, 16, 60, 197, 197, 197, 197, 197, 2, 890, 3984, 6376, 329, 1181, 16, 198, 84, 940, 62, 5219, 28, 37659, 13, 32604, 19510, 84, 940, 58, 2435, 62, 521, 11, 45299, 25, 7131, 15460, 62, 521, 11, 25, 7131, 45299, 14995, 62, 521, 46570, 22704, 16193, 15, 11, 16, 4008, 2235, 9771, 3129, 378, 1181, 1612, 357, 29762, 1988, 8, 198, 84, 940, 62, 439, 58, 20274, 22241, 84, 940, 62, 5219, 197, 197, 197, 197, 2235, 22658, 1181, 1612, 287, 262, 2187, 3042, 12, 14995, 2837, 198, 12381, 334, 940, 62, 5219, 197, 197, 197, 197, 197, 197, 2, 12233, 9633, 329, 2003, 779, 198, 12381, 1255, 198, 12381, 3042, 62, 521, 198, 12381, 300, 261, 62, 521, 198, 198, 14468, 4242, 2, 43328, 889, 16163, 14468, 7804, 4242, 2, 198, 7804, 4242, 21017, 43328, 889, 1181, 352, 2811, 14468, 7804, 4242, 198, 198, 2768, 62, 1084, 10779, 20, 197, 197, 197, 197, 197, 197, 2, 34149, 542, 454, 949, 11, 9806, 2974, 290, 17397, 198, 2768, 62, 9806, 28, 20, 198, 2768, 62, 77, 28, 1270, 198, 489, 83, 13, 26875, 7, 5647, 7857, 16193, 1507, 11, 23, 4008, 197, 197, 197, 197, 2, 28114, 6460, 198, 897, 28, 489, 83, 13, 897, 274, 3419, 198, 87, 11, 88, 28, 37659, 13, 76, 5069, 25928, 7, 14995, 11, 15460, 8, 198, 66, 28, 897, 13, 3642, 454, 69, 7, 87, 11, 88, 11, 84, 940, 62, 439, 11, 66, 8899, 11639, 8658, 1238, 65, 3256, 46170, 28, 37659, 13, 21602, 10223, 7, 2768, 62, 1084, 11, 2768, 62, 9806, 11, 2768, 62, 77, 4008, 197, 2, 4264, 454, 7110, 198, 1477, 79, 13, 29487, 7, 897, 28, 897, 11, 26591, 28, 15, 13, 23, 11, 2550, 8043, 11639, 14202, 3256, 75, 86, 28, 16, 8, 197, 2, 25959, 2393, 7110, 198, 198, 14468, 2235, 9771, 3129, 803, 290, 29353, 5637, 1181, 2811, 287, 257, 9052, 7804, 4242, 2235, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 1477, 79, 13, 43358, 58, 15, 60, 2599, 197, 197, 197, 2235, 3982, 1397, 2585, 287, 257, 9052, 198, 197, 20274, 28, 37659, 13, 3003, 7, 5219, 16, 62, 27932, 855, 72, 8, 198, 197, 15460, 62, 521, 28, 20274, 58, 15, 60, 197, 197, 197, 197, 198, 197, 14995, 62, 521, 28, 20274, 58, 16, 60, 197, 197, 197, 197, 198, 197, 84, 940, 62, 5219, 28, 37659, 13, 32604, 19510, 84, 940, 58, 2435, 62, 521, 11, 45299, 25, 7131, 15460, 62, 521, 11, 25, 7131, 45299, 14995, 62, 521, 46570, 22704, 16193, 15, 11, 16, 4008, 198, 197, 84, 940, 62, 439, 58, 20274, 22241, 84, 940, 62, 5219, 198, 197, 12381, 334, 940, 62, 5219, 198, 197, 198, 197, 897, 13, 3642, 454, 69, 7, 87, 11, 88, 11, 84, 940, 62, 439, 11, 66, 8899, 11639, 8658, 1238, 65, 3256, 26591, 28, 15, 13, 23, 11, 46170, 28, 37659, 13, 21602, 10223, 7, 2768, 62, 1084, 11, 2768, 62, 9806, 11, 2768, 62, 77, 4008, 198, 197, 1477, 79, 13, 29487, 7, 897, 28, 897, 11, 26591, 28, 15, 13, 23, 11, 2550, 8043, 11639, 14202, 3256, 75, 86, 28, 16, 8, 198, 197, 198, 66, 5657, 28, 489, 83, 13, 8043, 5657, 7, 66, 8, 197, 197, 197, 197, 197, 2235, 13786, 3124, 5657, 198, 66, 5657, 13, 2617, 62, 18242, 10786, 52, 379, 838, 76, 3256, 13179, 28, 20233, 8, 197, 197, 2235, 10258, 5657, 6167, 198, 489, 83, 13, 2385, 457, 2578, 10786, 9012, 13475, 286, 471, 3086, 379, 838, 76, 14, 82, 379, 5534, 14, 486, 14, 23344, 7769, 18119, 11537, 198, 489, 83, 13, 7839, 10786, 8731, 357, 76, 14, 82, 8, 3256, 1179, 11639, 9464, 11537, 198, 489, 83, 13, 87, 18242, 10786, 43, 261, 11537, 198, 489, 83, 13, 2645, 9608, 10786, 24220, 11537, 198, 489, 83, 13, 21928, 5647, 10786, 89, 20996, 62, 14269, 62, 20311, 13, 11134, 11537, 198, 2, 489, 83, 13, 12860, 3419, 198, 37023, 3419, 198 ]
2.688138
1,273
# the contents of this file will be executed when the module is run with -m. from .xc import xc xc()
[ 2, 262, 10154, 286, 428, 2393, 481, 307, 10945, 618, 262, 8265, 318, 1057, 351, 532, 76, 13, 198, 198, 6738, 764, 25306, 1330, 2124, 66, 628, 198, 25306, 3419, 198 ]
3.354839
31
"""Script for data visualization. """ import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt def plot_data(data, path, ylabel="y"): """Plot data. """ fig, ax = plt.subplots() im = ax.imshow( data.transpose((-1, 0)), aspect='auto', cmap='hot', origin='lower', interpolation='none') fig.colorbar(im, ax=ax) xlabel = 'frame' plt.xlabel(xlabel) plt.ylabel(ylabel) plt.tight_layout() plt.savefig(path, format='png') plt.close("all")
[ 37811, 7391, 329, 1366, 32704, 13, 198, 37811, 198, 11748, 2603, 29487, 8019, 198, 6759, 29487, 8019, 13, 1904, 10786, 46384, 11537, 198, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 628, 198, 4299, 7110, 62, 7890, 7, 7890, 11, 3108, 11, 331, 18242, 2625, 88, 1, 2599, 198, 220, 220, 220, 37227, 43328, 1366, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2336, 11, 7877, 796, 458, 83, 13, 7266, 489, 1747, 3419, 198, 220, 220, 220, 545, 796, 7877, 13, 320, 12860, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 7645, 3455, 19510, 12, 16, 11, 657, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 4843, 11639, 23736, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 269, 8899, 11639, 8940, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 8159, 11639, 21037, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 39555, 341, 11639, 23108, 11537, 198, 220, 220, 220, 2336, 13, 8043, 5657, 7, 320, 11, 7877, 28, 897, 8, 198, 220, 220, 220, 2124, 18242, 796, 705, 14535, 6, 198, 220, 220, 220, 458, 83, 13, 87, 18242, 7, 87, 18242, 8, 198, 220, 220, 220, 458, 83, 13, 2645, 9608, 7, 2645, 9608, 8, 198, 220, 220, 220, 458, 83, 13, 33464, 62, 39786, 3419, 198, 220, 220, 220, 458, 83, 13, 21928, 5647, 7, 6978, 11, 5794, 11639, 11134, 11537, 198, 220, 220, 220, 458, 83, 13, 19836, 7203, 439, 4943, 198 ]
2.145161
248
from TemporaryStorage import TemporaryStorageInstance if __name__ == '__main__': main()
[ 6738, 46042, 31425, 1330, 46042, 31425, 33384, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, 198 ]
3.518519
27
import sys import pymongo import projectmemcached import time if __name__ == "__main__": argv = sys.argv if len(argv) < 2: print("Usage: python3.6 reviewapi.py mongodb_uri <listing_id>") exit(-1) mongodb_uri = argv[1] listing_id = int(argv[2]) db = pymongo.MongoClient(mongodb_uri)['client_database'] print(get_review_with_listing_id(listing_id, db))
[ 11748, 25064, 198, 11748, 279, 4948, 25162, 198, 11748, 1628, 11883, 66, 2317, 198, 11748, 640, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1822, 85, 796, 25064, 13, 853, 85, 198, 220, 220, 220, 611, 18896, 7, 853, 85, 8, 1279, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 28350, 25, 21015, 18, 13, 21, 2423, 15042, 13, 9078, 220, 285, 506, 375, 65, 62, 9900, 1279, 4868, 278, 62, 312, 29, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 8420, 32590, 16, 8, 628, 220, 220, 220, 285, 506, 375, 65, 62, 9900, 796, 1822, 85, 58, 16, 60, 198, 220, 220, 220, 13487, 62, 312, 796, 493, 7, 853, 85, 58, 17, 12962, 628, 220, 220, 220, 20613, 796, 279, 4948, 25162, 13, 44, 25162, 11792, 7, 31059, 375, 65, 62, 9900, 8, 17816, 16366, 62, 48806, 20520, 198, 220, 220, 220, 3601, 7, 1136, 62, 19023, 62, 4480, 62, 4868, 278, 62, 312, 7, 4868, 278, 62, 312, 11, 20613, 4008, 198 ]
2.211111
180
import sys from typing import List from enum import Enum, auto from parse_ctl import Parse, CmdType, DatType, BinOp, CmdValue import logging logging.basicConfig() logging.root.setLevel(logging.WARNING) logger = logging.getLogger("TCL_Machine") from tokenizer.Tokenizer import Tokenizer, TT print("Tcl/Forth inspired language") # give some information about how to use from the cli if __name__ == '__main__': if len(sys.argv) < 3: cli_reference() raise Exception("Please give the right amount of parameters to the program") machine = TCL_machine() # give the cli args to the machine machine.run(sys.argv[1:])
[ 11748, 25064, 198, 6738, 19720, 1330, 7343, 198, 6738, 33829, 1330, 2039, 388, 11, 8295, 198, 6738, 21136, 62, 34168, 1330, 2547, 325, 11, 327, 9132, 6030, 11, 16092, 6030, 11, 20828, 18257, 11, 327, 9132, 11395, 198, 11748, 18931, 198, 6404, 2667, 13, 35487, 16934, 3419, 198, 6404, 2667, 13, 15763, 13, 2617, 4971, 7, 6404, 2667, 13, 31502, 8, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7203, 4825, 43, 62, 37573, 4943, 198, 198, 6738, 11241, 7509, 13, 30642, 7509, 1330, 29130, 7509, 11, 26653, 198, 198, 4798, 7203, 51, 565, 14, 37, 1506, 7867, 3303, 4943, 628, 198, 2, 1577, 617, 1321, 546, 703, 284, 779, 422, 262, 537, 72, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 611, 18896, 7, 17597, 13, 853, 85, 8, 1279, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 537, 72, 62, 35790, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 35528, 7203, 5492, 1577, 262, 826, 2033, 286, 10007, 284, 262, 1430, 4943, 628, 220, 220, 220, 4572, 796, 309, 5097, 62, 30243, 3419, 198, 220, 220, 220, 1303, 1577, 262, 537, 72, 26498, 284, 262, 4572, 198, 220, 220, 220, 4572, 13, 5143, 7, 17597, 13, 853, 85, 58, 16, 25, 12962, 198 ]
2.96789
218
#!/usr/bin/env python # coding=utf-8 debugEnable = False
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 19617, 28, 40477, 12, 23, 198, 198, 24442, 36695, 796, 10352, 198 ]
2.636364
22
import sys sys.path.append('../') import bz2, os import random, string import importlib import _pickle as pickle from datetime import datetime, timedelta # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # OS & list MANAGEMENT FUNCTIONS <~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< def getFilepaths(directory): """ This function will generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory top (including top itself), it yields a 3-tuple (dirpath, dirnames, filenames). """ file_paths = [] # List which will store all of the full filepaths. # Walk the tree. for root, directories, files in os.walk(directory): for filename in files: # Join the two strings in order to form the full filepath. filepath = os.path.join(root, filename) file_paths.append(filepath) # Add it to the list. return file_paths # Self-explanatory. def absoluteFilePaths(directory): '''Get the absolute file path for every file in the given directory''' for dirpath,_,filenames in os.walk(directory): for f in filenames: yield os.path.abspath(os.path.join(dirpath, f)) def import_package_string(package_string): '''Submit a string argument to be imported as a package (i.e. day_trader.models.LU01_A3). No need to include the .py''' return importlib.import_module(package_string) def genrs(length=10): '''Generate random string''' return ''.join(random.choices(string.ascii_letters + string.digits, k=length)) def remove_values_from_list(the_list, val): '''Remove a specific value from a list''' return [value for value in the_list if value != val] def chunks(l,n): '''Break list l up into chunks of size n''' for i in range(0, len(l), n): yield l[i:i+n] def sizeFirstBin(data, col, minimum_bin_size, vals=None): '''Bin the data based on the vals, iterates through each val assigning the corresponding rows to a bin while that bin size has not reached the minimum_bin_size __________ parameters - data : pd.DataFrame - col : the columns to bin based on - minimum_bin_size : int. Each bin must have at least this size - vals : list. Will only bin the values in this list. The default is all the unique values of "col" ''' if vals is None: values = sorted(data[col].unique()) else: values = vals bins = {} bin_number = 1 bin_total = 0 vc = dict(data[col].value_counts()) for val in values: if bin_total<minimum_bin_size: if bin_number not in bins: bins[bin_number] = [] bins[bin_number].append(val) bin_total += vc[val] else: bins[bin_number].append(val) bin_total += vc[val] else: bin_number+=1 bins[bin_number] = [] bins[bin_number].append(val) bin_total = vc[val] return bins def nondups(items : list): '''Return True if list has no duplicate items''' print('List length:',len(items)) print('Unique items:',len(set(items))) return len(items) == len(set(items)) # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # Storage & COMPRESSION FUNCTIONS <~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~ # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # Article on pickling and compressed pickling functions # https://betterprogramming.pub/load-fast-load-big-with-compressed-pickles-5f311584507e def full_pickle(title, data): '''pickles the submited data and titles it''' pikd = open(title + '.pickle', 'wb') pickle.dump(data, pikd) pikd.close() def loosen(file): '''loads and returns a pickled objects''' pikd = open(file, 'rb') data = pickle.load(pikd) pikd.close() return data def compressed_pickle(title, data): ''' Pickle a file and then compress it into a file with extension .pbz2 __________ parameters - title : title of the file you want to save (will be saved with .pbz2 extension automatically) - data : object you want to save ''' with bz2.BZ2File(title + '.pbz2', 'w') as f: pickle.dump(data, f) def decompress_pickle(filename): '''filename - file name including .pbz2 extension''' data = bz2.BZ2File(filename, 'rb') data = pickle.load(data) return data # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # Time Management FUNCTIONS <~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~ # ~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~<~< # Time Stuff def cuttomin(x): '''Cut a time stamp at the minutes (exclude seconds or more precise)''' return datetime.strftime(x, '%m-%d %H:%M') def cuttohrs(x): '''Cut a time stamp at the hours (exclude minutes or more precise)''' return datetime.strftime(x, '%m-%d %H') def cuttodays(x): '''Cut a time stamp at the date (exclude hour or more precise)''' return datetime.strftime(x, '%y-%m-%d') def datetime_range(start, end, delta): '''Returns the times between start and end in steps of delta''' current = start while current < end: yield current current += delta def prev_weekday(adate): '''Returns the date of the last weekday before the given date''' adate -= timedelta(days=1) while adate.weekday() > 4: # Mon-Fri are 0-4 adate -= timedelta(days=1) return adate
[ 11748, 25064, 198, 17597, 13, 6978, 13, 33295, 10786, 40720, 11537, 198, 198, 11748, 275, 89, 17, 11, 28686, 198, 11748, 4738, 11, 4731, 220, 198, 11748, 1330, 8019, 198, 11748, 4808, 27729, 293, 355, 2298, 293, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 198, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 2, 7294, 1222, 1351, 17254, 4760, 12529, 29397, 4177, 11053, 1279, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 198, 4299, 651, 8979, 6978, 82, 7, 34945, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 481, 7716, 262, 2393, 3891, 287, 257, 8619, 220, 198, 220, 220, 220, 5509, 416, 6155, 262, 5509, 2035, 1353, 12, 2902, 393, 4220, 12, 929, 13, 1114, 1123, 220, 198, 220, 220, 220, 8619, 287, 262, 5509, 19459, 379, 8619, 1353, 357, 8201, 1353, 2346, 828, 220, 198, 220, 220, 220, 340, 19299, 257, 513, 12, 83, 29291, 357, 15908, 6978, 11, 26672, 14933, 11, 1226, 268, 1047, 737, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2393, 62, 6978, 82, 796, 17635, 220, 1303, 7343, 543, 481, 3650, 477, 286, 262, 1336, 2393, 6978, 82, 13, 628, 220, 220, 220, 1303, 6857, 262, 5509, 13, 198, 220, 220, 220, 329, 6808, 11, 29196, 11, 3696, 287, 28686, 13, 11152, 7, 34945, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 329, 29472, 287, 3696, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15251, 262, 734, 13042, 287, 1502, 284, 1296, 262, 1336, 2393, 6978, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 15763, 11, 29472, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 6978, 82, 13, 33295, 7, 7753, 6978, 8, 220, 1303, 3060, 340, 284, 262, 1351, 13, 628, 220, 220, 220, 1441, 2393, 62, 6978, 82, 220, 1303, 12189, 12, 1069, 11578, 2870, 13, 198, 198, 4299, 4112, 8979, 15235, 82, 7, 34945, 2599, 198, 220, 220, 220, 705, 7061, 3855, 262, 4112, 2393, 3108, 329, 790, 2393, 287, 262, 1813, 8619, 7061, 6, 628, 220, 220, 220, 329, 26672, 6978, 11, 62, 11, 10379, 268, 1047, 287, 28686, 13, 11152, 7, 34945, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 329, 277, 287, 1226, 268, 1047, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 22179, 7, 15908, 6978, 11, 277, 4008, 198, 198, 4299, 1330, 62, 26495, 62, 8841, 7, 26495, 62, 8841, 2599, 198, 220, 220, 220, 705, 7061, 45135, 257, 4731, 4578, 284, 307, 17392, 355, 257, 5301, 357, 72, 13, 68, 13, 1110, 62, 2213, 5067, 13, 27530, 13, 41596, 486, 62, 32, 18, 737, 1400, 761, 284, 2291, 262, 764, 9078, 7061, 6, 198, 220, 220, 220, 1441, 1330, 8019, 13, 11748, 62, 21412, 7, 26495, 62, 8841, 8, 198, 198, 4299, 2429, 3808, 7, 13664, 28, 940, 2599, 198, 220, 220, 220, 705, 7061, 8645, 378, 4738, 4731, 7061, 6, 198, 220, 220, 220, 1441, 705, 4458, 22179, 7, 25120, 13, 6679, 1063, 7, 8841, 13, 292, 979, 72, 62, 15653, 1343, 4731, 13, 12894, 896, 11, 479, 28, 13664, 4008, 198, 198, 4299, 4781, 62, 27160, 62, 6738, 62, 4868, 7, 1169, 62, 4868, 11, 1188, 2599, 198, 220, 220, 220, 705, 7061, 27914, 257, 2176, 1988, 422, 257, 1351, 7061, 6, 198, 220, 220, 220, 1441, 685, 8367, 329, 1988, 287, 262, 62, 4868, 611, 1988, 14512, 1188, 60, 198, 198, 4299, 22716, 7, 75, 11, 77, 2599, 198, 220, 220, 220, 705, 7061, 31737, 1351, 300, 510, 656, 22716, 286, 2546, 299, 7061, 6, 220, 220, 220, 220, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 15, 11, 18896, 7, 75, 828, 299, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 300, 58, 72, 25, 72, 10, 77, 60, 220, 220, 198, 198, 4299, 2546, 5962, 33, 259, 7, 7890, 11, 951, 11, 5288, 62, 8800, 62, 7857, 11, 410, 874, 28, 14202, 2599, 198, 220, 220, 220, 705, 7061, 33, 259, 262, 1366, 1912, 319, 262, 410, 874, 11, 11629, 689, 832, 1123, 1188, 38875, 262, 11188, 15274, 284, 257, 9874, 981, 326, 9874, 2546, 468, 407, 4251, 262, 5288, 62, 8800, 62, 7857, 198, 220, 220, 220, 220, 2602, 834, 198, 220, 220, 220, 10007, 198, 220, 220, 220, 532, 1366, 1058, 279, 67, 13, 6601, 19778, 198, 220, 220, 220, 532, 951, 1058, 262, 15180, 284, 9874, 1912, 319, 220, 198, 220, 220, 220, 532, 5288, 62, 8800, 62, 7857, 1058, 493, 13, 5501, 9874, 1276, 423, 379, 1551, 428, 2546, 198, 220, 220, 220, 532, 410, 874, 1058, 1351, 13, 2561, 691, 9874, 262, 3815, 287, 428, 1351, 13, 383, 4277, 318, 477, 262, 3748, 3815, 286, 366, 4033, 1, 220, 198, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 611, 410, 874, 318, 6045, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3815, 796, 23243, 7, 7890, 58, 4033, 4083, 34642, 28955, 198, 220, 220, 220, 2073, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3815, 796, 410, 874, 628, 220, 220, 220, 41701, 796, 23884, 198, 220, 220, 220, 9874, 62, 17618, 796, 352, 220, 198, 220, 220, 220, 9874, 62, 23350, 796, 657, 220, 198, 220, 220, 220, 410, 66, 796, 8633, 7, 7890, 58, 4033, 4083, 8367, 62, 9127, 82, 28955, 198, 220, 220, 220, 329, 1188, 287, 3815, 25, 628, 220, 220, 220, 220, 220, 220, 220, 611, 9874, 62, 23350, 27, 39504, 62, 8800, 62, 7857, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 9874, 62, 17618, 407, 287, 41701, 25, 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, 41701, 58, 8800, 62, 17618, 60, 796, 17635, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41701, 58, 8800, 62, 17618, 4083, 33295, 7, 2100, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9874, 62, 23350, 15853, 410, 66, 58, 2100, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41701, 58, 8800, 62, 17618, 4083, 33295, 7, 2100, 8, 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, 9874, 62, 23350, 15853, 410, 66, 58, 2100, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9874, 62, 17618, 47932, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41701, 58, 8800, 62, 17618, 60, 796, 17635, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41701, 58, 8800, 62, 17618, 4083, 33295, 7, 2100, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9874, 62, 23350, 796, 410, 66, 58, 2100, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 41701, 198, 198, 4299, 30745, 4739, 7, 23814, 1058, 1351, 2599, 198, 220, 220, 220, 705, 7061, 13615, 6407, 611, 1351, 468, 645, 23418, 3709, 7061, 6, 628, 220, 220, 220, 3601, 10786, 8053, 4129, 25, 3256, 11925, 7, 23814, 4008, 198, 220, 220, 220, 3601, 10786, 40257, 3709, 25, 3256, 11925, 7, 2617, 7, 23814, 22305, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 18896, 7, 23814, 8, 6624, 18896, 7, 2617, 7, 23814, 4008, 198, 220, 220, 220, 220, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 2, 20514, 1222, 9440, 32761, 2849, 29397, 4177, 11053, 1279, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 198, 2, 10172, 319, 2298, 1359, 290, 25388, 2298, 1359, 5499, 220, 198, 2, 3740, 1378, 27903, 23065, 2229, 13, 12984, 14, 2220, 12, 7217, 12, 2220, 12, 14261, 12, 4480, 12, 5589, 2790, 12, 27729, 829, 12, 20, 69, 36244, 3365, 17885, 22, 68, 198, 198, 4299, 1336, 62, 27729, 293, 7, 7839, 11, 1366, 2599, 198, 220, 220, 220, 705, 7061, 27729, 829, 262, 850, 76, 863, 1366, 290, 8714, 340, 7061, 6, 198, 220, 220, 220, 279, 1134, 67, 796, 1280, 7, 7839, 1343, 45302, 27729, 293, 3256, 705, 39346, 11537, 198, 220, 220, 220, 2298, 293, 13, 39455, 7, 7890, 11, 279, 1134, 67, 8, 198, 220, 220, 220, 279, 1134, 67, 13, 19836, 3419, 220, 220, 220, 198, 220, 220, 220, 220, 198, 4299, 40953, 7, 7753, 2599, 198, 220, 220, 220, 705, 7061, 46030, 290, 5860, 257, 2298, 992, 5563, 7061, 6, 198, 220, 220, 220, 279, 1134, 67, 796, 1280, 7, 7753, 11, 705, 26145, 11537, 198, 220, 220, 220, 1366, 796, 2298, 293, 13, 2220, 7, 79, 1134, 67, 8, 198, 220, 220, 220, 279, 1134, 67, 13, 19836, 3419, 198, 220, 220, 220, 1441, 1366, 220, 220, 220, 198, 198, 4299, 25388, 62, 27729, 293, 7, 7839, 11, 1366, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 12346, 293, 257, 2393, 290, 788, 27413, 340, 656, 257, 2393, 351, 7552, 764, 40842, 89, 17, 198, 220, 220, 220, 220, 2602, 834, 198, 220, 220, 220, 10007, 198, 220, 220, 220, 532, 3670, 1058, 3670, 286, 262, 2393, 345, 765, 284, 3613, 357, 10594, 307, 7448, 351, 764, 40842, 89, 17, 7552, 6338, 8, 198, 220, 220, 220, 532, 1366, 1058, 2134, 345, 765, 284, 3613, 220, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 351, 275, 89, 17, 13, 33, 57, 17, 8979, 7, 7839, 1343, 45302, 40842, 89, 17, 3256, 705, 86, 11537, 355, 277, 25, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2298, 293, 13, 39455, 7, 7890, 11, 277, 8, 198, 198, 4299, 38237, 601, 62, 27729, 293, 7, 34345, 2599, 198, 220, 220, 220, 705, 7061, 34345, 532, 2393, 1438, 1390, 764, 40842, 89, 17, 7552, 7061, 6, 198, 220, 220, 220, 1366, 796, 275, 89, 17, 13, 33, 57, 17, 8979, 7, 34345, 11, 705, 26145, 11537, 198, 220, 220, 220, 1366, 796, 2298, 293, 13, 2220, 7, 7890, 8, 198, 220, 220, 220, 1441, 1366, 198, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 2, 3862, 8549, 29397, 4177, 11053, 1279, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 198, 2, 5299, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 93, 27, 198, 198, 2, 3862, 27864, 198, 4299, 2005, 83, 6351, 7, 87, 2599, 198, 220, 220, 220, 705, 7061, 26254, 257, 640, 17977, 379, 262, 2431, 357, 1069, 9152, 4201, 393, 517, 7141, 8, 7061, 6, 198, 220, 220, 220, 1441, 4818, 8079, 13, 2536, 31387, 7, 87, 11, 705, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 11537, 198, 220, 220, 220, 220, 198, 4299, 2005, 83, 1219, 3808, 7, 87, 2599, 198, 220, 220, 220, 705, 7061, 26254, 257, 640, 17977, 379, 262, 2250, 357, 1069, 9152, 2431, 393, 517, 7141, 8, 7061, 6, 198, 220, 220, 220, 1441, 4818, 8079, 13, 2536, 31387, 7, 87, 11, 705, 4, 76, 12, 4, 67, 4064, 39, 11537, 198, 198, 4299, 2005, 83, 375, 592, 7, 87, 2599, 198, 220, 220, 220, 705, 7061, 26254, 257, 640, 17977, 379, 262, 3128, 357, 1069, 9152, 1711, 393, 517, 7141, 8, 7061, 6, 198, 220, 220, 220, 1441, 4818, 8079, 13, 2536, 31387, 7, 87, 11, 705, 4, 88, 12, 4, 76, 12, 4, 67, 11537, 198, 198, 4299, 4818, 8079, 62, 9521, 7, 9688, 11, 886, 11, 25979, 2599, 198, 220, 220, 220, 705, 7061, 35561, 262, 1661, 1022, 923, 290, 886, 287, 4831, 286, 25979, 7061, 6, 198, 220, 220, 220, 1459, 796, 923, 198, 220, 220, 220, 981, 1459, 1279, 886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7800, 1459, 198, 220, 220, 220, 220, 220, 220, 220, 1459, 15853, 25979, 198, 198, 4299, 8654, 62, 10464, 820, 7, 324, 378, 2599, 198, 220, 220, 220, 705, 7061, 35561, 262, 3128, 286, 262, 938, 28269, 878, 262, 1813, 3128, 7061, 6, 198, 220, 220, 220, 512, 378, 48185, 28805, 12514, 7, 12545, 28, 16, 8, 198, 220, 220, 220, 981, 512, 378, 13, 10464, 820, 3419, 1875, 604, 25, 1303, 2892, 12, 30214, 389, 657, 12, 19, 198, 220, 220, 220, 220, 220, 220, 220, 512, 378, 48185, 28805, 12514, 7, 12545, 28, 16, 8, 198, 220, 220, 220, 1441, 512, 378, 198 ]
2.086165
2,855
import click from deploy_tools.cli import ( auto_nonce_option, connect_to_json_rpc, gas_option, gas_price_option, get_nonce, jsonrpc_option, keystore_option, nonce_option, retrieve_private_key, ) from deploy_tools.deploy import build_transaction_options from deploy_tools.files import ( InvalidAddressException, read_addresses_in_csv, validate_and_format_address, ) from web3 import EthereumTesterProvider, Web3 from validator_set_deploy.core import ( deploy_validator_proxy_contract, deploy_validator_set_contract, get_validator_contract, initialize_validator_set_contract, ) # we need test_provider and test_json_rpc for running the tests in test_cli # they need to persist between multiple calls to runner.invoke and are # therefore initialized on the module level. test_provider = EthereumTesterProvider() test_json_rpc = Web3(test_provider) def validate_address( ctx, param, value ): # TODO: take this from deploy_tools once new version is available """This function must be at the top of click commands using it""" try: return validate_and_format_address(value) except InvalidAddressException as e: raise click.BadParameter( f"The address parameter is not recognized to be an address: {value}" ) from e validator_set_address_option = click.option( "--address", "validator_contract_address", help='The address of the validator set contract, "0x" prefixed string', type=str, required=True, callback=validate_address, metavar="ADDRESS", envvar="VALIDATOR_CONTRACT_ADDRESS", ) validator_file_option = click.option( "--validators", "validators_file", help="Path to the csv file containing the addresses of the validators", type=click.Path(exists=True, dir_okay=False), required=True, ) @click.group() @main.command( short_help="Deploys the validator set and initializes with the validator addresses." ) @keystore_option @validator_file_option @click.option( "--address", "validator_proxy_address", help='The address of the validator proxy contract, "0x" prefixed string', type=str, required=True, callback=validate_address, metavar="ADDRESS", envvar="VALIDATOR_PROXY_ADDRESS", ) @gas_option @gas_price_option @nonce_option @auto_nonce_option @jsonrpc_option @main.command( short_help="Deploys the validator proxy and initializes with the validator addresses " "within the given validator csv file." ) @keystore_option @click.option( "--validators", "validators_file", help="Path to the csv file containing the addresses of the validators", type=click.Path(), required=False, ) @gas_option @gas_price_option @nonce_option @auto_nonce_option @jsonrpc_option @main.command( short_help="Check that the current validators of the contract are matching the one in the given file." ) @validator_set_address_option @validator_file_option @jsonrpc_option @main.command(short_help="Prints the current validators.") @validator_set_address_option @jsonrpc_option
[ 11748, 3904, 198, 6738, 6061, 62, 31391, 13, 44506, 1330, 357, 198, 220, 220, 220, 8295, 62, 13159, 344, 62, 18076, 11, 198, 220, 220, 220, 2018, 62, 1462, 62, 17752, 62, 81, 14751, 11, 198, 220, 220, 220, 3623, 62, 18076, 11, 198, 220, 220, 220, 3623, 62, 20888, 62, 18076, 11, 198, 220, 220, 220, 651, 62, 13159, 344, 11, 198, 220, 220, 220, 33918, 81, 14751, 62, 18076, 11, 198, 220, 220, 220, 1994, 8095, 62, 18076, 11, 198, 220, 220, 220, 1729, 344, 62, 18076, 11, 198, 220, 220, 220, 19818, 62, 19734, 62, 2539, 11, 198, 8, 198, 6738, 6061, 62, 31391, 13, 2934, 1420, 1330, 1382, 62, 7645, 2673, 62, 25811, 198, 6738, 6061, 62, 31391, 13, 16624, 1330, 357, 198, 220, 220, 220, 17665, 20231, 16922, 11, 198, 220, 220, 220, 1100, 62, 2860, 16746, 62, 259, 62, 40664, 11, 198, 220, 220, 220, 26571, 62, 392, 62, 18982, 62, 21975, 11, 198, 8, 198, 6738, 3992, 18, 1330, 20313, 51, 7834, 29495, 11, 5313, 18, 198, 198, 6738, 4938, 1352, 62, 2617, 62, 2934, 1420, 13, 7295, 1330, 357, 198, 220, 220, 220, 6061, 62, 12102, 1352, 62, 36436, 62, 28484, 11, 198, 220, 220, 220, 6061, 62, 12102, 1352, 62, 2617, 62, 28484, 11, 198, 220, 220, 220, 651, 62, 12102, 1352, 62, 28484, 11, 198, 220, 220, 220, 41216, 62, 12102, 1352, 62, 2617, 62, 28484, 11, 198, 8, 198, 198, 2, 356, 761, 1332, 62, 15234, 1304, 290, 1332, 62, 17752, 62, 81, 14751, 329, 2491, 262, 5254, 287, 1332, 62, 44506, 198, 2, 484, 761, 284, 21160, 1022, 3294, 3848, 284, 17490, 13, 37669, 290, 389, 198, 2, 4361, 23224, 319, 262, 8265, 1241, 13, 198, 9288, 62, 15234, 1304, 796, 20313, 51, 7834, 29495, 3419, 198, 9288, 62, 17752, 62, 81, 14751, 796, 5313, 18, 7, 9288, 62, 15234, 1304, 8, 628, 198, 4299, 26571, 62, 21975, 7, 198, 220, 220, 220, 269, 17602, 11, 5772, 11, 1988, 198, 2599, 220, 1303, 16926, 46, 25, 1011, 428, 422, 6061, 62, 31391, 1752, 649, 2196, 318, 1695, 198, 220, 220, 220, 37227, 1212, 2163, 1276, 307, 379, 262, 1353, 286, 3904, 9729, 1262, 340, 37811, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 26571, 62, 392, 62, 18982, 62, 21975, 7, 8367, 8, 198, 220, 220, 220, 2845, 17665, 20231, 16922, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 3904, 13, 22069, 36301, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 464, 2209, 11507, 318, 407, 8018, 284, 307, 281, 2209, 25, 1391, 8367, 36786, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 422, 304, 628, 198, 12102, 1352, 62, 2617, 62, 21975, 62, 18076, 796, 3904, 13, 18076, 7, 198, 220, 220, 220, 366, 438, 21975, 1600, 198, 220, 220, 220, 366, 12102, 1352, 62, 28484, 62, 21975, 1600, 198, 220, 220, 220, 1037, 11639, 464, 2209, 286, 262, 4938, 1352, 900, 2775, 11, 366, 15, 87, 1, 7694, 2966, 4731, 3256, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 2672, 28, 17821, 11, 198, 220, 220, 220, 23838, 28, 12102, 378, 62, 21975, 11, 198, 220, 220, 220, 1138, 615, 283, 2625, 2885, 7707, 7597, 1600, 198, 220, 220, 220, 17365, 7785, 2625, 23428, 2389, 25633, 62, 10943, 5446, 10659, 62, 2885, 7707, 7597, 1600, 198, 8, 198, 198, 12102, 1352, 62, 7753, 62, 18076, 796, 3904, 13, 18076, 7, 198, 220, 220, 220, 366, 438, 12102, 2024, 1600, 198, 220, 220, 220, 366, 12102, 2024, 62, 7753, 1600, 198, 220, 220, 220, 1037, 2625, 15235, 284, 262, 269, 21370, 2393, 7268, 262, 9405, 286, 262, 4938, 2024, 1600, 198, 220, 220, 220, 2099, 28, 12976, 13, 15235, 7, 1069, 1023, 28, 17821, 11, 26672, 62, 482, 323, 28, 25101, 828, 198, 220, 220, 220, 2672, 28, 17821, 11, 198, 8, 628, 198, 31, 12976, 13, 8094, 3419, 628, 198, 31, 12417, 13, 21812, 7, 198, 220, 220, 220, 1790, 62, 16794, 2625, 49322, 82, 262, 4938, 1352, 900, 290, 4238, 4340, 351, 262, 4938, 1352, 9405, 526, 198, 8, 198, 31, 2539, 8095, 62, 18076, 198, 31, 12102, 1352, 62, 7753, 62, 18076, 198, 31, 12976, 13, 18076, 7, 198, 220, 220, 220, 366, 438, 21975, 1600, 198, 220, 220, 220, 366, 12102, 1352, 62, 36436, 62, 21975, 1600, 198, 220, 220, 220, 1037, 11639, 464, 2209, 286, 262, 4938, 1352, 15741, 2775, 11, 366, 15, 87, 1, 7694, 2966, 4731, 3256, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 2672, 28, 17821, 11, 198, 220, 220, 220, 23838, 28, 12102, 378, 62, 21975, 11, 198, 220, 220, 220, 1138, 615, 283, 2625, 2885, 7707, 7597, 1600, 198, 220, 220, 220, 17365, 7785, 2625, 23428, 2389, 25633, 62, 31190, 34278, 62, 2885, 7707, 7597, 1600, 198, 8, 198, 31, 22649, 62, 18076, 198, 31, 22649, 62, 20888, 62, 18076, 198, 31, 13159, 344, 62, 18076, 198, 31, 23736, 62, 13159, 344, 62, 18076, 198, 31, 17752, 81, 14751, 62, 18076, 628, 198, 31, 12417, 13, 21812, 7, 198, 220, 220, 220, 1790, 62, 16794, 2625, 49322, 82, 262, 4938, 1352, 15741, 290, 4238, 4340, 351, 262, 4938, 1352, 9405, 366, 198, 220, 220, 220, 366, 33479, 262, 1813, 4938, 1352, 269, 21370, 2393, 526, 198, 8, 198, 31, 2539, 8095, 62, 18076, 198, 31, 12976, 13, 18076, 7, 198, 220, 220, 220, 366, 438, 12102, 2024, 1600, 198, 220, 220, 220, 366, 12102, 2024, 62, 7753, 1600, 198, 220, 220, 220, 1037, 2625, 15235, 284, 262, 269, 21370, 2393, 7268, 262, 9405, 286, 262, 4938, 2024, 1600, 198, 220, 220, 220, 2099, 28, 12976, 13, 15235, 22784, 198, 220, 220, 220, 2672, 28, 25101, 11, 198, 8, 198, 31, 22649, 62, 18076, 198, 31, 22649, 62, 20888, 62, 18076, 198, 31, 13159, 344, 62, 18076, 198, 31, 23736, 62, 13159, 344, 62, 18076, 198, 31, 17752, 81, 14751, 62, 18076, 628, 198, 31, 12417, 13, 21812, 7, 198, 220, 220, 220, 1790, 62, 16794, 2625, 9787, 326, 262, 1459, 4938, 2024, 286, 262, 2775, 389, 12336, 262, 530, 287, 262, 1813, 2393, 526, 198, 8, 198, 31, 12102, 1352, 62, 2617, 62, 21975, 62, 18076, 198, 31, 12102, 1352, 62, 7753, 62, 18076, 198, 31, 17752, 81, 14751, 62, 18076, 628, 198, 31, 12417, 13, 21812, 7, 19509, 62, 16794, 2625, 18557, 82, 262, 1459, 4938, 2024, 19570, 198, 31, 12102, 1352, 62, 2617, 62, 21975, 62, 18076, 198, 31, 17752, 81, 14751, 62, 18076, 198 ]
2.827869
1,098
# -*- coding: utf-8 -*- """ Unit Test: orchard.system_status.formatters.temperature """ import unittest import flask_babel import orchard import orchard.system_status.formatters.temperature as formatter
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 37811, 198, 220, 220, 220, 11801, 6208, 25, 393, 30215, 13, 10057, 62, 13376, 13, 18982, 1010, 13, 11498, 21069, 198, 37811, 198, 198, 11748, 555, 715, 395, 198, 198, 11748, 42903, 62, 65, 9608, 198, 198, 11748, 393, 30215, 198, 11748, 393, 30215, 13, 10057, 62, 13376, 13, 18982, 1010, 13, 11498, 21069, 355, 1296, 1436, 628 ]
2.90411
73
from typing import Dict, List, Tuple from collections import defaultdict from django.db import models from django.db.models.fields.related_descriptors import ManyToManyDescriptor from dotdict import DotDict from .sorter import Sorter from .model_importer import ModelImporter from .importer_manager import ImporterManager #: TODO: delete the commented delimiter for the following reasons, AFTER documenting how to specify multiple fields # (TODO) for an object referenced in a m2m relationship # I think this is unnecesary, if you want multiple fields to be specifiable, # you need to put them in separate chuncks of 'a;a;a;a , b;b;b;b' # M2M_FIELD_DELIMITER = '|' #: TODO: Move to a settings file, which can be overridden M2M_DELIMITER = ';' DEFAULT_DELIMITER = ','
[ 6738, 19720, 1330, 360, 713, 11, 7343, 11, 309, 29291, 198, 6738, 17268, 1330, 4277, 11600, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 25747, 13, 5363, 62, 20147, 1968, 669, 1330, 4650, 2514, 7085, 24564, 1968, 273, 198, 198, 6738, 16605, 11600, 1330, 22875, 35, 713, 198, 198, 6738, 764, 82, 4337, 1330, 311, 4337, 198, 6738, 764, 19849, 62, 320, 26634, 1330, 9104, 3546, 26634, 198, 6738, 764, 320, 26634, 62, 37153, 1330, 1846, 26634, 13511, 198, 198, 2, 25, 16926, 46, 25, 12233, 262, 16476, 46728, 2676, 329, 262, 1708, 3840, 11, 36050, 33045, 703, 284, 11986, 3294, 7032, 198, 2, 357, 51, 3727, 46, 8, 329, 281, 2134, 20717, 287, 257, 285, 17, 76, 2776, 198, 2, 314, 892, 428, 318, 555, 710, 728, 560, 11, 611, 345, 765, 3294, 7032, 284, 307, 1020, 16823, 11, 198, 2, 345, 761, 284, 1234, 606, 287, 4553, 442, 403, 4657, 286, 705, 64, 26, 64, 26, 64, 26, 64, 837, 275, 26, 65, 26, 65, 26, 65, 6, 198, 2, 337, 17, 44, 62, 44603, 62, 35, 3698, 3955, 2043, 1137, 796, 705, 91, 6, 198, 198, 2, 25, 16926, 46, 25, 10028, 284, 257, 6460, 2393, 11, 543, 460, 307, 23170, 4651, 198, 44, 17, 44, 62, 35, 3698, 3955, 2043, 1137, 796, 705, 26, 6, 198, 7206, 38865, 62, 35, 3698, 3955, 2043, 1137, 796, 705, 4032 ]
3.19917
241
# author: Bartlomiej "furas" Burek (https://blog.furas.pl) # date: 2021.05.30 # # title: How to add text in a “textbox” to an image? # url: https://stackoverflow.com/questions/67760340/how-to-add-text-in-a-textbox-to-an-image/67762111#67762111 import PIL print('PIL version:', PIL.__version__) from PIL import Image, ImageDraw, ImageFont # create empty image img = Image.new(size=(400, 300), mode='RGB') draw = ImageDraw.Draw(img) # draw white rectangle 200x100 with center in 200,150 draw.rectangle((200-100, 150-50, 200+100, 150+50), fill='white') draw.line(((0, 150), (400, 150)), 'gray') draw.line(((200, 0), (200, 300)), 'gray') # find font size for text `"Hello World"` to fit in rectangle 200x100 selected_size = 1 for size in range(1, 150): arial = ImageFont.FreeTypeFont('/home/furas/.wine/drive_c/windows/Fonts/arial.ttf', size=size) w, h = arial.getsize("Hello World") # older versions left, top, right, bottom = arial.getbbox("Hello World") # needs PIL 8.0.0 #w = right - left #h = bottom - top print(w, h) if w > 200 or h > 100: break selected_size = size print(arial.size) # draw text in center of rectangle 200x100 arial = ImageFont.FreeTypeFont('/home/furas/.wine/drive_c/windows/Fonts/arial.ttf', size=selected_size) draw.text((200-w//2, 150-h//2), "Hello World", fill='black', font=arial) # older versions img.save('center-older-getsize.png') #draw.text((200, 150), "Hello World", fill='black', anchor='mm', font=arial) #img.save('center-newer.png') img.show()
[ 198, 2, 1772, 25, 13167, 75, 296, 494, 73, 366, 69, 17786, 1, 347, 495, 74, 357, 5450, 1378, 14036, 13, 69, 17786, 13, 489, 8, 198, 2, 3128, 25, 33448, 13, 2713, 13, 1270, 198, 2, 198, 2, 3670, 25, 1374, 284, 751, 2420, 287, 257, 564, 250, 5239, 3524, 447, 251, 284, 281, 2939, 30, 198, 2, 19016, 25, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 40179, 1899, 23601, 14, 4919, 12, 1462, 12, 2860, 12, 5239, 12, 259, 12, 64, 12, 5239, 3524, 12, 1462, 12, 272, 12, 9060, 14, 3134, 48194, 16243, 2, 3134, 48194, 16243, 198, 198, 11748, 350, 4146, 198, 4798, 10786, 47, 4146, 2196, 25, 3256, 350, 4146, 13, 834, 9641, 834, 8, 220, 198, 198, 6738, 350, 4146, 1330, 7412, 11, 7412, 25302, 11, 7412, 23252, 198, 198, 2, 2251, 6565, 2939, 198, 9600, 796, 7412, 13, 3605, 7, 7857, 16193, 7029, 11, 5867, 828, 4235, 11639, 36982, 11537, 198, 19334, 796, 7412, 25302, 13, 25302, 7, 9600, 8, 198, 198, 2, 3197, 2330, 35991, 939, 87, 3064, 351, 3641, 287, 939, 11, 8628, 198, 19334, 13, 2554, 9248, 19510, 2167, 12, 3064, 11, 6640, 12, 1120, 11, 939, 10, 3064, 11, 6640, 10, 1120, 828, 6070, 11639, 11186, 11537, 198, 19334, 13, 1370, 19510, 7, 15, 11, 6640, 828, 357, 7029, 11, 6640, 36911, 705, 44605, 11537, 198, 19334, 13, 1370, 19510, 7, 2167, 11, 657, 828, 357, 2167, 11, 5867, 36911, 705, 44605, 11537, 198, 198, 2, 1064, 10369, 2546, 329, 2420, 4600, 1, 15496, 2159, 1, 63, 284, 4197, 287, 35991, 939, 87, 3064, 198, 34213, 62, 7857, 796, 352, 198, 1640, 2546, 287, 2837, 7, 16, 11, 6640, 2599, 198, 220, 220, 220, 257, 4454, 796, 7412, 23252, 13, 11146, 6030, 23252, 10786, 14, 11195, 14, 69, 17786, 11757, 39002, 14, 19472, 62, 66, 14, 28457, 14, 23252, 82, 14, 36098, 13, 926, 69, 3256, 2546, 28, 7857, 8, 198, 220, 220, 220, 266, 11, 289, 796, 257, 4454, 13, 11407, 1096, 7203, 15496, 2159, 4943, 220, 1303, 4697, 6300, 198, 220, 220, 220, 1364, 11, 1353, 11, 826, 11, 4220, 796, 257, 4454, 13, 1136, 65, 3524, 7203, 15496, 2159, 4943, 220, 1303, 2476, 350, 4146, 807, 13, 15, 13, 15, 198, 220, 220, 220, 1303, 86, 796, 826, 532, 1364, 198, 220, 220, 220, 1303, 71, 796, 4220, 532, 1353, 198, 220, 220, 220, 3601, 7, 86, 11, 289, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 611, 266, 1875, 939, 393, 289, 1875, 1802, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 6163, 62, 7857, 796, 2546, 628, 220, 220, 220, 3601, 7, 36098, 13, 7857, 8, 198, 220, 220, 220, 220, 198, 2, 3197, 2420, 287, 3641, 286, 35991, 939, 87, 3064, 220, 220, 220, 220, 220, 220, 220, 220, 198, 36098, 796, 7412, 23252, 13, 11146, 6030, 23252, 10786, 14, 11195, 14, 69, 17786, 11757, 39002, 14, 19472, 62, 66, 14, 28457, 14, 23252, 82, 14, 36098, 13, 926, 69, 3256, 2546, 28, 34213, 62, 7857, 8, 198, 198, 19334, 13, 5239, 19510, 2167, 12, 86, 1003, 17, 11, 6640, 12, 71, 1003, 17, 828, 366, 15496, 2159, 1600, 6070, 11639, 13424, 3256, 10369, 28, 36098, 8, 220, 1303, 4697, 6300, 198, 9600, 13, 21928, 10786, 16159, 12, 19892, 12, 11407, 1096, 13, 11134, 11537, 198, 198, 2, 19334, 13, 5239, 19510, 2167, 11, 6640, 828, 366, 15496, 2159, 1600, 6070, 11639, 13424, 3256, 18021, 11639, 3020, 3256, 10369, 28, 36098, 8, 198, 2, 9600, 13, 21928, 10786, 16159, 12, 3605, 263, 13, 11134, 11537, 198, 198, 9600, 13, 12860, 3419, 628, 198 ]
2.521739
621
from configs.Config import Config
[ 6738, 4566, 82, 13, 16934, 1330, 17056, 628 ]
4.375
8
import sys import pathlib import argparse import gzip import json import requests import datadiff import pysmata.loader as loader import pysmata.files if __name__ == "__main__": main()
[ 11748, 25064, 198, 11748, 3108, 8019, 198, 11748, 1822, 29572, 198, 11748, 308, 13344, 198, 11748, 33918, 198, 11748, 7007, 198, 11748, 4818, 324, 733, 198, 198, 11748, 279, 893, 76, 1045, 13, 29356, 355, 40213, 198, 11748, 279, 893, 76, 1045, 13, 16624, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 1388, 3419, 198 ]
3.098361
61
from rx import AnonymousObservable, Observable from rx.internal import extensionmethod @extensionmethod(Observable) def default_if_empty(self, default_value=None): """Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. res = obs = xs.defaultIfEmpty() obs = xs.defaultIfEmpty(False Keyword arguments: default_value -- The value to return if the sequence is empty. If not provided, this defaults to None. Returns an observable {Observable} sequence that contains the specified default value if the source is empty otherwise, the elements of the source itself. """ source = self return AnonymousObservable(subscribe)
[ 6738, 374, 87, 1330, 19200, 31310, 712, 540, 11, 19243, 540, 198, 6738, 374, 87, 13, 32538, 1330, 7552, 24396, 628, 198, 31, 2302, 3004, 24396, 7, 31310, 712, 540, 8, 198, 4299, 4277, 62, 361, 62, 28920, 7, 944, 11, 4277, 62, 8367, 28, 14202, 2599, 198, 220, 220, 220, 37227, 35561, 262, 4847, 286, 262, 7368, 8379, 393, 262, 7368, 1988, 198, 220, 220, 220, 287, 257, 2060, 1122, 8379, 611, 262, 8379, 318, 6565, 13, 628, 220, 220, 220, 581, 796, 10201, 796, 2124, 82, 13, 12286, 1532, 40613, 3419, 198, 220, 220, 220, 10201, 796, 2124, 82, 13, 12286, 1532, 40613, 7, 25101, 628, 220, 220, 220, 7383, 4775, 7159, 25, 198, 220, 220, 220, 4277, 62, 8367, 1377, 383, 1988, 284, 1441, 611, 262, 8379, 318, 6565, 13, 1002, 407, 198, 220, 220, 220, 220, 220, 220, 220, 2810, 11, 428, 26235, 284, 6045, 13, 628, 220, 220, 220, 16409, 281, 42550, 1391, 31310, 712, 540, 92, 8379, 326, 4909, 262, 7368, 198, 220, 220, 220, 4277, 1988, 611, 262, 2723, 318, 6565, 4306, 11, 262, 4847, 286, 262, 198, 220, 220, 220, 2723, 2346, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 2723, 796, 2116, 198, 220, 220, 220, 1441, 19200, 31310, 712, 540, 7, 7266, 12522, 8, 198 ]
3.428571
217
# coding: utf-8 """ CONS3RT Web API A CONS3RT ReSTful API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: [email protected] Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import cons3rt from cons3rt.api.test_assets_api import TestAssetsApi # noqa: E501 from cons3rt.rest import ApiException class TestTestAssetsApi(unittest.TestCase): """TestAssetsApi unit test stubs""" def test_add_test_asset_trusted_project(self): """Test case for add_test_asset_trusted_project """ pass def test_get_test_asset(self): """Test case for get_test_asset Retrieve test asset # noqa: E501 """ pass def test_get_test_assets(self): """Test case for get_test_assets List test assets # noqa: E501 """ pass def test_get_test_assets_expanded(self): """Test case for get_test_assets_expanded List all test assets, including project assets # noqa: E501 """ pass if __name__ == '__main__': unittest.main()
[ 2, 19617, 25, 3384, 69, 12, 23, 198, 198, 37811, 198, 220, 220, 220, 39537, 18, 14181, 5313, 7824, 628, 220, 220, 220, 317, 39537, 18, 14181, 797, 2257, 913, 7824, 220, 1303, 645, 20402, 25, 412, 33548, 628, 220, 220, 220, 383, 2196, 286, 262, 4946, 17614, 3188, 25, 352, 13, 15, 13, 15, 198, 220, 220, 220, 14039, 25, 8559, 31, 70, 328, 363, 5109, 12, 15388, 13, 785, 198, 220, 220, 220, 2980, 515, 416, 25, 3740, 1378, 9654, 15042, 12, 8612, 1352, 13, 13670, 198, 37811, 628, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 11748, 555, 715, 395, 198, 198, 11748, 762, 18, 17034, 198, 6738, 762, 18, 17034, 13, 15042, 13, 9288, 62, 19668, 62, 15042, 1330, 6208, 8021, 1039, 32, 14415, 220, 1303, 645, 20402, 25, 412, 33548, 198, 6738, 762, 18, 17034, 13, 2118, 1330, 5949, 72, 16922, 628, 198, 4871, 6208, 14402, 8021, 1039, 32, 14415, 7, 403, 715, 395, 13, 14402, 20448, 2599, 198, 220, 220, 220, 37227, 14402, 8021, 1039, 32, 14415, 4326, 1332, 17071, 82, 37811, 628, 220, 220, 220, 825, 1332, 62, 2860, 62, 9288, 62, 562, 316, 62, 2213, 8459, 62, 16302, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 1339, 329, 751, 62, 9288, 62, 562, 316, 62, 2213, 8459, 62, 16302, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 825, 1332, 62, 1136, 62, 9288, 62, 562, 316, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 1339, 329, 651, 62, 9288, 62, 562, 316, 628, 220, 220, 220, 220, 220, 220, 220, 4990, 30227, 1332, 11171, 220, 1303, 645, 20402, 25, 412, 33548, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 825, 1332, 62, 1136, 62, 9288, 62, 19668, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 1339, 329, 651, 62, 9288, 62, 19668, 628, 220, 220, 220, 220, 220, 220, 220, 7343, 1332, 6798, 220, 1303, 645, 20402, 25, 412, 33548, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 825, 1332, 62, 1136, 62, 9288, 62, 19668, 62, 11201, 12249, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 1339, 329, 651, 62, 9288, 62, 19668, 62, 11201, 12249, 628, 220, 220, 220, 220, 220, 220, 220, 7343, 477, 1332, 6798, 11, 1390, 1628, 6798, 220, 1303, 645, 20402, 25, 412, 33548, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.376033
484
from qtpy import QtCore from qtpy.QtGui import * from qtpy.QtWidgets import * from cidan.GUI.ListWidgets.ClassItemModule import ClassItemModule from cidan.GUI.ListWidgets.ClassItemWidget import ClassItemWidget class ClassListModule(QFrame): """ Its the class list in the Class modification tab """ # def set_current_select(self, num): # self.list.setCurrentIndex(self.model.index(int(num - 1), 0)) # self.class_time_check_list[num - 1] = not self.class_time_check_list[num - 1] # self.class_item_list[num - 1].select_check_box() # # self.class_module_list[num-1]. # if self.display_time: # self.class_item_list[num - 1].select_time_check_box() # def change(self): # # This is a way of running the select class function when a checkbox is clicked there # # needed to be a work around because can't just connect a signal to it # for num, item, check_val in zip(range(1,len(self.class_time_check_list)+1),self.class_item_list,self.class_time_check_list): # if item.checkState() != check_val: # self.class_time_check_list[num-1] = item.checkState() # if item.checkState(): # self.classifier_tab.selectRoi(num) # else: # self.classifier_tab.deselectRoi(num)
[ 6738, 10662, 83, 9078, 1330, 33734, 14055, 198, 6738, 10662, 83, 9078, 13, 48, 83, 8205, 72, 1330, 1635, 198, 6738, 10662, 83, 9078, 13, 48, 83, 54, 312, 11407, 1330, 1635, 198, 198, 6738, 269, 27610, 13, 40156, 13, 8053, 54, 312, 11407, 13, 9487, 7449, 26796, 1330, 5016, 7449, 26796, 198, 6738, 269, 27610, 13, 40156, 13, 8053, 54, 312, 11407, 13, 9487, 7449, 38300, 1330, 5016, 7449, 38300, 628, 198, 4871, 5016, 8053, 26796, 7, 48, 19778, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6363, 262, 1398, 1351, 287, 262, 5016, 17613, 7400, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 825, 900, 62, 14421, 62, 19738, 7, 944, 11, 997, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 4868, 13, 2617, 11297, 15732, 7, 944, 13, 19849, 13, 9630, 7, 600, 7, 22510, 532, 352, 828, 657, 4008, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 4871, 62, 2435, 62, 9122, 62, 4868, 58, 22510, 532, 352, 60, 796, 407, 2116, 13, 4871, 62, 2435, 62, 9122, 62, 4868, 58, 22510, 532, 352, 60, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13, 4871, 62, 9186, 62, 4868, 58, 22510, 532, 352, 4083, 19738, 62, 9122, 62, 3524, 3419, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2116, 13, 4871, 62, 21412, 62, 4868, 58, 22510, 12, 16, 4083, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 611, 2116, 13, 13812, 62, 2435, 25, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 62, 9186, 62, 4868, 58, 22510, 532, 352, 4083, 19738, 62, 2435, 62, 9122, 62, 3524, 3419, 198, 220, 220, 220, 1303, 825, 1487, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 770, 318, 257, 835, 286, 2491, 262, 2922, 1398, 2163, 618, 257, 2198, 3524, 318, 28384, 612, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 2622, 284, 307, 257, 670, 1088, 780, 460, 470, 655, 2018, 257, 6737, 284, 340, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 329, 997, 11, 2378, 11, 2198, 62, 2100, 287, 19974, 7, 9521, 7, 16, 11, 11925, 7, 944, 13, 4871, 62, 2435, 62, 9122, 62, 4868, 47762, 16, 828, 944, 13, 4871, 62, 9186, 62, 4868, 11, 944, 13, 4871, 62, 2435, 62, 9122, 62, 4868, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2378, 13, 9122, 9012, 3419, 14512, 2198, 62, 2100, 25, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 62, 2435, 62, 9122, 62, 4868, 58, 22510, 12, 16, 60, 796, 2378, 13, 9122, 9012, 3419, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2378, 13, 9122, 9012, 33529, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 7483, 62, 8658, 13, 19738, 15450, 72, 7, 22510, 8, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4871, 7483, 62, 8658, 13, 67, 2771, 801, 15450, 72, 7, 22510, 8, 198 ]
2.332759
580
"""Implementation of the replaceitem command.""" from mcipc.rcon.be.types import EntityEquipmentSlot, ReplaceMode from mcipc.rcon.client import Client from mcipc.rcon.proxy import CommandProxy from mcipc.rcon.types import Vec3 __all__ = ['ReplaceitemProxy', 'replaceitem'] class ReplaceitemProxy(CommandProxy): """Proxy for replaceitem related commands.""" # pylint: disable=R0913 def block(self, position: Vec3, slot_id: int, item_name: str, amount: int = None, data: int = None, components: dict = None, *, old_item_handling: ReplaceMode = None) -> str: """Replaces a block.""" command = ['block', position, 'slot.container', slot_id] if old_item_handling is not None: command.append(old_item_handling) return self._run(*command, item_name, amount, data, components) def entity(self, target: str, slot_type: EntityEquipmentSlot, slot_id: int, item_name: str, amount: int = None, data: int = None, components: dict = None, *, old_item_handling: ReplaceMode = None) -> str: """Replaces an item.""" command = ['entity', target, slot_type, slot_id] if old_item_handling is not None: command.append(old_item_handling) return self._run(*command, item_name, amount, data, components) def replaceitem(self: Client) -> ReplaceitemProxy: """Delegates to a :py:class:`mcipc.rcon.be.commands.replaceitem.ReplaceitemProxy` """ return ReplaceitemProxy(self, 'replaceitem')
[ 37811, 3546, 32851, 286, 262, 6330, 9186, 3141, 526, 15931, 198, 198, 6738, 36650, 541, 66, 13, 81, 1102, 13, 1350, 13, 19199, 1330, 20885, 23588, 4667, 38963, 11, 40177, 19076, 198, 6738, 36650, 541, 66, 13, 81, 1102, 13, 16366, 1330, 20985, 198, 6738, 36650, 541, 66, 13, 81, 1102, 13, 36436, 1330, 9455, 44148, 198, 6738, 36650, 541, 66, 13, 81, 1102, 13, 19199, 1330, 38692, 18, 628, 198, 834, 439, 834, 796, 37250, 3041, 5372, 9186, 44148, 3256, 705, 33491, 9186, 20520, 628, 198, 4871, 40177, 9186, 44148, 7, 21575, 44148, 2599, 198, 220, 220, 220, 37227, 44148, 329, 6330, 9186, 3519, 9729, 526, 15931, 628, 220, 220, 220, 1303, 279, 2645, 600, 25, 15560, 28, 49, 2931, 1485, 198, 220, 220, 220, 825, 2512, 7, 944, 11, 2292, 25, 38692, 18, 11, 10852, 62, 312, 25, 493, 11, 2378, 62, 3672, 25, 965, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2033, 25, 493, 796, 6045, 11, 1366, 25, 493, 796, 6045, 11, 6805, 25, 8633, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 11, 1468, 62, 9186, 62, 4993, 1359, 25, 40177, 19076, 796, 6045, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3041, 23625, 257, 2512, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 3141, 796, 37250, 9967, 3256, 2292, 11, 705, 43384, 13, 34924, 3256, 10852, 62, 312, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1468, 62, 9186, 62, 4993, 1359, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3141, 13, 33295, 7, 727, 62, 9186, 62, 4993, 1359, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 5143, 46491, 21812, 11, 2378, 62, 3672, 11, 2033, 11, 1366, 11, 6805, 8, 628, 220, 220, 220, 825, 9312, 7, 944, 11, 2496, 25, 965, 11, 10852, 62, 4906, 25, 20885, 23588, 4667, 38963, 11, 10852, 62, 312, 25, 493, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2378, 62, 3672, 25, 965, 11, 2033, 25, 493, 796, 6045, 11, 1366, 25, 493, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6805, 25, 8633, 796, 6045, 11, 1635, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1468, 62, 9186, 62, 4993, 1359, 25, 40177, 19076, 796, 6045, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3041, 23625, 281, 2378, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 3141, 796, 37250, 26858, 3256, 2496, 11, 10852, 62, 4906, 11, 10852, 62, 312, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1468, 62, 9186, 62, 4993, 1359, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3141, 13, 33295, 7, 727, 62, 9186, 62, 4993, 1359, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 5143, 46491, 21812, 11, 2378, 62, 3672, 11, 2033, 11, 1366, 11, 6805, 8, 628, 198, 4299, 6330, 9186, 7, 944, 25, 20985, 8, 4613, 40177, 9186, 44148, 25, 198, 220, 220, 220, 37227, 5005, 37061, 284, 257, 198, 220, 220, 220, 1058, 9078, 25, 4871, 25, 63, 23209, 541, 66, 13, 81, 1102, 13, 1350, 13, 9503, 1746, 13, 33491, 9186, 13, 3041, 5372, 9186, 44148, 63, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1441, 40177, 9186, 44148, 7, 944, 11, 705, 33491, 9186, 11537, 198 ]
2.566285
611
if __name__ == '__main__': fun_while()
[ 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1257, 62, 4514, 3419, 198, 220, 220, 220, 220 ]
1.96
25
print(df.groupby('station').temperature.min()) print(df.groupby('station').temperature.max()) print(df.groupby('station').temperature.std())
[ 4798, 7, 7568, 13, 8094, 1525, 10786, 17529, 27691, 11498, 21069, 13, 1084, 28955, 198, 4798, 7, 7568, 13, 8094, 1525, 10786, 17529, 27691, 11498, 21069, 13, 9806, 28955, 198, 4798, 7, 7568, 13, 8094, 1525, 10786, 17529, 27691, 11498, 21069, 13, 19282, 28955, 198 ]
3.133333
45
import pytest import dependencies import sys sys.path.insert(0, dependencies.program_path) from src import RoomObject as rObject from src import Room as r
[ 11748, 12972, 9288, 198, 11748, 20086, 198, 11748, 25064, 220, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 20086, 13, 23065, 62, 6978, 8, 198, 198, 6738, 12351, 1330, 10096, 10267, 355, 374, 10267, 198, 6738, 12351, 1330, 10096, 355, 374, 198 ]
3.651163
43
from django.db import models
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 628, 628, 628, 628, 628 ]
3.166667
12
r""" Given a positive integer num, write a function which returns True if num is a perfect square else False. Follow up: Do not use any built-in library function such as sqrt. Example 1: Input: num = 16 Output: true Example 2: Input: num = 14 Output: false Constraints: 1 <= num <= 2^31 - 1 """ # Submitted: # https://leetcode.com/submissions/detail/341903032/?from=/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3324/ # https://leetcode.com/submissions/detail/341905412/?from=/explore/challenge/card/may-leetcoding-challenge/535/week-2-may-8th-may-14th/3324/ from collections import defaultdict from typing import Iterator, DefaultDict, Callable # ceil(sqrt(2**31 - 1)) max_sqrt = 46341 squares = squares_gen()
[ 81, 37811, 198, 15056, 257, 3967, 18253, 997, 11, 3551, 257, 2163, 543, 5860, 6407, 611, 997, 318, 257, 2818, 6616, 2073, 10352, 13, 198, 198, 7155, 510, 25, 2141, 407, 779, 597, 3170, 12, 259, 5888, 2163, 884, 355, 19862, 17034, 13, 628, 198, 16281, 352, 25, 198, 198, 20560, 25, 997, 796, 1467, 198, 26410, 25, 2081, 198, 198, 16281, 362, 25, 198, 198, 20560, 25, 997, 796, 1478, 198, 26410, 25, 3991, 628, 198, 3103, 2536, 6003, 25, 628, 220, 220, 220, 352, 19841, 997, 19841, 362, 61, 3132, 532, 352, 198, 37811, 198, 198, 2, 3834, 3291, 25, 198, 2, 3740, 1378, 293, 316, 8189, 13, 785, 14, 7266, 8481, 14, 49170, 14, 2682, 19782, 1270, 2624, 20924, 6738, 33223, 20676, 382, 14, 36747, 3540, 14, 9517, 14, 11261, 12, 293, 14784, 7656, 12, 36747, 3540, 14, 44465, 14, 10464, 12, 17, 12, 11261, 12, 23, 400, 12, 11261, 12, 1415, 400, 14, 2091, 1731, 14, 198, 2, 3740, 1378, 293, 316, 8189, 13, 785, 14, 7266, 8481, 14, 49170, 14, 2682, 1129, 2713, 39226, 20924, 6738, 33223, 20676, 382, 14, 36747, 3540, 14, 9517, 14, 11261, 12, 293, 14784, 7656, 12, 36747, 3540, 14, 44465, 14, 10464, 12, 17, 12, 11261, 12, 23, 400, 12, 11261, 12, 1415, 400, 14, 2091, 1731, 14, 198, 198, 6738, 17268, 1330, 4277, 11600, 198, 6738, 19720, 1330, 40806, 1352, 11, 15161, 35, 713, 11, 4889, 540, 198, 198, 2, 2906, 346, 7, 31166, 17034, 7, 17, 1174, 3132, 532, 352, 4008, 198, 9806, 62, 31166, 17034, 796, 6337, 33660, 628, 198, 198, 16485, 3565, 796, 24438, 62, 5235, 3419, 628 ]
2.801471
272
from django.db import models from ckeditor.fields import RichTextField # Create your models here.
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 269, 9091, 2072, 13, 25747, 1330, 3998, 8206, 15878, 198, 198, 2, 13610, 534, 4981, 994, 13, 628 ]
3.703704
27
from __future__ import absolute_import from .number import randomPN from .gid import calcAge from .passwd import randomPW
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 6738, 764, 17618, 1330, 4738, 13137, 198, 6738, 764, 70, 312, 1330, 42302, 23396, 198, 6738, 764, 6603, 16993, 1330, 4738, 47, 54 ]
3.69697
33
# -*- coding: utf-8 -*- import django from django.conf import settings from django.utils.functional import keep_lazy if django.VERSION >= (1, 5): from django.contrib.auth import get_user_model AUTH_USER_MODEL = settings.AUTH_USER_MODEL get_user_model = keep_lazy(AUTH_USER_MODEL)(get_user_model) get_username_field = keep_lazy(str)(lambda: get_user_model().USERNAME_FIELD) else: from django.contrib.auth.models import User AUTH_USER_MODEL = 'auth.User'
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 11748, 42625, 14208, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 26791, 13, 45124, 1330, 1394, 62, 75, 12582, 198, 198, 361, 42625, 14208, 13, 43717, 18189, 357, 16, 11, 642, 2599, 198, 220, 220, 220, 422, 42625, 14208, 13, 3642, 822, 13, 18439, 1330, 651, 62, 7220, 62, 19849, 198, 220, 220, 220, 37195, 62, 29904, 62, 33365, 3698, 796, 6460, 13, 32, 24318, 62, 29904, 62, 33365, 3698, 198, 220, 220, 220, 651, 62, 7220, 62, 19849, 796, 1394, 62, 75, 12582, 7, 32, 24318, 62, 29904, 62, 33365, 3698, 5769, 1136, 62, 7220, 62, 19849, 8, 198, 220, 220, 220, 651, 62, 29460, 62, 3245, 796, 1394, 62, 75, 12582, 7, 2536, 5769, 50033, 25, 651, 62, 7220, 62, 19849, 22446, 29904, 20608, 62, 44603, 8, 198, 17772, 25, 198, 220, 220, 220, 422, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 198, 220, 220, 220, 37195, 62, 29904, 62, 33365, 3698, 796, 705, 18439, 13, 12982, 6, 628 ]
2.603261
184
from Membership import sad,memberships import defuzzify import rule import itertools if __name__ == "__main__": x = FLC(70, 15, 30) x.evaluate()
[ 6738, 37939, 1330, 6507, 11, 30814, 5748, 198, 11748, 825, 4715, 1958, 198, 11748, 3896, 198, 11748, 340, 861, 10141, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 2124, 796, 376, 5639, 7, 2154, 11, 1315, 11, 1542, 8, 198, 220, 220, 220, 2124, 13, 49786, 3419, 198 ]
2.736842
57
import argparse from FCNetwork import FCNetwork if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument( "--sizes", default=[ # 3*28*28, # 2*28*28, 14*28], type=list) parser.add_argument( "--labels_path", default='5_classes/labels', type=str) parser.add_argument( "--pretrained_path", default='5_classes/checkpoints_fc_3/pass_25.ckpt', type=str) parser.add_argument( "--test_data_path", default='5_classes/test', type=str) parser.add_argument( "--output_path", default='./', type=str) parser.add_argument( "--use_gpu", default=True, type=bool) parser.add_argument( "--img_size", default=28, type=int) args = parser.parse_args() nn = FCNetwork(label_path=args.labels_path, pretrained_path=args.pretrained_path, use_gpu=args.use_gpu, img_size=args.img_size) nn.create(args.sizes) statisctic_report = nn.get_statistics(args.test_data_path) print(statisctic_report)
[ 11748, 1822, 29572, 198, 6738, 10029, 26245, 1330, 10029, 26245, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 82, 4340, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 513, 9, 2078, 9, 2078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 362, 9, 2078, 9, 2078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1478, 9, 2078, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 4868, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 23912, 1424, 62, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 11639, 20, 62, 37724, 14, 23912, 1424, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 2536, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 5310, 13363, 62, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 11639, 20, 62, 37724, 14, 9122, 13033, 62, 16072, 62, 18, 14, 6603, 62, 1495, 13, 694, 457, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 2536, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 9288, 62, 7890, 62, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 11639, 20, 62, 37724, 14, 9288, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 2536, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 22915, 62, 6978, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 4458, 14, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 2536, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 1904, 62, 46999, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 30388, 8, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 9600, 62, 7857, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 4277, 28, 2078, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 28, 600, 8, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 299, 77, 796, 10029, 26245, 7, 18242, 62, 6978, 28, 22046, 13, 23912, 1424, 62, 6978, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2181, 13363, 62, 6978, 28, 22046, 13, 5310, 13363, 62, 6978, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 779, 62, 46999, 28, 22046, 13, 1904, 62, 46999, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33705, 62, 7857, 28, 22046, 13, 9600, 62, 7857, 8, 198, 220, 220, 220, 299, 77, 13, 17953, 7, 22046, 13, 82, 4340, 8, 198, 220, 220, 220, 1185, 271, 11048, 62, 13116, 796, 299, 77, 13, 1136, 62, 14269, 3969, 7, 22046, 13, 9288, 62, 7890, 62, 6978, 8, 198, 220, 220, 220, 3601, 7, 14269, 271, 11048, 62, 13116, 8, 198 ]
1.895801
643
''' Copyright 2022 Airbus SAS Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ''' import unittest import numpy as np import pandas as pd from os.path import join, dirname from pandas import read_csv from sos_trades_core.execution_engine.execution_engine import ExecutionEngine # for graph in graph_list: # graph.to_plotly().show()
[ 7061, 6, 198, 15269, 33160, 39173, 35516, 198, 198, 26656, 15385, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 5832, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 1639, 743, 7330, 257, 4866, 286, 262, 13789, 379, 628, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 198, 28042, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 17080, 6169, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 54, 10554, 12425, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 6214, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2475, 20597, 739, 262, 13789, 13, 198, 7061, 6, 198, 11748, 555, 715, 395, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 19798, 292, 355, 279, 67, 198, 6738, 28686, 13, 6978, 1330, 4654, 11, 26672, 3672, 198, 6738, 19798, 292, 1330, 1100, 62, 40664, 198, 198, 6738, 264, 418, 62, 2213, 2367, 62, 7295, 13, 18558, 1009, 62, 18392, 13, 18558, 1009, 62, 18392, 1330, 37497, 13798, 198, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 329, 4823, 287, 4823, 62, 4868, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 1462, 62, 29487, 306, 22446, 12860, 3419, 198 ]
3.401639
244
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # 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 google.apphosting.tools.devappserver2.inotify_file_watcher.""" import logging import os import os.path import shutil import sys import tempfile import unittest from google.appengine.tools.devappserver2 import inotify_file_watcher @unittest.skipUnless(sys.platform.startswith('linux'), 'requires linux') class TestInotifyFileWatcher(unittest.TestCase): """Tests for inotify_file_watcher.InotifyFileWatcher.""" def _create_directory_tree(self, path, num_directories): """Create exactly num_directories subdirectories in path.""" assert num_directories >= 0 if not num_directories: return self._create_directory(path) num_directories -= 1 # Divide the remaining number of directories to create among 4 # subdirectories in an approximate even fashion. for i in range(4, 0, -1): sub_dir_size = num_directories/i self._create_directory_tree(os.path.join(path, 'dir%d' % i), sub_dir_size) num_directories -= sub_dir_size def test_subdirectory_deleted(self): """Tests that internal _directory_to_subdirs is updated on delete.""" path = self._create_directory('test') sub_path = self._create_directory('test/test2') self._watcher.start() self.assertEqual( set([sub_path]), self._watcher._directory_to_subdirs[path]) os.rmdir(sub_path) self.assertEqual( set([sub_path]), self._watcher._get_changed_paths()) self.assertEqual( set(), self._watcher._directory_to_subdirs[path]) os.rmdir(path) self.assertEqual( set([path]), self._watcher._get_changed_paths()) if __name__ == '__main__': unittest.main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 198, 2, 15069, 4343, 3012, 3457, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 198, 37811, 51, 3558, 329, 23645, 13, 1324, 4774, 278, 13, 31391, 13, 7959, 1324, 15388, 17, 13, 259, 313, 1958, 62, 7753, 62, 86, 34734, 526, 15931, 628, 198, 11748, 18931, 198, 11748, 28686, 198, 11748, 28686, 13, 6978, 198, 11748, 4423, 346, 198, 11748, 25064, 198, 11748, 20218, 7753, 198, 11748, 555, 715, 395, 198, 198, 6738, 23645, 13, 1324, 18392, 13, 31391, 13, 7959, 1324, 15388, 17, 1330, 287, 313, 1958, 62, 7753, 62, 86, 34734, 628, 198, 31, 403, 715, 395, 13, 48267, 28042, 7, 17597, 13, 24254, 13, 9688, 2032, 342, 10786, 23289, 33809, 705, 47911, 32639, 11537, 198, 4871, 6208, 818, 313, 1958, 8979, 54, 34734, 7, 403, 715, 395, 13, 14402, 20448, 2599, 198, 220, 37227, 51, 3558, 329, 287, 313, 1958, 62, 7753, 62, 86, 34734, 13, 818, 313, 1958, 8979, 54, 34734, 526, 15931, 628, 220, 825, 4808, 17953, 62, 34945, 62, 21048, 7, 944, 11, 3108, 11, 997, 62, 12942, 1749, 2599, 198, 220, 220, 220, 37227, 16447, 3446, 997, 62, 12942, 1749, 850, 12942, 1749, 287, 3108, 526, 15931, 198, 220, 220, 220, 6818, 997, 62, 12942, 1749, 18189, 657, 198, 220, 220, 220, 611, 407, 997, 62, 12942, 1749, 25, 198, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 2116, 13557, 17953, 62, 34945, 7, 6978, 8, 198, 220, 220, 220, 997, 62, 12942, 1749, 48185, 352, 198, 220, 220, 220, 1303, 46894, 262, 5637, 1271, 286, 29196, 284, 2251, 1871, 604, 198, 220, 220, 220, 1303, 850, 12942, 1749, 287, 281, 27665, 772, 6977, 13, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 19, 11, 657, 11, 532, 16, 2599, 198, 220, 220, 220, 220, 220, 850, 62, 15908, 62, 7857, 796, 997, 62, 12942, 1749, 14, 72, 198, 220, 220, 220, 220, 220, 2116, 13557, 17953, 62, 34945, 62, 21048, 7, 418, 13, 6978, 13, 22179, 7, 6978, 11, 705, 15908, 4, 67, 6, 4064, 1312, 828, 850, 62, 15908, 62, 7857, 8, 198, 220, 220, 220, 220, 220, 997, 62, 12942, 1749, 48185, 850, 62, 15908, 62, 7857, 628, 220, 825, 1332, 62, 7266, 34945, 62, 2934, 33342, 7, 944, 2599, 198, 220, 220, 220, 37227, 51, 3558, 326, 5387, 4808, 34945, 62, 1462, 62, 7266, 15908, 82, 318, 6153, 319, 12233, 526, 15931, 198, 220, 220, 220, 3108, 796, 2116, 13557, 17953, 62, 34945, 10786, 9288, 11537, 198, 220, 220, 220, 850, 62, 6978, 796, 2116, 13557, 17953, 62, 34945, 10786, 9288, 14, 9288, 17, 11537, 198, 220, 220, 220, 2116, 13557, 86, 34734, 13, 9688, 3419, 628, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 198, 220, 220, 220, 220, 220, 220, 220, 900, 26933, 7266, 62, 6978, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 86, 34734, 13557, 34945, 62, 1462, 62, 7266, 15908, 82, 58, 6978, 12962, 198, 220, 220, 220, 28686, 13, 81, 9132, 343, 7, 7266, 62, 6978, 8, 198, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 198, 220, 220, 220, 220, 220, 220, 220, 900, 26933, 7266, 62, 6978, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 86, 34734, 13557, 1136, 62, 40985, 62, 6978, 82, 28955, 198, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 198, 220, 220, 220, 220, 220, 220, 220, 900, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 86, 34734, 13557, 34945, 62, 1462, 62, 7266, 15908, 82, 58, 6978, 12962, 628, 220, 220, 220, 28686, 13, 81, 9132, 343, 7, 6978, 8, 198, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 198, 220, 220, 220, 220, 220, 220, 220, 900, 26933, 6978, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 86, 34734, 13557, 1136, 62, 40985, 62, 6978, 82, 28955, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.818519
810
# # Copyright 2016 Google Inc. # # 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. DATASTORE_USER = 'User' DATASTORE_PHOTO = 'Photo' DATASTORE_MOVIE = 'Movie' DATASTORE_ORIENTED_IMAGE = 'ProcessedImage' # Movie daemon properties TOTALITY_IMAGE_TYPE = "totality" TOTALITY_ORDERING_PROPERTY = "adj_timestamp" ALLOWED_ENTITIES = { DATASTORE_USER: { 'deleted': {'restricted': True}, 'deleted_date': {'restricted': True}, 'geolat': {'restricted': False}, 'geolng': {'restricted': False}, 'badges': {'restricted': True} }, DATASTORE_PHOTO: { 'gcs_upload_failed': {'restricted': False}, 'in_gcs': {'restricted': False}, 'processed': {'restricted': False}, 'uploaded_date': {'restricted': False}, 'user': {'restricted': True}, 'image_type': {'restricted': True}, 'width': {'restricted': True}, 'height': {'restricted': True}, 'image_datetime': {'restricted': True}, 'lat': {'restricted': True}, 'lon': {'restricted': True}, 'exif_json': {'restricted': True}, 'reviews': {'restricted': True}, 'num_reviews': {'restricted': True}, 'upload_session_id': {'restricted': True}, 'image_bucket': {'restricted': True}, 'original_filename': {'restricted': True}, 'confirmed_by_user': {'restricted': True}, 'is_adult_content': {'restricted': True}, 'public_agree': {'restricted': True}, 'cc0_agree': {'restricted': True}, 'anonymous_photo': {'restricted': True}, 'equatorial_mount': { 'restricted': True}, 'camera_datetime': { 'restricted': True}, 'datetime_repaired': { 'restricted': True}, }, DATASTORE_ORIENTED_IMAGE: { 'upload_date': {'restricted': False}, 'original_photo': {'restricted': True}, 'img_type': {'restricted': False}, TOTALITY_ORDERING_PROPERTY: {'restricted': False}, }, DATASTORE_MOVIE: { 'contributors': {'restricted': False}, }, } JSON_MAPPINGS = { DATASTORE_USER: ( ('geolat', 'v', float), ('geolng', 'h', float), ), } def validate_data(data, allow_restricted_fields, kind): """ Check that all the fields in `data` correspond to fields in `ALLOWED_ENTITIES[kind]`. `data` is a dictionary/dictionary subclass, `kind` is the datastore entity kind. `allow_restricted_fields` is a bool. """ if kind not in ALLOWED_ENTITIES: print "invalid kind:", kind return False for key in data: if key not in ALLOWED_ENTITIES[kind]: print "invalid key:", key return False if (ALLOWED_ENTITIES[kind][key]['restricted'] and not allow_restricted_fields): print "invalid restricted", kind, key, allow_restricted_fields return False return True
[ 2, 198, 2, 15069, 1584, 3012, 3457, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 35, 1404, 11262, 6965, 62, 29904, 796, 705, 12982, 6, 198, 35, 1404, 11262, 6965, 62, 11909, 26631, 796, 705, 6191, 6, 198, 35, 1404, 11262, 6965, 62, 44, 8874, 10008, 796, 705, 25097, 6, 198, 35, 1404, 11262, 6965, 62, 1581, 28495, 1961, 62, 3955, 11879, 796, 705, 18709, 276, 5159, 6, 198, 198, 2, 15875, 33386, 6608, 198, 51, 27510, 9050, 62, 3955, 11879, 62, 25216, 796, 366, 83, 313, 1483, 1, 198, 51, 27510, 9050, 62, 12532, 1137, 2751, 62, 4805, 31054, 9936, 796, 366, 41255, 62, 16514, 27823, 1, 198, 198, 7036, 3913, 1961, 62, 3525, 30383, 796, 1391, 198, 220, 220, 220, 360, 1404, 11262, 6965, 62, 29904, 25, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2934, 33342, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2934, 33342, 62, 4475, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 469, 349, 265, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 469, 349, 782, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14774, 3212, 10354, 1391, 6, 49343, 10354, 6407, 92, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 360, 1404, 11262, 6965, 62, 11909, 26631, 25, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 70, 6359, 62, 25850, 62, 47904, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 259, 62, 70, 6359, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14681, 276, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 25850, 276, 62, 4475, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7220, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9060, 62, 4906, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 10394, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 17015, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9060, 62, 19608, 8079, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15460, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14995, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1069, 361, 62, 17752, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 19023, 82, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 22510, 62, 19023, 82, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 25850, 62, 29891, 62, 312, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9060, 62, 27041, 316, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14986, 62, 34345, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 36349, 62, 1525, 62, 7220, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 271, 62, 49922, 62, 11299, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 11377, 62, 49221, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 535, 15, 62, 49221, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 272, 6704, 62, 23074, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 4853, 21592, 62, 14948, 10354, 1391, 705, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 25695, 62, 19608, 8079, 10354, 1391, 705, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 19608, 8079, 62, 7856, 9820, 10354, 1391, 705, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 360, 1404, 11262, 6965, 62, 1581, 28495, 1961, 62, 3955, 11879, 25, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 25850, 62, 4475, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14986, 62, 23074, 10354, 1391, 6, 49343, 10354, 6407, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9600, 62, 4906, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 36247, 9050, 62, 12532, 1137, 2751, 62, 4805, 31054, 9936, 25, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 360, 1404, 11262, 6965, 62, 44, 8874, 10008, 25, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3642, 2455, 669, 10354, 1391, 6, 49343, 10354, 10352, 5512, 198, 220, 220, 220, 8964, 198, 92, 198, 198, 40386, 62, 44, 24805, 20754, 796, 1391, 198, 220, 220, 220, 360, 1404, 11262, 6965, 62, 29904, 25, 357, 198, 220, 220, 220, 220, 220, 220, 220, 19203, 469, 349, 265, 3256, 705, 85, 3256, 12178, 828, 198, 220, 220, 220, 220, 220, 220, 220, 19203, 469, 349, 782, 3256, 705, 71, 3256, 12178, 828, 198, 220, 220, 220, 10612, 198, 92, 198, 198, 4299, 26571, 62, 7890, 7, 7890, 11, 1249, 62, 49343, 62, 25747, 11, 1611, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 326, 477, 262, 7032, 287, 4600, 7890, 63, 6053, 284, 7032, 287, 198, 220, 220, 220, 4600, 7036, 3913, 1961, 62, 3525, 30383, 58, 11031, 60, 44646, 4600, 7890, 63, 318, 257, 22155, 14, 67, 14188, 47611, 11, 4600, 11031, 63, 198, 220, 220, 220, 318, 262, 4818, 459, 382, 9312, 1611, 13, 4600, 12154, 62, 49343, 62, 25747, 63, 318, 257, 20512, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 1611, 407, 287, 11096, 3913, 1961, 62, 3525, 30383, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 259, 12102, 1611, 25, 1600, 1611, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 329, 1994, 287, 1366, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1994, 407, 287, 11096, 3913, 1961, 62, 3525, 30383, 58, 11031, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 259, 12102, 1994, 25, 1600, 1994, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 7036, 3913, 1961, 62, 3525, 30383, 58, 11031, 7131, 2539, 7131, 6, 49343, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 407, 1249, 62, 49343, 62, 25747, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 259, 12102, 10770, 1600, 1611, 11, 1994, 11, 1249, 62, 49343, 62, 25747, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 1441, 6407, 198 ]
2.473338
1,369
from Hackdavis.ab_recipes import Recipes # name, type, ingredients, url if __name__ == "__main__": s = Simplyrecipes('https://www.simplyrecipes.com/recipes/mexican_red_chili_sauce/') print(s.find_ingredients())
[ 6738, 18281, 67, 23401, 13, 397, 62, 8344, 18636, 1330, 44229, 198, 198, 2, 1438, 11, 2099, 11, 9391, 11, 19016, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 264, 796, 17973, 8344, 18636, 10786, 5450, 1378, 2503, 13, 14323, 2145, 8344, 18636, 13, 785, 14, 8344, 18636, 14, 76, 1069, 7490, 62, 445, 62, 354, 2403, 62, 82, 559, 344, 14, 11537, 198, 220, 220, 220, 3601, 7, 82, 13, 19796, 62, 278, 23320, 28955 ]
2.619048
84
# -*- coding: utf-8 -*- from zope.interface import alsoProvides from collective.transmogrifier.transmogrifier import Transmogrifier from plone.protect.interfaces import IDisableCSRFProtection from Products.Five.browser import BrowserView
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 6738, 1976, 3008, 13, 39994, 1330, 635, 15946, 1460, 198, 198, 6738, 10098, 13, 7645, 76, 519, 81, 7483, 13, 7645, 76, 519, 81, 7483, 1330, 3602, 76, 519, 81, 7483, 198, 6738, 458, 505, 13, 35499, 13, 3849, 32186, 1330, 4522, 43942, 7902, 32754, 19703, 3213, 198, 6738, 18675, 13, 20029, 13, 40259, 1330, 34270, 7680, 628 ]
3.333333
72
import logging import re import hashlib from appAux import loadFile, toHex logger = logging.getLogger(__name__)
[ 11748, 18931, 198, 11748, 302, 198, 11748, 12234, 8019, 198, 6738, 598, 32, 2821, 1330, 3440, 8979, 11, 284, 39, 1069, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8 ]
3.111111
36
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Feb 13 22:07:00 2021 @authors: Ali Kamali Sara Baradaran Mahdi Heidari """ import angr,claripy
[ 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, 198, 41972, 319, 7031, 3158, 1511, 2534, 25, 2998, 25, 405, 33448, 198, 198, 31, 41617, 25, 12104, 12670, 7344, 220, 198, 197, 220, 24799, 2409, 324, 19173, 220, 198, 197, 220, 8882, 10989, 679, 312, 2743, 198, 198, 37811, 628, 198, 11748, 281, 2164, 11, 565, 283, 541, 88, 198, 220, 220, 220, 220, 198, 220, 220, 198 ]
2.141176
85
from flask import Flask, request, abort from datetime import datetime import pytz app = Flask(__name__) @app.route('/') if __name__ == '__main__': app.run(ssl_context=("/etc/demo/ssl/blueapron.crt", "/etc/demo/ssl/blueapron.key"), host='0.0.0.0')
[ 6738, 42903, 1330, 46947, 11, 2581, 11, 15614, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 11748, 12972, 22877, 628, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 628, 628, 198, 31, 1324, 13, 38629, 10786, 14, 11537, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 598, 13, 5143, 7, 45163, 62, 22866, 28, 7203, 14, 14784, 14, 9536, 78, 14, 45163, 14, 17585, 499, 1313, 13, 6098, 83, 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, 12813, 14784, 14, 9536, 78, 14, 45163, 14, 17585, 499, 1313, 13, 2539, 12340, 2583, 11639, 15, 13, 15, 13, 15, 13, 15, 11537, 198 ]
2.20155
129
from probability import with_probability import random
[ 6738, 12867, 1330, 351, 62, 1676, 65, 1799, 198, 11748, 4738, 628 ]
4.666667
12
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" import os import re from setuptools import find_packages, setup REQUIREMENTS = [] SETUP_REQUIREMENTS = [] TEST_REQUIREMENTS = [] DEV_REQUIREMENTS = ["bumpversion", "pre-commit", "tox"] with open("README.rst") as readme_file: README = readme_file.read() with open(os.path.join("{{ cookiecutter.project_name }}", '__version__.py'), 'rt') as f: VERSION = re.search(r"""__version__\s=\s['"](.+)['"]""", f.read()).group(1) {%- set license_classifiers = { "MIT": "License :: OSI Approved :: MIT License", "BSD": "License :: OSI Approved :: BSD License", "ISC": "License :: OSI Approved :: ISC License (ISCL)" } %} setup( author="{{ cookiecutter.full_name.replace('\"', '\\\"') }}", author_email="{{ cookiecutter.email }}", classifiers=[ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", {%- if cookiecutter.open_source_license in license_classifiers %} "{{ license_classifiers[cookiecutter.open_source_license] }}", {%- endif %} {%- if cookiecutter.support_python2 != "n" %} "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", {%- endif %} "Programming Language :: Python :: 3", {%- if cookiecutter.minimum_python_version|float <= 3.6 %} "Programming Language :: Python :: 3.6", {%- endif %} {%- if cookiecutter.minimum_python_version|float <= 3.7 %} "Programming Language :: Python :: 3.7", {%- endif %} ], description="{{ cookiecutter.project_short_description }}", {%- if cookiecutter.command_line_interface|lower == 'y' %} entry_points={"console_scripts": ["{{ cookiecutter.project_name }}={{ cookiecutter.project_name }}.__main__:main"]}, {%- endif %} install_requires=REQUIREMENTS, {%- if cookiecutter.open_source_license in license_classifiers %} license="{{ cookiecutter.open_source_license }}", {%- endif %} long_description=README, include_package_data=True, keywords="{{ cookiecutter.project_name }}", name="{{ cookiecutter.project_name }}", packages=find_packages(), setup_requires=SETUP_REQUIREMENTS, tests_require=TEST_REQUIREMENTS, extras_require={"dev": DEV_REQUIREMENTS}, url="https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_name }}", version=VERSION, )
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 37811, 464, 9058, 4226, 526, 15931, 198, 198, 11748, 28686, 198, 11748, 302, 198, 6738, 900, 37623, 10141, 1330, 1064, 62, 43789, 11, 9058, 198, 198, 2200, 49128, 28957, 796, 17635, 198, 28480, 8577, 62, 2200, 49128, 28957, 796, 17635, 198, 51, 6465, 62, 2200, 49128, 28957, 796, 17635, 198, 39345, 62, 2200, 49128, 28957, 796, 14631, 65, 931, 9641, 1600, 366, 3866, 12, 41509, 1600, 366, 83, 1140, 8973, 198, 198, 4480, 1280, 7203, 15675, 11682, 13, 81, 301, 4943, 355, 1100, 1326, 62, 7753, 25, 198, 220, 220, 220, 20832, 11682, 796, 1100, 1326, 62, 7753, 13, 961, 3419, 198, 198, 4480, 1280, 7, 418, 13, 6978, 13, 22179, 7203, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 34949, 1600, 705, 834, 9641, 834, 13, 9078, 33809, 705, 17034, 11537, 355, 277, 25, 198, 220, 220, 220, 44156, 2849, 796, 302, 13, 12947, 7, 81, 37811, 834, 9641, 834, 59, 82, 28, 59, 82, 17816, 8973, 7, 13, 28988, 17816, 8973, 15931, 1600, 277, 13, 961, 3419, 737, 8094, 7, 16, 8, 628, 198, 90, 33963, 900, 5964, 62, 4871, 13350, 796, 1391, 198, 220, 220, 220, 366, 36393, 1298, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 17168, 13789, 1600, 198, 220, 220, 220, 366, 21800, 1298, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 347, 10305, 13789, 1600, 198, 220, 220, 220, 366, 37719, 1298, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 3180, 34, 13789, 357, 1797, 5097, 16725, 198, 92, 4064, 92, 198, 198, 40406, 7, 198, 220, 220, 220, 1772, 2625, 27007, 19751, 8968, 353, 13, 12853, 62, 3672, 13, 33491, 10786, 7879, 3256, 705, 6852, 7879, 11537, 34949, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 27007, 19751, 8968, 353, 13, 12888, 34949, 1600, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 41206, 12678, 7904, 362, 532, 3771, 12, 38077, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 34152, 1600, 198, 90, 33963, 611, 19751, 8968, 353, 13, 9654, 62, 10459, 62, 43085, 287, 5964, 62, 4871, 13350, 4064, 92, 198, 220, 220, 220, 220, 220, 220, 220, 366, 27007, 5964, 62, 4871, 13350, 58, 44453, 8968, 353, 13, 9654, 62, 10459, 62, 43085, 60, 34949, 1600, 198, 90, 33963, 45762, 4064, 92, 198, 90, 33963, 611, 19751, 8968, 353, 13, 11284, 62, 29412, 17, 14512, 366, 77, 1, 4064, 92, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 362, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 362, 13, 22, 1600, 198, 90, 33963, 45762, 4064, 92, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 1600, 198, 90, 33963, 611, 19751, 8968, 353, 13, 39504, 62, 29412, 62, 9641, 91, 22468, 19841, 513, 13, 21, 4064, 92, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 21, 1600, 198, 90, 33963, 45762, 4064, 92, 198, 90, 33963, 611, 19751, 8968, 353, 13, 39504, 62, 29412, 62, 9641, 91, 22468, 19841, 513, 13, 22, 4064, 92, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 22, 1600, 198, 90, 33963, 45762, 4064, 92, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 6764, 2625, 27007, 19751, 8968, 353, 13, 16302, 62, 19509, 62, 11213, 34949, 1600, 198, 220, 220, 220, 1391, 33963, 611, 19751, 8968, 353, 13, 21812, 62, 1370, 62, 39994, 91, 21037, 6624, 705, 88, 6, 4064, 92, 198, 220, 220, 220, 5726, 62, 13033, 28, 4895, 41947, 62, 46521, 1298, 14631, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 34949, 28, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 1782, 27422, 834, 12417, 834, 25, 12417, 8973, 5512, 198, 220, 220, 220, 1391, 33963, 45762, 4064, 92, 198, 220, 220, 220, 2721, 62, 47911, 28, 2200, 49128, 28957, 11, 198, 90, 33963, 611, 19751, 8968, 353, 13, 9654, 62, 10459, 62, 43085, 287, 5964, 62, 4871, 13350, 4064, 92, 198, 220, 220, 220, 5964, 2625, 27007, 19751, 8968, 353, 13, 9654, 62, 10459, 62, 43085, 34949, 1600, 198, 90, 33963, 45762, 4064, 92, 198, 220, 220, 220, 890, 62, 11213, 28, 15675, 11682, 11, 198, 220, 220, 220, 2291, 62, 26495, 62, 7890, 28, 17821, 11, 198, 220, 220, 220, 26286, 2625, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 34949, 1600, 198, 220, 220, 220, 1438, 2625, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 34949, 1600, 198, 220, 220, 220, 10392, 28, 19796, 62, 43789, 22784, 198, 220, 220, 220, 9058, 62, 47911, 28, 28480, 8577, 62, 2200, 49128, 28957, 11, 198, 220, 220, 220, 5254, 62, 46115, 28, 51, 6465, 62, 2200, 49128, 28957, 11, 198, 220, 220, 220, 33849, 62, 46115, 28, 4895, 7959, 1298, 5550, 53, 62, 2200, 49128, 28957, 5512, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 27007, 19751, 8968, 353, 13, 12567, 62, 29460, 34949, 14, 27007, 19751, 8968, 353, 13, 16302, 62, 3672, 34949, 1600, 198, 220, 220, 220, 2196, 28, 43717, 11, 198, 8, 198 ]
2.687289
889
import torch, cv2 from PIL import Image, ImageDraw import numpy as np from shapely.geometry import Polygon, MultiPoint, MultiPolygon from .boxes import dists_pt2line_numpy, dists2corners_numpy # ref: https://github.com/MhLiao/TextBoxes_plusplus/blob/master/examples/text/nms.py def quads_iou(a, b): """ :param a: Box Tensor, shape is (nums, 8) :param b: Box Tensor, shape is (nums, 8) IMPORTANT: Note that 8 means (topleft=(x1, y1), x2, y2,..clockwise) :return: iou: Tensor, shape is (a_num, b_num) formula is iou = intersection / union """ # convert Tensor to numpy for using shapely a_numpy, b_numpy = a.cpu().numpy(), b.cpu().numpy() a_number, b_number = a_numpy.shape[0], b_numpy.shape[0] ret = np.zeros(shape=(a_number, b_number), dtype=np.float32) a_numpy, b_numpy = a_numpy.reshape((-1, 4, 2)), b_numpy.reshape((-1, 4, 2)) for i in range(a_number): a_polygon = Polygon(a_numpy[i]).convex_hull for j in range(b_number): b_polygon = Polygon(b_numpy[j]).convex_hull if not a_polygon.intersects(b_polygon): continue intersectionArea = a_polygon.intersection(b_polygon).area unionArea = MultiPoint(np.concatenate((a_numpy[i], b_numpy[j]))).convex_hull.area if unionArea == 0: continue ret[i, j] = intersectionArea / unionArea return torch.from_numpy(ret) def sort_clockwise_topleft(a): """ Sort corners points (xmin, ymin, xmax, ymax) :param a: Quads Tensor, shape is ([nums, ]*, 4=(x1,y1,x2,y2)) :return a: Quads Tensor, shape is ([nums, ]*, 4=(xmin, ymin, xmax, ymax)) """ return torch.from_numpy(sort_clockwise_topleft_numpy(a.numpy())) def sort_clockwise_topleft_numpy(a): """ Sort corners points (x1, y1, x2, y2, ... clockwise from topleft) :ref https://gist.github.com/flashlib/e8261539915426866ae910d55a3f9959 :param a: Quads ndarray, shape is (box nums, 8=(x1,y1,x2,y2,...)) :return a: Quads ndarray, shape is (box nums, 8=(x1,y1,x2,y2,... clockwise from topleft)) """ reshaped_a = a.reshape((-1, 4, 2)) # sort the points based on their x-coordinates # shape = (box_nums, 4=points_nums, 1), the indices about 4 points x_ascend_indices = np.argsort(reshaped_a[..., 0:1], axis=1) # that's why take_along_axis's argument: axis is 1 # shape = (box_nums, 4=(x_ascending), 2=(x,y)) x_ascend = np.take_along_axis(reshaped_a, x_ascend_indices, axis=1) # grab the left-most and right-most points from the sorted # x-roodinate points # shape = (box_nums, 2, 2=(x,y)) leftMost = x_ascend[:, :2] rightMost = x_ascend[:, 2:] # now, sort the left-most coordinates according to their # y-coordinates so we can grab the top-left and bottom-left # points, respectively # shape = (box_nums, 2=points_nums), the indices about 2 points leftMost_y_ascend_indices = np.argsort(leftMost[..., 1:2], axis=1) # shape = (box_nums, 2, 2=(x,y)) leftMost_y_ascend = np.take_along_axis(leftMost, leftMost_y_ascend_indices, axis=1) # shape = (box_nums, 1, 2=(x,y)) tl, bl = leftMost_y_ascend[:, 0:1], leftMost_y_ascend[:, 1:2] # if use Euclidean distance, it will run in error when the object # is trapezoid. So we should use the same simple y-coordinates order method. # now, sort the right-most coordinates according to their # y-coordinates so we can grab the top-right and bottom-right # points, respectively # shape = (box_nums, 2=points_nums), the indices about 2 points rightMost_y_ascend_indices = np.argsort(rightMost[..., 1:2], axis=1) # shape = (box_nums, 2, 2=(x,y)) rightMost_y_ascend = np.take_along_axis(rightMost, rightMost_y_ascend_indices, axis=1) # shape = (box_nums, 1, 2=(x,y)) tr, br = rightMost_y_ascend[:, 0:1], rightMost_y_ascend[:, 1:2] # return the coordinates in top-left, top-right, # bottom-right, and bottom-left order sorted_a = np.concatenate([tl, tr, br, bl], axis=1).reshape((-1, 8)) """ # :ref https://stackoverflow.com/questions/10846431/ordering-shuffled-points-that-can-be-joined-to-form-a-polygon-in-python # below code is using arctan from centroids, but this method is not applicable for image-coordinates system? box_nums = a.shape[0] centroids = np.concatenate((a[:, ::2].mean(axis=-1, keepdims=True), a[:, 1::2].mean(axis=-1, keepdims=True)), axis=-1) sorted_a = np.zeros_like(a, dtype=np.float32) reshaped_a = a.reshape((-1, 4, 2)) for b in range(box_nums): sorted_a[b] = np.array(sorted(reshaped_a[b], key=lambda pt: np.arctan2(pt[1]-centroids[b,1], pt[0]-centroids[b,0]))) """ return sorted_a def quad2mask(quad, w, h, device): """ :param quad: Tensor, shape = (8=(x1,y1,...)), percent style :param w: int :param h: int :param device: device :return: mask_per_rect: Bool Tensor, shape = (h, w) """ return torch.from_numpy(quad2mask_numpy(quad.numpy(), w, h)).to(device=device) def quad2mask_numpy(quad, w, h): """ :param quad: ndarray, shape = (8=(x1,y1,...)), percent style :param w: int :param h: int :return: mask_per_rect: Bool ndarray, shape = (h, w) """ _quad = quad.copy() _quad[::2] *= w _quad[1::2] *= h img = Image.new('L', (w, h), 0) ImageDraw.Draw(img).polygon(_quad, outline=255, fill=255) # img.show() return np.array(img, dtype=np.bool) def quads2allmask(quads, w, h, device): """ :param quads: Tensor, shape = (box num, 8=(x1,y1,...)), percent style :param w: int :param h: int :param device: device :return: mask_per_rect: Bool Tensor, shape = (h, w) """ return torch.from_numpy(quads2allmask_numpy(quads.numpy(), w, h)).to(device=device) def quads2allmask_numpy(quads, w, h): """ :param quads: ndarray, shape = (box num, 8=(x1,y1,...)), percent style :param w: int :param h: int :return: mask_per_rect: Bool ndarray, shape = (h, w) """ box_nums = quads.shape[0] ret = np.zeros((h, w), dtype=np.bool) for b in range(box_nums): ret = np.logical_or(ret, quad2mask_numpy(quads[b], w, h)) return ret def angles_from_quads_numpy(quads): """ :param quads: ndarray, shape = (box nums, 8=(x1,y1,... clockwose from top-left)) :return angles: ndarray, shape = (box nums, 1) Note that angle range is [-pi/4, pi/4) """ box_nums = quads.shape[0] angles = np.zeros((box_nums, 1)) reshaped_quads = quads.reshape((-1, 4, 2)) for b in range(box_nums): rect = cv2.minAreaRect(reshaped_quads[b]) # note that angle range is (0, 90] angle = -rect[-1] if angle == 90: angle = 0 angles[b, 0] = angle if angle < 45 else -(90 - angle) return np.deg2rad(angles) def shrink_quads_numpy(quads, scale=0.3): """ convert quads into rbox, see fig4 in EAST paper Brief summary of rbox creation from quads 1. compute reference lengths (ref_lengths) by getting shorter edge adjacent one point 2. shrink longer edge pair* with scale value *: longer pair is got by comparing between two opposing edges following; (vertical edge1 + 2)ave <=> (horizontal edge1 + 2)ave Note that shrinking way is different between vertical edges pair and horizontal one horizontal: (x_i, y_i) += scale*(ref_lengths_i*cos + ref_lengths_(i mod 4 + 1)*sin) vertical: (x_i, y_i) += scale*(ref_lengths_i*sin + ref_lengths_(i mod 4 + 1)*cos) :param quads: ndarray, shape = (box nums, 8=(x1,y1,...clockwise order)) :param scale: int, shrink scale :return: shrinked_quads: ndarray, shape = (box nums, 8=(x1,y1,...clockwise order)) """ reshaped_quads = quads.reshape((-1, 4, 2)) # reference lengths, clockwise from horizontal top edge # shape = (box nums, 4) ref_lengths = np.minimum(np.linalg.norm(reshaped_quads - np.roll(reshaped_quads, 1, axis=1), axis=-1), np.linalg.norm(reshaped_quads - np.roll(reshaped_quads, -1, axis=1), axis=-1)) def _shrink_h(quad, ref_len): """ :param quad: ndarray, shape = (4, 2) :param ref_len: ndarray, shape = (4,) """ # get angle adj_quad = np.roll(quad[::-1], 2, axis=0) # adjacent points # shape = (4,) angles = np.arctan2(adj_quad[:, 1] - quad[:, 1], adj_quad[:, 0] - quad[:, 0]) # shape = (4,2) trigonometric = np.array([np.cos(angles), np.sin(angles)]).T quad += np.expand_dims(ref_len, axis=-1) * trigonometric * scale return quad def _shrink_v(quad, ref_len): """ :param quad: ndarray, shape = (4, 2) :param ref_len: ndarray, shape = (4,) """ # get angle adj_quad = quad[::-1] # adjacent points # shape = (4,) angles = np.arctan2(adj_quad[:, 0] - quad[:, 0], adj_quad[:, 1] - quad[:, 1]) # shape = (4,2) trigonometric = np.array([np.sin(angles), np.cos(angles)]).T quad += np.expand_dims(ref_len, axis=-1) * trigonometric * scale return quad def _shrink(quad, ref_len, horizontal_first): """ :param quad: ndarray, shape = (4, 2) :param ref_len: ndarray, shape = (4,) :param horizontal_first: boolean, if True, horizontal edges will be shrunk first, otherwise vertical ones will be shrunk first :return: """ if horizontal_first: quad = _shrink_h(quad, ref_len) quad = _shrink_v(quad, ref_len) else: quad = _shrink_v(quad, ref_len) quad = _shrink_h(quad, ref_len) return quad box_nums = reshaped_quads.shape[0] # lengths, clockwise from horizontal top edge # shape = (box nums, 4) lengths = np.linalg.norm(reshaped_quads - np.roll(reshaped_quads, 1, axis=1), axis=-1) h_lens, v_lens = np.mean(lengths[:, ::2], axis=-1), np.mean(lengths[:, 1::2], axis=-1) horizontal_firsts = h_lens > v_lens shrinked_quads = np.array([_shrink(reshaped_quads[b], ref_lengths[b], horizontal_firsts[b]) for b in range(box_nums)]) return shrinked_quads.reshape((-1, 8)) def quads2rboxes_numpy(quads, w, h, shrink_scale=0.3): """ convert quads into rbox, see fig4 in EAST paper https://github.com/Masao-Taketani/FOTS_OCR/blob/5c214bf2e3d815d6f826f7771da92ba4d899d08b/data_provider/data_utils.py#L575 1. create minimum rectangle surrounding quads points and angle. these values are created by opencv's minAreaRect :param quads: ndarray, shape = (box nums, 8) :param w: int :param h: int :param shrink_scale: None or int, use raw quads to calculate dists if None or 1, use shrinked ones otherwise :returns: pos: ndarray, shape = (h, w) rbox: ndarray, shape=(h, w, 5=(4=(t, r, b, l)+1=(angle)) Note that angle is between [-pi/4, pi/4) """ reshaped_quads = quads.reshape((-1, 4, 2)).copy() reshaped_quads[:, :, 0] *= w reshaped_quads[:, :, 1] *= h box_nums, _, _ = reshaped_quads.shape # initialization rbox = np.zeros((h, w, 5), dtype=np.float32) # shape=(h, w, 5=(4=(t, r, b, l)+1=(angle)) pos = np.zeros((h, w), dtype=np.bool) # shrink if shrink_scale and shrink_scale != 1: shrunk_quads = shrink_quads_numpy(reshaped_quads.reshape(-1, 8).copy(), shrink_scale) else: shrunk_quads = reshaped_quads.reshape(-1, 8).copy() shrunk_quads[:, ::2] /= w shrunk_quads[:, 1::2] /= h for b in range(box_nums): rect = cv2.minAreaRect(reshaped_quads[b]) # note that angle range is (0, 90] angle = -rect[-1] # shape = (4, 2) # clockwise from ymax point: https://stackoverflow.com/questions/29739411/what-does-cv2-cv-boxpointsrect-return/51952289 box_4pts = cv2.boxPoints(rect) # shift box_4pts for clockwise order from top-left # and convert angle range into [0, 90) if angle == 90: angle = 0 # horizontal and vertical lines are parallel to x-axis and y-axis respectively # box is clockwise order from bottom-right, i.e. index 0 is bottom-right shift = -2 elif angle < 45: # box is clockwise order from bottom-left, i.e. index 0 is bottom-left shift = -1 else: # box is clockwise order from bottom-right, i.e. index 0 is bottom-right shift = -2 box_4pts = np.roll(box_4pts, shift, axis=0) # compute distance from each point # >>> widths, heights = np.meshgrid(np.arange(3), np.arange(7)) # >>> heights.shape # (7, 3) # >>> k=np.concatenate((np.expand_dims(widths, -1), np.expand_dims(heights, -1)), axis=-1) # >>> k[0,1,:] # array([1, 0]) widths, heights = np.meshgrid(np.arange(w), np.arange(h)) # shape = (h, w, 2) origins = np.concatenate((np.expand_dims(widths, -1), np.expand_dims(heights, -1)), axis=-1) # shape = (h, w, 4=(t,r,b,l)) dists = dists_pt2line_numpy(box_4pts, np.roll(box_4pts, -1, axis=0), origins) # compute pos shrunk_quad = shrunk_quads[b] mask = quad2mask_numpy(shrunk_quad, w, h) pos = np.logical_or(pos, mask) # assign dists rbox[mask, :4] = dists[mask] # assign angle # the reason of below process is https://github.com/argman/EAST/issues/210 angle = angle if angle < 45 else -(90 - angle) rbox[mask, -1] = np.deg2rad(angle) return pos, rbox #ref https://github.com/Masao-Taketani/FOTS_OCR/blob/5c214bf2e3d815d6f826f7771da92ba4d899d08b/data_provider/data_utils.py#L498 def rboxes2quads_numpy(rboxes): """ :param rboxes: ndarray, shape = (*, h, w, 5=(4=(t,r,b,l) + 1=angle)) Note that angle is between [-pi/4, pi/4) :return: quads: ndarray, shape = (*, h, w, 8=(x1, y1,... clockwise order from top-left)) """ # dists, shape = (*, h, w, 4=(t,r,b,l)) # angles, shape = (*, h, w) h, w, _ = rboxes.shape[-3:] dists, angles = rboxes[..., :4], rboxes[..., 4] # shape = (*, h, w, 5=(t,r,b,l,offset), 2=(x,y)) pts = np.zeros(list(dists.shape[:-1]) + [5, 2], dtype=np.float32) # assign pts for angle >= 0 dists_pos = dists[angles >= 0] if dists_pos.size > 0: # shape = (*, h, w) tops, rights, bottoms, lefts = np.rollaxis(dists_pos, axis=-1) shape = tops.shape pts[angles >= 0] = np.moveaxis(np.array([[np.zeros(shape), -(tops+bottoms)], [lefts+rights, -(tops+bottoms)], [lefts+rights, np.zeros(shape)], [np.zeros(shape), np.zeros(shape)], [lefts, -bottoms]]), [0, 1], [-2, -1]) # assign pts for angle < 0 dists_neg = dists[angles < 0] if dists_neg.size > 0: # shape = (*, h, w) tops, rights, bottoms, lefts = np.rollaxis(dists_neg, axis=-1) shape = tops.shape pts[angles < 0] = np.moveaxis(np.array([[-(lefts+rights), -(tops+bottoms)], [np.zeros(shape), -(tops+bottoms)], [np.zeros(shape), np.zeros(shape)], [-(lefts+rights), np.zeros(shape)], [-rights, -bottoms]]), [0, 1], [-2, -1]) # note that rotate clockwise is positive, otherwise, negative angles *= -1 # rotate # shape = (*, h, w, 2, 2) R = np.moveaxis(np.array([[np.cos(angles), -np.sin(angles)], [np.sin(angles), np.cos(angles)]]), [0, 1], [-2, -1]) # shape = (*, h, w, 2=(x, y), 5=(t,r,b,l,offset)) pts = np.swapaxes(pts, -1, -2) # shape = (*, h, w, 2=(x, y), 5=(t,r,b,l,offset)) rotated_pts = R @ pts # quads, shape = (*, h, w, 2=(x, y), 4=(t,r,b,l)) # offsets, shape = (*, h, w, 2=(x, y), 1=(offset)) quads, offsets = rotated_pts[..., :4], rotated_pts[..., 4:5] # align widths, heights = np.meshgrid(np.arange(w), np.arange(h)) # shape = (h, w, 2) origins = np.concatenate((np.expand_dims(widths, -1), np.expand_dims(heights, -1)), axis=-1) # shape = (*, h, w, 2=(x,y), 1) origins = np.expand_dims(origins, axis=tuple(i for i in range(-1, rboxes.ndim - 3))) quads += origins - offsets quads[..., 0, :] = np.clip(quads[..., 0, :], 0, w) quads[..., 1, :] = np.clip(quads[..., 1, :], 0, h) # reshape quads = np.swapaxes(quads, -1, -2).reshape(list(rboxes.shape[:-1]) + [8]) return quads
[ 11748, 28034, 11, 269, 85, 17, 198, 6738, 350, 4146, 1330, 7412, 11, 7412, 25302, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 5485, 306, 13, 469, 15748, 1330, 12280, 14520, 11, 15237, 12727, 11, 15237, 34220, 14520, 198, 198, 6738, 764, 29305, 1330, 288, 1023, 62, 457, 17, 1370, 62, 77, 32152, 11, 288, 1023, 17, 20772, 364, 62, 77, 32152, 198, 198, 2, 1006, 25, 3740, 1378, 12567, 13, 785, 14, 44, 71, 43, 13481, 14, 8206, 14253, 274, 62, 9541, 9541, 14, 2436, 672, 14, 9866, 14, 1069, 12629, 14, 5239, 14, 77, 907, 13, 9078, 198, 4299, 627, 5643, 62, 72, 280, 7, 64, 11, 275, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 257, 25, 8315, 309, 22854, 11, 5485, 318, 357, 77, 5700, 11, 807, 8, 198, 220, 220, 220, 1058, 17143, 275, 25, 8315, 309, 22854, 11, 5485, 318, 357, 77, 5700, 11, 807, 8, 198, 220, 220, 220, 30023, 9863, 8643, 25, 5740, 326, 807, 1724, 357, 83, 643, 701, 16193, 87, 16, 11, 331, 16, 828, 2124, 17, 11, 331, 17, 11, 492, 15750, 3083, 8, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 280, 25, 309, 22854, 11, 5485, 318, 357, 64, 62, 22510, 11, 275, 62, 22510, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10451, 318, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 280, 796, 16246, 1220, 6441, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 10385, 309, 22854, 284, 299, 32152, 329, 1262, 5485, 306, 198, 220, 220, 220, 257, 62, 77, 32152, 11, 275, 62, 77, 32152, 796, 257, 13, 36166, 22446, 77, 32152, 22784, 275, 13, 36166, 22446, 77, 32152, 3419, 628, 220, 220, 220, 257, 62, 17618, 11, 275, 62, 17618, 796, 257, 62, 77, 32152, 13, 43358, 58, 15, 4357, 275, 62, 77, 32152, 13, 43358, 58, 15, 60, 198, 220, 220, 220, 1005, 796, 45941, 13, 9107, 418, 7, 43358, 16193, 64, 62, 17618, 11, 275, 62, 17618, 828, 288, 4906, 28, 37659, 13, 22468, 2624, 8, 628, 220, 220, 220, 257, 62, 77, 32152, 11, 275, 62, 77, 32152, 796, 257, 62, 77, 32152, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 36911, 275, 62, 77, 32152, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 4008, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 64, 62, 17618, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 257, 62, 35428, 14520, 796, 12280, 14520, 7, 64, 62, 77, 32152, 58, 72, 35944, 1102, 303, 87, 62, 71, 724, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 2837, 7, 65, 62, 17618, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 62, 35428, 14520, 796, 12280, 14520, 7, 65, 62, 77, 32152, 58, 73, 35944, 1102, 303, 87, 62, 71, 724, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 257, 62, 35428, 14520, 13, 3849, 8831, 82, 7, 65, 62, 35428, 14520, 2599, 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, 16246, 30547, 796, 257, 62, 35428, 14520, 13, 3849, 5458, 7, 65, 62, 35428, 14520, 737, 20337, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6441, 30547, 796, 15237, 12727, 7, 37659, 13, 1102, 9246, 268, 378, 19510, 64, 62, 77, 32152, 58, 72, 4357, 275, 62, 77, 32152, 58, 73, 60, 4008, 737, 1102, 303, 87, 62, 71, 724, 13, 20337, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6441, 30547, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1005, 58, 72, 11, 474, 60, 796, 16246, 30547, 1220, 6441, 30547, 628, 220, 220, 220, 1441, 28034, 13, 6738, 62, 77, 32152, 7, 1186, 8, 198, 198, 4299, 3297, 62, 15750, 3083, 62, 83, 643, 701, 7, 64, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33947, 14371, 2173, 357, 87, 1084, 11, 331, 1084, 11, 2124, 9806, 11, 331, 9806, 8, 198, 220, 220, 220, 1058, 17143, 257, 25, 2264, 5643, 309, 22854, 11, 5485, 318, 29565, 77, 5700, 11, 2361, 25666, 604, 16193, 87, 16, 11, 88, 16, 11, 87, 17, 11, 88, 17, 4008, 198, 220, 220, 220, 1058, 7783, 257, 25, 2264, 5643, 309, 22854, 11, 5485, 318, 29565, 77, 5700, 11, 2361, 25666, 604, 16193, 87, 1084, 11, 331, 1084, 11, 2124, 9806, 11, 331, 9806, 4008, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 28034, 13, 6738, 62, 77, 32152, 7, 30619, 62, 15750, 3083, 62, 83, 643, 701, 62, 77, 32152, 7, 64, 13, 77, 32152, 3419, 4008, 198, 198, 4299, 3297, 62, 15750, 3083, 62, 83, 643, 701, 62, 77, 32152, 7, 64, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33947, 14371, 2173, 357, 87, 16, 11, 331, 16, 11, 2124, 17, 11, 331, 17, 11, 2644, 8801, 3083, 422, 284, 1154, 701, 8, 198, 220, 220, 220, 1058, 5420, 3740, 1378, 70, 396, 13, 12567, 13, 785, 14, 34167, 8019, 14, 68, 23, 2075, 21395, 2079, 21526, 25022, 2791, 3609, 43234, 67, 2816, 64, 18, 69, 2079, 3270, 198, 220, 220, 220, 1058, 17143, 257, 25, 2264, 5643, 299, 67, 18747, 11, 5485, 318, 357, 3524, 997, 82, 11, 807, 16193, 87, 16, 11, 88, 16, 11, 87, 17, 11, 88, 17, 42303, 4008, 198, 220, 220, 220, 1058, 7783, 257, 25, 2264, 5643, 299, 67, 18747, 11, 5485, 318, 357, 3524, 997, 82, 11, 807, 16193, 87, 16, 11, 88, 16, 11, 87, 17, 11, 88, 17, 42303, 8801, 3083, 422, 284, 1154, 701, 4008, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27179, 5813, 62, 64, 796, 257, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 4008, 628, 220, 220, 220, 1303, 3297, 262, 2173, 1912, 319, 511, 2124, 12, 37652, 17540, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 604, 28, 13033, 62, 77, 5700, 11, 352, 828, 262, 36525, 546, 604, 2173, 198, 220, 220, 220, 2124, 62, 3372, 437, 62, 521, 1063, 796, 45941, 13, 22046, 419, 7, 3447, 5813, 62, 64, 58, 986, 11, 657, 25, 16, 4357, 16488, 28, 16, 8, 198, 220, 220, 220, 1303, 326, 338, 1521, 1011, 62, 24176, 62, 22704, 338, 4578, 25, 16488, 318, 352, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 604, 16193, 87, 62, 3372, 1571, 828, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 2124, 62, 3372, 437, 796, 45941, 13, 20657, 62, 24176, 62, 22704, 7, 3447, 5813, 62, 64, 11, 2124, 62, 3372, 437, 62, 521, 1063, 11, 16488, 28, 16, 8, 628, 220, 220, 220, 1303, 5552, 262, 1364, 12, 1712, 290, 826, 12, 1712, 2173, 422, 262, 23243, 198, 220, 220, 220, 1303, 2124, 12, 305, 375, 4559, 2173, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 362, 11, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 1364, 6943, 796, 2124, 62, 3372, 437, 58, 45299, 1058, 17, 60, 198, 220, 220, 220, 826, 6943, 796, 2124, 62, 3372, 437, 58, 45299, 362, 47715, 628, 220, 220, 220, 1303, 783, 11, 3297, 262, 1364, 12, 1712, 22715, 1864, 284, 511, 198, 220, 220, 220, 1303, 331, 12, 37652, 17540, 523, 356, 460, 5552, 262, 1353, 12, 9464, 290, 4220, 12, 9464, 198, 220, 220, 220, 1303, 2173, 11, 8148, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 362, 28, 13033, 62, 77, 5700, 828, 262, 36525, 546, 362, 2173, 198, 220, 220, 220, 1364, 6943, 62, 88, 62, 3372, 437, 62, 521, 1063, 796, 45941, 13, 22046, 419, 7, 9464, 6943, 58, 986, 11, 352, 25, 17, 4357, 16488, 28, 16, 8, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 362, 11, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 1364, 6943, 62, 88, 62, 3372, 437, 796, 45941, 13, 20657, 62, 24176, 62, 22704, 7, 9464, 6943, 11, 1364, 6943, 62, 88, 62, 3372, 437, 62, 521, 1063, 11, 16488, 28, 16, 8, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 352, 11, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 256, 75, 11, 698, 796, 1364, 6943, 62, 88, 62, 3372, 437, 58, 45299, 657, 25, 16, 4357, 1364, 6943, 62, 88, 62, 3372, 437, 58, 45299, 352, 25, 17, 60, 628, 220, 220, 220, 1303, 611, 779, 48862, 485, 272, 5253, 11, 340, 481, 1057, 287, 4049, 618, 262, 2134, 198, 220, 220, 220, 1303, 318, 1291, 46057, 1868, 13, 1406, 356, 815, 779, 262, 976, 2829, 331, 12, 37652, 17540, 1502, 2446, 13, 628, 220, 220, 220, 1303, 783, 11, 3297, 262, 826, 12, 1712, 22715, 1864, 284, 511, 198, 220, 220, 220, 1303, 331, 12, 37652, 17540, 523, 356, 460, 5552, 262, 1353, 12, 3506, 290, 4220, 12, 3506, 198, 220, 220, 220, 1303, 2173, 11, 8148, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 362, 28, 13033, 62, 77, 5700, 828, 262, 36525, 546, 362, 2173, 198, 220, 220, 220, 826, 6943, 62, 88, 62, 3372, 437, 62, 521, 1063, 796, 45941, 13, 22046, 419, 7, 3506, 6943, 58, 986, 11, 352, 25, 17, 4357, 16488, 28, 16, 8, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 362, 11, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 826, 6943, 62, 88, 62, 3372, 437, 796, 45941, 13, 20657, 62, 24176, 62, 22704, 7, 3506, 6943, 11, 826, 6943, 62, 88, 62, 3372, 437, 62, 521, 1063, 11, 16488, 28, 16, 8, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 62, 77, 5700, 11, 352, 11, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 491, 11, 865, 796, 826, 6943, 62, 88, 62, 3372, 437, 58, 45299, 657, 25, 16, 4357, 826, 6943, 62, 88, 62, 3372, 437, 58, 45299, 352, 25, 17, 60, 628, 220, 220, 220, 1303, 1441, 262, 22715, 287, 1353, 12, 9464, 11, 1353, 12, 3506, 11, 198, 220, 220, 220, 1303, 4220, 12, 3506, 11, 290, 4220, 12, 9464, 1502, 198, 220, 220, 220, 23243, 62, 64, 796, 45941, 13, 1102, 9246, 268, 378, 26933, 28781, 11, 491, 11, 865, 11, 698, 4357, 16488, 28, 16, 737, 3447, 1758, 19510, 12, 16, 11, 807, 4008, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1058, 5420, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 940, 5705, 2414, 3132, 14, 34555, 12, 1477, 1648, 992, 12, 13033, 12, 5562, 12, 5171, 12, 1350, 12, 46416, 12, 1462, 12, 687, 12, 64, 12, 35428, 14520, 12, 259, 12, 29412, 198, 220, 220, 220, 1303, 2174, 2438, 318, 1262, 610, 310, 272, 422, 1247, 305, 2340, 11, 475, 428, 2446, 318, 407, 9723, 329, 2939, 12, 37652, 17540, 1080, 30, 198, 220, 220, 220, 3091, 62, 77, 5700, 796, 257, 13, 43358, 58, 15, 60, 198, 220, 220, 220, 1247, 305, 2340, 796, 45941, 13, 1102, 9246, 268, 378, 19510, 64, 58, 45299, 7904, 17, 4083, 32604, 7, 22704, 10779, 16, 11, 1394, 67, 12078, 28, 17821, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 45299, 352, 3712, 17, 4083, 32604, 7, 22704, 10779, 16, 11, 1394, 67, 12078, 28, 17821, 36911, 16488, 10779, 16, 8, 198, 220, 220, 220, 23243, 62, 64, 796, 45941, 13, 9107, 418, 62, 2339, 7, 64, 11, 288, 4906, 28, 37659, 13, 22468, 2624, 8, 198, 220, 220, 220, 27179, 5813, 62, 64, 796, 257, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 4008, 198, 220, 220, 220, 329, 275, 287, 2837, 7, 3524, 62, 77, 5700, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 23243, 62, 64, 58, 65, 60, 796, 45941, 13, 18747, 7, 82, 9741, 7, 3447, 5813, 62, 64, 58, 65, 4357, 1994, 28, 50033, 42975, 25, 45941, 13, 283, 310, 272, 17, 7, 457, 58, 16, 45297, 1087, 305, 2340, 58, 65, 11, 16, 4357, 42975, 58, 15, 45297, 1087, 305, 2340, 58, 65, 11, 15, 60, 22305, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 23243, 62, 64, 198, 198, 4299, 15094, 17, 27932, 7, 47003, 11, 266, 11, 289, 11, 3335, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 15094, 25, 309, 22854, 11, 5485, 796, 357, 23, 16193, 87, 16, 11, 88, 16, 11, 23029, 828, 1411, 3918, 198, 220, 220, 220, 1058, 17143, 266, 25, 493, 198, 220, 220, 220, 1058, 17143, 289, 25, 493, 198, 220, 220, 220, 1058, 17143, 3335, 25, 3335, 198, 220, 220, 220, 1058, 7783, 25, 9335, 62, 525, 62, 2554, 25, 347, 970, 309, 22854, 11, 5485, 796, 357, 71, 11, 266, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 28034, 13, 6738, 62, 77, 32152, 7, 47003, 17, 27932, 62, 77, 32152, 7, 47003, 13, 77, 32152, 22784, 266, 11, 289, 29720, 1462, 7, 25202, 28, 25202, 8, 198, 198, 4299, 15094, 17, 27932, 62, 77, 32152, 7, 47003, 11, 266, 11, 289, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 15094, 25, 299, 67, 18747, 11, 5485, 796, 357, 23, 16193, 87, 16, 11, 88, 16, 11, 23029, 828, 1411, 3918, 198, 220, 220, 220, 1058, 17143, 266, 25, 493, 198, 220, 220, 220, 1058, 17143, 289, 25, 493, 198, 220, 220, 220, 1058, 7783, 25, 9335, 62, 525, 62, 2554, 25, 347, 970, 299, 67, 18747, 11, 5485, 796, 357, 71, 11, 266, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4808, 47003, 796, 15094, 13, 30073, 3419, 198, 220, 220, 220, 4808, 47003, 58, 3712, 17, 60, 1635, 28, 266, 198, 220, 220, 220, 4808, 47003, 58, 16, 3712, 17, 60, 1635, 28, 289, 628, 220, 220, 220, 33705, 796, 7412, 13, 3605, 10786, 43, 3256, 357, 86, 11, 289, 828, 657, 8, 198, 220, 220, 220, 7412, 25302, 13, 25302, 7, 9600, 737, 35428, 14520, 28264, 47003, 11, 19001, 28, 13381, 11, 6070, 28, 13381, 8, 198, 220, 220, 220, 1303, 33705, 13, 12860, 3419, 198, 220, 220, 220, 1441, 45941, 13, 18747, 7, 9600, 11, 288, 4906, 28, 37659, 13, 30388, 8, 198, 198, 4299, 627, 5643, 17, 439, 27932, 7, 421, 5643, 11, 266, 11, 289, 11, 3335, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 627, 5643, 25, 309, 22854, 11, 5485, 796, 357, 3524, 997, 11, 807, 16193, 87, 16, 11, 88, 16, 11, 23029, 828, 1411, 3918, 198, 220, 220, 220, 1058, 17143, 266, 25, 493, 198, 220, 220, 220, 1058, 17143, 289, 25, 493, 198, 220, 220, 220, 1058, 17143, 3335, 25, 3335, 198, 220, 220, 220, 1058, 7783, 25, 9335, 62, 525, 62, 2554, 25, 347, 970, 309, 22854, 11, 5485, 796, 357, 71, 11, 266, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 28034, 13, 6738, 62, 77, 32152, 7, 421, 5643, 17, 439, 27932, 62, 77, 32152, 7, 421, 5643, 13, 77, 32152, 22784, 266, 11, 289, 29720, 1462, 7, 25202, 28, 25202, 8, 198, 198, 4299, 627, 5643, 17, 439, 27932, 62, 77, 32152, 7, 421, 5643, 11, 266, 11, 289, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 627, 5643, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 11, 807, 16193, 87, 16, 11, 88, 16, 11, 23029, 828, 1411, 3918, 198, 220, 220, 220, 1058, 17143, 266, 25, 493, 198, 220, 220, 220, 1058, 17143, 289, 25, 493, 198, 220, 220, 220, 1058, 7783, 25, 9335, 62, 525, 62, 2554, 25, 347, 970, 299, 67, 18747, 11, 5485, 796, 357, 71, 11, 266, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3091, 62, 77, 5700, 796, 627, 5643, 13, 43358, 58, 15, 60, 628, 220, 220, 220, 1005, 796, 45941, 13, 9107, 418, 19510, 71, 11, 266, 828, 288, 4906, 28, 37659, 13, 30388, 8, 198, 220, 220, 220, 329, 275, 287, 2837, 7, 3524, 62, 77, 5700, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1005, 796, 45941, 13, 6404, 605, 62, 273, 7, 1186, 11, 15094, 17, 27932, 62, 77, 32152, 7, 421, 5643, 58, 65, 4357, 266, 11, 289, 4008, 628, 220, 220, 220, 1441, 1005, 198, 198, 4299, 18333, 62, 6738, 62, 421, 5643, 62, 77, 32152, 7, 421, 5643, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 627, 5643, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 82, 11, 807, 16193, 87, 16, 11, 88, 16, 42303, 8801, 86, 577, 422, 1353, 12, 9464, 4008, 198, 220, 220, 220, 1058, 7783, 18333, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 82, 11, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5740, 326, 9848, 2837, 318, 25915, 14415, 14, 19, 11, 31028, 14, 19, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3091, 62, 77, 5700, 796, 627, 5643, 13, 43358, 58, 15, 60, 628, 220, 220, 220, 18333, 796, 45941, 13, 9107, 418, 19510, 3524, 62, 77, 5700, 11, 352, 4008, 198, 220, 220, 220, 27179, 5813, 62, 421, 5643, 796, 627, 5643, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 4008, 198, 220, 220, 220, 329, 275, 287, 2837, 7, 3524, 62, 77, 5700, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 13621, 796, 269, 85, 17, 13, 1084, 30547, 45474, 7, 3447, 5813, 62, 421, 5643, 58, 65, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3465, 326, 9848, 2837, 318, 357, 15, 11, 4101, 60, 198, 220, 220, 220, 220, 220, 220, 220, 9848, 796, 532, 2554, 58, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 9848, 6624, 4101, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9848, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 18333, 58, 65, 11, 657, 60, 796, 9848, 611, 9848, 1279, 4153, 2073, 532, 7, 3829, 532, 9848, 8, 198, 220, 220, 220, 1441, 45941, 13, 13500, 17, 6335, 7, 27787, 8, 198, 198, 4299, 22085, 62, 421, 5643, 62, 77, 32152, 7, 421, 5643, 11, 5046, 28, 15, 13, 18, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10385, 627, 5643, 656, 374, 3524, 11, 766, 2336, 19, 287, 412, 11262, 3348, 628, 220, 220, 220, 22821, 10638, 286, 374, 3524, 6282, 422, 627, 5643, 628, 220, 220, 220, 352, 13, 24061, 4941, 20428, 357, 5420, 62, 13664, 82, 8, 416, 1972, 12238, 5743, 15909, 530, 966, 198, 220, 220, 220, 362, 13, 22085, 2392, 5743, 5166, 9, 351, 5046, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 25, 2392, 5166, 318, 1392, 416, 14176, 1022, 734, 12330, 13015, 1708, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 1851, 605, 5743, 16, 1343, 362, 8, 1015, 1279, 14804, 357, 17899, 38342, 5743, 16, 1343, 362, 8, 1015, 198, 220, 220, 220, 220, 220, 220, 220, 5740, 326, 27382, 835, 318, 1180, 1022, 11723, 13015, 5166, 290, 16021, 530, 198, 220, 220, 220, 220, 220, 220, 220, 16021, 25, 357, 87, 62, 72, 11, 331, 62, 72, 8, 15853, 5046, 9, 7, 5420, 62, 13664, 82, 62, 72, 9, 6966, 1343, 1006, 62, 13664, 82, 41052, 72, 953, 604, 1343, 352, 27493, 31369, 8, 198, 220, 220, 220, 220, 220, 220, 220, 11723, 25, 220, 220, 357, 87, 62, 72, 11, 331, 62, 72, 8, 15853, 5046, 9, 7, 5420, 62, 13664, 82, 62, 72, 9, 31369, 1343, 1006, 62, 13664, 82, 41052, 72, 953, 604, 1343, 352, 27493, 6966, 8, 628, 220, 220, 220, 1058, 17143, 627, 5643, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 82, 11, 807, 16193, 87, 16, 11, 88, 16, 42303, 15750, 3083, 1502, 4008, 198, 220, 220, 220, 1058, 17143, 5046, 25, 493, 11, 22085, 5046, 198, 220, 220, 220, 1058, 7783, 25, 22085, 276, 62, 421, 5643, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 82, 11, 807, 16193, 87, 16, 11, 88, 16, 42303, 15750, 3083, 1502, 4008, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27179, 5813, 62, 421, 5643, 796, 627, 5643, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 4008, 628, 220, 220, 220, 1303, 4941, 20428, 11, 8801, 3083, 422, 16021, 1353, 5743, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 997, 82, 11, 604, 8, 198, 220, 220, 220, 1006, 62, 13664, 82, 796, 45941, 13, 39504, 7, 37659, 13, 75, 1292, 70, 13, 27237, 7, 3447, 5813, 62, 421, 5643, 532, 45941, 13, 2487, 7, 3447, 5813, 62, 421, 5643, 11, 352, 11, 16488, 28, 16, 828, 16488, 10779, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45941, 13, 75, 1292, 70, 13, 27237, 7, 3447, 5813, 62, 421, 5643, 532, 45941, 13, 2487, 7, 3447, 5813, 62, 421, 5643, 11, 532, 16, 11, 16488, 28, 16, 828, 16488, 10779, 16, 4008, 628, 220, 220, 220, 825, 4808, 36007, 676, 62, 71, 7, 47003, 11, 1006, 62, 11925, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 15094, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1006, 62, 11925, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 651, 9848, 198, 220, 220, 220, 220, 220, 220, 220, 9224, 62, 47003, 796, 45941, 13, 2487, 7, 47003, 58, 3712, 12, 16, 4357, 362, 11, 16488, 28, 15, 8, 220, 1303, 15909, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 19, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 18333, 796, 45941, 13, 283, 310, 272, 17, 7, 41255, 62, 47003, 58, 45299, 352, 60, 532, 15094, 58, 45299, 352, 4357, 9224, 62, 47003, 58, 45299, 657, 60, 532, 15094, 58, 45299, 657, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 19, 11, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5192, 261, 16996, 796, 45941, 13, 18747, 26933, 37659, 13, 6966, 7, 27787, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45941, 13, 31369, 7, 27787, 15437, 737, 51, 628, 220, 220, 220, 220, 220, 220, 220, 15094, 15853, 45941, 13, 11201, 392, 62, 67, 12078, 7, 5420, 62, 11925, 11, 16488, 10779, 16, 8, 1635, 5192, 261, 16996, 1635, 5046, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 15094, 628, 220, 220, 220, 825, 4808, 36007, 676, 62, 85, 7, 47003, 11, 1006, 62, 11925, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 15094, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1006, 62, 11925, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 651, 9848, 198, 220, 220, 220, 220, 220, 220, 220, 9224, 62, 47003, 796, 15094, 58, 3712, 12, 16, 60, 220, 1303, 15909, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 19, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 18333, 796, 45941, 13, 283, 310, 272, 17, 7, 41255, 62, 47003, 58, 45299, 657, 60, 532, 15094, 58, 45299, 657, 4357, 9224, 62, 47003, 58, 45299, 352, 60, 532, 15094, 58, 45299, 352, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 19, 11, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5192, 261, 16996, 796, 45941, 13, 18747, 26933, 37659, 13, 31369, 7, 27787, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45941, 13, 6966, 7, 27787, 15437, 737, 51, 628, 220, 220, 220, 220, 220, 220, 220, 15094, 15853, 45941, 13, 11201, 392, 62, 67, 12078, 7, 5420, 62, 11925, 11, 16488, 10779, 16, 8, 1635, 5192, 261, 16996, 1635, 5046, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 15094, 628, 220, 220, 220, 825, 4808, 36007, 676, 7, 47003, 11, 1006, 62, 11925, 11, 16021, 62, 11085, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 15094, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1006, 62, 11925, 25, 299, 67, 18747, 11, 5485, 796, 357, 19, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 16021, 62, 11085, 25, 25131, 11, 611, 6407, 11, 16021, 13015, 481, 307, 38900, 717, 11, 4306, 11723, 3392, 481, 307, 38900, 717, 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, 611, 16021, 62, 11085, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15094, 796, 4808, 36007, 676, 62, 71, 7, 47003, 11, 1006, 62, 11925, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15094, 796, 4808, 36007, 676, 62, 85, 7, 47003, 11, 1006, 62, 11925, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15094, 796, 4808, 36007, 676, 62, 85, 7, 47003, 11, 1006, 62, 11925, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15094, 796, 4808, 36007, 676, 62, 71, 7, 47003, 11, 1006, 62, 11925, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 15094, 628, 220, 220, 220, 3091, 62, 77, 5700, 796, 27179, 5813, 62, 421, 5643, 13, 43358, 58, 15, 60, 628, 220, 220, 220, 1303, 20428, 11, 8801, 3083, 422, 16021, 1353, 5743, 198, 220, 220, 220, 1303, 5485, 796, 357, 3524, 997, 82, 11, 604, 8, 198, 220, 220, 220, 20428, 796, 45941, 13, 75, 1292, 70, 13, 27237, 7, 3447, 5813, 62, 421, 5643, 532, 45941, 13, 2487, 7, 3447, 5813, 62, 421, 5643, 11, 352, 11, 16488, 28, 16, 828, 16488, 10779, 16, 8, 628, 220, 220, 220, 289, 62, 75, 641, 11, 410, 62, 75, 641, 796, 45941, 13, 32604, 7, 13664, 82, 58, 45299, 7904, 17, 4357, 16488, 10779, 16, 828, 45941, 13, 32604, 7, 13664, 82, 58, 45299, 352, 3712, 17, 4357, 16488, 10779, 16, 8, 198, 220, 220, 220, 16021, 62, 11085, 82, 796, 289, 62, 75, 641, 1875, 410, 62, 75, 641, 628, 220, 220, 220, 22085, 276, 62, 421, 5643, 796, 45941, 13, 18747, 26933, 62, 36007, 676, 7, 3447, 5813, 62, 421, 5643, 58, 65, 4357, 1006, 62, 13664, 82, 58, 65, 4357, 16021, 62, 11085, 82, 58, 65, 12962, 329, 275, 287, 2837, 7, 3524, 62, 77, 5700, 8, 12962, 198, 220, 220, 220, 1441, 22085, 276, 62, 421, 5643, 13, 3447, 1758, 19510, 12, 16, 11, 807, 4008, 628, 198, 198, 4299, 627, 5643, 17, 81, 29305, 62, 77, 32152, 7, 421, 5643, 11, 266, 11, 289, 11, 22085, 62, 9888, 28, 15, 13, 18, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 10385, 627, 5643, 656, 374, 3524, 11, 766, 2336, 19, 287, 412, 11262, 3348, 198, 220, 220, 220, 3740, 1378, 12567, 13, 785, 14, 38224, 5488, 12, 51, 461, 316, 3216, 14, 37, 33472, 62, 4503, 49, 14, 2436, 672, 14, 20, 66, 22291, 19881, 17, 68, 18, 67, 49503, 67, 21, 69, 23, 2075, 69, 3324, 4869, 6814, 5892, 7012, 19, 67, 44093, 67, 2919, 65, 14, 7890, 62, 15234, 1304, 14, 7890, 62, 26791, 13, 9078, 2, 43, 36189, 628, 220, 220, 220, 352, 13, 2251, 5288, 35991, 7346, 627, 5643, 2173, 290, 9848, 13, 777, 3815, 389, 2727, 416, 1280, 33967, 338, 949, 30547, 45474, 628, 220, 220, 220, 1058, 17143, 627, 5643, 25, 299, 67, 18747, 11, 5485, 796, 357, 3524, 997, 82, 11, 807, 8, 198, 220, 220, 220, 1058, 17143, 266, 25, 493, 198, 220, 220, 220, 1058, 17143, 289, 25, 493, 198, 220, 220, 220, 1058, 17143, 22085, 62, 9888, 25, 6045, 393, 493, 11, 779, 8246, 627, 5643, 284, 15284, 288, 1023, 611, 6045, 393, 352, 11, 779, 22085, 276, 3392, 4306, 198, 220, 220, 220, 1058, 7783, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1426, 25, 299, 67, 18747, 11, 5485, 796, 357, 71, 11, 266, 8, 198, 220, 220, 220, 220, 220, 220, 220, 374, 3524, 25, 299, 67, 18747, 11, 5485, 16193, 71, 11, 266, 11, 642, 16193, 19, 16193, 83, 11, 374, 11, 275, 11, 300, 47762, 16, 16193, 9248, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5740, 326, 9848, 318, 1022, 25915, 14415, 14, 19, 11, 31028, 14, 19, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27179, 5813, 62, 421, 5643, 796, 627, 5643, 13, 3447, 1758, 19510, 12, 16, 11, 604, 11, 362, 29720, 30073, 3419, 628, 220, 220, 220, 27179, 5813, 62, 421, 5643, 58, 45299, 1058, 11, 657, 60, 1635, 28, 266, 198, 220, 220, 220, 27179, 5813, 62, 421, 5643, 58, 45299, 1058, 11, 352, 60, 1635, 28, 289, 628, 220, 220, 220, 3091, 62, 77, 5700, 11, 4808, 11, 4808, 796, 27179, 5813, 62, 421, 5643, 13, 43358, 628, 220, 220, 220, 1303, 37588, 198, 220, 220, 220, 374, 3524, 796, 45941, 13, 9107, 418, 19510, 71, 11, 266, 11, 642, 828, 288, 4906, 28, 37659, 13, 22468, 2624, 8, 220, 1303, 5485, 16193, 71, 11, 266, 11, 642, 16193, 19, 16193, 83, 11, 374, 11, 275, 11, 300, 47762, 16, 16193, 9248, 4008, 198, 220, 220, 220, 1426, 796, 45941, 13, 9107, 418, 19510, 71, 11, 266, 828, 288, 4906, 28, 37659, 13, 30388, 8, 628, 220, 220, 220, 1303, 22085, 198, 220, 220, 220, 611, 22085, 62, 9888, 290, 22085, 62, 9888, 14512, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 38900, 62, 421, 5643, 796, 22085, 62, 421, 5643, 62, 77, 32152, 7, 3447, 5813, 62, 421, 5643, 13, 3447, 1758, 32590, 16, 11, 807, 737, 30073, 22784, 22085, 62, 9888, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 38900, 62, 421, 5643, 796, 27179, 5813, 62, 421, 5643, 13, 3447, 1758, 32590, 16, 11, 807, 737, 30073, 3419, 198, 220, 220, 220, 38900, 62, 421, 5643, 58, 45299, 7904, 17, 60, 1220, 28, 266, 198, 220, 220, 220, 38900, 62, 421, 5643, 58, 45299, 352, 3712, 17, 60, 1220, 28, 289, 628, 220, 220, 220, 329, 275, 287, 2837, 7, 3524, 62, 77, 5700, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 13621, 796, 269, 85, 17, 13, 1084, 30547, 45474, 7, 3447, 5813, 62, 421, 5643, 58, 65, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3465, 326, 9848, 2837, 318, 357, 15, 11, 4101, 60, 198, 220, 220, 220, 220, 220, 220, 220, 9848, 796, 532, 2554, 58, 12, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 19, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8801, 3083, 422, 331, 9806, 966, 25, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 26561, 34626, 1157, 14, 10919, 12, 22437, 12, 33967, 17, 12, 33967, 12, 3524, 13033, 2554, 12, 7783, 14, 20, 22186, 1828, 4531, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 19, 457, 82, 796, 269, 85, 17, 13, 3524, 40710, 7, 2554, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6482, 3091, 62, 19, 457, 82, 329, 8801, 3083, 1502, 422, 1353, 12, 9464, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 290, 10385, 9848, 2837, 656, 685, 15, 11, 4101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 9848, 6624, 4101, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9848, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16021, 290, 11723, 3951, 389, 10730, 284, 2124, 12, 22704, 290, 331, 12, 22704, 8148, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3091, 318, 8801, 3083, 1502, 422, 4220, 12, 3506, 11, 1312, 13, 68, 13, 6376, 657, 318, 4220, 12, 3506, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6482, 796, 532, 17, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 9848, 1279, 4153, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3091, 318, 8801, 3083, 1502, 422, 4220, 12, 9464, 11, 1312, 13, 68, 13, 6376, 657, 318, 4220, 12, 9464, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6482, 796, 532, 16, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3091, 318, 8801, 3083, 1502, 422, 4220, 12, 3506, 11, 1312, 13, 68, 13, 6376, 657, 318, 4220, 12, 3506, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6482, 796, 532, 17, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 19, 457, 82, 796, 45941, 13, 2487, 7, 3524, 62, 19, 457, 82, 11, 6482, 11, 16488, 28, 15, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 24061, 5253, 422, 1123, 966, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 13163, 9647, 82, 11, 23245, 796, 45941, 13, 76, 5069, 25928, 7, 37659, 13, 283, 858, 7, 18, 828, 45941, 13, 283, 858, 7, 22, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 13163, 23245, 13, 43358, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 357, 22, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 13163, 479, 28, 37659, 13, 1102, 9246, 268, 378, 19510, 37659, 13, 11201, 392, 62, 67, 12078, 7, 10394, 82, 11, 532, 16, 828, 45941, 13, 11201, 392, 62, 67, 12078, 7, 258, 2337, 11, 532, 16, 36911, 16488, 10779, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 13163, 479, 58, 15, 11, 16, 11, 47715, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7177, 26933, 16, 11, 657, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 82, 11, 23245, 796, 45941, 13, 76, 5069, 25928, 7, 37659, 13, 283, 858, 7, 86, 828, 45941, 13, 283, 858, 7, 71, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 71, 11, 266, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 15587, 796, 45941, 13, 1102, 9246, 268, 378, 19510, 37659, 13, 11201, 392, 62, 67, 12078, 7, 10394, 82, 11, 532, 16, 828, 45941, 13, 11201, 392, 62, 67, 12078, 7, 258, 2337, 11, 532, 16, 36911, 16488, 10779, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 357, 71, 11, 266, 11, 604, 16193, 83, 11, 81, 11, 65, 11, 75, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 288, 1023, 796, 288, 1023, 62, 457, 17, 1370, 62, 77, 32152, 7, 3524, 62, 19, 457, 82, 11, 45941, 13, 2487, 7, 3524, 62, 19, 457, 82, 11, 532, 16, 11, 16488, 28, 15, 828, 15587, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 24061, 1426, 198, 220, 220, 220, 220, 220, 220, 220, 38900, 62, 47003, 796, 38900, 62, 421, 5643, 58, 65, 60, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 796, 15094, 17, 27932, 62, 77, 32152, 7, 36007, 2954, 62, 47003, 11, 266, 11, 289, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1426, 796, 45941, 13, 6404, 605, 62, 273, 7, 1930, 11, 9335, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 8333, 288, 1023, 198, 220, 220, 220, 220, 220, 220, 220, 374, 3524, 58, 27932, 11, 1058, 19, 60, 796, 288, 1023, 58, 27932, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8333, 9848, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 1738, 286, 2174, 1429, 318, 3740, 1378, 12567, 13, 785, 14, 853, 805, 14, 36, 11262, 14, 37165, 14, 21536, 198, 220, 220, 220, 220, 220, 220, 220, 9848, 796, 9848, 611, 9848, 1279, 4153, 2073, 532, 7, 3829, 532, 9848, 8, 198, 220, 220, 220, 220, 220, 220, 220, 374, 3524, 58, 27932, 11, 532, 16, 60, 796, 45941, 13, 13500, 17, 6335, 7, 9248, 8, 628, 198, 220, 220, 220, 1441, 1426, 11, 374, 3524, 198, 198, 2, 5420, 3740, 1378, 12567, 13, 785, 14, 38224, 5488, 12, 51, 461, 316, 3216, 14, 37, 33472, 62, 4503, 49, 14, 2436, 672, 14, 20, 66, 22291, 19881, 17, 68, 18, 67, 49503, 67, 21, 69, 23, 2075, 69, 3324, 4869, 6814, 5892, 7012, 19, 67, 44093, 67, 2919, 65, 14, 7890, 62, 15234, 1304, 14, 7890, 62, 26791, 13, 9078, 2, 43, 36260, 198, 4299, 374, 29305, 17, 421, 5643, 62, 77, 32152, 7, 81, 29305, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 374, 29305, 25, 299, 67, 18747, 11, 5485, 796, 20789, 11, 289, 11, 266, 11, 642, 16193, 19, 16193, 83, 11, 81, 11, 65, 11, 75, 8, 1343, 352, 28, 9248, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 5740, 326, 9848, 318, 1022, 25915, 14415, 14, 19, 11, 31028, 14, 19, 8, 198, 220, 220, 220, 1058, 7783, 25, 627, 5643, 25, 299, 67, 18747, 11, 5485, 796, 20789, 11, 289, 11, 266, 11, 807, 16193, 87, 16, 11, 331, 16, 42303, 8801, 3083, 1502, 422, 1353, 12, 9464, 4008, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 288, 1023, 11, 5485, 796, 20789, 11, 289, 11, 266, 11, 604, 16193, 83, 11, 81, 11, 65, 11, 75, 4008, 198, 220, 220, 220, 1303, 18333, 11, 5485, 796, 20789, 11, 289, 11, 266, 8, 198, 220, 220, 220, 289, 11, 266, 11, 4808, 796, 374, 29305, 13, 43358, 58, 12, 18, 47715, 198, 220, 220, 220, 288, 1023, 11, 18333, 796, 374, 29305, 58, 986, 11, 1058, 19, 4357, 374, 29305, 58, 986, 11, 604, 60, 628, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 11, 642, 16193, 83, 11, 81, 11, 65, 11, 75, 11, 28968, 828, 362, 16193, 87, 11, 88, 4008, 198, 220, 220, 220, 43344, 796, 45941, 13, 9107, 418, 7, 4868, 7, 67, 1023, 13, 43358, 58, 21912, 16, 12962, 1343, 685, 20, 11, 362, 4357, 288, 4906, 28, 37659, 13, 22468, 2624, 8, 628, 220, 220, 220, 1303, 8333, 43344, 329, 9848, 18189, 657, 198, 220, 220, 220, 288, 1023, 62, 1930, 796, 288, 1023, 58, 27787, 18189, 657, 60, 198, 220, 220, 220, 611, 288, 1023, 62, 1930, 13, 7857, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 8, 198, 220, 220, 220, 220, 220, 220, 220, 21246, 11, 2489, 11, 3005, 3150, 11, 1364, 82, 796, 45941, 13, 2487, 22704, 7, 67, 1023, 62, 1930, 11, 16488, 10779, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5485, 796, 21246, 13, 43358, 198, 220, 220, 220, 220, 220, 220, 220, 43344, 58, 27787, 18189, 657, 60, 796, 45941, 13, 21084, 22704, 7, 37659, 13, 18747, 26933, 58, 37659, 13, 9107, 418, 7, 43358, 828, 532, 7, 35011, 10, 10985, 3150, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 9464, 82, 10, 28046, 11, 532, 7, 35011, 10, 10985, 3150, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 9464, 82, 10, 28046, 11, 45941, 13, 9107, 418, 7, 43358, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 37659, 13, 9107, 418, 7, 43358, 828, 45941, 13, 9107, 418, 7, 43358, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 9464, 82, 11, 532, 10985, 3150, 11907, 828, 685, 15, 11, 352, 4357, 25915, 17, 11, 532, 16, 12962, 628, 220, 220, 220, 1303, 8333, 43344, 329, 9848, 1279, 657, 198, 220, 220, 220, 288, 1023, 62, 12480, 796, 288, 1023, 58, 27787, 1279, 657, 60, 198, 220, 220, 220, 611, 288, 1023, 62, 12480, 13, 7857, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 8, 198, 220, 220, 220, 220, 220, 220, 220, 21246, 11, 2489, 11, 3005, 3150, 11, 1364, 82, 796, 45941, 13, 2487, 22704, 7, 67, 1023, 62, 12480, 11, 16488, 10779, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5485, 796, 21246, 13, 43358, 198, 220, 220, 220, 220, 220, 220, 220, 43344, 58, 27787, 1279, 657, 60, 796, 45941, 13, 21084, 22704, 7, 37659, 13, 18747, 26933, 58, 30420, 9464, 82, 10, 28046, 828, 532, 7, 35011, 10, 10985, 3150, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 37659, 13, 9107, 418, 7, 43358, 828, 532, 7, 35011, 10, 10985, 3150, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 37659, 13, 9107, 418, 7, 43358, 828, 45941, 13, 9107, 418, 7, 43358, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25915, 7, 9464, 82, 10, 28046, 828, 45941, 13, 9107, 418, 7, 43358, 8, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25915, 28046, 11, 532, 10985, 3150, 11907, 828, 685, 15, 11, 352, 4357, 25915, 17, 11, 532, 16, 12962, 628, 220, 220, 220, 1303, 3465, 326, 23064, 8801, 3083, 318, 3967, 11, 4306, 11, 4633, 198, 220, 220, 220, 18333, 1635, 28, 532, 16, 628, 220, 220, 220, 1303, 23064, 198, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 11, 362, 8, 198, 220, 220, 220, 371, 796, 45941, 13, 21084, 22704, 7, 37659, 13, 18747, 26933, 58, 37659, 13, 6966, 7, 27787, 828, 532, 37659, 13, 31369, 7, 27787, 8, 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, 685, 37659, 13, 31369, 7, 27787, 828, 45941, 13, 6966, 7, 27787, 8, 11907, 828, 685, 15, 11, 352, 4357, 25915, 17, 11, 532, 16, 12962, 198, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 16193, 87, 11, 331, 828, 642, 16193, 83, 11, 81, 11, 65, 11, 75, 11, 28968, 4008, 198, 220, 220, 220, 43344, 796, 45941, 13, 2032, 499, 897, 274, 7, 457, 82, 11, 532, 16, 11, 532, 17, 8, 198, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 16193, 87, 11, 331, 828, 642, 16193, 83, 11, 81, 11, 65, 11, 75, 11, 28968, 4008, 198, 220, 220, 220, 38375, 62, 457, 82, 796, 371, 2488, 43344, 628, 220, 220, 220, 1303, 627, 5643, 11, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 16193, 87, 11, 331, 828, 604, 16193, 83, 11, 81, 11, 65, 11, 75, 4008, 198, 220, 220, 220, 1303, 49005, 11, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 16193, 87, 11, 331, 828, 352, 16193, 28968, 4008, 198, 220, 220, 220, 627, 5643, 11, 49005, 796, 38375, 62, 457, 82, 58, 986, 11, 1058, 19, 4357, 38375, 62, 457, 82, 58, 986, 11, 604, 25, 20, 60, 628, 220, 220, 220, 1303, 10548, 198, 220, 220, 220, 9647, 82, 11, 23245, 796, 45941, 13, 76, 5069, 25928, 7, 37659, 13, 283, 858, 7, 86, 828, 45941, 13, 283, 858, 7, 71, 4008, 198, 220, 220, 220, 1303, 5485, 796, 357, 71, 11, 266, 11, 362, 8, 198, 220, 220, 220, 15587, 796, 45941, 13, 1102, 9246, 268, 378, 19510, 37659, 13, 11201, 392, 62, 67, 12078, 7, 10394, 82, 11, 532, 16, 828, 45941, 13, 11201, 392, 62, 67, 12078, 7, 258, 2337, 11, 532, 16, 36911, 16488, 10779, 16, 8, 198, 220, 220, 220, 1303, 5485, 796, 20789, 11, 289, 11, 266, 11, 362, 16193, 87, 11, 88, 828, 352, 8, 198, 220, 220, 220, 15587, 796, 45941, 13, 11201, 392, 62, 67, 12078, 7, 11612, 1040, 11, 16488, 28, 83, 29291, 7, 72, 329, 1312, 287, 2837, 32590, 16, 11, 374, 29305, 13, 358, 320, 532, 513, 22305, 198, 220, 220, 220, 627, 5643, 15853, 15587, 532, 49005, 628, 220, 220, 220, 627, 5643, 58, 986, 11, 657, 11, 1058, 60, 796, 45941, 13, 15036, 7, 421, 5643, 58, 986, 11, 657, 11, 1058, 4357, 657, 11, 266, 8, 198, 220, 220, 220, 627, 5643, 58, 986, 11, 352, 11, 1058, 60, 796, 45941, 13, 15036, 7, 421, 5643, 58, 986, 11, 352, 11, 1058, 4357, 657, 11, 289, 8, 628, 220, 220, 220, 1303, 27179, 1758, 198, 220, 220, 220, 627, 5643, 796, 45941, 13, 2032, 499, 897, 274, 7, 421, 5643, 11, 532, 16, 11, 532, 17, 737, 3447, 1758, 7, 4868, 7, 81, 29305, 13, 43358, 58, 21912, 16, 12962, 1343, 685, 23, 12962, 628, 220, 220, 220, 1441, 627, 5643 ]
2.106269
8,055
import re # optional dot, word characters, hyphens allowed tag_regex = "^\.?[-\w]+$" # same but repeated and joined by + multitag_regex = "^(\+?\.?[-\w]+)+$"
[ 11748, 302, 198, 198, 2, 11902, 16605, 11, 1573, 3435, 11, 5328, 5135, 3142, 198, 12985, 62, 260, 25636, 796, 366, 61, 17405, 30, 58, 12, 59, 86, 48688, 3, 1, 198, 2, 976, 475, 5100, 290, 5399, 416, 1343, 198, 16680, 270, 363, 62, 260, 25636, 796, 366, 61, 38016, 10, 30, 17405, 30, 58, 12, 59, 86, 60, 28988, 10, 3, 1, 628 ]
2.461538
65
import numpy as np import torch from torch.utils.data import Dataset, Sampler from torch_geometric.data import Data from rorlkit.torch.data_management import rosbag_data
[ 11748, 299, 32152, 355, 45941, 198, 198, 11748, 28034, 198, 6738, 28034, 13, 26791, 13, 7890, 1330, 16092, 292, 316, 11, 3409, 20053, 198, 6738, 28034, 62, 469, 16996, 13, 7890, 1330, 6060, 198, 198, 6738, 374, 273, 75, 15813, 13, 13165, 354, 13, 7890, 62, 27604, 1330, 686, 82, 21454, 62, 7890, 628, 628, 628, 198 ]
3.122807
57
import copy
[ 11748, 4866, 628 ]
4.333333
3
import argparse import math import sys import tqdm sys.path.append('/relnet') from relnet.evaluation.experiment_conditions import get_conditions_for_experiment from relnet.evaluation.file_paths import FilePaths from multiprocessing.pool import Pool from psutil import cpu_count if __name__ == "__main__": main()
[ 11748, 1822, 29572, 198, 11748, 10688, 198, 11748, 25064, 198, 11748, 256, 80, 36020, 198, 198, 17597, 13, 6978, 13, 33295, 10786, 14, 2411, 3262, 11537, 198, 198, 6738, 823, 3262, 13, 18206, 2288, 13, 23100, 3681, 62, 17561, 1756, 1330, 651, 62, 17561, 1756, 62, 1640, 62, 23100, 3681, 198, 6738, 823, 3262, 13, 18206, 2288, 13, 7753, 62, 6978, 82, 1330, 9220, 15235, 82, 198, 198, 6738, 18540, 305, 919, 278, 13, 7742, 1330, 19850, 198, 6738, 26692, 22602, 1330, 42804, 62, 9127, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
3.076923
104
__all__ = ["composition", "crystal"]
[ 834, 439, 834, 796, 14631, 785, 9150, 1600, 366, 20470, 7757, 8973 ]
3
12
import sys from unittest import mock import py import pytest FIX_PROJECT = py.path.local(__file__).dirpath("fixture-project") @pytest.fixture @pytest.fixture
[ 11748, 25064, 198, 6738, 555, 715, 395, 1330, 15290, 198, 198, 11748, 12972, 198, 11748, 12972, 9288, 198, 198, 47084, 62, 31190, 23680, 796, 12972, 13, 6978, 13, 12001, 7, 834, 7753, 834, 737, 15908, 6978, 7203, 69, 9602, 12, 16302, 4943, 628, 628, 198, 198, 31, 9078, 9288, 13, 69, 9602, 628, 198, 31, 9078, 9288, 13, 69, 9602, 198 ]
2.737705
61
import typing import colors palette: typing.Mapping[str, typing.Mapping[int, typing.Tuple[int, int, int]]] = { "blueGray": { 50: (248, 250, 252), 100: (241, 245, 249), 200: (226, 232, 240), 300: (203, 213, 225), 400: (148, 163, 184), 500: (100, 116, 139), 600: (71, 85, 105), 700: (51, 65, 85), 800: (30, 41, 59), 900: (15, 23, 42), }, "coolGray": { 50: (249, 250, 251), 100: (243, 244, 246), 200: (229, 231, 235), 300: (209, 213, 219), 400: (156, 163, 175), 500: (107, 114, 128), 600: (75, 85, 99), 700: (55, 65, 81), 800: (31, 41, 55), 900: (17, 24, 39), }, "gray": { 50: (250, 250, 250), 100: (244, 244, 245), 200: (228, 228, 231), 300: (212, 212, 216), 400: (161, 161, 170), 500: (113, 113, 122), 600: (82, 82, 91), 700: (63, 63, 70), 800: (39, 39, 42), 900: (24, 24, 27), }, "trueGray": { 50: (250, 250, 250), 100: (245, 245, 245), 200: (229, 229, 229), 300: (212, 212, 212), 400: (163, 163, 163), 500: (115, 115, 115), 600: (82, 82, 82), 700: (64, 64, 64), 800: (38, 38, 38), 900: (23, 23, 23), }, "warmGray": { 50: (250, 250, 249), 100: (245, 245, 244), 200: (231, 229, 228), 300: (214, 211, 209), 400: (168, 162, 158), 500: (120, 113, 108), 600: (87, 83, 78), 700: (68, 64, 60), 800: (41, 37, 36), 900: (28, 25, 23), }, "red": { 50: (254, 242, 242), 100: (254, 226, 226), 200: (254, 202, 202), 300: (252, 165, 165), 400: (248, 113, 113), 500: (239, 68, 68), 600: (220, 38, 38), 700: (185, 28, 28), 800: (153, 27, 27), 900: (127, 29, 29), }, "orange": { 50: (255, 247, 237), 100: (255, 237, 213), 200: (254, 215, 170), 300: (253, 186, 116), 400: (251, 146, 60), 500: (249, 115, 22), 600: (234, 88, 12), 700: (194, 65, 12), 800: (154, 52, 18), 900: (124, 45, 18), }, "amber": { 50: (255, 251, 235), 100: (254, 243, 199), 200: (253, 230, 138), 300: (252, 211, 77), 400: (251, 191, 36), 500: (245, 158, 11), 600: (217, 119, 6), 700: (180, 83, 9), 800: (146, 64, 14), 900: (120, 53, 15), }, "yellow": { 50: (254, 252, 232), 100: (254, 249, 195), 200: (254, 240, 138), 300: (253, 224, 71), 400: (250, 204, 21), 500: (234, 179, 8), 600: (202, 138, 4), 700: (161, 98, 7), 800: (133, 77, 14), 900: (113, 63, 18), }, "lime": { 50: (247, 254, 231), 100: (236, 252, 203), 200: (217, 249, 157), 300: (190, 242, 100), 400: (163, 230, 53), 500: (132, 204, 22), 600: (101, 163, 13), 700: (77, 124, 15), 800: (63, 98, 18), 900: (54, 83, 20), }, "green": { 50: (240, 253, 244), 100: (220, 252, 231), 200: (187, 247, 208), 300: (134, 239, 172), 400: (74, 222, 128), 500: (34, 197, 94), 600: (22, 163, 74), 700: (21, 128, 61), 800: (22, 101, 52), 900: (20, 83, 45), }, "emerald": { 50: (236, 253, 245), 100: (209, 250, 229), 200: (167, 243, 208), 300: (110, 231, 183), 400: (52, 211, 153), 500: (16, 185, 129), 600: (5, 150, 105), 700: (4, 120, 87), 800: (6, 95, 70), 900: (6, 78, 59), }, "teal": { 50: (240, 253, 250), 100: (204, 251, 241), 200: (153, 246, 228), 300: (94, 234, 212), 400: (45, 212, 191), 500: (20, 184, 166), 600: (13, 148, 136), 700: (15, 118, 110), 800: (17, 94, 89), 900: (19, 78, 74), }, "cyan": { 50: (236, 254, 255), 100: (207, 250, 254), 200: (165, 243, 252), 300: (103, 232, 249), 400: (34, 211, 238), 500: (6, 182, 212), 600: (8, 145, 178), 700: (14, 116, 144), 800: (21, 94, 117), 900: (22, 78, 99), }, "sky": { 50: (240, 249, 255), 100: (224, 242, 254), 200: (186, 230, 253), 300: (125, 211, 252), 400: (56, 189, 248), 500: (14, 165, 233), 600: (2, 132, 199), 700: (3, 105, 161), 800: (7, 89, 133), 900: (12, 74, 110), }, "blue": { 50: (239, 246, 255), 100: (219, 234, 254), 200: (191, 219, 254), 300: (147, 197, 253), 400: (96, 165, 250), 500: (59, 130, 246), 600: (37, 99, 235), 700: (29, 78, 216), 800: (30, 64, 175), 900: (30, 58, 138), }, "indigo": { 50: (238, 242, 255), 100: (224, 231, 255), 200: (199, 210, 254), 300: (165, 180, 252), 400: (129, 140, 248), 500: (99, 102, 241), 600: (79, 70, 229), 700: (67, 56, 202), 800: (55, 48, 163), 900: (49, 46, 129), }, "violet": { 50: (245, 243, 255), 100: (237, 233, 254), 200: (221, 214, 254), 300: (196, 181, 253), 400: (167, 139, 250), 500: (139, 92, 246), 600: (124, 58, 237), 700: (109, 40, 217), 800: (91, 33, 182), 900: (76, 29, 149), }, "purple": { 50: (250, 245, 255), 100: (243, 232, 255), 200: (233, 213, 255), 300: (216, 180, 254), 400: (192, 132, 252), 500: (168, 85, 247), 600: (147, 51, 234), 700: (126, 34, 206), 800: (107, 33, 168), 900: (88, 28, 135), }, "fuchsia": { 50: (253, 244, 255), 100: (250, 232, 255), 200: (245, 208, 254), 300: (240, 171, 252), 400: (232, 121, 249), 500: (217, 70, 239), 600: (192, 38, 211), 700: (162, 28, 175), 800: (134, 25, 143), 900: (112, 26, 117), }, "pink": { 50: (253, 242, 248), 100: (252, 231, 243), 200: (251, 207, 232), 300: (249, 168, 212), 400: (244, 114, 182), 500: (236, 72, 153), 600: (219, 39, 119), 700: (190, 24, 93), 800: (157, 23, 77), 900: (131, 24, 67), }, "rose": { 50: (255, 241, 242), 100: (255, 228, 230), 200: (254, 205, 211), 300: (253, 164, 175), 400: (251, 113, 133), 500: (244, 63, 94), 600: (225, 29, 72), 700: (190, 18, 60), 800: (159, 18, 57), 900: (136, 19, 55), }, } engine = make_color("cyan", 500) wagon = make_color("teal", 500) train = make_color("blue", 600) era = make_color("gray", 500) good = make_color("green", 500) bad = make_color("red", 500) neutral = make_color("gray", 500) money = make_color("green", 500) timber = make_color("yellow", 700) coal = make_color("gray", 700) iron = make_color("gray", 400) diesel = make_color("magenta", 500) steel = make_color("gray", 100) electric = make_color("yellow", 400) quest = make_color("pink", 500)
[ 11748, 19720, 198, 198, 11748, 7577, 198, 198, 18596, 5857, 25, 19720, 13, 44, 5912, 58, 2536, 11, 19720, 13, 44, 5912, 58, 600, 11, 19720, 13, 51, 29291, 58, 600, 11, 493, 11, 493, 11907, 60, 796, 1391, 198, 220, 220, 220, 366, 17585, 46130, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 23045, 11, 8646, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 28872, 11, 29637, 11, 34620, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24909, 11, 31773, 11, 14956, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 22416, 11, 28658, 11, 18500, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 18294, 11, 26826, 11, 28598, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 3064, 11, 18693, 11, 23666, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 4869, 11, 7600, 11, 13343, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 4349, 11, 6135, 11, 7600, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 1270, 11, 6073, 11, 7863, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1314, 11, 2242, 11, 5433, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 24494, 46130, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 21626, 11, 8646, 11, 34489, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 26660, 11, 35264, 11, 34951, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 23539, 11, 34598, 11, 28878, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 22567, 11, 28658, 11, 30453, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 21599, 11, 26826, 11, 19038, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 15982, 11, 17342, 11, 13108, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 2425, 11, 7600, 11, 7388, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 2816, 11, 6135, 11, 9773, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 3132, 11, 6073, 11, 5996, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1558, 11, 1987, 11, 5014, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 44605, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 9031, 11, 8646, 11, 8646, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 25707, 11, 35264, 11, 29637, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 23815, 11, 29041, 11, 34598, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 21777, 11, 23679, 11, 26881, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 25948, 11, 27829, 11, 16677, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 16616, 11, 17318, 11, 19409, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 6469, 11, 9415, 11, 10495, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 5066, 11, 8093, 11, 4317, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 2670, 11, 5014, 11, 5433, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1731, 11, 1987, 11, 2681, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 7942, 46130, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 9031, 11, 8646, 11, 8646, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 22995, 11, 29637, 11, 29637, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 23539, 11, 31064, 11, 31064, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 21777, 11, 23679, 11, 23679, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 24136, 11, 26826, 11, 26826, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 15363, 11, 12279, 11, 12279, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 6469, 11, 9415, 11, 9415, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 2414, 11, 5598, 11, 5598, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 2548, 11, 4353, 11, 4353, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1954, 11, 2242, 11, 2242, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 31975, 46130, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 9031, 11, 8646, 11, 34620, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 22995, 11, 29637, 11, 35264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 25667, 11, 31064, 11, 29041, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 22291, 11, 28714, 11, 28815, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 14656, 11, 25090, 11, 24063, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 10232, 11, 17318, 11, 15495, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 5774, 11, 9698, 11, 8699, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 3104, 11, 5598, 11, 3126, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 3901, 11, 5214, 11, 4570, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 2078, 11, 1679, 11, 2242, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 445, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 24970, 11, 34353, 11, 34353, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24970, 11, 31510, 11, 31510, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24970, 11, 22131, 11, 22131, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 22800, 11, 21409, 11, 21409, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 23045, 11, 17318, 11, 17318, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 23516, 11, 8257, 11, 8257, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 17572, 11, 4353, 11, 4353, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 21652, 11, 2579, 11, 2579, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 21395, 11, 2681, 11, 2681, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 16799, 11, 2808, 11, 2808, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 43745, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 13381, 11, 30179, 11, 34385, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 13381, 11, 34385, 11, 28658, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24970, 11, 22951, 11, 16677, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 28592, 11, 28481, 11, 18693, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 28072, 11, 22986, 11, 3126, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 21626, 11, 12279, 11, 2534, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 24409, 11, 9193, 11, 1105, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 22913, 11, 6135, 11, 1105, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 21526, 11, 6740, 11, 1248, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 17464, 11, 4153, 11, 1248, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 7789, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 13381, 11, 34489, 11, 28878, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24970, 11, 35989, 11, 1594, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 28592, 11, 18395, 11, 21503, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 22800, 11, 28714, 11, 8541, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 28072, 11, 31009, 11, 4570, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 22995, 11, 24063, 11, 1367, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 24591, 11, 15136, 11, 718, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 15259, 11, 9698, 11, 860, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 20964, 11, 5598, 11, 1478, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 10232, 11, 7192, 11, 1315, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 36022, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 24970, 11, 25264, 11, 31773, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24970, 11, 34620, 11, 24793, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24970, 11, 14956, 11, 21503, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 28592, 11, 26063, 11, 9166, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 9031, 11, 26956, 11, 2310, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 24409, 11, 27228, 11, 807, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 19004, 11, 21503, 11, 604, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 25948, 11, 9661, 11, 767, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 16945, 11, 8541, 11, 1478, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 16616, 11, 8093, 11, 1248, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 27299, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 23753, 11, 35360, 11, 34598, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24940, 11, 25264, 11, 27408, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24591, 11, 34620, 11, 23313, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 19782, 11, 34353, 11, 1802, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 24136, 11, 18395, 11, 7192, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 19924, 11, 26956, 11, 2534, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 8784, 11, 26826, 11, 1511, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 3324, 11, 19755, 11, 1315, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 5066, 11, 9661, 11, 1248, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 4051, 11, 9698, 11, 1160, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 14809, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 16102, 11, 32056, 11, 35264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 17572, 11, 25264, 11, 34598, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 23451, 11, 30179, 11, 27121, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 19880, 11, 32817, 11, 23120, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 4524, 11, 27795, 11, 13108, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 2682, 11, 29903, 11, 10048, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 1828, 11, 26826, 11, 8915, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 2481, 11, 13108, 11, 8454, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 1828, 11, 8949, 11, 6740, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1238, 11, 9698, 11, 4153, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 368, 12573, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 24940, 11, 32056, 11, 29637, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 22567, 11, 8646, 11, 31064, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 21940, 11, 35989, 11, 27121, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 11442, 11, 34598, 11, 28551, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 4309, 11, 28714, 11, 24652, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 1433, 11, 22855, 11, 20248, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 20, 11, 6640, 11, 13343, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 19, 11, 7982, 11, 10083, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 21, 11, 6957, 11, 4317, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 21, 11, 8699, 11, 7863, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 660, 282, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 16102, 11, 32056, 11, 8646, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 18638, 11, 34489, 11, 35150, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 21395, 11, 34951, 11, 29041, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 5824, 11, 34323, 11, 23679, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 2231, 11, 23679, 11, 31009, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 1238, 11, 28598, 11, 26753, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 1485, 11, 22613, 11, 21056, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 1314, 11, 19035, 11, 9796, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 1558, 11, 10048, 11, 9919, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1129, 11, 8699, 11, 8915, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 948, 272, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 24940, 11, 35360, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 22745, 11, 8646, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 20986, 11, 35989, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 15197, 11, 31773, 11, 34620, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 2682, 11, 28714, 11, 32544, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 21, 11, 28581, 11, 23679, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 23, 11, 20299, 11, 27368, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 1415, 11, 18693, 11, 20224, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 2481, 11, 10048, 11, 19048, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1828, 11, 8699, 11, 7388, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 15688, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 16102, 11, 34620, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24137, 11, 34353, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 25096, 11, 18395, 11, 32056, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 11623, 11, 28714, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 3980, 11, 27230, 11, 32996, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 1415, 11, 21409, 11, 30435, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 17, 11, 21761, 11, 1594, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 18, 11, 13343, 11, 27829, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 22, 11, 9919, 11, 22169, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1065, 11, 8915, 11, 9796, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 17585, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 23516, 11, 34951, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 28896, 11, 34323, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 26492, 11, 30453, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 20198, 11, 29903, 11, 32056, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 4846, 11, 21409, 11, 8646, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 3270, 11, 11323, 11, 34951, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 2718, 11, 7388, 11, 28878, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 1959, 11, 8699, 11, 26881, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 1270, 11, 5598, 11, 19038, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 1270, 11, 7618, 11, 21503, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 521, 14031, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 23721, 11, 34353, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24137, 11, 34598, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 19104, 11, 20064, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 20986, 11, 11546, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 18741, 11, 12713, 11, 32996, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 2079, 11, 15143, 11, 35150, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 3720, 11, 4317, 11, 31064, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 3134, 11, 7265, 11, 22131, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 2816, 11, 4764, 11, 26826, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 2920, 11, 6337, 11, 20248, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 85, 19194, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 22995, 11, 35989, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 24693, 11, 30435, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 26115, 11, 28277, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 25272, 11, 30110, 11, 32056, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 21940, 11, 23666, 11, 8646, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 20219, 11, 10190, 11, 34951, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 17464, 11, 7618, 11, 34385, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 14454, 11, 2319, 11, 24894, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 6420, 11, 4747, 11, 28581, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 4304, 11, 2808, 11, 24041, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 14225, 1154, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 9031, 11, 29637, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 26660, 11, 31773, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 25429, 11, 28658, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 20666, 11, 11546, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 17477, 11, 21761, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 14656, 11, 7600, 11, 30179, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 20198, 11, 6885, 11, 34323, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 19420, 11, 4974, 11, 27253, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 15982, 11, 4747, 11, 23378, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 3459, 11, 2579, 11, 17501, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 69, 37533, 544, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 28592, 11, 35264, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 9031, 11, 31773, 11, 14280, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 22995, 11, 27121, 11, 35360, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 16102, 11, 28369, 11, 25264, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 24339, 11, 20416, 11, 34620, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 24591, 11, 4317, 11, 32817, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 17477, 11, 4353, 11, 28714, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 25061, 11, 2579, 11, 19038, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 19880, 11, 1679, 11, 24356, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 14686, 11, 2608, 11, 19048, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 79, 676, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 28592, 11, 34353, 11, 32996, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 22800, 11, 34598, 11, 35989, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 28072, 11, 27791, 11, 31773, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 21626, 11, 23378, 11, 23679, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 25707, 11, 17342, 11, 28581, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 24940, 11, 7724, 11, 24652, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 28896, 11, 5014, 11, 15136, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 19782, 11, 1987, 11, 10261, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 18458, 11, 2242, 11, 8541, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 22042, 11, 1987, 11, 8275, 828, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 13698, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 2026, 25, 357, 13381, 11, 35150, 11, 34353, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1802, 25, 357, 13381, 11, 29041, 11, 18395, 828, 198, 220, 220, 220, 220, 220, 220, 220, 939, 25, 357, 24970, 11, 22538, 11, 28714, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5867, 25, 357, 28592, 11, 25307, 11, 19038, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7337, 25, 357, 28072, 11, 17318, 11, 22169, 828, 198, 220, 220, 220, 220, 220, 220, 220, 5323, 25, 357, 25707, 11, 8093, 11, 10048, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10053, 25, 357, 18182, 11, 2808, 11, 7724, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13037, 25, 357, 19782, 11, 1248, 11, 3126, 828, 198, 220, 220, 220, 220, 220, 220, 220, 10460, 25, 357, 19707, 11, 1248, 11, 7632, 828, 198, 220, 220, 220, 220, 220, 220, 220, 15897, 25, 357, 20809, 11, 678, 11, 5996, 828, 198, 220, 220, 220, 8964, 198, 92, 628, 628, 198, 18392, 796, 787, 62, 8043, 7203, 948, 272, 1600, 5323, 8, 198, 41127, 796, 787, 62, 8043, 7203, 660, 282, 1600, 5323, 8, 198, 27432, 796, 787, 62, 8043, 7203, 17585, 1600, 10053, 8, 198, 198, 8607, 796, 787, 62, 8043, 7203, 44605, 1600, 5323, 8, 198, 198, 11274, 796, 787, 62, 8043, 7203, 14809, 1600, 5323, 8, 198, 14774, 796, 787, 62, 8043, 7203, 445, 1600, 5323, 8, 198, 29797, 796, 787, 62, 8043, 7203, 44605, 1600, 5323, 8, 198, 198, 26316, 796, 787, 62, 8043, 7203, 14809, 1600, 5323, 8, 198, 16514, 527, 796, 787, 62, 8043, 7203, 36022, 1600, 13037, 8, 198, 25140, 796, 787, 62, 8043, 7203, 44605, 1600, 13037, 8, 198, 1934, 796, 787, 62, 8043, 7203, 44605, 1600, 7337, 8, 198, 25990, 417, 796, 787, 62, 8043, 7203, 19726, 29188, 1600, 5323, 8, 198, 44822, 796, 787, 62, 8043, 7203, 44605, 1600, 1802, 8, 198, 31067, 796, 787, 62, 8043, 7203, 36022, 1600, 7337, 8, 198, 6138, 796, 787, 62, 8043, 7203, 79, 676, 1600, 5323, 8, 198 ]
1.750763
4,257
from random import shuffle alunoI = input('Digite o aluno I: ') alunoII = input('Digite o aluno II: ') alunoIII = input('Digite o aluno III: ') alunoIV = input('Digite o aluno IV: ') ordem = [alunoI,alunoII,alunoIII, alunoIV] shuffle(ordem) print('A ordem de apresentação será') print(ordem)
[ 6738, 4738, 1330, 36273, 198, 198, 282, 36909, 40, 796, 5128, 10786, 19511, 578, 267, 435, 36909, 314, 25, 705, 8, 198, 282, 36909, 3978, 796, 5128, 10786, 19511, 578, 267, 435, 36909, 2873, 25, 705, 8, 198, 282, 36909, 10855, 796, 5128, 10786, 19511, 578, 267, 435, 36909, 6711, 25, 705, 8, 198, 282, 36909, 3824, 796, 5128, 10786, 19511, 578, 267, 435, 36909, 8363, 25, 705, 8, 198, 585, 368, 796, 685, 282, 36909, 40, 11, 282, 36909, 3978, 11, 282, 36909, 10855, 11, 435, 36909, 3824, 60, 198, 1477, 18137, 7, 585, 368, 8, 198, 198, 4798, 10786, 32, 2760, 368, 390, 2471, 2028, 64, 16175, 28749, 1055, 6557, 11537, 198, 4798, 7, 585, 368, 8, 198 ]
2.45
120
""" Module for various checkers. """ import re import logging from functools import lru_cache from abc import ABCMeta, abstractmethod from .parser import compile_regex from .exceptions import InvalidPatternError log = logging.getLogger(__name__) class Checker(metaclass=ABCMeta): """ Abstract class for Checker typing. """ @abstractmethod def fits(self, policy, field, what, inquiry=None): """ Check if fields from Inquiry fit some Policies """ pass class RegexChecker(Checker): """ Checker that uses regular expressions. E.g. 'Dog', 'Doge', 'Dogs' fit <Dog[se]?> 'Dogger' doesn't fit <Dog[se]?> """ def __init__(self, cache_size=1024): """Set up LRU-cache size for compiled regular expressions.""" self.compile = lru_cache(maxsize=cache_size)(compile_regex) def fits(self, policy, field, what, inquiry=None): """Does Policy fit the given 'what' value by its 'field' property""" where = getattr(policy, field, []) for i in where: # We are not meant to handle non-string values if they accidentally got here if type(i) != str: continue # check if 'where' item is not written in a policy-defined-regex syntax. if policy.start_tag not in i and policy.end_tag not in i: if i != what: continue # continue if it's not a string match else: return True # we've found a string match - policy fits by simple string value try: pattern = self.compile(i, policy.start_tag, policy.end_tag) except InvalidPatternError: log.exception('Error matching policy, because of failed regex %s compilation', i) return False if re.match(pattern, what): return True return False class StringChecker(Checker): """ Checker that uses string equality. You have to redefine `compare` method. """ def fits(self, policy, field, what, inquiry=None): """Does Policy fit the given 'what' value by its 'field' property""" where = getattr(policy, field, []) for item in where: # We are not meant to handle non-string values if they accidentally got here if type(item) != str: continue if policy.start_tag == item[0] and policy.end_tag == item[-1]: item = item[1:-1] if self.compare(what, item): return True return False @abstractmethod def compare(self, needle, haystack): """Compares two string values. Override it in a subclass""" pass class StringExactChecker(StringChecker): """ Checker that uses exact string equality. Case-sensitive. E.g. 'sun' in 'sunny' - False 'sun' in 'sun' - True """ class StringFuzzyChecker(StringChecker): """ Checker that uses fuzzy substring equality. Case-sensitive. E.g. 'sun' in 'sunny' - True 'sun' in 'unsung' - True 'sun' in 'sun' - True """ class RulesChecker(Checker): """ Checker that uses Rules defined inside dictionaries to determine match. """ def fits(self, policy, field, what, inquiry=None): """Does Policy fit the given 'what' value by its 'field' property""" where_list = getattr(policy, field, []) is_what_dict = isinstance(what, dict) for i in where_list: item_result = False # If not dict or Rule, skip it - we are not meant to handle it. # Do not use isinstance for higher execution speed if type(i) == dict: for key, rule in i.items(): if not is_what_dict: log.debug('Error matching Policy: data %r in Inquiry is not `dict`', what) item_result = False # at least one missing key in inquiry's data means no match for this item elif key not in what: log.debug('Error matching Policy: data %r has no key "%r" required by Policy', what, key) item_result = False else: what_value = what[key] item_result = self._check_satisfied(rule, what_value, inquiry) # at least one item's key didn't satisfy -> fail fast: policy doesn't fit anyway if not item_result: break elif callable(getattr(i, 'satisfied', '')): item_result = self._check_satisfied(i, what, inquiry) # If at least one item fits -> policy fits for this field if item_result: return True return False @staticmethod
[ 37811, 198, 26796, 329, 2972, 2198, 364, 13, 198, 37811, 198, 198, 11748, 302, 198, 11748, 18931, 198, 6738, 1257, 310, 10141, 1330, 300, 622, 62, 23870, 198, 6738, 450, 66, 1330, 9738, 48526, 11, 12531, 24396, 198, 198, 6738, 764, 48610, 1330, 17632, 62, 260, 25636, 198, 6738, 764, 1069, 11755, 1330, 17665, 47546, 12331, 628, 198, 6404, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 4871, 6822, 263, 7, 4164, 330, 31172, 28, 24694, 48526, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 27741, 1398, 329, 6822, 263, 19720, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2488, 397, 8709, 24396, 198, 220, 220, 220, 825, 11414, 7, 944, 11, 2450, 11, 2214, 11, 644, 11, 12069, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 6822, 611, 7032, 422, 39138, 4197, 617, 42283, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 198, 4871, 797, 25636, 9787, 263, 7, 9787, 263, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 263, 326, 3544, 3218, 14700, 13, 198, 220, 220, 220, 412, 13, 70, 13, 705, 32942, 3256, 705, 5211, 469, 3256, 705, 35, 18463, 6, 4197, 1279, 32942, 58, 325, 60, 30, 29, 198, 220, 220, 220, 220, 220, 220, 220, 220, 705, 32942, 1362, 6, 1595, 470, 4197, 1279, 32942, 58, 325, 60, 30, 29, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 12940, 62, 7857, 28, 35500, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 510, 37491, 52, 12, 23870, 2546, 329, 14102, 3218, 14700, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5589, 576, 796, 300, 622, 62, 23870, 7, 9806, 7857, 28, 23870, 62, 7857, 5769, 5589, 576, 62, 260, 25636, 8, 628, 220, 220, 220, 825, 11414, 7, 944, 11, 2450, 11, 2214, 11, 644, 11, 12069, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 13921, 7820, 4197, 262, 1813, 705, 10919, 6, 1988, 416, 663, 705, 3245, 6, 3119, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 810, 796, 651, 35226, 7, 30586, 11, 2214, 11, 685, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 810, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 389, 407, 4001, 284, 5412, 1729, 12, 8841, 3815, 611, 484, 14716, 1392, 994, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 7, 72, 8, 14512, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2198, 611, 705, 3003, 6, 2378, 318, 407, 3194, 287, 257, 2450, 12, 23211, 12, 260, 25636, 15582, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2450, 13, 9688, 62, 12985, 407, 287, 1312, 290, 2450, 13, 437, 62, 12985, 407, 287, 1312, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 14512, 644, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 220, 220, 220, 220, 220, 220, 1303, 2555, 611, 340, 338, 407, 257, 4731, 2872, 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, 1441, 6407, 220, 220, 220, 1303, 356, 1053, 1043, 257, 4731, 2872, 532, 2450, 11414, 416, 2829, 4731, 1988, 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, 3912, 796, 2116, 13, 5589, 576, 7, 72, 11, 2450, 13, 9688, 62, 12985, 11, 2450, 13, 437, 62, 12985, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 17665, 47546, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 1069, 4516, 10786, 12331, 12336, 2450, 11, 780, 286, 4054, 40364, 4064, 82, 23340, 3256, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 302, 13, 15699, 7, 33279, 11, 644, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 198, 4871, 10903, 9787, 263, 7, 9787, 263, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 263, 326, 3544, 4731, 10537, 13, 198, 220, 220, 220, 921, 423, 284, 34087, 500, 4600, 5589, 533, 63, 2446, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11414, 7, 944, 11, 2450, 11, 2214, 11, 644, 11, 12069, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 13921, 7820, 4197, 262, 1813, 705, 10919, 6, 1988, 416, 663, 705, 3245, 6, 3119, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 810, 796, 651, 35226, 7, 30586, 11, 2214, 11, 685, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 810, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 389, 407, 4001, 284, 5412, 1729, 12, 8841, 3815, 611, 484, 14716, 1392, 994, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 7, 9186, 8, 14512, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2450, 13, 9688, 62, 12985, 6624, 2378, 58, 15, 60, 290, 2450, 13, 437, 62, 12985, 6624, 2378, 58, 12, 16, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2378, 796, 2378, 58, 16, 21912, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 5589, 533, 7, 10919, 11, 2378, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 220, 220, 220, 2488, 397, 8709, 24396, 198, 220, 220, 220, 825, 8996, 7, 944, 11, 17598, 11, 27678, 25558, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7293, 3565, 734, 4731, 3815, 13, 3827, 13154, 340, 287, 257, 47611, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 198, 4871, 10903, 3109, 529, 9787, 263, 7, 10100, 9787, 263, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 263, 326, 3544, 2748, 4731, 10537, 13, 8913, 12, 30176, 13, 198, 220, 220, 220, 412, 13, 70, 13, 705, 19155, 6, 287, 705, 82, 16948, 6, 532, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19155, 6, 287, 705, 19155, 6, 532, 6407, 198, 220, 220, 220, 37227, 628, 198, 4871, 10903, 37, 4715, 88, 9787, 263, 7, 10100, 9787, 263, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 263, 326, 3544, 34669, 3293, 1806, 10537, 13, 8913, 12, 30176, 13, 198, 220, 220, 220, 412, 13, 70, 13, 705, 19155, 6, 287, 705, 82, 16948, 6, 532, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19155, 6, 287, 705, 403, 9854, 6, 532, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 705, 19155, 6, 287, 705, 19155, 6, 532, 6407, 198, 220, 220, 220, 37227, 628, 198, 4871, 14252, 9787, 263, 7, 9787, 263, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6822, 263, 326, 3544, 14252, 5447, 2641, 48589, 3166, 284, 5004, 2872, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11414, 7, 944, 11, 2450, 11, 2214, 11, 644, 11, 12069, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 13921, 7820, 4197, 262, 1813, 705, 10919, 6, 1988, 416, 663, 705, 3245, 6, 3119, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 810, 62, 4868, 796, 651, 35226, 7, 30586, 11, 2214, 11, 685, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 10919, 62, 11600, 796, 318, 39098, 7, 10919, 11, 8633, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 810, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2378, 62, 20274, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 407, 8633, 393, 14330, 11, 14267, 340, 532, 356, 389, 407, 4001, 284, 5412, 340, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2141, 407, 779, 318, 39098, 329, 2440, 9706, 2866, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 7, 72, 8, 6624, 8633, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 11, 3896, 287, 1312, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 62, 10919, 62, 11600, 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, 2604, 13, 24442, 10786, 12331, 12336, 7820, 25, 1366, 4064, 81, 287, 39138, 318, 407, 4600, 11600, 63, 3256, 644, 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, 2378, 62, 20274, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 379, 1551, 530, 4814, 1994, 287, 12069, 338, 1366, 1724, 645, 2872, 329, 428, 2378, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 407, 287, 644, 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, 2604, 13, 24442, 10786, 12331, 12336, 7820, 25, 1366, 4064, 81, 468, 645, 1994, 36521, 81, 1, 2672, 416, 7820, 3256, 644, 11, 1994, 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, 2378, 62, 20274, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 644, 62, 8367, 796, 644, 58, 2539, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2378, 62, 20274, 796, 2116, 13557, 9122, 62, 82, 17403, 798, 7, 25135, 11, 644, 62, 8367, 11, 12069, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 379, 1551, 530, 2378, 338, 1994, 1422, 470, 15959, 4613, 2038, 3049, 25, 2450, 1595, 470, 4197, 6949, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2378, 62, 20274, 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, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 869, 540, 7, 1136, 35226, 7, 72, 11, 705, 82, 17403, 798, 3256, 10148, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2378, 62, 20274, 796, 2116, 13557, 9122, 62, 82, 17403, 798, 7, 72, 11, 644, 11, 12069, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 379, 1551, 530, 2378, 11414, 4613, 2450, 11414, 329, 428, 2214, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2378, 62, 20274, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 220, 220, 220, 2488, 12708, 24396, 198 ]
2.267253
2,159
# -*- coding: utf-8 -*- import os import sys import urllib,urllib2,cookielib import datetime,time import re import random from bs4 import BeautifulSoup as soup import io text_file = open("amazonreviewlinks.txt", "r") lines = text_file.read().split(',') no = len(lines) #opening product link print no for hij in lines : Review_link_len = 0 hdr1 = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} hdr2 = {'User-Agent': 'Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} hdr3 = {'User-Agent': 'Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} hdr4 = {'User-Agent': 'Opera/9.80 (X11; Linux i686; U; ru) Presto/2.8.131 Version/11.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} hdr5 = {'User-Agent': 'Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} while Review_link_len == 0 : try : hdr = random.choice([hdr1,hdr2,hdr3,hdr4,hdr5]) req = urllib2.Request(hij, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout=10) content = response.read() response.close() page_soup = soup(content,"html.parser") site1 = page_soup.findAll("a",{"id" : "acrCustomerReviewLink"}) Review_link_len = len(site1) print Review_link_len except : hdr = random.choice([hdr1,hdr2,hdr3,hdr4,hdr5]) req = urllib2.Request(hij, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout=10) content = response.read() response.close() page_soup = soup(content,"html.parser") site1 = page_soup.findAll("a",{"id" : "acrCustomerReviewLink"}) Review_link_len = len(site1) print Review_link_len site2 = site1[0]['href'] amazon_homepage = "https://www.amazon.in" site = amazon_homepage + site2 print site #openinig review link hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} len_captcha = 0 while len_captcha == 0 : try : req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) except : req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) next_button1 = page_soup.findAll("li",{"class" : "a-last"})[0] next_button = next_button1.findAll("a") next_button_len = len(next_button) if next_button_len == 0 : next_button_len = 50 else : next_button = next_button1.findAll("a")[0]['href'] print len(next_button) try : filename = page_soup.findAll("a",{"class" : "a-link-normal"})[0].text.strip() #filename = filename.replace('\'', "!") filename = filename + '.csv' f = io.open(filename,"w",encoding="utf-8") headers = "Customer name,Customer ratings out of 5.0,Review date,Review word count,Customer review\n" f.write(unicode(headers,"utf-8")) except : filename = page_soup.findAll("a",{"class" : "a-link-normal"})[0].text.strip()[:10] #filename = filename.replace('\'', "!") filename = filename + '.csv' f = io.open(filename,"w",encoding="utf-8") headers = "Customer name,Customer ratings out of 5.0,Review date,Review word count,Customer review\n" f.write(unicode(headers,"utf-8")) #loop for content extraction while next_button_len != 50 : for single in review_element : try : review007 = single.findAll("span",{"data-hook" : "review-body"})[0].getText() review007 = review007.replace(",", "|") review007 = len(review007.split()) review = single.findAll("span",{"data-hook" : "review-body"})[0].getText() review = (review.encode('utf-8', 'ignore')).encode("utf-8",errors='ignore') review = unicode(review,"utf-8",errors='ignore') review = review.replace(",", "|") print review except : review = "can not extract review" try : ratings = single.findAll("a",{"class" : "a-link-normal"})[0]['title'][:3] ratings = (ratings.encode('utf-8', 'ignore')).encode("utf-8",errors='ignore') ratings = unicode(ratings,"utf-8",errors='ignore') ratings = ratings.replace(",", "|") print ratings except : ratings = "can not extract ratings" try : review_date = single.findAll("span",{"class" : "a-size-base a-color-secondary review-date"})[0].getText()[3:] review_date = (review_date.encode('utf-8', 'ignore')).encode("utf-8",errors='ignore') review_date = unicode(review_date,"utf-8",errors='ignore') review_date = review_date.replace(",", "|") print review_date except : ratings = "can not extract review date" try : review_length = unicode(review007) print review_length except : review_length = "can not extract review length" try : customer_name = single.findAll("a",{"data-hook" : "review-author"})[0].getText().strip() customer_name = (customer_name.encode('utf-8', 'ignore')).encode("utf-8",errors='ignore') customer_name = unicode(customer_name,"utf-8",errors='ignore') customer_name = customer_name.replace(",", "|") print customer_name except : customer_name = "can not extract customer name" data1 = [customer_name , ratings, review_date, review_length, review] data1 = customer_name + "," + ratings + "," + review_date + "," + review_length + "," + review + "\n" try : f.write(data1) except : data1 = unicode("can not find customr name") + "," + unicode("can not extract review") + "\n" f.write(data1) next_button1 = page_soup.findAll("li",{"class" : "a-last"})[0] next_button = next_button1.findAll("a") next_button_len = len(next_button) if next_button_len == 0 : next_button_len = 50 else : next_button = next_button1.findAll("a")[0]['href'] try : amazon_homepage = "https://www.amazon.in" site = amazon_homepage + next_button except : site = 0 print site if site == 0 : next_button_len = 50 else : try : try : req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() cj.clear_session_cookies() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) while len_captcha == 0 : cj.clear_session_cookies() req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) except : req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() cj.clear_session_cookies() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) while len_captcha == 0 : cj.clear_session_cookies() req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) except : print "sleeping due to connection errors" try : req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() cj.clear_session_cookies() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) while len_captcha == 0 : cj.clear_session_cookies() req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) except : print "sleeping due to connection error" req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() cj.clear_session_cookies() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) while len_captcha == 0 : cj.clear_session_cookies() req = urllib2.Request(site, headers=hdr) cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) response = opener.open(req,timeout = 10) content = response.read() response.close() page_soup = soup(content,"html.parser") review_element = page_soup.findAll("div",{"class" : "a-section celwidget"}) captcha = page_soup.findAll("li",{"class" : "a-last"}) len_captcha = len(captcha) f.close()
[ 1303, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 201, 198, 11748, 28686, 201, 198, 11748, 25064, 201, 198, 11748, 2956, 297, 571, 11, 333, 297, 571, 17, 11, 27916, 8207, 571, 201, 198, 11748, 4818, 8079, 11, 2435, 201, 198, 11748, 302, 201, 198, 11748, 4738, 201, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 355, 17141, 201, 198, 11748, 33245, 201, 198, 201, 198, 201, 198, 5239, 62, 7753, 796, 1280, 7203, 33103, 19023, 28751, 13, 14116, 1600, 366, 81, 4943, 201, 198, 6615, 796, 2420, 62, 7753, 13, 961, 22446, 35312, 7, 3256, 11537, 201, 198, 201, 198, 3919, 796, 18896, 7, 6615, 8, 201, 198, 201, 198, 201, 198, 2, 29443, 1720, 2792, 201, 198, 201, 198, 4798, 645, 201, 198, 1640, 16836, 287, 3951, 1058, 201, 198, 201, 198, 197, 14832, 62, 8726, 62, 11925, 796, 657, 201, 198, 201, 198, 197, 71, 7109, 16, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 44, 8590, 5049, 14, 20, 13, 15, 357, 55, 1157, 26, 7020, 2124, 4521, 62, 2414, 8, 4196, 13908, 20827, 14, 46096, 13, 1157, 357, 42, 28656, 11, 588, 2269, 37549, 8, 13282, 14, 1954, 13, 15, 13, 1065, 4869, 13, 2414, 23298, 14, 46096, 13, 1157, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 197, 71, 7109, 17, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 44, 8590, 5049, 14, 20, 13, 15, 357, 11209, 26, 471, 26, 6579, 10008, 860, 13, 15, 26, 3964, 24563, 860, 13, 15, 26, 551, 12, 2937, 8, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 197, 71, 7109, 18, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 44, 8590, 5049, 14, 20, 13, 15, 357, 38532, 26, 6579, 10008, 838, 13, 15, 26, 48087, 26, 8180, 4100, 7294, 1395, 838, 62, 22, 62, 18, 26, 47907, 14, 21, 13, 15, 8, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 197, 71, 7109, 19, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 18843, 64, 14, 24, 13, 1795, 357, 55, 1157, 26, 7020, 1312, 33808, 26, 471, 26, 7422, 8, 24158, 78, 14, 17, 13, 23, 13, 22042, 10628, 14, 1157, 13, 1157, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 197, 71, 7109, 20, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 44, 8590, 5049, 14, 20, 13, 15, 357, 72, 26114, 26, 9135, 7294, 718, 62, 15, 588, 4100, 7294, 1395, 8, 4196, 13908, 20827, 14, 44468, 13, 2075, 357, 42, 28656, 11, 588, 2269, 37549, 8, 10628, 14, 21, 13, 15, 12173, 14, 940, 32, 20, 28567, 67, 23298, 14, 5332, 2623, 13, 1495, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 201, 198, 197, 4514, 6602, 62, 8726, 62, 11925, 6624, 657, 1058, 201, 198, 197, 220, 1949, 1058, 201, 198, 201, 198, 197, 220, 220, 220, 289, 7109, 796, 4738, 13, 25541, 26933, 71, 7109, 16, 11, 71, 7109, 17, 11, 71, 7109, 18, 11, 71, 7109, 19, 11, 71, 7109, 20, 12962, 201, 198, 201, 198, 197, 220, 220, 220, 43089, 796, 2956, 297, 571, 17, 13, 18453, 7, 71, 2926, 11, 24697, 28, 71, 7109, 8, 201, 198, 201, 198, 197, 220, 220, 220, 269, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 201, 198, 197, 220, 220, 220, 21996, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 220, 220, 220, 2882, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 28, 940, 8, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 197, 220, 220, 220, 2695, 796, 2882, 13, 961, 3419, 201, 198, 197, 220, 220, 220, 2882, 13, 19836, 3419, 220, 201, 198, 197, 220, 220, 220, 2443, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 220, 220, 220, 201, 198, 197, 220, 220, 220, 2524, 16, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 64, 1600, 4895, 312, 1, 1058, 366, 330, 81, 44939, 14832, 11280, 20662, 8, 201, 198, 197, 220, 220, 220, 6602, 62, 8726, 62, 11925, 796, 18896, 7, 15654, 16, 8, 201, 198, 197, 220, 220, 220, 3601, 6602, 62, 8726, 62, 11925, 201, 198, 201, 198, 197, 220, 2845, 1058, 201, 198, 197, 220, 220, 220, 289, 7109, 796, 4738, 13, 25541, 26933, 71, 7109, 16, 11, 71, 7109, 17, 11, 71, 7109, 18, 11, 71, 7109, 19, 11, 71, 7109, 20, 12962, 201, 198, 201, 198, 197, 220, 220, 220, 43089, 796, 2956, 297, 571, 17, 13, 18453, 7, 71, 2926, 11, 24697, 28, 71, 7109, 8, 201, 198, 201, 198, 197, 220, 220, 220, 269, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 201, 198, 197, 220, 220, 220, 21996, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 220, 220, 220, 2882, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 28, 940, 8, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 197, 220, 220, 220, 2695, 796, 2882, 13, 961, 3419, 201, 198, 197, 220, 220, 220, 2882, 13, 19836, 3419, 220, 201, 198, 197, 220, 220, 220, 2443, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 220, 220, 220, 201, 198, 197, 220, 220, 220, 2524, 16, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 64, 1600, 4895, 312, 1, 1058, 366, 330, 81, 44939, 14832, 11280, 20662, 8, 201, 198, 197, 220, 220, 220, 6602, 62, 8726, 62, 11925, 796, 18896, 7, 15654, 16, 8, 201, 198, 197, 220, 220, 220, 3601, 6602, 62, 8726, 62, 11925, 201, 198, 201, 198, 197, 220, 220, 201, 198, 201, 198, 197, 15654, 17, 796, 2524, 16, 58, 15, 7131, 6, 33257, 20520, 201, 198, 197, 33103, 62, 11195, 7700, 796, 366, 5450, 1378, 2503, 13, 33103, 13, 259, 1, 201, 198, 197, 15654, 796, 716, 5168, 62, 11195, 7700, 1343, 2524, 17, 201, 198, 197, 4798, 2524, 220, 201, 198, 201, 198, 201, 198, 197, 2, 9654, 259, 328, 2423, 2792, 201, 198, 201, 198, 201, 198, 197, 71, 7109, 796, 1391, 6, 12982, 12, 36772, 10354, 705, 44, 8590, 5049, 14, 20, 13, 15, 357, 55, 1157, 26, 7020, 2124, 4521, 62, 2414, 8, 4196, 13908, 20827, 14, 46096, 13, 1157, 357, 42, 28656, 11, 588, 2269, 37549, 8, 13282, 14, 1954, 13, 15, 13, 1065, 4869, 13, 2414, 23298, 14, 46096, 13, 1157, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 10354, 705, 5239, 14, 6494, 11, 31438, 14, 87, 6494, 10, 19875, 11, 31438, 14, 19875, 26, 80, 28, 15, 13, 24, 11, 9, 15211, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 1925, 945, 316, 10354, 705, 40734, 12, 3459, 3270, 12, 16, 11, 40477, 12, 23, 26, 80, 28, 15, 13, 22, 11, 9, 26, 80, 28, 15, 13, 18, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 27195, 7656, 10354, 705, 23108, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 38855, 12, 32065, 10354, 705, 268, 12, 2937, 11, 268, 26, 80, 28, 15, 13, 23, 3256, 201, 198, 197, 220, 220, 220, 220, 220, 220, 705, 32048, 10354, 705, 14894, 12, 282, 425, 6, 92, 201, 198, 197, 11925, 62, 27144, 11693, 796, 657, 201, 198, 197, 4514, 18896, 62, 27144, 11693, 6624, 657, 1058, 201, 198, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 201, 198, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 201, 198, 201, 198, 197, 19545, 62, 16539, 16, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 38381, 15, 60, 201, 198, 197, 19545, 62, 16539, 796, 1306, 62, 16539, 16, 13, 19796, 3237, 7203, 64, 4943, 201, 198, 197, 19545, 62, 16539, 62, 11925, 796, 18896, 7, 19545, 62, 16539, 8, 201, 198, 197, 361, 1306, 62, 16539, 62, 11925, 6624, 657, 1058, 201, 198, 197, 197, 19545, 62, 16539, 62, 11925, 796, 2026, 220, 201, 198, 197, 17772, 1058, 201, 198, 197, 197, 19545, 62, 16539, 796, 1306, 62, 16539, 16, 13, 19796, 3237, 7203, 64, 4943, 58, 15, 7131, 6, 33257, 20520, 201, 198, 201, 198, 197, 4798, 18896, 7, 19545, 62, 16539, 8, 201, 198, 197, 28311, 1058, 201, 198, 201, 198, 197, 197, 34345, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 64, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 8726, 12, 11265, 20662, 38381, 15, 4083, 5239, 13, 36311, 3419, 201, 198, 197, 197, 2, 34345, 796, 29472, 13, 33491, 10786, 43054, 3256, 366, 2474, 8, 201, 198, 197, 197, 34345, 796, 29472, 1343, 45302, 40664, 6, 201, 198, 197, 197, 69, 796, 33245, 13, 9654, 7, 34345, 553, 86, 1600, 12685, 7656, 2625, 40477, 12, 23, 4943, 201, 198, 197, 197, 50145, 796, 366, 44939, 1438, 11, 44939, 10109, 503, 286, 642, 13, 15, 11, 14832, 3128, 11, 14832, 1573, 954, 11, 44939, 2423, 59, 77, 1, 201, 198, 197, 197, 69, 13, 13564, 7, 46903, 1098, 7, 50145, 553, 40477, 12, 23, 48774, 201, 198, 201, 198, 197, 16341, 1058, 201, 198, 201, 198, 197, 197, 34345, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 64, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 8726, 12, 11265, 20662, 38381, 15, 4083, 5239, 13, 36311, 3419, 58, 25, 940, 60, 201, 198, 197, 197, 2, 34345, 796, 29472, 13, 33491, 10786, 43054, 3256, 366, 2474, 8, 201, 198, 197, 197, 34345, 796, 29472, 1343, 45302, 40664, 6, 201, 198, 197, 197, 69, 796, 33245, 13, 9654, 7, 34345, 553, 86, 1600, 12685, 7656, 2625, 40477, 12, 23, 4943, 201, 198, 197, 197, 50145, 796, 366, 44939, 1438, 11, 44939, 10109, 503, 286, 642, 13, 15, 11, 14832, 3128, 11, 14832, 1573, 954, 11, 44939, 2423, 59, 77, 1, 201, 198, 197, 197, 69, 13, 13564, 7, 46903, 1098, 7, 50145, 553, 40477, 12, 23, 48774, 201, 198, 201, 198, 197, 2, 26268, 329, 2695, 22236, 201, 198, 201, 198, 197, 4514, 1306, 62, 16539, 62, 11925, 14512, 2026, 1058, 201, 198, 197, 197, 1640, 2060, 287, 2423, 62, 30854, 1058, 201, 198, 197, 197, 197, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 19023, 25816, 796, 2060, 13, 19796, 3237, 7203, 12626, 1600, 4895, 7890, 12, 25480, 1, 1058, 366, 19023, 12, 2618, 20662, 38381, 15, 4083, 1136, 8206, 3419, 201, 198, 197, 197, 197, 197, 19023, 25816, 796, 2423, 25816, 13, 33491, 7, 2430, 11, 366, 91, 4943, 201, 198, 197, 197, 197, 197, 19023, 25816, 796, 18896, 7, 19023, 25816, 13, 35312, 28955, 201, 198, 197, 197, 197, 197, 19023, 796, 2060, 13, 19796, 3237, 7203, 12626, 1600, 4895, 7890, 12, 25480, 1, 1058, 366, 19023, 12, 2618, 20662, 38381, 15, 4083, 1136, 8206, 3419, 201, 198, 197, 197, 197, 197, 19023, 796, 357, 19023, 13, 268, 8189, 10786, 40477, 12, 23, 3256, 705, 46430, 11537, 737, 268, 8189, 7203, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 19023, 796, 28000, 1098, 7, 19023, 553, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 19023, 796, 2423, 13, 33491, 7, 2430, 11, 366, 91, 4943, 201, 198, 197, 197, 197, 197, 4798, 2423, 201, 198, 197, 197, 197, 197, 201, 198, 197, 197, 197, 16341, 1058, 197, 201, 198, 197, 197, 197, 197, 19023, 796, 366, 5171, 407, 7925, 2423, 1, 201, 198, 201, 198, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 2060, 13, 19796, 3237, 7203, 64, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 8726, 12, 11265, 20662, 38381, 15, 7131, 6, 7839, 6, 7131, 25, 18, 60, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 357, 10366, 654, 13, 268, 8189, 10786, 40477, 12, 23, 3256, 705, 46430, 11537, 737, 268, 8189, 7203, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 28000, 1098, 7, 10366, 654, 553, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 10109, 13, 33491, 7, 2430, 11, 366, 91, 4943, 201, 198, 197, 197, 197, 197, 4798, 10109, 201, 198, 197, 197, 197, 16341, 1058, 197, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 366, 5171, 407, 7925, 10109, 1, 201, 198, 201, 198, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 19023, 62, 4475, 796, 2060, 13, 19796, 3237, 7203, 12626, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 7857, 12, 8692, 257, 12, 8043, 12, 38238, 2423, 12, 4475, 20662, 38381, 15, 4083, 1136, 8206, 3419, 58, 18, 47715, 201, 198, 197, 197, 197, 197, 19023, 62, 4475, 796, 357, 19023, 62, 4475, 13, 268, 8189, 10786, 40477, 12, 23, 3256, 705, 46430, 11537, 737, 268, 8189, 7203, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 19023, 62, 4475, 796, 28000, 1098, 7, 19023, 62, 4475, 553, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 19023, 62, 4475, 796, 2423, 62, 4475, 13, 33491, 7, 2430, 11, 366, 91, 4943, 201, 198, 197, 197, 197, 197, 4798, 2423, 62, 4475, 201, 198, 197, 197, 197, 16341, 1058, 197, 201, 198, 197, 197, 197, 197, 10366, 654, 796, 366, 5171, 407, 7925, 2423, 3128, 1, 201, 198, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 19023, 62, 13664, 796, 28000, 1098, 7, 19023, 25816, 8, 201, 198, 197, 197, 197, 197, 4798, 2423, 62, 13664, 201, 198, 197, 197, 197, 16341, 1058, 197, 201, 198, 197, 197, 197, 197, 19023, 62, 13664, 796, 366, 5171, 407, 7925, 2423, 4129, 1, 201, 198, 201, 198, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 23144, 263, 62, 3672, 796, 2060, 13, 19796, 3237, 7203, 64, 1600, 4895, 7890, 12, 25480, 1, 1058, 366, 19023, 12, 9800, 20662, 38381, 15, 4083, 1136, 8206, 22446, 36311, 3419, 201, 198, 197, 197, 197, 197, 23144, 263, 62, 3672, 796, 357, 23144, 263, 62, 3672, 13, 268, 8189, 10786, 40477, 12, 23, 3256, 705, 46430, 11537, 737, 268, 8189, 7203, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 23144, 263, 62, 3672, 796, 28000, 1098, 7, 23144, 263, 62, 3672, 553, 40477, 12, 23, 1600, 48277, 11639, 46430, 11537, 201, 198, 197, 197, 197, 197, 23144, 263, 62, 3672, 796, 6491, 62, 3672, 13, 33491, 7, 2430, 11, 366, 91, 4943, 201, 198, 197, 197, 197, 197, 4798, 6491, 62, 3672, 197, 201, 198, 197, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 197, 23144, 263, 62, 3672, 796, 366, 5171, 407, 7925, 6491, 1438, 1, 201, 198, 197, 197, 197, 7890, 16, 796, 685, 23144, 263, 62, 3672, 837, 10109, 11, 2423, 62, 4475, 11, 2423, 62, 13664, 11, 2423, 60, 201, 198, 197, 197, 197, 7890, 16, 796, 6491, 62, 3672, 1343, 366, 553, 1343, 10109, 1343, 366, 553, 1343, 2423, 62, 4475, 1343, 366, 553, 1343, 2423, 62, 13664, 1343, 366, 553, 220, 1343, 2423, 1343, 37082, 77, 1, 220, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 69, 13, 13564, 7, 7890, 16, 8, 201, 198, 197, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 197, 7890, 16, 796, 28000, 1098, 7203, 5171, 407, 1064, 2183, 81, 1438, 4943, 1343, 366, 553, 1343, 28000, 1098, 7203, 5171, 407, 7925, 2423, 4943, 1343, 37082, 77, 1, 201, 198, 197, 197, 197, 197, 69, 13, 13564, 7, 7890, 16, 8, 201, 198, 201, 198, 201, 198, 197, 197, 19545, 62, 16539, 16, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 38381, 15, 60, 201, 198, 197, 197, 19545, 62, 16539, 796, 1306, 62, 16539, 16, 13, 19796, 3237, 7203, 64, 4943, 201, 198, 197, 197, 19545, 62, 16539, 62, 11925, 796, 18896, 7, 19545, 62, 16539, 8, 201, 198, 197, 197, 201, 198, 197, 197, 361, 1306, 62, 16539, 62, 11925, 6624, 657, 1058, 201, 198, 197, 197, 197, 19545, 62, 16539, 62, 11925, 796, 2026, 220, 201, 198, 197, 197, 17772, 1058, 201, 198, 197, 197, 197, 19545, 62, 16539, 796, 1306, 62, 16539, 16, 13, 19796, 3237, 7203, 64, 4943, 58, 15, 7131, 6, 33257, 20520, 201, 198, 197, 197, 201, 198, 197, 197, 201, 198, 201, 198, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 33103, 62, 11195, 7700, 796, 366, 5450, 1378, 2503, 13, 33103, 13, 259, 1, 201, 198, 197, 197, 197, 15654, 796, 716, 5168, 62, 11195, 7700, 1343, 1306, 62, 16539, 201, 198, 197, 197, 197, 201, 198, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 15654, 796, 657, 201, 198, 197, 197, 4798, 2524, 201, 198, 197, 197, 361, 2524, 6624, 657, 1058, 201, 198, 197, 197, 197, 19545, 62, 16539, 62, 11925, 796, 2026, 201, 198, 201, 198, 197, 197, 17772, 1058, 201, 198, 197, 197, 197, 28311, 1058, 201, 198, 197, 197, 197, 197, 28311, 1058, 220, 201, 198, 197, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 201, 198, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 197, 197, 4514, 18896, 62, 27144, 11693, 6624, 657, 1058, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 197, 201, 198, 201, 198, 201, 198, 201, 198, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 197, 197, 4514, 18896, 62, 27144, 11693, 6624, 657, 1058, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 4798, 366, 26738, 7213, 2233, 284, 4637, 8563, 1, 201, 198, 197, 197, 197, 197, 28311, 1058, 220, 201, 198, 201, 198, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 197, 197, 4514, 18896, 62, 27144, 11693, 6624, 657, 1058, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 201, 198, 197, 197, 197, 197, 16341, 1058, 201, 198, 197, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 4798, 366, 26738, 7213, 2233, 284, 4637, 4049, 1, 201, 198, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 201, 198, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 197, 197, 197, 197, 4514, 18896, 62, 27144, 11693, 6624, 657, 1058, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 13, 20063, 62, 29891, 62, 27916, 444, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 42180, 796, 2956, 297, 571, 17, 13, 18453, 7, 15654, 11, 24697, 28, 71, 7109, 8, 201, 198, 197, 197, 197, 197, 197, 197, 66, 73, 796, 4255, 8207, 571, 13, 34, 18055, 47511, 3419, 201, 198, 197, 197, 197, 197, 197, 197, 404, 877, 796, 2956, 297, 571, 17, 13, 11249, 62, 404, 877, 7, 333, 297, 571, 17, 13, 6535, 51, 5662, 18055, 18709, 273, 7, 66, 73, 4008, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 796, 21996, 13, 9654, 7, 42180, 11, 48678, 796, 838, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11299, 796, 2882, 13, 961, 3419, 197, 197, 197, 197, 201, 198, 197, 197, 197, 197, 197, 197, 26209, 13, 19836, 3419, 201, 198, 201, 198, 197, 197, 197, 197, 197, 197, 7700, 62, 82, 10486, 796, 17141, 7, 11299, 553, 6494, 13, 48610, 4943, 201, 198, 197, 197, 197, 197, 197, 197, 19023, 62, 30854, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 7146, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 5458, 18725, 42655, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 27144, 11693, 796, 2443, 62, 82, 10486, 13, 19796, 3237, 7203, 4528, 1600, 4895, 4871, 1, 1058, 366, 64, 12, 12957, 20662, 8, 201, 198, 197, 197, 197, 197, 197, 197, 11925, 62, 27144, 11693, 796, 18896, 7, 27144, 11693, 8, 201, 198, 197, 69, 13, 19836, 3419, 201, 198 ]
2.122518
6,195
# spectral_cluster.py import torch import torch.nn.functional as F import numpy as np import random import time import datetime import os import sklearn from sklearn import metrics from multi_kmeans_pp import MultiKMeans from logger import Logger from scipy.sparse.csgraph import laplacian as csgraph_laplacian DEBUG = 0 def spectral_cluster(attn_maps,K=10,neighbor_mask=None,use_gpu=True,pre_labels=None): """ Parameters attn_maps: Tensor (*,n_samples,n_samples) Attention map from Transfomrer as similarity matrix K: int Number of clusters, default: 10 neighbor_mask: Tensor (n_samples,n_samples) Mask to reserve neighbors only pre_labels: Tensor (*,n_samples_pre) Label(Index of cluster) of data points of last module Returns labels: ['normal'] - Tensor (*,n_samples) ['debug'] - Tensor (len(K_trials),*,n_samples) Label(Index of cluster) of data points """ batched = False if attn_maps.ndim == 3: # Batched data B,N,_ = attn_maps.shape batched = True else: B = 1 N,_ = attn_maps.shape K_1 = K # 1. Generate similarity matrix -- only neighbor patches considered if neighbor_mask is None: if pre_labels is not None: # (*,2N) pre_mask = get_neighbor_mask_old(N*2,use_gpu=use_gpu) # (2N,2N) / (784,784) neighbor_mask = neighbor_mask_reduce(pre_mask,pre_labels,N,use_gpu=use_gpu) # (*,N,N) else: neighbor_mask = get_neighbor_mask_old(N,use_gpu=use_gpu) # (N,N) sim_mat = attn_maps*neighbor_mask # Reserve only neighbors (*,N,N) sim_mat = torch.softmax(sim_mat, dim=-1) sim_mat = 0.5 * (sim_mat + sim_mat.transpose(-2,-1)) # symmetrize (*,N,N) # 2. Compute degree matrix # 3. Laplacian Matrix and Normalized Laplacian Matrix normalized_laplacian_mat, diag_term = graph_laplacian(sim_mat) # (*,N,N), (*,N) # 4. Top K_1 eigen vector with respect to eigen values eig_values,eig_vectors = torch.linalg.eigh(normalized_laplacian_mat) # Eigen value decomposition of of a complex Hermitian or real symmetric matrix. # eigenvalues will always be real-valued, even when A is complex. It will also be ordered in ascending order. if batched: feat_mat = eig_vectors[:,:,:K_1] # (B,N,K_1) else: feat_mat = eig_vectors[:,:K_1] # (N,K_1) if diag_term is not None: feat_mat /= diag_term.unsqueeze(-1) # 5. KMeans Cluster if batched: kmeans = MultiKMeans(n_clusters=K,n_kmeans=B,max_iter=100) labels = kmeans.fit_predict(feat_mat) # (B,N) return labels # (B,N) else: kmeans = MultiKMeans(n_clusters=K,n_kmeans=1,max_iter=100) labels = kmeans.fit_predict(feat_mat.unsqueeze(0)) # (N,) -> (1,N) return labels[0] # (B,N) -> (N,) def calinski_harabasz_score(X,labels,centroids=None): """ Borrowed from https://github.com/scikit-learn/scikit-learn/blob/844b4be24/sklearn/metrics/cluster/_unsupervised.py#L251 Implementation of https://scikit-learn.org/stable/modules/generated/sklearn.metrics.calinski_harabasz_score.html#sklearn.metrics.calinski_harabasz_score """ assert X.ndim == 2 N,_ = X.shape classes_,counuts_ = torch.unique(labels,sorted=True,return_counts=True) K = len(classes_) if DEBUG: print(f"[DEBUG] calinski_harabasz_score: K = {K}") print(f"[DEBUG] calinski_harabasz_score: counuts_ = {counuts_}") extra_disp, intra_disp = 0.0, 0.0 center = torch.mean(X,dim=0) for q in range(K): cluster_q = X[labels==q] center_q = torch.mean(cluster_q,dim=0) if centroids is not None: center_q = centroids[q] extra_disp += len(cluster_q) * torch.sum((center_q-center)**2) intra_disp += torch.sum((cluster_q-center_q)**2) return ( 1.0 if intra_disp == 0.0 else (extra_disp*(N-K)) / (intra_disp*(K-1)) ) def get_neighbor_mask_old(N,use_gpu=True): """ neighbor: 8 """ P = int(N**(0.5)) A = torch.zeros((N,N)) ind = torch.arange(N) row = torch.div(ind,P,rounding_mode='floor') # Same row # ind + 1 neigbor_ind = ind+1 neighbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') mask = (neigbor_ind<N) & (row==neighbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # ind - 1 neigbor_ind = ind-1 neighbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') mask = (neigbor_ind>=0) & (row==neighbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # exit() # stride = [-(P+1),-P,-(P-1),-1] strides = [P-1,P,P+1] for s in strides: # ind + s neigbor_ind = ind+s neigbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') - 1 mask = (neigbor_ind<N) & (row==neigbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # ind - s neigbor_ind = ind-s neigbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') + 1 mask = (neigbor_ind>=0) & (row==neigbor_row) A[ind[mask],neigbor_ind[mask]] = 1 if use_gpu: A = A.cuda() return A def get_neighbor_mask(N,use_gpu=True): """ neighbor: 4 (w/o diagonals) """ P = int(N**(0.5)) A = torch.zeros((N,N)) ind = torch.arange(N) row = torch.div(ind,P,rounding_mode='floor') # Same row # ind + 1 neigbor_ind = ind+1 neighbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') mask = (neigbor_ind<N) & (row==neighbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # ind - 1 neigbor_ind = ind-1 neighbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') mask = (neigbor_ind>=0) & (row==neighbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # exit() # stride = [-(P+1),-P,-(P-1),-1] strides = [P] for s in strides: # ind + s neigbor_ind = ind+s neigbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') - 1 mask = (neigbor_ind<N) & (row==neigbor_row) A[ind[mask],neigbor_ind[mask]] = 1 # ind - s neigbor_ind = ind-s neigbor_row = torch.div(neigbor_ind,P,rounding_mode='floor') + 1 mask = (neigbor_ind>=0) & (row==neigbor_row) A[ind[mask],neigbor_ind[mask]] = 1 if use_gpu: A = A.cuda() return A if __name__ == '__main__': seed = 99 np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) random.seed(seed) # Logger time_info = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time())) log_dir = './log_sc/' if not os.path.exists(log_dir): os.makedirs(log_dir) print(f"Create {log_dir}") log = Logger(log_dir+f'test_sc-{time_info}.log',level='debug') # Data preparation # Just for DEBUG B,N,D,K = 5,784,384,10 # data = torch.Tensor([[0,1,0,0], # [2,1,0,0], # [0,0,3,0], # [1,2,0,0], # [0,1,1,1]]) # data = torch.rand(B,N,D) file_dir = '/home/heyj/data/feature/train/n01910747/' file_list = os.listdir(file_dir) load_start_t = datetime.datetime.now() data = [] for file_name in file_list[:100]: # Less images data.append(torch.load(os.path.join(file_dir,file_name))[1:]) data = torch.stack(data).cuda() # torch.Size([3, 49, 384]) # data = torch.load('/home/heyj/data/feature_50/train/n01910747/n0191074700000003.pth')[1:] # torch.Size([49, 384]) load_t = (datetime.datetime.now() - load_start_t).total_seconds() print(f"data.shape: {data.shape} [{data.device}]") # print(torch.cuda.device_count()) # exit(1) print(f"load {len(data)} images time: {load_t:.4f}s") # Test for sigma and K B,N,D = data.shape neighbor_mask = get_neighbor_mask(N) neighbor_mask = neighbor_mask.cuda() do_our = True do_sklearn = False #-------------------------------------------------------------------------------------------------------- # Our spectral_cluster #-------------------------------------------------------------------------------------------------------- if do_our: mini_batch_size = 16 scores = [] scores_skl = [] configs = [] sigma_trials = [31,40,50,75] gamma_trials = [0.0002,0.0003125,0.0005,0.0006,0.0008] K_trials = [10,15,20,25,28] log.logger.debug(f"\nOur spectral_cluster:") # for sigma in sigma_trials: for gamma in gamma_trials: # log.logger.debug(f"sigma:{sigma}") log.logger.debug(f"gamma:{gamma}") pred_labels = spectral_cluster(data,K,gamma=gamma,neighbor_mask=neighbor_mask, mode="debug",K_trials=K_trials) # (len(K_trials),B,N) for K_ind,K in enumerate(K_trials): mini_batch_indices = random.sample(range(B), mini_batch_size) # mini_batch_indices = [0] # DEBUG score = 0.0 score_skl = 0.0 for i in mini_batch_indices: score += calinski_harabasz_score(data[i],pred_labels[K_ind,i]) score_skl += metrics.calinski_harabasz_score( data[i].cpu().numpy(),pred_labels[K_ind,i].cpu().numpy()) # print(type(score)) # print(type(score_skl)) # exit(1) score /= mini_batch_size score_skl /= mini_batch_size scores.append(score) scores_skl.append(score_skl) # configs.append(dict(sigma=sigma,K=K,labels=pred_labels[K_ind])) configs.append(dict(gamma=gamma,K=K)) log.logger.debug(f" - K:{K} score:{score:.4f} score_skl:{score_skl:.4f}") # Print result max_ind = torch.argmax(torch.Tensor(scores)) max_score = scores[max_ind] log.logger.debug(f"Max Score: {max_score}") log.logger.debug(f"Configurations: gamma:{configs[max_ind]['gamma']} K:{configs[max_ind]['K']}") #-------------------------------------------------------------------------------------------------------- # Sklearn's SpectralClustering #-------------------------------------------------------------------------------------------------------- if do_sklearn: log.logger.debug(f"\nSklearn SpectralClustering:") scores_skl = [] configs = [] gamma_trials = [0.0003125,0.0005,0.0008] # sigma [100.0000, 70.7107, 50.0000, 31.6228, 25.0000] K_trials = [10,15,20] for gamma in gamma_trials: log.logger.debug(f"gamma:{gamma}") for K in K_trials: score_skl = 0.0 for X in data: X_ = X.cpu().numpy() # (784, 384) y_pred = SpectralClustering(n_clusters=K, gamma=gamma).fit_predict(X_) # score_skl += metrics.calinski_harabasz_score(X_,y_pred) score_skl += calinski_harabasz_score(X,torch.from_numpy(y_pred)) exit(1) score_skl /= len(data) scores_skl.append(score_skl) configs.append(dict(gamma=gamma,K=K)) log.logger.debug(f" - K:{K} score_skl:{score_skl:.4f}") # Print result max_ind = torch.argmax(torch.Tensor(scores_skl)) max_score = score_skl[max_ind] log.logger.debug(f"Max Score: {max_score}") log.logger.debug(f"Configurations: gamma:{configs[max_ind]['gamma']} K:{configs[max_ind]['K']}")
[ 2, 37410, 62, 565, 5819, 13, 9078, 201, 198, 11748, 28034, 201, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 4738, 201, 198, 11748, 640, 201, 198, 11748, 4818, 8079, 201, 198, 11748, 28686, 201, 198, 201, 198, 11748, 1341, 35720, 201, 198, 6738, 1341, 35720, 1330, 20731, 201, 198, 201, 198, 201, 198, 6738, 5021, 62, 74, 1326, 504, 62, 381, 1330, 15237, 42, 5308, 504, 201, 198, 201, 198, 6738, 49706, 1330, 5972, 1362, 201, 198, 201, 198, 6738, 629, 541, 88, 13, 82, 29572, 13, 6359, 34960, 1330, 8591, 489, 330, 666, 355, 50115, 34960, 62, 5031, 489, 330, 666, 201, 198, 201, 198, 30531, 796, 657, 201, 198, 201, 198, 4299, 37410, 62, 565, 5819, 7, 1078, 77, 62, 31803, 11, 42, 28, 940, 11, 710, 394, 2865, 62, 27932, 28, 14202, 11, 1904, 62, 46999, 28, 17821, 11, 3866, 62, 23912, 1424, 28, 14202, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 40117, 201, 198, 220, 220, 220, 220, 220, 220, 220, 708, 77, 62, 31803, 25, 309, 22854, 20789, 11, 77, 62, 82, 12629, 11, 77, 62, 82, 12629, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47406, 3975, 422, 3602, 69, 296, 11751, 355, 26789, 17593, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 509, 25, 493, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7913, 286, 23163, 11, 4277, 25, 838, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4780, 62, 27932, 25, 309, 22854, 357, 77, 62, 82, 12629, 11, 77, 62, 82, 12629, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18007, 284, 11515, 12020, 691, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 662, 62, 23912, 1424, 25, 309, 22854, 20789, 11, 77, 62, 82, 12629, 62, 3866, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36052, 7, 15732, 286, 13946, 8, 286, 1366, 2173, 286, 938, 8265, 201, 198, 201, 198, 220, 220, 220, 220, 220, 16409, 201, 198, 220, 220, 220, 220, 220, 220, 220, 14722, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37250, 11265, 20520, 532, 309, 22854, 20789, 11, 77, 62, 82, 12629, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37250, 24442, 20520, 532, 309, 22854, 357, 11925, 7, 42, 62, 28461, 874, 828, 25666, 77, 62, 82, 12629, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36052, 7, 15732, 286, 13946, 8, 286, 1366, 2173, 201, 198, 220, 220, 220, 37227, 201, 198, 201, 198, 220, 220, 220, 7365, 1740, 796, 10352, 201, 198, 220, 220, 220, 611, 708, 77, 62, 31803, 13, 358, 320, 6624, 513, 25, 1303, 6577, 1740, 1366, 201, 198, 220, 220, 220, 220, 220, 220, 220, 347, 11, 45, 11, 62, 796, 708, 77, 62, 31803, 13, 43358, 201, 198, 220, 220, 220, 220, 220, 220, 220, 7365, 1740, 796, 6407, 201, 198, 220, 220, 220, 2073, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 347, 796, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 399, 11, 62, 796, 708, 77, 62, 31803, 13, 43358, 201, 198, 220, 220, 220, 509, 62, 16, 796, 509, 201, 198, 201, 198, 220, 220, 220, 1303, 352, 13, 2980, 378, 26789, 17593, 1377, 691, 4780, 16082, 3177, 201, 198, 220, 220, 220, 611, 4780, 62, 27932, 318, 6045, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 611, 662, 62, 23912, 1424, 318, 407, 6045, 25, 1303, 20789, 11, 17, 45, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 662, 62, 27932, 796, 651, 62, 710, 394, 2865, 62, 27932, 62, 727, 7, 45, 9, 17, 11, 1904, 62, 46999, 28, 1904, 62, 46999, 8, 1303, 357, 17, 45, 11, 17, 45, 8, 1220, 357, 37688, 11, 37688, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4780, 62, 27932, 796, 4780, 62, 27932, 62, 445, 7234, 7, 3866, 62, 27932, 11, 3866, 62, 23912, 1424, 11, 45, 11, 1904, 62, 46999, 28, 1904, 62, 46999, 8, 1303, 20789, 11, 45, 11, 45, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4780, 62, 27932, 796, 651, 62, 710, 394, 2865, 62, 27932, 62, 727, 7, 45, 11, 1904, 62, 46999, 28, 1904, 62, 46999, 8, 1303, 357, 45, 11, 45, 8, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 985, 62, 6759, 796, 708, 77, 62, 31803, 9, 710, 394, 2865, 62, 27932, 1303, 12224, 691, 12020, 20789, 11, 45, 11, 45, 8, 201, 198, 220, 220, 220, 985, 62, 6759, 796, 28034, 13, 4215, 9806, 7, 14323, 62, 6759, 11, 5391, 10779, 16, 8, 201, 198, 220, 220, 220, 985, 62, 6759, 796, 657, 13, 20, 1635, 357, 14323, 62, 6759, 1343, 985, 62, 6759, 13, 7645, 3455, 32590, 17, 12095, 16, 4008, 1303, 23606, 316, 380, 2736, 20789, 11, 45, 11, 45, 8, 201, 198, 201, 198, 220, 220, 220, 1303, 362, 13, 3082, 1133, 4922, 17593, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1303, 513, 13, 4689, 489, 330, 666, 24936, 290, 14435, 1143, 4689, 489, 330, 666, 24936, 201, 198, 220, 220, 220, 39279, 62, 5031, 489, 330, 666, 62, 6759, 11, 2566, 363, 62, 4354, 796, 4823, 62, 5031, 489, 330, 666, 7, 14323, 62, 6759, 8, 1303, 20789, 11, 45, 11, 45, 828, 20789, 11, 45, 8, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1303, 604, 13, 5849, 509, 62, 16, 304, 9324, 15879, 351, 2461, 284, 304, 9324, 3815, 201, 198, 220, 220, 220, 304, 328, 62, 27160, 11, 68, 328, 62, 303, 5217, 796, 28034, 13, 75, 1292, 70, 13, 68, 394, 7, 11265, 1143, 62, 5031, 489, 330, 666, 62, 6759, 8, 1303, 412, 9324, 1988, 26969, 9150, 286, 286, 257, 3716, 2332, 2781, 666, 393, 1103, 23606, 19482, 17593, 13, 201, 198, 220, 220, 220, 1303, 304, 9324, 27160, 481, 1464, 307, 1103, 12, 39728, 11, 772, 618, 317, 318, 3716, 13, 632, 481, 635, 307, 6149, 287, 41988, 1502, 13, 201, 198, 220, 220, 220, 611, 7365, 1740, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2218, 62, 6759, 796, 304, 328, 62, 303, 5217, 58, 45299, 45299, 25, 42, 62, 16, 60, 1303, 357, 33, 11, 45, 11, 42, 62, 16, 8, 201, 198, 220, 220, 220, 2073, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2218, 62, 6759, 796, 304, 328, 62, 303, 5217, 58, 45299, 25, 42, 62, 16, 60, 1303, 357, 45, 11, 42, 62, 16, 8, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 611, 2566, 363, 62, 4354, 318, 407, 6045, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2218, 62, 6759, 1220, 28, 2566, 363, 62, 4354, 13, 13271, 421, 1453, 2736, 32590, 16, 8, 201, 198, 201, 198, 220, 220, 220, 1303, 642, 13, 509, 5308, 504, 38279, 201, 198, 220, 220, 220, 611, 7365, 1740, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 479, 1326, 504, 796, 15237, 42, 5308, 504, 7, 77, 62, 565, 13654, 28, 42, 11, 77, 62, 74, 1326, 504, 28, 33, 11, 9806, 62, 2676, 28, 3064, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 14722, 796, 479, 1326, 504, 13, 11147, 62, 79, 17407, 7, 27594, 62, 6759, 8, 1303, 357, 33, 11, 45, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 14722, 1303, 357, 33, 11, 45, 8, 201, 198, 220, 220, 220, 2073, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 479, 1326, 504, 796, 15237, 42, 5308, 504, 7, 77, 62, 565, 13654, 28, 42, 11, 77, 62, 74, 1326, 504, 28, 16, 11, 9806, 62, 2676, 28, 3064, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 14722, 796, 479, 1326, 504, 13, 11147, 62, 79, 17407, 7, 27594, 62, 6759, 13, 13271, 421, 1453, 2736, 7, 15, 4008, 1303, 357, 45, 35751, 4613, 357, 16, 11, 45, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 14722, 58, 15, 60, 1303, 357, 33, 11, 45, 8, 4613, 357, 45, 35751, 201, 198, 201, 198, 4299, 2386, 21141, 62, 9869, 397, 292, 89, 62, 26675, 7, 55, 11, 23912, 1424, 11, 1087, 305, 2340, 28, 14202, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 347, 6254, 276, 422, 3740, 1378, 12567, 13, 785, 14, 36216, 15813, 12, 35720, 14, 36216, 15813, 12, 35720, 14, 2436, 672, 14, 23, 2598, 65, 19, 1350, 1731, 14, 8135, 35720, 14, 4164, 10466, 14, 565, 5819, 47835, 403, 16668, 16149, 13, 9078, 2, 43, 28072, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 46333, 286, 3740, 1378, 36216, 15813, 12, 35720, 13, 2398, 14, 31284, 14, 18170, 14, 27568, 14, 8135, 35720, 13, 4164, 10466, 13, 9948, 21141, 62, 9869, 397, 292, 89, 62, 26675, 13, 6494, 2, 8135, 35720, 13, 4164, 10466, 13, 9948, 21141, 62, 9869, 397, 292, 89, 62, 26675, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 6818, 1395, 13, 358, 320, 6624, 362, 201, 198, 220, 220, 220, 399, 11, 62, 796, 1395, 13, 43358, 201, 198, 220, 220, 220, 6097, 62, 11, 66, 977, 5500, 62, 796, 28034, 13, 34642, 7, 23912, 1424, 11, 82, 9741, 28, 17821, 11, 7783, 62, 9127, 82, 28, 17821, 8, 201, 198, 220, 220, 220, 509, 796, 18896, 7, 37724, 62, 8, 201, 198, 220, 220, 220, 611, 16959, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 17912, 30531, 60, 2386, 21141, 62, 9869, 397, 292, 89, 62, 26675, 25, 509, 796, 1391, 42, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 17912, 30531, 60, 2386, 21141, 62, 9869, 397, 292, 89, 62, 26675, 25, 2289, 5500, 62, 796, 1391, 66, 977, 5500, 62, 92, 4943, 201, 198, 201, 198, 220, 220, 220, 3131, 62, 6381, 79, 11, 23422, 62, 6381, 79, 796, 657, 13, 15, 11, 657, 13, 15, 201, 198, 220, 220, 220, 3641, 796, 28034, 13, 32604, 7, 55, 11, 27740, 28, 15, 8, 201, 198, 220, 220, 220, 329, 10662, 287, 2837, 7, 42, 2599, 201, 198, 220, 220, 220, 220, 220, 220, 220, 13946, 62, 80, 796, 1395, 58, 23912, 1424, 855, 80, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3641, 62, 80, 796, 28034, 13, 32604, 7, 565, 5819, 62, 80, 11, 27740, 28, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1247, 305, 2340, 318, 407, 6045, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3641, 62, 80, 796, 1247, 305, 2340, 58, 80, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3131, 62, 6381, 79, 15853, 18896, 7, 565, 5819, 62, 80, 8, 1635, 28034, 13, 16345, 19510, 16159, 62, 80, 12, 16159, 8, 1174, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 23422, 62, 6381, 79, 15853, 28034, 13, 16345, 19510, 565, 5819, 62, 80, 12, 16159, 62, 80, 8, 1174, 17, 8, 201, 198, 220, 220, 220, 1441, 357, 201, 198, 220, 220, 220, 220, 220, 220, 220, 352, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 611, 23422, 62, 6381, 79, 6624, 657, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 357, 26086, 62, 6381, 79, 9, 7, 45, 12, 42, 4008, 1220, 357, 600, 430, 62, 6381, 79, 9, 7, 42, 12, 16, 4008, 201, 198, 220, 220, 220, 1267, 201, 198, 201, 198, 4299, 651, 62, 710, 394, 2865, 62, 27932, 62, 727, 7, 45, 11, 1904, 62, 46999, 28, 17821, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4780, 25, 807, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 350, 796, 493, 7, 45, 1174, 7, 15, 13, 20, 4008, 201, 198, 220, 220, 220, 317, 796, 28034, 13, 9107, 418, 19510, 45, 11, 45, 4008, 201, 198, 220, 220, 220, 773, 796, 28034, 13, 283, 858, 7, 45, 8, 201, 198, 220, 220, 220, 5752, 796, 28034, 13, 7146, 7, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 201, 198, 220, 220, 220, 1303, 16766, 5752, 201, 198, 220, 220, 220, 1303, 773, 1343, 352, 201, 198, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 10, 16, 201, 198, 220, 220, 220, 4780, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 27, 45, 8, 1222, 357, 808, 855, 710, 394, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 1303, 773, 532, 352, 201, 198, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 12, 16, 201, 198, 220, 220, 220, 4780, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 29, 28, 15, 8, 1222, 357, 808, 855, 710, 394, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 1303, 8420, 3419, 201, 198, 201, 198, 220, 220, 220, 1303, 33769, 796, 25915, 7, 47, 10, 16, 828, 12, 47, 12095, 7, 47, 12, 16, 828, 12, 16, 60, 201, 198, 220, 220, 220, 35002, 796, 685, 47, 12, 16, 11, 47, 11, 47, 10, 16, 60, 201, 198, 201, 198, 220, 220, 220, 329, 264, 287, 35002, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 773, 1343, 264, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 10, 82, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 532, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 27, 45, 8, 1222, 357, 808, 855, 710, 328, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 773, 532, 264, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 12, 82, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 1343, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 29, 28, 15, 8, 1222, 357, 808, 855, 710, 328, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 201, 198, 220, 220, 220, 611, 779, 62, 46999, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 796, 317, 13, 66, 15339, 3419, 201, 198, 201, 198, 220, 220, 220, 1441, 317, 201, 198, 201, 198, 4299, 651, 62, 710, 394, 2865, 62, 27932, 7, 45, 11, 1904, 62, 46999, 28, 17821, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4780, 25, 604, 357, 86, 14, 78, 2566, 1840, 874, 8, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 350, 796, 493, 7, 45, 1174, 7, 15, 13, 20, 4008, 201, 198, 220, 220, 220, 317, 796, 28034, 13, 9107, 418, 19510, 45, 11, 45, 4008, 201, 198, 220, 220, 220, 773, 796, 28034, 13, 283, 858, 7, 45, 8, 201, 198, 220, 220, 220, 5752, 796, 28034, 13, 7146, 7, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 201, 198, 220, 220, 220, 1303, 16766, 5752, 201, 198, 220, 220, 220, 1303, 773, 1343, 352, 201, 198, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 10, 16, 201, 198, 220, 220, 220, 4780, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 27, 45, 8, 1222, 357, 808, 855, 710, 394, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 1303, 773, 532, 352, 201, 198, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 12, 16, 201, 198, 220, 220, 220, 4780, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 201, 198, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 29, 28, 15, 8, 1222, 357, 808, 855, 710, 394, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 1303, 8420, 3419, 201, 198, 201, 198, 220, 220, 220, 1303, 33769, 796, 25915, 7, 47, 10, 16, 828, 12, 47, 12095, 7, 47, 12, 16, 828, 12, 16, 60, 201, 198, 220, 220, 220, 35002, 796, 685, 47, 60, 201, 198, 201, 198, 220, 220, 220, 329, 264, 287, 35002, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 773, 1343, 264, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 10, 82, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 532, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 27, 45, 8, 1222, 357, 808, 855, 710, 328, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 773, 532, 264, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 521, 796, 773, 12, 82, 201, 198, 220, 220, 220, 220, 220, 220, 220, 497, 328, 2865, 62, 808, 796, 28034, 13, 7146, 7, 710, 328, 2865, 62, 521, 11, 47, 11, 744, 278, 62, 14171, 11639, 28300, 11537, 1343, 352, 201, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 796, 357, 710, 328, 2865, 62, 521, 29, 28, 15, 8, 1222, 357, 808, 855, 710, 328, 2865, 62, 808, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 58, 521, 58, 27932, 4357, 710, 328, 2865, 62, 521, 58, 27932, 11907, 796, 352, 201, 198, 201, 198, 220, 220, 220, 611, 779, 62, 46999, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 317, 796, 317, 13, 66, 15339, 3419, 201, 198, 201, 198, 220, 220, 220, 1441, 317, 201, 198, 201, 198, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 201, 198, 220, 220, 220, 9403, 796, 7388, 201, 198, 220, 220, 220, 45941, 13, 25120, 13, 28826, 7, 28826, 8, 201, 198, 220, 220, 220, 28034, 13, 805, 723, 62, 28826, 7, 28826, 8, 201, 198, 220, 220, 220, 28034, 13, 66, 15339, 13, 805, 723, 62, 28826, 62, 439, 7, 28826, 8, 201, 198, 220, 220, 220, 4738, 13, 28826, 7, 28826, 8, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1303, 5972, 1362, 201, 198, 220, 220, 220, 640, 62, 10951, 796, 640, 13, 2536, 31387, 10786, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 3256, 640, 13, 12001, 2435, 7, 2435, 13, 2435, 3419, 4008, 201, 198, 220, 220, 220, 2604, 62, 15908, 796, 705, 19571, 6404, 62, 1416, 14, 6, 201, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 6404, 62, 15908, 2599, 201, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 6404, 62, 15908, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 69, 1, 16447, 1391, 6404, 62, 15908, 92, 4943, 201, 198, 220, 220, 220, 2604, 796, 5972, 1362, 7, 6404, 62, 15908, 10, 69, 470, 395, 62, 1416, 12, 90, 2435, 62, 10951, 27422, 6404, 3256, 5715, 11639, 24442, 11537, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1303, 6060, 11824, 201, 198, 220, 220, 220, 1303, 2329, 329, 16959, 201, 198, 220, 220, 220, 347, 11, 45, 11, 35, 11, 42, 796, 642, 11, 37688, 11, 22842, 11, 940, 201, 198, 220, 220, 220, 1303, 1366, 796, 28034, 13, 51, 22854, 26933, 58, 15, 11, 16, 11, 15, 11, 15, 4357, 201, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 17, 11, 16, 11, 15, 11, 15, 4357, 201, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 15, 11, 15, 11, 18, 11, 15, 4357, 201, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 16, 11, 17, 11, 15, 11, 15, 4357, 201, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 15, 11, 16, 11, 16, 11, 16, 11907, 8, 201, 198, 220, 220, 220, 1303, 1366, 796, 28034, 13, 25192, 7, 33, 11, 45, 11, 35, 8, 201, 198, 201, 198, 220, 220, 220, 2393, 62, 15908, 796, 31051, 11195, 14, 20342, 73, 14, 7890, 14, 30053, 14, 27432, 14, 77, 30484, 15982, 2857, 14, 6, 201, 198, 220, 220, 220, 2393, 62, 4868, 796, 28686, 13, 4868, 15908, 7, 7753, 62, 15908, 8, 201, 198, 201, 198, 220, 220, 220, 3440, 62, 9688, 62, 83, 796, 4818, 8079, 13, 19608, 8079, 13, 2197, 3419, 201, 198, 220, 220, 220, 1366, 796, 17635, 201, 198, 220, 220, 220, 329, 2393, 62, 3672, 287, 2393, 62, 4868, 58, 25, 3064, 5974, 1303, 12892, 4263, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 33295, 7, 13165, 354, 13, 2220, 7, 418, 13, 6978, 13, 22179, 7, 7753, 62, 15908, 11, 7753, 62, 3672, 4008, 58, 16, 25, 12962, 201, 198, 220, 220, 220, 1366, 796, 28034, 13, 25558, 7, 7890, 737, 66, 15339, 3419, 1303, 28034, 13, 10699, 26933, 18, 11, 5125, 11, 40400, 12962, 201, 198, 220, 220, 220, 1303, 1366, 796, 28034, 13, 2220, 10786, 14, 11195, 14, 20342, 73, 14, 7890, 14, 30053, 62, 1120, 14, 27432, 14, 77, 30484, 15982, 2857, 14, 77, 30484, 15982, 2857, 24598, 18, 13, 79, 400, 11537, 58, 16, 47715, 1303, 28034, 13, 10699, 26933, 2920, 11, 40400, 12962, 201, 198, 220, 220, 220, 3440, 62, 83, 796, 357, 19608, 8079, 13, 19608, 8079, 13, 2197, 3419, 532, 3440, 62, 9688, 62, 83, 737, 23350, 62, 43012, 3419, 201, 198, 220, 220, 220, 3601, 7, 69, 1, 7890, 13, 43358, 25, 1391, 7890, 13, 43358, 92, 685, 90, 7890, 13, 25202, 92, 60, 4943, 201, 198, 220, 220, 220, 1303, 3601, 7, 13165, 354, 13, 66, 15339, 13, 25202, 62, 9127, 28955, 201, 198, 220, 220, 220, 1303, 8420, 7, 16, 8, 201, 198, 220, 220, 220, 3601, 7, 69, 1, 2220, 1391, 11925, 7, 7890, 38165, 4263, 640, 25, 1391, 2220, 62, 83, 25, 13, 19, 69, 92, 82, 4943, 201, 198, 201, 198, 220, 220, 220, 1303, 6208, 329, 264, 13495, 290, 509, 201, 198, 220, 220, 220, 347, 11, 45, 11, 35, 796, 1366, 13, 43358, 201, 198, 220, 220, 220, 4780, 62, 27932, 796, 651, 62, 710, 394, 2865, 62, 27932, 7, 45, 8, 201, 198, 220, 220, 220, 4780, 62, 27932, 796, 4780, 62, 27932, 13, 66, 15339, 3419, 201, 198, 220, 220, 220, 466, 62, 454, 796, 6407, 220, 201, 198, 220, 220, 220, 466, 62, 8135, 35720, 796, 10352, 220, 201, 198, 201, 198, 220, 220, 220, 1303, 10097, 3880, 982, 201, 198, 220, 220, 220, 1303, 3954, 37410, 62, 565, 5819, 201, 198, 220, 220, 220, 1303, 10097, 3880, 982, 201, 198, 220, 220, 220, 611, 466, 62, 454, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 9927, 62, 43501, 62, 7857, 796, 1467, 201, 198, 220, 220, 220, 220, 220, 220, 220, 8198, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 8198, 62, 8135, 75, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 82, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 264, 13495, 62, 28461, 874, 796, 685, 3132, 11, 1821, 11, 1120, 11, 2425, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 34236, 62, 28461, 874, 796, 685, 15, 13, 34215, 11, 15, 13, 830, 18, 11623, 11, 15, 13, 830, 20, 11, 15, 13, 830, 21, 11, 15, 13, 830, 23, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 509, 62, 28461, 874, 796, 685, 940, 11, 1314, 11, 1238, 11, 1495, 11, 2078, 60, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 59, 77, 5122, 37410, 62, 565, 5819, 25, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 329, 264, 13495, 287, 264, 13495, 62, 28461, 874, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 329, 34236, 287, 34236, 62, 28461, 874, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 82, 13495, 29164, 82, 13495, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 28483, 2611, 29164, 28483, 2611, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2747, 62, 23912, 1424, 796, 37410, 62, 565, 5819, 7, 7890, 11, 42, 11, 28483, 2611, 28, 28483, 2611, 11, 710, 394, 2865, 62, 27932, 28, 710, 394, 2865, 62, 27932, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4235, 2625, 24442, 1600, 42, 62, 28461, 874, 28, 42, 62, 28461, 874, 8, 1303, 357, 11925, 7, 42, 62, 28461, 874, 828, 33, 11, 45, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 509, 62, 521, 11, 42, 287, 27056, 378, 7, 42, 62, 28461, 874, 2599, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9927, 62, 43501, 62, 521, 1063, 796, 4738, 13, 39873, 7, 9521, 7, 33, 828, 9927, 62, 43501, 62, 7857, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9927, 62, 43501, 62, 521, 1063, 796, 685, 15, 60, 1303, 16959, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 796, 657, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 796, 657, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 9927, 62, 43501, 62, 521, 1063, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 15853, 2386, 21141, 62, 9869, 397, 292, 89, 62, 26675, 7, 7890, 58, 72, 4357, 28764, 62, 23912, 1424, 58, 42, 62, 521, 11, 72, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 15853, 20731, 13, 9948, 21141, 62, 9869, 397, 292, 89, 62, 26675, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 58, 72, 4083, 36166, 22446, 77, 32152, 22784, 28764, 62, 23912, 1424, 58, 42, 62, 521, 11, 72, 4083, 36166, 22446, 77, 32152, 28955, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3601, 7, 4906, 7, 26675, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3601, 7, 4906, 7, 26675, 62, 8135, 75, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8420, 7, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 1220, 28, 9927, 62, 43501, 62, 7857, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 1220, 28, 9927, 62, 43501, 62, 7857, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8198, 13, 33295, 7, 26675, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8198, 62, 8135, 75, 13, 33295, 7, 26675, 62, 8135, 75, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4566, 82, 13, 33295, 7, 11600, 7, 82, 13495, 28, 82, 13495, 11, 42, 28, 42, 11, 23912, 1424, 28, 28764, 62, 23912, 1424, 58, 42, 62, 521, 60, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 82, 13, 33295, 7, 11600, 7, 28483, 2611, 28, 28483, 2611, 11, 42, 28, 42, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 532, 509, 29164, 42, 92, 220, 4776, 29164, 26675, 25, 13, 19, 69, 92, 220, 4776, 62, 8135, 75, 29164, 26675, 62, 8135, 75, 25, 13, 19, 69, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12578, 1255, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 521, 796, 28034, 13, 853, 9806, 7, 13165, 354, 13, 51, 22854, 7, 1416, 2850, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 26675, 796, 8198, 58, 9806, 62, 521, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 11518, 15178, 25, 1391, 9806, 62, 26675, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 16934, 20074, 25, 34236, 29164, 11250, 82, 58, 9806, 62, 521, 7131, 6, 28483, 2611, 20520, 92, 220, 509, 29164, 11250, 82, 58, 9806, 62, 521, 7131, 6, 42, 20520, 92, 4943, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1303, 10097, 3880, 982, 201, 198, 220, 220, 220, 1303, 3661, 35720, 338, 13058, 1373, 2601, 436, 1586, 201, 198, 220, 220, 220, 1303, 10097, 3880, 982, 201, 198, 220, 220, 220, 611, 466, 62, 8135, 35720, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 59, 77, 15739, 35720, 13058, 1373, 2601, 436, 1586, 25, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 8198, 62, 8135, 75, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 82, 796, 17635, 201, 198, 220, 220, 220, 220, 220, 220, 220, 34236, 62, 28461, 874, 796, 685, 15, 13, 830, 18, 11623, 11, 15, 13, 830, 20, 11, 15, 13, 830, 23, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 264, 13495, 685, 3064, 13, 2388, 11, 220, 4317, 13, 22, 15982, 11, 220, 2026, 13, 2388, 11, 220, 3261, 13, 21, 23815, 11, 220, 1679, 13, 2388, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 509, 62, 28461, 874, 796, 685, 940, 11, 1314, 11, 1238, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 329, 34236, 287, 34236, 62, 28461, 874, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 28483, 2611, 29164, 28483, 2611, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 509, 287, 509, 62, 28461, 874, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 796, 657, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1395, 287, 1366, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 62, 796, 1395, 13, 36166, 22446, 77, 32152, 3419, 1303, 357, 37688, 11, 40400, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 62, 28764, 796, 13058, 1373, 2601, 436, 1586, 7, 77, 62, 565, 13654, 28, 42, 11, 34236, 28, 28483, 2611, 737, 11147, 62, 79, 17407, 7, 55, 62, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4776, 62, 8135, 75, 15853, 20731, 13, 9948, 21141, 62, 9869, 397, 292, 89, 62, 26675, 7, 55, 62, 11, 88, 62, 28764, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 15853, 2386, 21141, 62, 9869, 397, 292, 89, 62, 26675, 7, 55, 11, 13165, 354, 13, 6738, 62, 77, 32152, 7, 88, 62, 28764, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8420, 7, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4776, 62, 8135, 75, 1220, 28, 18896, 7, 7890, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8198, 62, 8135, 75, 13, 33295, 7, 26675, 62, 8135, 75, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 82, 13, 33295, 7, 11600, 7, 28483, 2611, 28, 28483, 2611, 11, 42, 28, 42, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 532, 509, 29164, 42, 92, 220, 4776, 62, 8135, 75, 29164, 26675, 62, 8135, 75, 25, 13, 19, 69, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12578, 1255, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 521, 796, 28034, 13, 853, 9806, 7, 13165, 354, 13, 51, 22854, 7, 1416, 2850, 62, 8135, 75, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 26675, 796, 4776, 62, 8135, 75, 58, 9806, 62, 521, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 11518, 15178, 25, 1391, 9806, 62, 26675, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 13, 6404, 1362, 13, 24442, 7, 69, 1, 16934, 20074, 25, 34236, 29164, 11250, 82, 58, 9806, 62, 521, 7131, 6, 28483, 2611, 20520, 92, 220, 509, 29164, 11250, 82, 58, 9806, 62, 521, 7131, 6, 42, 20520, 92, 4943, 201, 198, 201, 198, 220, 220, 220, 220 ]
1.932276
6,305
from timeit import default_timer as timer import revkit
[ 6738, 640, 270, 1330, 4277, 62, 45016, 355, 19781, 198, 198, 11748, 2710, 15813, 198 ]
3.8
15
# Time: O(n^2) # Space: O(1) # # Given an array S of n integers, # are there elements a, b, c in S such that a + b + c = 0? # Find all unique triplets in the array which gives the sum of zero. # # Note: # Elements in a triplet (a,b,c) must be in non-descending order. (ie, a <= b <= c) # The solution set must not contain duplicate triplets. # For example, given array S = {-1 0 1 2 -1 -4}, # # A solution set is: # (-1, 0, 1) # (-1, -1, 2) # # @return a list of lists of length 3, [[val1,val2,val3]] if __name__ == '__main__': result = Solution().threeSum([-1, 0, 1, 2, -1, -4]) print result
[ 2, 3862, 25, 220, 440, 7, 77, 61, 17, 8, 198, 2, 4687, 25, 440, 7, 16, 8, 198, 2, 198, 2, 11259, 281, 7177, 311, 286, 299, 37014, 11, 198, 2, 389, 612, 4847, 257, 11, 275, 11, 269, 287, 311, 884, 326, 257, 1343, 275, 1343, 269, 796, 657, 30, 198, 2, 9938, 477, 3748, 15055, 912, 287, 262, 7177, 543, 3607, 262, 2160, 286, 6632, 13, 198, 2, 198, 2, 5740, 25, 198, 2, 26632, 287, 257, 15055, 83, 357, 64, 11, 65, 11, 66, 8, 1276, 307, 287, 1729, 12, 20147, 1571, 1502, 13, 357, 494, 11, 257, 19841, 275, 19841, 269, 8, 198, 2, 383, 4610, 900, 1276, 407, 3994, 23418, 15055, 912, 13, 198, 2, 220, 220, 220, 1114, 1672, 11, 1813, 7177, 311, 796, 1391, 12, 16, 657, 352, 362, 532, 16, 532, 19, 5512, 198, 2, 198, 2, 220, 220, 220, 317, 4610, 900, 318, 25, 198, 2, 220, 220, 220, 13841, 16, 11, 657, 11, 352, 8, 198, 2, 220, 220, 220, 13841, 16, 11, 532, 16, 11, 362, 8, 198, 2, 198, 220, 220, 220, 1303, 2488, 7783, 257, 1351, 286, 8341, 286, 4129, 513, 11, 16410, 2100, 16, 11, 2100, 17, 11, 2100, 18, 11907, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1255, 796, 28186, 22446, 15542, 13065, 26933, 12, 16, 11, 657, 11, 352, 11, 362, 11, 532, 16, 11, 532, 19, 12962, 198, 220, 220, 220, 3601, 1255 ]
2.472
250
from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() from .core import Word, Meaning, ReviewPlan, AddCounter, ReviewPlanType, ReviewStatus, ReviewStage
[ 6738, 44161, 282, 26599, 13, 2302, 13, 32446, 283, 876, 1330, 2377, 283, 876, 62, 8692, 198, 198, 14881, 796, 2377, 283, 876, 62, 8692, 3419, 198, 198, 6738, 764, 7295, 1330, 9678, 11, 30563, 11, 6602, 20854, 11, 3060, 31694, 11, 6602, 20854, 6030, 11, 6602, 19580, 11, 6602, 29391, 198 ]
3.519231
52
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import six from cryptography import utils from cryptography.hazmat.primitives import interfaces @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) @utils.register_interface(interfaces.EllipticCurve) _CURVE_TYPES = { "prime192v1": SECP192R1, "prime256v1": SECP256R1, "secp192r1": SECP192R1, "secp224r1": SECP224R1, "secp256r1": SECP256R1, "secp384r1": SECP384R1, "secp521r1": SECP521R1, "sect163k1": SECT163K1, "sect233k1": SECT233K1, "sect283k1": SECT283K1, "sect409k1": SECT409K1, "sect571k1": SECT571K1, "sect163r2": SECT163R2, "sect233r1": SECT233R1, "sect283r1": SECT283R1, "sect409r1": SECT409R1, "sect571r1": SECT571R1, } @utils.register_interface(interfaces.EllipticCurveSignatureAlgorithm)
[ 2, 770, 2393, 318, 10668, 11971, 739, 262, 2846, 286, 262, 24843, 13789, 11, 10628, 198, 2, 362, 13, 15, 11, 290, 262, 347, 10305, 13789, 13, 4091, 262, 38559, 24290, 2393, 287, 262, 6808, 286, 428, 16099, 198, 2, 329, 1844, 3307, 13, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 198, 11748, 2237, 198, 198, 6738, 45898, 1330, 3384, 4487, 198, 6738, 45898, 13, 71, 1031, 6759, 13, 19795, 20288, 1330, 20314, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 8, 628, 198, 62, 34, 4261, 6089, 62, 9936, 47, 1546, 796, 1391, 198, 220, 220, 220, 366, 35505, 17477, 85, 16, 1298, 10729, 47, 17477, 49, 16, 11, 198, 220, 220, 220, 366, 35505, 11645, 85, 16, 1298, 10729, 47, 11645, 49, 16, 11, 628, 220, 220, 220, 366, 2363, 79, 17477, 81, 16, 1298, 10729, 47, 17477, 49, 16, 11, 198, 220, 220, 220, 366, 2363, 79, 24137, 81, 16, 1298, 10729, 47, 24137, 49, 16, 11, 198, 220, 220, 220, 366, 2363, 79, 11645, 81, 16, 1298, 10729, 47, 11645, 49, 16, 11, 198, 220, 220, 220, 366, 2363, 79, 22842, 81, 16, 1298, 10729, 47, 22842, 49, 16, 11, 198, 220, 220, 220, 366, 2363, 79, 20, 2481, 81, 16, 1298, 10729, 47, 20, 2481, 49, 16, 11, 628, 220, 220, 220, 366, 8831, 24136, 74, 16, 1298, 311, 9782, 24136, 42, 16, 11, 198, 220, 220, 220, 366, 8831, 25429, 74, 16, 1298, 311, 9782, 25429, 42, 16, 11, 198, 220, 220, 220, 366, 8831, 30290, 74, 16, 1298, 311, 9782, 30290, 42, 16, 11, 198, 220, 220, 220, 366, 8831, 29416, 74, 16, 1298, 311, 9782, 29416, 42, 16, 11, 198, 220, 220, 220, 366, 8831, 42875, 74, 16, 1298, 311, 9782, 42875, 42, 16, 11, 628, 220, 220, 220, 366, 8831, 24136, 81, 17, 1298, 311, 9782, 24136, 49, 17, 11, 198, 220, 220, 220, 366, 8831, 25429, 81, 16, 1298, 311, 9782, 25429, 49, 16, 11, 198, 220, 220, 220, 366, 8831, 30290, 81, 16, 1298, 311, 9782, 30290, 49, 16, 11, 198, 220, 220, 220, 366, 8831, 29416, 81, 16, 1298, 311, 9782, 29416, 49, 16, 11, 198, 220, 220, 220, 366, 8831, 42875, 81, 16, 1298, 311, 9782, 42875, 49, 16, 11, 198, 92, 628, 198, 31, 26791, 13, 30238, 62, 39994, 7, 3849, 32186, 13, 30639, 10257, 291, 26628, 303, 11712, 1300, 2348, 42289, 8, 628, 628 ]
2.583582
670
""" This module loads all the classes from the VTK Chemistry library into its namespace. This is an optional module.""" from vtkChemistryPython import *
[ 37811, 770, 8265, 15989, 477, 262, 6097, 422, 262, 32751, 42, 27867, 5888, 656, 198, 896, 25745, 13, 220, 770, 318, 281, 11902, 8265, 526, 15931, 198, 198, 6738, 410, 30488, 41829, 4592, 37906, 1330, 1635, 198 ]
4.189189
37
from .spotify import Spotify from .cache import Cache from . import croapi from . import matcher __all__ = [Spotify, Cache, croapi, matcher]
[ 6738, 764, 20485, 1958, 1330, 26778, 198, 6738, 764, 23870, 1330, 34088, 198, 6738, 764, 1330, 6763, 15042, 198, 6738, 764, 1330, 2603, 2044, 198, 198, 834, 439, 834, 796, 685, 32565, 1958, 11, 34088, 11, 6763, 15042, 11, 2603, 2044, 60, 198 ]
3.302326
43
import json from fastapi.testclient import TestClient from main import my_awesome_api client = TestClient(my_awesome_api) with open("openapi.json", "w") as f: json.dump(client.get("/openapi.json").json(), f, indent=4)
[ 11748, 33918, 198, 198, 6738, 3049, 15042, 13, 9288, 16366, 1330, 6208, 11792, 198, 198, 6738, 1388, 1330, 616, 62, 707, 5927, 62, 15042, 198, 198, 16366, 796, 6208, 11792, 7, 1820, 62, 707, 5927, 62, 15042, 8, 198, 4480, 1280, 7203, 9654, 15042, 13, 17752, 1600, 366, 86, 4943, 355, 277, 25, 198, 220, 220, 220, 33918, 13, 39455, 7, 16366, 13, 1136, 7203, 14, 9654, 15042, 13, 17752, 11074, 17752, 22784, 277, 11, 33793, 28, 19, 8, 198 ]
2.8125
80
import numpy as np # x = np.array([0.1, 0.8, 0.05, 0.05]) # t = np.array([0.0, 0.1, 0.0, 0.0]) # target probability distribution # x = np.array([0.2, 0.5, 0.2, 0.1]) # t = np.array([0.0, 0.0, 0.1, 0.0]) # target probability distribution # x = np.array([0.05, 0.05, 0.8, 0.1]) # t = np.array([0.0, 0.0, 0.0, 0.1]) # target probability distribution x = np.array([0.5, 0.1, 0.1, 0.3]) # target probability distribution t = np.array([0.1, 0.0, 0.0, 0.0]) # Function definitions # [0.10650698, 0.10650698, 0.78698604] soft = softmax(x) print(soft) print(cross_entropy(soft, t)) # 2.2395447662218846 # [-0. , -9.3890561, -0. ] cross_der = cross_entropy_derivatives(soft, t) print(cross_der) # [0.09516324, 0.09516324, 0.16763901] soft_der = softmax_derivatives(soft) print(soft_der) print(cross_der * soft_der) print(soft - t) # ## Derivative using chain rule # cross_der * soft_der # [-0. , -0.89349302, -0. ] # # # ## Derivative using analytical derivation # # soft - t # [ 0.10650698, -0.89349302, 0.78698604]
[ 11748, 299, 32152, 355, 45941, 628, 198, 2, 2124, 796, 45941, 13, 18747, 26933, 15, 13, 16, 11, 657, 13, 23, 11, 657, 13, 2713, 11, 657, 13, 2713, 12962, 198, 2, 256, 796, 45941, 13, 18747, 26933, 15, 13, 15, 11, 657, 13, 16, 11, 657, 13, 15, 11, 657, 13, 15, 12962, 220, 220, 220, 1303, 2496, 12867, 6082, 198, 198, 2, 2124, 796, 45941, 13, 18747, 26933, 15, 13, 17, 11, 657, 13, 20, 11, 657, 13, 17, 11, 657, 13, 16, 12962, 198, 2, 256, 796, 45941, 13, 18747, 26933, 15, 13, 15, 11, 657, 13, 15, 11, 657, 13, 16, 11, 657, 13, 15, 12962, 220, 220, 220, 1303, 2496, 12867, 6082, 198, 198, 2, 2124, 796, 45941, 13, 18747, 26933, 15, 13, 2713, 11, 657, 13, 2713, 11, 657, 13, 23, 11, 657, 13, 16, 12962, 198, 2, 256, 796, 45941, 13, 18747, 26933, 15, 13, 15, 11, 657, 13, 15, 11, 657, 13, 15, 11, 657, 13, 16, 12962, 220, 220, 220, 1303, 2496, 12867, 6082, 198, 198, 87, 796, 45941, 13, 18747, 26933, 15, 13, 20, 11, 657, 13, 16, 11, 657, 13, 16, 11, 657, 13, 18, 12962, 198, 2, 2496, 12867, 6082, 198, 83, 796, 45941, 13, 18747, 26933, 15, 13, 16, 11, 657, 13, 15, 11, 657, 13, 15, 11, 657, 13, 15, 12962, 628, 198, 2, 15553, 17336, 628, 628, 198, 198, 2, 685, 15, 13, 15801, 1120, 39357, 11, 657, 13, 15801, 1120, 39357, 11, 657, 13, 3695, 39357, 31916, 60, 198, 4215, 796, 2705, 9806, 7, 87, 8, 198, 4798, 7, 4215, 8, 198, 198, 4798, 7, 19692, 62, 298, 28338, 7, 4215, 11, 256, 4008, 220, 220, 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, 362, 13, 1954, 3865, 34825, 2791, 1828, 20356, 3510, 198, 198, 2, 25915, 15, 13, 220, 220, 220, 220, 220, 220, 837, 532, 24, 13, 29769, 2713, 5333, 11, 532, 15, 13, 220, 220, 220, 220, 220, 220, 2361, 198, 19692, 62, 1082, 796, 3272, 62, 298, 28338, 62, 1082, 452, 2929, 7, 4215, 11, 256, 8, 198, 4798, 7, 19692, 62, 1082, 8, 198, 198, 2, 685, 15, 13, 2931, 20, 24136, 1731, 11, 657, 13, 2931, 20, 24136, 1731, 11, 657, 13, 1433, 4304, 2670, 486, 60, 198, 4215, 62, 1082, 796, 2705, 9806, 62, 1082, 452, 2929, 7, 4215, 8, 198, 4798, 7, 4215, 62, 1082, 8, 198, 198, 4798, 7, 19692, 62, 1082, 1635, 2705, 62, 1082, 8, 198, 4798, 7, 4215, 532, 256, 8, 198, 198, 2, 22492, 9626, 452, 876, 1262, 6333, 3896, 198, 2, 3272, 62, 1082, 1635, 2705, 62, 1082, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 25915, 15, 13, 220, 220, 220, 220, 220, 220, 220, 837, 532, 15, 13, 4531, 27371, 22709, 11, 532, 15, 13, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 2, 198, 2, 198, 2, 22492, 9626, 452, 876, 1262, 30063, 16124, 341, 198, 2, 198, 2, 2705, 532, 256, 220, 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, 685, 657, 13, 15801, 1120, 39357, 11, 532, 15, 13, 4531, 27371, 22709, 11, 220, 657, 13, 3695, 39357, 31916, 60, 198 ]
1.982363
567
import io import pickle import pprint data = [] data.append(SimpleObject('pickle')) data.append(SimpleObject('preserve')) data.append(SimpleObject('last')) # Simulate a file. out_s = io.BytesIO() # Write to the stream for o in data: print('WRITING : {} ({})'.format(o.name, o.name_backwards)) pickle.dump(o, out_s) out_s.flush() # Set up a read-able stream in_s = io.BytesIO(out_s.getvalue()) # Read the data while True: try: o = pickle.load(in_s) except EOFError: break else: print('READ : {} ({})'.format( o.name, o.name_backwards))
[ 11748, 33245, 198, 11748, 2298, 293, 198, 11748, 279, 4798, 628, 198, 198, 7890, 796, 17635, 198, 7890, 13, 33295, 7, 26437, 10267, 10786, 27729, 293, 6, 4008, 198, 7890, 13, 33295, 7, 26437, 10267, 10786, 18302, 3760, 6, 4008, 198, 7890, 13, 33295, 7, 26437, 10267, 10786, 12957, 6, 4008, 198, 198, 2, 3184, 5039, 257, 2393, 13, 198, 448, 62, 82, 796, 33245, 13, 45992, 9399, 3419, 198, 198, 2, 19430, 284, 262, 4269, 198, 1640, 267, 287, 1366, 25, 198, 220, 220, 220, 3601, 10786, 18564, 2043, 2751, 1058, 23884, 37913, 30072, 4458, 18982, 7, 78, 13, 3672, 11, 267, 13, 3672, 62, 1891, 2017, 4008, 198, 220, 220, 220, 2298, 293, 13, 39455, 7, 78, 11, 503, 62, 82, 8, 198, 220, 220, 220, 503, 62, 82, 13, 25925, 3419, 198, 198, 2, 5345, 510, 257, 1100, 12, 540, 4269, 198, 259, 62, 82, 796, 33245, 13, 45992, 9399, 7, 448, 62, 82, 13, 1136, 8367, 28955, 198, 198, 2, 4149, 262, 1366, 198, 4514, 6407, 25, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 267, 796, 2298, 293, 13, 2220, 7, 259, 62, 82, 8, 198, 220, 220, 220, 2845, 412, 19238, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 15675, 220, 220, 220, 1058, 23884, 37913, 30072, 4458, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 13, 3672, 11, 267, 13, 3672, 62, 1891, 2017, 4008, 198 ]
2.283019
265
#!/usr/bin/env python # This script has been taken from https://github.com/miguelgrinberg/flasky-with-celery. # The github repo above also provided the starting guidelines to # have celery work in factory mode with Flask: I recommend you also look at the repo above! import os from app import celery, create_app app = create_app() app.app_context().push()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 770, 4226, 468, 587, 2077, 422, 3740, 1378, 12567, 13, 785, 14, 76, 328, 2731, 2164, 259, 3900, 14, 2704, 2093, 88, 12, 4480, 12, 7015, 88, 13, 220, 198, 2, 383, 33084, 29924, 2029, 635, 2810, 262, 3599, 9949, 284, 198, 2, 423, 18725, 1924, 670, 287, 8860, 4235, 351, 46947, 25, 314, 4313, 345, 635, 804, 379, 262, 29924, 2029, 0, 198, 198, 11748, 28686, 198, 6738, 598, 1330, 18725, 1924, 11, 2251, 62, 1324, 198, 198, 1324, 796, 2251, 62, 1324, 3419, 198, 1324, 13, 1324, 62, 22866, 22446, 14689, 3419, 198 ]
3.419048
105
import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import time from pytoion import * if len(sys.argv) == 1: print("Usage: python %s [BLE_DEVICE_ADDRESS]" %(sys.argv[0])) sys.exit() cube = Toio(sys.argv[1]) # sound # see https://toio.github.io/toio-spec/docs/ble_sound try: # [note, octave, time(time*10msec),volume(0:off/1-255:on)] music= [ [cube.NOTE.D,5,100], [cube.NOTE.C,5,100], [cube.NOTE.D,5,100], [cube.NOTE.E,5,100], [cube.NOTE.G,5,100], [cube.NOTE.E,5,100], [cube.NOTE.D,5,150], [cube.NOTE.C,5,80,0], # volume off [cube.NOTE.E,5,100], [cube.NOTE.G,5,100], [cube.NOTE.A,5,100], [cube.NOTE.G,5,50], [cube.NOTE.A,5,50], [cube.NOTE.D,6,100], [cube.NOTE.B,5,100], [cube.NOTE.A,5,100], [cube.NOTE.G,5,100], [cube.NOTE.C,5,60,0], [cube.NOTE.E,5,100], [cube.NOTE.G,5,100], [cube.NOTE.A,5,150], [cube.NOTE.C,5,80,0], [cube.NOTE.D,6,100], [cube.NOTE.C,6,100], [cube.NOTE.D,6,150], [cube.NOTE.C,5,80,0], [cube.NOTE.E,5,100], [cube.NOTE.G,5,100], [cube.NOTE.A,5,100], [cube.NOTE.G,5,100], [cube.NOTE.E,5,200], [cube.NOTE.G,5,50], [cube.NOTE.D,5,150], [cube.NOTE.C,5,80,0], [cube.NOTE.A,5,100], [cube.NOTE.C,6,100], [cube.NOTE.D,6,150], [cube.NOTE.C,5,80,0], [cube.NOTE.C,6,100], [cube.NOTE.D,6,100], [cube.NOTE.A,5,100], [cube.NOTE.G,5,100], [cube.NOTE.A,5,100], [cube.NOTE.G,5,50], [cube.NOTE.E,5,50], [cube.NOTE.D,5,150] ] for note in music: cube.sound(*note) time.sleep(note[2]/100) finally: cube.disconnect()
[ 11748, 25064, 198, 11748, 28686, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 828, 705, 492, 6, 4008, 198, 198, 11748, 640, 198, 6738, 12972, 1462, 295, 1330, 1635, 198, 198, 361, 18896, 7, 17597, 13, 853, 85, 8, 6624, 352, 25, 198, 220, 220, 220, 3601, 7203, 28350, 25, 21015, 4064, 82, 685, 19146, 62, 7206, 27389, 62, 2885, 7707, 7597, 30866, 4064, 7, 17597, 13, 853, 85, 58, 15, 60, 4008, 198, 220, 220, 220, 25064, 13, 37023, 3419, 198, 198, 40296, 796, 1675, 952, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 198, 2, 2128, 220, 198, 2, 766, 3740, 1378, 1462, 952, 13, 12567, 13, 952, 14, 1462, 952, 12, 16684, 14, 31628, 14, 903, 62, 23661, 198, 198, 28311, 25, 198, 220, 220, 220, 1303, 685, 11295, 11, 19318, 1015, 11, 640, 7, 2435, 9, 940, 76, 2363, 828, 29048, 7, 15, 25, 2364, 14, 16, 12, 13381, 25, 261, 15437, 628, 220, 220, 220, 2647, 28, 685, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 20, 11, 8628, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1795, 11, 15, 4357, 220, 220, 1303, 6115, 572, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 1120, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 1120, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 33, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1899, 11, 15, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 8628, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1795, 11, 15, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 21, 11, 8628, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1795, 11, 15, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 2167, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 1120, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 20, 11, 8628, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1795, 11, 15, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 21, 11, 8628, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 20, 11, 1795, 11, 15, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 34, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 21, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 32, 11, 20, 11, 3064, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 38, 11, 20, 11, 1120, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 36, 11, 20, 11, 1120, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 40296, 13, 16580, 13, 35, 11, 20, 11, 8628, 60, 198, 220, 220, 220, 2361, 628, 220, 220, 220, 329, 3465, 287, 2647, 25, 198, 220, 220, 220, 220, 220, 220, 220, 23441, 13, 23661, 46491, 11295, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 11295, 58, 17, 60, 14, 3064, 8, 198, 198, 69, 3289, 25, 198, 220, 220, 220, 23441, 13, 6381, 8443, 3419, 628 ]
1.649293
1,132
from django.shortcuts import render from django.http import HttpResponse, Http404 from rest_framework import status from rest_framework.decorators import api_view from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.parsers import JSONParser from models import Task from serializers import TaskSerializer from rest_framework.request import Request
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 11, 367, 29281, 26429, 198, 6738, 1334, 62, 30604, 1330, 3722, 198, 6738, 1334, 62, 30604, 13, 12501, 273, 2024, 1330, 40391, 62, 1177, 198, 6738, 1334, 62, 30604, 13, 33571, 1330, 3486, 3824, 769, 198, 6738, 1334, 62, 30604, 13, 26209, 1330, 18261, 198, 6738, 1334, 62, 30604, 13, 79, 945, 364, 1330, 19449, 46677, 198, 6738, 4981, 1330, 15941, 198, 6738, 11389, 11341, 1330, 15941, 32634, 7509, 198, 6738, 1334, 62, 30604, 13, 25927, 1330, 19390, 628, 198 ]
4.112245
98
#!/usr/local/bin/python3 # # stochastic_hill_climbing.py # src # # Created by Illya Starikov on 10/13/18. # Copyright 2018. Illya Starikov. MIT License. # from random import choice from hill_climber import HillClimber class StochasticHillClimber(HillClimber): """A stochastic steepest-ascent hill-climbing algorithm.""" def _get_random_uphill_move(self, current_node, neighbors): """Find a random uphill move relative to `current_node` in `neighbors`. Args: current_node (Node): The current node in the search. neighbors (list<Node>): The neighbors of `current_node`. Returns: Node: A random, uphill move. """ uphill_nodes = [] for point in neighbors: if self._value_at_node(point) > self._value_at_node(current_node): uphill_nodes.append(point) return current_node if len(uphill_nodes) == 0 else choice(uphill_nodes) def climb(self): """Run the steepest-ascent hill-climbing algorithm, finding a local optimum in a function. Returns: Node: The local optimum discovered. """ current_node = self._initial_node() while True: print("Exploring Node({}, {})".format(current_node.x, current_node.y)) neighbors = self._generate_all_neighbors(current_node) successor = self._get_random_uphill_move(current_node, neighbors) if self._value_at_node(successor) <= self._value_at_node(current_node): return current_node current_node = successor
[ 2, 48443, 14629, 14, 12001, 14, 8800, 14, 29412, 18, 198, 2, 198, 2, 3995, 354, 3477, 62, 12639, 62, 565, 320, 4623, 13, 9078, 198, 2, 12351, 198, 2, 198, 2, 15622, 416, 5821, 3972, 2907, 1134, 709, 319, 838, 14, 1485, 14, 1507, 13, 198, 2, 15069, 2864, 13, 5821, 3972, 2907, 1134, 709, 13, 17168, 13789, 13, 198, 2, 628, 198, 6738, 4738, 1330, 3572, 198, 198, 6738, 12788, 62, 565, 320, 527, 1330, 3327, 34, 2475, 527, 628, 198, 4871, 520, 5374, 3477, 36369, 34, 2475, 527, 7, 36369, 34, 2475, 527, 2599, 198, 220, 220, 220, 37227, 32, 3995, 354, 3477, 14559, 395, 12, 292, 1087, 12788, 12, 565, 320, 4623, 11862, 526, 15931, 628, 220, 220, 220, 825, 4808, 1136, 62, 25120, 62, 25689, 359, 62, 21084, 7, 944, 11, 1459, 62, 17440, 11, 12020, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16742, 257, 4738, 35256, 1445, 3585, 284, 4600, 14421, 62, 17440, 63, 287, 4600, 710, 394, 32289, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 17440, 357, 19667, 2599, 383, 1459, 10139, 287, 262, 2989, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12020, 357, 4868, 27, 19667, 29, 2599, 383, 12020, 286, 4600, 14421, 62, 17440, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19081, 25, 317, 4738, 11, 35256, 1445, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 35256, 62, 77, 4147, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 329, 966, 287, 12020, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 8367, 62, 265, 62, 17440, 7, 4122, 8, 1875, 2116, 13557, 8367, 62, 265, 62, 17440, 7, 14421, 62, 17440, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35256, 62, 77, 4147, 13, 33295, 7, 4122, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1459, 62, 17440, 611, 18896, 7, 25689, 359, 62, 77, 4147, 8, 6624, 657, 2073, 3572, 7, 25689, 359, 62, 77, 4147, 8, 628, 220, 220, 220, 825, 12080, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 10987, 262, 14559, 395, 12, 292, 1087, 12788, 12, 565, 320, 4623, 11862, 11, 4917, 257, 1957, 39475, 287, 257, 2163, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19081, 25, 383, 1957, 39475, 5071, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 17440, 796, 2116, 13557, 36733, 62, 17440, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 981, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 18438, 3255, 19081, 15090, 5512, 23884, 8, 1911, 18982, 7, 14421, 62, 17440, 13, 87, 11, 1459, 62, 17440, 13, 88, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12020, 796, 2116, 13557, 8612, 378, 62, 439, 62, 710, 394, 32289, 7, 14421, 62, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17270, 796, 2116, 13557, 1136, 62, 25120, 62, 25689, 359, 62, 21084, 7, 14421, 62, 17440, 11, 12020, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 8367, 62, 265, 62, 17440, 7, 13138, 273, 8, 19841, 2116, 13557, 8367, 62, 265, 62, 17440, 7, 14421, 62, 17440, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1459, 62, 17440, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 17440, 796, 17270 ]
2.408683
668
for _ in range(int(input())): n=int(input()) l=list(map(int,input().split())) l=sorted(l) r=l[::-1] if(n==1 or n==2): print("first") else: p1=r[1]+sum(r[2::2]) p2=sum(l)-p1 if(p1>p2): print("second") elif(p2>p1): print("first") else: print("draw")
[ 1640, 4808, 287, 2837, 7, 600, 7, 15414, 28955, 2599, 198, 220, 220, 220, 299, 28, 600, 7, 15414, 28955, 198, 220, 220, 220, 300, 28, 4868, 7, 8899, 7, 600, 11, 15414, 22446, 35312, 3419, 4008, 198, 220, 220, 220, 300, 28, 82, 9741, 7, 75, 8, 198, 220, 220, 220, 374, 28, 75, 58, 3712, 12, 16, 60, 198, 220, 220, 220, 220, 198, 220, 220, 220, 611, 7, 77, 855, 16, 393, 299, 855, 17, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 11085, 4943, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 16, 28, 81, 58, 16, 48688, 16345, 7, 81, 58, 17, 3712, 17, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 279, 17, 28, 16345, 7, 75, 13219, 79, 16, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 7, 79, 16, 29, 79, 17, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 12227, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 7, 79, 17, 29, 79, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 11085, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 19334, 4943 ]
1.566524
233
#!/usr/bin/python import os import sys import signal import json import time from urllib.request import urlopen ''' 5130315 https://www.funder.co.il/wsfund.asmx/GetFundTickerm?callback=jQuery111306779790886268987_1621159388408&id=5130315&startDate=2018-05-16&endDate=2021-05-17&_=1621159388411 https://www.funder.co.il/wsfund.asmx/GetFundTickerm?callback=jQuery&id=[FUND_NUMBER]&startDate=2018-05-16&endDate=2021-05-17&_=[SIMPLE_NUMBER] '''
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 11748, 28686, 198, 11748, 25064, 198, 11748, 6737, 198, 11748, 33918, 198, 11748, 640, 198, 6738, 2956, 297, 571, 13, 25927, 1330, 19016, 9654, 198, 198, 7061, 6, 198, 4349, 22572, 1314, 198, 5450, 1378, 2503, 13, 69, 4625, 13, 1073, 13, 346, 14, 18504, 10990, 13, 8597, 87, 14, 3855, 24553, 51, 624, 7780, 30, 47423, 28, 73, 20746, 1157, 12952, 3134, 3720, 3720, 2919, 4521, 25022, 44183, 62, 1433, 21895, 3270, 30460, 26200, 5, 312, 28, 4349, 22572, 1314, 5, 9688, 10430, 28, 7908, 12, 2713, 12, 1433, 5, 437, 10430, 28, 1238, 2481, 12, 2713, 12, 1558, 5, 62, 28, 1433, 21895, 3270, 2548, 5705, 1157, 198, 5450, 1378, 2503, 13, 69, 4625, 13, 1073, 13, 346, 14, 18504, 10990, 13, 8597, 87, 14, 3855, 24553, 51, 624, 7780, 30, 47423, 28, 73, 20746, 5, 312, 41888, 42296, 35, 62, 41359, 13246, 60, 5, 9688, 10430, 28, 7908, 12, 2713, 12, 1433, 5, 437, 10430, 28, 1238, 2481, 12, 2713, 12, 1558, 5, 62, 41888, 48913, 16437, 62, 41359, 13246, 60, 198, 7061, 6, 198 ]
2.376344
186
# @param s, a string # @return an integer s = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" solution = Solution() print(solution.minCut(s))
[ 220, 220, 220, 1303, 2488, 17143, 264, 11, 257, 4731, 198, 220, 220, 220, 1303, 2488, 7783, 281, 18253, 628, 198, 82, 796, 366, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 64, 6485, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 24794, 7252, 1, 198, 198, 82, 2122, 796, 28186, 3419, 198, 4798, 7, 82, 2122, 13, 1084, 26254, 7, 82, 4008, 198 ]
3.819951
411
from flask import Flask from shellshocker_server.saferproxyfix import SaferProxyFix from raven.contrib.flask import Sentry import os app = Flask(__name__) app.config['SECRET_KEY'] = os.environ['SECRET_KEY'] try: if os.environ['SECRET_KEY'] is not None: app.config['USE_SENTRY'] = True app.config['SENTRY_DSN'] = os.environ['SENTRY_DSN'] except KeyError: app.config['USE_SENTRY'] = False sentry = Sentry(app) app.wsgi_app = SaferProxyFix(app.wsgi_app) import shellshocker_server.views
[ 6738, 42903, 1330, 46947, 198, 6738, 7582, 1477, 12721, 62, 15388, 13, 82, 34659, 36436, 13049, 1330, 6895, 263, 44148, 22743, 198, 6738, 37735, 13, 3642, 822, 13, 2704, 2093, 1330, 11352, 563, 198, 198, 11748, 28686, 198, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 198, 198, 1324, 13, 11250, 17816, 23683, 26087, 62, 20373, 20520, 796, 28686, 13, 268, 2268, 17816, 23683, 26087, 62, 20373, 20520, 198, 28311, 25, 198, 220, 611, 28686, 13, 268, 2268, 17816, 23683, 26087, 62, 20373, 20520, 318, 407, 6045, 25, 198, 220, 220, 220, 598, 13, 11250, 17816, 19108, 62, 50, 3525, 18276, 20520, 796, 6407, 198, 220, 220, 220, 598, 13, 11250, 17816, 50, 3525, 18276, 62, 5258, 45, 20520, 796, 28686, 13, 268, 2268, 17816, 50, 3525, 18276, 62, 5258, 45, 20520, 198, 16341, 7383, 12331, 25, 198, 220, 598, 13, 11250, 17816, 19108, 62, 50, 3525, 18276, 20520, 796, 10352, 628, 198, 82, 13000, 796, 11352, 563, 7, 1324, 8, 198, 198, 1324, 13, 18504, 12397, 62, 1324, 796, 6895, 263, 44148, 22743, 7, 1324, 13, 18504, 12397, 62, 1324, 8, 198, 198, 11748, 7582, 1477, 12721, 62, 15388, 13, 33571, 198 ]
2.592784
194
""" NYT Download articles """ from nytimesarticle import articleAPI import pandas as pd import time import re api = articleAPI("<PASTE_YOUR_API_KEY>") df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Artificial Intelligence", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Artificial Intelligence", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Artificial Intelligence", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_ArtificialIntelligence.csv') df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Machine Learning", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Machine Learning", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Machine Learning", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_MachineLearning.csv') df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Deep Learning", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Deep Learning", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Deep Learning", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_DeepLearning.csv') df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Self Driving Car", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Self Driving Car", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Self Driving Car", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_SelfDrivingCar.csv') df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Neural Network", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Neural Network", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Neural Network", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_NeuralNetwork.csv') df = pd.DataFrame() for i in range(1,10): articles = api.search(q="Reinforcement Learning", begin_date=int("20180"+str(i)+"01"), end_date=int("20180"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(10,13): articles = api.search(q="Reinforcement Learning", begin_date=int("2018"+str(i)+"01"), end_date=int("2018"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) for i in range(1,4): articles = api.search(q="Reinforcement Learning", begin_date=int("20190"+str(i)+"01"), end_date=int("20190"+str(i)+"28")) df = df.append(pd.DataFrame.from_dict(articles)) time.sleep(60) df.to_csv('NYT_ReinforcementLearning.csv') """ NYT clean articles and store each paragraph in line """ from bs4 import BeautifulSoup import requests import os # Collect nyt URLs from nyt sourcing # url_list = [] for filename in os.listdir("nyt"): ls = 0 if filename.endswith(".csv"): print(filename) cnt=0 with open(os.path.join("nyt",filename), 'r',encoding="utf8") as file: for line in file.readlines(): for url in line.split("'"): if "https://www.nytimes" in url: url_list.append(url) cnt += 1 url_list = (set(url_list)) # Visit all urls and write content in paratags # with open("nyt_paras.txt", "w") as nyt: for url in url_list: page = requests.get(str(url)) soup = BeautifulSoup(page.text, 'html.parser') anchor_tags = soup.find_all('a') for tag in anchor_tags: para_tag = soup.find_all('p') for tag in para_tag: nyt.write(str(tag.prettify().encode("utf8"))+"\n") # Clean data from paratags # with open("nyt_paras.txt","r") as nyt: with open("nyt_clean.txt","w") as clean: for line in nyt.readlines(): s = "" line=line.lower() flag = False for ch in line: if ch == '<': flag=True elif ch == '>': flag=False if not flag and (ord('a')<=ord(ch)<=ord('z') or ch is ' '): s += ch s = (re.sub(' +', ' ', s)).strip() if len(s)>0: clean.write(s+"\n")
[ 37811, 198, 12805, 51, 10472, 6685, 198, 37811, 198, 198, 6738, 299, 20760, 999, 20205, 1330, 2708, 17614, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 640, 198, 11748, 302, 198, 198, 15042, 796, 2708, 17614, 7203, 27, 47, 1921, 9328, 62, 56, 11698, 62, 17614, 62, 20373, 29, 4943, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8001, 9542, 9345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8001, 9542, 9345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 628, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8001, 9542, 9345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 8001, 9542, 5317, 3480, 13, 40664, 11537, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 37573, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 37573, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 37573, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 37573, 41730, 13, 40664, 11537, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 29744, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 29744, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 29744, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 29744, 41730, 13, 40664, 11537, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 24704, 32889, 1879, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 24704, 32889, 1879, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 24704, 32889, 1879, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 24704, 20564, 1075, 9914, 13, 40664, 11537, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8199, 1523, 7311, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8199, 1523, 7311, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 8199, 1523, 7311, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 8199, 1523, 26245, 13, 40664, 11537, 198, 198, 7568, 796, 279, 67, 13, 6601, 19778, 3419, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 940, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 3041, 259, 13442, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 1795, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 940, 11, 1485, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 3041, 259, 13442, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 7908, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 19, 2599, 198, 220, 6685, 796, 40391, 13, 12947, 7, 80, 2625, 3041, 259, 13442, 18252, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2221, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 486, 12340, 886, 62, 4475, 28, 600, 7203, 1264, 3829, 1, 10, 2536, 7, 72, 47762, 1, 2078, 48774, 198, 220, 47764, 796, 47764, 13, 33295, 7, 30094, 13, 6601, 19778, 13, 6738, 62, 11600, 7, 26845, 4008, 198, 220, 640, 13, 42832, 7, 1899, 8, 198, 198, 7568, 13, 1462, 62, 40664, 10786, 12805, 51, 62, 3041, 259, 13442, 41730, 13, 40664, 11537, 198, 198, 37811, 198, 12805, 51, 3424, 6685, 290, 3650, 1123, 7322, 287, 1627, 198, 37811, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 198, 11748, 7007, 198, 11748, 28686, 198, 198, 2, 9745, 299, 20760, 32336, 422, 299, 20760, 47015, 198, 2, 198, 6371, 62, 4868, 796, 17635, 198, 1640, 29472, 287, 28686, 13, 4868, 15908, 7203, 3281, 83, 1, 2599, 198, 220, 220, 220, 43979, 796, 657, 198, 220, 220, 220, 611, 29472, 13, 437, 2032, 342, 7, 1911, 40664, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 34345, 8, 198, 220, 220, 220, 220, 220, 220, 220, 269, 429, 28, 15, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 418, 13, 6978, 13, 22179, 7203, 3281, 83, 1600, 34345, 828, 705, 81, 3256, 12685, 7656, 2625, 40477, 23, 4943, 355, 2393, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1627, 287, 2393, 13, 961, 6615, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 19016, 287, 1627, 13, 35312, 7203, 29653, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 5450, 1378, 2503, 13, 3281, 22355, 1, 287, 19016, 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, 19016, 62, 4868, 13, 33295, 7, 6371, 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, 269, 429, 15853, 352, 198, 198, 6371, 62, 4868, 796, 357, 2617, 7, 6371, 62, 4868, 4008, 198, 198, 2, 16440, 477, 2956, 7278, 290, 3551, 2695, 287, 1582, 265, 3775, 198, 2, 198, 4480, 1280, 7203, 3281, 83, 62, 1845, 292, 13, 14116, 1600, 366, 86, 4943, 355, 299, 20760, 25, 198, 220, 220, 220, 329, 19016, 287, 19016, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2443, 796, 7007, 13, 1136, 7, 2536, 7, 6371, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 17141, 796, 23762, 50, 10486, 7, 7700, 13, 5239, 11, 705, 6494, 13, 48610, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 18021, 62, 31499, 796, 17141, 13, 19796, 62, 439, 10786, 64, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 329, 7621, 287, 18021, 62, 31499, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31215, 62, 12985, 796, 17141, 13, 19796, 62, 439, 10786, 79, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 329, 7621, 287, 31215, 62, 12985, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 20760, 13, 13564, 7, 2536, 7, 12985, 13, 3866, 926, 1958, 22446, 268, 8189, 7203, 40477, 23, 48774, 10, 1, 59, 77, 4943, 198, 198, 2, 5985, 1366, 422, 1582, 265, 3775, 198, 2, 198, 4480, 1280, 7203, 3281, 83, 62, 1845, 292, 13, 14116, 2430, 81, 4943, 355, 299, 20760, 25, 198, 220, 220, 220, 351, 1280, 7203, 3281, 83, 62, 27773, 13, 14116, 2430, 86, 4943, 355, 3424, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1627, 287, 299, 20760, 13, 961, 6615, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 28, 1370, 13, 21037, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6056, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 442, 287, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 442, 6624, 705, 27, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6056, 28, 17821, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 442, 6624, 705, 29, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6056, 28, 25101, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 6056, 290, 357, 585, 10786, 64, 11537, 27, 28, 585, 7, 354, 8, 27, 28, 585, 10786, 89, 11537, 393, 442, 318, 705, 705, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 15853, 442, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 796, 357, 260, 13, 7266, 10786, 1343, 3256, 705, 46083, 264, 29720, 36311, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 82, 8, 29, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3424, 13, 13564, 7, 82, 10, 1, 59, 77, 4943, 198 ]
2.111223
2,976
import math from collections import Counter from fractions import Fraction from datatypes import Chord import json
[ 11748, 10688, 198, 6738, 17268, 1330, 15034, 198, 6738, 49876, 1330, 376, 7861, 198, 6738, 4818, 265, 9497, 1330, 609, 585, 198, 11748, 33918, 628, 198 ]
4.5
26
from nlpia.loaders import * # noqa
[ 6738, 299, 34431, 544, 13, 2220, 364, 1330, 1635, 220, 1303, 645, 20402 ]
2.692308
13
import collections from enum import Enum from vtypes import ( VString, VInt, VBool, VUnsignedInt, VDict, VValidatorDict, VList, VDate, VDateTime, VTime, VEnum, Validator, ) class RecordingType(Enum): """From https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmyth/recordingtypes.cpp#L76 The `toRawString` method converts to a string. I believe this are always returned untranslated. """ single_record = 'Single Record' all_record = 'Record All' record_one = 'Record One' record_daily = 'Record Daily' record_weekly = 'Record Weekly' override_recording = 'Override Recording' recording_template = 'Recording Template' not_recording = 'Not Recording' @property @property @classmethod @classmethod
[ 11748, 17268, 198, 6738, 33829, 1330, 2039, 388, 198, 198, 6738, 410, 19199, 1330, 357, 198, 220, 220, 220, 569, 10100, 11, 198, 220, 220, 220, 569, 5317, 11, 198, 220, 220, 220, 569, 33, 970, 11, 198, 220, 220, 220, 569, 3118, 32696, 5317, 11, 198, 220, 220, 220, 569, 35, 713, 11, 198, 220, 220, 220, 569, 47139, 1352, 35, 713, 11, 198, 220, 220, 220, 569, 8053, 11, 198, 220, 220, 220, 569, 10430, 11, 198, 220, 220, 220, 569, 10430, 7575, 11, 198, 220, 220, 220, 569, 7575, 11, 198, 220, 220, 220, 569, 4834, 388, 11, 198, 220, 220, 220, 48951, 1352, 11, 198, 8, 628, 198, 198, 4871, 43905, 6030, 7, 4834, 388, 2599, 198, 220, 220, 220, 37227, 4863, 3740, 1378, 12567, 13, 785, 14, 41444, 6849, 14, 1820, 400, 14981, 14, 2436, 672, 14, 9866, 14, 1820, 400, 14981, 14, 8019, 82, 14, 8019, 1820, 400, 14, 8344, 1284, 19199, 13, 20322, 2, 43, 4304, 628, 220, 220, 220, 383, 4600, 1462, 27369, 10100, 63, 2446, 26161, 284, 257, 4731, 13, 314, 1975, 428, 389, 198, 220, 220, 220, 1464, 4504, 1418, 26084, 17249, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 2060, 62, 22105, 796, 705, 28008, 13266, 6, 198, 220, 220, 220, 477, 62, 22105, 796, 705, 23739, 1439, 6, 198, 220, 220, 220, 1700, 62, 505, 796, 705, 23739, 1881, 6, 198, 220, 220, 220, 1700, 62, 29468, 796, 705, 23739, 6714, 6, 198, 220, 220, 220, 1700, 62, 45291, 796, 705, 23739, 18168, 6, 198, 220, 220, 220, 20957, 62, 8344, 1284, 796, 705, 37961, 43905, 6, 198, 220, 220, 220, 8296, 62, 28243, 796, 705, 6690, 1284, 37350, 6, 198, 220, 220, 220, 407, 62, 8344, 1284, 796, 705, 3673, 43905, 6, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 4871, 24396, 628, 220, 220, 220, 2488, 4871, 24396, 628, 628, 628, 628 ]
2.547401
327
import sublime from sublime_plugin import WindowCommand from ..git_command import GitCommand from ..ui_mixins.quick_panel import show_paginated_panel
[ 11748, 41674, 198, 6738, 41674, 62, 33803, 1330, 26580, 21575, 198, 198, 6738, 11485, 18300, 62, 21812, 1330, 15151, 21575, 198, 6738, 11485, 9019, 62, 19816, 1040, 13, 24209, 62, 35330, 1330, 905, 62, 79, 363, 3898, 62, 35330, 628, 198 ]
3.731707
41
# -- Description ----------------------------------------------------------------------------- # # Given a function , that returns two random values between 0..1 , calculate the value of Pi # Credits to YT channel Joma Tech # -------------------------------------------------------------------------------------------- # import random while(True): precision = int(input("How precise ?")) print(near_pi(precision))
[ 2, 1377, 12489, 16529, 32501, 1303, 198, 2, 11259, 257, 2163, 837, 326, 5860, 734, 4738, 3815, 1022, 657, 492, 16, 837, 15284, 262, 1988, 286, 13993, 198, 2, 29501, 284, 575, 51, 6518, 449, 6086, 9634, 198, 2, 16529, 1783, 10541, 1303, 198, 11748, 4738, 628, 198, 198, 4514, 7, 17821, 2599, 198, 220, 220, 220, 15440, 796, 493, 7, 15414, 7203, 2437, 7141, 220, 1701, 4008, 198, 220, 220, 220, 3601, 7, 40093, 62, 14415, 7, 3866, 16005, 4008 ]
5.234568
81
from __future__ import division import abc import numpy as np from .utils import psnr class metric(object): """Represents an metric for measuring reconstruction quality """ __metaclass__ = abc.ABCMeta @abc.abstractmethod def _eval(self, v): """Evaluate the metric """ return NotImplemented def eval(self, v): """Evaluate the metric """ if self.decimals is None: return self._eval(v) else: return np.round(self._eval(v), decimals=self.decimals) def message(self, v): """Evaluate the metric """ mval = self.eval(v) message = "{0}: {1} {2}".format(self.desc, mval, self.unit) return message class psnr_metric(metric): """PSNR metric """ def _eval(self, v): """Evaluate PSNR metric """ return psnr(np.reshape(v, self.ref.shape), self.ref, pad=self.pad, maxval=self.maxval)
[ 6738, 11593, 37443, 834, 1330, 7297, 198, 11748, 450, 66, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 764, 26791, 1330, 279, 16184, 81, 628, 198, 4871, 18663, 7, 15252, 2599, 198, 220, 220, 220, 37227, 6207, 6629, 281, 18663, 329, 15964, 25056, 3081, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 450, 66, 13, 24694, 48526, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 198, 220, 220, 220, 825, 4808, 18206, 7, 944, 11, 410, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 36, 2100, 4985, 262, 18663, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1892, 3546, 1154, 12061, 628, 220, 220, 220, 825, 5418, 7, 944, 11, 410, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 36, 2100, 4985, 262, 18663, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 12501, 320, 874, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 18206, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 45941, 13, 744, 7, 944, 13557, 18206, 7, 85, 828, 875, 320, 874, 28, 944, 13, 12501, 320, 874, 8, 628, 220, 220, 220, 825, 3275, 7, 944, 11, 410, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 36, 2100, 4985, 262, 18663, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 285, 2100, 796, 2116, 13, 18206, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 796, 45144, 15, 38362, 1391, 16, 92, 1391, 17, 92, 1911, 18982, 7, 944, 13, 20147, 11, 285, 2100, 11, 2116, 13, 20850, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3275, 628, 198, 4871, 279, 16184, 81, 62, 4164, 1173, 7, 4164, 1173, 2599, 198, 220, 220, 220, 37227, 3705, 24723, 18663, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 4808, 18206, 7, 944, 11, 410, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 36, 2100, 4985, 6599, 24723, 18663, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 279, 16184, 81, 7, 37659, 13, 3447, 1758, 7, 85, 11, 2116, 13, 5420, 13, 43358, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5420, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 28, 944, 13, 15636, 11, 3509, 2100, 28, 944, 13, 9806, 2100, 8, 198 ]
2.102941
476
from pythagoras import *
[ 6738, 279, 5272, 363, 41043, 1330, 1635, 628 ]
3.25
8
Desc = cellDescClass("NAND2BXL") Desc.properties["cell_footprint"] = "nand2b" Desc.properties["area"] = "13.305600" Desc.properties["cell_leakage_power"] = "540.512676" Desc.pinOrder = ['AN', 'B', 'Y'] Desc.add_arc("AN","Y","combi") Desc.add_arc("B","Y","combi") Desc.add_param("area",13.305600); Desc.add_pin("AN","input") Desc.add_pin("B","input") Desc.add_pin("Y","output") Desc.add_pin_func("Y","unknown") CellLib["NAND2BXL"]=Desc
[ 24564, 796, 2685, 24564, 9487, 7203, 45, 6981, 17, 33, 32457, 4943, 198, 24564, 13, 48310, 14692, 3846, 62, 5898, 4798, 8973, 796, 366, 77, 392, 17, 65, 1, 198, 24564, 13, 48310, 14692, 20337, 8973, 796, 366, 1485, 13, 1270, 3980, 405, 1, 198, 24564, 13, 48310, 14692, 3846, 62, 293, 461, 496, 62, 6477, 8973, 796, 366, 35005, 13, 25836, 42548, 1, 198, 24564, 13, 11635, 18743, 796, 37250, 1565, 3256, 705, 33, 3256, 705, 56, 20520, 198, 24564, 13, 2860, 62, 5605, 7203, 1565, 2430, 56, 2430, 785, 8482, 4943, 198, 24564, 13, 2860, 62, 5605, 7203, 33, 2430, 56, 2430, 785, 8482, 4943, 198, 24564, 13, 2860, 62, 17143, 7203, 20337, 1600, 1485, 13, 1270, 3980, 405, 1776, 198, 24564, 13, 2860, 62, 11635, 7203, 1565, 2430, 15414, 4943, 198, 24564, 13, 2860, 62, 11635, 7203, 33, 2430, 15414, 4943, 198, 24564, 13, 2860, 62, 11635, 7203, 56, 2430, 22915, 4943, 198, 24564, 13, 2860, 62, 11635, 62, 20786, 7203, 56, 2430, 34680, 4943, 198, 28780, 25835, 14692, 45, 6981, 17, 33, 32457, 8973, 28, 24564, 198 ]
2.403315
181
# -*- coding: utf-8 -*- """ cherry.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of cheery' exceptions. :copyright: (c) 2018-2019 by Windson Yang :license: MIT License, see LICENSE for more details. """ class CacheNotFoundError(IOError): '''Cache files not found''' class FilesNotFoundError(IOError): '''Files not found''' class MethodNotFoundError(AttributeError): '''Method not found''' class DataMismatchError(AttributeError): '''Data mismatch''' class UnicodeFileEncodeError(UnicodeEncodeError): '''Unicode File Encode Error'''
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 2044, 563, 13, 1069, 11755, 198, 27156, 4907, 93, 198, 1212, 8265, 4909, 262, 900, 286, 1125, 1924, 6, 13269, 13, 198, 25, 22163, 4766, 25, 357, 66, 8, 2864, 12, 23344, 416, 3086, 1559, 10998, 198, 25, 43085, 25, 17168, 13789, 11, 766, 38559, 24290, 329, 517, 3307, 13, 198, 37811, 628, 198, 4871, 34088, 3673, 21077, 12331, 7, 9399, 12331, 2599, 198, 220, 220, 220, 705, 7061, 30562, 3696, 407, 1043, 7061, 6, 198, 198, 4871, 13283, 3673, 21077, 12331, 7, 9399, 12331, 2599, 198, 220, 220, 220, 705, 7061, 25876, 407, 1043, 7061, 6, 198, 198, 4871, 11789, 3673, 21077, 12331, 7, 33682, 12331, 2599, 198, 220, 220, 220, 705, 7061, 17410, 407, 1043, 7061, 6, 198, 198, 4871, 6060, 44, 1042, 963, 12331, 7, 33682, 12331, 2599, 198, 220, 220, 220, 705, 7061, 6601, 46318, 7061, 6, 198, 198, 4871, 34371, 8979, 4834, 8189, 12331, 7, 3118, 291, 1098, 4834, 8189, 12331, 2599, 198, 220, 220, 220, 705, 7061, 3118, 291, 1098, 9220, 2039, 8189, 13047, 7061, 6, 198 ]
3.026455
189
# -*- coding: utf-8 -*- @bot.message_handler(commands=['setlang' , 'Setlang'])
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 31, 13645, 13, 20500, 62, 30281, 7, 9503, 1746, 28, 17816, 2617, 17204, 6, 837, 705, 7248, 17204, 6, 12962, 198 ]
2.222222
36
from abc import ABCMeta, abstractmethod import inspect import warnings import re import types class ExecutionNode(object): """Abstract Superclass for all nodes in an execution flow, e.g. parts, molecules Parts are the atomistic instructions in the genetic circuit execution flow | *Attributes:* | before : [ExecutionNode] | A list of ExecutionNode objects that precede this node | after : [ExeuctionNode] | A list of ExecutionNode objects that follow this node | scope : class(WeaverOutput) | What woven system is this node part of | additionStack : [Circuit or Aspect] | stack of Aspects and Circuits which are executing to add | this node """ __metaclass__ = ABCMeta def getBeforeNodes(self, filterType=object): """Returns all nodes immediately before this node in the execution flow, with the option to filter by node type | *Args:* | filterType: Filters the list to only include nodes of a given (super)type """ result = [] for executionNode in self.before: if isinstance(executionNode, filterType): result.append(executionNode) return result def getAfterNodes(self, filterType): """Returns all nodes immediately after this node in the execution flow, with the option to filter by node type | *Args:* | filterType: Filters the list to only include nodes of a given (super)type """ result = [] for executionNode in self.after: if isinstance(executionNode, filterType): result.append(executionNode) return result # Parts are always used as objects class Part(ExecutionNode): """Abstract Superclass for all Parts Parts are the atomistic instructions in the genetic circuit execution flow, e.g. Promoters, RBSs, Terminators, Coding Regions They inherit their functionality as nodes in the execution flow from their superclass ExecutionNode """ __metaclass__ = ABCMeta def setBeforePart(self, part): """Inserts a part before this part in the execution flow. If there's already a part in front of this part, the part to be inserted will be inserted between the two parts presently connected | *Args:* | part: the Part to be inserted """ oldPart = self.getBeforePart() if oldPart != None: self.before.remove(oldPart) self.before.append(part) def setAfterPart(self, part): """Inserts a part after this part in the execution flow. If there's already a part behind this part, the part to be inserted will be inserted between the two parts presently connected | *Args:* | part: the Part to be inserted """ oldPart = self.getAfterPart() if oldPart != None: self.after.remove(oldPart) self.after.append(part) def getBeforePart(self): """Returns the part just before this part in the execution flow """ for executionNode in self.before: if isinstance(executionNode, Part): return executionNode return None def getAfterPart(self): """Returns the part just after this part in the execution flow """ for executionNode in self.after: if isinstance(executionNode, Part): return executionNode return None def weave(self, weaver): """Internal method used during the weaving process: Facilitates molecule scope checking """ for beforeMol in self.precompileMoleculesBefore: mol = weaver.getMoleculeObject(self.scope, beforeMol) self.before.append(mol) mol.after.append(self) for afterMol in self.precompileMoleculesAfter: mol = weaver.getMoleculeObject(self.scope, afterMol, True) self.after.append(mol) mol.before.append(self) class Molecule(ExecutionNode): """Abstract Superclass for all Molecules Molecules are the nodes in the execution flow, for example: reactions: (MoleculeA+MoleculeB -> MoleculeC), translation: CodingRegion->MoleculeA, inducing: MoleculeA -> RegulatdPromoter, membrane transfer: MoleculeA (Compartment) -> MoleculeA (Outside Compartment) These nodes in the execution flow don't mean an existence of an element, but rather describe the information flow within the system. """ class Protein(Molecule): """Class for Molecules that are Proteins""" pass class Promoter(Part): """Class for Parts that are Promoters""" pass class ConstitutivePromoter(Promoter): """Class for Promoters that are Constitutive Promoters""" pass def checkIfTypeReturnInstance(possibleType): """if the parameter is a type, try to return an instance | *Args:* | possibleType - a parameter which may be an instance or a type | *Raises:* | PartInitializationError - if the parameter is a type which can not be constructed | *Returns:* | An instance of the type of possibleType """ if isinstance(possibleType, type): try: return possibleType() except: raise PartInitializationError(str(possibleType) + " can not be initialized without Parameters.") return possibleType def checkAndSetMolecule(molecule): """checks if parameter is a class of type Molecule and returns it | *Args:* | molecule - A potential Molecule | *Raises:* | MoleculeValue - If molecule is not a class of type Molecule | *Returns:* | A class of type Molecule """ if inspect.isclass(molecule) and issubclass(molecule, Molecule): return molecule else: raise MoleculeValueError("molecule must be a class of (sub)type Molecule") class NegativePromoter(Promoter): """Class for Promoters that are Negative Promoters""" def __init__(self, regulatedBy): """NegativePromoter Constructor | *Args:* | regulatedBy: sets moleculeConnection """ super(NegativePromoter, self).__init__() self.precompileMoleculesBefore.append(checkAndSetMolecule(regulatedBy)) def getRegulatedBy(self): """Returns a list of Molecules regulating this Promoter""" result = self.getBeforeNodes(Molecule) if len(result) > 0: return result # else: not compiled yet return self.precompileMoleculesBefore class PositivePromoter(Promoter): """Class for Promoters that are Positive Promoters""" def __init__(self, regulatedBy): """PositivePromoter Constructor | *Args:* | regulatedBy: sets moleculeConnection """ super(PositivePromoter, self).__init__() self.precompileMoleculesBefore.append(checkAndSetMolecule(regulatedBy)) def getRegulatedBy(self): """Returns a list of Molecules regulating this Promoter""" result = self.getBeforeNodes(Molecule) if len(result) > 0: return result # else: not compiled yet return self.precompileMoleculesBefore class HybridPromoter(Promoter): """Class for Promoters that are Hybrid Promoters, i.e. with several repressing / inducing operator sites like other regulated Promoters (NegativePromoter, PostiivePromoter), its regulators are accessible by getRegulatedBy(). Additionally, getInducers(), getRepressors(), and isInducer(molecule), isRepressor(molecule) give information about the functionality of the Promoter.""" def __init__(self, regulatedBy, regulatorInfo): """PositivePromoter Constructor | *Args:* | regulatedBy: [] list of regulator Molecules | regulatorInfo: Dictionary of the form {Molecule: Boolean}, where True: Induce, False: Repress """ cleanRegulatorInfo = {} if not type(regulatorInfo) is dict: raise ValueError("regulatorInfo must be a dictionary in the form of {Molecule: Boolean}") super(HybridPromoter, self).__init__() for mol in regulatedBy: self.precompileMoleculesBefore.append(checkAndSetMolecule(mol)) # todo try catch / raise exception if mol not in regulatorInfo cleanRegulatorInfo[mol] = regulatorInfo[mol] self.regulatorInfo = cleanRegulatorInfo def getRegulatedBy(self): """Returns a list of Molecules regulating this Promoter""" result = self.getBeforeNodes(Molecule) if len(result) > 0: return result # else: not compiled yet return self.precompileMoleculesBefore def getInducers(self): """Returns a list of positively regulating Molecules """ regulators = self.getRegulatedBy() ret = [] for mol in regulators: if self.regulatorInfo[mol.__class__] is True: ret.append(mol) return ret def getRepressors(self): """Returns a list of negatively regulating Molecules """ regulators = self.getRegulatedBy() ret = [] for mol in regulators: if self.regulatorInfo[mol.__class__] is False: ret.append(mol) return ret class CodingRegion(Part): """Class for parts that are Coding Regions""" def __init__(self, codesFor): """Constructor for a Coding Region Part | *Args:* | codesFor: sets moleculeConnection """ super(CodingRegion, self).__init__() self.precompileMoleculesAfter.append(checkAndSetMolecule(codesFor)) # todo : is this necessary? # def __del__(self): # self.codesFor.before.remove(self) class RBS(Part): """Class for parts that are Ribosome BindingSites""" class Terminator(Part): """Class for parts that are Terminators""" class Circuit(Part): """Abstract class for a genetic part circuit. | Will generally be used to represent a design's core concerns | Additionally, a circuit can be used to represent composite parts | *Attributes:* | weaver: Weaver | The weaver which compiles the circuit """ __metaclass__ = ABCMeta @abstractmethod def mainCircuit(self): """Entry point for a circuit, analogous to "main" in a program | Needs to be implemented by any sub class. | mainCircuit will be called by the AOSB Weaver.""" pass def importMolecule(self, molecule): """Import a particular molecule from the outer compartment to this compartment | *Args:* | molecule """ self.weaver.importMolecule(self, molecule) def exportMolecule(self, molecule): """Export a particular molecule from this compartment to the outer compartment | *Args:* | molecule """ self.weaver.exportMolecule(self, molecule) def createMolecule(self, molecule): """Declare that a particular molecule exists in the current scope | *Args:* | molecule """ self.weaver.createMolecule(self, molecule) def addCircuit(self, circuit): """Add a circuit as a sub-compartment in the current compartment | *Args:* | circuit: Circuit to be added as a sub-compartment """ self.weaver.addCircuit(self, circuit) def addPart(self, part): """Used to add parts to the circuit by passing them on to the AOSB Weaver | *Args:* | part: The part to be added to the circuit """ self.weaver.addPart(self, part) def reactionFrom(self, *molecules): """Used to add a reaction to the circuit by passing the reactions left side on to the AOSB Weaver | *Args:* | *molecules: a list of one or more molecules on the lhs of the reaction """ return self.weaver.reactionFrom(self, molecules) def reactionTo(self, *molecules): """Used to add a reaction to the circuit by passing the reactions right side on to the AOSB Weaver | *Args:* | *molecules: a list of one or more molecules on the rhs of the reaction """ return self.weaver.reactionTo(self, molecules) def setWeaver(self, weaver): """Internal - Should not be used outside of the framework. Sets the Weaver Object of this Circuit | *Args:* | weaver: A weaver object that will be used """ self.weaver = weaver def declareNewPart(classname, parent=Part, moleculesBefore=[], moleculesAfter=[], regulatorInfoMap={}): ''' Returns a new Part type and exports it to the caller's namespace | *Args* | classname : string | The name for the new type | parent : Part | super class for the new type | moleculesBefore : [Molecule] | optional, if the new Part type should have Molecule node(s) before it, e.g. regulators of a Promoter | moleculesAfter : [Molecule] | optional, if the new Part type should have Molecule node(s) after it, e.g. Proteins created by CodingRegions | regulatorInfoMap : Dictionary | optional, if a parent part needs additional regulator information. | Necessary for HybridPromoters, who need a map in the form of {Molecule: Boolean} | *Returns* | The new Part type | *Raises* | PartValueError -If the parent is not a Part | InvalidSymbolNameError - If classname is not a valid name for a symbol | *Warnings* | SymbolExistsWarning - If classname already exists in the namespace''' if not issubclass(parent, Part): raise PartValueError("parent must be of type Part") validnameregex = re.compile('[a-zA-Z_][a-zA-Z0-9_]*') if not isinstance(classname, str) or not validnameregex.match(classname) or not validnameregex.match( classname).span() == (0, len(classname)): raise InvalidSymbolNameError('name is not a valid symbold name') if not isinstance(moleculesBefore, list): raise ValueError("moleculesBefore must be of type list") if not isinstance(moleculesAfter, list): raise ValueError("moleculesAfter must be of type list") for mol in moleculesBefore: checkAndSetMolecule(mol) for mol in moleculesAfter: checkAndSetMolecule(mol) basestuple = parent, result = None currentframe = inspect.currentframe() # Create warning if name already exists if currentframe.f_back.f_globals.has_key(classname): line = currentframe.f_back.f_lineno warnings.warn( "Line " + str(line) + ": Part " + classname + " already defined. Existing definition will be used", SymbolExistsWarning, 2) # 2 = one stack level above this result = currentframe.f_back.f_globals.get(classname) else: result = type(classname, basestuple, {}) # this means that parent does not take a moleculeConnection parameter, #but the new subtype should have one. result = type(classname, basestuple, {'__init__': newTypeInit}) currentframe.f_back.f_globals[classname] = result return result def declareNewMolecule(classname, *parents): """Returns a new Molecule type and exports it to the caller's namespace | *Args:* | classname: The name for the new type | \*parents: 0 or more Molecule super classes | *Returns:* | The new Part type | *Raises:* | MoleculeValueError: If any parent is not a Molecule | InvalidSymbolNameError: If classname is not a valid name for a symbol | *Warnings:* | SymbolExistsWarning: If classname already exists in the namespace """ validnameregex = re.compile('[a-zA-Z_][a-zA-Z0-9_]*') if not isinstance(classname, str) or not validnameregex.match(classname) or not validnameregex.match( classname).span() == (0, len(classname)): raise InvalidSymbolNameError('name is not a valid symbold name') if len(parents) == 0: parents = Molecule, else: for parent in parents: if not issubclass(parent, Molecule): raise MoleculeValueError("All parents must be of type Molecule") currentframe = inspect.currentframe() result = None # Check if classname already exists if currentframe.f_back.f_globals.has_key(classname): line = currentframe.f_back.f_lineno warnings.warn( "Line " + str(line) + ": Molecule " + classname + " already defined. Existing definition will be used", SymbolExistsWarning, 2) # 2 = one stack level above this result = currentframe.f_back.f_globals.get(classname) else: result = type(classname, parents, {}) currentframe.f_back.f_globals[classname] = result return result class PointCutExpressionNode(object): """Abstract superclass for all Nodes in a Point Cut Expression Tree | A complex expression for a Point Cut, using operators such as & (and), | \| (or) or % (concatenation) is represented as a tree of nodes """ __metaclass__ = ABCMeta def __mod__(self, other): """% - concatenates two PointCutExpressionNodes | *Args:* | other - the node on the right of self | *Returns:* | a new PointCutExpressionConcatenate node """ return PointCutExpressionConcatenate(self, other) def __and__(self, other): """& - boolean and evaluation of two PointCutExpressionNodes | *Args:* | other - the node on the right of self | *Returns:* | a new PointCutExpressionNodeAnd node """ return PointCutExpressionAnd(self, other) def __or__(self, other): """| - boolean or evaluation of two PointCutExpressionNodes | *Args:* | other - the node on the right of self | *Returns:* | a new PointCutExpressionOr node """ return PointCutExpressionOr(self, other) def numberOfMatchingParts(self, part): """returns the number of parts the expression matches | If an expression uses concatenation, then it might match the current part and a number of preceding parts. | *Args:* | part - The part at which matching starts | *Returns:* | integer - how many parts were matched """ if self.match(part): return 1 else: return 0 @abstractmethod def match(self, part): """Does a part match this (sub)-expression? An abstract method, must be implemented by each child | *Args:* | part - The part to be matched | *Returns:* | boolean - Whether or not the part was matched """ pass class PointCutExpressionOperator(PointCutExpressionNode): """Abstract superclass of an PointCutExpression Node which is an operator | *Attributes:* | left - The first child of the operator | right - The second child of the operator """ __metaclass__ = ABCMeta left = None right = None def __init__(self, left, right): """Constructs a new PointCutExpresionOperator | *Args:* | left - Sets the left child node | right - Sets the right child node | *Raises:* | InvalidPointCutExpressionError - | If either child is not an instance of PointCutExpressionNode """ if isinstance(left, PointCutExpressionNode) and isinstance(right, PointCutExpressionNode): self.left = left self.right = right else: raise InvalidPointCutExpressionError("Invalid type used in a PointCut formula.") def expressionUses(self, nodeType): """Confirms if a certain type of node is used in the expression | *Args:* | nodeType: The type of the node whose existence is to be confirmed | *Returns:* | boolean - Whether or not the node exists in the formula """ if isinstance(self, nodeType) or isinstance(self.left, nodeType) or isinstance(self.right, nodeType): return True else: leftresult = False rightresult = False try: leftresult = self.left.expressionUses(nodeType) except: pass try: rightresult = self.right.expressionUses(nodeType) except: pass return leftresult or rightresult class PointCutExpressionNot(PointCutExpressionOperator): """A PointCutExpressionOperator which is a Not A special case, only uses one child, acts as the inverse operator """ def __init__(self, pointcutexpression): """Constructs a new PointCutExprresionNot | *Args:* | pointcutexpression - The expression to be negated """ self.right = pointcutexpression def match(self, part, within=None): """see PointCutExpressionNode definition""" return not self.right.match(part, within) class PointCutExpressionOr(PointCutExpressionOperator): """A PointCutExpressionOperator which is an Or""" def match(self, part, within=None): """see PointCutExpressionNode definition""" return self.left.match(part) or self.right.match(part) class PointCutExpressionAnd(PointCutExpressionOperator): """A PointCutExpressionOperator which is an And""" def match(self, part): """see PointCutExpressionNode definition""" return self.left.match(part) and self.right.match(part) class PointCutExpressionConcatenate(PointCutExpressionOperator): """A PointCutExpressionOperator which is an Concatenation""" def numberOfMatchingParts(self, part): """see PointCutExpressionNode definition This child overrides it, since a concatenation operator is a node in the expression at which more than one part can be matched. """ if self.match(part): return self.left.numberOfMatchingParts(part.getBeforePart()) + self.right.numberOfMatchingParts(part) else: return 0 def match(self, part): """see PointCutExpressionNode definition""" try: return self.left.match(part.getBeforePart()) and self.right.match(part) except: return False def checkBaseClassesMatch(bases, typename): """Recursively check if the name of the types in bases (or parents) are equal to typename | *Args:* | bases - A tuple of types | typename : str - A name of a type | *Returns:* | True if any of the names of types in bases or any of their parent bases equals typename, | False otherwise """ for baseClass in bases: if (typename == baseClass.__name__): return True else: if checkBaseClassesMatch(baseClass.__bases__, typename): return True class PartSignatureElement(object): """A building block of a Part Signature | *Attributes:* | qualifier : ANY / SUBCLASS / CLASSONLY | Whether the element should match precisely, all subclasses or uses a wildcard | element : str - The string of the element (without a qualifier) | inverse : boolean - Whether the element has been negated """ ANY = 1 SUBCLASS = 2 CLASSONLY = 3 def __init__(self, signature): """Constructs a new PartSignatureElement | Analyzes signature and sets internal attributes | *Args:* | signature - the part of the Part signature for this element """ self.inverse = False self.qualifier = None self.element = '' if signature[0] == '!': self.inverse = True signature = signature[1:] if signature[-1] == '*': self.qualifier = PartSignatureElement.ANY self.element = signature[:-1] elif signature[-1] == '+': self.qualifier = PartSignatureElement.SUBCLASS self.element = signature[:-1] else: self.qualifier = PartSignatureElement.CLASSONLY self.element = signature def match(self, obj): """see PointCutExpressionNode definition""" if self.inverse: return not self.__match(obj) else: return self.__match(obj) def __match(self, obj): """internal match method, matching without inverse""" objectName = obj.__class__.__name__ if (isinstance(obj, str)): objectName = obj if (inspect.isclass(obj)): objectName = obj.__name__ if ((self.qualifier == self.CLASSONLY) or (self.qualifier == self.SUBCLASS)) and (objectName == self.element): return True if (self.qualifier == self.ANY) and (objectName.startswith(self.element)): return True if (self.qualifier == self.SUBCLASS): if (inspect.isclass(obj)): return checkBaseClassesMatch(obj.__bases__, self.element) else: return checkBaseClassesMatch(obj.__class__.__bases__, self.element) return False class MoleculeSignatureElement(PartSignatureElement): """A PartSignatureElement that is a Molecule Signature | Overloads some methods, since MoleculeSignature is used by the user for | Molecule Type Advice - unlike PartSignatureElement, which is internal """ def __init__(self, signature): """Constructs a new MoleculeSignature | *Args:* | signature : str - The string signature to be cast to a MoleculeSignature | *Raises:* | InvalidSignatureError - If signature does not adhere to the format """ signatureRE = re.compile('!?([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?|\*)') try: if not signatureRE.match(signature).span() == (0, len(signature)): raise InvalidSignatureError() except: raise InvalidSignatureError() return super(MoleculeSignatureElement, self).__init__(signature) def match(self, obj): """see PointCutExpressionNode definition""" if self.qualifier == self.ANY and obj == None: if self.inverse: return False return True return super(MoleculeSignatureElement, self).match(obj) class MoleculeSignature(): """A MoleculeSignature, used for Type Advice of Molecules | *Attributes:* | namespace : [PartSignatureElement] - List of signature parts of the signature | molecule : MoleculeSignatureElement - The "part" part of the signature """ def __init__(self, signature): """Constructs a new PartSignature | Analyzes signature and sets internal attributes | *Args:* | signature : str - The string signature to be cast to a PartSignature | *Raises:* | InvalidSignatureError - If signature does not adhere to the format """ self.namespace = [] self.molecule = None # should be of format: Circuit.Part(Molecule)" (Molecule) is optional# typeErrorMessage = "signature must be of type String and adhere to PointCut / PartSignature Format" if not isinstance(signature, str): raise InvalidSignatureError(typeErrorMessage) # using a regular expression to make sure the signature is of a valid format signatureRE = re.compile( '(!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)\.)+!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)') # regular expression has to match entire length of string try: if not signatureRE.match(signature).span() == (0, len(signature)): raise InvalidSignatureError(typeErrorMessage) except: raise InvalidSignatureError(typeErrorMessage) # split signature into components signaturePartRE = re.compile('!?[a-zA-Z_][a-zA-Z0-9_]*[\+\*]?|\*') splitSignature = signaturePartRE.findall(signature) numOfCircuitElements = len(splitSignature) - 1; self.molecule = MoleculeSignatureElement(splitSignature[numOfCircuitElements]) # #Circuit Part # self.namespace = PartSignatureElement(splitSignature[0]) # Part ... Part for i in range(0, numOfCircuitElements): self.namespace.append(PartSignatureElement(splitSignature[i])) def match(self, molecule): """see PointCutExpressionNode definition""" if not isinstance(molecule, Molecule): raise MoleculeValueError("Molecule to match must be instance of type Molecule") result = self.molecule.match(molecule) and self.matchNamespaces(self.namespace, molecule.scope) return result class PartSignature(PointCutExpressionNode): """A PartSignature, used in PointCut expressions or directly for Type Advice | *Attributes:* | namespace : [PartSignatureElement] - List of signature parts of the signature | part : PartSignatureElement - The "part" part of the signature | molcule : PartSignatureElement - The molecule part of the signature | nomolecule : Boolean - | If the PartSignature explicitly should not match parts with molecules """ def __init__(self, signature): """Constructs a new PartSignature | Analyzes signature and sets internal attributes | *Args:* | signature : str - The string signature to be cast to a PartSignature | *Raises:* | InvalidSignatureError - If signature does not adhere to the format """ self.namespace = [] self.part = None self.molecule = None self.nomolecule = False # should be of format: Circuit.Part(Molecule)" (Molecule) is optional# typeErrorMessage = "signature must be of type String and adhere to PointCut / PartSignature Format" if not isinstance(signature, str): raise InvalidSignatureError(typeErrorMessage) # using a regular expression to make sure the signature is of a valid format signatureRE = re.compile( '(!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)\.)+!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)(\(!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)?\))?') # regular expression has to match entire length of string try: if not signatureRE.match(signature).span() == (0, len(signature)): raise InvalidSignatureError(typeErrorMessage) except: raise InvalidSignatureError(typeErrorMessage) # split signature into components signaturePartRE = re.compile('!?[a-zA-Z_][a-zA-Z0-9_]*[\+\*]?|\*') splitSignature = signaturePartRE.findall(signature) numOfCircuitElements = len(splitSignature) - 1; signatureMoleculePartRE = re.compile('\(!?(([a-zA-Z_][a-zA-Z0-9_]*[\+\*]?)|\*)?\)') moleculePartMatch = signatureMoleculePartRE.search(signature) if moleculePartMatch != None: moleculePart = moleculePartMatch.group(0) if len(moleculePart) == 2: self.nomolecule = True else: numOfCircuitElements -= 1 self.molecule = MoleculeSignatureElement(moleculePart[1:-1]) self.nomolecule = False else: self.nomolecule = False self.molecule = MoleculeSignatureElement('*') self.part = PartSignatureElement(splitSignature[numOfCircuitElements]) # #Circuit Part # self.namespace = PartSignatureElement(splitSignature[0]) # Part ... Part for i in range(0, numOfCircuitElements): self.namespace.append(PartSignatureElement(splitSignature[i])) def match(self, part): """see PointCutExpressionNode definition""" if not isinstance(part, Part): raise PartValueError("Part to match must be instance of type Part") result = self.part.match(part) and self.matchNamespaces(self.namespace, part.additionStack) # or scope if not self.nomolecule: # I.E. THERE IS A MOLECULE # this needs to be refined / TODO if len(part.precompileMoleculesAfter) == 0 and len(part.precompileMoleculesBefore) == 0: if self.molecule.qualifier == self.molecule.ANY and self.molecule.element == '': result = result and True else: result = result and False for mol in part.precompileMoleculesAfter: result = result and self.molecule.match(mol) for mol in part.precompileMoleculesBefore: result = result and self.molecule.match(mol) if self.nomolecule: if len(part.getBeforeNodes(Molecule)) != 0 or len(part.getAfterNodes(Molecule)) != 0 or \ len(part.precompileMoleculesAfter) != 0 or len(part.precompileMoleculesBefore) != 0: result = result and False # todo this means we could also do more than one molecule, e.g. Promoter(AB || A) or bool and... return result class PointCut(object): """A PointCut to select Join Points in the genetic parts execution flow | *Attributes:* | operator : BEFORE / AFTER / REPLACE | - The operator for this PointCut | signature : PartSignature """ BEFORE = 11 AFTER = 22 REPLACE = 33 def __init__(self, signature, operator): """Construct a new PointCut | *Args:* | signature - A PointCutSignature or a string that will be cast to PointCutSignature | operator - The operator """ self.operator = None self.signature = None if isinstance(signature, PointCutExpressionNode): self.signature = signature else: self.signature = PartSignature(signature) self.checkAndSetOperator(operator) def match(self, part): """see PointCutExpressionNode definition""" return self.signature.match(part) def checkAndSetOperator(self, operator): """Set the internal operator attribute, if the parameter is a valid operator | *Args:* | operator - The operator to be confirmed | *Raises:* | InvalidPointCutOperatorError - if the operator is invalid | (can be dependent on the signature) """ if (operator == self.BEFORE) or (operator == self.AFTER) or (operator == self.REPLACE): self.operator = operator if (operator == self.BEFORE and isinstance(self.signature, PointCutExpressionOperator) and self.signature.expressionUses( PointCutExpressionConcatenate)): raise InvalidPointCutOperatorError( 'PointCut Operator can not be BEFORE if PartSignature uses concatenation.') else: raise InvalidPointCutOperatorError("operator must be of type PointCut.BEFORE / AFTER / REPLACE") class PointCutContext(object): """Container for context at a PointCut | *Attributes:* | within - A stack of the circuits / aspects that within which the PointCut was matched | part - The part matched by the PointCut""" def isWithin(self, obj): """Checks if the parameter (a circuit or aspect) is on the within stack | *Args:* | obj : Circuit / Aspect - The object that is to be found on the stack | *Returns:* | Boolean - true if obj is on the within stack """ return self.__isWithinRecursive(obj, len(self.within)) class Advice(object): """Container for Advice | *Attributes:* | precedence : int - High precedence advice have execution priority over low precedence | - MINPRECEDENCE <= precedence <= MAXPRECEDENCE is the valid range | pointcut : PointCut | adviceMethod : method - The method to be executed at the advice | - must have 2 parameters: self and PointCutContext """ MINPRECEDENCE = 0 MAXPRECEDENCE = 100 def __init__(self, pointcut, adviceMethod, precedence=MINPRECEDENCE): """Constructs a new Advice object, setting internal state | *Args:* | pointcut - The PointCut to be set | adviceMethod - The adviceMethod to be set | precedence - The precedence to be set | *Raises:* | InvalidPointCutError | InvalidAdviceMethodError - If argument is not a method or takes wrong | number of parameters (must take self and PointCutContext object) | PrecedenceOutOfRangeError - If precedence > MAXPRECEDENCE or | precedence < MINPRECEDENCE """ self.pointcut = None self.adviceMethod = None self.precedence = self.MINPRECEDENCE if not isinstance(pointcut, PointCut): raise InvalidPointCutError("pointcut must be of type PointCut") self.pointcut = pointcut if not inspect.ismethod(adviceMethod) or len(inspect.getargspec(adviceMethod)[0]) != 2: raise InvalidAdviceMethodError("adviceMethod must be a method with 2 parameters (self, PointCutContext)") self.adviceMethod = adviceMethod if precedence < (self.MINPRECEDENCE) or (precedence > self.MAXPRECEDENCE): raise PrecedenceOutOfRangeError( "Advice Precedence must be between " + str(self.MINPRECEDENCE) + " and " + str(self.MAXPRECEDENCE)) self.precedence = precedence class TypeAdvice(object): """Container for TypeAdvice | *Attributes:* | signature : PartSignature or MoleculeSignature | typeaddition : method or attribute to be added to the type | name : The name the new typeaddition should have in the new type | aspect : Aspect which declares this TypeAdvice """ def __init__(self, signature, typeaddition, name, aspect): """Constructs a new TypeAdvice | *Args:* | signature - PartSignature / MoleculeSignature to be set | typeaddition - attribute to be set | name : str - attribute to be set | aspect : Aspect - attribute to be set | *Raises:* | InvalidSignatureError - | If signature not instance of PartSignature or MoleculeSignature | InvalidSymbolNameError - | If name is not a valid name for a symbol """ self.signature = None self.typeaddition = None self.aspect = None self.name = '' if isinstance(signature, PartSignature) or isinstance(signature, MoleculeSignature): self.signature = signature; else: raise InvalidSignatureError( 'Signature parameter for TypeAdvice must be of type PartSignature or MoleculeSignature') self.typeaddition = typeaddition; self.aspect = aspect validnameregex = re.compile('[a-zA-Z_][a-zA-Z0-9_]*') if not isinstance(name, str) or not validnameregex.match(name) or not validnameregex.match(name).span() == ( 0, len(name)): raise InvalidSymbolNameError('name is not a valid symbold name') self.name = name def isPartAdvice(self): """Returns True if TypeAdvice is for Part, False otherwise""" return isinstance(self.signature, PartSignature) def isMoleculeAdvice(self): """Returns True if TypeAdvice is for Molecule, False otherwise""" return isinstance(self.signature, MoleculeSignature) class Aspect(object): """Abstract class for an Aspect | Will generally be used to represent a design's cross-cutting concerns | *Notes:* | Any child must implement mainAspect method | *Attributes* | weaver: Weaver | The weaver which compiles the aspect | adviceList - A list of all advice this aspect declares | typeAdviceList - A list of all type advice this aspect declares | weaverOutputList - A list of all type advice for the WeaverOutput """ __metaclass__ = ABCMeta def importMolecule(self, molecule): """Import a particular molecule from the outer compartment to this compartment | *Args:* | molecule """ self.weaver.importMolecule(self, molecule) def exportMolecule(self, molecule): """Export a particular molecule from this compartment to the outer compartment | *Args:* | molecule """ self.weaver.exportMolecule(self, molecule) def createMolecule(self, molecule): """Declare that a particular molecule exists in the current scope | *Args:* | molecule """ self.weaver.createMolecule(self, molecule) def addCircuit(self, circuit): """Add a circuit as a sub-compartment in the current compartment | *Args:* | circuit: Circuit to be added as a sub-compartment """ self.weaver.addCircuit(self, circuit) def addPart(self, part): """Used to add parts to the design by passing them on to the AOSB Weaver | *Args:* | part: The part to be added to the circuit """ self.weaver.addPart(self, part) def reactionFrom(self, *molecules): """Used to add a reaction to the aspect by passing the reactions left side on to the AOSB Weaver | *Args:* | *molecules: a list of one or more molecules on the lhs of the reaction """ return self.weaver.reactionFrom(self, molecules) def reactionTo(self, *molecules): """Used to add a reaction to the aspect by passing the reactions right side on to the AOSB Weaver | *Args:* | *molecules: a list of one or more molecules on the rhs of the reaction """ return self.weaver.reactionTo(self, molecules) return self.weaver.reactionTo(self, molecules) def setWeaver(self, weaver): """Internal - Should not be used outside of the framework. Sets the Weaver Object of this Circuit | *Args:* | weaver: A weaver object that will be used """ self.weaver = weaver def addAdvice(self, pointcut, adviceMethod, precedence=Advice.MINPRECEDENCE): """Declare a new advice in the aspect | *Args:* | pointcut - The pointcut for the advice | adviceMethod - The method to be executed at the pointcut | should be a method bound to this aspect, with second parameter | expecting a PointCutContext object | precedence : integer (optional) - set precedence of advice, | see notes on Advice.precedence | *Notes:* | addAdvice constructs an Advice object. Further information thus | can be found there. """ self.adviceList.append(Advice(pointcut, adviceMethod, precedence)) def addTypeAdvice(self, signature, typeaddition, name): """Declare a type advice in the aspect | *Args:* | signature - The signature for the type advice | typeaddition - The attribute / method to be added to the type | name: str - The name for the typeaddition in the new type | *Notes:* | addTypeAdvice constructs an TypeAdvice object. | Further information thus can be found there. """ self.typeAdviceList.append(TypeAdvice(signature, typeaddition, name, self)) def addWeaverOutput(self, outputmethod): """Declare a new weaver output target | *Args:* | outputMethod - The method to be added to the WeaverOutput | *Raises:* | InvalidWeaverOutputMethodError - | If outputmethod is not a method or has wrong number of parameters | (needs to accept self and a WeaverOutput reference) """ if not inspect.ismethod(outputmethod) or len(inspect.getargspec(outputmethod)[0]) != 2: raise InvalidWeaverOutputMethodError("outputmethod must be a method with 2 parameters (self, WeaverOutput)") self.weaverOutputList.append(outputmethod) def getAdviceList(self): """Returns adviceList""" return self.adviceList def getTypeAdviceList(self): """Returns typeAdviceList""" return self.typeAdviceList def getWeaverOutputList(self): """Returns weaverOutputList""" return self.weaverOutputList @abstractmethod def mainAspect(self): """Entry point for an aspect, analogous to "main" in a program | Needs to be implemented by any sub class. | mainAspect will be called by the AOSB Weaver.""" pass class Weaver(object): """The "compiler" that weaves core concerns (circuits) and cross-cutting concerns (aspects) and creates a woven execution flow of parts | *Attributes:* | partList - The current list of parts | moleculeList - The current list of molecules | beforeAndReplaceAdviceList - List of all before and replace advice to be woven | afterAdviceList - List of all after advice to be woven | partTypeAdviceList - List of all part type advice | moleculeTypeAdviceList - List of all molecule type advice | circuit - The main circuit | aspects - The list of all aspects to be woven | weaverOutput : WeaverOutput - The "compiled" result """ class WeaverOutput(object): """Container for the woven result of the Weaver | *Attributes:* | circuitName - the name of the circuit that was woven | partList - finished ordered list of parts in the design | moleculeList - list of all molecules in the design | subcircuitList - list of all subcircuits (itself weaver outputs) (??) | """ def __init__(self, circuit, *aspects): """Sets of the weaver and compiles the design | *Attributes:* | circuit : Circuit - The main circuit to be set | *aspects : Aspect - list of aspects to be set | *Raises:* | CircuitValueError - If circuit is invalid | AspectValueError - If any aspect is invalid""" self.beforeAndReplaceAdviceList = [] self.afterAdviceList = [] self.partTypeAdviceList = [] self.moleculeTypeAdviceList = [] self.circuit = None self.aspects = [] self.withinStack = [] self.weaverOutput = None if not issubclass(circuit, Circuit) and not isinstance(circuit, Circuit): raise CircuitValueError("circuit must be a class or instance of type Circuit.") if inspect.isclass(circuit): try: self.circuit = circuit() except: raise CircuitValueError("Can not initialize Circuit " + circuit + " without parameters") else: self.circuit = circuit self.circuit.setWeaver(self) for aspect in aspects: if not issubclass(aspect, Aspect) and not isinstance(aspect, Aspect): raise AspectValueError("all aspects must be classes or instances of type Aspect.") if inspect.isclass(aspect): try: self.aspects.append(aspect()) except: raise AspectValueError("Can not initialize Aspect " + aspect + " without parameters") else: self.aspects.append(aspect) self.weaverOutput = self.WeaverOutput(self.circuit.__class__.__name__) self.readAspectsConstructAdviceLists() self.sortAdviceList() # weaving is kicked off here self.currentWeaverOutput = self.weaverOutput self.circuit.mainCircuit() self.constructMoleculeListAndAddTypeAdvice() def sortAdviceList(self): """Internal - sorts the advice lists by precedence""" self.beforeAndReplaceAdviceList = sorted(self.beforeAndReplaceAdviceList, key=sortKey, reverse=True) self.afterAdviceList = sorted(self.afterAdviceList, key=sortKey) ''' """Internal - constructs list of Molecules in design and adds their type advice""" # construct moleculeList - this should probably be done during weaving? for part in self.partList: if part.moleculeConnection: if not part.moleculeConnection in self.moleculeList: self.moleculeList.append(part.moleculeConnection) # add type advice to molecules for molecule in self.moleculeList: for typeAdvice in self.moleculeTypeAdviceList: if typeAdvice.signature.match(molecule): setattr(molecule,typeAdvice.name,typeAdvice.typeaddition)''' def readAspectsConstructAdviceLists(self): """Internal - initializes aspects and constructs all advice lists""" for aspect in self.aspects: aspect.setWeaver(self) aspect.mainAspect() for advice in aspect.getAdviceList(): if advice.pointcut.operator == PointCut.AFTER: self.afterAdviceList.append(advice) else: self.beforeAndReplaceAdviceList.append(advice) for typeAdvice in aspect.getTypeAdviceList(): if typeAdvice.isPartAdvice(): self.partTypeAdviceList.append(typeAdvice) else: self.moleculeTypeAdviceList.append(typeAdvice) weaverOutput = self.weaverOutput # to make weaverOutput visible to closure scope if len(aspect.getWeaverOutputList()) > 0: # this aspect wants to add a new weaver output target # TODO check if a similarly named output target already exists and raise # useful exception (containing name of clashed method, name of advice) for outputMethod in aspect.getWeaverOutputList(): setattr(self.weaverOutput, outputMethod.__name__, types.MethodType(outputMethodWrapper(outputMethod), aspect)) # todo clean up, possible split lookup and creation def addElemTypeAdvice(self, elem): """Internal - adds type advice to a part""" list = self.partTypeAdviceList if isinstance(elem, Molecule): list = self.moleculeTypeAdviceList for typeAdvice in list: if typeAdvice.signature.match(elem): # TODO check for name clashes... if inspect.ismethod(typeAdvice.typeaddition): setattr(elem, typeAdvice.name, types.MethodType(adviceMethodWrapper(typeAdvice.typeaddition), typeAdvice.aspect)) else: setattr(elem, typeAdvice.name, typeAdvice.typeaddition) def runBeforeAndReplaceAdvice(self, callingObject, part): """Internal - runs Before and Replace Advice of a part | *Args:* | part - The part for which the advice matches | callingObject - the circuit or advice which added the part | *Returns:* | "continue" | True - If part should still be added | False - If part has been replaced and remaining after advice executed """ for advice in self.beforeAndReplaceAdviceList: if len(self.currentWeaverOutput.partList) > 0: part.setBeforePart(self.currentWeaverOutput.partList[-1]) if advice.pointcut.match(part): if (advice.pointcut.operator == PointCut.REPLACE): numberOfMatchingParts = advice.pointcut.signature.numberOfMatchingParts(part) while numberOfMatchingParts > 1: self.currentWeaverOutput.partList.pop() numberOfMatchingParts -= 1 # Advice should return False if not replaced, True if Replaced AdviceResult = advice.adviceMethod(PointCutContext(self.withinStack, part)) self.runAfterAdvice(callingObject, part, advice.precedence) return not AdviceResult advice.adviceMethod(PointCutContext(self.withinStack, part)) return True def runAfterAdvice(self, callingObject, part, precedence=Advice.MINPRECEDENCE): """Internal - runs After Advice of a part | *Args:* | part - The part for which the advice matches | callingObject - the circuit or advice which added the part | precedence - Only run advice with a precedence greater or equal this | Used if replacement advice has been executed """ # after advice are ordered by ascending precedence # the one with the lowest priority is executed #if precedenceLevel is set by a replacement advice, we will only #execute those advice with >= precedence for advice in self.afterAdviceList: if (advice.precedence >= precedence) and (advice.pointcut.match(part)): advice.adviceMethod(PointCutContext(self.withinStack, part)) class MoleculeReactionTo: """Class to represent the right hand side of a molecule reaction """ class MoleculeReactionFrom: """Class to represent the left hand side of a molecule reaction and enable convenient syntax by overloading the >> (rshift) operator | *Attributes:* | before : [ExecutionNode] | A list of ExecutionNode objects that precede this node | after : [ExeuctionNode] | A list of ExecutionNode objects that follow this node | scope : class(WeaverOutput) | What woven system is this node part of | additionStack : [Circuit or Aspect] | stack of Aspects and Circuits which are executing to add | this node """ def reactionFrom(self, callingObject, molecules): """Used to add the left hand side of a molecule reaction to the design, called by either a circuit or aspect | *Args:* | callingObject - the circuit or aspect calling this | molecules - the list of molecules on the lhs of the reaction """ return self.MoleculeReactionFrom(self, callingObject, molecules) def reactionTo(self, callingObject, molecules): """Used to add the right hand side of a molecule reaction to the design, called by either a circuit or aspect | *Args:* | callingObject - the circuit or aspect calling this | molecules - the list of molecules on the rhs of the reaction """ return self.MoleculeReactionTo(molecules) def importMolecule(self, callingObject, molecule): """Indicates that a molecule should be "imported" by the current compartment from the outer compartment | *Args:* | callingObject - the circuit or aspect calling this | molecule - the molecule to be imported """ # means that we are getting a molecule from the next larger scope # todo check that we are not in outest scope # todo rethink - why should getMOlecule... take an object?? it's creating them afterall... should take class name? # todo no? maybe? importedMoleculeParent = self.getMoleculeObject(self.currentWeaverOutput.parentCircuit, molecule) # case 1: molecule already exists in scope and needs to be merged for mol in self.currentWeaverOutput.moleculeList: if isinstance(mol, molecule): mol.before.append(importedMoleculeParent) importedMoleculeParent.after.append(mol) return # otherwise: #case 2: molecule doesn't exist yet self.createMolecule(callingObject, molecule) # now we can add it via case 1: self.importMolecule(callingObject, molecule) def exportMolecule(self, callingObject, molecule): """Indicates that a molecule should be "exported" by the current compartment to the outer compartment | *Args:* | callingObject - the circuit or aspect calling this | molecule - the molecule to be exported """ # todo error checking # e.g. if molecule already exists (but possible differnet instances?? warn of clash? # if parent doesn't exist exportMolecule = self.getMoleculeObject(self.currentWeaverOutput, molecule) # case 1: the molecule already exists in the outer scope and needs to be added to its graph for mol in self.currentWeaverOutput.parentCircuit.moleculeList: if isinstance(mol, molecule): mol.before.append(exportMolecule) exportMolecule.after.append(mol) return # otherwise: #case 2: molecule doens't exist yet in outer scope self.getMoleculeObject(self.currentWeaverOutput.parentCircuit, molecule, True) self.exportMolecule(callingObject, molecule) def createMolecule(self, callingObject, molecule): """Indicates that a molecule is potentially present in the current compartment, i.e. it does not necessarily need to be created by a Coding Region, by an import, etc. | *Args:* | callingObject - the circuit or aspect calling this | molecule - the molecule to be present """ self.getMoleculeObject(self.currentWeaverOutput, molecule, True) # todo, if create is set to true, should actually report an error if molecule already exists. def addCircuit(self, callingObject, circuit): """Called by circuit or aspect to add a circuit as a sub-compartment in the current compartment | *Args:* | callingObject - the circuit or aspect calling this | circuit - The circuit to be added as a sub-compartment """ # todo check circuit circuitObject = circuit() newCircuit = self.WeaverOutput(circuitObject.__class__.__name__, self.currentWeaverOutput) self.currentWeaverOutput.wovenCircuitList.append(newCircuit) self.currentWeaverOutput = newCircuit # new sub circuit is set up. no we'll weave it circuitObject.setWeaver(self) circuitObject.mainCircuit() self.currentWeaverOutput = self.currentWeaverOutput.parentCircuit def addPart(self, callingObject, part): """Called by circuit or aspect to add a part in the execution flow | *Args:* | callingObject - the circuit or aspect calling this | part - The part supposed to be added """ part = checkIfTypeReturnInstance(part) # part.namespace = self.currentWeaverOutput part.scope = self.currentWeaverOutput self.withinStack.append(callingObject) part.additionStack = self.withinStack[:] continueAddingPart = self.runBeforeAndReplaceAdvice(callingObject, part) # before adding the part, add any type advice if continueAddingPart: part.weave(self) # TODO clean this up, the namespace issue... self.addElemTypeAdvice(part) # If the part is a composite, we unpack it here. otherwise we finally add the part if isinstance(part, Circuit) == False: # add before / after information if len(self.currentWeaverOutput.partList) > 0: self.currentWeaverOutput.partList[-1].setAfterPart(part) part.setBeforePart(self.currentWeaverOutput.partList[-1]) self.currentWeaverOutput.partList.append(part) else: # the circuit is not initialized with a weaver part.setWeaver(self) part.mainCircuit() self.runAfterAdvice(callingObject, part) self.withinStack.pop() def output(self): """Returns the weaverOutput Element""" return self.weaverOutput class MoleculeValueError(ValueError): """Molecule was expected, but something else was given""" pass class PartInitializationError(Exception): """Part was expected, but something else was given""" class PartValueError(ValueError): """Part was expected, but something else was given""" class InvalidSymbolNameError(ValueError): """A symbol name (string) was not correctly formatted""" pass class SymbolExistsWarning(UserWarning): """A Part or Molecule declaration uses an existing name""" pass class InvalidSignatureError(ValueError): """A signature (PointCut / Part / Molecule) is incorrectly formatted or typed""" pass class InvalidPointCutExpressionError(ValueError): """There is an error in a Point Cut expression""" pass class InvalidPointCutOperatorError(ValueError): """An unknown or illegal operator was used for the point cut""" pass class InvalidPointCutError(ValueError): """object of type PointCut expected, but something else given""" pass class InvalidAdviceMethodError(ValueError): """method with 2 parameters expected, but something else given""" pass class InvalidWeaverOutputMethodError(ValueError): """ with 2 parameters expected, but something else given""" pass class PrecedenceOutOfRangeError(ValueError): """An unknown or illegal operator was used for the point cut""" pass class AspectValueError(ValueError): """An Aspect class was expected, but something else given""" class CircuitValueError(ValueError): """A Circuit class was expected, but something else given"""
[ 6738, 450, 66, 1330, 9738, 48526, 11, 12531, 24396, 198, 11748, 10104, 198, 11748, 14601, 198, 11748, 302, 198, 11748, 3858, 628, 198, 4871, 37497, 19667, 7, 15252, 2599, 198, 220, 220, 220, 37227, 23839, 3115, 4871, 329, 477, 13760, 287, 281, 9706, 5202, 11, 198, 220, 220, 220, 304, 13, 70, 13, 3354, 11, 17745, 628, 220, 220, 220, 22349, 389, 262, 22037, 2569, 7729, 287, 262, 8513, 10349, 9706, 5202, 628, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 878, 1058, 685, 23002, 1009, 19667, 60, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 317, 1351, 286, 37497, 19667, 5563, 326, 8555, 68, 428, 10139, 198, 220, 220, 220, 930, 220, 220, 220, 220, 706, 1058, 685, 3109, 68, 8110, 19667, 60, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 317, 1351, 286, 37497, 19667, 5563, 326, 1061, 428, 10139, 198, 220, 220, 220, 930, 220, 220, 220, 220, 8354, 1058, 1398, 7, 1135, 8770, 26410, 8, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1867, 36932, 1080, 318, 428, 10139, 636, 286, 198, 220, 220, 220, 930, 220, 220, 220, 220, 3090, 25896, 1058, 685, 31560, 5013, 393, 1081, 806, 60, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 8931, 286, 1081, 38046, 290, 7672, 15379, 543, 389, 23710, 284, 751, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 428, 10139, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 220, 220, 220, 825, 651, 8421, 45, 4147, 7, 944, 11, 8106, 6030, 28, 15252, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 477, 13760, 3393, 878, 428, 10139, 287, 262, 9706, 5202, 11, 351, 262, 3038, 284, 8106, 416, 10139, 2099, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 8106, 6030, 25, 7066, 1010, 262, 1351, 284, 691, 2291, 13760, 286, 257, 1813, 357, 16668, 8, 4906, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 9706, 19667, 287, 2116, 13, 19052, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 18558, 1009, 19667, 11, 8106, 6030, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 33295, 7, 18558, 1009, 19667, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 825, 651, 3260, 45, 4147, 7, 944, 11, 8106, 6030, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 477, 13760, 3393, 706, 428, 10139, 287, 262, 9706, 5202, 11, 351, 262, 3038, 284, 8106, 416, 10139, 2099, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 8106, 6030, 25, 7066, 1010, 262, 1351, 284, 691, 2291, 13760, 286, 257, 1813, 357, 16668, 8, 4906, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 9706, 19667, 287, 2116, 13, 8499, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 18558, 1009, 19667, 11, 8106, 6030, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 33295, 7, 18558, 1009, 19667, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 198, 2, 22349, 389, 1464, 973, 355, 5563, 198, 4871, 2142, 7, 23002, 1009, 19667, 2599, 198, 220, 220, 220, 37227, 23839, 3115, 4871, 329, 477, 22349, 198, 220, 220, 220, 220, 198, 220, 220, 220, 22349, 389, 262, 22037, 2569, 7729, 287, 262, 8513, 10349, 9706, 5202, 11, 198, 220, 220, 220, 304, 13, 70, 13, 10335, 26008, 11, 371, 4462, 82, 11, 15527, 2024, 11, 327, 7656, 47089, 198, 220, 220, 220, 1119, 16955, 511, 11244, 355, 13760, 287, 262, 9706, 5202, 422, 511, 198, 220, 220, 220, 2208, 4871, 37497, 19667, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 220, 220, 220, 825, 900, 8421, 7841, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44402, 82, 257, 636, 878, 428, 636, 287, 262, 9706, 5202, 13, 1002, 612, 338, 1541, 257, 636, 287, 2166, 286, 428, 636, 11, 198, 220, 220, 220, 220, 220, 220, 220, 262, 636, 284, 307, 18846, 481, 307, 18846, 1022, 262, 734, 3354, 27606, 5884, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 25, 262, 2142, 284, 307, 18846, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 7841, 796, 2116, 13, 1136, 8421, 7841, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1468, 7841, 14512, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 13, 28956, 7, 727, 7841, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 13, 33295, 7, 3911, 8, 628, 220, 220, 220, 825, 900, 3260, 7841, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 44402, 82, 257, 636, 706, 428, 636, 287, 262, 9706, 5202, 13, 1002, 612, 338, 1541, 257, 636, 2157, 428, 636, 11, 198, 220, 220, 220, 220, 220, 220, 220, 262, 636, 284, 307, 18846, 481, 307, 18846, 1022, 262, 734, 3354, 27606, 5884, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 25, 262, 2142, 284, 307, 18846, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 7841, 796, 2116, 13, 1136, 3260, 7841, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1468, 7841, 14512, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 13, 28956, 7, 727, 7841, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 13, 33295, 7, 3911, 8, 628, 220, 220, 220, 825, 651, 8421, 7841, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 636, 655, 878, 428, 636, 287, 262, 9706, 5202, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 329, 9706, 19667, 287, 2116, 13, 19052, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 18558, 1009, 19667, 11, 2142, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 9706, 19667, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 825, 651, 3260, 7841, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 636, 655, 706, 428, 636, 287, 262, 9706, 5202, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 329, 9706, 19667, 287, 2116, 13, 8499, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 18558, 1009, 19667, 11, 2142, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 9706, 19667, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 825, 37982, 7, 944, 11, 356, 8770, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 2446, 973, 1141, 262, 44889, 1429, 25, 198, 220, 220, 220, 220, 220, 220, 220, 13585, 6392, 689, 27756, 8354, 10627, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 329, 878, 44, 349, 287, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 796, 356, 8770, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 29982, 11, 878, 44, 349, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 13, 33295, 7, 43132, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 13, 8499, 13, 33295, 7, 944, 8, 628, 220, 220, 220, 220, 220, 220, 220, 329, 706, 44, 349, 287, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 3260, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 796, 356, 8770, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 29982, 11, 706, 44, 349, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 13, 33295, 7, 43132, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 13, 19052, 13, 33295, 7, 944, 8, 628, 198, 4871, 25726, 23172, 7, 23002, 1009, 19667, 2599, 198, 220, 220, 220, 37227, 23839, 3115, 4871, 329, 477, 25726, 13930, 628, 220, 220, 220, 25726, 13930, 389, 262, 13760, 287, 262, 9706, 5202, 11, 329, 1672, 25, 198, 220, 220, 220, 12737, 25, 357, 44, 2305, 23172, 32, 10, 44, 2305, 23172, 33, 4613, 25726, 23172, 34, 828, 198, 220, 220, 220, 11059, 25, 327, 7656, 47371, 3784, 44, 2305, 23172, 32, 11, 198, 220, 220, 220, 44561, 25, 25726, 23172, 32, 4613, 3310, 377, 265, 67, 24129, 19543, 11, 198, 220, 220, 220, 25019, 4351, 25, 25726, 23172, 32, 357, 7293, 1823, 8, 4613, 25726, 23172, 32, 357, 30815, 3082, 1823, 8, 628, 220, 220, 220, 2312, 13760, 287, 262, 9706, 5202, 836, 470, 1612, 281, 6224, 286, 281, 5002, 11, 475, 2138, 198, 220, 220, 220, 6901, 262, 1321, 5202, 1626, 262, 1080, 13, 628, 220, 220, 220, 37227, 628, 198, 4871, 31702, 7, 44, 2305, 23172, 2599, 198, 220, 220, 220, 37227, 9487, 329, 25726, 13930, 326, 389, 1041, 660, 1040, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 10335, 19543, 7, 7841, 2599, 198, 220, 220, 220, 37227, 9487, 329, 22349, 326, 389, 10335, 26008, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 4757, 270, 8827, 24129, 19543, 7, 24129, 19543, 2599, 198, 220, 220, 220, 37227, 9487, 329, 10335, 26008, 326, 389, 4757, 270, 8827, 10335, 26008, 37811, 198, 220, 220, 220, 1208, 628, 198, 4299, 2198, 1532, 6030, 13615, 33384, 7, 79, 4733, 6030, 2599, 198, 220, 220, 220, 37227, 361, 262, 11507, 318, 257, 2099, 11, 1949, 284, 1441, 281, 4554, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1744, 6030, 532, 257, 11507, 543, 743, 307, 281, 4554, 393, 257, 2099, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2142, 24243, 1634, 12331, 532, 611, 262, 11507, 318, 257, 2099, 543, 460, 407, 307, 12006, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1052, 4554, 286, 262, 2099, 286, 1744, 6030, 198, 220, 220, 220, 220, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 79, 4733, 6030, 11, 2099, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1744, 6030, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 2142, 24243, 1634, 12331, 7, 2536, 7, 79, 4733, 6030, 8, 1343, 366, 460, 407, 307, 23224, 1231, 40117, 19570, 628, 220, 220, 220, 1441, 1744, 6030, 628, 198, 4299, 2198, 1870, 7248, 44, 2305, 23172, 7, 76, 2305, 23172, 2599, 198, 220, 220, 220, 37227, 42116, 611, 11507, 318, 257, 1398, 286, 2099, 25726, 23172, 290, 5860, 340, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 532, 317, 2785, 25726, 23172, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 25726, 23172, 11395, 532, 1002, 27756, 318, 407, 257, 1398, 286, 2099, 25726, 23172, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 317, 1398, 286, 2099, 25726, 23172, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 611, 10104, 13, 271, 4871, 7, 76, 2305, 23172, 8, 290, 1189, 549, 4871, 7, 76, 2305, 23172, 11, 25726, 23172, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 27756, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 25726, 23172, 11395, 12331, 7203, 76, 2305, 23172, 1276, 307, 257, 1398, 286, 357, 7266, 8, 4906, 25726, 23172, 4943, 628, 198, 4871, 36183, 24129, 19543, 7, 24129, 19543, 2599, 198, 220, 220, 220, 37227, 9487, 329, 10335, 26008, 326, 389, 36183, 10335, 26008, 37811, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 17153, 3886, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 32863, 876, 24129, 19543, 28407, 273, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17153, 3886, 25, 5621, 27756, 32048, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2208, 7, 32863, 876, 24129, 19543, 11, 2116, 737, 834, 15003, 834, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 13, 33295, 7, 9122, 1870, 7248, 44, 2305, 23172, 7, 27739, 3886, 4008, 628, 220, 220, 220, 825, 651, 8081, 4817, 3886, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 257, 1351, 286, 25726, 13930, 26379, 428, 10335, 19543, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2116, 13, 1136, 8421, 45, 4147, 7, 44, 2305, 23172, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 20274, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2073, 25, 407, 14102, 1865, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 628, 198, 198, 4871, 33733, 24129, 19543, 7, 24129, 19543, 2599, 198, 220, 220, 220, 37227, 9487, 329, 10335, 26008, 326, 389, 33733, 10335, 26008, 37811, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 17153, 3886, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 21604, 1800, 24129, 19543, 28407, 273, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17153, 3886, 25, 5621, 27756, 32048, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2208, 7, 21604, 1800, 24129, 19543, 11, 2116, 737, 834, 15003, 834, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 13, 33295, 7, 9122, 1870, 7248, 44, 2305, 23172, 7, 27739, 3886, 4008, 628, 220, 220, 220, 825, 651, 8081, 4817, 3886, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 257, 1351, 286, 25726, 13930, 26379, 428, 10335, 19543, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2116, 13, 1136, 8421, 45, 4147, 7, 44, 2305, 23172, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 20274, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2073, 25, 407, 14102, 1865, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 628, 198, 4871, 29481, 24129, 19543, 7, 24129, 19543, 2599, 198, 220, 220, 220, 37227, 9487, 329, 10335, 26008, 326, 389, 29481, 10335, 26008, 11, 1312, 13, 68, 13, 351, 1811, 1128, 11697, 1220, 44561, 10088, 5043, 628, 220, 220, 220, 588, 584, 17153, 10335, 26008, 357, 32863, 876, 24129, 19543, 11, 2947, 72, 425, 24129, 19543, 828, 663, 17199, 389, 9857, 416, 198, 220, 220, 220, 651, 8081, 4817, 3886, 22446, 12032, 11, 651, 5497, 1229, 364, 22784, 651, 6207, 601, 669, 22784, 290, 318, 5497, 48915, 7, 76, 2305, 23172, 828, 318, 6207, 44292, 7, 76, 2305, 23172, 8, 198, 220, 220, 220, 1577, 1321, 546, 262, 11244, 286, 262, 10335, 19543, 526, 15931, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 17153, 3886, 11, 24161, 12360, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 21604, 1800, 24129, 19543, 28407, 273, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17153, 3886, 25, 17635, 1351, 286, 24161, 25726, 13930, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 24161, 12360, 25, 28261, 286, 262, 1296, 1391, 44, 2305, 23172, 25, 41146, 5512, 810, 6407, 25, 1423, 7234, 11, 10352, 25, 1432, 601, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3424, 8081, 8927, 12360, 796, 23884, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2099, 7, 2301, 8927, 12360, 8, 318, 8633, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 2301, 8927, 12360, 1276, 307, 257, 22155, 287, 262, 1296, 286, 1391, 44, 2305, 23172, 25, 41146, 92, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 2208, 7, 21217, 10236, 24129, 19543, 11, 2116, 737, 834, 15003, 834, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 17153, 3886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 13, 33295, 7, 9122, 1870, 7248, 44, 2305, 23172, 7, 43132, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 1949, 4929, 1220, 5298, 6631, 611, 18605, 407, 287, 24161, 12360, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3424, 8081, 8927, 12360, 58, 43132, 60, 796, 24161, 12360, 58, 43132, 60, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2301, 8927, 12360, 796, 3424, 8081, 8927, 12360, 628, 220, 220, 220, 825, 651, 8081, 4817, 3886, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 257, 1351, 286, 25726, 13930, 26379, 428, 10335, 19543, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2116, 13, 1136, 8421, 45, 4147, 7, 44, 2305, 23172, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 20274, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2073, 25, 407, 14102, 1865, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 628, 220, 220, 220, 825, 651, 5497, 1229, 364, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 257, 1351, 286, 19888, 26379, 25726, 13930, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 17199, 796, 2116, 13, 1136, 8081, 4817, 3886, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1005, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 17199, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 2301, 8927, 12360, 58, 43132, 13, 834, 4871, 834, 60, 318, 6407, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1005, 13, 33295, 7, 43132, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1005, 628, 220, 220, 220, 825, 651, 6207, 601, 669, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 257, 1351, 286, 22533, 26379, 25726, 13930, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 17199, 796, 2116, 13, 1136, 8081, 4817, 3886, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1005, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 17199, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 2301, 8927, 12360, 58, 43132, 13, 834, 4871, 834, 60, 318, 10352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1005, 13, 33295, 7, 43132, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1005, 628, 198, 4871, 327, 7656, 47371, 7, 7841, 2599, 198, 220, 220, 220, 37227, 9487, 329, 3354, 326, 389, 327, 7656, 47089, 37811, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 12416, 1890, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 273, 329, 257, 327, 7656, 17718, 2142, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 12416, 1890, 25, 5621, 27756, 32048, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2208, 7, 34, 7656, 47371, 11, 2116, 737, 834, 15003, 834, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 5589, 576, 44, 2305, 13930, 3260, 13, 33295, 7, 9122, 1870, 7248, 44, 2305, 23172, 7, 40148, 1890, 4008, 628, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 1058, 318, 428, 3306, 30, 628, 220, 220, 220, 1303, 825, 11593, 12381, 834, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 2116, 13, 40148, 1890, 13, 19052, 13, 28956, 7, 944, 8, 628, 198, 198, 4871, 371, 4462, 7, 7841, 2599, 198, 220, 220, 220, 37227, 9487, 329, 3354, 326, 389, 23133, 418, 462, 38904, 50, 2737, 37811, 628, 198, 4871, 41830, 7, 7841, 2599, 198, 220, 220, 220, 37227, 9487, 329, 3354, 326, 389, 15527, 2024, 37811, 628, 198, 4871, 13588, 7, 7841, 2599, 198, 220, 220, 220, 37227, 23839, 1398, 329, 257, 8513, 636, 10349, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 2561, 4143, 307, 973, 284, 2380, 257, 1486, 338, 4755, 4786, 198, 220, 220, 220, 930, 12032, 11, 257, 10349, 460, 307, 973, 284, 2380, 24185, 3354, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 25, 29594, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 383, 356, 8770, 543, 552, 2915, 262, 10349, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 198, 220, 220, 220, 2488, 397, 8709, 24396, 198, 220, 220, 220, 825, 1388, 31560, 5013, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 30150, 966, 329, 257, 10349, 11, 34657, 284, 366, 12417, 1, 287, 257, 1430, 198, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 36557, 284, 307, 9177, 416, 597, 850, 1398, 13, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1388, 31560, 5013, 481, 307, 1444, 416, 262, 317, 2640, 33, 29594, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 825, 1330, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 20939, 257, 1948, 27756, 422, 262, 12076, 26247, 284, 428, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 11748, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 10784, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 43834, 257, 1948, 27756, 422, 428, 26247, 284, 262, 12076, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 39344, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 2251, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37835, 533, 326, 257, 1948, 27756, 7160, 287, 262, 1459, 8354, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 17953, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 751, 31560, 5013, 7, 944, 11, 10349, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 4550, 257, 10349, 355, 257, 850, 12, 5589, 1823, 287, 262, 1459, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 10349, 25, 13588, 284, 307, 2087, 355, 257, 850, 12, 5589, 1823, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 2860, 31560, 5013, 7, 944, 11, 10349, 8, 628, 220, 220, 220, 825, 751, 7841, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 3354, 284, 262, 10349, 416, 6427, 606, 319, 284, 262, 317, 2640, 33, 29594, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 25, 383, 636, 284, 307, 2087, 284, 262, 10349, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 2860, 7841, 7, 944, 11, 636, 8, 628, 220, 220, 220, 825, 6317, 4863, 7, 944, 11, 1635, 76, 2305, 13930, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 257, 6317, 284, 262, 10349, 416, 6427, 262, 12737, 1364, 1735, 319, 284, 262, 317, 2640, 33, 29594, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1635, 76, 2305, 13930, 25, 257, 1351, 286, 530, 393, 517, 17745, 319, 262, 300, 11994, 286, 262, 6317, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 13, 260, 2673, 4863, 7, 944, 11, 17745, 8, 628, 220, 220, 220, 825, 6317, 2514, 7, 944, 11, 1635, 76, 2305, 13930, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 257, 6317, 284, 262, 10349, 416, 6427, 262, 12737, 826, 1735, 319, 284, 262, 317, 2640, 33, 29594, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1635, 76, 2305, 13930, 25, 257, 1351, 286, 530, 393, 517, 17745, 319, 262, 9529, 82, 286, 262, 6317, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 13, 260, 2673, 2514, 7, 944, 11, 17745, 8, 628, 220, 220, 220, 825, 900, 1135, 8770, 7, 944, 11, 356, 8770, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 10358, 407, 307, 973, 2354, 286, 262, 9355, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 21394, 262, 29594, 9515, 286, 428, 13588, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 25, 317, 356, 8770, 2134, 326, 481, 307, 973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 796, 356, 8770, 628, 198, 4299, 13627, 3791, 7841, 7, 4871, 3672, 11, 2560, 28, 7841, 11, 17745, 8421, 41888, 4357, 17745, 3260, 41888, 4357, 24161, 12360, 13912, 34758, 92, 2599, 198, 220, 220, 220, 705, 7061, 16409, 257, 649, 2142, 2099, 290, 15319, 340, 284, 262, 24955, 338, 25745, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 42035, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1398, 3672, 1058, 4731, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 329, 262, 649, 2099, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2560, 1058, 2142, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 2208, 1398, 329, 262, 649, 2099, 198, 220, 220, 220, 930, 220, 220, 220, 220, 17745, 8421, 1058, 685, 44, 2305, 23172, 60, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 11902, 11, 611, 262, 649, 2142, 2099, 815, 423, 25726, 23172, 10139, 7, 82, 8, 878, 340, 11, 304, 13, 70, 13, 17199, 286, 257, 10335, 19543, 198, 220, 220, 220, 930, 220, 220, 220, 220, 17745, 3260, 1058, 685, 44, 2305, 23172, 60, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 11902, 11, 611, 262, 649, 2142, 2099, 815, 423, 25726, 23172, 10139, 7, 82, 8, 706, 340, 11, 304, 13, 70, 13, 1041, 660, 1040, 2727, 416, 327, 7656, 8081, 507, 198, 220, 220, 220, 930, 220, 220, 220, 220, 24161, 12360, 13912, 1058, 28261, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 11902, 11, 611, 257, 2560, 636, 2476, 3224, 24161, 1321, 13, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 19652, 408, 560, 329, 29481, 24129, 26008, 11, 508, 761, 257, 3975, 287, 262, 1296, 286, 1391, 44, 2305, 23172, 25, 41146, 92, 628, 220, 220, 220, 930, 1635, 35561, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 383, 649, 2142, 2099, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 21762, 2696, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2142, 11395, 12331, 532, 1532, 262, 2560, 318, 407, 257, 2142, 198, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 13940, 23650, 5376, 12331, 532, 1002, 1398, 3672, 318, 407, 257, 4938, 1438, 329, 257, 6194, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 54, 1501, 654, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 38357, 3109, 1023, 20361, 532, 1002, 1398, 3672, 1541, 7160, 287, 262, 25745, 7061, 6, 628, 220, 220, 220, 611, 407, 1189, 549, 4871, 7, 8000, 11, 2142, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2142, 11395, 12331, 7203, 8000, 1276, 307, 286, 2099, 2142, 4943, 628, 220, 220, 220, 4938, 3672, 260, 25636, 796, 302, 13, 5589, 576, 10786, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 11537, 628, 220, 220, 220, 611, 407, 318, 39098, 7, 4871, 3672, 11, 965, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 4871, 3672, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1398, 3672, 737, 12626, 3419, 6624, 357, 15, 11, 18896, 7, 4871, 3672, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 13940, 23650, 5376, 12331, 10786, 3672, 318, 407, 257, 4938, 5307, 727, 1438, 11537, 628, 220, 220, 220, 611, 407, 318, 39098, 7, 76, 2305, 13930, 8421, 11, 1351, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 76, 2305, 13930, 8421, 1276, 307, 286, 2099, 1351, 4943, 628, 220, 220, 220, 611, 407, 318, 39098, 7, 76, 2305, 13930, 3260, 11, 1351, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 76, 2305, 13930, 3260, 1276, 307, 286, 2099, 1351, 4943, 628, 220, 220, 220, 329, 18605, 287, 17745, 8421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2198, 1870, 7248, 44, 2305, 23172, 7, 43132, 8, 628, 220, 220, 220, 329, 18605, 287, 17745, 3260, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2198, 1870, 7248, 44, 2305, 23172, 7, 43132, 8, 628, 220, 220, 220, 1615, 395, 29291, 796, 2560, 11, 198, 220, 220, 220, 1255, 796, 6045, 198, 220, 220, 220, 1459, 14535, 796, 10104, 13, 14421, 14535, 3419, 198, 220, 220, 220, 1303, 13610, 6509, 611, 1438, 1541, 7160, 220, 198, 220, 220, 220, 611, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 13, 10134, 62, 2539, 7, 4871, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 2815, 23397, 198, 220, 220, 220, 220, 220, 220, 220, 14601, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 13949, 366, 1343, 965, 7, 1370, 8, 1343, 366, 25, 2142, 366, 1343, 1398, 3672, 1343, 366, 1541, 5447, 13, 1475, 9665, 6770, 481, 307, 973, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38357, 3109, 1023, 20361, 11, 362, 8, 220, 1303, 362, 796, 530, 8931, 1241, 2029, 428, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 13, 1136, 7, 4871, 3672, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2099, 7, 4871, 3672, 11, 1615, 395, 29291, 11, 23884, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 428, 1724, 326, 2560, 857, 407, 1011, 257, 27756, 32048, 11507, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4360, 262, 649, 850, 4906, 815, 423, 530, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2099, 7, 4871, 3672, 11, 1615, 395, 29291, 11, 1391, 6, 834, 15003, 834, 10354, 649, 6030, 31768, 30072, 198, 220, 220, 220, 220, 220, 220, 220, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 58, 4871, 3672, 60, 796, 1255, 198, 220, 220, 220, 1441, 1255, 628, 198, 4299, 13627, 3791, 44, 2305, 23172, 7, 4871, 3672, 11, 1635, 23743, 2599, 198, 220, 220, 220, 37227, 35561, 257, 649, 25726, 23172, 2099, 290, 15319, 340, 284, 262, 24955, 338, 25745, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1398, 3672, 25, 383, 1438, 329, 262, 649, 2099, 198, 220, 220, 220, 930, 220, 220, 220, 220, 3467, 9, 23743, 25, 657, 393, 517, 25726, 23172, 2208, 6097, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 383, 649, 2142, 2099, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 25726, 23172, 11395, 12331, 25, 1002, 597, 2560, 318, 407, 257, 25726, 23172, 198, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 13940, 23650, 5376, 12331, 25, 1002, 1398, 3672, 318, 407, 257, 4938, 1438, 329, 257, 6194, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 54, 1501, 654, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 38357, 3109, 1023, 20361, 25, 1002, 1398, 3672, 1541, 7160, 287, 262, 25745, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 4938, 3672, 260, 25636, 796, 302, 13, 5589, 576, 10786, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 11537, 628, 220, 220, 220, 611, 407, 318, 39098, 7, 4871, 3672, 11, 965, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 4871, 3672, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1398, 3672, 737, 12626, 3419, 6624, 357, 15, 11, 18896, 7, 4871, 3672, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 13940, 23650, 5376, 12331, 10786, 3672, 318, 407, 257, 4938, 5307, 727, 1438, 11537, 628, 220, 220, 220, 611, 18896, 7, 23743, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3397, 796, 25726, 23172, 11, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2560, 287, 3397, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1189, 549, 4871, 7, 8000, 11, 25726, 23172, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 25726, 23172, 11395, 12331, 7203, 3237, 3397, 1276, 307, 286, 2099, 25726, 23172, 4943, 198, 220, 220, 220, 1459, 14535, 796, 10104, 13, 14421, 14535, 3419, 628, 220, 220, 220, 1255, 796, 6045, 628, 220, 220, 220, 1303, 6822, 611, 1398, 3672, 1541, 7160, 220, 198, 220, 220, 220, 611, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 13, 10134, 62, 2539, 7, 4871, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 2815, 23397, 198, 220, 220, 220, 220, 220, 220, 220, 14601, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 13949, 366, 1343, 965, 7, 1370, 8, 1343, 366, 25, 25726, 23172, 366, 1343, 1398, 3672, 1343, 366, 1541, 5447, 13, 1475, 9665, 6770, 481, 307, 973, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38357, 3109, 1023, 20361, 11, 362, 8, 220, 1303, 362, 796, 530, 8931, 1241, 2029, 428, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 13, 1136, 7, 4871, 3672, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2099, 7, 4871, 3672, 11, 3397, 11, 23884, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1459, 14535, 13, 69, 62, 1891, 13, 69, 62, 4743, 672, 874, 58, 4871, 3672, 60, 796, 1255, 198, 220, 220, 220, 1441, 1255, 628, 198, 4871, 6252, 26254, 16870, 2234, 19667, 7, 15252, 2599, 198, 220, 220, 220, 37227, 23839, 2208, 4871, 329, 477, 399, 4147, 287, 257, 6252, 9712, 41986, 12200, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 317, 3716, 5408, 329, 257, 6252, 9712, 11, 1262, 12879, 884, 355, 1222, 357, 392, 828, 198, 220, 220, 220, 930, 3467, 91, 220, 357, 273, 8, 393, 4064, 357, 1102, 9246, 268, 341, 8, 318, 7997, 355, 257, 5509, 286, 13760, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 220, 220, 220, 825, 11593, 4666, 834, 7, 944, 11, 584, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 4, 532, 1673, 36686, 689, 734, 6252, 26254, 16870, 2234, 45, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 584, 532, 262, 10139, 319, 262, 826, 286, 2116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 257, 649, 6252, 26254, 16870, 2234, 3103, 9246, 268, 378, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6252, 26254, 16870, 2234, 3103, 9246, 268, 378, 7, 944, 11, 584, 8, 628, 220, 220, 220, 825, 11593, 392, 834, 7, 944, 11, 584, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5, 532, 25131, 290, 12660, 286, 734, 6252, 26254, 16870, 2234, 45, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 584, 532, 262, 10139, 319, 262, 826, 286, 2116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 257, 649, 6252, 26254, 16870, 2234, 19667, 1870, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6252, 26254, 16870, 2234, 1870, 7, 944, 11, 584, 8, 628, 220, 220, 220, 825, 11593, 273, 834, 7, 944, 11, 584, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 91, 220, 532, 25131, 393, 12660, 286, 734, 6252, 26254, 16870, 2234, 45, 4147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 584, 532, 262, 10139, 319, 262, 826, 286, 2116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 257, 649, 6252, 26254, 16870, 2234, 5574, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6252, 26254, 16870, 2234, 5574, 7, 944, 11, 584, 8, 628, 220, 220, 220, 825, 1271, 5189, 44, 19775, 42670, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7783, 82, 262, 1271, 286, 3354, 262, 5408, 7466, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1002, 281, 5408, 3544, 1673, 36686, 341, 11, 788, 340, 1244, 2872, 262, 1459, 636, 290, 257, 1271, 286, 18148, 3354, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 379, 543, 12336, 4940, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 18253, 532, 703, 867, 3354, 547, 14451, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 15699, 7, 3911, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 657, 628, 220, 220, 220, 2488, 397, 8709, 24396, 198, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 13921, 257, 636, 2872, 428, 357, 7266, 13219, 38011, 30, 1052, 12531, 2446, 11, 1276, 307, 9177, 416, 1123, 1200, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 284, 307, 14451, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 25131, 532, 10127, 393, 407, 262, 636, 373, 14451, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 198, 4871, 6252, 26254, 16870, 2234, 18843, 1352, 7, 12727, 26254, 16870, 2234, 19667, 2599, 198, 220, 220, 220, 37227, 23839, 2208, 4871, 286, 281, 6252, 26254, 16870, 2234, 19081, 543, 318, 281, 10088, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1364, 532, 383, 717, 1200, 286, 262, 10088, 198, 220, 220, 220, 930, 220, 220, 220, 220, 826, 532, 383, 1218, 1200, 286, 262, 10088, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 220, 220, 220, 1364, 796, 6045, 198, 220, 220, 220, 826, 796, 6045, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 1364, 11, 826, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 6252, 26254, 16870, 411, 295, 18843, 1352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1364, 532, 21394, 262, 1364, 1200, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 826, 532, 21394, 262, 826, 1200, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 12727, 26254, 16870, 2234, 12331, 532, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 2035, 1200, 318, 407, 281, 4554, 286, 6252, 26254, 16870, 2234, 19667, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 9464, 11, 6252, 26254, 16870, 2234, 19667, 8, 290, 318, 39098, 7, 3506, 11, 6252, 26254, 16870, 2234, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9464, 796, 1364, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3506, 796, 826, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 12727, 26254, 16870, 2234, 12331, 7203, 44651, 2099, 973, 287, 257, 6252, 26254, 10451, 19570, 628, 220, 220, 220, 825, 5408, 5842, 274, 7, 944, 11, 10139, 6030, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 18546, 8789, 611, 257, 1728, 2099, 286, 10139, 318, 973, 287, 262, 5408, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10139, 6030, 25, 383, 2099, 286, 262, 10139, 3025, 6224, 318, 284, 307, 4999, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 25131, 532, 10127, 393, 407, 262, 10139, 7160, 287, 262, 10451, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 944, 11, 10139, 6030, 8, 393, 318, 39098, 7, 944, 13, 9464, 11, 10139, 6030, 8, 393, 318, 39098, 7, 944, 13, 3506, 11, 10139, 6030, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1364, 20274, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 826, 20274, 796, 10352, 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, 1364, 20274, 796, 2116, 13, 9464, 13, 38011, 5842, 274, 7, 17440, 6030, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 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, 826, 20274, 796, 2116, 13, 3506, 13, 38011, 5842, 274, 7, 17440, 6030, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1364, 20274, 393, 826, 20274, 628, 198, 4871, 6252, 26254, 16870, 2234, 3673, 7, 12727, 26254, 16870, 2234, 18843, 1352, 2599, 198, 220, 220, 220, 37227, 32, 6252, 26254, 16870, 2234, 18843, 1352, 543, 318, 257, 1892, 198, 220, 220, 220, 220, 198, 220, 220, 220, 317, 2041, 1339, 11, 691, 3544, 530, 1200, 11, 6529, 355, 262, 34062, 10088, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 966, 8968, 38011, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 6252, 26254, 3109, 1050, 411, 295, 3673, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 966, 8968, 38011, 532, 383, 5408, 284, 307, 2469, 515, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3506, 796, 966, 8968, 38011, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 11, 1626, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 407, 2116, 13, 3506, 13, 15699, 7, 3911, 11, 1626, 8, 628, 198, 4871, 6252, 26254, 16870, 2234, 5574, 7, 12727, 26254, 16870, 2234, 18843, 1352, 2599, 198, 220, 220, 220, 37227, 32, 6252, 26254, 16870, 2234, 18843, 1352, 543, 318, 281, 1471, 37811, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 11, 1626, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 9464, 13, 15699, 7, 3911, 8, 393, 2116, 13, 3506, 13, 15699, 7, 3911, 8, 198, 198, 4871, 6252, 26254, 16870, 2234, 1870, 7, 12727, 26254, 16870, 2234, 18843, 1352, 2599, 198, 220, 220, 220, 37227, 32, 6252, 26254, 16870, 2234, 18843, 1352, 543, 318, 281, 843, 37811, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 9464, 13, 15699, 7, 3911, 8, 290, 2116, 13, 3506, 13, 15699, 7, 3911, 8, 628, 198, 4871, 6252, 26254, 16870, 2234, 3103, 9246, 268, 378, 7, 12727, 26254, 16870, 2234, 18843, 1352, 2599, 198, 220, 220, 220, 37227, 32, 6252, 26254, 16870, 2234, 18843, 1352, 543, 318, 281, 1482, 9246, 268, 341, 37811, 628, 220, 220, 220, 825, 1271, 5189, 44, 19775, 42670, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 770, 1200, 23170, 1460, 340, 11, 1201, 257, 1673, 36686, 341, 10088, 318, 198, 220, 220, 220, 220, 220, 220, 220, 257, 10139, 287, 262, 5408, 379, 543, 517, 621, 530, 636, 460, 307, 198, 220, 220, 220, 220, 220, 220, 220, 14451, 13, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 15699, 7, 3911, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 9464, 13, 17618, 5189, 44, 19775, 42670, 7, 3911, 13, 1136, 8421, 7841, 28955, 1343, 2116, 13, 3506, 13, 17618, 5189, 44, 19775, 42670, 7, 3911, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 657, 628, 198, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 9464, 13, 15699, 7, 3911, 13, 1136, 8421, 7841, 28955, 290, 2116, 13, 3506, 13, 15699, 7, 3911, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 198, 4299, 2198, 14881, 9487, 274, 23850, 7, 65, 1386, 11, 2170, 12453, 2599, 198, 220, 220, 220, 37227, 6690, 1834, 2280, 2198, 611, 262, 1438, 286, 262, 3858, 287, 12536, 357, 273, 3397, 8, 389, 4961, 284, 2170, 12453, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 12536, 532, 317, 46545, 286, 3858, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2170, 12453, 1058, 965, 532, 317, 1438, 286, 257, 2099, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 6407, 611, 597, 286, 262, 3891, 286, 3858, 287, 12536, 393, 597, 286, 511, 2560, 12536, 21767, 2170, 12453, 11, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 10352, 4306, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 329, 2779, 9487, 287, 12536, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 774, 3617, 480, 6624, 2779, 9487, 13, 834, 3672, 834, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2198, 14881, 9487, 274, 23850, 7, 8692, 9487, 13, 834, 65, 1386, 834, 11, 2170, 12453, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 198, 4871, 2142, 11712, 1300, 20180, 7, 15252, 2599, 198, 220, 220, 220, 37227, 32, 2615, 2512, 286, 257, 2142, 34894, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 39265, 1058, 15529, 1220, 13558, 2749, 43, 10705, 1220, 42715, 1340, 11319, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 262, 5002, 815, 2872, 10582, 11, 477, 850, 37724, 393, 3544, 257, 4295, 9517, 198, 220, 220, 220, 930, 220, 220, 220, 220, 5002, 1058, 965, 532, 383, 4731, 286, 262, 5002, 357, 19419, 257, 39265, 8, 198, 220, 220, 220, 930, 220, 220, 220, 220, 34062, 1058, 25131, 532, 10127, 262, 5002, 468, 587, 2469, 515, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 15529, 796, 352, 198, 220, 220, 220, 13558, 2749, 43, 10705, 796, 362, 198, 220, 220, 220, 42715, 1340, 11319, 796, 513, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 2142, 11712, 1300, 20180, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 16213, 12271, 9877, 290, 5621, 5387, 12608, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 532, 262, 636, 286, 262, 2142, 9877, 329, 428, 5002, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 259, 4399, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13255, 7483, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30854, 796, 10148, 628, 220, 220, 220, 220, 220, 220, 220, 611, 9877, 58, 15, 60, 6624, 705, 0, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 259, 4399, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9877, 796, 9877, 58, 16, 47715, 628, 220, 220, 220, 220, 220, 220, 220, 611, 9877, 58, 12, 16, 60, 6624, 705, 9, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13255, 7483, 796, 2142, 11712, 1300, 20180, 13, 31827, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30854, 796, 9877, 58, 21912, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 9877, 58, 12, 16, 60, 6624, 705, 10, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13255, 7483, 796, 2142, 11712, 1300, 20180, 13, 12564, 2749, 43, 10705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30854, 796, 9877, 58, 21912, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13255, 7483, 796, 2142, 11712, 1300, 20180, 13, 31631, 1340, 11319, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30854, 796, 9877, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 26181, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 259, 4399, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 407, 2116, 13, 834, 15699, 7, 26801, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 15699, 7, 26801, 8, 628, 220, 220, 220, 825, 11593, 15699, 7, 944, 11, 26181, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 32538, 2872, 2446, 11, 12336, 1231, 34062, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 2134, 5376, 796, 26181, 13, 834, 4871, 834, 13, 834, 3672, 834, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 271, 39098, 7, 26801, 11, 965, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2134, 5376, 796, 26181, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 1040, 806, 13, 271, 4871, 7, 26801, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2134, 5376, 796, 26181, 13, 834, 3672, 834, 628, 220, 220, 220, 220, 220, 220, 220, 611, 14808, 944, 13, 13255, 7483, 6624, 2116, 13, 31631, 1340, 11319, 8, 393, 357, 944, 13, 13255, 7483, 6624, 2116, 13, 12564, 2749, 43, 10705, 4008, 290, 357, 15252, 5376, 6624, 2116, 13, 30854, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 220, 220, 220, 220, 220, 220, 220, 611, 357, 944, 13, 13255, 7483, 6624, 2116, 13, 31827, 8, 290, 357, 15252, 5376, 13, 9688, 2032, 342, 7, 944, 13, 30854, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 220, 220, 220, 220, 220, 220, 220, 611, 357, 944, 13, 13255, 7483, 6624, 2116, 13, 12564, 2749, 43, 10705, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 1040, 806, 13, 271, 4871, 7, 26801, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2198, 14881, 9487, 274, 23850, 7, 26801, 13, 834, 65, 1386, 834, 11, 2116, 13, 30854, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2198, 14881, 9487, 274, 23850, 7, 26801, 13, 834, 4871, 834, 13, 834, 65, 1386, 834, 11, 2116, 13, 30854, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 198, 4871, 25726, 23172, 11712, 1300, 20180, 7, 7841, 11712, 1300, 20180, 2599, 198, 220, 220, 220, 37227, 32, 2142, 11712, 1300, 20180, 326, 318, 257, 25726, 23172, 34894, 198, 220, 220, 220, 930, 3827, 46030, 617, 5050, 11, 1201, 25726, 23172, 11712, 1300, 318, 973, 416, 262, 2836, 329, 198, 220, 220, 220, 930, 25726, 23172, 5994, 42708, 532, 5023, 2142, 11712, 1300, 20180, 11, 543, 318, 5387, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 25726, 23172, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 1058, 965, 532, 383, 4731, 9877, 284, 307, 3350, 284, 257, 25726, 23172, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 11712, 1300, 12331, 532, 1002, 9877, 857, 407, 26325, 284, 262, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 9877, 2200, 796, 302, 13, 5589, 576, 10786, 22857, 26933, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 30, 91, 59, 28104, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 9877, 2200, 13, 15699, 7, 12683, 1300, 737, 12626, 3419, 6624, 357, 15, 11, 18896, 7, 12683, 1300, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2208, 7, 44, 2305, 23172, 11712, 1300, 20180, 11, 2116, 737, 834, 15003, 834, 7, 12683, 1300, 8, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 26181, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 13255, 7483, 6624, 2116, 13, 31827, 290, 26181, 6624, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 259, 4399, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2208, 7, 44, 2305, 23172, 11712, 1300, 20180, 11, 2116, 737, 15699, 7, 26801, 8, 628, 198, 4871, 25726, 23172, 11712, 1300, 33529, 198, 220, 220, 220, 37227, 32, 25726, 23172, 11712, 1300, 11, 973, 329, 5994, 42708, 286, 25726, 13930, 628, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 25745, 1058, 685, 7841, 11712, 1300, 20180, 60, 532, 7343, 286, 9877, 3354, 286, 262, 9877, 198, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 1058, 25726, 23172, 11712, 1300, 20180, 532, 383, 366, 3911, 1, 636, 286, 262, 9877, 198, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 2142, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 930, 16213, 12271, 9877, 290, 5621, 5387, 12608, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 1058, 965, 532, 383, 4731, 9877, 284, 307, 3350, 284, 257, 2142, 11712, 1300, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 11712, 1300, 12331, 532, 1002, 9877, 857, 407, 26325, 284, 262, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14933, 10223, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 815, 307, 286, 5794, 25, 13588, 13, 7841, 7, 44, 2305, 23172, 16725, 357, 44, 2305, 23172, 8, 318, 11902, 2, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 12331, 12837, 796, 366, 12683, 1300, 1276, 307, 286, 2099, 10903, 290, 26325, 284, 6252, 26254, 1220, 2142, 11712, 1300, 18980, 1, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 12683, 1300, 11, 965, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1262, 257, 3218, 5408, 284, 787, 1654, 262, 9877, 318, 286, 257, 4938, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 9877, 2200, 796, 302, 13, 5589, 576, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29513, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 9, 19415, 2014, 10, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 28104, 11537, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3218, 5408, 468, 284, 2872, 2104, 4129, 286, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 9877, 2200, 13, 15699, 7, 12683, 1300, 737, 12626, 3419, 6624, 357, 15, 11, 18896, 7, 12683, 1300, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6626, 9877, 656, 6805, 198, 220, 220, 220, 220, 220, 220, 220, 9877, 7841, 2200, 796, 302, 13, 5589, 576, 10786, 22857, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 30, 91, 59, 9, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 6626, 11712, 1300, 796, 9877, 7841, 2200, 13, 19796, 439, 7, 12683, 1300, 8, 628, 220, 220, 220, 220, 220, 220, 220, 997, 5189, 31560, 5013, 36, 3639, 796, 18896, 7, 35312, 11712, 1300, 8, 532, 352, 26, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 796, 25726, 23172, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 22510, 5189, 31560, 5013, 36, 3639, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1303, 31560, 5013, 2142, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 14933, 10223, 796, 2142, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 15, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2142, 2644, 2142, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 15, 11, 997, 5189, 31560, 5013, 36, 3639, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14933, 10223, 13, 33295, 7, 7841, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 72, 60, 4008, 628, 198, 220, 220, 220, 825, 2872, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 76, 2305, 23172, 11, 25726, 23172, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 25726, 23172, 11395, 12331, 7203, 44, 2305, 23172, 284, 2872, 1276, 307, 4554, 286, 2099, 25726, 23172, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2116, 13, 76, 2305, 23172, 13, 15699, 7, 76, 2305, 23172, 8, 290, 2116, 13, 15699, 36690, 43076, 7, 944, 13, 14933, 10223, 11, 27756, 13, 29982, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 628, 198, 4871, 2142, 11712, 1300, 7, 12727, 26254, 16870, 2234, 19667, 2599, 198, 220, 220, 220, 37227, 32, 2142, 11712, 1300, 11, 973, 287, 6252, 26254, 14700, 393, 3264, 329, 5994, 42708, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 25745, 1058, 685, 7841, 11712, 1300, 20180, 60, 532, 7343, 286, 9877, 3354, 286, 262, 9877, 198, 220, 220, 220, 930, 220, 220, 220, 220, 636, 1058, 2142, 11712, 1300, 20180, 532, 383, 366, 3911, 1, 636, 286, 262, 9877, 198, 220, 220, 220, 930, 220, 220, 220, 220, 18605, 23172, 1058, 2142, 11712, 1300, 20180, 532, 383, 27756, 636, 286, 262, 9877, 198, 220, 220, 220, 930, 220, 220, 220, 220, 4515, 2305, 23172, 1058, 41146, 532, 220, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 262, 2142, 11712, 1300, 11777, 815, 407, 2872, 3354, 351, 17745, 198, 220, 220, 220, 220, 198, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 2142, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 930, 16213, 12271, 9877, 290, 5621, 5387, 12608, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 1058, 965, 532, 383, 4731, 9877, 284, 307, 3350, 284, 257, 2142, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 11712, 1300, 12331, 532, 1002, 9877, 857, 407, 26325, 284, 262, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14933, 10223, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3911, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26601, 2305, 23172, 796, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 815, 307, 286, 5794, 25, 13588, 13, 7841, 7, 44, 2305, 23172, 16725, 357, 44, 2305, 23172, 8, 318, 11902, 2, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 12331, 12837, 796, 366, 12683, 1300, 1276, 307, 286, 2099, 10903, 290, 26325, 284, 6252, 26254, 1220, 2142, 11712, 1300, 18980, 1, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 12683, 1300, 11, 965, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1262, 257, 3218, 5408, 284, 787, 1654, 262, 9877, 318, 286, 257, 4938, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 9877, 2200, 796, 302, 13, 5589, 576, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29513, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 9, 19415, 2014, 10, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 9, 5769, 59, 7, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 9, 19427, 59, 4008, 8348, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3218, 5408, 468, 284, 2872, 2104, 4129, 286, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 9877, 2200, 13, 15699, 7, 12683, 1300, 737, 12626, 3419, 6624, 357, 15, 11, 18896, 7, 12683, 1300, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 4906, 12331, 12837, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6626, 9877, 656, 6805, 198, 220, 220, 220, 220, 220, 220, 220, 9877, 7841, 2200, 796, 302, 13, 5589, 576, 10786, 22857, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 30, 91, 59, 9, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 6626, 11712, 1300, 796, 9877, 7841, 2200, 13, 19796, 439, 7, 12683, 1300, 8, 628, 220, 220, 220, 220, 220, 220, 220, 997, 5189, 31560, 5013, 36, 3639, 796, 18896, 7, 35312, 11712, 1300, 8, 532, 352, 26, 628, 220, 220, 220, 220, 220, 220, 220, 9877, 44, 2305, 23172, 7841, 2200, 796, 302, 13, 5589, 576, 10786, 59, 7, 22857, 19510, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 58, 59, 10, 59, 9, 60, 10091, 91, 59, 9, 19427, 22725, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 27756, 7841, 23850, 796, 9877, 44, 2305, 23172, 7841, 2200, 13, 12947, 7, 12683, 1300, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 27756, 7841, 23850, 14512, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27756, 7841, 796, 27756, 7841, 23850, 13, 8094, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 76, 2305, 23172, 7841, 8, 6624, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26601, 2305, 23172, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 5189, 31560, 5013, 36, 3639, 48185, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 796, 25726, 23172, 11712, 1300, 20180, 7, 76, 2305, 23172, 7841, 58, 16, 21912, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26601, 2305, 23172, 796, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26601, 2305, 23172, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 796, 25726, 23172, 11712, 1300, 20180, 10786, 9, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3911, 796, 2142, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 22510, 5189, 31560, 5013, 36, 3639, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1303, 31560, 5013, 2142, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 14933, 10223, 796, 2142, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 15, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2142, 2644, 2142, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 15, 11, 997, 5189, 31560, 5013, 36, 3639, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14933, 10223, 13, 33295, 7, 7841, 11712, 1300, 20180, 7, 35312, 11712, 1300, 58, 72, 60, 4008, 628, 198, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 3911, 11, 2142, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 2142, 11395, 12331, 7203, 7841, 284, 2872, 1276, 307, 4554, 286, 2099, 2142, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 2116, 13, 3911, 13, 15699, 7, 3911, 8, 290, 2116, 13, 15699, 36690, 43076, 7, 944, 13, 14933, 10223, 11, 636, 13, 2860, 653, 25896, 8, 220, 1303, 393, 8354, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2116, 13, 26601, 2305, 23172, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 314, 13, 36, 13, 34702, 3180, 317, 13070, 2538, 34, 24212, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 428, 2476, 284, 307, 20449, 1220, 16926, 46, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 3911, 13, 3866, 5589, 576, 44, 2305, 13930, 3260, 8, 6624, 657, 290, 18896, 7, 3911, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 76, 2305, 23172, 13, 13255, 7483, 6624, 2116, 13, 76, 2305, 23172, 13, 31827, 290, 2116, 13, 76, 2305, 23172, 13, 30854, 6624, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1255, 290, 6407, 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, 1255, 796, 1255, 290, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 636, 13, 3866, 5589, 576, 44, 2305, 13930, 3260, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1255, 290, 2116, 13, 76, 2305, 23172, 13, 15699, 7, 43132, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 636, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1255, 290, 2116, 13, 76, 2305, 23172, 13, 15699, 7, 43132, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 26601, 2305, 23172, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 3911, 13, 1136, 8421, 45, 4147, 7, 44, 2305, 23172, 4008, 14512, 657, 393, 18896, 7, 3911, 13, 1136, 3260, 45, 4147, 7, 44, 2305, 23172, 4008, 14512, 657, 393, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18896, 7, 3911, 13, 3866, 5589, 576, 44, 2305, 13930, 3260, 8, 14512, 657, 393, 18896, 7, 3911, 13, 3866, 5589, 576, 44, 2305, 13930, 8421, 8, 14512, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 1255, 290, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 428, 1724, 356, 714, 635, 466, 517, 621, 530, 27756, 11, 304, 13, 70, 13, 10335, 19543, 7, 6242, 8614, 317, 8, 393, 20512, 290, 986, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 198, 4871, 6252, 26254, 7, 15252, 2599, 198, 220, 220, 220, 37227, 32, 6252, 26254, 284, 2922, 15251, 11045, 287, 262, 8513, 3354, 9706, 5202, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 10088, 1058, 38331, 1220, 36050, 1220, 45285, 11598, 220, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 532, 383, 10088, 329, 428, 6252, 26254, 198, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 1058, 2142, 11712, 1300, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 38331, 796, 1367, 198, 220, 220, 220, 36050, 796, 2534, 198, 220, 220, 220, 45285, 11598, 796, 4747, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 11, 10088, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 257, 649, 6252, 26254, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 532, 317, 6252, 26254, 11712, 1300, 393, 257, 4731, 326, 481, 307, 3350, 284, 6252, 26254, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10088, 532, 383, 10088, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 46616, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12683, 1300, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 12683, 1300, 11, 6252, 26254, 16870, 2234, 19667, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12683, 1300, 796, 9877, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12683, 1300, 796, 2142, 11712, 1300, 7, 12683, 1300, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9122, 1870, 7248, 18843, 1352, 7, 46616, 8, 628, 220, 220, 220, 825, 2872, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3826, 6252, 26254, 16870, 2234, 19667, 6770, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 12683, 1300, 13, 15699, 7, 3911, 8, 628, 220, 220, 220, 825, 2198, 1870, 7248, 18843, 1352, 7, 944, 11, 10088, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 5387, 10088, 11688, 11, 611, 262, 11507, 318, 257, 4938, 10088, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10088, 532, 383, 10088, 284, 307, 4999, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 12727, 26254, 18843, 1352, 12331, 532, 611, 262, 10088, 318, 12515, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 357, 5171, 307, 10795, 319, 262, 9877, 8, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 357, 46616, 6624, 2116, 13, 12473, 30818, 8, 393, 357, 46616, 6624, 2116, 13, 8579, 5781, 8, 393, 357, 46616, 6624, 2116, 13, 2200, 6489, 11598, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 46616, 796, 10088, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 46616, 6624, 2116, 13, 12473, 30818, 290, 318, 39098, 7, 944, 13, 12683, 1300, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6252, 26254, 16870, 2234, 18843, 1352, 8, 290, 2116, 13, 12683, 1300, 13, 38011, 5842, 274, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6252, 26254, 16870, 2234, 3103, 9246, 268, 378, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 12727, 26254, 18843, 1352, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 12727, 26254, 35946, 460, 407, 307, 38331, 611, 2142, 11712, 1300, 3544, 1673, 36686, 341, 2637, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 12727, 26254, 18843, 1352, 12331, 7203, 46616, 1276, 307, 286, 2099, 6252, 26254, 13, 12473, 30818, 1220, 36050, 1220, 45285, 11598, 4943, 628, 198, 4871, 6252, 26254, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 29869, 329, 4732, 379, 257, 6252, 26254, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1626, 532, 317, 8931, 286, 262, 24907, 1220, 7612, 326, 1626, 543, 262, 6252, 26254, 373, 14451, 198, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 14451, 416, 262, 6252, 26254, 37811, 628, 220, 220, 220, 825, 318, 22005, 7, 944, 11, 26181, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7376, 4657, 611, 262, 11507, 357, 64, 10349, 393, 4843, 8, 318, 319, 262, 1626, 8931, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 26181, 1058, 13588, 1220, 1081, 806, 532, 383, 2134, 326, 318, 284, 307, 1043, 319, 262, 8931, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 41146, 532, 2081, 611, 26181, 318, 319, 262, 1626, 8931, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 834, 271, 22005, 6690, 30753, 7, 26801, 11, 18896, 7, 944, 13, 33479, 4008, 628, 198, 4871, 42708, 7, 15252, 2599, 198, 220, 220, 220, 37227, 29869, 329, 42708, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 38177, 1058, 493, 532, 3334, 38177, 5608, 423, 9706, 8475, 625, 1877, 38177, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 532, 20625, 47, 38827, 1961, 18310, 19841, 38177, 19841, 25882, 47, 38827, 1961, 18310, 318, 262, 4938, 2837, 198, 220, 220, 220, 930, 220, 220, 220, 220, 966, 8968, 1058, 6252, 26254, 198, 220, 220, 220, 930, 220, 220, 220, 220, 5608, 17410, 1058, 2446, 532, 383, 2446, 284, 307, 10945, 379, 262, 5608, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1276, 423, 362, 10007, 25, 2116, 290, 6252, 26254, 21947, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 20625, 47, 38827, 1961, 18310, 796, 657, 198, 220, 220, 220, 25882, 47, 38827, 1961, 18310, 796, 1802, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 966, 8968, 11, 5608, 17410, 11, 38177, 28, 23678, 47, 38827, 1961, 18310, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 42708, 2134, 11, 4634, 5387, 1181, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 966, 8968, 532, 383, 6252, 26254, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 5608, 17410, 532, 383, 5608, 17410, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 38177, 532, 383, 38177, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 12727, 26254, 12331, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 22856, 501, 17410, 12331, 532, 1002, 4578, 318, 407, 257, 2446, 393, 2753, 2642, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 286, 10007, 357, 27238, 1011, 2116, 290, 6252, 26254, 21947, 2134, 8, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 3771, 771, 594, 7975, 5189, 17257, 12331, 532, 1002, 38177, 1875, 25882, 47, 38827, 1961, 18310, 393, 198, 220, 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, 220, 220, 220, 220, 220, 220, 220, 220, 38177, 1279, 20625, 47, 38827, 1961, 18310, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4122, 8968, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 324, 28281, 17410, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 771, 594, 796, 2116, 13, 23678, 47, 38827, 1961, 18310, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 4122, 8968, 11, 6252, 26254, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 12727, 26254, 12331, 7203, 4122, 8968, 1276, 307, 286, 2099, 6252, 26254, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4122, 8968, 796, 966, 8968, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 10104, 13, 1042, 316, 2065, 7, 324, 28281, 17410, 8, 393, 18896, 7, 1040, 806, 13, 1136, 853, 16684, 7, 324, 28281, 17410, 38381, 15, 12962, 14512, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 22856, 501, 17410, 12331, 7203, 324, 28281, 17410, 1276, 307, 257, 2446, 351, 362, 10007, 357, 944, 11, 6252, 26254, 21947, 8, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 324, 28281, 17410, 796, 5608, 17410, 628, 220, 220, 220, 220, 220, 220, 220, 611, 38177, 1279, 357, 944, 13, 23678, 47, 38827, 1961, 18310, 8, 393, 357, 3866, 771, 594, 1875, 2116, 13, 22921, 47, 38827, 1961, 18310, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3771, 771, 594, 7975, 5189, 17257, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 22856, 501, 3771, 771, 594, 1276, 307, 1022, 366, 1343, 965, 7, 944, 13, 23678, 47, 38827, 1961, 18310, 8, 1343, 366, 290, 366, 1343, 965, 7, 944, 13, 22921, 47, 38827, 1961, 18310, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3866, 771, 594, 796, 38177, 628, 198, 4871, 5994, 22856, 501, 7, 15252, 2599, 198, 220, 220, 220, 37227, 29869, 329, 5994, 22856, 501, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 1058, 2142, 11712, 1300, 393, 25726, 23172, 11712, 1300, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2099, 2860, 653, 1058, 2446, 393, 11688, 284, 307, 2087, 284, 262, 2099, 198, 220, 220, 220, 930, 220, 220, 220, 220, 1438, 1058, 383, 1438, 262, 649, 2099, 2860, 653, 815, 423, 287, 262, 649, 2099, 198, 220, 220, 220, 930, 220, 220, 220, 220, 4843, 1058, 1081, 806, 543, 24183, 428, 5994, 22856, 501, 198, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9877, 11, 2099, 2860, 653, 11, 1438, 11, 4843, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 42316, 82, 257, 649, 5994, 22856, 501, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 532, 2142, 11712, 1300, 1220, 25726, 23172, 11712, 1300, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 2099, 2860, 653, 532, 11688, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1438, 1058, 965, 532, 11688, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4843, 1058, 1081, 806, 532, 11688, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 11712, 1300, 12331, 532, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 9877, 407, 4554, 286, 2142, 11712, 1300, 393, 25726, 23172, 11712, 1300, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 13940, 23650, 5376, 12331, 532, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 1438, 318, 407, 257, 4938, 1438, 329, 257, 6194, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12683, 1300, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4906, 2860, 653, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 292, 806, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3672, 796, 10148, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 12683, 1300, 11, 2142, 11712, 1300, 8, 393, 318, 39098, 7, 12683, 1300, 11, 25726, 23172, 11712, 1300, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12683, 1300, 796, 9877, 26, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 11712, 1300, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 11712, 1300, 11507, 329, 5994, 22856, 501, 1276, 307, 286, 2099, 2142, 11712, 1300, 393, 25726, 23172, 11712, 1300, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4906, 2860, 653, 796, 2099, 2860, 653, 26, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 292, 806, 796, 4843, 628, 220, 220, 220, 220, 220, 220, 220, 4938, 3672, 260, 25636, 796, 302, 13, 5589, 576, 10786, 58, 64, 12, 89, 32, 12, 57, 62, 7131, 64, 12, 89, 32, 12, 57, 15, 12, 24, 62, 60, 9, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 3672, 11, 965, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 3672, 8, 393, 407, 4938, 3672, 260, 25636, 13, 15699, 7, 3672, 737, 12626, 3419, 6624, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 11, 18896, 7, 3672, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 13940, 23650, 5376, 12331, 10786, 3672, 318, 407, 257, 4938, 5307, 727, 1438, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3672, 796, 1438, 628, 220, 220, 220, 825, 318, 7841, 22856, 501, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 6407, 611, 5994, 22856, 501, 318, 329, 2142, 11, 10352, 4306, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 318, 39098, 7, 944, 13, 12683, 1300, 11, 2142, 11712, 1300, 8, 628, 220, 220, 220, 825, 318, 44, 2305, 23172, 22856, 501, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 6407, 611, 5994, 22856, 501, 318, 329, 25726, 23172, 11, 10352, 4306, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 318, 39098, 7, 944, 13, 12683, 1300, 11, 25726, 23172, 11712, 1300, 8, 628, 198, 4871, 1081, 806, 7, 15252, 2599, 198, 220, 220, 220, 37227, 23839, 1398, 329, 281, 1081, 806, 198, 220, 220, 220, 930, 2561, 4143, 307, 973, 284, 2380, 257, 1486, 338, 3272, 12, 29753, 4786, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 16130, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 4377, 1200, 1276, 3494, 1388, 1722, 806, 2446, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 25, 29594, 198, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 383, 356, 8770, 543, 552, 2915, 262, 4843, 198, 220, 220, 220, 930, 220, 220, 220, 220, 5608, 8053, 532, 317, 1351, 286, 477, 5608, 428, 4843, 24183, 198, 220, 220, 220, 930, 220, 220, 220, 220, 2099, 22856, 501, 8053, 532, 317, 1351, 286, 477, 2099, 5608, 428, 4843, 24183, 198, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 26410, 8053, 532, 317, 1351, 286, 477, 2099, 5608, 329, 262, 29594, 26410, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 9738, 48526, 628, 220, 220, 220, 825, 1330, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 20939, 257, 1948, 27756, 422, 262, 12076, 26247, 284, 428, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 11748, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 10784, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 43834, 257, 1948, 27756, 422, 428, 26247, 284, 262, 12076, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 39344, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 2251, 44, 2305, 23172, 7, 944, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37835, 533, 326, 257, 1948, 27756, 7160, 287, 262, 1459, 8354, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 27756, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 17953, 44, 2305, 23172, 7, 944, 11, 27756, 8, 628, 220, 220, 220, 825, 751, 31560, 5013, 7, 944, 11, 10349, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 4550, 257, 10349, 355, 257, 850, 12, 5589, 1823, 287, 262, 1459, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 10349, 25, 13588, 284, 307, 2087, 355, 257, 850, 12, 5589, 1823, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 2860, 31560, 5013, 7, 944, 11, 10349, 8, 628, 220, 220, 220, 825, 751, 7841, 7, 944, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 3354, 284, 262, 1486, 416, 6427, 606, 319, 284, 262, 317, 2640, 33, 29594, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 25, 383, 636, 284, 307, 2087, 284, 262, 10349, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 13, 2860, 7841, 7, 944, 11, 636, 8, 628, 220, 220, 220, 825, 6317, 4863, 7, 944, 11, 1635, 76, 2305, 13930, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 257, 6317, 284, 262, 4843, 416, 6427, 262, 12737, 1364, 1735, 319, 284, 262, 317, 2640, 33, 29594, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1635, 76, 2305, 13930, 25, 257, 1351, 286, 530, 393, 517, 17745, 319, 262, 300, 11994, 286, 262, 6317, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 13, 260, 2673, 4863, 7, 944, 11, 17745, 8, 628, 220, 220, 220, 825, 6317, 2514, 7, 944, 11, 1635, 76, 2305, 13930, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 257, 6317, 284, 262, 4843, 416, 6427, 262, 12737, 826, 1735, 319, 284, 262, 317, 2640, 33, 29594, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1635, 76, 2305, 13930, 25, 257, 1351, 286, 530, 393, 517, 17745, 319, 262, 9529, 82, 286, 262, 6317, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 13, 260, 2673, 2514, 7, 944, 11, 17745, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 13, 260, 2673, 2514, 7, 944, 11, 17745, 8, 628, 220, 220, 220, 825, 900, 1135, 8770, 7, 944, 11, 356, 8770, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 10358, 407, 307, 973, 2354, 286, 262, 9355, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21394, 262, 29594, 9515, 286, 428, 13588, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 25, 317, 356, 8770, 2134, 326, 481, 307, 973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 796, 356, 8770, 628, 220, 220, 220, 825, 751, 22856, 501, 7, 944, 11, 966, 8968, 11, 5608, 17410, 11, 38177, 28, 22856, 501, 13, 23678, 47, 38827, 1961, 18310, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37835, 533, 257, 649, 5608, 287, 262, 4843, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 966, 8968, 532, 383, 966, 8968, 329, 262, 5608, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 5608, 17410, 532, 383, 2446, 284, 307, 10945, 379, 262, 966, 8968, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 815, 307, 257, 2446, 5421, 284, 428, 4843, 11, 351, 1218, 11507, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 12451, 257, 6252, 26254, 21947, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 38177, 1058, 18253, 357, 25968, 8, 532, 900, 38177, 286, 5608, 11, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 766, 4710, 319, 42708, 13, 3866, 771, 594, 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, 930, 1635, 16130, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 751, 22856, 501, 34175, 281, 42708, 2134, 13, 7735, 1321, 4145, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 460, 307, 1043, 612, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 324, 28281, 8053, 13, 33295, 7, 22856, 501, 7, 4122, 8968, 11, 5608, 17410, 11, 38177, 4008, 628, 220, 220, 220, 825, 751, 6030, 22856, 501, 7, 944, 11, 9877, 11, 2099, 2860, 653, 11, 1438, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37835, 533, 257, 2099, 5608, 287, 262, 4843, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 9877, 532, 383, 9877, 329, 262, 2099, 5608, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 2099, 2860, 653, 532, 383, 11688, 1220, 2446, 284, 307, 2087, 284, 262, 2099, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1438, 25, 965, 532, 383, 1438, 329, 262, 2099, 2860, 653, 287, 262, 649, 2099, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 16130, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 751, 6030, 22856, 501, 34175, 281, 5994, 22856, 501, 2134, 13, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 7735, 1321, 4145, 460, 307, 1043, 612, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 4906, 22856, 501, 8053, 13, 33295, 7, 6030, 22856, 501, 7, 12683, 1300, 11, 2099, 2860, 653, 11, 1438, 11, 2116, 4008, 628, 220, 220, 220, 825, 751, 1135, 8770, 26410, 7, 944, 11, 5072, 24396, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37835, 533, 257, 649, 356, 8770, 5072, 2496, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 5072, 17410, 532, 383, 2446, 284, 307, 2087, 284, 262, 29594, 26410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17665, 1135, 8770, 26410, 17410, 12331, 532, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 5072, 24396, 318, 407, 257, 2446, 393, 468, 2642, 1271, 286, 10007, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 357, 50032, 284, 2453, 2116, 290, 257, 29594, 26410, 4941, 8, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 10104, 13, 1042, 316, 2065, 7, 22915, 24396, 8, 393, 18896, 7, 1040, 806, 13, 1136, 853, 16684, 7, 22915, 24396, 38381, 15, 12962, 14512, 362, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 17665, 1135, 8770, 26410, 17410, 12331, 7203, 22915, 24396, 1276, 307, 257, 2446, 351, 362, 10007, 357, 944, 11, 29594, 26410, 8, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 26410, 8053, 13, 33295, 7, 22915, 24396, 8, 628, 220, 220, 220, 825, 651, 22856, 501, 8053, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 5608, 8053, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 324, 28281, 8053, 628, 220, 220, 220, 825, 651, 6030, 22856, 501, 8053, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 2099, 22856, 501, 8053, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 4906, 22856, 501, 8053, 628, 220, 220, 220, 825, 651, 1135, 8770, 26410, 8053, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 356, 8770, 26410, 8053, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 26410, 8053, 628, 220, 220, 220, 2488, 397, 8709, 24396, 198, 220, 220, 220, 825, 1388, 1722, 806, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 30150, 966, 329, 281, 4843, 11, 34657, 284, 366, 12417, 1, 287, 257, 1430, 198, 220, 220, 220, 220, 220, 220, 220, 930, 36557, 284, 307, 9177, 416, 597, 850, 1398, 13, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1388, 1722, 806, 481, 307, 1444, 416, 262, 317, 2640, 33, 29594, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 198, 4871, 29594, 7, 15252, 2599, 198, 220, 220, 220, 37227, 464, 366, 5589, 5329, 1, 326, 356, 3080, 4755, 4786, 357, 21170, 15379, 8, 290, 3272, 12, 29753, 198, 220, 220, 220, 4786, 357, 292, 38046, 8, 290, 8075, 257, 36932, 9706, 5202, 286, 3354, 198, 220, 220, 220, 220, 198, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 930, 220, 220, 220, 220, 636, 8053, 532, 383, 1459, 1351, 286, 3354, 198, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 8053, 532, 383, 1459, 1351, 286, 17745, 198, 220, 220, 220, 930, 220, 220, 220, 220, 878, 1870, 3041, 5372, 22856, 501, 8053, 532, 7343, 286, 477, 878, 290, 6330, 5608, 284, 307, 36932, 198, 220, 220, 220, 930, 220, 220, 220, 220, 706, 22856, 501, 8053, 532, 7343, 286, 477, 706, 5608, 284, 307, 36932, 198, 220, 220, 220, 930, 220, 220, 220, 220, 636, 6030, 22856, 501, 8053, 532, 7343, 286, 477, 636, 2099, 5608, 198, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 6030, 22856, 501, 8053, 532, 7343, 286, 477, 27756, 2099, 5608, 198, 220, 220, 220, 930, 220, 220, 220, 220, 10349, 532, 383, 1388, 10349, 198, 220, 220, 220, 930, 220, 220, 220, 220, 7612, 532, 383, 1351, 286, 477, 7612, 284, 307, 36932, 198, 220, 220, 220, 930, 220, 220, 220, 220, 356, 8770, 26410, 1058, 29594, 26410, 532, 383, 366, 5589, 3902, 1, 1255, 198, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 1398, 29594, 26410, 7, 15252, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 29869, 329, 262, 36932, 1255, 286, 262, 29594, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10349, 5376, 532, 262, 1438, 286, 262, 10349, 326, 373, 36932, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 8053, 532, 5201, 6149, 1351, 286, 3354, 287, 262, 1486, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 8053, 532, 1351, 286, 477, 17745, 287, 262, 1486, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 850, 21170, 5013, 8053, 532, 1351, 286, 477, 850, 21170, 15379, 357, 270, 944, 356, 8770, 23862, 8, 357, 3548, 8, 198, 220, 220, 220, 220, 220, 220, 220, 930, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 10349, 11, 1635, 292, 38046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 1039, 286, 262, 356, 8770, 290, 552, 2915, 262, 1486, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10349, 1058, 13588, 532, 383, 1388, 10349, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1635, 292, 38046, 1058, 1081, 806, 532, 1351, 286, 7612, 284, 307, 900, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 21762, 2696, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 13588, 11395, 12331, 532, 1002, 10349, 318, 12515, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 1081, 806, 11395, 12331, 532, 1002, 597, 4843, 318, 12515, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 1870, 3041, 5372, 22856, 501, 8053, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 22856, 501, 8053, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3911, 6030, 22856, 501, 8053, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 6030, 22856, 501, 8053, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21170, 5013, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 292, 38046, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 33479, 25896, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 26410, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1189, 549, 4871, 7, 21170, 5013, 11, 13588, 8, 290, 407, 318, 39098, 7, 21170, 5013, 11, 13588, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 13588, 11395, 12331, 7203, 21170, 5013, 1276, 307, 257, 1398, 393, 4554, 286, 2099, 13588, 19570, 628, 220, 220, 220, 220, 220, 220, 220, 611, 10104, 13, 271, 4871, 7, 21170, 5013, 2599, 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, 2116, 13, 21170, 5013, 796, 10349, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 13588, 11395, 12331, 7203, 6090, 407, 41216, 13588, 366, 1343, 10349, 1343, 366, 1231, 10007, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21170, 5013, 796, 10349, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21170, 5013, 13, 2617, 1135, 8770, 7, 944, 8, 628, 220, 220, 220, 220, 220, 220, 220, 329, 4843, 287, 7612, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1189, 549, 4871, 7, 292, 806, 11, 1081, 806, 8, 290, 407, 318, 39098, 7, 292, 806, 11, 1081, 806, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 1081, 806, 11395, 12331, 7203, 439, 7612, 1276, 307, 6097, 393, 10245, 286, 2099, 1081, 806, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10104, 13, 271, 4871, 7, 292, 806, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 292, 38046, 13, 33295, 7, 292, 806, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 1081, 806, 11395, 12331, 7203, 6090, 407, 41216, 1081, 806, 366, 1343, 4843, 1343, 366, 1231, 10007, 4943, 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, 2116, 13, 292, 38046, 13, 33295, 7, 292, 806, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 732, 8770, 26410, 796, 2116, 13, 1135, 8770, 26410, 7, 944, 13, 21170, 5013, 13, 834, 4871, 834, 13, 834, 3672, 834, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 961, 1722, 38046, 42316, 22856, 501, 43, 1023, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30619, 22856, 501, 8053, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 44889, 318, 12165, 572, 994, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 796, 2116, 13, 732, 8770, 26410, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21170, 5013, 13, 12417, 31560, 5013, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 41571, 44, 2305, 23172, 8053, 1870, 4550, 6030, 22856, 501, 3419, 628, 198, 220, 220, 220, 825, 3297, 22856, 501, 8053, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 10524, 262, 5608, 8341, 416, 38177, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 1870, 3041, 5372, 22856, 501, 8053, 796, 23243, 7, 944, 13, 19052, 1870, 3041, 5372, 22856, 501, 8053, 11, 1994, 28, 30619, 9218, 11, 9575, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 22856, 501, 8053, 796, 23243, 7, 944, 13, 8499, 22856, 501, 8053, 11, 1994, 28, 30619, 9218, 8, 628, 220, 220, 220, 705, 7061, 220, 220, 220, 37227, 37693, 532, 34175, 1351, 286, 25726, 13930, 287, 1486, 290, 6673, 511, 2099, 5608, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5678, 27756, 8053, 532, 428, 815, 2192, 307, 1760, 1141, 44889, 30, 198, 220, 220, 220, 220, 220, 220, 220, 329, 636, 287, 2116, 13, 3911, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 636, 13, 76, 2305, 23172, 32048, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 636, 13, 76, 2305, 23172, 32048, 287, 2116, 13, 76, 2305, 23172, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 8053, 13, 33295, 7, 3911, 13, 76, 2305, 23172, 32048, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 751, 2099, 5608, 284, 17745, 198, 220, 220, 220, 220, 220, 220, 220, 329, 27756, 287, 2116, 13, 76, 2305, 23172, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2099, 22856, 501, 287, 2116, 13, 76, 2305, 23172, 6030, 22856, 501, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 22856, 501, 13, 12683, 1300, 13, 15699, 7, 76, 2305, 23172, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 76, 2305, 23172, 11, 4906, 22856, 501, 13, 3672, 11, 4906, 22856, 501, 13, 4906, 2860, 653, 8, 7061, 6, 628, 220, 220, 220, 825, 1100, 1722, 38046, 42316, 22856, 501, 43, 1023, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 4238, 4340, 7612, 290, 34175, 477, 5608, 8341, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 329, 4843, 287, 2116, 13, 292, 38046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4843, 13, 2617, 1135, 8770, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4843, 13, 12417, 1722, 806, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 5608, 287, 4843, 13, 1136, 22856, 501, 8053, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5608, 13, 4122, 8968, 13, 46616, 6624, 6252, 26254, 13, 8579, 5781, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8499, 22856, 501, 8053, 13, 33295, 7, 324, 28281, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19052, 1870, 3041, 5372, 22856, 501, 8053, 13, 33295, 7, 324, 28281, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2099, 22856, 501, 287, 4843, 13, 1136, 6030, 22856, 501, 8053, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 22856, 501, 13, 271, 7841, 22856, 501, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3911, 6030, 22856, 501, 8053, 13, 33295, 7, 4906, 22856, 501, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 76, 2305, 23172, 6030, 22856, 501, 8053, 13, 33295, 7, 4906, 22856, 501, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 356, 8770, 26410, 796, 2116, 13, 732, 8770, 26410, 220, 1303, 284, 787, 356, 8770, 26410, 7424, 284, 16512, 8354, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 292, 806, 13, 1136, 1135, 8770, 26410, 8053, 28955, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 428, 4843, 3382, 284, 751, 257, 649, 356, 8770, 5072, 2496, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 2198, 611, 257, 12470, 3706, 5072, 2496, 1541, 7160, 290, 5298, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4465, 6631, 357, 38301, 1438, 286, 37003, 2446, 11, 1438, 286, 5608, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 5072, 17410, 287, 4843, 13, 1136, 1135, 8770, 26410, 8053, 33529, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 944, 13, 732, 8770, 26410, 11, 5072, 17410, 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, 220, 220, 220, 220, 220, 220, 220, 220, 3858, 13, 17410, 6030, 7, 22915, 17410, 36918, 2848, 7, 22915, 17410, 828, 4843, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 3424, 510, 11, 1744, 6626, 35847, 290, 6282, 628, 220, 220, 220, 825, 751, 36, 10671, 6030, 22856, 501, 7, 944, 11, 9766, 76, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 6673, 2099, 5608, 284, 257, 636, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1351, 796, 2116, 13, 3911, 6030, 22856, 501, 8053, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 68, 10671, 11, 25726, 23172, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1351, 796, 2116, 13, 76, 2305, 23172, 6030, 22856, 501, 8053, 628, 220, 220, 220, 220, 220, 220, 220, 329, 2099, 22856, 501, 287, 1351, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 22856, 501, 13, 12683, 1300, 13, 15699, 7, 68, 10671, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 2198, 329, 1438, 21022, 986, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10104, 13, 1042, 316, 2065, 7, 4906, 22856, 501, 13, 4906, 2860, 653, 2599, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 68, 10671, 11, 2099, 22856, 501, 13, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3858, 13, 17410, 6030, 7, 324, 28281, 17410, 36918, 2848, 7, 4906, 22856, 501, 13, 4906, 2860, 653, 828, 2099, 22856, 501, 13, 292, 806, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 68, 10671, 11, 2099, 22856, 501, 13, 3672, 11, 2099, 22856, 501, 13, 4906, 2860, 653, 8, 628, 220, 220, 220, 825, 1057, 8421, 1870, 3041, 5372, 22856, 501, 7, 944, 11, 4585, 10267, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 4539, 7413, 290, 40177, 42708, 286, 257, 636, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 329, 543, 262, 5608, 7466, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 5608, 543, 2087, 262, 636, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 35561, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 366, 43043, 1, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 6407, 532, 1002, 636, 815, 991, 307, 2087, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10352, 532, 1002, 636, 468, 587, 6928, 290, 5637, 706, 5608, 10945, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 329, 5608, 287, 2116, 13, 19052, 1870, 3041, 5372, 22856, 501, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 13, 2617, 8421, 7841, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 58, 12, 16, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5608, 13, 4122, 8968, 13, 15699, 7, 3911, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 324, 28281, 13, 4122, 8968, 13, 46616, 6624, 6252, 26254, 13, 2200, 6489, 11598, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 5189, 44, 19775, 42670, 796, 5608, 13, 4122, 8968, 13, 12683, 1300, 13, 17618, 5189, 44, 19775, 42670, 7, 3911, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 1271, 5189, 44, 19775, 42670, 1875, 352, 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, 14421, 1135, 8770, 26410, 13, 3911, 8053, 13, 12924, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 5189, 44, 19775, 42670, 48185, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 42708, 815, 1441, 10352, 611, 407, 6928, 11, 6407, 611, 18407, 2286, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42708, 23004, 796, 5608, 13, 324, 28281, 17410, 7, 12727, 26254, 21947, 7, 944, 13, 33479, 25896, 11, 636, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5143, 3260, 22856, 501, 7, 44714, 10267, 11, 636, 11, 5608, 13, 3866, 771, 594, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 407, 42708, 23004, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5608, 13, 324, 28281, 17410, 7, 12727, 26254, 21947, 7, 944, 13, 33479, 25896, 11, 636, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 220, 220, 220, 825, 1057, 3260, 22856, 501, 7, 944, 11, 4585, 10267, 11, 636, 11, 38177, 28, 22856, 501, 13, 23678, 47, 38827, 1961, 18310, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37693, 532, 4539, 2293, 42708, 286, 257, 636, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 329, 543, 262, 5608, 7466, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 5608, 543, 2087, 262, 636, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 38177, 532, 5514, 1057, 5608, 351, 257, 38177, 3744, 393, 4961, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 16718, 611, 9014, 5608, 468, 587, 10945, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 706, 5608, 389, 6149, 416, 41988, 38177, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 530, 351, 262, 9016, 8475, 318, 10945, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 361, 38177, 4971, 318, 900, 416, 257, 9014, 5608, 11, 356, 481, 691, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 41049, 883, 5608, 351, 18189, 38177, 198, 220, 220, 220, 220, 220, 220, 220, 329, 5608, 287, 2116, 13, 8499, 22856, 501, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 324, 28281, 13, 3866, 771, 594, 18189, 38177, 8, 290, 357, 324, 28281, 13, 4122, 8968, 13, 15699, 7, 3911, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5608, 13, 324, 28281, 17410, 7, 12727, 26254, 21947, 7, 944, 13, 33479, 25896, 11, 636, 4008, 628, 198, 220, 220, 220, 1398, 25726, 23172, 3041, 2673, 2514, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9487, 284, 2380, 262, 826, 1021, 1735, 286, 257, 27756, 6317, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 1398, 25726, 23172, 3041, 2673, 4863, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9487, 284, 2380, 262, 1364, 1021, 1735, 286, 257, 27756, 6317, 198, 220, 220, 220, 220, 220, 220, 220, 290, 7139, 11282, 15582, 416, 625, 25138, 262, 9609, 357, 81, 30846, 8, 10088, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 29021, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 878, 1058, 685, 23002, 1009, 19667, 60, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 317, 1351, 286, 37497, 19667, 5563, 326, 8555, 68, 428, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 706, 1058, 685, 3109, 68, 8110, 19667, 60, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 317, 1351, 286, 37497, 19667, 5563, 326, 1061, 428, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 8354, 1058, 1398, 7, 1135, 8770, 26410, 8, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 1867, 36932, 1080, 318, 428, 10139, 636, 286, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 3090, 25896, 1058, 685, 31560, 5013, 393, 1081, 806, 60, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 8931, 286, 1081, 38046, 290, 7672, 15379, 543, 389, 23710, 284, 751, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 220, 220, 220, 220, 428, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 825, 6317, 4863, 7, 944, 11, 4585, 10267, 11, 17745, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 262, 1364, 1021, 1735, 286, 257, 27756, 6317, 284, 262, 1486, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1444, 416, 2035, 257, 10349, 393, 4843, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17745, 532, 262, 1351, 286, 17745, 319, 262, 300, 11994, 286, 262, 6317, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 44, 2305, 23172, 3041, 2673, 4863, 7, 944, 11, 4585, 10267, 11, 17745, 8, 628, 198, 220, 220, 220, 825, 6317, 2514, 7, 944, 11, 4585, 10267, 11, 17745, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 38052, 284, 751, 262, 826, 1021, 1735, 286, 257, 27756, 6317, 284, 262, 1486, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1444, 416, 2035, 257, 10349, 393, 4843, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 17745, 532, 262, 1351, 286, 17745, 319, 262, 9529, 82, 286, 262, 6317, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 44, 2305, 23172, 3041, 2673, 2514, 7, 76, 2305, 13930, 8, 628, 220, 220, 220, 825, 1330, 44, 2305, 23172, 7, 944, 11, 4585, 10267, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5497, 16856, 326, 257, 27756, 815, 307, 366, 320, 9213, 1, 416, 262, 1459, 26247, 422, 198, 220, 220, 220, 220, 220, 220, 220, 220, 262, 12076, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 532, 262, 27756, 284, 307, 17392, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1724, 326, 356, 389, 1972, 257, 27756, 422, 262, 1306, 4025, 8354, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 2198, 326, 356, 389, 407, 287, 503, 395, 8354, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 36437, 532, 1521, 815, 651, 11770, 293, 23172, 986, 1011, 281, 2134, 3548, 340, 338, 4441, 606, 706, 439, 986, 815, 1011, 1398, 1438, 30, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 645, 30, 3863, 30, 198, 220, 220, 220, 220, 220, 220, 220, 17392, 44, 2305, 23172, 24546, 796, 2116, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 8000, 31560, 5013, 11, 27756, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1339, 352, 25, 27756, 1541, 7160, 287, 8354, 290, 2476, 284, 307, 23791, 198, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 2116, 13, 14421, 1135, 8770, 26410, 13, 76, 2305, 23172, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 43132, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 13, 19052, 13, 33295, 7, 320, 9213, 44, 2305, 23172, 24546, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17392, 44, 2305, 23172, 24546, 13, 8499, 13, 33295, 7, 43132, 8, 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, 1303, 4306, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7442, 362, 25, 27756, 1595, 470, 2152, 1865, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17953, 44, 2305, 23172, 7, 44714, 10267, 11, 27756, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 783, 356, 460, 751, 340, 2884, 1339, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 11748, 44, 2305, 23172, 7, 44714, 10267, 11, 27756, 8, 628, 198, 220, 220, 220, 825, 10784, 44, 2305, 23172, 7, 944, 11, 4585, 10267, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5497, 16856, 326, 257, 27756, 815, 307, 366, 1069, 9213, 1, 416, 262, 1459, 26247, 284, 198, 220, 220, 220, 220, 220, 220, 220, 220, 262, 12076, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 532, 262, 27756, 284, 307, 29050, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 4049, 10627, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 304, 13, 70, 13, 611, 27756, 1541, 7160, 357, 4360, 1744, 814, 1142, 316, 10245, 3548, 9828, 286, 19122, 30, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 2560, 1595, 470, 2152, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 44, 2305, 23172, 796, 2116, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 14421, 1135, 8770, 26410, 11, 27756, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1339, 352, 25, 262, 27756, 1541, 7160, 287, 262, 12076, 8354, 290, 2476, 284, 307, 2087, 284, 663, 4823, 198, 220, 220, 220, 220, 220, 220, 220, 329, 18605, 287, 2116, 13, 14421, 1135, 8770, 26410, 13, 8000, 31560, 5013, 13, 76, 2305, 23172, 8053, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 43132, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18605, 13, 19052, 13, 33295, 7, 39344, 44, 2305, 23172, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10784, 44, 2305, 23172, 13, 8499, 13, 33295, 7, 43132, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4306, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7442, 362, 25, 27756, 466, 641, 470, 2152, 1865, 287, 12076, 8354, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 8000, 31560, 5013, 11, 27756, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 39344, 44, 2305, 23172, 7, 44714, 10267, 11, 27756, 8, 628, 198, 220, 220, 220, 825, 2251, 44, 2305, 23172, 7, 944, 11, 4585, 10267, 11, 27756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 5497, 16856, 326, 257, 27756, 318, 6196, 1944, 287, 262, 1459, 26247, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 13, 68, 13, 340, 857, 407, 6646, 761, 284, 307, 2727, 416, 257, 327, 7656, 17718, 11, 416, 281, 1330, 11, 3503, 13, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 27756, 532, 262, 27756, 284, 307, 1944, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1136, 44, 2305, 23172, 10267, 7, 944, 13, 14421, 1135, 8770, 26410, 11, 27756, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 11, 611, 2251, 318, 900, 284, 2081, 11, 815, 1682, 989, 281, 4049, 611, 27756, 1541, 7160, 13, 628, 198, 220, 220, 220, 825, 751, 31560, 5013, 7, 944, 11, 4585, 10267, 11, 10349, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 34, 4262, 416, 10349, 393, 4843, 284, 751, 257, 10349, 355, 257, 850, 12, 5589, 1823, 287, 262, 1459, 26247, 628, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 10349, 532, 383, 10349, 284, 307, 2087, 355, 257, 850, 12, 5589, 1823, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 4598, 2198, 10349, 198, 220, 220, 220, 220, 220, 220, 220, 10349, 10267, 796, 10349, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 649, 31560, 5013, 796, 2116, 13, 1135, 8770, 26410, 7, 21170, 5013, 10267, 13, 834, 4871, 834, 13, 834, 3672, 834, 11, 2116, 13, 14421, 1135, 8770, 26410, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 13, 86, 16206, 31560, 5013, 8053, 13, 33295, 7, 3605, 31560, 5013, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 796, 649, 31560, 5013, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 649, 850, 10349, 318, 900, 510, 13, 645, 356, 1183, 37982, 340, 628, 220, 220, 220, 220, 220, 220, 220, 10349, 10267, 13, 2617, 1135, 8770, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10349, 10267, 13, 12417, 31560, 5013, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 796, 2116, 13, 14421, 1135, 8770, 26410, 13, 8000, 31560, 5013, 628, 220, 220, 220, 825, 751, 7841, 7, 944, 11, 4585, 10267, 11, 636, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 34, 4262, 416, 10349, 393, 4843, 284, 751, 257, 636, 287, 262, 9706, 5202, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 930, 1635, 42035, 25, 9, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 4585, 10267, 532, 262, 10349, 393, 4843, 4585, 428, 198, 220, 220, 220, 220, 220, 220, 220, 930, 220, 220, 220, 220, 636, 532, 383, 636, 4385, 284, 307, 2087, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 636, 796, 2198, 1532, 6030, 13615, 33384, 7, 3911, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 636, 13, 14933, 10223, 796, 2116, 13, 14421, 1135, 8770, 26410, 198, 220, 220, 220, 220, 220, 220, 220, 636, 13, 29982, 796, 2116, 13, 14421, 1135, 8770, 26410, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 33479, 25896, 13, 33295, 7, 44714, 10267, 8, 198, 220, 220, 220, 220, 220, 220, 220, 636, 13, 2860, 653, 25896, 796, 2116, 13, 33479, 25896, 58, 47715, 198, 220, 220, 220, 220, 220, 220, 220, 2555, 32901, 7841, 796, 2116, 13, 5143, 8421, 1870, 3041, 5372, 22856, 501, 7, 44714, 10267, 11, 636, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 878, 4375, 262, 636, 11, 751, 597, 2099, 5608, 628, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2555, 32901, 7841, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 13, 732, 1015, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 3424, 428, 510, 11, 262, 25745, 2071, 986, 628, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2860, 36, 10671, 6030, 22856, 501, 7, 3911, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 262, 636, 318, 257, 24185, 11, 356, 555, 8002, 340, 994, 13, 4306, 356, 3443, 751, 262, 636, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 3911, 11, 13588, 8, 6624, 10352, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 751, 878, 1220, 706, 1321, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 58, 12, 16, 4083, 2617, 3260, 7841, 7, 3911, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 13, 2617, 8421, 7841, 7, 944, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 58, 12, 16, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 14421, 1135, 8770, 26410, 13, 3911, 8053, 13, 33295, 7, 3911, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 10349, 318, 407, 23224, 351, 257, 356, 8770, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 13, 2617, 1135, 8770, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 13, 12417, 31560, 5013, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5143, 3260, 22856, 501, 7, 44714, 10267, 11, 636, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 33479, 25896, 13, 12924, 3419, 628, 198, 220, 220, 220, 825, 5072, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 35561, 262, 356, 8770, 26410, 11703, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 732, 8770, 26410, 628, 198, 4871, 25726, 23172, 11395, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 44, 2305, 23172, 373, 2938, 11, 475, 1223, 2073, 373, 1813, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 2142, 24243, 1634, 12331, 7, 16922, 2599, 198, 220, 220, 220, 37227, 7841, 373, 2938, 11, 475, 1223, 2073, 373, 1813, 37811, 628, 198, 4871, 2142, 11395, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 7841, 373, 2938, 11, 475, 1223, 2073, 373, 1813, 37811, 628, 198, 4871, 17665, 13940, 23650, 5376, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 32, 6194, 1438, 357, 8841, 8, 373, 407, 9380, 39559, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 38357, 3109, 1023, 20361, 7, 12982, 20361, 2599, 198, 220, 220, 220, 37227, 32, 2142, 393, 25726, 23172, 14305, 3544, 281, 4683, 1438, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 11712, 1300, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 32, 9877, 357, 12727, 26254, 1220, 2142, 1220, 25726, 23172, 8, 318, 23175, 39559, 393, 25683, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 12727, 26254, 16870, 2234, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 1858, 318, 281, 4049, 287, 257, 6252, 9712, 5408, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 12727, 26254, 18843, 1352, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 2025, 6439, 393, 5293, 10088, 373, 973, 329, 262, 966, 2005, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 12727, 26254, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 15252, 286, 2099, 6252, 26254, 2938, 11, 475, 1223, 2073, 1813, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 22856, 501, 17410, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 24396, 351, 362, 10007, 2938, 11, 475, 1223, 2073, 1813, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 17665, 1135, 8770, 26410, 17410, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 351, 362, 10007, 2938, 11, 475, 1223, 2073, 1813, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 3771, 771, 594, 7975, 5189, 17257, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 2025, 6439, 393, 5293, 10088, 373, 973, 329, 262, 966, 2005, 37811, 198, 220, 220, 220, 1208, 628, 198, 4871, 1081, 806, 11395, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 2025, 1081, 806, 1398, 373, 2938, 11, 475, 1223, 2073, 1813, 37811, 628, 198, 4871, 13588, 11395, 12331, 7, 11395, 12331, 2599, 198, 220, 220, 220, 37227, 32, 13588, 1398, 373, 2938, 11, 475, 1223, 2073, 1813, 37811, 198 ]
2.468112
25,684
from setuptools import setup, Extension import re description = 'A python library to evolve binary star systems in time.' try: with open('README.md', 'r') as f: long_description = f.read() except FileNotFoundError: long_description = description metadata = {"version": "", "author": "", "email": "" } metadata_file = open("takahe/_metadata.py", "rt").read() for item in metadata.keys(): version_regex = rf"^__{item}__ = ['\"]([^'\"]*)['\"]" match = re.search(version_regex, metadata_file, re.M) if match: metadata[item] = match.group(1) setup(name='takahe', license = 'MIT License', version = metadata['version'], description = description, long_description = long_description, author = metadata['author'], author_email = metadata['email'], packages = ['takahe'], zip_safe = False, homepage = 'https://github.com/Krytic/Takahe', install_requires = ['numpy', 'matplotlib', 'numba', 'pandas==1.0.1', 'diffeqpy' ] )
[ 6738, 900, 37623, 10141, 1330, 9058, 11, 27995, 198, 11748, 302, 198, 198, 11213, 796, 705, 32, 21015, 5888, 284, 18101, 13934, 3491, 3341, 287, 640, 2637, 198, 198, 28311, 25, 198, 220, 220, 220, 351, 1280, 10786, 15675, 11682, 13, 9132, 3256, 705, 81, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 890, 62, 11213, 796, 277, 13, 961, 3419, 198, 16341, 9220, 3673, 21077, 12331, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 6764, 198, 198, 38993, 796, 19779, 9641, 1298, 366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9800, 1298, 366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12888, 1298, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 198, 38993, 62, 7753, 796, 1280, 7203, 83, 8130, 258, 47835, 38993, 13, 9078, 1600, 366, 17034, 11074, 961, 3419, 198, 198, 1640, 2378, 287, 20150, 13, 13083, 33529, 198, 220, 220, 220, 2196, 62, 260, 25636, 796, 374, 69, 1, 61, 834, 90, 9186, 92, 834, 796, 37250, 7879, 16151, 58, 61, 6, 7879, 60, 28104, 17816, 7879, 30866, 628, 220, 220, 220, 2872, 796, 302, 13, 12947, 7, 9641, 62, 260, 25636, 11, 20150, 62, 7753, 11, 302, 13, 44, 8, 628, 220, 220, 220, 611, 2872, 25, 198, 220, 220, 220, 220, 220, 220, 220, 20150, 58, 9186, 60, 796, 2872, 13, 8094, 7, 16, 8, 198, 198, 40406, 7, 3672, 11639, 83, 8130, 258, 3256, 198, 220, 220, 220, 220, 220, 5964, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 36393, 13789, 3256, 198, 220, 220, 220, 220, 220, 2196, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20150, 17816, 9641, 6, 4357, 198, 220, 220, 220, 220, 220, 6764, 220, 220, 220, 220, 220, 220, 796, 6764, 11, 198, 220, 220, 220, 220, 220, 890, 62, 11213, 220, 796, 890, 62, 11213, 11, 198, 220, 220, 220, 220, 220, 1772, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20150, 17816, 9800, 6, 4357, 198, 220, 220, 220, 220, 220, 1772, 62, 12888, 220, 220, 220, 220, 220, 796, 20150, 17816, 12888, 6, 4357, 198, 220, 220, 220, 220, 220, 10392, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 37250, 83, 8130, 258, 6, 4357, 198, 220, 220, 220, 220, 220, 19974, 62, 21230, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 34940, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 5450, 1378, 12567, 13, 785, 14, 42, 563, 13370, 14, 51, 8130, 258, 3256, 198, 220, 220, 220, 220, 220, 2721, 62, 47911, 220, 796, 37250, 77, 32152, 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, 6759, 29487, 8019, 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, 77, 2178, 64, 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, 79, 392, 292, 855, 16, 13, 15, 13, 16, 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, 67, 22391, 80, 9078, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 1267, 198 ]
1.988959
634
from __future__ import absolute_import from __future__ import division from __future__ import print_function from sklearn.preprocessing import Normalizer from SharedFunctions import get_current_time, fmt, find_accuracy from datetime import datetime from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from ReadPreprocessData import read_preprocess from Tokenize import tokenize import numpy as np import tensorflow as tf import scipy.sparse as ss tf.logging.set_verbosity(tf.logging.INFO) vectorizer = TfidfVectorizer(tokenizer=tokenize, stop_words='english') if __name__ == "__main__": tf.app.run()
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 6738, 11593, 37443, 834, 1330, 7297, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 14435, 7509, 198, 6738, 39403, 24629, 2733, 1330, 651, 62, 14421, 62, 2435, 11, 46996, 11, 1064, 62, 4134, 23843, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 6738, 1341, 35720, 13, 30053, 62, 2302, 7861, 13, 5239, 1330, 309, 69, 312, 69, 38469, 7509, 11, 2764, 38469, 7509, 198, 6738, 4149, 6719, 14681, 6601, 1330, 1100, 62, 3866, 14681, 198, 6738, 29130, 1096, 1330, 11241, 1096, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 629, 541, 88, 13, 82, 29572, 355, 37786, 198, 198, 27110, 13, 6404, 2667, 13, 2617, 62, 19011, 16579, 7, 27110, 13, 6404, 2667, 13, 10778, 8, 198, 198, 31364, 7509, 796, 309, 69, 312, 69, 38469, 7509, 7, 30001, 7509, 28, 30001, 1096, 11, 2245, 62, 10879, 11639, 39126, 11537, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 48700, 13, 1324, 13, 5143, 3419 ]
3.397849
186
from __future__ import absolute_import, division, print_function import boost_adaptbx.boost.python as bp bp.import_ext("cctbx_covariance_ext") from cctbx_covariance_ext import *
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 11748, 5750, 62, 42552, 65, 87, 13, 39521, 13, 29412, 355, 275, 79, 198, 46583, 13, 11748, 62, 2302, 7203, 66, 310, 65, 87, 62, 66, 709, 2743, 590, 62, 2302, 4943, 198, 6738, 269, 310, 65, 87, 62, 66, 709, 2743, 590, 62, 2302, 1330, 1635, 198 ]
2.825397
63
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # 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. """Base class for evaluation metrics.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc class Scorer(object): """Abstract base class for computing evaluation metrics.""" __metaclass__ = abc.ABCMeta @abc.abstractmethod @abc.abstractmethod @abc.abstractmethod # def get_results(self, prefix=""): # results = self._get_results() if self._updated else self._cached_results # self._cached_results = results # self._updated = False # return [(prefix + k, v) for k, v in results]
[ 2, 19617, 28, 40477, 12, 23, 198, 2, 15069, 12131, 383, 3012, 4992, 46665, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 37811, 14881, 1398, 329, 12660, 20731, 526, 15931, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 6738, 11593, 37443, 834, 1330, 7297, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 198, 11748, 450, 66, 628, 198, 4871, 1446, 11934, 7, 15252, 2599, 198, 220, 220, 220, 37227, 23839, 2779, 1398, 329, 14492, 12660, 20731, 526, 15931, 628, 220, 220, 220, 11593, 4164, 330, 31172, 834, 796, 450, 66, 13, 24694, 48526, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 628, 220, 220, 220, 1303, 825, 651, 62, 43420, 7, 944, 11, 21231, 33151, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2482, 796, 2116, 13557, 1136, 62, 43420, 3419, 611, 2116, 13557, 43162, 2073, 2116, 13557, 66, 2317, 62, 43420, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13557, 66, 2317, 62, 43420, 796, 2482, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2116, 13557, 43162, 796, 10352, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1441, 47527, 40290, 1343, 479, 11, 410, 8, 329, 479, 11, 410, 287, 2482, 60, 198 ]
3.348901
364
from pico_code.host.talker import Talker import turtle talker = Talker() turtle = turtle.Turtle() while True: text = talker.receive() x,y = [convert(text) for text in text.split()] turtle.setx(x) turtle.sety(y)
[ 6738, 279, 3713, 62, 8189, 13, 4774, 13, 16620, 263, 1330, 12167, 263, 198, 11748, 28699, 198, 198, 16620, 263, 796, 12167, 263, 3419, 198, 83, 17964, 796, 28699, 13, 51, 17964, 3419, 628, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 2420, 796, 1561, 263, 13, 260, 15164, 3419, 198, 220, 220, 220, 2124, 11, 88, 796, 685, 1102, 1851, 7, 5239, 8, 329, 2420, 287, 220, 2420, 13, 35312, 3419, 60, 198, 220, 220, 220, 28699, 13, 2617, 87, 7, 87, 8, 198, 220, 220, 220, 28699, 13, 2617, 88, 7, 88, 8, 198 ]
2.391753
97
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-10-29 18:33 from __future__ import unicode_literals from django.db import migrations from django_airavata.apps.auth.models import ( NEW_USER_EMAIL_TEMPLATE, VERIFY_EMAIL_TEMPLATE )
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 1157, 13, 1433, 319, 2864, 12, 940, 12, 1959, 1248, 25, 2091, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 198, 198, 6738, 42625, 14208, 62, 958, 615, 1045, 13, 18211, 13, 18439, 13, 27530, 1330, 357, 198, 220, 220, 220, 12682, 62, 29904, 62, 27630, 4146, 62, 51, 3620, 6489, 6158, 11, 198, 220, 220, 220, 33310, 5064, 56, 62, 27630, 4146, 62, 51, 3620, 6489, 6158, 198, 8, 628, 198 ]
2.40566
106
from sleekxmpp.plugins.base import register_plugin as _register_plugin from sleekpromises.scheduler import sleekpromises_scheduler as _scheduler def register_sleek_promises(): """ Register the sleek promises components for the sleek xmpp framework. :return: """ _register_plugin(_scheduler)
[ 6738, 33143, 87, 76, 381, 13, 37390, 13, 8692, 1330, 7881, 62, 33803, 355, 4808, 30238, 62, 33803, 198, 198, 6738, 33143, 16963, 2696, 13, 1416, 704, 18173, 1330, 33143, 16963, 2696, 62, 1416, 704, 18173, 355, 4808, 1416, 704, 18173, 628, 198, 4299, 7881, 62, 26738, 988, 62, 16963, 2696, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 17296, 262, 33143, 10497, 6805, 329, 262, 33143, 2124, 76, 381, 9355, 13, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4808, 30238, 62, 33803, 28264, 1416, 704, 18173, 8, 198 ]
3.14
100
# git clone https://github.com/GoogleCloudPlatform/microservices-demo.git # cd microservices-demo/src/loadgenerator # export FRONTEND_ADDR=localhost # rename : sock shop locustfile.py to locustfile.py # ./loadgen.sh # sock shop locustfile.py file # loadgen.sh is using test steps in : locustfile.py for steps import random from locust import HttpUser, TaskSet, between from random import randint, choice
[ 2, 17606, 17271, 3740, 1378, 12567, 13, 785, 14, 11708, 18839, 37148, 14, 24055, 30416, 12, 9536, 78, 13, 18300, 201, 198, 2, 22927, 4580, 30416, 12, 9536, 78, 14, 10677, 14, 2220, 8612, 1352, 201, 198, 201, 198, 2, 10784, 8782, 35830, 10619, 62, 2885, 7707, 28, 36750, 201, 198, 201, 198, 2, 36265, 1058, 32263, 6128, 1179, 436, 7753, 13, 9078, 220, 220, 284, 1179, 436, 7753, 13, 9078, 201, 198, 2, 220, 24457, 2220, 5235, 13, 1477, 201, 198, 201, 198, 2, 32263, 6128, 1179, 436, 7753, 13, 9078, 220, 2393, 201, 198, 2, 220, 3440, 5235, 13, 1477, 318, 1262, 1332, 4831, 287, 1058, 1179, 436, 7753, 13, 9078, 329, 4831, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 11748, 4738, 201, 198, 6738, 1179, 436, 1330, 367, 29281, 12982, 11, 15941, 7248, 11, 1022, 201, 198, 6738, 4738, 1330, 43720, 600, 11, 3572, 201, 198, 220, 220, 220, 220, 201, 198 ]
2.75625
160
import ansible.inventory.manager import ansible.constants import ansible.parsing.dataloader
[ 11748, 9093, 856, 13, 24807, 13, 37153, 198, 11748, 9093, 856, 13, 9979, 1187, 198, 11748, 9093, 856, 13, 79, 945, 278, 13, 67, 10254, 1170, 263, 628, 198 ]
3.241379
29
# =============================================================== # Author: Rodolfo Ferro # Email: [email protected] # Twitter: @FerroRodolfo # # ABOUT COPYING OR USING PARTIAL INFORMATION: # This script was originally created by Rodolfo Ferro, for # his workshop in PythonDay Mexico 2018 at CUCEA in Gdl, Mx. # Any explicit usage of this script or its contents is granted # according to the license provided and its conditions. # =============================================================== # -*- coding: utf-8 -*- from keras.datasets import mnist from random import randint import cv2 def digit_downloader(number_of_digits, path): """ Utility funciton to download random digits. """ # Load data: (X_train, y_train), (X_test, y_test) = mnist.load_data() # Generate random indices: digits = [randint(0, 59000) for i in range(number_of_digits)] # Save images: for digit in digits: cv2.imwrite(path + '{}.png'.format(digit), X_train[digit]) return if __name__ == "__main__": digit_downloader(3, "../assets/")
[ 2, 46111, 4770, 25609, 855, 198, 2, 6434, 25, 6882, 4024, 78, 12880, 305, 198, 2, 9570, 25, 11354, 305, 31, 66, 320, 265, 13, 36802, 198, 2, 3009, 25, 2488, 43362, 305, 27917, 4024, 78, 198, 2, 198, 2, 33478, 27975, 45761, 6375, 1294, 2751, 16652, 12576, 38044, 25, 198, 2, 770, 4226, 373, 6198, 2727, 416, 6882, 4024, 78, 12880, 305, 11, 329, 198, 2, 465, 20243, 287, 11361, 12393, 5828, 2864, 379, 29369, 5222, 32, 287, 402, 25404, 11, 337, 87, 13, 198, 2, 4377, 7952, 8748, 286, 428, 4226, 393, 663, 10154, 318, 7520, 198, 2, 1864, 284, 262, 5964, 2810, 290, 663, 3403, 13, 198, 2, 46111, 4770, 25609, 855, 198, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 41927, 292, 13, 19608, 292, 1039, 1330, 285, 77, 396, 198, 6738, 4738, 1330, 43720, 600, 198, 11748, 269, 85, 17, 628, 198, 4299, 16839, 62, 15002, 263, 7, 17618, 62, 1659, 62, 12894, 896, 11, 3108, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 34030, 25439, 37752, 284, 4321, 4738, 19561, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 8778, 1366, 25, 198, 220, 220, 220, 357, 55, 62, 27432, 11, 331, 62, 27432, 828, 357, 55, 62, 9288, 11, 331, 62, 9288, 8, 796, 285, 77, 396, 13, 2220, 62, 7890, 3419, 628, 220, 220, 220, 1303, 2980, 378, 4738, 36525, 25, 198, 220, 220, 220, 19561, 796, 685, 25192, 600, 7, 15, 11, 7863, 830, 8, 329, 1312, 287, 2837, 7, 17618, 62, 1659, 62, 12894, 896, 15437, 628, 220, 220, 220, 1303, 12793, 4263, 25, 198, 220, 220, 220, 329, 16839, 287, 19561, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 85, 17, 13, 320, 13564, 7, 6978, 1343, 705, 90, 27422, 11134, 4458, 18982, 7, 27003, 828, 1395, 62, 27432, 58, 27003, 12962, 628, 220, 220, 220, 1441, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 16839, 62, 15002, 263, 7, 18, 11, 366, 40720, 19668, 14, 4943, 198 ]
3.036932
352
from __future__ import print_function import argparse import gzip import io import os import sys from collections import defaultdict from consplice.constraint.utils import get_alternative_gene_symbols from interlap import InterLap # ------------------------------------------------------------------------------------------------------------------------------------------------------ ## Argument Parser # ------------------------------------------------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------------------------------------------------ ## Functions # ------------------------------------------------------------------------------------------------------------------------------------------------------ def create_hexevent_interlap(file_path, zero_based): """ create_hexevent_interlap ======================== This method is used to create interlap objects of HEXEvent features. (Constitutive or cassette exons). It will iterate through each feature in the file and add it to the chromosome specific interlap object in the dictionary. It uses the names of the columns from the HEXEvent files. This function will not work if the column names have been changed. Removes any chr prefix if it exists. The start position is set to 1-based if it is designated as a 0-based start position. Parameters: ----------- 1) file_path: (str) Path to the HEXEvent txt file (of constitutive or cassette exon features). 2) zero_based: (bool) True if zero-based start position else False Returns: ++++++++ 1) (dict) A dict of interlap objects. Each interlap object contains of tuple of: (1-based start pos, end-pos, {strand, constitLevel, inclLevel, genename}) """ interlap_dict = defaultdict(InterLap) try: fh = ( gzip.open(file_path, "rt", encoding="utf-8") if file_path.endswith(".gz") else io.open(file_path, "rt", encoding="utf-8") ) except IOError as e: print("\n!!ERROR!! unable to open file: '{}'".format(file_path)) print(str(e)) sys.exit(1) header = fh.readline().strip().split("\t") for line in fh: line_dict = dict(zip(header, line.strip().split("\t"))) ## Skip any lines that are missing data if "start" not in line_dict: continue start = int(line_dict["start"]) + 1 if zero_based else int(line_dict["start"]) end = int(line_dict["end"]) ## create interlap object interlap_dict[line_dict["chromo"].replace("chr", "")].add( ( start, end, { "strand": line_dict["strand"], "constitLevel": line_dict["constitLevel"], "inclLevel": line_dict["inclLevel"], "genename": line_dict["genename"], }, ) ) fh.close() return interlap_dict def overlapping_exon( feature_chrom, feature_start, feature_end, feature_strand, feature_gene, alt_gene_dict, interlap_object, ): """ overlapping_exon ================ This method is used to identify exons from a gtf file that overlap a feature from an interlap object. This method assumes that the start positions of the interlap object are 1-based, and that the chromosome name does not have a 'chr' prefix. It also will only identify if an overlap if the exon has the same start, end, strand, and gene name. This method expects that the interlap object is based on the HEXEvent data file and that it contains a dictionary with the 'strand', 'constitLevel', 'inclLevel', 'strand' feature values. Parameters: ----------- 1) feature_chrom: (str) The gtf chromosome name 2) feature_start: (int) The start position of the gtf feature 3) feature_end: (int) The end position of the gtf feature 4) feature_strand: (str) The strand of the gtf feature 5) feature_gene: (str) The name of the gene for the gtf feature 6) alt_gene_dict: (dict) A dictionary of alt gene symbols 7) interlap_object: (dict) A dictionary of interlap object features to identify overlaps from Returns: ++++++++ 1) (bool) True or False whether a matching overlap feature was found 2) (str) The constitLevel value from the overlapping feature or an empty string 3) (str) The inclLevel value from the overlapping feature or an empty string """ for exon in interlap_object[feature_chrom.replace("chr", "")].find( (int(feature_start), int(feature_end)) ): same_start = int(exon[0]) == int(feature_start) same_end = int(exon[1]) == int(feature_end) same_strand = exon[2]["strand"] == feature_strand same_gene = any( True if x == feature_gene or x in alt_gene_dict[feature_gene] else False for x in exon[2]["genename"].strip().split(",") ) return ( True if same_start and same_end and same_strand and same_gene else False, exon[2]["constitLevel"], exon[2]["inclLevel"], ) return (False, "", "") # ------------------------------------------------------------------------------------------------------------------------------------------------------ ## Main # ------------------------------------------------------------------------------------------------------------------------------------------------------ if __name__ == "__main__": sys.exit(main() or 0)
[ 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 198, 11748, 1822, 29572, 198, 11748, 308, 13344, 198, 11748, 33245, 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 17268, 1330, 4277, 11600, 198, 198, 6738, 762, 489, 501, 13, 1102, 2536, 2913, 13, 26791, 1330, 651, 62, 33645, 876, 62, 70, 1734, 62, 1837, 2022, 10220, 198, 6738, 987, 37796, 1330, 4225, 43, 499, 198, 198, 2, 16529, 10097, 19351, 438, 198, 2235, 45751, 23042, 263, 198, 2, 16529, 10097, 19351, 438, 628, 198, 198, 2, 16529, 10097, 19351, 438, 198, 2235, 40480, 198, 2, 16529, 10097, 19351, 438, 628, 198, 4299, 2251, 62, 33095, 15596, 62, 3849, 37796, 7, 7753, 62, 6978, 11, 6632, 62, 3106, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2251, 62, 33095, 15596, 62, 3849, 37796, 198, 220, 220, 220, 36658, 1421, 18604, 198, 220, 220, 220, 770, 2446, 318, 973, 284, 2251, 987, 37796, 5563, 286, 367, 6369, 9237, 3033, 13, 357, 34184, 270, 8827, 393, 42812, 409, 684, 737, 632, 481, 11629, 378, 832, 198, 220, 220, 220, 220, 1123, 3895, 287, 262, 2393, 290, 751, 340, 284, 262, 34348, 2176, 987, 37796, 2134, 287, 262, 22155, 13, 632, 3544, 262, 3891, 286, 262, 15180, 198, 220, 220, 220, 220, 422, 262, 367, 6369, 9237, 3696, 13, 770, 2163, 481, 407, 670, 611, 262, 5721, 3891, 423, 587, 3421, 13, 3982, 5241, 597, 442, 81, 21231, 611, 340, 7160, 13, 198, 220, 220, 220, 220, 383, 923, 2292, 318, 900, 284, 352, 12, 3106, 611, 340, 318, 11032, 355, 257, 657, 12, 3106, 923, 2292, 13, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 24200, 6329, 198, 220, 220, 220, 352, 8, 2393, 62, 6978, 25, 357, 2536, 8, 10644, 284, 262, 367, 6369, 9237, 256, 742, 2393, 357, 1659, 7892, 8827, 393, 42812, 409, 261, 3033, 737, 198, 220, 220, 220, 362, 8, 6632, 62, 3106, 25, 357, 30388, 8, 6407, 611, 6632, 12, 3106, 923, 2292, 2073, 10352, 628, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 1343, 14030, 45340, 198, 220, 220, 220, 352, 8, 357, 11600, 8, 317, 8633, 286, 987, 37796, 5563, 13, 5501, 987, 37796, 2134, 4909, 286, 46545, 286, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 16, 12, 3106, 923, 1426, 11, 886, 12, 1930, 11, 1391, 2536, 392, 11, 7892, 4971, 11, 13358, 4971, 11, 2429, 12453, 30072, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 987, 37796, 62, 11600, 796, 4277, 11600, 7, 9492, 43, 499, 8, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 277, 71, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 13344, 13, 9654, 7, 7753, 62, 6978, 11, 366, 17034, 1600, 21004, 2625, 40477, 12, 23, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2393, 62, 6978, 13, 437, 2032, 342, 7, 1911, 34586, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 33245, 13, 9654, 7, 7753, 62, 6978, 11, 366, 17034, 1600, 21004, 2625, 40477, 12, 23, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 2845, 24418, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 77, 3228, 24908, 3228, 5906, 284, 1280, 2393, 25, 705, 90, 92, 6, 1911, 18982, 7, 7753, 62, 6978, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 2536, 7, 68, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 628, 220, 220, 220, 13639, 796, 277, 71, 13, 961, 1370, 22446, 36311, 22446, 35312, 7203, 59, 83, 4943, 628, 220, 220, 220, 329, 1627, 287, 277, 71, 25, 628, 220, 220, 220, 220, 220, 220, 220, 1627, 62, 11600, 796, 8633, 7, 13344, 7, 25677, 11, 1627, 13, 36311, 22446, 35312, 7203, 59, 83, 1, 22305, 628, 220, 220, 220, 220, 220, 220, 220, 22492, 32214, 597, 3951, 326, 389, 4814, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 9688, 1, 407, 287, 1627, 62, 11600, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 923, 796, 493, 7, 1370, 62, 11600, 14692, 9688, 8973, 8, 1343, 352, 611, 6632, 62, 3106, 2073, 493, 7, 1370, 62, 11600, 14692, 9688, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 796, 493, 7, 1370, 62, 11600, 14692, 437, 8973, 8, 628, 220, 220, 220, 220, 220, 220, 220, 22492, 2251, 987, 37796, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 987, 37796, 62, 11600, 58, 1370, 62, 11600, 14692, 28663, 78, 1, 4083, 33491, 7203, 354, 81, 1600, 366, 4943, 4083, 2860, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2536, 392, 1298, 1627, 62, 11600, 14692, 2536, 392, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9979, 270, 4971, 1298, 1627, 62, 11600, 14692, 9979, 270, 4971, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 259, 565, 4971, 1298, 1627, 62, 11600, 14692, 259, 565, 4971, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5235, 12453, 1298, 1627, 62, 11600, 14692, 5235, 12453, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 277, 71, 13, 19836, 3419, 628, 220, 220, 220, 1441, 987, 37796, 62, 11600, 628, 198, 4299, 32997, 62, 1069, 261, 7, 198, 220, 220, 220, 3895, 62, 28663, 11, 198, 220, 220, 220, 3895, 62, 9688, 11, 198, 220, 220, 220, 3895, 62, 437, 11, 198, 220, 220, 220, 3895, 62, 2536, 392, 11, 198, 220, 220, 220, 3895, 62, 70, 1734, 11, 198, 220, 220, 220, 5988, 62, 70, 1734, 62, 11600, 11, 198, 220, 220, 220, 987, 37796, 62, 15252, 11, 198, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 32997, 62, 1069, 261, 198, 220, 220, 220, 796, 25609, 18604, 198, 220, 220, 220, 770, 2446, 318, 973, 284, 5911, 409, 684, 422, 257, 308, 27110, 2393, 326, 21721, 257, 3895, 422, 281, 987, 37796, 2134, 13, 770, 2446, 18533, 198, 220, 220, 220, 220, 326, 262, 923, 6116, 286, 262, 987, 37796, 2134, 389, 352, 12, 3106, 11, 290, 326, 262, 34348, 1438, 857, 407, 423, 257, 705, 354, 81, 6, 21231, 13, 198, 220, 220, 220, 220, 632, 635, 481, 691, 5911, 611, 281, 21721, 611, 262, 409, 261, 468, 262, 976, 923, 11, 886, 11, 37923, 11, 290, 9779, 1438, 13, 628, 220, 220, 220, 770, 2446, 13423, 326, 262, 987, 37796, 2134, 318, 1912, 319, 262, 367, 6369, 9237, 1366, 2393, 290, 326, 340, 4909, 257, 22155, 351, 262, 705, 2536, 392, 3256, 198, 220, 220, 220, 705, 9979, 270, 4971, 3256, 705, 259, 565, 4971, 3256, 705, 2536, 392, 6, 3895, 3815, 13, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 24200, 6329, 198, 220, 220, 220, 352, 8, 3895, 62, 28663, 25, 220, 220, 357, 2536, 8, 220, 383, 308, 27110, 34348, 1438, 198, 220, 220, 220, 362, 8, 3895, 62, 9688, 25, 220, 220, 357, 600, 8, 220, 383, 923, 2292, 286, 262, 308, 27110, 3895, 198, 220, 220, 220, 513, 8, 3895, 62, 437, 25, 220, 220, 220, 220, 357, 600, 8, 220, 383, 886, 2292, 286, 262, 308, 27110, 3895, 198, 220, 220, 220, 604, 8, 3895, 62, 2536, 392, 25, 220, 357, 2536, 8, 220, 383, 37923, 286, 262, 308, 27110, 3895, 198, 220, 220, 220, 642, 8, 3895, 62, 70, 1734, 25, 220, 220, 220, 357, 2536, 8, 220, 383, 1438, 286, 262, 9779, 329, 262, 308, 27110, 3895, 198, 220, 220, 220, 718, 8, 5988, 62, 70, 1734, 62, 11600, 25, 220, 220, 357, 11600, 8, 317, 22155, 286, 5988, 9779, 14354, 198, 220, 220, 220, 767, 8, 987, 37796, 62, 15252, 25, 357, 11600, 8, 317, 22155, 286, 987, 37796, 2134, 3033, 284, 5911, 12893, 1686, 422, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 1343, 14030, 45340, 198, 220, 220, 220, 352, 8, 357, 30388, 8, 6407, 393, 10352, 1771, 257, 12336, 21721, 3895, 373, 1043, 198, 220, 220, 220, 362, 8, 357, 2536, 8, 220, 383, 7892, 4971, 1988, 422, 262, 32997, 3895, 393, 281, 6565, 4731, 198, 220, 220, 220, 513, 8, 357, 2536, 8, 220, 383, 13358, 4971, 1988, 422, 262, 32997, 3895, 393, 281, 6565, 4731, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 329, 409, 261, 287, 987, 37796, 62, 15252, 58, 30053, 62, 28663, 13, 33491, 7203, 354, 81, 1600, 366, 4943, 4083, 19796, 7, 198, 220, 220, 220, 220, 220, 220, 220, 357, 600, 7, 30053, 62, 9688, 828, 493, 7, 30053, 62, 437, 4008, 198, 220, 220, 220, 15179, 628, 220, 220, 220, 220, 220, 220, 220, 976, 62, 9688, 796, 493, 7, 1069, 261, 58, 15, 12962, 6624, 493, 7, 30053, 62, 9688, 8, 198, 220, 220, 220, 220, 220, 220, 220, 976, 62, 437, 796, 493, 7, 1069, 261, 58, 16, 12962, 6624, 493, 7, 30053, 62, 437, 8, 198, 220, 220, 220, 220, 220, 220, 220, 976, 62, 2536, 392, 796, 409, 261, 58, 17, 7131, 1, 2536, 392, 8973, 6624, 3895, 62, 2536, 392, 198, 220, 220, 220, 220, 220, 220, 220, 976, 62, 70, 1734, 796, 597, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6407, 611, 2124, 6624, 3895, 62, 70, 1734, 393, 2124, 287, 5988, 62, 70, 1734, 62, 11600, 58, 30053, 62, 70, 1734, 60, 2073, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2124, 287, 409, 261, 58, 17, 7131, 1, 5235, 12453, 1, 4083, 36311, 22446, 35312, 7, 2430, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6407, 611, 976, 62, 9688, 290, 976, 62, 437, 290, 976, 62, 2536, 392, 290, 976, 62, 70, 1734, 2073, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 409, 261, 58, 17, 7131, 1, 9979, 270, 4971, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 409, 261, 58, 17, 7131, 1, 259, 565, 4971, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1441, 357, 25101, 11, 366, 1600, 366, 4943, 628, 198, 2, 16529, 10097, 19351, 438, 198, 2235, 8774, 198, 2, 16529, 10097, 19351, 438, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 25064, 13, 37023, 7, 12417, 3419, 393, 657, 8, 198 ]
2.956835
1,946
print(interversion("Marc Barthet"))
[ 198, 198, 4798, 7, 3849, 9641, 7203, 22697, 13167, 3202, 48774, 198 ]
3.166667
12
import re from setuptools import find_packages, setup install_requires = [ 'Django>=1.11.28', 'Wagtail>=2.2', 'django-otp>=0.8.1', 'six>=1.14.0', 'qrcode>=6.1', ] docs_require = [ 'sphinx>=1.4.1', 'sphinx_rtd_theme>=0.4.3', ] tests_require = [ 'coverage==5.0.3', 'pytest==5.3.5', 'pytest-cov==2.8.1', 'pytest-django==3.8.0', # Linting 'isort==4.3.21', 'flake8==3.7.9', # 3.7.9 'flake8-blind-except==0.1.1', 'flake8-debugger==3.2.1', ] with open('README.rst') as fh: long_description = re.sub( '^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S) setup( name='wagtail-2fa', version='1.4.2', description="Two factor authentication for Wagtail", long_description=long_description, url='https://github.com/LabD/wagtail-2fa', author="Lab Digital", author_email="[email protected]", install_requires=install_requires, tests_require=tests_require, extras_require={ 'docs': docs_require, 'test': tests_require, }, python_requires='>=3.6', use_scm_version=True, entry_points={}, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 1.11', 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.0', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], zip_safe=False, )
[ 11748, 302, 198, 198, 6738, 900, 37623, 10141, 1330, 1064, 62, 43789, 11, 9058, 198, 198, 17350, 62, 47911, 796, 685, 198, 220, 220, 220, 705, 35, 73, 14208, 29, 28, 16, 13, 1157, 13, 2078, 3256, 198, 220, 220, 220, 705, 54, 363, 13199, 29, 28, 17, 13, 17, 3256, 198, 220, 220, 220, 705, 28241, 14208, 12, 313, 79, 29, 28, 15, 13, 23, 13, 16, 3256, 198, 220, 220, 220, 705, 19412, 29, 28, 16, 13, 1415, 13, 15, 3256, 198, 220, 220, 220, 705, 80, 6015, 1098, 29, 28, 21, 13, 16, 3256, 198, 60, 198, 198, 31628, 62, 46115, 796, 685, 198, 220, 220, 220, 705, 82, 746, 28413, 29, 28, 16, 13, 19, 13, 16, 3256, 198, 220, 220, 220, 705, 82, 746, 28413, 62, 81, 8671, 62, 43810, 29, 28, 15, 13, 19, 13, 18, 3256, 198, 60, 198, 198, 41989, 62, 46115, 796, 685, 198, 220, 220, 220, 705, 1073, 1857, 855, 20, 13, 15, 13, 18, 3256, 198, 220, 220, 220, 705, 9078, 9288, 855, 20, 13, 18, 13, 20, 3256, 198, 220, 220, 220, 705, 9078, 9288, 12, 66, 709, 855, 17, 13, 23, 13, 16, 3256, 198, 220, 220, 220, 705, 9078, 9288, 12, 28241, 14208, 855, 18, 13, 23, 13, 15, 3256, 628, 220, 220, 220, 1303, 406, 600, 278, 198, 220, 220, 220, 705, 271, 419, 855, 19, 13, 18, 13, 2481, 3256, 198, 220, 220, 220, 705, 47597, 23, 855, 18, 13, 22, 13, 24, 3256, 1303, 513, 13, 22, 13, 24, 198, 220, 220, 220, 705, 47597, 23, 12, 27461, 12, 16341, 855, 15, 13, 16, 13, 16, 3256, 198, 220, 220, 220, 705, 47597, 23, 12, 24442, 1362, 855, 18, 13, 17, 13, 16, 3256, 198, 60, 198, 198, 4480, 1280, 10786, 15675, 11682, 13, 81, 301, 11537, 355, 277, 71, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 302, 13, 7266, 7, 198, 220, 220, 220, 220, 220, 220, 220, 705, 61, 492, 923, 12, 3919, 12, 79, 4464, 72, 15885, 61, 492, 886, 12, 3919, 12, 79, 4464, 72, 3256, 705, 3256, 277, 71, 13, 961, 22784, 9701, 28, 260, 13, 44, 930, 302, 13, 50, 8, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 11639, 86, 363, 13199, 12, 17, 13331, 3256, 198, 220, 220, 220, 2196, 11639, 16, 13, 19, 13, 17, 3256, 198, 220, 220, 220, 6764, 2625, 7571, 5766, 18239, 329, 21309, 13199, 1600, 198, 220, 220, 220, 890, 62, 11213, 28, 6511, 62, 11213, 11, 198, 220, 220, 220, 19016, 11639, 5450, 1378, 12567, 13, 785, 14, 17822, 35, 14, 86, 363, 13199, 12, 17, 13331, 3256, 198, 220, 220, 220, 1772, 2625, 17822, 10231, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 44813, 1668, 31, 23912, 34725, 13, 21283, 1600, 198, 220, 220, 220, 2721, 62, 47911, 28, 17350, 62, 47911, 11, 198, 220, 220, 220, 5254, 62, 46115, 28, 41989, 62, 46115, 11, 198, 220, 220, 220, 33849, 62, 46115, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 705, 31628, 10354, 34165, 62, 46115, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9288, 10354, 5254, 62, 46115, 11, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 21015, 62, 47911, 11639, 29, 28, 18, 13, 21, 3256, 198, 220, 220, 220, 779, 62, 1416, 76, 62, 9641, 28, 17821, 11, 198, 220, 220, 220, 5726, 62, 13033, 34758, 5512, 198, 220, 220, 220, 5301, 62, 15908, 34758, 7061, 25, 705, 10677, 6, 5512, 198, 220, 220, 220, 10392, 28, 19796, 62, 43789, 10786, 10677, 33809, 198, 220, 220, 220, 2291, 62, 26495, 62, 7890, 28, 17821, 11, 198, 220, 220, 220, 5964, 11639, 36393, 3256, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 41206, 12678, 7904, 604, 532, 17993, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 31441, 7904, 5313, 9344, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 21055, 6433, 7904, 37770, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 21055, 6433, 7904, 37770, 7904, 352, 13, 1157, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 21055, 6433, 7904, 37770, 7904, 362, 13, 17, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 21055, 6433, 7904, 37770, 7904, 513, 13, 15, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 34156, 7904, 7294, 40, 20010, 1079, 7904, 17168, 13789, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 21, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 22, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 23, 3256, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 19974, 62, 21230, 28, 25101, 11, 198, 8, 198 ]
2.145783
830