content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
import unittest from Aggregation import Aggregation if __name__ == '__main__': unittest.main()
[ 11748, 555, 715, 395, 198, 6738, 19015, 43068, 1330, 19015, 43068, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.970588
34
# coding: utf-8 from PIL import Image, ImageDraw import numpy as np lena = Image.open("lena.bmp") mask1 = np.array([[0 , 1 , 0], [1 ,-4 , 1], [0 , 1 , 0]]) mask2 = (1/3) * np.array([[1, 1, 1], [1,-8, 1], [1, 1, 1]]) minimum_mask = (1/3) * np.array([[ 2,-1, 2], [-1,-4,-1], [ 2,-1, 2]]) ''' gaussian_mask = np.array([[ 0, 0, 0, -1, -1, -2, -1, -1, 0, 0, 0], [ 0, 0, -2, -4, -8, -9, -8, -4, -2, 0, 0], [ 0,-2, -7,-15,-22,-23,-22,-15, -7,-2, 0], [-1,-4,-15,-24,-14, -1,-14,-24,-15,-4,-1], [-1,-8,-22,-14, 52,103, 52,-14,-22,-8,-1], [-2,-9,-23, -1,103,179,103, -1,-23,-9,-2], [-1,-8,-22,-14, 52,103, 52,-14,-22,-8,-1], [-1,-4,-15,-24,-14, -1,-14,-24,-15,-4,-1], [ 0,-2, -7,-15,-22,-23,-22,-15, -7,-2, 0], [ 0, 0, -2, -4, -8, -9, -8, -4, -2, 0, 0], [ 0, 0, 0, -1, -1, -2, -1, -1, 0, 0, 0]]) diff_gaussian = np.array([[ -1. -3. -4. -6. -7. -8. -7. -6. -4. -3. -1.] [ -3. -5. -8. -11. -13. -13. -13. -11. -8. -5. -3.] [ -4. -8. -12. -16. -17. -17. -17. -16. -12. -8. -4.] [ -6. -11. -16. -16. 0. 15. 0. -16. -16. -11. -6.] [ -7. -13. -17. 0. 85. 160. 85. 0. -17. -13. -7.] [ -8. -13. -17. 15. 160. 283. 160. 15. -17. -13. -8.] [ -7. -13. -17. 0. 85. 160. 85. 0. -17. -13. -7.] [ -6. -11. -16. -16. 0. 15. 0. -16. -16. -11. -6.] [ -4. -8. -12. -16. -17. -17. -17. -16. -12. -8. -4.] [ -3. -5. -8. -11. -13. -13. -13. -11. -8. -5. -3.] [ -1. -3. -4. -6. -7. -8. -7. -6. -4. -3. -1.]]) ''' gaussian_mask = np.zeros((11,11)) sigma = 1.4 for i in range(-5,6,1): for j in range(-5,6,1): tmp = -175 * (((i * i) + (j * j) - 2 * sigma * sigma) * np.exp(((i * i) + (j * j)) / (-2 * sigma * sigma)) / (sigma * sigma * sigma * sigma)) if tmp > 0: gaussian_mask[i+5,j+5] = int (tmp + 0.5) else: gaussian_mask[i+5,j+5] = int (tmp - 0.5) diff_gaussian = np.zeros((11,11)) sigma1 = 1 sigma2 = 3 for i in range(-5,6,1): for j in range(-5,6,1): tmp1 = ( 1/(2 * np.pi * sigma1 ** 2) ) * np.exp( (-0.5) * ((i**2) + (j**2)) / ((sigma1)**2 ) ) tmp2 = ( 1/(2 * np.pi * sigma2 ** 2) ) * np.exp( (-0.5) * ((i**2) + (j**2)) / ((sigma2)**2 ) ) diff_gaussian[i+5,j+5] = int ( (tmp1 - tmp2) * 2000.0 + 0.5 ) Laplace_Mask1 = Laplace(lena,18,mask1) Laplace_Mask2 = Laplace(lena,18,mask2) Minimum_variance_Laplace = Laplace(lena,20,minimum_mask) Laplace_Mask1.save("Laplace_Mask1.bmp") Laplace_Mask2.save("Laplace_Mask2.bmp") Minimum_variance_Laplace.save("Minimum_variance_Laplace.bmp") Laplace_of_Gaussuan = Gaussian(lena,5000,gaussian_mask) Laplace_of_Gaussuan.save("Laplace_of_Gaussuan.bmp") Difference_of_Gaussian = Gaussian(lena,70000,diff_gaussian) Difference_of_Gaussian.save("Difference_of_Gaussian.bmp")
[ 198, 2, 19617, 25, 3384, 69, 12, 23, 198, 198, 6738, 350, 4146, 1330, 7412, 11, 7412, 25302, 198, 11748, 299, 32152, 355, 45941, 628, 220, 220, 220, 220, 198, 75, 8107, 796, 7412, 13, 9654, 7203, 75, 8107, 13, 65, 3149, 4943, 198, 27932, 16, 796, 45941, 13, 18747, 26933, 58, 15, 837, 352, 837, 657, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 16, 837, 12, 19, 837, 352, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 15, 837, 352, 837, 657, 11907, 8, 198, 27932, 17, 796, 357, 16, 14, 18, 8, 1635, 45941, 13, 18747, 26933, 58, 16, 11, 352, 11, 352, 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, 685, 16, 12095, 23, 11, 352, 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, 685, 16, 11, 352, 11, 352, 11907, 8, 198, 39504, 62, 27932, 796, 357, 16, 14, 18, 8, 1635, 45941, 13, 18747, 26933, 58, 362, 12095, 16, 11, 362, 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, 25915, 16, 12095, 19, 12095, 16, 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, 685, 362, 12095, 16, 11, 362, 11907, 8, 198, 7061, 6, 198, 4908, 31562, 62, 27932, 796, 45941, 13, 18747, 26933, 58, 657, 11, 657, 11, 220, 657, 11, 532, 16, 11, 532, 16, 11, 532, 17, 11, 532, 16, 11, 532, 16, 11, 220, 657, 11, 657, 11, 657, 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, 685, 657, 11, 657, 11, 532, 17, 11, 532, 19, 11, 532, 23, 11, 532, 24, 11, 532, 23, 11, 532, 19, 11, 532, 17, 11, 657, 11, 657, 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, 685, 657, 12095, 17, 11, 532, 22, 12095, 1314, 12095, 1828, 12095, 1954, 12095, 1828, 12095, 1314, 11, 532, 22, 12095, 17, 11, 657, 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, 25915, 16, 12095, 19, 12095, 1314, 12095, 1731, 12095, 1415, 11, 532, 16, 12095, 1415, 12095, 1731, 12095, 1314, 12095, 19, 12095, 16, 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, 25915, 16, 12095, 23, 12095, 1828, 12095, 1415, 11, 6740, 11, 15197, 11, 6740, 12095, 1415, 12095, 1828, 12095, 23, 12095, 16, 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, 25915, 17, 12095, 24, 12095, 1954, 11, 532, 16, 11, 15197, 11, 21738, 11, 15197, 11, 532, 16, 12095, 1954, 12095, 24, 12095, 17, 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, 25915, 16, 12095, 23, 12095, 1828, 12095, 1415, 11, 6740, 11, 15197, 11, 6740, 12095, 1415, 12095, 1828, 12095, 23, 12095, 16, 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, 25915, 16, 12095, 19, 12095, 1314, 12095, 1731, 12095, 1415, 11, 532, 16, 12095, 1415, 12095, 1731, 12095, 1314, 12095, 19, 12095, 16, 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, 685, 657, 12095, 17, 11, 532, 22, 12095, 1314, 12095, 1828, 12095, 1954, 12095, 1828, 12095, 1314, 11, 532, 22, 12095, 17, 11, 657, 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, 685, 657, 11, 657, 11, 532, 17, 11, 532, 19, 11, 532, 23, 11, 532, 24, 11, 532, 23, 11, 532, 19, 11, 532, 17, 11, 657, 11, 657, 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, 685, 657, 11, 657, 11, 220, 657, 11, 532, 16, 11, 532, 16, 11, 532, 17, 11, 532, 16, 11, 532, 16, 11, 220, 657, 11, 657, 11, 657, 11907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 26069, 62, 4908, 31562, 796, 45941, 13, 18747, 26933, 58, 532, 16, 13, 220, 532, 18, 13, 220, 532, 19, 13, 220, 532, 21, 13, 220, 532, 22, 13, 220, 532, 23, 13, 220, 532, 22, 13, 220, 532, 21, 13, 220, 532, 19, 13, 220, 532, 18, 13, 220, 532, 16, 8183, 198, 220, 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, 532, 18, 13, 220, 532, 20, 13, 220, 532, 23, 13, 532, 1157, 13, 532, 1485, 13, 532, 1485, 13, 532, 1485, 13, 532, 1157, 13, 220, 532, 23, 13, 220, 532, 20, 13, 220, 532, 18, 8183, 198, 220, 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, 532, 19, 13, 220, 532, 23, 13, 532, 1065, 13, 532, 1433, 13, 532, 1558, 13, 532, 1558, 13, 532, 1558, 13, 532, 1433, 13, 532, 1065, 13, 220, 532, 23, 13, 220, 532, 19, 8183, 198, 220, 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, 532, 21, 13, 532, 1157, 13, 532, 1433, 13, 532, 1433, 13, 220, 220, 657, 13, 220, 1315, 13, 220, 220, 657, 13, 532, 1433, 13, 532, 1433, 13, 532, 1157, 13, 220, 532, 21, 8183, 198, 220, 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, 532, 22, 13, 532, 1485, 13, 532, 1558, 13, 220, 220, 657, 13, 220, 7600, 13, 13454, 13, 220, 7600, 13, 220, 220, 657, 13, 532, 1558, 13, 532, 1485, 13, 220, 532, 22, 8183, 198, 220, 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, 532, 23, 13, 532, 1485, 13, 532, 1558, 13, 220, 1315, 13, 13454, 13, 42032, 13, 13454, 13, 220, 1315, 13, 532, 1558, 13, 532, 1485, 13, 220, 532, 23, 8183, 198, 220, 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, 532, 22, 13, 532, 1485, 13, 532, 1558, 13, 220, 220, 657, 13, 220, 7600, 13, 13454, 13, 220, 7600, 13, 220, 220, 657, 13, 532, 1558, 13, 532, 1485, 13, 220, 532, 22, 8183, 198, 220, 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, 532, 21, 13, 532, 1157, 13, 532, 1433, 13, 532, 1433, 13, 220, 220, 657, 13, 220, 1315, 13, 220, 220, 657, 13, 532, 1433, 13, 532, 1433, 13, 532, 1157, 13, 220, 532, 21, 8183, 198, 220, 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, 532, 19, 13, 220, 532, 23, 13, 532, 1065, 13, 532, 1433, 13, 532, 1558, 13, 532, 1558, 13, 532, 1558, 13, 532, 1433, 13, 532, 1065, 13, 220, 532, 23, 13, 220, 532, 19, 8183, 198, 220, 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, 532, 18, 13, 220, 532, 20, 13, 220, 532, 23, 13, 532, 1157, 13, 532, 1485, 13, 532, 1485, 13, 532, 1485, 13, 532, 1157, 13, 220, 532, 23, 13, 220, 532, 20, 13, 220, 532, 18, 8183, 198, 220, 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, 532, 16, 13, 220, 532, 18, 13, 220, 532, 19, 13, 220, 532, 21, 13, 220, 532, 22, 13, 220, 532, 23, 13, 220, 532, 22, 13, 220, 532, 21, 13, 220, 532, 19, 13, 220, 532, 18, 13, 220, 532, 16, 8183, 12962, 198, 7061, 6, 198, 198, 4908, 31562, 62, 27932, 796, 45941, 13, 9107, 418, 19510, 1157, 11, 1157, 4008, 198, 82, 13495, 796, 352, 13, 19, 198, 1640, 1312, 287, 2837, 32590, 20, 11, 21, 11, 16, 2599, 198, 220, 220, 220, 329, 474, 287, 2837, 32590, 20, 11, 21, 11, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 796, 532, 17430, 1635, 14808, 7, 72, 1635, 1312, 8, 1343, 357, 73, 1635, 474, 8, 532, 362, 1635, 264, 13495, 1635, 264, 13495, 8, 1635, 45941, 13, 11201, 19510, 7, 72, 1635, 1312, 8, 1343, 357, 73, 1635, 474, 4008, 1220, 13841, 17, 1635, 264, 13495, 1635, 264, 13495, 4008, 1220, 357, 82, 13495, 1635, 264, 13495, 1635, 264, 13495, 1635, 264, 13495, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 45218, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31986, 31562, 62, 27932, 58, 72, 10, 20, 11, 73, 10, 20, 60, 796, 493, 357, 22065, 1343, 657, 13, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31986, 31562, 62, 27932, 58, 72, 10, 20, 11, 73, 10, 20, 60, 796, 493, 357, 22065, 532, 657, 13, 20, 8, 198, 198, 26069, 62, 4908, 31562, 796, 45941, 13, 9107, 418, 19510, 1157, 11, 1157, 4008, 198, 82, 13495, 16, 796, 352, 198, 82, 13495, 17, 796, 513, 198, 1640, 1312, 287, 2837, 32590, 20, 11, 21, 11, 16, 2599, 198, 220, 220, 220, 329, 474, 287, 2837, 32590, 20, 11, 21, 11, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 16, 796, 357, 352, 29006, 17, 1635, 45941, 13, 14415, 1635, 264, 13495, 16, 12429, 362, 8, 1267, 1635, 45941, 13, 11201, 7, 13841, 15, 13, 20, 8, 1635, 14808, 72, 1174, 17, 8, 1343, 357, 73, 1174, 17, 4008, 1220, 14808, 82, 13495, 16, 8, 1174, 17, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 17, 796, 357, 352, 29006, 17, 1635, 45941, 13, 14415, 1635, 264, 13495, 17, 12429, 362, 8, 1267, 1635, 45941, 13, 11201, 7, 13841, 15, 13, 20, 8, 1635, 14808, 72, 1174, 17, 8, 1343, 357, 73, 1174, 17, 4008, 1220, 14808, 82, 13495, 17, 8, 1174, 17, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 814, 62, 4908, 31562, 58, 72, 10, 20, 11, 73, 10, 20, 60, 796, 493, 357, 357, 22065, 16, 532, 45218, 17, 8, 1635, 4751, 13, 15, 1343, 657, 13, 20, 1267, 220, 198, 198, 14772, 5372, 62, 45195, 16, 796, 4689, 5372, 7, 75, 8107, 11, 1507, 11, 27932, 16, 8, 198, 14772, 5372, 62, 45195, 17, 796, 4689, 5372, 7, 75, 8107, 11, 1507, 11, 27932, 17, 8, 198, 44046, 62, 25641, 590, 62, 14772, 5372, 796, 4689, 5372, 7, 75, 8107, 11, 1238, 11, 39504, 62, 27932, 8, 198, 14772, 5372, 62, 45195, 16, 13, 21928, 7203, 14772, 5372, 62, 45195, 16, 13, 65, 3149, 4943, 198, 14772, 5372, 62, 45195, 17, 13, 21928, 7203, 14772, 5372, 62, 45195, 17, 13, 65, 3149, 4943, 198, 44046, 62, 25641, 590, 62, 14772, 5372, 13, 21928, 7203, 44046, 62, 25641, 590, 62, 14772, 5372, 13, 65, 3149, 4943, 198, 14772, 5372, 62, 1659, 62, 35389, 1046, 7258, 796, 12822, 31562, 7, 75, 8107, 11, 27641, 11, 4908, 31562, 62, 27932, 8, 198, 14772, 5372, 62, 1659, 62, 35389, 1046, 7258, 13, 21928, 7203, 14772, 5372, 62, 1659, 62, 35389, 1046, 7258, 13, 65, 3149, 4943, 198, 28813, 1945, 62, 1659, 62, 35389, 31562, 796, 12822, 31562, 7, 75, 8107, 11, 22, 2388, 11, 26069, 62, 4908, 31562, 8, 198, 28813, 1945, 62, 1659, 62, 35389, 31562, 13, 21928, 7203, 28813, 1945, 62, 1659, 62, 35389, 31562, 13, 65, 3149, 4943, 628 ]
1.543789
2,238
from Engine.network import Net
[ 6738, 7117, 13, 27349, 1330, 3433, 628, 628 ]
4.25
8
""" State.py ======== Perform actions of the rocket and manage state. `hooks` is a dictionary mapping a hook string to a list of functions to thread when the hook occurs. """ import datetime from os import system from threading import Thread
[ 37811, 198, 9012, 13, 9078, 198, 2559, 198, 5990, 687, 4028, 286, 262, 10701, 290, 6687, 1181, 13, 198, 198, 63, 25480, 82, 63, 318, 257, 22155, 16855, 257, 8011, 4731, 284, 257, 220, 198, 4868, 286, 5499, 284, 4704, 618, 262, 8011, 8833, 13, 198, 37811, 198, 198, 11748, 4818, 8079, 198, 6738, 28686, 1330, 1080, 198, 6738, 4704, 278, 1330, 14122, 198 ]
3.828125
64
import sys if __name__ == '__main__': if len(sys.argv) < 5: print("Error: too few arguments") print("Usage: python3 %s <input-filename> <output-filename> <sample-size> <threshold>" % (sys.argv[0])) sys.exit() input_filename = sys.argv[1] output_filename = sys.argv[2] sample_size = int(sys.argv[3]) threshold = int(sys.argv[4]) with open(input_filename, 'r', encoding='utf-8') as file: data = list(map(int, file.readlines())) frame_start = 0 frame_end = 0 frame_start_is_set = False data_size = len(data) total = 0 for i in range(sample_size): total += data[i] if (total >= threshold): frame_start = 0 frame_start_is_set = True for i in range(data_size - sample_size): total -= data[i] total += data[i + sample_size] if (frame_start_is_set == False and total >= threshold): frame_start = i + 1 frame_start_is_set = True elif (frame_start_is_set == True and total < threshold): frame_end = i + sample_size break with open(output_filename, 'w', encoding='utf-8') as file: file.write('%d\n%d' % (frame_start, frame_end)) print('red light interval (frame_id):') print(' start: %d' % (frame_start)) print(' end: %d' % (frame_end))
[ 11748, 25064, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 611, 18896, 7, 17597, 13, 853, 85, 8, 1279, 642, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 12331, 25, 1165, 1178, 7159, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 28350, 25, 21015, 18, 4064, 82, 1279, 15414, 12, 34345, 29, 1279, 22915, 12, 34345, 29, 1279, 39873, 12, 7857, 29, 1279, 400, 10126, 24618, 4064, 357, 17597, 13, 853, 85, 58, 15, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 3419, 628, 220, 220, 220, 5128, 62, 34345, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 220, 220, 220, 5072, 62, 34345, 796, 25064, 13, 853, 85, 58, 17, 60, 198, 220, 220, 220, 6291, 62, 7857, 796, 493, 7, 17597, 13, 853, 85, 58, 18, 12962, 198, 220, 220, 220, 11387, 796, 493, 7, 17597, 13, 853, 85, 58, 19, 12962, 198, 220, 220, 220, 220, 198, 220, 220, 220, 351, 1280, 7, 15414, 62, 34345, 11, 705, 81, 3256, 21004, 11639, 40477, 12, 23, 11537, 355, 2393, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 1351, 7, 8899, 7, 600, 11, 2393, 13, 961, 6615, 3419, 4008, 628, 220, 220, 220, 5739, 62, 9688, 796, 657, 198, 220, 220, 220, 5739, 62, 437, 796, 657, 198, 220, 220, 220, 5739, 62, 9688, 62, 271, 62, 2617, 796, 10352, 198, 220, 220, 220, 1366, 62, 7857, 796, 18896, 7, 7890, 8, 198, 220, 220, 220, 2472, 796, 657, 628, 220, 220, 220, 329, 1312, 287, 2837, 7, 39873, 62, 7857, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 15853, 1366, 58, 72, 60, 628, 220, 220, 220, 611, 357, 23350, 18189, 11387, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 9688, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 9688, 62, 271, 62, 2617, 796, 6407, 628, 220, 220, 220, 329, 1312, 287, 2837, 7, 7890, 62, 7857, 532, 6291, 62, 7857, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 48185, 1366, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2472, 15853, 1366, 58, 72, 1343, 6291, 62, 7857, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 14535, 62, 9688, 62, 271, 62, 2617, 6624, 10352, 290, 2472, 18189, 11387, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 9688, 796, 1312, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 9688, 62, 271, 62, 2617, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 357, 14535, 62, 9688, 62, 271, 62, 2617, 6624, 6407, 290, 2472, 1279, 11387, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 437, 796, 1312, 1343, 6291, 62, 7857, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 198, 220, 220, 220, 351, 1280, 7, 22915, 62, 34345, 11, 705, 86, 3256, 21004, 11639, 40477, 12, 23, 11537, 355, 2393, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 13, 13564, 10786, 4, 67, 59, 77, 4, 67, 6, 4064, 357, 14535, 62, 9688, 11, 5739, 62, 437, 4008, 628, 220, 220, 220, 3601, 10786, 445, 1657, 16654, 357, 14535, 62, 312, 2599, 11537, 198, 220, 220, 220, 3601, 10786, 220, 923, 25, 4064, 67, 6, 4064, 357, 14535, 62, 9688, 4008, 198, 220, 220, 220, 3601, 10786, 220, 886, 25, 4064, 67, 6, 4064, 357, 14535, 62, 437, 4008, 198 ]
2.223856
612
import sys import os sys.path.append(os.path.abspath('../')) from unittest import TestCase from komand_recorded_future.connection.connection import Connection from komand_recorded_future.actions.lookup_vulnerability import LookupVulnerability import json import logging
[ 11748, 25064, 198, 11748, 28686, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 397, 2777, 776, 10786, 40720, 6, 4008, 198, 198, 6738, 555, 715, 395, 1330, 6208, 20448, 198, 6738, 479, 296, 392, 62, 47398, 62, 37443, 13, 38659, 13, 38659, 1330, 26923, 198, 6738, 479, 296, 392, 62, 47398, 62, 37443, 13, 4658, 13, 5460, 929, 62, 85, 40920, 1330, 6803, 929, 53, 40920, 198, 11748, 33918, 198, 11748, 18931, 628 ]
3.578947
76
""" demo06_vc.py 验证曲线 """ import numpy as np import sklearn.preprocessing as sp import sklearn.ensemble as se import sklearn.model_selection as ms import matplotlib.pyplot as mp # 读取文件 data = np.loadtxt('../ml_data/car.txt', delimiter=',', dtype='U20', converters={0:f, 1:f, 2:f, 3:f, 4:f, 5:f, 6:f}) # 整理训练集的输入与输出 data = data.T train_x, train_y = [], [] encoders = [] for col in range(len(data)): lbe = sp.LabelEncoder() if col < len(data)-1: # 不是最后一列 train_x.append(lbe.fit_transform(data[col])) else: train_y = lbe.fit_transform(data[col]) encoders.append(lbe) #保存每列的标签编码器 train_x = np.array(train_x).T print(train_x) # 交叉验证 训练模型 model = se.RandomForestClassifier(max_depth=9, n_estimators=140, random_state=7) # # 使用validation curve选择最优超参数 # train_scores, test_scores = \ # ms.validation_curve(model, train_x, # train_y, 'max_depth', # np.arange(5, 15), cv=5) # # 画图显示超参数取值与模型性能之间的关系 # x = np.arange(5, 15) # y = test_scores.mean(axis=1) # mp.figure('max_depth', facecolor='lightgray') # mp.title('max_depth', fontsize=20) # mp.xlabel('max_depth', fontsize=14) # mp.ylabel('F1 Score', fontsize=14) # mp.tick_params(labelsize=10) # mp.grid(linestyle=':') # mp.plot(x, y, 'o-', c='dodgerblue', label='Training') # mp.xticks(x) # mp.legend() # mp.show() model.fit(train_x, train_y) # 模型测试 data = [ ['high', 'med', '5more', '4', 'big', 'low', 'unacc'], ['high', 'high', '4', '4', 'med', 'med', 'acc'], ['low', 'low', '2', '4', 'small', 'high', 'good'], ['low', 'med', '3', '4', 'med', 'high', 'vgood']] # 在训练时需要把所有的LabelEncoder保存下来, # 在测试时,对测试数据的每一列使用相同的编码器进行编码, # 然后进行预测,得出预测结果 data = np.array(data).T test_x, test_y = [], [] for col in range(len(data)): encoder = encoders[col] if col<len(data)-1: test_x.append(encoder.transform(data[col])) else: test_y = encoder.transform(data[col]) test_x = np.array(test_x).T pred_test_y = model.predict(test_x) print(encoders[-1].inverse_transform(pred_test_y)) print(encoders[-1].inverse_transform(test_y))
[ 37811, 198, 9536, 78, 3312, 62, 28435, 13, 9078, 220, 220, 16268, 103, 234, 46237, 223, 162, 249, 110, 163, 118, 123, 198, 37811, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 1341, 35720, 13, 3866, 36948, 355, 599, 198, 11748, 1341, 35720, 13, 1072, 11306, 355, 384, 198, 11748, 1341, 35720, 13, 19849, 62, 49283, 355, 13845, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 29034, 198, 198, 2, 5525, 107, 119, 20998, 244, 23877, 229, 20015, 114, 198, 7890, 796, 45941, 13, 2220, 14116, 10786, 40720, 4029, 62, 7890, 14, 7718, 13, 14116, 3256, 220, 198, 197, 12381, 320, 2676, 28, 3256, 3256, 288, 4906, 11639, 52, 1238, 3256, 220, 198, 197, 1102, 332, 1010, 34758, 15, 25, 69, 11, 352, 25, 69, 11, 362, 25, 69, 11, 513, 25, 69, 11, 604, 25, 69, 11, 642, 25, 69, 11, 718, 25, 69, 30072, 198, 2, 10545, 243, 112, 49426, 228, 164, 106, 255, 163, 119, 225, 37239, 228, 21410, 164, 122, 241, 17739, 98, 10310, 236, 164, 122, 241, 49035, 118, 198, 7890, 796, 1366, 13, 51, 198, 27432, 62, 87, 11, 4512, 62, 88, 796, 685, 4357, 17635, 198, 12685, 375, 364, 796, 17635, 198, 1640, 951, 287, 2837, 7, 11925, 7, 7890, 8, 2599, 198, 197, 75, 1350, 796, 599, 13, 33986, 27195, 12342, 3419, 198, 197, 361, 951, 1279, 18896, 7, 7890, 13219, 16, 25, 1303, 220, 38834, 42468, 17312, 222, 28938, 236, 31660, 26344, 245, 198, 197, 197, 27432, 62, 87, 13, 33295, 7, 75, 1350, 13, 11147, 62, 35636, 7, 7890, 58, 4033, 60, 4008, 198, 197, 17772, 25, 198, 197, 197, 27432, 62, 88, 796, 300, 1350, 13, 11147, 62, 35636, 7, 7890, 58, 4033, 12962, 198, 197, 12685, 375, 364, 13, 33295, 7, 75, 1350, 8, 1303, 46479, 251, 27764, 246, 162, 107, 237, 26344, 245, 21410, 43718, 229, 163, 255, 122, 163, 120, 244, 163, 254, 223, 161, 247, 101, 198, 198, 27432, 62, 87, 796, 45941, 13, 18747, 7, 27432, 62, 87, 737, 51, 198, 4798, 7, 27432, 62, 87, 8, 198, 198, 2, 220, 12859, 97, 20998, 231, 165, 103, 234, 46237, 223, 5525, 106, 255, 163, 119, 225, 162, 101, 94, 161, 252, 233, 198, 19849, 796, 384, 13, 29531, 34605, 9487, 7483, 7, 9806, 62, 18053, 28, 24, 11, 220, 198, 197, 77, 62, 395, 320, 2024, 28, 15187, 11, 4738, 62, 5219, 28, 22, 8, 198, 2, 1303, 220, 45635, 18796, 101, 12102, 341, 12133, 34460, 231, 162, 233, 102, 17312, 222, 27670, 246, 164, 41678, 20998, 224, 46763, 108, 198, 2, 4512, 62, 1416, 2850, 11, 1332, 62, 1416, 2850, 796, 3467, 198, 2, 220, 197, 907, 13, 12102, 341, 62, 22019, 303, 7, 19849, 11, 4512, 62, 87, 11, 220, 198, 2, 220, 197, 197, 27432, 62, 88, 11, 705, 9806, 62, 18053, 3256, 220, 198, 2, 220, 197, 197, 37659, 13, 283, 858, 7, 20, 11, 1315, 828, 269, 85, 28, 20, 8, 198, 198, 2, 1303, 13328, 242, 119, 32368, 122, 23626, 122, 163, 97, 118, 164, 41678, 20998, 224, 46763, 108, 20998, 244, 161, 222, 120, 10310, 236, 162, 101, 94, 161, 252, 233, 45250, 100, 47797, 121, 45298, 29785, 112, 21410, 17739, 111, 163, 111, 119, 198, 2, 2124, 796, 45941, 13, 283, 858, 7, 20, 11, 1315, 8, 198, 2, 331, 796, 1332, 62, 1416, 2850, 13, 32604, 7, 22704, 28, 16, 8, 198, 2, 29034, 13, 26875, 10786, 9806, 62, 18053, 3256, 1986, 8043, 11639, 2971, 44605, 11537, 198, 2, 29034, 13, 7839, 10786, 9806, 62, 18053, 3256, 10369, 7857, 28, 1238, 8, 198, 2, 29034, 13, 87, 18242, 10786, 9806, 62, 18053, 3256, 10369, 7857, 28, 1415, 8, 198, 2, 29034, 13, 2645, 9608, 10786, 37, 16, 15178, 3256, 10369, 7857, 28, 1415, 8, 198, 2, 29034, 13, 42298, 62, 37266, 7, 23912, 1424, 1096, 28, 940, 8, 198, 2, 29034, 13, 25928, 7, 2815, 10992, 28, 10354, 11537, 198, 2, 29034, 13, 29487, 7, 87, 11, 331, 11, 705, 78, 12, 3256, 269, 11639, 67, 375, 1362, 17585, 3256, 6167, 11639, 44357, 11537, 198, 2, 29034, 13, 742, 3378, 7, 87, 8, 198, 2, 29034, 13, 1455, 437, 3419, 198, 2, 29034, 13, 12860, 3419, 628, 198, 19849, 13, 11147, 7, 27432, 62, 87, 11, 4512, 62, 88, 8, 198, 198, 2, 10545, 101, 94, 161, 252, 233, 38184, 233, 46237, 243, 198, 7890, 796, 685, 198, 220, 220, 220, 37250, 8929, 3256, 705, 1150, 3256, 705, 20, 3549, 3256, 705, 19, 3256, 705, 14261, 3256, 705, 9319, 3256, 705, 403, 4134, 6, 4357, 198, 220, 220, 220, 37250, 8929, 3256, 705, 8929, 3256, 705, 19, 3256, 705, 19, 3256, 705, 1150, 3256, 705, 1150, 3256, 705, 4134, 6, 4357, 198, 220, 220, 220, 37250, 9319, 3256, 705, 9319, 3256, 705, 17, 3256, 705, 19, 3256, 705, 17470, 3256, 705, 8929, 3256, 705, 11274, 6, 4357, 198, 220, 220, 220, 37250, 9319, 3256, 705, 1150, 3256, 705, 18, 3256, 705, 19, 3256, 705, 1150, 3256, 705, 8929, 3256, 705, 85, 11274, 6, 11907, 198, 2, 10263, 250, 101, 164, 106, 255, 163, 119, 225, 33768, 114, 165, 250, 222, 17358, 223, 162, 232, 232, 33699, 222, 17312, 231, 21410, 33986, 27195, 12342, 46479, 251, 27764, 246, 10310, 233, 30266, 98, 171, 120, 234, 198, 2, 10263, 250, 101, 38184, 233, 46237, 243, 33768, 114, 171, 120, 234, 43380, 117, 38184, 233, 46237, 243, 46763, 108, 162, 235, 106, 21410, 162, 107, 237, 31660, 26344, 245, 45635, 18796, 101, 33566, 116, 28938, 234, 21410, 163, 120, 244, 163, 254, 223, 161, 247, 101, 32573, 249, 26193, 234, 163, 120, 244, 163, 254, 223, 171, 120, 234, 198, 2, 13328, 226, 114, 28938, 236, 32573, 249, 26193, 234, 165, 95, 226, 38184, 233, 171, 120, 234, 36181, 245, 49035, 118, 165, 95, 226, 38184, 233, 163, 119, 241, 162, 252, 250, 198, 7890, 796, 45941, 13, 18747, 7, 7890, 737, 51, 198, 9288, 62, 87, 11, 1332, 62, 88, 796, 685, 4357, 17635, 198, 1640, 951, 287, 2837, 7, 11925, 7, 7890, 8, 2599, 198, 197, 12685, 12342, 796, 2207, 375, 364, 58, 4033, 60, 198, 197, 361, 951, 27, 11925, 7, 7890, 13219, 16, 25, 220, 198, 197, 197, 9288, 62, 87, 13, 33295, 7, 12685, 12342, 13, 35636, 7, 7890, 58, 4033, 60, 4008, 198, 197, 17772, 25, 198, 197, 197, 9288, 62, 88, 796, 2207, 12342, 13, 35636, 7, 7890, 58, 4033, 12962, 198, 9288, 62, 87, 796, 45941, 13, 18747, 7, 9288, 62, 87, 737, 51, 198, 28764, 62, 9288, 62, 88, 796, 2746, 13, 79, 17407, 7, 9288, 62, 87, 8, 198, 4798, 7, 12685, 375, 364, 58, 12, 16, 4083, 259, 4399, 62, 35636, 7, 28764, 62, 9288, 62, 88, 4008, 198, 4798, 7, 12685, 375, 364, 58, 12, 16, 4083, 259, 4399, 62, 35636, 7, 9288, 62, 88, 4008, 628, 198 ]
1.754156
1,143
import functools import numpy as np import settings from imagenetmod.interface import imagenet from cifar10 import cifar10_input
[ 11748, 1257, 310, 10141, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 201, 198, 11748, 6460, 201, 198, 201, 198, 6738, 3590, 268, 316, 4666, 13, 39994, 1330, 3590, 268, 316, 201, 198, 6738, 269, 361, 283, 940, 1330, 269, 361, 283, 940, 62, 15414, 201, 198, 201, 198 ]
2.8
50
from flask import Flask from flask_apscheduler import APScheduler from trivia.config import configs scheduler: APScheduler = None
[ 6738, 42903, 1330, 46947, 198, 6738, 42903, 62, 499, 1416, 704, 18173, 1330, 3486, 50, 1740, 18173, 198, 198, 6738, 44782, 13, 11250, 1330, 4566, 82, 198, 198, 1416, 704, 18173, 25, 3486, 50, 1740, 18173, 796, 6045, 628 ]
3.410256
39
t = int(input("Input: ")) for i in range(t) : ans = '' for j in range(i+1) : ans += str(cal(i,j)) + " " ###print(f"({i},{j} )",end=" ") print(ans)
[ 83, 796, 493, 7, 15414, 7203, 20560, 25, 366, 4008, 201, 198, 1640, 1312, 287, 2837, 7, 83, 8, 1058, 201, 198, 220, 9093, 796, 10148, 201, 198, 220, 329, 474, 287, 2837, 7, 72, 10, 16, 8, 1058, 201, 198, 220, 220, 220, 9093, 15853, 965, 7, 9948, 7, 72, 11, 73, 4008, 1343, 366, 366, 201, 198, 220, 220, 220, 44386, 4798, 7, 69, 1, 15090, 72, 5512, 90, 73, 92, 1267, 1600, 437, 2625, 366, 8, 201, 198, 220, 3601, 7, 504, 8 ]
1.930233
86
""" Functions common to both neural networks """ import math import numpy as np import data_util import test_util import feed_forward_nn import elman_rnn from nn_globals import NetHyperparams from nn_globals import OUTPUT_DIM, NUM_VARS def stochastic_gradient_descent(network_setup, train_data, model, \ verbose=2, verbose_n=1): """ Performs stochastic gradient descent network_setup: info on loss function, hyperparams, and RNN vs FFNN train_data: dataset on which to train (in parsed form) model: neural net current model verbose: 0 to not print; 1 to print every inner iteration; 2 to print every verbose_n iterations verbose_n: used for verbose=2 printing """ # Compute average levels loss_func, loss_func_grad, possible_update, hyper = network_setup temp = [] for elem in zip(*train_data)[0]: if elem != None: temp.append(elem) temp_np = np.array(temp) output_dim = model['b2'].shape[0] data_len = float(len(temp)) divisor_vector = np.zeros((output_dim, 1)) divisor_vector.fill(data_len) average_levels = np.sum(temp_np, axis=0)[: output_dim] / divisor_vector # Main loop for SGD num_updates = 0 # used for step size train_inputs = [j[0] for j in train_data] train_outputs = [j[1] for j in train_data] for t in xrange(hyper.num_iterations): for input_data, correct_output_data in train_data: if input_data == None: model['h'] = [np.zeros((hyper.hidden_dim, 1))] continue num_updates += 1 eta = hyper.step_scale / (math.sqrt(num_updates)) for param in loss_func_grad: grad = loss_func_grad[param](input_data, \ correct_output_data, model, average_levels, hyper) model[param] -= eta * grad possible_update(model, input_data) if verbose == 1: print "Iteration ", t, ": W1 = ", model['W1'], " ; b1 = ", \ model['b1'], " ; W2 = ", model['W2'], " ; b2 = ", model['b2'] if verbose == 1 or verbose == 2 and t % verbose_n == 0: print "-------------------------------------------------------" print "ITERATION ", t, " COMPLETE" current_loss = loss_func(train_inputs, train_outputs, model, \ average_levels, possible_update, hyper) print "Current Loss: ", current_loss final_loss = loss_func(train_inputs, train_outputs, model, \ average_levels, possible_update, hyper) return (model, final_loss)
[ 37811, 198, 24629, 2733, 2219, 284, 1111, 17019, 7686, 198, 37811, 198, 198, 11748, 10688, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 1366, 62, 22602, 198, 11748, 1332, 62, 22602, 198, 11748, 3745, 62, 11813, 62, 20471, 198, 11748, 1288, 805, 62, 81, 20471, 198, 6738, 299, 77, 62, 4743, 672, 874, 1330, 3433, 38197, 37266, 198, 6738, 299, 77, 62, 4743, 672, 874, 1330, 16289, 30076, 62, 35, 3955, 11, 36871, 62, 53, 27415, 198, 198, 4299, 3995, 354, 3477, 62, 49607, 62, 8906, 1087, 7, 27349, 62, 40406, 11, 4512, 62, 7890, 11, 2746, 11, 3467, 198, 220, 220, 220, 15942, 577, 28, 17, 11, 15942, 577, 62, 77, 28, 16, 2599, 198, 220, 220, 220, 37227, 2448, 23914, 3995, 354, 3477, 31312, 18598, 628, 220, 220, 220, 3127, 62, 40406, 25, 220, 7508, 319, 2994, 2163, 11, 8718, 37266, 11, 290, 371, 6144, 3691, 18402, 6144, 198, 220, 220, 220, 4512, 62, 7890, 25, 220, 220, 220, 220, 27039, 319, 543, 284, 4512, 357, 259, 44267, 1296, 8, 198, 220, 220, 220, 2746, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17019, 2010, 1459, 2746, 198, 220, 220, 220, 15942, 577, 25, 220, 220, 220, 220, 220, 220, 220, 657, 284, 407, 3601, 26, 352, 284, 3601, 790, 8434, 24415, 26, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 284, 3601, 790, 15942, 577, 62, 77, 34820, 198, 220, 220, 220, 15942, 577, 62, 77, 25, 220, 220, 220, 220, 220, 973, 329, 15942, 577, 28, 17, 13570, 198, 220, 220, 220, 220, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 3082, 1133, 2811, 2974, 198, 220, 220, 220, 2994, 62, 20786, 11, 2994, 62, 20786, 62, 9744, 11, 1744, 62, 19119, 11, 8718, 796, 3127, 62, 40406, 198, 220, 220, 220, 20218, 796, 17635, 198, 220, 220, 220, 329, 9766, 76, 287, 19974, 46491, 27432, 62, 7890, 38381, 15, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 611, 9766, 76, 14512, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20218, 13, 33295, 7, 68, 10671, 8, 198, 220, 220, 220, 20218, 62, 37659, 796, 45941, 13, 18747, 7, 29510, 8, 628, 220, 220, 220, 5072, 62, 27740, 796, 2746, 17816, 65, 17, 6, 4083, 43358, 58, 15, 60, 198, 220, 220, 220, 1366, 62, 11925, 796, 12178, 7, 11925, 7, 29510, 4008, 198, 220, 220, 220, 2659, 271, 273, 62, 31364, 796, 45941, 13, 9107, 418, 19510, 22915, 62, 27740, 11, 352, 4008, 198, 220, 220, 220, 2659, 271, 273, 62, 31364, 13, 20797, 7, 7890, 62, 11925, 8, 628, 220, 220, 220, 2811, 62, 46170, 796, 45941, 13, 16345, 7, 29510, 62, 37659, 11, 16488, 28, 15, 38381, 25, 5072, 62, 27740, 60, 1220, 2659, 271, 273, 62, 31364, 628, 220, 220, 220, 1303, 8774, 9052, 329, 26147, 35, 198, 220, 220, 220, 997, 62, 929, 19581, 796, 657, 1303, 973, 329, 2239, 2546, 198, 220, 220, 220, 4512, 62, 15414, 82, 796, 685, 73, 58, 15, 60, 329, 474, 287, 4512, 62, 7890, 60, 198, 220, 220, 220, 4512, 62, 22915, 82, 796, 685, 73, 58, 16, 60, 329, 474, 287, 4512, 62, 7890, 60, 198, 220, 220, 220, 329, 256, 287, 2124, 9521, 7, 49229, 13, 22510, 62, 2676, 602, 2599, 628, 220, 220, 220, 220, 220, 220, 220, 329, 5128, 62, 7890, 11, 3376, 62, 22915, 62, 7890, 287, 4512, 62, 7890, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5128, 62, 7890, 6624, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 17816, 71, 20520, 796, 685, 37659, 13, 9107, 418, 19510, 49229, 13, 30342, 62, 27740, 11, 352, 4008, 60, 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, 997, 62, 929, 19581, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2123, 64, 796, 8718, 13, 9662, 62, 9888, 1220, 357, 11018, 13, 31166, 17034, 7, 22510, 62, 929, 19581, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 5772, 287, 2994, 62, 20786, 62, 9744, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3915, 796, 2994, 62, 20786, 62, 9744, 58, 17143, 16151, 15414, 62, 7890, 11, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3376, 62, 22915, 62, 7890, 11, 2746, 11, 2811, 62, 46170, 11, 8718, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 58, 17143, 60, 48185, 2123, 64, 1635, 3915, 220, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1744, 62, 19119, 7, 19849, 11, 5128, 62, 7890, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 15942, 577, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 29993, 341, 33172, 256, 11, 366, 25, 370, 16, 796, 33172, 2746, 17816, 54, 16, 6, 4357, 366, 2162, 275, 16, 796, 33172, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 17816, 65, 16, 6, 4357, 366, 2162, 370, 17, 796, 33172, 2746, 17816, 54, 17, 6, 4357, 366, 2162, 275, 17, 796, 33172, 2746, 17816, 65, 17, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 611, 15942, 577, 6624, 352, 393, 15942, 577, 6624, 362, 290, 256, 4064, 15942, 577, 62, 77, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 3880, 19351, 6329, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 2043, 1137, 6234, 33172, 256, 11, 366, 49269, 9328, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 22462, 796, 2994, 62, 20786, 7, 27432, 62, 15414, 82, 11, 4512, 62, 22915, 82, 11, 2746, 11, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2811, 62, 46170, 11, 1744, 62, 19119, 11, 8718, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 11297, 22014, 25, 33172, 1459, 62, 22462, 198, 220, 220, 220, 2457, 62, 22462, 796, 2994, 62, 20786, 7, 27432, 62, 15414, 82, 11, 4512, 62, 22915, 82, 11, 2746, 11, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 2811, 62, 46170, 11, 1744, 62, 19119, 11, 8718, 8, 198, 220, 220, 220, 1441, 357, 19849, 11, 2457, 62, 22462, 8, 628 ]
2.297835
1,155
""" Author: OMKAR PATHAK Created On: 17th August 2017 """ from collections import Counter import inspect def is_anagram(word, _list): """ANAGRAM An anagram is direct word switch or word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase, using all the original letters exactly once we are taking a word and a list. We return the anagrams of that word from the given list and return the list of anagrams else return empty list. :param word: word :param _list: list of words :return: anagrams """ word = word.lower() anagrams = [] for words in _list: if word != words.lower(): if Counter(word) == Counter(words.lower()): anagrams.append(words) return anagrams def get_code(): """ returns the code for the is_anagram function :return: source code """ return inspect.getsource(is_anagram)
[ 37811, 198, 13838, 25, 32468, 42, 1503, 28748, 7801, 42, 198, 41972, 1550, 25, 1596, 400, 2932, 2177, 198, 37811, 198, 6738, 17268, 1330, 15034, 198, 11748, 10104, 628, 198, 4299, 318, 62, 272, 6713, 7, 4775, 11, 4808, 4868, 2599, 198, 220, 220, 220, 37227, 1565, 4760, 24115, 198, 220, 220, 220, 1052, 281, 6713, 318, 1277, 1573, 5078, 393, 1573, 711, 11, 198, 220, 220, 220, 262, 1255, 286, 37825, 4924, 262, 7475, 286, 257, 1573, 198, 220, 220, 220, 393, 9546, 284, 4439, 257, 649, 1573, 393, 9546, 11, 1262, 198, 220, 220, 220, 477, 262, 2656, 7475, 3446, 1752, 356, 389, 2263, 198, 220, 220, 220, 257, 1573, 290, 257, 1351, 13, 775, 1441, 262, 281, 6713, 82, 286, 326, 198, 220, 220, 220, 1573, 422, 262, 1813, 1351, 290, 1441, 262, 1351, 286, 198, 220, 220, 220, 281, 6713, 82, 2073, 1441, 6565, 1351, 13, 628, 220, 220, 220, 1058, 17143, 1573, 25, 1573, 198, 220, 220, 220, 1058, 17143, 4808, 4868, 25, 1351, 286, 2456, 198, 220, 220, 220, 1058, 7783, 25, 281, 6713, 82, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1573, 796, 1573, 13, 21037, 3419, 198, 220, 220, 220, 281, 6713, 82, 796, 17635, 198, 220, 220, 220, 329, 2456, 287, 4808, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1573, 14512, 2456, 13, 21037, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 15034, 7, 4775, 8, 6624, 15034, 7, 10879, 13, 21037, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 281, 6713, 82, 13, 33295, 7, 10879, 8, 198, 220, 220, 220, 1441, 281, 6713, 82, 628, 198, 4299, 651, 62, 8189, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5860, 262, 2438, 329, 262, 318, 62, 272, 6713, 2163, 198, 220, 220, 220, 1058, 7783, 25, 2723, 2438, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 10104, 13, 11407, 1668, 7, 271, 62, 272, 6713, 8, 198 ]
2.784257
343
#!/usr/bin/env python3 import argparse import re import subprocess import sys from pathlib import Path from typing import List from list_test_packages import create_test_packages_list from test_packages_support import get_platform_list_path, get_platform_packages_dir_path def process_command_line(argv: List[str]) -> argparse.Namespace: """Process command line invocation arguments and switches. Args: argv: list of arguments, or `None` from ``sys.argv[1:]``. Returns: argparse.Namespace: named attributes of arguments and switches """ # script_name = argv[0] argv = argv[1:] # initialize the parser object: parser = argparse.ArgumentParser( description="Check and update as needed the pipx tests package cache " "for use with the pipx tests local pypiserver." ) # specifying nargs= puts outputs of parser in list (even if nargs=1) # required arguments parser.add_argument( "package_list_dir", help="Directory where platform- and python-specific package lists are found for pipx tests.", ) parser.add_argument( "pipx_package_cache_dir", help="Directory to store the packages distribution files.", ) # switches/options: parser.add_argument( "-c", "--check-only", action="store_true", help="Only check to see if needed packages are in PACKAGES_DIR, do not " "download or delete files.", ) args = parser.parse_args(argv) return args if __name__ == "__main__": try: status = main(sys.argv) except KeyboardInterrupt: print("Stopped by Keyboard Interrupt", file=sys.stderr) status = 130 sys.exit(status)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 11748, 1822, 29572, 198, 11748, 302, 198, 11748, 850, 14681, 198, 11748, 25064, 198, 6738, 3108, 8019, 1330, 10644, 198, 6738, 19720, 1330, 7343, 198, 198, 6738, 1351, 62, 9288, 62, 43789, 1330, 2251, 62, 9288, 62, 43789, 62, 4868, 198, 6738, 1332, 62, 43789, 62, 11284, 1330, 651, 62, 24254, 62, 4868, 62, 6978, 11, 651, 62, 24254, 62, 43789, 62, 15908, 62, 6978, 628, 198, 4299, 1429, 62, 21812, 62, 1370, 7, 853, 85, 25, 7343, 58, 2536, 12962, 4613, 1822, 29572, 13, 36690, 10223, 25, 198, 220, 220, 220, 37227, 18709, 3141, 1627, 43219, 7159, 290, 18225, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 85, 25, 1351, 286, 7159, 11, 393, 4600, 14202, 63, 422, 7559, 17597, 13, 853, 85, 58, 16, 47715, 15506, 13, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1822, 29572, 13, 36690, 10223, 25, 3706, 12608, 286, 7159, 290, 18225, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 4226, 62, 3672, 796, 1822, 85, 58, 15, 60, 198, 220, 220, 220, 1822, 85, 796, 1822, 85, 58, 16, 47715, 628, 220, 220, 220, 1303, 41216, 262, 30751, 2134, 25, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 2625, 9787, 290, 4296, 355, 2622, 262, 7347, 87, 5254, 5301, 12940, 366, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1640, 779, 351, 262, 7347, 87, 5254, 1957, 279, 4464, 5847, 332, 526, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 31577, 299, 22046, 28, 7584, 23862, 286, 30751, 287, 1351, 357, 10197, 611, 299, 22046, 28, 16, 8, 628, 220, 220, 220, 1303, 2672, 7159, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 26495, 62, 4868, 62, 15908, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 43055, 810, 3859, 12, 290, 21015, 12, 11423, 5301, 8341, 389, 1043, 329, 7347, 87, 5254, 33283, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 79, 541, 87, 62, 26495, 62, 23870, 62, 15908, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 43055, 284, 3650, 262, 10392, 6082, 3696, 33283, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 18225, 14, 25811, 25, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 220, 220, 220, 220, 27444, 66, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 9122, 12, 8807, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2223, 2625, 8095, 62, 7942, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 10049, 2198, 284, 766, 611, 2622, 10392, 389, 287, 47035, 25552, 62, 34720, 11, 466, 407, 366, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15002, 393, 12233, 3696, 33283, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 7, 853, 85, 8, 198, 220, 220, 220, 1441, 26498, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 1388, 7, 17597, 13, 853, 85, 8, 198, 220, 220, 220, 2845, 31973, 9492, 3622, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 1273, 38333, 416, 31973, 4225, 3622, 1600, 2393, 28, 17597, 13, 301, 1082, 81, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 11323, 628, 220, 220, 220, 25064, 13, 37023, 7, 13376, 8, 198 ]
2.739336
633
import numpy as np import contextlib from collections import deque from spirl.utils.general_utils import listdict2dictlist, AttrDict, ParamDict, obj2np from spirl.modules.variational_inference import MultivariateGaussian from spirl.rl.utils.reward_fcns import sparse_threshold class Sampler: """Collects rollouts from the environment using the given agent.""" def init(self, is_train): """Starts a new rollout. Render indicates whether output should contain image.""" with self._env.val_mode() if not is_train else contextlib.suppress(): with self._agent.val_mode() if not is_train else contextlib.suppress(): self._episode_reset() def sample_batch(self, batch_size, is_train=True, global_step=None): """Samples an experience batch of the required size.""" experience_batch = [] step = 0 with self._env.val_mode() if not is_train else contextlib.suppress(): with self._agent.val_mode() if not is_train else contextlib.suppress(): with self._agent.rollout_mode(): while step < batch_size: # perform one rollout step agent_output = self.sample_action(self._obs) if agent_output.action is None: self._episode_reset(global_step) continue agent_output = self._postprocess_agent_output(agent_output) obs, reward, done, info = self._env.step(agent_output.action) obs = self._postprocess_obs(obs) experience_batch.append(AttrDict( observation=self._obs, reward=reward, done=done, action=agent_output.action, observation_next=obs, )) # update stored observation self._obs = obs step += 1; self._episode_step += 1; self._episode_reward += reward # reset if episode ends if done or self._episode_step >= self._max_episode_len: if not done: # force done to be True for timeout experience_batch[-1].done = True self._episode_reset(global_step) return listdict2dictlist(experience_batch), step def sample_episode(self, is_train, render=False): """Samples one episode from the environment.""" self.init(is_train) episode, done = [], False with self._env.val_mode() if not is_train else contextlib.suppress(): with self._agent.val_mode() if not is_train else contextlib.suppress(): with self._agent.rollout_mode(): while not done and self._episode_step < self._max_episode_len: # perform one rollout step agent_output = self.sample_action(self._obs) if agent_output.action is None: break agent_output = self._postprocess_agent_output(agent_output) if render: render_obs = self._env.render() obs, reward, done, info = self._env.step(agent_output.action) obs = self._postprocess_obs(obs) episode.append(AttrDict( observation=self._obs, reward=reward, done=done, action=agent_output.action, observation_next=obs, info=obj2np(info), )) if render: episode[-1].update(AttrDict(image=render_obs)) # update stored observation self._obs = obs self._episode_step += 1 episode[-1].done = True # make sure episode is marked as done at final time step return listdict2dictlist(episode) def _episode_reset(self, global_step=None): """Resets sampler at the end of an episode.""" if global_step is not None and self._logger is not None: # logger is none in non-master threads self._logger.log_scalar_dict(self.get_episode_info(), prefix='train' if self._agent._is_train else 'val', step=global_step) self._episode_step, self._episode_reward = 0, 0. self._obs = self._postprocess_obs(self._reset_env()) self._agent.reset() def _postprocess_obs(self, obs): """Optionally post-process observation.""" return obs def _postprocess_agent_output(self, agent_output): """Optionally post-process / store agent output.""" return agent_output class HierarchicalSampler(Sampler): """Collects experience batches by rolling out a hierarchical agent. Aggregates low-level batches into HL batch.""" def sample_batch(self, batch_size, is_train=True, global_step=None, store_ll=True): """Samples the required number of high-level transitions. Number of LL transitions can be higher.""" hl_experience_batch, ll_experience_batch = [], [] env_steps, hl_step = 0, 0 with self._env.val_mode() if not is_train else contextlib.suppress(): with self._agent.val_mode() if not is_train else contextlib.suppress(): with self._agent.rollout_mode(): while hl_step < batch_size or len(ll_experience_batch) <= 1: # perform one rollout step agent_output = self.sample_action(self._obs) agent_output = self._postprocess_agent_output(agent_output) obs, reward, done, info = self._env.step(agent_output.action) obs = self._postprocess_obs(obs) # update last step's 'observation_next' with HL action if store_ll: if ll_experience_batch: ll_experience_batch[-1].observation_next = \ self._agent.make_ll_obs(ll_experience_batch[-1].observation_next, agent_output.hl_action) # store current step in ll_experience_batch ll_experience_batch.append(AttrDict( observation=self._agent.make_ll_obs(self._obs, agent_output.hl_action), reward=reward, done=done, action=agent_output.action, observation_next=obs, # this will get updated in the next step )) # store HL experience batch if this was HL action or episode is done if agent_output.is_hl_step or (done or self._episode_step >= self._max_episode_len-1): if self.last_hl_obs is not None and self.last_hl_action is not None: hl_experience_batch.append(AttrDict( observation=self.last_hl_obs, reward=self.reward_since_last_hl, done=done, action=self.last_hl_action, observation_next=obs, )) hl_step += 1 if hl_step % 1000 == 0: print("Sample step {}".format(hl_step)) self.last_hl_obs = self._obs self.last_hl_action = agent_output.hl_action self.reward_since_last_hl = 0 # update stored observation self._obs = obs env_steps += 1; self._episode_step += 1; self._episode_reward += reward self.reward_since_last_hl += reward # reset if episode ends if done or self._episode_step >= self._max_episode_len: if not done: # force done to be True for timeout ll_experience_batch[-1].done = True if hl_experience_batch: # can potentially be empty hl_experience_batch[-1].done = True self._episode_reset(global_step) return AttrDict( hl_batch=listdict2dictlist(hl_experience_batch), ll_batch=listdict2dictlist(ll_experience_batch[:-1]), # last element does not have updated obs_next! ), env_steps class ImageAugmentedSampler(Sampler): """Appends image rendering to raw observation.""" class MultiImageAugmentedSampler(Sampler): """Appends multiple past images to current observation.""" class ACImageAugmentedSampler(ImageAugmentedSampler): """Adds no-op renders to make sure agent-centric camera reaches agent."""
[ 11748, 299, 32152, 355, 45941, 198, 11748, 4732, 8019, 198, 6738, 17268, 1330, 390, 4188, 198, 198, 6738, 599, 1901, 13, 26791, 13, 24622, 62, 26791, 1330, 1351, 11600, 17, 11600, 4868, 11, 3460, 81, 35, 713, 11, 25139, 35, 713, 11, 26181, 17, 37659, 198, 6738, 599, 1901, 13, 18170, 13, 25641, 864, 62, 259, 4288, 1330, 7854, 42524, 35389, 31562, 198, 6738, 599, 1901, 13, 45895, 13, 26791, 13, 260, 904, 62, 16072, 5907, 1330, 29877, 62, 400, 10126, 628, 198, 4871, 3409, 20053, 25, 198, 220, 220, 220, 37227, 31337, 82, 4836, 5269, 422, 262, 2858, 1262, 262, 1813, 5797, 526, 15931, 628, 220, 220, 220, 825, 2315, 7, 944, 11, 318, 62, 27432, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 1273, 5889, 257, 649, 38180, 13, 46722, 9217, 1771, 5072, 815, 3994, 2939, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 24330, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 38668, 62, 42503, 3419, 628, 220, 220, 220, 825, 6291, 62, 43501, 7, 944, 11, 15458, 62, 7857, 11, 318, 62, 27432, 28, 17821, 11, 3298, 62, 9662, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 12629, 281, 1998, 15458, 286, 262, 2672, 2546, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1998, 62, 43501, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 2239, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 24330, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2487, 448, 62, 14171, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 2239, 1279, 15458, 62, 7857, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1620, 530, 38180, 2239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5797, 62, 22915, 796, 2116, 13, 39873, 62, 2673, 7, 944, 13557, 8158, 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, 611, 5797, 62, 22915, 13, 2673, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 38668, 62, 42503, 7, 20541, 62, 9662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5797, 62, 22915, 796, 2116, 13557, 7353, 14681, 62, 25781, 62, 22915, 7, 25781, 62, 22915, 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, 10201, 11, 6721, 11, 1760, 11, 7508, 796, 2116, 13557, 24330, 13, 9662, 7, 25781, 62, 22915, 13, 2673, 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, 10201, 796, 2116, 13557, 7353, 14681, 62, 8158, 7, 8158, 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, 1998, 62, 43501, 13, 33295, 7, 8086, 81, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13432, 28, 944, 13557, 8158, 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, 6721, 28, 260, 904, 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, 1760, 28, 28060, 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, 2223, 28, 25781, 62, 22915, 13, 2673, 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, 13432, 62, 19545, 28, 8158, 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, 15306, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 8574, 13432, 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, 13557, 8158, 796, 10201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2239, 15853, 352, 26, 2116, 13557, 38668, 62, 9662, 15853, 352, 26, 2116, 13557, 38668, 62, 260, 904, 15853, 6721, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 13259, 611, 4471, 5645, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1760, 393, 2116, 13557, 38668, 62, 9662, 18189, 2116, 13557, 9806, 62, 38668, 62, 11925, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1760, 25, 220, 220, 220, 1303, 2700, 1760, 284, 307, 6407, 329, 26827, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1998, 62, 43501, 58, 12, 16, 4083, 28060, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 38668, 62, 42503, 7, 20541, 62, 9662, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1351, 11600, 17, 11600, 4868, 7, 23100, 1240, 62, 43501, 828, 2239, 628, 220, 220, 220, 825, 6291, 62, 38668, 7, 944, 11, 318, 62, 27432, 11, 8543, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 12629, 530, 4471, 422, 262, 2858, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15003, 7, 271, 62, 27432, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4471, 11, 1760, 796, 685, 4357, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 24330, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2487, 448, 62, 14171, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 407, 1760, 290, 2116, 13557, 38668, 62, 9662, 1279, 2116, 13557, 9806, 62, 38668, 62, 11925, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1620, 530, 38180, 2239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5797, 62, 22915, 796, 2116, 13, 39873, 62, 2673, 7, 944, 13557, 8158, 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, 611, 5797, 62, 22915, 13, 2673, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5797, 62, 22915, 796, 2116, 13557, 7353, 14681, 62, 25781, 62, 22915, 7, 25781, 62, 22915, 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, 611, 8543, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8543, 62, 8158, 796, 2116, 13557, 24330, 13, 13287, 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, 10201, 11, 6721, 11, 1760, 11, 7508, 796, 2116, 13557, 24330, 13, 9662, 7, 25781, 62, 22915, 13, 2673, 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, 10201, 796, 2116, 13557, 7353, 14681, 62, 8158, 7, 8158, 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, 4471, 13, 33295, 7, 8086, 81, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13432, 28, 944, 13557, 8158, 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, 6721, 28, 260, 904, 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, 1760, 28, 28060, 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, 2223, 28, 25781, 62, 22915, 13, 2673, 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, 13432, 62, 19545, 28, 8158, 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, 7508, 28, 26801, 17, 37659, 7, 10951, 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, 15306, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 8543, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4471, 58, 12, 16, 4083, 19119, 7, 8086, 81, 35, 713, 7, 9060, 28, 13287, 62, 8158, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 8574, 13432, 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, 13557, 8158, 796, 10201, 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, 13557, 38668, 62, 9662, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 4471, 58, 12, 16, 4083, 28060, 796, 6407, 220, 220, 220, 220, 1303, 787, 1654, 4471, 318, 7498, 355, 1760, 379, 2457, 640, 2239, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 1351, 11600, 17, 11600, 4868, 7, 38668, 8, 628, 220, 220, 220, 825, 4808, 38668, 62, 42503, 7, 944, 11, 3298, 62, 9662, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 4965, 1039, 6072, 20053, 379, 262, 886, 286, 281, 4471, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3298, 62, 9662, 318, 407, 6045, 290, 2116, 13557, 6404, 1362, 318, 407, 6045, 25, 220, 220, 220, 1303, 49706, 318, 4844, 287, 1729, 12, 9866, 14390, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 6404, 1362, 13, 6404, 62, 1416, 282, 283, 62, 11600, 7, 944, 13, 1136, 62, 38668, 62, 10951, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21231, 11639, 27432, 6, 611, 2116, 13557, 25781, 13557, 271, 62, 27432, 2073, 705, 2100, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2239, 28, 20541, 62, 9662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 38668, 62, 9662, 11, 2116, 13557, 38668, 62, 260, 904, 796, 657, 11, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8158, 796, 2116, 13557, 7353, 14681, 62, 8158, 7, 944, 13557, 42503, 62, 24330, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 25781, 13, 42503, 3419, 628, 220, 220, 220, 825, 4808, 7353, 14681, 62, 8158, 7, 944, 11, 10201, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19722, 453, 1281, 12, 14681, 13432, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10201, 628, 220, 220, 220, 825, 4808, 7353, 14681, 62, 25781, 62, 22915, 7, 944, 11, 5797, 62, 22915, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19722, 453, 1281, 12, 14681, 1220, 3650, 5797, 5072, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 5797, 62, 22915, 628, 198, 4871, 36496, 998, 605, 16305, 20053, 7, 16305, 20053, 2599, 198, 220, 220, 220, 37227, 31337, 82, 1998, 37830, 416, 10708, 503, 257, 38958, 5797, 13, 19015, 2301, 689, 1877, 12, 5715, 37830, 656, 38312, 15458, 526, 15931, 628, 220, 220, 220, 825, 6291, 62, 43501, 7, 944, 11, 15458, 62, 7857, 11, 318, 62, 27432, 28, 17821, 11, 3298, 62, 9662, 28, 14202, 11, 3650, 62, 297, 28, 17821, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 50, 12629, 262, 2672, 1271, 286, 1029, 12, 5715, 27188, 13, 7913, 286, 27140, 27188, 460, 307, 2440, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 289, 75, 62, 23100, 1240, 62, 43501, 11, 32660, 62, 23100, 1240, 62, 43501, 796, 685, 4357, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 17365, 62, 20214, 11, 289, 75, 62, 9662, 796, 657, 11, 657, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 24330, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2100, 62, 14171, 3419, 611, 407, 318, 62, 27432, 2073, 4732, 8019, 13, 18608, 601, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13557, 25781, 13, 2487, 448, 62, 14171, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 289, 75, 62, 9662, 1279, 15458, 62, 7857, 393, 18896, 7, 297, 62, 23100, 1240, 62, 43501, 8, 19841, 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, 1303, 1620, 530, 38180, 2239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5797, 62, 22915, 796, 2116, 13, 39873, 62, 2673, 7, 944, 13557, 8158, 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, 5797, 62, 22915, 796, 2116, 13557, 7353, 14681, 62, 25781, 62, 22915, 7, 25781, 62, 22915, 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, 10201, 11, 6721, 11, 1760, 11, 7508, 796, 2116, 13557, 24330, 13, 9662, 7, 25781, 62, 22915, 13, 2673, 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, 10201, 796, 2116, 13557, 7353, 14681, 62, 8158, 7, 8158, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 938, 2239, 338, 705, 672, 3168, 341, 62, 19545, 6, 351, 38312, 2223, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 3650, 62, 297, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 32660, 62, 23100, 1240, 62, 43501, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32660, 62, 23100, 1240, 62, 43501, 58, 12, 16, 4083, 672, 3168, 341, 62, 19545, 796, 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, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 25781, 13, 15883, 62, 297, 62, 8158, 7, 297, 62, 23100, 1240, 62, 43501, 58, 12, 16, 4083, 672, 3168, 341, 62, 19545, 11, 5797, 62, 22915, 13, 18519, 62, 2673, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3650, 1459, 2239, 287, 32660, 62, 23100, 1240, 62, 43501, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32660, 62, 23100, 1240, 62, 43501, 13, 33295, 7, 8086, 81, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13432, 28, 944, 13557, 25781, 13, 15883, 62, 297, 62, 8158, 7, 944, 13557, 8158, 11, 5797, 62, 22915, 13, 18519, 62, 2673, 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, 6721, 28, 260, 904, 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, 1760, 28, 28060, 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, 2223, 28, 25781, 62, 22915, 13, 2673, 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, 13432, 62, 19545, 28, 8158, 11, 220, 220, 220, 220, 220, 220, 1303, 428, 481, 651, 6153, 287, 262, 1306, 2239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15306, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3650, 38312, 1998, 15458, 611, 428, 373, 38312, 2223, 393, 4471, 318, 1760, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5797, 62, 22915, 13, 271, 62, 18519, 62, 9662, 393, 357, 28060, 393, 2116, 13557, 38668, 62, 9662, 18189, 2116, 13557, 9806, 62, 38668, 62, 11925, 12, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 12957, 62, 18519, 62, 8158, 318, 407, 6045, 290, 2116, 13, 12957, 62, 18519, 62, 2673, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 289, 75, 62, 23100, 1240, 62, 43501, 13, 33295, 7, 8086, 81, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13432, 28, 944, 13, 12957, 62, 18519, 62, 8158, 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, 6721, 28, 944, 13, 260, 904, 62, 20777, 62, 12957, 62, 18519, 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, 1760, 28, 28060, 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, 2223, 28, 944, 13, 12957, 62, 18519, 62, 2673, 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, 13432, 62, 19545, 28, 8158, 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, 15306, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 289, 75, 62, 9662, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 289, 75, 62, 9662, 4064, 8576, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 36674, 2239, 23884, 1911, 18982, 7, 18519, 62, 9662, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12957, 62, 18519, 62, 8158, 796, 2116, 13557, 8158, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12957, 62, 18519, 62, 2673, 796, 5797, 62, 22915, 13, 18519, 62, 2673, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 260, 904, 62, 20777, 62, 12957, 62, 18519, 796, 657, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 8574, 13432, 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, 13557, 8158, 796, 10201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 62, 20214, 15853, 352, 26, 2116, 13557, 38668, 62, 9662, 15853, 352, 26, 2116, 13557, 38668, 62, 260, 904, 15853, 6721, 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, 260, 904, 62, 20777, 62, 12957, 62, 18519, 15853, 6721, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 13259, 611, 4471, 5645, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1760, 393, 2116, 13557, 38668, 62, 9662, 18189, 2116, 13557, 9806, 62, 38668, 62, 11925, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1760, 25, 220, 220, 220, 1303, 2700, 1760, 284, 307, 6407, 329, 26827, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32660, 62, 23100, 1240, 62, 43501, 58, 12, 16, 4083, 28060, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 289, 75, 62, 23100, 1240, 62, 43501, 25, 220, 220, 1303, 460, 6196, 307, 6565, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 289, 75, 62, 23100, 1240, 62, 43501, 58, 12, 16, 4083, 28060, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 38668, 62, 42503, 7, 20541, 62, 9662, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3460, 81, 35, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 289, 75, 62, 43501, 28, 4868, 11600, 17, 11600, 4868, 7, 18519, 62, 23100, 1240, 62, 43501, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32660, 62, 43501, 28, 4868, 11600, 17, 11600, 4868, 7, 297, 62, 23100, 1240, 62, 43501, 58, 21912, 16, 46570, 220, 220, 1303, 938, 5002, 857, 407, 423, 6153, 10201, 62, 19545, 0, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 17365, 62, 20214, 628, 198, 4871, 7412, 12512, 12061, 16305, 20053, 7, 16305, 20053, 2599, 198, 220, 220, 220, 37227, 4677, 2412, 2939, 14837, 284, 8246, 13432, 526, 15931, 628, 198, 4871, 15237, 5159, 12512, 12061, 16305, 20053, 7, 16305, 20053, 2599, 198, 220, 220, 220, 37227, 4677, 2412, 3294, 1613, 4263, 284, 1459, 13432, 526, 15931, 628, 198, 4871, 7125, 5159, 12512, 12061, 16305, 20053, 7, 5159, 12512, 12061, 16305, 20053, 2599, 198, 220, 220, 220, 37227, 46245, 645, 12, 404, 30111, 284, 787, 1654, 5797, 12, 28577, 4676, 12229, 5797, 526, 15931, 628, 628, 628 ]
1.918405
4,939
import time from datetime import datetime, timedelta import random import re import logging from config import SLACK_TOKEN import pandas as pd import slack from airflow import DAG from airflow.operators.python_operator import PythonOperator from pymongo import MongoClient from sqlalchemy import create_engine from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.svm import LinearSVC import pickle import os # defining path to read files for airflow AIRFLOW_HOME = os.getenv('AIRFLOW_HOME') # Creating connections CLIENT = MongoClient("mongodb") # Mongodb DB = CLIENT.mongodb DATABASE_UP = False # PostGres connections and table PG = create_engine('postgres://postgres:1234@postgresdb:5432/tweets') PG.execute('''CREATE TABLE IF NOT EXISTS kung_tweets ( id BIGSERIAL, username VARCHAR(128), text VARCHAR(2048), date_created TIMESTAMPTZ, followers INTEGER, friends INTEGER, negative NUMERIC, positive NUMERIC, neuteral NUMERIC ); ''') client = slack.WebClient(token=SLACK_TOKEN) # Slac # Loading models: # Sentiment analysis s = SentimentIntensityAnalyzer() # Sarcasm classifier tv = pickle.load(open(AIRFLOW_HOME + '/dags/vectorizer.sav', 'rb')) lsvc = pickle.load(open(AIRFLOW_HOME + '/dags/sarcasm_model.sav', 'rb')) # Creating python callables def extract(): """extract a random tweet from MongoDB""" tweets = list(DB.kung_tweets.find()) if tweets: t = random.choice(tweets) logging.critical("random tweet: " + t['text']) return t def transform(**context): """ Transform tweets Input: Tweets in JSON format from the extract function Cleans the text, analyzes the sentiment and extracts metadata return: A list with all metadata of the tweet """ extract_connection = context['task_instance'] tweet = extract_connection.xcom_pull(task_ids="extract") # getting the full text from the tweets if 'retweeted_status'in tweet and 'extended_tweet' in tweet['retweeted_status']: text = tweet['retweeted_status']['extended_tweet']["full_text"] elif 'retweeted_status'in tweet and 'text' in tweet['retweeted_status']: text = tweet['retweeted_status']["text"] elif "extended_tweet" in tweet: text = tweet['extended_tweet']["full_text"] else: text = tweet['text'] text = re.sub(r"'", ' ', text) text = re.sub(r'@\S+|https?://\S+', '', text) # removing @user and links username = tweet['user']['screen_name'] date = str(pd.to_datetime(tweet["created_at"])) followers = tweet['user']['followers_count'] friends = tweet['user']['friends_count'] sentiment = s.polarity_scores(text) neg = sentiment["neg"] pos = sentiment["pos"] neu = sentiment["neu"] logging.critical("sentiment" + str(sentiment)) results = [username, text, date, followers, friends, neg, pos, neu] return results def load(**context): """Loads metadata to PostGreSQL server""" exctract_connection = context["task_instance"] results = exctract_connection.xcom_pull(task_ids='transform') PG.execute(f"""INSERT INTO kung_tweets (username, text, date_created, followers, friends, negative, positive, neuteral) VALUES ('''{results[0]}''', '''{results[1]}''', '{results[2]}', {results[3]}, {results[4]}, {results[5]}, {results[6]}, {results[7]});""") logging.critical(f"{results[1]} written to PostGres") def predict_sarcasm(**context): """Classify the sarcasm of the tweet""" exctract_connection = context["task_instance"] results = exctract_connection.xcom_pull(task_ids='transform') text = results[1] text = tv.transform([text]).toarray() sarcasm = lsvc.predict(text) return sarcasm def slackbot(**context): """Posts a message on the Slack channel if the tweet was clasified as sarcastic""" exctract_connection = context["task_instance"] results = exctract_connection.xcom_pull(task_ids='transform') sarcasm = exctract_connection.xcom_pull(task_ids='predict_sarcasm') prev_tweet = '' if sarcasm == 1: tweet_result = results[1] # text if tweet_result != prev_tweet: prev_tweet = tweet_result response = client.chat_postMessage( channel='#kung_flu', text=f"Here is a sarcastic tweet about coronavirus: {tweet_result}") # delay for one minute time.sleep(60) # define default arguments default_args = { 'owner': 'Amirali', 'start_date': datetime(2020, 4, 1), # 'end_date': 'email': ['[email protected]'], 'email_on_failure': False, 'email_on_retry': False, "retries": 1, "retry_delay": timedelta(minutes=1) } # instantiate a DAG dag = DAG('etl', description='', catchup=False, schedule_interval=timedelta(minutes=1), default_args=default_args) # define task t1 = PythonOperator(task_id='extract', python_callable=extract, dag=dag) t2 = PythonOperator(task_id='transform', provide_context=True, python_callable=transform, dag=dag) t3 = PythonOperator(task_id='load', provide_context=True, python_callable=load, dag=dag) t4 = PythonOperator(task_id='predict_sarcasm', provide_context=True, python_callable=predict_sarcasm, dag=dag) t5 = PythonOperator(task_id='slackbot', provide_context=True, python_callable=slackbot, dag=dag) # setup dependencies t1 >> t2 >> t3 t2 >> t4 >> t5
[ 11748, 640, 201, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 201, 198, 11748, 4738, 201, 198, 11748, 302, 201, 198, 11748, 18931, 201, 198, 6738, 4566, 1330, 12419, 8120, 62, 10468, 43959, 201, 198, 201, 198, 11748, 19798, 292, 355, 279, 67, 201, 198, 11748, 30740, 201, 198, 6738, 45771, 1330, 360, 4760, 201, 198, 6738, 45771, 13, 3575, 2024, 13, 29412, 62, 46616, 1330, 11361, 18843, 1352, 201, 198, 6738, 279, 4948, 25162, 1330, 42591, 11792, 201, 198, 6738, 44161, 282, 26599, 1330, 2251, 62, 18392, 201, 198, 6738, 410, 5067, 31837, 3681, 13, 85, 5067, 31837, 3681, 1330, 11352, 3681, 5317, 6377, 37702, 9107, 201, 198, 6738, 1341, 35720, 13, 30053, 62, 2302, 7861, 13, 5239, 1330, 309, 69, 312, 69, 38469, 7509, 201, 198, 6738, 1341, 35720, 13, 82, 14761, 1330, 44800, 50, 15922, 201, 198, 11748, 2298, 293, 201, 198, 11748, 28686, 201, 198, 201, 198, 2, 16215, 3108, 284, 1100, 3696, 329, 45771, 201, 198, 42149, 3697, 3913, 62, 39069, 796, 28686, 13, 1136, 24330, 10786, 42149, 3697, 3913, 62, 39069, 11537, 201, 198, 201, 198, 2, 30481, 8787, 201, 198, 5097, 28495, 796, 42591, 11792, 7203, 31059, 375, 65, 4943, 220, 1303, 18428, 375, 65, 201, 198, 11012, 796, 45148, 13, 31059, 375, 65, 201, 198, 35, 1404, 6242, 11159, 62, 8577, 796, 10352, 201, 198, 201, 198, 2, 2947, 38, 411, 8787, 290, 3084, 201, 198, 6968, 796, 2251, 62, 18392, 10786, 7353, 34239, 1378, 7353, 34239, 25, 1065, 2682, 31, 7353, 34239, 9945, 25, 4051, 2624, 14, 83, 732, 1039, 11537, 201, 198, 6968, 13, 41049, 7, 7061, 6, 43387, 6158, 43679, 16876, 5626, 7788, 1797, 4694, 479, 2150, 62, 83, 732, 1039, 357, 201, 198, 312, 26746, 35009, 12576, 11, 201, 198, 29460, 569, 31315, 1503, 7, 12762, 828, 201, 198, 5239, 569, 31315, 1503, 7, 1238, 2780, 828, 201, 198, 4475, 62, 25598, 31742, 6465, 2390, 11571, 57, 11, 201, 198, 27780, 364, 17828, 7156, 1137, 11, 201, 198, 36154, 17828, 7156, 1137, 11, 201, 198, 31591, 36871, 1137, 2149, 11, 201, 198, 24561, 36871, 1137, 2149, 11, 201, 198, 710, 315, 1691, 36871, 1137, 2149, 201, 198, 1776, 201, 198, 7061, 11537, 201, 198, 201, 198, 16366, 796, 30740, 13, 13908, 11792, 7, 30001, 28, 8634, 8120, 62, 10468, 43959, 8, 220, 1303, 3454, 330, 201, 198, 201, 198, 2, 12320, 4981, 25, 201, 198, 201, 198, 2, 11352, 3681, 3781, 201, 198, 82, 796, 11352, 3681, 5317, 6377, 37702, 9107, 3419, 201, 198, 201, 198, 2, 311, 5605, 8597, 1398, 7483, 201, 198, 14981, 796, 2298, 293, 13, 2220, 7, 9654, 7, 42149, 3697, 3913, 62, 39069, 1343, 31051, 67, 3775, 14, 31364, 7509, 13, 39308, 3256, 705, 26145, 6, 4008, 201, 198, 7278, 28435, 796, 2298, 293, 13, 2220, 7, 9654, 7, 42149, 3697, 3913, 62, 39069, 1343, 31051, 67, 3775, 14, 82, 5605, 8597, 62, 19849, 13, 39308, 3256, 705, 26145, 6, 4008, 201, 198, 201, 198, 201, 198, 2, 30481, 21015, 869, 2977, 201, 198, 4299, 7925, 33529, 201, 198, 220, 220, 220, 37227, 2302, 974, 257, 4738, 6126, 422, 42591, 11012, 37811, 201, 198, 220, 220, 220, 12665, 796, 1351, 7, 11012, 13, 74, 2150, 62, 83, 732, 1039, 13, 19796, 28955, 201, 198, 220, 220, 220, 611, 12665, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 256, 796, 4738, 13, 25541, 7, 83, 732, 1039, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 34666, 7203, 25120, 6126, 25, 366, 1343, 256, 17816, 5239, 6, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 256, 201, 198, 201, 198, 201, 198, 4299, 6121, 7, 1174, 22866, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 26981, 12665, 201, 198, 201, 198, 220, 220, 220, 23412, 25, 24205, 1039, 287, 19449, 5794, 422, 262, 7925, 2163, 201, 198, 201, 198, 220, 220, 220, 3779, 504, 262, 2420, 11, 4284, 12271, 262, 15598, 290, 32139, 20150, 201, 198, 201, 198, 220, 220, 220, 1441, 25, 317, 1351, 351, 477, 20150, 286, 262, 6126, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 7925, 62, 38659, 796, 4732, 17816, 35943, 62, 39098, 20520, 201, 198, 220, 220, 220, 6126, 796, 7925, 62, 38659, 13, 87, 785, 62, 31216, 7, 35943, 62, 2340, 2625, 2302, 974, 4943, 201, 198, 220, 220, 220, 1303, 1972, 262, 1336, 2420, 422, 262, 12665, 201, 198, 220, 220, 220, 611, 705, 1186, 7277, 276, 62, 13376, 6, 259, 6126, 290, 705, 2302, 1631, 62, 83, 7277, 6, 287, 6126, 17816, 1186, 7277, 276, 62, 13376, 6, 5974, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 6126, 17816, 1186, 7277, 276, 62, 13376, 6, 7131, 6, 2302, 1631, 62, 83, 7277, 6, 7131, 1, 12853, 62, 5239, 8973, 201, 198, 220, 220, 220, 1288, 361, 705, 1186, 7277, 276, 62, 13376, 6, 259, 6126, 290, 705, 5239, 6, 287, 6126, 17816, 1186, 7277, 276, 62, 13376, 6, 5974, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 6126, 17816, 1186, 7277, 276, 62, 13376, 6, 7131, 1, 5239, 8973, 201, 198, 220, 220, 220, 1288, 361, 366, 2302, 1631, 62, 83, 7277, 1, 287, 6126, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 6126, 17816, 2302, 1631, 62, 83, 7277, 6, 7131, 1, 12853, 62, 5239, 8973, 201, 198, 220, 220, 220, 2073, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 796, 6126, 17816, 5239, 20520, 201, 198, 220, 220, 220, 2420, 796, 302, 13, 7266, 7, 81, 30543, 1600, 705, 46083, 2420, 8, 201, 198, 220, 220, 220, 2420, 796, 302, 13, 7266, 7, 81, 6, 31, 59, 50, 10, 91, 5450, 30, 1378, 59, 50, 10, 3256, 705, 3256, 2420, 8, 220, 1303, 10829, 2488, 7220, 290, 6117, 201, 198, 220, 220, 220, 20579, 796, 6126, 17816, 7220, 6, 7131, 6, 9612, 62, 3672, 20520, 201, 198, 220, 220, 220, 3128, 796, 965, 7, 30094, 13, 1462, 62, 19608, 8079, 7, 83, 7277, 14692, 25598, 62, 265, 8973, 4008, 201, 198, 220, 220, 220, 10569, 796, 6126, 17816, 7220, 6, 7131, 6, 27780, 364, 62, 9127, 20520, 201, 198, 220, 220, 220, 2460, 796, 6126, 17816, 7220, 6, 7131, 6, 36154, 62, 9127, 20520, 201, 198, 220, 220, 220, 15598, 796, 264, 13, 79, 6192, 414, 62, 1416, 2850, 7, 5239, 8, 201, 198, 220, 220, 220, 2469, 796, 15598, 14692, 12480, 8973, 201, 198, 220, 220, 220, 1426, 796, 15598, 14692, 1930, 8973, 201, 198, 220, 220, 220, 497, 84, 796, 15598, 14692, 710, 84, 8973, 201, 198, 220, 220, 220, 18931, 13, 34666, 7203, 34086, 3681, 1, 1343, 965, 7, 34086, 3681, 4008, 201, 198, 220, 220, 220, 2482, 796, 685, 29460, 11, 2420, 11, 3128, 11, 10569, 11, 2460, 11, 2469, 11, 1426, 11, 497, 84, 60, 201, 198, 220, 220, 220, 1441, 2482, 201, 198, 201, 198, 201, 198, 4299, 3440, 7, 1174, 22866, 2599, 201, 198, 220, 220, 220, 37227, 8912, 82, 20150, 284, 2947, 43887, 17861, 4382, 37811, 201, 198, 220, 220, 220, 409, 310, 974, 62, 38659, 796, 4732, 14692, 35943, 62, 39098, 8973, 201, 198, 220, 220, 220, 2482, 796, 409, 310, 974, 62, 38659, 13, 87, 785, 62, 31216, 7, 35943, 62, 2340, 11639, 35636, 11537, 201, 198, 220, 220, 220, 23842, 13, 41049, 7, 69, 37811, 20913, 17395, 39319, 479, 2150, 62, 83, 732, 1039, 357, 29460, 11, 2420, 11, 3128, 62, 25598, 11, 10569, 11, 2460, 11, 4633, 11, 3967, 11, 22190, 1691, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 35409, 357, 7061, 6, 90, 43420, 58, 15, 48999, 7061, 3256, 705, 7061, 90, 43420, 58, 16, 48999, 7061, 3256, 705, 90, 43420, 58, 17, 48999, 3256, 1391, 43420, 58, 18, 60, 5512, 1391, 43420, 58, 19, 60, 5512, 1391, 43420, 58, 20, 60, 5512, 1391, 43420, 58, 21, 60, 5512, 1391, 43420, 58, 22, 60, 22133, 15931, 4943, 201, 198, 220, 220, 220, 18931, 13, 34666, 7, 69, 1, 90, 43420, 58, 16, 48999, 3194, 284, 2947, 38, 411, 4943, 201, 198, 201, 198, 201, 198, 4299, 4331, 62, 82, 5605, 8597, 7, 1174, 22866, 2599, 201, 198, 220, 220, 220, 37227, 9487, 1958, 262, 40638, 8597, 286, 262, 6126, 37811, 201, 198, 220, 220, 220, 409, 310, 974, 62, 38659, 796, 4732, 14692, 35943, 62, 39098, 8973, 201, 198, 220, 220, 220, 2482, 796, 409, 310, 974, 62, 38659, 13, 87, 785, 62, 31216, 7, 35943, 62, 2340, 11639, 35636, 11537, 201, 198, 220, 220, 220, 2420, 796, 2482, 58, 16, 60, 201, 198, 220, 220, 220, 2420, 796, 31557, 13, 35636, 26933, 5239, 35944, 1462, 18747, 3419, 201, 198, 220, 220, 220, 40638, 8597, 796, 300, 21370, 66, 13, 79, 17407, 7, 5239, 8, 201, 198, 220, 220, 220, 1441, 40638, 8597, 201, 198, 201, 198, 201, 198, 4299, 30740, 13645, 7, 1174, 22866, 2599, 201, 198, 220, 220, 220, 37227, 21496, 257, 3275, 319, 262, 36256, 6518, 611, 262, 6126, 373, 537, 292, 1431, 355, 47037, 37811, 201, 198, 220, 220, 220, 409, 310, 974, 62, 38659, 796, 4732, 14692, 35943, 62, 39098, 8973, 201, 198, 220, 220, 220, 2482, 796, 409, 310, 974, 62, 38659, 13, 87, 785, 62, 31216, 7, 35943, 62, 2340, 11639, 35636, 11537, 201, 198, 220, 220, 220, 40638, 8597, 796, 409, 310, 974, 62, 38659, 13, 87, 785, 62, 31216, 7, 35943, 62, 2340, 11639, 79, 17407, 62, 82, 5605, 8597, 11537, 201, 198, 220, 220, 220, 8654, 62, 83, 7277, 796, 10148, 201, 198, 220, 220, 220, 611, 40638, 8597, 6624, 352, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 6126, 62, 20274, 796, 2482, 58, 16, 60, 220, 1303, 2420, 201, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6126, 62, 20274, 14512, 8654, 62, 83, 7277, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 62, 83, 7277, 796, 6126, 62, 20274, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2882, 796, 5456, 13, 17006, 62, 7353, 12837, 7, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6518, 11639, 2, 74, 2150, 62, 35522, 3256, 2420, 28, 69, 1, 4342, 318, 257, 47037, 6126, 546, 26920, 615, 19397, 25, 1391, 83, 7277, 62, 20274, 92, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5711, 329, 530, 5664, 201, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 1899, 8, 201, 198, 201, 198, 201, 198, 2, 8160, 4277, 7159, 201, 198, 12286, 62, 22046, 796, 1391, 201, 198, 220, 220, 220, 705, 18403, 10354, 705, 5840, 343, 7344, 3256, 201, 198, 220, 220, 220, 705, 9688, 62, 4475, 10354, 4818, 8079, 7, 42334, 11, 604, 11, 352, 828, 201, 198, 220, 220, 220, 1303, 705, 437, 62, 4475, 10354, 201, 198, 220, 220, 220, 705, 12888, 10354, 37250, 321, 343, 7344, 13, 88, 1031, 10989, 31, 40774, 13, 785, 6, 4357, 201, 198, 220, 220, 220, 705, 12888, 62, 261, 62, 32165, 495, 10354, 10352, 11, 201, 198, 220, 220, 220, 705, 12888, 62, 261, 62, 1186, 563, 10354, 10352, 11, 201, 198, 220, 220, 220, 366, 1186, 1678, 1298, 352, 11, 201, 198, 220, 220, 220, 366, 1186, 563, 62, 40850, 1298, 28805, 12514, 7, 1084, 1769, 28, 16, 8, 201, 198, 92, 201, 198, 201, 198, 2, 9113, 9386, 257, 360, 4760, 201, 198, 67, 363, 796, 360, 4760, 10786, 316, 75, 3256, 6764, 11639, 3256, 4929, 929, 28, 25101, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7269, 62, 3849, 2100, 28, 16514, 276, 12514, 7, 1084, 1769, 28, 16, 828, 4277, 62, 22046, 28, 12286, 62, 22046, 8, 201, 198, 201, 198, 2, 8160, 4876, 201, 198, 83, 16, 796, 11361, 18843, 1352, 7, 35943, 62, 312, 11639, 2302, 974, 3256, 21015, 62, 13345, 540, 28, 2302, 974, 11, 48924, 28, 67, 363, 8, 201, 198, 83, 17, 796, 11361, 18843, 1352, 7, 35943, 62, 312, 11639, 35636, 3256, 2148, 62, 22866, 28, 17821, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21015, 62, 13345, 540, 28, 35636, 11, 48924, 28, 67, 363, 8, 201, 198, 83, 18, 796, 11361, 18843, 1352, 7, 35943, 62, 312, 11639, 2220, 3256, 2148, 62, 22866, 28, 17821, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21015, 62, 13345, 540, 28, 2220, 11, 48924, 28, 67, 363, 8, 201, 198, 83, 19, 796, 11361, 18843, 1352, 7, 35943, 62, 312, 11639, 79, 17407, 62, 82, 5605, 8597, 3256, 2148, 62, 22866, 28, 17821, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21015, 62, 13345, 540, 28, 79, 17407, 62, 82, 5605, 8597, 11, 48924, 28, 67, 363, 8, 201, 198, 83, 20, 796, 11361, 18843, 1352, 7, 35943, 62, 312, 11639, 6649, 441, 13645, 3256, 2148, 62, 22866, 28, 17821, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21015, 62, 13345, 540, 28, 6649, 441, 13645, 11, 48924, 28, 67, 363, 8, 201, 198, 201, 198, 201, 198, 2, 9058, 20086, 201, 198, 83, 16, 9609, 256, 17, 9609, 256, 18, 201, 198, 83, 17, 9609, 256, 19, 9609, 256, 20, 201, 198 ]
2.491868
2,275
#looping over the generated range of numbers total = 0 for i in range(1, 101): total = total + i print(total)
[ 2, 5439, 15816, 625, 262, 7560, 2837, 286, 3146, 198, 23350, 796, 657, 198, 1640, 1312, 287, 2837, 7, 16, 11, 8949, 2599, 198, 220, 220, 220, 2472, 796, 2472, 1343, 1312, 198, 198, 4798, 7, 23350, 8 ]
3
38
# [Super SloMo] ##High Quality Estimation of Multiple Intermediate Frames for Video Interpolation from comet_ml import Experiment, ExistingExperiment import argparse import torch import torchvision import torchvision.transforms as transforms import torch.optim as optim import torch.nn as nn import torch.nn.functional as F import model import dataloader_c as dataloader from math import log10 import datetime import numpy as np import warnings from pytorch_msssim import ssim, ms_ssim, SSIM, MS_SSIM # pip install pytorch-msssim from PIL import Image import torchvision.utils as vutils from utils import init_net, upload_images warnings.simplefilter("ignore", UserWarning) # from tensorboardX import SummaryWriter # For parsing commandline arguments parser = argparse.ArgumentParser() parser.add_argument( "--dataset_root", type=str, required=True, help="path to dataset folder containing train-test-validation folders", ) parser.add_argument( "--checkpoint_dir", type=str, required=True, help="path to folder for saving checkpoints", ) parser.add_argument( "--checkpoint", type=str, help="path of checkpoint for pretrained model" ) parser.add_argument( "--train_continue", action="store_true", help="resuming from checkpoint." ) parser.add_argument( "-it", "--init_type", default="", type=str, help="the name of an initialization method: normal | xavier | kaiming | orthogonal", ) parser.add_argument( "--epochs", type=int, default=200, help="number of epochs to train. Default: 200." ) parser.add_argument( "-tbs", "--train_batch_size", type=int, default=384, help="batch size for training. Default: 6.", ) parser.add_argument( "-nw", "--num_workers", default=4, type=int, help="number of CPU you get" ) parser.add_argument( "-vbs", "--validation_batch_size", type=int, default=384, help="batch size for validation. Default: 10.", ) parser.add_argument( "-ilr", "--init_learning_rate", type=float, default=0.0001, help="set initial learning rate. Default: 0.0001.", ) parser.add_argument( "--milestones", type=list, default=[100, 150], help="Set to epoch values where you want to decrease learning rate by a factor of 0.1. Default: [100, 150]", ) parser.add_argument( "--progress_iter", type=int, default=100, help="frequency of reporting progress and validation. N: after every N iterations. Default: 100.", ) parser.add_argument( "--logimagefreq", type=int, default=1, help="frequency of logging image.", ) parser.add_argument( "--checkpoint_epoch", type=int, default=5, help="checkpoint saving frequency. N: after every N epochs. Each checkpoint is roughly of size 151 MB.Default: 5.", ) parser.add_argument( "-wp", "--workspace", default="tianyu-z", type=str, help="comet-ml workspace" ) parser.add_argument( "-dh", "--data_h", default=128, type=int, help="H of the data shape" ) parser.add_argument( "-dw", "--data_w", default=128, type=int, help="W of the data shape" ) parser.add_argument( "-pn", "--projectname", default="super-slomo", type=str, help="comet-ml project name", ) parser.add_argument( "--nocomet", action="store_true", help="not using comet_ml logging." ) parser.add_argument( "--cometid", type=str, default="", help="the comet id to resume exps", ) parser.add_argument( "-rs", "--randomseed", type=int, default=2021, help="batch size for validation. Default: 10.", ) args = parser.parse_args() random_seed = args.randomseed np.random.seed(random_seed) torch.manual_seed(random_seed) if torch.cuda.device_count() > 1: torch.cuda.manual_seed_all(random_seed) else: torch.cuda.manual_seed(random_seed) torch.backends.cudnn.deterministic = True torch.backends.cudnn.benchmark = False ##[TensorboardX](https://github.com/lanpa/tensorboardX) ### For visualizing loss and interpolated frames # writer = SummaryWriter("log") ###Initialize flow computation and arbitrary-time flow interpolation CNNs. device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") flowComp = model.UNet(6, 4) flowComp.to(device) if args.init_type != "": init_net(flowComp, args.init_type) print(args.init_type + " initializing flowComp done") ArbTimeFlowIntrp = model.UNet(20, 5) ArbTimeFlowIntrp.to(device) if args.init_type != "": init_net(ArbTimeFlowIntrp, args.init_type) print(args.init_type + " initializing ArbTimeFlowIntrp done") ### Initialization if args.train_continue: if not args.nocomet and args.cometid != "": comet_exp = ExistingExperiment(previous_experiment=args.cometid) elif not args.nocomet and args.cometid == "": comet_exp = Experiment(workspace=args.workspace, project_name=args.projectname) else: comet_exp = None dict1 = torch.load(args.checkpoint) ArbTimeFlowIntrp.load_state_dict(dict1["state_dictAT"]) flowComp.load_state_dict(dict1["state_dictFC"]) print("Pretrained model loaded!") else: # start logging info in comet-ml if not args.nocomet: comet_exp = Experiment(workspace=args.workspace, project_name=args.projectname) # comet_exp.log_parameters(flatten_opts(args)) else: comet_exp = None dict1 = {"loss": [], "valLoss": [], "valPSNR": [], "valSSIM": [], "epoch": -1} ###Initialze backward warpers for train and validation datasets trainFlowBackWarp = model.backWarp(128, 128, device) trainFlowBackWarp = trainFlowBackWarp.to(device) validationFlowBackWarp = model.backWarp(128, 128, device) validationFlowBackWarp = validationFlowBackWarp.to(device) ###Load Datasets # Channel wise mean calculated on adobe240-fps training dataset mean = [0.5, 0.5, 0.5] std = [1, 1, 1] normalize = transforms.Normalize(mean=mean, std=std) transform = transforms.Compose([transforms.ToTensor(), normalize]) trainset = dataloader.SuperSloMo( root=args.dataset_root + "/train", transform=transform, train=True ) trainloader = torch.utils.data.DataLoader( trainset, batch_size=args.train_batch_size, num_workers=args.num_workers, shuffle=True, ) validationset = dataloader.SuperSloMo( root=args.dataset_root + "/validation", transform=transform, randomCropSize=(128, 128), train=False, ) validationloader = torch.utils.data.DataLoader( validationset, batch_size=args.validation_batch_size, num_workers=args.num_workers, shuffle=False, ) print(trainset, validationset) ###Create transform to display image from tensor negmean = [x * -1 for x in mean] revNormalize = transforms.Normalize(mean=negmean, std=std) TP = transforms.Compose([revNormalize, transforms.ToPILImage()]) ###Utils ###Loss and Optimizer L1_lossFn = nn.L1Loss() MSE_LossFn = nn.MSELoss() params = list(ArbTimeFlowIntrp.parameters()) + list(flowComp.parameters()) optimizer = optim.Adam(params, lr=args.init_learning_rate) # scheduler to decrease learning rate by a factor of 10 at milestones. scheduler = optim.lr_scheduler.MultiStepLR( optimizer, milestones=args.milestones, gamma=0.1 ) ###Initializing VGG16 model for perceptual loss vgg16 = torchvision.models.vgg16(pretrained=True) vgg16_conv_4_3 = nn.Sequential(*list(vgg16.children())[0][:22]) vgg16_conv_4_3.to(device) if args.init_type != "": init_net(vgg16_conv_4_3, args.init_type) for param in vgg16_conv_4_3.parameters(): param.requires_grad = False ### Validation function # ### Training import time best_psnr = -1 best_ssim = -1 best_valloss = 9999 start = time.time() cLoss = dict1["loss"] valLoss = dict1["valLoss"] valPSNR = dict1["valPSNR"] valSSIM = dict1["valSSIM"] checkpoint_counter = int((dict1["epoch"] + 1) / args.checkpoint_epoch) ### Main training loop for epoch in range(dict1["epoch"] + 1, args.epochs): print("Epoch: ", epoch) # Append and reset cLoss.append([]) valLoss.append([]) valPSNR.append([]) valSSIM.append([]) iLoss = 0 if epoch > dict1["epoch"] + 1: # Increment scheduler count scheduler.step() # if epoch == dict1["epoch"] + 1: # # test if validate works # validate(epoch, True) for trainIndex, (trainData, trainFrameIndex) in enumerate(trainloader, 0): ## Getting the input and the target from the training set frame0, frameT, frame1 = trainData I0 = frame0.to(device) I1 = frame1.to(device) IFrame = frameT.to(device) optimizer.zero_grad() # Calculate flow between reference frames I0 and I1 flowOut = flowComp(torch.cat((I0, I1), dim=1)) # Extracting flows between I0 and I1 - F_0_1 and F_1_0 F_0_1 = flowOut[:, :2, :, :] F_1_0 = flowOut[:, 2:, :, :] fCoeff = model.getFlowCoeff(trainFrameIndex, device) # Calculate intermediate flows F_t_0 = fCoeff[0] * F_0_1 + fCoeff[1] * F_1_0 F_t_1 = fCoeff[2] * F_0_1 + fCoeff[3] * F_1_0 # Get intermediate frames from the intermediate flows g_I0_F_t_0 = trainFlowBackWarp(I0, F_t_0) g_I1_F_t_1 = trainFlowBackWarp(I1, F_t_1) # Calculate optical flow residuals and visibility maps intrpOut = ArbTimeFlowIntrp( torch.cat( (I0, I1, F_0_1, F_1_0, F_t_1, F_t_0, g_I1_F_t_1, g_I0_F_t_0), dim=1 ) ) # Extract optical flow residuals and visibility maps F_t_0_f = intrpOut[:, :2, :, :] + F_t_0 F_t_1_f = intrpOut[:, 2:4, :, :] + F_t_1 V_t_0 = torch.sigmoid(intrpOut[:, 4:5, :, :]) V_t_1 = 1 - V_t_0 # Get intermediate frames from the intermediate flows g_I0_F_t_0_f = trainFlowBackWarp(I0, F_t_0_f) g_I1_F_t_1_f = trainFlowBackWarp(I1, F_t_1_f) wCoeff = model.getWarpCoeff(trainFrameIndex, device) # Calculate final intermediate frame Ft_p = (wCoeff[0] * V_t_0 * g_I0_F_t_0_f + wCoeff[1] * V_t_1 * g_I1_F_t_1_f) / ( wCoeff[0] * V_t_0 + wCoeff[1] * V_t_1 ) # Loss recnLoss = L1_lossFn(Ft_p, IFrame) prcpLoss = MSE_LossFn(vgg16_conv_4_3(Ft_p), vgg16_conv_4_3(IFrame)) warpLoss = ( L1_lossFn(g_I0_F_t_0, IFrame) + L1_lossFn(g_I1_F_t_1, IFrame) + L1_lossFn(trainFlowBackWarp(I0, F_1_0), I1) + L1_lossFn(trainFlowBackWarp(I1, F_0_1), I0) ) loss_smooth_1_0 = torch.mean( torch.abs(F_1_0[:, :, :, :-1] - F_1_0[:, :, :, 1:]) ) + torch.mean(torch.abs(F_1_0[:, :, :-1, :] - F_1_0[:, :, 1:, :])) loss_smooth_0_1 = torch.mean( torch.abs(F_0_1[:, :, :, :-1] - F_0_1[:, :, :, 1:]) ) + torch.mean(torch.abs(F_0_1[:, :, :-1, :] - F_0_1[:, :, 1:, :])) loss_smooth = loss_smooth_1_0 + loss_smooth_0_1 # Total Loss - Coefficients 204 and 102 are used instead of 0.8 and 0.4 # since the loss in paper is calculated for input pixels in range 0-255 # and the input to our network is in range 0-1 loss = 204 * recnLoss + 102 * warpLoss + 0.005 * prcpLoss + loss_smooth # Backpropagate loss.backward() optimizer.step() iLoss += loss.item() # Validation and progress every `args.progress_iter` iterations # if (trainIndex % args.progress_iter) == args.progress_iter - 1: end = time.time() psnr, ssim_val, vLoss, valImg = validate(epoch, logimage=True) valPSNR[epoch].append(psnr) valSSIM[epoch].append(ssim_val) valLoss[epoch].append(vLoss) # Tensorboard itr = int(trainIndex + epoch * (len(trainloader))) # writer.add_scalars( # "Loss", # {"trainLoss": iLoss / args.progress_iter, "validationLoss": vLoss}, # itr, # ) # writer.add_scalar("PSNR", psnr, itr) # writer.add_image("Validation", valImg, itr) comet_exp.log_metrics( {"trainLoss": iLoss / args.progress_iter, "validationLoss": vLoss}, step=itr, epoch=epoch, ) comet_exp.log_metric("PSNR", psnr, step=itr, epoch=epoch) comet_exp.log_metric("SSIM", ssim_val, step=itr, epoch=epoch) # valImage = torch.movedim(valImg, 0, -1) # print(type(valImage)) # print(valImage.shape) # print(valImage.max()) # print(valImage.min()) # comet_exp.log_image( # valImage, # name="iter: " + str(iter) + ";epoch: " + str(epoch), # image_format="jpg", # step=itr, # ) ##### endVal = time.time() print( " Loss: %0.6f Iterations: %4d/%4d TrainExecTime: %0.1f ValLoss:%0.6f ValPSNR: %0.4f ValSSIM: %0.4f ValEvalTime: %0.2f LearningRate: %f" % ( iLoss / args.progress_iter, trainIndex, len(trainloader), end - start, vLoss, psnr, ssim_val, endVal - end, get_lr(optimizer), ) ) cLoss[epoch].append(iLoss / args.progress_iter) iLoss = 0 start = time.time() # Create checkpoint after every `args.checkpoint_epoch` epochs if (epoch % args.checkpoint_epoch) == args.checkpoint_epoch - 1: dict1 = { "Detail": "End to end Super SloMo.", "epoch": epoch, "timestamp": datetime.datetime.now(), "trainBatchSz": args.train_batch_size, "validationBatchSz": args.validation_batch_size, "learningRate": get_lr(optimizer), "loss": cLoss, "valLoss": valLoss, "valPSNR": valPSNR, "valSSIM": valSSIM, "state_dictFC": flowComp.state_dict(), "state_dictAT": ArbTimeFlowIntrp.state_dict(), } torch.save( dict1, args.checkpoint_dir + "/SuperSloMo" + str(checkpoint_counter) + ".ckpt", ) checkpoint_counter += 1 if psnr > best_psnr: best_psnr = psnr dict1 = { "Detail": "End to end Super SloMo.", "epoch": epoch, "timestamp": datetime.datetime.now(), "trainBatchSz": args.train_batch_size, "validationBatchSz": args.validation_batch_size, "learningRate": get_lr(optimizer), "loss": cLoss, "valLoss": valLoss, "valPSNR": valPSNR, "valSSIM": valSSIM, "state_dictFC": flowComp.state_dict(), "state_dictAT": ArbTimeFlowIntrp.state_dict(), } torch.save( dict1, args.checkpoint_dir + "/SuperSloMo" + "bestpsnr_epoch" + ".ckpt", ) print("New Best PSNR found and saved at " + str(epoch)) if vLoss < best_valloss: best_valloss = vLoss dict1 = { "Detail": "End to end Super SloMo.", "epoch": epoch, "timestamp": datetime.datetime.now(), "trainBatchSz": args.train_batch_size, "validationBatchSz": args.validation_batch_size, "learningRate": get_lr(optimizer), "loss": cLoss, "valLoss": valLoss, "valPSNR": valPSNR, "valSSIM": valSSIM, "state_dictFC": flowComp.state_dict(), "state_dictAT": ArbTimeFlowIntrp.state_dict(), } torch.save( dict1, args.checkpoint_dir + "/SuperSloMo" + "bestvalloss_epoch" + ".ckpt", ) print("New Best valloss found and saved at " + str(epoch)) if ssim_val > best_ssim: best_ssim = ssim_val dict1 = { "Detail": "End to end Super SloMo.", "epoch": epoch, "timestamp": datetime.datetime.now(), "trainBatchSz": args.train_batch_size, "validationBatchSz": args.validation_batch_size, "learningRate": get_lr(optimizer), "loss": cLoss, "valLoss": valLoss, "valPSNR": valPSNR, "valSSIM": valSSIM, "state_dictFC": flowComp.state_dict(), "state_dictAT": ArbTimeFlowIntrp.state_dict(), } torch.save( dict1, args.checkpoint_dir + "/SuperSloMo" + "bestssim_epoch" + ".ckpt", ) print("New Best SSIM found and saved at " + str(epoch))
[ 2, 685, 12442, 3454, 78, 16632, 60, 198, 2235, 11922, 14156, 10062, 18991, 286, 20401, 42540, 36291, 329, 7623, 4225, 16104, 341, 198, 6738, 31733, 62, 4029, 1330, 29544, 11, 1475, 9665, 20468, 3681, 198, 11748, 1822, 29572, 198, 11748, 28034, 198, 11748, 28034, 10178, 198, 11748, 28034, 10178, 13, 7645, 23914, 355, 31408, 198, 11748, 28034, 13, 40085, 355, 6436, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 11748, 2746, 198, 11748, 4818, 282, 1170, 263, 62, 66, 355, 4818, 282, 1170, 263, 198, 6738, 10688, 1330, 2604, 940, 198, 11748, 4818, 8079, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 14601, 198, 6738, 12972, 13165, 354, 62, 76, 824, 14323, 1330, 264, 14323, 11, 13845, 62, 824, 320, 11, 6723, 3955, 11, 6579, 62, 5432, 3955, 220, 1303, 7347, 2721, 12972, 13165, 354, 12, 76, 824, 14323, 198, 6738, 350, 4146, 1330, 7412, 198, 11748, 28034, 10178, 13, 26791, 355, 410, 26791, 198, 6738, 3384, 4487, 1330, 2315, 62, 3262, 11, 9516, 62, 17566, 198, 198, 40539, 654, 13, 36439, 24455, 7203, 46430, 1600, 11787, 20361, 8, 198, 2, 422, 11192, 273, 3526, 55, 1330, 21293, 34379, 198, 198, 2, 1114, 32096, 3141, 1370, 7159, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 19608, 292, 316, 62, 15763, 1600, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 2672, 28, 17821, 11, 198, 220, 220, 220, 1037, 2625, 6978, 284, 27039, 9483, 7268, 4512, 12, 9288, 12, 12102, 341, 24512, 1600, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 9122, 4122, 62, 15908, 1600, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 2672, 28, 17821, 11, 198, 220, 220, 220, 1037, 2625, 6978, 284, 9483, 329, 8914, 36628, 1600, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 9122, 4122, 1600, 2099, 28, 2536, 11, 1037, 2625, 6978, 286, 26954, 329, 2181, 13363, 2746, 1, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 27432, 62, 43043, 1600, 2223, 2625, 8095, 62, 7942, 1600, 1037, 2625, 411, 12595, 422, 26954, 526, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 270, 1600, 198, 220, 220, 220, 366, 438, 15003, 62, 4906, 1600, 198, 220, 220, 220, 4277, 2625, 1600, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 1037, 2625, 1169, 1438, 286, 281, 37588, 2446, 25, 3487, 930, 2124, 19492, 930, 479, 1385, 278, 930, 29617, 519, 20996, 1600, 198, 8, 198, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 538, 5374, 82, 1600, 2099, 28, 600, 11, 4277, 28, 2167, 11, 1037, 2625, 17618, 286, 36835, 82, 284, 4512, 13, 15161, 25, 939, 526, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 83, 1443, 1600, 198, 220, 220, 220, 366, 438, 27432, 62, 43501, 62, 7857, 1600, 198, 220, 220, 220, 2099, 28, 600, 11, 198, 220, 220, 220, 4277, 28, 22842, 11, 198, 220, 220, 220, 1037, 2625, 43501, 2546, 329, 3047, 13, 15161, 25, 718, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 47516, 1600, 366, 438, 22510, 62, 22896, 1600, 4277, 28, 19, 11, 2099, 28, 600, 11, 1037, 2625, 17618, 286, 9135, 345, 651, 1, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 85, 1443, 1600, 198, 220, 220, 220, 366, 438, 12102, 341, 62, 43501, 62, 7857, 1600, 198, 220, 220, 220, 2099, 28, 600, 11, 198, 220, 220, 220, 4277, 28, 22842, 11, 198, 220, 220, 220, 1037, 2625, 43501, 2546, 329, 21201, 13, 15161, 25, 838, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 346, 81, 1600, 198, 220, 220, 220, 366, 438, 15003, 62, 40684, 62, 4873, 1600, 198, 220, 220, 220, 2099, 28, 22468, 11, 198, 220, 220, 220, 4277, 28, 15, 13, 18005, 11, 198, 220, 220, 220, 1037, 2625, 2617, 4238, 4673, 2494, 13, 15161, 25, 657, 13, 18005, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 25433, 30637, 1600, 198, 220, 220, 220, 2099, 28, 4868, 11, 198, 220, 220, 220, 4277, 41888, 3064, 11, 6640, 4357, 198, 220, 220, 220, 1037, 2625, 7248, 284, 36835, 3815, 810, 345, 765, 284, 10070, 4673, 2494, 416, 257, 5766, 286, 657, 13, 16, 13, 15161, 25, 685, 3064, 11, 6640, 60, 1600, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 33723, 62, 2676, 1600, 198, 220, 220, 220, 2099, 28, 600, 11, 198, 220, 220, 220, 4277, 28, 3064, 11, 198, 220, 220, 220, 1037, 2625, 35324, 286, 6447, 4371, 290, 21201, 13, 399, 25, 706, 790, 399, 34820, 13, 15161, 25, 1802, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 6404, 9060, 19503, 80, 1600, 2099, 28, 600, 11, 4277, 28, 16, 11, 1037, 2625, 35324, 286, 18931, 2939, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 9122, 4122, 62, 538, 5374, 1600, 198, 220, 220, 220, 2099, 28, 600, 11, 198, 220, 220, 220, 4277, 28, 20, 11, 198, 220, 220, 220, 1037, 2625, 9122, 4122, 8914, 8373, 13, 399, 25, 706, 790, 399, 36835, 82, 13, 5501, 26954, 318, 7323, 286, 2546, 25326, 10771, 13, 19463, 25, 642, 33283, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 24142, 1600, 366, 438, 5225, 10223, 1600, 4277, 2625, 83, 666, 24767, 12, 89, 1600, 2099, 28, 2536, 11, 1037, 2625, 785, 316, 12, 4029, 44573, 1, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 34985, 1600, 366, 438, 7890, 62, 71, 1600, 4277, 28, 12762, 11, 2099, 28, 600, 11, 1037, 2625, 39, 286, 262, 1366, 5485, 1, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 67, 86, 1600, 366, 438, 7890, 62, 86, 1600, 4277, 28, 12762, 11, 2099, 28, 600, 11, 1037, 2625, 54, 286, 262, 1366, 5485, 1, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 21999, 1600, 198, 220, 220, 220, 366, 438, 16302, 3672, 1600, 198, 220, 220, 220, 4277, 2625, 16668, 12, 6649, 17902, 1600, 198, 220, 220, 220, 2099, 28, 2536, 11, 198, 220, 220, 220, 1037, 2625, 785, 316, 12, 4029, 1628, 1438, 1600, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 77, 420, 908, 1600, 2223, 2625, 8095, 62, 7942, 1600, 1037, 2625, 1662, 1262, 31733, 62, 4029, 18931, 526, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 366, 438, 785, 316, 312, 1600, 2099, 28, 2536, 11, 4277, 2625, 1600, 1037, 2625, 1169, 31733, 4686, 284, 15294, 409, 862, 1600, 198, 8, 198, 48610, 13, 2860, 62, 49140, 7, 198, 220, 220, 220, 27444, 3808, 1600, 198, 220, 220, 220, 366, 438, 25120, 28826, 1600, 198, 220, 220, 220, 2099, 28, 600, 11, 198, 220, 220, 220, 4277, 28, 1238, 2481, 11, 198, 220, 220, 220, 1037, 2625, 43501, 2546, 329, 21201, 13, 15161, 25, 838, 33283, 198, 8, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 198, 25120, 62, 28826, 796, 26498, 13, 25120, 28826, 198, 37659, 13, 25120, 13, 28826, 7, 25120, 62, 28826, 8, 198, 13165, 354, 13, 805, 723, 62, 28826, 7, 25120, 62, 28826, 8, 198, 361, 28034, 13, 66, 15339, 13, 25202, 62, 9127, 3419, 1875, 352, 25, 198, 220, 220, 220, 28034, 13, 66, 15339, 13, 805, 723, 62, 28826, 62, 439, 7, 25120, 62, 28826, 8, 198, 17772, 25, 198, 220, 220, 220, 28034, 13, 66, 15339, 13, 805, 723, 62, 28826, 7, 25120, 62, 28826, 8, 198, 13165, 354, 13, 1891, 2412, 13, 66, 463, 20471, 13, 67, 2357, 49228, 796, 6407, 198, 13165, 354, 13, 1891, 2412, 13, 66, 463, 20471, 13, 26968, 4102, 796, 10352, 628, 198, 2235, 58, 51, 22854, 3526, 55, 16151, 5450, 1378, 12567, 13, 785, 14, 9620, 8957, 14, 83, 22854, 3526, 55, 8, 198, 21017, 1114, 5874, 2890, 2994, 290, 39555, 515, 13431, 628, 198, 2, 6260, 796, 21293, 34379, 7203, 6404, 4943, 628, 198, 21017, 24243, 1096, 5202, 29964, 290, 14977, 12, 2435, 5202, 39555, 341, 8100, 82, 13, 628, 198, 25202, 796, 28034, 13, 25202, 7203, 66, 15339, 25, 15, 1, 611, 28034, 13, 66, 15339, 13, 271, 62, 15182, 3419, 2073, 366, 36166, 4943, 198, 11125, 7293, 796, 2746, 13, 4944, 316, 7, 21, 11, 604, 8, 198, 11125, 7293, 13, 1462, 7, 25202, 8, 198, 361, 26498, 13, 15003, 62, 4906, 14512, 366, 1298, 198, 220, 220, 220, 2315, 62, 3262, 7, 11125, 7293, 11, 26498, 13, 15003, 62, 4906, 8, 198, 220, 220, 220, 3601, 7, 22046, 13, 15003, 62, 4906, 1343, 366, 4238, 2890, 5202, 7293, 1760, 4943, 198, 3163, 65, 7575, 37535, 5317, 81, 79, 796, 2746, 13, 4944, 316, 7, 1238, 11, 642, 8, 198, 3163, 65, 7575, 37535, 5317, 81, 79, 13, 1462, 7, 25202, 8, 198, 361, 26498, 13, 15003, 62, 4906, 14512, 366, 1298, 198, 220, 220, 220, 2315, 62, 3262, 7, 3163, 65, 7575, 37535, 5317, 81, 79, 11, 26498, 13, 15003, 62, 4906, 8, 198, 220, 220, 220, 3601, 7, 22046, 13, 15003, 62, 4906, 1343, 366, 4238, 2890, 943, 65, 7575, 37535, 5317, 81, 79, 1760, 4943, 628, 198, 21017, 20768, 1634, 628, 198, 361, 26498, 13, 27432, 62, 43043, 25, 198, 220, 220, 220, 611, 407, 26498, 13, 77, 420, 908, 290, 26498, 13, 785, 316, 312, 14512, 366, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 31733, 62, 11201, 796, 1475, 9665, 20468, 3681, 7, 3866, 1442, 62, 23100, 3681, 28, 22046, 13, 785, 316, 312, 8, 198, 220, 220, 220, 1288, 361, 407, 26498, 13, 77, 420, 908, 290, 26498, 13, 785, 316, 312, 6624, 366, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 31733, 62, 11201, 796, 29544, 7, 5225, 10223, 28, 22046, 13, 5225, 10223, 11, 1628, 62, 3672, 28, 22046, 13, 16302, 3672, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31733, 62, 11201, 796, 6045, 198, 220, 220, 220, 8633, 16, 796, 28034, 13, 2220, 7, 22046, 13, 9122, 4122, 8, 198, 220, 220, 220, 943, 65, 7575, 37535, 5317, 81, 79, 13, 2220, 62, 5219, 62, 11600, 7, 11600, 16, 14692, 5219, 62, 11600, 1404, 8973, 8, 198, 220, 220, 220, 5202, 7293, 13, 2220, 62, 5219, 62, 11600, 7, 11600, 16, 14692, 5219, 62, 11600, 4851, 8973, 8, 198, 220, 220, 220, 3601, 7203, 47, 1186, 13363, 2746, 9639, 2474, 8, 198, 17772, 25, 198, 220, 220, 220, 1303, 923, 18931, 7508, 287, 31733, 12, 4029, 198, 220, 220, 220, 611, 407, 26498, 13, 77, 420, 908, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31733, 62, 11201, 796, 29544, 7, 5225, 10223, 28, 22046, 13, 5225, 10223, 11, 1628, 62, 3672, 28, 22046, 13, 16302, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 31733, 62, 11201, 13, 6404, 62, 17143, 7307, 7, 2704, 41769, 62, 404, 912, 7, 22046, 4008, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31733, 62, 11201, 796, 6045, 198, 220, 220, 220, 8633, 16, 796, 19779, 22462, 1298, 685, 4357, 366, 2100, 43, 793, 1298, 685, 4357, 366, 2100, 3705, 24723, 1298, 685, 4357, 366, 2100, 5432, 3955, 1298, 685, 4357, 366, 538, 5374, 1298, 532, 16, 92, 198, 198, 21017, 24243, 2736, 19528, 1175, 19276, 329, 4512, 290, 21201, 40522, 628, 198, 27432, 37535, 7282, 54, 5117, 796, 2746, 13, 1891, 54, 5117, 7, 12762, 11, 13108, 11, 3335, 8, 198, 27432, 37535, 7282, 54, 5117, 796, 4512, 37535, 7282, 54, 5117, 13, 1462, 7, 25202, 8, 198, 12102, 341, 37535, 7282, 54, 5117, 796, 2746, 13, 1891, 54, 5117, 7, 12762, 11, 13108, 11, 3335, 8, 198, 12102, 341, 37535, 7282, 54, 5117, 796, 21201, 37535, 7282, 54, 5117, 13, 1462, 7, 25202, 8, 628, 198, 21017, 8912, 16092, 292, 1039, 628, 198, 2, 11102, 10787, 1612, 10488, 319, 512, 5910, 16102, 12, 29647, 3047, 27039, 198, 32604, 796, 685, 15, 13, 20, 11, 657, 13, 20, 11, 657, 13, 20, 60, 198, 19282, 796, 685, 16, 11, 352, 11, 352, 60, 198, 11265, 1096, 796, 31408, 13, 26447, 1096, 7, 32604, 28, 32604, 11, 14367, 28, 19282, 8, 198, 35636, 796, 31408, 13, 7293, 577, 26933, 7645, 23914, 13, 2514, 51, 22854, 22784, 3487, 1096, 12962, 198, 198, 2213, 1299, 316, 796, 4818, 282, 1170, 263, 13, 12442, 50, 5439, 16632, 7, 198, 220, 220, 220, 6808, 28, 22046, 13, 19608, 292, 316, 62, 15763, 1343, 12813, 27432, 1600, 6121, 28, 35636, 11, 4512, 28, 17821, 198, 8, 198, 27432, 29356, 796, 28034, 13, 26791, 13, 7890, 13, 6601, 17401, 7, 198, 220, 220, 220, 13404, 316, 11, 198, 220, 220, 220, 15458, 62, 7857, 28, 22046, 13, 27432, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 997, 62, 22896, 28, 22046, 13, 22510, 62, 22896, 11, 198, 220, 220, 220, 36273, 28, 17821, 11, 198, 8, 198, 198, 12102, 602, 316, 796, 4818, 282, 1170, 263, 13, 12442, 50, 5439, 16632, 7, 198, 220, 220, 220, 6808, 28, 22046, 13, 19608, 292, 316, 62, 15763, 1343, 12813, 12102, 341, 1600, 198, 220, 220, 220, 6121, 28, 35636, 11, 198, 220, 220, 220, 4738, 34, 1773, 10699, 16193, 12762, 11, 13108, 828, 198, 220, 220, 220, 4512, 28, 25101, 11, 198, 8, 198, 12102, 341, 29356, 796, 28034, 13, 26791, 13, 7890, 13, 6601, 17401, 7, 198, 220, 220, 220, 4938, 602, 316, 11, 198, 220, 220, 220, 15458, 62, 7857, 28, 22046, 13, 12102, 341, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 997, 62, 22896, 28, 22046, 13, 22510, 62, 22896, 11, 198, 220, 220, 220, 36273, 28, 25101, 11, 198, 8, 198, 198, 4798, 7, 2213, 1299, 316, 11, 4938, 602, 316, 8, 628, 198, 21017, 16447, 6121, 284, 3359, 2939, 422, 11192, 273, 628, 198, 12480, 32604, 796, 685, 87, 1635, 532, 16, 329, 2124, 287, 1612, 60, 198, 18218, 26447, 1096, 796, 31408, 13, 26447, 1096, 7, 32604, 28, 12480, 32604, 11, 14367, 28, 19282, 8, 198, 7250, 796, 31408, 13, 7293, 577, 26933, 18218, 26447, 1096, 11, 31408, 13, 2514, 47, 4146, 5159, 3419, 12962, 628, 198, 21017, 18274, 4487, 628, 198, 198, 21017, 43, 793, 290, 30011, 7509, 628, 198, 43, 16, 62, 22462, 37, 77, 796, 299, 77, 13, 43, 16, 43, 793, 3419, 198, 44, 5188, 62, 43, 793, 37, 77, 796, 299, 77, 13, 5653, 3698, 793, 3419, 198, 198, 37266, 796, 1351, 7, 3163, 65, 7575, 37535, 5317, 81, 79, 13, 17143, 7307, 28955, 1343, 1351, 7, 11125, 7293, 13, 17143, 7307, 28955, 198, 198, 40085, 7509, 796, 6436, 13, 23159, 7, 37266, 11, 300, 81, 28, 22046, 13, 15003, 62, 40684, 62, 4873, 8, 198, 2, 6038, 18173, 284, 10070, 4673, 2494, 416, 257, 5766, 286, 838, 379, 41926, 13, 198, 1416, 704, 18173, 796, 6436, 13, 14050, 62, 1416, 704, 18173, 13, 29800, 8600, 35972, 7, 198, 220, 220, 220, 6436, 7509, 11, 41926, 28, 22046, 13, 25433, 30637, 11, 34236, 28, 15, 13, 16, 198, 8, 628, 198, 21017, 24243, 2890, 569, 11190, 1433, 2746, 329, 49615, 2994, 628, 198, 85, 1130, 1433, 796, 28034, 10178, 13, 27530, 13, 85, 1130, 1433, 7, 5310, 13363, 28, 17821, 8, 198, 85, 1130, 1433, 62, 42946, 62, 19, 62, 18, 796, 299, 77, 13, 44015, 1843, 46491, 4868, 7, 85, 1130, 1433, 13, 17197, 28955, 58, 15, 7131, 25, 1828, 12962, 198, 85, 1130, 1433, 62, 42946, 62, 19, 62, 18, 13, 1462, 7, 25202, 8, 198, 361, 26498, 13, 15003, 62, 4906, 14512, 366, 1298, 198, 220, 220, 220, 2315, 62, 3262, 7, 85, 1130, 1433, 62, 42946, 62, 19, 62, 18, 11, 26498, 13, 15003, 62, 4906, 8, 198, 1640, 5772, 287, 410, 1130, 1433, 62, 42946, 62, 19, 62, 18, 13, 17143, 7307, 33529, 198, 220, 220, 220, 5772, 13, 47911, 62, 9744, 796, 10352, 628, 198, 21017, 3254, 24765, 2163, 198, 2, 628, 198, 198, 21017, 13614, 628, 198, 11748, 640, 198, 198, 13466, 62, 862, 48624, 796, 532, 16, 198, 13466, 62, 824, 320, 796, 532, 16, 198, 13466, 62, 85, 439, 793, 796, 860, 17032, 198, 9688, 796, 640, 13, 2435, 3419, 198, 66, 43, 793, 796, 8633, 16, 14692, 22462, 8973, 198, 2100, 43, 793, 796, 8633, 16, 14692, 2100, 43, 793, 8973, 198, 2100, 3705, 24723, 796, 8633, 16, 14692, 2100, 3705, 24723, 8973, 198, 2100, 5432, 3955, 796, 8633, 16, 14692, 2100, 5432, 3955, 8973, 198, 9122, 4122, 62, 24588, 796, 493, 19510, 11600, 16, 14692, 538, 5374, 8973, 1343, 352, 8, 1220, 26498, 13, 9122, 4122, 62, 538, 5374, 8, 198, 198, 21017, 8774, 3047, 9052, 198, 1640, 36835, 287, 2837, 7, 11600, 16, 14692, 538, 5374, 8973, 1343, 352, 11, 26498, 13, 538, 5374, 82, 2599, 198, 220, 220, 220, 3601, 7203, 13807, 5374, 25, 33172, 36835, 8, 628, 220, 220, 220, 1303, 2034, 437, 290, 13259, 198, 220, 220, 220, 269, 43, 793, 13, 33295, 26933, 12962, 198, 220, 220, 220, 1188, 43, 793, 13, 33295, 26933, 12962, 198, 220, 220, 220, 1188, 3705, 24723, 13, 33295, 26933, 12962, 198, 220, 220, 220, 1188, 5432, 3955, 13, 33295, 26933, 12962, 198, 220, 220, 220, 1312, 43, 793, 796, 657, 198, 220, 220, 220, 611, 36835, 1875, 8633, 16, 14692, 538, 5374, 8973, 1343, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 10791, 434, 6038, 18173, 954, 198, 220, 220, 220, 220, 220, 220, 220, 6038, 18173, 13, 9662, 3419, 198, 220, 220, 220, 1303, 611, 36835, 6624, 8633, 16, 14692, 538, 5374, 8973, 1343, 352, 25, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1303, 1332, 611, 26571, 2499, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 26571, 7, 538, 5374, 11, 6407, 8, 198, 220, 220, 220, 329, 4512, 15732, 11, 357, 27432, 6601, 11, 4512, 19778, 15732, 8, 287, 27056, 378, 7, 27432, 29356, 11, 657, 2599, 628, 220, 220, 220, 220, 220, 220, 220, 22492, 18067, 262, 5128, 290, 262, 2496, 422, 262, 3047, 900, 198, 220, 220, 220, 220, 220, 220, 220, 5739, 15, 11, 5739, 51, 11, 5739, 16, 796, 4512, 6601, 628, 220, 220, 220, 220, 220, 220, 220, 314, 15, 796, 5739, 15, 13, 1462, 7, 25202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 16, 796, 5739, 16, 13, 1462, 7, 25202, 8, 198, 220, 220, 220, 220, 220, 220, 220, 314, 19778, 796, 5739, 51, 13, 1462, 7, 25202, 8, 628, 220, 220, 220, 220, 220, 220, 220, 6436, 7509, 13, 22570, 62, 9744, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27131, 378, 5202, 1022, 4941, 13431, 314, 15, 290, 314, 16, 198, 220, 220, 220, 220, 220, 220, 220, 5202, 7975, 796, 5202, 7293, 7, 13165, 354, 13, 9246, 19510, 40, 15, 11, 314, 16, 828, 5391, 28, 16, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 29677, 278, 15623, 1022, 314, 15, 290, 314, 16, 532, 376, 62, 15, 62, 16, 290, 376, 62, 16, 62, 15, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 15, 62, 16, 796, 5202, 7975, 58, 45299, 1058, 17, 11, 1058, 11, 1058, 60, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 16, 62, 15, 796, 5202, 7975, 58, 45299, 362, 45299, 1058, 11, 1058, 60, 628, 220, 220, 220, 220, 220, 220, 220, 277, 34, 2577, 487, 796, 2746, 13, 1136, 37535, 34, 2577, 487, 7, 27432, 19778, 15732, 11, 3335, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27131, 378, 19898, 15623, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 83, 62, 15, 796, 277, 34, 2577, 487, 58, 15, 60, 1635, 376, 62, 15, 62, 16, 1343, 277, 34, 2577, 487, 58, 16, 60, 1635, 376, 62, 16, 62, 15, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 83, 62, 16, 796, 277, 34, 2577, 487, 58, 17, 60, 1635, 376, 62, 15, 62, 16, 1343, 277, 34, 2577, 487, 58, 18, 60, 1635, 376, 62, 16, 62, 15, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 19898, 13431, 422, 262, 19898, 15623, 198, 220, 220, 220, 220, 220, 220, 220, 308, 62, 40, 15, 62, 37, 62, 83, 62, 15, 796, 4512, 37535, 7282, 54, 5117, 7, 40, 15, 11, 376, 62, 83, 62, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 308, 62, 40, 16, 62, 37, 62, 83, 62, 16, 796, 4512, 37535, 7282, 54, 5117, 7, 40, 16, 11, 376, 62, 83, 62, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27131, 378, 18480, 5202, 29598, 82, 290, 20742, 8739, 198, 220, 220, 220, 220, 220, 220, 220, 9913, 79, 7975, 796, 943, 65, 7575, 37535, 5317, 81, 79, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 9246, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 40, 15, 11, 314, 16, 11, 376, 62, 15, 62, 16, 11, 376, 62, 16, 62, 15, 11, 376, 62, 83, 62, 16, 11, 376, 62, 83, 62, 15, 11, 308, 62, 40, 16, 62, 37, 62, 83, 62, 16, 11, 308, 62, 40, 15, 62, 37, 62, 83, 62, 15, 828, 5391, 28, 16, 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, 220, 220, 220, 220, 1303, 29677, 18480, 5202, 29598, 82, 290, 20742, 8739, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 83, 62, 15, 62, 69, 796, 9913, 79, 7975, 58, 45299, 1058, 17, 11, 1058, 11, 1058, 60, 1343, 376, 62, 83, 62, 15, 198, 220, 220, 220, 220, 220, 220, 220, 376, 62, 83, 62, 16, 62, 69, 796, 9913, 79, 7975, 58, 45299, 362, 25, 19, 11, 1058, 11, 1058, 60, 1343, 376, 62, 83, 62, 16, 198, 220, 220, 220, 220, 220, 220, 220, 569, 62, 83, 62, 15, 796, 28034, 13, 82, 17225, 1868, 7, 600, 81, 79, 7975, 58, 45299, 604, 25, 20, 11, 1058, 11, 1058, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 569, 62, 83, 62, 16, 796, 352, 532, 569, 62, 83, 62, 15, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 19898, 13431, 422, 262, 19898, 15623, 198, 220, 220, 220, 220, 220, 220, 220, 308, 62, 40, 15, 62, 37, 62, 83, 62, 15, 62, 69, 796, 4512, 37535, 7282, 54, 5117, 7, 40, 15, 11, 376, 62, 83, 62, 15, 62, 69, 8, 198, 220, 220, 220, 220, 220, 220, 220, 308, 62, 40, 16, 62, 37, 62, 83, 62, 16, 62, 69, 796, 4512, 37535, 7282, 54, 5117, 7, 40, 16, 11, 376, 62, 83, 62, 16, 62, 69, 8, 628, 220, 220, 220, 220, 220, 220, 220, 266, 34, 2577, 487, 796, 2746, 13, 1136, 54, 5117, 34, 2577, 487, 7, 27432, 19778, 15732, 11, 3335, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27131, 378, 2457, 19898, 5739, 198, 220, 220, 220, 220, 220, 220, 220, 45231, 62, 79, 796, 357, 86, 34, 2577, 487, 58, 15, 60, 1635, 569, 62, 83, 62, 15, 1635, 308, 62, 40, 15, 62, 37, 62, 83, 62, 15, 62, 69, 1343, 266, 34, 2577, 487, 58, 16, 60, 1635, 569, 62, 83, 62, 16, 1635, 308, 62, 40, 16, 62, 37, 62, 83, 62, 16, 62, 69, 8, 1220, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 266, 34, 2577, 487, 58, 15, 60, 1635, 569, 62, 83, 62, 15, 1343, 266, 34, 2577, 487, 58, 16, 60, 1635, 569, 62, 83, 62, 16, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 22014, 198, 220, 220, 220, 220, 220, 220, 220, 664, 77, 43, 793, 796, 406, 16, 62, 22462, 37, 77, 7, 37, 83, 62, 79, 11, 314, 19778, 8, 628, 220, 220, 220, 220, 220, 220, 220, 778, 13155, 43, 793, 796, 337, 5188, 62, 43, 793, 37, 77, 7, 85, 1130, 1433, 62, 42946, 62, 19, 62, 18, 7, 37, 83, 62, 79, 828, 410, 1130, 1433, 62, 42946, 62, 19, 62, 18, 7, 5064, 28073, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 25825, 43, 793, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 406, 16, 62, 22462, 37, 77, 7, 70, 62, 40, 15, 62, 37, 62, 83, 62, 15, 11, 314, 19778, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1343, 406, 16, 62, 22462, 37, 77, 7, 70, 62, 40, 16, 62, 37, 62, 83, 62, 16, 11, 314, 19778, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1343, 406, 16, 62, 22462, 37, 77, 7, 27432, 37535, 7282, 54, 5117, 7, 40, 15, 11, 376, 62, 16, 62, 15, 828, 314, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1343, 406, 16, 62, 22462, 37, 77, 7, 27432, 37535, 7282, 54, 5117, 7, 40, 16, 11, 376, 62, 15, 62, 16, 828, 314, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 2994, 62, 5796, 5226, 62, 16, 62, 15, 796, 28034, 13, 32604, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 8937, 7, 37, 62, 16, 62, 15, 58, 45299, 1058, 11, 1058, 11, 1058, 12, 16, 60, 532, 376, 62, 16, 62, 15, 58, 45299, 1058, 11, 1058, 11, 352, 25, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 1343, 28034, 13, 32604, 7, 13165, 354, 13, 8937, 7, 37, 62, 16, 62, 15, 58, 45299, 1058, 11, 1058, 12, 16, 11, 1058, 60, 532, 376, 62, 16, 62, 15, 58, 45299, 1058, 11, 352, 45299, 1058, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 62, 5796, 5226, 62, 15, 62, 16, 796, 28034, 13, 32604, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 8937, 7, 37, 62, 15, 62, 16, 58, 45299, 1058, 11, 1058, 11, 1058, 12, 16, 60, 532, 376, 62, 15, 62, 16, 58, 45299, 1058, 11, 1058, 11, 352, 25, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 1343, 28034, 13, 32604, 7, 13165, 354, 13, 8937, 7, 37, 62, 15, 62, 16, 58, 45299, 1058, 11, 1058, 12, 16, 11, 1058, 60, 532, 376, 62, 15, 62, 16, 58, 45299, 1058, 11, 352, 45299, 1058, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 62, 5796, 5226, 796, 2994, 62, 5796, 5226, 62, 16, 62, 15, 1343, 2994, 62, 5796, 5226, 62, 15, 62, 16, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 7472, 22014, 532, 1766, 41945, 26956, 290, 15143, 389, 973, 2427, 286, 657, 13, 23, 290, 657, 13, 19, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1201, 262, 2994, 287, 3348, 318, 10488, 329, 5128, 17848, 287, 2837, 657, 12, 13381, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 290, 262, 5128, 284, 674, 3127, 318, 287, 2837, 657, 12, 16, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 796, 26956, 1635, 664, 77, 43, 793, 1343, 15143, 1635, 25825, 43, 793, 1343, 657, 13, 22544, 1635, 778, 13155, 43, 793, 1343, 2994, 62, 5796, 5226, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5157, 22930, 37861, 198, 220, 220, 220, 220, 220, 220, 220, 2994, 13, 1891, 904, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 6436, 7509, 13, 9662, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 43, 793, 15853, 2994, 13, 9186, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3254, 24765, 290, 4371, 790, 4600, 22046, 13, 33723, 62, 2676, 63, 34820, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 357, 27432, 15732, 4064, 26498, 13, 33723, 62, 2676, 8, 6624, 26498, 13, 33723, 62, 2676, 532, 352, 25, 198, 220, 220, 220, 886, 796, 640, 13, 2435, 3419, 628, 220, 220, 220, 279, 16184, 81, 11, 264, 14323, 62, 2100, 11, 410, 43, 793, 11, 1188, 3546, 70, 796, 26571, 7, 538, 5374, 11, 2604, 9060, 28, 17821, 8, 628, 220, 220, 220, 1188, 3705, 24723, 58, 538, 5374, 4083, 33295, 7, 862, 48624, 8, 198, 220, 220, 220, 1188, 5432, 3955, 58, 538, 5374, 4083, 33295, 7, 824, 320, 62, 2100, 8, 198, 220, 220, 220, 1188, 43, 793, 58, 538, 5374, 4083, 33295, 7, 85, 43, 793, 8, 198, 220, 220, 220, 1303, 309, 22854, 3526, 198, 220, 220, 220, 340, 81, 796, 493, 7, 27432, 15732, 1343, 36835, 1635, 357, 11925, 7, 27432, 29356, 22305, 628, 220, 220, 220, 1303, 6260, 13, 2860, 62, 1416, 282, 945, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 366, 43, 793, 1600, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 19779, 27432, 43, 793, 1298, 1312, 43, 793, 1220, 26498, 13, 33723, 62, 2676, 11, 366, 12102, 341, 43, 793, 1298, 410, 43, 793, 5512, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 340, 81, 11, 198, 220, 220, 220, 1303, 1267, 198, 220, 220, 220, 1303, 6260, 13, 2860, 62, 1416, 282, 283, 7203, 3705, 24723, 1600, 279, 16184, 81, 11, 340, 81, 8, 628, 220, 220, 220, 1303, 6260, 13, 2860, 62, 9060, 7203, 7762, 24765, 1600, 1188, 3546, 70, 11, 340, 81, 8, 198, 220, 220, 220, 31733, 62, 11201, 13, 6404, 62, 4164, 10466, 7, 198, 220, 220, 220, 220, 220, 220, 220, 19779, 27432, 43, 793, 1298, 1312, 43, 793, 1220, 26498, 13, 33723, 62, 2676, 11, 366, 12102, 341, 43, 793, 1298, 410, 43, 793, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 2239, 28, 270, 81, 11, 198, 220, 220, 220, 220, 220, 220, 220, 36835, 28, 538, 5374, 11, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 31733, 62, 11201, 13, 6404, 62, 4164, 1173, 7203, 3705, 24723, 1600, 279, 16184, 81, 11, 2239, 28, 270, 81, 11, 36835, 28, 538, 5374, 8, 198, 220, 220, 220, 31733, 62, 11201, 13, 6404, 62, 4164, 1173, 7203, 5432, 3955, 1600, 264, 14323, 62, 2100, 11, 2239, 28, 270, 81, 11, 36835, 28, 538, 5374, 8, 198, 220, 220, 220, 1303, 1188, 5159, 796, 28034, 13, 76, 2668, 320, 7, 2100, 3546, 70, 11, 657, 11, 532, 16, 8, 198, 220, 220, 220, 1303, 3601, 7, 4906, 7, 2100, 5159, 4008, 198, 220, 220, 220, 1303, 3601, 7, 2100, 5159, 13, 43358, 8, 198, 220, 220, 220, 1303, 3601, 7, 2100, 5159, 13, 9806, 28955, 198, 220, 220, 220, 1303, 3601, 7, 2100, 5159, 13, 1084, 28955, 628, 220, 220, 220, 1303, 31733, 62, 11201, 13, 6404, 62, 9060, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1188, 5159, 11, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1438, 2625, 2676, 25, 366, 1343, 965, 7, 2676, 8, 1343, 366, 26, 538, 5374, 25, 366, 1343, 965, 7, 538, 5374, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2939, 62, 18982, 2625, 9479, 1600, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 2239, 28, 270, 81, 11, 198, 220, 220, 220, 1303, 1267, 198, 220, 220, 220, 46424, 628, 220, 220, 220, 886, 7762, 796, 640, 13, 2435, 3419, 628, 220, 220, 220, 3601, 7, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22014, 25, 4064, 15, 13, 21, 69, 220, 40806, 602, 25, 4064, 19, 67, 14, 4, 19, 67, 220, 16835, 23002, 7575, 25, 4064, 15, 13, 16, 69, 220, 3254, 43, 793, 25, 4, 15, 13, 21, 69, 220, 3254, 3705, 24723, 25, 4064, 15, 13, 19, 69, 220, 3254, 5432, 3955, 25, 4064, 15, 13, 19, 69, 220, 3254, 36, 2100, 7575, 25, 4064, 15, 13, 17, 69, 18252, 32184, 25, 4064, 69, 1, 198, 220, 220, 220, 220, 220, 220, 220, 4064, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 43, 793, 1220, 26498, 13, 33723, 62, 2676, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4512, 15732, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18896, 7, 27432, 29356, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 532, 923, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 16184, 81, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 14323, 62, 2100, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 7762, 532, 886, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 651, 62, 14050, 7, 40085, 7509, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 269, 43, 793, 58, 538, 5374, 4083, 33295, 7, 72, 43, 793, 1220, 26498, 13, 33723, 62, 2676, 8, 198, 220, 220, 220, 1312, 43, 793, 796, 657, 198, 220, 220, 220, 923, 796, 640, 13, 2435, 3419, 628, 220, 220, 220, 1303, 13610, 26954, 706, 790, 4600, 22046, 13, 9122, 4122, 62, 538, 5374, 63, 36835, 82, 198, 220, 220, 220, 611, 357, 538, 5374, 4064, 26498, 13, 9122, 4122, 62, 538, 5374, 8, 6624, 26498, 13, 9122, 4122, 62, 538, 5374, 532, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11242, 603, 1298, 366, 12915, 284, 886, 3115, 3454, 78, 16632, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 538, 5374, 1298, 36835, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16514, 27823, 1298, 4818, 8079, 13, 19608, 8079, 13, 2197, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27432, 33, 963, 50, 89, 1298, 26498, 13, 27432, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12102, 341, 33, 963, 50, 89, 1298, 26498, 13, 12102, 341, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 40684, 32184, 1298, 651, 62, 14050, 7, 40085, 7509, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 22462, 1298, 269, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 43, 793, 1298, 1188, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 3705, 24723, 1298, 1188, 3705, 24723, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 5432, 3955, 1298, 1188, 5432, 3955, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 4851, 1298, 5202, 7293, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 1404, 1298, 943, 65, 7575, 37535, 5317, 81, 79, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 21928, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26498, 13, 9122, 4122, 62, 15908, 1343, 12813, 12442, 50, 5439, 16632, 1, 1343, 965, 7, 9122, 4122, 62, 24588, 8, 1343, 27071, 694, 457, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 26954, 62, 24588, 15853, 352, 198, 220, 220, 220, 611, 279, 16184, 81, 1875, 1266, 62, 862, 48624, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 862, 48624, 796, 279, 16184, 81, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11242, 603, 1298, 366, 12915, 284, 886, 3115, 3454, 78, 16632, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 538, 5374, 1298, 36835, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16514, 27823, 1298, 4818, 8079, 13, 19608, 8079, 13, 2197, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27432, 33, 963, 50, 89, 1298, 26498, 13, 27432, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12102, 341, 33, 963, 50, 89, 1298, 26498, 13, 12102, 341, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 40684, 32184, 1298, 651, 62, 14050, 7, 40085, 7509, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 22462, 1298, 269, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 43, 793, 1298, 1188, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 3705, 24723, 1298, 1188, 3705, 24723, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 5432, 3955, 1298, 1188, 5432, 3955, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 4851, 1298, 5202, 7293, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 1404, 1298, 943, 65, 7575, 37535, 5317, 81, 79, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 21928, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 11, 26498, 13, 9122, 4122, 62, 15908, 1343, 12813, 12442, 50, 5439, 16632, 1, 1343, 366, 13466, 862, 48624, 62, 538, 5374, 1, 1343, 27071, 694, 457, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 3791, 6705, 6599, 24723, 1043, 290, 7448, 379, 366, 1343, 965, 7, 538, 5374, 4008, 198, 220, 220, 220, 611, 410, 43, 793, 1279, 1266, 62, 85, 439, 793, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 85, 439, 793, 796, 410, 43, 793, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11242, 603, 1298, 366, 12915, 284, 886, 3115, 3454, 78, 16632, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 538, 5374, 1298, 36835, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16514, 27823, 1298, 4818, 8079, 13, 19608, 8079, 13, 2197, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27432, 33, 963, 50, 89, 1298, 26498, 13, 27432, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12102, 341, 33, 963, 50, 89, 1298, 26498, 13, 12102, 341, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 40684, 32184, 1298, 651, 62, 14050, 7, 40085, 7509, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 22462, 1298, 269, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 43, 793, 1298, 1188, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 3705, 24723, 1298, 1188, 3705, 24723, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 5432, 3955, 1298, 1188, 5432, 3955, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 4851, 1298, 5202, 7293, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 1404, 1298, 943, 65, 7575, 37535, 5317, 81, 79, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 21928, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 11, 26498, 13, 9122, 4122, 62, 15908, 1343, 12813, 12442, 50, 5439, 16632, 1, 1343, 366, 13466, 85, 439, 793, 62, 538, 5374, 1, 1343, 27071, 694, 457, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 3791, 6705, 410, 439, 793, 1043, 290, 7448, 379, 366, 1343, 965, 7, 538, 5374, 4008, 198, 220, 220, 220, 611, 264, 14323, 62, 2100, 1875, 1266, 62, 824, 320, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1266, 62, 824, 320, 796, 264, 14323, 62, 2100, 198, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11242, 603, 1298, 366, 12915, 284, 886, 3115, 3454, 78, 16632, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 538, 5374, 1298, 36835, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16514, 27823, 1298, 4818, 8079, 13, 19608, 8079, 13, 2197, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27432, 33, 963, 50, 89, 1298, 26498, 13, 27432, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12102, 341, 33, 963, 50, 89, 1298, 26498, 13, 12102, 341, 62, 43501, 62, 7857, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 40684, 32184, 1298, 651, 62, 14050, 7, 40085, 7509, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 22462, 1298, 269, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 43, 793, 1298, 1188, 43, 793, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 3705, 24723, 1298, 1188, 3705, 24723, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2100, 5432, 3955, 1298, 1188, 5432, 3955, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 4851, 1298, 5202, 7293, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 5219, 62, 11600, 1404, 1298, 943, 65, 7575, 37535, 5317, 81, 79, 13, 5219, 62, 11600, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 28034, 13, 21928, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8633, 16, 11, 26498, 13, 9122, 4122, 62, 15908, 1343, 12813, 12442, 50, 5439, 16632, 1, 1343, 366, 13466, 824, 320, 62, 538, 5374, 1, 1343, 27071, 694, 457, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 3791, 6705, 6723, 3955, 1043, 290, 7448, 379, 366, 1343, 965, 7, 538, 5374, 4008, 628 ]
2.202523
7,372
# -*- coding:utf-8 -*- # @author xupingmao # @since 2022/04/10 15:06:25 # @modified 2022/04/10 15:10:04 # @filename case2.py input_text = """ def foo(bar): return bar * 5 """ output = [ "nl", "nl", "def", "def", "name", "foo", "(", "(", "name", "bar", ")", ")", ":", ":", "nl", "nl", "indent", 4, "return", "return", "name", "bar", "*", "*", "number", 5, "nl", "nl", "dedent", 4, ]
[ 2, 532, 9, 12, 19617, 25, 40477, 12, 23, 532, 9, 12, 198, 2, 2488, 9800, 2124, 929, 278, 2611, 78, 198, 2, 2488, 20777, 33160, 14, 3023, 14, 940, 1315, 25, 3312, 25, 1495, 198, 2, 2488, 41771, 33160, 14, 3023, 14, 940, 1315, 25, 940, 25, 3023, 198, 2, 2488, 34345, 1339, 17, 13, 9078, 198, 198, 15414, 62, 5239, 796, 37227, 198, 4299, 22944, 7, 5657, 2599, 198, 220, 220, 220, 1441, 2318, 1635, 642, 198, 37811, 198, 198, 22915, 796, 685, 198, 220, 220, 220, 366, 21283, 1600, 366, 21283, 1600, 198, 220, 220, 220, 366, 4299, 1600, 366, 4299, 1600, 198, 220, 220, 220, 366, 3672, 1600, 366, 21943, 1600, 198, 220, 220, 220, 30629, 1600, 30629, 1600, 198, 220, 220, 220, 366, 3672, 1600, 366, 5657, 1600, 198, 220, 220, 220, 366, 42501, 366, 42501, 198, 220, 220, 220, 366, 25, 1600, 366, 25, 1600, 198, 220, 220, 220, 366, 21283, 1600, 366, 21283, 1600, 198, 220, 220, 220, 366, 521, 298, 1600, 604, 11, 198, 220, 220, 220, 366, 7783, 1600, 366, 7783, 1600, 198, 220, 220, 220, 366, 3672, 1600, 366, 5657, 1600, 198, 220, 220, 220, 366, 9, 1600, 366, 9, 1600, 198, 220, 220, 220, 366, 17618, 1600, 642, 11, 198, 220, 220, 220, 366, 21283, 1600, 366, 21283, 1600, 198, 220, 220, 220, 366, 9395, 298, 1600, 604, 11, 198, 60, 198 ]
1.922747
233
import matplotlib as mpl mpl.use("Agg") from .utils import CollisionDataset, AutoencoderDataset, train, test, plot_curves from . import nn_classes as nn
[ 11748, 2603, 29487, 8019, 355, 285, 489, 198, 76, 489, 13, 1904, 7203, 46384, 4943, 198, 198, 6738, 764, 26791, 1330, 7778, 1166, 27354, 292, 316, 11, 5231, 6571, 66, 12342, 27354, 292, 316, 11, 4512, 11, 1332, 11, 7110, 62, 22019, 1158, 198, 6738, 764, 1330, 299, 77, 62, 37724, 355, 299, 77 ]
2.833333
54
import uuid import hashlib from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from .models import Survey, Question, Answers from .forms import SurveyForm from .results import Results # Create your views here.
[ 11748, 334, 27112, 198, 11748, 12234, 8019, 198, 198, 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 7738, 1060, 11, 367, 29281, 31077, 198, 6738, 764, 27530, 1330, 13084, 11, 18233, 11, 42612, 198, 6738, 764, 23914, 1330, 13084, 8479, 198, 6738, 764, 43420, 1330, 15691, 198, 198, 2, 13610, 534, 5009, 994, 13, 628, 198 ]
3.893939
66
import torch from torchvision import datasets from torch.utils.data import DataLoader, RandomSampler import torchvision.transforms as transforms from tqdm import tqdm from .dataset import data_loaders, axi_loader
[ 11748, 28034, 198, 6738, 28034, 10178, 1330, 40522, 198, 6738, 28034, 13, 26791, 13, 7890, 1330, 6060, 17401, 11, 14534, 16305, 20053, 198, 11748, 28034, 10178, 13, 7645, 23914, 355, 31408, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 6738, 764, 19608, 292, 316, 1330, 1366, 62, 2220, 364, 11, 7877, 72, 62, 29356, 628, 628, 628, 628, 628, 628, 628, 628, 198 ]
3.523077
65
import MySQLdb from urllib import parse class PySQL: """ For making Mariadb / Mysql db queries """ FILTER_COMMANDS = { "$eq":" = %s ", "$in":" IN (%s) ", "$nin":" NOT IN (%s) ", "$neq":" != %s ", "$lt":" < %s ", "$lte":" <= %s ", "$gt":" > %s ", "$gte":" >= %s ", "$contains":" LIKE %s ",#like %var% "$ncontains":" NOT LIKE %s ",# "$null":" IS NULL ", #if 1 else "IS NOT NULL" if 0 "$sw":" LIKE %s ",#starts with . like %var "$ew":" LIKE %s "# endswith like var% } def execute(self,sql,params=None,many=None,dict_cursor=True): #runs the db query . can also be used to run raw queries directly """ by default returns cursor object """ if dict_cursor: self.cursor = self._mysqldb_connection.cursor(MySQLdb.cursors.DictCursor) else: self.cursor = self._mysqldb_connection.cursor() if many: self.cursor.executemany(sql,params) else: self.cursor.execute(sql,params) return self.cursor #PySQL specific method begin from here def __make_table_column(self,column,table_name=None): """Example Input: => Output: users.id => users.id name => users.name """ if '.' in column: return column return "{}.{}".format(table_name,column) if table_name else "{}.{}".format(self.table_name,column) def fields(self,columns): #sets columns to select """ Example: ['id','name'] """ self.columns = columns return self def filter(self,filter_data): """ Filters Requests #example full including or { "name":{"$contains":"mosoti"}, "age":{"$lte":30}, "msisdn":"2541234567", "$or":[{ "name":{"$contains":"mogaka"}}, {"age":31} ], #this evaluates to => .. OR name like '%mogaka%' OR age=31 "$xor":[{ "name":{"$contains":"mogaka"}}, {"age":31} ] # this evalautes to =>... AND ( name like '%mogaka%' OR age=31 ) } """ #reset vals /parameters so that we begin here if filter_data: filter_q_l = self.__filter_query(filter_data) filters_qls = ''.join(filter_q_l).strip() if filters_qls.startswith("AND"): filters_qls = filters_qls[3:] elif filters_qls.startswith("OR"): filters_qls = filters_qls[2:] self.__set_where(filters_qls) return self def __get_order_by_text(self,val): """ Receives string e.g -id or name """ if val.startswith('-'): return "{} DESC".format(self.__make_table_column(val[1:])) else: return "{} ASC".format(self.__make_table_column(val)) def order_by(self,order_by_fields): """Expects list of fields e.g ['-id','name'] where - is DESC""" order_by_sql = ','.join([self.__get_order_by_text(v) for v in order_by_fields]) if self.order_by_sql: self.order_by_sql = self.order_by_sql + ' , ' + order_by_sql else: self.order_by_sql = " ORDER BY " + order_by_sql return self def group_by(self,group_by_fields): """ Expects fields in list ['id','name'] ... """ group_by_sql = ','.join([self.__make_table_column(v) for v in group_by_fields]) if self.group_by_sql: self.group_by_sql = self.group_by_sql + group_by_sql else: self.group_by_sql = " GROUP BY " + group_by_sql return self def __make_join(self,join_type,table_name,condition_data,related_fields): """ makes join sql based on type of join and tables """ on_sql = [] for k,v in condition_data.items(): on_sql.append("{} = {} ".format(self.__make_table_column(k),self.__make_table_column(v,table_name))) on_sql_str = ' ON {} ' .format(' AND '.join(on_sql)) join_type_sql = '{} {} '.format(join_type,table_name) self.join_sql = self.join_sql + join_type_sql + on_sql_str #append the columns to select based on related fields if related_fields: self.columns.extend([self.__make_table_column(c,table_name) for c in related_fields]) def inner_join(self,table_name,condition,related_fields=None): """ e.g Orders,{"id":"customer_id"}, ['quantity'] This will result to : .... Orders.quantity, .... INNER JOIN Orders ON Customers.id = Orders.customer_id """ self.__make_join('INNER JOIN',table_name,condition,related_fields) return self def right_join(self,table_name,condition,related_fields=None): """ e.g Orders,{"id":"customer_id"}, ['quantity'] This will result to : .... Orders.quantity, .... RIGHT JOIN Orders ON Customers.id = Orders.customer_id """ self.__make_join('RIGHT JOIN',table_name,condition,related_fields) return self def left_join(self,table_name,condition,related_fields=None): """ e.g Orders,{"id":"customer_id"}, ['quantity'] This will result to : .... Orders.quantity, .... LEFT JOIN Orders ON Customers.id = Orders.customer_id """ self.__make_join('LEFT JOIN',table_name,condition,related_fields) return self def update(self,new_data,limit=None): """ set this new data as new details Returns cursor object """ col_set = ','.join([" {} = %s ".format(k) for k,v in new_data.items()]) filter_params = self.query_params self.query_params = [] update_params = [v for k,v in new_data.items()] update_params.extend(filter_params) #we start with update thn filter self.__build_query_params(update_params) self.sql = "UPDATE {} SET {} ".format(self.table_name,col_set) self.__make_sql(self.where_sql) self.__limit(limit) print(self.query_params) print (self.sql) return self.execute(self.sql,self.query_params) def delete(self,limit=None): """ Delete with given limit """ self.sql = "DELETE FROM {} ".format(self.table_name) self.__make_sql(self.where_sql) self.__limit(limit) print (self.sql) return self.execute(self.sql,self.query_params) def insert(self,data): """ Creates records to db table . Expects a dict of key abd values pair """ columns = [] params = [] for k,v in data.items(): columns.append(k) params.append(v) column_placeholders = ','.join(["%s" for v in columns]) columns = ','.join([v for v in columns]) self.query_params = params self.sql = "INSERT INTO {}({}) VALUES({})".format(self.table_name,columns,column_placeholders) print (self.sql) print (self.query_params) return self.execute(self.sql,self.query_params).lastrowid
[ 11748, 33476, 9945, 198, 6738, 2956, 297, 571, 1330, 21136, 628, 198, 4871, 9485, 17861, 25, 198, 220, 220, 220, 37227, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1114, 1642, 29423, 324, 65, 1220, 337, 893, 13976, 20613, 20743, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 34020, 5781, 62, 9858, 10725, 5258, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 27363, 2404, 796, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 259, 2404, 3268, 37633, 82, 8, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 35073, 2404, 5626, 3268, 37633, 82, 8, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 710, 80, 2404, 14512, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 2528, 2404, 1279, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 75, 660, 2404, 19841, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 13655, 2404, 1875, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 70, 660, 2404, 18189, 4064, 82, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 3642, 1299, 2404, 34178, 4064, 82, 33172, 2, 2339, 4064, 7785, 4, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 77, 3642, 1299, 2404, 5626, 34178, 4064, 82, 33172, 2, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 8423, 2404, 3180, 15697, 33172, 1303, 361, 352, 2073, 366, 1797, 5626, 15697, 1, 611, 657, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 2032, 2404, 34178, 4064, 82, 33172, 2, 301, 5889, 351, 764, 588, 4064, 7785, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 413, 2404, 34178, 4064, 82, 25113, 886, 2032, 342, 588, 1401, 4, 198, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 628, 198, 220, 220, 220, 825, 12260, 7, 944, 11, 25410, 11, 37266, 28, 14202, 11, 21834, 28, 14202, 11, 11600, 62, 66, 21471, 28, 17821, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 48381, 262, 20613, 12405, 764, 460, 635, 307, 973, 284, 1057, 8246, 20743, 3264, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 416, 4277, 5860, 23493, 2134, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 8633, 62, 66, 21471, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 66, 21471, 796, 2116, 13557, 28744, 80, 335, 65, 62, 38659, 13, 66, 21471, 7, 3666, 17861, 9945, 13, 66, 1834, 669, 13, 35, 713, 34, 21471, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 66, 21471, 796, 2116, 13557, 28744, 80, 335, 65, 62, 38659, 13, 66, 21471, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 611, 867, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 66, 21471, 13, 18558, 315, 368, 1092, 7, 25410, 11, 37266, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 66, 21471, 13, 41049, 7, 25410, 11, 37266, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 66, 21471, 628, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 20519, 17861, 2176, 2446, 2221, 422, 994, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 11593, 15883, 62, 11487, 62, 28665, 7, 944, 11, 28665, 11, 11487, 62, 3672, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16281, 198, 220, 220, 220, 220, 220, 220, 220, 23412, 25, 220, 5218, 220, 25235, 25, 628, 220, 220, 220, 220, 220, 220, 220, 2985, 13, 312, 220, 5218, 2985, 13, 312, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 220, 5218, 2985, 13, 3672, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 2637, 287, 5721, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 5721, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 45144, 27422, 90, 92, 1911, 18982, 7, 11487, 62, 3672, 11, 28665, 8, 611, 3084, 62, 3672, 2073, 45144, 27422, 90, 92, 1911, 18982, 7, 944, 13, 11487, 62, 3672, 11, 28665, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 628, 220, 220, 220, 825, 7032, 7, 944, 11, 28665, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 28709, 15180, 284, 2922, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 17934, 25, 37250, 312, 41707, 3672, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 28665, 82, 796, 15180, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 628, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 628, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 8106, 7, 944, 11, 24455, 62, 7890, 2599, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 220, 198, 220, 220, 220, 220, 220, 220, 220, 7066, 1010, 9394, 3558, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 20688, 1336, 1390, 393, 628, 220, 220, 220, 220, 220, 220, 220, 1391, 366, 3672, 8351, 3, 3642, 1299, 2404, 16785, 5092, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 496, 8351, 3, 75, 660, 1298, 1270, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 907, 9409, 77, 2404, 24970, 10163, 2231, 3134, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17971, 273, 20598, 90, 366, 3672, 8351, 3, 3642, 1299, 2404, 76, 519, 8130, 20662, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19779, 496, 1298, 3132, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 220, 220, 220, 220, 220, 220, 220, 1303, 5661, 47850, 284, 5218, 11485, 220, 6375, 1438, 588, 705, 4, 76, 519, 8130, 4, 6, 220, 6375, 2479, 28, 3132, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17971, 87, 273, 20598, 90, 366, 3672, 8351, 3, 3642, 1299, 2404, 76, 519, 8130, 20662, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19779, 496, 1298, 3132, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 220, 1303, 428, 5418, 64, 1769, 284, 5218, 986, 5357, 357, 1438, 588, 705, 4, 76, 519, 8130, 4, 6, 220, 6375, 2479, 28, 3132, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 42503, 410, 874, 1220, 17143, 7307, 523, 326, 356, 2221, 994, 628, 198, 220, 220, 220, 220, 220, 220, 220, 611, 8106, 62, 7890, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8106, 62, 80, 62, 75, 796, 2116, 13, 834, 24455, 62, 22766, 7, 24455, 62, 7890, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16628, 62, 80, 7278, 796, 705, 4458, 22179, 7, 24455, 62, 80, 62, 75, 737, 36311, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 16628, 62, 80, 7278, 13, 9688, 2032, 342, 7203, 6981, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16628, 62, 80, 7278, 796, 16628, 62, 80, 7278, 58, 18, 47715, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 16628, 62, 80, 7278, 13, 9688, 2032, 342, 7203, 1581, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16628, 62, 80, 7278, 796, 16628, 62, 80, 7278, 58, 17, 47715, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 2617, 62, 3003, 7, 10379, 1010, 62, 80, 7278, 8, 198, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 628, 628, 220, 220, 220, 220, 220, 220, 220, 628, 198, 220, 220, 220, 825, 11593, 1136, 62, 2875, 62, 1525, 62, 5239, 7, 944, 11, 2100, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19520, 1083, 4731, 304, 13, 70, 532, 312, 393, 1438, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1188, 13, 9688, 2032, 342, 10786, 19355, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 45144, 92, 22196, 34, 1911, 18982, 7, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 2100, 58, 16, 47715, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 45144, 92, 25400, 1911, 18982, 7, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 2100, 4008, 628, 628, 220, 220, 220, 825, 1502, 62, 1525, 7, 944, 11, 2875, 62, 1525, 62, 25747, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3109, 38046, 1351, 286, 7032, 304, 13, 70, 685, 29001, 312, 41707, 3672, 20520, 810, 532, 318, 22196, 34, 37811, 628, 220, 220, 220, 220, 220, 220, 220, 1502, 62, 1525, 62, 25410, 796, 705, 4032, 13, 22179, 26933, 944, 13, 834, 1136, 62, 2875, 62, 1525, 62, 5239, 7, 85, 8, 329, 410, 287, 1502, 62, 1525, 62, 25747, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 2875, 62, 1525, 62, 25410, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2875, 62, 1525, 62, 25410, 796, 2116, 13, 2875, 62, 1525, 62, 25410, 1343, 705, 837, 705, 1343, 220, 1502, 62, 1525, 62, 25410, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2875, 62, 1525, 62, 25410, 796, 366, 38678, 11050, 366, 1343, 1502, 62, 1525, 62, 25410, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 1448, 62, 1525, 7, 944, 11, 8094, 62, 1525, 62, 25747, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23600, 82, 7032, 287, 1351, 37250, 312, 41707, 3672, 20520, 2644, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1448, 62, 1525, 62, 25410, 796, 705, 4032, 13, 22179, 26933, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 85, 8, 329, 410, 287, 1448, 62, 1525, 62, 25747, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 8094, 62, 1525, 62, 25410, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8094, 62, 1525, 62, 25410, 796, 2116, 13, 8094, 62, 1525, 62, 25410, 1343, 1448, 62, 1525, 62, 25410, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8094, 62, 1525, 62, 25410, 796, 366, 44441, 11050, 366, 1343, 1448, 62, 1525, 62, 25410, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 628, 220, 220, 220, 825, 11593, 15883, 62, 22179, 7, 944, 11, 22179, 62, 4906, 11, 11487, 62, 3672, 11, 31448, 62, 7890, 11, 5363, 62, 25747, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 1838, 4654, 44161, 1912, 319, 2099, 286, 4654, 290, 8893, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 319, 62, 25410, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 85, 287, 4006, 62, 7890, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 319, 62, 25410, 13, 33295, 7203, 90, 92, 796, 23884, 27071, 18982, 7, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 74, 828, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 85, 11, 11487, 62, 3672, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 319, 62, 25410, 62, 2536, 796, 705, 6177, 23884, 705, 764, 18982, 10786, 5357, 45302, 22179, 7, 261, 62, 25410, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4654, 62, 4906, 62, 25410, 796, 705, 90, 92, 23884, 45302, 18982, 7, 22179, 62, 4906, 11, 11487, 62, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 22179, 62, 25410, 796, 2116, 13, 22179, 62, 25410, 1343, 4654, 62, 4906, 62, 25410, 1343, 319, 62, 25410, 62, 2536, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 33295, 262, 15180, 284, 2922, 1912, 319, 3519, 7032, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3519, 62, 25747, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 28665, 82, 13, 2302, 437, 26933, 944, 13, 834, 15883, 62, 11487, 62, 28665, 7, 66, 11, 11487, 62, 3672, 8, 329, 269, 287, 3519, 62, 25747, 12962, 628, 628, 198, 220, 220, 220, 825, 8434, 62, 22179, 7, 944, 11, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 304, 13, 70, 30689, 11, 4895, 312, 2404, 23144, 263, 62, 312, 25719, 37250, 40972, 414, 20520, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 770, 481, 1255, 284, 1058, 628, 220, 220, 220, 220, 220, 220, 220, 220, 19424, 30689, 13, 40972, 414, 11, 19424, 220, 3268, 21479, 32357, 1268, 30689, 6177, 36707, 13, 312, 796, 220, 30689, 13, 23144, 263, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 15883, 62, 22179, 10786, 1268, 21479, 32357, 1268, 3256, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 628, 220, 220, 220, 825, 826, 62, 22179, 7, 944, 11, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 304, 13, 70, 30689, 11, 4895, 312, 2404, 23144, 263, 62, 312, 25719, 37250, 40972, 414, 20520, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 770, 481, 1255, 284, 1058, 628, 220, 220, 220, 220, 220, 220, 220, 220, 19424, 30689, 13, 40972, 414, 11, 19424, 220, 33621, 32357, 1268, 30689, 6177, 36707, 13, 312, 796, 220, 30689, 13, 23144, 263, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 15883, 62, 22179, 10786, 49, 9947, 32357, 1268, 3256, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 1364, 62, 22179, 7, 944, 11, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 304, 13, 70, 30689, 11, 4895, 312, 2404, 23144, 263, 62, 312, 25719, 37250, 40972, 414, 20520, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 770, 481, 1255, 284, 1058, 628, 220, 220, 220, 220, 220, 220, 220, 220, 19424, 30689, 13, 40972, 414, 11, 19424, 220, 12509, 9792, 32357, 1268, 30689, 6177, 36707, 13, 312, 796, 220, 30689, 13, 23144, 263, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 15883, 62, 22179, 10786, 2538, 9792, 32357, 1268, 3256, 11487, 62, 3672, 11, 31448, 11, 5363, 62, 25747, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 628, 220, 220, 220, 825, 4296, 7, 944, 11, 3605, 62, 7890, 11, 32374, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 900, 428, 649, 1366, 355, 649, 3307, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 23493, 2134, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 2617, 796, 705, 4032, 13, 22179, 7, 14692, 23884, 796, 4064, 82, 27071, 18982, 7, 74, 8, 329, 479, 11, 85, 287, 220, 649, 62, 7890, 13, 23814, 3419, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 8106, 62, 37266, 796, 2116, 13, 22766, 62, 37266, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 22766, 62, 37266, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 4296, 62, 37266, 796, 685, 85, 329, 479, 11, 85, 287, 220, 649, 62, 7890, 13, 23814, 3419, 60, 628, 220, 220, 220, 220, 220, 220, 220, 4296, 62, 37266, 13, 2302, 437, 7, 24455, 62, 37266, 8, 1303, 732, 923, 351, 4296, 294, 77, 8106, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 11249, 62, 22766, 62, 37266, 7, 19119, 62, 37266, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25410, 796, 366, 16977, 23884, 25823, 23884, 27071, 18982, 7, 944, 13, 11487, 62, 3672, 11, 4033, 62, 2617, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 15883, 62, 25410, 7, 944, 13, 3003, 62, 25410, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 32374, 7, 32374, 8, 628, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 944, 13, 22766, 62, 37266, 8, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 357, 944, 13, 25410, 8, 628, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 41049, 7, 944, 13, 25410, 11, 944, 13, 22766, 62, 37266, 8, 628, 220, 220, 220, 825, 12233, 7, 944, 11, 32374, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 23520, 351, 1813, 4179, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25410, 796, 366, 7206, 2538, 9328, 16034, 23884, 220, 27071, 18982, 7, 944, 13, 11487, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 15883, 62, 25410, 7, 944, 13, 3003, 62, 25410, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 834, 32374, 7, 32374, 8, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 357, 944, 13, 25410, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 41049, 7, 944, 13, 25410, 11, 944, 13, 22766, 62, 37266, 8, 628, 198, 220, 220, 220, 825, 7550, 7, 944, 11, 7890, 2599, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7921, 274, 4406, 284, 20613, 3084, 764, 23600, 82, 257, 8633, 286, 1994, 450, 67, 3815, 5166, 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, 15180, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 42287, 796, 17635, 628, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 85, 287, 1366, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15180, 13, 33295, 7, 74, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42287, 13, 33295, 7, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 5721, 62, 5372, 10476, 796, 705, 4032, 13, 22179, 7, 14692, 4, 82, 1, 329, 410, 287, 15180, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 15180, 796, 705, 4032, 13, 22179, 26933, 85, 329, 410, 287, 15180, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 22766, 62, 37266, 796, 42287, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25410, 796, 366, 20913, 17395, 39319, 23884, 15090, 30072, 26173, 35409, 15090, 30072, 1911, 18982, 7, 944, 13, 11487, 62, 3672, 11, 28665, 82, 11, 28665, 62, 5372, 10476, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 357, 944, 13, 25410, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 357, 944, 13, 22766, 62, 37266, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 41049, 7, 944, 13, 25410, 11, 944, 13, 22766, 62, 37266, 737, 12957, 808, 312, 628, 198, 220, 220, 220, 220, 220, 220, 220, 628 ]
2.090039
3,554
import yaml import sys def meta_report(meta_data_loc="Experiment_Data.yml"): """ Reads meta data from file called "Experiment_Data.yml" and adds a report Parameters ---------- meta_data_loc : str the path to file that contains experiment meta data Returns ------- config_data : none """ try: with open(meta_data_loc, "r") as stream: meta_data = yaml.safe_load(stream) report_message = report_writer(meta_data) f = open("Experiment_Info.txt","w" ) f.write(report_message) f.close() except FileNotFoundError: sys.exit("File containing meta data, {}, not found. Exiting...".format(meta_data_loc)) def report_writer(md): """ Reads meta data into function and makes txt message report. ---------- md : dict Contains meta data from experiment file Returns ------- message : string The text output for the report """ s_name = md["sample_meta_data"]["sample_name"] s_date = md["sample_meta_data"]["sample_date"] s_surface = md["sample_meta_data"]["sample_surface_area"] imp_mode = md["experiment_meta_data"]["impedance_mode"] meas_volt = md["experiment_meta_data"]["measurement_voltage"] vs = md["experiment_meta_data"]["vs"] pert_v = md["experiment_meta_data"]["pertubation_voltage"] sf = md["experiment_meta_data"]["starting_frequency"] ef = md["experiment_meta_data"]["ending_frequency"] ppi = md["experiment_meta_data"]["points_per_interval"] ig = md["experiment_meta_data"]["interval_group"] spacing = md["experiment_meta_data"]["spacing"] intro_line = "Report for "+str(s_name)+" experiment conducted on "+str(s_date)+".\n\n" imp_line = "A "+str(imp_mode)+" measurement was made with a "+str(pert_v)+"mV pertubation voltage at "+str(meas_volt)+"V vs. "+str(vs)+".\n\n" range_line = "Experiment conducted from "+str(sf)+"Hz to "+str(ef)+"Hz with "+str(ppi)+ " points "+str(ig)+" using "+str(spacing)+" spacing.\n\n" surface_line = "Sample has a surface area of "+str(s_surface)+"cm^2." message = intro_line+imp_line+range_line+surface_line return message
[ 11748, 331, 43695, 201, 198, 11748, 25064, 201, 198, 201, 198, 4299, 13634, 62, 13116, 7, 28961, 62, 7890, 62, 17946, 2625, 20468, 3681, 62, 6601, 13, 88, 4029, 1, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 4149, 82, 13634, 1366, 422, 2393, 1444, 366, 20468, 3681, 62, 6601, 13, 88, 4029, 1, 290, 6673, 257, 989, 201, 198, 220, 220, 220, 40117, 201, 198, 220, 220, 220, 24200, 438, 201, 198, 220, 220, 220, 13634, 62, 7890, 62, 17946, 1058, 965, 201, 198, 220, 220, 220, 220, 220, 220, 220, 262, 3108, 284, 2393, 326, 4909, 6306, 13634, 1366, 201, 198, 220, 220, 220, 16409, 201, 198, 220, 220, 220, 35656, 201, 198, 220, 220, 220, 4566, 62, 7890, 1058, 4844, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 1949, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 28961, 62, 7890, 62, 17946, 11, 366, 81, 4943, 355, 4269, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13634, 62, 7890, 796, 331, 43695, 13, 21230, 62, 2220, 7, 5532, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 989, 62, 20500, 796, 989, 62, 16002, 7, 28961, 62, 7890, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 796, 1280, 7203, 20468, 3681, 62, 12360, 13, 14116, 2430, 86, 1, 1267, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 13116, 62, 20500, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 19836, 3419, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 2845, 9220, 3673, 21077, 12331, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7203, 8979, 7268, 13634, 1366, 11, 1391, 5512, 407, 1043, 13, 1475, 1780, 9313, 13, 18982, 7, 28961, 62, 7890, 62, 17946, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 4299, 989, 62, 16002, 7, 9132, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 4149, 82, 13634, 1366, 656, 2163, 290, 1838, 256, 742, 3275, 989, 13, 201, 198, 220, 220, 220, 24200, 438, 201, 198, 220, 220, 220, 45243, 1058, 8633, 201, 198, 220, 220, 220, 220, 220, 220, 220, 49850, 13634, 1366, 422, 6306, 2393, 201, 198, 220, 220, 220, 16409, 201, 198, 220, 220, 220, 35656, 201, 198, 220, 220, 220, 3275, 1058, 4731, 201, 198, 220, 220, 220, 220, 220, 220, 220, 383, 2420, 5072, 329, 262, 989, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 264, 62, 3672, 796, 45243, 14692, 39873, 62, 28961, 62, 7890, 1, 7131, 1, 39873, 62, 3672, 8973, 201, 198, 220, 220, 220, 264, 62, 4475, 796, 45243, 14692, 39873, 62, 28961, 62, 7890, 1, 7131, 1, 39873, 62, 4475, 8973, 201, 198, 220, 220, 220, 264, 62, 42029, 796, 45243, 14692, 39873, 62, 28961, 62, 7890, 1, 7131, 1, 39873, 62, 42029, 62, 20337, 8973, 201, 198, 220, 220, 220, 848, 62, 14171, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 320, 9124, 590, 62, 14171, 8973, 201, 198, 220, 220, 220, 2212, 62, 37764, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 1326, 5015, 434, 62, 37764, 496, 8973, 201, 198, 220, 220, 220, 3691, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 14259, 8973, 201, 198, 220, 220, 220, 22146, 62, 85, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 11766, 549, 341, 62, 37764, 496, 8973, 201, 198, 220, 220, 220, 264, 69, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 38690, 62, 35324, 8973, 201, 198, 220, 220, 220, 304, 69, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 1571, 62, 35324, 8973, 201, 198, 220, 220, 220, 9788, 72, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 13033, 62, 525, 62, 3849, 2100, 8973, 201, 198, 220, 220, 220, 45329, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 3849, 2100, 62, 8094, 8973, 201, 198, 220, 220, 220, 31050, 796, 45243, 14692, 23100, 3681, 62, 28961, 62, 7890, 1, 7131, 1, 2777, 4092, 8973, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 18951, 62, 1370, 796, 366, 19100, 329, 43825, 2536, 7, 82, 62, 3672, 47762, 1, 6306, 5952, 319, 43825, 2536, 7, 82, 62, 4475, 47762, 1911, 59, 77, 59, 77, 1, 201, 198, 220, 220, 220, 848, 62, 1370, 796, 366, 32, 43825, 2536, 7, 11011, 62, 14171, 47762, 1, 15558, 373, 925, 351, 257, 43825, 2536, 7, 11766, 62, 85, 47762, 1, 76, 53, 22146, 549, 341, 15004, 379, 43825, 2536, 7, 1326, 292, 62, 37764, 47762, 1, 53, 3691, 13, 43825, 2536, 7, 14259, 47762, 1911, 59, 77, 59, 77, 1, 201, 198, 220, 220, 220, 2837, 62, 1370, 796, 366, 20468, 3681, 5952, 422, 43825, 2536, 7, 28202, 47762, 1, 7399, 284, 43825, 2536, 7, 891, 47762, 1, 7399, 351, 43825, 2536, 7, 381, 72, 47762, 366, 2173, 43825, 2536, 7, 328, 47762, 1, 1262, 43825, 2536, 7, 2777, 4092, 47762, 1, 31050, 13, 59, 77, 59, 77, 1, 201, 198, 220, 220, 220, 4417, 62, 1370, 796, 366, 36674, 468, 257, 4417, 1989, 286, 43825, 2536, 7, 82, 62, 42029, 47762, 1, 11215, 61, 17, 526, 201, 198, 220, 220, 220, 220, 201, 198, 220, 220, 220, 3275, 796, 18951, 62, 1370, 10, 11011, 62, 1370, 10, 9521, 62, 1370, 10, 42029, 62, 1370, 201, 198, 220, 220, 220, 1441, 3275 ]
2.351075
977
# # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # Copyright (C) 2018-2020 UAVCAN Development Team <uavcan.org> # This software is distributed under the terms of the MIT License. # """Language-specific support in nunavut. This package contains modules that provide specific support for generating source for various languages using templates. """ import abc import functools import importlib import logging import pathlib import types import typing import pydsdl from ..dependencies import Dependencies, DependencyBuilder from .._utilities import YesNoDefault, iter_package_resources from ._config import LanguageConfig, VersionReader logger = logging.getLogger(__name__) class LanguageLoader: """ Factory class that loads language meta-data and concrete :class:`nunavut.lang.Language` objects. :param additional_config_files: A list of paths to additional configuration files to load as configuration. These will override any values found in the :file:`nunavut.lang.properties.yaml` file and files appearing later in this list will override value found in earlier entries. .. invisible-code-block: python from nunavut.lang import LanguageLoader subject = LanguageLoader() c_reserved_identifiers = subject.config.get_config_value('nunavut.lang.c','reserved_identifiers') assert len(c_reserved_identifiers) > 0 """ @classmethod @classmethod @property def config(self) -> LanguageConfig: """ Meta-data about all languages merged from the Nunavut internal defaults and any additional configuration files provided to this class's constructor. """ if self._config is None: self._config = self._load_config(*self._additional_config_files) return self._config def load_language( self, language_name: str, omit_serialization_support: bool, language_options: typing.Optional[typing.Mapping[str, typing.Any]] = None, ) -> "Language": """ :param str language_name: The name of the language used by the :mod:`nunavut.lang` module. :param LanguageConfig config: The parser to load language properties into. :param bool omit_serialization_support: The value to set for the :func:`omit_serialization_support` property for this language. :param typing.Optional[typing.Mapping[str, typing.Any]] language_options: Opaque arguments passed through to the target :class:`nunavut.lang.Language` object. :return: A new object that extends :class:`nunavut.lang.Language`. :rtype: nunavut.lang.Language .. invisible-code-block: python from nunavut.lang import LanguageLoader .. code-block:: python lang_c = LanguageLoader().load_language('c', True) assert lang_c.name == 'c' .. invisible-code-block: python # let's go ahead and load the rest of our known, internally supported languages just to raise # test failures right here at the wellspring. lang_cpp = LanguageLoader().load_language('py', True) assert lang_cpp.name == 'py' lang_js = LanguageLoader().load_language('js', True) assert lang_js.name == 'js' """ ln_module = self.load_language_module(language_name) try: language_type = typing.cast(typing.Type["Language"], getattr(ln_module, "Language")) except AttributeError: logging.debug( "Unable to find a Language object in nunavut.lang.{}. Using a Generic language object".format( language_name ) ) language_type = _GenericLanguage if language_type == Language: # the language module just imported the base class so let's go ahead and use _GenericLanguage language_type = _GenericLanguage return language_type(ln_module, self.config, omit_serialization_support, language_options) class Language(metaclass=abc.ABCMeta): """ Facilities for generating source code for a specific language. Concrete Language classes must be implemented by the language support package below lang and should be instantiated using :class:`nunavut.lang.LanguageLoader`. :param str language_name: The name of the language used by the :mod:`nunavut.lang` module. :param LanguageConfig config: The parser to load language properties into. :param bool omit_serialization_support: The value to set for the :func:`omit_serialization_support` property for this language. :param typing.Optional[typing.Mapping[str, typing.Any]] language_options: Opaque arguments passed through to the target :class:`nunavut.lang.Language` object. .. invisible-code-block: python from nunavut.lang import Language, _GenericLanguage from unittest.mock import MagicMock mock_config = MagicMock() mock_module = MagicMock() mock_module.__name__ = 'foo' try: my_lang = _GenericLanguage(mock_module, mock_config, True) # module must be within 'nunavut' assert False except RuntimeError: pass mock_module.__name__ = 'nunavut.foo' try: my_lang = _GenericLanguage(mock_module, mock_config, True) # module must be within 'nunavut.lang' assert False except RuntimeError: pass mock_module.__name__ = 'not.nunavut.foo' try: my_lang = _GenericLanguage(mock_module, mock_config, True) # module must be within 'nunavut.lang' assert False except RuntimeError: pass mock_module.__name__ = 'nunavut.lang.foo' my_lang = _GenericLanguage(mock_module, mock_config, True) assert my_lang.name == 'foo' """ @classmethod def default_filter_id_for_target(cls, instance: typing.Any) -> str: """ The default transformation of any object into a string. :param any instance: Any object or data that either has a name property or can be converted to a string. :return: Either ``str(instance.name)`` if the instance has a name property or just ``str(instance)`` """ if hasattr(instance, "name"): return str(instance.name) else: return str(instance) def __getattr__(self, name: str) -> typing.Any: """ Any attribute access to a Language object will return the regular properties and any globals defined for the language. Because of this do not extend properties on this object in a way that will clash with the globals it defines (e.g. typename_ or valuetoken_ should not be used as the start of attribute names). """ try: return self.get_globals()[name] except KeyError as e: raise AttributeError(e) def get_support_module(self) -> typing.Tuple[str, typing.Tuple[int, int, int], typing.Optional["types.ModuleType"]]: """ Returns the module object for the language support files. :return: A tuple of module name, x.y.z module version, and the module object itself. .. invisible-code-block: python from nunavut.lang import Language, _GenericLanguage from unittest.mock import MagicMock mock_config = MagicMock() mock_module = MagicMock() mock_module.__name__ = 'nunavut.lang.cpp' my_lang = _GenericLanguage(mock_module, mock_config, True) my_lang._section = "nunavut.lang.cpp" module_name, support_version, _ = my_lang.get_support_module() assert module_name == "nunavut.lang.cpp.support" assert support_version[0] == 1 """ module_name = "{}.support".format(self._section) try: module = importlib.import_module(module_name) version_tuple = VersionReader.read_version(module) return (module_name, version_tuple, module) except (ImportError, ValueError): # No serialization support for this language logger.info("No serialization support for selected target. Cannot retrieve module.") return (module_name, (0, 0, 0), None) @functools.lru_cache() @abc.abstractmethod def get_includes(self, dep_types: Dependencies) -> typing.List[str]: """ Get a list of include paths that are specific to this language and the options set for it. :param Dependencies dep_types: A description of the dependencies includes are needed for. :return: A list of include file paths. The list may be empty if no includes were needed. """ pass def filter_id(self, instance: typing.Any, id_type: str = "any") -> str: """ Produces a valid identifier in the language for a given object. The encoding may not be reversible. :param any instance: Any object or data that either has a name property or can be converted to a string. :param str id_type: A type of identifier. This is different for each language. For example, for C this value can be 'typedef', 'macro', 'function', or 'enum'. Use 'any' to apply stropping rules for all identifier types to the instance. :return: A token that is a valid identifier in the language, is not a reserved keyword, and is transformed in a deterministic manner based on the provided instance. """ return self.default_filter_id_for_target(instance) def filter_short_reference_name( self, t: pydsdl.CompositeType, stropping: YesNoDefault = YesNoDefault.DEFAULT, id_type: str = "any" ) -> str: """ Provides a string that is a shorted version of the full reference name omitting any namespace parts of the type. :param pydsdl.CompositeType t: The DSDL type to get the reference name for. :param YesNoDefault stropping: If DEFAULT then the stropping value configured for the target language is used else this overrides that value. :param str id_type: A type of identifier. This is different for each language. For example, for C this value can be 'typedef', 'macro', 'function', or 'enum'. Use 'any' to apply stropping rules for all identifier types to the instance. """ short_name = "{short}_{major}_{minor}".format(short=t.short_name, major=t.version.major, minor=t.version.minor) if YesNoDefault.test_truth(stropping, self.enable_stropping): return self.filter_id(short_name, id_type) else: return short_name def get_config_value(self, key: str, default_value: typing.Optional[str] = None) -> str: """ Get an optional language property from the language configuration. :param str key: The config value to retrieve. :param default_value: The value to return if the key was not in the configuration. If provided this method will not raise. :type default_value: typing.Optional[str] :return: Either the value from the config or the default_value if provided. :rtype: str :raises: KeyError if the section or the key in the section does not exist and a default_value was not provided. """ return self._config.get_config_value(self._section, key, default_value) def get_config_value_as_bool(self, key: str, default_value: bool = False) -> bool: """ Get an optional language property from the language configuration returning a boolean. :param str key: The config value to retrieve. :param bool default_value: The value to use if no value existed. :return: The config value as either True or False. :rtype: bool """ return self._config.get_config_value_as_bool(self._section, key, default_value) def get_config_value_as_dict( self, key: str, default_value: typing.Optional[typing.Dict] = None ) -> typing.Dict[str, typing.Any]: """ Get a language property parsing it as a map with string keys. .. invisible-code-block: python from nunavut.lang import LanguageConfig, LanguageLoader, Language, _GenericLanguage config = LanguageConfig() config.add_section('nunavut.lang.c') config.set('nunavut.lang.c', 'foo', {'one': 1}) lang_c = _GenericLanguage(LanguageLoader.load_language_module('c'), config, True) assert lang_c.get_config_value_as_dict('foo')['one'] == 1 assert lang_c.get_config_value_as_dict('bar', {'one': 2})['one'] == 2 :param str key: The config value to retrieve. :param default_value: The value to return if the key was not in the configuration. If provided this method will not raise a KeyError nor a TypeError. :type default_value: typing.Optional[typing.Mapping[str, typing.Any]] :return: Either the value from the config or the default_value if provided. :rtype: typing.Mapping[str, typing.Any] :raises: KeyError if the key does not exist and a default_value was not provided. :raises: TypeError if the value exists but is not a dict and a default_value was not provided. """ return self._config.get_config_value_as_dict(self._section, key, default_value) def get_config_value_as_list( self, key: str, default_value: typing.Optional[typing.List] = None ) -> typing.List[typing.Any]: """ Get a language property parsing it as a map with string keys. :param str key: The config value to retrieve. :param default_value: The value to return if the key was not in the configuration. If provided this method will not raise a KeyError nor a TypeError. :type default_value: typing.Optional[typing.List[typing.Any]] :return: Either the value from the config or the default_value if provided. :rtype: typing.List[typing.Any] :raises: KeyError if the key does not exist and a default_value was not provided. :raises: TypeError if the value exists but is not a dict and a default_value was not provided. """ return self._config.get_config_value_as_list(self._section, key, default_value) @property def extension(self) -> str: """ The extension to use for files generated in this language. """ return self._config.get_config_value(self._section, "extension", "get") @property def namespace_output_stem(self) -> typing.Optional[str]: """ The name of a namespace file for this language. """ try: return self._config.get_config_value(self._section, "namespace_file_stem") except KeyError: return None @property def name(self) -> str: """ The name of the language used by the :mod:`nunavut.lang` module. """ return self._language_name @property def support_namespace(self) -> typing.List[str]: """ The hierarchical namespace used by the support software. The property is a dot separated string when specified in configuration. This property returns that value split into namespace components with the first identifier being the first index in the array, etc. .. invisible-code-block: python from nunavut.lang import Language config = { 'nunavut.lang.cpp': { 'support_namespace': 'foo.bar' } } lctx = configurable_language_context_factory(config, 'cpp') lang_cpp = lctx.get_target_language() assert len(lang_cpp.support_namespace) == 2 assert lang_cpp.support_namespace[0] == 'foo' assert lang_cpp.support_namespace[1] == 'bar' """ namespace_str = self._config.get_config_value(self._section, "support_namespace", default_value="") return namespace_str.split(".") @property def enable_stropping(self) -> bool: """ Whether or not to strop identifiers for this language. """ return self._config.get_config_value_as_bool(self._section, "enable_stropping") @property def has_standard_namespace_files(self) -> bool: """ Whether or not the language defines special namespace files as part of its core standard (e.g. python's __init__). """ return self._config.get_config_value_as_bool(self._section, "has_standard_namespace_files") @property def stable_support(self) -> bool: """ Whether support for this language is designated 'stable', and not experimental. """ return self._config.get_config_value_as_bool(self._section, "stable_support") @property def omit_serialization_support(self) -> bool: """ If True then generators should not include serialization routines, types, or support libraries for this language. """ return self._omit_serialization_support @property def support_files(self) -> typing.Generator[pathlib.Path, None, None]: """ Iterates over non-templated supporting files embedded within the Nunavut distribution. .. invisible-code-block: python from nunavut.lang import Language, _GenericLanguage from unittest.mock import MagicMock mock_config = MagicMock() mock_module = MagicMock() mock_module.__name__ = 'nunavut.lang.foo' my_lang = _GenericLanguage(mock_module, mock_config, True) my_lang._section = "nunavut.lang.not_a_language_really_not_a_language" for support_file in my_lang.support_files: # if the module doesn't exist it shouldn't have any support files. assert False """ _, _, module = self.get_support_module() if module is not None: # All language support modules must provide a list_support_files method # to allow the copy generator access to the packaged support files. list_support_files = getattr( module, "list_support_files" ) # type: typing.Callable[[], typing.Generator[pathlib.Path, None, None]] return list_support_files() else: # No serialization support for this language return list_support_files() def get_option( self, option_key: str, default_value: typing.Union[typing.Mapping[str, typing.Any], str, None] = None ) -> typing.Union[typing.Mapping[str, typing.Any], str, None]: """ Get a language option for this language. .. invisible-code-block: python config = { 'nunavut.lang.cpp': { 'options': {'target_endianness': 'little'} } } lctx = configurable_language_context_factory(config, 'cpp') lang_cpp = lctx.get_target_language() .. code-block:: python # Values can come from defaults... assert lang_cpp.get_option('target_endianness') == 'little' # ... or can come from a sane default. assert lang_cpp.get_option('foobar', 'sane_default') == 'sane_default' :return: Either the value provided to the :class:`Language` instance, the value from properties.yaml, or the :code:`default_value`. """ try: return self._language_options[option_key] # type: ignore except KeyError: return default_value def get_templates_package_name(self) -> str: """ The name of the nunavut python package containing filters, types, and configuration for this language. """ return self._section def get_named_types(self) -> typing.Mapping[str, str]: """ Get a map of named types to the type name to emit for this language. """ return self._config.get_config_value_as_dict(self._section, "named_types", default_value={}) def get_named_values(self) -> typing.Mapping[str, str]: """ Get a map of named values to the token to emit for this language. """ return self._config.get_config_value_as_dict(self._section, "named_values", default_value={}) def get_globals(self) -> typing.Mapping[str, typing.Any]: """ Get all values for this language that should be available in a global context. :return: A mapping of global names to global values. """ if self._globals is None: globals_map = dict() # type: typing.Dict[str, typing.Any] for key, value in self.get_named_types().items(): globals_map["typename_{}".format(key)] = value for key, value in self.get_named_values().items(): globals_map["valuetoken_{}".format(key)] = value self._globals = globals_map return self._globals def get_options(self) -> typing.Mapping[str, typing.Any]: """ Get all language options for this Language. :return: A mapping of option names to option values. """ return self._language_options class _GenericLanguage(Language): """ Language type used when the language support within Nunavut does not define a language-specific subclass. Do not use this. Use :class:`nunavut.lang.LanguageLoader` which will create the proper object type based on inspection of the Nunavut internals. """ class LanguageContext: """ Context object containing the current target language (if any) and used to access :class:`Language` objects. :param str target_language: If provided a :class:`Language` object will be created to hold the target language set for this context. If None then there is no target language. :param str extension: The extension to use for generated file types or None to use a default based on the target_language. :param str namespace_output_stem: The filename stem to give to Namespace output files if emitted or None to use a default based on a target_language. :param additional_config_files: A list of paths to additional files to load as configuration. These will override any values found in the :file:`nunavut.lang.properties.yaml` file and files appearing later in this list will override value found in earlier entries. :type additional_config_files: typing.List[pathlib.Path] :param bool omit_serialization_support_for_target: If True then generators should not include serialization routines, types, or support libraries for the target language. :param typing.Optional[typing.Mapping[str, typing.Any]] language_options: Opaque arguments passed through to the target :class:`nunavut.lang.Language` object. :param bool include_experimental_languages: If True, expose languages with experimental (non-stable) support. :raises ValueError: If extension is None and no target language was provided. :raises KeyError: If the target language is not known. """ def get_language(self, key_or_module_name: str) -> Language: """ Get a :class:`Language` object for a given language identifier. :param str key_or_module_name: Either one of the Nunavut mnemonics for a supported language or the ``__name__`` of one of the ``nunavut.lang.[language]`` python modules. :return: A :class:`Language` object cached by this context. :rtype: Language """ if key_or_module_name is None or len(key_or_module_name) == 0: raise ValueError("key argument is required.") key = key_or_module_name[13:] if key_or_module_name.startswith("nunavut.lang.") else key_or_module_name return self.get_supported_languages()[key] def get_supported_language_names(self) -> typing.Iterable[str]: """Get a list of target languages supported by Nunavut. :return: An iterable of strings which are languages with special support within Nunavut templates. """ return [s[13:] for s in self._config.sections() if s.startswith("nunavut.lang.")] def get_output_extension(self) -> str: """ Gets the output extension to use regardless of a target language being available or not. :return: A file extension name with a leading dot. """ if self._extension is not None: return self._extension elif self._target_language is not None: return self._target_language.extension else: raise RuntimeError( "No extension was provided and no target language was set. Cannot determine the extension to use." ) def get_default_namespace_output_stem(self) -> typing.Optional[str]: """ The filename stem to give to Namespace output files if emitted or None if there was none specified and there is no target language. :return: A file name stem or None """ return self._namespace_output_stem def get_target_language(self) -> typing.Optional[Language]: """ Returns the target language configured on this object or None if no target language was specified. """ return self._target_language def filter_id_for_target(self, instance: typing.Any, id_type: str = "any") -> str: """ A filter that will transform a given string or pydsdl identifier into a valid identifier in the target language. A default transformation is applied if no target language is set. :param any instance: Any object or data that either has a name property or can be converted to a string. :param str id_type: A type of identifier. This is different for each language. Use 'any' to apply stropping rules for all identifier types to the instance. :return: A token that is a valid identifier in the target language, is not a reserved keyword, and is transformed in a deterministic manner based on the provided instance. """ if self._target_language is not None: return self._target_language.filter_id(instance, id_type) else: return Language.default_filter_id_for_target(instance) def get_supported_languages(self) -> typing.Dict[str, Language]: """ Returns a collection of available language support objects. """ return self._languages @property
[ 2, 198, 2, 15069, 33448, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 1439, 6923, 33876, 13, 198, 2, 15069, 357, 34, 8, 2864, 12, 42334, 220, 471, 10116, 44565, 7712, 4816, 220, 1279, 84, 615, 5171, 13, 2398, 29, 198, 2, 770, 3788, 318, 9387, 739, 262, 2846, 286, 262, 17168, 13789, 13, 198, 2, 198, 37811, 32065, 12, 11423, 1104, 287, 48157, 615, 315, 13, 198, 198, 1212, 5301, 4909, 13103, 326, 2148, 2176, 1104, 329, 15453, 198, 10459, 329, 2972, 8950, 1262, 24019, 13, 198, 37811, 198, 11748, 450, 66, 198, 11748, 1257, 310, 10141, 198, 11748, 1330, 8019, 198, 11748, 18931, 198, 11748, 3108, 8019, 198, 11748, 3858, 198, 11748, 19720, 198, 198, 11748, 279, 5173, 21282, 75, 198, 198, 6738, 11485, 45841, 3976, 1330, 37947, 3976, 11, 37947, 1387, 32875, 198, 6738, 11485, 62, 315, 2410, 1330, 3363, 2949, 19463, 11, 11629, 62, 26495, 62, 37540, 198, 6738, 47540, 11250, 1330, 15417, 16934, 11, 10628, 33634, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 628, 198, 4871, 15417, 17401, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 19239, 1398, 326, 15989, 3303, 13634, 12, 7890, 290, 10017, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 63, 5563, 13, 628, 220, 220, 220, 1058, 17143, 3224, 62, 11250, 62, 16624, 25, 317, 1351, 286, 13532, 284, 3224, 8398, 3696, 284, 3440, 355, 8398, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2312, 481, 20957, 597, 3815, 1043, 287, 262, 1058, 7753, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 48310, 13, 88, 43695, 63, 2393, 290, 3696, 198, 220, 220, 220, 220, 220, 220, 220, 12655, 1568, 287, 428, 1351, 481, 20957, 1988, 1043, 287, 2961, 12784, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 17401, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2426, 796, 15417, 17401, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 62, 411, 8520, 62, 738, 13350, 796, 2426, 13, 11250, 13, 1136, 62, 11250, 62, 8367, 10786, 77, 403, 615, 315, 13, 17204, 13, 66, 41707, 411, 8520, 62, 738, 13350, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 18896, 7, 66, 62, 411, 8520, 62, 738, 13350, 8, 1875, 657, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 2488, 4871, 24396, 628, 220, 220, 220, 2488, 4871, 24396, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 4566, 7, 944, 8, 4613, 15417, 16934, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 30277, 12, 7890, 546, 477, 8950, 23791, 422, 262, 39342, 615, 315, 5387, 26235, 290, 597, 3224, 198, 220, 220, 220, 220, 220, 220, 220, 8398, 3696, 2810, 284, 428, 1398, 338, 23772, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 11250, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 11250, 796, 2116, 13557, 2220, 62, 11250, 46491, 944, 13557, 2860, 1859, 62, 11250, 62, 16624, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 628, 220, 220, 220, 825, 3440, 62, 16129, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 3672, 25, 965, 11, 198, 220, 220, 220, 220, 220, 220, 220, 42848, 62, 46911, 1634, 62, 11284, 25, 20512, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 25811, 25, 19720, 13, 30719, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 11907, 796, 6045, 11, 198, 220, 220, 220, 1267, 4613, 366, 32065, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 3303, 62, 3672, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 286, 262, 3303, 973, 416, 262, 1058, 4666, 25, 63, 77, 403, 615, 315, 13, 17204, 63, 8265, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 15417, 16934, 4566, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 30751, 284, 3440, 3303, 6608, 656, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 20512, 42848, 62, 46911, 1634, 62, 11284, 25, 220, 383, 1988, 284, 900, 329, 262, 1058, 20786, 25, 63, 296, 270, 62, 46911, 1634, 62, 11284, 63, 3119, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 19720, 13, 30719, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 11907, 3303, 62, 25811, 25, 8670, 18251, 7159, 3804, 832, 284, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 63, 2134, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 649, 2134, 326, 14582, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 44646, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 48157, 615, 315, 13, 17204, 13, 32065, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 17401, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 2438, 12, 9967, 3712, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 66, 796, 15417, 17401, 22446, 2220, 62, 16129, 10786, 66, 3256, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 66, 13, 3672, 6624, 705, 66, 6, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1309, 338, 467, 4058, 290, 3440, 262, 1334, 286, 674, 1900, 11, 20947, 4855, 8950, 655, 284, 5298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1332, 15536, 826, 994, 379, 262, 880, 16469, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 20322, 796, 15417, 17401, 22446, 2220, 62, 16129, 10786, 9078, 3256, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 20322, 13, 3672, 6624, 705, 9078, 6, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 8457, 796, 15417, 17401, 22446, 2220, 62, 16129, 10786, 8457, 3256, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 8457, 13, 3672, 6624, 705, 8457, 6, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 300, 77, 62, 21412, 796, 2116, 13, 2220, 62, 16129, 62, 21412, 7, 16129, 62, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 4906, 796, 19720, 13, 2701, 7, 774, 13886, 13, 6030, 14692, 32065, 33116, 651, 35226, 7, 18755, 62, 21412, 11, 366, 32065, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 3460, 4163, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 24442, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3118, 540, 284, 1064, 257, 15417, 2134, 287, 48157, 615, 315, 13, 17204, 13, 90, 27422, 8554, 257, 42044, 3303, 2134, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 4906, 796, 4808, 46189, 32065, 628, 220, 220, 220, 220, 220, 220, 220, 611, 3303, 62, 4906, 6624, 15417, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 3303, 8265, 655, 17392, 262, 2779, 1398, 523, 1309, 338, 467, 4058, 290, 779, 4808, 46189, 32065, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3303, 62, 4906, 796, 4808, 46189, 32065, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 3303, 62, 4906, 7, 18755, 62, 21412, 11, 2116, 13, 11250, 11, 42848, 62, 46911, 1634, 62, 11284, 11, 3303, 62, 25811, 8, 628, 198, 4871, 15417, 7, 4164, 330, 31172, 28, 39305, 13, 24694, 48526, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 48939, 329, 15453, 2723, 2438, 329, 257, 2176, 3303, 13, 1482, 38669, 15417, 6097, 1276, 307, 9177, 198, 220, 220, 220, 416, 262, 3303, 1104, 5301, 2174, 42392, 290, 815, 307, 9113, 12931, 1262, 198, 220, 220, 220, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 17401, 44646, 628, 220, 220, 220, 1058, 17143, 965, 3303, 62, 3672, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 286, 262, 3303, 973, 416, 262, 1058, 4666, 25, 63, 77, 403, 615, 315, 13, 17204, 63, 8265, 13, 198, 220, 220, 220, 1058, 17143, 15417, 16934, 4566, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 30751, 284, 3440, 3303, 6608, 656, 13, 198, 220, 220, 220, 1058, 17143, 20512, 42848, 62, 46911, 1634, 62, 11284, 25, 220, 383, 1988, 284, 900, 329, 262, 1058, 20786, 25, 63, 296, 270, 62, 46911, 1634, 62, 11284, 63, 3119, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 428, 3303, 13, 198, 220, 220, 220, 1058, 17143, 19720, 13, 30719, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 11907, 3303, 62, 25811, 25, 8670, 18251, 7159, 3804, 832, 284, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 63, 2134, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 11, 4808, 46189, 32065, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 555, 715, 395, 13, 76, 735, 1330, 6139, 44, 735, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 11250, 796, 6139, 44, 735, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 796, 6139, 44, 735, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 21943, 6, 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, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8265, 1276, 307, 1626, 705, 77, 403, 615, 315, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 43160, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 77, 403, 615, 315, 13, 21943, 6, 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, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8265, 1276, 307, 1626, 705, 77, 403, 615, 315, 13, 17204, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 43160, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 1662, 13, 77, 403, 615, 315, 13, 21943, 6, 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, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8265, 1276, 307, 1626, 705, 77, 403, 615, 315, 13, 17204, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 43160, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 77, 403, 615, 315, 13, 17204, 13, 21943, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 616, 62, 17204, 13, 3672, 6624, 705, 21943, 6, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 2488, 4871, 24396, 198, 220, 220, 220, 825, 4277, 62, 24455, 62, 312, 62, 1640, 62, 16793, 7, 565, 82, 11, 4554, 25, 19720, 13, 7149, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 4277, 13389, 286, 597, 2134, 656, 257, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 597, 4554, 25, 220, 220, 220, 220, 220, 220, 220, 4377, 2134, 393, 1366, 326, 2035, 468, 257, 1438, 3119, 393, 460, 307, 11513, 284, 257, 4731, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 15467, 7559, 2536, 7, 39098, 13, 3672, 8, 15506, 611, 262, 4554, 468, 257, 1438, 3119, 393, 655, 7559, 2536, 7, 39098, 8, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 468, 35226, 7, 39098, 11, 366, 3672, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 965, 7, 39098, 13, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 965, 7, 39098, 8, 628, 220, 220, 220, 825, 11593, 1136, 35226, 834, 7, 944, 11, 1438, 25, 965, 8, 4613, 19720, 13, 7149, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4377, 11688, 1895, 284, 257, 15417, 2134, 481, 1441, 262, 3218, 6608, 290, 198, 220, 220, 220, 220, 220, 220, 220, 597, 15095, 874, 5447, 329, 262, 3303, 13, 4362, 286, 428, 466, 407, 9117, 6608, 198, 220, 220, 220, 220, 220, 220, 220, 319, 428, 2134, 287, 257, 835, 326, 481, 19122, 351, 262, 15095, 874, 340, 15738, 357, 68, 13, 70, 13, 2170, 12453, 62, 198, 220, 220, 220, 220, 220, 220, 220, 393, 1188, 84, 316, 4233, 62, 815, 407, 307, 973, 355, 262, 923, 286, 11688, 3891, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 62, 4743, 672, 874, 3419, 58, 3672, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3460, 4163, 12331, 7, 68, 8, 628, 220, 220, 220, 825, 651, 62, 11284, 62, 21412, 7, 944, 8, 4613, 19720, 13, 51, 29291, 58, 2536, 11, 19720, 13, 51, 29291, 58, 600, 11, 493, 11, 493, 4357, 19720, 13, 30719, 14692, 19199, 13, 26796, 6030, 8973, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 262, 8265, 2134, 329, 262, 3303, 1104, 3696, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 46545, 286, 8265, 1438, 11, 2124, 13, 88, 13, 89, 8265, 2196, 11, 290, 262, 8265, 2134, 2346, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 11, 4808, 46189, 32065, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 555, 715, 395, 13, 76, 735, 1330, 6139, 44, 735, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 11250, 796, 6139, 44, 735, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 796, 6139, 44, 735, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 77, 403, 615, 315, 13, 17204, 13, 20322, 6, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 616, 62, 17204, 13557, 5458, 796, 366, 77, 403, 615, 315, 13, 17204, 13, 20322, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8265, 62, 3672, 11, 1104, 62, 9641, 11, 4808, 796, 616, 62, 17204, 13, 1136, 62, 11284, 62, 21412, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 8265, 62, 3672, 6624, 366, 77, 403, 615, 315, 13, 17204, 13, 20322, 13, 11284, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 1104, 62, 9641, 58, 15, 60, 6624, 352, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8265, 62, 3672, 796, 45144, 27422, 11284, 1911, 18982, 7, 944, 13557, 5458, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8265, 796, 1330, 8019, 13, 11748, 62, 21412, 7, 21412, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2196, 62, 83, 29291, 796, 10628, 33634, 13, 961, 62, 9641, 7, 21412, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 21412, 62, 3672, 11, 2196, 62, 83, 29291, 11, 8265, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 357, 20939, 12331, 11, 11052, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1400, 11389, 1634, 1104, 329, 428, 3303, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7203, 2949, 11389, 1634, 1104, 329, 6163, 2496, 13, 26003, 19818, 8265, 19570, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 357, 21412, 62, 3672, 11, 357, 15, 11, 657, 11, 657, 828, 6045, 8, 628, 220, 220, 220, 2488, 12543, 310, 10141, 13, 75, 622, 62, 23870, 3419, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 198, 220, 220, 220, 825, 651, 62, 42813, 7, 944, 11, 1207, 62, 19199, 25, 37947, 3976, 8, 4613, 19720, 13, 8053, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 1351, 286, 2291, 13532, 326, 389, 2176, 284, 428, 3303, 290, 262, 3689, 900, 329, 340, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 37947, 3976, 1207, 62, 19199, 25, 317, 6764, 286, 262, 20086, 3407, 389, 2622, 329, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 1351, 286, 2291, 2393, 13532, 13, 383, 1351, 743, 307, 6565, 611, 645, 3407, 547, 2622, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 825, 8106, 62, 312, 7, 944, 11, 4554, 25, 19720, 13, 7149, 11, 4686, 62, 4906, 25, 965, 796, 366, 1092, 4943, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 21522, 728, 257, 4938, 27421, 287, 262, 3303, 329, 257, 1813, 2134, 13, 383, 21004, 743, 407, 307, 48287, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 597, 4554, 25, 220, 220, 220, 220, 220, 220, 220, 4377, 2134, 393, 1366, 326, 2035, 468, 257, 1438, 3119, 393, 460, 307, 11513, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 257, 4731, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 4686, 62, 4906, 25, 220, 220, 220, 220, 220, 220, 220, 220, 317, 2099, 286, 27421, 13, 770, 318, 1180, 329, 1123, 3303, 13, 1114, 1672, 11, 329, 327, 428, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 460, 307, 705, 774, 9124, 891, 3256, 705, 20285, 305, 3256, 705, 8818, 3256, 393, 705, 44709, 4458, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5765, 705, 1092, 6, 284, 4174, 9660, 2105, 3173, 329, 477, 27421, 3858, 284, 262, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 11241, 326, 318, 257, 4938, 27421, 287, 262, 3303, 11, 318, 407, 257, 10395, 21179, 11, 290, 318, 14434, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 287, 257, 2206, 49228, 5642, 1912, 319, 262, 2810, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 12286, 62, 24455, 62, 312, 62, 1640, 62, 16793, 7, 39098, 8, 628, 220, 220, 220, 825, 8106, 62, 19509, 62, 35790, 62, 3672, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 256, 25, 279, 5173, 21282, 75, 13, 5377, 1930, 578, 6030, 11, 9660, 2105, 25, 3363, 2949, 19463, 796, 3363, 2949, 19463, 13, 7206, 38865, 11, 4686, 62, 4906, 25, 965, 796, 366, 1092, 1, 198, 220, 220, 220, 1267, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 47081, 257, 4731, 326, 318, 257, 1790, 276, 2196, 286, 262, 1336, 4941, 1438, 267, 16138, 597, 25745, 3354, 286, 262, 2099, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 279, 5173, 21282, 75, 13, 5377, 1930, 578, 6030, 256, 25, 383, 360, 10305, 43, 2099, 284, 651, 262, 4941, 1438, 329, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 3363, 2949, 19463, 9660, 2105, 25, 1002, 5550, 38865, 788, 262, 9660, 2105, 1988, 17839, 329, 262, 2496, 3303, 318, 973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 428, 23170, 1460, 326, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 4686, 62, 4906, 25, 220, 220, 220, 220, 220, 220, 220, 220, 317, 2099, 286, 27421, 13, 770, 318, 1180, 329, 1123, 3303, 13, 1114, 1672, 11, 329, 327, 428, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 460, 307, 705, 774, 9124, 891, 3256, 705, 20285, 305, 3256, 705, 8818, 3256, 393, 705, 44709, 4458, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5765, 705, 1092, 6, 284, 4174, 9660, 2105, 3173, 329, 477, 27421, 3858, 284, 262, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1790, 62, 3672, 796, 45144, 19509, 92, 23330, 22478, 92, 23330, 1084, 273, 92, 1911, 18982, 7, 19509, 28, 83, 13, 19509, 62, 3672, 11, 1688, 28, 83, 13, 9641, 13, 22478, 11, 4159, 28, 83, 13, 9641, 13, 1084, 273, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3363, 2949, 19463, 13, 9288, 62, 35310, 7, 20661, 2105, 11, 2116, 13, 21633, 62, 20661, 2105, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 24455, 62, 312, 7, 19509, 62, 3672, 11, 4686, 62, 4906, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1790, 62, 3672, 628, 220, 220, 220, 825, 651, 62, 11250, 62, 8367, 7, 944, 11, 1994, 25, 965, 11, 4277, 62, 8367, 25, 19720, 13, 30719, 58, 2536, 60, 796, 6045, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 281, 11902, 3303, 3119, 422, 262, 3303, 8398, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 383, 4566, 1988, 284, 19818, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4277, 62, 8367, 25, 383, 1988, 284, 1441, 611, 262, 1994, 373, 407, 287, 262, 8398, 13, 1002, 2810, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 428, 2446, 481, 407, 5298, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 4906, 4277, 62, 8367, 25, 19720, 13, 30719, 58, 2536, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 15467, 262, 1988, 422, 262, 4566, 393, 262, 4277, 62, 8367, 611, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 965, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 430, 2696, 25, 7383, 12331, 611, 262, 2665, 393, 262, 1994, 287, 262, 2665, 857, 407, 2152, 290, 257, 4277, 62, 8367, 373, 407, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 7, 944, 13557, 5458, 11, 1994, 11, 4277, 62, 8367, 8, 628, 220, 220, 220, 825, 651, 62, 11250, 62, 8367, 62, 292, 62, 30388, 7, 944, 11, 1994, 25, 965, 11, 4277, 62, 8367, 25, 20512, 796, 10352, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 281, 11902, 3303, 3119, 422, 262, 3303, 8398, 8024, 257, 25131, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 383, 4566, 1988, 284, 19818, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 20512, 4277, 62, 8367, 25, 383, 1988, 284, 779, 611, 645, 1988, 11196, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 383, 4566, 1988, 355, 2035, 6407, 393, 10352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 30388, 7, 944, 13557, 5458, 11, 1994, 11, 4277, 62, 8367, 8, 628, 220, 220, 220, 825, 651, 62, 11250, 62, 8367, 62, 292, 62, 11600, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 1994, 25, 965, 11, 4277, 62, 8367, 25, 19720, 13, 30719, 58, 774, 13886, 13, 35, 713, 60, 796, 6045, 198, 220, 220, 220, 1267, 4613, 19720, 13, 35, 713, 58, 2536, 11, 19720, 13, 7149, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 3303, 3119, 32096, 340, 355, 257, 3975, 351, 4731, 8251, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 16934, 11, 15417, 17401, 11, 15417, 11, 4808, 46189, 32065, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 15417, 16934, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 13, 2860, 62, 5458, 10786, 77, 403, 615, 315, 13, 17204, 13, 66, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 13, 2617, 10786, 77, 403, 615, 315, 13, 17204, 13, 66, 3256, 705, 21943, 3256, 1391, 6, 505, 10354, 352, 30072, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 66, 796, 4808, 46189, 32065, 7, 32065, 17401, 13, 2220, 62, 16129, 62, 21412, 10786, 66, 33809, 4566, 11, 6407, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 66, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 11600, 10786, 21943, 11537, 17816, 505, 20520, 6624, 352, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 66, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 11600, 10786, 5657, 3256, 1391, 6, 505, 10354, 362, 30072, 17816, 505, 20520, 6624, 362, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 4566, 1988, 284, 19818, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4277, 62, 8367, 25, 220, 220, 220, 220, 383, 1988, 284, 1441, 611, 262, 1994, 373, 407, 287, 262, 8398, 13, 1002, 2810, 428, 2446, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 481, 407, 5298, 257, 7383, 12331, 4249, 257, 5994, 12331, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 4906, 4277, 62, 8367, 25, 19720, 13, 30719, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15467, 262, 1988, 422, 262, 4566, 393, 262, 4277, 62, 8367, 611, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 19720, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 430, 2696, 25, 7383, 12331, 611, 262, 1994, 857, 407, 2152, 290, 257, 4277, 62, 8367, 373, 407, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 430, 2696, 25, 5994, 12331, 611, 262, 1988, 7160, 475, 318, 407, 257, 8633, 290, 257, 4277, 62, 8367, 373, 407, 2810, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 11600, 7, 944, 13557, 5458, 11, 1994, 11, 4277, 62, 8367, 8, 628, 220, 220, 220, 825, 651, 62, 11250, 62, 8367, 62, 292, 62, 4868, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 1994, 25, 965, 11, 4277, 62, 8367, 25, 19720, 13, 30719, 58, 774, 13886, 13, 8053, 60, 796, 6045, 198, 220, 220, 220, 1267, 4613, 19720, 13, 8053, 58, 774, 13886, 13, 7149, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 3303, 3119, 32096, 340, 355, 257, 3975, 351, 4731, 8251, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 4566, 1988, 284, 19818, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4277, 62, 8367, 25, 220, 220, 220, 220, 383, 1988, 284, 1441, 611, 262, 1994, 373, 407, 287, 262, 8398, 13, 1002, 2810, 428, 2446, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 481, 407, 5298, 257, 7383, 12331, 4249, 257, 5994, 12331, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 4906, 4277, 62, 8367, 25, 220, 220, 220, 220, 220, 19720, 13, 30719, 58, 774, 13886, 13, 8053, 58, 774, 13886, 13, 7149, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15467, 262, 1988, 422, 262, 4566, 393, 262, 4277, 62, 8367, 611, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19720, 13, 8053, 58, 774, 13886, 13, 7149, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 430, 2696, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7383, 12331, 611, 262, 1994, 857, 407, 2152, 290, 257, 4277, 62, 8367, 373, 407, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 430, 2696, 25, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5994, 12331, 611, 262, 1988, 7160, 475, 318, 407, 257, 8633, 290, 257, 4277, 62, 8367, 373, 407, 2810, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 4868, 7, 944, 13557, 5458, 11, 1994, 11, 4277, 62, 8367, 8, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 7552, 7, 944, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 7552, 284, 779, 329, 3696, 7560, 287, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 7, 944, 13557, 5458, 11, 366, 2302, 3004, 1600, 366, 1136, 4943, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 25745, 62, 22915, 62, 927, 7, 944, 8, 4613, 19720, 13, 30719, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 286, 257, 25745, 2393, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 7, 944, 13557, 5458, 11, 366, 14933, 10223, 62, 7753, 62, 927, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 1438, 7, 944, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 286, 262, 3303, 973, 416, 262, 1058, 4666, 25, 63, 77, 403, 615, 315, 13, 17204, 63, 8265, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16129, 62, 3672, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 1104, 62, 14933, 10223, 7, 944, 8, 4613, 19720, 13, 8053, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 38958, 25745, 973, 416, 262, 1104, 3788, 13, 383, 3119, 198, 220, 220, 220, 220, 220, 220, 220, 318, 257, 16605, 11266, 4731, 618, 7368, 287, 8398, 13, 770, 198, 220, 220, 220, 220, 220, 220, 220, 3119, 5860, 326, 1988, 6626, 656, 25745, 6805, 351, 262, 198, 220, 220, 220, 220, 220, 220, 220, 717, 27421, 852, 262, 717, 6376, 287, 262, 7177, 11, 3503, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 77, 403, 615, 315, 13, 17204, 13, 20322, 10354, 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, 705, 11284, 62, 14933, 10223, 10354, 705, 21943, 13, 5657, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 49464, 796, 4566, 11970, 62, 16129, 62, 22866, 62, 69, 9548, 7, 11250, 11, 705, 20322, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 20322, 796, 300, 49464, 13, 1136, 62, 16793, 62, 16129, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 18896, 7, 17204, 62, 20322, 13, 11284, 62, 14933, 10223, 8, 6624, 362, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 20322, 13, 11284, 62, 14933, 10223, 58, 15, 60, 6624, 705, 21943, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 20322, 13, 11284, 62, 14933, 10223, 58, 16, 60, 6624, 705, 5657, 6, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 25745, 62, 2536, 796, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 7, 944, 13557, 5458, 11, 366, 11284, 62, 14933, 10223, 1600, 4277, 62, 8367, 2625, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 25745, 62, 2536, 13, 35312, 7203, 19570, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 7139, 62, 20661, 2105, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 336, 1773, 42814, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 30388, 7, 944, 13557, 5458, 11, 366, 21633, 62, 20661, 2105, 4943, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 468, 62, 20307, 62, 14933, 10223, 62, 16624, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 262, 3303, 15738, 2041, 25745, 3696, 355, 636, 286, 198, 220, 220, 220, 220, 220, 220, 220, 663, 4755, 3210, 357, 68, 13, 70, 13, 21015, 338, 11593, 15003, 834, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 30388, 7, 944, 13557, 5458, 11, 366, 10134, 62, 20307, 62, 14933, 10223, 62, 16624, 4943, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 8245, 62, 11284, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10127, 1104, 329, 428, 3303, 318, 11032, 705, 31284, 3256, 290, 407, 11992, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 30388, 7, 944, 13557, 5458, 11, 366, 31284, 62, 11284, 4943, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 42848, 62, 46911, 1634, 62, 11284, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1002, 6407, 788, 27298, 815, 407, 2291, 11389, 1634, 31878, 11, 3858, 11, 198, 220, 220, 220, 220, 220, 220, 220, 393, 1104, 12782, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 296, 270, 62, 46911, 1634, 62, 11284, 628, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 1104, 62, 16624, 7, 944, 8, 4613, 19720, 13, 8645, 1352, 58, 6978, 8019, 13, 15235, 11, 6045, 11, 6045, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 40806, 689, 625, 1729, 12, 11498, 489, 515, 6493, 3696, 14553, 1626, 262, 39342, 615, 315, 6082, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 48157, 615, 315, 13, 17204, 1330, 15417, 11, 4808, 46189, 32065, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 555, 715, 395, 13, 76, 735, 1330, 6139, 44, 735, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 11250, 796, 6139, 44, 735, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 796, 6139, 44, 735, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15290, 62, 21412, 13, 834, 3672, 834, 796, 705, 77, 403, 615, 315, 13, 17204, 13, 21943, 6, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 616, 62, 17204, 796, 4808, 46189, 32065, 7, 76, 735, 62, 21412, 11, 15290, 62, 11250, 11, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 616, 62, 17204, 13557, 5458, 796, 366, 77, 403, 615, 315, 13, 17204, 13, 1662, 62, 64, 62, 16129, 62, 27485, 62, 1662, 62, 64, 62, 16129, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1104, 62, 7753, 287, 616, 62, 17204, 13, 11284, 62, 16624, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 262, 8265, 1595, 470, 2152, 340, 6584, 470, 423, 597, 1104, 3696, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 10352, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 11, 4808, 11, 8265, 796, 2116, 13, 1136, 62, 11284, 62, 21412, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 8265, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1439, 3303, 1104, 13103, 1276, 2148, 257, 1351, 62, 11284, 62, 16624, 2446, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 284, 1249, 262, 4866, 17301, 1895, 284, 262, 25555, 1104, 3696, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1351, 62, 11284, 62, 16624, 796, 651, 35226, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8265, 11, 366, 4868, 62, 11284, 62, 16624, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 220, 1303, 2099, 25, 19720, 13, 14134, 540, 30109, 4357, 19720, 13, 8645, 1352, 58, 6978, 8019, 13, 15235, 11, 6045, 11, 6045, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1351, 62, 11284, 62, 16624, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1400, 11389, 1634, 1104, 329, 428, 3303, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1351, 62, 11284, 62, 16624, 3419, 628, 220, 220, 220, 825, 651, 62, 18076, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 3038, 62, 2539, 25, 965, 11, 4277, 62, 8367, 25, 19720, 13, 38176, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 4357, 965, 11, 6045, 60, 796, 6045, 198, 220, 220, 220, 1267, 4613, 19720, 13, 38176, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 4357, 965, 11, 6045, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 3303, 3038, 329, 428, 3303, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 14836, 12, 8189, 12, 9967, 25, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 77, 403, 615, 315, 13, 17204, 13, 20322, 10354, 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, 705, 25811, 10354, 1391, 6, 16793, 62, 437, 666, 1108, 10354, 705, 31629, 6, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 49464, 796, 4566, 11970, 62, 16129, 62, 22866, 62, 69, 9548, 7, 11250, 11, 705, 20322, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42392, 62, 20322, 796, 300, 49464, 13, 1136, 62, 16793, 62, 16129, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 2438, 12, 9967, 3712, 21015, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 27068, 460, 1282, 422, 26235, 986, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 20322, 13, 1136, 62, 18076, 10786, 16793, 62, 437, 666, 1108, 11537, 6624, 705, 31629, 6, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2644, 393, 460, 1282, 422, 257, 33241, 4277, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 42392, 62, 20322, 13, 1136, 62, 18076, 10786, 6513, 30973, 3256, 705, 82, 1531, 62, 12286, 11537, 6624, 705, 82, 1531, 62, 12286, 6, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 15467, 262, 1988, 2810, 284, 262, 1058, 4871, 25, 63, 32065, 63, 4554, 11, 262, 1988, 422, 6608, 13, 88, 43695, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 393, 262, 1058, 8189, 25, 63, 12286, 62, 8367, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16129, 62, 25811, 58, 18076, 62, 2539, 60, 220, 1303, 2099, 25, 8856, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 4277, 62, 8367, 628, 220, 220, 220, 825, 651, 62, 11498, 17041, 62, 26495, 62, 3672, 7, 944, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 1438, 286, 262, 48157, 615, 315, 21015, 5301, 7268, 16628, 11, 3858, 11, 290, 8398, 198, 220, 220, 220, 220, 220, 220, 220, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 5458, 628, 220, 220, 220, 825, 651, 62, 13190, 62, 19199, 7, 944, 8, 4613, 19720, 13, 44, 5912, 58, 2536, 11, 965, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 3975, 286, 3706, 3858, 284, 262, 2099, 1438, 284, 27588, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 11600, 7, 944, 13557, 5458, 11, 366, 13190, 62, 19199, 1600, 4277, 62, 8367, 34758, 30072, 628, 220, 220, 220, 825, 651, 62, 13190, 62, 27160, 7, 944, 8, 4613, 19720, 13, 44, 5912, 58, 2536, 11, 965, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 3975, 286, 3706, 3815, 284, 262, 11241, 284, 27588, 329, 428, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11250, 13, 1136, 62, 11250, 62, 8367, 62, 292, 62, 11600, 7, 944, 13557, 5458, 11, 366, 13190, 62, 27160, 1600, 4277, 62, 8367, 34758, 30072, 628, 220, 220, 220, 825, 651, 62, 4743, 672, 874, 7, 944, 8, 4613, 19720, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 477, 3815, 329, 428, 3303, 326, 815, 307, 1695, 287, 257, 3298, 4732, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 16855, 286, 3298, 3891, 284, 3298, 3815, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 4743, 672, 874, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15095, 874, 62, 8899, 796, 8633, 3419, 220, 1303, 2099, 25, 19720, 13, 35, 713, 58, 2536, 11, 19720, 13, 7149, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 11, 1988, 287, 2116, 13, 1136, 62, 13190, 62, 19199, 22446, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15095, 874, 62, 8899, 14692, 774, 3617, 480, 23330, 92, 1911, 18982, 7, 2539, 15437, 796, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 11, 1988, 287, 2116, 13, 1136, 62, 13190, 62, 27160, 22446, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15095, 874, 62, 8899, 14692, 2100, 84, 316, 4233, 23330, 92, 1911, 18982, 7, 2539, 15437, 796, 1988, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 4743, 672, 874, 796, 15095, 874, 62, 8899, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 4743, 672, 874, 628, 220, 220, 220, 825, 651, 62, 25811, 7, 944, 8, 4613, 19720, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 477, 3303, 3689, 329, 428, 15417, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 16855, 286, 3038, 3891, 284, 3038, 3815, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16129, 62, 25811, 628, 198, 4871, 4808, 46189, 32065, 7, 32065, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15417, 2099, 973, 618, 262, 3303, 1104, 1626, 39342, 615, 315, 857, 407, 8160, 257, 3303, 12, 11423, 198, 220, 220, 220, 47611, 13, 628, 220, 220, 220, 2141, 407, 779, 428, 13, 5765, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 17401, 63, 543, 481, 2251, 262, 1774, 2134, 2099, 198, 220, 220, 220, 1912, 319, 15210, 286, 262, 39342, 615, 315, 1788, 874, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 15417, 21947, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 30532, 2134, 7268, 262, 1459, 2496, 3303, 357, 361, 597, 8, 290, 973, 284, 1895, 198, 220, 220, 220, 1058, 4871, 25, 63, 32065, 63, 5563, 13, 628, 220, 220, 220, 1058, 17143, 965, 2496, 62, 16129, 25, 1002, 2810, 257, 1058, 4871, 25, 63, 32065, 63, 2134, 481, 307, 2727, 284, 1745, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 2496, 3303, 900, 329, 428, 4732, 13, 1002, 6045, 788, 612, 318, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 645, 2496, 3303, 13, 198, 220, 220, 220, 1058, 17143, 965, 7552, 25, 383, 7552, 284, 779, 329, 7560, 2393, 3858, 393, 6045, 284, 779, 257, 4277, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1912, 319, 262, 2496, 62, 16129, 13, 198, 220, 220, 220, 1058, 17143, 965, 25745, 62, 22915, 62, 927, 25, 383, 29472, 10717, 284, 1577, 284, 28531, 10223, 5072, 3696, 611, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31234, 393, 6045, 284, 779, 257, 4277, 1912, 319, 257, 2496, 62, 16129, 13, 198, 220, 220, 220, 1058, 17143, 3224, 62, 11250, 62, 16624, 25, 317, 1351, 286, 13532, 284, 3224, 3696, 284, 3440, 355, 8398, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2312, 481, 20957, 597, 3815, 1043, 287, 262, 1058, 7753, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 48310, 13, 88, 43695, 63, 2393, 290, 3696, 198, 220, 220, 220, 220, 220, 220, 220, 12655, 1568, 287, 428, 1351, 481, 20957, 1988, 1043, 287, 2961, 12784, 13, 198, 220, 220, 220, 1058, 4906, 3224, 62, 11250, 62, 16624, 25, 19720, 13, 8053, 58, 6978, 8019, 13, 15235, 60, 198, 220, 220, 220, 1058, 17143, 20512, 42848, 62, 46911, 1634, 62, 11284, 62, 1640, 62, 16793, 25, 1002, 6407, 788, 27298, 815, 407, 2291, 198, 220, 220, 220, 220, 220, 220, 220, 11389, 1634, 31878, 11, 3858, 11, 393, 1104, 12782, 329, 262, 2496, 3303, 13, 198, 220, 220, 220, 1058, 17143, 19720, 13, 30719, 58, 774, 13886, 13, 44, 5912, 58, 2536, 11, 19720, 13, 7149, 11907, 3303, 62, 25811, 25, 8670, 18251, 7159, 3804, 832, 284, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 1058, 4871, 25, 63, 77, 403, 615, 315, 13, 17204, 13, 32065, 63, 2134, 13, 198, 220, 220, 220, 1058, 17143, 20512, 2291, 62, 23100, 9134, 62, 75, 33213, 25, 1002, 6407, 11, 15651, 8950, 351, 11992, 357, 13159, 12, 31284, 8, 1104, 13, 198, 220, 220, 220, 1058, 430, 2696, 11052, 12331, 25, 1002, 7552, 318, 6045, 290, 645, 2496, 3303, 373, 2810, 13, 198, 220, 220, 220, 1058, 430, 2696, 7383, 12331, 25, 1002, 262, 2496, 3303, 318, 407, 1900, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 651, 62, 16129, 7, 944, 11, 1994, 62, 273, 62, 21412, 62, 3672, 25, 965, 8, 4613, 15417, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 1058, 4871, 25, 63, 32065, 63, 2134, 329, 257, 1813, 3303, 27421, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 1994, 62, 273, 62, 21412, 62, 3672, 25, 15467, 530, 286, 262, 39342, 615, 315, 285, 77, 7966, 873, 329, 257, 4855, 3303, 393, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 7559, 834, 3672, 834, 15506, 286, 530, 286, 262, 7559, 77, 403, 615, 315, 13, 17204, 3693, 16129, 60, 15506, 21015, 13103, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 1058, 4871, 25, 63, 32065, 63, 2134, 39986, 416, 428, 4732, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 81, 4906, 25, 15417, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1994, 62, 273, 62, 21412, 62, 3672, 318, 6045, 393, 18896, 7, 2539, 62, 273, 62, 21412, 62, 3672, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 2539, 4578, 318, 2672, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 1994, 796, 1994, 62, 273, 62, 21412, 62, 3672, 58, 1485, 47715, 611, 1994, 62, 273, 62, 21412, 62, 3672, 13, 9688, 2032, 342, 7203, 77, 403, 615, 315, 13, 17204, 19570, 2073, 1994, 62, 273, 62, 21412, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 62, 15999, 62, 75, 33213, 3419, 58, 2539, 60, 628, 220, 220, 220, 825, 651, 62, 15999, 62, 16129, 62, 14933, 7, 944, 8, 4613, 19720, 13, 29993, 540, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3855, 257, 1351, 286, 2496, 8950, 4855, 416, 39342, 615, 315, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 1052, 11629, 540, 286, 13042, 543, 389, 8950, 351, 2041, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1104, 1626, 39342, 615, 315, 24019, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 685, 82, 58, 1485, 47715, 329, 264, 287, 2116, 13557, 11250, 13, 23946, 3419, 611, 264, 13, 9688, 2032, 342, 7203, 77, 403, 615, 315, 13, 17204, 526, 15437, 628, 220, 220, 220, 825, 651, 62, 22915, 62, 2302, 3004, 7, 944, 8, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 29620, 262, 5072, 7552, 284, 779, 7692, 286, 257, 2496, 3303, 852, 1695, 393, 407, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 2393, 7552, 1438, 351, 257, 3756, 16605, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 2302, 3004, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 2302, 3004, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13557, 16793, 62, 16129, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16793, 62, 16129, 13, 2302, 3004, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 43160, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2949, 7552, 373, 2810, 290, 645, 2496, 3303, 373, 900, 13, 26003, 5004, 262, 7552, 284, 779, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 651, 62, 12286, 62, 14933, 10223, 62, 22915, 62, 927, 7, 944, 8, 4613, 19720, 13, 30719, 58, 2536, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 383, 29472, 10717, 284, 1577, 284, 28531, 10223, 5072, 3696, 611, 31234, 393, 6045, 611, 612, 373, 4844, 198, 220, 220, 220, 220, 220, 220, 220, 7368, 290, 612, 318, 645, 2496, 3303, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 2393, 1438, 10717, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 14933, 10223, 62, 22915, 62, 927, 628, 220, 220, 220, 825, 651, 62, 16793, 62, 16129, 7, 944, 8, 4613, 19720, 13, 30719, 58, 32065, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 262, 2496, 3303, 17839, 319, 428, 2134, 393, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 611, 645, 2496, 3303, 373, 7368, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16793, 62, 16129, 628, 220, 220, 220, 825, 8106, 62, 312, 62, 1640, 62, 16793, 7, 944, 11, 4554, 25, 19720, 13, 7149, 11, 4686, 62, 4906, 25, 965, 796, 366, 1092, 4943, 4613, 965, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 317, 8106, 326, 481, 6121, 257, 1813, 4731, 393, 279, 5173, 21282, 75, 27421, 656, 257, 4938, 27421, 287, 262, 2496, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 317, 4277, 13389, 318, 5625, 611, 645, 2496, 3303, 318, 900, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 597, 4554, 25, 220, 220, 220, 220, 220, 220, 220, 4377, 2134, 393, 1366, 326, 2035, 468, 257, 1438, 3119, 393, 460, 307, 11513, 284, 257, 4731, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 965, 4686, 62, 4906, 25, 220, 220, 220, 220, 220, 220, 220, 220, 317, 2099, 286, 27421, 13, 770, 318, 1180, 329, 1123, 3303, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5765, 705, 1092, 6, 284, 4174, 9660, 2105, 3173, 329, 477, 27421, 3858, 284, 262, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 317, 11241, 326, 318, 257, 4938, 27421, 287, 262, 2496, 3303, 11, 318, 407, 257, 10395, 21179, 11, 290, 318, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14434, 287, 257, 2206, 49228, 5642, 1912, 319, 262, 2810, 4554, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 16793, 62, 16129, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 16793, 62, 16129, 13, 24455, 62, 312, 7, 39098, 11, 4686, 62, 4906, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 15417, 13, 12286, 62, 24455, 62, 312, 62, 1640, 62, 16793, 7, 39098, 8, 628, 220, 220, 220, 825, 651, 62, 15999, 62, 75, 33213, 7, 944, 8, 4613, 19720, 13, 35, 713, 58, 2536, 11, 15417, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 257, 4947, 286, 1695, 3303, 1104, 5563, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 75, 33213, 628, 220, 220, 220, 2488, 26745, 198 ]
2.523831
10,973
#!/usr/bin/env python3 import os import argparse import time import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader import numpy from ROOT import TFile, TH1D, TH2D, TCanvas from ROOT import gROOT, gPad, gStyle import ROOT from etnet.dataset import EtrackDataset from etnet.neuralnet import EtrackNet if __name__ == "__main__": parser = usage() args = parser.parse_args() for file in args.file: main(file, args) # main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 11748, 28686, 198, 11748, 1822, 29572, 198, 11748, 640, 198, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 40085, 355, 6436, 198, 6738, 28034, 13, 26791, 13, 7890, 1330, 6060, 17401, 198, 198, 11748, 299, 32152, 198, 6738, 15107, 2394, 1330, 309, 8979, 11, 2320, 16, 35, 11, 2320, 17, 35, 11, 309, 6090, 11017, 198, 6738, 15107, 2394, 1330, 308, 13252, 2394, 11, 308, 26114, 11, 308, 21466, 198, 11748, 15107, 2394, 198, 198, 6738, 2123, 3262, 13, 19608, 292, 316, 1330, 412, 11659, 27354, 292, 316, 198, 6738, 2123, 3262, 13, 710, 1523, 3262, 1330, 412, 11659, 7934, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 628, 220, 220, 220, 30751, 796, 8748, 3419, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 329, 2393, 287, 26498, 13, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1388, 7, 7753, 11, 26498, 8, 628, 220, 220, 220, 1303, 1388, 3419, 198 ]
2.733696
184
import tensorflow as tf from tensorflow.keras.layers import Layer, InputSpec from tensorflow.keras import initializers, regularizers import tensorflow.keras.backend as K
[ 11748, 11192, 273, 11125, 355, 48700, 198, 6738, 11192, 273, 11125, 13, 6122, 292, 13, 75, 6962, 1330, 34398, 11, 23412, 22882, 198, 6738, 11192, 273, 11125, 13, 6122, 292, 1330, 4238, 11341, 11, 3218, 11341, 198, 11748, 11192, 273, 11125, 13, 6122, 292, 13, 1891, 437, 355, 509, 198 ]
3.4
50
# -*- coding: utf-8 -*- # import enum import json from typing import Any, Callable, Dict, List, Optional, Union from pydantic import Json from .abc import Model [v.update_forward_refs() for v in globals().values() if hasattr(v, "update_forward_refs")]
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 198, 11748, 33829, 198, 11748, 33918, 198, 6738, 19720, 1330, 4377, 11, 4889, 540, 11, 360, 713, 11, 7343, 11, 32233, 11, 4479, 198, 198, 6738, 279, 5173, 5109, 1330, 449, 1559, 198, 198, 6738, 764, 39305, 1330, 9104, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 198, 58, 85, 13, 19119, 62, 11813, 62, 5420, 82, 3419, 329, 410, 287, 15095, 874, 22446, 27160, 3419, 611, 468, 35226, 7, 85, 11, 366, 19119, 62, 11813, 62, 5420, 82, 4943, 60, 198 ]
2.232416
327
import json
[ 198, 11748, 33918, 628, 198, 220, 220, 220, 220, 198 ]
2
10
from math import sqrt import string ############################################################################################ # Important: Read over the information in the "Appendix: Utility Functions" in the Project # # Project Specification in order to better understand how to use the functions below. # ############################################################################################ ############################### # Submitting design questions # ############################### passphrase = '814716d640bad70cbb9c76c72f2810e06f588a1bc1039d2510acab2d' def check_passphrase(p): """ You do not need to understand this code. This will only be used to ensure you have entered the correct passphrase. """ import hashlib return hashlib.sha224(p.encode('utf-8')).hexdigest() ################# # Reading files # ################# def close(file): """Closes the file object passed in. """ file.close() def readable(file): """Return True if this file can be read from. """ return file.readable() def readline(file): """ Return the first unread line from this file, or the empty string if all lines are read. """ return file.readline() def readlines(file): """ Return all unread lines in a list. """ return file.readlines() ############################ # String utility functions # ############################ def lower(s): """Return a copy of string s with all letters converted to lowercase.""" return s.lower() def split(s, sep=None): """ Returns a list of words contained in s, which are sequences of characters separated by a string sep. By default, this splits on whitespace (spaces, tabs, etc.) but by defining a different sep, you can split on arbitrary characters. """ return s.split(sep) def strip(s, chars=None): """ Return a version of s with characters in chars removed from the start and end. By default, removes whitespace characters. """ return s.strip(chars) ######################################### # Functions relating to keyboard layout # ######################################### KEY_LAYOUT = [["q", "w", "e", "r", "t", "y", "u", "i", "o", "p"], ["a", "s", "d", "f", "g", "h", "j", "k", "l"], ["z", "x", "c", "v", "b", "n", "m"]] def distance(p1, p2): """Return the Euclidean distance between two points The Euclidean distance between two points, (x1, y1) and (x2, y2) is the square root of (x1 - x2) ** 2 + (y1 - y2) ** 2 >>> distance((0, 1), (1, 1)) 1 >>> distance((1, 1), (1, 1)) 0 >>> round(distance((4, 0), (0, 4)), 3) 5.657 """ return sqrt((p1[0] - p2[0])**2 + (p1[1] - p2[1])**2) def get_key_distances(): """Return a new dictionary mapping key pairs to distances. Each key of the dictionary is a tuple of two letters as strings, and each value is the euclidean distance between the two letters on a standard QWERTY keyboard normalized such that the greatest distance is 2.0 The scaling is constant, so a pair of keys that are twice as far have a distance value that is twice as great >>> distances = get_key_distances() >>> distances["a", "a"] 0.0 >>> distances["a", "d"] # 2.0 / 9 2.0 >>> distances["d", "a"] 2.0 """ key_distance = {} for i in range(len(KEY_LAYOUT)): for j in range(len(KEY_LAYOUT[i])): compute_pairwise_distances(i, j, key_distance) max_value = max(key_distance.values()) return {key : value * 2 / max_value for key, value in key_distance.items()}
[ 6738, 10688, 1330, 19862, 17034, 198, 11748, 4731, 198, 198, 29113, 29113, 14468, 7804, 4242, 198, 2, 28511, 25, 4149, 625, 262, 1321, 287, 262, 366, 4677, 19573, 25, 34030, 40480, 1, 287, 262, 4935, 1303, 198, 2, 4935, 18291, 2649, 287, 1502, 284, 1365, 1833, 703, 284, 779, 262, 5499, 2174, 13, 220, 220, 220, 220, 220, 1303, 198, 29113, 29113, 14468, 7804, 4242, 198, 198, 14468, 7804, 4242, 21017, 198, 2, 3834, 16138, 1486, 2683, 1303, 198, 14468, 7804, 4242, 21017, 198, 198, 6603, 34675, 796, 705, 23, 20198, 1433, 67, 31102, 14774, 2154, 66, 11848, 24, 66, 4304, 66, 4761, 69, 2078, 940, 68, 3312, 69, 39118, 64, 16, 15630, 940, 2670, 67, 1495, 940, 330, 397, 17, 67, 6, 198, 198, 4299, 2198, 62, 6603, 34675, 7, 79, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 921, 466, 407, 761, 284, 1833, 428, 2438, 13, 770, 481, 691, 198, 220, 220, 220, 307, 973, 284, 4155, 345, 423, 5982, 262, 3376, 1208, 34675, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1330, 12234, 8019, 198, 220, 220, 220, 1441, 12234, 8019, 13, 26270, 24137, 7, 79, 13, 268, 8189, 10786, 40477, 12, 23, 11537, 737, 33095, 12894, 395, 3419, 198, 198, 14468, 2, 198, 2, 11725, 3696, 1303, 198, 14468, 2, 198, 198, 4299, 1969, 7, 7753, 2599, 198, 197, 37811, 2601, 4629, 262, 2393, 2134, 3804, 287, 13, 37227, 198, 197, 7753, 13, 19836, 3419, 198, 198, 4299, 31744, 7, 7753, 2599, 198, 197, 37811, 13615, 6407, 611, 428, 2393, 460, 307, 1100, 422, 13, 37227, 198, 197, 7783, 2393, 13, 46155, 3419, 198, 198, 4299, 1100, 1370, 7, 7753, 2599, 198, 197, 37811, 198, 197, 13615, 262, 717, 555, 961, 1627, 422, 428, 2393, 11, 220, 198, 197, 273, 262, 6565, 4731, 611, 477, 3951, 389, 1100, 13, 198, 197, 37811, 198, 197, 7783, 2393, 13, 961, 1370, 3419, 198, 198, 4299, 1100, 6615, 7, 7753, 2599, 198, 197, 37811, 198, 197, 13615, 477, 555, 961, 3951, 287, 257, 1351, 13, 198, 197, 37811, 198, 197, 7783, 2393, 13, 961, 6615, 3419, 628, 198, 14468, 7804, 4242, 198, 2, 10903, 10361, 5499, 1303, 198, 14468, 7804, 4242, 198, 198, 4299, 2793, 7, 82, 2599, 198, 197, 37811, 13615, 257, 4866, 286, 4731, 264, 351, 477, 7475, 11513, 284, 2793, 7442, 526, 15931, 198, 197, 7783, 264, 13, 21037, 3419, 628, 198, 4299, 6626, 7, 82, 11, 41767, 28, 14202, 2599, 198, 197, 37811, 198, 197, 35561, 257, 1351, 286, 2456, 7763, 287, 264, 11, 543, 389, 198, 197, 3107, 3007, 286, 3435, 11266, 416, 257, 4731, 41767, 13, 628, 197, 3886, 4277, 11, 428, 30778, 319, 13216, 10223, 357, 2777, 2114, 11, 22524, 11, 3503, 2014, 198, 197, 4360, 416, 16215, 257, 1180, 41767, 11, 345, 460, 6626, 319, 14977, 198, 197, 10641, 19858, 13, 198, 197, 37811, 198, 197, 7783, 264, 13, 35312, 7, 325, 79, 8, 198, 198, 4299, 10283, 7, 82, 11, 34534, 28, 14202, 2599, 198, 197, 37811, 198, 197, 13615, 257, 2196, 286, 264, 351, 3435, 287, 34534, 4615, 198, 197, 6738, 262, 923, 290, 886, 13, 628, 197, 3886, 4277, 11, 20694, 13216, 10223, 3435, 13, 198, 197, 37811, 198, 197, 7783, 264, 13, 36311, 7, 354, 945, 8, 628, 198, 29113, 7804, 2, 198, 2, 40480, 11270, 284, 10586, 12461, 1303, 198, 29113, 7804, 2, 198, 198, 20373, 62, 43, 4792, 12425, 796, 685, 14692, 80, 1600, 366, 86, 1600, 366, 68, 1600, 366, 81, 1600, 366, 83, 1600, 366, 88, 1600, 366, 84, 1600, 366, 72, 1600, 366, 78, 1600, 366, 79, 33116, 198, 197, 197, 197, 220, 14631, 64, 1600, 366, 82, 1600, 366, 67, 1600, 366, 69, 1600, 366, 70, 1600, 366, 71, 1600, 366, 73, 1600, 366, 74, 1600, 366, 75, 33116, 198, 197, 197, 197, 220, 14631, 89, 1600, 366, 87, 1600, 366, 66, 1600, 366, 85, 1600, 366, 65, 1600, 366, 77, 1600, 366, 76, 8973, 60, 198, 198, 4299, 5253, 7, 79, 16, 11, 279, 17, 2599, 198, 197, 37811, 13615, 262, 48862, 485, 272, 5253, 1022, 734, 2173, 628, 197, 464, 48862, 485, 272, 5253, 1022, 734, 2173, 11, 357, 87, 16, 11, 331, 16, 8, 290, 357, 87, 17, 11, 331, 17, 8, 198, 197, 271, 262, 6616, 6808, 286, 357, 87, 16, 532, 2124, 17, 8, 12429, 362, 1343, 357, 88, 16, 532, 331, 17, 8, 12429, 362, 628, 197, 33409, 5253, 19510, 15, 11, 352, 828, 357, 16, 11, 352, 4008, 198, 197, 16, 198, 197, 33409, 5253, 19510, 16, 11, 352, 828, 357, 16, 11, 352, 4008, 198, 197, 15, 198, 197, 33409, 2835, 7, 30246, 19510, 19, 11, 657, 828, 357, 15, 11, 604, 36911, 513, 8, 198, 197, 20, 13, 37680, 198, 197, 37811, 198, 197, 7783, 19862, 17034, 19510, 79, 16, 58, 15, 60, 532, 279, 17, 58, 15, 12962, 1174, 17, 1343, 357, 79, 16, 58, 16, 60, 532, 279, 17, 58, 16, 12962, 1174, 17, 8, 198, 198, 4299, 651, 62, 2539, 62, 17080, 1817, 33529, 198, 197, 37811, 13615, 257, 649, 22155, 16855, 1994, 14729, 284, 18868, 13, 628, 197, 10871, 1994, 286, 262, 22155, 318, 257, 46545, 286, 734, 198, 197, 15653, 355, 13042, 11, 290, 1123, 1988, 318, 262, 304, 36616, 485, 272, 5253, 198, 197, 23395, 262, 734, 7475, 319, 257, 3210, 1195, 45532, 9936, 10586, 39279, 198, 197, 10508, 326, 262, 6000, 5253, 318, 362, 13, 15, 628, 197, 464, 20796, 318, 6937, 11, 523, 257, 5166, 286, 8251, 326, 389, 5403, 198, 197, 292, 1290, 423, 257, 5253, 1988, 326, 318, 5403, 355, 1049, 628, 197, 33409, 18868, 796, 651, 62, 2539, 62, 17080, 1817, 3419, 198, 197, 33409, 18868, 14692, 64, 1600, 366, 64, 8973, 198, 197, 15, 13, 15, 198, 197, 33409, 18868, 14692, 64, 1600, 366, 67, 8973, 1303, 362, 13, 15, 1220, 860, 198, 197, 17, 13, 15, 198, 197, 33409, 18868, 14692, 67, 1600, 366, 64, 8973, 198, 197, 17, 13, 15, 198, 197, 37811, 198, 197, 2539, 62, 30246, 796, 23884, 628, 197, 1640, 1312, 287, 2837, 7, 11925, 7, 20373, 62, 43, 4792, 12425, 8, 2599, 198, 197, 197, 1640, 474, 287, 2837, 7, 11925, 7, 20373, 62, 43, 4792, 12425, 58, 72, 12962, 2599, 198, 197, 197, 197, 5589, 1133, 62, 24874, 3083, 62, 17080, 1817, 7, 72, 11, 474, 11, 1994, 62, 30246, 8, 628, 197, 9806, 62, 8367, 796, 3509, 7, 2539, 62, 30246, 13, 27160, 28955, 198, 197, 7783, 1391, 2539, 1058, 1988, 1635, 362, 1220, 3509, 62, 8367, 329, 1994, 11, 1988, 287, 1994, 62, 30246, 13, 23814, 3419, 92, 628 ]
3.11786
1,103
import os from lambda_handler import handle # Use an event structure that follows GuardDuty Schema 2.0 to simulate a ticketing system integration. EVENT_FIXTURE = { "detail-type": "GuardDuty Finding", "source": "aws.guardduty", "detail": { "schemaVersion": "2.0", "accountId": "874153891031", "region": "us-west-2", "partition": "aws", "id": "b2b7236dda0e4eff8aa17738d9ad18c5", "type": "Custom:UserReport/WebsiteDefacement", "resource": { "resourceType": "FargateContainer", "instanceDetails": { "tags": [ {"Key": "app", "Value": "fluffykittenwww"}, {"Key": "risk", "Value": "maximum"}, ], }, }, "severity": 10, "createdAt": "2019-11-07T17:13:53.948Z", "updatedAt": "2019-11-09T17:41:09.360Z", "title": "A user has reported a defacement of fluffykitten securities main www site.", "description": "All images on the site have been replaced with dogs instead of fluffy cats.", "detail": {}, }, }
[ 11748, 28686, 198, 6738, 37456, 62, 30281, 1330, 5412, 628, 198, 2, 5765, 281, 1785, 4645, 326, 5679, 4932, 35, 3935, 10011, 2611, 362, 13, 15, 284, 29308, 257, 7846, 278, 1080, 11812, 13, 198, 20114, 3525, 62, 47084, 51, 11335, 796, 1391, 198, 220, 220, 220, 366, 49170, 12, 4906, 1298, 366, 24502, 35, 3935, 27063, 1600, 198, 220, 220, 220, 366, 10459, 1298, 366, 8356, 13, 14864, 26278, 1600, 198, 220, 220, 220, 366, 49170, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15952, 2611, 14815, 1298, 366, 17, 13, 15, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 23317, 7390, 1298, 366, 23, 4524, 1314, 29769, 940, 3132, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 36996, 1298, 366, 385, 12, 7038, 12, 17, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 3911, 653, 1298, 366, 8356, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 65, 17, 65, 22, 24940, 1860, 64, 15, 68, 19, 14822, 23, 7252, 22413, 2548, 67, 24, 324, 1507, 66, 20, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 4906, 1298, 366, 15022, 25, 12982, 19100, 14, 33420, 7469, 5592, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 31092, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 31092, 6030, 1298, 366, 37, 853, 378, 29869, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 39098, 24259, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 31499, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19779, 9218, 1298, 366, 1324, 1600, 366, 11395, 1298, 366, 2704, 15352, 74, 2621, 2503, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19779, 9218, 1298, 366, 19121, 1600, 366, 11395, 1298, 366, 47033, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28116, 414, 1298, 838, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 25598, 2953, 1298, 366, 23344, 12, 1157, 12, 2998, 51, 1558, 25, 1485, 25, 4310, 13, 24, 2780, 57, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 43162, 2953, 1298, 366, 23344, 12, 1157, 12, 2931, 51, 1558, 25, 3901, 25, 2931, 13, 15277, 57, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7839, 1298, 366, 32, 2836, 468, 2098, 257, 825, 5592, 286, 39145, 74, 2621, 16145, 1388, 7324, 2524, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 366, 11213, 1298, 366, 3237, 4263, 319, 262, 2524, 423, 587, 6928, 351, 6844, 2427, 286, 39145, 11875, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 366, 49170, 1298, 1391, 5512, 198, 220, 220, 220, 8964, 198, 92, 628 ]
2.137736
530
from setuptools import setup setup(name='pyfooty', version='0.0', description='Parse the fbref website with python', url='https://github.com/rmatsum836/pyfooty', author='Ray Matsumoto', author_email='[email protected]', license='MIT', packages=['pyfooty'], zip_safe=False)
[ 6738, 900, 37623, 10141, 1330, 9058, 198, 198, 40406, 7, 3672, 11639, 9078, 5898, 88, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2196, 11639, 15, 13, 15, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 11639, 10044, 325, 262, 277, 4679, 69, 3052, 351, 21015, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 19016, 11639, 5450, 1378, 12567, 13, 785, 14, 26224, 1381, 388, 23, 2623, 14, 9078, 5898, 88, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1772, 11639, 19591, 30107, 388, 2069, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1772, 62, 12888, 11639, 2433, 76, 1381, 388, 31, 14816, 13, 785, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 5964, 11639, 36393, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 10392, 28, 17816, 9078, 5898, 88, 6, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 21230, 28, 25101, 8, 198 ]
2.193548
155
"""This module wraps the fortran backend.""" import numpy as np import compflow_fort_from_Ma as fort_from_Ma import compflow_fort_der_from_Ma as fort_der_from_Ma import compflow_fort_to_Ma as fort_to_Ma def _restore_shape(func, args): """Call a function and restore output to same shape as first argument.""" shape = np.shape(args[0]) if shape == (): return(func(*args)[0]) elif len(shape) == 1: return(func(*args)) else: return(func(*args).reshape(shape, order='F')) # Functions from Ma def To_T_from_Ma(Ma, ga): r"""Stagnation temperature ratio as function of Mach number. .. math:: \frac{T_0}{T} = 1 + \frac{\gamma - 1}{2} \Ma^2 Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- To_T : array Stagnation temperature ratio, :math:`T_0/T`. """ return _restore_shape(fort_from_Ma.to_t, (Ma,ga)) def Po_P_from_Ma(Ma,ga): r"""Stagnation pressure ratio as function of Mach number. .. math:: \frac{p_0}{p} = \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^\tfrac{\gamma}{\gamma - 1} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Po_P : array Stagnation pressure ratio, :math:`p_0/p`. """ return _restore_shape(fort_from_Ma.po_p, (Ma,ga)) def rhoo_rho_from_Ma(Ma,ga): r"""Stagnation density ratio as function of Mach number. .. math:: \frac{\rho_0}{\rho} = \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^\tfrac{1}{\gamma - 1} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- rhoo_rho : array Stagnation density ratio, :math:`\rho_0/\rho`. """ return _restore_shape(fort_from_Ma.rhoo_rho, (Ma,ga)) def V_cpTo_from_Ma(Ma,ga): r"""Normalised velocity as function of Mach number. .. math:: \frac{V}{\sqrt{c_p T_0}} = \sqrt{\gamma -1}\, \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right)^{-\tfrac{1}{2}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- V_cpTo : array Normalised velocity, :math:`V/\sqrt{c_p T_0}`. """ return _restore_shape(fort_from_Ma.v_cpto, (Ma,ga)) def mcpTo_APo_from_Ma(Ma,ga): r"""Normalised mass flow as function of Mach number. .. math:: \frac{\dot{m}\sqrt{c_p T_0}}{A p_0} = \frac{\gamma}{\sqrt{\gamma -1}}\, \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^{-\tfrac{1}{2}\tfrac{\gamma + 1}{\gamma - 1}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- mcpTo_APo : array Normalised mass flow, :math:`{\dot{m}\sqrt{c_p T_0}}/{A p_0}`. """ return _restore_shape(fort_from_Ma.mcpto_apo, (Ma,ga)) def mcpTo_AP_from_Ma(Ma,ga): r"""Static normalised mass flow as function of Mach number. .. math:: \frac{\dot{m}\sqrt{c_p T_0}}{A p} = \frac{\gamma}{\sqrt{\gamma -1}}\, \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^{\tfrac{1}{2}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- mcpTo_AP : array Static pressure variant of normalised mass flow, :math:`{\dot{m}\sqrt{c_p T_0}}/{A p}`. """ return _restore_shape(fort_from_Ma.mcpto_ap, (Ma,ga)) def A_Acrit_from_Ma(Ma,ga): r"""Ratio of area to choking area as function of Mach number. .. math:: \frac{A}{A_*} = \frac{1}{\Ma}\left[\frac{2}{\gamma +1} \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right)\right] ^{\tfrac{1}{2}\tfrac{\gamma + 1}{\gamma - 1}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- A_Acrit : array Ratio of area to choking area, :math:`A/A_*`. """ return _restore_shape(fort_from_Ma.a_acrit, (Ma,ga)) def Mash_from_Ma(Ma,ga): r"""Post-shock Mach number as function of Mach number. .. math:: \Ma_\mathrm{sh} = \left(\frac{1 + \frac{\gamma - 1}{2} \Ma^2} {\gamma \Ma^2 - \frac{\gamma - 1}{2}} \right)^{\tfrac{1}{2}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Mash : array Post-shock Mach number, :math:`\Ma_\mathrm{sh}`. """ return _restore_shape(fort_from_Ma.mash, (Ma,ga)) def Posh_Po_from_Ma(Ma,ga): r"""Shock stagnation pressure ratio as function of Mach number. .. math:: \frac{p_{0\mathrm{sh}}}{p_0} = \left( \frac{\frac{\gamma + 1}{2}\Ma^2}{1 + \frac{\gamma - 1}{2} \Ma^2} \right)^{\tfrac{\gamma}{\gamma-1}} \left( \frac{2 \gamma }{\gamma + 1} \Ma^2 - \frac{\gamma - 1}{\gamma + 1} \right)^{\tfrac{-1}{\gamma -1}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Posh_Po : array Shock stagnation pressure ratio, :math:`p_{0\mathrm{sh}}/p_0`. """ return _restore_shape(fort_from_Ma.posh_po, (Ma,ga)) # Inversions to Ma def Ma_from_To_T(To_T, ga): r"""Mach number as function of stagnation temperature ratio. The inverse of :func:`compflow.To_T_from_Ma`, which permits a direct analytical solution. .. math:: \Ma = \sqrt{\frac{2}{\gamma - 1} \left[\frac{T_0}{T} - 1\right]} Returns `NaN` if input data is not physically possible, where :math:`{T_0}/{T}<1`. Parameters ---------- To_T : array Stagnation temperature ratio, :math:`T_0/T`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.to_t, (To_T, ga)) def Ma_from_Po_P(Po_P, ga): r"""Mach number as function of stagnation pressure ratio. The inverse of :func:`compflow.Po_P_from_Ma`, which permits a direct analytical solution. .. math:: \Ma = \sqrt{ \frac{2}{\gamma - 1}\left[\left(\frac{p_0}{p}\right) ^\tfrac{\gamma - 1}{\gamma} - 1\right]} Returns `NaN` if input data is not physically possible, where :math:`{p_0}/{p}<1`. Parameters ---------- Po_P : array Stagnation pressure ratio, :math:`p_0/p`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.po_p, (Po_P, ga)) def Ma_from_rhoo_rho(rhoo_rho, ga): r"""Mach number as function of stagnation density ratio. The inverse of :func:`compflow.rhoo_rho_from_Ma`, which permits a direct analytical solution. .. math:: \Ma = \sqrt{ \frac{2}{\gamma - 1}\left[\left(\frac{\rho_0}{\rho}\right) ^{\gamma - 1} - 1\right]} Returns `NaN` if input data is not physically possible, where :math:`{\rho_0}/{\rho}<1`. Parameters ---------- rhoo_rho : array Stagnation density ratio, :math:`\rho_0/\rho`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.rhoo_rho, (rhoo_rho, ga)) def Ma_from_V_cpTo(V_cpTo, ga): r"""Mach number as function of normalised velocity. Inverse of :func:`compflow.V_cpTo_from_Ma`, which permits a direct analytical solution. .. math:: \Ma = \sqrt{\frac{1}{\gamma-1}\left[ \frac{\left(\frac{V}{\sqrt{c_p T_0}}\right)^2} {1 - \frac{1}{2}\left(\frac{V}{\sqrt{c_p T_0}}\right)^2} \right]} Returns `NaN` if input data is not physically possible, where :math:`V/\sqrt{c_pT_0} < 0` or :math:`V/\sqrt{c_pT_0} > \sqrt{2}`. Parameters ---------- V_cpTo : array Normalised velocity, :math:`V/\sqrt{c_p T_0}`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.v_cpto, (V_cpTo, ga)) def Ma_from_mcpTo_APo(mcpTo_APo, ga, sup=False): r"""Mach number as function of normalised mass flow. The inverse of :func:`compflow.mcpTo_APo_from_Ma`, which at a given value of :math:`{\dot{m}\sqrt{c_p T_0}}/{A p_0}` must be solved iteratively for :math:`\Ma` using Newton's method. .. math:: \frac{\dot{m}\sqrt{c_p T_0}}{A p_0} = \frac{\gamma}{\sqrt{\gamma -1}}\, \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^{-\tfrac{1}{2}\tfrac{\gamma + 1}{\gamma - 1}} For each :math:`{\dot{m}\sqrt{c_p T_0}}/{A p_0}`, there are two possible values of :math:`\Ma`. Return the subsonic solution with :math:`\Ma\le 1` by default; the supersonic solution with :math:`\Ma>`` is retrived by setting the parameter `sup=True`. Returns `NaN` if input data is not physically possible, where :math:`{\dot{m}\sqrt{c_p T_0}}/{A p_0} < 0`. The normalised mass flow reaches a maximum at the sonic velocity :math:`\Ma=1`. Input data above the maximum value correspond to choking --- also return `NaN` in this case. Parameters ---------- mcpTo_APo : array Normalised mass flow, :math:`{\dot{m}\sqrt{c_p T_0}}/{A p_0}`. ga : float Ratio of specific heats, :math:`\gamma`. sup : bool, default False If true, return the supersonic solution, otherwise the subsonic solution. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.mcpto_apo, (mcpTo_APo, ga, sup)) def Ma_from_mcpTo_AP(mcpTo_AP, ga): r"""Mach number as function of static normalised mass flow. The inverse of :func:`compflow.mcpTo_AP_from_Ma`, which at a given value of :math:`{\dot{m}\sqrt{c_p T_0}}/{A p}` must be solved iteratively for :math:`\Ma` using Newton's method. .. math:: \frac{\dot{m}\sqrt{c_p T_0}}{A p} = \frac{\gamma}{\sqrt{\gamma -1}}\, \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^{\tfrac{1}{2}} Returns `NaN` if input data is not physically possible, where :math:`{\dot{m}\sqrt{c_p T_0}}/{A p} < 0`. Parameters ---------- mcpTo_AP : array Static normalised mass flow, :math:`{\dot{m}\sqrt{c_p T_0}}/{A p}`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.mcpto_ap, (mcpTo_AP, ga)) def Ma_from_A_Acrit(A_Acrit, ga): r"""Mach number as function of area to choking area ratio. The inverse of :func:`compflow.A_Acrit_from_Ma`, which at a given value of :math:`A/A_*` must be solved iteratively for :math:`\Ma` using Newton's method. .. math:: \frac{A}{A_*} = \frac{1}{\Ma}\left[ \frac{2}{\gamma +1} \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) \right]^{\tfrac{1}{2}\tfrac{\gamma + 1}{\gamma - 1}} Returns `NaN` if input data is not physically possible, where :math:`A/A_* < 1`. Parameters ---------- A_Acrit : array Ratio of area to choking area, :math:`A/A_*`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.a_acrit, (A_Acrit, ga)) def Ma_from_Mash(Mash, ga): r"""Mach number as function of post-shock Mach number. The inverse of :func:`compflow.Mash_from_Ma`, which at a given value of :math:`\Ma_\mathrm{sh}` must be solved iteratively for :math:`\Ma` using Newton's method. .. math:: \Ma_\mathrm{sh} = \left( \frac{1 + \frac{\gamma - 1}{2} \Ma^2} {\gamma \Ma^2 - \frac{\gamma - 1}{2}} \right)^{\tfrac{1}{2}} Returns `NaN` if input data is not physically possible, where :math:`\Ma_\mathrm{sh}>1` or :math:`\Ma_\mathrm{sh}<0`. Parameters ---------- Mash : array Post-shock Mach number, :math:`\Ma_\mathrm{sh}`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.mash, (Mash, ga)) def Ma_from_Posh_Po(Posh_Po, ga): r"""Mach number as function of shock stagnation pressure ratio. The inverse of :func:`compflow.Posh_Po_from_Ma`, which at a given value of :math:`p_{0\mathrm{sh}}/p_0` must be solved iteratively for :math:`\Ma` using Newton's method. .. math:: \frac{p_{0\mathrm{sh}}}{p_0} = \left(\frac{\frac{\gamma+1}{2}\Ma^2}{1+\frac{\gamma-1}{2}\Ma^2}\right) ^{\tfrac{\gamma}{\gamma-1}} \left(\frac{2\gamma}{\gamma+1}\Ma^2-\frac{\gamma-1}{\gamma+1}\right) ^{\tfrac{-1}{\gamma -1}} Returns `NaN` if input data is not physically possible, where :math:`p_{0\mathrm{sh}}/p_0 > 1` or :math:`p_{0\mathrm{sh}}/p_0 < 0`. Parameters ---------- Posh_Po : array Shock stagnation pressure ratio, :math:`p_{0\mathrm{sh}}/p_0`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- Ma : array Mach number, :math:`\Ma`. """ return _restore_shape(fort_to_Ma.posh_po, (Posh_Po, ga)) # Derivatives from Ma def der_To_T_from_Ma(Ma, ga): r"""Derivative of stagnation temperature ratio by Mach number. The derivative of :func:`compflow.To_T_from_Ma` with respect to Mach number. .. math:: \frac{\D}{\D\Ma}\left(\frac{T_0}{T}\right) = \left(\gamma - 1\right)\Ma Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_To_T : array Derivative of stagnation temperature ratio, :math:`\DMa(T_0/T)`. """ return _restore_shape(fort_der_from_Ma.to_t, (Ma,ga)) def der_Po_P_from_Ma(Ma, ga): r"""Derivative of stagnation pressure ratio by Mach number. The derivative of :func:`compflow.Po_P_from_Ma` with respect to Mach number. .. math:: \DMa\left(\frac{p_0}{p}\right) = \gamma \Ma \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^\tfrac{1}{\gamma - 1} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_Po_P : array Derivative of stagnation pressure ratio, :math:`\DMa(p_0/p)`. """ return _restore_shape(fort_der_from_Ma.po_p, (Ma,ga)) def der_rhoo_rho_from_Ma(Ma,ga): r"""Derivative of stagnation density ratio by Mach number. The derivative of :func:`compflow.rhoo_rho_from_Ma` with respect to Mach number. .. math:: \DMa\left(\frac{\rho_0}{\rho}\right) = \Ma\left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^\tfrac{-1}{\gamma - 1} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_rhoo_rho : array Derivative of stagnation density ratio, :math:`\DMa(\rho_0/\rho)`. """ return _restore_shape(fort_der_from_Ma.rhoo_rho, (Ma,ga)) def der_V_cpTo_from_Ma(Ma, ga): r"""Derivative of normalised velocity by Mach number. The derivative of :func:`compflow.V_cpTo_from_Ma` with respect to Mach number. .. math:: \DMa\left(\frac{V}{\sqrt{c_p T_0}}\right) = {\sqrt{\gamma -1}} \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right)^{-\tfrac{3}{2}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_V_cpTo : array Derivative of normalised velocity, :math:`\DMa(V/\sqrt{c_p T_0})`. """ return _restore_shape(fort_der_from_Ma.v_cpto, (Ma,ga)) def der_mcpTo_APo_from_Ma(Ma, ga): r"""Derivative of normalised mass flow by Mach number. The derivative of :func:`compflow.mcpTo_APo_from_Ma` with respect to Mach number. .. math:: \DMa\left(\frac{\dot{m}\sqrt{c_p T_0}}{A p_0} \right)= \frac{\gamma}{\sqrt{\gamma -1}} \left(1 - \frac{\frac{\gamma + 1}{2} \Ma^2} {1 + \frac{\gamma - 1}{2} \Ma^2 } \right) \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right) ^{-\tfrac{1}{2}\tfrac{\gamma + 1}{\gamma - 1}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_mcpTo_APo : array Derivative of normalised mass flow, :math:`\DMa({\dot{m}\sqrt{c_pT_0}}/{Ap_0})`. """ return _restore_shape(fort_der_from_Ma.mcpto_apo, (Ma,ga)) def der_mcpTo_AP_from_Ma(Ma, ga): r"""Derivative of static normalised mass flow by Mach number. The derivative of :func:`compflow.mcpTo_AP_from_Ma` with respect to Mach number. .. math:: \DMa\left(\frac{\dot{m}\sqrt{c_p T_0}}{A p} \right)= \frac{\gamma}{\sqrt{\gamma -1}} \Big(1 + (\gamma - 1) \Ma^2 \Big) \left(1 + \frac{\gamma - 1}{2} \Ma^2 \right)^{-\tfrac{1}{2}} Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_mcpTo_AP : array Derivative of static pressure variant of normalised mass flow, :math:`\DMa({\dot{m}\sqrt{c_p T_0}}/{A p})`. """ return _restore_shape(fort_der_from_Ma.mcpto_ap, (Ma,ga)) def der_A_Acrit_from_Ma(Ma, ga): r"""Derivative of choking area ratio by Mach number. The derivative of :func:`compflow.A_Acrit_from_Ma` with respect to Mach number. Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_A_Acrit : array Derivative of ratio of area to choking area, :math:`\DMa(A/A_*)`. """ return _restore_shape(fort_der_from_Ma.a_acrit, (Ma,ga)) def der_Mash_from_Ma(Ma, ga): r"""Derivative of post-shock Mach number by Mach number. The derivative of :func:`compflow.Mash_from_Ma` with respect to Mach number. Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_Mash : array Derivative of post-shock Mach number, :math:`\DMa(\Ma_\mathrm{sh})`. """ return _restore_shape(fort_der_from_Ma.mash, (Ma,ga)) def der_Posh_Po_from_Ma(Ma, ga): r"""Derivative of shock pressure ratio by Mach number. The derivative of :func:`compflow.Posh_Po_from_Ma` with respect to Mach number. Parameters ---------- Ma : array Mach number, :math:`\Ma`. ga : float Ratio of specific heats, :math:`\gamma`. Returns ------- der_Posh_Po : array Derivative of shock stagnation pressure ratio, :math:`\DMa(p_{0\mathrm{sh}}/p_0)`. """ return _restore_shape(fort_der_from_Ma.posh_po, (Ma,ga))
[ 37811, 1212, 8265, 27521, 262, 329, 2213, 272, 30203, 526, 15931, 198, 11748, 299, 32152, 355, 45941, 198, 198, 11748, 552, 11125, 62, 3319, 62, 6738, 62, 21467, 355, 6285, 62, 6738, 62, 21467, 198, 11748, 552, 11125, 62, 3319, 62, 1082, 62, 6738, 62, 21467, 355, 6285, 62, 1082, 62, 6738, 62, 21467, 198, 11748, 552, 11125, 62, 3319, 62, 1462, 62, 21467, 355, 6285, 62, 1462, 62, 21467, 198, 198, 4299, 4808, 2118, 382, 62, 43358, 7, 20786, 11, 26498, 2599, 198, 220, 220, 220, 37227, 14134, 257, 2163, 290, 11169, 5072, 284, 976, 5485, 355, 717, 4578, 526, 15931, 198, 220, 220, 220, 5485, 796, 45941, 13, 43358, 7, 22046, 58, 15, 12962, 198, 220, 220, 220, 611, 5485, 6624, 357, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 7, 20786, 46491, 22046, 38381, 15, 12962, 198, 220, 220, 220, 1288, 361, 18896, 7, 43358, 8, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 7, 20786, 46491, 22046, 4008, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 7, 20786, 46491, 22046, 737, 3447, 1758, 7, 43358, 11, 1502, 11639, 37, 6, 4008, 198, 198, 2, 40480, 422, 6669, 198, 4299, 1675, 62, 51, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 1273, 4660, 341, 5951, 8064, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 51, 62, 15, 18477, 51, 92, 796, 352, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 1675, 62, 51, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 5951, 8064, 11, 1058, 11018, 25, 63, 51, 62, 15, 14, 51, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 1462, 62, 83, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 7695, 62, 47, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 1273, 4660, 341, 3833, 8064, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 79, 62, 15, 18477, 79, 92, 796, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 59, 83, 31944, 31478, 28483, 2611, 18477, 59, 28483, 2611, 532, 352, 92, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 7695, 62, 47, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 3833, 8064, 11, 1058, 11018, 25, 63, 79, 62, 15, 14, 79, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 7501, 62, 79, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 9529, 2238, 62, 81, 8873, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 1273, 4660, 341, 12109, 8064, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 81, 8873, 62, 15, 18477, 59, 81, 8873, 92, 796, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 61, 59, 83, 31944, 90, 16, 18477, 59, 28483, 2611, 532, 352, 92, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 9529, 2238, 62, 81, 8873, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 12109, 8064, 11, 1058, 11018, 25, 63, 59, 81, 8873, 62, 15, 14, 59, 81, 8873, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 17179, 2238, 62, 81, 8873, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 569, 62, 13155, 2514, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 26447, 1417, 15432, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 53, 18477, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 796, 3467, 31166, 17034, 31478, 28483, 2611, 532, 16, 32239, 11, 3467, 21467, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 36796, 12, 59, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 569, 62, 13155, 2514, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 14435, 1417, 15432, 11, 1058, 11018, 25, 63, 53, 14, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 92, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 85, 62, 66, 457, 78, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 285, 13155, 2514, 62, 2969, 78, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 26447, 1417, 2347, 5202, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 62, 15, 92, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 59, 11, 3467, 21467, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 36796, 12, 59, 83, 31944, 90, 16, 18477, 17, 32239, 83, 31944, 31478, 28483, 2611, 1343, 352, 18477, 59, 28483, 2611, 532, 352, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 285, 13155, 2514, 62, 2969, 78, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 14435, 1417, 2347, 5202, 11, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 62, 15, 92, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 23209, 457, 78, 62, 41817, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 285, 13155, 2514, 62, 2969, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 45442, 3487, 1417, 2347, 5202, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 92, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 59, 11, 3467, 21467, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 61, 31478, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 285, 13155, 2514, 62, 2969, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 36125, 3833, 15304, 286, 3487, 1417, 2347, 5202, 11, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 92, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 23209, 457, 78, 62, 499, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 317, 62, 12832, 799, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 29665, 952, 286, 1989, 284, 39302, 1989, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 32, 18477, 32, 62, 9, 92, 220, 796, 3467, 31944, 90, 16, 18477, 59, 21467, 32239, 9464, 58, 59, 31944, 90, 17, 18477, 59, 28483, 2611, 1343, 16, 92, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 19415, 3506, 60, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 31478, 83, 31944, 90, 16, 18477, 17, 32239, 83, 31944, 31478, 28483, 2611, 1343, 352, 18477, 59, 28483, 2611, 532, 352, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 317, 62, 12832, 799, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 1989, 284, 39302, 1989, 11, 1058, 11018, 25, 63, 32, 14, 32, 62, 9, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 64, 62, 330, 799, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 30870, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 6307, 12, 39563, 7080, 1271, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 220, 796, 3467, 9464, 38016, 31944, 90, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 43839, 28483, 2611, 3467, 21467, 61, 17, 532, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 11709, 3467, 3506, 8, 61, 31478, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 30870, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 2947, 12, 39563, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 76, 1077, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 350, 3768, 62, 18833, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 31646, 45834, 3833, 8064, 355, 2163, 286, 7080, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 18477, 79, 62, 15, 92, 220, 796, 3467, 9464, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 31944, 31478, 28483, 2611, 1343, 352, 18477, 17, 32239, 21467, 61, 17, 18477, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 3506, 8, 61, 31478, 83, 31944, 31478, 28483, 2611, 18477, 59, 28483, 2611, 12, 16, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 17, 3467, 28483, 2611, 1782, 31478, 28483, 2611, 1343, 352, 92, 3467, 21467, 61, 17, 532, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 59, 28483, 2611, 1343, 352, 92, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 3506, 8, 61, 31478, 83, 31944, 90, 12, 16, 18477, 59, 28483, 2611, 532, 16, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 350, 3768, 62, 18833, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 22763, 45834, 3833, 8064, 11, 1058, 11018, 25, 63, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 6738, 62, 21467, 13, 1930, 71, 62, 7501, 11, 357, 21467, 11, 4908, 4008, 628, 198, 2, 554, 47178, 284, 6669, 198, 198, 4299, 6669, 62, 6738, 62, 2514, 62, 51, 7, 2514, 62, 51, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 45834, 5951, 8064, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 2514, 62, 51, 62, 6738, 62, 21467, 47671, 543, 13892, 257, 1277, 198, 220, 220, 220, 30063, 4610, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 796, 3467, 31166, 17034, 31478, 31944, 90, 17, 18477, 59, 28483, 2611, 532, 352, 92, 3467, 9464, 58, 59, 31944, 90, 51, 62, 15, 18477, 51, 92, 532, 352, 59, 3506, 48999, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 90, 51, 62, 15, 92, 14, 90, 51, 92, 27, 16, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 1675, 62, 51, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 5951, 8064, 11, 1058, 11018, 25, 63, 51, 62, 15, 14, 51, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 1462, 62, 83, 11, 357, 2514, 62, 51, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 18833, 62, 47, 7, 18833, 62, 47, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 45834, 3833, 8064, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 18833, 62, 47, 62, 6738, 62, 21467, 47671, 543, 13892, 257, 1277, 198, 220, 220, 220, 30063, 4610, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 796, 3467, 31166, 17034, 90, 3467, 31944, 90, 17, 18477, 59, 28483, 2611, 532, 352, 32239, 9464, 58, 59, 9464, 38016, 31944, 90, 79, 62, 15, 18477, 79, 32239, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 59, 83, 31944, 31478, 28483, 2611, 532, 352, 18477, 59, 28483, 2611, 92, 532, 352, 59, 3506, 48999, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 90, 79, 62, 15, 92, 14, 90, 79, 92, 27, 16, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 7695, 62, 47, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 3833, 8064, 11, 1058, 11018, 25, 63, 79, 62, 15, 14, 79, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 7501, 62, 79, 11, 357, 18833, 62, 47, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 17179, 2238, 62, 81, 8873, 7, 17179, 2238, 62, 81, 8873, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 45834, 12109, 8064, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 17179, 2238, 62, 81, 8873, 62, 6738, 62, 21467, 47671, 543, 13892, 257, 1277, 198, 220, 220, 220, 30063, 4610, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 796, 3467, 31166, 17034, 90, 3467, 31944, 90, 17, 18477, 59, 28483, 2611, 532, 352, 32239, 9464, 58, 59, 9464, 38016, 31944, 31478, 81, 8873, 62, 15, 18477, 59, 81, 8873, 32239, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 31478, 28483, 2611, 532, 352, 92, 532, 352, 59, 3506, 48999, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 31478, 81, 8873, 62, 15, 92, 14, 31478, 81, 8873, 92, 27, 16, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 9529, 2238, 62, 81, 8873, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 520, 4660, 341, 12109, 8064, 11, 1058, 11018, 25, 63, 59, 81, 8873, 62, 15, 14, 59, 81, 8873, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 17179, 2238, 62, 81, 8873, 11, 357, 17179, 2238, 62, 81, 8873, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 53, 62, 13155, 2514, 7, 53, 62, 13155, 2514, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 3487, 1417, 15432, 13, 628, 220, 220, 220, 554, 4399, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 53, 62, 13155, 2514, 62, 6738, 62, 21467, 47671, 543, 13892, 257, 1277, 198, 220, 220, 220, 30063, 4610, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 796, 3467, 31166, 17034, 31478, 31944, 90, 16, 18477, 59, 28483, 2611, 12, 16, 32239, 9464, 58, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 9464, 38016, 31944, 90, 53, 18477, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 59, 3506, 8, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 16, 532, 3467, 31944, 90, 16, 18477, 17, 32239, 9464, 38016, 31944, 90, 53, 18477, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 59, 3506, 8, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 3506, 48999, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 53, 14, 59, 31166, 17034, 90, 66, 62, 79, 51, 62, 15, 92, 1279, 657, 63, 393, 1058, 11018, 25, 63, 53, 14, 59, 31166, 17034, 90, 66, 62, 79, 51, 62, 15, 92, 1875, 3467, 31166, 17034, 90, 17, 92, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 569, 62, 13155, 2514, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 14435, 1417, 15432, 11, 1058, 11018, 25, 63, 53, 14, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 92, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 85, 62, 66, 457, 78, 11, 357, 53, 62, 13155, 2514, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 76, 13155, 2514, 62, 2969, 78, 7, 76, 13155, 2514, 62, 2969, 78, 11, 31986, 11, 7418, 28, 25101, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 3487, 1417, 2347, 5202, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 76, 13155, 2514, 62, 2969, 78, 62, 6738, 62, 21467, 47671, 543, 379, 257, 1813, 1988, 198, 220, 220, 220, 286, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 62, 15, 92, 63, 1276, 307, 16019, 11629, 9404, 329, 198, 220, 220, 220, 1058, 11018, 25, 63, 59, 21467, 63, 1262, 17321, 338, 2446, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 62, 15, 92, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 59, 11, 3467, 21467, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 36796, 12, 59, 83, 31944, 90, 16, 18477, 17, 32239, 83, 31944, 31478, 28483, 2611, 1343, 352, 18477, 59, 28483, 2611, 532, 352, 11709, 628, 220, 220, 220, 1114, 1123, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 62, 15, 92, 47671, 612, 389, 734, 1744, 198, 220, 220, 220, 3815, 286, 1058, 11018, 25, 63, 59, 21467, 44646, 8229, 262, 850, 1559, 291, 4610, 351, 1058, 11018, 25, 63, 59, 21467, 59, 293, 352, 63, 198, 220, 220, 220, 416, 4277, 26, 262, 424, 6259, 291, 4610, 351, 1058, 11018, 25, 63, 59, 21467, 29, 15506, 318, 1005, 36207, 416, 198, 220, 220, 220, 4634, 262, 11507, 4600, 37330, 28, 17821, 44646, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 62, 15, 92, 1279, 657, 44646, 383, 3487, 1417, 2347, 5202, 198, 220, 220, 220, 12229, 257, 5415, 379, 262, 36220, 15432, 1058, 11018, 25, 63, 59, 21467, 28, 16, 44646, 23412, 1366, 2029, 262, 198, 220, 220, 220, 5415, 1988, 6053, 284, 39302, 11420, 635, 1441, 4600, 26705, 45, 63, 287, 428, 1339, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 285, 13155, 2514, 62, 2969, 78, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 14435, 1417, 2347, 5202, 11, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 62, 15, 92, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 198, 220, 220, 220, 7418, 1058, 20512, 11, 4277, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 1002, 2081, 11, 1441, 262, 424, 6259, 291, 4610, 11, 4306, 262, 850, 1559, 291, 198, 220, 220, 220, 220, 220, 220, 220, 4610, 13, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 23209, 457, 78, 62, 41817, 11, 357, 76, 13155, 2514, 62, 2969, 78, 11, 31986, 11, 7418, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 76, 13155, 2514, 62, 2969, 7, 76, 13155, 2514, 62, 2969, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 9037, 3487, 1417, 2347, 5202, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 76, 13155, 2514, 62, 2969, 62, 6738, 62, 21467, 47671, 543, 379, 257, 1813, 1988, 286, 198, 220, 220, 220, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 92, 63, 1276, 307, 16019, 11629, 9404, 329, 198, 220, 220, 220, 1058, 11018, 25, 63, 59, 21467, 63, 1262, 17321, 338, 2446, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 92, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 59, 11, 3467, 21467, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 61, 31478, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 92, 1279, 657, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 285, 13155, 2514, 62, 2969, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 36125, 3487, 1417, 2347, 5202, 11, 1058, 11018, 25, 63, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 92, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 23209, 457, 78, 62, 499, 11, 357, 76, 13155, 2514, 62, 2969, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 32, 62, 12832, 799, 7, 32, 62, 12832, 799, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 1989, 284, 39302, 1989, 8064, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 32, 62, 12832, 799, 62, 6738, 62, 21467, 47671, 543, 379, 257, 1813, 1988, 286, 198, 220, 220, 220, 1058, 11018, 25, 63, 32, 14, 32, 62, 9, 63, 1276, 307, 16019, 11629, 9404, 329, 1058, 11018, 25, 63, 59, 21467, 63, 1262, 17321, 338, 198, 220, 220, 220, 2446, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 32, 18477, 32, 62, 9, 92, 220, 796, 3467, 31944, 90, 16, 18477, 59, 21467, 32239, 9464, 58, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 17, 18477, 59, 28483, 2611, 1343, 16, 92, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 3506, 60, 61, 31478, 83, 31944, 90, 16, 18477, 17, 32239, 83, 31944, 31478, 28483, 2611, 1343, 352, 18477, 59, 28483, 2611, 532, 352, 11709, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 1058, 11018, 25, 63, 32, 14, 32, 62, 9, 198, 220, 220, 220, 1279, 352, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 317, 62, 12832, 799, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 1989, 284, 39302, 1989, 11, 1058, 11018, 25, 63, 32, 14, 32, 62, 9, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 64, 62, 330, 799, 11, 357, 32, 62, 12832, 799, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 44, 1077, 7, 44, 1077, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 1281, 12, 39563, 7080, 1271, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 44, 1077, 62, 6738, 62, 21467, 47671, 543, 379, 257, 1813, 1988, 286, 198, 220, 220, 220, 1058, 11018, 25, 63, 59, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 63, 1276, 307, 16019, 11629, 9404, 329, 1058, 11018, 25, 63, 59, 21467, 63, 1262, 198, 220, 220, 220, 17321, 338, 2446, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 220, 796, 3467, 9464, 7, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 43839, 28483, 2611, 3467, 21467, 61, 17, 532, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 3506, 8, 61, 31478, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 59, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 29, 16, 63, 393, 1058, 11018, 25, 63, 59, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 27, 15, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 30870, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 2947, 12, 39563, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 62, 59, 11018, 26224, 90, 1477, 92, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 76, 1077, 11, 357, 44, 1077, 11, 31986, 4008, 198, 198, 4299, 6669, 62, 6738, 62, 47, 3768, 62, 18833, 7, 47, 3768, 62, 18833, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 49999, 1271, 355, 2163, 286, 6380, 45834, 3833, 8064, 13, 628, 220, 220, 220, 383, 34062, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 47, 3768, 62, 18833, 62, 6738, 62, 21467, 47671, 543, 379, 257, 1813, 1988, 286, 198, 220, 220, 220, 1058, 11018, 25, 63, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 63, 1276, 307, 16019, 11629, 9404, 329, 1058, 11018, 25, 63, 59, 21467, 63, 198, 220, 220, 220, 1262, 17321, 338, 2446, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 90, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 18477, 79, 62, 15, 92, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 38016, 31944, 31478, 31944, 31478, 28483, 2611, 10, 16, 18477, 17, 32239, 21467, 61, 17, 18477, 16, 10, 59, 31944, 31478, 28483, 2611, 12, 16, 18477, 17, 32239, 21467, 61, 17, 32239, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 31478, 83, 31944, 31478, 28483, 2611, 18477, 59, 28483, 2611, 12, 16, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 38016, 31944, 90, 17, 59, 28483, 2611, 18477, 59, 28483, 2611, 10, 16, 32239, 21467, 61, 17, 12, 59, 31944, 31478, 28483, 2611, 12, 16, 18477, 59, 28483, 2611, 10, 16, 32239, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 31478, 83, 31944, 90, 12, 16, 18477, 59, 28483, 2611, 532, 16, 11709, 628, 220, 220, 220, 16409, 4600, 26705, 45, 63, 611, 5128, 1366, 318, 407, 10170, 1744, 11, 810, 198, 220, 220, 220, 1058, 11018, 25, 63, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 1875, 352, 63, 393, 1058, 11018, 25, 63, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 1279, 657, 44646, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 350, 3768, 62, 18833, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 22763, 45834, 3833, 8064, 11, 1058, 11018, 25, 63, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1462, 62, 21467, 13, 1930, 71, 62, 7501, 11, 357, 47, 3768, 62, 18833, 11, 31986, 4008, 198, 198, 2, 9626, 452, 2929, 422, 6669, 198, 4299, 4587, 62, 2514, 62, 51, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 45834, 5951, 8064, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 2514, 62, 51, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 35, 18477, 59, 35, 59, 21467, 32239, 9464, 38016, 31944, 90, 51, 62, 15, 18477, 51, 32239, 3506, 8, 796, 3467, 9464, 38016, 28483, 2611, 532, 352, 59, 3506, 19415, 21467, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 2514, 62, 51, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 45834, 5951, 8064, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 11018, 25, 63, 59, 35, 21467, 7, 51, 62, 15, 14, 51, 8, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 1462, 62, 83, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 18833, 62, 47, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 45834, 3833, 8064, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 18833, 62, 47, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 35, 21467, 59, 9464, 38016, 31944, 90, 79, 62, 15, 18477, 79, 32239, 3506, 8, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 28483, 2611, 3467, 21467, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10563, 59, 83, 31944, 90, 16, 18477, 59, 28483, 2611, 532, 352, 92, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 18833, 62, 47, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 45834, 3833, 8064, 11, 1058, 11018, 25, 63, 59, 35, 21467, 7, 79, 62, 15, 14, 79, 8, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 7501, 62, 79, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 17179, 2238, 62, 81, 8873, 62, 6738, 62, 21467, 7, 21467, 11, 4908, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 45834, 12109, 8064, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 17179, 2238, 62, 81, 8873, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 35, 21467, 59, 9464, 38016, 31944, 31478, 81, 8873, 62, 15, 18477, 59, 81, 8873, 32239, 3506, 8, 796, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 21467, 59, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 61, 59, 83, 31944, 90, 12, 16, 18477, 59, 28483, 2611, 532, 352, 92, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 17179, 2238, 62, 81, 8873, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 45834, 12109, 8064, 11, 1058, 11018, 25, 63, 59, 35, 21467, 38016, 81, 8873, 62, 15, 14, 59, 81, 8873, 8, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 17179, 2238, 62, 81, 8873, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 53, 62, 13155, 2514, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 3487, 1417, 15432, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 53, 62, 13155, 2514, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 35, 21467, 59, 9464, 38016, 31944, 90, 53, 18477, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 59, 3506, 8, 796, 43839, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 36796, 12, 59, 83, 31944, 90, 18, 18477, 17, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 53, 62, 13155, 2514, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 3487, 1417, 15432, 11, 1058, 11018, 25, 63, 59, 35, 21467, 7, 53, 14, 59, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 30072, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 85, 62, 66, 457, 78, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 76, 13155, 2514, 62, 2969, 78, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 3487, 1417, 2347, 5202, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 76, 13155, 2514, 62, 2969, 78, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 35, 21467, 59, 9464, 38016, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 62, 15, 92, 3467, 3506, 47505, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 532, 3467, 31944, 31478, 31944, 31478, 28483, 2611, 1343, 352, 18477, 17, 92, 3467, 21467, 61, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 1782, 3467, 3506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 198, 197, 197, 36796, 12, 59, 83, 31944, 90, 16, 18477, 17, 32239, 83, 31944, 31478, 28483, 2611, 1343, 352, 18477, 59, 28483, 2611, 532, 352, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 76, 13155, 2514, 62, 2969, 78, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 3487, 1417, 2347, 5202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 11018, 25, 63, 59, 35, 21467, 15090, 59, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 51, 62, 15, 11709, 14, 90, 25189, 62, 15, 30072, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 23209, 457, 78, 62, 41817, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 76, 13155, 2514, 62, 2969, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 9037, 3487, 1417, 2347, 5202, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 76, 13155, 2514, 62, 2969, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 11485, 10688, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 3467, 35, 21467, 59, 9464, 38016, 31944, 31478, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 90, 32, 279, 92, 3467, 3506, 47505, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 31944, 31478, 28483, 2611, 18477, 59, 31166, 17034, 31478, 28483, 2611, 532, 16, 11709, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 12804, 7, 16, 1343, 357, 59, 28483, 2611, 532, 352, 8, 3467, 21467, 61, 17, 3467, 12804, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3467, 9464, 7, 16, 1343, 3467, 31944, 31478, 28483, 2611, 532, 352, 18477, 17, 92, 3467, 21467, 61, 17, 3467, 3506, 8, 36796, 12, 59, 83, 31944, 90, 16, 18477, 17, 11709, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 76, 13155, 2514, 62, 2969, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 9037, 3833, 15304, 286, 3487, 1417, 2347, 5202, 11, 1058, 11018, 25, 63, 59, 35, 21467, 15090, 59, 26518, 90, 76, 32239, 31166, 17034, 90, 66, 62, 79, 309, 62, 15, 11709, 14, 90, 32, 279, 30072, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 23209, 457, 78, 62, 499, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 32, 62, 12832, 799, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 39302, 1989, 8064, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 32, 62, 12832, 799, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 32, 62, 12832, 799, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 8064, 286, 1989, 284, 39302, 1989, 11, 1058, 11018, 25, 63, 59, 35, 21467, 7, 32, 14, 32, 62, 28104, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 64, 62, 330, 799, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 44, 1077, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 1281, 12, 39563, 7080, 1271, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 44, 1077, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 44, 1077, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 1281, 12, 39563, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 35, 21467, 38016, 21467, 62, 59, 11018, 26224, 90, 1477, 30072, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 76, 1077, 11, 357, 21467, 11, 4908, 4008, 198, 198, 4299, 4587, 62, 47, 3768, 62, 18833, 62, 6738, 62, 21467, 7, 21467, 11, 31986, 2599, 198, 220, 220, 220, 374, 37811, 28532, 452, 876, 286, 6380, 3833, 8064, 416, 7080, 1271, 13, 628, 220, 220, 220, 383, 27255, 286, 1058, 20786, 25, 63, 5589, 11125, 13, 47, 3768, 62, 18833, 62, 6738, 62, 21467, 63, 351, 2461, 284, 7080, 198, 220, 220, 220, 1271, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6669, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 7080, 1271, 11, 1058, 11018, 25, 63, 59, 21467, 44646, 198, 220, 220, 220, 31986, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 33956, 286, 2176, 37876, 11, 1058, 11018, 25, 63, 59, 28483, 2611, 44646, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 4587, 62, 47, 3768, 62, 18833, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 876, 286, 6380, 45834, 3833, 8064, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 11018, 25, 63, 59, 35, 21467, 7, 79, 23330, 15, 59, 11018, 26224, 90, 1477, 11709, 14, 79, 62, 15, 8, 44646, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 2118, 382, 62, 43358, 7, 3319, 62, 1082, 62, 6738, 62, 21467, 13, 1930, 71, 62, 7501, 11, 357, 21467, 11, 4908, 4008, 628 ]
2.173956
9,100
import asyncio import datetime import os from .. import ALIVE_NAME from ..cmdhelp import CmdHelp from ..utils import admin_cmd, edit_or_reply, sudo_cmd from . import * DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "eviral User" eviral = borg.uid eviral_IMG = os.environ.get( "PING_PIC", "https://te.legra.ph/file/a59da36828333262c9848.jpg" ) start = datetime.datetime.now() end = datetime.datetime.now() ms = (end - start).microseconds / 1000 @bot.on(admin_cmd(pattern=f"hbping$", outgoing=True)) @bot.on(sudo_cmd(pattern='hbping$', allow_sudo=True)) @bot.on(admin_cmd(pattern="ping$", outgoing=True)) @bot.on(sudo_cmd(pattern="ping$", allow_sudo=True)) CmdHelp("ping").add_command( "ping", None, "Shows you the ping speed of server" ).add_command( "hbping", None, "Shows you the ping speed of server with an animation" ).add_type( "Official" ).add()
[ 11748, 30351, 952, 198, 11748, 4818, 8079, 198, 11748, 28686, 198, 198, 6738, 11485, 1330, 8355, 9306, 62, 20608, 198, 6738, 11485, 28758, 16794, 1330, 327, 9132, 22087, 198, 6738, 11485, 26791, 1330, 13169, 62, 28758, 11, 4370, 62, 273, 62, 47768, 11, 21061, 62, 28758, 198, 6738, 764, 1330, 1635, 198, 198, 7206, 38865, 29904, 796, 965, 7, 1847, 9306, 62, 20608, 8, 611, 8355, 9306, 62, 20608, 2073, 366, 1990, 21093, 11787, 1, 198, 1990, 21093, 796, 275, 2398, 13, 27112, 198, 1990, 21093, 62, 3955, 38, 796, 28686, 13, 268, 2268, 13, 1136, 7, 198, 220, 220, 220, 366, 47, 2751, 62, 47, 2149, 1600, 366, 5450, 1378, 660, 13, 1455, 430, 13, 746, 14, 7753, 14, 64, 3270, 6814, 27412, 2078, 20370, 29119, 66, 4089, 2780, 13, 9479, 1, 198, 8, 198, 198, 9688, 796, 4818, 8079, 13, 19608, 8079, 13, 2197, 3419, 198, 437, 796, 4818, 8079, 13, 19608, 8079, 13, 2197, 3419, 198, 907, 796, 357, 437, 532, 923, 737, 24055, 43012, 1220, 8576, 628, 198, 31, 13645, 13, 261, 7, 28482, 62, 28758, 7, 33279, 28, 69, 1, 71, 65, 13886, 3, 1600, 28181, 28, 17821, 4008, 198, 31, 13645, 13, 261, 7, 24032, 62, 28758, 7, 33279, 11639, 71, 65, 13886, 3, 3256, 1249, 62, 24032, 28, 17821, 4008, 628, 198, 31, 13645, 13, 261, 7, 28482, 62, 28758, 7, 33279, 2625, 13886, 3, 1600, 28181, 28, 17821, 4008, 198, 31, 13645, 13, 261, 7, 24032, 62, 28758, 7, 33279, 2625, 13886, 3, 1600, 1249, 62, 24032, 28, 17821, 4008, 628, 198, 40109, 22087, 7203, 13886, 11074, 2860, 62, 21812, 7, 198, 220, 220, 220, 366, 13886, 1600, 6045, 11, 366, 2484, 1666, 345, 262, 29400, 2866, 286, 4382, 1, 198, 737, 2860, 62, 21812, 7, 198, 220, 220, 220, 366, 71, 65, 13886, 1600, 6045, 11, 366, 2484, 1666, 345, 262, 29400, 2866, 286, 4382, 351, 281, 11034, 1, 198, 737, 2860, 62, 4906, 7, 198, 220, 220, 220, 366, 28529, 1, 198, 737, 2860, 3419, 198 ]
2.616071
336
import glob import json from copy import deepcopy import numpy as np from astropy.table import Table from astropy.time import Time from cos_monitoring import dark from cos_monitoring.dark import solar import pdb solar.get_solar_data("./") data = Table.read('solar_flux.txt', format='ascii') all_info = [] for item in glob.glob("new/*_corrtag_c.fits") + glob.glob('out/*_corrtag_?.fits'): print(item) for item in dark.pull_orbital_info(item, step=700): try: darkrate = item['dark'] except KeyError: continue t = Time(item['date'], format='decimalyear').mjd index = np.argmin(abs(data['col1'] - t)) item['fsol'] = float(data['col2'][index]) print(item) #if darkrate < 2e-6: # continue all_info.append(deepcopy(item)) with open('./orbital_info.json', 'w') as out: json.dump(all_info, out, sort_keys=False, indent=4, separators=(',', ': '))
[ 11748, 15095, 198, 11748, 33918, 198, 6738, 4866, 1330, 2769, 30073, 198, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 6468, 28338, 13, 11487, 1330, 8655, 198, 6738, 6468, 28338, 13, 2435, 1330, 3862, 198, 198, 6738, 8615, 62, 41143, 278, 1330, 3223, 198, 6738, 8615, 62, 41143, 278, 13, 21953, 1330, 6591, 198, 198, 11748, 279, 9945, 198, 198, 82, 6192, 13, 1136, 62, 82, 6192, 62, 7890, 7, 1911, 14, 4943, 198, 198, 7890, 796, 8655, 13, 961, 10786, 82, 6192, 62, 69, 22564, 13, 14116, 3256, 5794, 11639, 292, 979, 72, 11537, 198, 198, 439, 62, 10951, 796, 17635, 198, 198, 1640, 2378, 287, 15095, 13, 4743, 672, 7203, 3605, 15211, 62, 10215, 81, 12985, 62, 66, 13, 21013, 4943, 1343, 15095, 13, 4743, 672, 10786, 448, 15211, 62, 10215, 81, 12985, 62, 30, 13, 21013, 6, 2599, 198, 220, 220, 220, 3601, 7, 9186, 8, 628, 220, 220, 220, 329, 2378, 287, 3223, 13, 31216, 62, 27688, 1287, 62, 10951, 7, 9186, 11, 2239, 28, 9879, 2599, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3223, 4873, 796, 2378, 17816, 21953, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 256, 796, 3862, 7, 9186, 17816, 4475, 6, 4357, 5794, 11639, 12501, 4402, 1941, 27691, 76, 73, 67, 198, 220, 220, 220, 220, 220, 220, 220, 6376, 796, 45941, 13, 853, 1084, 7, 8937, 7, 7890, 17816, 4033, 16, 20520, 532, 256, 4008, 628, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 17816, 9501, 349, 20520, 796, 12178, 7, 7890, 17816, 4033, 17, 6, 7131, 9630, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 9186, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 361, 3223, 4873, 1279, 362, 68, 12, 21, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 477, 62, 10951, 13, 33295, 7, 22089, 30073, 7, 9186, 4008, 198, 198, 4480, 1280, 7, 4458, 14, 27688, 1287, 62, 10951, 13, 17752, 3256, 705, 86, 11537, 355, 503, 25, 198, 220, 220, 220, 33918, 13, 39455, 7, 439, 62, 10951, 11, 503, 11, 3297, 62, 13083, 28, 25101, 11, 33793, 28, 19, 11, 2880, 2024, 16193, 3256, 3256, 705, 25, 705, 4008, 628 ]
2.314149
417
from matplotlib import rc import matplotlib.pyplot as plt import os import seaborn as sns from particle.plotting import ( plot_averaged_convergence_from_clusters, plot_averaged_avg_vel, plot_avg_vel, ) sns.set(style="white", context="talk") search_parameters = { # "particle_count": 480, # "G": "Smooth", # "scaling": "Local", "phi": "Bump", # # "initial_dist_x": "one_cluster", "initial_dist_v": "pos_const_near_0", "T_end": 2000.0, # "dt": 0.01, # "D": 1.0, # "option": "numba", } if os.name == "nt": rc("text", usetex=True) # I only have TeX on Windows :( os.chdir("D:/InteractingParticleSystems/noisysystem_temp") elif os.name == "posix": os.chdir("/Volumes/Extreme SSD/InteractingParticleSystems/noisysystem_temp") yaml_path = "Experiments/positive_phi_no_of_clusters_high_noise_bump" fn = "_switch_" logged = False include_traj = True fig, [ax1, ax2] = plt.subplots(1, 2, figsize=(15, 5), sharex=True) ax2 = plot_avg_vel(ax2, search_parameters, logx=logged, exp_yaml=yaml_path) ax2 = plot_averaged_avg_vel(ax2, search_parameters, logx=logged, exp_yaml=yaml_path) ax1 = plot_averaged_convergence_from_clusters( ax1, search_parameters, yaml_path, logx=logged ) ax1.plot([0, search_parameters["T_end"]], [7.5, 7.5], "k--", alpha=0.2) ax2.set(xlabel="Time", ylabel=r"$M^N(t) $") # ax2.legend() # fig.savefig(f"img/PositivePhiClusters{fn}logged.jpg", dpi=300) # plt.tight_layout() plt.subplots_adjust(left=0.07, right=0.97, bottom=0.15, top=0.9, wspace=0.23) plt.show() # logged = False # fig, [ax1, ax2] = plt.subplots(1, 2, figsize=(14, 5), sharex=True) # ax2 = plot_avg_vel(ax2, search_parameters, logx=logged, exp_yaml=yaml_path) # ax2 = plot_averaged_avg_vel(ax2, search_parameters, logx=logged, exp_yaml=yaml_path) # # ax1 = plot_averaged_convergence_from_clusters( # ax1, search_parameters, yaml_path, logx=logged # ) # # ax1.plot([0, search_parameters["T_end"]], [7.5, 7.5], "k--", alpha=0.2) # ax2.set(xlabel="Time", ylabel=r"$M^N(t) $") # # ax2.legend() # fig.savefig(f"img/PositivePhiClusters{fn}linear.jpg", dpi=300) # # plt.tight_layout() # plt.subplots_adjust(left=0.07, right=0.97, bottom=0.15, top=0.9, wspace=0.23) # plt.show()
[ 6738, 2603, 29487, 8019, 1330, 48321, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 28686, 198, 11748, 384, 397, 1211, 355, 3013, 82, 198, 198, 6738, 18758, 13, 29487, 889, 1330, 357, 198, 220, 220, 220, 7110, 62, 8770, 1886, 62, 1102, 332, 12745, 62, 6738, 62, 565, 13654, 11, 198, 220, 220, 220, 7110, 62, 8770, 1886, 62, 615, 70, 62, 626, 11, 198, 220, 220, 220, 7110, 62, 615, 70, 62, 626, 11, 198, 8, 198, 198, 82, 5907, 13, 2617, 7, 7635, 2625, 11186, 1600, 4732, 2625, 16620, 4943, 198, 198, 12947, 62, 17143, 7307, 796, 1391, 198, 220, 220, 220, 1303, 366, 3911, 1548, 62, 9127, 1298, 23487, 11, 198, 220, 220, 220, 1303, 366, 38, 1298, 366, 7556, 5226, 1600, 198, 220, 220, 220, 1303, 366, 1416, 4272, 1298, 366, 14565, 1600, 198, 220, 220, 220, 366, 34846, 1298, 366, 33, 931, 1600, 198, 220, 220, 220, 1303, 1303, 366, 36733, 62, 17080, 62, 87, 1298, 366, 505, 62, 565, 5819, 1600, 198, 220, 220, 220, 366, 36733, 62, 17080, 62, 85, 1298, 366, 1930, 62, 9979, 62, 40093, 62, 15, 1600, 198, 220, 220, 220, 366, 51, 62, 437, 1298, 4751, 13, 15, 11, 198, 220, 220, 220, 1303, 366, 28664, 1298, 657, 13, 486, 11, 198, 220, 220, 220, 1303, 366, 35, 1298, 352, 13, 15, 11, 198, 220, 220, 220, 1303, 366, 18076, 1298, 366, 77, 2178, 64, 1600, 198, 92, 198, 361, 28686, 13, 3672, 6624, 366, 429, 1298, 198, 220, 220, 220, 48321, 7203, 5239, 1600, 514, 316, 1069, 28, 17821, 8, 220, 1303, 314, 691, 423, 1665, 55, 319, 3964, 36147, 198, 220, 220, 220, 28686, 13, 354, 15908, 7203, 35, 14079, 9492, 27362, 7841, 1548, 11964, 82, 14, 3919, 271, 893, 6781, 62, 29510, 4943, 198, 417, 361, 28686, 13, 3672, 6624, 366, 1930, 844, 1298, 198, 220, 220, 220, 28686, 13, 354, 15908, 7203, 14, 16598, 8139, 14, 36716, 21252, 14, 9492, 27362, 7841, 1548, 11964, 82, 14, 3919, 271, 893, 6781, 62, 29510, 4943, 198, 198, 88, 43695, 62, 6978, 796, 366, 20468, 6800, 14, 24561, 62, 34846, 62, 3919, 62, 1659, 62, 565, 13654, 62, 8929, 62, 3919, 786, 62, 65, 931, 1, 198, 22184, 796, 45434, 31943, 62, 1, 198, 6404, 2004, 796, 10352, 198, 17256, 62, 9535, 73, 796, 6407, 198, 5647, 11, 685, 897, 16, 11, 7877, 17, 60, 796, 458, 83, 13, 7266, 489, 1747, 7, 16, 11, 362, 11, 2336, 7857, 16193, 1314, 11, 642, 828, 2648, 87, 28, 17821, 8, 198, 897, 17, 796, 7110, 62, 615, 70, 62, 626, 7, 897, 17, 11, 2989, 62, 17143, 7307, 11, 2604, 87, 28, 6404, 2004, 11, 1033, 62, 88, 43695, 28, 88, 43695, 62, 6978, 8, 198, 897, 17, 796, 7110, 62, 8770, 1886, 62, 615, 70, 62, 626, 7, 897, 17, 11, 2989, 62, 17143, 7307, 11, 2604, 87, 28, 6404, 2004, 11, 1033, 62, 88, 43695, 28, 88, 43695, 62, 6978, 8, 198, 198, 897, 16, 796, 7110, 62, 8770, 1886, 62, 1102, 332, 12745, 62, 6738, 62, 565, 13654, 7, 198, 220, 220, 220, 7877, 16, 11, 2989, 62, 17143, 7307, 11, 331, 43695, 62, 6978, 11, 2604, 87, 28, 6404, 2004, 198, 8, 198, 198, 897, 16, 13, 29487, 26933, 15, 11, 2989, 62, 17143, 7307, 14692, 51, 62, 437, 8973, 4357, 685, 22, 13, 20, 11, 767, 13, 20, 4357, 366, 74, 438, 1600, 17130, 28, 15, 13, 17, 8, 198, 897, 17, 13, 2617, 7, 87, 18242, 2625, 7575, 1600, 331, 18242, 28, 81, 1, 3, 44, 61, 45, 7, 83, 8, 720, 4943, 198, 2, 7877, 17, 13, 1455, 437, 3419, 198, 2, 2336, 13, 21928, 5647, 7, 69, 1, 9600, 14, 21604, 1800, 2725, 72, 2601, 13654, 90, 22184, 92, 6404, 2004, 13, 9479, 1600, 288, 14415, 28, 6200, 8, 198, 2, 458, 83, 13, 33464, 62, 39786, 3419, 198, 489, 83, 13, 7266, 489, 1747, 62, 23032, 7, 9464, 28, 15, 13, 2998, 11, 826, 28, 15, 13, 5607, 11, 4220, 28, 15, 13, 1314, 11, 1353, 28, 15, 13, 24, 11, 266, 13200, 28, 15, 13, 1954, 8, 198, 489, 83, 13, 12860, 3419, 198, 2, 18832, 796, 10352, 198, 2, 2336, 11, 685, 897, 16, 11, 7877, 17, 60, 796, 458, 83, 13, 7266, 489, 1747, 7, 16, 11, 362, 11, 2336, 7857, 16193, 1415, 11, 642, 828, 2648, 87, 28, 17821, 8, 198, 2, 7877, 17, 796, 7110, 62, 615, 70, 62, 626, 7, 897, 17, 11, 2989, 62, 17143, 7307, 11, 2604, 87, 28, 6404, 2004, 11, 1033, 62, 88, 43695, 28, 88, 43695, 62, 6978, 8, 198, 2, 7877, 17, 796, 7110, 62, 8770, 1886, 62, 615, 70, 62, 626, 7, 897, 17, 11, 2989, 62, 17143, 7307, 11, 2604, 87, 28, 6404, 2004, 11, 1033, 62, 88, 43695, 28, 88, 43695, 62, 6978, 8, 198, 2, 198, 2, 7877, 16, 796, 7110, 62, 8770, 1886, 62, 1102, 332, 12745, 62, 6738, 62, 565, 13654, 7, 198, 2, 220, 220, 220, 220, 7877, 16, 11, 2989, 62, 17143, 7307, 11, 331, 43695, 62, 6978, 11, 2604, 87, 28, 6404, 2004, 198, 2, 1267, 198, 2, 198, 2, 7877, 16, 13, 29487, 26933, 15, 11, 2989, 62, 17143, 7307, 14692, 51, 62, 437, 8973, 4357, 685, 22, 13, 20, 11, 767, 13, 20, 4357, 366, 74, 438, 1600, 17130, 28, 15, 13, 17, 8, 198, 2, 7877, 17, 13, 2617, 7, 87, 18242, 2625, 7575, 1600, 331, 18242, 28, 81, 1, 3, 44, 61, 45, 7, 83, 8, 720, 4943, 198, 2, 1303, 7877, 17, 13, 1455, 437, 3419, 198, 2, 2336, 13, 21928, 5647, 7, 69, 1, 9600, 14, 21604, 1800, 2725, 72, 2601, 13654, 90, 22184, 92, 29127, 13, 9479, 1600, 288, 14415, 28, 6200, 8, 198, 2, 1303, 458, 83, 13, 33464, 62, 39786, 3419, 198, 2, 458, 83, 13, 7266, 489, 1747, 62, 23032, 7, 9464, 28, 15, 13, 2998, 11, 826, 28, 15, 13, 5607, 11, 4220, 28, 15, 13, 1314, 11, 1353, 28, 15, 13, 24, 11, 266, 13200, 28, 15, 13, 1954, 8, 198, 2, 458, 83, 13, 12860, 3419, 198 ]
2.168616
1,026
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import os import typing import pandas as pd from . import internals def build_hierarchy( data: pd.DataFrame, get_parent=os.path.dirname, root: str = "", max_iter: int = 100, col_name: typing.Optional[str] = None, ) -> pd.DataFrame: """Build a hierarchy from a data set and a get_parent relationship. The output frame adds 2 columns in front: id and parent. Both are numerical where the parent id identifies the id of the parent as returned by the get_parent function. The id of the root element is set to 0 and the parent is set to np.nan. Args: data: data containing the leaves of the tree. get_parent: function returning the parent of an element. root: expected root of the hierarchy. max_iter: maximum number of iterations. col_name: name of the column to use as input (default to column 0). Returns: pandas.DataFrame with the columns id, parent and col_name. The parent value identifies the id of the parent in the hierarchy where the id 0 is the root. The columns other than col_name are discarded. """ assert data.ndim == 2, "DataFrame-like object expected" if not col_name: col_name = data.columns[0] parent = get_parent.__name__ df = data[[col_name]] frames = [] seen = {root} root_actually_seen = False count = 0 for _ in range(max_iter): df.loc[:, parent] = df[col_name].apply(get_parent) if root in df[parent].values: root_actually_seen = True df["id"] = range(count, count + len(df)) count += len(df) frames.append(df) df = ( df.loc[~df[parent].isin(seen), [parent]] .drop_duplicates() .rename(columns={parent: col_name}) ) seen.update(df[col_name]) if len(df) == 0: frames.append( pd.DataFrame(data={"id": [count], col_name: [root], parent: [None]}) ) break if not root_actually_seen: msg = f"cannot find root {root} in input frame" internals.log.error(msg) raise ValueError(msg) df = pd.concat(frames, sort=False).drop_duplicates() df["id"] = len(df) - df["id"] - 1 assert col_name is not None y_name = col_name + "_y" merged = pd.merge(df, df, left_on=col_name, right_on=parent, how="right")[ [y_name, "id_y", "id_x"] ].rename(columns={y_name: col_name, "id_y": "id", "id_x": "parent"}) return ( merged[["id", "parent", col_name]].sort_values(by="id").reset_index(drop=True) ) def _vis_generic( df: pd.DataFrame, size_column: str, color_column: str, colorscheme: str, height: int = 300, width: int = 400, ) -> dict: """Factors common parts of vis_xxx functions. Internal. See vis_hot_spots or vis_ages for documentation. """ if len(df) <= 0: raise ValueError("dataframe is empty") if size_column not in df.columns: raise ValueError(f"{size_column} not found in columns") if color_column not in df.columns: raise ValueError(f"{color_column} not found in columns") hierarchy = build_hierarchy(df[["path"]], root="") hierarchy = ( pd.merge(hierarchy, df, left_on="path", right_on="path", how="left") .rename(columns={size_column: "size", color_column: "intensity"}) .sort_values(by="id") ) hierarchy.loc[:, ["size", "intensity"]] = hierarchy[["size", "intensity"]].fillna(0) json_values = hierarchy.to_json(orient="records") signal = ( "datum.path + " f"(datum.intensity ? ', ' + datum.intensity + ' {color_column}' : '') + " f"(datum.size ? ', ' + datum.size + ' {size_column}' : '')" ) desc: typing.Dict[str, typing.Any] = { "$schema": "https://vega.github.io/schema/vega/v4.json", "width": width, "height": height, "padding": 5, "autosize": "none", "data": [ { "name": "tree", # 'values': ..., "transform": [ {"type": "stratify", "key": "id", "parentKey": "parent"}, { "type": "pack", "field": "size", "sort": {"field": "value", "order": "descending"}, "size": [{"signal": "width"}, {"signal": "height"}], }, ], } ], "scales": [ { "name": "color", "type": "linear", "domain": {"data": "tree", "field": "intensity"}, "range": {"scheme": colorscheme}, "domainMin": 0, } ], "marks": [ { "type": "symbol", "from": {"data": "tree"}, "encode": { "enter": { "shape": {"value": "circle"}, "fill": {"scale": "color", "field": "intensity"}, "tooltip": {"signal": signal}, }, "update": { "x": {"field": "x"}, "y": {"field": "y"}, "size": {"signal": "4 * datum.r * datum.r"}, "stroke": {"value": "white"}, "strokeWidth": {"value": 0.5}, }, "hover": { "stroke": {"value": "black"}, "strokeWidth": {"value": 2}, }, }, } ], } desc["data"][0]["values"] = json.loads(json_values) return desc def vis_hot_spots( df: pd.DataFrame, height: int = 300, width: int = 400, size_column: str = "lines", color_column: str = "changes", colorscheme: str = "yelloworangered", ) -> dict: """Convert get_hot_spots output to a json vega dict. Args: df: input data returned by :func:`codemetrics.get_hot_spots` height: vertical size of the figure. width: horizontal size of the figure. size_column: column that drives the size of the circles. color_column: column that drives the color intensity of the circles. colorscheme: color scheme. See https://vega.github.io/vega/docs/schemes/ Returns: Vega description suitable to be use with Altair. Example:: import codemetrics as cm from altair.vega.v4 import Vega hspots = cm.get_hot_spots(loc_df, log_df) desc = cm.vega.vis_hot_spots(hspots) Vega(desc) # display the visualization inline in you notebook. See also: `Vega circle pack example`_ .. _Vega circle pack example: https://vega.github.io/editor/#/examples/vega/circle-packing """ return _vis_generic( df, size_column=size_column, color_column=color_column, colorscheme=colorscheme, width=width, height=height, ) def vis_ages( df: pd.DataFrame, height: int = 300, width: int = 400, colorscheme: str = "greenblue", ) -> dict: """Convert get_ages output to a json vega dict. Args: df: input data returned by :func:`codemetrics.get_ages` height: vertical size of the figure. width: horizontal size of the figure. colorscheme: color scheme. See https://vega.github.io/vega/docs/schemes/ Returns: Vega description suitable to be use with Altair. Example:: import codemetrics as cm from altair.vega.v4 import Vega ages = cm.get_ages(loc_df, log_df) desc = cm.vega.vis_ages(ages) Vega(desc) # display the visualization inline in you notebook. See also: `Vega circle pack example`_ .. _Vega circle pack example: https://vega.github.io/editor/#/examples/vega/circle-packing """ df["days"] = df["age"].astype("int32") df = df.rename(columns={"code": "loc"}) return _vis_generic( df, size_column="loc", color_column="days", colorscheme=colorscheme, width=width, height=height, )
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 11748, 33918, 198, 11748, 28686, 198, 11748, 19720, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 198, 6738, 764, 1330, 1788, 874, 628, 198, 4299, 1382, 62, 71, 959, 9282, 7, 198, 220, 220, 220, 1366, 25, 279, 67, 13, 6601, 19778, 11, 198, 220, 220, 220, 651, 62, 8000, 28, 418, 13, 6978, 13, 15908, 3672, 11, 198, 220, 220, 220, 6808, 25, 965, 796, 366, 1600, 198, 220, 220, 220, 3509, 62, 2676, 25, 493, 796, 1802, 11, 198, 220, 220, 220, 951, 62, 3672, 25, 19720, 13, 30719, 58, 2536, 60, 796, 6045, 11, 198, 8, 4613, 279, 67, 13, 6601, 19778, 25, 198, 220, 220, 220, 37227, 15580, 257, 18911, 422, 257, 1366, 900, 290, 257, 651, 62, 8000, 2776, 13, 628, 220, 220, 220, 383, 5072, 5739, 6673, 362, 15180, 287, 2166, 25, 4686, 290, 2560, 13, 5747, 389, 29052, 198, 220, 220, 220, 810, 262, 2560, 4686, 21079, 262, 4686, 286, 262, 2560, 355, 4504, 416, 262, 198, 220, 220, 220, 651, 62, 8000, 2163, 13, 628, 220, 220, 220, 383, 4686, 286, 262, 6808, 5002, 318, 900, 284, 657, 290, 262, 2560, 318, 900, 284, 45941, 13, 12647, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 25, 1366, 7268, 262, 5667, 286, 262, 5509, 13, 198, 220, 220, 220, 220, 220, 220, 220, 651, 62, 8000, 25, 2163, 8024, 262, 2560, 286, 281, 5002, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6808, 25, 2938, 6808, 286, 262, 18911, 13, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 2676, 25, 5415, 1271, 286, 34820, 13, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 3672, 25, 1438, 286, 262, 5721, 284, 779, 355, 5128, 357, 12286, 284, 5721, 657, 737, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 19798, 292, 13, 6601, 19778, 351, 262, 15180, 4686, 11, 2560, 290, 951, 62, 3672, 13, 198, 220, 220, 220, 220, 220, 220, 220, 383, 2560, 1988, 21079, 262, 4686, 286, 262, 2560, 287, 262, 18911, 810, 198, 220, 220, 220, 220, 220, 220, 220, 262, 4686, 657, 318, 262, 6808, 13, 383, 15180, 584, 621, 951, 62, 3672, 389, 25148, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 6818, 1366, 13, 358, 320, 6624, 362, 11, 366, 6601, 19778, 12, 2339, 2134, 2938, 1, 198, 220, 220, 220, 611, 407, 951, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 3672, 796, 1366, 13, 28665, 82, 58, 15, 60, 198, 220, 220, 220, 2560, 796, 651, 62, 8000, 13, 834, 3672, 834, 198, 220, 220, 220, 47764, 796, 1366, 30109, 4033, 62, 3672, 11907, 198, 220, 220, 220, 13431, 796, 17635, 198, 220, 220, 220, 1775, 796, 1391, 15763, 92, 198, 220, 220, 220, 6808, 62, 37739, 62, 15898, 796, 10352, 198, 220, 220, 220, 954, 796, 657, 198, 220, 220, 220, 329, 4808, 287, 2837, 7, 9806, 62, 2676, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 13, 17946, 58, 45299, 2560, 60, 796, 47764, 58, 4033, 62, 3672, 4083, 39014, 7, 1136, 62, 8000, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6808, 287, 47764, 58, 8000, 4083, 27160, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6808, 62, 37739, 62, 15898, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 14692, 312, 8973, 796, 2837, 7, 9127, 11, 954, 1343, 18896, 7, 7568, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 954, 15853, 18896, 7, 7568, 8, 198, 220, 220, 220, 220, 220, 220, 220, 13431, 13, 33295, 7, 7568, 8, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 13, 17946, 58, 93, 7568, 58, 8000, 4083, 45763, 7, 15898, 828, 685, 8000, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 14781, 62, 646, 489, 16856, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 918, 480, 7, 28665, 82, 34758, 8000, 25, 951, 62, 3672, 30072, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1775, 13, 19119, 7, 7568, 58, 4033, 62, 3672, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 7568, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13431, 13, 33295, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 67, 13, 6601, 19778, 7, 7890, 28, 4895, 312, 1298, 685, 9127, 4357, 951, 62, 3672, 25, 685, 15763, 4357, 2560, 25, 685, 14202, 60, 30072, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 611, 407, 6808, 62, 37739, 62, 15898, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 277, 1, 66, 34574, 1064, 6808, 1391, 15763, 92, 287, 5128, 5739, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1788, 874, 13, 6404, 13, 18224, 7, 19662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 19662, 8, 198, 220, 220, 220, 47764, 796, 279, 67, 13, 1102, 9246, 7, 37805, 11, 3297, 28, 25101, 737, 14781, 62, 646, 489, 16856, 3419, 198, 220, 220, 220, 47764, 14692, 312, 8973, 796, 18896, 7, 7568, 8, 532, 47764, 14692, 312, 8973, 532, 352, 198, 220, 220, 220, 6818, 951, 62, 3672, 318, 407, 6045, 198, 220, 220, 220, 331, 62, 3672, 796, 951, 62, 3672, 1343, 45434, 88, 1, 198, 220, 220, 220, 23791, 796, 279, 67, 13, 647, 469, 7, 7568, 11, 47764, 11, 1364, 62, 261, 28, 4033, 62, 3672, 11, 826, 62, 261, 28, 8000, 11, 703, 2625, 3506, 4943, 58, 198, 220, 220, 220, 220, 220, 220, 220, 685, 88, 62, 3672, 11, 366, 312, 62, 88, 1600, 366, 312, 62, 87, 8973, 198, 220, 220, 220, 20740, 918, 480, 7, 28665, 82, 34758, 88, 62, 3672, 25, 951, 62, 3672, 11, 366, 312, 62, 88, 1298, 366, 312, 1600, 366, 312, 62, 87, 1298, 366, 8000, 20662, 8, 198, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 23791, 58, 14692, 312, 1600, 366, 8000, 1600, 951, 62, 3672, 60, 4083, 30619, 62, 27160, 7, 1525, 2625, 312, 11074, 42503, 62, 9630, 7, 14781, 28, 17821, 8, 198, 220, 220, 220, 1267, 628, 198, 4299, 4808, 4703, 62, 41357, 7, 198, 220, 220, 220, 47764, 25, 279, 67, 13, 6601, 19778, 11, 198, 220, 220, 220, 2546, 62, 28665, 25, 965, 11, 198, 220, 220, 220, 3124, 62, 28665, 25, 965, 11, 198, 220, 220, 220, 7577, 2395, 1326, 25, 965, 11, 198, 220, 220, 220, 6001, 25, 493, 796, 5867, 11, 198, 220, 220, 220, 9647, 25, 493, 796, 7337, 11, 198, 8, 4613, 8633, 25, 198, 220, 220, 220, 37227, 29054, 669, 2219, 3354, 286, 1490, 62, 31811, 5499, 13, 628, 220, 220, 220, 18628, 13, 4091, 1490, 62, 8940, 62, 2777, 1747, 393, 1490, 62, 1095, 329, 10314, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 18896, 7, 7568, 8, 19841, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 7890, 14535, 318, 6565, 4943, 198, 220, 220, 220, 611, 2546, 62, 28665, 407, 287, 47764, 13, 28665, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 69, 1, 90, 7857, 62, 28665, 92, 407, 1043, 287, 15180, 4943, 198, 220, 220, 220, 611, 3124, 62, 28665, 407, 287, 47764, 13, 28665, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 69, 1, 90, 8043, 62, 28665, 92, 407, 1043, 287, 15180, 4943, 198, 220, 220, 220, 18911, 796, 1382, 62, 71, 959, 9282, 7, 7568, 58, 14692, 6978, 8973, 4357, 6808, 2625, 4943, 198, 220, 220, 220, 18911, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 279, 67, 13, 647, 469, 7, 71, 959, 9282, 11, 47764, 11, 1364, 62, 261, 2625, 6978, 1600, 826, 62, 261, 2625, 6978, 1600, 703, 2625, 9464, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 764, 918, 480, 7, 28665, 82, 34758, 7857, 62, 28665, 25, 366, 7857, 1600, 3124, 62, 28665, 25, 366, 47799, 20662, 8, 198, 220, 220, 220, 220, 220, 220, 220, 764, 30619, 62, 27160, 7, 1525, 2625, 312, 4943, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 18911, 13, 17946, 58, 45299, 14631, 7857, 1600, 366, 47799, 8973, 60, 796, 18911, 58, 14692, 7857, 1600, 366, 47799, 8973, 4083, 20797, 2616, 7, 15, 8, 198, 220, 220, 220, 33918, 62, 27160, 796, 18911, 13, 1462, 62, 17752, 7, 13989, 2625, 8344, 3669, 4943, 198, 220, 220, 220, 6737, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 366, 19608, 388, 13, 6978, 1343, 366, 198, 220, 220, 220, 220, 220, 220, 220, 277, 18109, 19608, 388, 13, 47799, 5633, 46083, 705, 1343, 4818, 388, 13, 47799, 1343, 705, 1391, 8043, 62, 28665, 92, 6, 1058, 10148, 8, 1343, 366, 198, 220, 220, 220, 220, 220, 220, 220, 277, 18109, 19608, 388, 13, 7857, 5633, 46083, 705, 1343, 4818, 388, 13, 7857, 1343, 705, 1391, 7857, 62, 28665, 92, 6, 1058, 10148, 16725, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 1715, 25, 19720, 13, 35, 713, 58, 2536, 11, 19720, 13, 7149, 60, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 15952, 2611, 1298, 366, 5450, 1378, 303, 4908, 13, 12567, 13, 952, 14, 15952, 2611, 14, 303, 4908, 14, 85, 19, 13, 17752, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 10394, 1298, 9647, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 17015, 1298, 6001, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 39231, 1298, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2306, 418, 1096, 1298, 366, 23108, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7890, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1298, 366, 21048, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 27160, 10354, 220, 2644, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 35636, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19779, 4906, 1298, 366, 2536, 265, 1958, 1600, 366, 2539, 1298, 366, 312, 1600, 366, 8000, 9218, 1298, 366, 8000, 25719, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 366, 4906, 1298, 366, 8002, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3245, 1298, 366, 7857, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30619, 1298, 19779, 3245, 1298, 366, 8367, 1600, 366, 2875, 1298, 366, 20147, 1571, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 7857, 1298, 685, 4895, 12683, 282, 1298, 366, 10394, 25719, 19779, 12683, 282, 1298, 366, 17015, 20662, 4357, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1416, 2040, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1298, 366, 8043, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 4906, 1298, 366, 29127, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27830, 1298, 19779, 7890, 1298, 366, 21048, 1600, 366, 3245, 1298, 366, 47799, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9521, 1298, 19779, 15952, 1326, 1298, 7577, 2395, 1326, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27830, 9452, 1298, 657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 366, 14306, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 4906, 1298, 366, 1837, 23650, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6738, 1298, 19779, 7890, 1298, 366, 21048, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 268, 8189, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9255, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43358, 1298, 19779, 8367, 1298, 366, 45597, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 20797, 1298, 19779, 9888, 1298, 366, 8043, 1600, 366, 3245, 1298, 366, 47799, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 25981, 22504, 1298, 19779, 12683, 282, 1298, 6737, 5512, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 220, 220, 220, 220, 366, 19119, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 87, 1298, 19779, 3245, 1298, 366, 87, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 88, 1298, 19779, 3245, 1298, 366, 88, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 7857, 1298, 19779, 12683, 282, 1298, 366, 19, 1635, 4818, 388, 13, 81, 1635, 4818, 388, 13, 81, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30757, 1298, 19779, 8367, 1298, 366, 11186, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30757, 30916, 1298, 19779, 8367, 1298, 657, 13, 20, 5512, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43753, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30757, 1298, 19779, 8367, 1298, 366, 13424, 25719, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30757, 30916, 1298, 19779, 8367, 1298, 362, 5512, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 1782, 198, 220, 220, 220, 1715, 14692, 7890, 1, 7131, 15, 7131, 1, 27160, 8973, 796, 33918, 13, 46030, 7, 17752, 62, 27160, 8, 198, 220, 220, 220, 1441, 1715, 628, 198, 4299, 1490, 62, 8940, 62, 2777, 1747, 7, 198, 220, 220, 220, 47764, 25, 279, 67, 13, 6601, 19778, 11, 198, 220, 220, 220, 6001, 25, 493, 796, 5867, 11, 198, 220, 220, 220, 9647, 25, 493, 796, 7337, 11, 198, 220, 220, 220, 2546, 62, 28665, 25, 965, 796, 366, 6615, 1600, 198, 220, 220, 220, 3124, 62, 28665, 25, 965, 796, 366, 36653, 1600, 198, 220, 220, 220, 7577, 2395, 1326, 25, 965, 796, 366, 36022, 273, 19041, 1600, 198, 8, 4613, 8633, 25, 198, 220, 220, 220, 37227, 3103, 1851, 651, 62, 8940, 62, 2777, 1747, 5072, 284, 257, 33918, 1569, 4908, 8633, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 25, 5128, 1366, 4504, 416, 1058, 20786, 25, 63, 19815, 19261, 10466, 13, 1136, 62, 8940, 62, 2777, 1747, 63, 198, 220, 220, 220, 220, 220, 220, 220, 6001, 25, 11723, 2546, 286, 262, 3785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 25, 16021, 2546, 286, 262, 3785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2546, 62, 28665, 25, 5721, 326, 10182, 262, 2546, 286, 262, 13332, 13, 198, 220, 220, 220, 220, 220, 220, 220, 3124, 62, 28665, 25, 5721, 326, 10182, 262, 3124, 12245, 286, 262, 13332, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7577, 2395, 1326, 25, 3124, 7791, 13, 4091, 3740, 1378, 303, 4908, 13, 12567, 13, 952, 14, 303, 4908, 14, 31628, 14, 1416, 4411, 274, 14, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 30310, 6764, 11080, 284, 307, 779, 351, 12344, 958, 13, 628, 220, 220, 220, 17934, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 1330, 14873, 19261, 10466, 355, 12067, 198, 220, 220, 220, 220, 220, 220, 220, 422, 5988, 958, 13, 303, 4908, 13, 85, 19, 1330, 30310, 198, 220, 220, 220, 220, 220, 220, 220, 289, 2777, 1747, 796, 12067, 13, 1136, 62, 8940, 62, 2777, 1747, 7, 17946, 62, 7568, 11, 2604, 62, 7568, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1715, 796, 12067, 13, 303, 4908, 13, 4703, 62, 8940, 62, 2777, 1747, 7, 71, 2777, 1747, 8, 198, 220, 220, 220, 220, 220, 220, 220, 30310, 7, 20147, 8, 220, 1303, 3359, 262, 32704, 26098, 287, 345, 20922, 13, 628, 220, 220, 220, 4091, 635, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4600, 53, 26470, 9197, 2353, 1672, 63, 62, 628, 220, 220, 220, 11485, 4808, 53, 26470, 9197, 2353, 1672, 25, 3740, 1378, 303, 4908, 13, 12567, 13, 952, 14, 35352, 31113, 14, 1069, 12629, 14, 303, 4908, 14, 45597, 12, 41291, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 4703, 62, 41357, 7, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2546, 62, 28665, 28, 7857, 62, 28665, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3124, 62, 28665, 28, 8043, 62, 28665, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7577, 2395, 1326, 28, 4033, 26164, 1326, 11, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 28, 10394, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6001, 28, 17015, 11, 198, 220, 220, 220, 1267, 628, 198, 4299, 1490, 62, 1095, 7, 198, 220, 220, 220, 47764, 25, 279, 67, 13, 6601, 19778, 11, 198, 220, 220, 220, 6001, 25, 493, 796, 5867, 11, 198, 220, 220, 220, 9647, 25, 493, 796, 7337, 11, 198, 220, 220, 220, 7577, 2395, 1326, 25, 965, 796, 366, 14809, 17585, 1600, 198, 8, 4613, 8633, 25, 198, 220, 220, 220, 37227, 3103, 1851, 651, 62, 1095, 5072, 284, 257, 33918, 1569, 4908, 8633, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 25, 5128, 1366, 4504, 416, 1058, 20786, 25, 63, 19815, 19261, 10466, 13, 1136, 62, 1095, 63, 198, 220, 220, 220, 220, 220, 220, 220, 6001, 25, 11723, 2546, 286, 262, 3785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 25, 16021, 2546, 286, 262, 3785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 7577, 2395, 1326, 25, 3124, 7791, 13, 4091, 3740, 1378, 303, 4908, 13, 12567, 13, 952, 14, 303, 4908, 14, 31628, 14, 1416, 4411, 274, 14, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 30310, 6764, 11080, 284, 307, 779, 351, 12344, 958, 13, 628, 220, 220, 220, 17934, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 1330, 14873, 19261, 10466, 355, 12067, 198, 220, 220, 220, 220, 220, 220, 220, 422, 5988, 958, 13, 303, 4908, 13, 85, 19, 1330, 30310, 198, 220, 220, 220, 220, 220, 220, 220, 9337, 796, 12067, 13, 1136, 62, 1095, 7, 17946, 62, 7568, 11, 2604, 62, 7568, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1715, 796, 12067, 13, 303, 4908, 13, 4703, 62, 1095, 7, 1095, 8, 198, 220, 220, 220, 220, 220, 220, 220, 30310, 7, 20147, 8, 220, 1303, 3359, 262, 32704, 26098, 287, 345, 20922, 13, 628, 220, 220, 220, 4091, 635, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4600, 53, 26470, 9197, 2353, 1672, 63, 62, 628, 220, 220, 220, 11485, 4808, 53, 26470, 9197, 2353, 1672, 25, 3740, 1378, 303, 4908, 13, 12567, 13, 952, 14, 35352, 31113, 14, 1069, 12629, 14, 303, 4908, 14, 45597, 12, 41291, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 47764, 14692, 12545, 8973, 796, 47764, 14692, 496, 1, 4083, 459, 2981, 7203, 600, 2624, 4943, 198, 220, 220, 220, 47764, 796, 47764, 13, 918, 480, 7, 28665, 82, 28, 4895, 8189, 1298, 366, 17946, 20662, 8, 198, 220, 220, 220, 1441, 4808, 4703, 62, 41357, 7, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2546, 62, 28665, 2625, 17946, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 3124, 62, 28665, 2625, 12545, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 7577, 2395, 1326, 28, 4033, 26164, 1326, 11, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 28, 10394, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6001, 28, 17015, 11, 198, 220, 220, 220, 1267, 198 ]
2.102201
3,953
from Alarm_dialog_ui import Alarm_Ui_Dialog from PyQt5 import QtCore, QtWidgets, QtGui import threading import sys if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) form = AlarmDialog("Slave3", "CPU overloading", "CPU usage > 95%", "50%", "2017/11/25 12:00") form.setWindowTitle('Alarm') form.show() sys.exit(app.exec_())
[ 6738, 978, 1670, 62, 38969, 519, 62, 9019, 1330, 978, 1670, 62, 52, 72, 62, 44204, 201, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 54, 312, 11407, 11, 33734, 8205, 72, 201, 198, 11748, 4704, 278, 201, 198, 11748, 25064, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 201, 198, 220, 220, 220, 598, 796, 33734, 54, 312, 11407, 13, 48, 23416, 7, 17597, 13, 853, 85, 8, 201, 198, 220, 220, 220, 1296, 796, 978, 1670, 44204, 7203, 11122, 1015, 18, 1600, 366, 36037, 625, 25138, 1600, 366, 36037, 8748, 1875, 6957, 4, 1600, 366, 1120, 4, 1600, 366, 5539, 14, 1157, 14, 1495, 1105, 25, 405, 4943, 201, 198, 220, 220, 220, 1296, 13, 2617, 27703, 19160, 10786, 2348, 1670, 11537, 201, 198, 220, 220, 220, 1296, 13, 12860, 3419, 201, 198, 220, 220, 220, 25064, 13, 37023, 7, 1324, 13, 18558, 62, 28955 ]
2.358974
156
# Copyright 2016 OpenStack Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. """Liberty release Revision ID: 001 Revises: None Create Date: 2015-09-13 20:46:25.783444 """ # revision identifiers, used by Alembic. revision = '001' down_revision = None from alembic import op import sqlalchemy as sa MYSQL_ENGINE = 'InnoDB' MYSQL_CHARSET = 'utf8'
[ 2, 15069, 1584, 4946, 25896, 5693, 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, 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, 198, 2, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 37811, 31199, 774, 2650, 198, 198, 18009, 1166, 4522, 25, 3571, 16, 198, 18009, 2696, 25, 6045, 198, 16447, 7536, 25, 1853, 12, 2931, 12, 1485, 1160, 25, 3510, 25, 1495, 13, 50165, 30272, 198, 198, 37811, 198, 198, 2, 18440, 42814, 11, 973, 416, 9300, 2022, 291, 13, 198, 260, 10178, 796, 705, 8298, 6, 198, 2902, 62, 260, 10178, 796, 6045, 198, 198, 6738, 31341, 2022, 291, 1330, 1034, 198, 11748, 44161, 282, 26599, 355, 473, 198, 198, 44, 16309, 9711, 62, 26808, 8881, 796, 705, 818, 3919, 11012, 6, 198, 44, 16309, 9711, 62, 3398, 27415, 2767, 796, 705, 40477, 23, 6, 628 ]
3.333333
258
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 ]
3.769231
26
import logging import sys import traceback import re import os import socket import jinja2 import json from shutil import rmtree from time import sleep from datetime import datetime from string import Formatter from lib.jobstatus import ReverseMap, JobStatus from mailer import Mailer from models import DataFile def print_line(line, event_list, ignore_text=False): """ Prints a message to either the console, the event_list, or the current event Parameters: line (str): The message to print event_list (EventList): the event list ignore_text (bool): should this be printed to the console if in text mode """ logging.info(line) if not ignore_text: now = datetime.now() timestr = '{hour}:{min}:{sec}'.format( hour=now.strftime('%H'), min=now.strftime('%M'), sec=now.strftime('%S')) msg = '{time}: {line}'.format( time=timestr, line=line) print msg sys.stdout.flush() def get_climo_output_files(input_path, start_year, end_year): """ Return a list of ncclimo climatologies from start_year to end_year Parameters: input_path (str): the directory to look in start_year (int): the first year of climos to add to the list end_year (int): the last year Returns: file_list (list(str)): A list of the climo files in the directory """ if not os.path.exists(input_path): return None contents = [s for s in os.listdir(input_path) if not os.path.isdir(s)] pattern = r'_{start:04d}\d\d_{end:04d}\d\d_climo\.nc'.format( start=start_year, end=end_year) return [x for x in contents if re.search(pattern=pattern, string=x)] def get_ts_output_files(input_path, var_list, start_year, end_year): """ Return a list of ncclimo timeseries files from a list of variables, start_year to end_year Parameters: input_path (str): the directory to look in var_list (list): a list of strings of variable names start_year (int): the first year of climos to add to the list end_year (int): the last year Returns: ts_list (list): A list of the ts files """ if not os.path.exists(input_path): return None contents = [s for s in os.listdir(input_path) if not os.path.isdir(s)] ts_list = list() for var in var_list: pattern = r'{var}_{start:04d}01_{end:04d}12\.nc'.format( var=var, start=start_year, end=end_year) for item in contents: if re.search(pattern, item): ts_list.append(item) break return ts_list def print_debug(e): """ Print an exceptions relavent information """ print '1', e.__doc__ print '2', sys.exc_info() print '3', sys.exc_info()[0] print '4', sys.exc_info()[1] print '5', traceback.tb_lineno(sys.exc_info()[2]) _, _, tb = sys.exc_info() print '6', traceback.print_tb(tb) def format_debug(e): """ Return a string of an exceptions relavent information """ _, _, tb = sys.exc_info() return """ 1: {doc} 2: {exec_info} 3: {exec_0} 4: {exec_1} 5: {lineno} 6: {stack} """.format( doc=e.__doc__, exec_info=sys.exc_info(), exec_0=sys.exc_info()[0], exec_1=sys.exc_info()[1], lineno=traceback.tb_lineno(sys.exc_info()[2]), stack=traceback.print_tb(tb)) def print_message(message, status='error'): """ Prints a message with either a green + or a red - Parameters: message (str): the message to print status (str): th""" if status == 'error': print colors.FAIL + '[-] ' + colors.ENDC + colors.BOLD + str(message) + colors.ENDC elif status == 'ok': print colors.OKGREEN + '[+] ' + colors.ENDC + str(message) def render(variables, input_path, output_path): """ Renders the jinja2 template from the input_path into the output_path using the variables from variables """ tail, head = os.path.split(input_path) template_path = os.path.abspath(tail) loader = jinja2.FileSystemLoader(searchpath=template_path) env = jinja2.Environment(loader=loader) template = env.get_template(head) outstr = template.render(variables) with open(output_path, 'a') as outfile: outfile.write(outstr) def create_symlink_dir(src_dir, src_list, dst): """ Create a directory, and fill it with symlinks to all the items in src_list Parameters: src_dir (str): the path to the source directory src_list (list): a list of strings of filenames dst (str): the path to the directory that should hold the symlinks """ if not src_list: return if not os.path.exists(dst): os.makedirs(dst) for src_file in src_list: if not src_file: continue source = os.path.join(src_dir, src_file) destination = os.path.join(dst, src_file) if os.path.lexists(destination): continue try: os.symlink(source, destination) except Exception as e: msg = format_debug(e) logging.error(msg)
[ 11748, 18931, 198, 11748, 25064, 198, 11748, 12854, 1891, 198, 11748, 302, 198, 11748, 28686, 198, 11748, 17802, 198, 11748, 474, 259, 6592, 17, 198, 11748, 33918, 198, 198, 6738, 4423, 346, 1330, 374, 16762, 631, 198, 6738, 640, 1330, 3993, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 6738, 4731, 1330, 5178, 1436, 198, 198, 6738, 9195, 13, 21858, 13376, 1330, 31849, 13912, 11, 15768, 19580, 198, 6738, 6920, 263, 1330, 11099, 263, 198, 6738, 4981, 1330, 6060, 8979, 628, 198, 4299, 3601, 62, 1370, 7, 1370, 11, 1785, 62, 4868, 11, 8856, 62, 5239, 28, 25101, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12578, 82, 257, 3275, 284, 2035, 262, 8624, 11, 262, 1785, 62, 4868, 11, 393, 262, 1459, 1785, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 357, 2536, 2599, 383, 3275, 284, 3601, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 62, 4868, 357, 9237, 8053, 2599, 262, 1785, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 5239, 357, 30388, 2599, 815, 428, 307, 10398, 284, 262, 8624, 611, 287, 2420, 4235, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 18931, 13, 10951, 7, 1370, 8, 198, 220, 220, 220, 611, 407, 8856, 62, 5239, 25, 198, 220, 220, 220, 220, 220, 220, 220, 783, 796, 4818, 8079, 13, 2197, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4628, 395, 81, 796, 705, 90, 9769, 92, 29164, 1084, 92, 29164, 2363, 92, 4458, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1711, 28, 2197, 13, 2536, 31387, 10786, 4, 39, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 28, 2197, 13, 2536, 31387, 10786, 4, 44, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 792, 28, 2197, 13, 2536, 31387, 10786, 4, 50, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 705, 90, 2435, 38362, 1391, 1370, 92, 4458, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 640, 28, 16514, 395, 81, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 28, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 31456, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 19282, 448, 13, 25925, 3419, 198, 198, 4299, 651, 62, 565, 25147, 62, 22915, 62, 16624, 7, 15414, 62, 6978, 11, 923, 62, 1941, 11, 886, 62, 1941, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8229, 257, 1351, 286, 299, 535, 2475, 78, 5424, 265, 5823, 422, 923, 62, 1941, 284, 886, 62, 1941, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 6978, 357, 2536, 2599, 262, 8619, 284, 804, 287, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 1941, 357, 600, 2599, 262, 717, 614, 286, 5424, 418, 284, 751, 284, 262, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 886, 62, 1941, 357, 600, 2599, 262, 938, 614, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 4868, 357, 4868, 7, 2536, 8, 2599, 317, 1351, 286, 262, 5424, 78, 3696, 287, 262, 8619, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 15414, 62, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 198, 220, 220, 220, 10154, 796, 685, 82, 329, 264, 287, 28686, 13, 4868, 15908, 7, 15414, 62, 6978, 8, 611, 407, 28686, 13, 6978, 13, 9409, 343, 7, 82, 15437, 198, 220, 220, 220, 3912, 796, 374, 6, 23330, 9688, 25, 3023, 67, 32239, 67, 59, 67, 23330, 437, 25, 3023, 67, 32239, 67, 59, 67, 62, 565, 25147, 17405, 10782, 4458, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 923, 28, 9688, 62, 1941, 11, 198, 220, 220, 220, 220, 220, 220, 220, 886, 28, 437, 62, 1941, 8, 198, 220, 220, 220, 1441, 685, 87, 329, 2124, 287, 10154, 611, 302, 13, 12947, 7, 33279, 28, 33279, 11, 4731, 28, 87, 15437, 198, 198, 4299, 651, 62, 912, 62, 22915, 62, 16624, 7, 15414, 62, 6978, 11, 1401, 62, 4868, 11, 923, 62, 1941, 11, 886, 62, 1941, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8229, 257, 1351, 286, 299, 535, 2475, 78, 1661, 10640, 3696, 422, 257, 1351, 286, 9633, 11, 923, 62, 1941, 284, 886, 62, 1941, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 6978, 357, 2536, 2599, 262, 8619, 284, 804, 287, 198, 220, 220, 220, 220, 220, 220, 220, 1401, 62, 4868, 357, 4868, 2599, 257, 1351, 286, 13042, 286, 7885, 3891, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 1941, 357, 600, 2599, 262, 717, 614, 286, 5424, 418, 284, 751, 284, 262, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 886, 62, 1941, 357, 600, 2599, 262, 938, 614, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 40379, 62, 4868, 357, 4868, 2599, 317, 1351, 286, 262, 40379, 3696, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 15414, 62, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 198, 220, 220, 220, 10154, 796, 685, 82, 329, 264, 287, 28686, 13, 4868, 15908, 7, 15414, 62, 6978, 8, 611, 407, 28686, 13, 6978, 13, 9409, 343, 7, 82, 15437, 198, 220, 220, 220, 40379, 62, 4868, 796, 1351, 3419, 198, 220, 220, 220, 329, 1401, 287, 1401, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3912, 796, 374, 6, 90, 7785, 92, 23330, 9688, 25, 3023, 67, 92, 486, 23330, 437, 25, 3023, 67, 92, 1065, 17405, 10782, 4458, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1401, 28, 7785, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 28, 9688, 62, 1941, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 28, 437, 62, 1941, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 287, 10154, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 302, 13, 12947, 7, 33279, 11, 2378, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40379, 62, 4868, 13, 33295, 7, 9186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 1441, 40379, 62, 4868, 198, 198, 4299, 3601, 62, 24442, 7, 68, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12578, 281, 13269, 823, 615, 298, 1321, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3601, 705, 16, 3256, 304, 13, 834, 15390, 834, 198, 220, 220, 220, 3601, 705, 17, 3256, 25064, 13, 41194, 62, 10951, 3419, 198, 220, 220, 220, 3601, 705, 18, 3256, 25064, 13, 41194, 62, 10951, 3419, 58, 15, 60, 198, 220, 220, 220, 3601, 705, 19, 3256, 25064, 13, 41194, 62, 10951, 3419, 58, 16, 60, 198, 220, 220, 220, 3601, 705, 20, 3256, 12854, 1891, 13, 83, 65, 62, 2815, 23397, 7, 17597, 13, 41194, 62, 10951, 3419, 58, 17, 12962, 198, 220, 220, 220, 4808, 11, 4808, 11, 256, 65, 796, 25064, 13, 41194, 62, 10951, 3419, 198, 220, 220, 220, 3601, 705, 21, 3256, 12854, 1891, 13, 4798, 62, 83, 65, 7, 83, 65, 8, 198, 198, 4299, 5794, 62, 24442, 7, 68, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8229, 257, 4731, 286, 281, 13269, 823, 615, 298, 1321, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4808, 11, 4808, 11, 256, 65, 796, 25064, 13, 41194, 62, 10951, 3419, 198, 220, 220, 220, 1441, 37227, 198, 16, 25, 1391, 15390, 92, 198, 17, 25, 1391, 18558, 62, 10951, 92, 198, 18, 25, 1391, 18558, 62, 15, 92, 198, 19, 25, 1391, 18558, 62, 16, 92, 198, 20, 25, 1391, 2815, 23397, 92, 198, 21, 25, 1391, 25558, 92, 198, 15931, 1911, 18982, 7, 198, 220, 220, 220, 2205, 28, 68, 13, 834, 15390, 834, 11, 198, 220, 220, 220, 2452, 62, 10951, 28, 17597, 13, 41194, 62, 10951, 22784, 198, 220, 220, 220, 2452, 62, 15, 28, 17597, 13, 41194, 62, 10951, 3419, 58, 15, 4357, 198, 220, 220, 220, 2452, 62, 16, 28, 17597, 13, 41194, 62, 10951, 3419, 58, 16, 4357, 198, 220, 220, 220, 9493, 23397, 28, 40546, 1891, 13, 83, 65, 62, 2815, 23397, 7, 17597, 13, 41194, 62, 10951, 3419, 58, 17, 46570, 198, 220, 220, 220, 8931, 28, 40546, 1891, 13, 4798, 62, 83, 65, 7, 83, 65, 4008, 198, 198, 4299, 3601, 62, 20500, 7, 20500, 11, 3722, 11639, 18224, 6, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12578, 82, 257, 3275, 351, 2035, 257, 4077, 1343, 393, 257, 2266, 532, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 357, 2536, 2599, 262, 3275, 284, 3601, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 357, 2536, 2599, 294, 37811, 198, 220, 220, 220, 611, 3722, 6624, 705, 18224, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7577, 13, 7708, 4146, 1343, 44438, 12, 60, 705, 1343, 7577, 13, 1677, 9697, 1343, 7577, 13, 33, 15173, 1343, 965, 7, 20500, 8, 1343, 7577, 13, 1677, 9697, 198, 220, 220, 220, 1288, 361, 3722, 6624, 705, 482, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7577, 13, 11380, 43016, 1343, 44438, 10, 60, 705, 1343, 7577, 13, 1677, 9697, 1343, 965, 7, 20500, 8, 198, 198, 4299, 8543, 7, 25641, 2977, 11, 5128, 62, 6978, 11, 5072, 62, 6978, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 371, 7338, 262, 474, 259, 6592, 17, 11055, 422, 262, 5128, 62, 6978, 656, 262, 5072, 62, 6978, 198, 220, 220, 220, 1262, 262, 9633, 422, 9633, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7894, 11, 1182, 796, 28686, 13, 6978, 13, 35312, 7, 15414, 62, 6978, 8, 628, 220, 220, 220, 11055, 62, 6978, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 13199, 8, 198, 220, 220, 220, 40213, 796, 474, 259, 6592, 17, 13, 8979, 11964, 17401, 7, 12947, 6978, 28, 28243, 62, 6978, 8, 198, 220, 220, 220, 17365, 796, 474, 259, 6592, 17, 13, 31441, 7, 29356, 28, 29356, 8, 198, 220, 220, 220, 11055, 796, 17365, 13, 1136, 62, 28243, 7, 2256, 8, 198, 220, 220, 220, 503, 2536, 796, 11055, 13, 13287, 7, 25641, 2977, 8, 628, 220, 220, 220, 351, 1280, 7, 22915, 62, 6978, 11, 705, 64, 11537, 355, 503, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 13, 13564, 7, 448, 2536, 8, 198, 198, 4299, 2251, 62, 1837, 4029, 676, 62, 15908, 7, 10677, 62, 15908, 11, 12351, 62, 4868, 11, 29636, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 8619, 11, 290, 6070, 340, 351, 5659, 28751, 284, 477, 262, 3709, 287, 12351, 62, 4868, 628, 220, 220, 220, 40117, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 62, 15908, 357, 2536, 2599, 262, 3108, 284, 262, 2723, 8619, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 62, 4868, 357, 4868, 2599, 257, 1351, 286, 13042, 286, 1226, 268, 1047, 198, 220, 220, 220, 220, 220, 220, 220, 29636, 357, 2536, 2599, 262, 3108, 284, 262, 8619, 326, 815, 1745, 262, 5659, 28751, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 407, 12351, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 67, 301, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 67, 301, 8, 198, 220, 220, 220, 329, 12351, 62, 7753, 287, 12351, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 12351, 62, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 2723, 796, 28686, 13, 6978, 13, 22179, 7, 10677, 62, 15908, 11, 12351, 62, 7753, 8, 198, 220, 220, 220, 220, 220, 220, 220, 10965, 796, 28686, 13, 6978, 13, 22179, 7, 67, 301, 11, 12351, 62, 7753, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 2588, 1023, 7, 16520, 1883, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 1837, 4029, 676, 7, 10459, 11, 10965, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 5794, 62, 24442, 7, 68, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 18224, 7, 19662, 8, 198 ]
2.343539
2,221
import discord from discord.ext import commands from discord.gateway import DiscordWebSocket import requests, os import json import subprocess import io import random import dotenv import aiomysql
[ 11748, 36446, 198, 6738, 36446, 13, 2302, 1330, 9729, 198, 6738, 36446, 13, 10494, 1014, 1330, 39462, 13908, 39105, 198, 11748, 7007, 11, 28686, 198, 11748, 33918, 198, 11748, 850, 14681, 198, 11748, 33245, 198, 11748, 4738, 198, 11748, 16605, 24330, 198, 11748, 257, 29005, 893, 13976, 628, 198 ]
4.061224
49
# -*- coding: UTF-8 -*- # Copyright 2012-2017 Rumma & Ko Ltd # License: BSD (see file COPYING for details) """Defines the babel field classes (:class:`BabelCharField` and :class:`BabelTextField`) and the :class:`LanguageField` class. **Babel fields** are fields which "generate" in the Django model a series of normal CharFields (or TextFields), one for each :attr:`lino.core.site.Site.language`. Example:: class Foo(models.Model): name = BabelCharField(_("Foo"), max_length=200) .. autosummary:: """ from __future__ import unicode_literals import six import logging logger = logging.getLogger(__name__) from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from django.utils.text import format_lazy from lino.core.fields import RichTextField LANGUAGE_CODE_MAX_LENGTH = 5 def contribute_to_class(field, cls, fieldclass, **kw): "Used by both :class:`BabelCharField` and :class:`BabelTextField` " if cls._meta.abstract: return kw.update(blank=True) if "__fake__" in repr(cls): # Used to test if we're creating a migration, in that case we don't want to add new fields, # As they're already detected during site startup. return for lang in settings.SITE.BABEL_LANGS: kw.update(verbose_name=format_lazy(u"{}{}", field.verbose_name, ' (' + lang.django_code + ')')) newfield = fieldclass(**kw) #~ newfield._lino_babel_field = True # used by dbtools.get_data_elems newfield._lino_babel_field = field.name newfield._babel_language = lang cls.add_to_class(six.text_type(field.name + '_' + lang.name), newfield) # we must convert the field name to six.text_type because lang.name is a newstr, and Django can raise a # TypeError: unorderable types: str() and <type 'str'> # when a model contains both Babelfields and fields with plain Py2 str names. class BabelCharField(models.CharField): """Define a variable number of `CharField` database fields, one for each language of your :attr:`lino.core.site.Site.languages`. See :ref:`mldbc`. """ class BabelTextField(RichTextField): """ Define a variable number of clones of the "master" field, one for each language . See :ref:`mldbc`. """ class LanguageField(models.CharField): """A field that lets the user select a language from the available :attr:`lino.core.site.Site.languages`. See also :meth:`lino.core.model.Model.get_print_language`. """
[ 2, 532, 9, 12, 19617, 25, 41002, 12, 23, 532, 9, 12, 198, 2, 15069, 2321, 12, 5539, 25463, 2611, 1222, 17634, 12052, 198, 2, 13789, 25, 347, 10305, 357, 3826, 2393, 27975, 45761, 329, 3307, 8, 198, 198, 37811, 7469, 1127, 262, 9289, 417, 2214, 6097, 357, 25, 4871, 25, 63, 33, 9608, 12441, 15878, 63, 290, 198, 25, 4871, 25, 63, 33, 9608, 8206, 15878, 63, 8, 290, 262, 1058, 4871, 25, 63, 32065, 15878, 63, 1398, 13, 198, 198, 1174, 33, 9608, 7032, 1174, 389, 7032, 543, 366, 8612, 378, 1, 287, 262, 37770, 2746, 257, 198, 25076, 286, 3487, 3178, 15878, 82, 357, 273, 8255, 15878, 82, 828, 530, 329, 1123, 198, 25, 35226, 25, 63, 2815, 78, 13, 7295, 13, 15654, 13, 29123, 13, 16129, 44646, 198, 198, 16281, 3712, 628, 220, 1398, 36080, 7, 27530, 13, 17633, 2599, 198, 220, 220, 220, 220, 220, 1438, 796, 50175, 12441, 15878, 28264, 7203, 37, 2238, 12340, 3509, 62, 13664, 28, 2167, 8, 198, 220, 220, 220, 220, 220, 220, 198, 198, 492, 44619, 388, 6874, 3712, 198, 198, 37811, 198, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 11748, 2237, 198, 198, 11748, 18931, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 62, 75, 12582, 355, 4808, 198, 6738, 42625, 14208, 13, 26791, 13, 5239, 1330, 5794, 62, 75, 12582, 198, 198, 6738, 300, 2879, 13, 7295, 13, 25747, 1330, 3998, 8206, 15878, 198, 198, 43, 15567, 52, 11879, 62, 34, 16820, 62, 22921, 62, 43, 49494, 796, 642, 628, 198, 4299, 8676, 62, 1462, 62, 4871, 7, 3245, 11, 537, 82, 11, 2214, 4871, 11, 12429, 46265, 2599, 198, 220, 220, 220, 366, 38052, 416, 1111, 1058, 4871, 25, 63, 33, 9608, 12441, 15878, 63, 290, 1058, 4871, 25, 63, 33, 9608, 8206, 15878, 63, 366, 198, 220, 220, 220, 611, 537, 82, 13557, 28961, 13, 397, 8709, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 479, 86, 13, 19119, 7, 27190, 28, 17821, 8, 198, 220, 220, 220, 611, 366, 834, 30706, 834, 1, 287, 41575, 7, 565, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 16718, 284, 1332, 611, 356, 821, 4441, 257, 13472, 11, 287, 326, 1339, 356, 836, 470, 765, 284, 751, 649, 7032, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1081, 484, 821, 1541, 12326, 1141, 2524, 13693, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 329, 42392, 287, 6460, 13, 50, 12709, 13, 4339, 33, 3698, 62, 25697, 14313, 25, 198, 220, 220, 220, 220, 220, 220, 220, 479, 86, 13, 19119, 7, 19011, 577, 62, 3672, 28, 18982, 62, 75, 12582, 7, 84, 1, 90, 18477, 92, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2214, 13, 19011, 577, 62, 3672, 11, 705, 19203, 1343, 42392, 13, 28241, 14208, 62, 8189, 1343, 705, 33047, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 649, 3245, 796, 2214, 4871, 7, 1174, 46265, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 93, 649, 3245, 13557, 2815, 78, 62, 65, 9608, 62, 3245, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 973, 416, 288, 18347, 10141, 13, 1136, 62, 7890, 62, 11129, 907, 198, 220, 220, 220, 220, 220, 220, 220, 649, 3245, 13557, 2815, 78, 62, 65, 9608, 62, 3245, 796, 2214, 13, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 649, 3245, 13557, 65, 9608, 62, 16129, 796, 42392, 198, 220, 220, 220, 220, 220, 220, 220, 537, 82, 13, 2860, 62, 1462, 62, 4871, 7, 19412, 13, 5239, 62, 4906, 7, 3245, 13, 3672, 1343, 705, 62, 6, 1343, 42392, 13, 3672, 828, 649, 3245, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 356, 1276, 10385, 262, 2214, 1438, 284, 2237, 13, 5239, 62, 4906, 780, 42392, 13, 3672, 318, 257, 649, 2536, 11, 290, 37770, 460, 5298, 257, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5994, 12331, 25, 555, 2875, 540, 3858, 25, 965, 3419, 290, 1279, 4906, 705, 2536, 44167, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 618, 257, 2746, 4909, 1111, 50175, 25747, 290, 7032, 351, 8631, 9485, 17, 965, 3891, 13, 628, 198, 4871, 50175, 12441, 15878, 7, 27530, 13, 12441, 15878, 2599, 628, 220, 220, 220, 37227, 7469, 500, 257, 7885, 1271, 286, 4600, 12441, 15878, 63, 6831, 7032, 11, 530, 329, 198, 220, 220, 220, 1123, 3303, 286, 534, 1058, 35226, 25, 63, 2815, 78, 13, 7295, 13, 15654, 13, 29123, 13, 75, 33213, 44646, 220, 4091, 198, 220, 220, 220, 1058, 5420, 25, 63, 76, 335, 15630, 44646, 628, 220, 220, 220, 37227, 628, 198, 4871, 50175, 8206, 15878, 7, 14868, 8206, 15878, 2599, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 2896, 500, 257, 7885, 1271, 286, 32498, 286, 262, 366, 9866, 1, 2214, 11, 198, 220, 220, 220, 530, 329, 1123, 3303, 764, 198, 220, 220, 220, 4091, 1058, 5420, 25, 63, 76, 335, 15630, 44646, 198, 220, 220, 220, 37227, 628, 198, 4871, 15417, 15878, 7, 27530, 13, 12441, 15878, 2599, 198, 220, 220, 220, 37227, 32, 2214, 326, 8781, 262, 2836, 2922, 257, 3303, 422, 262, 1695, 198, 220, 220, 220, 1058, 35226, 25, 63, 2815, 78, 13, 7295, 13, 15654, 13, 29123, 13, 75, 33213, 44646, 628, 220, 220, 220, 4091, 635, 1058, 76, 2788, 25, 63, 2815, 78, 13, 7295, 13, 19849, 13, 17633, 13, 1136, 62, 4798, 62, 16129, 44646, 628, 220, 220, 220, 37227, 628, 198 ]
2.668731
969
#!/usr/bin/env python3 # Advent of Code 2016 - Day 2, Part Two import sys from turtle import Vec2D keypad = [[None, None, '1', None, None], [None, '2', '3', '4', None], [ '5', '6', '7', '8', '9'], [None, 'A', 'B', 'C', None], [None, None, 'D', None, None]] moves = { 'U' : Vec2D(-1, 0), 'D' : Vec2D(+1, 0), 'L' : Vec2D( 0, -1), 'R' : Vec2D( 0, +1) } if __name__ == '__main__': sys.exit(main(sys.argv))
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 33732, 286, 6127, 1584, 532, 3596, 362, 11, 2142, 4930, 198, 198, 11748, 25064, 198, 6738, 28699, 1330, 38692, 17, 35, 198, 198, 2539, 15636, 796, 16410, 14202, 11, 6045, 11, 220, 705, 16, 3256, 6045, 11, 6045, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 14202, 11, 220, 705, 17, 3256, 220, 705, 18, 3256, 220, 705, 19, 3256, 6045, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 705, 20, 3256, 220, 705, 21, 3256, 220, 705, 22, 3256, 220, 705, 23, 3256, 220, 705, 24, 6, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 14202, 11, 220, 705, 32, 3256, 220, 705, 33, 3256, 220, 705, 34, 3256, 6045, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 14202, 11, 6045, 11, 220, 705, 35, 3256, 6045, 11, 6045, 11907, 198, 198, 76, 5241, 796, 1391, 705, 52, 6, 1058, 38692, 17, 35, 32590, 16, 11, 220, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 35, 6, 1058, 38692, 17, 35, 7, 10, 16, 11, 220, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 43, 6, 1058, 38692, 17, 35, 7, 657, 11, 532, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 49, 6, 1058, 38692, 17, 35, 7, 657, 11, 1343, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 220, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 25064, 13, 37023, 7, 12417, 7, 17597, 13, 853, 85, 4008 ]
1.759582
287
source_suffix = ".txt" master_doc = "index" extensions = ["sphinxcontrib.multilatex"]
[ 10459, 62, 37333, 844, 796, 27071, 14116, 1, 201, 198, 9866, 62, 15390, 796, 366, 9630, 1, 201, 198, 201, 198, 2302, 5736, 796, 14631, 82, 746, 28413, 3642, 822, 13, 16680, 346, 378, 87, 8973, 201, 198 ]
2.394737
38
#!/usr/bin/env python import csv, json, operator, os, sys import xml.etree.ElementTree as ET composerJsonPath = 'composer.json' languageXmlPath = 'language.xml' if not os.path.exists(composerJsonPath): # File does not exists print "File " + composerJsonPath + " not found" sys.exit(1) if not os.path.exists(languageXmlPath): # File does not exists print "File " + languageXmlPath + " not found" sys.exit(1) file = open(composerJsonPath, "r") composerJsonContent = file.read() file.close() composerTypeData = json.loads(composerJsonContent)['type'] if composerTypeData != "magento2-language": # It's not a language package print "This is not a language package, type: " + composerTypeData sys.exit(1) xml = ET.parse(languageXmlPath) languageCode = xml.getroot().find('code').text languageCsvPath = languageCode + '.csv' if not os.path.exists(languageCsvPath): # File does not exists print "File " + languageCsvPath + " not found" sys.exit(1) cleanData = [] with open(languageCsvPath) as f: rawData = csv.reader(f, delimiter=',') for rawRow in rawData: if len(rawRow) == 0: # Empty line continue; if rawRow[0][:1] == "#": # Commented line continue; if len(rawRow) < 4: # Wtf is this print "Incorrect line: \"" + ','.join(rawRow) + "\"" print "At least 4 columns are expected" sys.exit(1) if (rawRow[2] not in ["module", "theme"]): # 3rd column incorrect print "Incorrect line: \"" + ','.join(rawRow) + "\"" print "3rd column has to be \"module\" or \"theme\", current value: " + rawRow[2] sys.exit(1) cleanData.append(rawRow) f.close() cleanData = sorted(cleanData, key=operator.itemgetter(2,3,0,1)) with open(languageCsvPath, 'wb') as f: currentPackage = "" writer = csv.writer(f, lineterminator='\n') for row in cleanData: rowPackage = row[2].capitalize() + " " + row[3] if rowPackage != currentPackage: if currentPackage != "": writer.writerow([]) currentPackage = rowPackage writer.writerow(["## " + currentPackage + " ##"]) writer.writerow(row) f.close()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 11748, 269, 21370, 11, 33918, 11, 10088, 11, 28686, 11, 25064, 198, 11748, 35555, 13, 316, 631, 13, 20180, 27660, 355, 12152, 198, 198, 785, 1930, 263, 41, 1559, 15235, 796, 705, 785, 1930, 263, 13, 17752, 6, 198, 16129, 55, 4029, 15235, 796, 705, 16129, 13, 19875, 6, 198, 198, 361, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 785, 1930, 263, 41, 1559, 15235, 2599, 198, 220, 1303, 9220, 857, 407, 7160, 198, 220, 3601, 366, 8979, 366, 1343, 26777, 41, 1559, 15235, 1343, 366, 407, 1043, 1, 198, 220, 25064, 13, 37023, 7, 16, 8, 198, 198, 361, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 16129, 55, 4029, 15235, 2599, 198, 220, 1303, 9220, 857, 407, 7160, 198, 220, 3601, 366, 8979, 366, 1343, 3303, 55, 4029, 15235, 1343, 366, 407, 1043, 1, 198, 220, 25064, 13, 37023, 7, 16, 8, 198, 198, 7753, 796, 1280, 7, 785, 1930, 263, 41, 1559, 15235, 11, 366, 81, 4943, 198, 785, 1930, 263, 41, 1559, 19746, 796, 2393, 13, 961, 3419, 198, 7753, 13, 19836, 3419, 198, 198, 785, 1930, 263, 6030, 6601, 796, 33918, 13, 46030, 7, 785, 1930, 263, 41, 1559, 19746, 8, 17816, 4906, 20520, 198, 361, 26777, 6030, 6601, 14512, 366, 19726, 50217, 17, 12, 16129, 1298, 198, 220, 1303, 632, 338, 407, 257, 3303, 5301, 198, 220, 3601, 366, 1212, 318, 407, 257, 3303, 5301, 11, 2099, 25, 366, 1343, 26777, 6030, 6601, 198, 220, 25064, 13, 37023, 7, 16, 8, 198, 198, 19875, 796, 12152, 13, 29572, 7, 16129, 55, 4029, 15235, 8, 198, 16129, 10669, 796, 35555, 13, 1136, 15763, 22446, 19796, 10786, 8189, 27691, 5239, 198, 198, 16129, 34, 21370, 15235, 796, 3303, 10669, 1343, 45302, 40664, 6, 198, 198, 361, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 16129, 34, 21370, 15235, 2599, 198, 220, 1303, 9220, 857, 407, 7160, 198, 220, 3601, 366, 8979, 366, 1343, 3303, 34, 21370, 15235, 1343, 366, 407, 1043, 1, 198, 220, 25064, 13, 37023, 7, 16, 8, 198, 198, 27773, 6601, 796, 17635, 198, 4480, 1280, 7, 16129, 34, 21370, 15235, 8, 355, 277, 25, 198, 220, 220, 220, 8246, 6601, 796, 269, 21370, 13, 46862, 7, 69, 11, 46728, 2676, 28, 3256, 11537, 198, 220, 220, 220, 329, 8246, 25166, 287, 8246, 6601, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 1831, 25166, 8, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 33523, 1627, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 26, 198, 220, 220, 220, 220, 220, 220, 220, 611, 8246, 25166, 58, 15, 7131, 25, 16, 60, 6624, 25113, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 955, 12061, 1627, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 26, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 1831, 25166, 8, 1279, 604, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 370, 27110, 318, 428, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 818, 30283, 1627, 25, 3467, 15931, 1343, 705, 4032, 13, 22179, 7, 1831, 25166, 8, 1343, 366, 7879, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 2953, 1551, 604, 15180, 389, 2938, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 1831, 25166, 58, 17, 60, 407, 287, 14631, 21412, 1600, 366, 43810, 8973, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 513, 4372, 5721, 11491, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 818, 30283, 1627, 25, 3467, 15931, 1343, 705, 4032, 13, 22179, 7, 1831, 25166, 8, 1343, 366, 7879, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 18, 4372, 5721, 468, 284, 307, 19990, 21412, 7879, 393, 19990, 43810, 34607, 1459, 1988, 25, 366, 1343, 8246, 25166, 58, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3424, 6601, 13, 33295, 7, 1831, 25166, 8, 198, 220, 220, 220, 277, 13, 19836, 3419, 198, 198, 27773, 6601, 796, 23243, 7, 27773, 6601, 11, 1994, 28, 46616, 13, 9186, 1136, 353, 7, 17, 11, 18, 11, 15, 11, 16, 4008, 198, 198, 4480, 1280, 7, 16129, 34, 21370, 15235, 11, 705, 39346, 11537, 355, 277, 25, 198, 220, 220, 220, 1459, 27813, 796, 13538, 198, 220, 220, 220, 6260, 796, 269, 21370, 13, 16002, 7, 69, 11, 9493, 13221, 1352, 11639, 59, 77, 11537, 198, 220, 220, 220, 329, 5752, 287, 3424, 6601, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5752, 27813, 796, 5752, 58, 17, 4083, 27544, 1096, 3419, 1343, 366, 366, 1343, 5752, 58, 18, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5752, 27813, 14512, 1459, 27813, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1459, 27813, 14512, 366, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6260, 13, 16002, 322, 26933, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 27813, 796, 5752, 27813, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6260, 13, 16002, 322, 7, 14692, 2235, 366, 1343, 1459, 27813, 1343, 366, 22492, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6260, 13, 16002, 322, 7, 808, 8, 198, 220, 220, 220, 277, 13, 19836, 3419, 198 ]
2.333333
978
"""This module contains a representation of an action in the game Dvonn.""" from mopy.action import Action from enum import Enum
[ 37811, 1212, 8265, 4909, 257, 10552, 286, 281, 2223, 287, 262, 983, 360, 26982, 77, 526, 15931, 201, 198, 201, 198, 6738, 285, 11081, 13, 2673, 1330, 7561, 201, 198, 6738, 33829, 1330, 2039, 388, 201, 198, 201, 198 ]
3.487179
39
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #TOFILL if __name__ == '__main__': param = [ (23,16,16,), (56,95,6,), (30,63,1,), (51,89,46,), (21,99,38,), (69,63,50,), (12,69,73,), (44,52,9,), (99,65,10,), (46,58,37,) ] n_success = 0 for i, parameters_set in enumerate(param): if f_filled(*parameters_set) == f_gold(*parameters_set): n_success+=1 print("#Results: %i, %i" % (n_success, len(param)))
[ 2, 15069, 357, 66, 8, 13130, 12, 25579, 11, 3203, 11, 3457, 13, 198, 2, 1439, 2489, 10395, 13, 198, 2, 198, 2, 770, 2723, 2438, 318, 11971, 739, 262, 5964, 1043, 287, 262, 198, 2, 38559, 24290, 2393, 287, 262, 6808, 8619, 286, 428, 2723, 5509, 13, 198, 2, 628, 198, 2, 10468, 37, 8267, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 5772, 796, 685, 198, 220, 220, 220, 357, 1954, 11, 1433, 11, 1433, 11, 828, 198, 220, 220, 220, 357, 3980, 11, 3865, 11, 21, 11, 828, 198, 220, 220, 220, 357, 1270, 11, 5066, 11, 16, 11, 828, 198, 220, 220, 220, 357, 4349, 11, 4531, 11, 3510, 11, 828, 198, 220, 220, 220, 357, 2481, 11, 2079, 11, 2548, 11, 828, 198, 220, 220, 220, 357, 3388, 11, 5066, 11, 1120, 11, 828, 198, 220, 220, 220, 357, 1065, 11, 3388, 11, 4790, 11, 828, 198, 220, 220, 220, 357, 2598, 11, 4309, 11, 24, 11, 828, 198, 220, 220, 220, 357, 2079, 11, 2996, 11, 940, 11, 828, 198, 220, 220, 220, 357, 3510, 11, 3365, 11, 2718, 35751, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 299, 62, 13138, 796, 657, 198, 220, 220, 220, 329, 1312, 11, 10007, 62, 2617, 287, 27056, 378, 7, 17143, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 277, 62, 20286, 46491, 17143, 7307, 62, 2617, 8, 6624, 277, 62, 24267, 46491, 17143, 7307, 62, 2617, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 13138, 47932, 16, 198, 220, 220, 220, 3601, 7203, 2, 25468, 25, 4064, 72, 11, 4064, 72, 1, 4064, 357, 77, 62, 13138, 11, 18896, 7, 17143, 22305 ]
2.114094
298
from operator import mul from functools import reduce print(reduce(mul, reduce(overlap, [prime_factors(x) for x in range(1, 21)])))
[ 6738, 10088, 1330, 35971, 198, 6738, 1257, 310, 10141, 1330, 4646, 198, 198, 4798, 7, 445, 7234, 7, 76, 377, 11, 4646, 7, 2502, 37796, 11, 685, 35505, 62, 22584, 669, 7, 87, 8, 329, 2124, 287, 2837, 7, 16, 11, 2310, 15437, 22305, 198 ]
2.955556
45
#!/usr/bin/env python # ./mkimage.sh --tag m1 m1.py from __future__ import absolute_import, division, print_function import os import shutil import subprocess import sys files=[ '/usr/bin/bash', '/usr/bin/ls', ] os.chdir(sys.argv[1]) os.umask(0o22) for d in ( 'etc', 'tmp', 'var/tmp', 'usr/bin', 'usr/lib', 'usr/lib64', 'usr/sbin', ): os.makedirs(d, mode=0o777) for s in ('bin', 'lib', 'lib64', 'sbin'): os.symlink('usr/' + s, s) libs=set() for p in files: _copy(p) try: for l in subprocess.check_output(['ldd', p]).split(): if l.startswith('/'): libs.add(l) except Exception as e: print(e) for l in libs: _copy(l)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 24457, 28015, 9060, 13, 1477, 1377, 12985, 285, 16, 285, 16, 13, 9078, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 198, 11748, 28686, 198, 11748, 4423, 346, 198, 11748, 850, 14681, 198, 11748, 25064, 198, 198, 16624, 41888, 198, 220, 220, 220, 31051, 14629, 14, 8800, 14, 41757, 3256, 198, 220, 220, 220, 31051, 14629, 14, 8800, 14, 7278, 3256, 198, 60, 198, 418, 13, 354, 15908, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 418, 13, 388, 2093, 7, 15, 78, 1828, 8, 198, 198, 1640, 288, 287, 357, 198, 220, 220, 220, 705, 14784, 3256, 198, 220, 220, 220, 705, 22065, 3256, 198, 220, 220, 220, 705, 7785, 14, 22065, 3256, 198, 220, 220, 220, 705, 14629, 14, 8800, 3256, 198, 220, 220, 220, 705, 14629, 14, 8019, 3256, 198, 220, 220, 220, 705, 14629, 14, 8019, 2414, 3256, 198, 220, 220, 220, 705, 14629, 14, 82, 8800, 3256, 198, 2599, 198, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 67, 11, 4235, 28, 15, 78, 29331, 8, 198, 198, 1640, 264, 287, 19203, 8800, 3256, 705, 8019, 3256, 705, 8019, 2414, 3256, 705, 82, 8800, 6, 2599, 198, 220, 220, 220, 28686, 13, 1837, 4029, 676, 10786, 14629, 14, 6, 1343, 264, 11, 264, 8, 198, 198, 8019, 82, 28, 2617, 3419, 198, 1640, 279, 287, 3696, 25, 198, 220, 220, 220, 4808, 30073, 7, 79, 8, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 300, 287, 850, 14681, 13, 9122, 62, 22915, 7, 17816, 335, 67, 3256, 279, 35944, 35312, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 300, 13, 9688, 2032, 342, 10786, 14, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9195, 82, 13, 2860, 7, 75, 8, 198, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 68, 8, 198, 198, 1640, 300, 287, 9195, 82, 25, 198, 220, 220, 220, 4808, 30073, 7, 75, 8, 198 ]
1.975477
367
import pandas as pd df_wine = pd.read_csv('../data/wine.data', header=None) df_wine.columns = [ 'Class label', 'Alcohol', 'Malic acid', 'Ash', 'Alcalinity of ash', 'Magnesium', 'TOtal phenols', 'Flavanoids', 'Nonflavanoid phenols', 'Proanthocyanins', 'Color intensity', 'Hue', 'OD280/OD315 of diluted wines', 'Proline' ] df_wine = df_wine[df_wine['Class label'] != 1] y = df_wine['Class label'].values X = df_wine[['Alcohol', 'Hue']].values from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split le = LabelEncoder() y = le.fit_transform(y) X_train, X_test, y_train, y_test = train_test_split( X, y, test_size=0.40, random_state=1 ) from sklearn.ensemble import BaggingClassifier from sklearn.tree import DecisionTreeClassifier tree = DecisionTreeClassifier(criterion="entropy", max_depth=None, random_state=1) bag = BaggingClassifier( base_estimator=tree, n_estimators=500, max_samples=1.0, max_features=1.0, bootstrap=True, bootstrap_features=False, n_jobs=1, random_state=1 ) from sklearn.metrics import accuracy_score tree = tree.fit(X_train, y_train) y_train_pred = tree.predict(X_train) y_test_pred = tree.predict(X_test) tree_train = accuracy_score(y_train, y_train_pred) tree_test = accuracy_score(y_test, y_test_pred) print('Decision tree train/test accuracies %.3f/%.3f' % (tree_train, tree_test)) bag = bag.fit(X_train, y_train) y_train_pred = bag.predict(X_train) y_test_pred = bag.predict(X_test) bag_train = accuracy_score(y_train, y_train_pred) bag_test = accuracy_score(y_test, y_test_pred) print('Bagging train/test accuracies %.3f/%.3f' % (bag_train, bag_test)) import numpy as np x_min = X_train[:, 0].min() - 1 x_max = X_train[:, 0].max() + 1 y_min = X_train[:, 1].min() - 1 y_max = X_train[:, 1].max() + 1 xx, yy = np.meshgrid(np.arange(x_min, x_max, 0.1), np.arange(y_min, y_max, 0.1)) import matplotlib.pyplot as plt f, axarr = plt.subplots( nrows=1, ncols=2, sharex='col', sharey='row', figsize=(8,3) ) for idx, clf, tt in zip([0, 1], [tree, bag], ['Decision Tree', 'Bagging']): clf.fit(X_train, y_train) Z = clf.predict(np.c_[xx.ravel(), yy.ravel()]) Z = Z.reshape(xx.shape) axarr[idx].contourf(xx, yy, Z, alpha=0.3) axarr[idx].scatter( X_train[y_train==0, 0], X_train[y_train==0, 1], c='blue', marker='^' ) axarr[idx].scatter( X_train[y_train==1, 0], X_train[y_train==1, 1], c='red', marker='o' ) axarr[idx].set_title(tt) axarr[0].set_ylabel('Alcohol', fontsize=12) plt.text( 10.2, -0.7, s='Hue', ha='center', va='center', fontsize=12 ) plt.show()
[ 11748, 19798, 292, 355, 279, 67, 198, 7568, 62, 39002, 796, 279, 67, 13, 961, 62, 40664, 10786, 40720, 7890, 14, 39002, 13, 7890, 3256, 13639, 28, 14202, 8, 198, 7568, 62, 39002, 13, 28665, 82, 796, 685, 198, 220, 220, 220, 705, 9487, 6167, 3256, 705, 2348, 4857, 3256, 705, 15029, 291, 7408, 3256, 705, 26754, 3256, 705, 2348, 9948, 6269, 286, 12530, 3256, 198, 220, 220, 220, 705, 13436, 27619, 3256, 705, 10468, 39240, 6566, 10220, 3256, 705, 7414, 12421, 10994, 3256, 705, 15419, 2704, 12421, 1868, 6566, 10220, 3256, 198, 220, 220, 220, 705, 2964, 29313, 420, 4121, 1040, 3256, 705, 10258, 12245, 3256, 705, 39, 518, 3256, 198, 220, 220, 220, 705, 3727, 21033, 14, 3727, 27936, 286, 37936, 30680, 3256, 705, 2964, 1370, 6, 198, 60, 198, 7568, 62, 39002, 796, 47764, 62, 39002, 58, 7568, 62, 39002, 17816, 9487, 6167, 20520, 14512, 352, 60, 198, 88, 796, 47764, 62, 39002, 17816, 9487, 6167, 6, 4083, 27160, 198, 55, 796, 47764, 62, 39002, 58, 17816, 2348, 4857, 3256, 705, 39, 518, 20520, 4083, 27160, 198, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 36052, 27195, 12342, 198, 6738, 1341, 35720, 13, 19849, 62, 49283, 1330, 4512, 62, 9288, 62, 35312, 198, 293, 796, 36052, 27195, 12342, 3419, 198, 88, 796, 443, 13, 11147, 62, 35636, 7, 88, 8, 198, 55, 62, 27432, 11, 1395, 62, 9288, 11, 331, 62, 27432, 11, 331, 62, 9288, 796, 4512, 62, 9288, 62, 35312, 7, 198, 220, 220, 220, 1395, 11, 331, 11, 1332, 62, 7857, 28, 15, 13, 1821, 11, 4738, 62, 5219, 28, 16, 198, 8, 198, 198, 6738, 1341, 35720, 13, 1072, 11306, 1330, 347, 16406, 9487, 7483, 198, 6738, 1341, 35720, 13, 21048, 1330, 26423, 27660, 9487, 7483, 198, 21048, 796, 26423, 27660, 9487, 7483, 7, 22213, 28019, 2625, 298, 28338, 1600, 3509, 62, 18053, 28, 14202, 11, 4738, 62, 5219, 28, 16, 8, 198, 21454, 796, 347, 16406, 9487, 7483, 7, 198, 220, 220, 220, 2779, 62, 395, 320, 1352, 28, 21048, 11, 299, 62, 395, 320, 2024, 28, 4059, 11, 3509, 62, 82, 12629, 28, 16, 13, 15, 11, 3509, 62, 40890, 28, 16, 13, 15, 11, 198, 220, 220, 220, 6297, 26418, 28, 17821, 11, 6297, 26418, 62, 40890, 28, 25101, 11, 299, 62, 43863, 28, 16, 11, 4738, 62, 5219, 28, 16, 198, 8, 198, 198, 6738, 1341, 35720, 13, 4164, 10466, 1330, 9922, 62, 26675, 198, 21048, 796, 5509, 13, 11147, 7, 55, 62, 27432, 11, 331, 62, 27432, 8, 198, 88, 62, 27432, 62, 28764, 796, 5509, 13, 79, 17407, 7, 55, 62, 27432, 8, 198, 88, 62, 9288, 62, 28764, 796, 5509, 13, 79, 17407, 7, 55, 62, 9288, 8, 198, 21048, 62, 27432, 796, 9922, 62, 26675, 7, 88, 62, 27432, 11, 331, 62, 27432, 62, 28764, 8, 198, 21048, 62, 9288, 796, 9922, 62, 26675, 7, 88, 62, 9288, 11, 331, 62, 9288, 62, 28764, 8, 198, 4798, 10786, 10707, 1166, 5509, 4512, 14, 9288, 4431, 13433, 4064, 13, 18, 69, 14, 7225, 18, 69, 6, 4064, 357, 21048, 62, 27432, 11, 5509, 62, 9288, 4008, 198, 198, 21454, 796, 6131, 13, 11147, 7, 55, 62, 27432, 11, 331, 62, 27432, 8, 198, 88, 62, 27432, 62, 28764, 796, 6131, 13, 79, 17407, 7, 55, 62, 27432, 8, 198, 88, 62, 9288, 62, 28764, 796, 6131, 13, 79, 17407, 7, 55, 62, 9288, 8, 198, 21454, 62, 27432, 796, 9922, 62, 26675, 7, 88, 62, 27432, 11, 331, 62, 27432, 62, 28764, 8, 198, 21454, 62, 9288, 796, 9922, 62, 26675, 7, 88, 62, 9288, 11, 331, 62, 9288, 62, 28764, 8, 198, 4798, 10786, 33, 16406, 4512, 14, 9288, 4431, 13433, 4064, 13, 18, 69, 14, 7225, 18, 69, 6, 4064, 357, 21454, 62, 27432, 11, 6131, 62, 9288, 4008, 198, 198, 11748, 299, 32152, 355, 45941, 198, 87, 62, 1084, 796, 1395, 62, 27432, 58, 45299, 657, 4083, 1084, 3419, 532, 352, 198, 87, 62, 9806, 796, 1395, 62, 27432, 58, 45299, 657, 4083, 9806, 3419, 1343, 352, 198, 88, 62, 1084, 796, 1395, 62, 27432, 58, 45299, 352, 4083, 1084, 3419, 532, 352, 198, 88, 62, 9806, 796, 1395, 62, 27432, 58, 45299, 352, 4083, 9806, 3419, 1343, 352, 198, 5324, 11, 331, 88, 796, 45941, 13, 76, 5069, 25928, 7, 37659, 13, 283, 858, 7, 87, 62, 1084, 11, 2124, 62, 9806, 11, 657, 13, 16, 828, 45941, 13, 283, 858, 7, 88, 62, 1084, 11, 331, 62, 9806, 11, 657, 13, 16, 4008, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 69, 11, 7877, 3258, 796, 458, 83, 13, 7266, 489, 1747, 7, 198, 220, 220, 220, 299, 8516, 28, 16, 11, 299, 4033, 82, 28, 17, 11, 2648, 87, 11639, 4033, 3256, 2648, 88, 11639, 808, 3256, 2336, 7857, 16193, 23, 11, 18, 8, 198, 8, 198, 1640, 4686, 87, 11, 537, 69, 11, 256, 83, 287, 19974, 26933, 15, 11, 352, 4357, 685, 21048, 11, 6131, 4357, 37250, 10707, 1166, 12200, 3256, 705, 33, 16406, 20520, 2599, 198, 220, 220, 220, 537, 69, 13, 11147, 7, 55, 62, 27432, 11, 331, 62, 27432, 8, 198, 220, 220, 220, 1168, 796, 537, 69, 13, 79, 17407, 7, 37659, 13, 66, 62, 58, 5324, 13, 25843, 22784, 331, 88, 13, 25843, 3419, 12962, 198, 220, 220, 220, 1168, 796, 1168, 13, 3447, 1758, 7, 5324, 13, 43358, 8, 198, 220, 220, 220, 7877, 3258, 58, 312, 87, 4083, 3642, 454, 69, 7, 5324, 11, 331, 88, 11, 1168, 11, 17130, 28, 15, 13, 18, 8, 198, 220, 220, 220, 7877, 3258, 58, 312, 87, 4083, 1416, 1436, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1395, 62, 27432, 58, 88, 62, 27432, 855, 15, 11, 657, 4357, 1395, 62, 27432, 58, 88, 62, 27432, 855, 15, 11, 352, 4357, 269, 11639, 17585, 3256, 18364, 11639, 61, 6, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 7877, 3258, 58, 312, 87, 4083, 1416, 1436, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1395, 62, 27432, 58, 88, 62, 27432, 855, 16, 11, 657, 4357, 1395, 62, 27432, 58, 88, 62, 27432, 855, 16, 11, 352, 4357, 269, 11639, 445, 3256, 18364, 11639, 78, 6, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 7877, 3258, 58, 312, 87, 4083, 2617, 62, 7839, 7, 926, 8, 198, 897, 3258, 58, 15, 4083, 2617, 62, 2645, 9608, 10786, 2348, 4857, 3256, 10369, 7857, 28, 1065, 8, 198, 489, 83, 13, 5239, 7, 198, 220, 220, 220, 838, 13, 17, 11, 532, 15, 13, 22, 11, 264, 11639, 39, 518, 3256, 387, 11639, 16159, 3256, 46935, 11639, 16159, 3256, 10369, 7857, 28, 1065, 198, 8, 198, 489, 83, 13, 12860, 3419 ]
2.324132
1,123
from django.shortcuts import render # Create your views here. from rest_framework.generics import CreateAPIView from scraping.serializers import EmployeeSerializer
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 198, 2, 13610, 534, 5009, 994, 13, 198, 6738, 1334, 62, 30604, 13, 8612, 873, 1330, 13610, 2969, 3824, 769, 198, 198, 6738, 46743, 13, 46911, 11341, 1330, 36824, 32634, 7509, 628 ]
4.073171
41
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 18 11:15:09 2019 @author: panyongyi """ #!/usr/bin/env python3 # Suggestion: Do not import the ev3dev.ev3 module in this file import json import paho.mqtt.client as mqtt import uuid import time from planet import Planet, Direction class Communication: """ Class to hold the MQTT client Feel free to add functions, change the constructor and the example send_message() to satisfy your requirements and thereby solve the task according to the specifications """ def __init__(self, mqtt_client): """ Initializes communication module, connect to server, subscribe, etc. """ # THESE TWO VARIABLES MUST NOT BE CHANGED self.client = mqtt_client self.client.on_message = self.on_message # ADD YOUR VARIABLES HERE # Basic configuration of MQTT # Wichtig? self.client.on_message = self.on_message_excepthandler self.client.username_pw_set('118', password='LQR2AabmwY') # Your group credentials self.client.connect('mothership.inf.tu-dresden.de', port=8883) self.client.subscribe('explorer/118', qos=1) # Subscribe to topic explorer/xxx # self.send_ready() # Start listening to incoming messages self.client.loop_start() #self.timer() self.planet = Planet() #Parameter: self.data = None self.topic = "explorer/118" self.planet_Chan = None self.aktX = None self.aktY = None self.direc = None # this is a helper method that catches errors and prints them # it is necessary because on_message is called by paho-mqtt in a different thread and exceptions # are not handled in that thread # # you don't need to change this method at all # THIS FUNCTIONS SIGNATURE MUST NOT BE CHANGED def on_message(self, client, data, message): """ Handles the callback if any message arrived """ print('Got message with topic "{}":'.format(message.topic)) data = json.loads(message.payload.decode('utf-8')) print(json.dumps(data, indent=2)) print('\n') self.data = data self.typ_Entsch() #self.timer() #Timer: jede 2 Sekunden warten: client = mqtt.Client(client_id=str(uuid.uuid4()), # client_id has to be unique among ALL users clean_session=False, protocol=mqtt.MQTTv31) com = Communication(client) com.send_ready() com.timer() #com.send_test() #com.timer() com.pruefDaten() com.timer() com.pruefDaten2() com.timer() com.pruefDaten3() com.timer() com.pruefDaten4() com.timer() com.pruefDaten5() com.timer() node = {(17,38):[(Direction.NORTH, -2), (Direction.WEST, -2), (Direction.EAST, -1)]} com.pathSelect(node) com.timer() ''' t0 = time.time() while (time.time()-t0) < 2: pass print("neue Message kommt!") com.pruefDaten() while (time.time()-t0) < 2: pass print("neue Message kommt!") '''
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 2892, 1526, 1248, 1367, 25, 1314, 25, 2931, 13130, 198, 198, 31, 9800, 25, 279, 1092, 506, 48111, 198, 37811, 198, 198, 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 2, 35042, 295, 25, 2141, 407, 1330, 262, 819, 18, 7959, 13, 1990, 18, 8265, 287, 428, 2393, 198, 11748, 33918, 198, 11748, 279, 17108, 13, 76, 80, 926, 13, 16366, 355, 285, 80, 926, 198, 11748, 334, 27112, 198, 11748, 640, 198, 6738, 5440, 1330, 11397, 11, 41837, 628, 198, 198, 4871, 26117, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5016, 284, 1745, 262, 337, 48, 15751, 5456, 198, 220, 220, 220, 220, 220, 220, 220, 18571, 1479, 284, 751, 5499, 11, 1487, 262, 23772, 290, 262, 1672, 3758, 62, 20500, 3419, 284, 15959, 534, 5359, 290, 12839, 8494, 262, 4876, 1864, 284, 262, 20640, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 285, 80, 926, 62, 16366, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 20768, 4340, 6946, 8265, 11, 2018, 284, 4382, 11, 12383, 11, 3503, 13, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 48947, 35288, 569, 1503, 3539, 9148, 1546, 17191, 5626, 9348, 5870, 15567, 1961, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 796, 285, 80, 926, 62, 16366, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 261, 62, 20500, 796, 2116, 13, 261, 62, 20500, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 27841, 16592, 569, 1503, 3539, 9148, 1546, 15698, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 14392, 8398, 286, 337, 48, 15751, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 370, 30830, 328, 30, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 261, 62, 20500, 796, 2116, 13, 261, 62, 20500, 62, 1069, 344, 79, 400, 392, 1754, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 29460, 62, 79, 86, 62, 2617, 10786, 16817, 3256, 9206, 11639, 43, 48, 49, 17, 32, 397, 76, 86, 56, 11537, 1303, 3406, 1448, 18031, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 8443, 10786, 13552, 6720, 13, 10745, 13, 28047, 12, 67, 411, 6559, 13, 2934, 3256, 2493, 28, 3459, 5999, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 7266, 12522, 10786, 20676, 11934, 14, 16817, 3256, 10662, 418, 28, 16, 8, 1303, 19808, 284, 7243, 39349, 14, 31811, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 21280, 62, 1493, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7253, 8680, 284, 15619, 6218, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16366, 13, 26268, 62, 9688, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 944, 13, 45016, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 47427, 796, 11397, 3419, 628, 628, 220, 220, 220, 1303, 36301, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 7890, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26652, 796, 366, 20676, 11934, 14, 16817, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 47427, 62, 48407, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 461, 83, 55, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 461, 83, 56, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 67, 557, 66, 796, 6045, 628, 628, 220, 220, 220, 1303, 428, 318, 257, 31904, 2446, 326, 17591, 8563, 290, 20842, 606, 198, 220, 220, 220, 1303, 340, 318, 3306, 780, 319, 62, 20500, 318, 1444, 416, 279, 17108, 12, 76, 80, 926, 287, 257, 1180, 4704, 290, 13269, 198, 220, 220, 220, 1303, 389, 407, 12118, 287, 326, 4704, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 345, 836, 470, 761, 284, 1487, 428, 2446, 379, 477, 628, 198, 220, 220, 220, 1303, 12680, 29397, 4177, 11053, 36771, 40086, 17191, 5626, 9348, 5870, 15567, 1961, 198, 220, 220, 220, 825, 319, 62, 20500, 7, 944, 11, 5456, 11, 1366, 11, 3275, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 7157, 829, 262, 23838, 611, 597, 3275, 5284, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 30074, 3275, 351, 7243, 45144, 92, 1298, 4458, 18982, 7, 20500, 13, 26652, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 33918, 13, 46030, 7, 20500, 13, 15577, 2220, 13, 12501, 1098, 10786, 40477, 12, 23, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 17752, 13, 67, 8142, 7, 7890, 11, 33793, 28, 17, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 59, 77, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 7890, 796, 1366, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 28004, 62, 14539, 20601, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 944, 13, 45016, 3419, 628, 220, 220, 220, 1303, 48801, 25, 474, 18654, 362, 37558, 917, 268, 266, 23996, 25, 628, 628, 628, 628, 628, 198, 16366, 796, 285, 80, 926, 13, 11792, 7, 16366, 62, 312, 28, 2536, 7, 12303, 312, 13, 12303, 312, 19, 3419, 828, 220, 1303, 5456, 62, 312, 468, 284, 307, 3748, 1871, 11096, 2985, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3424, 62, 29891, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8435, 28, 76, 80, 926, 13, 49215, 15751, 85, 3132, 8, 198, 198, 785, 796, 26117, 7, 16366, 8, 198, 785, 13, 21280, 62, 1493, 3419, 198, 785, 13, 45016, 3419, 198, 2, 785, 13, 21280, 62, 9288, 3419, 198, 2, 785, 13, 45016, 3419, 628, 198, 785, 13, 1050, 518, 69, 27354, 268, 3419, 198, 785, 13, 45016, 3419, 198, 785, 13, 1050, 518, 69, 27354, 268, 17, 3419, 198, 785, 13, 45016, 3419, 198, 785, 13, 1050, 518, 69, 27354, 268, 18, 3419, 198, 785, 13, 45016, 3419, 198, 785, 13, 1050, 518, 69, 27354, 268, 19, 3419, 198, 785, 13, 45016, 3419, 198, 785, 13, 1050, 518, 69, 27354, 268, 20, 3419, 198, 785, 13, 45016, 3419, 198, 198, 17440, 796, 1391, 7, 1558, 11, 2548, 2599, 58, 7, 35, 4154, 13, 35510, 4221, 11, 532, 17, 828, 357, 35, 4154, 13, 54, 6465, 11, 532, 17, 828, 357, 35, 4154, 13, 36, 11262, 11, 532, 16, 15437, 92, 198, 785, 13, 6978, 17563, 7, 17440, 8, 198, 785, 13, 45016, 3419, 628, 198, 198, 7061, 6, 198, 83, 15, 796, 640, 13, 2435, 3419, 198, 4514, 357, 2435, 13, 2435, 3419, 12, 83, 15, 8, 1279, 362, 25, 198, 220, 220, 220, 1208, 198, 4798, 7203, 710, 518, 16000, 479, 2002, 83, 2474, 8, 198, 785, 13, 1050, 518, 69, 27354, 268, 3419, 198, 4514, 357, 2435, 13, 2435, 3419, 12, 83, 15, 8, 1279, 362, 25, 198, 220, 220, 220, 1208, 198, 4798, 7203, 710, 518, 16000, 479, 2002, 83, 2474, 8, 198, 7061, 6, 198 ]
2.42446
1,251
# Generated by Django 3.2.7 on 2021-09-09 18:23 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 17, 13, 22, 319, 33448, 12, 2931, 12, 2931, 1248, 25, 1954, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from caffe2.python import core import caffe2.python.hypothesis_test_util as hu from hypothesis import given, settings import caffe2.python.serialized_test.serialized_test_util as serial import hypothesis.strategies as st import numpy as np import unittest if __name__ == "__main__": unittest.main()
[ 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, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 21121, 17, 13, 29412, 1330, 4755, 198, 11748, 21121, 17, 13, 29412, 13, 36362, 313, 8497, 62, 9288, 62, 22602, 355, 289, 84, 198, 6738, 14078, 1330, 1813, 11, 6460, 198, 11748, 21121, 17, 13, 29412, 13, 46911, 1143, 62, 9288, 13, 46911, 1143, 62, 9288, 62, 22602, 355, 11389, 198, 11748, 14078, 13, 2536, 2397, 444, 355, 336, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 555, 715, 395, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
3.454545
132
import copy import json import os from pathlib import Path import pystache from PyQt5 import QtCore, QtGui, QtWidgets from gear_builder_gui.config_dialog import config_dialog from gear_builder_gui.input_dialog import input_dialog class Manifest: """ A class to manage the manifest of a gear TODO: Include the flywheel gear toolkit manifest class """ def __init__(self, main_window): """ Initialize manifest. Args: main_window (GearBuilderGUI): The instantiated main window. """ self.main_window = main_window self.ui = main_window.ui # Initialize "input" Section self.ui.cmbo_inputs.currentIndexChanged.connect(self.update_tooltip) self.ui.btn_input_add.clicked.connect(self.add_input) self.ui.btn_input_edit.clicked.connect(self.edit_input) self.ui.btn_input_delete.clicked.connect(self.delete_input) # Initialize "config" Section self.ui.cmbo_config.currentIndexChanged.connect(self.update_tooltip) self.ui.btn_config_add.clicked.connect(self.add_config) self.ui.btn_config_edit.clicked.connect(self.edit_config) self.ui.btn_config_delete.clicked.connect(self.delete_config) # Disable edit/delete buttons on default: self.ui.btn_input_edit.setEnabled(False) self.ui.btn_input_delete.setEnabled(False) self.ui.btn_config_edit.setEnabled(False) self.ui.btn_config_delete.setEnabled(False) # Save/load functionality self.ui.btn_load_manifest.clicked.connect(self.load_manifest_from_file) self.ui.btn_save_manifest.clicked.connect(self.save_manifest) # connect to docker "maintainer" and validators self.ui.txt_maintainer.textChanged.connect(self.update_maintainers) self.init_validators() # initialize a manifest object self.manifest = main_window.gear_def["manifest"] def update_maintainers(self): """ Coordinate the maintainer text across Dockerfile and manifest. """ if self.ui.txt_maintainer.text() is not self.ui.txt_maintainer_2.text(): self.ui.txt_maintainer_2.setText(self.ui.txt_maintainer.text()) # Add functionality to the input add/edit/deleted buttons def add_input(self): """ Add input to the input combo box through input dialog """ dialog = input_dialog() name, data = dialog.get_data() if name is not None: self.ui.cmbo_inputs.addItem(name, userData=data) self.ui.btn_input_edit.setEnabled(True) self.ui.btn_input_delete.setEnabled(True) def edit_input(self): """ Edit input through input dialog """ obj = self.ui.cmbo_inputs name = obj.currentText() data = obj.currentData() dialog = input_dialog() name_upd, data = dialog.get_data(cbo_val=(name, data)) if name_upd is not None: i = obj.findText(name) obj.setItemText(i, name_upd) obj.setItemData(i, data) def delete_input(self): """ Delete selected input object from the input combo """ i = self.ui.cmbo_inputs.currentIndex() self.ui.cmbo_inputs.removeItem(i) if self.ui.cmbo_inputs.count() == 0: self.ui.btn_input_edit.setEnabled(False) self.ui.btn_input_delete.setEnabled(False) def update_tooltip(self): """ Update tooltip of config/input combo box item. """ sender = self.main_window.sender() if "inputs" in sender.objectName(): cbo_obj = self.ui.cmbo_inputs elif "config" in sender.objectName(): cbo_obj = self.ui.cmbo_config else: cbo_obj = None if cbo_obj: cbo_name = cbo_obj.currentText() cbo_data = cbo_obj.currentData() tool_tip_text = "" for k, v in cbo_data.items(): tool_tip_text += k + ": " + str(v) + "\n" cbo_obj.setToolTip(tool_tip_text) def add_config(self): """ Add a config object to the config combo box through the config dialog. """ dialog = config_dialog() name, data = dialog.get_data() if name is not None: self.ui.cmbo_config.addItem(name, userData=data) self.ui.btn_config_edit.setEnabled(True) self.ui.btn_config_delete.setEnabled(True) def edit_config(self): """ Edit selected config object through the config dialog. """ obj = self.ui.cmbo_config name = obj.currentText() data = obj.currentData() dialog = config_dialog() name_upd, data = dialog.get_data(cbo_val=(name, data)) if name_upd is not None: i = obj.findText(name) obj.setItemText(i, name_upd) obj.setItemData(i, data) def delete_config(self): """ Delete selected config object from the config combo """ i = self.ui.cmbo_config.currentIndex() self.ui.cmbo_config.removeItem(i) if self.ui.cmbo_config.count() == 0: self.ui.btn_config_edit.setEnabled(False) self.ui.btn_config_delete.setEnabled(False) def _update_manifest_from_form(self): """ Update the manifest dictionary from the contents of the manifest tab. This will perserve any items in the self.manifest dictionary not referenced by the form. TODO: I want to implement a _update_form_from_manifest function. """ manifest = {} # Required keys all manifests have keys = [ "name", "label", "description", "author", "maintainer", "license", "url", "source", "cite", "version", ] for key in keys: text_obj = eval("self.ui.txt_" + key) text_type = type(eval("self.ui.txt_" + key)) if text_type == QtWidgets.QPlainTextEdit: text_value = text_obj.toPlainText() elif text_type == QtWidgets.QComboBox: text_value = text_obj.currentText() else: text_value = text_obj.text() manifest[key] = text_value # Build Custom section custom = {} custom["docker-image"] = ( "flywheel/" + manifest["name"] + ":" + manifest["version"] ) gear_builder = {} # gear category on radio button if self.ui.rdo_analysis.isChecked(): gear_builder["category"] = "analysis" else: gear_builder["category"] = "converter" gear_builder["image"] = custom["docker-image"] custom["gear-builder"] = gear_builder # if "suite" if self.ui.chk_flywheel.isChecked(): flywheel = {} flywheel["suite"] = self.ui.txt_suite.text() custom["flywheel"] = flywheel manifest["custom"] = custom # Build inputs section # Each input item consists of the text (key) of a combo box and # specifically constructed data (a dictionary). inputs = {} cbo_obj = self.ui.cmbo_inputs for i in range(cbo_obj.count()): inputs[cbo_obj.itemText(i)] = cbo_obj.itemData(i) manifest["inputs"] = inputs # Build config section # Each config item consists of the text (key) of a combo box and # specifically constructed data (a dictionary). config = {} cbo_obj = self.ui.cmbo_config for i in range(cbo_obj.count()): config[cbo_obj.itemText(i)] = cbo_obj.itemData(i) manifest["config"] = config # The command manifest["command"] = "/flywheel/v0/run.py" # Using an "update" here instead of a total replace preserves items that may # have been loaded. self.manifest.update(manifest) def load_manifest_from_file(self): """ Load manifest from file. """ manifest_file = QtWidgets.QFileDialog.getOpenFileName( self.main_window, "Select manifest.json to load.", filter="manifest.json" ) # TODO: Should I warn about replacement of all manifest values? if len(manifest_file[0]) > 0: with open(manifest_file[0], "r") as manifest_raw: manifest = json.load(manifest_raw) self.manifest.clear() self.manifest.update(manifest) self._update_form_from_manifest() def _update_form_from_manifest(self): """ Update form values from stored manifest. """ # NOTE: This would be a good place to warn if the loaded manifest was invalid # Required manifest keys: keys = [ "name", "label", "description", "author", "maintainer", "license", "url", "source", "cite", "version", ] try: for key in keys: text_obj = eval("self.ui.txt_" + key) text_type = type(eval("self.ui.txt_" + key)) if self.manifest.get(key): text_value = self.manifest[key] else: text_value = "" if text_type == QtWidgets.QPlainTextEdit: text_value = text_obj.setPlainText(text_value) elif text_type == QtWidgets.QComboBox: index = text_obj.findText(text_value) if index: text_obj.setCurrentIndex(index) else: text_obj.setText(text_value) # load custom fields custom = self.manifest["custom"] self.ui.rdo_analysis.setChecked( custom["gear-builder"]["category"] == "analysis" ) if custom.get("flywheel"): self.ui.chk_flywheel.setChecked(True) self.ui.txt_suite.setText(custom["flywheel"]["suite"]) # load inputs section inputs = self.manifest["inputs"] cbo_obj = self.ui.cmbo_inputs cbo_obj.clear() for name, data in inputs.items(): cbo_obj.addItem(name, userData=data) if cbo_obj.count() > 0: self.ui.btn_input_edit.setEnabled(True) self.ui.btn_input_delete.setEnabled(True) # load configs section config = self.manifest["config"] cbo_obj = self.ui.cmbo_config cbo_obj.clear() for name, data in config.items(): cbo_obj.addItem(name, userData=data) if cbo_obj.count() > 0: self.ui.btn_config_edit.setEnabled(True) self.ui.btn_config_delete.setEnabled(True) except Exception as e: print(e) def save_manifest(self): """ Select destination to save manifest.json file. """ directory = str( QtWidgets.QFileDialog.getExistingDirectory( self.main_window, "Select Folder to save manifest.json." ) ) if len(directory) > 0: self.save(directory) def save(self, directory): """ Save self.manifest dictionary to manifest.json file in the indicated directory. Args: directory (str): Path to directory. """ directory = Path(directory) self._update_manifest_from_form() json.dump(self.manifest, open(directory / "manifest.json", "w"), indent=2) def save_draft_readme(self, directory, readme_template=None): """ Saves draft of README.md to indicated directory. Args: directory (str): Path to directory. readme_template (str, optional): Path to the mustache template to use. Defaults to None. """ # make a copy to modify for formatting README.md local_manifest = copy.deepcopy(self.manifest) directory = Path(directory) if not readme_template: source_dir = self.main_window.root_dir / "default_templates" readme_template = source_dir / "README.md.mu" renderer = pystache.Renderer() # Check for non-zero number of inputs if len(local_manifest["inputs"].keys()) > 0: local_manifest["has_inputs"] = True local_manifest["inputs_list"] = [] for inp, val in local_manifest["inputs"].items(): val["name"] = inp local_manifest["inputs_list"].append(val) # Check for a non-zero number of configs if len(local_manifest["config"].keys()) > 0: local_manifest["has_configs"] = True local_manifest["config_list"] = [] for conf, val in local_manifest["config"].items(): val["name"] = conf if "default" in val.keys(): val["default_val"] = {"val": val["default"]} local_manifest["config_list"].append(val) template_output = renderer.render_path( readme_template, {"manifest": local_manifest} ) with open(directory / "README.md", "w") as fp: fp.write(template_output) def _check_description_text_length(self): """ Constrains the length of the QPlainTextEdit txt_description member. The maxLength is initialized below from the manifest schema. The QPlainTextEdit object does not have an automatic length constraint. """ obj = self.ui.txt_description if len(obj.toPlainText()) > obj.maxLength: obj.textCursor().deletePreviousChar() def init_validators(self): """ Initializes the field validators to the manifest schema. TODO: Use a local copy of the manifest schema instead of downloading. """ # spec_url = ( # "https://gitlab.com/flywheel-io/public/" # "gears/-/raw/master/spec/manifest.schema.json" # ) # request = requests.get(spec_url) # url = urllib.request.urlopen(spec_url) with open( self.main_window.root_dir / "gear_builder_gui/resources/manifest.schema.json", "r", ) as fp: gear_spec = json.load(fp) keys = [ "name", "label", "description", "author", "maintainer", "license", "url", "source", "cite", "version", ] for key in keys: gear_spec_item = gear_spec["properties"][key] if key == "license": text_obj = self.ui.txt_license text_obj.addItems(gear_spec["properties"]["license"]["enum"]) text_obj.setCurrentIndex(text_obj.__len__() - 1) else: text_obj = eval("self.ui.txt_" + key) text_type = type(eval("self.ui.txt_" + key)) if "maxLength" in gear_spec_item.keys(): text_obj.maxLength = gear_spec_item["maxLength"] if "pattern" in gear_spec_item.keys(): rx = QtCore.QRegExp(gear_spec_item["pattern"]) val = QtGui.QRegExpValidator(rx, self.main_window) text_obj.setValidator(val) elif key == "version": rx = QtCore.QRegExp( "^((([0-9]+)\\.([0-9]+)\\.([0-9]+)" "(?:-_([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)" "(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$" ) val = QtGui.QRegExpValidator(rx, self.main_window) text_obj.setValidator(val) if text_type == QtWidgets.QPlainTextEdit: text_obj.textChanged.connect(self._check_description_text_length) if "description" in gear_spec_item.keys(): text_obj.whatsThis = gear_spec_item["description"] text_obj.setToolTip(gear_spec_item["description"])
[ 11748, 4866, 198, 11748, 33918, 198, 11748, 28686, 198, 6738, 3108, 8019, 1330, 10644, 198, 198, 11748, 12972, 301, 4891, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 8205, 72, 11, 33734, 54, 312, 11407, 198, 198, 6738, 7733, 62, 38272, 62, 48317, 13, 11250, 62, 38969, 519, 1330, 4566, 62, 38969, 519, 198, 6738, 7733, 62, 38272, 62, 48317, 13, 15414, 62, 38969, 519, 1330, 5128, 62, 38969, 519, 628, 198, 4871, 36757, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 1398, 284, 6687, 262, 10561, 286, 257, 7733, 628, 220, 220, 220, 16926, 46, 25, 40348, 262, 6129, 22001, 7733, 2891, 15813, 10561, 1398, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 1388, 62, 17497, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 20768, 1096, 10561, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1388, 62, 17497, 357, 38141, 32875, 40156, 2599, 383, 9113, 12931, 1388, 4324, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12417, 62, 17497, 796, 1388, 62, 17497, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 796, 1388, 62, 17497, 13, 9019, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 20768, 1096, 366, 15414, 1, 7275, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 13, 14421, 15732, 31813, 13, 8443, 7, 944, 13, 19119, 62, 25981, 22504, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 2860, 13, 565, 9484, 13, 8443, 7, 944, 13, 2860, 62, 15414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 19312, 13, 565, 9484, 13, 8443, 7, 944, 13, 19312, 62, 15414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 33678, 13, 565, 9484, 13, 8443, 7, 944, 13, 33678, 62, 15414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 20768, 1096, 366, 11250, 1, 7275, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 13, 14421, 15732, 31813, 13, 8443, 7, 944, 13, 19119, 62, 25981, 22504, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 2860, 13, 565, 9484, 13, 8443, 7, 944, 13, 2860, 62, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 19312, 13, 565, 9484, 13, 8443, 7, 944, 13, 19312, 62, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 33678, 13, 565, 9484, 13, 8443, 7, 944, 13, 33678, 62, 11250, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 31529, 4370, 14, 33678, 12163, 319, 4277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 19312, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 33678, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 19312, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 33678, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12793, 14, 2220, 11244, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 2220, 62, 805, 8409, 13, 565, 9484, 13, 8443, 7, 944, 13, 2220, 62, 805, 8409, 62, 6738, 62, 7753, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 21928, 62, 805, 8409, 13, 565, 9484, 13, 8443, 7, 944, 13, 21928, 62, 805, 8409, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2018, 284, 36253, 366, 76, 2913, 10613, 1, 290, 4938, 2024, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 14116, 62, 76, 2913, 10613, 13, 5239, 31813, 13, 8443, 7, 944, 13, 19119, 62, 76, 32725, 364, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15003, 62, 12102, 2024, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 41216, 257, 10561, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 805, 8409, 796, 1388, 62, 17497, 13, 31763, 62, 4299, 14692, 805, 8409, 8973, 628, 220, 220, 220, 825, 4296, 62, 76, 32725, 364, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 22819, 4559, 262, 5529, 263, 2420, 1973, 25716, 7753, 290, 10561, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 9019, 13, 14116, 62, 76, 2913, 10613, 13, 5239, 3419, 318, 407, 2116, 13, 9019, 13, 14116, 62, 76, 2913, 10613, 62, 17, 13, 5239, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 14116, 62, 76, 2913, 10613, 62, 17, 13, 2617, 8206, 7, 944, 13, 9019, 13, 14116, 62, 76, 2913, 10613, 13, 5239, 28955, 628, 220, 220, 220, 1303, 3060, 11244, 284, 262, 5128, 751, 14, 19312, 14, 2934, 33342, 12163, 198, 220, 220, 220, 825, 751, 62, 15414, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3060, 5128, 284, 262, 5128, 14831, 3091, 832, 5128, 17310, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 17310, 796, 5128, 62, 38969, 519, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 11, 1366, 796, 17310, 13, 1136, 62, 7890, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 13, 2860, 7449, 7, 3672, 11, 2836, 6601, 28, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 19312, 13, 2617, 20491, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 33678, 13, 2617, 20491, 7, 17821, 8, 628, 220, 220, 220, 825, 4370, 62, 15414, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5312, 5128, 832, 5128, 17310, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 26181, 13, 14421, 8206, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 26181, 13, 14421, 6601, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 17310, 796, 5128, 62, 38969, 519, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 62, 929, 67, 11, 1366, 796, 17310, 13, 1136, 62, 7890, 7, 66, 2127, 62, 2100, 16193, 3672, 11, 1366, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 62, 929, 67, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 26181, 13, 19796, 8206, 7, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26181, 13, 2617, 7449, 8206, 7, 72, 11, 1438, 62, 929, 67, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26181, 13, 2617, 7449, 6601, 7, 72, 11, 1366, 8, 628, 220, 220, 220, 825, 12233, 62, 15414, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 23520, 6163, 5128, 2134, 422, 262, 5128, 14831, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 13, 14421, 15732, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 13, 28956, 7449, 7, 72, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 13, 9127, 3419, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 19312, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 33678, 13, 2617, 20491, 7, 25101, 8, 628, 220, 220, 220, 825, 4296, 62, 25981, 22504, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10133, 49472, 286, 4566, 14, 15414, 14831, 3091, 2378, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 29788, 796, 2116, 13, 12417, 62, 17497, 13, 82, 2194, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 15414, 82, 1, 287, 29788, 13, 15252, 5376, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 366, 11250, 1, 287, 29788, 13, 15252, 5376, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 611, 269, 2127, 62, 26801, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 3672, 796, 269, 2127, 62, 26801, 13, 14421, 8206, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 7890, 796, 269, 2127, 62, 26801, 13, 14421, 6601, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2891, 62, 22504, 62, 5239, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 479, 11, 410, 287, 269, 2127, 62, 7890, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2891, 62, 22504, 62, 5239, 15853, 479, 1343, 366, 25, 366, 1343, 965, 7, 85, 8, 1343, 37082, 77, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 13, 2617, 25391, 28434, 7, 25981, 62, 22504, 62, 5239, 8, 628, 220, 220, 220, 825, 751, 62, 11250, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3060, 257, 4566, 2134, 284, 262, 4566, 14831, 3091, 832, 262, 4566, 17310, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 17310, 796, 4566, 62, 38969, 519, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 11, 1366, 796, 17310, 13, 1136, 62, 7890, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 13, 2860, 7449, 7, 3672, 11, 2836, 6601, 28, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 19312, 13, 2617, 20491, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 33678, 13, 2617, 20491, 7, 17821, 8, 628, 220, 220, 220, 825, 4370, 62, 11250, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5312, 6163, 4566, 2134, 832, 262, 4566, 17310, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 26181, 13, 14421, 8206, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 26181, 13, 14421, 6601, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 17310, 796, 4566, 62, 38969, 519, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 62, 929, 67, 11, 1366, 796, 17310, 13, 1136, 62, 7890, 7, 66, 2127, 62, 2100, 16193, 3672, 11, 1366, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1438, 62, 929, 67, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 26181, 13, 19796, 8206, 7, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26181, 13, 2617, 7449, 8206, 7, 72, 11, 1438, 62, 929, 67, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26181, 13, 2617, 7449, 6601, 7, 72, 11, 1366, 8, 628, 220, 220, 220, 825, 12233, 62, 11250, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 23520, 6163, 4566, 2134, 422, 262, 4566, 14831, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 13, 14421, 15732, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 13, 28956, 7449, 7, 72, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 13, 9127, 3419, 6624, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 19312, 13, 2617, 20491, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 33678, 13, 2617, 20491, 7, 25101, 8, 628, 220, 220, 220, 825, 4808, 19119, 62, 805, 8409, 62, 6738, 62, 687, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10133, 262, 10561, 22155, 422, 262, 10154, 286, 262, 10561, 7400, 13, 628, 220, 220, 220, 220, 220, 220, 220, 770, 481, 2774, 3760, 597, 3709, 287, 262, 2116, 13, 805, 8409, 22155, 407, 20717, 416, 198, 220, 220, 220, 220, 220, 220, 220, 262, 1296, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16926, 46, 25, 314, 765, 284, 3494, 257, 4808, 19119, 62, 687, 62, 6738, 62, 805, 8409, 2163, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10561, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 20906, 8251, 477, 42190, 423, 198, 220, 220, 220, 220, 220, 220, 220, 8251, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18242, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11213, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9800, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 76, 2913, 10613, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43085, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6371, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10459, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 66, 578, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9641, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 287, 8251, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 796, 5418, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 4906, 796, 2099, 7, 18206, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 4906, 6624, 33734, 54, 312, 11407, 13, 48, 3646, 391, 8206, 18378, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 8367, 796, 2420, 62, 26801, 13, 1462, 3646, 391, 8206, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2420, 62, 4906, 6624, 33734, 54, 312, 11407, 13, 48, 5377, 2127, 14253, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 8367, 796, 2420, 62, 26801, 13, 14421, 8206, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 8367, 796, 2420, 62, 26801, 13, 5239, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10561, 58, 2539, 60, 796, 2420, 62, 8367, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 10934, 8562, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 2183, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 2183, 14692, 45986, 12, 9060, 8973, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12254, 22001, 30487, 1343, 10561, 14692, 3672, 8973, 1343, 366, 11097, 1343, 10561, 14692, 9641, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 38272, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7733, 6536, 319, 5243, 4936, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 9019, 13, 4372, 78, 62, 20930, 13, 271, 9787, 276, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 38272, 14692, 22872, 8973, 796, 366, 20930, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 38272, 14692, 22872, 8973, 796, 366, 1102, 332, 353, 1, 628, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 38272, 14692, 9060, 8973, 796, 2183, 14692, 45986, 12, 9060, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 2183, 14692, 31763, 12, 38272, 8973, 796, 7733, 62, 38272, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 366, 2385, 578, 1, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 9019, 13, 354, 74, 62, 12254, 22001, 13, 271, 9787, 276, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6129, 22001, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6129, 22001, 14692, 2385, 578, 8973, 796, 2116, 13, 9019, 13, 14116, 62, 2385, 578, 13, 5239, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2183, 14692, 12254, 22001, 8973, 796, 6129, 22001, 628, 220, 220, 220, 220, 220, 220, 220, 10561, 14692, 23144, 8973, 796, 2183, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 10934, 17311, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5501, 5128, 2378, 10874, 286, 262, 2420, 357, 2539, 8, 286, 257, 14831, 3091, 290, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5734, 12006, 1366, 357, 64, 22155, 737, 198, 220, 220, 220, 220, 220, 220, 220, 17311, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 66, 2127, 62, 26801, 13, 9127, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17311, 58, 66, 2127, 62, 26801, 13, 9186, 8206, 7, 72, 15437, 796, 269, 2127, 62, 26801, 13, 9186, 6601, 7, 72, 8, 628, 220, 220, 220, 220, 220, 220, 220, 10561, 14692, 15414, 82, 8973, 796, 17311, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 10934, 4566, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5501, 4566, 2378, 10874, 286, 262, 2420, 357, 2539, 8, 286, 257, 14831, 3091, 290, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5734, 12006, 1366, 357, 64, 22155, 737, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 66, 2127, 62, 26801, 13, 9127, 3419, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 58, 66, 2127, 62, 26801, 13, 9186, 8206, 7, 72, 15437, 796, 269, 2127, 62, 26801, 13, 9186, 6601, 7, 72, 8, 628, 220, 220, 220, 220, 220, 220, 220, 10561, 14692, 11250, 8973, 796, 4566, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 3141, 198, 220, 220, 220, 220, 220, 220, 220, 10561, 14692, 21812, 8973, 796, 12813, 12254, 22001, 14, 85, 15, 14, 5143, 13, 9078, 1, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 8554, 281, 366, 19119, 1, 994, 2427, 286, 257, 2472, 6330, 43759, 3709, 326, 743, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 423, 587, 9639, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 805, 8409, 13, 19119, 7, 805, 8409, 8, 628, 220, 220, 220, 825, 3440, 62, 805, 8409, 62, 6738, 62, 7753, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8778, 10561, 422, 2393, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10561, 62, 7753, 796, 33734, 54, 312, 11407, 13, 48, 8979, 44204, 13, 1136, 11505, 8979, 5376, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12417, 62, 17497, 11, 366, 17563, 10561, 13, 17752, 284, 3440, 33283, 8106, 2625, 805, 8409, 13, 17752, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 10358, 314, 9828, 546, 9014, 286, 477, 10561, 3815, 30, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 805, 8409, 62, 7753, 58, 15, 12962, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 805, 8409, 62, 7753, 58, 15, 4357, 366, 81, 4943, 355, 10561, 62, 1831, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10561, 796, 33918, 13, 2220, 7, 805, 8409, 62, 1831, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 805, 8409, 13, 20063, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 805, 8409, 13, 19119, 7, 805, 8409, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 19119, 62, 687, 62, 6738, 62, 805, 8409, 3419, 628, 220, 220, 220, 825, 4808, 19119, 62, 687, 62, 6738, 62, 805, 8409, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10133, 1296, 3815, 422, 8574, 10561, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 24550, 25, 770, 561, 307, 257, 922, 1295, 284, 9828, 611, 262, 9639, 10561, 373, 12515, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 20906, 10561, 8251, 25, 198, 220, 220, 220, 220, 220, 220, 220, 8251, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18242, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11213, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9800, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 76, 2913, 10613, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43085, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6371, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10459, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 66, 578, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9641, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 287, 8251, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 796, 5418, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 4906, 796, 2099, 7, 18206, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 805, 8409, 13, 1136, 7, 2539, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 8367, 796, 2116, 13, 805, 8409, 58, 2539, 60, 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, 2420, 62, 8367, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 4906, 6624, 33734, 54, 312, 11407, 13, 48, 3646, 391, 8206, 18378, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 8367, 796, 2420, 62, 26801, 13, 2617, 3646, 391, 8206, 7, 5239, 62, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2420, 62, 4906, 6624, 33734, 54, 312, 11407, 13, 48, 5377, 2127, 14253, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6376, 796, 2420, 62, 26801, 13, 19796, 8206, 7, 5239, 62, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6376, 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, 2420, 62, 26801, 13, 2617, 11297, 15732, 7, 9630, 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, 2420, 62, 26801, 13, 2617, 8206, 7, 5239, 62, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3440, 2183, 7032, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2183, 796, 2116, 13, 805, 8409, 14692, 23144, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 4372, 78, 62, 20930, 13, 2617, 9787, 276, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2183, 14692, 31763, 12, 38272, 1, 7131, 1, 22872, 8973, 6624, 366, 20930, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2183, 13, 1136, 7203, 12254, 22001, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 354, 74, 62, 12254, 22001, 13, 2617, 9787, 276, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 14116, 62, 2385, 578, 13, 2617, 8206, 7, 23144, 14692, 12254, 22001, 1, 7131, 1, 2385, 578, 8973, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3440, 17311, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17311, 796, 2116, 13, 805, 8409, 14692, 15414, 82, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 15414, 82, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 13, 20063, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1438, 11, 1366, 287, 17311, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 13, 2860, 7449, 7, 3672, 11, 2836, 6601, 28, 7890, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 269, 2127, 62, 26801, 13, 9127, 3419, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 19312, 13, 2617, 20491, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 15414, 62, 33678, 13, 2617, 20491, 7, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3440, 4566, 82, 2665, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 796, 2116, 13, 805, 8409, 14692, 11250, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 796, 2116, 13, 9019, 13, 66, 2022, 78, 62, 11250, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 13, 20063, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1438, 11, 1366, 287, 4566, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2127, 62, 26801, 13, 2860, 7449, 7, 3672, 11, 2836, 6601, 28, 7890, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 269, 2127, 62, 26801, 13, 9127, 3419, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 19312, 13, 2617, 20491, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9019, 13, 46118, 62, 11250, 62, 33678, 13, 2617, 20491, 7, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 68, 8, 628, 220, 220, 220, 825, 3613, 62, 805, 8409, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 9683, 10965, 284, 3613, 10561, 13, 17752, 2393, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8619, 796, 965, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33734, 54, 312, 11407, 13, 48, 8979, 44204, 13, 1136, 3109, 9665, 43055, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12417, 62, 17497, 11, 366, 17563, 48107, 284, 3613, 10561, 13, 17752, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 34945, 8, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21928, 7, 34945, 8, 628, 220, 220, 220, 825, 3613, 7, 944, 11, 8619, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 12793, 2116, 13, 805, 8409, 22155, 284, 10561, 13, 17752, 2393, 287, 262, 8203, 8619, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8619, 357, 2536, 2599, 10644, 284, 8619, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8619, 796, 10644, 7, 34945, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 19119, 62, 805, 8409, 62, 6738, 62, 687, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 33918, 13, 39455, 7, 944, 13, 805, 8409, 11, 1280, 7, 34945, 1220, 366, 805, 8409, 13, 17752, 1600, 366, 86, 12340, 33793, 28, 17, 8, 628, 220, 220, 220, 825, 3613, 62, 35679, 62, 961, 1326, 7, 944, 11, 8619, 11, 1100, 1326, 62, 28243, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 311, 3080, 4538, 286, 20832, 11682, 13, 9132, 284, 8203, 8619, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8619, 357, 2536, 2599, 10644, 284, 8619, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1100, 1326, 62, 28243, 357, 2536, 11, 11902, 2599, 10644, 284, 262, 49303, 11055, 284, 779, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2896, 13185, 284, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 787, 257, 4866, 284, 13096, 329, 33313, 20832, 11682, 13, 9132, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 796, 4866, 13, 22089, 30073, 7, 944, 13, 805, 8409, 8, 198, 220, 220, 220, 220, 220, 220, 220, 8619, 796, 10644, 7, 34945, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 1100, 1326, 62, 28243, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2723, 62, 15908, 796, 2116, 13, 12417, 62, 17497, 13, 15763, 62, 15908, 1220, 366, 12286, 62, 11498, 17041, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1100, 1326, 62, 28243, 796, 2723, 62, 15908, 1220, 366, 15675, 11682, 13, 9132, 13, 30300, 1, 198, 220, 220, 220, 220, 220, 220, 220, 9851, 11882, 796, 12972, 301, 4891, 13, 49, 437, 11882, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6822, 329, 1729, 12, 22570, 1271, 286, 17311, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 12001, 62, 805, 8409, 14692, 15414, 82, 1, 4083, 13083, 28955, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 10134, 62, 15414, 82, 8973, 796, 6407, 628, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 15414, 82, 62, 4868, 8973, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 287, 79, 11, 1188, 287, 1957, 62, 805, 8409, 14692, 15414, 82, 1, 4083, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 14692, 3672, 8973, 796, 287, 79, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 15414, 82, 62, 4868, 1, 4083, 33295, 7, 2100, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6822, 329, 257, 1729, 12, 22570, 1271, 286, 4566, 82, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 12001, 62, 805, 8409, 14692, 11250, 1, 4083, 13083, 28955, 1875, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 10134, 62, 11250, 82, 8973, 796, 6407, 628, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 11250, 62, 4868, 8973, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1013, 11, 1188, 287, 1957, 62, 805, 8409, 14692, 11250, 1, 4083, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 14692, 3672, 8973, 796, 1013, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 12286, 1, 287, 1188, 13, 13083, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 14692, 12286, 62, 2100, 8973, 796, 19779, 2100, 1298, 1188, 14692, 12286, 8973, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 805, 8409, 14692, 11250, 62, 4868, 1, 4083, 33295, 7, 2100, 8, 628, 220, 220, 220, 220, 220, 220, 220, 11055, 62, 22915, 796, 9851, 11882, 13, 13287, 62, 6978, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1100, 1326, 62, 28243, 11, 19779, 805, 8409, 1298, 1957, 62, 805, 8409, 92, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 34945, 1220, 366, 15675, 11682, 13, 9132, 1600, 366, 86, 4943, 355, 277, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 79, 13, 13564, 7, 28243, 62, 22915, 8, 628, 220, 220, 220, 825, 4808, 9122, 62, 11213, 62, 5239, 62, 13664, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1482, 2536, 1299, 262, 4129, 286, 262, 1195, 3646, 391, 8206, 18378, 256, 742, 62, 11213, 2888, 13, 628, 220, 220, 220, 220, 220, 220, 220, 383, 3509, 24539, 318, 23224, 2174, 422, 262, 10561, 32815, 13, 383, 1195, 3646, 391, 8206, 18378, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 857, 407, 423, 281, 11353, 4129, 32315, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 26181, 796, 2116, 13, 9019, 13, 14116, 62, 11213, 198, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 26801, 13, 1462, 3646, 391, 8206, 28955, 1875, 26181, 13, 9806, 24539, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26181, 13, 5239, 34, 21471, 22446, 33678, 21448, 12441, 3419, 628, 220, 220, 220, 825, 2315, 62, 12102, 2024, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 20768, 4340, 262, 2214, 4938, 2024, 284, 262, 10561, 32815, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16926, 46, 25, 5765, 257, 1957, 4866, 286, 262, 10561, 32815, 2427, 286, 22023, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1020, 62, 6371, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 366, 5450, 1378, 18300, 23912, 13, 785, 14, 12254, 22001, 12, 952, 14, 11377, 30487, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 366, 70, 4127, 16327, 14, 1831, 14, 9866, 14, 16684, 14, 805, 8409, 13, 15952, 2611, 13, 17752, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2581, 796, 7007, 13, 1136, 7, 16684, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 19016, 796, 2956, 297, 571, 13, 25927, 13, 6371, 9654, 7, 16684, 62, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12417, 62, 17497, 13, 15763, 62, 15908, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1220, 366, 31763, 62, 38272, 62, 48317, 14, 37540, 14, 805, 8409, 13, 15952, 2611, 13, 17752, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 81, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 355, 277, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 16684, 796, 33918, 13, 2220, 7, 46428, 8, 628, 220, 220, 220, 220, 220, 220, 220, 8251, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3672, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18242, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 11213, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9800, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 76, 2913, 10613, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43085, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6371, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10459, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 66, 578, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9641, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1994, 287, 8251, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7733, 62, 16684, 62, 9186, 796, 7733, 62, 16684, 14692, 48310, 1, 7131, 2539, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1994, 6624, 366, 43085, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 796, 2116, 13, 9019, 13, 14116, 62, 43085, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 2860, 23022, 7, 31763, 62, 16684, 14692, 48310, 1, 7131, 1, 43085, 1, 7131, 1, 44709, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 2617, 11297, 15732, 7, 5239, 62, 26801, 13, 834, 11925, 834, 3419, 532, 352, 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, 2420, 62, 26801, 796, 5418, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 4906, 796, 2099, 7, 18206, 7203, 944, 13, 9019, 13, 14116, 62, 1, 1343, 1994, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 9806, 24539, 1, 287, 7733, 62, 16684, 62, 9186, 13, 13083, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 9806, 24539, 796, 7733, 62, 16684, 62, 9186, 14692, 9806, 24539, 8973, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 33279, 1, 287, 7733, 62, 16684, 62, 9186, 13, 13083, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 87, 796, 33734, 14055, 13, 48, 8081, 16870, 7, 31763, 62, 16684, 62, 9186, 14692, 33279, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 796, 33734, 8205, 72, 13, 48, 8081, 16870, 47139, 1352, 7, 40914, 11, 2116, 13, 12417, 62, 17497, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 2617, 47139, 1352, 7, 2100, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 6624, 366, 9641, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 87, 796, 33734, 14055, 13, 48, 8081, 16870, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 61, 19510, 26933, 15, 12, 24, 60, 28988, 6852, 12195, 58, 15, 12, 24, 60, 28988, 6852, 12195, 58, 15, 12, 24, 48688, 16725, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30629, 30, 21912, 62, 26933, 15, 12, 24, 64, 12, 89, 32, 12, 57, 12, 60, 33747, 27514, 6852, 3693, 15, 12, 24, 64, 12, 89, 32, 12, 57, 12, 48688, 27493, 4008, 10091, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30629, 27514, 6852, 10, 26933, 15, 12, 24, 64, 12, 89, 32, 12, 57, 12, 60, 33747, 27514, 6852, 3693, 15, 12, 24, 64, 12, 89, 32, 12, 57, 12, 48688, 27493, 4008, 10091, 3, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 796, 33734, 8205, 72, 13, 48, 8081, 16870, 47139, 1352, 7, 40914, 11, 2116, 13, 12417, 62, 17497, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 2617, 47139, 1352, 7, 2100, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 4906, 6624, 33734, 54, 312, 11407, 13, 48, 3646, 391, 8206, 18378, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 5239, 31813, 13, 8443, 7, 944, 13557, 9122, 62, 11213, 62, 5239, 62, 13664, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 11213, 1, 287, 7733, 62, 16684, 62, 9186, 13, 13083, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 1929, 1381, 1212, 796, 7733, 62, 16684, 62, 9186, 14692, 11213, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 26801, 13, 2617, 25391, 28434, 7, 31763, 62, 16684, 62, 9186, 14692, 11213, 8973, 8, 198 ]
2.039502
8,025
"""Code adapted from Boost, which is: (C) Copyright John Maddock 2006. Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) """ from numba import njit, vectorize import numpy as np from . import settings from .evalpoly import _devalpoly P1 = np.array([ -0.000322780120964605683831, -0.00772758345802133288487, -0.0509990735146777432841, -0.338165134459360935041, 0.0834305892146531832907 ]) Q1 = np.array([ 0.000370900071787748000569, 0.00858571925074406212772, 0.0875222600142252549554, 0.455004033050794024546, 1.0 ]) P2 = np.array([ 0.00180424538297014223957, 0.0195049001251218801359, 0.0888900368967884466578, 0.191003695796775433986, 0.178114665841120341155, -0.098090592216281240205 ]) Q2 = np.array([ 0.337511472483094676155e-5, 0.0113385233577001411017, 0.12385097467900864233, 0.578052804889902404909, 1.42628004845511324508, 1.84759070983002217845, 1.0 ]) P3 = np.array([ 0.000235839115596880717416, 0.00323962406290842133584, 0.0175679436311802092299, 0.04394818964209516296, 0.0386540375035707201728, -0.0243500476207698441272 ]) Q3 = np.array([ 0.00410369723978904575884, 0.0563921837420478160373, 0.325732924782444448493, 0.982403709157920235114, 1.53991494948552447182, 1.0 ]) P4 = np.array([ 0.113212406648847561139e-4, 0.000250269961544794627958, 0.00212825620914618649141, 0.00840807615555585383007, 0.0137384425896355332126, 0.00295276716530971662634 ]) Q4 = np.array([ 0.000479411269521714493907, 0.0105982906484876531489, 0.0958492726301061423444, 0.442597659481563127003, 1.04217814166938418171, 1.0 ]) P5 = np.array([ -2.8175401114513378771, -3.22729451764143718517, -2.5518551727311523996, -0.687717681153649930619, -0.212652252872804219852, 0.0175389834052493308818, 0.00628057170626964891937 ]) Q5 = np.array([ 5.48409182238641741584, 13.5064170191802889145, 22.9367376522880577224, 15.930646027911794143, 11.0567237927800161565, 2.79257750980575282228, 1.0 ]) @njit('float64(float64, bool_)', cache=settings.CACHE) def _erf_erfc(x, invert): """Compute erf if invert is False and erfc if invert is True.""" if x < 0: if not invert: return -_erf_erfc(-x, False) elif x < -0.5: return 2.0 - _erf_erfc(-x, True); else: return 1.0 + _erf_erfc(-x, False) if x < 0.5: # We're going to calculate erf if x < 1e-10: # Single term of the Taylor series res = 1.128379167095512573896159*x else: # - Maximum deviation found: 1.561e-17 # - Expected error term: 1.561e-17 # - Maximum relative change in control points: 1.155e-04 # - Max error found at double precision: 2.961182e-17 Y = np.float32(1.044948577880859375) xx = x*x res = x*(Y + _devalpoly(P1, xx)/_devalpoly(Q1, xx)) elif (invert and x < 28) or (not invert and x < 5.8): # We'll be calculating erfc: invert = not invert if x < 1.5: # Maximum deviation found: 3.702e-17 # Expected error term: 3.702e-17 # Maximum relative change in control points: 2.845e-04 # Max error found at double precision: 4.841816e-17 Y = np.float32(0.405935764312744140625) res = Y + _devalpoly(P2, x - 0.5)/_devalpoly(Q2, x - 0.5) res *= np.exp(-x*x)/x elif x < 2.5: # Maximum deviation found: 3.909e-18 # Expected error term: 3.909e-18 # Maximum relative change in control points: 9.886e-05 # Max error found at double precision: 6.599585e-18 Y = np.float32(0.50672817230224609375) res = Y + _devalpoly(P3, x - 1.5)/_devalpoly(Q3, x - 1.5) res *= np.exp(-x*x)/x elif x < 4.5: # Maximum deviation found: 1.512e-17 # Expected error term: 1.512e-17 # Maximum relative change in control points: 2.222e-04 # Max error found at double precision: 2.062515e-17 Y = np.float32(0.5405750274658203125) res = Y + _devalpoly(P4, x - 3.5)/_devalpoly(Q4, x - 3.5) res *= np.exp(-x*x)/x else: # Maximum deviation found: 2.860e-17 # Expected error term: 2.859e-17 # Maximum relative change in control points: 1.357e-05 # Max error found at double precision: 2.997958e-17 Y = np.float32(0.5579090118408203125) res = Y + _devalpoly(P5, 1.0/x)/_devalpoly(Q5, 1.0/x) res *= np.exp(-x*x)/x else: # Any value of x larger than 28 will underflow to zero result = 0.0 invert = not invert if invert: res = 1.0 - res return res @njit('float64(float64)', cache=settings.CACHE) @njit('float64(float64)', cache=settings.CACHE) @vectorize(['float64(float64)'], nopython=True, cache=settings.CACHE) def erf(x): """Error function. Parameters ---------- x : array-like Points on the real line out : ndarray, optional Output array for the values of `erf` at `x` Returns ------- ndarray Values of `erf` at `x` """ return _erf(x) @vectorize(['float64(float64)'], nopython=True, cache=settings.CACHE) def erfc(x): """Complementary error function. Parameters ---------- x : array-like Points on the real line out : ndarray, optional Output array for the values of `erfc` at `x` Returns ------- ndarray Values of `erf` at `x` """ return _erfc(x)
[ 37811, 10669, 16573, 422, 19835, 11, 543, 318, 25, 198, 198, 7, 34, 8, 15069, 1757, 21457, 735, 4793, 13, 198, 11041, 11, 17613, 290, 6082, 389, 2426, 284, 262, 198, 45686, 10442, 13789, 11, 10628, 352, 13, 15, 13, 357, 6214, 19249, 2393, 198, 43, 2149, 24290, 62, 16, 62, 15, 13, 14116, 393, 4866, 379, 2638, 1378, 2503, 13, 39521, 13, 2398, 14, 43, 2149, 24290, 62, 16, 62, 15, 13, 14116, 8, 198, 198, 37811, 198, 6738, 997, 7012, 1330, 299, 45051, 11, 15879, 1096, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 764, 1330, 6460, 198, 6738, 764, 18206, 35428, 1330, 4808, 7959, 282, 35428, 198, 198, 47, 16, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 532, 15, 13, 830, 37283, 3695, 486, 22567, 2414, 32417, 3104, 2548, 3132, 11, 198, 220, 220, 220, 532, 15, 13, 405, 3324, 1983, 3365, 27712, 30863, 16945, 25270, 35133, 11, 198, 220, 220, 220, 532, 15, 13, 28669, 17032, 2998, 2327, 1415, 3134, 3324, 3559, 2078, 3901, 11, 198, 220, 220, 220, 532, 15, 13, 28460, 20986, 19880, 2231, 6052, 1899, 6052, 1120, 3901, 11, 198, 220, 220, 220, 657, 13, 2919, 2682, 1270, 3365, 5892, 1415, 46435, 24839, 1959, 2998, 198, 12962, 198, 198, 48, 16, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 830, 20167, 24, 830, 22, 23188, 3324, 2780, 830, 20, 3388, 11, 198, 220, 220, 220, 657, 13, 25257, 3365, 3553, 1129, 9031, 4524, 1821, 5237, 1065, 43571, 11, 198, 220, 220, 220, 657, 13, 2919, 2425, 1828, 2075, 405, 1415, 18182, 1495, 2920, 44218, 11, 198, 220, 220, 220, 657, 13, 2231, 4059, 1821, 26073, 1120, 3720, 1821, 22995, 3510, 11, 198, 220, 220, 220, 352, 13, 15, 198, 12962, 198, 198, 47, 17, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 405, 1507, 3023, 22995, 2548, 26561, 28645, 1828, 2670, 3553, 11, 198, 220, 220, 220, 657, 13, 30484, 1120, 2920, 405, 11623, 1065, 20356, 486, 30743, 11, 198, 220, 220, 220, 657, 13, 2919, 3459, 12865, 2623, 4531, 3134, 3459, 2598, 2791, 38907, 11, 198, 220, 220, 220, 657, 13, 1129, 3064, 30803, 41734, 3134, 41874, 2091, 49087, 11, 198, 220, 220, 220, 657, 13, 23188, 16562, 2791, 3365, 3901, 10232, 2682, 1157, 2816, 11, 198, 220, 220, 220, 532, 15, 13, 2931, 34583, 46712, 1828, 1433, 2078, 1065, 1821, 21261, 198, 12962, 198, 198, 48, 17, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 2091, 2425, 1157, 2857, 23045, 1270, 5824, 42548, 18742, 68, 12, 20, 11, 198, 220, 220, 220, 657, 13, 486, 1485, 27203, 1954, 2327, 3324, 405, 1415, 1157, 29326, 11, 198, 220, 220, 220, 657, 13, 1065, 2548, 29022, 4524, 3134, 12865, 39570, 25429, 11, 198, 220, 220, 220, 657, 13, 3553, 1795, 4309, 1795, 33646, 34155, 16102, 2920, 2931, 11, 198, 220, 220, 220, 352, 13, 42780, 2078, 405, 2780, 30505, 16616, 1731, 33042, 11, 198, 220, 220, 220, 352, 13, 5705, 2425, 3829, 2154, 4089, 6200, 1828, 23188, 2231, 11, 198, 220, 220, 220, 352, 13, 15, 198, 12962, 198, 198, 47, 18, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 830, 1954, 3365, 2670, 1157, 38605, 3104, 36928, 22985, 1433, 11, 198, 220, 220, 220, 657, 13, 11245, 1954, 4846, 1731, 3312, 1959, 2919, 3682, 1485, 2327, 5705, 11, 198, 220, 220, 220, 657, 13, 486, 2425, 3134, 5824, 35447, 1157, 1795, 22567, 1828, 2079, 11, 198, 220, 220, 220, 657, 13, 3023, 2670, 2780, 23362, 2414, 1238, 3865, 1433, 27137, 11, 198, 220, 220, 220, 657, 13, 15, 2548, 2996, 1821, 2718, 1120, 2327, 24038, 5539, 2078, 11, 198, 220, 220, 220, 532, 15, 13, 40839, 2327, 405, 35435, 22745, 39357, 2598, 1065, 4761, 198, 12962, 198, 198, 48, 18, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 22914, 940, 2623, 5607, 23516, 3695, 3829, 2231, 2425, 40353, 11, 198, 220, 220, 220, 657, 13, 2713, 21, 2670, 28727, 2718, 27211, 29059, 14198, 34770, 11, 198, 220, 220, 220, 657, 13, 26582, 4790, 1959, 1731, 3695, 1731, 2598, 31115, 43134, 11, 198, 220, 220, 220, 657, 13, 4089, 1731, 3070, 31495, 1314, 3720, 1238, 22370, 16562, 11, 198, 220, 220, 220, 352, 13, 4310, 2079, 19442, 2920, 2780, 2816, 1731, 2857, 24294, 11, 198, 220, 220, 220, 352, 13, 15, 198, 12962, 198, 198, 47, 19, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 1157, 2624, 1065, 29703, 2414, 3459, 32576, 21, 1157, 2670, 68, 12, 19, 11, 198, 220, 220, 220, 657, 13, 830, 9031, 2075, 38565, 1314, 2598, 3720, 3510, 26050, 3365, 11, 198, 220, 220, 220, 657, 13, 21601, 12762, 11645, 22567, 20964, 1507, 33300, 23756, 11, 198, 220, 220, 220, 657, 13, 25257, 1821, 1795, 4304, 1314, 2816, 2816, 5332, 2548, 6200, 22, 11, 198, 220, 220, 220, 657, 13, 486, 2718, 2548, 2598, 1495, 48712, 28567, 32148, 19420, 11, 198, 220, 220, 220, 657, 13, 405, 25710, 1983, 3134, 20986, 1270, 5607, 23055, 2075, 2682, 198, 12962, 198, 198, 48, 19, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 657, 13, 830, 31714, 3901, 1065, 3388, 4309, 1558, 1415, 2920, 2670, 2998, 11, 198, 220, 220, 220, 657, 13, 486, 2713, 4089, 24369, 34287, 2780, 29143, 33638, 4531, 11, 198, 220, 220, 220, 657, 13, 2931, 3365, 2920, 1983, 2075, 18938, 3312, 1415, 1954, 30272, 11, 198, 220, 220, 220, 657, 13, 2598, 1495, 5607, 36445, 2780, 1314, 5066, 1065, 9879, 18, 11, 198, 220, 220, 220, 352, 13, 3023, 17, 23188, 1415, 1433, 3388, 22842, 1507, 27192, 11, 198, 220, 220, 220, 352, 13, 15, 198, 12962, 198, 198, 47, 20, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 532, 17, 13, 23, 1558, 4051, 486, 1157, 2231, 1485, 30695, 46761, 11, 198, 220, 220, 220, 532, 18, 13, 24403, 1959, 2231, 1558, 2414, 1415, 2718, 21652, 1558, 11, 198, 220, 220, 220, 532, 17, 13, 2816, 1507, 2816, 1558, 27367, 15363, 1954, 38565, 11, 198, 220, 220, 220, 532, 15, 13, 3104, 3324, 1558, 3104, 1157, 4310, 2414, 2079, 20548, 1129, 11, 198, 220, 220, 220, 532, 15, 13, 21777, 2996, 18182, 2078, 4761, 1795, 3682, 22337, 4309, 11, 198, 220, 220, 220, 657, 13, 486, 2425, 2548, 4089, 23601, 48057, 6052, 1270, 3459, 1507, 11, 198, 220, 220, 220, 657, 13, 405, 5237, 1795, 3553, 1558, 3312, 26276, 2414, 4531, 1129, 2718, 198, 12962, 198, 198, 48, 20, 796, 45941, 13, 18747, 26933, 198, 220, 220, 220, 642, 13, 2780, 29416, 1507, 1828, 2548, 2414, 22985, 1314, 5705, 11, 198, 220, 220, 220, 1511, 13, 1120, 2414, 1558, 30484, 15259, 2078, 4531, 18781, 11, 198, 220, 220, 220, 2534, 13, 24, 27824, 2718, 2996, 23815, 28256, 3324, 24137, 11, 198, 220, 220, 220, 1315, 13, 45418, 2414, 1899, 26050, 1157, 50242, 21139, 11, 198, 220, 220, 220, 1367, 13, 2713, 3134, 1954, 3720, 1983, 7410, 1433, 1314, 2996, 11, 198, 220, 220, 220, 362, 13, 3720, 1495, 3324, 29022, 28256, 2425, 2078, 1828, 2078, 11, 198, 220, 220, 220, 352, 13, 15, 198, 12962, 628, 198, 31, 77, 45051, 10786, 22468, 2414, 7, 22468, 2414, 11, 20512, 62, 8, 3256, 12940, 28, 33692, 13, 34, 2246, 13909, 8, 198, 4299, 4808, 263, 69, 62, 263, 16072, 7, 87, 11, 287, 1851, 2599, 198, 220, 220, 220, 37227, 7293, 1133, 1931, 69, 611, 287, 1851, 318, 10352, 290, 1931, 16072, 611, 287, 1851, 318, 6407, 526, 15931, 198, 220, 220, 220, 611, 2124, 1279, 657, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 287, 1851, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 532, 62, 263, 69, 62, 263, 16072, 32590, 87, 11, 10352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2124, 1279, 532, 15, 13, 20, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 362, 13, 15, 532, 4808, 263, 69, 62, 263, 16072, 32590, 87, 11, 6407, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 352, 13, 15, 1343, 4808, 263, 69, 62, 263, 16072, 32590, 87, 11, 10352, 8, 628, 220, 220, 220, 611, 2124, 1279, 657, 13, 20, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 821, 1016, 284, 15284, 1931, 69, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2124, 1279, 352, 68, 12, 940, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 14206, 3381, 286, 262, 8121, 2168, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 352, 13, 12762, 29088, 1433, 31495, 2816, 1065, 3553, 2548, 4846, 19707, 9, 87, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 532, 22246, 28833, 1043, 25, 352, 13, 47915, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 532, 1475, 7254, 4049, 3381, 25, 352, 13, 47915, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 532, 22246, 3585, 1487, 287, 1630, 2173, 25, 352, 13, 18742, 68, 12, 3023, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 532, 5436, 4049, 1043, 379, 4274, 15440, 25, 362, 13, 4846, 1157, 6469, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 575, 796, 45941, 13, 22468, 2624, 7, 16, 13, 15, 31911, 32642, 39761, 28362, 3270, 22318, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31383, 796, 2124, 9, 87, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 2124, 9, 7, 56, 1343, 4808, 7959, 282, 35428, 7, 47, 16, 11, 31383, 20679, 62, 7959, 282, 35428, 7, 48, 16, 11, 31383, 4008, 198, 220, 220, 220, 1288, 361, 357, 259, 1851, 290, 2124, 1279, 2579, 8, 393, 357, 1662, 287, 1851, 290, 2124, 1279, 642, 13, 23, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 1183, 307, 26019, 1931, 16072, 25, 198, 220, 220, 220, 220, 220, 220, 220, 287, 1851, 796, 407, 287, 1851, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2124, 1279, 352, 13, 20, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 28833, 1043, 25, 513, 13, 36680, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1475, 7254, 4049, 3381, 25, 513, 13, 36680, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 3585, 1487, 287, 1630, 2173, 25, 362, 13, 23, 2231, 68, 12, 3023, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5436, 4049, 1043, 379, 4274, 15440, 25, 604, 13, 5705, 1507, 1433, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 575, 796, 45941, 13, 22468, 2624, 7, 15, 13, 1821, 3270, 27277, 41813, 16799, 2598, 1415, 3312, 1495, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 575, 1343, 4808, 7959, 282, 35428, 7, 47, 17, 11, 2124, 532, 657, 13, 20, 20679, 62, 7959, 282, 35428, 7, 48, 17, 11, 2124, 532, 657, 13, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 1635, 28, 45941, 13, 11201, 32590, 87, 9, 87, 20679, 87, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2124, 1279, 362, 13, 20, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 28833, 1043, 25, 513, 13, 44675, 68, 12, 1507, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1475, 7254, 4049, 3381, 25, 513, 13, 44675, 68, 12, 1507, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 3585, 1487, 287, 1630, 2173, 25, 860, 13, 44980, 68, 12, 2713, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5436, 4049, 1043, 379, 4274, 15440, 25, 718, 13, 43452, 38905, 68, 12, 1507, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 575, 796, 45941, 13, 22468, 2624, 7, 15, 13, 1120, 3134, 2078, 1558, 19214, 24137, 1899, 6052, 2425, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 575, 1343, 4808, 7959, 282, 35428, 7, 47, 18, 11, 2124, 532, 352, 13, 20, 20679, 62, 7959, 282, 35428, 7, 48, 18, 11, 2124, 532, 352, 13, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 1635, 28, 45941, 13, 11201, 32590, 87, 9, 87, 20679, 87, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2124, 1279, 604, 13, 20, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 28833, 1043, 25, 352, 13, 25836, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1475, 7254, 4049, 3381, 25, 352, 13, 25836, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 3585, 1487, 287, 1630, 2173, 25, 362, 13, 23148, 68, 12, 3023, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5436, 4049, 1043, 379, 4274, 15440, 25, 362, 13, 3312, 1495, 1314, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 575, 796, 45941, 13, 22468, 2624, 7, 15, 13, 35005, 3553, 1120, 28857, 38431, 22416, 11623, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 575, 1343, 4808, 7959, 282, 35428, 7, 47, 19, 11, 2124, 532, 513, 13, 20, 20679, 62, 7959, 282, 35428, 7, 48, 19, 11, 2124, 532, 513, 13, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 1635, 28, 45941, 13, 11201, 32590, 87, 9, 87, 20679, 87, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 28833, 1043, 25, 362, 13, 45039, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1475, 7254, 4049, 3381, 25, 362, 13, 23, 3270, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22246, 3585, 1487, 287, 1630, 2173, 25, 352, 13, 27277, 68, 12, 2713, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5436, 4049, 1043, 379, 4274, 15440, 25, 362, 13, 2079, 3720, 3365, 68, 12, 1558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 575, 796, 45941, 13, 22468, 2624, 7, 15, 13, 2816, 3720, 2931, 486, 1507, 26200, 22416, 11623, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 575, 1343, 4808, 7959, 282, 35428, 7, 47, 20, 11, 352, 13, 15, 14, 87, 20679, 62, 7959, 282, 35428, 7, 48, 20, 11, 352, 13, 15, 14, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 1635, 28, 45941, 13, 11201, 32590, 87, 9, 87, 20679, 87, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4377, 1988, 286, 2124, 4025, 621, 2579, 481, 739, 11125, 284, 6632, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 287, 1851, 796, 407, 287, 1851, 628, 220, 220, 220, 611, 287, 1851, 25, 198, 220, 220, 220, 220, 220, 220, 220, 581, 796, 352, 13, 15, 532, 581, 198, 220, 220, 220, 1441, 581, 628, 198, 31, 77, 45051, 10786, 22468, 2414, 7, 22468, 2414, 8, 3256, 12940, 28, 33692, 13, 34, 2246, 13909, 8, 628, 198, 31, 77, 45051, 10786, 22468, 2414, 7, 22468, 2414, 8, 3256, 12940, 28, 33692, 13, 34, 2246, 13909, 8, 628, 198, 31, 31364, 1096, 7, 17816, 22468, 2414, 7, 22468, 2414, 33047, 4357, 299, 404, 7535, 28, 17821, 11, 12940, 28, 33692, 13, 34, 2246, 13909, 8, 198, 4299, 1931, 69, 7, 87, 2599, 198, 220, 220, 220, 37227, 12331, 2163, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 2124, 1058, 7177, 12, 2339, 198, 220, 220, 220, 220, 220, 220, 220, 11045, 319, 262, 1103, 1627, 198, 220, 220, 220, 503, 1058, 299, 67, 18747, 11, 11902, 198, 220, 220, 220, 220, 220, 220, 220, 25235, 7177, 329, 262, 3815, 286, 4600, 263, 69, 63, 379, 4600, 87, 63, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 299, 67, 18747, 198, 220, 220, 220, 220, 220, 220, 220, 27068, 286, 4600, 263, 69, 63, 379, 4600, 87, 63, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 263, 69, 7, 87, 8, 628, 198, 31, 31364, 1096, 7, 17816, 22468, 2414, 7, 22468, 2414, 33047, 4357, 299, 404, 7535, 28, 17821, 11, 12940, 28, 33692, 13, 34, 2246, 13909, 8, 198, 4299, 1931, 16072, 7, 87, 2599, 198, 220, 220, 220, 37227, 5377, 26908, 560, 4049, 2163, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 2124, 1058, 7177, 12, 2339, 198, 220, 220, 220, 220, 220, 220, 220, 11045, 319, 262, 1103, 1627, 198, 220, 220, 220, 503, 1058, 299, 67, 18747, 11, 11902, 198, 220, 220, 220, 220, 220, 220, 220, 25235, 7177, 329, 262, 3815, 286, 4600, 263, 16072, 63, 379, 4600, 87, 63, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 299, 67, 18747, 198, 220, 220, 220, 220, 220, 220, 220, 27068, 286, 4600, 263, 69, 63, 379, 4600, 87, 63, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4808, 263, 16072, 7, 87, 8, 198 ]
1.958347
3,025
# -*- coding: utf-8 -*- """A simulation and visualization demonstration. This module runs a simple demonstration of the capabilities of the adsa simulations and analysis. """ import logging from pathlib import Path import csv from .solver import simulate_droplet_shape from .analysis import calculate_volume from .visualisation import plot_drop, plot_drop_3d from matplotlib import pyplot as plt
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 32, 18640, 290, 32704, 13646, 13, 198, 198, 1212, 8265, 4539, 257, 2829, 13646, 286, 262, 9889, 286, 262, 9011, 64, 198, 14323, 5768, 290, 3781, 13, 198, 37811, 198, 11748, 18931, 198, 6738, 3108, 8019, 1330, 10644, 198, 11748, 269, 21370, 198, 198, 6738, 764, 82, 14375, 1330, 29308, 62, 22285, 37069, 62, 43358, 198, 6738, 764, 20930, 1330, 15284, 62, 29048, 198, 6738, 764, 41464, 5612, 1330, 7110, 62, 14781, 11, 7110, 62, 14781, 62, 18, 67, 198, 6738, 2603, 29487, 8019, 1330, 12972, 29487, 355, 458, 83, 628 ]
3.764151
106
from condor_scheduler import * from basic_scheduler import * from helper import * #scheduler = CondorScheduler() scheduler = BasicScheduler() app_flags = {} trials = ['', '_1', '_2'] trials = [''] #thds = [4, 8] #, 16, 20, 24, 28, 32] thds = [8, 16, 32] thds = [4, 8, 16, 20, 24, 28, 32] thds = [16] thds = [4, 8, 16, 24, 32] num_logger = 4 benchmarks = ['TPCC'] benchmarks = ['YCSB', 'TPCC'] benchmarks = ['YCSB'] algorithms = ['S'] algorithms = ['B', 'P', 'S'] algorithms = ['P', 'B'] algorithms = ['B'] algorithms = ['P'] algorithms = ['P', 'B'] algorithms = ['S', 'P', 'B', 'NO'] types = ['D'] # data logging and command logging types = ['C'] # data logging and command logging types = ['D', 'C'] # data logging and command logging configs = [] for bench in benchmarks: for alg in algorithms: if alg == 'NO': configs += ['%s_%s' % (alg, bench)] else: for t in types: if alg == 'B' and t == 'C': continue configs += ['%s%s_%s' % (alg, t, bench)] """ app_flags = {} ########################## ### test ########################## # logging for config in configs: thd = 16 num_logger = 4 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'P' else 1 app_flags['LOG_RECOVER'] = 0 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 10000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 app_flags['SYNTH_TABLE_SIZE'] = 1024 app_flags['NUM_WH'] = 1 output_dir = "results/test/%s/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) # recovery for config in configs: thd = 16 num_logger = 4 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'P' else 1 app_flags['LOG_RECOVER'] = 1 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 10000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 app_flags['SYNTH_TABLE_SIZE'] = 1024 app_flags['NUM_WH'] = 1 app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000 output_dir = "results/test/%s_rec/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) ########################## ########################## ######################### """ """ app_flags = {} ########################## # Logging Performance ########################## for trial in trials: for config in configs: for thd in thds: executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 if 'TPCC' in config: app_flags['NUM_WH'] = 16 else : # YCSB app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s%s" % (config, thd, logger, trial) add_dbms_job(app_flags, executable, output_dir) """ """ app_flags = {} ########################## # RAMDisk Logging Performance ########################## for trial in trials: for config in configs: for thd in thds: executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 if 'TPCC' in config: app_flags['NUM_WH'] = 16 else : # YCSB app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 1 output_dir = "results/%s_ramdisk/thd%d_L%s%s" % (config, thd, logger, trial) add_dbms_job(app_flags, executable, output_dir) """ """ # Batch logging with different epoch length for trial in trials: config = 'BD_YCSB' executable = "./rundb_%s" % config thd = 4 #for epoch in [10, 20, 40, 80, 160]: for epoch in [5]: logger = num_logger app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 400000 if config[1] == 'D' else 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['EPOCH_PERIOD'] = epoch app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s_E%d%s" % (config, thd, logger, epoch, trial) add_dbms_job(app_flags, executable, output_dir) """ """ ########################## # Generate Log Files ########################## app_flags = {} for config in configs: thd = 16 if 'NO' in config: continue executable = "./rundb_%s" % config logger = 1 if config[0] == 'S' else num_logger if 'TPCC' in config: app_flags['NUM_WH'] = 16 else : # YCSB app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 app_flags['LOG_RECOVER'] = 0 app_flags['LOG_BUFFER_SIZE'] = 1048576 * 50 app_flags['LOG_CHUNK_SIZE'] = 1048576 * 10 output_dir = "results/%s_gen/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) # recover performance app_flags = {} for trial in trials: app_flags = {} for bench in benchmarks : #['YCSB', 'TPCC']: for alg in algorithms: if alg == 'NO': continue logger = 1 if alg == 'S' else num_logger for t in types: if alg == 'B' and t == 'C': continue config = '%s%s_%s' % (alg, t, bench) executable = "./rundb_%s" % config for thd in thds: if bench == 'TPCC': app_flags['NUM_WH'] = 16 app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = 4 else: app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = thd app_flags['THREAD_CNT'] = thd app_flags['LOG_RECOVER'] = 1 app_flags['NUM_LOGGER'] = logger app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000000 output_dir = "results/%s_rec/thd%d_L%s%s" % \ (config, thd, logger, trial) add_dbms_job(app_flags, executable, output_dir) """ ############################## # sweep # of warehouse ############################## app_flags = {} bench = 'TPCC' #configs = ['SD', 'SC', 'PD', 'PC', 'BD'] configs = ['NO'] #SD', 'SC', 'PD', 'PC', 'BD'] configs = ['%s_TPCC' % x for x in configs] for wh in [1, 4, 8, 16, 32]: #logging performance for config in configs: thd = 32 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['NUM_WH'] = wh app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s_wh%d" % (config, thd, logger, wh) add_dbms_job(app_flags, executable, output_dir) """ # recovery performance. generate logs. for wh in [1, 4, 8, 16, 32]: app_flags = {} # generate logs. for config in configs: thd = 16 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 if 'TPCC' in config: app_flags['NUM_WH'] = wh app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s_gen/thd%d_L%s_wh%d" % (config, thd, logger, wh) add_dbms_job(app_flags, executable, output_dir) # recover performance app_flags = {} for config in configs: if 'NO' in config: continue if config[0] == 'B' and config[1] == 'C': continue logger = 1 if config[0] == 'S' else num_logger executable = "./rundb_%s" % config thd = 32 app_flags['NUM_WH'] = wh app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = 4 app_flags['THREAD_CNT'] = thd app_flags['LOG_RECOVER'] = 1 app_flags['NUM_LOGGER'] = logger app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000000 output_dir = "results/%s_rec/thd%d_L%s_wh%d" % \ (config, thd, logger, wh) add_dbms_job(app_flags, executable, output_dir) """ """ ############################## # sweep number of queries in YCSB ############################## bench = 'YCSB' configs = ['SD', 'SC', 'PD', 'PC', 'BD'] configs = ['%s_%s' % (x, bench) for x in configs] app_flags = {} for queries in [1, 2, 4, 8]: #logging performance for config in configs: thd = 32 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = queries app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s_q%d" % (config, thd, logger, queries) add_dbms_job(app_flags, executable, output_dir) # recovery performance. generate logs. for queries in [1, 2, 4, 8]: app_flags = {} # generate logs. for config in configs: thd = 16 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = queries app_flags['READ_PERC'] = 0.5 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s_gen/thd%d_L%s_q%d" % (config, thd, logger, queries) add_dbms_job(app_flags, executable, output_dir) # recover performance app_flags = {} for config in configs: if 'NO' in config: continue if config[0] == 'B' and config[1] == 'C': continue logger = 1 if config[0] == 'S' else num_logger executable = "./rundb_%s" % config thd = 32 app_flags['REQ_PER_QUERY'] = queries app_flags['READ_PERC'] = 0.5 app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = thd app_flags['THREAD_CNT'] = thd app_flags['LOG_RECOVER'] = 1 app_flags['NUM_LOGGER'] = logger app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000000 output_dir = "results/%s_rec/thd%d_L%s_q%d" % \ (config, thd, logger, queries) add_dbms_job(app_flags, executable, output_dir) ############################## # sweep contention level ############################## app_flags = {} bench = 'YCSB' configs = ['SD', 'SC', 'PD', 'PC', 'BD'] configs = ['%s_%s' % (x, bench) for x in configs] for theta in [0, 0.6, 0.8, 0.9]: #logging performance for config in configs: thd = 32 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = theta app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s_z%s" % (config, thd, logger, theta) add_dbms_job(app_flags, executable, output_dir) # recovery performance. generate logs. for theta in [0, 0.6, 0.8, 0.9]: app_flags = {} # generate logs. for config in configs: thd = 16 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = theta app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s_gen/thd%d_L%s_z%s" % (config, thd, logger, theta) add_dbms_job(app_flags, executable, output_dir) # recover performance app_flags = {} for config in configs: if 'NO' in config: continue if config[0] == 'B' and config[1] == 'C': continue logger = 1 if config[0] == 'S' else num_logger executable = "./rundb_%s" % config thd = 32 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = theta app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = thd app_flags['THREAD_CNT'] = thd app_flags['LOG_RECOVER'] = 1 app_flags['NUM_LOGGER'] = logger app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000000 output_dir = "results/%s_rec/thd%d_L%s_z%s" % (config, thd, logger, theta) add_dbms_job(app_flags, executable, output_dir) """ """ ################################## # sweep the number of loggers ################################## app_flags = {} bench = 'YCSB' configs = ['PD', 'PC', 'BD'] configs = ['%s_%s' % (x, bench) for x in configs] for logger in [1, 2]: #logging performance for config in configs: thd = 32 executable = "./rundb_%s" % config if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = 0.6 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) # recovery performance. generate logs. for num_logger in [1, 2]: app_flags = {} # generate logs. for config in configs: thd = 16 executable = "./rundb_%s" % config logger = num_logger if config[0] == 'S' or config[0] == 'N': logger = 1 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = 0.6 app_flags['MAX_TXNS_PER_THREAD'] = 1000000 app_flags['THREAD_CNT'] = thd app_flags['NUM_LOGGER'] = logger app_flags['LOG_NO_FLUSH'] = 0 output_dir = "results/%s_gen/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) # recover performance app_flags = {} for config in configs: if 'NO' in config: continue if config[0] == 'B' and config[1] == 'C': continue logger = 1 if config[0] == 'S' else num_logger executable = "./rundb_%s" % config thd = 32 app_flags['REQ_PER_QUERY'] = 2 app_flags['READ_PERC'] = 0.5 app_flags['ZIPF_THETA'] = 0.6 app_flags['LOG_PARALLEL_REC_NUM_POOLS'] = thd app_flags['THREAD_CNT'] = thd app_flags['LOG_RECOVER'] = 1 app_flags['NUM_LOGGER'] = logger app_flags['LOG_PARALLEL_NUM_BUCKETS'] = 10000000 output_dir = "results/%s_rec/thd%d_L%s" % (config, thd, logger) add_dbms_job(app_flags, executable, output_dir) """ scheduler.generateSubmitFile()
[ 6738, 1779, 273, 62, 1416, 704, 18173, 1330, 1635, 198, 6738, 4096, 62, 1416, 704, 18173, 1330, 1635, 198, 6738, 31904, 1330, 1635, 198, 198, 2, 1416, 704, 18173, 796, 9724, 273, 50, 1740, 18173, 3419, 198, 1416, 704, 18173, 796, 14392, 50, 1740, 18173, 3419, 198, 198, 1324, 62, 33152, 796, 23884, 628, 198, 28461, 874, 796, 37250, 3256, 705, 62, 16, 3256, 705, 62, 17, 20520, 198, 28461, 874, 796, 685, 7061, 60, 198, 198, 2, 400, 9310, 796, 685, 19, 11, 807, 60, 1303, 11, 1467, 11, 1160, 11, 1987, 11, 2579, 11, 3933, 60, 198, 400, 9310, 796, 685, 23, 11, 1467, 11, 3933, 60, 198, 400, 9310, 796, 685, 19, 11, 807, 11, 1467, 11, 1160, 11, 1987, 11, 2579, 11, 3933, 60, 198, 400, 9310, 796, 685, 1433, 60, 198, 400, 9310, 796, 685, 19, 11, 807, 11, 1467, 11, 1987, 11, 3933, 60, 198, 198, 22510, 62, 6404, 1362, 796, 604, 198, 198, 26968, 14306, 796, 37250, 7250, 4093, 20520, 198, 26968, 14306, 796, 37250, 56, 7902, 33, 3256, 705, 7250, 4093, 20520, 198, 26968, 14306, 796, 37250, 56, 7902, 33, 20520, 198, 198, 282, 7727, 907, 796, 37250, 50, 20520, 220, 198, 282, 7727, 907, 796, 37250, 33, 3256, 705, 47, 3256, 705, 50, 20520, 220, 198, 282, 7727, 907, 796, 37250, 47, 3256, 705, 33, 20520, 220, 198, 282, 7727, 907, 796, 37250, 33, 20520, 220, 198, 282, 7727, 907, 796, 37250, 47, 20520, 220, 198, 282, 7727, 907, 796, 37250, 47, 3256, 705, 33, 20520, 220, 198, 282, 7727, 907, 796, 37250, 50, 3256, 705, 47, 3256, 705, 33, 3256, 705, 15285, 20520, 220, 198, 198, 19199, 796, 37250, 35, 20520, 220, 197, 2, 1366, 18931, 290, 3141, 18931, 198, 19199, 796, 37250, 34, 20520, 220, 197, 2, 1366, 18931, 290, 3141, 18931, 198, 19199, 796, 37250, 35, 3256, 705, 34, 20520, 220, 197, 2, 1366, 18931, 290, 3141, 18931, 628, 198, 11250, 82, 796, 17635, 198, 1640, 7624, 287, 31747, 25, 198, 197, 1640, 435, 70, 287, 16113, 25, 198, 197, 197, 361, 435, 70, 6624, 705, 15285, 10354, 220, 198, 197, 197, 197, 11250, 82, 15853, 37250, 4, 82, 62, 4, 82, 6, 4064, 357, 14016, 11, 7624, 15437, 198, 197, 197, 17772, 25, 198, 197, 197, 197, 1640, 256, 287, 3858, 25, 198, 197, 197, 197, 197, 361, 435, 70, 6624, 705, 33, 6, 290, 256, 6624, 705, 34, 10354, 2555, 198, 197, 197, 197, 197, 11250, 82, 15853, 37250, 4, 82, 4, 82, 62, 4, 82, 6, 4064, 357, 14016, 11, 256, 11, 7624, 15437, 198, 37811, 198, 1324, 62, 33152, 796, 23884, 198, 14468, 7804, 2235, 198, 21017, 1332, 198, 14468, 7804, 2235, 198, 2, 18931, 198, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 400, 67, 796, 1467, 197, 197, 197, 198, 197, 22510, 62, 6404, 1362, 796, 604, 198, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 611, 4566, 58, 15, 60, 6624, 705, 47, 6, 2073, 352, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 657, 198, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 33028, 198, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 1324, 62, 33152, 17816, 23060, 45, 4221, 62, 38148, 62, 33489, 20520, 796, 28119, 198, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 352, 198, 197, 22915, 62, 15908, 796, 366, 43420, 14, 9288, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 2, 7628, 198, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 400, 67, 796, 1467, 197, 197, 197, 198, 197, 22510, 62, 6404, 1362, 796, 604, 198, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 611, 4566, 58, 15, 60, 6624, 705, 47, 6, 2073, 352, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 220, 198, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 33028, 198, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 1324, 62, 33152, 17816, 23060, 45, 4221, 62, 38148, 62, 33489, 20520, 796, 28119, 198, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 352, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 33028, 198, 197, 22915, 62, 15908, 796, 366, 43420, 14, 9288, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 14468, 7804, 2235, 198, 14468, 7804, 2235, 198, 14468, 7804, 2, 198, 198, 37811, 198, 37811, 198, 1324, 62, 33152, 796, 23884, 198, 14468, 7804, 2235, 198, 2, 5972, 2667, 15193, 220, 198, 14468, 7804, 2235, 198, 1640, 4473, 287, 9867, 25, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 1640, 294, 67, 287, 294, 9310, 25, 198, 197, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 197, 361, 705, 7250, 4093, 6, 287, 4566, 25, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 1467, 198, 197, 197, 197, 17772, 1058, 1303, 575, 7902, 33, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 4473, 8, 198, 197, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 198, 37811, 198, 1324, 62, 33152, 796, 23884, 198, 14468, 7804, 2235, 198, 2, 13931, 40961, 5972, 2667, 15193, 220, 198, 14468, 7804, 2235, 198, 1640, 4473, 287, 9867, 25, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 1640, 294, 67, 287, 294, 9310, 25, 198, 197, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 197, 361, 705, 7250, 4093, 6, 287, 4566, 25, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 1467, 198, 197, 197, 197, 17772, 1058, 1303, 575, 7902, 33, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 197, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 352, 198, 197, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 859, 39531, 14, 400, 67, 4, 67, 62, 43, 4, 82, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 4473, 8, 198, 197, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 37811, 198, 37811, 198, 2, 347, 963, 18931, 351, 1180, 36835, 4129, 198, 1640, 4473, 287, 9867, 25, 220, 198, 197, 11250, 796, 705, 14529, 62, 56, 7902, 33, 6, 198, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 400, 67, 796, 604, 198, 197, 2, 1640, 36835, 287, 685, 940, 11, 1160, 11, 2319, 11, 4019, 11, 13454, 5974, 198, 197, 1640, 36835, 287, 685, 20, 5974, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 7337, 830, 611, 4566, 58, 16, 60, 6624, 705, 35, 6, 2073, 1802, 2388, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 8905, 46, 3398, 62, 18973, 40, 3727, 20520, 796, 36835, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 36, 4, 67, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 36835, 11, 4473, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 198, 37811, 198, 14468, 7804, 2235, 198, 2, 2980, 378, 5972, 13283, 220, 198, 14468, 7804, 2235, 198, 1324, 62, 33152, 796, 23884, 198, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 400, 67, 796, 1467, 198, 197, 361, 705, 15285, 6, 287, 4566, 25, 2555, 198, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 6404, 1362, 796, 352, 611, 4566, 58, 15, 60, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 361, 705, 7250, 4093, 6, 287, 4566, 25, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 1467, 198, 197, 17772, 1058, 1303, 575, 7902, 33, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 198, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 657, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 19499, 45746, 62, 33489, 20520, 796, 220, 838, 2780, 37452, 1635, 2026, 198, 197, 1324, 62, 33152, 17816, 25294, 62, 3398, 4944, 42, 62, 33489, 20520, 796, 220, 838, 2780, 37452, 1635, 838, 198, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 5235, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 2, 8551, 2854, 198, 1324, 62, 33152, 796, 23884, 198, 1640, 4473, 287, 9867, 25, 220, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 1640, 7624, 287, 31747, 1058, 1303, 17816, 56, 7902, 33, 3256, 705, 7250, 4093, 6, 5974, 198, 197, 197, 1640, 435, 70, 287, 16113, 25, 198, 197, 197, 197, 361, 435, 70, 6624, 705, 15285, 10354, 2555, 198, 197, 197, 197, 6404, 1362, 796, 352, 611, 435, 70, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 197, 197, 1640, 256, 287, 3858, 25, 198, 197, 197, 197, 197, 361, 435, 70, 6624, 705, 33, 6, 290, 256, 6624, 705, 34, 10354, 2555, 198, 197, 197, 197, 197, 11250, 796, 705, 4, 82, 4, 82, 62, 4, 82, 6, 4064, 357, 14016, 11, 256, 11, 7624, 8, 198, 197, 197, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 197, 197, 1640, 294, 67, 287, 294, 9310, 25, 220, 198, 197, 197, 197, 197, 197, 361, 7624, 6624, 705, 7250, 4093, 10354, 198, 197, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 1467, 198, 197, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 604, 198, 197, 197, 197, 197, 197, 17772, 25, 198, 197, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 294, 67, 198, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 198, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 197, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 1802, 20483, 198, 197, 197, 197, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 4, 82, 1, 4064, 3467, 198, 197, 197, 197, 197, 197, 197, 7, 11250, 11, 294, 67, 11, 49706, 11, 4473, 8, 198, 197, 197, 197, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 198, 14468, 7804, 4242, 2235, 198, 2, 16085, 1303, 286, 20933, 198, 14468, 7804, 4242, 2235, 198, 1324, 62, 33152, 796, 23884, 198, 26968, 796, 705, 7250, 4093, 6, 198, 2, 11250, 82, 796, 37250, 10305, 3256, 705, 6173, 3256, 705, 5760, 3256, 705, 5662, 3256, 705, 14529, 20520, 198, 11250, 82, 796, 37250, 15285, 20520, 1303, 10305, 3256, 705, 6173, 3256, 705, 5760, 3256, 705, 5662, 3256, 705, 14529, 20520, 198, 11250, 82, 796, 37250, 4, 82, 62, 7250, 4093, 6, 4064, 2124, 329, 2124, 287, 4566, 82, 60, 198, 1640, 348, 287, 685, 16, 11, 604, 11, 807, 11, 1467, 11, 3933, 5974, 198, 197, 2, 6404, 2667, 2854, 198, 197, 1640, 4566, 287, 4566, 82, 25, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 348, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 1929, 4, 67, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 348, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 198, 2, 7628, 2854, 13, 7716, 17259, 13, 220, 198, 1640, 348, 287, 685, 16, 11, 604, 11, 807, 11, 1467, 11, 3933, 5974, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 2, 7716, 17259, 13, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 1467, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 361, 705, 7250, 4093, 6, 287, 4566, 25, 198, 197, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 348, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 5235, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 1929, 4, 67, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 348, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 628, 197, 2, 8551, 2854, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 1640, 4566, 287, 4566, 82, 25, 198, 197, 197, 361, 705, 15285, 6, 287, 4566, 25, 2555, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 33, 6, 290, 4566, 58, 16, 60, 6624, 705, 34, 10354, 2555, 198, 197, 197, 6404, 1362, 796, 352, 611, 4566, 58, 15, 60, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 12418, 20520, 796, 348, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 604, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 1802, 20483, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 1929, 4, 67, 1, 4064, 3467, 198, 197, 197, 197, 197, 7, 11250, 11, 294, 67, 11, 49706, 11, 348, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 37811, 198, 37811, 198, 14468, 7804, 4242, 2235, 198, 2, 16085, 1271, 286, 20743, 287, 575, 7902, 33, 198, 14468, 7804, 4242, 2235, 198, 26968, 796, 705, 56, 7902, 33, 6, 198, 11250, 82, 796, 37250, 10305, 3256, 705, 6173, 3256, 705, 5760, 3256, 705, 5662, 3256, 705, 14529, 20520, 198, 11250, 82, 796, 37250, 4, 82, 62, 4, 82, 6, 4064, 357, 87, 11, 7624, 8, 329, 2124, 287, 4566, 82, 60, 198, 1324, 62, 33152, 796, 23884, 198, 1640, 20743, 287, 685, 16, 11, 362, 11, 604, 11, 807, 5974, 198, 197, 2, 6404, 2667, 2854, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 20743, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 628, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 80, 4, 67, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 20743, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 2, 7628, 2854, 13, 7716, 17259, 13, 220, 198, 1640, 20743, 287, 685, 16, 11, 362, 11, 604, 11, 807, 5974, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 2, 7716, 17259, 13, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 1467, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 20743, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 5235, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 80, 4, 67, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 20743, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 628, 197, 2, 8551, 2854, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 1640, 4566, 287, 4566, 82, 25, 198, 197, 197, 361, 705, 15285, 6, 287, 4566, 25, 2555, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 33, 6, 290, 4566, 58, 16, 60, 6624, 705, 34, 10354, 2555, 198, 197, 197, 6404, 1362, 796, 352, 611, 4566, 58, 15, 60, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 400, 67, 796, 3933, 628, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 20743, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 1802, 20483, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 80, 4, 67, 1, 4064, 3467, 198, 197, 197, 197, 197, 7, 11250, 11, 294, 67, 11, 49706, 11, 20743, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 14468, 7804, 4242, 2235, 198, 2, 16085, 22627, 1241, 220, 198, 14468, 7804, 4242, 2235, 198, 1324, 62, 33152, 796, 23884, 198, 26968, 796, 705, 56, 7902, 33, 6, 198, 11250, 82, 796, 37250, 10305, 3256, 705, 6173, 3256, 705, 5760, 3256, 705, 5662, 3256, 705, 14529, 20520, 198, 11250, 82, 796, 37250, 4, 82, 62, 4, 82, 6, 4064, 357, 87, 11, 7624, 8, 329, 2124, 287, 4566, 82, 60, 198, 1640, 262, 8326, 287, 685, 15, 11, 657, 13, 21, 11, 657, 13, 23, 11, 657, 13, 24, 5974, 198, 197, 2, 6404, 2667, 2854, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 262, 8326, 628, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 89, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 262, 8326, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 198, 2, 7628, 2854, 13, 7716, 17259, 13, 220, 198, 1640, 262, 8326, 287, 685, 15, 11, 657, 13, 21, 11, 657, 13, 23, 11, 657, 13, 24, 5974, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 2, 7716, 17259, 13, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 1467, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 262, 8326, 198, 197, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 5235, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 89, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 262, 8326, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 628, 197, 2, 8551, 2854, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 1640, 4566, 287, 4566, 82, 25, 198, 197, 197, 361, 705, 15285, 6, 287, 4566, 25, 2555, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 33, 6, 290, 4566, 58, 16, 60, 6624, 705, 34, 10354, 2555, 198, 197, 197, 6404, 1362, 796, 352, 611, 4566, 58, 15, 60, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 262, 8326, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 1802, 20483, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 62, 89, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 11, 262, 8326, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 198, 37811, 198, 198, 29113, 2235, 198, 2, 16085, 262, 1271, 286, 2604, 5355, 220, 198, 29113, 2235, 198, 1324, 62, 33152, 796, 23884, 198, 26968, 796, 705, 56, 7902, 33, 6, 198, 11250, 82, 796, 37250, 5760, 3256, 705, 5662, 3256, 705, 14529, 20520, 198, 11250, 82, 796, 37250, 4, 82, 62, 4, 82, 6, 4064, 357, 87, 11, 7624, 8, 329, 2124, 287, 4566, 82, 60, 198, 1640, 49706, 287, 685, 16, 11, 362, 5974, 220, 198, 197, 2, 6404, 2667, 2854, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 657, 13, 21, 628, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 2, 7628, 2854, 13, 7716, 17259, 13, 220, 198, 1640, 997, 62, 6404, 1362, 287, 685, 16, 11, 362, 5974, 220, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 2, 7716, 17259, 13, 220, 198, 197, 1640, 4566, 287, 4566, 82, 25, 220, 198, 197, 197, 400, 67, 796, 1467, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 6404, 1362, 796, 997, 62, 6404, 1362, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 50, 6, 393, 4566, 58, 15, 60, 6624, 705, 45, 10354, 198, 197, 197, 197, 6404, 1362, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 657, 13, 21, 220, 198, 197, 198, 197, 197, 1324, 62, 33152, 17816, 22921, 62, 29551, 8035, 62, 18973, 62, 4221, 15675, 20520, 796, 1802, 2388, 220, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 15285, 62, 3697, 27143, 20520, 796, 657, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 5235, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 628, 197, 2, 8551, 2854, 198, 197, 1324, 62, 33152, 796, 23884, 198, 197, 1640, 4566, 287, 4566, 82, 25, 198, 197, 197, 361, 705, 15285, 6, 287, 4566, 25, 2555, 198, 197, 197, 361, 4566, 58, 15, 60, 6624, 705, 33, 6, 290, 4566, 58, 16, 60, 6624, 705, 34, 10354, 2555, 198, 197, 197, 6404, 1362, 796, 352, 611, 4566, 58, 15, 60, 6624, 705, 50, 6, 2073, 997, 62, 6404, 1362, 198, 197, 197, 18558, 18187, 796, 366, 19571, 622, 358, 65, 62, 4, 82, 1, 4064, 4566, 198, 197, 197, 400, 67, 796, 3933, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 2200, 48, 62, 18973, 62, 10917, 19664, 20520, 796, 362, 220, 198, 197, 197, 1324, 62, 33152, 17816, 15675, 62, 18973, 34, 20520, 796, 657, 13, 20, 198, 197, 197, 1324, 62, 33152, 17816, 57, 4061, 37, 62, 4221, 20892, 20520, 796, 657, 13, 21, 220, 198, 197, 197, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 38827, 62, 41359, 62, 16402, 3535, 50, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 4221, 15675, 62, 34, 11251, 20520, 796, 294, 67, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 2200, 8220, 5959, 20520, 796, 352, 198, 197, 197, 1324, 62, 33152, 17816, 41359, 62, 25294, 30373, 20520, 796, 49706, 198, 197, 197, 1324, 62, 33152, 17816, 25294, 62, 27082, 1847, 2538, 43, 62, 41359, 62, 33, 16696, 32716, 20520, 796, 1802, 20483, 198, 197, 197, 22915, 62, 15908, 796, 366, 43420, 14, 4, 82, 62, 8344, 14, 400, 67, 4, 67, 62, 43, 4, 82, 1, 4064, 357, 11250, 11, 294, 67, 11, 49706, 8, 198, 197, 197, 2860, 62, 9945, 907, 62, 21858, 7, 1324, 62, 33152, 11, 28883, 11, 5072, 62, 15908, 8, 198, 37811, 628, 198, 1416, 704, 18173, 13, 8612, 378, 45135, 8979, 3419, 198 ]
2.252483
6,242
from construct import * from construct.lib import * opaque_with_param = Struct( 'one' / LazyBound(lambda: params_def), ) _schema = opaque_with_param
[ 6738, 5678, 1330, 1635, 198, 6738, 5678, 13, 8019, 1330, 1635, 198, 198, 404, 18251, 62, 4480, 62, 17143, 796, 32112, 7, 198, 197, 6, 505, 6, 1220, 406, 12582, 49646, 7, 50033, 25, 42287, 62, 4299, 828, 198, 8, 198, 198, 62, 15952, 2611, 796, 32191, 62, 4480, 62, 17143, 198 ]
2.923077
52
from sympy.external import import_module matchpy = import_module("matchpy") from sympy.utilities.decorator import doctest_depends_on if matchpy: from matchpy import Pattern, ReplacementRule, CustomConstraint from sympy.integrals.rubi.utility_function import (Int, Set, With, Module, Scan, MapAnd, FalseQ, ZeroQ, NegativeQ, NonzeroQ, FreeQ, NFreeQ, List, Log, PositiveQ, PositiveIntegerQ, NegativeIntegerQ, IntegerQ, IntegersQ, ComplexNumberQ, PureComplexNumberQ, RealNumericQ, PositiveOrZeroQ, NegativeOrZeroQ, FractionOrNegativeQ, NegQ, Equal, Unequal, IntPart, FracPart, RationalQ, ProductQ, SumQ, NonsumQ, Subst, First, Rest, SqrtNumberQ, SqrtNumberSumQ, LinearQ, Sqrt, ArcCosh, Coefficient, Denominator, Hypergeometric2F1, Not, Simplify, FractionalPart, IntegerPart, AppellF1, EllipticPi, EllipticE, EllipticF, ArcTan, ArcCot, ArcCoth, ArcTanh, ArcSin, ArcSinh, ArcCos, ArcCsc, ArcSec, ArcCsch, ArcSech, Sinh, Tanh, Cosh, Sech, Csch, Coth, LessEqual, Less, Greater, GreaterEqual, FractionQ, IntLinearcQ, Expand, IndependentQ, PowerQ, IntegerPowerQ, PositiveIntegerPowerQ, FractionalPowerQ, AtomQ, ExpQ, LogQ, Head, MemberQ, TrigQ, SinQ, CosQ, TanQ, CotQ, SecQ, CscQ, Sin, Cos, Tan, Cot, Sec, Csc, HyperbolicQ, SinhQ, CoshQ, TanhQ, CothQ, SechQ, CschQ, InverseTrigQ, SinCosQ, SinhCoshQ, LeafCount, Numerator, NumberQ, NumericQ, Length, ListQ, Im, Re, InverseHyperbolicQ, InverseFunctionQ, TrigHyperbolicFreeQ, InverseFunctionFreeQ, RealQ, EqQ, FractionalPowerFreeQ, ComplexFreeQ, PolynomialQ, FactorSquareFree, PowerOfLinearQ, Exponent, QuadraticQ, LinearPairQ, BinomialParts, TrinomialParts, PolyQ, EvenQ, OddQ, PerfectSquareQ, NiceSqrtAuxQ, NiceSqrtQ, Together, PosAux, PosQ, CoefficientList, ReplaceAll, ExpandLinearProduct, GCD, ContentFactor, NumericFactor, NonnumericFactors, MakeAssocList, GensymSubst, KernelSubst, ExpandExpression, Apart, SmartApart, MatchQ, PolynomialQuotientRemainder, FreeFactors, NonfreeFactors, RemoveContentAux, RemoveContent, FreeTerms, NonfreeTerms, ExpandAlgebraicFunction, CollectReciprocals, ExpandCleanup, AlgebraicFunctionQ, Coeff, LeadTerm, RemainingTerms, LeadFactor, RemainingFactors, LeadBase, LeadDegree, Numer, Denom, hypergeom, Expon, MergeMonomials, PolynomialDivide, BinomialQ, TrinomialQ, GeneralizedBinomialQ, GeneralizedTrinomialQ, FactorSquareFreeList, PerfectPowerTest, SquareFreeFactorTest, RationalFunctionQ, RationalFunctionFactors, NonrationalFunctionFactors, Reverse, RationalFunctionExponents, RationalFunctionExpand, ExpandIntegrand, SimplerQ, SimplerSqrtQ, SumSimplerQ, BinomialDegree, TrinomialDegree, CancelCommonFactors, SimplerIntegrandQ, GeneralizedBinomialDegree, GeneralizedBinomialParts, GeneralizedTrinomialDegree, GeneralizedTrinomialParts, MonomialQ, MonomialSumQ, MinimumMonomialExponent, MonomialExponent, LinearMatchQ, PowerOfLinearMatchQ, QuadraticMatchQ, CubicMatchQ, BinomialMatchQ, TrinomialMatchQ, GeneralizedBinomialMatchQ, GeneralizedTrinomialMatchQ, QuotientOfLinearsMatchQ, PolynomialTermQ, PolynomialTerms, NonpolynomialTerms, PseudoBinomialParts, NormalizePseudoBinomial, PseudoBinomialPairQ, PseudoBinomialQ, PolynomialGCD, PolyGCD, AlgebraicFunctionFactors, NonalgebraicFunctionFactors, QuotientOfLinearsP, QuotientOfLinearsParts, QuotientOfLinearsQ, Flatten, Sort, AbsurdNumberQ, AbsurdNumberFactors, NonabsurdNumberFactors, SumSimplerAuxQ, Prepend, Drop, CombineExponents, FactorInteger, FactorAbsurdNumber, SubstForInverseFunction, SubstForFractionalPower, SubstForFractionalPowerOfQuotientOfLinears, FractionalPowerOfQuotientOfLinears, SubstForFractionalPowerQ, SubstForFractionalPowerAuxQ, FractionalPowerOfSquareQ, FractionalPowerSubexpressionQ, Apply, FactorNumericGcd, MergeableFactorQ, MergeFactor, MergeFactors, TrigSimplifyQ, TrigSimplify, TrigSimplifyRecur, Order, FactorOrder, Smallest, OrderedQ, MinimumDegree, PositiveFactors, Sign, NonpositiveFactors, PolynomialInAuxQ, PolynomialInQ, ExponentInAux, ExponentIn, PolynomialInSubstAux, PolynomialInSubst, Distrib, DistributeDegree, FunctionOfPower, DivideDegreesOfFactors, MonomialFactor, FullSimplify, FunctionOfLinearSubst, FunctionOfLinear, NormalizeIntegrand, NormalizeIntegrandAux, NormalizeIntegrandFactor, NormalizeIntegrandFactorBase, NormalizeTogether, NormalizeLeadTermSigns, AbsorbMinusSign, NormalizeSumFactors, SignOfFactor, NormalizePowerOfLinear, SimplifyIntegrand, SimplifyTerm, TogetherSimplify, SmartSimplify, SubstForExpn, ExpandToSum, UnifySum, UnifyTerms, UnifyTerm, CalculusQ, FunctionOfInverseLinear, PureFunctionOfSinhQ, PureFunctionOfTanhQ, PureFunctionOfCoshQ, IntegerQuotientQ, OddQuotientQ, EvenQuotientQ, FindTrigFactor, FunctionOfSinhQ, FunctionOfCoshQ, OddHyperbolicPowerQ, FunctionOfTanhQ, FunctionOfTanhWeight, FunctionOfHyperbolicQ, SmartNumerator, SmartDenominator, SubstForAux, ActivateTrig, ExpandTrig, TrigExpand, SubstForTrig, SubstForHyperbolic, InertTrigFreeQ, LCM, SubstForFractionalPowerOfLinear, FractionalPowerOfLinear, InverseFunctionOfLinear, InertTrigQ, InertReciprocalQ, DeactivateTrig, FixInertTrigFunction, DeactivateTrigAux, PowerOfInertTrigSumQ, PiecewiseLinearQ, KnownTrigIntegrandQ, KnownSineIntegrandQ, KnownTangentIntegrandQ, KnownCotangentIntegrandQ, KnownSecantIntegrandQ, TryPureTanSubst, TryTanhSubst, TryPureTanhSubst, AbsurdNumberGCD, AbsurdNumberGCDList, ExpandTrigExpand, ExpandTrigReduce, ExpandTrigReduceAux, NormalizeTrig, TrigToExp, ExpandTrigToExp, TrigReduce, FunctionOfTrig, AlgebraicTrigFunctionQ, FunctionOfHyperbolic, FunctionOfQ, FunctionOfExpnQ, PureFunctionOfSinQ, PureFunctionOfCosQ, PureFunctionOfTanQ, PureFunctionOfCotQ, FunctionOfCosQ, FunctionOfSinQ, OddTrigPowerQ, FunctionOfTanQ, FunctionOfTanWeight, FunctionOfTrigQ, FunctionOfDensePolynomialsQ, FunctionOfLog, PowerVariableExpn, PowerVariableDegree, PowerVariableSubst, EulerIntegrandQ, FunctionOfSquareRootOfQuadratic, SquareRootOfQuadraticSubst, Divides, EasyDQ, ProductOfLinearPowersQ, Rt, NthRoot, AtomBaseQ, SumBaseQ, NegSumBaseQ, AllNegTermQ, SomeNegTermQ, TrigSquareQ, RtAux, TrigSquare, IntSum, IntTerm, Map2, ConstantFactor, SameQ, ReplacePart, CommonFactors, MostMainFactorPosition, FunctionOfExponentialQ, FunctionOfExponential, FunctionOfExponentialFunction, FunctionOfExponentialFunctionAux, FunctionOfExponentialTest, FunctionOfExponentialTestAux, stdev, rubi_test, If, IntQuadraticQ, IntBinomialQ, RectifyTangent, RectifyCotangent, Inequality, Condition, Simp, SimpHelp, SplitProduct, SplitSum, SubstFor, SubstForAux, FresnelS, FresnelC, Erfc, Erfi, Gamma, FunctionOfTrigOfLinearQ, ElementaryFunctionQ, Complex, UnsameQ, _SimpFixFactor, SimpFixFactor, _FixSimplify, FixSimplify, _SimplifyAntiderivativeSum, SimplifyAntiderivativeSum, _SimplifyAntiderivative, SimplifyAntiderivative, _TrigSimplifyAux, TrigSimplifyAux, Cancel, Part, PolyLog, D, Dist) from sympy import Integral, S, sqrt from sympy.integrals.rubi.symbol import WC from sympy.core.symbol import symbols, Symbol from sympy.functions import (log, sin, cos, tan, cot, csc, sec, sqrt, erf, exp, log) from sympy.functions.elementary.hyperbolic import (acosh, asinh, atanh, acoth, acsch, asech, cosh, sinh, tanh, coth, sech, csch) from sympy.functions.elementary.trigonometric import (atan, acsc, asin, acot, acos, asec) A_, B_, C_, F_, G_, H_, a_, b_, c_, d_, e_, f_, g_, h_, i_, j_, k_, l_, m_, n_, p_, q_, r_, t_, u_, v_, s_, w_, x_, y_, z_ = [WC(i) for i in 'ABCFGHabcdefghijklmnpqrtuvswxyz'] a1_, a2_, b1_, b2_, c1_, c2_, d1_, d2_, n1_, n2_, e1_, e2_, f1_, f2_, g1_, g2_, n1_, n2_, n3_, Pq_, Pm_, Px_, Qm_, Qr_, Qx_, jn_, mn_, non2_, RFx_, RGx_ = [WC(i) for i in ['a1', 'a2', 'b1', 'b2', 'c1', 'c2', 'd1', 'd2', 'n1', 'n2', 'e1', 'e2', 'f1', 'f2', 'g1', 'g2', 'n1', 'n2', 'n3', 'Pq', 'Pm', 'Px', 'Qm', 'Qr', 'Qx', 'jn', 'mn', 'non2', 'RFx', 'RGx']] _UseGamma = False
[ 6738, 10558, 88, 13, 22615, 1330, 1330, 62, 21412, 198, 15699, 9078, 796, 1330, 62, 21412, 7203, 15699, 9078, 4943, 198, 6738, 10558, 88, 13, 315, 2410, 13, 12501, 273, 1352, 1330, 10412, 395, 62, 10378, 2412, 62, 261, 198, 198, 361, 2872, 9078, 25, 198, 220, 220, 220, 422, 2872, 9078, 1330, 23939, 11, 43986, 31929, 11, 8562, 3103, 2536, 2913, 198, 220, 220, 220, 422, 10558, 88, 13, 18908, 30691, 13, 25089, 72, 13, 315, 879, 62, 8818, 1330, 357, 5317, 11, 5345, 11, 2080, 11, 19937, 11, 20937, 11, 9347, 1870, 11, 10352, 48, 11, 12169, 48, 11, 36183, 48, 11, 8504, 22570, 48, 11, 3232, 48, 11, 399, 11146, 48, 11, 7343, 11, 5972, 11, 33733, 48, 11, 33733, 46541, 48, 11, 36183, 46541, 48, 11, 34142, 48, 11, 15995, 364, 48, 11, 19157, 15057, 48, 11, 17129, 5377, 11141, 15057, 48, 11, 6416, 45, 39223, 48, 11, 33733, 5574, 28667, 48, 11, 36183, 5574, 28667, 48, 11, 376, 7861, 5574, 32863, 876, 48, 11, 13496, 48, 11, 28701, 11, 471, 710, 13255, 11, 2558, 7841, 11, 1305, 330, 7841, 11, 46863, 48, 11, 8721, 48, 11, 5060, 48, 11, 399, 684, 388, 48, 11, 24944, 11, 3274, 11, 8324, 11, 311, 80, 17034, 15057, 48, 11, 311, 80, 17034, 15057, 13065, 48, 11, 44800, 48, 11, 311, 80, 17034, 11, 10173, 34, 3768, 11, 1766, 16814, 11, 5601, 6351, 1352, 11, 15079, 469, 16996, 17, 37, 16, 11, 1892, 11, 45157, 1958, 11, 376, 7861, 282, 7841, 11, 34142, 7841, 11, 2034, 695, 37, 16, 11, 7122, 10257, 291, 38729, 11, 7122, 10257, 291, 36, 11, 7122, 10257, 291, 37, 11, 10173, 45557, 11, 10173, 34, 313, 11, 10173, 34, 849, 11, 10173, 45557, 71, 11, 10173, 46200, 11, 10173, 46200, 71, 11, 10173, 36734, 11, 10173, 34, 1416, 11, 10173, 6558, 11, 10173, 34, 20601, 11, 10173, 50, 3055, 11, 10884, 71, 11, 11818, 71, 11, 327, 3768, 11, 1001, 354, 11, 327, 20601, 11, 327, 849, 11, 12892, 36, 13255, 11, 12892, 11, 18169, 11, 18169, 36, 13255, 11, 376, 7861, 48, 11, 2558, 14993, 451, 66, 48, 11, 49368, 11, 13362, 48, 11, 4333, 48, 11, 34142, 13434, 48, 11, 33733, 46541, 13434, 48, 11, 376, 7861, 282, 13434, 48, 11, 33102, 48, 11, 5518, 48, 11, 5972, 48, 11, 7123, 11, 10239, 48, 11, 833, 328, 48, 11, 10884, 48, 11, 10437, 48, 11, 11818, 48, 11, 42266, 48, 11, 1882, 48, 11, 327, 1416, 48, 11, 10884, 11, 10437, 11, 11818, 11, 42266, 11, 1882, 11, 327, 1416, 11, 15079, 65, 4160, 48, 11, 10884, 71, 48, 11, 327, 3768, 48, 11, 11818, 71, 48, 11, 327, 849, 48, 11, 1001, 354, 48, 11, 327, 20601, 48, 11, 554, 4399, 2898, 328, 48, 11, 10884, 36734, 48, 11, 10884, 71, 34, 3768, 48, 11, 14697, 12332, 11, 399, 6975, 1352, 11, 7913, 48, 11, 399, 39223, 48, 11, 22313, 11, 7343, 48, 11, 1846, 11, 797, 11, 554, 4399, 38197, 65, 4160, 48, 11, 554, 4399, 22203, 48, 11, 833, 328, 38197, 65, 4160, 11146, 48, 11, 554, 4399, 22203, 11146, 48, 11, 6416, 48, 11, 412, 80, 48, 11, 376, 7861, 282, 13434, 11146, 48, 11, 19157, 11146, 48, 11, 12280, 26601, 498, 48, 11, 27929, 48011, 11146, 11, 4333, 5189, 14993, 451, 48, 11, 5518, 3471, 11, 20648, 81, 1512, 48, 11, 44800, 47, 958, 48, 11, 20828, 49070, 42670, 11, 33822, 49070, 42670, 11, 12280, 48, 11, 3412, 48, 11, 20664, 48, 11, 16374, 48011, 48, 11, 18460, 50, 80, 17034, 32, 2821, 48, 11, 18460, 50, 80, 17034, 48, 11, 17083, 11, 18574, 32, 2821, 11, 18574, 48, 11, 1766, 16814, 8053, 11, 40177, 3237, 11, 49368, 14993, 451, 15667, 11, 402, 8610, 11, 14041, 41384, 11, 399, 39223, 41384, 11, 8504, 77, 39223, 29054, 669, 11, 6889, 8021, 420, 8053, 11, 402, 641, 4948, 7004, 301, 11, 32169, 7004, 301, 11, 49368, 16870, 2234, 11, 22596, 11, 10880, 39182, 11, 13225, 48, 11, 12280, 26601, 498, 4507, 313, 1153, 8413, 391, 1082, 11, 3232, 29054, 669, 11, 8504, 5787, 29054, 669, 11, 17220, 19746, 32, 2821, 11, 17220, 19746, 11, 3232, 15156, 907, 11, 8504, 5787, 15156, 907, 11, 49368, 2348, 29230, 291, 22203, 11, 9745, 6690, 541, 12204, 874, 11, 49368, 32657, 929, 11, 978, 29230, 291, 22203, 48, 11, 1766, 14822, 11, 20116, 40596, 11, 3982, 1397, 15156, 907, 11, 20116, 41384, 11, 3982, 1397, 29054, 669, 11, 20116, 14881, 11, 20116, 35, 1533, 631, 11, 399, 6975, 11, 5601, 296, 11, 8718, 469, 296, 11, 5518, 261, 11, 39407, 44, 6326, 8231, 11, 12280, 26601, 498, 24095, 485, 11, 20828, 49070, 48, 11, 33822, 49070, 48, 11, 3611, 1143, 33, 259, 49070, 48, 11, 3611, 1143, 2898, 259, 49070, 48, 11, 27929, 48011, 11146, 8053, 11, 16374, 13434, 14402, 11, 9276, 11146, 41384, 14402, 11, 46863, 22203, 48, 11, 46863, 22203, 29054, 669, 11, 8504, 20310, 22203, 29054, 669, 11, 31849, 11, 46863, 22203, 16870, 3906, 11, 46863, 22203, 16870, 392, 11, 49368, 34500, 25192, 11, 3184, 20053, 48, 11, 3184, 20053, 50, 80, 17034, 48, 11, 5060, 8890, 20053, 48, 11, 20828, 49070, 35, 1533, 631, 11, 33822, 49070, 35, 1533, 631, 11, 27910, 17227, 29054, 669, 11, 3184, 20053, 34500, 25192, 48, 11, 3611, 1143, 33, 259, 49070, 35, 1533, 631, 11, 3611, 1143, 33, 259, 49070, 42670, 11, 3611, 1143, 2898, 259, 49070, 35, 1533, 631, 11, 3611, 1143, 2898, 259, 49070, 42670, 11, 2892, 49070, 48, 11, 2892, 49070, 13065, 48, 11, 26265, 44, 6326, 498, 16870, 3471, 11, 2892, 49070, 16870, 3471, 11, 44800, 23850, 48, 11, 4333, 5189, 14993, 451, 23850, 48, 11, 20648, 81, 1512, 23850, 48, 11, 7070, 291, 23850, 48, 11, 20828, 49070, 23850, 48, 11, 33822, 49070, 23850, 48, 11, 3611, 1143, 33, 259, 49070, 23850, 48, 11, 3611, 1143, 2898, 259, 49070, 23850, 48, 11, 2264, 313, 1153, 5189, 14993, 4127, 23850, 48, 11, 12280, 26601, 498, 40596, 48, 11, 12280, 26601, 498, 15156, 907, 11, 8504, 35428, 26601, 498, 15156, 907, 11, 49693, 12003, 33, 259, 49070, 42670, 11, 14435, 1096, 47, 325, 12003, 33, 259, 49070, 11, 49693, 12003, 33, 259, 49070, 47, 958, 48, 11, 49693, 12003, 33, 259, 49070, 48, 11, 12280, 26601, 498, 38, 8610, 11, 12280, 38, 8610, 11, 978, 29230, 291, 22203, 29054, 669, 11, 8504, 282, 29230, 291, 22203, 29054, 669, 11, 2264, 313, 1153, 5189, 14993, 4127, 47, 11, 2264, 313, 1153, 5189, 14993, 4127, 42670, 11, 2264, 313, 1153, 5189, 14993, 4127, 48, 11, 1610, 41769, 11, 33947, 11, 13051, 2799, 15057, 48, 11, 13051, 2799, 15057, 29054, 669, 11, 8504, 8937, 2799, 15057, 29054, 669, 11, 5060, 8890, 20053, 32, 2821, 48, 11, 19141, 437, 11, 14258, 11, 29176, 16870, 3906, 11, 27929, 46541, 11, 27929, 24849, 2799, 15057, 11, 24944, 1890, 818, 4399, 22203, 11, 24944, 1890, 37, 7861, 282, 13434, 11, 24944, 1890, 37, 7861, 282, 13434, 5189, 4507, 313, 1153, 5189, 14993, 4127, 11, 376, 7861, 282, 13434, 5189, 4507, 313, 1153, 5189, 14993, 4127, 11, 24944, 1890, 37, 7861, 282, 13434, 48, 11, 24944, 1890, 37, 7861, 282, 13434, 32, 2821, 48, 11, 376, 7861, 282, 13434, 5189, 48011, 48, 11, 376, 7861, 282, 13434, 7004, 38011, 48, 11, 27967, 11, 27929, 45, 39223, 38, 10210, 11, 39407, 540, 41384, 48, 11, 39407, 41384, 11, 39407, 29054, 669, 11, 833, 328, 8890, 489, 1958, 48, 11, 833, 328, 8890, 489, 1958, 11, 833, 328, 8890, 489, 1958, 6690, 333, 11, 8284, 11, 27929, 18743, 11, 10452, 395, 11, 14230, 1068, 48, 11, 26265, 35, 1533, 631, 11, 33733, 29054, 669, 11, 5865, 11, 8504, 24561, 29054, 669, 11, 12280, 26601, 498, 818, 32, 2821, 48, 11, 12280, 26601, 498, 818, 48, 11, 5518, 3471, 818, 32, 2821, 11, 5518, 3471, 818, 11, 12280, 26601, 498, 818, 7004, 301, 32, 2821, 11, 12280, 26601, 498, 818, 7004, 301, 11, 4307, 822, 11, 4307, 4163, 35, 1533, 631, 11, 15553, 5189, 13434, 11, 46894, 35, 1533, 6037, 5189, 29054, 669, 11, 2892, 49070, 41384, 11, 6462, 8890, 489, 1958, 11, 15553, 5189, 14993, 451, 7004, 301, 11, 15553, 5189, 14993, 451, 11, 14435, 1096, 34500, 25192, 11, 14435, 1096, 34500, 25192, 32, 2821, 11, 14435, 1096, 34500, 25192, 41384, 11, 14435, 1096, 34500, 25192, 41384, 14881, 11, 14435, 1096, 41631, 11, 14435, 1096, 20451, 40596, 11712, 82, 11, 13051, 27688, 9452, 385, 11712, 11, 14435, 1096, 13065, 29054, 669, 11, 5865, 5189, 41384, 11, 14435, 1096, 13434, 5189, 14993, 451, 11, 45157, 1958, 34500, 25192, 11, 45157, 1958, 40596, 11, 17083, 8890, 489, 1958, 11, 10880, 8890, 489, 1958, 11, 24944, 1890, 16870, 77, 11, 49368, 2514, 13065, 11, 791, 1958, 13065, 11, 791, 1958, 15156, 907, 11, 791, 1958, 40596, 11, 2199, 17576, 48, 11, 15553, 5189, 818, 4399, 14993, 451, 11, 17129, 22203, 5189, 46200, 71, 48, 11, 17129, 22203, 5189, 45557, 71, 48, 11, 17129, 22203, 5189, 34, 3768, 48, 11, 34142, 4507, 313, 1153, 48, 11, 20664, 4507, 313, 1153, 48, 11, 3412, 4507, 313, 1153, 48, 11, 9938, 2898, 328, 41384, 11, 15553, 5189, 46200, 71, 48, 11, 15553, 5189, 34, 3768, 48, 11, 20664, 38197, 65, 4160, 13434, 48, 11, 15553, 5189, 45557, 71, 48, 11, 15553, 5189, 45557, 71, 25844, 11, 15553, 5189, 38197, 65, 4160, 48, 11, 10880, 45, 6975, 1352, 11, 10880, 21306, 6351, 1352, 11, 24944, 1890, 32, 2821, 11, 33120, 2898, 328, 11, 49368, 2898, 328, 11, 833, 328, 16870, 392, 11, 24944, 1890, 2898, 328, 11, 24944, 1890, 38197, 65, 4160, 11, 554, 861, 2898, 328, 11146, 48, 11, 22228, 44, 11, 24944, 1890, 37, 7861, 282, 13434, 5189, 14993, 451, 11, 376, 7861, 282, 13434, 5189, 14993, 451, 11, 554, 4399, 22203, 5189, 14993, 451, 11, 554, 861, 2898, 328, 48, 11, 554, 861, 6690, 541, 43270, 48, 11, 1024, 39022, 2898, 328, 11, 13268, 818, 861, 2898, 328, 22203, 11, 1024, 39022, 2898, 328, 32, 2821, 11, 4333, 5189, 818, 861, 2898, 328, 13065, 48, 11, 27053, 3083, 14993, 451, 48, 11, 29454, 2898, 328, 34500, 25192, 48, 11, 29454, 50, 500, 34500, 25192, 48, 11, 29454, 43909, 298, 34500, 25192, 48, 11, 29454, 34, 313, 648, 298, 34500, 25192, 48, 11, 29454, 6558, 415, 34500, 25192, 48, 11, 9993, 49548, 45557, 7004, 301, 11, 9993, 45557, 71, 7004, 301, 11, 9993, 49548, 45557, 71, 7004, 301, 11, 13051, 2799, 15057, 38, 8610, 11, 13051, 2799, 15057, 38, 8610, 8053, 11, 49368, 2898, 328, 16870, 392, 11, 49368, 2898, 328, 7738, 7234, 11, 49368, 2898, 328, 7738, 7234, 32, 2821, 11, 14435, 1096, 2898, 328, 11, 833, 328, 2514, 16870, 11, 49368, 2898, 328, 2514, 16870, 11, 833, 328, 7738, 7234, 11, 15553, 5189, 2898, 328, 11, 978, 29230, 291, 2898, 328, 22203, 48, 11, 15553, 5189, 38197, 65, 4160, 11, 15553, 5189, 48, 11, 15553, 5189, 16870, 77, 48, 11, 17129, 22203, 5189, 46200, 48, 11, 17129, 22203, 5189, 36734, 48, 11, 17129, 22203, 5189, 45557, 48, 11, 17129, 22203, 5189, 34, 313, 48, 11, 15553, 5189, 36734, 48, 11, 15553, 5189, 46200, 48, 11, 20664, 2898, 328, 13434, 48, 11, 15553, 5189, 45557, 48, 11, 15553, 5189, 45557, 25844, 11, 15553, 5189, 2898, 328, 48, 11, 15553, 5189, 35, 1072, 34220, 26601, 8231, 48, 11, 15553, 5189, 11187, 11, 4333, 43015, 16870, 77, 11, 4333, 43015, 35, 1533, 631, 11, 4333, 43015, 7004, 301, 11, 412, 18173, 34500, 25192, 48, 11, 15553, 5189, 48011, 30016, 5189, 4507, 41909, 1512, 11, 9276, 30016, 5189, 4507, 41909, 1512, 7004, 301, 11, 4777, 1460, 11, 16789, 35, 48, 11, 8721, 5189, 14993, 451, 47, 3618, 48, 11, 371, 83, 11, 399, 400, 30016, 11, 33102, 14881, 48, 11, 5060, 14881, 48, 11, 13496, 13065, 14881, 48, 11, 1439, 32863, 40596, 48, 11, 2773, 32863, 40596, 48, 11, 833, 328, 48011, 48, 11, 371, 83, 32, 2821, 11, 833, 328, 48011, 11, 2558, 13065, 11, 2558, 40596, 11, 9347, 17, 11, 20217, 41384, 11, 16766, 48, 11, 40177, 7841, 11, 8070, 29054, 669, 11, 4042, 13383, 41384, 26545, 11, 15553, 5189, 16870, 35470, 48, 11, 15553, 5189, 16870, 35470, 11, 15553, 5189, 16870, 35470, 22203, 11, 15553, 5189, 16870, 35470, 22203, 32, 2821, 11, 15553, 5189, 16870, 35470, 14402, 11, 15553, 5189, 16870, 35470, 14402, 32, 2821, 11, 336, 7959, 11, 6437, 72, 62, 9288, 11, 1002, 11, 2558, 4507, 41909, 1512, 48, 11, 2558, 33, 259, 49070, 48, 11, 48599, 1958, 43909, 298, 11, 48599, 1958, 34, 313, 648, 298, 11, 554, 48203, 11, 24295, 11, 3184, 79, 11, 3184, 79, 22087, 11, 27758, 15667, 11, 27758, 13065, 11, 24944, 1890, 11, 24944, 1890, 32, 2821, 11, 32732, 4954, 50, 11, 32732, 4954, 34, 11, 5256, 16072, 11, 5256, 12463, 11, 43595, 11, 15553, 5189, 2898, 328, 5189, 14993, 451, 48, 11, 25335, 22203, 48, 11, 19157, 11, 791, 31642, 48, 11, 4808, 8890, 79, 22743, 41384, 11, 3184, 79, 22743, 41384, 11, 4808, 22743, 8890, 489, 1958, 11, 13268, 8890, 489, 1958, 11, 4808, 8890, 489, 1958, 13217, 1304, 452, 876, 13065, 11, 45157, 1958, 13217, 1304, 452, 876, 13065, 11, 4808, 8890, 489, 1958, 13217, 1304, 452, 876, 11, 45157, 1958, 13217, 1304, 452, 876, 11, 4808, 2898, 328, 8890, 489, 1958, 32, 2821, 11, 833, 328, 8890, 489, 1958, 32, 2821, 11, 27910, 11, 2142, 11, 12280, 11187, 11, 360, 11, 4307, 8, 198, 220, 220, 220, 422, 10558, 88, 1330, 15995, 1373, 11, 311, 11, 19862, 17034, 198, 220, 220, 220, 422, 10558, 88, 13, 18908, 30691, 13, 25089, 72, 13, 1837, 23650, 1330, 28387, 198, 220, 220, 220, 422, 10558, 88, 13, 7295, 13, 1837, 23650, 1330, 14354, 11, 38357, 198, 220, 220, 220, 422, 10558, 88, 13, 12543, 2733, 1330, 357, 6404, 11, 7813, 11, 8615, 11, 25706, 11, 269, 313, 11, 269, 1416, 11, 792, 11, 19862, 17034, 11, 1931, 69, 11, 1033, 11, 2604, 8, 198, 220, 220, 220, 422, 10558, 88, 13, 12543, 2733, 13, 30854, 560, 13, 49229, 65, 4160, 1330, 357, 330, 3768, 11, 355, 259, 71, 11, 379, 272, 71, 11, 936, 849, 11, 936, 20601, 11, 257, 325, 354, 11, 269, 3768, 11, 7813, 71, 11, 25706, 71, 11, 269, 849, 11, 384, 354, 11, 269, 20601, 8, 198, 220, 220, 220, 422, 10558, 88, 13, 12543, 2733, 13, 30854, 560, 13, 2213, 37107, 16996, 1330, 357, 39036, 11, 936, 1416, 11, 355, 259, 11, 936, 313, 11, 936, 418, 11, 257, 2363, 8, 628, 220, 220, 220, 317, 62, 11, 347, 62, 11, 327, 62, 11, 376, 62, 11, 402, 62, 11, 367, 62, 11, 257, 62, 11, 275, 62, 11, 269, 62, 11, 288, 62, 11, 304, 62, 11, 277, 62, 11, 308, 62, 11, 289, 62, 11, 1312, 62, 11, 474, 62, 11, 479, 62, 11, 300, 62, 11, 285, 62, 11, 299, 62, 11, 279, 62, 11, 10662, 62, 11, 374, 62, 11, 256, 62, 11, 334, 62, 11, 410, 62, 11, 264, 62, 11, 266, 62, 11, 2124, 62, 11, 331, 62, 11, 1976, 62, 796, 685, 27353, 7, 72, 8, 329, 1312, 287, 705, 24694, 37, 17511, 39305, 4299, 456, 2926, 41582, 10295, 79, 80, 17034, 14795, 2032, 5431, 89, 20520, 198, 220, 220, 220, 257, 16, 62, 11, 257, 17, 62, 11, 275, 16, 62, 11, 275, 17, 62, 11, 269, 16, 62, 11, 269, 17, 62, 11, 288, 16, 62, 11, 288, 17, 62, 11, 299, 16, 62, 11, 299, 17, 62, 11, 304, 16, 62, 11, 304, 17, 62, 11, 277, 16, 62, 11, 277, 17, 62, 11, 308, 16, 62, 11, 308, 17, 62, 11, 299, 16, 62, 11, 299, 17, 62, 11, 299, 18, 62, 11, 350, 80, 62, 11, 350, 76, 62, 11, 350, 87, 62, 11, 1195, 76, 62, 11, 1195, 81, 62, 11, 1195, 87, 62, 11, 474, 77, 62, 11, 285, 77, 62, 11, 1729, 17, 62, 11, 20445, 87, 62, 11, 34359, 87, 62, 796, 685, 27353, 7, 72, 8, 329, 1312, 287, 37250, 64, 16, 3256, 705, 64, 17, 3256, 705, 65, 16, 3256, 705, 65, 17, 3256, 705, 66, 16, 3256, 705, 66, 17, 3256, 705, 67, 16, 3256, 705, 67, 17, 3256, 705, 77, 16, 3256, 705, 77, 17, 3256, 705, 68, 16, 3256, 705, 68, 17, 3256, 705, 69, 16, 3256, 705, 69, 17, 3256, 705, 70, 16, 3256, 705, 70, 17, 3256, 705, 77, 16, 3256, 705, 77, 17, 3256, 705, 77, 18, 3256, 705, 47, 80, 3256, 705, 47, 76, 3256, 705, 47, 87, 3256, 705, 48, 76, 3256, 705, 48, 81, 3256, 705, 48, 87, 3256, 705, 73, 77, 3256, 705, 10295, 3256, 705, 13159, 17, 3256, 705, 32754, 87, 3256, 705, 48192, 87, 6, 11907, 628, 220, 220, 220, 4808, 11041, 34777, 2611, 796, 10352, 198 ]
2.782345
2,798
from tkinter import * root = Tk() text1 = Text(width=20,height=1) label1 = Label(width=20) but1 = Button(width=5, height=5, bg='#ff0000') but2 = Button(width=5, height=5, bg='#ff7d00') but3 = Button(width=5, height=5, bg='#ffff00') but4 = Button(width=5, height=5, bg='#00ff00') but5 = Button(width=5, height=5, bg='#007dff') but6 = Button(width=5, height=5, bg='#0000ff') but7 = Button(width=5, height=5, bg='#7d00ff') but1.bind('<Button-1>', color_red) but2.bind('<Button-1>', color_orange) but3.bind('<Button-1>', color_yellow) but4.bind('<Button-1>', color_green) but5.bind('<Button-1>', color_blue) but6.bind('<Button-1>', color_indigo) but7.bind('<Button-1>', color_purple) text1.pack() label1.pack() but1.pack(side='left') but2.pack(side='left') but3.pack(side='left') but4.pack(side='left') but5.pack(side='left') but6.pack(side='left') but7.pack(side='left') root.mainloop()
[ 6738, 256, 74, 3849, 1330, 1635, 201, 198, 201, 198, 15763, 796, 309, 74, 3419, 201, 198, 201, 198, 5239, 16, 796, 8255, 7, 10394, 28, 1238, 11, 17015, 28, 16, 8, 201, 198, 18242, 16, 796, 36052, 7, 10394, 28, 1238, 8, 201, 198, 4360, 16, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 487, 2388, 11537, 201, 198, 4360, 17, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 487, 22, 67, 405, 11537, 201, 198, 4360, 18, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 12927, 405, 11537, 201, 198, 4360, 19, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 405, 487, 405, 11537, 201, 198, 4360, 20, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 25816, 67, 487, 11537, 201, 198, 4360, 21, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 2388, 487, 11537, 201, 198, 4360, 22, 796, 20969, 7, 10394, 28, 20, 11, 6001, 28, 20, 11, 275, 70, 11639, 2, 22, 67, 405, 487, 11537, 201, 198, 201, 198, 4360, 16, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 445, 8, 201, 198, 4360, 17, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 43745, 8, 201, 198, 4360, 18, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 36022, 8, 201, 198, 4360, 19, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 14809, 8, 201, 198, 4360, 20, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 17585, 8, 201, 198, 4360, 21, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 521, 14031, 8, 201, 198, 4360, 22, 13, 21653, 10786, 27, 21864, 12, 16, 29, 3256, 3124, 62, 14225, 1154, 8, 201, 198, 5239, 16, 13, 8002, 3419, 201, 198, 18242, 16, 13, 8002, 3419, 201, 198, 4360, 16, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 17, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 18, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 19, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 20, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 21, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 4360, 22, 13, 8002, 7, 1589, 11639, 9464, 11537, 201, 198, 201, 198, 15763, 13, 12417, 26268, 3419, 201, 198 ]
2.149533
428
""" Copyright Digisim, Computer Architecture team of South China University of Technology, 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. Author Name: Ruohui Chen Date: 2021-03-08 File Name: deocder.py Description: """ from pyhcl import * from src.include.pkg import * # Helper function for generating CSRs access illegal judgement # Hardware Performance Monitor # Hardware Performance Monitor (unprivileged read-only mirror CSRs) # PULP_XPULP, PULP_CLUSTER, A_EXTENSION, FPU, APU_WOP_CPU not used in our implementation if __name__ == '__main__': Emitter.dumpVerilog(Emitter.dump(Emitter.emit(decoder()), "decoder.fir"))
[ 37811, 198, 15269, 7367, 271, 320, 11, 13851, 29778, 1074, 286, 2520, 2807, 2059, 286, 8987, 11, 628, 220, 220, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 220, 220, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 220, 220, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 628, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 628, 220, 220, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 220, 220, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 220, 220, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 220, 220, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 220, 220, 11247, 739, 262, 13789, 13, 198, 220, 220, 220, 198, 220, 220, 6434, 6530, 25, 11667, 1219, 9019, 12555, 198, 220, 220, 7536, 25, 33448, 12, 3070, 12, 2919, 198, 220, 220, 9220, 6530, 25, 390, 420, 1082, 13, 9078, 198, 220, 220, 12489, 25, 198, 37811, 198, 6738, 12972, 71, 565, 1330, 1635, 198, 6738, 12351, 13, 17256, 13, 35339, 1330, 1635, 628, 198, 2, 5053, 525, 2163, 329, 15453, 9429, 31273, 1895, 5293, 23071, 198, 2, 28715, 15193, 18289, 628, 198, 2, 28715, 15193, 18289, 357, 403, 13776, 48446, 1100, 12, 8807, 10162, 9429, 31273, 8, 628, 198, 2, 350, 6239, 47, 62, 55, 5105, 19930, 11, 350, 6239, 47, 62, 5097, 7759, 1137, 11, 317, 62, 13918, 16938, 2849, 11, 376, 5105, 11, 3486, 52, 62, 54, 3185, 62, 36037, 407, 973, 287, 674, 7822, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 2295, 1967, 13, 39455, 13414, 346, 519, 7, 10161, 1967, 13, 39455, 7, 10161, 1967, 13, 368, 270, 7, 12501, 12342, 3419, 828, 366, 12501, 12342, 13, 69, 343, 48774, 198 ]
3.388235
340
# -*- coding: utf-8 -*- """ Created on Fri May 1 10:16:25 2020 @author: winhl modify 2022-1-6 """ import pandas as pd import json work_dir = "D:/__E__/支部/积分" #n0 = "2021s1p9" n0 = "2021.01-12.xuexi.cn" #2022-1-6 with open(f"{work_dir}/{n0}.json", "r", encoding="utf-8") as f: fr = f.read() j1 = json.loads(fr) l_str = j1.get("data_str") j2 = json.loads(l_str) dict_str = j2.get("dataList")["data"] print(type(dict_str)) # df = pd.read_json(dict_str, orient="records") df = pd.DataFrame(data=dict_str) print(df) df.to_csv(f"{work_dir}/{n0}.csv") """ from pandas import json_normalize import json data=open("F:/支部/XXQG/202009third_20200930.json",encoding="utf-8").read() user_dic = json.loads(data) data_list = user_dic["data"]["list"] df = json_normalize(data_list) print(df) df.to_csv("09.csv") """
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 37811, 201, 198, 41972, 319, 19480, 1737, 220, 352, 838, 25, 1433, 25, 1495, 12131, 201, 198, 201, 198, 31, 9800, 25, 1592, 18519, 201, 198, 4666, 1958, 33160, 12, 16, 12, 21, 201, 198, 37811, 201, 198, 201, 198, 11748, 19798, 292, 355, 279, 67, 201, 198, 11748, 33918, 201, 198, 201, 198, 1818, 62, 15908, 796, 366, 35, 14079, 834, 36, 834, 14, 162, 242, 107, 32849, 101, 14, 163, 100, 107, 26344, 228, 1, 201, 198, 2, 77, 15, 796, 366, 1238, 2481, 82, 16, 79, 24, 1, 201, 198, 77, 15, 796, 366, 1238, 2481, 13, 486, 12, 1065, 13, 87, 518, 29992, 13, 31522, 1, 1303, 1238, 1828, 12, 16, 12, 21, 201, 198, 201, 198, 4480, 1280, 7, 69, 1, 90, 1818, 62, 15908, 92, 14, 90, 77, 15, 27422, 17752, 1600, 366, 81, 1600, 21004, 2625, 40477, 12, 23, 4943, 355, 277, 25, 201, 198, 220, 220, 220, 1216, 796, 277, 13, 961, 3419, 201, 198, 220, 220, 220, 474, 16, 796, 33918, 13, 46030, 7, 8310, 8, 201, 198, 220, 220, 220, 300, 62, 2536, 796, 474, 16, 13, 1136, 7203, 7890, 62, 2536, 4943, 201, 198, 220, 220, 220, 474, 17, 796, 33918, 13, 46030, 7, 75, 62, 2536, 8, 201, 198, 220, 220, 220, 8633, 62, 2536, 796, 474, 17, 13, 1136, 7203, 7890, 8053, 4943, 14692, 7890, 8973, 201, 198, 220, 220, 220, 3601, 7, 4906, 7, 11600, 62, 2536, 4008, 201, 198, 220, 220, 220, 1303, 47764, 796, 279, 67, 13, 961, 62, 17752, 7, 11600, 62, 2536, 11, 11367, 2625, 8344, 3669, 4943, 201, 198, 220, 220, 220, 47764, 796, 279, 67, 13, 6601, 19778, 7, 7890, 28, 11600, 62, 2536, 8, 201, 198, 220, 220, 220, 3601, 7, 7568, 8, 201, 198, 220, 220, 220, 47764, 13, 1462, 62, 40664, 7, 69, 1, 90, 1818, 62, 15908, 92, 14, 90, 77, 15, 27422, 40664, 4943, 201, 198, 201, 198, 201, 198, 37811, 201, 198, 6738, 19798, 292, 1330, 33918, 62, 11265, 1096, 201, 198, 11748, 33918, 201, 198, 7890, 28, 9654, 7203, 37, 14079, 162, 242, 107, 32849, 101, 14, 8051, 48, 38, 14, 1238, 10531, 17089, 62, 1238, 10531, 1270, 13, 17752, 1600, 12685, 7656, 2625, 40477, 12, 23, 11074, 961, 3419, 201, 198, 7220, 62, 67, 291, 796, 33918, 13, 46030, 7, 7890, 8, 201, 198, 7890, 62, 4868, 796, 2836, 62, 67, 291, 14692, 7890, 1, 7131, 1, 4868, 8973, 201, 198, 7568, 796, 33918, 62, 11265, 1096, 7, 7890, 62, 4868, 8, 201, 198, 4798, 7, 7568, 8, 201, 198, 7568, 13, 1462, 62, 40664, 7203, 2931, 13, 40664, 4943, 201, 198, 37811, 201, 198 ]
1.930131
458
import torch.nn as nn import torch.nn.functional as F from layers import GraphConvolution
[ 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 6738, 11685, 1330, 29681, 3103, 85, 2122, 628 ]
3.64
25
from __future__ import annotations from argparse import ArgumentError import functools from dataclasses import dataclass from typing import Any, Callable, List, Optional, Type, Union from .types import Union as FsUnion, FSharpRef, Record from .util import equal_arrays_with Constructor = Callable[..., Any] EnumCase = List[Union[str, int]] FieldInfo = List[Union[str, "TypeInfo"]] PropertyInfo = FieldInfo @dataclass @dataclass obj_type: TypeInfo = TypeInfo(fullname="System.Object") unit_type: TypeInfo = TypeInfo("Microsoft.FSharp.Core.Unit") char_type: TypeInfo = TypeInfo("System.Char") string_type: TypeInfo = TypeInfo("System.String") bool_type: TypeInfo = TypeInfo("System.Boolean") int8_type: TypeInfo = TypeInfo("System.SByte") uint8_type: TypeInfo = TypeInfo("System.Byte") int16_type: TypeInfo = TypeInfo("System.Int16") uint16_type: TypeInfo = TypeInfo("System.UInt16") int32_type: TypeInfo = TypeInfo("System.Int32") uint32_type: TypeInfo = TypeInfo("System.UInt32") float32_type: TypeInfo = TypeInfo("System.Single") float64_type: TypeInfo = TypeInfo("System.Double") decimal_type: TypeInfo = TypeInfo("System.Decimal") # In .NET this is false for delegates
[ 6738, 11593, 37443, 834, 1330, 37647, 198, 6738, 1822, 29572, 1330, 45751, 12331, 198, 198, 11748, 1257, 310, 10141, 198, 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 19720, 1330, 4377, 11, 4889, 540, 11, 7343, 11, 32233, 11, 5994, 11, 4479, 198, 198, 6738, 764, 19199, 1330, 4479, 355, 376, 82, 38176, 11, 376, 44336, 8134, 11, 13266, 198, 6738, 764, 22602, 1330, 4961, 62, 3258, 592, 62, 4480, 198, 198, 42316, 273, 796, 4889, 540, 58, 986, 11, 4377, 60, 198, 198, 4834, 388, 20448, 796, 7343, 58, 38176, 58, 2536, 11, 493, 11907, 198, 15878, 12360, 796, 7343, 58, 38176, 58, 2536, 11, 366, 6030, 12360, 8973, 60, 198, 21746, 12360, 796, 7663, 12360, 628, 198, 31, 19608, 330, 31172, 628, 198, 31, 19608, 330, 31172, 628, 628, 628, 628, 628, 628, 198, 198, 26801, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7, 12853, 3672, 2625, 11964, 13, 10267, 4943, 198, 20850, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 15905, 13, 37, 44336, 13, 14055, 13, 26453, 4943, 198, 10641, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 12441, 4943, 198, 8841, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 10100, 4943, 198, 30388, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 46120, 13087, 4943, 198, 600, 23, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 50, 40778, 4943, 198, 28611, 23, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 40778, 4943, 198, 600, 1433, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 5317, 1433, 4943, 198, 28611, 1433, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 52, 5317, 1433, 4943, 198, 600, 2624, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 5317, 2624, 4943, 198, 28611, 2624, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 52, 5317, 2624, 4943, 198, 22468, 2624, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 28008, 4943, 198, 22468, 2414, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 25628, 4943, 198, 12501, 4402, 62, 4906, 25, 5994, 12360, 796, 5994, 12360, 7203, 11964, 13, 10707, 4402, 4943, 628, 628, 628, 628, 628, 628, 628, 628, 198, 198, 2, 554, 764, 12884, 428, 318, 3991, 329, 15265, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 198 ]
3.041975
405
import numpy as np import cykdtree as kdtree from cgal4py import PY_MAJOR_VERSION def tree(method, pts, left_edge, right_edge, periodic, *args, **kwargs): r"""Get tree for a given domain decomposition schema. Args: method (str): Domain decomposition method. Supported options are: 'kdtree': KDTree based on median position along the dimension with the greatest domain width. See :meth:`cgal4py.domain_decomp.kdtree` for details on accepted keyword arguments. pts (np.ndarray of float64): (n, m) array of n coordinates in a m-dimensional domain. left_edge (np.ndarray of float64): (m,) domain minimum in each dimension. right_edge (np.ndarray of float64): (m,) domain maximum in each dimension. *args: Variable argument list. Passed to the selected domain decomposition method. **kwargs: Variable keyword argument list. Passed to the selected domain decomposition method. Returns: object: Tree of type specified by `method`. Raises: ValueError: If `method` is not one of the supported domain decomposition methods listed above. """ # Get leaves if method.lower() == 'kdtree': tree = kdtree.PyKDTree(pts, left_edge, right_edge, *args, **kwargs) else: raise ValueError("'{}' is not a supported ".format(method) + "domain decomposition.") # Return tree return tree def process_leaves(leaves, left_edge, right_edge, periodic): r"""Process leaves ensuring they have the necessary information/methods for parallel tessellation. Each leaf must have at least the following attributes: npts (int): Number of points on the leaf. left_edge (np.ndarray of float): min of leaf extent in each dimension. right_edge (np.ndarray of float): max of leaf extent in each dimension. Args: leaves (list of leaf objects): Leaves in an arbitrary domain decomposition. left_edge (np.ndarray of float64): domain minimum in each dimension. right_edge (np.ndarray of float64): domain maximum in each dimension. periodic (bool): True if domain is periodic, False otherwise. Returns: list of leaf objects: Leaves process with additional attributes added if they do not exist and can be added. Raises: AttributeError: If a leaf does not have one of the required attributes. TypeError: If a leaf has a required attribute, but of the wrong type. ValueError: If a leaf has a required attribute, but of the wrong size. """ ndim = len(left_edge) req_attr = {'npts': [int, np.int32, np.uint32, np.int64, np.uint64], 'left_edge': ([float, np.float32, np.float64], (ndim,)), 'right_edge': ([float, np.float32, np.float64], (ndim,))} if PY_MAJOR_VERSION < 3: req_attr['npts'].append(long) # Check for necessary attributes for k, v in req_attr.items(): if isinstance(v, tuple): for i, leaf in enumerate(leaves): if not hasattr(leaf, k): raise AttributeError( "Leaf {} does not have attribute {}.".format(i, k)) lv = getattr(leaf, k) if not isinstance(lv, np.ndarray): raise TypeError("Attribute {} ".format(k) + "of leaf {} ".format(i) + "is not an array.\n" + "It is type {}.".format(type(lv))) if lv.dtype not in v[0]: raise TypeError("Attribute {} ".format(k) + "of leaf {} ".format(i) + "is not an array with dtype " + "{}.\n".format(v[0]) + "It is type {}.".format(lv.dtype)) if v[1] is not None and lv.shape != v[1]: raise ValueError("Attribute {} ".format(k) + "of leaf {} ".format(i) + "is not an array with shape " + "{}.\n".format(v[1]) + "It is shape {}.".format(lv.shape)) else: for i, leaf in enumerate(leaves): if not hasattr(leaf, k): raise AttributeError("Leaf {} does not ".format(i) + "have attribute {}.".format(k)) lv = getattr(leaf, k) if not isinstance(lv, tuple(v)): raise TypeError("Attribute {} ".format(k) + "of leaf {} is not ".format(i) + "of type {}.\n".format(v) + "It is type {}.".format(type(lv))) # Set id & ensure leaves are sorted if getattr(leaves[0], 'id', None) is None: for i, leaf in enumerate(leaves): leaf.id = i else: leaves = sorted(leaves, key=lambda l: l.id) # Set number of dimensions if getattr(leaves[0], 'ndim', None) is None: for leaf in leaves: leaf.ndim = ndim # Set total number of leaves if getattr(leaves[0], 'num_leaves', None) is None: num_leaves = len(leaves) for leaf in leaves: leaf.num_leaves = num_leaves # Set starting index if getattr(leaves[0], 'start_idx', None) is None: nprev = 0 for leaf in leaves: leaf.start_idx = nprev nprev += leaf.npts # Set stopping index if getattr(leaves[0], 'stop_idx', None) is None: for leaf in leaves: leaf.stop_idx = leaf.start_idx + leaf.npts # Set domain width if getattr(leaves[0], 'domain_width', None) is None: domain_width = right_edge - left_edge for leaf in leaves: leaf.domain_width = domain_width # Determine if leaves are on periodic boundaries if getattr(leaves[0], 'periodic_left', None) is None: if periodic: for leaf in leaves: leaf.periodic_left = np.isclose(leaf.left_edge, left_edge) leaf.periodic_right = np.isclose(leaf.right_edge, right_edge) else: for leaf in leaves: leaf.periodic_left = np.zeros(leaf.ndim, 'bool') leaf.periodic_right = np.zeros(leaf.ndim, 'bool') # Add neighbors if getattr(leaves[0], 'left_neighbors', None) is None: for j, leaf in enumerate(leaves): leaf.left_neighbors = [[] for _ in range(ndim)] leaf.right_neighbors = [[] for _ in range(ndim)] for prev in leaves[:(j+1)]: match = True for i in range(ndim): if leaf.left_edge[i] > prev.right_edge[i]: if not (leaf.periodic_right[i] and prev.periodic_left[i]): match = False break if leaf.right_edge[i] < prev.left_edge[i]: if not (prev.periodic_right[i] and leaf.periodic_left[i]): match = False break if match: for i in range(ndim): if np.isclose(leaf.left_edge[i], prev.right_edge[i]): leaf.left_neighbors[i].append(prev.id) prev.right_neighbors[i].append(leaf.id) elif np.isclose(leaf.right_edge[i], prev.left_edge[i]): leaf.right_neighbors[i].append(prev.id) prev.left_neighbors[i].append(leaf.id) if periodic: if (leaf.periodic_right[i] and prev.periodic_left[i]): leaf.right_neighbors[i].append(prev.id) prev.left_neighbors[i].append(leaf.id) if (prev.periodic_right[i] and leaf.periodic_left[i]): leaf.left_neighbors[i].append(prev.id) prev.right_neighbors[i].append(leaf.id) if getattr(leaves[0], 'neighbors', None) is None: for leaf in leaves: neighbors = [leaf.id] for i in range(ndim): neighbors += leaf.left_neighbors[i] neighbors += leaf.right_neighbors[i] leaf.neighbors = list(set(neighbors)) # Return leaves return leaves __all__ = ["tree", "kdtree", "GenericLeaf", "GenericTree", "process_leaves"]
[ 11748, 299, 32152, 355, 45941, 198, 11748, 3075, 74, 67, 21048, 355, 479, 67, 21048, 198, 6738, 269, 13528, 19, 9078, 1330, 350, 56, 62, 5673, 41, 1581, 62, 43717, 198, 198, 4299, 5509, 7, 24396, 11, 43344, 11, 1364, 62, 14907, 11, 826, 62, 14907, 11, 27458, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 374, 37811, 3855, 5509, 329, 257, 1813, 7386, 26969, 9150, 32815, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2446, 357, 2536, 2599, 20021, 26969, 9150, 2446, 13, 36848, 3689, 389, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 74, 67, 21048, 10354, 509, 24544, 631, 1912, 319, 14288, 2292, 1863, 262, 15793, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 262, 6000, 7386, 9647, 13, 4091, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 76, 2788, 25, 63, 66, 13528, 19, 9078, 13, 27830, 62, 12501, 3361, 13, 74, 67, 21048, 63, 329, 3307, 319, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6292, 21179, 7159, 13, 198, 220, 220, 220, 220, 220, 220, 220, 43344, 357, 37659, 13, 358, 18747, 286, 12178, 2414, 2599, 357, 77, 11, 285, 8, 7177, 286, 299, 22715, 287, 257, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 12, 19577, 7386, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1364, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2414, 2599, 357, 76, 35751, 7386, 5288, 287, 1123, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 826, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2414, 2599, 357, 76, 35751, 7386, 5415, 287, 1123, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 22046, 25, 35748, 4578, 1351, 13, 23228, 284, 262, 6163, 7386, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26969, 9150, 2446, 13, 198, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 25, 35748, 21179, 4578, 1351, 13, 23228, 284, 262, 6163, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7386, 26969, 9150, 2446, 13, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 25, 12200, 286, 2099, 7368, 416, 4600, 24396, 44646, 628, 220, 220, 220, 7567, 2696, 25, 198, 220, 220, 220, 220, 220, 220, 220, 11052, 12331, 25, 1002, 4600, 24396, 63, 318, 407, 530, 286, 262, 4855, 7386, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26969, 9150, 5050, 5610, 2029, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 3497, 5667, 198, 220, 220, 220, 611, 2446, 13, 21037, 3419, 6624, 705, 74, 67, 21048, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 5509, 796, 479, 67, 21048, 13, 20519, 42, 24544, 631, 7, 457, 82, 11, 1364, 62, 14907, 11, 826, 62, 14907, 11, 1635, 22046, 11, 12429, 46265, 22046, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 6, 90, 92, 6, 318, 407, 257, 4855, 27071, 18982, 7, 24396, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27830, 26969, 9150, 19570, 198, 220, 220, 220, 1303, 8229, 5509, 198, 220, 220, 220, 1441, 5509, 628, 628, 198, 4299, 1429, 62, 293, 3080, 7, 293, 3080, 11, 1364, 62, 14907, 11, 826, 62, 14907, 11, 27458, 2599, 198, 220, 220, 220, 374, 37811, 18709, 5667, 13359, 484, 423, 262, 3306, 1321, 14, 24396, 82, 198, 220, 220, 220, 329, 10730, 256, 274, 7255, 341, 13, 5501, 12835, 1276, 423, 379, 1551, 262, 1708, 198, 220, 220, 220, 12608, 25, 198, 220, 220, 220, 220, 220, 220, 220, 299, 457, 82, 357, 600, 2599, 7913, 286, 2173, 319, 262, 12835, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1364, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2599, 949, 286, 12835, 6287, 287, 1123, 15793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 826, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2599, 3509, 286, 12835, 6287, 287, 1123, 15793, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5667, 357, 4868, 286, 12835, 5563, 2599, 46597, 287, 281, 14977, 7386, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26969, 9150, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1364, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2414, 2599, 7386, 5288, 287, 1123, 15793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 826, 62, 14907, 357, 37659, 13, 358, 18747, 286, 12178, 2414, 2599, 7386, 5415, 287, 1123, 15793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 27458, 357, 30388, 2599, 6407, 611, 7386, 318, 27458, 11, 10352, 4306, 13, 628, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 12835, 5563, 25, 46597, 1429, 351, 3224, 12608, 2087, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 484, 466, 407, 2152, 290, 460, 307, 2087, 13, 628, 220, 220, 220, 7567, 2696, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3460, 4163, 12331, 25, 1002, 257, 12835, 857, 407, 423, 530, 286, 262, 2672, 12608, 13, 198, 220, 220, 220, 220, 220, 220, 220, 5994, 12331, 25, 1002, 257, 12835, 468, 257, 2672, 11688, 11, 475, 286, 262, 2642, 2099, 13, 198, 220, 220, 220, 220, 220, 220, 220, 11052, 12331, 25, 1002, 257, 12835, 468, 257, 2672, 11688, 11, 475, 286, 262, 2642, 2546, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 299, 27740, 796, 18896, 7, 9464, 62, 14907, 8, 198, 220, 220, 220, 43089, 62, 35226, 796, 1391, 6, 77, 457, 82, 10354, 685, 600, 11, 45941, 13, 600, 2624, 11, 45941, 13, 28611, 2624, 11, 45941, 13, 600, 2414, 11, 45941, 13, 28611, 2414, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 9464, 62, 14907, 10354, 29565, 22468, 11, 45941, 13, 22468, 2624, 11, 45941, 13, 22468, 2414, 4357, 357, 358, 320, 35751, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 3506, 62, 14907, 10354, 29565, 22468, 11, 45941, 13, 22468, 2624, 11, 45941, 13, 22468, 2414, 4357, 357, 358, 320, 11, 4008, 92, 198, 220, 220, 220, 611, 350, 56, 62, 5673, 41, 1581, 62, 43717, 1279, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 43089, 62, 35226, 17816, 77, 457, 82, 6, 4083, 33295, 7, 6511, 8, 198, 220, 220, 220, 1303, 6822, 329, 3306, 12608, 198, 220, 220, 220, 329, 479, 11, 410, 287, 43089, 62, 35226, 13, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 85, 11, 46545, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 12835, 287, 27056, 378, 7, 293, 3080, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 468, 35226, 7, 33201, 11, 479, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3460, 4163, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3123, 1878, 23884, 857, 407, 423, 11688, 23884, 526, 13, 18982, 7, 72, 11, 479, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 796, 651, 35226, 7, 33201, 11, 479, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 6780, 11, 45941, 13, 358, 18747, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 5994, 12331, 7203, 33682, 23884, 27071, 18982, 7, 74, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1659, 12835, 23884, 27071, 18982, 7, 72, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 271, 407, 281, 7177, 13, 59, 77, 1, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1026, 318, 2099, 23884, 526, 13, 18982, 7, 4906, 7, 6780, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 300, 85, 13, 67, 4906, 407, 287, 410, 58, 15, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 5994, 12331, 7203, 33682, 23884, 27071, 18982, 7, 74, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1659, 12835, 23884, 27071, 18982, 7, 72, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 271, 407, 281, 7177, 351, 288, 4906, 366, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45144, 27422, 59, 77, 1911, 18982, 7, 85, 58, 15, 12962, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1026, 318, 2099, 23884, 526, 13, 18982, 7, 6780, 13, 67, 4906, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 410, 58, 16, 60, 318, 407, 6045, 290, 300, 85, 13, 43358, 14512, 410, 58, 16, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 33682, 23884, 27071, 18982, 7, 74, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1659, 12835, 23884, 27071, 18982, 7, 72, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 271, 407, 281, 7177, 351, 5485, 366, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45144, 27422, 59, 77, 1911, 18982, 7, 85, 58, 16, 12962, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1026, 318, 5485, 23884, 526, 13, 18982, 7, 6780, 13, 43358, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 12835, 287, 27056, 378, 7, 293, 3080, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 468, 35226, 7, 33201, 11, 479, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 3460, 4163, 12331, 7203, 3123, 1878, 23884, 857, 407, 27071, 18982, 7, 72, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 14150, 11688, 23884, 526, 13, 18982, 7, 74, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 796, 651, 35226, 7, 33201, 11, 479, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 6780, 11, 46545, 7, 85, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 5994, 12331, 7203, 33682, 23884, 27071, 18982, 7, 74, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1659, 12835, 23884, 318, 407, 27071, 18982, 7, 72, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1659, 2099, 23884, 13, 59, 77, 1911, 18982, 7, 85, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1026, 318, 2099, 23884, 526, 13, 18982, 7, 4906, 7, 6780, 22305, 198, 220, 220, 220, 1303, 5345, 4686, 1222, 4155, 5667, 389, 23243, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 312, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 12835, 287, 27056, 378, 7, 293, 3080, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 312, 796, 1312, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5667, 796, 23243, 7, 293, 3080, 11, 1994, 28, 50033, 300, 25, 300, 13, 312, 8, 198, 220, 220, 220, 1303, 5345, 1271, 286, 15225, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 358, 320, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 358, 320, 796, 299, 27740, 198, 220, 220, 220, 1303, 5345, 2472, 1271, 286, 5667, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 22510, 62, 293, 3080, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 293, 3080, 796, 18896, 7, 293, 3080, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 22510, 62, 293, 3080, 796, 997, 62, 293, 3080, 198, 220, 220, 220, 1303, 5345, 3599, 6376, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 9688, 62, 312, 87, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 299, 47050, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 9688, 62, 312, 87, 796, 299, 47050, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 47050, 15853, 12835, 13, 77, 457, 82, 198, 220, 220, 220, 1303, 5345, 12225, 6376, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 11338, 62, 312, 87, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 11338, 62, 312, 87, 796, 12835, 13, 9688, 62, 312, 87, 1343, 12835, 13, 77, 457, 82, 198, 220, 220, 220, 1303, 5345, 7386, 9647, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 27830, 62, 10394, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 7386, 62, 10394, 796, 826, 62, 14907, 532, 1364, 62, 14907, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 27830, 62, 10394, 796, 7386, 62, 10394, 198, 220, 220, 220, 1303, 45559, 3810, 611, 5667, 389, 319, 27458, 13215, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 41007, 291, 62, 9464, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 27458, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 9464, 796, 45941, 13, 271, 19836, 7, 33201, 13, 9464, 62, 14907, 11, 1364, 62, 14907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 3506, 796, 45941, 13, 271, 19836, 7, 33201, 13, 3506, 62, 14907, 11, 826, 62, 14907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 9464, 796, 45941, 13, 9107, 418, 7, 33201, 13, 358, 320, 11, 705, 30388, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 3506, 796, 45941, 13, 9107, 418, 7, 33201, 13, 358, 320, 11, 705, 30388, 11537, 198, 220, 220, 220, 1303, 3060, 12020, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 9464, 62, 710, 394, 32289, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 11, 12835, 287, 27056, 378, 7, 293, 3080, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 9464, 62, 710, 394, 32289, 796, 16410, 60, 329, 4808, 287, 2837, 7, 358, 320, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 3506, 62, 710, 394, 32289, 796, 16410, 60, 329, 4808, 287, 2837, 7, 358, 320, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 8654, 287, 5667, 58, 37498, 73, 10, 16, 8, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 358, 320, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 12835, 13, 9464, 62, 14907, 58, 72, 60, 1875, 8654, 13, 3506, 62, 14907, 58, 72, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 357, 33201, 13, 41007, 291, 62, 3506, 58, 72, 60, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 41007, 291, 62, 9464, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 10352, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 220, 220, 220, 220, 611, 12835, 13, 3506, 62, 14907, 58, 72, 60, 1279, 8654, 13, 9464, 62, 14907, 58, 72, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 357, 47050, 13, 41007, 291, 62, 3506, 58, 72, 60, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 9464, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 10352, 198, 220, 220, 220, 220, 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, 220, 220, 220, 220, 611, 2872, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 358, 320, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 45941, 13, 271, 19836, 7, 33201, 13, 9464, 62, 14907, 58, 72, 4357, 8654, 13, 3506, 62, 14907, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 9464, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 47050, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 3506, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 33201, 13, 312, 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, 1288, 361, 45941, 13, 271, 19836, 7, 33201, 13, 3506, 62, 14907, 58, 72, 4357, 8654, 13, 9464, 62, 14907, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 3506, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 47050, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 9464, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 33201, 13, 312, 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, 611, 27458, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 33201, 13, 41007, 291, 62, 3506, 58, 72, 60, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 41007, 291, 62, 9464, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 3506, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 47050, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 9464, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 33201, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 47050, 13, 41007, 291, 62, 3506, 58, 72, 60, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 41007, 291, 62, 9464, 58, 72, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 9464, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 47050, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8654, 13, 3506, 62, 710, 394, 32289, 58, 72, 4083, 33295, 7, 33201, 13, 312, 8, 198, 220, 220, 220, 611, 651, 35226, 7, 293, 3080, 58, 15, 4357, 705, 710, 394, 32289, 3256, 6045, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 12835, 287, 5667, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12020, 796, 685, 33201, 13, 312, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 358, 320, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12020, 15853, 12835, 13, 9464, 62, 710, 394, 32289, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12020, 15853, 12835, 13, 3506, 62, 710, 394, 32289, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12835, 13, 710, 394, 32289, 796, 1351, 7, 2617, 7, 710, 394, 32289, 4008, 198, 220, 220, 220, 1303, 8229, 5667, 198, 220, 220, 220, 1441, 5667, 628, 198, 834, 439, 834, 796, 14631, 21048, 1600, 366, 74, 67, 21048, 1600, 366, 46189, 3123, 1878, 1600, 366, 46189, 27660, 1600, 366, 14681, 62, 293, 3080, 8973, 198 ]
1.936892
4,627
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-11-10 17:53 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 940, 13, 16, 319, 1584, 12, 1157, 12, 940, 1596, 25, 4310, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 11748, 42625, 14208, 13, 9945, 13, 27530, 13, 2934, 1616, 295, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.73913
69
import pytest from pytest import mark from pytest_lazyfixture import lazy_fixture
[ 11748, 12972, 9288, 198, 6738, 12972, 9288, 1330, 1317, 198, 6738, 12972, 9288, 62, 75, 12582, 69, 9602, 1330, 16931, 62, 69, 9602, 628 ]
3.458333
24
#!/usr/bin/env python ###################################################### # GUI to vizualize ROMS input/output files # Sep 2021 # [email protected] ###################################################### import os import wx import datetime as dt from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg as Navbar from matplotlib.backends.backend_wx import NavigationToolbar2Wx from matplotlib.figure import Figure import numpy as np import matplotlib.pyplot as plt from matplotlib.path import Path import scipy.io as sp import netCDF4 as nc from lib import * # TO-DO LIST: ==================================================== # - correct bug with date selection: somehow the times re-start # every 00z # - need to decide which x-axis to use, lon or lat # ================================================================ # NICE TIP TO DEBUG THIS PROGRAM: ================================ # - comment out app.MainLoop at the last line of this script # - ipython --gui=wx # - run pyromsgui.py # - trigger the events and check out the objects in the shell # ================================================================ global currentDirectory currentDirectory = os.getcwd() PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) DEFAULT_VMIN = 0 DEFAULT_VMAX = 1.5 DEFAULT_CMAP = plt.cm.BrBG DEFAULT_DEPTH_FOR_LAND = -50 class SimpleMPLCanvas(object): """docstring for SimpleMPLCanvas""" def romsTime2string(nctime): """ nctime : netCDF4 variable """ timeunits = nctime.units units = timeunits.split(' ')[0] tstart = dt.datetime.strptime(timeunits.split(' ')[-2], "%Y-%m-%d") timelist = [] for t in nctime[:]: if units == 'seconds': current = tstart + dt.timedelta(seconds=t) if units == 'days': current = tstart + dt.timedelta(seconds=t*86400) timelist.append(current.strftime("%Y-%m-%d %H h")) return timelist def load_bitmap(filename, direc=None): """ Load a bitmap file from the ./icons subdirectory. The filename parameter should not contain any path information as this is determined automatically. Returns a wx.Bitmap object copied from matoplotlib resources """ if not direc: basedir = os.path.join(PROJECT_DIR, 'icons') else: basedir = os.path.join(PROJECT_DIR, direc) bmpFilename = os.path.normpath(os.path.join(basedir, filename)) if not os.path.exists(bmpFilename): raise IOError('Could not find bitmap file "%s"; dying' % bmpFilename) bmp = wx.Bitmap(bmpFilename) return bmp if __name__ == "__main__": app = App(False) app.MainLoop()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 29113, 14468, 4242, 2235, 198, 2, 25757, 284, 48569, 723, 1096, 21224, 50, 5128, 14, 22915, 3696, 198, 2, 8621, 33448, 198, 2, 44608, 448, 417, 2879, 31, 14816, 13, 785, 198, 29113, 14468, 4242, 2235, 198, 11748, 28686, 198, 11748, 266, 87, 198, 11748, 4818, 8079, 355, 288, 83, 198, 198, 6738, 2603, 29487, 8019, 13, 1891, 2412, 13, 1891, 437, 62, 49345, 9460, 1330, 11291, 6090, 11017, 54, 87, 46384, 355, 11291, 6090, 11017, 198, 6738, 2603, 29487, 8019, 13, 1891, 2412, 13, 1891, 437, 62, 49345, 9460, 1330, 42115, 25391, 5657, 17, 54, 87, 46384, 355, 13244, 5657, 198, 6738, 2603, 29487, 8019, 13, 1891, 2412, 13, 1891, 437, 62, 49345, 1330, 42115, 25391, 5657, 17, 54, 87, 198, 6738, 2603, 29487, 8019, 13, 26875, 1330, 11291, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 2603, 29487, 8019, 13, 6978, 1330, 10644, 198, 11748, 629, 541, 88, 13, 952, 355, 599, 198, 11748, 2010, 34, 8068, 19, 355, 299, 66, 198, 198, 6738, 9195, 1330, 1635, 198, 198, 2, 5390, 12, 18227, 39498, 25, 46111, 4770, 18604, 198, 2, 220, 220, 532, 3376, 5434, 351, 3128, 6356, 25, 7599, 262, 1661, 302, 12, 9688, 198, 2, 220, 220, 220, 220, 220, 220, 790, 3571, 89, 198, 2, 220, 220, 532, 761, 284, 5409, 543, 2124, 12, 22704, 284, 779, 11, 300, 261, 393, 3042, 198, 2, 46111, 4770, 25609, 18604, 198, 198, 2, 399, 8476, 309, 4061, 5390, 16959, 12680, 46805, 25, 36658, 25609, 18604, 198, 2, 220, 220, 532, 2912, 503, 598, 13, 13383, 39516, 379, 262, 938, 1627, 286, 428, 4226, 198, 2, 220, 220, 532, 20966, 7535, 1377, 48317, 28, 49345, 198, 2, 220, 220, 532, 1057, 12972, 398, 82, 48317, 13, 9078, 198, 2, 220, 220, 532, 7616, 262, 2995, 290, 2198, 503, 262, 5563, 287, 262, 7582, 198, 2, 46111, 4770, 25609, 18604, 628, 198, 20541, 1459, 43055, 198, 14421, 43055, 796, 28686, 13, 1136, 66, 16993, 3419, 198, 198, 31190, 23680, 62, 34720, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 4008, 198, 7206, 38865, 62, 15996, 1268, 796, 657, 198, 7206, 38865, 62, 53, 22921, 796, 352, 13, 20, 198, 7206, 38865, 62, 24187, 2969, 796, 458, 83, 13, 11215, 13, 9414, 40469, 198, 7206, 38865, 62, 46162, 4221, 62, 13775, 62, 28182, 796, 532, 1120, 628, 628, 198, 4871, 17427, 7378, 5639, 272, 11017, 7, 15252, 2599, 198, 220, 220, 220, 37227, 15390, 8841, 329, 17427, 7378, 5639, 272, 11017, 37811, 628, 628, 198, 198, 4299, 374, 3150, 7575, 17, 8841, 7, 77, 310, 524, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 299, 310, 524, 220, 1058, 220, 2010, 34, 8068, 19, 7885, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 640, 41667, 796, 299, 310, 524, 13, 41667, 198, 220, 220, 220, 4991, 796, 640, 41667, 13, 35312, 10786, 705, 38381, 15, 60, 198, 220, 220, 220, 256, 9688, 796, 288, 83, 13, 19608, 8079, 13, 2536, 457, 524, 7, 2435, 41667, 13, 35312, 10786, 705, 38381, 12, 17, 4357, 36521, 56, 12, 4, 76, 12, 4, 67, 4943, 198, 220, 220, 220, 4628, 46331, 796, 17635, 198, 220, 220, 220, 329, 256, 287, 299, 310, 524, 58, 25, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4991, 6624, 705, 43012, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 796, 256, 9688, 1343, 288, 83, 13, 16514, 276, 12514, 7, 43012, 28, 83, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4991, 6624, 705, 12545, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 796, 256, 9688, 1343, 288, 83, 13, 16514, 276, 12514, 7, 43012, 28, 83, 9, 39570, 405, 8, 628, 220, 220, 220, 220, 220, 220, 220, 4628, 46331, 13, 33295, 7, 14421, 13, 2536, 31387, 7203, 4, 56, 12, 4, 76, 12, 4, 67, 220, 4064, 39, 289, 48774, 628, 220, 220, 220, 1441, 4628, 46331, 628, 198, 198, 4299, 3440, 62, 2545, 8899, 7, 34345, 11, 19958, 66, 28, 14202, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8778, 257, 1643, 8899, 2393, 422, 262, 24457, 34280, 850, 34945, 13, 220, 198, 220, 220, 220, 383, 29472, 11507, 815, 407, 198, 220, 220, 220, 3994, 597, 3108, 1321, 355, 428, 318, 5295, 6338, 13, 628, 220, 220, 220, 16409, 257, 266, 87, 13, 13128, 8899, 2134, 198, 220, 220, 220, 18984, 422, 2603, 20106, 313, 8019, 4133, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 611, 407, 19958, 66, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1912, 343, 796, 28686, 13, 6978, 13, 22179, 7, 31190, 23680, 62, 34720, 11, 705, 34280, 11537, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1912, 343, 796, 28686, 13, 6978, 13, 22179, 7, 31190, 23680, 62, 34720, 11, 19958, 66, 8, 628, 220, 220, 220, 275, 3149, 35063, 796, 28686, 13, 6978, 13, 27237, 6978, 7, 418, 13, 6978, 13, 22179, 7, 3106, 343, 11, 29472, 4008, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 65, 3149, 35063, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 24418, 12331, 10786, 23722, 407, 1064, 1643, 8899, 2393, 36521, 82, 8172, 9950, 6, 4064, 275, 3149, 35063, 8, 628, 220, 220, 220, 275, 3149, 796, 266, 87, 13, 13128, 8899, 7, 65, 3149, 35063, 8, 198, 220, 220, 220, 1441, 275, 3149, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 598, 796, 2034, 7, 25101, 8, 198, 220, 220, 220, 598, 13, 13383, 39516, 3419, 198 ]
2.842916
974
# Sum of pairwise Hamming Distance # https://www.interviewbit.com/problems/sum-of-pairwise-hamming-distance/ # # Hamming distance between two non-negative integers is defined as the number of positions at # which the corresponding bits are different. # # For example, # # HammingDistance(2, 7) = 2, as only the first and the third bit differs in the binary # representation of 2 (010) and 7 (111). # # Given an array of N non-negative integers, find the sum of hamming distances of all pairs of # integers in the array. # # Return the answer modulo 1000000007. # # Example # # Let f(x, y) be the hamming distance defined above. # # A=[2, 4, 6] # # We return, # f(2, 2) + f(2, 4) + f(2, 6) + # f(4, 2) + f(4, 4) + f(4, 6) + # f(6, 2) + f(6, 4) + f(6, 6) = # # 0 + 2 + 1 # 2 + 0 + 1 # 1 + 1 + 0 = 8 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # @param A : tuple of integers # @return an integer # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # if __name__ == "__main__": s = Solution() print(s.hammingDistance((2, 4, 6)))
[ 2, 5060, 286, 5166, 3083, 4345, 2229, 34600, 198, 2, 3740, 1378, 2503, 13, 3849, 1177, 2545, 13, 785, 14, 1676, 22143, 14, 16345, 12, 1659, 12, 24874, 3083, 12, 2763, 2229, 12, 30246, 14, 198, 2, 198, 2, 4345, 2229, 5253, 1022, 734, 1729, 12, 31591, 37014, 318, 5447, 355, 262, 1271, 286, 6116, 379, 198, 2, 543, 262, 11188, 10340, 389, 1180, 13, 198, 2, 198, 2, 1114, 1672, 11, 198, 2, 198, 2, 4345, 2229, 45767, 7, 17, 11, 767, 8, 796, 362, 11, 355, 691, 262, 717, 290, 262, 2368, 1643, 24242, 287, 262, 13934, 198, 2, 10552, 286, 362, 357, 20943, 8, 290, 767, 357, 16243, 737, 198, 2, 198, 2, 11259, 281, 7177, 286, 399, 1729, 12, 31591, 37014, 11, 1064, 262, 2160, 286, 8891, 2229, 18868, 286, 477, 14729, 286, 198, 2, 37014, 287, 262, 7177, 13, 198, 2, 198, 2, 8229, 262, 3280, 953, 43348, 1802, 10535, 22, 13, 198, 2, 198, 2, 17934, 198, 2, 198, 2, 3914, 277, 7, 87, 11, 331, 8, 307, 262, 8891, 2229, 5253, 5447, 2029, 13, 198, 2, 198, 2, 317, 41888, 17, 11, 604, 11, 718, 60, 198, 2, 198, 2, 775, 1441, 11, 198, 2, 277, 7, 17, 11, 362, 8, 1343, 277, 7, 17, 11, 604, 8, 1343, 277, 7, 17, 11, 718, 8, 1343, 198, 2, 277, 7, 19, 11, 362, 8, 1343, 277, 7, 19, 11, 604, 8, 1343, 277, 7, 19, 11, 718, 8, 1343, 198, 2, 277, 7, 21, 11, 362, 8, 1343, 277, 7, 21, 11, 604, 8, 1343, 277, 7, 21, 11, 718, 8, 796, 198, 2, 198, 2, 657, 1343, 362, 1343, 352, 198, 2, 362, 1343, 657, 1343, 352, 198, 2, 352, 1343, 352, 1343, 657, 796, 807, 198, 2, 198, 2, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 198, 220, 220, 220, 1303, 2488, 17143, 317, 1058, 46545, 286, 37014, 198, 220, 220, 220, 1303, 2488, 7783, 281, 18253, 198, 198, 2, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 264, 796, 28186, 3419, 198, 220, 220, 220, 3601, 7, 82, 13, 2763, 2229, 45767, 19510, 17, 11, 604, 11, 718, 22305, 198 ]
2.498911
459
#!/usr/bin/env python # coding: utf-8 # In[16]: #importing required packages import pandas as pd from sklearn import preprocessing from sklearn.model_selection import train_test_split from sklearn.naive_bayes import GaussianNB from sklearn.metrics import accuracy_score from sklearn.metrics import confusion_matrix from sklearn.naive_bayes import BernoulliNB clf=BernoulliNB() #loading the data dataset=pd.read_csv("C:/Users/ASUS/Downloads/train.csv") dataset.head() #getting the description of the dataset dataset.describe() dataset.describe().sum() #get some info about the data dataset.info() #getting the amount of null values in each column dataset.isnull().sum() #dropping the unimportant columns dataset=dataset.drop('PassengerId', axis=1) dataset=dataset.drop('Name', axis=1) dataset=dataset.drop('Ticket', axis=1) dataset=dataset.drop('Cabin', axis=1) dataset.head() #label encoding the categorical values which are of object type le=preprocessing.LabelEncoder() dataset['Sex']=le.fit_transform(dataset['Sex']) dataset['Embarked']=le.fit_transform(dataset['Embarked']) dataset.head() """this functions takes the independent variable column and trains the model after dividing the dataset into x and y and also spliting the dataset into training and testing data.This also prints the accuracy score and the confusion matrix""" #Calling the function navbaiyes('Survived') # In[ ]:
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 19617, 25, 3384, 69, 12, 23, 198, 198, 2, 554, 58, 1433, 5974, 628, 198, 2, 11748, 278, 2672, 10392, 198, 11748, 19798, 292, 355, 279, 67, 198, 6738, 1341, 35720, 1330, 662, 36948, 198, 6738, 1341, 35720, 13, 19849, 62, 49283, 1330, 4512, 62, 9288, 62, 35312, 198, 6738, 1341, 35720, 13, 2616, 425, 62, 24406, 274, 1330, 12822, 31562, 32819, 198, 6738, 1341, 35720, 13, 4164, 10466, 1330, 9922, 62, 26675, 198, 6738, 1341, 35720, 13, 4164, 10466, 1330, 10802, 62, 6759, 8609, 198, 6738, 1341, 35720, 13, 2616, 425, 62, 24406, 274, 1330, 6206, 280, 15516, 32819, 198, 565, 69, 28, 23927, 280, 15516, 32819, 3419, 198, 198, 2, 25138, 262, 1366, 198, 19608, 292, 316, 28, 30094, 13, 961, 62, 40664, 7203, 34, 14079, 14490, 14, 1921, 2937, 14, 10002, 82, 14, 27432, 13, 40664, 4943, 198, 19608, 292, 316, 13, 2256, 3419, 198, 198, 2, 37210, 262, 6764, 286, 262, 27039, 198, 19608, 292, 316, 13, 20147, 4892, 3419, 198, 19608, 292, 316, 13, 20147, 4892, 22446, 16345, 3419, 198, 198, 2, 1136, 617, 7508, 546, 262, 1366, 198, 19608, 292, 316, 13, 10951, 3419, 198, 198, 2, 37210, 262, 2033, 286, 9242, 3815, 287, 1123, 5721, 198, 19608, 292, 316, 13, 271, 8423, 22446, 16345, 3419, 198, 198, 2, 37554, 262, 555, 18049, 15180, 198, 198, 19608, 292, 316, 28, 19608, 292, 316, 13, 14781, 10786, 14478, 6540, 7390, 3256, 16488, 28, 16, 8, 198, 198, 19608, 292, 316, 28, 19608, 292, 316, 13, 14781, 10786, 5376, 3256, 16488, 28, 16, 8, 198, 198, 19608, 292, 316, 28, 19608, 292, 316, 13, 14781, 10786, 51, 9715, 3256, 16488, 28, 16, 8, 198, 198, 19608, 292, 316, 28, 19608, 292, 316, 13, 14781, 10786, 34, 6014, 3256, 16488, 28, 16, 8, 198, 198, 19608, 292, 316, 13, 2256, 3419, 198, 198, 2, 18242, 21004, 262, 4253, 12409, 3815, 543, 389, 286, 2134, 2099, 220, 198, 293, 28, 3866, 36948, 13, 33986, 27195, 12342, 3419, 198, 19608, 292, 316, 17816, 23398, 20520, 28, 293, 13, 11147, 62, 35636, 7, 19608, 292, 316, 17816, 23398, 6, 12962, 198, 19608, 292, 316, 17816, 31567, 668, 276, 20520, 28, 293, 13, 11147, 62, 35636, 7, 19608, 292, 316, 17816, 31567, 668, 276, 6, 12962, 198, 19608, 292, 316, 13, 2256, 3419, 198, 198, 37811, 5661, 5499, 2753, 262, 4795, 7885, 5721, 290, 13404, 262, 2746, 706, 27241, 262, 27039, 656, 2124, 290, 331, 198, 392, 635, 4328, 1780, 262, 27039, 656, 3047, 290, 4856, 1366, 13, 1212, 635, 20842, 262, 9922, 4776, 290, 262, 10802, 17593, 37811, 198, 220, 220, 220, 220, 198, 2, 48593, 262, 2163, 198, 28341, 65, 1872, 8505, 10786, 34652, 1572, 11537, 628, 198, 2, 554, 58, 2361, 25, 628, 628, 198 ]
3.029979
467
#!/usr/bin/env python import math var1 = "Hello" var2 = "Worldpress" print "var1 = ", var1 print "var2 = ", var2 print "var1[0] = ", var1[0] print "var2[1:5] = ", var2[1:5] if ('H' in var1): print "H is in var1 ", var1 else: print "H is not in var1 ", var1 if ('H' not in var2): print "H is not in var2 ", var2 else: print "H is in var2 ", var2 var3 = var1 + var2; print "var1 + var2 = ", var3 print "var1 = %s, var2 = %s" % (var1, var2)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 11748, 10688, 198, 198, 7785, 16, 796, 366, 15496, 1, 198, 7785, 17, 796, 366, 10603, 8439, 1, 198, 198, 4798, 366, 7785, 16, 796, 33172, 1401, 16, 198, 4798, 366, 7785, 17, 796, 33172, 1401, 17, 198, 4798, 366, 7785, 16, 58, 15, 60, 796, 33172, 1401, 16, 58, 15, 60, 198, 4798, 366, 7785, 17, 58, 16, 25, 20, 60, 796, 33172, 1401, 17, 58, 16, 25, 20, 60, 198, 198, 361, 19203, 39, 6, 287, 1401, 16, 2599, 198, 220, 220, 220, 3601, 366, 39, 318, 287, 1401, 16, 33172, 1401, 16, 198, 17772, 25, 198, 220, 220, 220, 3601, 366, 39, 318, 407, 287, 1401, 16, 33172, 1401, 16, 628, 198, 361, 19203, 39, 6, 407, 287, 1401, 17, 2599, 198, 220, 220, 220, 3601, 366, 39, 318, 407, 287, 1401, 17, 33172, 1401, 17, 198, 17772, 25, 198, 220, 220, 220, 3601, 366, 39, 318, 287, 1401, 17, 33172, 1401, 17, 628, 198, 7785, 18, 796, 1401, 16, 1343, 1401, 17, 26, 198, 4798, 366, 7785, 16, 1343, 1401, 17, 796, 33172, 1401, 18, 198, 198, 4798, 366, 7785, 16, 796, 4064, 82, 11, 1401, 17, 796, 4064, 82, 1, 4064, 357, 7785, 16, 11, 1401, 17, 8, 628 ]
2.168224
214
import random
[ 11748, 4738, 198 ]
4.666667
3
import markdown2, re, random from django.shortcuts import render from django.urls import reverse from django.http import HttpResponseRedirect from . import util
[ 11748, 1317, 2902, 17, 11, 302, 11, 4738, 198, 198, 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 6738, 42625, 14208, 13, 6371, 82, 1330, 9575, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 7738, 1060, 198, 198, 6738, 764, 1330, 7736 ]
3.6
45
import logging import multiprocessing import ctypes from gunpowder.ext import tensorflow as tf from gunpowder.freezable import Freezable logger = logging.getLogger(__name__) class LocalServer(Freezable): '''Wrapper around ``tf.train.Server`` to create a local server on-demand. This class is necessary because tensorflow's GPU support should not be initialized before forking processes (the CUDA driver needs to be initialized in each process separately, not in the main process and then forked). Creating a ``tf.train.Server`` initializes GPU support, however. With this wrapper, server creating can be delayed until a GPU process creates a ``tf.Session``:: session = tf.Session(target=LocalServer.get_target()) ''' __target = multiprocessing.Array(ctypes.c_char, b' '*256) __server = None @staticmethod def get_target(): '''Get the target string of this tensorflow server to connect a ``tf.Session()``. This will start the server, if it is not running already. ''' with LocalServer.__target.get_lock(): target = LocalServer.__target.value if target == b' '*256: logger.info("Creating local tensorflow server") LocalServer.__server = tf.train.Server.create_local_server() target = LocalServer.__server.target if not isinstance(target, bytes): target = target.encode('ascii') logger.info("Server running at %s", target) else: logger.info("Server already running at %s", target) LocalServer.__target.value = target return target
[ 11748, 18931, 198, 11748, 18540, 305, 919, 278, 198, 11748, 269, 19199, 198, 6738, 2485, 45855, 13, 2302, 1330, 11192, 273, 11125, 355, 48700, 198, 6738, 2485, 45855, 13, 5787, 89, 540, 1330, 3232, 89, 540, 198, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 198, 4871, 10714, 10697, 7, 11146, 89, 540, 2599, 198, 220, 220, 220, 705, 7061, 36918, 2848, 1088, 7559, 27110, 13, 27432, 13, 10697, 15506, 284, 2251, 257, 1957, 4382, 319, 12, 28550, 13, 628, 220, 220, 220, 770, 1398, 318, 3306, 780, 11192, 273, 11125, 338, 11362, 1104, 815, 407, 307, 198, 220, 220, 220, 23224, 878, 329, 3364, 7767, 357, 1169, 29369, 5631, 4639, 2476, 284, 307, 198, 220, 220, 220, 23224, 287, 1123, 1429, 13869, 11, 407, 287, 262, 1388, 1429, 290, 788, 198, 220, 220, 220, 329, 9091, 737, 30481, 257, 7559, 27110, 13, 27432, 13, 10697, 15506, 4238, 4340, 11362, 1104, 11, 2158, 13, 198, 220, 220, 220, 2080, 428, 29908, 11, 4382, 4441, 460, 307, 11038, 1566, 257, 11362, 1429, 198, 220, 220, 220, 8075, 257, 7559, 27110, 13, 36044, 15506, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 6246, 796, 48700, 13, 36044, 7, 16793, 28, 14565, 10697, 13, 1136, 62, 16793, 28955, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 11593, 16793, 796, 18540, 305, 919, 278, 13, 19182, 7, 310, 9497, 13, 66, 62, 10641, 11, 275, 6, 705, 9, 11645, 8, 198, 220, 220, 220, 11593, 15388, 796, 6045, 628, 220, 220, 220, 2488, 12708, 24396, 198, 220, 220, 220, 825, 651, 62, 16793, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 3855, 262, 2496, 4731, 286, 428, 11192, 273, 11125, 4382, 284, 2018, 257, 198, 220, 220, 220, 220, 220, 220, 220, 7559, 27110, 13, 36044, 3419, 15506, 13, 770, 481, 923, 262, 4382, 11, 611, 340, 318, 407, 2491, 198, 220, 220, 220, 220, 220, 220, 220, 1541, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 351, 10714, 10697, 13, 834, 16793, 13, 1136, 62, 5354, 33529, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 796, 10714, 10697, 13, 834, 16793, 13, 8367, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2496, 6624, 275, 6, 705, 9, 11645, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7203, 32071, 1957, 11192, 273, 11125, 4382, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10714, 10697, 13, 834, 15388, 796, 48700, 13, 27432, 13, 10697, 13, 17953, 62, 12001, 62, 15388, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 796, 10714, 10697, 13, 834, 15388, 13, 16793, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 16793, 11, 9881, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 796, 2496, 13, 268, 8189, 10786, 292, 979, 72, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7203, 10697, 2491, 379, 4064, 82, 1600, 2496, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49706, 13, 10951, 7203, 10697, 1541, 2491, 379, 4064, 82, 1600, 2496, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10714, 10697, 13, 834, 16793, 13, 8367, 796, 2496, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2496, 198 ]
2.646512
645
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools import os from dataclasses import dataclass from typing import Dict, List from pants.backend.go.module import ResolvedGoModule, ResolveGoModuleRequest from pants.backend.go.pkg import ( ResolvedGoPackage, ResolveExternalGoModuleToPackagesRequest, ResolveExternalGoModuleToPackagesResult, ) from pants.backend.go.target_types import ( GoExternalPackageTarget, GoModule, GoModuleSources, GoPackage, ) from pants.base.specs import AddressSpecs, MaybeEmptyDescendantAddresses, MaybeEmptySiblingAddresses from pants.build_graph.address import Address from pants.core.goals.tailor import ( AllOwnedSources, PutativeTarget, PutativeTargets, PutativeTargetsRequest, group_by_dir, ) from pants.engine.fs import PathGlobs, Paths from pants.engine.internals.selectors import Get, MultiGet from pants.engine.rules import collect_rules, rule from pants.engine.target import UnexpandedTargets from pants.engine.unions import UnionRule from pants.util.logging import LogLevel @dataclass(frozen=True) @rule(level=LogLevel.DEBUG, desc="Determine candidate Go `go_package` targets to create") @dataclass(frozen=True) @rule(level=LogLevel.DEBUG, desc="Determine candidate Go `go_module` targets to create") @dataclass(frozen=True) @rule(level=LogLevel.DEBUG, desc="Determine candidate Go `go_external_module` targets to create")
[ 2, 15069, 33448, 41689, 1628, 20420, 357, 3826, 27342, 9865, 3843, 20673, 13, 9132, 737, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 3826, 38559, 24290, 737, 198, 11748, 340, 861, 10141, 198, 11748, 28686, 198, 6738, 4818, 330, 28958, 1330, 4818, 330, 31172, 198, 6738, 19720, 1330, 360, 713, 11, 7343, 198, 198, 6738, 12581, 13, 1891, 437, 13, 2188, 13, 21412, 1330, 1874, 5634, 5247, 26796, 11, 1874, 6442, 5247, 26796, 18453, 198, 6738, 12581, 13, 1891, 437, 13, 2188, 13, 35339, 1330, 357, 198, 220, 220, 220, 1874, 5634, 5247, 27813, 11, 198, 220, 220, 220, 1874, 6442, 41506, 5247, 26796, 2514, 11869, 1095, 18453, 11, 198, 220, 220, 220, 1874, 6442, 41506, 5247, 26796, 2514, 11869, 1095, 23004, 11, 198, 8, 198, 6738, 12581, 13, 1891, 437, 13, 2188, 13, 16793, 62, 19199, 1330, 357, 198, 220, 220, 220, 1514, 41506, 27813, 21745, 11, 198, 220, 220, 220, 1514, 26796, 11, 198, 220, 220, 220, 1514, 26796, 21188, 11, 198, 220, 220, 220, 1514, 27813, 11, 198, 8, 198, 6738, 12581, 13, 8692, 13, 4125, 6359, 1330, 17917, 5248, 6359, 11, 6674, 40613, 24564, 23048, 4550, 16746, 11, 6674, 40613, 50, 27448, 4550, 16746, 198, 6738, 12581, 13, 11249, 62, 34960, 13, 21975, 1330, 17917, 198, 6738, 12581, 13, 7295, 13, 2188, 874, 13, 13199, 273, 1330, 357, 198, 220, 220, 220, 1439, 23858, 276, 21188, 11, 198, 220, 220, 220, 5930, 876, 21745, 11, 198, 220, 220, 220, 5930, 876, 51, 853, 1039, 11, 198, 220, 220, 220, 5930, 876, 51, 853, 1039, 18453, 11, 198, 220, 220, 220, 1448, 62, 1525, 62, 15908, 11, 198, 8, 198, 6738, 12581, 13, 18392, 13, 9501, 1330, 10644, 9861, 8158, 11, 10644, 82, 198, 6738, 12581, 13, 18392, 13, 23124, 874, 13, 19738, 669, 1330, 3497, 11, 15237, 3855, 198, 6738, 12581, 13, 18392, 13, 38785, 1330, 2824, 62, 38785, 11, 3896, 198, 6738, 12581, 13, 18392, 13, 16793, 1330, 471, 12413, 79, 12249, 51, 853, 1039, 198, 6738, 12581, 13, 18392, 13, 403, 507, 1330, 4479, 31929, 198, 6738, 12581, 13, 22602, 13, 6404, 2667, 1330, 5972, 4971, 628, 198, 31, 19608, 330, 31172, 7, 69, 42005, 28, 17821, 8, 628, 198, 31, 25135, 7, 5715, 28, 11187, 4971, 13, 30531, 11, 1715, 2625, 35, 2357, 3810, 4540, 1514, 4600, 2188, 62, 26495, 63, 6670, 284, 2251, 4943, 628, 198, 31, 19608, 330, 31172, 7, 69, 42005, 28, 17821, 8, 628, 198, 31, 25135, 7, 5715, 28, 11187, 4971, 13, 30531, 11, 1715, 2625, 35, 2357, 3810, 4540, 1514, 4600, 2188, 62, 21412, 63, 6670, 284, 2251, 4943, 628, 198, 198, 31, 19608, 330, 31172, 7, 69, 42005, 28, 17821, 8, 628, 198, 31, 25135, 7, 5715, 28, 11187, 4971, 13, 30531, 11, 1715, 2625, 35, 2357, 3810, 4540, 1514, 4600, 2188, 62, 22615, 62, 21412, 63, 6670, 284, 2251, 4943, 628 ]
3.162162
481
import os import cursos print(os.getcwd())
[ 11748, 28686, 198, 11748, 13882, 418, 198, 198, 4798, 7, 418, 13, 1136, 66, 16993, 28955, 198 ]
2.588235
17
# Generated by Django 3.1.3 on 2021-04-20 14:59 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 16, 13, 18, 319, 33448, 12, 3023, 12, 1238, 1478, 25, 3270, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Unit tests for finite_diff library """ import unittest import random from math import pi import numpy as np import finitediff class TestFiniteDiff(unittest.TestCase): """Unit test class for the finitediff library""" order = 4 # Order of the derivatives def setUp(self): """Initialize a differentiator on a random grid""" # Randomly pick some x values numvals = 40 self.x = np.sort(np.array([random.uniform(0.0, 2*pi) for i in range(numvals)])) # Create the differentiator on these x values self.diff = finitediff.Derivative(TestFiniteDiff.order) self.diff.set_x(self.x) def test_order(self): """Make sure we can get the order out correctly""" self.assertEqual(self.diff.get_order(), TestFiniteDiff.order) def test_cos(self): """Test a cosine function with no boundary conditions""" ycos = np.cos(self.x) dycos = self.diff.dydx(ycos) truevals = -np.sin(self.x) self.compare_arrays(dycos, truevals) def test_sin(self): """Test a sine function with no boundary conditions""" ysin = np.sin(self.x) dysin = self.diff.dydx(ysin) truevals = np.cos(self.x) self.compare_arrays(dysin, truevals) def test_matrix(self): """Test a matrix function with no boundary conditions""" ysin = np.sin(self.x) ycos = np.cos(self.x) # pylint: disable=no-member test = np.array([ysin, ycos]).transpose() truevals = np.array([ycos, -ysin]).transpose() # pylint: enable=no-member dtest = self.diff.dydx(test) self.assertTrue(np.all(np.abs(dtest - truevals) < 0.01)) def test_sin_odd(self): """Test a sine function with odd boundary conditions""" self.diff.apply_boundary(-1) ysin = np.sin(self.x) dysin = self.diff.dydx(ysin) truevals = np.cos(self.x) self.compare_arrays(dysin, truevals) def test_cos_even(self): """Test a cosine function with even boundary conditions""" self.diff.apply_boundary(1) ycos = np.cos(self.x) dycos = self.diff.dydx(ycos) truevals = -np.sin(self.x) self.compare_arrays(dycos, truevals) def compare_arrays(self, array1, array2): """Helper function to test equality of two arrays""" for i, _ in enumerate(array1): self.assertAlmostEqual(array1[i], array2[i], delta=0.01) def test_conversion1(self): """Test converting boundary conditions""" # pylint: disable=protected-access oldstencil = self.diff._stencil.copy() self.diff.set_x(self.x, 1) newstencil = self.diff._stencil.copy() self.diff.apply_boundary(0) # Test converting to no boundary condition self.assertTrue(np.all(self.diff._stencil == oldstencil)) # Test converting to even boundary condition newdiff = finitediff.Derivative(TestFiniteDiff.order) newdiff.set_x(self.x, 1) self.assertTrue(np.all(newdiff._stencil == newstencil)) # Test converting to odd boundary condition self.diff.set_x(self.x, -1) newstencil = self.diff._stencil.copy() newdiff = finitediff.Derivative(TestFiniteDiff.order) newdiff.set_x(self.x, -1) self.assertTrue(np.all(newdiff._stencil == newstencil)) def test_bad(self): """Make sure an error is raised appropriately""" # pylint: disable=protected-access # Insufficient gridpoints for order with self.assertRaises(finitediff.DerivativeError): self.diff.set_x(np.array([0.0, 0.5, 1.0])) # Something has gone very wrong - stencil and gridpoints are # out of alignment with self.assertRaises(finitediff.DerivativeError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test._xvals = np.array([1.0, 2.0, 3.0, 4.0]) test.apply_boundary() # Various tests for no stencil with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.dydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.leftdydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.rightdydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.position_dydx(np.array([1, 2, 3]), 1) with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.get_xvals() with self.assertRaises(finitediff.NoStencil): test = finitediff.Derivative(TestFiniteDiff.order) test.apply_boundary() # xvals and yvals are out of alignment with self.assertRaises(finitediff.DerivativeError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test.dydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.DerivativeError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test.leftdydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.DerivativeError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test.rightdydx(np.array([1, 2, 3])) with self.assertRaises(finitediff.DerivativeError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test.position_dydx(np.array([1, 2, 3]), 3) # Position out of bounds with self.assertRaises(IndexError): test = finitediff.Derivative(TestFiniteDiff.order) test.set_x(np.array([1.0, 2, 3, 4, 5, 6])) test.position_dydx(np.array([1, 2, 3, 4, 5, 6]), 7) def test_copy(self): """Make sure things copy correctly""" # pylint: disable=protected-access # Make sure we get references xref = self.diff.get_xvals(False) self.x[0] += 1 self.assertTrue(xref[0] == self.x[0]) # Make sure we get copies! self.diff.set_x(self.x, copy=True) x = self.diff.get_xvals(True) xref = self.diff.get_xvals(False) x[0] += 1 self.assertFalse(xref[0] == x[0]) # get_xvals returned a copy xref[0] += 1 self.assertFalse(xref[0] == self.x[0]) # set_x stored a copy def test_positions(self): """Test that derivatives at all positions are correct""" ysin = np.sin(self.x) dysin = self.diff.dydx(ysin) for i in range(len(ysin)): self.assertAlmostEqual(dysin[i], self.diff.position_dydx(ysin, i), delta=1e-12) self.assertAlmostEqual(dysin[0], self.diff.leftdydx(ysin), delta=1e-12) self.assertAlmostEqual(dysin[-1], self.diff.rightdydx(ysin), delta=1e-12) if __name__ == '__main__': unittest.main()
[ 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, 26453, 5254, 329, 27454, 62, 26069, 5888, 198, 37811, 198, 198, 11748, 555, 715, 395, 198, 11748, 4738, 198, 6738, 10688, 1330, 31028, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 957, 863, 733, 198, 198, 4871, 6208, 37, 9504, 28813, 7, 403, 715, 395, 13, 14402, 20448, 2599, 198, 220, 220, 220, 37227, 26453, 1332, 1398, 329, 262, 957, 863, 733, 5888, 37811, 628, 220, 220, 220, 1502, 796, 604, 220, 220, 1303, 8284, 286, 262, 28486, 628, 220, 220, 220, 825, 900, 4933, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 24243, 1096, 257, 1180, 38585, 319, 257, 4738, 10706, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 14534, 306, 2298, 617, 2124, 3815, 198, 220, 220, 220, 220, 220, 220, 220, 997, 12786, 796, 2319, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 87, 796, 45941, 13, 30619, 7, 37659, 13, 18747, 26933, 25120, 13, 403, 6933, 7, 15, 13, 15, 11, 362, 9, 14415, 8, 329, 1312, 287, 2837, 7, 22510, 12786, 15437, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13610, 262, 1180, 38585, 319, 777, 2124, 3815, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 8, 628, 220, 220, 220, 825, 1332, 62, 2875, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 12050, 1654, 356, 460, 651, 262, 1502, 503, 9380, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 36, 13255, 7, 944, 13, 26069, 13, 1136, 62, 2875, 22784, 6208, 37, 9504, 28813, 13, 2875, 8, 628, 220, 220, 220, 825, 1332, 62, 6966, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 257, 8615, 500, 2163, 351, 645, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 331, 6966, 796, 45941, 13, 6966, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20268, 6966, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 88, 6966, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 12786, 796, 532, 37659, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5589, 533, 62, 3258, 592, 7, 9892, 6966, 11, 2081, 12786, 8, 628, 220, 220, 220, 825, 1332, 62, 31369, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 257, 264, 500, 2163, 351, 645, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 331, 31369, 796, 45941, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 13147, 259, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 893, 259, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 12786, 796, 45941, 13, 6966, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5589, 533, 62, 3258, 592, 7, 67, 893, 259, 11, 2081, 12786, 8, 628, 220, 220, 220, 825, 1332, 62, 6759, 8609, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 257, 17593, 2163, 351, 645, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 331, 31369, 796, 45941, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 6966, 796, 45941, 13, 6966, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 279, 2645, 600, 25, 15560, 28, 3919, 12, 19522, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 45941, 13, 18747, 26933, 893, 259, 11, 331, 6966, 35944, 7645, 3455, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 12786, 796, 45941, 13, 18747, 26933, 88, 6966, 11, 532, 893, 259, 35944, 7645, 3455, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 279, 2645, 600, 25, 7139, 28, 3919, 12, 19522, 198, 220, 220, 220, 220, 220, 220, 220, 288, 9288, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 9288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 37659, 13, 439, 7, 37659, 13, 8937, 7, 67, 9288, 532, 2081, 12786, 8, 1279, 657, 13, 486, 4008, 628, 220, 220, 220, 825, 1332, 62, 31369, 62, 5088, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 257, 264, 500, 2163, 351, 5629, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 39014, 62, 7784, 560, 32590, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 31369, 796, 45941, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 13147, 259, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 893, 259, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 12786, 796, 45941, 13, 6966, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5589, 533, 62, 3258, 592, 7, 67, 893, 259, 11, 2081, 12786, 8, 628, 220, 220, 220, 825, 1332, 62, 6966, 62, 10197, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 257, 8615, 500, 2163, 351, 772, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 39014, 62, 7784, 560, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 6966, 796, 45941, 13, 6966, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20268, 6966, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 88, 6966, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2081, 12786, 796, 532, 37659, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 5589, 533, 62, 3258, 592, 7, 9892, 6966, 11, 2081, 12786, 8, 628, 220, 220, 220, 825, 8996, 62, 3258, 592, 7, 944, 11, 7177, 16, 11, 7177, 17, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 47429, 2163, 284, 1332, 10537, 286, 734, 26515, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 4808, 287, 27056, 378, 7, 18747, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 23379, 36, 13255, 7, 18747, 16, 58, 72, 4357, 7177, 17, 58, 72, 4357, 25979, 28, 15, 13, 486, 8, 628, 220, 220, 220, 825, 1332, 62, 1102, 9641, 16, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 23202, 18645, 3403, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 279, 2645, 600, 25, 15560, 28, 24326, 12, 15526, 198, 220, 220, 220, 220, 220, 220, 220, 1468, 26400, 2856, 796, 2116, 13, 26069, 13557, 26400, 2856, 13, 30073, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 11, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26400, 2856, 796, 2116, 13, 26069, 13557, 26400, 2856, 13, 30073, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 39014, 62, 7784, 560, 7, 15, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 23202, 284, 645, 18645, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 37659, 13, 439, 7, 944, 13, 26069, 13557, 26400, 2856, 6624, 1468, 26400, 2856, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 23202, 284, 772, 18645, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26069, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 11, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 37659, 13, 439, 7, 3605, 26069, 13557, 26400, 2856, 6624, 649, 26400, 2856, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 23202, 284, 5629, 18645, 4006, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 11, 532, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26400, 2856, 796, 2116, 13, 26069, 13557, 26400, 2856, 13, 30073, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26069, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 649, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 11, 532, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 37659, 13, 439, 7, 3605, 26069, 13557, 26400, 2856, 6624, 649, 26400, 2856, 4008, 628, 220, 220, 220, 825, 1332, 62, 14774, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 12050, 1654, 281, 4049, 318, 4376, 20431, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 279, 2645, 600, 25, 15560, 28, 24326, 12, 15526, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7088, 15267, 10706, 13033, 329, 1502, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 15, 13, 15, 11, 657, 13, 20, 11, 352, 13, 15, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13742, 468, 3750, 845, 2642, 532, 45219, 2856, 290, 10706, 13033, 389, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 503, 286, 19114, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13557, 87, 12786, 796, 45941, 13, 18747, 26933, 16, 13, 15, 11, 362, 13, 15, 11, 513, 13, 15, 11, 604, 13, 15, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 39014, 62, 7784, 560, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 26386, 5254, 329, 645, 45219, 2856, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 9464, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 3506, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 9150, 62, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 46570, 352, 8, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 1136, 62, 87, 12786, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 2949, 1273, 268, 2856, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 39014, 62, 7784, 560, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 2124, 12786, 290, 331, 12786, 389, 503, 286, 19114, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 9464, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 3506, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15643, 863, 733, 13, 28532, 452, 876, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 9150, 62, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 46570, 513, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 23158, 503, 286, 22303, 198, 220, 220, 220, 220, 220, 220, 220, 351, 2116, 13, 30493, 21762, 2696, 7, 15732, 12331, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 796, 957, 863, 733, 13, 28532, 452, 876, 7, 14402, 37, 9504, 28813, 13, 2875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 2617, 62, 87, 7, 37659, 13, 18747, 26933, 16, 13, 15, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 13, 9150, 62, 67, 5173, 87, 7, 37659, 13, 18747, 26933, 16, 11, 362, 11, 513, 11, 604, 11, 642, 11, 718, 46570, 767, 8, 628, 220, 220, 220, 825, 1332, 62, 30073, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 12050, 1654, 1243, 4866, 9380, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 279, 2645, 600, 25, 15560, 28, 24326, 12, 15526, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6889, 1654, 356, 651, 10288, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 5420, 796, 2116, 13, 26069, 13, 1136, 62, 87, 12786, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 87, 58, 15, 60, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 87, 5420, 58, 15, 60, 6624, 2116, 13, 87, 58, 15, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 6889, 1654, 356, 651, 9088, 0, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 26069, 13, 2617, 62, 87, 7, 944, 13, 87, 11, 4866, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 2116, 13, 26069, 13, 1136, 62, 87, 12786, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 5420, 796, 2116, 13, 26069, 13, 1136, 62, 87, 12786, 7, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 58, 15, 60, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 25101, 7, 87, 5420, 58, 15, 60, 6624, 2124, 58, 15, 12962, 220, 1303, 651, 62, 87, 12786, 4504, 257, 4866, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 5420, 58, 15, 60, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 25101, 7, 87, 5420, 58, 15, 60, 6624, 2116, 13, 87, 58, 15, 12962, 220, 1303, 900, 62, 87, 8574, 257, 4866, 628, 220, 220, 220, 825, 1332, 62, 1930, 1756, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14402, 326, 28486, 379, 477, 6116, 389, 3376, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 331, 31369, 796, 45941, 13, 31369, 7, 944, 13, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 13147, 259, 796, 2116, 13, 26069, 13, 67, 5173, 87, 7, 893, 259, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 11925, 7, 893, 259, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 23379, 36, 13255, 7, 67, 893, 259, 58, 72, 4357, 2116, 13, 26069, 13, 9150, 62, 67, 5173, 87, 7, 893, 259, 11, 1312, 828, 25979, 28, 16, 68, 12, 1065, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 23379, 36, 13255, 7, 67, 893, 259, 58, 15, 4357, 2116, 13, 26069, 13, 9464, 67, 5173, 87, 7, 893, 259, 828, 25979, 28, 16, 68, 12, 1065, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 23379, 36, 13255, 7, 67, 893, 259, 58, 12, 16, 4357, 2116, 13, 26069, 13, 3506, 67, 5173, 87, 7, 893, 259, 828, 25979, 28, 16, 68, 12, 1065, 8, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
2.13533
3,473
########################### # # #143 Investigating the Torricelli point of a triangle - Project Euler # https://projecteuler.net/problem=143 # # Code by Kevin Marciniak # ###########################
[ 14468, 7804, 21017, 198, 2, 198, 2, 1303, 21139, 16203, 803, 262, 4022, 20970, 15516, 966, 286, 257, 22950, 532, 4935, 412, 18173, 198, 2, 3740, 1378, 16302, 68, 18173, 13, 3262, 14, 45573, 28, 21139, 198, 2, 198, 2, 6127, 416, 7939, 13067, 5362, 461, 198, 2, 198, 14468, 7804, 21017, 198 ]
3.754717
53
__version__ = '0.1.4' default_app_config = 'connected_accounts.apps.ConnectedAccountsConfig'
[ 834, 9641, 834, 796, 705, 15, 13, 16, 13, 19, 6, 198, 198, 12286, 62, 1324, 62, 11250, 796, 705, 15236, 62, 23317, 82, 13, 18211, 13, 13313, 276, 30116, 82, 16934, 6, 198 ]
2.764706
34
import socket from abc import abstractmethod from threading import Thread from typing import Optional from nehushtan.socket.SocketHandleThreadManager import SocketHandlerThreadManager class NehushtanUDPSocketServer: """ Since 0.4.16 """ def should_terminate(self) -> bool: """ If return True, stop the listener. Override it to implement it with your own logic. """ return False @abstractmethod
[ 11748, 17802, 198, 6738, 450, 66, 1330, 12531, 24396, 198, 6738, 4704, 278, 1330, 14122, 198, 6738, 19720, 1330, 32233, 198, 198, 6738, 497, 71, 1530, 38006, 13, 44971, 13, 39105, 37508, 16818, 13511, 1330, 47068, 25060, 16818, 13511, 628, 198, 4871, 44470, 1530, 38006, 8322, 3705, 5459, 10697, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4619, 657, 13, 19, 13, 1433, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 815, 62, 23705, 378, 7, 944, 8, 4613, 20512, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1002, 1441, 6407, 11, 2245, 262, 24783, 13, 198, 220, 220, 220, 220, 220, 220, 220, 3827, 13154, 340, 284, 3494, 340, 351, 534, 898, 9156, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 220, 220, 220, 2488, 397, 8709, 24396, 198 ]
2.923567
157
# Specify and solve an LP using a Pandas DataFrame import pandas as pd if __name__ != "__main__": from . import LpModel from . import Result else: from LpModel import LpModel from Result import Result if __name__ == "__main__": df = OptModel.read_csv("lpmodel.txt") #print(df.fillna("")) lpmodel = OptModel(df) print(lpmodel) result = lpmodel.solve() #print(result.status) #print("x:\n" , result.x, sep='') print(result) print("slack:\n" , result.slack, sep='') df2 = OptModel.read_str( """ name x1 x2 sense rhs # objective: obj 3 5 max # subject to: #x1lower 1 0 = 2 plant1 1 0 <= 4 plant2 0 2 <= 12 plant3 3 2 <= 18 """) lpmodel2 = OptModel(df2) print(lpmodel) result2 = lpmodel2.solve() print(result2)
[ 2, 18291, 1958, 290, 8494, 281, 18470, 1262, 257, 16492, 292, 6060, 19778, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 361, 11593, 3672, 834, 14512, 366, 834, 12417, 834, 1298, 198, 220, 220, 422, 764, 1330, 406, 79, 17633, 198, 220, 220, 422, 764, 1330, 25414, 198, 17772, 25, 198, 220, 220, 422, 406, 79, 17633, 1330, 406, 79, 17633, 198, 220, 220, 422, 25414, 1330, 25414, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 47764, 796, 13123, 17633, 13, 961, 62, 40664, 7203, 75, 4426, 375, 417, 13, 14116, 4943, 198, 220, 220, 1303, 4798, 7, 7568, 13, 20797, 2616, 7203, 48774, 198, 220, 220, 300, 4426, 375, 417, 796, 13123, 17633, 7, 7568, 8, 198, 220, 220, 3601, 7, 75, 4426, 375, 417, 8, 198, 220, 220, 1255, 796, 300, 4426, 375, 417, 13, 82, 6442, 3419, 198, 220, 220, 1303, 4798, 7, 20274, 13, 13376, 8, 198, 220, 220, 1303, 4798, 7203, 87, 7479, 77, 1, 837, 1255, 13, 87, 11, 41767, 28, 7061, 8, 198, 220, 220, 3601, 7, 20274, 8, 198, 220, 220, 3601, 7203, 6649, 441, 7479, 77, 1, 837, 1255, 13, 6649, 441, 11, 41767, 28, 7061, 8, 628, 220, 220, 47764, 17, 796, 13123, 17633, 13, 961, 62, 2536, 7, 198, 37811, 198, 3672, 220, 220, 2124, 16, 2124, 17, 220, 2565, 9529, 82, 198, 2, 9432, 25, 198, 26801, 220, 220, 220, 220, 513, 220, 642, 220, 220, 220, 3509, 198, 2, 2426, 284, 25, 198, 2, 87, 16, 21037, 352, 220, 657, 220, 220, 220, 796, 362, 198, 15060, 16, 220, 352, 220, 657, 220, 220, 220, 19841, 220, 220, 604, 198, 15060, 17, 220, 657, 220, 362, 220, 220, 220, 19841, 220, 1105, 198, 15060, 18, 220, 513, 220, 362, 220, 220, 220, 19841, 220, 1248, 198, 15931, 4943, 198, 220, 220, 300, 4426, 375, 417, 17, 796, 13123, 17633, 7, 7568, 17, 8, 198, 220, 220, 3601, 7, 75, 4426, 375, 417, 8, 198, 220, 220, 1255, 17, 796, 300, 4426, 375, 417, 17, 13, 82, 6442, 3419, 198, 220, 220, 3601, 7, 20274, 17, 8, 198 ]
2.223464
358
import argparse import module1 as mod1 import pytest from hypothesis import given from hypothesis.strategies import integers @given(integers()) @given(integers(), integers())
[ 11748, 1822, 29572, 198, 11748, 8265, 16, 355, 953, 16, 198, 11748, 12972, 9288, 198, 6738, 14078, 1330, 1813, 198, 6738, 14078, 13, 2536, 2397, 444, 1330, 37014, 628, 628, 628, 628, 198, 31, 35569, 7, 18908, 364, 28955, 628, 198, 31, 35569, 7, 18908, 364, 22784, 37014, 28955, 628, 628 ]
3.686275
51
""" The script exports the answer table to a CSV file. Config ------ CFG_NAME : The config name can be Develpment, Staging, Testing Output ------ The total answer numbers after export, and the CSV file. (aswer_YYYY_MM_DD_HH_mm_ss.csv) """ CFG_NAME = "config.config.DevelopmentConfig" import sys import os sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) import csv from models.model import db from models.model import Answer from models.model_operations import location_operations from models.model_operations import answer_operations from models.model_operations import user_operations from config.config import Config from flask import Flask from controllers import root import datetime # init db app = Flask(__name__) app.register_blueprint(root.bp) app.config.from_object(CFG_NAME) db.init_app(app) app.app_context().push() cvs_file_name = "answer_" + datetime.datetime.today().strftime("%Y_%m_%d_%H_%M_%S") + ".csv" print("Exporting answers to " + cvs_file_name + "...") # Get all answers answer_query = Answer.query.order_by(Answer.user_id) answers = answer_query.all() with open(cvs_file_name, "w", newline="") as csvDataFile: # Write header csvWriter = csv.writer(csvDataFile, delimiter=",", quotechar='|', quoting=csv.QUOTE_MINIMAL) csvWriter.writerow(["Userid", "client_id", "location_id", "factory_id", "answer_id", "land_usage", "expansion", "gold_standard_status", "year_old", "year_new", "bbox_left_top_lat", "bbox_left_top_lng", "bbox_bottom_right_lat", "bbox_bottom_right_lng", "zoom_level", "timestamp"]) for answer in answers: # Write each record in answer table factory_id = location_operations.get_location_by_id(answer.location_id).factory_id client_id = user_operations.get_user_by_id(answer.user_id).client_id csvWriter.writerow([answer.user_id, client_id, answer.location_id, factory_id, answer.id, answer.land_usage,answer.expansion, answer.gold_standard_status, answer.year_old, answer.year_new, answer.bbox_left_top_lat, answer.bbox_left_top_lng, answer.bbox_bottom_right_lat, answer.bbox_bottom_right_lng, answer.zoom_level, answer.timestamp]) print("{} records reported.".format(len(answers))) db.session.remove() db.session.close()
[ 37811, 198, 464, 4226, 15319, 262, 3280, 3084, 284, 257, 44189, 2393, 13, 220, 198, 198, 16934, 198, 23031, 198, 22495, 38, 62, 20608, 1058, 383, 4566, 1438, 460, 307, 1024, 626, 79, 434, 11, 520, 3039, 11, 23983, 198, 198, 26410, 198, 23031, 198, 464, 2472, 3280, 3146, 706, 10784, 11, 290, 262, 44189, 2393, 13, 357, 292, 15448, 62, 26314, 26314, 62, 12038, 62, 16458, 62, 16768, 62, 3020, 62, 824, 13, 40664, 8, 198, 198, 37811, 198, 22495, 38, 62, 20608, 796, 366, 11250, 13, 11250, 13, 41206, 16934, 1, 198, 198, 11748, 25064, 198, 11748, 28686, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 828, 366, 492, 1, 22305, 198, 11748, 269, 21370, 198, 6738, 4981, 13, 19849, 1330, 20613, 198, 6738, 4981, 13, 19849, 1330, 23998, 198, 6738, 4981, 13, 19849, 62, 3575, 602, 1330, 4067, 62, 3575, 602, 198, 6738, 4981, 13, 19849, 62, 3575, 602, 1330, 3280, 62, 3575, 602, 198, 6738, 4981, 13, 19849, 62, 3575, 602, 1330, 2836, 62, 3575, 602, 198, 6738, 4566, 13, 11250, 1330, 17056, 198, 6738, 42903, 1330, 46947, 198, 6738, 20624, 1330, 6808, 198, 11748, 4818, 8079, 198, 198, 2, 2315, 20613, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 198, 1324, 13, 30238, 62, 17585, 4798, 7, 15763, 13, 46583, 8, 198, 1324, 13, 11250, 13, 6738, 62, 15252, 7, 22495, 38, 62, 20608, 8, 198, 9945, 13, 15003, 62, 1324, 7, 1324, 8, 198, 1324, 13, 1324, 62, 22866, 22446, 14689, 3419, 198, 198, 66, 14259, 62, 7753, 62, 3672, 796, 366, 41484, 62, 1, 1343, 4818, 8079, 13, 19608, 8079, 13, 40838, 22446, 2536, 31387, 7203, 4, 56, 62, 4, 76, 62, 4, 67, 62, 4, 39, 62, 4, 44, 62, 4, 50, 4943, 1343, 27071, 40664, 1, 198, 4798, 7203, 3109, 26527, 7429, 284, 366, 1343, 269, 14259, 62, 7753, 62, 3672, 1343, 366, 9313, 8, 198, 198, 2, 3497, 477, 7429, 198, 41484, 62, 22766, 796, 23998, 13, 22766, 13, 2875, 62, 1525, 7, 33706, 13, 7220, 62, 312, 8, 198, 504, 86, 364, 796, 3280, 62, 22766, 13, 439, 3419, 198, 198, 4480, 1280, 7, 66, 14259, 62, 7753, 62, 3672, 11, 366, 86, 1600, 649, 1370, 2625, 4943, 355, 269, 21370, 6601, 8979, 25, 198, 220, 220, 220, 1303, 19430, 13639, 198, 220, 220, 220, 269, 21370, 34379, 796, 269, 21370, 13, 16002, 7, 40664, 6601, 8979, 11, 46728, 2676, 28, 2430, 11, 9577, 10641, 11639, 91, 3256, 28411, 28, 40664, 13, 10917, 23051, 62, 23678, 3955, 1847, 8, 198, 220, 220, 220, 269, 21370, 34379, 13, 16002, 322, 7, 14692, 12982, 312, 1600, 366, 16366, 62, 312, 1600, 366, 24886, 62, 312, 1600, 366, 69, 9548, 62, 312, 1600, 366, 41484, 62, 312, 1600, 366, 1044, 62, 26060, 1600, 366, 11201, 5487, 1600, 366, 24267, 62, 20307, 62, 13376, 1600, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1941, 62, 727, 1600, 366, 1941, 62, 3605, 1600, 366, 65, 3524, 62, 9464, 62, 4852, 62, 15460, 1600, 366, 65, 3524, 62, 9464, 62, 4852, 62, 75, 782, 1600, 366, 65, 3524, 62, 22487, 62, 3506, 62, 15460, 1600, 366, 65, 3524, 62, 22487, 62, 3506, 62, 75, 782, 1600, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 89, 4207, 62, 5715, 1600, 366, 16514, 27823, 8973, 8, 198, 220, 220, 220, 329, 3280, 287, 7429, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 19430, 1123, 1700, 287, 3280, 3084, 198, 220, 220, 220, 220, 220, 220, 220, 8860, 62, 312, 796, 4067, 62, 3575, 602, 13, 1136, 62, 24886, 62, 1525, 62, 312, 7, 41484, 13, 24886, 62, 312, 737, 69, 9548, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 5456, 62, 312, 796, 2836, 62, 3575, 602, 13, 1136, 62, 7220, 62, 1525, 62, 312, 7, 41484, 13, 7220, 62, 312, 737, 16366, 62, 312, 628, 220, 220, 220, 220, 220, 220, 220, 269, 21370, 34379, 13, 16002, 322, 26933, 41484, 13, 7220, 62, 312, 11, 5456, 62, 312, 11, 3280, 13, 24886, 62, 312, 11, 8860, 62, 312, 11, 3280, 13, 312, 11, 3280, 13, 1044, 62, 26060, 11, 41484, 13, 11201, 5487, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3280, 13, 24267, 62, 20307, 62, 13376, 11, 3280, 13, 1941, 62, 727, 11, 3280, 13, 1941, 62, 3605, 11, 3280, 13, 65, 3524, 62, 9464, 62, 4852, 62, 15460, 11, 3280, 13, 65, 3524, 62, 9464, 62, 4852, 62, 75, 782, 11, 3280, 13, 65, 3524, 62, 22487, 62, 3506, 62, 15460, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3280, 13, 65, 3524, 62, 22487, 62, 3506, 62, 75, 782, 11, 3280, 13, 89, 4207, 62, 5715, 11, 3280, 13, 16514, 27823, 12962, 198, 198, 4798, 7203, 90, 92, 4406, 2098, 526, 13, 18982, 7, 11925, 7, 504, 86, 364, 22305, 198, 9945, 13, 29891, 13, 28956, 3419, 198, 9945, 13, 29891, 13, 19836, 3419, 198 ]
2.633371
881
import abc from blacksmith.typing import ServiceName, Url, Version class AsyncAbstractServiceDiscovery(abc.ABC): """Define the Service Discovery interface.""" @abc.abstractmethod async def get_endpoint(self, service: ServiceName, version: Version) -> Url: """Get the endpoint of a service."""
[ 11748, 450, 66, 198, 198, 6738, 2042, 21453, 13, 774, 13886, 1330, 4809, 5376, 11, 8799, 75, 11, 10628, 628, 198, 4871, 1081, 13361, 23839, 16177, 35, 40821, 7, 39305, 13, 24694, 2599, 198, 220, 220, 220, 37227, 7469, 500, 262, 4809, 23455, 7071, 526, 15931, 628, 220, 220, 220, 2488, 39305, 13, 397, 8709, 24396, 198, 220, 220, 220, 30351, 825, 651, 62, 437, 4122, 7, 944, 11, 2139, 25, 4809, 5376, 11, 2196, 25, 10628, 8, 4613, 8799, 75, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3855, 262, 36123, 286, 257, 2139, 526, 15931, 198 ]
3.17
100
#%% import numpy as np import pandas as pd import altair as alt import anthro.io # Load the produciton data. data = pd.read_csv('../processed/Geyer2017_plastic_production.csv') data['year'] = pd.to_datetime(data['year'], format='%Y') chart = alt.Chart(data).encode( x=alt.X(field='year', type='temporal', timeUnit='year', title='year'), y=alt.Y(field='resin_production_Mt', type='quantitative', title='plastic resin produced [Mt]'), tooltip=[alt.Tooltip(field='year', type='temporal', timeUnit='year', title='year'), alt.Tooltip(field='resin_production_Mt', type='quantitative', title='produced mass [Mt]')] ).properties( width="container", height=300 ) l = chart.mark_line(color='dodgerblue') p = chart.mark_point(color='dodgerblue', filled=True) layer = alt.layer(l, p) layer.save('platic_production.json') # %% # %%
[ 2, 16626, 198, 11748, 299, 32152, 355, 45941, 220, 198, 11748, 19798, 292, 355, 279, 67, 220, 198, 11748, 5988, 958, 355, 5988, 220, 198, 11748, 281, 26110, 13, 952, 198, 198, 2, 8778, 262, 990, 66, 37752, 1366, 13, 220, 198, 7890, 796, 279, 67, 13, 961, 62, 40664, 10786, 40720, 14681, 276, 14, 38, 2959, 263, 5539, 62, 489, 3477, 62, 25493, 13, 40664, 11537, 198, 7890, 17816, 1941, 20520, 796, 279, 67, 13, 1462, 62, 19608, 8079, 7, 7890, 17816, 1941, 6, 4357, 5794, 11639, 4, 56, 11537, 198, 198, 40926, 796, 5988, 13, 45488, 7, 7890, 737, 268, 8189, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 28, 2501, 13, 55, 7, 3245, 11639, 1941, 3256, 2099, 11639, 11498, 35738, 3256, 640, 26453, 11639, 1941, 3256, 3670, 11639, 1941, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 28, 2501, 13, 56, 7, 3245, 11639, 411, 259, 62, 25493, 62, 44, 83, 3256, 2099, 11639, 40972, 12464, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3670, 11639, 489, 3477, 36536, 4635, 685, 44, 83, 60, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49472, 41888, 2501, 13, 25391, 22504, 7, 3245, 11639, 1941, 3256, 2099, 11639, 11498, 35738, 3256, 640, 26453, 11639, 1941, 3256, 3670, 11639, 1941, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5988, 13, 25391, 22504, 7, 3245, 11639, 411, 259, 62, 25493, 62, 44, 83, 3256, 2099, 11639, 40972, 12464, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3670, 11639, 32783, 2347, 685, 44, 83, 60, 11537, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6739, 48310, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9647, 2625, 34924, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6001, 28, 6200, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 198, 75, 796, 8262, 13, 4102, 62, 1370, 7, 8043, 11639, 67, 375, 1362, 17585, 11537, 198, 79, 796, 8262, 13, 4102, 62, 4122, 7, 8043, 11639, 67, 375, 1362, 17585, 3256, 5901, 28, 17821, 8, 198, 198, 29289, 796, 5988, 13, 29289, 7, 75, 11, 279, 8, 198, 29289, 13, 21928, 10786, 489, 1512, 62, 25493, 13, 17752, 11537, 198, 2, 43313, 198, 198, 2, 43313, 198 ]
2.1766
453
#!/usr/bin/python # -*- coding: utf-8 -*- from fnmatch import fnmatch from typing import Union, List, Dict, Set from threading import Timer import circular
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 6738, 24714, 15699, 1330, 24714, 15699, 198, 6738, 19720, 1330, 4479, 11, 7343, 11, 360, 713, 11, 5345, 198, 6738, 4704, 278, 1330, 5045, 263, 198, 11748, 18620, 198 ]
3.058824
51
from __future__ import absolute_import from eduid_userdb.proofing import OidcProofingUserDB, LetterProofingUserDB, LookupMobileProofingUserDB from eduid_userdb.proofing import EmailProofingUserDB, PhoneProofingUserDB, OrcidProofingUserDB from eduid_userdb.proofing import EidasProofingUserDB from eduid_userdb.personal_data import PersonalDataUserDB from eduid_userdb.security import SecurityUserDB from celery.utils.log import get_task_logger logger = get_task_logger(__name__) def filter_nin(value): """ :param value: dict :return: list This function will compile a users verified NINs to a list of strings. """ result = [] for item in value: verified = item.get('verified', False) if verified and type(verified) == bool: # Be sure that it's not something else that evaluates as True in Python result.append(item['nin']) return result class OidcProofingAMPContext(object): """ Private data for this AM plugin. """ class LetterProofingAMPContext(object): """ Private data for this AM plugin. """ class LookupMobileProofingAMPContext(object): """ Private data for this AM plugin. """ class EmailProofingAMPContext(object): """ Private data for this AM plugin. """ class PhoneProofingAMPContext(object): """ Private data for this AM plugin. """ class PersonalDataAMPContext(object): """ Private data for this AM plugin. """ class SecurityAMPContext(object): """ Private data for this AM plugin. """ class OrcidAMPContext(object): """ Private data for this AM plugin. """ class EidasAMPContext(object): """ Private data for this AM plugin. """ def oidc_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: OidcProofingAMPContext """ return OidcProofingAMPContext(am_conf['MONGO_URI']) def letter_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: LetterProofingAMPContext """ return LetterProofingAMPContext(am_conf['MONGO_URI']) def lookup_mobile_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: LetterProofingAMPContext """ return LookupMobileProofingAMPContext(am_conf['MONGO_URI']) def email_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: EmailProofingAMPContext """ return EmailProofingAMPContext(am_conf['MONGO_URI']) def phone_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: PhoneProofingAMPContext """ return PhoneProofingAMPContext(am_conf['MONGO_URI']) def personal_data_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: PersonalDataAMPContext """ return PersonalDataAMPContext(am_conf['MONGO_URI']) def security_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: SecurityAMPContext """ return SecurityAMPContext(am_conf['MONGO_URI']) def orcid_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: OrcidAMPContext """ return OrcidAMPContext(am_conf['MONGO_URI']) def eidas_plugin_init(am_conf): """ Create a private context for this plugin. Whatever is returned by this function will get passed to attribute_fetcher() as the `context' argument. :am_conf: Attribute Manager configuration data. :type am_conf: dict :rtype: EidasAMPContext """ return EidasAMPContext(am_conf['MONGO_URI']) def attribute_fetcher(context, user_id): """ Read a user from the Dashboard private private_db and return an update dict to let the Attribute Manager update the use in the central eduid user database. :param context: Plugin context, see plugin_init above. :param user_id: Unique identifier :type context: DashboardAMPContext :type user_id: ObjectId :return: update dict :rtype: dict """ attributes = {} logger.debug('Trying to get user with _id: {} from {}.'.format(user_id, context.private_db)) user = context.private_db.get_user_by_id(user_id) logger.debug('User: {} found.'.format(user)) user_dict = user.to_dict(old_userdb_format=False) # white list of valid attributes for security reasons attributes_set = {} attributes_unset = {} for attr in context.WHITELIST_SET_ATTRS: value = value_filter(attr, user_dict.get(attr, None)) if value: attributes_set[attr] = value elif attr in context.WHITELIST_UNSET_ATTRS: attributes_unset[attr] = value logger.debug('Will set attributes: {}'.format(attributes_set)) logger.debug('Will remove attributes: {}'.format(attributes_unset)) if attributes_set: attributes['$set'] = attributes_set if attributes_unset: attributes['$unset'] = attributes_unset return attributes
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 6738, 1225, 27112, 62, 7220, 9945, 13, 13288, 278, 1330, 440, 312, 66, 44683, 278, 12982, 11012, 11, 18121, 44683, 278, 12982, 11012, 11, 6803, 929, 17066, 44683, 278, 12982, 11012, 198, 6738, 1225, 27112, 62, 7220, 9945, 13, 13288, 278, 1330, 9570, 44683, 278, 12982, 11012, 11, 14484, 44683, 278, 12982, 11012, 11, 19083, 312, 44683, 278, 12982, 11012, 198, 6738, 1225, 27112, 62, 7220, 9945, 13, 13288, 278, 1330, 412, 24496, 44683, 278, 12982, 11012, 198, 6738, 1225, 27112, 62, 7220, 9945, 13, 22682, 62, 7890, 1330, 15644, 6601, 12982, 11012, 198, 6738, 1225, 27112, 62, 7220, 9945, 13, 12961, 1330, 4765, 12982, 11012, 198, 6738, 18725, 1924, 13, 26791, 13, 6404, 1330, 651, 62, 35943, 62, 6404, 1362, 198, 198, 6404, 1362, 796, 651, 62, 35943, 62, 6404, 1362, 7, 834, 3672, 834, 8, 628, 198, 198, 4299, 8106, 62, 35073, 7, 8367, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 1988, 25, 8633, 198, 220, 220, 220, 1058, 7783, 25, 1351, 628, 220, 220, 220, 770, 2163, 481, 17632, 257, 2985, 19000, 399, 1268, 82, 284, 257, 1351, 286, 13042, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1255, 796, 17635, 198, 220, 220, 220, 329, 2378, 287, 1988, 25, 198, 220, 220, 220, 220, 220, 220, 220, 19000, 796, 2378, 13, 1136, 10786, 47684, 3256, 10352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 19000, 290, 2099, 7, 47684, 8, 6624, 20512, 25, 220, 1303, 1355, 1654, 326, 340, 338, 407, 1223, 2073, 326, 47850, 355, 6407, 287, 11361, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 13, 33295, 7, 9186, 17816, 35073, 6, 12962, 198, 220, 220, 220, 1441, 1255, 628, 198, 4871, 440, 312, 66, 44683, 278, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 18121, 44683, 278, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 6803, 929, 17066, 44683, 278, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 9570, 44683, 278, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 14484, 44683, 278, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 15644, 6601, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 4765, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 19083, 312, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 412, 24496, 23518, 21947, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15348, 1366, 329, 428, 3001, 13877, 13, 198, 220, 220, 220, 37227, 628, 198, 4299, 267, 312, 66, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 440, 312, 66, 44683, 278, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 440, 312, 66, 44683, 278, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 3850, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 18121, 44683, 278, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 18121, 44683, 278, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 35847, 62, 24896, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 18121, 44683, 278, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 6803, 929, 17066, 44683, 278, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 3053, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 9570, 44683, 278, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 9570, 44683, 278, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 3072, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 14484, 44683, 278, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 14484, 44683, 278, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 2614, 62, 7890, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 15644, 6601, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 15644, 6601, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 2324, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 4765, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 4765, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 26393, 312, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 19083, 312, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 19083, 312, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 304, 24496, 62, 33803, 62, 15003, 7, 321, 62, 10414, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 2839, 4732, 329, 428, 13877, 13, 628, 220, 220, 220, 15935, 318, 4504, 416, 428, 2163, 481, 651, 3804, 284, 11688, 62, 34045, 2044, 3419, 355, 198, 220, 220, 220, 262, 4600, 22866, 6, 4578, 13, 628, 220, 220, 220, 1058, 321, 62, 10414, 25, 3460, 4163, 9142, 8398, 1366, 13, 628, 220, 220, 220, 1058, 4906, 716, 62, 10414, 25, 8633, 628, 220, 220, 220, 1058, 81, 4906, 25, 412, 24496, 23518, 21947, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 412, 24496, 23518, 21947, 7, 321, 62, 10414, 17816, 27857, 11230, 62, 47269, 6, 12962, 628, 198, 4299, 11688, 62, 34045, 2044, 7, 22866, 11, 2836, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4149, 257, 2836, 422, 262, 16189, 3526, 2839, 2839, 62, 9945, 290, 1441, 281, 4296, 198, 220, 220, 220, 8633, 284, 1309, 262, 3460, 4163, 9142, 4296, 262, 779, 287, 262, 4318, 198, 220, 220, 220, 1225, 27112, 2836, 6831, 13, 628, 220, 220, 220, 1058, 17143, 4732, 25, 42636, 4732, 11, 766, 13877, 62, 15003, 2029, 13, 198, 220, 220, 220, 1058, 17143, 2836, 62, 312, 25, 30015, 27421, 628, 220, 220, 220, 1058, 4906, 4732, 25, 16189, 3526, 23518, 21947, 198, 220, 220, 220, 1058, 4906, 2836, 62, 312, 25, 9515, 7390, 628, 220, 220, 220, 1058, 7783, 25, 4296, 8633, 198, 220, 220, 220, 1058, 81, 4906, 25, 8633, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 12608, 796, 23884, 198, 220, 220, 220, 49706, 13, 24442, 10786, 51, 14992, 284, 651, 2836, 351, 4808, 312, 25, 23884, 422, 23884, 2637, 13, 18982, 7, 7220, 62, 312, 11, 4732, 13, 19734, 62, 9945, 4008, 198, 220, 220, 220, 2836, 796, 4732, 13, 19734, 62, 9945, 13, 1136, 62, 7220, 62, 1525, 62, 312, 7, 7220, 62, 312, 8, 198, 220, 220, 220, 49706, 13, 24442, 10786, 12982, 25, 23884, 1043, 2637, 13, 18982, 7, 7220, 4008, 628, 220, 220, 220, 2836, 62, 11600, 796, 2836, 13, 1462, 62, 11600, 7, 727, 62, 7220, 9945, 62, 18982, 28, 25101, 8, 628, 220, 220, 220, 1303, 2330, 1351, 286, 4938, 12608, 329, 2324, 3840, 198, 220, 220, 220, 12608, 62, 2617, 796, 23884, 198, 220, 220, 220, 12608, 62, 403, 2617, 796, 23884, 198, 220, 220, 220, 329, 708, 81, 287, 4732, 13, 12418, 2043, 3698, 8808, 62, 28480, 62, 1404, 5446, 50, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 1988, 62, 24455, 7, 35226, 11, 2836, 62, 11600, 13, 1136, 7, 35226, 11, 6045, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12608, 62, 2617, 58, 35226, 60, 796, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 708, 81, 287, 4732, 13, 12418, 2043, 3698, 8808, 62, 4944, 28480, 62, 1404, 5446, 50, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12608, 62, 403, 2617, 58, 35226, 60, 796, 1988, 628, 220, 220, 220, 49706, 13, 24442, 10786, 8743, 900, 12608, 25, 23884, 4458, 18982, 7, 1078, 7657, 62, 2617, 4008, 198, 220, 220, 220, 49706, 13, 24442, 10786, 8743, 4781, 12608, 25, 23884, 4458, 18982, 7, 1078, 7657, 62, 403, 2617, 4008, 628, 220, 220, 220, 611, 12608, 62, 2617, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12608, 17816, 3, 2617, 20520, 796, 12608, 62, 2617, 198, 220, 220, 220, 611, 12608, 62, 403, 2617, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12608, 17816, 3, 403, 2617, 20520, 796, 12608, 62, 403, 2617, 628, 220, 220, 220, 1441, 12608, 198 ]
2.9375
2,224
from kivy.uix.widget import Widget from kivy.clock import Clock from runnable import run_on_ui_thread from kivy.event import EventDispatcher from jnius import autoclass from webviewclient import WebviewClient #Load Native Modules WebView = autoclass('android.webkit.WebView') WebViewClient = autoclass('android.webkit.WebViewClient') activity = autoclass('org.kivy.android.PythonActivity').mActivity LayoutParams = autoclass('android.view.ViewGroup$LayoutParams') View = autoclass('android.view.View')
[ 6738, 479, 452, 88, 13, 84, 844, 13, 42655, 1330, 370, 17484, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 6738, 479, 452, 88, 13, 15750, 1330, 21328, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 6738, 1057, 77, 540, 1330, 1057, 62, 261, 62, 9019, 62, 16663, 198, 6738, 220, 479, 452, 88, 13, 15596, 1330, 8558, 7279, 8071, 2044, 220, 198, 6738, 474, 77, 3754, 1330, 1960, 420, 31172, 198, 6738, 3992, 1177, 16366, 1330, 5313, 1177, 11792, 628, 220, 198, 2, 8912, 12547, 3401, 5028, 220, 198, 13908, 7680, 796, 1960, 420, 31172, 10786, 19411, 13, 43648, 13, 13908, 7680, 11537, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 13908, 7680, 11792, 796, 1960, 420, 31172, 10786, 19411, 13, 43648, 13, 13908, 7680, 11792, 11537, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 21797, 796, 1960, 420, 31172, 10786, 2398, 13, 74, 452, 88, 13, 19411, 13, 37906, 16516, 27691, 76, 16516, 220, 220, 220, 198, 32517, 10044, 4105, 796, 1960, 420, 31172, 10786, 19411, 13, 1177, 13, 7680, 13247, 3, 32517, 10044, 4105, 11537, 198, 7680, 796, 1960, 420, 31172, 10786, 19411, 13, 1177, 13, 7680, 11537, 628, 628 ]
1.906494
385
from unittest.mock import patch, Mock from vaas.cluster.models import LogicalCluster, VarnishServer, VclTemplateBlock, VclTemplate, Dc from vaas.manager.tests.test_views import BaseApiViewPermissionsTest
[ 6738, 555, 715, 395, 13, 76, 735, 1330, 8529, 11, 44123, 198, 6738, 46935, 292, 13, 565, 5819, 13, 27530, 1330, 5972, 605, 2601, 5819, 11, 569, 1501, 680, 10697, 11, 569, 565, 30800, 12235, 11, 569, 565, 30800, 11, 360, 66, 198, 198, 6738, 46935, 292, 13, 37153, 13, 41989, 13, 9288, 62, 33571, 1330, 7308, 32, 14415, 7680, 5990, 8481, 14402, 628 ]
3.21875
64
""" android.py Android views. """ import logging from datetime import datetime from flask import Blueprint, abort, request, jsonify from werkzeug.exceptions import BadRequest from app.decorators import crossdomain, ignore_exception from app.models.adventure import Adventure from app.models.point import Point SFLOAT = ignore_exception(TypeError)(float) SINT = ignore_exception(TypeError)(int) SBOOL = ignore_exception(TypeError)(bool) MOD_ARDUINO = Blueprint('arduino', __name__, url_prefix='/api/v1/adventure/<slug>/arduino') @MOD_ARDUINO.route('/', methods=['POST']) @crossdomain('*') def add_point(slug): """Create a new point based on post parameters.""" try: timestamp = datetime.now() adventure = Adventure.objects(slug=slug).get() point = Point( title='Arduino tracker', desc=None, altitude=request.form.get('alt', None), speed=request.form.get('spd', None), direction=request.form.get('dir', None), latitude=SFLOAT(request.form.get('lat', None)), longitude=SFLOAT(request.form.get('lon', None)), resource=None, point_type='tracker', timestamp=timestamp, delorme_id=None, aio_id=None, hide=bool(request.form.get('hide', None) in ['true', 'True', 'TRUE', '1', 'y', 'yes']), thumb=None, photo=None, video=None, source='arduino', battery=SINT(request.form.get('bat', None)), user=None ) adventure.points.append(point) adventure.save() return jsonify({'status': "ok"}) except ValueError as err: logging.error(err) abort(400) except BadRequest as err: logging.error(err) abort(400) return jsonify({'status': "ok"})
[ 37811, 198, 19411, 13, 9078, 198, 198, 25934, 5009, 13, 198, 198, 37811, 198, 198, 11748, 18931, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 6738, 42903, 1330, 39932, 11, 15614, 11, 2581, 11, 33918, 1958, 198, 6738, 266, 9587, 2736, 1018, 13, 1069, 11755, 1330, 7772, 18453, 198, 6738, 598, 13, 12501, 273, 2024, 1330, 3272, 27830, 11, 8856, 62, 1069, 4516, 198, 6738, 598, 13, 27530, 13, 324, 5388, 1330, 9553, 198, 6738, 598, 13, 27530, 13, 4122, 1330, 6252, 198, 198, 50, 3697, 46, 1404, 796, 8856, 62, 1069, 4516, 7, 6030, 12331, 5769, 22468, 8, 198, 50, 12394, 796, 8856, 62, 1069, 4516, 7, 6030, 12331, 5769, 600, 8, 198, 50, 8202, 3535, 796, 8856, 62, 1069, 4516, 7, 6030, 12331, 5769, 30388, 8, 628, 198, 33365, 62, 9795, 52, 46016, 796, 39932, 10786, 446, 84, 2879, 3256, 11593, 3672, 834, 11, 19016, 62, 40290, 11639, 14, 15042, 14, 85, 16, 14, 324, 5388, 14, 27, 6649, 1018, 29, 14, 446, 84, 2879, 11537, 198, 198, 31, 33365, 62, 9795, 52, 46016, 13, 38629, 10786, 14, 3256, 5050, 28, 17816, 32782, 6, 12962, 198, 31, 19692, 27830, 10786, 9, 11537, 198, 4299, 751, 62, 4122, 7, 6649, 1018, 2599, 198, 220, 220, 220, 37227, 16447, 257, 649, 966, 1912, 319, 1281, 10007, 526, 15931, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 41033, 796, 4818, 8079, 13, 2197, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 8855, 796, 9553, 13, 48205, 7, 6649, 1018, 28, 6649, 1018, 737, 1136, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 966, 796, 6252, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3670, 11639, 3163, 24493, 30013, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1715, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20334, 28, 25927, 13, 687, 13, 1136, 10786, 2501, 3256, 6045, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2866, 28, 25927, 13, 687, 13, 1136, 10786, 2777, 67, 3256, 6045, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4571, 28, 25927, 13, 687, 13, 1136, 10786, 15908, 3256, 6045, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32477, 28, 50, 3697, 46, 1404, 7, 25927, 13, 687, 13, 1136, 10786, 15460, 3256, 6045, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 890, 3984, 28, 50, 3697, 46, 1404, 7, 25927, 13, 687, 13, 1136, 10786, 14995, 3256, 6045, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8271, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 966, 62, 4906, 11639, 2213, 10735, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41033, 28, 16514, 27823, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 579, 68, 62, 312, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 952, 62, 312, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7808, 28, 30388, 7, 25927, 13, 687, 13, 1136, 10786, 24717, 3256, 6045, 8, 287, 37250, 7942, 3256, 705, 17821, 3256, 705, 5446, 8924, 3256, 705, 16, 3256, 705, 88, 3256, 705, 8505, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15683, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4590, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2008, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2723, 11639, 446, 84, 2879, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6555, 28, 50, 12394, 7, 25927, 13, 687, 13, 1136, 10786, 8664, 3256, 6045, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 28, 14202, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8855, 13, 13033, 13, 33295, 7, 4122, 8, 198, 220, 220, 220, 220, 220, 220, 220, 8855, 13, 21928, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 33918, 1958, 15090, 6, 13376, 10354, 366, 482, 20662, 8, 198, 220, 220, 220, 2845, 11052, 12331, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 18224, 7, 8056, 8, 198, 220, 220, 220, 220, 220, 220, 220, 15614, 7, 7029, 8, 198, 220, 220, 220, 2845, 7772, 18453, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 18224, 7, 8056, 8, 198, 220, 220, 220, 220, 220, 220, 220, 15614, 7, 7029, 8, 198, 220, 220, 220, 1441, 33918, 1958, 15090, 6, 13376, 10354, 366, 482, 20662, 8, 198 ]
2.244873
829
import torch import torch.nn as nn import torch.nn.functional as F
[ 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376 ]
3.473684
19
#! /usr/bin/env python #----------------------------------------------------------------------- # COPYRIGHT_BEGIN # Copyright (C) 2016, FixFlyer, LLC. # All rights reserved. # COPYRIGHT_END #-----------------------------------------------------------------------
[ 2, 0, 1220, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 10097, 26866, 198, 2, 27975, 38162, 9947, 62, 33, 43312, 198, 2, 15069, 357, 34, 8, 1584, 11, 13268, 33771, 263, 11, 11419, 13, 198, 2, 1439, 2489, 10395, 13, 198, 2, 27975, 38162, 9947, 62, 10619, 198, 2, 10097, 26866, 198 ]
4.962264
53
from django import forms from .models import SignUp from base.views import GenericModalCreateView
[ 6738, 42625, 14208, 1330, 5107, 198, 198, 6738, 764, 27530, 1330, 5865, 4933, 198, 198, 6738, 2779, 13, 33571, 1330, 42044, 5841, 282, 16447, 7680, 628, 198 ]
3.777778
27
from copy import deepcopy import numpy as np import scipy.stats as ss from turbo import Turbo1 from turbo.utils import from_unit_cube, latin_hypercube, to_unit_cube from bayesmark.abstract_optimizer import AbstractOptimizer from bayesmark.experiment import experiment_main from bayesmark.space import JointSpace if __name__ == "__main__": experiment_main(TurboOptimizer)
[ 6738, 4866, 1330, 2769, 30073, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 629, 541, 88, 13, 34242, 355, 37786, 198, 6738, 29292, 1330, 22278, 16, 198, 6738, 29292, 13, 26791, 1330, 422, 62, 20850, 62, 40296, 11, 3042, 259, 62, 49229, 40296, 11, 284, 62, 20850, 62, 40296, 198, 198, 6738, 15489, 274, 4102, 13, 397, 8709, 62, 40085, 7509, 1330, 27741, 27871, 320, 7509, 198, 6738, 15489, 274, 4102, 13, 23100, 3681, 1330, 6306, 62, 12417, 198, 6738, 15489, 274, 4102, 13, 13200, 1330, 16798, 14106, 628, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 6306, 62, 12417, 7, 17483, 2127, 27871, 320, 7509, 8, 198 ]
3.237288
118
# Copyright (c) 2020 ISP RAS (http://www.ispras.ru) # Ivannikov Institute for System Programming of the Russian Academy of Sciences # # 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 os import setuptools VERSION = '3.0' setuptools.setup( name="klever", use_scm_version={'fallback_version': get_fallback_version()}, author="ISP RAS", author_email="[email protected]", url="http://forge.ispras.ru/projects/klever", license="LICENSE", description="Klever is a software verification framework", long_description=open("README.md", encoding="utf8").read(), python_requires=">=3.7", packages=["klever"], package_data={"klever": package_files("klever")}, entry_points={ "console_scripts": [ "klever-core=klever.core.__main__:main", "klever-client-controller=klever.scheduler.main:client_controller", "klever-debug-scheduler=klever.scheduler.main:debug_scheduler", "klever-native-scheduler=klever.scheduler.main:native_scheduler", "klever-scheduler-client=klever.scheduler.main:scheduler_client", "klever-verifiercloud-scheduler=klever.scheduler.main:verifiercloud_scheduler", "klever-node-check=klever.scheduler.controller.checks.node:main", "klever-resources-check=klever.scheduler.controller.checks.resources:main", "klever-schedulers-check=klever.scheduler.controller.checks.schedulers:main", "klever-build=klever.cli.klever_build:klever_build", "klever-download-job=klever.cli.cli:download_job", "klever-download-marks=klever.cli.cli:download_marks", "klever-download-progress=klever.cli.cli:download_progress", "klever-download-results=klever.cli.cli:download_results", "klever-start-preset-solution=klever.cli.cli:start_preset_solution", "klever-start-solution=klever.cli.cli:start_solution", "klever-update-preset-mark=klever.cli.cli:update_preset_mark", "klever-update-job=klever.cli.cli:upload_job", "klever-deploy-local=klever.deploys.local:main", "klever-deploy-openstack=klever.deploys.openstack:main", ] }, install_requires=[ "Django==3.0.6", "BenchExec==1.18", "clade==3.2.7", "psycopg2", "graphviz", "celery", "django_celery_results", "djangorestframework", "django-compressor", "django-mptt", "gunicorn", "pika", "python-slugify", "pytz", "jinja2", "ply", "pygments", "requests", "setuptools_scm", "sortedcontainers", "consulate" ], extras_require={ "strict": open("requirements.txt", encoding="utf8").read().splitlines(), "docs": ["sphinx", "sphinx_rtd_theme"], "openstack": [ "python-novaclient", "python-neutronclient", "python-glanceclient", "python-cinderclient", "keystoneauth1", "paramiko", "pycryptodome" ] }, classifiers=[ "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", ], )
[ 2, 15069, 357, 66, 8, 12131, 33086, 371, 1921, 357, 4023, 1378, 2503, 13, 271, 1050, 292, 13, 622, 8, 198, 2, 16975, 1236, 1134, 709, 5136, 329, 4482, 30297, 286, 262, 3394, 8581, 286, 13473, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 11748, 28686, 198, 11748, 900, 37623, 10141, 628, 198, 43717, 796, 705, 18, 13, 15, 6, 628, 628, 198, 2617, 37623, 10141, 13, 40406, 7, 198, 220, 220, 220, 1438, 2625, 74, 293, 332, 1600, 198, 220, 220, 220, 779, 62, 1416, 76, 62, 9641, 34758, 6, 7207, 1891, 62, 9641, 10354, 651, 62, 7207, 1891, 62, 9641, 3419, 5512, 198, 220, 220, 220, 1772, 2625, 1797, 47, 371, 1921, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 335, 85, 12, 16302, 31, 2815, 84, 742, 37761, 13, 2398, 1600, 198, 220, 220, 220, 19016, 2625, 4023, 1378, 30293, 13, 271, 1050, 292, 13, 622, 14, 42068, 14, 74, 293, 332, 1600, 198, 220, 220, 220, 5964, 2625, 43, 2149, 24290, 1600, 198, 220, 220, 220, 6764, 2625, 42, 293, 332, 318, 257, 3788, 19637, 9355, 1600, 198, 220, 220, 220, 890, 62, 11213, 28, 9654, 7203, 15675, 11682, 13, 9132, 1600, 21004, 2625, 40477, 23, 11074, 961, 22784, 198, 220, 220, 220, 21015, 62, 47911, 2625, 29, 28, 18, 13, 22, 1600, 198, 220, 220, 220, 10392, 28, 14692, 74, 293, 332, 33116, 198, 220, 220, 220, 5301, 62, 7890, 28, 4895, 74, 293, 332, 1298, 5301, 62, 16624, 7203, 74, 293, 332, 4943, 5512, 198, 220, 220, 220, 5726, 62, 13033, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 366, 41947, 62, 46521, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 7295, 28, 74, 293, 332, 13, 7295, 13, 834, 12417, 834, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 16366, 12, 36500, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 12417, 25, 16366, 62, 36500, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 24442, 12, 1416, 704, 18173, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 12417, 25, 24442, 62, 1416, 704, 18173, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 30191, 12, 1416, 704, 18173, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 12417, 25, 30191, 62, 1416, 704, 18173, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 1416, 704, 18173, 12, 16366, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 12417, 25, 1416, 704, 18173, 62, 16366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 332, 7483, 17721, 12, 1416, 704, 18173, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 12417, 25, 332, 7483, 17721, 62, 1416, 704, 18173, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 17440, 12, 9122, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 36500, 13, 42116, 13, 17440, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 37540, 12, 9122, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 36500, 13, 42116, 13, 37540, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 1416, 704, 377, 364, 12, 9122, 28, 74, 293, 332, 13, 1416, 704, 18173, 13, 36500, 13, 42116, 13, 1416, 704, 377, 364, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 11249, 28, 74, 293, 332, 13, 44506, 13, 74, 293, 332, 62, 11249, 25, 74, 293, 332, 62, 11249, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 15002, 12, 21858, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 15002, 62, 21858, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 15002, 12, 14306, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 15002, 62, 14306, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 15002, 12, 33723, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 15002, 62, 33723, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 15002, 12, 43420, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 15002, 62, 43420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 9688, 12, 18302, 316, 12, 82, 2122, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 9688, 62, 18302, 316, 62, 82, 2122, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 9688, 12, 82, 2122, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 9688, 62, 82, 2122, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 19119, 12, 18302, 316, 12, 4102, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 19119, 62, 18302, 316, 62, 4102, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 19119, 12, 21858, 28, 74, 293, 332, 13, 44506, 13, 44506, 25, 25850, 62, 21858, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 2934, 1420, 12, 12001, 28, 74, 293, 332, 13, 2934, 1420, 82, 13, 12001, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 74, 293, 332, 12, 2934, 1420, 12, 9654, 25558, 28, 74, 293, 332, 13, 2934, 1420, 82, 13, 9654, 25558, 25, 12417, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 2721, 62, 47911, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 35, 73, 14208, 855, 18, 13, 15, 13, 21, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 44199, 23002, 855, 16, 13, 1507, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 565, 671, 855, 18, 13, 17, 13, 22, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 13764, 22163, 70, 17, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34960, 85, 528, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7015, 88, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28241, 14208, 62, 7015, 88, 62, 43420, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28241, 648, 26522, 30604, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28241, 14208, 12, 5589, 44292, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 28241, 14208, 12, 76, 457, 83, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7145, 291, 1211, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 79, 9232, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 29412, 12, 6649, 1018, 1958, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9078, 22877, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18594, 6592, 17, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2145, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9078, 11726, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 8897, 3558, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 2617, 37623, 10141, 62, 1416, 76, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 82, 9741, 3642, 50221, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5936, 5039, 1, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 33849, 62, 46115, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 366, 301, 2012, 1298, 1280, 7203, 8897, 18883, 13, 14116, 1600, 21004, 2625, 40477, 23, 11074, 961, 22446, 35312, 6615, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 366, 31628, 1298, 14631, 82, 746, 28413, 1600, 366, 82, 746, 28413, 62, 81, 8671, 62, 43810, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 366, 9654, 25558, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29412, 12, 37302, 37779, 1153, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29412, 12, 710, 315, 1313, 16366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29412, 12, 4743, 590, 16366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29412, 12, 66, 5540, 16366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2539, 6440, 18439, 16, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 17143, 12125, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9078, 29609, 375, 462, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 46333, 7904, 16932, 7535, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 24843, 10442, 13789, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 28069, 10426, 7904, 7020, 1600, 198, 220, 220, 220, 16589, 198, 8, 198 ]
2.206098
1,771
import vanilla if __name__ == "__main__": from vanilla.test.testTools import executeVanillaTest executeVanillaTest(Test)
[ 11748, 16858, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 422, 16858, 13, 9288, 13, 9288, 33637, 1330, 12260, 25298, 5049, 14402, 198, 220, 220, 220, 12260, 25298, 5049, 14402, 7, 14402, 8, 198 ]
3.069767
43
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-30 20:21 from __future__ import unicode_literals from django.db import migrations
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 940, 13, 20, 319, 2177, 12, 3070, 12, 1270, 1160, 25, 2481, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 628 ]
2.690909
55
from collections import OrderedDict import json from graphenebase.types import ( Uint8, Int16, Uint16, Uint32, Uint64, Varint32, Int64, String, Bytes, Void, Array, PointInTime, Signature, Bool, Set, Fixed_array, Optional, Static_variant, Map, Id, VoteId ) from .objects import GrapheneObject, isArgsThisClass from .account import PublicKey from .operationids import operations from .objects import ( Operation, Asset, Memo, Price, PriceFeed, Permission, AccountOptions, AssetOptions, ObjectId ) default_prefix = "BTS" def getOperationNameForId(i): """ Convert an operation id into the corresponding string """ for key in operations: if int(operations[key]) is int(i): return key return "Unknown Operation ID %d" % i
[ 6738, 17268, 1330, 14230, 1068, 35, 713, 198, 11748, 33918, 198, 6738, 42463, 8692, 13, 19199, 1330, 357, 198, 220, 220, 220, 471, 600, 23, 11, 2558, 1433, 11, 471, 600, 1433, 11, 471, 600, 2624, 11, 471, 600, 2414, 11, 198, 220, 220, 220, 12372, 600, 2624, 11, 2558, 2414, 11, 10903, 11, 2750, 4879, 11, 18331, 11, 198, 220, 220, 220, 15690, 11, 6252, 818, 7575, 11, 34894, 11, 347, 970, 11, 198, 220, 220, 220, 5345, 11, 10832, 62, 18747, 11, 32233, 11, 36125, 62, 25641, 415, 11, 198, 220, 220, 220, 9347, 11, 5121, 11, 19175, 7390, 198, 8, 198, 6738, 764, 48205, 1330, 402, 2416, 29473, 10267, 11, 318, 42035, 1212, 9487, 198, 6738, 764, 23317, 1330, 5094, 9218, 198, 6738, 764, 27184, 2340, 1330, 4560, 198, 6738, 764, 48205, 1330, 357, 198, 220, 220, 220, 14680, 11, 198, 220, 220, 220, 31433, 11, 198, 220, 220, 220, 4942, 78, 11, 198, 220, 220, 220, 7886, 11, 198, 220, 220, 220, 7886, 18332, 11, 198, 220, 220, 220, 2448, 3411, 11, 198, 220, 220, 220, 10781, 29046, 11, 198, 220, 220, 220, 31433, 29046, 11, 198, 220, 220, 220, 9515, 7390, 198, 8, 198, 198, 12286, 62, 40290, 796, 366, 33, 4694, 1, 628, 198, 4299, 651, 32180, 5376, 1890, 7390, 7, 72, 2599, 198, 220, 220, 220, 37227, 38240, 281, 4905, 4686, 656, 262, 11188, 4731, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 329, 1994, 287, 4560, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 493, 7, 3575, 602, 58, 2539, 12962, 318, 493, 7, 72, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1994, 198, 220, 220, 220, 1441, 366, 20035, 14680, 4522, 4064, 67, 1, 4064, 1312, 628, 628, 628, 628, 628, 628, 628, 628, 198 ]
2.720395
304