content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
from pathlib import Path from setuptools import setup root = Path(__file__).parent.absolute() with open(str(root / 'README.rst')) as f: long_description = f.read() setup( name='obs-ws-rc', version='2.3.0', description=("asyncio-based Python 3.5+ client to obs-websocket " "plugin for OBS Studio"), long_description=long_description, url="https://github.com/KirillMysnik/obs-ws-rc", author="Kirill Mysnik", author_email = "[email protected]", license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Multimedia :: Video', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], keywords='obs obs-websocket', packages=['obswsrc', ], install_requires=['websockets', ], python_requires='>=3.5', package_data={ 'obswsrc': ["protocol.json", ], } )
[ 6738, 3108, 8019, 1330, 10644, 198, 6738, 900, 37623, 10141, 1330, 9058, 628, 198, 15763, 796, 10644, 7, 834, 7753, 834, 737, 8000, 13, 48546, 3419, 198, 198, 4480, 1280, 7, 2536, 7, 15763, 1220, 705, 15675, 11682, 13, 81, 301, 6, 4008, 355, 277, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 277, 13, 961, 3419, 628, 198, 40406, 7, 198, 220, 220, 220, 1438, 11639, 8158, 12, 18504, 12, 6015, 3256, 628, 220, 220, 220, 2196, 11639, 17, 13, 18, 13, 15, 3256, 628, 220, 220, 220, 6764, 28, 7203, 292, 13361, 952, 12, 3106, 11361, 513, 13, 20, 10, 5456, 284, 10201, 12, 732, 1443, 5459, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 33803, 329, 440, 4462, 11733, 12340, 628, 220, 220, 220, 890, 62, 11213, 28, 6511, 62, 11213, 11, 628, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 42, 343, 359, 44, 893, 17187, 14, 8158, 12, 18504, 12, 6015, 1600, 628, 220, 220, 220, 1772, 2625, 42, 343, 359, 337, 893, 17187, 1600, 628, 220, 220, 220, 1772, 62, 12888, 796, 366, 74, 343, 359, 31, 28744, 17187, 13, 785, 1600, 628, 220, 220, 220, 5964, 11639, 36393, 3256, 628, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 705, 41206, 12678, 7904, 642, 532, 19174, 14, 1273, 540, 3256, 628, 220, 220, 220, 220, 220, 220, 220, 705, 5317, 1631, 7591, 1240, 7904, 34152, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 33221, 7904, 10442, 7712, 7904, 46267, 7904, 11361, 3401, 5028, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 33221, 7904, 7854, 20626, 7904, 7623, 3256, 628, 220, 220, 220, 220, 220, 220, 220, 705, 34156, 7904, 7294, 40, 20010, 1079, 7904, 17168, 13789, 3256, 628, 220, 220, 220, 220, 220, 220, 220, 705, 18843, 803, 4482, 7904, 7294, 13362, 3256, 628, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 7904, 5514, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 20, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 21, 3256, 198, 220, 220, 220, 16589, 628, 220, 220, 220, 26286, 11639, 8158, 10201, 12, 732, 1443, 5459, 3256, 628, 220, 220, 220, 10392, 28, 17816, 672, 2032, 10677, 3256, 16589, 628, 220, 220, 220, 2721, 62, 47911, 28, 17816, 732, 1443, 11603, 3256, 16589, 628, 220, 220, 220, 21015, 62, 47911, 11639, 29, 28, 18, 13, 20, 3256, 628, 220, 220, 220, 5301, 62, 7890, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 705, 672, 2032, 10677, 10354, 14631, 11235, 4668, 13, 17752, 1600, 16589, 198, 220, 220, 220, 1782, 198, 8, 198 ]
2.553684
475
# Daenerys IDA/Ghidra interop framework # by Elias Bachaalany <[email protected]> # # Python utility functions import numbers
[ 2, 9637, 877, 893, 4522, 32, 14, 41126, 312, 430, 987, 404, 9355, 198, 2, 416, 41462, 25332, 64, 282, 1092, 1279, 417, 4448, 13, 19496, 64, 282, 1092, 31, 14816, 13, 785, 29, 198, 2, 198, 2, 11361, 10361, 5499, 198, 198, 11748, 3146 ]
3
45
''' Super Encrypt - Encryption Algorithm with 4 key encryption and decryption __author__ = "PyBash" __version__ = "v1.0.0" ''' import random from . import error BASE_LETTERS = 'abcdefghijklmnopqrstuvwxyz' BASE_SYMBOLS = ' 1234567890!@#$%^&*()-_=+[{]};:\'"<,>.?/`~|\\'
[ 7061, 6, 198, 12442, 14711, 6012, 532, 14711, 13168, 978, 42289, 351, 604, 1994, 15835, 290, 875, 13168, 198, 198, 834, 9800, 834, 796, 366, 20519, 33, 1077, 1, 198, 834, 9641, 834, 796, 366, 85, 16, 13, 15, 13, 15, 1, 198, 7061, 6, 198, 11748, 4738, 198, 6738, 764, 1330, 4049, 198, 198, 33, 11159, 62, 2538, 15751, 4877, 796, 705, 39305, 4299, 456, 2926, 41582, 10295, 404, 80, 81, 301, 14795, 86, 5431, 89, 6, 198, 33, 11159, 62, 23060, 10744, 3535, 50, 796, 705, 17031, 2231, 30924, 3829, 0, 31, 29953, 4, 61, 5, 9, 3419, 12, 62, 28, 10, 58, 90, 60, 19629, 7479, 29653, 27, 11, 28401, 30, 14, 63, 93, 91, 6852, 6, 198 ]
2.231405
121
from ._Test import *
[ 6738, 47540, 14402, 1330, 1635, 198 ]
3.5
6
# The code below almost works name = input("Enter your name") print("Hello", name) ##2 # This first line is provided for you hrs = input("Enter Hours:") # hrs = float(hrs) #use the one in line 9 instead ratePerHour = input("Enter rate per hour:") # rateperHour = float(ratePerHour) #use the one in line 9 instead # you will hit the following error, if you don't convert the inputs to float # TypeError: can't multiply sequence by non-int of type 'str' on line 5 grossPay = float(hrs) * float(ratePerHour) print("Pay:", grossPay) ##3.1 hrs = input("Enter Hours:") ratePerHour = input("Enter rate per hour:") try: fhrs = float(hrs) fratePerHour = float(ratePerHour) except: print("Error, please enter numeric input") quit() #print(fhrs, fratePerHour) #Pay = float(hrs) * float(ratePerHour) if fhrs > 40: PayNormal = fhrs * fratePerHour PayExtra = (fhrs - 40) * (fratePerHour * 0.5) Pay = PayExtra + PayNormal else: Pay = fhrs * fratePerHour print(Pay) ### 3.3 """3.3 Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: Score Grade >= 0.9 A >= 0.8 B >= 0.7 C >= 0.6 D < 0.6 F If the user enters a value out of range, print a suitable error message and exit. For the test, enter a score of 0.85.""" ### done score = input("Enter Score: ") score = float(score) #if score in range(0.0,0.9): #only ints if 0.0 <= score and score <= 1.0: if score >= 0.9 and score <= 1.0: print("A") elif score >= 0.8 and score < 0.9: print("B") elif score >= 0.7 and score < 0.8: print("C") elif score >= 0.6 and score < 0.7: print("D") elif score < 0.6: print("F") else: print("Error, please enter the score in the range of 0.0 and 1.0") quit() ### 4.6 """ 4.6 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours worked above 40 hours. Put the logic to do the computation of pay in a function called computepay() and use the function to do the computation. The function should return a value. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use input to read a string and float() to convert the string to a number. Do not worry about error checking the user input unless you want to - you can assume the user types numbers properly. Do not name your variable sum or use the sum() function.""" p = computepay(10,20) print("Pay", p) ### 5.1 # print Total, count of numbers, and their average entered by a user # also do verification num = 0 total = 0 while True : sval = input('Enter a number') if sval == 'done' : break try: fval = float(sval) except: print('Invalid input') continue num = num + 1 total = total + fval print(total, num, total/num) ### 5.2 """ 5.2 Write a program that repeatedly prompts a user for integer numbers until the user enters 'done'. Once 'done' is entered, print out the largest and smallest of the numbers. If the user enters anything other than a valid number catch it with a try/except and put out an appropriate message and ignore the number. Enter 7, 2, bob, 10, and 4 and match the output below. """ largest = None smallest = None count = 0 while True: num = input("Enter a number: ") if num == "done" : break else: try: ival = int(num) except: print('Invalid input') continue if count == 0 and smallest is None: smallest = ival if ival < smallest: smallest = ival elif largest is None or ival > largest: largest = ival count = count + 1 #print(num) print("Maximum is", largest) print("Minimum is", smallest)
[ 2, 383, 2438, 2174, 2048, 2499, 198, 198, 3672, 796, 5128, 7203, 17469, 534, 1438, 4943, 198, 4798, 7203, 15496, 1600, 1438, 8, 628, 198, 2235, 17, 198, 2, 770, 717, 1627, 318, 2810, 329, 345, 198, 198, 71, 3808, 796, 5128, 7203, 17469, 19347, 25, 4943, 198, 2, 36201, 796, 12178, 7, 71, 3808, 8, 1303, 1904, 262, 530, 287, 1627, 860, 2427, 198, 4873, 5990, 43223, 796, 5128, 7203, 17469, 2494, 583, 1711, 25, 4943, 198, 2, 2494, 525, 43223, 796, 12178, 7, 4873, 5990, 43223, 8, 1303, 1904, 262, 530, 287, 1627, 860, 2427, 198, 2, 345, 481, 2277, 262, 1708, 4049, 11, 611, 345, 836, 470, 10385, 262, 17311, 284, 12178, 198, 2, 5994, 12331, 25, 460, 470, 29162, 8379, 416, 1729, 12, 600, 286, 2099, 705, 2536, 6, 319, 1627, 642, 198, 47181, 19197, 796, 12178, 7, 71, 3808, 8, 1635, 12178, 7, 4873, 5990, 43223, 8, 198, 4798, 7203, 19197, 25, 1600, 10319, 19197, 8, 628, 198, 2235, 18, 13, 16, 198, 71, 3808, 796, 5128, 7203, 17469, 19347, 25, 4943, 198, 4873, 5990, 43223, 796, 5128, 7203, 17469, 2494, 583, 1711, 25, 4943, 198, 28311, 25, 198, 220, 220, 220, 277, 71, 3808, 796, 12178, 7, 71, 3808, 8, 198, 220, 220, 220, 1216, 378, 5990, 43223, 796, 12178, 7, 4873, 5990, 43223, 8, 198, 16341, 25, 198, 197, 4798, 7203, 12331, 11, 3387, 3802, 35575, 5128, 4943, 198, 197, 47391, 3419, 198, 2, 4798, 7, 69, 71, 3808, 11, 1216, 378, 5990, 43223, 8, 198, 2, 19197, 796, 12178, 7, 71, 3808, 8, 1635, 12178, 7, 4873, 5990, 43223, 8, 198, 361, 277, 71, 3808, 1875, 2319, 25, 198, 220, 220, 220, 7119, 26447, 796, 277, 71, 3808, 1635, 1216, 378, 5990, 43223, 198, 220, 220, 220, 7119, 27726, 796, 357, 69, 71, 3808, 532, 2319, 8, 1635, 357, 69, 4873, 5990, 43223, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 7119, 796, 7119, 27726, 1343, 7119, 26447, 198, 17772, 25, 198, 220, 220, 220, 7119, 796, 277, 71, 3808, 1635, 1216, 378, 5990, 43223, 198, 4798, 7, 19197, 8, 628, 198, 21017, 513, 13, 18, 198, 37811, 18, 13, 18, 19430, 257, 1430, 284, 6152, 329, 257, 4776, 1022, 657, 13, 15, 290, 352, 13, 15, 13, 1002, 262, 4776, 318, 503, 286, 2837, 11, 3601, 281, 4049, 13, 1002, 262, 4776, 318, 1022, 657, 13, 15, 290, 352, 13, 15, 11, 3601, 257, 9559, 1262, 262, 1708, 3084, 25, 198, 26595, 22653, 198, 29, 28, 657, 13, 24, 317, 198, 29, 28, 657, 13, 23, 347, 198, 29, 28, 657, 13, 22, 327, 198, 29, 28, 657, 13, 21, 360, 198, 27, 657, 13, 21, 376, 198, 1532, 262, 2836, 14170, 257, 1988, 503, 286, 2837, 11, 3601, 257, 11080, 4049, 3275, 290, 8420, 13, 1114, 262, 1332, 11, 3802, 257, 4776, 286, 657, 13, 5332, 526, 15931, 198, 198, 21017, 1760, 198, 26675, 796, 5128, 7203, 17469, 15178, 25, 366, 8, 198, 26675, 796, 12178, 7, 26675, 8, 198, 2, 361, 4776, 287, 2837, 7, 15, 13, 15, 11, 15, 13, 24, 2599, 1303, 8807, 493, 82, 198, 361, 657, 13, 15, 19841, 4776, 290, 4776, 19841, 352, 13, 15, 25, 198, 220, 220, 220, 611, 4776, 18189, 657, 13, 24, 290, 4776, 19841, 352, 13, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 32, 4943, 198, 220, 220, 220, 1288, 361, 4776, 18189, 657, 13, 23, 290, 4776, 1279, 657, 13, 24, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 33, 4943, 198, 220, 220, 220, 1288, 361, 4776, 18189, 657, 13, 22, 290, 4776, 1279, 657, 13, 23, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 34, 4943, 198, 220, 220, 220, 1288, 361, 4776, 18189, 657, 13, 21, 290, 4776, 1279, 657, 13, 22, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 35, 4943, 198, 220, 220, 220, 1288, 361, 4776, 1279, 657, 13, 21, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 37, 4943, 198, 17772, 25, 198, 220, 220, 220, 3601, 7203, 12331, 11, 3387, 3802, 262, 4776, 287, 262, 2837, 286, 657, 13, 15, 290, 352, 13, 15, 4943, 198, 220, 220, 220, 11238, 3419, 198, 198, 21017, 604, 13, 21, 198, 37811, 198, 19, 13, 21, 19430, 257, 1430, 284, 6152, 262, 2836, 329, 2250, 290, 2494, 583, 1711, 1262, 5128, 284, 24061, 10319, 1414, 13, 7119, 815, 307, 262, 3487, 2494, 329, 220, 198, 24425, 510, 284, 2319, 290, 640, 12, 392, 12, 64, 12, 13959, 329, 262, 30160, 2494, 329, 477, 2250, 3111, 2029, 2319, 2250, 13, 5930, 262, 9156, 284, 466, 262, 29964, 286, 1414, 287, 257, 198, 8818, 1444, 2653, 538, 323, 3419, 290, 779, 262, 2163, 284, 466, 262, 29964, 13, 383, 2163, 815, 1441, 257, 1988, 13, 5765, 4153, 2250, 290, 257, 2494, 286, 220, 198, 940, 13, 1120, 583, 1711, 284, 1332, 262, 1430, 357, 1169, 1414, 815, 307, 604, 4089, 13, 2425, 737, 921, 815, 779, 5128, 284, 1100, 257, 4731, 290, 12178, 3419, 284, 10385, 262, 4731, 284, 257, 198, 17618, 13, 2141, 407, 5490, 546, 4049, 10627, 262, 2836, 5128, 4556, 345, 765, 284, 532, 345, 460, 7048, 262, 2836, 3858, 3146, 6105, 13, 2141, 407, 1438, 220, 198, 14108, 7885, 2160, 393, 779, 262, 2160, 3419, 2163, 526, 15931, 628, 198, 79, 796, 2653, 538, 323, 7, 940, 11, 1238, 8, 198, 4798, 7203, 19197, 1600, 279, 8, 198, 198, 21017, 642, 13, 16, 198, 2, 3601, 7472, 11, 954, 286, 3146, 11, 290, 511, 2811, 5982, 416, 257, 2836, 198, 2, 635, 466, 19637, 198, 22510, 796, 657, 198, 23350, 796, 657, 198, 4514, 6407, 1058, 198, 220, 264, 2100, 796, 5128, 10786, 17469, 257, 1271, 11537, 198, 220, 611, 264, 2100, 6624, 705, 28060, 6, 1058, 198, 220, 220, 2270, 198, 220, 1949, 25, 198, 220, 220, 220, 277, 2100, 796, 12178, 7, 82, 2100, 8, 198, 220, 2845, 25, 198, 220, 220, 220, 3601, 10786, 44651, 5128, 11537, 198, 220, 220, 220, 2555, 198, 220, 997, 796, 997, 1343, 352, 198, 220, 2472, 796, 2472, 1343, 277, 2100, 198, 220, 220, 198, 4798, 7, 23350, 11, 997, 11, 2472, 14, 22510, 8, 198, 198, 21017, 642, 13, 17, 198, 37811, 198, 20, 13, 17, 19430, 257, 1430, 326, 7830, 36454, 257, 2836, 329, 18253, 3146, 1566, 262, 2836, 14170, 705, 28060, 4458, 4874, 705, 28060, 6, 318, 5982, 11, 3601, 503, 262, 198, 28209, 290, 18197, 286, 262, 3146, 13, 1002, 262, 2836, 14170, 1997, 584, 621, 257, 4938, 1271, 4929, 340, 351, 257, 1949, 14, 16341, 290, 1234, 503, 281, 220, 198, 13335, 3275, 290, 8856, 262, 1271, 13, 6062, 767, 11, 362, 11, 29202, 11, 838, 11, 290, 604, 290, 2872, 262, 5072, 2174, 13, 198, 37811, 198, 198, 28209, 796, 6045, 198, 17470, 395, 796, 6045, 198, 9127, 796, 657, 198, 4514, 6407, 25, 198, 220, 220, 220, 997, 796, 5128, 7203, 17469, 257, 1271, 25, 366, 8, 198, 220, 220, 220, 611, 997, 6624, 366, 28060, 1, 1058, 2270, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2473, 796, 493, 7, 22510, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 197, 197, 4798, 10786, 44651, 5128, 11537, 198, 220, 220, 220, 220, 197, 197, 43043, 198, 220, 220, 220, 220, 220, 220, 220, 611, 954, 6624, 657, 290, 18197, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18197, 796, 220, 2473, 198, 220, 220, 220, 220, 220, 220, 220, 611, 220, 2473, 1279, 18197, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18197, 796, 220, 2473, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 4387, 318, 6045, 393, 220, 2473, 1875, 4387, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4387, 796, 220, 2473, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 954, 796, 954, 1343, 352, 198, 220, 220, 220, 1303, 4798, 7, 22510, 8, 198, 198, 4798, 7203, 40541, 318, 1600, 4387, 8, 198, 4798, 7203, 44046, 318, 1600, 18197, 8, 628 ]
2.809422
1,401
#!/usr/local/bin/python import os import time import collections import subprocess o("minikube delete") o("minikube start --memory 10000 --cpus 4 --disk-size=60g") #o("kubectl delete namespace spinnaker") #time.sleep(30) o("kubectl create namespace spinnaker") c("applications/kubedash/bundle.yaml") c("applications/tectonic/pull.yml") c("applications/tectonic/tectonic-console.yaml") c("applications/tectonic/tectonic.json") components = ('jenkins', 'registry', 'registryui', 'debweb') for component in components: c("applications/" + component + "/deployment.yml") c("applications/" + component + "/service.json") c("applications/kubeproxy/pod.yml") components = ('cassandra', 'redis') for component in components: c("applications/spinnaker/" + component + "/deployment.yml") c("applications/spinnaker/" + component + "/service.json") poll() os.system("rm -rf minikube") os.system("mkdir minikube") os.system("cp ~/.minikube/apiserver.crt minikube/apiserver.crt") os.system("cp ~/.minikube/apiserver.key minikube/apiserver.key") os.system("cp ~/.minikube/ca.crt minikube/ca.crt") ip = os.popen('minikube ip').read().strip() kubeConfig = """ apiVersion: v1 clusters: - cluster: certificate-authority: /root/.kube/ca.crt server: https://""" + ip + """:8443 name: minikube contexts: - context: cluster: minikube user: minikube name: minikube current-context: minikube kind: Config preferences: {} users: - name: minikube user: client-certificate: /root/.kube/apiserver.crt client-key: /root/.kube/apiserver.key """ with open("minikube/config", "w") as text_file: text_file.write(kubeConfig) time.sleep(1) os.system("kubectl create secret generic spinnaker-config --from-file=./config/echo.yml --from-file=./config/igor.yml --from-file=./config/gate.yml --from-file=./config/orca.yml --from-file=./config/rosco.yml --from-file=./config/front50.yml --from-file=./config/clouddriver.yml --namespace spinnaker") os.system("kubectl create secret generic minikube-config --from-file=./minikube/config --from-file=./minikube/ca.crt --from-file=./minikube/apiserver.crt --from-file=./minikube/apiserver.key --namespace spinnaker") os.system("rm -rf minikube") #print "seeding spinnaking images" o("./podexec jenkins /usr/local/jenkins/jobs/seed.sh") components = ('front50', 'clouddriver', 'rosco', 'orca', 'igor', 'gate', 'deck') for component in components: c("applications/spinnaker/" + component + "/controller.yml") c("applications/spinnaker/" + component + "/service.json") poll() time.sleep(2) services = ''' { "services" : [ { "title": "Spinnaker Dashboard", "description": "Spinnaker UI", "link": "''' + cmdOut("minikube service spinnaker-deck --namespace spinnaker --url") + '''" }, { "title": "Kubernetes Dashboard", "description": "Management UI", "link": "''' + cmdOut("minikube service kubernetes-dashboard --namespace kube-system --url") + '''" }, { "title": "Tectonic Console", "description": "Alternative management UI", "link": "''' + cmdOut("minikube service tectonic --namespace spinnaker --url") + '''" }, { "title": "Jenkins", "description": "Automation Server", "link": "''' + cmdOut("minikube service spinnaker-jenkins --namespace spinnaker --url") + '''" }, { "title": "Cluster Performace", "description": "Performance analytics UI", "link": "''' + cmdOut("minikube service kubedash --namespace spinnaker --url") + '''" }, { "title": "Container Image Registry", "description": "Local image repository", "link": "''' + cmdOut("minikube service spinnaker-registryui --namespace spinnaker --url") + '''" }, { "title": "Apt Repository", "description": "Local apt repository", "link": "''' + cmdOut("minikube service spinnaker-debweb --namespace spinnaker --url") + '''" } ] } ''' os.system("rm -f applications/start/services.json") with open("applications/start/services.json", "w") as text_file: text_file.write(services) os.system("kubectl create secret generic start-config --from-file=./applications/start/index.html --from-file=./applications/start/services.json --namespace spinnaker") #cqlsh -e "COPY front50.pipeline TO '/front50.pipeline.csv' WITH HEADER = 'true'" c("applications/start/deployment.yml") c("applications/start/service.json") poll() #add example pipeline o("./podexec spinnaker apt-get update") o("./podexec spinnaker apt-get install -y git") o("./podexec spinnaker git clone [email protected]:moondev/SpiniKube.git /SpiniKube") o("./podexec spinnaker cqlsh -e 'COPY front50.pipeline FROM \'/SpiniKube/pipelines/pipelines.csv\' WITH HEADER = \'true\';'") o("minikube service spinnaker-start -n spinnaker")
[ 2, 48443, 14629, 14, 12001, 14, 8800, 14, 29412, 198, 198, 11748, 28686, 198, 11748, 640, 198, 11748, 17268, 198, 11748, 850, 14681, 198, 198, 78, 7203, 1084, 1134, 3266, 12233, 4943, 198, 198, 78, 7203, 1084, 1134, 3266, 923, 1377, 31673, 33028, 1377, 13155, 385, 604, 1377, 39531, 12, 7857, 28, 1899, 70, 4943, 198, 198, 2, 78, 7203, 74, 549, 478, 75, 12233, 25745, 599, 3732, 3110, 4943, 198, 2, 2435, 13, 42832, 7, 1270, 8, 198, 78, 7203, 74, 549, 478, 75, 2251, 25745, 599, 3732, 3110, 4943, 198, 198, 66, 7203, 1324, 677, 602, 14, 74, 549, 276, 1077, 14, 65, 31249, 13, 88, 43695, 4943, 198, 198, 66, 7203, 1324, 677, 602, 14, 83, 478, 9229, 14, 31216, 13, 88, 4029, 4943, 198, 66, 7203, 1324, 677, 602, 14, 83, 478, 9229, 14, 83, 478, 9229, 12, 41947, 13, 88, 43695, 4943, 198, 66, 7203, 1324, 677, 602, 14, 83, 478, 9229, 14, 83, 478, 9229, 13, 17752, 4943, 198, 198, 5589, 3906, 796, 19203, 48796, 5331, 3256, 705, 2301, 4592, 3256, 705, 2301, 4592, 9019, 3256, 705, 11275, 12384, 11537, 198, 1640, 7515, 287, 6805, 25, 198, 220, 269, 7203, 1324, 677, 602, 30487, 1343, 7515, 1343, 12813, 2934, 1420, 434, 13, 88, 4029, 4943, 198, 220, 269, 7203, 1324, 677, 602, 30487, 1343, 7515, 1343, 12813, 15271, 13, 17752, 4943, 198, 198, 66, 7203, 1324, 677, 602, 14, 74, 549, 538, 42059, 14, 33320, 13, 88, 4029, 4943, 198, 198, 5589, 3906, 796, 19203, 66, 562, 15918, 3256, 705, 445, 271, 11537, 198, 1640, 7515, 287, 6805, 25, 198, 220, 269, 7203, 1324, 677, 602, 14, 2777, 3732, 3110, 30487, 1343, 7515, 1343, 12813, 2934, 1420, 434, 13, 88, 4029, 4943, 198, 220, 269, 7203, 1324, 677, 602, 14, 2777, 3732, 3110, 30487, 1343, 7515, 1343, 12813, 15271, 13, 17752, 4943, 198, 198, 30393, 3419, 198, 198, 418, 13, 10057, 7203, 26224, 532, 41871, 949, 1134, 3266, 4943, 198, 418, 13, 10057, 7203, 28015, 15908, 949, 1134, 3266, 4943, 198, 418, 13, 10057, 7203, 13155, 39763, 1084, 1134, 3266, 14, 499, 5847, 332, 13, 6098, 83, 949, 1134, 3266, 14, 499, 5847, 332, 13, 6098, 83, 4943, 198, 418, 13, 10057, 7203, 13155, 39763, 1084, 1134, 3266, 14, 499, 5847, 332, 13, 2539, 949, 1134, 3266, 14, 499, 5847, 332, 13, 2539, 4943, 198, 418, 13, 10057, 7203, 13155, 39763, 1084, 1134, 3266, 14, 6888, 13, 6098, 83, 949, 1134, 3266, 14, 6888, 13, 6098, 83, 4943, 198, 198, 541, 796, 28686, 13, 79, 9654, 10786, 1084, 1134, 3266, 20966, 27691, 961, 22446, 36311, 3419, 198, 198, 74, 3266, 16934, 796, 37227, 198, 15042, 14815, 25, 410, 16, 198, 565, 13654, 25, 198, 12, 13946, 25, 198, 220, 220, 220, 10703, 12, 9800, 414, 25, 1220, 15763, 11757, 74, 3266, 14, 6888, 13, 6098, 83, 198, 220, 220, 220, 4382, 25, 3740, 1378, 37811, 1343, 20966, 1343, 13538, 1298, 23, 34938, 198, 220, 1438, 25, 949, 1134, 3266, 198, 22866, 82, 25, 198, 12, 4732, 25, 198, 220, 220, 220, 13946, 25, 949, 1134, 3266, 198, 220, 220, 220, 2836, 25, 949, 1134, 3266, 198, 220, 1438, 25, 949, 1134, 3266, 198, 14421, 12, 22866, 25, 949, 1134, 3266, 198, 11031, 25, 17056, 198, 3866, 69, 4972, 25, 23884, 198, 18417, 25, 198, 12, 1438, 25, 949, 1134, 3266, 198, 220, 2836, 25, 198, 220, 220, 220, 5456, 12, 22583, 22460, 25, 1220, 15763, 11757, 74, 3266, 14, 499, 5847, 332, 13, 6098, 83, 198, 220, 220, 220, 5456, 12, 2539, 25, 1220, 15763, 11757, 74, 3266, 14, 499, 5847, 332, 13, 2539, 198, 37811, 198, 198, 4480, 1280, 7203, 1084, 1134, 3266, 14, 11250, 1600, 366, 86, 4943, 355, 2420, 62, 7753, 25, 198, 220, 2420, 62, 7753, 13, 13564, 7, 74, 3266, 16934, 8, 198, 198, 2435, 13, 42832, 7, 16, 8, 198, 198, 418, 13, 10057, 7203, 74, 549, 478, 75, 2251, 3200, 14276, 599, 3732, 3110, 12, 11250, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 30328, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 36274, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 10494, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 273, 6888, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 4951, 1073, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 8534, 1120, 13, 88, 4029, 1377, 6738, 12, 7753, 28, 19571, 11250, 14, 565, 280, 1860, 38291, 13, 88, 4029, 1377, 14933, 10223, 599, 3732, 3110, 4943, 198, 198, 418, 13, 10057, 7203, 74, 549, 478, 75, 2251, 3200, 14276, 949, 1134, 3266, 12, 11250, 1377, 6738, 12, 7753, 28, 19571, 1084, 1134, 3266, 14, 11250, 1377, 6738, 12, 7753, 28, 19571, 1084, 1134, 3266, 14, 6888, 13, 6098, 83, 1377, 6738, 12, 7753, 28, 19571, 1084, 1134, 3266, 14, 499, 5847, 332, 13, 6098, 83, 1377, 6738, 12, 7753, 28, 19571, 1084, 1134, 3266, 14, 499, 5847, 332, 13, 2539, 1377, 14933, 10223, 599, 3732, 3110, 4943, 198, 198, 418, 13, 10057, 7203, 26224, 532, 41871, 949, 1134, 3266, 4943, 198, 198, 2, 4798, 366, 325, 8228, 599, 3732, 868, 4263, 1, 198, 78, 7, 1911, 14, 33320, 18558, 474, 268, 5331, 1220, 14629, 14, 12001, 14, 48796, 5331, 14, 43863, 14, 28826, 13, 1477, 4943, 198, 198, 5589, 3906, 796, 19203, 8534, 1120, 3256, 705, 565, 280, 1860, 38291, 3256, 705, 4951, 1073, 3256, 705, 273, 6888, 3256, 705, 36274, 3256, 705, 10494, 3256, 705, 35875, 11537, 198, 1640, 7515, 287, 6805, 25, 198, 220, 269, 7203, 1324, 677, 602, 14, 2777, 3732, 3110, 30487, 1343, 7515, 1343, 12813, 36500, 13, 88, 4029, 4943, 198, 220, 269, 7203, 1324, 677, 602, 14, 2777, 3732, 3110, 30487, 1343, 7515, 1343, 12813, 15271, 13, 17752, 4943, 198, 198, 30393, 3419, 198, 198, 2435, 13, 42832, 7, 17, 8, 198, 198, 30416, 796, 705, 7061, 198, 90, 198, 1, 30416, 1, 1058, 685, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 4561, 3732, 3110, 16189, 3526, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 4561, 3732, 3110, 12454, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 599, 3732, 3110, 12, 35875, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 628, 628, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 42, 18478, 3262, 274, 16189, 3526, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 48032, 12454, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 479, 18478, 3262, 274, 12, 42460, 3526, 1377, 14933, 10223, 479, 3266, 12, 10057, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 628, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 51, 478, 9229, 24371, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 49788, 4542, 12454, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 256, 478, 9229, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 628, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 44875, 5331, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 38062, 341, 9652, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 599, 3732, 3110, 12, 48796, 5331, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 628, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 2601, 5819, 35006, 558, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 32273, 23696, 12454, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 479, 549, 276, 1077, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 29869, 7412, 33432, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 14565, 2939, 16099, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 599, 3732, 3110, 12, 2301, 4592, 9019, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 366, 7839, 1298, 366, 32, 457, 1432, 13264, 1600, 198, 220, 220, 220, 366, 11213, 1298, 366, 14565, 15409, 16099, 1600, 198, 220, 220, 220, 366, 8726, 1298, 366, 7061, 6, 1343, 23991, 7975, 7203, 1084, 1134, 3266, 2139, 599, 3732, 3110, 12, 11275, 12384, 1377, 14933, 10223, 599, 3732, 3110, 1377, 6371, 4943, 1343, 705, 7061, 1, 198, 220, 220, 220, 1782, 198, 198, 60, 198, 92, 198, 7061, 6, 198, 198, 418, 13, 10057, 7203, 26224, 532, 69, 5479, 14, 9688, 14, 30416, 13, 17752, 4943, 198, 198, 4480, 1280, 7203, 1324, 677, 602, 14, 9688, 14, 30416, 13, 17752, 1600, 366, 86, 4943, 355, 2420, 62, 7753, 25, 198, 220, 2420, 62, 7753, 13, 13564, 7, 30416, 8, 198, 198, 418, 13, 10057, 7203, 74, 549, 478, 75, 2251, 3200, 14276, 923, 12, 11250, 1377, 6738, 12, 7753, 28, 19571, 1324, 677, 602, 14, 9688, 14, 9630, 13, 6494, 1377, 6738, 12, 7753, 28, 19571, 1324, 677, 602, 14, 9688, 14, 30416, 13, 17752, 1377, 14933, 10223, 599, 3732, 3110, 4943, 198, 198, 2, 66, 13976, 1477, 532, 68, 366, 34, 3185, 56, 2166, 1120, 13, 79, 541, 4470, 5390, 31051, 8534, 1120, 13, 79, 541, 4470, 13, 40664, 6, 13315, 39837, 1137, 796, 705, 7942, 29653, 198, 198, 66, 7203, 1324, 677, 602, 14, 9688, 14, 2934, 1420, 434, 13, 88, 4029, 4943, 198, 66, 7203, 1324, 677, 602, 14, 9688, 14, 15271, 13, 17752, 4943, 198, 198, 30393, 3419, 198, 198, 2, 2860, 1672, 11523, 198, 78, 7, 1911, 14, 33320, 18558, 599, 3732, 3110, 15409, 12, 1136, 4296, 4943, 198, 78, 7, 1911, 14, 33320, 18558, 599, 3732, 3110, 15409, 12, 1136, 2721, 532, 88, 17606, 4943, 198, 78, 7, 1911, 14, 33320, 18558, 599, 3732, 3110, 17606, 17271, 17606, 31, 12567, 13, 785, 25, 5908, 623, 1990, 14, 4561, 5362, 42, 3266, 13, 18300, 1220, 4561, 5362, 42, 3266, 4943, 198, 78, 7, 1911, 14, 33320, 18558, 599, 3732, 3110, 269, 13976, 1477, 532, 68, 705, 34, 3185, 56, 2166, 1120, 13, 79, 541, 4470, 16034, 3467, 26488, 4561, 5362, 42, 3266, 14, 79, 541, 20655, 14, 79, 541, 20655, 13, 40664, 43054, 13315, 39837, 1137, 796, 34373, 7942, 59, 17020, 6, 4943, 198, 198, 78, 7203, 1084, 1134, 3266, 2139, 599, 3732, 3110, 12, 9688, 532, 77, 599, 3732, 3110, 4943 ]
2.603486
1,836
from typing import List from collections import deque class Line: """ Properties: start_x {0} start_y {1} end_x {2} end_y {3} dots = [dot1, ..., dotN] {4} coords = (start_x, start_y, end_x, end_y) """ @property # @property # def x1(self): # return self.start_x # @property # def y1(self): # return self.start_y # @property # def x2(self): # return self.end_x # @property # def y2(self): # return self.end_y @property @property @property @property
[ 6738, 19720, 1330, 7343, 198, 6738, 17268, 1330, 390, 4188, 628, 198, 4871, 6910, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 24946, 25, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 87, 220, 1391, 15, 92, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 88, 220, 1391, 16, 92, 198, 220, 220, 220, 220, 220, 220, 220, 886, 62, 87, 220, 220, 220, 1391, 17, 92, 198, 220, 220, 220, 220, 220, 220, 220, 886, 62, 88, 220, 220, 220, 1391, 18, 92, 198, 220, 220, 220, 220, 220, 220, 220, 22969, 796, 685, 26518, 16, 11, 2644, 11, 16605, 45, 60, 1391, 19, 92, 198, 220, 220, 220, 220, 220, 220, 220, 763, 3669, 796, 357, 9688, 62, 87, 11, 923, 62, 88, 11, 886, 62, 87, 11, 886, 62, 88, 8, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 1303, 2488, 26745, 198, 220, 220, 220, 1303, 825, 2124, 16, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1441, 2116, 13, 9688, 62, 87, 628, 220, 220, 220, 1303, 2488, 26745, 198, 220, 220, 220, 1303, 825, 331, 16, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1441, 2116, 13, 9688, 62, 88, 628, 220, 220, 220, 1303, 2488, 26745, 198, 220, 220, 220, 1303, 825, 2124, 17, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1441, 2116, 13, 437, 62, 87, 628, 220, 220, 220, 1303, 2488, 26745, 198, 220, 220, 220, 1303, 825, 331, 17, 7, 944, 2599, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 1441, 2116, 13, 437, 62, 88, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628 ]
1.983766
308
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\VistaAnalisisDatos.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from UI.Recursos import images_rc # import DATOS IMAGENES_rc if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) VistaAnalisisDatos = QtWidgets.QMainWindow() ui = Ui_VistaAnalisisDatos() ui.setupUi(VistaAnalisisDatos) VistaAnalisisDatos.show() sys.exit(app.exec_())
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 5178, 7822, 7560, 422, 3555, 334, 72, 2393, 45302, 59, 53, 12523, 2025, 27315, 271, 27354, 418, 13, 9019, 6, 198, 2, 198, 2, 15622, 416, 25, 9485, 48, 83, 20, 12454, 2438, 17301, 642, 13, 1485, 13, 15, 198, 2, 198, 2, 39410, 0, 1439, 2458, 925, 287, 428, 2393, 481, 307, 2626, 0, 628, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 8205, 72, 11, 33734, 54, 312, 11407, 198, 6738, 12454, 13, 6690, 1834, 418, 1330, 4263, 62, 6015, 198, 2, 1330, 360, 1404, 2640, 8959, 4760, 1677, 1546, 62, 6015, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 25064, 198, 220, 220, 220, 598, 796, 33734, 54, 312, 11407, 13, 48, 23416, 7, 17597, 13, 853, 85, 8, 198, 220, 220, 220, 25160, 2025, 27315, 271, 27354, 418, 796, 33734, 54, 312, 11407, 13, 48, 13383, 27703, 3419, 198, 220, 220, 220, 334, 72, 796, 471, 72, 62, 53, 12523, 2025, 27315, 271, 27354, 418, 3419, 198, 220, 220, 220, 334, 72, 13, 40406, 52, 72, 7, 53, 12523, 2025, 27315, 271, 27354, 418, 8, 198, 220, 220, 220, 25160, 2025, 27315, 271, 27354, 418, 13, 12860, 3419, 198, 220, 220, 220, 25064, 13, 37023, 7, 1324, 13, 18558, 62, 28955, 198 ]
2.452991
234
from .crypto_stream_reader import CryptoWrappedStreamReader from .crypto_stream_writer import CryptoWrappedStreamWriter
[ 6738, 764, 29609, 78, 62, 5532, 62, 46862, 1330, 36579, 36918, 1496, 12124, 33634, 198, 6738, 764, 29609, 78, 62, 5532, 62, 16002, 1330, 36579, 36918, 1496, 12124, 34379, 198 ]
4
30
from geoopt import Stereographic import torch import matplotlib.pyplot as plt import seaborn as sns from matplotlib import rcParams import shutil if shutil.which("latex") is not None: rcParams["text.latex.preamble"] = r"\usepackage{amsmath}" rcParams["text.usetex"] = True sns.set_style("white") x = torch.tensor((-0.25, -0.75)) / 2 y = torch.tensor((0.65, -0.55)) / 2 manifold = Stereographic(-1) x_plus_y = manifold.mobius_add(x, y) circle = plt.Circle((0, 0), 1, fill=False, color="b") plt.gca().add_artist(circle) plt.xlim(-1.1, 1.1) plt.ylim(-1.1, 1.1) plt.gca().set_aspect("equal") plt.annotate("x", x - 0.09, fontsize=15) plt.annotate("y", y - 0.09, fontsize=15) plt.annotate(r"$x\oplus y$", x_plus_y - torch.tensor([0.1, 0.15]), fontsize=15) plt.arrow(0, 0, *x, width=0.01, color="r") plt.arrow(0, 0, *y, width=0.01, color="g") plt.arrow(0, 0, *x_plus_y, width=0.01, color="b") plt.title(r"Addition $x\oplus y$") plt.show()
[ 6738, 40087, 8738, 1330, 520, 567, 6826, 198, 11748, 28034, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 384, 397, 1211, 355, 3013, 82, 198, 6738, 2603, 29487, 8019, 1330, 48321, 10044, 4105, 198, 11748, 4423, 346, 198, 361, 4423, 346, 13, 4758, 7203, 17660, 87, 4943, 318, 407, 6045, 25, 198, 220, 220, 220, 48321, 10044, 4105, 14692, 5239, 13, 17660, 87, 13, 79, 1476, 903, 8973, 796, 374, 1, 59, 1904, 26495, 90, 4105, 11018, 36786, 198, 220, 220, 220, 48321, 10044, 4105, 14692, 5239, 13, 385, 316, 1069, 8973, 796, 6407, 628, 198, 82, 5907, 13, 2617, 62, 7635, 7203, 11186, 4943, 198, 198, 87, 796, 28034, 13, 83, 22854, 19510, 12, 15, 13, 1495, 11, 532, 15, 13, 2425, 4008, 1220, 362, 198, 88, 796, 28034, 13, 83, 22854, 19510, 15, 13, 2996, 11, 532, 15, 13, 2816, 4008, 1220, 362, 198, 198, 805, 361, 727, 796, 520, 567, 6826, 32590, 16, 8, 198, 198, 87, 62, 9541, 62, 88, 796, 48048, 13, 39949, 3754, 62, 2860, 7, 87, 11, 331, 8, 628, 198, 45597, 796, 458, 83, 13, 31560, 293, 19510, 15, 11, 657, 828, 352, 11, 6070, 28, 25101, 11, 3124, 2625, 65, 4943, 198, 489, 83, 13, 70, 6888, 22446, 2860, 62, 49016, 7, 45597, 8, 198, 489, 83, 13, 87, 2475, 32590, 16, 13, 16, 11, 352, 13, 16, 8, 198, 489, 83, 13, 88, 2475, 32590, 16, 13, 16, 11, 352, 13, 16, 8, 198, 489, 83, 13, 70, 6888, 22446, 2617, 62, 292, 806, 7203, 40496, 4943, 198, 489, 83, 13, 34574, 378, 7203, 87, 1600, 2124, 532, 657, 13, 2931, 11, 10369, 7857, 28, 1314, 8, 198, 489, 83, 13, 34574, 378, 7203, 88, 1600, 331, 532, 657, 13, 2931, 11, 10369, 7857, 28, 1314, 8, 198, 489, 83, 13, 34574, 378, 7, 81, 1, 3, 87, 59, 20106, 385, 331, 3, 1600, 2124, 62, 9541, 62, 88, 532, 28034, 13, 83, 22854, 26933, 15, 13, 16, 11, 657, 13, 1314, 46570, 10369, 7857, 28, 1314, 8, 198, 489, 83, 13, 6018, 7, 15, 11, 657, 11, 1635, 87, 11, 9647, 28, 15, 13, 486, 11, 3124, 2625, 81, 4943, 198, 489, 83, 13, 6018, 7, 15, 11, 657, 11, 1635, 88, 11, 9647, 28, 15, 13, 486, 11, 3124, 2625, 70, 4943, 198, 489, 83, 13, 6018, 7, 15, 11, 657, 11, 1635, 87, 62, 9541, 62, 88, 11, 9647, 28, 15, 13, 486, 11, 3124, 2625, 65, 4943, 198, 489, 83, 13, 7839, 7, 81, 1, 4550, 653, 720, 87, 59, 20106, 385, 331, 3, 4943, 198, 489, 83, 13, 12860, 3419, 198 ]
2.147392
441
from django import forms from models import Project from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Field, Submit, Div, HTML, ButtonHolder from crispy_forms.bootstrap import FormActions, StrictButton, TabHolder, Tab, PrependedText, InlineCheckboxes, InlineField import requests from django.contrib.auth.models import User from django_currentuser.middleware import ( get_current_user, get_current_authenticated_user)
[ 6738, 42625, 14208, 1330, 5107, 198, 6738, 4981, 1330, 4935, 198, 6738, 42807, 62, 23914, 13, 2978, 525, 1330, 5178, 47429, 198, 6738, 42807, 62, 23914, 13, 39786, 1330, 47639, 11, 7663, 11, 39900, 11, 4777, 11, 11532, 11, 20969, 39, 19892, 198, 6738, 42807, 62, 23914, 13, 18769, 26418, 1330, 5178, 32, 2733, 11, 520, 2012, 21864, 11, 16904, 39, 19892, 11, 16904, 11, 19141, 1631, 8206, 11, 554, 1370, 9787, 29305, 11, 554, 1370, 15878, 198, 11748, 7007, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 198, 6738, 42625, 14208, 62, 14421, 7220, 13, 27171, 1574, 1330, 357, 198, 220, 220, 220, 651, 62, 14421, 62, 7220, 11, 651, 62, 14421, 62, 41299, 3474, 62, 7220, 8, 628, 197, 197, 198, 197, 197, 628 ]
3.534351
131
import tensorflow as tf import numpy as np import time import matplotlib import matplotlib.pyplot as plt from sklearn.datasets.samples_generator import make_circles N=210 K=2 # Maximum number of iterations, if the conditions are not met MAX_ITERS = 1000 cut=int(N*0.7) start = time.time() data, features = make_circles(n_samples=N, shuffle=True, noise= 0.12, factor=0.4) tr_data, tr_features= data[:cut], features[:cut] te_data,te_features=data[cut:], features[cut:] fig, ax = plt.subplots() ax.scatter(tr_data.transpose()[0], tr_data.transpose()[1], marker = 'o', s = 100, c = tr_features, cmap=plt.cm.coolwarm ) plt.plot() points=tf.Variable(data) cluster_assignments = tf.Variable(tf.zeros([N], dtype=tf.int64)) sess = tf.Session() sess.run(tf.initialize_all_variables()) test=[] for i, j in zip(te_data, te_features): distances = tf.reduce_sum(tf.square(tf.sub(i , tr_data)),reduction_indices=1) neighbor = tf.arg_min(distances,0) #print tr_features[sess.run(neighbor)] #print j test.append(tr_features[sess.run(neighbor)]) print test fig, ax = plt.subplots() ax.scatter(te_data.transpose()[0], te_data.transpose()[1], marker = 'o', s = 100, c = test, cmap=plt.cm.coolwarm ) plt.plot() #rep_points_v = tf.reshape(points, [1, N, 2]) #rep_points_h = tf.reshape(points, [N, 2]) #sum_squares = tf.reduce_sum(tf.square(rep_points - rep_points), reduction_indices=2) #print(sess.run(tf.square(rep_points_v - rep_points_h))) end = time.time() print ("Found in %.2f seconds" % (end-start)) print "Cluster assignments:", test
[ 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 640, 198, 198, 11748, 2603, 29487, 8019, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 198, 6738, 1341, 35720, 13, 19608, 292, 1039, 13, 82, 12629, 62, 8612, 1352, 1330, 787, 62, 66, 343, 5427, 198, 198, 45, 28, 21536, 198, 42, 28, 17, 198, 2, 22246, 1271, 286, 34820, 11, 611, 262, 3403, 389, 407, 1138, 198, 22921, 62, 2043, 4877, 796, 8576, 198, 8968, 28, 600, 7, 45, 9, 15, 13, 22, 8, 198, 198, 9688, 796, 640, 13, 2435, 3419, 198, 198, 7890, 11, 3033, 796, 787, 62, 66, 343, 5427, 7, 77, 62, 82, 12629, 28, 45, 11, 36273, 28, 17821, 11, 7838, 28, 657, 13, 1065, 11, 5766, 28, 15, 13, 19, 8, 198, 2213, 62, 7890, 11, 491, 62, 40890, 28, 1366, 58, 25, 8968, 4357, 3033, 58, 25, 8968, 60, 198, 660, 62, 7890, 11, 660, 62, 40890, 28, 7890, 58, 8968, 25, 4357, 3033, 58, 8968, 47715, 198, 198, 5647, 11, 7877, 796, 458, 83, 13, 7266, 489, 1747, 3419, 198, 897, 13, 1416, 1436, 7, 2213, 62, 7890, 13, 7645, 3455, 3419, 58, 15, 4357, 491, 62, 7890, 13, 7645, 3455, 3419, 58, 16, 4357, 18364, 796, 705, 78, 3256, 264, 796, 1802, 11, 269, 796, 491, 62, 40890, 11, 269, 8899, 28, 489, 83, 13, 11215, 13, 24494, 31975, 1267, 198, 489, 83, 13, 29487, 3419, 198, 198, 13033, 28, 27110, 13, 43015, 7, 7890, 8, 198, 565, 5819, 62, 562, 570, 902, 796, 48700, 13, 43015, 7, 27110, 13, 9107, 418, 26933, 45, 4357, 288, 4906, 28, 27110, 13, 600, 2414, 4008, 198, 198, 82, 408, 796, 48700, 13, 36044, 3419, 198, 82, 408, 13, 5143, 7, 27110, 13, 36733, 1096, 62, 439, 62, 25641, 2977, 28955, 198, 198, 9288, 28, 21737, 198, 198, 1640, 1312, 11, 474, 287, 19974, 7, 660, 62, 7890, 11, 573, 62, 40890, 2599, 198, 220, 220, 220, 18868, 796, 48700, 13, 445, 7234, 62, 16345, 7, 27110, 13, 23415, 7, 27110, 13, 7266, 7, 72, 837, 491, 62, 7890, 36911, 445, 8110, 62, 521, 1063, 28, 16, 8, 198, 220, 220, 220, 4780, 796, 48700, 13, 853, 62, 1084, 7, 17080, 1817, 11, 15, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 4798, 491, 62, 40890, 58, 82, 408, 13, 5143, 7, 710, 394, 2865, 15437, 198, 220, 220, 220, 1303, 4798, 474, 198, 220, 220, 220, 1332, 13, 33295, 7, 2213, 62, 40890, 58, 82, 408, 13, 5143, 7, 710, 394, 2865, 8, 12962, 198, 4798, 1332, 198, 5647, 11, 7877, 796, 458, 83, 13, 7266, 489, 1747, 3419, 198, 897, 13, 1416, 1436, 7, 660, 62, 7890, 13, 7645, 3455, 3419, 58, 15, 4357, 573, 62, 7890, 13, 7645, 3455, 3419, 58, 16, 4357, 18364, 796, 705, 78, 3256, 264, 796, 1802, 11, 269, 796, 1332, 11, 269, 8899, 28, 489, 83, 13, 11215, 13, 24494, 31975, 1267, 198, 489, 83, 13, 29487, 3419, 198, 198, 2, 7856, 62, 13033, 62, 85, 796, 48700, 13, 3447, 1758, 7, 13033, 11, 685, 16, 11, 399, 11, 362, 12962, 198, 2, 7856, 62, 13033, 62, 71, 796, 48700, 13, 3447, 1758, 7, 13033, 11, 685, 45, 11, 362, 12962, 198, 2, 16345, 62, 16485, 3565, 796, 48700, 13, 445, 7234, 62, 16345, 7, 27110, 13, 23415, 7, 7856, 62, 13033, 532, 1128, 62, 13033, 828, 7741, 62, 521, 1063, 28, 17, 8, 198, 2, 4798, 7, 82, 408, 13, 5143, 7, 27110, 13, 23415, 7, 7856, 62, 13033, 62, 85, 532, 1128, 62, 13033, 62, 71, 22305, 198, 198, 437, 796, 640, 13, 2435, 3419, 198, 4798, 5855, 21077, 287, 4064, 13, 17, 69, 4201, 1, 4064, 357, 437, 12, 9688, 4008, 198, 4798, 366, 2601, 5819, 25815, 25, 1600, 1332, 628, 198 ]
2.433697
641
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Baiqiang XIA implementation of data structures ## Graph represented as Adjacency List ## init ## add Edge ## print ## bread first search (traversal), assuming all node are connected ## the task is to visit all the nodes ## bread first search ## https://www.geeksforgeeks.org/breadth-first-search-or-bfs-for-a-graph/ ### depth first search
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2235, 40750, 80, 15483, 1395, 3539, 7822, 286, 1366, 8573, 198, 198, 2235, 29681, 7997, 355, 1215, 30482, 1387, 7343, 198, 220, 220, 220, 22492, 2315, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 22492, 751, 13113, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 22492, 3601, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 22492, 8509, 717, 2989, 357, 9535, 690, 282, 828, 13148, 477, 10139, 389, 5884, 198, 220, 220, 220, 22492, 262, 4876, 318, 284, 3187, 477, 262, 13760, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 22492, 8509, 717, 2989, 220, 198, 220, 220, 220, 22492, 3740, 1378, 2503, 13, 469, 2573, 30293, 2573, 13, 2398, 14, 29573, 400, 12, 11085, 12, 12947, 12, 273, 12, 65, 9501, 12, 1640, 12, 64, 12, 34960, 14, 198, 220, 220, 220, 220, 198, 220, 220, 220, 44386, 6795, 717, 2989, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220 ]
2.26484
219
#!/usr/bin/env python3 # https://codeforces.com/problemset/problem/1359/A t = int(input()) for _ in range(t): n,m,k = list(map(int,input().split())) winner = min(n//k,m) second = (m-winner+k-2)//(k-1) print(winner-second)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 2, 3740, 1378, 19815, 891, 273, 728, 13, 785, 14, 1676, 22143, 316, 14, 45573, 14, 1485, 3270, 14, 32, 198, 198, 83, 796, 493, 7, 15414, 28955, 198, 1640, 4808, 287, 2837, 7, 83, 2599, 198, 220, 220, 220, 299, 11, 76, 11, 74, 220, 220, 796, 1351, 7, 8899, 7, 600, 11, 15414, 22446, 35312, 3419, 4008, 198, 220, 220, 220, 8464, 220, 796, 949, 7, 77, 1003, 74, 11, 76, 8, 198, 220, 220, 220, 1218, 220, 796, 357, 76, 12, 39791, 10, 74, 12, 17, 8, 1003, 7, 74, 12, 16, 8, 198, 220, 220, 220, 3601, 7, 39791, 12, 12227, 8, 198 ]
2.067797
118
""" 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? """ if __name__ == "__main__": print(sum_digits(2**1000))
[ 37811, 198, 17, 61, 1314, 796, 36203, 3104, 290, 262, 2160, 286, 663, 19561, 318, 513, 1343, 362, 1343, 767, 1343, 718, 1343, 807, 796, 2608, 13, 198, 2061, 318, 262, 2160, 286, 262, 19561, 286, 262, 1271, 362, 61, 12825, 30, 198, 37811, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 3601, 7, 16345, 62, 12894, 896, 7, 17, 1174, 12825, 4008, 198 ]
2.569444
72
import os from tasrif.data_readers.fitbit_interday_dataset import FitbitInterdayDataset from tasrif.processing_pipeline import SequenceOperator from tasrif.processing_pipeline.custom import AggregateOperator, CreateFeatureOperator from tasrif.processing_pipeline.pandas import ( ConvertToDatetimeOperator, SetIndexOperator, FillNAOperator ) interday_folder_path = os.environ.get("FITBIT_INTERDAY_PATH", "/mnt/data/fitbit-data/") df = FitbitInterdayDataset(interday_folder_path, table_name="Sleep").process()[0] pipeline = SequenceOperator( [ ConvertToDatetimeOperator( feature_names=["Start Time", "End Time"], infer_datetime_format=True ), FillNAOperator(values={'End Time': df['Start Time']}), CreateFeatureOperator( feature_name="Date", feature_creator=lambda df: df["End Time"].dt.date ), AggregateOperator( groupby_feature_names="Date", aggregation_definition={ "Minutes Asleep": "sum", "Minutes Awake": "sum", "Number of Awakenings": "sum", "Time in Bed": "sum", "Minutes REM Sleep": "sum", "Minutes Light Sleep": "sum", "Minutes Deep Sleep": "sum", }, ), SetIndexOperator("Date"), ] ) df = pipeline.process() print(df) import yaml import tasrif.yaml_parser as yaml_parser # This is done because this file is executed within a unit test from a different directory # The relative path would not work in that case. # __file__ is not defined in iPython interactive shell try: yaml_config_path = os.path.join( os.path.dirname(__file__), "yaml_config/sleep_dataset.yaml" ) except: yaml_config_path = "yaml_config/sleep_dataset.yaml" with open(yaml_config_path, "r") as stream: try: # print(json.dumps(yaml.safe_load(stream), indent=4, sort_keys=True)) p = yaml_parser.from_yaml(stream) except yaml.YAMLError as exc: print(exc) df = p.process() print(df)
[ 11748, 28686, 198, 198, 6738, 256, 292, 81, 361, 13, 7890, 62, 961, 364, 13, 11147, 2545, 62, 3849, 820, 62, 19608, 292, 316, 1330, 25048, 2545, 818, 6432, 27354, 292, 316, 198, 6738, 256, 292, 81, 361, 13, 36948, 62, 79, 541, 4470, 1330, 45835, 18843, 1352, 198, 6738, 256, 292, 81, 361, 13, 36948, 62, 79, 541, 4470, 13, 23144, 1330, 19015, 49373, 18843, 1352, 11, 13610, 38816, 18843, 1352, 198, 6738, 256, 292, 81, 361, 13, 36948, 62, 79, 541, 4470, 13, 79, 392, 292, 1330, 357, 198, 220, 220, 220, 38240, 2514, 27354, 8079, 18843, 1352, 11, 198, 220, 220, 220, 5345, 15732, 18843, 1352, 11, 198, 220, 220, 220, 27845, 4535, 18843, 1352, 198, 8, 198, 198, 3849, 820, 62, 43551, 62, 6978, 796, 28686, 13, 268, 2268, 13, 1136, 7203, 37, 2043, 26094, 62, 41358, 26442, 62, 34219, 1600, 12813, 76, 429, 14, 7890, 14, 11147, 2545, 12, 7890, 14, 4943, 628, 198, 7568, 796, 25048, 2545, 818, 6432, 27354, 292, 316, 7, 3849, 820, 62, 43551, 62, 6978, 11, 3084, 62, 3672, 2625, 40555, 11074, 14681, 3419, 58, 15, 60, 198, 79, 541, 4470, 796, 45835, 18843, 1352, 7, 198, 220, 220, 220, 685, 198, 220, 220, 220, 220, 220, 220, 220, 38240, 2514, 27354, 8079, 18843, 1352, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3895, 62, 14933, 28, 14692, 10434, 3862, 1600, 366, 12915, 3862, 33116, 13249, 62, 19608, 8079, 62, 18982, 28, 17821, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 27845, 4535, 18843, 1352, 7, 27160, 34758, 6, 12915, 3862, 10354, 47764, 17816, 10434, 3862, 20520, 92, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13610, 38816, 18843, 1352, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3895, 62, 3672, 2625, 10430, 1600, 3895, 62, 45382, 28, 50033, 47764, 25, 47764, 14692, 12915, 3862, 1, 4083, 28664, 13, 4475, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 19015, 49373, 18843, 1352, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1448, 1525, 62, 30053, 62, 14933, 2625, 10430, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 46500, 62, 46758, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9452, 1769, 1081, 8892, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9452, 1769, 5851, 539, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 15057, 286, 5851, 1685, 654, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 7575, 287, 15585, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9452, 1769, 22657, 17376, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9452, 1769, 4401, 17376, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9452, 1769, 10766, 17376, 1298, 366, 16345, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8964, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 15732, 18843, 1352, 7203, 10430, 12340, 198, 220, 220, 220, 2361, 198, 8, 198, 198, 7568, 796, 11523, 13, 14681, 3419, 198, 198, 4798, 7, 7568, 8, 198, 198, 11748, 331, 43695, 198, 198, 11748, 256, 292, 81, 361, 13, 88, 43695, 62, 48610, 355, 331, 43695, 62, 48610, 198, 198, 2, 770, 318, 1760, 780, 428, 2393, 318, 10945, 1626, 257, 4326, 1332, 422, 257, 1180, 8619, 198, 2, 383, 3585, 3108, 561, 407, 670, 287, 326, 1339, 13, 198, 2, 11593, 7753, 834, 318, 407, 5447, 287, 9736, 7535, 14333, 7582, 198, 28311, 25, 198, 220, 220, 220, 331, 43695, 62, 11250, 62, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 828, 366, 88, 43695, 62, 11250, 14, 42832, 62, 19608, 292, 316, 13, 88, 43695, 1, 198, 220, 220, 220, 1267, 198, 16341, 25, 198, 220, 220, 220, 331, 43695, 62, 11250, 62, 6978, 796, 366, 88, 43695, 62, 11250, 14, 42832, 62, 19608, 292, 316, 13, 88, 43695, 1, 198, 198, 4480, 1280, 7, 88, 43695, 62, 11250, 62, 6978, 11, 366, 81, 4943, 355, 4269, 25, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 17752, 13, 67, 8142, 7, 88, 43695, 13, 21230, 62, 2220, 7, 5532, 828, 33793, 28, 19, 11, 3297, 62, 13083, 28, 17821, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 279, 796, 331, 43695, 62, 48610, 13, 6738, 62, 88, 43695, 7, 5532, 8, 198, 220, 220, 220, 2845, 331, 43695, 13, 56, 2390, 2538, 81, 1472, 355, 2859, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 41194, 8, 198, 198, 7568, 796, 279, 13, 14681, 3419, 198, 198, 4798, 7, 7568, 8, 198 ]
2.294053
908
from rest_framework import serializers from landing.models import Contact import re from rest_framework.response import Response #from store.models import Store
[ 6738, 1334, 62, 30604, 1330, 11389, 11341, 198, 6738, 9581, 13, 27530, 1330, 14039, 198, 11748, 302, 198, 6738, 1334, 62, 30604, 13, 26209, 1330, 18261, 198, 2, 6738, 3650, 13, 27530, 1330, 9363, 198 ]
4.6
35
""" Dash callbacks Only applicant and posting data depend on the requisition number value Pipeline and subfield data depend on the posting data Callback chain: Requisition number dropdown value changes -> applicant data and posting data load ---> pipeline and subfield data load -----> charts and footers load """ # Third party imports from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate import plotly.graph_objs as go from flask import current_app from boto3.dynamodb.conditions import Key # Local application imports from app.extensions import dynamo from app.searchcom.chart_config.styling import axes from app.searchcom.chart_config.colors import colors # Crosstab table outputs ## Category values as they are entered in HTML id fields gen_cat_html = ['fem', 'male', 'na'] ethn_cat_html = ['amind', 'asian', 'black', 'pacific', 'white', 'na'] hisp_cat_html = ['hisp', 'nonhisp', 'na'] ## Build a list of outputs to all combinations of those fields xtab_output_list = [Output('searchcom-xtab-table', 'style'), Output('searchcom-xtab-threshold-warning', 'style')] for i in ethn_cat_html: for j in hisp_cat_html: for k in gen_cat_html: xtab_output_list.append(Output(f"{i}-{j}-{k}", 'children')) # Category values as they are in the xtab data # The order should be the same as in HTML categories so that the callback output matches the output list (Male-White-Yes matches male-white-hisp, etc.) gen_cat = ['Female', 'Male', 'Blank'] ethn_cat = ['American Indian or Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', 'White', 'Blank'] hisp_cat = ['Yes', 'No', 'Blank']
[ 37811, 198, 43041, 869, 10146, 198, 198, 10049, 16919, 290, 10754, 1366, 4745, 319, 262, 1038, 10027, 1271, 1988, 198, 47, 541, 4470, 290, 850, 3245, 1366, 4745, 319, 262, 10754, 1366, 198, 198, 47258, 6333, 25, 198, 16844, 10027, 1271, 4268, 2902, 1988, 2458, 198, 3784, 16919, 1366, 290, 10754, 1366, 3440, 198, 438, 3784, 11523, 290, 850, 3245, 1366, 3440, 198, 650, 3784, 15907, 290, 2366, 364, 3440, 198, 37811, 198, 198, 2, 10467, 2151, 17944, 198, 6738, 14470, 13, 45841, 3976, 1330, 23412, 11, 25235, 11, 1812, 198, 6738, 14470, 13, 1069, 11755, 1330, 31572, 10260, 198, 11748, 7110, 306, 13, 34960, 62, 672, 8457, 355, 467, 198, 198, 6738, 42903, 1330, 1459, 62, 1324, 198, 198, 6738, 275, 2069, 18, 13, 67, 4989, 375, 65, 13, 17561, 1756, 1330, 7383, 198, 198, 2, 10714, 3586, 17944, 198, 6738, 598, 13, 2302, 5736, 1330, 6382, 78, 198, 6738, 598, 13, 12947, 785, 13, 40926, 62, 11250, 13, 34365, 1359, 1330, 34197, 198, 6738, 598, 13, 12947, 785, 13, 40926, 62, 11250, 13, 4033, 669, 1330, 7577, 198, 198, 2, 26942, 39029, 3084, 23862, 198, 2235, 21743, 3815, 355, 484, 389, 5982, 287, 11532, 4686, 7032, 198, 5235, 62, 9246, 62, 6494, 796, 37250, 69, 368, 3256, 705, 22606, 3256, 705, 2616, 20520, 198, 2788, 77, 62, 9246, 62, 6494, 796, 37250, 321, 521, 3256, 705, 292, 666, 3256, 705, 13424, 3256, 705, 33587, 811, 3256, 705, 11186, 3256, 705, 2616, 20520, 198, 71, 8802, 62, 9246, 62, 6494, 796, 37250, 71, 8802, 3256, 705, 13159, 71, 8802, 3256, 705, 2616, 20520, 198, 198, 2235, 10934, 257, 1351, 286, 23862, 284, 477, 17790, 286, 883, 7032, 198, 742, 397, 62, 22915, 62, 4868, 796, 685, 26410, 10786, 12947, 785, 12, 742, 397, 12, 11487, 3256, 705, 7635, 33809, 25235, 10786, 12947, 785, 12, 742, 397, 12, 400, 10126, 12, 43917, 3256, 705, 7635, 11537, 60, 198, 1640, 1312, 287, 33961, 62, 9246, 62, 6494, 25, 198, 220, 220, 220, 329, 474, 287, 465, 79, 62, 9246, 62, 6494, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 479, 287, 2429, 62, 9246, 62, 6494, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 742, 397, 62, 22915, 62, 4868, 13, 33295, 7, 26410, 7, 69, 1, 90, 72, 92, 12, 90, 73, 92, 12, 90, 74, 92, 1600, 705, 17197, 6, 4008, 628, 198, 2, 21743, 3815, 355, 484, 389, 287, 262, 220, 742, 397, 1366, 198, 2, 383, 1502, 815, 307, 262, 976, 355, 287, 11532, 9376, 523, 326, 262, 23838, 5072, 7466, 262, 5072, 1351, 357, 25486, 12, 12256, 12, 5297, 7466, 4257, 12, 11186, 12, 71, 8802, 11, 3503, 2014, 198, 5235, 62, 9246, 796, 37250, 27273, 3256, 705, 25486, 3256, 705, 3629, 962, 20520, 198, 2788, 77, 62, 9246, 796, 37250, 7437, 3942, 393, 12926, 12547, 3256, 705, 43224, 3256, 705, 9915, 393, 5510, 1605, 3256, 705, 31272, 29827, 393, 3819, 8211, 5451, 263, 3256, 705, 12256, 3256, 705, 3629, 962, 20520, 198, 71, 8802, 62, 9246, 796, 37250, 5297, 3256, 705, 2949, 3256, 705, 3629, 962, 20520, 628 ]
3.24952
521
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, Http404 import json # Create your views here. from .models import Track
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 11, 651, 62, 15252, 62, 273, 62, 26429, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 11, 367, 29281, 26429, 198, 11748, 33918, 198, 2, 13610, 534, 5009, 994, 13, 198, 6738, 764, 27530, 1330, 17762 ]
3.565217
46
""" Performance test using CP2K quantum chemistry and solid state physics software package for atomistic simulations. See README.md for details. NB: - The executable is either cp2k.popt (for MPI only) or cp2k.psmp (for MPI + OpenMP). - Only the former is currently implemented here. """ import reframe as rfm import reframe.utility.sanity as sn from reframe.utility.sanity import defer from pprint import pprint import sys, os from collections import namedtuple from reframe.core.logging import getlogger sys.path.append('.') from reframe_extras import sequence, Scheduler_Info, CachedRunTest from modules.utils import parse_time_cmd # CSCS include a CP2k test which provides the input file we need, so find that test: RFM_CP2K_PATH = os.path.join(os.path.dirname(rfm.__path__[0]), 'cscs-checks', 'apps', 'cp2k') node_seq = sequence(1, Scheduler_Info().num_nodes + 1, 2) @rfm.parameterized_test(*[[n_nodes] for n_nodes in node_seq])
[ 37811, 15193, 1332, 1262, 16932, 17, 42, 14821, 16585, 290, 4735, 1181, 11887, 3788, 5301, 329, 22037, 2569, 27785, 13, 628, 220, 220, 220, 4091, 20832, 11682, 13, 9132, 329, 3307, 13, 628, 220, 220, 220, 41354, 25, 198, 220, 220, 220, 532, 383, 28883, 318, 2035, 31396, 17, 74, 13, 79, 8738, 357, 1640, 4904, 40, 691, 8, 393, 31396, 17, 74, 13, 862, 3149, 357, 1640, 4904, 40, 1343, 4946, 7378, 737, 198, 220, 220, 220, 532, 5514, 262, 1966, 318, 3058, 9177, 994, 13, 198, 37811, 198, 198, 11748, 1006, 28073, 355, 374, 38353, 198, 11748, 1006, 28073, 13, 315, 879, 13, 12807, 414, 355, 3013, 198, 6738, 1006, 28073, 13, 315, 879, 13, 12807, 414, 1330, 29135, 198, 6738, 279, 4798, 1330, 279, 4798, 198, 11748, 25064, 11, 28686, 198, 6738, 17268, 1330, 3706, 83, 29291, 198, 6738, 1006, 28073, 13, 7295, 13, 6404, 2667, 1330, 651, 6404, 1362, 198, 17597, 13, 6978, 13, 33295, 10786, 2637, 8, 198, 6738, 1006, 28073, 62, 2302, 8847, 1330, 8379, 11, 27774, 18173, 62, 12360, 11, 327, 2317, 10987, 14402, 198, 6738, 13103, 13, 26791, 1330, 21136, 62, 2435, 62, 28758, 198, 2, 327, 6173, 50, 2291, 257, 16932, 17, 74, 1332, 543, 3769, 262, 5128, 2393, 356, 761, 11, 523, 1064, 326, 1332, 25, 198, 49, 23264, 62, 8697, 17, 42, 62, 34219, 796, 28686, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 15908, 3672, 7, 81, 38353, 13, 834, 6978, 834, 58, 15, 46570, 705, 66, 1416, 82, 12, 42116, 3256, 705, 18211, 3256, 705, 13155, 17, 74, 11537, 198, 198, 17440, 62, 41068, 796, 8379, 7, 16, 11, 27774, 18173, 62, 12360, 22446, 22510, 62, 77, 4147, 1343, 352, 11, 362, 8, 198, 198, 31, 81, 38353, 13, 17143, 2357, 1143, 62, 9288, 46491, 30109, 77, 62, 77, 4147, 60, 329, 299, 62, 77, 4147, 287, 10139, 62, 41068, 12962 ]
3.025397
315
# Application Configuration import os import yaml from base.utils.data_utils import json_encoder # CeNDR Version APP_CONFIG, CENDR_VERSION = os.environ['GAE_VERSION'].split("-", 1) if APP_CONFIG not in ['development', 'master']: APP_CONFIG = 'development' CENDR_VERSION = CENDR_VERSION.replace("-", '.') # BUILDS AND RELEASES # The first release is the current release # (RELEASE, ANNOTATION_GENOME) RELEASES = [("20210121", "WS276"), ("20200815", "WS276"), ("20180527", "WS263"), ("20170531", "WS258"), ("20160408", "WS245")] # The most recent release DATASET_RELEASE, WORMBASE_VERSION = RELEASES[0] # SQLITE DATABASE SQLITE_PATH = f"base/cendr.{DATASET_RELEASE}.{WORMBASE_VERSION}.db" # CONFIG def get_config(APP_CONFIG): """Load all configuration information including constants defined above. (BASE_VARS are the same regardless of whether we are debugging or in production) """ config = dict() BASE_VARS = load_yaml("env_config/base.yaml") APP_CONFIG_VARS = load_yaml(f"env_config/{APP_CONFIG}.yaml") config.update(BASE_VARS) config.update(APP_CONFIG_VARS) # Add configuration variables # Remove base prefix for SQLAlchemy as it is loaded # from application folder config["SQLALCHEMY_DATABASE_URI"] = f"sqlite:///{SQLITE_PATH}".replace("base/", "") config['json_encoder'] = json_encoder config.update({"CENDR_VERSION": CENDR_VERSION, "APP_CONFIG": APP_CONFIG, "DATASET_RELEASE": DATASET_RELEASE, "WORMBASE_VERSION": WORMBASE_VERSION, "RELEASES": RELEASES}) return config # Generate the configuration config = get_config(APP_CONFIG)
[ 2, 15678, 28373, 198, 11748, 28686, 198, 11748, 331, 43695, 198, 6738, 2779, 13, 26791, 13, 7890, 62, 26791, 1330, 33918, 62, 12685, 12342, 198, 198, 2, 20101, 45, 7707, 10628, 198, 24805, 62, 10943, 16254, 11, 327, 1677, 7707, 62, 43717, 796, 28686, 13, 268, 2268, 17816, 9273, 36, 62, 43717, 6, 4083, 35312, 7203, 12, 1600, 352, 8, 198, 361, 43504, 62, 10943, 16254, 407, 287, 37250, 31267, 3256, 705, 9866, 6, 5974, 198, 220, 220, 220, 43504, 62, 10943, 16254, 796, 705, 31267, 6, 198, 34, 1677, 7707, 62, 43717, 796, 327, 1677, 7707, 62, 43717, 13, 33491, 7203, 12, 1600, 705, 2637, 8, 198, 198, 2, 20571, 4146, 5258, 5357, 49968, 1921, 1546, 198, 2, 383, 717, 2650, 318, 262, 1459, 2650, 198, 2, 357, 2200, 22781, 11, 3537, 11929, 6234, 62, 35353, 13649, 8, 198, 2200, 2538, 1921, 1546, 796, 685, 7203, 1238, 2481, 486, 2481, 1600, 366, 19416, 27988, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5855, 1238, 11528, 1314, 1600, 366, 19416, 27988, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5855, 1264, 28256, 1983, 1600, 366, 19416, 29558, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5855, 1264, 34801, 3132, 1600, 366, 19416, 25600, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5855, 1264, 1899, 26200, 1600, 366, 19416, 22995, 4943, 60, 198, 198, 2, 383, 749, 2274, 2650, 198, 35, 1404, 1921, 2767, 62, 2200, 22781, 11, 21881, 10744, 11159, 62, 43717, 796, 49968, 1921, 1546, 58, 15, 60, 198, 198, 2, 16363, 12709, 360, 1404, 6242, 11159, 198, 17861, 12709, 62, 34219, 796, 277, 1, 8692, 14, 15695, 81, 13, 90, 35, 1404, 1921, 2767, 62, 2200, 22781, 27422, 90, 45359, 10744, 11159, 62, 43717, 27422, 9945, 1, 628, 198, 198, 2, 25626, 198, 4299, 651, 62, 11250, 7, 24805, 62, 10943, 16254, 2599, 198, 220, 220, 220, 37227, 8912, 477, 8398, 1321, 1390, 198, 220, 220, 220, 38491, 5447, 2029, 13, 628, 220, 220, 220, 357, 33, 11159, 62, 53, 27415, 389, 262, 976, 7692, 286, 1771, 356, 389, 28769, 393, 287, 3227, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4566, 796, 8633, 3419, 198, 220, 220, 220, 49688, 62, 53, 27415, 796, 3440, 62, 88, 43695, 7203, 24330, 62, 11250, 14, 8692, 13, 88, 43695, 4943, 198, 220, 220, 220, 43504, 62, 10943, 16254, 62, 53, 27415, 796, 3440, 62, 88, 43695, 7, 69, 1, 24330, 62, 11250, 14, 90, 24805, 62, 10943, 16254, 27422, 88, 43695, 4943, 198, 220, 220, 220, 4566, 13, 19119, 7, 33, 11159, 62, 53, 27415, 8, 198, 220, 220, 220, 4566, 13, 19119, 7, 24805, 62, 10943, 16254, 62, 53, 27415, 8, 198, 220, 220, 220, 1303, 3060, 8398, 9633, 198, 220, 220, 220, 1303, 17220, 2779, 21231, 329, 16363, 2348, 26599, 355, 340, 318, 9639, 198, 220, 220, 220, 1303, 422, 3586, 9483, 198, 220, 220, 220, 4566, 14692, 17861, 1847, 3398, 3620, 56, 62, 35, 1404, 6242, 11159, 62, 47269, 8973, 796, 277, 1, 25410, 578, 1378, 14, 90, 17861, 12709, 62, 34219, 92, 1911, 33491, 7203, 8692, 14, 1600, 366, 4943, 198, 220, 220, 220, 4566, 17816, 17752, 62, 12685, 12342, 20520, 796, 33918, 62, 12685, 12342, 198, 220, 220, 220, 4566, 13, 19119, 7, 4895, 34, 1677, 7707, 62, 43717, 1298, 327, 1677, 7707, 62, 43717, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 24805, 62, 10943, 16254, 1298, 43504, 62, 10943, 16254, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 35, 1404, 1921, 2767, 62, 2200, 22781, 1298, 360, 1404, 1921, 2767, 62, 2200, 22781, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 45359, 10744, 11159, 62, 43717, 1298, 21881, 10744, 11159, 62, 43717, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 2200, 2538, 1921, 1546, 1298, 49968, 1921, 1546, 30072, 198, 220, 220, 220, 1441, 4566, 628, 198, 2, 2980, 378, 262, 8398, 198, 11250, 796, 651, 62, 11250, 7, 24805, 62, 10943, 16254, 8, 198 ]
2.393939
726
import argparse from hugsvision.nnet.ObjectDetectionTrainer import ObjectDetectionTrainer parser = argparse.ArgumentParser(description='Object Detection') parser.add_argument('--name', type=str, default="MyDETRModel", help='The name of the model') parser.add_argument('--train', type=str, default="./BCCD_COCO/train/", help='The directory of the train folder containing the _annotations.coco.json') parser.add_argument('--dev', type=str, default="./BCCD_COCO/valid/", help='The directory of the dev folder containing the _annotations.coco.json') parser.add_argument('--test', type=str, default="./BCCD_COCO/test/", help='The directory of the test folder containing the _annotations.coco.json') parser.add_argument('--output', type=str, default="./out/", help='The output directory of the model') parser.add_argument('--epochs', type=int, default=1, help='Number of Epochs') parser.add_argument('--batch_size', type=int, default=4, help='Batch size') args = parser.parse_args() huggingface_model = "facebook/detr-resnet-50" # huggingface_model = "facebook/detr-resnet-101" # Train the model trainer = ObjectDetectionTrainer( model_name = args.name, output_dir = args.output, train_path = args.train, dev_path = args.dev, test_path = args.test, model_path = huggingface_model, max_epochs = args.epochs, batch_size = args.batch_size, ) # Test on a single image trainer.testing(img_path='../../../samples/blood_cells/42.jpg')
[ 11748, 1822, 29572, 201, 198, 201, 198, 6738, 40657, 10178, 13, 77, 3262, 13, 10267, 11242, 3213, 2898, 10613, 1330, 9515, 11242, 3213, 2898, 10613, 201, 198, 201, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 10267, 46254, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 3672, 3256, 2099, 28, 2536, 11, 4277, 2625, 3666, 35, 2767, 49, 17633, 1600, 1037, 11639, 464, 1438, 286, 262, 2746, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 27432, 3256, 2099, 28, 2536, 11, 4277, 28, 1911, 14, 2749, 8610, 62, 34, 4503, 46, 14, 27432, 14, 1600, 1037, 11639, 464, 8619, 286, 262, 4512, 9483, 7268, 262, 4808, 34574, 602, 13, 66, 25634, 13, 17752, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 7959, 3256, 2099, 28, 2536, 11, 4277, 28, 1911, 14, 2749, 8610, 62, 34, 4503, 46, 14, 12102, 14, 1600, 1037, 11639, 464, 8619, 286, 262, 1614, 9483, 7268, 262, 4808, 34574, 602, 13, 66, 25634, 13, 17752, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 9288, 3256, 2099, 28, 2536, 11, 4277, 28, 1911, 14, 2749, 8610, 62, 34, 4503, 46, 14, 9288, 14, 1600, 1037, 11639, 464, 8619, 286, 262, 1332, 9483, 7268, 262, 4808, 34574, 602, 13, 66, 25634, 13, 17752, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 22915, 3256, 2099, 28, 2536, 11, 4277, 28, 1911, 14, 448, 14, 1600, 1037, 11639, 464, 5072, 8619, 286, 262, 2746, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 538, 5374, 82, 3256, 2099, 28, 600, 11, 4277, 28, 16, 11, 1037, 11639, 15057, 286, 4551, 5374, 82, 11537, 201, 198, 48610, 13, 2860, 62, 49140, 10786, 438, 43501, 62, 7857, 3256, 2099, 28, 600, 11, 4277, 28, 19, 11, 1037, 11639, 33, 963, 2546, 11537, 201, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 220, 201, 198, 201, 198, 71, 1018, 2667, 2550, 62, 19849, 796, 366, 19024, 14, 15255, 81, 12, 411, 3262, 12, 1120, 1, 201, 198, 2, 46292, 2550, 62, 19849, 796, 366, 19024, 14, 15255, 81, 12, 411, 3262, 12, 8784, 1, 201, 198, 201, 198, 2, 16835, 262, 2746, 201, 198, 2213, 10613, 796, 9515, 11242, 3213, 2898, 10613, 7, 201, 198, 197, 19849, 62, 3672, 796, 26498, 13, 3672, 11, 197, 201, 198, 197, 22915, 62, 15908, 796, 26498, 13, 22915, 11, 201, 198, 197, 201, 198, 197, 27432, 62, 6978, 796, 26498, 13, 27432, 11, 201, 198, 197, 7959, 62, 6978, 220, 220, 796, 26498, 13, 7959, 11, 201, 198, 197, 9288, 62, 6978, 220, 796, 26498, 13, 9288, 11, 201, 198, 197, 201, 198, 197, 19849, 62, 6978, 796, 46292, 2550, 62, 19849, 11, 201, 198, 201, 198, 197, 9806, 62, 538, 5374, 82, 796, 26498, 13, 538, 5374, 82, 11, 201, 198, 197, 43501, 62, 7857, 796, 26498, 13, 43501, 62, 7857, 11, 201, 198, 8, 201, 198, 201, 198, 2, 6208, 319, 257, 2060, 2939, 201, 198, 2213, 10613, 13, 33407, 7, 9600, 62, 6978, 11639, 40720, 40720, 40720, 82, 12629, 14, 18041, 62, 46342, 14, 3682, 13, 9479, 11537 ]
2.834933
521
""" .. module:: PolyChord :synopsis: Interface the PolyChord program with MontePython This implementation relies heavily on the existing Python wrapper for PolyChord, called PyPolyChord, which comes with the PolyChord code. To install PolyChord, download it from `its GitHub repo <https://github.com/PolyChord/PolyChordLite>`_ and follow `these instructions <https://github.com/PolyChord/PolyChordLite#python-likelihoods-pypolychord>`_. The main routine, :func:`run`, truly interfaces the two codes. It takes for input the cosmological module, data and command line. It then defines internally two functions, :func:`prior() <PolyChord.prior>` and :func:`loglike` that will serve as input for the run function of PyPolyChord. .. moduleauthor:: Will Handley <[email protected]> """ from __future__ import print_function from pypolychord import run_polychord as polychord_run from pypolychord.settings import PolyChordSettings as PC_Settings import numpy as np import os #from copy import copy import warnings import io_mp import sampler # Data on file names and PolyChord options, that may be called by other modules # PolyChord subfolder and name separator PC_subfolder = 'PC' name_rejected = '_dead-birth.txt' # rejected points name_post = '.txt' # accepted points name_stats = '.stats' # summarized information, explained # New files name_paramnames = '.paramnames' # in the PC/ subfolder name_arguments = '.arguments' # in the PC/ subfolder name_chain_acc = 'chain_PC__accepted.txt' # in the chain root folder name_chain_rej = 'chain_PC__rejected.txt' # in the chain root folder # Log.param name (ideally, we should import this one from somewhere else) name_logparam = 'log.param' # PolyChord option prefix PC_prefix = 'PC_' # User-defined arguments of PyPolyChord, and 'argparse' keywords # First: basic string -> bool type conversion: str2bool = lambda s: True if s.lower() == 'true' else False PC_user_arguments = { 'nlive': {'type': int, 'help':( '(Default: nDims*25)\n' 'The number of live points.\n' 'Increasing nlive increases the accuracy of posteriors and evidences,\n' 'and proportionally increases runtime ~ O(nlive).' ) }, 'num_repeats' : {'type': int, 'help':( '(Default: nDims*5)\n' 'The number of slice slice-sampling steps to generate a new point.\n' 'Increasing num_repeats increases the reliability of the algorithm.\n' 'Typically\n' '* for reliable evidences need num_repeats ~ O(5*nDims).\n' '* for reliable posteriors need num_repeats ~ O(nDims)' ) }, 'do_clustering' : {'type': str2bool, 'help':( '(Default: True)\n' 'Whether or not to use clustering at run time.' ) }, 'feedback' : {'type': int, 'help':( '(Default: 1)\n' 'How much command line feedback to give\n' '[0,1,2,3]' ) }, 'precision_criterion' : {'type': float, 'help':( '(Default: 0.001)\n' 'Termination criterion. Nested sampling terminates when the evidence\n' 'contained in the live points is precision_criterion fraction of the\n' 'total evidence.' ) }, 'max_ndead' : {'type': int, 'help':( '(Default: -1)\n' 'Alternative termination criterion. Stop after max_ndead iterations.\n' 'Set negative to ignore (default).' ) }, 'boost_posterior' : {'type': float, 'help':( '(Default: 0.0)\n' 'Increase the number of posterior samples produced. This can be set\n' 'arbitrarily high, but you won\'t be able to boost by more than\n' 'num_repeats\n' 'Warning: in high dimensions PolyChord produces _a lot_ of posterior\n' 'samples. You probably don\'t need to change this' ) }, 'posteriors' : {'type': str2bool, 'help':( '(Default: True)\n' 'Produce (weighted) posterior samples. Stored in <root>.txt.' ) }, 'equals' : {'type': str2bool, 'help':( '(Default: True)\n' 'Produce (equally weighted) posterior samples. Stored in\n' '<root>_equal_weights.txt' ) }, 'cluster_posteriors' : {'type': str2bool, 'help':( '(Default: True)\n' 'Produce posterior files for each cluster?\n' 'Does nothing if do_clustering=False.' ) }, 'write_resume' : {'type': str2bool, 'help':( '(Default: True)\n' 'Create a resume file.' ) }, 'read_resume' : {'type': str2bool, 'help':( '(Default: True)\n' 'Read from resume file.' ) }, 'write_stats' : {'type': str2bool, 'help':( '(Default: True)\n' 'Write an evidence statistics file.' ) }, 'write_live' : {'type': str2bool, 'help':( '(Default: True)\n' 'Write a live points file.' ) }, 'write_dead' : {'type': str2bool, 'help':( '(Default: True)\n' 'Write a dead points file.' ) }, 'compression_factor' : {'type': float, 'help':( '(Default: exp(-1))\n' 'How often to update the files and do clustering.' ) } } # Automatically-defined arguments of PyMultiNest, type specified PC_auto_arguments = { 'file_root': {'type': str}, 'base_dir': {'type': str}, 'grade_dims': {'type': list}, 'grade_frac': {'type': list} } # FK: changes for 2cosmos capability def initialise(cosmo1, cosmo2, data, command_line): """ Main call to prepare the information for the MultiNest run. """ # Convenience variables varying_param_names = data.get_mcmc_parameters(['varying']) derived_param_names = data.get_mcmc_parameters(['derived']) nslow = len(data.get_mcmc_parameters(['varying', 'cosmo1'])) + len(data.get_mcmc_parameters(['varying', 'cosmo2'])) nfast = len(data.get_mcmc_parameters(['varying', 'nuisance'])) # Check that all the priors are flat and that all the parameters are bound is_flat, is_bound = sampler.check_flat_bound_priors( data.mcmc_parameters, varying_param_names) if not is_flat: raise io_mp.ConfigurationError( 'Nested Sampling with PolyChord is only possible ' + 'with flat priors. Sorry!') if not is_bound: raise io_mp.ConfigurationError( 'Nested Sampling with PolyChord is only possible ' + 'for bound parameters. Set reasonable bounds for them in the ' + '".param" file.') # If absent, create the sub-folder PC PC_folder = os.path.join(command_line.folder, PC_subfolder) if not os.path.exists(PC_folder): os.makedirs(PC_folder) # If absent, create the sub-folder PC/clusters PC_clusters_folder = os.path.join(PC_folder,'clusters') if not os.path.exists(PC_clusters_folder): os.makedirs(PC_clusters_folder) # Use chain name as a base name for PolyChord files chain_name = [a for a in command_line.folder.split(os.path.sep) if a][-1] base_name = os.path.join(PC_folder, chain_name) # Prepare arguments for PyPolyChord # -- Automatic arguments data.PC_arguments['file_root'] = chain_name data.PC_arguments['base_dir'] = PC_folder data.PC_arguments['grade_dims'] = [] data.PC_arguments['grade_frac'] = [] if nslow: data.PC_arguments['grade_dims'].append(nslow) data.PC_arguments['grade_frac'].append(0.75) if nfast: data.PC_arguments['grade_dims'].append(nfast) data.PC_arguments['grade_frac'].append(0.25) data.PC_arguments['num_repeats'] = data.PC_arguments['grade_dims'][0] * 2 # -- User-defined arguments for arg in PC_user_arguments: value = getattr(command_line, PC_prefix+arg) if value != -1: data.PC_arguments[arg] = value # else: don't define them -> use PyPolyChord default value data.PC_param_names = varying_param_names # Write the PolyChord arguments and parameter ordering with open(base_name+name_arguments, 'w') as afile: for arg in data.PC_arguments: afile.write(' = '.join( [str(arg), str(data.PC_arguments[arg])])) afile.write('\n') with open(base_name+name_paramnames, 'w') as pfile: pfile.write('\n'.join(data.PC_param_names+derived_param_names)) # FK: changes for 2cosmos capability def run(cosmo1, cosmo2, data, command_line): """ Main call to run the PolyChord sampler. Note the unusual set-up here, with the two following functions, `prior` and `loglike` having their docstrings written in the encompassing function. This trick was necessary as PolyChord required these two functions to be defined with a given number of parameters, so we could not add `data`. By defining them inside the run function, this problem was by-passed. .. function:: prior Generate the prior function for PolyChord It should transform the input unit cube into the parameter cube. This function actually wraps the method :func:`map_from_unit_interval() <prior.Prior.map_from_unit_interval>` of the class :class:`Prior <prior.Prior>`. Parameters ---------- cube : list Contains the current point in unit parameter space that has been selected within the PolyChord part. Returns ------- theta : list The transformed physical parameters .. function:: loglike Generate the Likelihood function for PolyChord Parameters ---------- theta : array Contains the current point in the correct parameter space after transformation from :func:`prior`. Returns ------- logl : float The loglikelihood of theta phi : list The derived parameters """ # Convenience variables derived_param_names = data.get_mcmc_parameters(['derived']) nDims = len(data.PC_param_names) nDerived = len(derived_param_names) # Function giving the prior probability def prior(hypercube): """ Please see the encompassing function docstring """ theta = [0.0] * nDims for i, name in enumerate(data.PC_param_names): theta[i] = data.mcmc_parameters[name]['prior']\ .map_from_unit_interval(hypercube[i]) return theta # Function giving the likelihood probability def loglike(theta): """ Please see the encompassing function docstring """ # Updates values: theta --> data try: data.check_for_slow_step(theta) except KeyError: pass for i, name in enumerate(data.PC_param_names): data.mcmc_parameters[name]['current'] = theta[i] data.update_cosmo1_arguments() data.update_cosmo2_arguments() # Compute likelihood #logl = sampler.compute_lkl(cosmo1, cosmo2, data)[0,0] # FK: index to scalar variable error... logl = sampler.compute_lkl(cosmo1, cosmo2, data) # Compute derived parameters and pass them back phi = [0.0] * nDerived for i, name in enumerate(derived_param_names): phi[i] = float(data.mcmc_parameters[name]['current']) return logl, phi # Pass over the settings settings = PC_Settings(nDims,nDerived) for arg, val in data.PC_arguments.iteritems(): setattr(settings, arg, val) # Launch PolyChord polychord_run(loglike, nDims, nDerived, settings, prior) # FK: write out the warning message below also as a file in the PC-subfolder # so that there's a clear indication for convergence instead of just looking at # the STDOUT-log! text = 'The sampling with PolyChord is done.\n' + \ 'You can now analyse the output calling Monte Python ' + \ 'with the -info flag in the chain_name/PC subfolder.' warnings.warn(text) fname = os.path.join(data.PC_arguments['base_dir'], 'convergence.txt') with open(fname, 'w') as afile: afile.write(text) def from_PC_output_to_chains(folder): """ Translate the output of PolyChord into readable output for Monte Python This routine will be called by the module :mod:`analyze`. If mode separation has been performed (i.e., multimodal=True), it creates 'mode_#' subfolders containing a chain file with the corresponding samples and a 'log.param' file in which the starting point is the best fit of the nested sampling, and the same for the sigma. The minimum and maximum value are cropped to the extent of the modes in the case of the parameters used for the mode separation, and preserved in the rest. The mono-modal case is treated as a special case of the multi-modal one. """ chain_name = [a for a in folder.split(os.path.sep) if a][-2] base_name = os.path.join(folder, chain_name) # Read the arguments of the PC run # This file is intended to be machine generated: no "#" ignored or tests # done PC_arguments = {} with open(base_name+name_arguments, 'r') as afile: for line in afile: arg = line.split('=')[0].strip() value = line.split('=')[1].strip() arg_type = (PC_user_arguments[arg]['type'] if arg in PC_user_arguments else PC_auto_arguments[arg]['type']) value = arg_type(value) if arg == 'clustering_params': value = [a.strip() for a in value.split()] PC_arguments[arg] = value multimodal = PC_arguments.get('multimodal') # Read parameters order PC_param_names = np.loadtxt(base_name+name_paramnames, dtype='str').tolist() # In multimodal case, if there were no clustering params specified, ALL are if multimodal and not PC_arguments.get('clustering_params'): PC_arguments['clustering_params'] = PC_param_names # Extract the necessary information from the log.param file # Including line numbers of the parameters with open(os.path.join(folder, '..', name_logparam), 'r') as log_file: log_lines = log_file.readlines() # Number of the lines to be changed param_names = [] param_lines = {} param_data = {} pre, pos = 'data.parameters[', ']' for i, line in enumerate(log_lines): if pre in line: if line.strip()[0] == '#': continue # These lines allow PolyChord to deal with fixed nuisance parameters sigma = float(line.split(',')[3].strip()) if sigma == 0.0: #If derived parameter, keep it, else discard it: paramtype = line.split(',')[5].strip()[1:-2] if paramtype != 'derived': continue param_name = line.split('=')[0][line.find(pre)+len(pre): line.find(pos)] param_name = param_name.replace('"','').replace("'",'').strip() param_names.append(param_name) param_data[param_name] = [a.strip() for a in line.split('=')[1].strip('[]').split(',')] param_lines[param_name] = i # Create the mapping from PC ordering to log.param ordering columns_reorder = [PC_param_names.index(param) for param in param_names] # Open the 'stats.dat' file to see what happened and retrieve some info stats_file = open(base_name+name_stats, 'r') lines = stats_file.readlines() stats_file.close() for line in lines: if 'log(Z) =' in line: global_logZ, global_logZ_err = [float(a.strip()) for a in line.split('=')[1].split('+/-')] # Prepare the accepted-points file -- modes are separated by 2 line breaks accepted_name = base_name + name_post data = np.loadtxt(accepted_name) data[:, 1] = data[:, 1] / 2. np.savetxt(os.path.join(folder, '..', name_chain_acc), data, fmt='%.6e')
[ 37811, 198, 492, 8265, 3712, 12280, 1925, 585, 198, 220, 220, 220, 1058, 28869, 24608, 25, 26491, 262, 12280, 1925, 585, 1430, 351, 22489, 37906, 198, 198, 1212, 7822, 16507, 7272, 319, 262, 4683, 11361, 29908, 329, 198, 34220, 1925, 585, 11, 1444, 9485, 34220, 1925, 585, 11, 543, 2058, 351, 262, 12280, 1925, 585, 2438, 13, 198, 198, 2514, 2721, 12280, 1925, 585, 11, 4321, 340, 422, 198, 63, 896, 21722, 29924, 1279, 5450, 1378, 12567, 13, 785, 14, 34220, 1925, 585, 14, 34220, 1925, 585, 43, 578, 29, 63, 62, 198, 392, 1061, 4600, 27218, 7729, 1279, 5450, 1378, 12567, 13, 785, 14, 34220, 1925, 585, 14, 34220, 1925, 585, 43, 578, 2, 29412, 12, 2339, 11935, 82, 12, 79, 4464, 3366, 354, 585, 29, 63, 44807, 198, 198, 464, 1388, 8027, 11, 1058, 20786, 25, 63, 5143, 47671, 4988, 20314, 262, 734, 12416, 13, 632, 2753, 329, 198, 15414, 262, 8615, 76, 2770, 8265, 11, 1366, 290, 3141, 1627, 13, 632, 788, 15738, 198, 23124, 453, 734, 5499, 11, 1058, 20786, 25, 63, 3448, 273, 3419, 1279, 34220, 1925, 585, 13, 3448, 273, 29, 63, 290, 198, 25, 20786, 25, 63, 6404, 2339, 63, 326, 481, 4691, 355, 5128, 329, 262, 1057, 2163, 286, 9485, 34220, 1925, 585, 13, 198, 198, 492, 8265, 9800, 3712, 2561, 7157, 1636, 1279, 1929, 21719, 31, 20991, 13, 330, 13, 2724, 29, 198, 37811, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 6738, 279, 4464, 3366, 354, 585, 1330, 1057, 62, 35428, 354, 585, 355, 7514, 354, 585, 62, 5143, 198, 6738, 279, 4464, 3366, 354, 585, 13, 33692, 1330, 12280, 1925, 585, 26232, 355, 4217, 62, 26232, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 28686, 198, 2, 6738, 4866, 1330, 4866, 198, 11748, 14601, 198, 11748, 33245, 62, 3149, 198, 11748, 6072, 20053, 198, 198, 2, 6060, 319, 2393, 3891, 290, 12280, 1925, 585, 3689, 11, 326, 743, 307, 1444, 416, 584, 13103, 198, 198, 2, 12280, 1925, 585, 850, 43551, 290, 1438, 2880, 1352, 198, 5662, 62, 7266, 43551, 220, 220, 220, 796, 705, 5662, 6, 198, 198, 3672, 62, 260, 35408, 220, 220, 796, 705, 62, 25124, 12, 24280, 13, 14116, 6, 220, 220, 220, 220, 220, 220, 220, 1303, 8606, 2173, 198, 3672, 62, 7353, 220, 220, 220, 220, 220, 220, 796, 45302, 14116, 6, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6292, 2173, 198, 3672, 62, 34242, 220, 220, 220, 220, 220, 796, 45302, 34242, 6, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31880, 1321, 11, 4893, 198, 198, 2, 968, 3696, 198, 3672, 62, 17143, 14933, 796, 45302, 17143, 14933, 6, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 287, 262, 4217, 14, 850, 43551, 198, 3672, 62, 853, 2886, 220, 796, 45302, 853, 2886, 6, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 287, 262, 4217, 14, 850, 43551, 198, 3672, 62, 7983, 62, 4134, 220, 796, 705, 7983, 62, 5662, 834, 13635, 276, 13, 14116, 6, 1303, 287, 262, 6333, 6808, 9483, 198, 3672, 62, 7983, 62, 260, 73, 220, 796, 705, 7983, 62, 5662, 834, 260, 35408, 13, 14116, 6, 1303, 287, 262, 6333, 6808, 9483, 198, 2, 5972, 13, 17143, 1438, 357, 485, 453, 11, 356, 815, 1330, 428, 530, 422, 7382, 2073, 8, 198, 3672, 62, 6404, 17143, 796, 705, 6404, 13, 17143, 6, 198, 198, 2, 12280, 1925, 585, 3038, 21231, 198, 5662, 62, 40290, 220, 220, 220, 220, 220, 220, 796, 705, 5662, 62, 6, 198, 2, 11787, 12, 23211, 7159, 286, 9485, 34220, 1925, 585, 11, 290, 705, 853, 29572, 6, 26286, 198, 2, 3274, 25, 4096, 4731, 4613, 20512, 2099, 11315, 25, 198, 2536, 17, 30388, 796, 37456, 264, 25, 6407, 611, 264, 13, 21037, 3419, 6624, 705, 7942, 6, 2073, 10352, 198, 5662, 62, 7220, 62, 853, 2886, 796, 1391, 198, 220, 220, 220, 705, 77, 12583, 10354, 198, 220, 220, 220, 1391, 6, 4906, 10354, 493, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 299, 35, 12078, 9, 1495, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 464, 1271, 286, 2107, 2173, 13, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15562, 2313, 299, 12583, 5732, 262, 9922, 286, 11968, 12706, 290, 25568, 3007, 11, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 392, 9823, 453, 5732, 19124, 5299, 440, 7, 77, 12583, 737, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 22510, 62, 45956, 1381, 6, 1058, 198, 220, 220, 220, 1391, 6, 4906, 10354, 493, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 299, 35, 12078, 9, 20, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 464, 1271, 286, 16416, 16416, 12, 37687, 11347, 4831, 284, 7716, 257, 649, 966, 13, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15562, 2313, 997, 62, 45956, 1381, 5732, 262, 17843, 286, 262, 11862, 13, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 49321, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9, 329, 9314, 25568, 3007, 761, 997, 62, 45956, 1381, 5299, 440, 7, 20, 9, 77, 35, 12078, 737, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9, 329, 9314, 11968, 12706, 761, 997, 62, 45956, 1381, 5299, 440, 7, 77, 35, 12078, 33047, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 4598, 62, 565, 436, 1586, 6, 1058, 198, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15354, 393, 407, 284, 779, 32966, 1586, 379, 1057, 640, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 12363, 1891, 6, 1058, 198, 220, 220, 220, 1391, 6, 4906, 10354, 493, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 352, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2437, 881, 3141, 1627, 7538, 284, 1577, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 44438, 15, 11, 16, 11, 17, 11, 18, 49946, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 3866, 16005, 62, 22213, 28019, 6, 1058, 198, 220, 220, 220, 1391, 6, 4906, 10354, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 657, 13, 8298, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15156, 17928, 34054, 13, 399, 7287, 19232, 5651, 689, 618, 262, 2370, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 45964, 287, 262, 2107, 2173, 318, 15440, 62, 22213, 28019, 13390, 286, 262, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 23350, 2370, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 9806, 62, 358, 1329, 6, 1058, 198, 220, 220, 220, 1391, 6, 4906, 10354, 493, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 532, 16, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 49788, 19883, 34054, 13, 13707, 706, 3509, 62, 358, 1329, 34820, 13, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7248, 4633, 284, 8856, 357, 12286, 737, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 39521, 62, 79, 6197, 1504, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 657, 13, 15, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 46890, 262, 1271, 286, 34319, 8405, 4635, 13, 220, 770, 460, 307, 900, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 283, 2545, 39000, 1029, 11, 475, 345, 1839, 43054, 83, 307, 1498, 284, 5750, 416, 517, 621, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 22510, 62, 45956, 1381, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 20361, 25, 287, 1029, 15225, 12280, 1925, 585, 11073, 4808, 64, 1256, 62, 286, 34319, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 82, 12629, 13, 921, 2192, 836, 43054, 83, 761, 284, 1487, 428, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 79, 6197, 12706, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 11547, 344, 357, 6551, 276, 8, 34319, 8405, 13, 520, 1850, 287, 1279, 15763, 28401, 14116, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 4853, 874, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 11547, 344, 357, 4853, 453, 26356, 8, 34319, 8405, 13, 520, 1850, 287, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 27, 15763, 29, 62, 40496, 62, 43775, 13, 14116, 6, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 565, 5819, 62, 79, 6197, 12706, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 11547, 344, 34319, 3696, 329, 1123, 13946, 30, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 13921, 2147, 611, 466, 62, 565, 436, 1586, 28, 25101, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 13564, 62, 411, 2454, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16447, 257, 15294, 2393, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 961, 62, 411, 2454, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 5569, 422, 15294, 2393, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 13564, 62, 34242, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16594, 281, 2370, 7869, 2393, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 13564, 62, 12583, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16594, 257, 2107, 2173, 2393, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 13564, 62, 25124, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 965, 17, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 6407, 19415, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16594, 257, 2636, 2173, 2393, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 8964, 628, 220, 220, 220, 705, 5589, 2234, 62, 31412, 6, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 6, 4906, 10354, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16794, 10354, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29513, 19463, 25, 1033, 32590, 16, 4008, 59, 77, 6, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2437, 1690, 284, 4296, 262, 3696, 290, 466, 32966, 1586, 2637, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1782, 198, 220, 220, 220, 1782, 628, 198, 2, 17406, 4142, 12, 23211, 7159, 286, 9485, 29800, 45, 395, 11, 2099, 7368, 198, 5662, 62, 23736, 62, 853, 2886, 796, 1391, 198, 220, 220, 220, 705, 7753, 62, 15763, 10354, 1391, 6, 4906, 10354, 965, 5512, 198, 220, 220, 220, 705, 8692, 62, 15908, 10354, 1391, 6, 4906, 10354, 965, 5512, 198, 220, 220, 220, 705, 9526, 62, 67, 12078, 10354, 1391, 6, 4906, 10354, 1351, 5512, 198, 220, 220, 220, 705, 9526, 62, 31944, 10354, 1391, 6, 4906, 10354, 1351, 92, 198, 220, 220, 220, 1782, 628, 198, 2, 376, 42, 25, 2458, 329, 362, 6966, 16785, 12971, 198, 4299, 4238, 786, 7, 6966, 5908, 16, 11, 8615, 5908, 17, 11, 1366, 11, 3141, 62, 1370, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8774, 869, 284, 8335, 262, 1321, 329, 262, 15237, 45, 395, 1057, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 1482, 574, 1240, 9633, 198, 220, 220, 220, 15874, 62, 17143, 62, 14933, 796, 1366, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 85, 560, 278, 6, 12962, 198, 220, 220, 220, 10944, 62, 17143, 62, 14933, 796, 1366, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 34631, 6, 12962, 198, 220, 220, 220, 299, 38246, 796, 18896, 7, 7890, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 85, 560, 278, 3256, 705, 6966, 5908, 16, 20520, 4008, 1343, 18896, 7, 7890, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 85, 560, 278, 3256, 705, 6966, 5908, 17, 20520, 4008, 198, 220, 220, 220, 299, 7217, 796, 18896, 7, 7890, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 85, 560, 278, 3256, 705, 28803, 31872, 20520, 4008, 628, 220, 220, 220, 1303, 6822, 326, 477, 262, 1293, 669, 389, 6228, 290, 326, 477, 262, 10007, 389, 5421, 198, 220, 220, 220, 318, 62, 38568, 11, 318, 62, 7784, 796, 6072, 20053, 13, 9122, 62, 38568, 62, 7784, 62, 3448, 669, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 76, 11215, 66, 62, 17143, 7307, 11, 15874, 62, 17143, 62, 14933, 8, 198, 220, 220, 220, 611, 407, 318, 62, 38568, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 33245, 62, 3149, 13, 38149, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 45, 7287, 3409, 11347, 351, 12280, 1925, 585, 318, 691, 1744, 705, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 4480, 6228, 1293, 669, 13, 19061, 0, 11537, 198, 220, 220, 220, 611, 407, 318, 62, 7784, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 33245, 62, 3149, 13, 38149, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 45, 7287, 3409, 11347, 351, 12280, 1925, 585, 318, 691, 1744, 705, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1640, 5421, 10007, 13, 5345, 6397, 22303, 329, 606, 287, 262, 705, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1911, 17143, 1, 2393, 2637, 8, 628, 220, 220, 220, 1303, 1002, 13717, 11, 2251, 262, 850, 12, 43551, 4217, 198, 220, 220, 220, 4217, 62, 43551, 796, 28686, 13, 6978, 13, 22179, 7, 21812, 62, 1370, 13, 43551, 11, 4217, 62, 7266, 43551, 8, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 5662, 62, 43551, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 5662, 62, 43551, 8, 628, 220, 220, 220, 1303, 1002, 13717, 11, 2251, 262, 850, 12, 43551, 4217, 14, 565, 13654, 198, 220, 220, 220, 4217, 62, 565, 13654, 62, 43551, 796, 28686, 13, 6978, 13, 22179, 7, 5662, 62, 43551, 4032, 565, 13654, 11537, 198, 220, 220, 220, 611, 407, 28686, 13, 6978, 13, 1069, 1023, 7, 5662, 62, 565, 13654, 62, 43551, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 5662, 62, 565, 13654, 62, 43551, 8, 628, 220, 220, 220, 1303, 5765, 6333, 1438, 355, 257, 2779, 1438, 329, 12280, 1925, 585, 3696, 198, 220, 220, 220, 6333, 62, 3672, 796, 685, 64, 329, 257, 287, 3141, 62, 1370, 13, 43551, 13, 35312, 7, 418, 13, 6978, 13, 325, 79, 8, 611, 257, 7131, 12, 16, 60, 198, 220, 220, 220, 2779, 62, 3672, 796, 28686, 13, 6978, 13, 22179, 7, 5662, 62, 43551, 11, 6333, 62, 3672, 8, 628, 220, 220, 220, 1303, 43426, 7159, 329, 9485, 34220, 1925, 585, 198, 220, 220, 220, 1303, 1377, 30199, 7159, 198, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 7753, 62, 15763, 20520, 796, 6333, 62, 3672, 198, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 8692, 62, 15908, 20520, 796, 4217, 62, 43551, 198, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 67, 12078, 20520, 796, 17635, 198, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 31944, 20520, 796, 17635, 198, 220, 220, 220, 611, 299, 38246, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 67, 12078, 6, 4083, 33295, 7, 5907, 9319, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 31944, 6, 4083, 33295, 7, 15, 13, 2425, 8, 198, 220, 220, 220, 611, 299, 7217, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 67, 12078, 6, 4083, 33295, 7, 77, 7217, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 31944, 6, 4083, 33295, 7, 15, 13, 1495, 8, 628, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 17816, 22510, 62, 45956, 1381, 20520, 796, 1366, 13, 5662, 62, 853, 2886, 17816, 9526, 62, 67, 12078, 6, 7131, 15, 60, 1635, 362, 628, 220, 220, 220, 1303, 1377, 11787, 12, 23211, 7159, 198, 220, 220, 220, 329, 1822, 287, 4217, 62, 7220, 62, 853, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 651, 35226, 7, 21812, 62, 1370, 11, 4217, 62, 40290, 10, 853, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1988, 14512, 532, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 5662, 62, 853, 2886, 58, 853, 60, 796, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2073, 25, 836, 470, 8160, 606, 4613, 779, 9485, 34220, 1925, 585, 4277, 1988, 628, 220, 220, 220, 1366, 13, 5662, 62, 17143, 62, 14933, 796, 15874, 62, 17143, 62, 14933, 628, 220, 220, 220, 1303, 19430, 262, 12280, 1925, 585, 7159, 290, 11507, 16216, 198, 220, 220, 220, 351, 1280, 7, 8692, 62, 3672, 10, 3672, 62, 853, 2886, 11, 705, 86, 11537, 355, 6580, 576, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1822, 287, 1366, 13, 5662, 62, 853, 2886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6580, 576, 13, 13564, 10786, 796, 45302, 22179, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 2536, 7, 853, 828, 965, 7, 7890, 13, 5662, 62, 853, 2886, 58, 853, 12962, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6580, 576, 13, 13564, 10786, 59, 77, 11537, 198, 220, 220, 220, 351, 1280, 7, 8692, 62, 3672, 10, 3672, 62, 17143, 14933, 11, 705, 86, 11537, 355, 279, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 279, 7753, 13, 13564, 10786, 59, 77, 4458, 22179, 7, 7890, 13, 5662, 62, 17143, 62, 14933, 10, 34631, 62, 17143, 62, 14933, 4008, 628, 198, 2, 376, 42, 25, 2458, 329, 362, 6966, 16785, 12971, 198, 4299, 1057, 7, 6966, 5908, 16, 11, 8615, 5908, 17, 11, 1366, 11, 3141, 62, 1370, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8774, 869, 284, 1057, 262, 12280, 1925, 585, 6072, 20053, 13, 628, 220, 220, 220, 5740, 262, 8468, 900, 12, 929, 994, 11, 351, 262, 734, 1708, 5499, 11, 4600, 3448, 273, 63, 290, 198, 220, 220, 220, 4600, 6404, 2339, 63, 1719, 511, 2205, 37336, 3194, 287, 262, 20504, 19696, 2163, 13, 198, 220, 220, 220, 770, 6908, 373, 3306, 355, 12280, 1925, 585, 2672, 777, 734, 5499, 284, 307, 198, 220, 220, 220, 5447, 351, 257, 1813, 1271, 286, 10007, 11, 523, 356, 714, 407, 751, 4600, 7890, 44646, 2750, 198, 220, 220, 220, 16215, 606, 2641, 262, 1057, 2163, 11, 428, 1917, 373, 416, 12, 6603, 276, 13, 628, 220, 220, 220, 11485, 2163, 3712, 3161, 628, 220, 220, 220, 220, 220, 220, 220, 2980, 378, 262, 3161, 2163, 329, 12280, 1925, 585, 628, 220, 220, 220, 220, 220, 220, 220, 632, 815, 6121, 262, 5128, 4326, 23441, 656, 262, 11507, 23441, 13, 770, 198, 220, 220, 220, 220, 220, 220, 220, 2163, 1682, 27521, 262, 2446, 1058, 20786, 25, 63, 8899, 62, 6738, 62, 20850, 62, 3849, 2100, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 3448, 273, 13, 22442, 13, 8899, 62, 6738, 62, 20850, 62, 3849, 2100, 29, 63, 286, 262, 1398, 1058, 4871, 25, 63, 22442, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 3448, 273, 13, 22442, 29, 44646, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 23441, 1058, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49850, 262, 1459, 966, 287, 4326, 11507, 2272, 326, 468, 587, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6163, 1626, 262, 12280, 1925, 585, 636, 13, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 262, 8326, 1058, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 14434, 3518, 10007, 628, 198, 220, 220, 220, 11485, 2163, 3712, 2604, 2339, 628, 220, 220, 220, 220, 220, 220, 220, 2980, 378, 262, 4525, 11935, 2163, 329, 12280, 1925, 585, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 262, 8326, 1058, 7177, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49850, 262, 1459, 966, 287, 262, 3376, 11507, 2272, 706, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13389, 422, 1058, 20786, 25, 63, 3448, 273, 44646, 198, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 75, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 2604, 2339, 11935, 286, 262, 8326, 198, 220, 220, 220, 220, 220, 220, 220, 872, 72, 1058, 1351, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 10944, 10007, 628, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1482, 574, 1240, 9633, 198, 220, 220, 220, 10944, 62, 17143, 62, 14933, 796, 1366, 13, 1136, 62, 76, 11215, 66, 62, 17143, 7307, 7, 17816, 34631, 6, 12962, 198, 220, 220, 220, 299, 35, 12078, 796, 18896, 7, 7890, 13, 5662, 62, 17143, 62, 14933, 8, 198, 220, 220, 220, 299, 28532, 1572, 796, 18896, 7, 34631, 62, 17143, 62, 14933, 8, 628, 220, 220, 220, 1303, 15553, 3501, 262, 3161, 12867, 198, 220, 220, 220, 825, 3161, 7, 49229, 40296, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4222, 766, 262, 20504, 19696, 2163, 2205, 8841, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 262, 8326, 796, 685, 15, 13, 15, 60, 1635, 299, 35, 12078, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 1438, 287, 27056, 378, 7, 7890, 13, 5662, 62, 17143, 62, 14933, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 8326, 58, 72, 60, 796, 1366, 13, 76, 11215, 66, 62, 17143, 7307, 58, 3672, 7131, 6, 3448, 273, 20520, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 8899, 62, 6738, 62, 20850, 62, 3849, 2100, 7, 49229, 40296, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 262, 8326, 628, 220, 220, 220, 1303, 15553, 3501, 262, 14955, 12867, 198, 220, 220, 220, 825, 2604, 2339, 7, 1169, 8326, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4222, 766, 262, 20504, 19696, 2163, 2205, 8841, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 28090, 3815, 25, 262, 8326, 14610, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 9122, 62, 1640, 62, 38246, 62, 9662, 7, 1169, 8326, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7383, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 1438, 287, 27056, 378, 7, 7890, 13, 5662, 62, 17143, 62, 14933, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 76, 11215, 66, 62, 17143, 7307, 58, 3672, 7131, 6, 14421, 20520, 796, 262, 8326, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 19119, 62, 6966, 5908, 16, 62, 853, 2886, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 13, 19119, 62, 6966, 5908, 17, 62, 853, 2886, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3082, 1133, 14955, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6404, 75, 796, 6072, 20053, 13, 5589, 1133, 62, 75, 41582, 7, 6966, 5908, 16, 11, 8615, 5908, 17, 11, 1366, 38381, 15, 11, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 376, 42, 25, 6376, 284, 16578, 283, 7885, 4049, 986, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 75, 796, 6072, 20053, 13, 5589, 1133, 62, 75, 41582, 7, 6966, 5908, 16, 11, 8615, 5908, 17, 11, 1366, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3082, 1133, 10944, 10007, 290, 1208, 606, 736, 198, 220, 220, 220, 220, 220, 220, 220, 872, 72, 796, 685, 15, 13, 15, 60, 1635, 299, 28532, 1572, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 11, 1438, 287, 27056, 378, 7, 34631, 62, 17143, 62, 14933, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 872, 72, 58, 72, 60, 796, 12178, 7, 7890, 13, 76, 11215, 66, 62, 17143, 7307, 58, 3672, 7131, 6, 14421, 6, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2604, 75, 11, 872, 72, 628, 220, 220, 220, 1303, 6251, 625, 262, 6460, 198, 220, 220, 220, 6460, 796, 4217, 62, 26232, 7, 77, 35, 12078, 11, 77, 28532, 1572, 8, 198, 220, 220, 220, 329, 1822, 11, 1188, 287, 1366, 13, 5662, 62, 853, 2886, 13, 2676, 23814, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 900, 35226, 7, 33692, 11, 1822, 11, 1188, 8, 628, 220, 220, 220, 1303, 21225, 12280, 1925, 585, 198, 220, 220, 220, 7514, 354, 585, 62, 5143, 7, 6404, 2339, 11, 299, 35, 12078, 11, 299, 28532, 1572, 11, 6460, 11, 3161, 8, 628, 220, 220, 220, 1303, 376, 42, 25, 3551, 503, 262, 6509, 3275, 2174, 635, 355, 257, 2393, 287, 262, 4217, 12, 7266, 43551, 198, 220, 220, 220, 1303, 523, 326, 612, 338, 257, 1598, 12955, 329, 40826, 2427, 286, 655, 2045, 379, 198, 220, 220, 220, 1303, 262, 48571, 12425, 12, 6404, 0, 198, 220, 220, 220, 2420, 796, 705, 464, 19232, 351, 12280, 1925, 585, 318, 1760, 13, 59, 77, 6, 1343, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1639, 460, 783, 39552, 262, 5072, 4585, 22489, 11361, 705, 1343, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 4480, 262, 532, 10951, 6056, 287, 262, 6333, 62, 3672, 14, 5662, 850, 43551, 2637, 628, 220, 220, 220, 14601, 13, 40539, 7, 5239, 8, 628, 220, 220, 220, 277, 3672, 796, 28686, 13, 6978, 13, 22179, 7, 7890, 13, 5662, 62, 853, 2886, 17816, 8692, 62, 15908, 6, 4357, 705, 1102, 332, 12745, 13, 14116, 11537, 198, 220, 220, 220, 351, 1280, 7, 69, 3672, 11, 705, 86, 11537, 355, 6580, 576, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6580, 576, 13, 13564, 7, 5239, 8, 198, 198, 4299, 422, 62, 5662, 62, 22915, 62, 1462, 62, 38861, 7, 43551, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3602, 17660, 262, 5072, 286, 12280, 1925, 585, 656, 31744, 5072, 329, 22489, 11361, 628, 220, 220, 220, 770, 8027, 481, 307, 1444, 416, 262, 8265, 1058, 4666, 25, 63, 38200, 2736, 44646, 628, 220, 220, 220, 1002, 4235, 14139, 468, 587, 6157, 357, 72, 13, 68, 1539, 43104, 375, 282, 28, 17821, 828, 340, 8075, 198, 220, 220, 220, 705, 14171, 62, 2, 6, 850, 11379, 364, 7268, 257, 6333, 2393, 351, 262, 11188, 8405, 198, 220, 220, 220, 290, 257, 705, 6404, 13, 17143, 6, 2393, 287, 543, 262, 3599, 966, 318, 262, 1266, 4197, 286, 262, 198, 220, 220, 220, 28376, 19232, 11, 290, 262, 976, 329, 262, 264, 13495, 13, 383, 5288, 290, 5415, 1988, 198, 220, 220, 220, 389, 48998, 284, 262, 6287, 286, 262, 12881, 287, 262, 1339, 286, 262, 10007, 973, 198, 220, 220, 220, 329, 262, 4235, 14139, 11, 290, 17232, 287, 262, 1334, 13, 628, 220, 220, 220, 383, 33361, 12, 4666, 282, 1339, 318, 5716, 355, 257, 2041, 1339, 286, 262, 5021, 12, 4666, 282, 530, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 6333, 62, 3672, 796, 685, 64, 329, 257, 287, 9483, 13, 35312, 7, 418, 13, 6978, 13, 325, 79, 8, 611, 257, 7131, 12, 17, 60, 198, 220, 220, 220, 2779, 62, 3672, 796, 28686, 13, 6978, 13, 22179, 7, 43551, 11, 6333, 62, 3672, 8, 628, 220, 220, 220, 1303, 4149, 262, 7159, 286, 262, 4217, 1057, 198, 220, 220, 220, 1303, 770, 2393, 318, 5292, 284, 307, 4572, 7560, 25, 645, 25113, 1, 9514, 393, 5254, 198, 220, 220, 220, 1303, 1760, 198, 220, 220, 220, 4217, 62, 853, 2886, 796, 23884, 198, 220, 220, 220, 351, 1280, 7, 8692, 62, 3672, 10, 3672, 62, 853, 2886, 11, 705, 81, 11537, 355, 6580, 576, 25, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1627, 287, 6580, 576, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1822, 220, 220, 796, 1627, 13, 35312, 10786, 28, 11537, 58, 15, 4083, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 1627, 13, 35312, 10786, 28, 11537, 58, 16, 4083, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 4906, 796, 357, 5662, 62, 7220, 62, 853, 2886, 58, 853, 7131, 6, 4906, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1822, 287, 4217, 62, 7220, 62, 853, 2886, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4217, 62, 23736, 62, 853, 2886, 58, 853, 7131, 6, 4906, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 1822, 62, 4906, 7, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1822, 6624, 705, 565, 436, 1586, 62, 37266, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 796, 685, 64, 13, 36311, 3419, 329, 257, 287, 1988, 13, 35312, 3419, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4217, 62, 853, 2886, 58, 853, 60, 796, 1988, 198, 220, 220, 220, 43104, 375, 282, 796, 4217, 62, 853, 2886, 13, 1136, 10786, 16680, 320, 375, 282, 11537, 198, 220, 220, 220, 1303, 4149, 10007, 1502, 198, 220, 220, 220, 4217, 62, 17143, 62, 14933, 796, 45941, 13, 2220, 14116, 7, 8692, 62, 3672, 10, 3672, 62, 17143, 14933, 11, 288, 4906, 11639, 2536, 27691, 83, 349, 396, 3419, 198, 220, 220, 220, 1303, 554, 43104, 375, 282, 1339, 11, 611, 612, 547, 645, 32966, 1586, 42287, 7368, 11, 11096, 389, 198, 220, 220, 220, 611, 43104, 375, 282, 290, 407, 4217, 62, 853, 2886, 13, 1136, 10786, 565, 436, 1586, 62, 37266, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 4217, 62, 853, 2886, 17816, 565, 436, 1586, 62, 37266, 20520, 796, 4217, 62, 17143, 62, 14933, 628, 220, 220, 220, 1303, 29677, 262, 3306, 1321, 422, 262, 2604, 13, 17143, 2393, 198, 220, 220, 220, 1303, 41461, 1627, 3146, 286, 262, 10007, 198, 220, 220, 220, 351, 1280, 7, 418, 13, 6978, 13, 22179, 7, 43551, 11, 705, 492, 3256, 1438, 62, 6404, 17143, 828, 705, 81, 11537, 355, 2604, 62, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 62, 6615, 796, 2604, 62, 7753, 13, 961, 6615, 3419, 198, 220, 220, 220, 1303, 7913, 286, 262, 3951, 284, 307, 3421, 198, 220, 220, 220, 5772, 62, 14933, 796, 17635, 198, 220, 220, 220, 5772, 62, 6615, 796, 23884, 198, 220, 220, 220, 5772, 62, 7890, 220, 796, 23884, 198, 220, 220, 220, 662, 11, 1426, 796, 705, 7890, 13, 17143, 7307, 58, 3256, 705, 49946, 198, 220, 220, 220, 329, 1312, 11, 1627, 287, 27056, 378, 7, 6404, 62, 6615, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 662, 287, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1627, 13, 36311, 3419, 58, 15, 60, 6624, 705, 2, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2312, 3951, 1249, 12280, 1925, 585, 284, 1730, 351, 5969, 36212, 10007, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 13495, 796, 12178, 7, 1370, 13, 35312, 7, 3256, 11537, 58, 18, 4083, 36311, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 264, 13495, 6624, 657, 13, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1532, 10944, 11507, 11, 1394, 340, 11, 2073, 27537, 340, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 4906, 796, 1627, 13, 35312, 7, 3256, 11537, 58, 20, 4083, 36311, 3419, 58, 16, 21912, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5772, 4906, 14512, 705, 34631, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 3672, 796, 1627, 13, 35312, 10786, 28, 11537, 58, 15, 7131, 1370, 13, 19796, 7, 3866, 47762, 11925, 7, 3866, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 13, 19796, 7, 1930, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 3672, 796, 5772, 62, 3672, 13, 33491, 10786, 1, 3256, 7061, 737, 33491, 7203, 6, 1600, 7061, 737, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 14933, 13, 33295, 7, 17143, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 7890, 58, 17143, 62, 3672, 60, 796, 685, 64, 13, 36311, 3419, 329, 257, 287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 13, 35312, 10786, 28, 11537, 58, 16, 4083, 36311, 10786, 21737, 27691, 35312, 7, 3256, 11537, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5772, 62, 6615, 58, 17143, 62, 3672, 60, 796, 1312, 628, 220, 220, 220, 1303, 13610, 262, 16855, 422, 4217, 16216, 284, 2604, 13, 17143, 16216, 198, 220, 220, 220, 15180, 62, 260, 2875, 796, 685, 5662, 62, 17143, 62, 14933, 13, 9630, 7, 17143, 8, 329, 5772, 287, 5772, 62, 14933, 60, 628, 220, 220, 220, 1303, 4946, 262, 705, 34242, 13, 19608, 6, 2393, 284, 766, 644, 3022, 290, 19818, 617, 7508, 198, 220, 220, 220, 9756, 62, 7753, 796, 1280, 7, 8692, 62, 3672, 10, 3672, 62, 34242, 11, 705, 81, 11537, 198, 220, 220, 220, 3951, 796, 9756, 62, 7753, 13, 961, 6615, 3419, 198, 220, 220, 220, 9756, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 329, 1627, 287, 3951, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 6404, 7, 57, 8, 220, 220, 220, 220, 220, 220, 796, 6, 220, 287, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3298, 62, 6404, 57, 11, 3298, 62, 6404, 57, 62, 8056, 796, 685, 22468, 7, 64, 13, 36311, 28955, 329, 257, 287, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 13, 35312, 10786, 28, 11537, 58, 16, 4083, 35312, 10786, 10, 16327, 11537, 60, 628, 220, 220, 220, 1303, 43426, 262, 6292, 12, 13033, 2393, 1377, 12881, 389, 11266, 416, 362, 1627, 9457, 198, 220, 220, 220, 6292, 62, 3672, 796, 2779, 62, 3672, 1343, 1438, 62, 7353, 198, 220, 220, 220, 1366, 796, 45941, 13, 2220, 14116, 7, 13635, 276, 62, 3672, 8, 198, 220, 220, 220, 1366, 58, 45299, 352, 60, 220, 796, 1366, 58, 45299, 352, 60, 1220, 362, 13, 198, 220, 220, 220, 45941, 13, 21928, 14116, 7, 418, 13, 6978, 13, 22179, 7, 43551, 11, 705, 492, 3256, 1438, 62, 7983, 62, 4134, 828, 1366, 11, 46996, 11639, 7225, 21, 68, 11537, 198 ]
2.336811
7,093
import json from pyld import jsonld from services.proto import ldnorm_pb2_grpc from services.proto import ldnorm_pb2 as lpb2 from services.proto import general_pb2
[ 11748, 33918, 198, 6738, 12972, 335, 1330, 33918, 335, 198, 198, 6738, 2594, 13, 1676, 1462, 1330, 300, 67, 27237, 62, 40842, 17, 62, 2164, 14751, 198, 6738, 2594, 13, 1676, 1462, 1330, 300, 67, 27237, 62, 40842, 17, 355, 300, 40842, 17, 198, 6738, 2594, 13, 1676, 1462, 1330, 2276, 62, 40842, 17, 628 ]
3.018182
55
'''Conway's Game of Life See: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life This particular Game of Life is implemented as a two dimensional world populated with cells. ''' __author__ = '\n'.join(["Erik O'Shaughnessy", '[email protected]', 'https://github.com/JnyJny/GameOfLife']) __version__ = "0.1.3" from .cell import Cell as Cell from .world import OptimizedWorld as World from .world import OptimizedNumpyWorld as NumpyWorld from .patterns import Patterns __all__ = ['Cell', 'World', 'Patterns', 'tests', 'NumpyWorld']
[ 7061, 6, 3103, 1014, 338, 3776, 286, 5155, 198, 198, 6214, 25, 3740, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 3103, 1014, 4, 1983, 82, 62, 8777, 62, 1659, 62, 14662, 198, 198, 1212, 1948, 3776, 286, 5155, 318, 9177, 355, 257, 734, 38517, 198, 6894, 22331, 351, 4778, 13, 198, 7061, 6, 198, 198, 834, 9800, 834, 796, 705, 59, 77, 4458, 22179, 7, 14692, 36, 12602, 440, 6, 2484, 1567, 1108, 88, 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, 705, 263, 1134, 13, 3768, 1567, 1108, 88, 31, 14816, 13, 785, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 5450, 1378, 12567, 13, 785, 14, 41, 3281, 41, 3281, 14, 8777, 5189, 14662, 6, 12962, 198, 834, 9641, 834, 796, 366, 15, 13, 16, 13, 18, 1, 198, 198, 6738, 764, 3846, 1330, 12440, 355, 12440, 198, 6738, 764, 6894, 1330, 30011, 1143, 10603, 355, 2159, 198, 6738, 764, 6894, 1330, 30011, 1143, 45, 32152, 10603, 355, 399, 32152, 10603, 198, 6738, 764, 33279, 82, 1330, 47020, 628, 198, 834, 439, 834, 796, 37250, 28780, 3256, 705, 10603, 3256, 705, 47546, 82, 3256, 705, 41989, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 45, 32152, 10603, 20520, 198 ]
2.497942
243
""" The MIT License (MIT) Copyright (c) 2016 Stratos Goudelis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ import hashlib from cacher import Cacher from coinaddress import CoinAddress from cointransaction import CoinTransaction from mybitbank.libs import misc from mybitbank.libs.connections import connector class CoinAccount(object): ''' Class for an account ''' @property def provider_id(self): ''' Property for the provider id ''' return self.get('provider_id', None) def __getitem__(self, key): ''' Getter for dictionary-line behavior ''' if key == "addresses": return self.getAddresses() elif key == "last_activity": return self.getLastActivity() elif key == "currency_symbol": return self.getCurrencySymbol() elif key == "currency_code": return self.getCurrencyCode() elif key == 'identifier': return self.getIdentifier() account = getattr(self, '_account') return account.get(key, None) def __setitem__(self, key, value): ''' Setter for dictionary-line behavior ''' account = getattr(self, '_account') account[key] = value return setattr(self, '_account', account) def get(self, key, default=False): ''' Getter for dictionary-line behavior ''' if self._account.get(key, False): return self._account.get(key, False) else: return default def haskey(self, key): ''' Check the existence of key ''' if key in self._account.keys(): return True else: return False def getParamHash(self, param=""): ''' This function takes a string and calculates a sha224 hash out of it. It is used to hash the input parameters of functions/method in order to uniquely identify a cached result based only on the input parameters of the function/method call. ''' cache_hash = hashlib.sha224(param).hexdigest() return cache_hash def getIdentifier(self): ''' There is no unique identifier for an account in a xxxcoind daemon so lets make one. Hopefully the below hashing method will uniquely identify an account for us ''' unique_string = "provider_id=%s&name=%s&currency=%s" % (self['provider_id'], self['name'], self['currency']) identifier = hashlib.sha1(unique_string).hexdigest() return identifier def isDefault(self): ''' Return bool whether this is a default account or not ''' if self._account['name'] == u"": self._hidden = True return True else: return False def getBalance(self): ''' Return the account balance ''' balance = connector.getBalance(self.provider_id, self['name']) return misc.longNumber(balance) def isHidden(self): ''' Return bool if this account is hidden ''' return self._hidden or self._account['hidden'] or self.isDefault() def getAddresses(self): ''' Get the address for an account name ''' # check for cached data, use that or get it again cache_hash = self.getParamHash("name=%s" % (self['name'])) cached_object = self._cache.fetch('addressesbyaccount', cache_hash) if cached_object: return cached_object addresses = connector.getAddressesByAccount(self['name'], self.provider_id) addresses_list = [] for address in addresses: coinaddr = CoinAddress(address, self) addresses_list.append(coinaddr) # cache the result self._cache.store('addressesbyaccount', cache_hash, addresses_list) return addresses_list def getAddressesCount(self): ''' Return the number of address under this account ''' addresses = self.getAddresses() return len(addresses) def getLastActivity(self): ''' Return the date of the last activity ''' last_transaction = self.listTransactions(1, 0) if last_transaction: last_activity = misc.twitterizeDate(last_transaction[0]['time']) else: last_activity = "never" self['last_activity'] = last_activity return last_activity def getCurrencySymbol(self): ''' Return the Unicode currency symbol ''' return misc.getCurrencySymbol(connector, self.getCurrencyCode()) def getCurrencyCode(self): ''' Return the currency code ''' return self.get('currency', "").lower() def listTransactions(self, limit=100000, start=0, orderby='time', reverse=True): ''' Get a list of transactions by account name and provider_id ''' cache_hash = self.getParamHash("limit=%s&start=%sorderby=%s&reverse=%s" % (limit, start, orderby, reverse)) cached_object = self._cache.fetch('transactions', cache_hash) if cached_object: return cached_object transactions = [] transaction_list = connector.listTransactionsByAccount(self['name'], self['provider_id'], limit, start) for entry in transaction_list: if entry.get('address', False): entry['address'] = CoinAddress(entry['address'], self) # give out a provider id and a currency code to the transaction dict entry['provider_id'] = self.provider_id entry['currency'] = self['currency'] if entry['category'] == 'receive': entry['source_address'] = CoinAddress(entry.get('details', {}).get('sender_address', False), "This is a sender address!") elif entry['category'] == 'send': entry['source_addresses'] = self['wallet'].getAddressesByAccount(entry['account']) entry['wallet'] = self['wallet'] coin_transaction = CoinTransaction(entry) transactions.append(coin_transaction) # sort result transactions = sorted(transactions, key=lambda transaction: transaction[orderby], reverse=reverse) # cache the result self._cache.store('transactions', cache_hash, transactions) return transactions
[ 37811, 198, 464, 17168, 13789, 357, 36393, 8, 198, 198, 15269, 357, 66, 8, 1584, 29186, 418, 402, 2778, 417, 271, 198, 198, 5990, 3411, 318, 29376, 7520, 11, 1479, 286, 3877, 11, 284, 597, 1048, 16727, 257, 4866, 198, 1659, 428, 3788, 290, 3917, 10314, 3696, 357, 1169, 366, 25423, 12340, 284, 1730, 198, 259, 262, 10442, 1231, 17504, 11, 1390, 1231, 17385, 262, 2489, 198, 1462, 779, 11, 4866, 11, 13096, 11, 20121, 11, 7715, 11, 14983, 11, 850, 43085, 11, 290, 14, 273, 3677, 198, 22163, 444, 286, 262, 10442, 11, 290, 284, 8749, 6506, 284, 4150, 262, 10442, 318, 198, 69, 700, 1348, 284, 466, 523, 11, 2426, 284, 262, 1708, 3403, 25, 198, 198, 464, 2029, 6634, 4003, 290, 428, 7170, 4003, 2236, 307, 3017, 287, 477, 198, 22163, 444, 393, 8904, 16690, 286, 262, 10442, 13, 198, 198, 10970, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 7788, 32761, 6375, 198, 3955, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 11, 198, 37, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 3268, 8005, 49261, 50163, 3336, 198, 32, 24318, 20673, 6375, 27975, 38162, 9947, 367, 15173, 4877, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 25401, 198, 43, 3539, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 5923, 1797, 2751, 16034, 11, 198, 12425, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 25401, 5550, 1847, 20754, 3268, 3336, 198, 15821, 37485, 13, 198, 198, 37811, 198, 198, 11748, 12234, 8019, 198, 198, 6738, 269, 3493, 1330, 327, 3493, 198, 6738, 10752, 21975, 1330, 16312, 20231, 198, 6738, 763, 600, 26084, 2673, 1330, 16312, 48720, 198, 6738, 616, 2545, 17796, 13, 8019, 82, 1330, 12747, 198, 6738, 616, 2545, 17796, 13, 8019, 82, 13, 8443, 507, 1330, 21716, 628, 198, 4871, 16312, 30116, 7, 15252, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5016, 329, 281, 1848, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 26745, 198, 220, 220, 220, 825, 10131, 62, 312, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 14161, 329, 262, 10131, 4686, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 10786, 15234, 1304, 62, 312, 3256, 6045, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 11593, 1136, 9186, 834, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 353, 329, 22155, 12, 1370, 4069, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1994, 6624, 366, 2860, 16746, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 4550, 16746, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 6624, 366, 12957, 62, 21797, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 5956, 16516, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 6624, 366, 34415, 62, 1837, 23650, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 34, 13382, 13940, 23650, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 6624, 366, 34415, 62, 8189, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 34, 13382, 10669, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1994, 6624, 705, 738, 7483, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 33234, 7483, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1848, 796, 651, 35226, 7, 944, 11, 705, 62, 23317, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1848, 13, 1136, 7, 2539, 11, 6045, 8, 198, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 11593, 2617, 9186, 834, 7, 944, 11, 1994, 11, 1988, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 353, 329, 22155, 12, 1370, 4069, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1848, 796, 651, 35226, 7, 944, 11, 705, 62, 23317, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1848, 58, 2539, 60, 796, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 900, 35226, 7, 944, 11, 705, 62, 23317, 3256, 1848, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 7, 944, 11, 1994, 11, 4277, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 353, 329, 22155, 12, 1370, 4069, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 23317, 13, 1136, 7, 2539, 11, 10352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 23317, 13, 1136, 7, 2539, 11, 10352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 4277, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 468, 2539, 7, 944, 11, 1994, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 6822, 262, 6224, 286, 1994, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1994, 287, 2116, 13557, 23317, 13, 13083, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 22973, 26257, 7, 944, 11, 5772, 33151, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 2753, 257, 4731, 290, 43707, 257, 427, 64, 24137, 12234, 503, 286, 340, 13, 220, 198, 220, 220, 220, 220, 220, 220, 220, 632, 318, 973, 284, 12234, 262, 5128, 10007, 286, 5499, 14, 24396, 287, 1502, 284, 220, 198, 220, 220, 220, 220, 220, 220, 220, 24139, 5911, 257, 39986, 1255, 1912, 220, 691, 319, 262, 5128, 10007, 286, 220, 198, 220, 220, 220, 220, 220, 220, 220, 262, 2163, 14, 24396, 869, 13, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 12940, 62, 17831, 796, 12234, 8019, 13, 26270, 24137, 7, 17143, 737, 33095, 12894, 395, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 12940, 62, 17831, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 33234, 7483, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1318, 318, 645, 3748, 27421, 329, 281, 1848, 287, 257, 2124, 5324, 1073, 521, 33386, 198, 220, 220, 220, 220, 220, 220, 220, 523, 8781, 787, 530, 13, 19996, 262, 2174, 49544, 2446, 481, 24139, 220, 198, 220, 220, 220, 220, 220, 220, 220, 5911, 281, 1848, 329, 514, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 3748, 62, 8841, 796, 366, 15234, 1304, 62, 312, 28, 4, 82, 5, 3672, 28, 4, 82, 5, 34415, 28, 4, 82, 1, 4064, 357, 944, 17816, 15234, 1304, 62, 312, 6, 4357, 2116, 17816, 3672, 6, 4357, 2116, 17816, 34415, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 27421, 796, 12234, 8019, 13, 26270, 16, 7, 34642, 62, 8841, 737, 33095, 12894, 395, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 27421, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 318, 19463, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 20512, 1771, 428, 318, 257, 4277, 1848, 393, 407, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13557, 23317, 17816, 3672, 20520, 6624, 334, 1, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 30342, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 45866, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 1848, 5236, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 5236, 796, 21716, 13, 1136, 45866, 7, 944, 13, 15234, 1304, 62, 312, 11, 2116, 17816, 3672, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 12747, 13, 6511, 15057, 7, 20427, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 318, 41691, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 20512, 611, 428, 1848, 318, 7104, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 30342, 393, 2116, 13557, 23317, 17816, 30342, 20520, 393, 2116, 13, 271, 19463, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 4550, 16746, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 262, 2209, 329, 281, 1848, 1438, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2198, 329, 39986, 1366, 11, 779, 326, 393, 651, 340, 757, 198, 220, 220, 220, 220, 220, 220, 220, 12940, 62, 17831, 796, 2116, 13, 1136, 22973, 26257, 7203, 3672, 28, 4, 82, 1, 4064, 357, 944, 17816, 3672, 20520, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 39986, 62, 15252, 796, 2116, 13557, 23870, 13, 69, 7569, 10786, 2860, 16746, 1525, 23317, 3256, 12940, 62, 17831, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 39986, 62, 15252, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 39986, 62, 15252, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 9405, 796, 21716, 13, 1136, 4550, 16746, 3886, 30116, 7, 944, 17816, 3672, 6, 4357, 2116, 13, 15234, 1304, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 9405, 62, 4868, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2209, 287, 9405, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10752, 29851, 796, 16312, 20231, 7, 21975, 11, 2116, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9405, 62, 4868, 13, 33295, 7, 3630, 29851, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12940, 262, 1255, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 23870, 13, 8095, 10786, 2860, 16746, 1525, 23317, 3256, 12940, 62, 17831, 11, 9405, 62, 4868, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 9405, 62, 4868, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 4550, 16746, 12332, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 1271, 286, 2209, 739, 428, 1848, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 9405, 796, 2116, 13, 1136, 4550, 16746, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 18896, 7, 2860, 16746, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 5956, 16516, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 3128, 286, 262, 938, 3842, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 7645, 2673, 796, 2116, 13, 4868, 8291, 4658, 7, 16, 11, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 938, 62, 7645, 2673, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 938, 62, 21797, 796, 12747, 13, 6956, 1096, 10430, 7, 12957, 62, 7645, 2673, 58, 15, 7131, 6, 2435, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 938, 62, 21797, 796, 366, 12081, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 17816, 12957, 62, 21797, 20520, 796, 938, 62, 21797, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 938, 62, 21797, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 34, 13382, 13940, 23650, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 34371, 7395, 6194, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 12747, 13, 1136, 34, 13382, 13940, 23650, 7, 8443, 273, 11, 2116, 13, 1136, 34, 13382, 10669, 28955, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 34, 13382, 10669, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 8229, 262, 7395, 2438, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 1136, 10786, 34415, 3256, 366, 11074, 21037, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 1351, 8291, 4658, 7, 944, 11, 4179, 28, 3064, 830, 11, 923, 28, 15, 11, 1502, 1525, 11639, 2435, 3256, 9575, 28, 17821, 2599, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 257, 1351, 286, 8945, 416, 1848, 1438, 290, 10131, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 220, 220, 220, 220, 12940, 62, 17831, 796, 2116, 13, 1136, 22973, 26257, 7203, 32374, 28, 4, 82, 5, 9688, 28, 4, 82, 2875, 1525, 28, 4, 82, 5, 50188, 28, 4, 82, 1, 4064, 357, 32374, 11, 923, 11, 1502, 1525, 11, 9575, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 39986, 62, 15252, 796, 2116, 13557, 23870, 13, 69, 7569, 10786, 7645, 4658, 3256, 12940, 62, 17831, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 39986, 62, 15252, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 39986, 62, 15252, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 8945, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 8611, 62, 4868, 796, 21716, 13, 4868, 8291, 4658, 3886, 30116, 7, 944, 17816, 3672, 6, 4357, 2116, 17816, 15234, 1304, 62, 312, 6, 4357, 4179, 11, 923, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 329, 5726, 287, 8611, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5726, 13, 1136, 10786, 21975, 3256, 10352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 21975, 20520, 796, 16312, 20231, 7, 13000, 17816, 21975, 6, 4357, 2116, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1577, 503, 257, 10131, 4686, 290, 257, 7395, 2438, 284, 262, 8611, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 15234, 1304, 62, 312, 20520, 796, 2116, 13, 15234, 1304, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 34415, 20520, 796, 2116, 17816, 34415, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5726, 17816, 22872, 20520, 6624, 705, 260, 15164, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 10459, 62, 21975, 20520, 796, 16312, 20231, 7, 13000, 13, 1136, 10786, 36604, 3256, 23884, 737, 1136, 10786, 82, 2194, 62, 21975, 3256, 10352, 828, 366, 1212, 318, 257, 29788, 2209, 2474, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 5726, 17816, 22872, 20520, 6624, 705, 21280, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 10459, 62, 2860, 16746, 20520, 796, 2116, 17816, 44623, 6, 4083, 1136, 4550, 16746, 3886, 30116, 7, 13000, 17816, 23317, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5726, 17816, 44623, 20520, 796, 2116, 17816, 44623, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10752, 62, 7645, 2673, 796, 16312, 48720, 7, 13000, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8945, 13, 33295, 7, 3630, 62, 7645, 2673, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3297, 1255, 198, 220, 220, 220, 220, 220, 220, 220, 8945, 796, 23243, 7, 7645, 4658, 11, 1994, 28, 50033, 8611, 25, 8611, 58, 2875, 1525, 4357, 9575, 28, 50188, 8, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 12940, 262, 1255, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 23870, 13, 8095, 10786, 7645, 4658, 3256, 12940, 62, 17831, 11, 8945, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 8945, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198 ]
2.394213
3,214
main()
[ 198, 12417, 3419 ]
2.333333
3
# Generated by Django 3.2.4 on 2021-07-07 22:45 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 17, 13, 19, 319, 33448, 12, 2998, 12, 2998, 2534, 25, 2231, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
a = {'a': 1, 'b' : 2} b = list(a.items()) print(b)
[ 64, 796, 1391, 6, 64, 10354, 352, 11, 705, 65, 6, 1058, 362, 92, 198, 65, 796, 1351, 7, 64, 13, 23814, 28955, 198, 4798, 7, 65, 8, 198 ]
1.758621
29
import pygame, sys from Move import Move from BoardModel import BoardModel from MoveController import MoveController from HelpModel import HelpModel from MenuModel import MenuModel from Model import Model ''' CSC290 Group Project C4: Four In A Row University of Toronto Mississauga ''' class Game(): ''' Base game instance, which handles game states and transitions between the different game screens. The play() method serves as the main gameplay loop. Structure of state machine inspired by iminurnamez: https://gist.github.com/iminurnamez/8d51f5b40032f106a847 Licensed under CC0 1.0 Universal. ''' def __init__(self, display, screens, model_name): ''' Initialize the Game object. Keyword arguments: display -- the display Surface used to draw the game screens -- a dict mapping names of models to their Model objects model_name -- the name of the model of the first game screen ''' self.playing = True self.fps = 60 self.screen = display self.screens = screens self.model_name = model_name self.model = screens[self.model_name] self.clock = pygame.time.Clock() self.controller = MoveController(screens["board"]) def event_loop(self): '''Pass pygame events to current model to handle current game state.''' for event in pygame.event.get(): if self.model_name == "board": self.model.get_event(event, self.controller) else: self.model.get_event(event) def draw(self): '''Pass screen to current model to draw current game state.''' self.model.draw(self.screen) def update(self, frame_time): ''' Update current model if there is a change, it signals for a change in models, or if there is a game quit event. Keyword arguments: frame_time -- milliseconds since last frame ''' if self.model.quit: self.playing = False elif self.model.done: self.change_screen() def change_screen(self): '''Change the model being used according to next_model.''' self.model.done = False self.model_name = self.model.next_model self.model = screens[self.model_name] def play(self): '''The main game loop. Halts upon game exit.''' while self.playing: frame_time = self.clock.tick(self.fps) self.event_loop() self.update(frame_time) self.draw() pygame.display.update() if __name__ == '__main__': pygame.init() pygame.font.init() screen = pygame.display.set_mode((900, 700)) screens = {"menu": MenuModel(), "help": HelpModel(), "board": BoardModel()} game = Game(screen, screens, "menu") game.play() pygame.quit() sys.exit()
[ 11748, 12972, 6057, 11, 25064, 198, 6738, 10028, 1330, 10028, 198, 6738, 5926, 17633, 1330, 5926, 17633, 198, 6738, 10028, 22130, 1330, 10028, 22130, 198, 6738, 10478, 17633, 1330, 10478, 17633, 198, 6738, 21860, 17633, 1330, 21860, 17633, 198, 6738, 9104, 1330, 9104, 198, 198, 7061, 6, 198, 34, 6173, 24369, 4912, 4935, 198, 34, 19, 25, 6675, 554, 317, 11314, 198, 21009, 286, 6586, 12732, 44718, 198, 7061, 6, 198, 198, 4871, 3776, 33529, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 7308, 983, 4554, 11, 543, 17105, 983, 2585, 290, 27188, 198, 220, 220, 220, 1022, 262, 1180, 983, 8947, 13, 383, 711, 3419, 2446, 9179, 198, 220, 220, 220, 355, 262, 1388, 11327, 9052, 13, 220, 198, 220, 220, 220, 32522, 286, 1181, 4572, 7867, 416, 545, 259, 700, 480, 89, 25, 198, 220, 220, 220, 3740, 1378, 70, 396, 13, 12567, 13, 785, 14, 320, 259, 700, 480, 89, 14, 23, 67, 4349, 69, 20, 65, 7029, 2624, 69, 15801, 64, 23, 2857, 198, 220, 220, 220, 49962, 739, 12624, 15, 352, 13, 15, 14499, 13, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 3359, 11, 8947, 11, 2746, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 20768, 1096, 262, 3776, 2134, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 7383, 4775, 7159, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3359, 1377, 262, 3359, 20321, 973, 284, 3197, 262, 983, 198, 220, 220, 220, 220, 220, 220, 220, 8947, 1377, 257, 8633, 16855, 3891, 286, 4981, 284, 511, 9104, 5563, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 62, 3672, 1377, 262, 1438, 286, 262, 2746, 286, 262, 717, 983, 3159, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17916, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 29647, 796, 3126, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 9612, 796, 3359, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 5681, 796, 8947, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 62, 3672, 796, 2746, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 796, 8947, 58, 944, 13, 19849, 62, 3672, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15750, 796, 12972, 6057, 13, 2435, 13, 44758, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 36500, 796, 10028, 22130, 7, 1416, 5681, 14692, 3526, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 1785, 62, 26268, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 14478, 12972, 6057, 2995, 284, 1459, 2746, 284, 5412, 1459, 983, 1181, 2637, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1785, 287, 12972, 6057, 13, 15596, 13, 1136, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19849, 62, 3672, 6624, 366, 3526, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 13, 1136, 62, 15596, 7, 15596, 11, 2116, 13, 36500, 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, 2116, 13, 19849, 13, 1136, 62, 15596, 7, 15596, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 825, 3197, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 14478, 3159, 284, 1459, 2746, 284, 3197, 1459, 983, 1181, 2637, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 13, 19334, 7, 944, 13, 9612, 8, 628, 220, 220, 220, 825, 4296, 7, 944, 11, 5739, 62, 2435, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 10133, 1459, 2746, 611, 612, 318, 257, 1487, 11, 340, 198, 220, 220, 220, 220, 220, 220, 220, 10425, 329, 257, 1487, 287, 4981, 11, 393, 611, 612, 318, 198, 220, 220, 220, 220, 220, 220, 220, 257, 983, 11238, 1785, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 7383, 4775, 7159, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 2435, 1377, 38694, 1201, 938, 5739, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 19849, 13, 47391, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 17916, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 19849, 13, 28060, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3803, 62, 9612, 3419, 628, 220, 220, 220, 825, 1487, 62, 9612, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 19400, 262, 2746, 852, 973, 1864, 284, 1306, 62, 19849, 2637, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 13, 28060, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 62, 3672, 796, 2116, 13, 19849, 13, 19545, 62, 19849, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19849, 796, 8947, 58, 944, 13, 19849, 62, 3672, 60, 628, 220, 220, 220, 825, 711, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 705, 7061, 464, 1388, 983, 9052, 13, 11023, 912, 2402, 983, 8420, 2637, 7061, 198, 220, 220, 220, 220, 220, 220, 220, 981, 2116, 13, 17916, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5739, 62, 2435, 796, 2116, 13, 15750, 13, 42298, 7, 944, 13, 29647, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15596, 62, 26268, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19119, 7, 14535, 62, 2435, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 19334, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 6057, 13, 13812, 13, 19119, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 12972, 6057, 13, 15003, 3419, 220, 220, 220, 198, 220, 220, 220, 12972, 6057, 13, 10331, 13, 15003, 3419, 220, 220, 198, 220, 220, 220, 3159, 796, 12972, 6057, 13, 13812, 13, 2617, 62, 14171, 19510, 12865, 11, 13037, 4008, 198, 220, 220, 220, 8947, 796, 19779, 26272, 1298, 21860, 17633, 22784, 366, 16794, 1298, 10478, 17633, 22784, 366, 3526, 1298, 5926, 17633, 3419, 92, 198, 220, 220, 220, 983, 796, 3776, 7, 9612, 11, 8947, 11, 366, 26272, 4943, 198, 220, 220, 198, 220, 220, 220, 983, 13, 1759, 3419, 198, 220, 220, 220, 12972, 6057, 13, 47391, 3419, 198, 220, 220, 220, 25064, 13, 37023, 3419, 198 ]
2.424837
1,224
import cauldron from cauldron.test import support from cauldron.test.support import scaffolds class TestStepsInsert(scaffolds.ResultsTest): """...""" def test_before(self): """Should properly rename default filenames.""" support.create_project(self, 'candice') support.add_step(self) support.add_step(self, position='0') project = cauldron.project.get_internal_project() steps = project.steps self.assertTrue(steps[0].filename.startswith('S01')) self.assertTrue(steps[1].filename.startswith('S02')) def test_multiple_file_types(self): """Should properly rename default filenames.""" support.create_project(self, 'candy') support.add_step(self) support.add_step(self, name='.md', position='0') project = cauldron.project.get_internal_project() steps = project.steps self.assertTrue(steps[0].filename.startswith('S01')) self.assertTrue(steps[1].filename.startswith('S02')) def test_multiple_file_types_many(self): """Should properly rename default filenames.""" support.create_project(self, 'candy') support.add_step(self) support.add_step(self) support.add_step(self) support.add_step(self, name='.md', position='0') project = cauldron.project.get_internal_project() steps = project.steps self.assertTrue(steps[0].filename.startswith('S01')) self.assertTrue(steps[1].filename.startswith('S02')) self.assertTrue(steps[2].filename.startswith('S03')) self.assertTrue(steps[3].filename.startswith('S04')) def test_multiple_file_types_named(self): """Should properly rename customized filenames.""" support.create_project(self, 'candera') support.add_step(self, name='A') support.add_step(self, name='B') support.add_step(self, name='C') support.add_step(self, name='D.md', position='0') project = cauldron.project.get_internal_project() steps = project.steps self.assertTrue(steps[0].filename.startswith('S01-D')) self.assertTrue(steps[1].filename.startswith('S02')) self.assertTrue(steps[2].filename.startswith('S03')) self.assertTrue(steps[3].filename.startswith('S04'))
[ 11748, 269, 45637, 198, 6738, 269, 45637, 13, 9288, 1330, 1104, 198, 6738, 269, 45637, 13, 9288, 13, 11284, 1330, 41498, 10119, 628, 198, 4871, 6208, 8600, 82, 44402, 7, 1416, 2001, 10119, 13, 25468, 14402, 2599, 198, 220, 220, 220, 37227, 9313, 15931, 628, 220, 220, 220, 825, 1332, 62, 19052, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19926, 6105, 36265, 4277, 1226, 268, 1047, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 17953, 62, 16302, 7, 944, 11, 705, 46188, 501, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 2292, 11639, 15, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1628, 796, 269, 45637, 13, 16302, 13, 1136, 62, 32538, 62, 16302, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4831, 796, 1628, 13, 20214, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 15, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 486, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 16, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 2999, 6, 4008, 628, 220, 220, 220, 825, 1332, 62, 48101, 62, 7753, 62, 19199, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19926, 6105, 36265, 4277, 1226, 268, 1047, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 17953, 62, 16302, 7, 944, 11, 705, 66, 10757, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 28, 4458, 9132, 3256, 2292, 11639, 15, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1628, 796, 269, 45637, 13, 16302, 13, 1136, 62, 32538, 62, 16302, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4831, 796, 1628, 13, 20214, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 15, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 486, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 16, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 2999, 6, 4008, 628, 220, 220, 220, 825, 1332, 62, 48101, 62, 7753, 62, 19199, 62, 21834, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19926, 6105, 36265, 4277, 1226, 268, 1047, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 17953, 62, 16302, 7, 944, 11, 705, 66, 10757, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 28, 4458, 9132, 3256, 2292, 11639, 15, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1628, 796, 269, 45637, 13, 16302, 13, 1136, 62, 32538, 62, 16302, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4831, 796, 1628, 13, 20214, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 15, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 486, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 16, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 2999, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 17, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 3070, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 18, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 3023, 6, 4008, 628, 220, 220, 220, 825, 1332, 62, 48101, 62, 7753, 62, 19199, 62, 13190, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 19926, 6105, 36265, 27658, 1226, 268, 1047, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 17953, 62, 16302, 7, 944, 11, 705, 66, 4066, 64, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 11639, 32, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 11639, 33, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 11639, 34, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1104, 13, 2860, 62, 9662, 7, 944, 11, 1438, 11639, 35, 13, 9132, 3256, 2292, 11639, 15, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1628, 796, 269, 45637, 13, 16302, 13, 1136, 62, 32538, 62, 16302, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4831, 796, 1628, 13, 20214, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 15, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 486, 12, 35, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 16, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 2999, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 17, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 3070, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 30493, 17821, 7, 20214, 58, 18, 4083, 34345, 13, 9688, 2032, 342, 10786, 50, 3023, 6, 4008, 198 ]
2.433054
956
from abc import ABCMeta, abstractmethod
[ 6738, 450, 66, 1330, 9738, 48526, 11, 12531, 24396, 628 ]
4.1
10
#!/usr/bin/env python # FMU-QSS Generator # # Project: QSS Solver # # Language: Python 2.7 and 3.x # # Developed by Objexx Engineering, Inc. (https://objexx.com) under contract to # the National Renewable Energy Laboratory of the U.S. Department of Energy # # Copyright (c) 2017-2021 Objexx Engineering, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # (1) Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # (2) Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # (3) Neither the name of the copyright holder nor the names of its # contributors may be used to endorse or promote products derived from this # software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES # GOVERNMENT, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Notes # Generates an FMU-QSS from an FMU-ME with specified QSS options # ElementTree reorders attributes lexicographically and omits comments so we are using lxml # lxml should be faster than ElementTree other than initial parsing # lxml is not included with most Python distributions but can be installed with pip or, on Linux, from a package # Discrete variables that aren't output variables are elided from the FMU-QSS XML # Zero-crossing variables (__zc_*) are output variables in our FMU-ME for now but are elided from the FMU-QSS XML # Do # Add more QSS options->annotations as needed # Imports import argparse, errno, os, platform, shutil, subprocess, sys from zipfile import ZipFile from collections import OrderedDict from lxml import etree def fmu_qss_gen(): '''Generate an FMU-QSS from an FMU-ME''' # Process arguments parser = argparse.ArgumentParser() parser.add_argument( 'ME', help = 'FMU-ME fmu or xml file', default = 'modelDescription.xml' ) parser.add_argument( '--qss', help = 'QSS method (x)(LI)QSS(1|2|3) [QSS2]', default = 'QSS2' ) parser.add_argument( '--rTol', help = 'relative tolerance [FMU]', type = float ) parser.add_argument( '--aTol', help = 'absolute tolerance [1e-6]', type = float, default = 1.0e-6 ) parser.add_argument( '--tEnd', help = 'simulation end time [FMU]', type = float ) args = parser.parse_args() args.qss = args.qss.upper() if args.qss not in ( 'QSS1', 'QSS2', 'QSS3', 'LIQSS1', 'LIQSS2', 'LIQSS3', 'xQSS1', 'xQSS2', 'xQSS3' ): print( '\nUnsupported QSS method: ' + args.qss + ': Must be one of QSS1, QSS2, QSS3, LIQSS1, LIQSS2, LIQSS3, xQSS1, xQSS2, xQSS3' ) sys.exit( 1 ) if ( args.rTol is not None ) and ( args.rTol < 0.0 ): print( '\nNegative rTol: ' + "{:.16f}".format( args.rTol ) ) sys.exit( 1 ) if args.aTol <= 0.0: print( '\nNonpositive aTol: ' +"{:.16f}".format( args.aTol ) ) sys.exit( 1 ) if ( args.tEnd is not None ) and ( args.tEnd < 0.0 ): print( '\nNegative tEnd: ' +"{:.16f}".format( args.tEnd ) ) sys.exit( 1 ) ME_lower = args.ME.lower() if ME_lower.endswith( '.xml' ): # XML input me_fmu_name = me_name = None me_xml_name = args.ME elif ME_lower.endswith( '.fmu' ): # FMU input me_fmu_name = args.ME me_name = os.path.splitext( os.path.basename( me_fmu_name ) )[ 0 ] me_xml_name = 'modelDescription.xml' else: print( '\nFMU-ME input is not a .fmu or .xml file: ' + args.ME ) sys.exit( 1 ) # Extract modelDescription.xml from FMU-ME if me_fmu_name: try: zip_file = ZipFile( me_fmu_name ) zip_file.extract( 'modelDescription.xml' ) zip_file.close() except: print( '\nExtracting modelDescription.xml from FMU-ME fmu failed' ) sys.exit( 1 ) # Read FMU-ME xml file try: parser = etree.XMLParser( remove_blank_text = True ) tree = etree.parse( me_xml_name, parser ) root = tree.getroot() except: print( '\nFMU-ME XML open and parse failed: ' + me_xml_name ) sys.exit( 1 ) # fmiModelDescription changes if root.tag != "fmiModelDescription": print( '\nRoot is not fmiModelDescription in FMU-ME XML: ' + me_xml_name ) sys.exit( 1 ) fmiModelDescription = root if 'modelName' in fmiModelDescription.attrib: fmiModelDescription.attrib[ 'modelName' ] = fmiModelDescription.attrib[ 'modelName' ] + '_QSS' # FMU-QSS model name gets _QSS suffix if 'numberOfEventIndicators' in fmiModelDescription.attrib: fmiModelDescription.attrib[ 'numberOfEventIndicators' ] = '0' # FMU-QSS has no event indicators guid_placeholder = '@FMU-QSS_GUID@' fmiModelDescription.attrib[ 'guid' ] = guid_placeholder # Placeholder for running fmu-uuid # ModelExchange changes ModelExchange = root.find( 'ModelExchange' ) if ModelExchange is None: print( '\nModelExchange not found in ' + me_xml_name ) sys.exit( 1 ) if 'modelIdentifier' in ModelExchange.attrib: ModelExchange.attrib[ 'modelIdentifier' ] = ModelExchange.attrib[ 'modelIdentifier' ] + '_QSS' # FMU-QSS model identifier gets _QSS suffix # Find ModelVariables ModelVariables = root.find( 'ModelVariables' ) if ModelVariables is None: print( '\nModelVariables not found in ' + me_xml_name ) sys.exit( 1 ) # Add QSS annotations VendorAnnotations = root.find( 'VendorAnnotations' ) if VendorAnnotations is None: VendorAnnotations = etree.Element( 'VendorAnnotations' ) ModelVariables.addprevious( VendorAnnotations ) QSS = etree.SubElement( VendorAnnotations, 'Tool', attrib = { 'name': 'QSS' } ) Annotations = etree.SubElement( QSS, 'Annotations' ) etree.SubElement( Annotations, 'Annotation', attrib = OrderedDict( [ ( 'name', 'qss' ), ( 'value', args.qss ) ] ) ) if args.rTol is not None: etree.SubElement( Annotations, 'Annotation', attrib = OrderedDict( [ ( 'name', 'rTol' ), ( 'value', "{:.16f}".format( args.rTol ) ) ] ) ) etree.SubElement( Annotations, 'Annotation', attrib = OrderedDict( [ ( 'name', 'aTol' ), ( 'value', "{:.16f}".format( args.aTol ) ) ] ) ) if args.tEnd is not None: etree.SubElement( Annotations, 'Annotation', attrib = OrderedDict( [ ( 'name', 'tEnd' ), ( 'value', "{:.16f}".format( args.tEnd ) ) ] ) ) #Do Add other annotations as needed # Generate model-specific QSS header try: # Create QSS options header QSS_option_name = 'FMU_QSS_options.hh' if sys.version_info >= ( 3, 0 ): QSS_option_file = open( QSS_option_name, 'w', newline = '\n' ) else: QSS_option_file = open( QSS_option_name, 'wb' ) except: print( '\nQSS options header open failed: ' + QSS_option_name ) sys.exit( 1 ) try: # Write QSS_option header QSS_option_file.write( '#ifndef FMU_QSS_options_hh_INCLUDED\n' ) QSS_option_file.write( '#define FMU_QSS_options_hh_INCLUDED\n' ) QSS_option_file.write( 'QSS::options::QSS const fmu_qss_qss( QSS::options::QSS::' + args.qss + ' );\n' ) if args.rTol is not None: QSS_option_file.write( 'double const fmu_qss_rTol( ' + "{:.16f}".format( args.rTol ) + ' );\n' ) else: QSS_option_file.write( 'double const fmu_qss_rTol( -1.0 ); // Negative => Unspecified\n' ) QSS_option_file.write( 'double const fmu_qss_aTol( ' + "{:.16f}".format( args.aTol ) + ' );\n' ) if args.tEnd is not None: QSS_option_file.write( 'double const fmu_qss_tEnd( ' + "{:.16f}".format( args.tEnd ) + ' );\n' ) else: QSS_option_file.write( 'double const fmu_qss_tEnd( -1.0 ); // Negative => Unspecified\n' ) QSS_option_file.write( '#endif\n' ) QSS_option_file.close() except Exception as err: print( '\nQSS options header write failed: ' + QSS_option_name + ': ' + str( err ) ) sys.exit( 1 ) # Find ScalarVariables ScalarVariables = ModelVariables.findall( 'ScalarVariable' ) # List of ScalarVariable # Identify state variables try: ModelStructure = root.find( 'ModelStructure' ) Derivatives = ModelStructure.find( 'Derivatives' ) Unknowns = Derivatives.findall( 'Unknown' ) except: Unknowns = [] # No state variable derivatives derivatives_indexes = set() # State variable derivative indexes for Unknown in Unknowns: try: derivatives_indexes.add( int( Unknown.attrib[ 'index' ] ) ) except: pass is_state = { i: False for i in range( 1, len( ScalarVariables ) + 1 ) } for i in range( len( ScalarVariables ) ): v = ScalarVariables[ i ] Real = v.find( 'Real' ) if Real is not None: derivative_of = Real.attrib[ 'derivative' ] if 'derivative' in Real.attrib else None if derivative_of is not None: try: derivative_of_index = int( derivative_of ) if i + 1 in derivatives_indexes: is_state[ derivative_of_index ] = True # Otherwise could be a non-state (internal or input) variable with a derivative except Exception as err: name = v.attrib[ 'name' ] if 'name' in v.attrib else '' print( 'Non-integer derivative in ' + name + ': ' + str( derivative_of ) ) # Migrate variables and map indexes io = {} # FMU-ME to FMU-QSS variable index map # oi = {} # FMU-QSS to FMU-ME variable index map i = o = 0 outputs = [] n_real = n_integer = n_boolean = n_string = 0 n_input_real = n_output_real = 0 try: n_input_real_max_order = n_output_real_max_order = int( args.qss[ -1 ] ) except Exception as err: print( '\nFMU-QSS XML generation failed: QSS method order not identified from last character of qss argument: ' + str( args.qss ) ) sys.exit( 1 ) for v in ScalarVariables: i += 1 # FMU-ME variable index a = v.attrib name = a[ 'name' ] if 'name' in a else '' causality = a[ 'causality' ] if 'causality' in a else 'local' variability = a[ 'variability' ] if 'variability' in a else 'continuous' previous = v.getprevious() comment = previous if ( previous is not None ) and ( previous.tag is etree.Comment ) and str( previous ).startswith( ( '<!-- Variable with index #', '<!-- Index for next variable = ' ) ) else None if causality in ( 'input', 'output' ) and not ( ( causality == 'output' ) and name.startswith( '__zc_' ) ): # Keep (except zero-crossing output variables) o += 1 # FMU-QSS variable index io[ i ] = o # oi[ o ] = i Real = v.find( 'Real' ) Integer = v.find( 'Integer' ) Boolean = v.find( 'Boolean' ) String = v.find( 'String' ) if Real is not None: n_real += 1 elif Integer is not None: n_integer += 1 elif Boolean is not None: n_boolean += 1 elif String is not None: n_string += 1 if causality == 'output': outputs.append( o ) if Real is not None: n_output_real += 1 else: # Input if Real is not None: n_input_real += 1 set_comment = True elif ( causality == 'local' ) and ( variability == 'continuous' ) and is_state[ i ]: # State to output variable a[ 'causality' ] = 'output' o += 1 # FMU-QSS variable index io[ i ] = o # oi[ o ] = i outputs.append( o ) if 'initial' in a: del a[ 'initial' ] # Drop initial spec set_comment = True Real = v.find( 'Real' ) if Real is not None: n_real += 1 n_output_real += 1 if 'start' in Real.attrib: del Real.attrib[ 'start' ] # Remove start spec else: print( '\nFMU-ME (continuous) state variable is not Real: ' + name ) sys.exit( 1 ) else: # Remove ModelVariables.remove( v ) if comment is not None: ModelVariables.remove( comment ) set_comment = False if set_comment: if comment is not None: # Adjust variable index in comment # comment.text = ' Index for next variable = ' + str( o ) + ' (' + str( i ) + ') ' # Dymola format comment.text = ' Variable with index #' + str( o ) + ' (' + str( i ) + ') ' # OCT format else: # Insert comment # v.addprevious( etree.Comment( ' Index for next variable = ' + str( o ) + ' (' + str( i ) + ') ' ) ) # Dymola format v.addprevious( etree.Comment( ' Variable with index #' + str( o ) + ' (' + str( i ) + ') ' ) ) # OCT format # Re-index derivatives ScalarVariables = ModelVariables.findall( 'ScalarVariable' ) # List of ScalarVariable after above pruning for v in ScalarVariables: Real = v.find( 'Real' ) if Real is not None: derivative = Real.attrib[ 'derivative' ] if 'derivative' in Real.attrib else None if derivative is not None: try: derivative_index = int( derivative ) try: Real.attrib[ 'derivative' ] = str( io[ derivative_index ] ) except Exception as err: print( 'Derivative re-indexing failed for ' + ( v.attrib[ 'name' ] if 'name' in v.attrib else '' ) + ': ' + str( err ) ) except: pass # Already reported this above # Migrate ModelStructure ModelStructure = root.find( 'ModelStructure' ) if ModelStructure is None: ModelStructure = etree.Element( 'ModelStructure' ) ModelVariables.addnext( ModelStructure ) for g in ( 'Derivatives', 'DiscreteStates', 'InitialUnknowns' ): # Remove these sections e = ModelStructure.find( g ) if e is not None: ModelStructure.remove( e ) Outputs = ModelStructure.find( 'Outputs' ) if Outputs is None: Outputs = etree.SubElement( ModelStructure, 'Outputs' ) Unknowns = Outputs.findall( 'Unknown' ) for u in Unknowns: # Remove previous entries Outputs.remove( u ) for o in outputs: etree.SubElement( Outputs, 'Unknown', attrib = OrderedDict( [ ( 'index', str( o ) ), ( 'dependencies', '' ) ] ) ) # Write FMU-QSS xml file #print( etree.tostring( root, pretty_print=True, encoding='unicode' ) ) #Debug##### try: qss_xml_name = 'FMU-QSS_' + os.path.basename( me_xml_name ) tree.write( qss_xml_name, encoding = 'UTF-8', xml_declaration = True, pretty_print = True ) except Exception as err: print( '\nFMU-QSS XML write failed: ' + qss_xml_name + ': ' + str( err ) ) sys.exit( 1 ) # Add GUID to FMU-QSS xml file and generate GUID header try: subprocess.call( [ 'fmu-uuid', qss_xml_name, guid_placeholder, qss_xml_name, 'FMU_QSS_GUID.hh', 'FMU_QSS_GUID' ] ) except OSError as e: if e.errno == errno.ENOENT: print( '\nFMU-QSS XML GUID computation failed: fmu-uuid program not in PATH' ) else: print( '\nFMU-QSS XML GUID computation failed: ' + str( e ) ) print( 'Generic no-check GUID header generated' ) try: guid_name = 'FMU_QSS_GUID.hh' if sys.version_info >= ( 3, 0 ): guid_file = open( guid_name, 'w', newline = '\n' ) else: guid_file = open( guid_name, 'wb' ) except: print( '\nGUID header open failed: ' + guid_name ) sys.exit( 1 ) try: guid_file.write( '#ifndef FMU_QSS_GUID\n' ) guid_file.write( '#define FMU_QSS_GUID "FMU-QSS_GUID" // No-check value\n' ) guid_file.write( '#endif\n' ) guid_file.close() except: print( '\nGUID header write failed: ' + guid_name ) sys.exit( 1 ) # Generate model-specific size definitions header try: # Create sizing header sizing_name = 'FMU_QSS_defines.hh' if sys.version_info >= ( 3, 0 ): sizing_file = open( sizing_name, 'w', newline = '\n' ) else: sizing_file = open( sizing_name, 'wb' ) except: print( '\nSizing header open failed: ' + sizing_name ) sys.exit( 1 ) try: # Write sizing header: Sizes >=1 to avoid illegal 0-sized arrays sizing_file.write( '#ifndef FMU_QSS_defines_hh_INCLUDED\n' ) sizing_file.write( '#define FMU_QSS_defines_hh_INCLUDED\n' ) sizing_file.write( '// Note: Sizes are >=1 to avoid illegal 0-sized arrays\n' ) sizing_file.write( '#define BUFFER 1024\n' ) sizing_file.write( '#define N_REAL ' + str( max( n_real, 1 ) ) + '\n' ) sizing_file.write( '#define N_INTEGER ' + str( max( n_integer, 1 ) ) + '\n' ) sizing_file.write( '#define N_BOOLEAN ' + str( max( n_boolean, 1 ) ) + '\n' ) sizing_file.write( '#define N_STRING ' + str( max( n_string, 1 ) ) + '\n' ) sizing_file.write( '#define N_INPUT_REAL ' + str( max( n_input_real, 1 ) ) + '\n' ) sizing_file.write( '#define N_INPUT_REAL_MAX_ORDER ' + str( max( n_input_real_max_order, 1 ) ) + '\n' ) sizing_file.write( '#define N_OUTPUT_REAL ' + str( max( n_output_real, 1 ) ) + '\n' ) sizing_file.write( '#define N_OUTPUT_REAL_MAX_ORDER ' + str( max( n_output_real_max_order, 1 ) ) + '\n' ) sizing_file.write( '#endif\n' ) sizing_file.close() except Exception as err: print( '\nSizing header write failed: ' + sizing_name + ': ' + str( err ) ) sys.exit( 1 ) # Generate FMU-QSS if me_fmu_name: try: # Directory tree setup qss_name = me_name + '_QSS' if os.path.exists( qss_name ): if os.path.isdir( qss_name ): shutil.rmtree( qss_name ) elif os.path.isfile( qss_name ): os.remove( qss_name ) os.mkdir( qss_name ) os.mkdir( os.path.join( qss_name, 'binaries' ) ) if not platform.machine().endswith( '64' ): print( '\nFMU-QSS generation only supports 64-bit OS at this time' ) sys.exit( 1 ) if sys.platform.startswith( 'linux' ): binaries_dir = qss_name + '/binaries/linux64' elif sys.platform.startswith( 'win' ): binaries_dir = qss_name + '\\binaries\\win64' else: print( '\nPlatform is not supported for FMU-QSS generation' ) sys.exit( 1 ) os.mkdir( binaries_dir ) os.mkdir( qss_name + os.sep + 'resources' ) #os.mkdir( qss_name + os.sep + 'sources' ) except Exception as err: print( '\nFMU-QSS directory tree setup failed: ' + str( err ) ) sys.exit( 1 ) try: # Build FMU-QSS library QSS = os.environ.get( 'QSS' ) QSS_bin = os.environ.get( 'QSS_bin' ) PlatformCompiler = os.environ.get( 'PlatformCompiler' ) if QSS and QSS_bin and PlatformCompiler: # Configured for building QSS_src = os.path.join( QSS, 'src', 'QSS' ) fmu_src = os.path.join( QSS_src, 'fmu' ) if os.path.exists( 'src' ): if os.path.isdir( 'src' ): shutil.rmtree( 'src' ) elif os.path.isfile( 'src' ): os.remove( 'src' ) src_bld = 'src' fmu_bld = os.path.join( 'src', 'QSS', 'fmu' ) os.makedirs( fmu_bld ) shutil.copy( 'FMU_QSS_defines.hh', fmu_bld ) shutil.copy( 'FMU_QSS_GUID.hh', fmu_bld ) shutil.copy( os.path.join( fmu_src, PlatformCompiler, 'GNUmakefile' ), src_bld ) cwd = os.getcwd() os.chdir( src_bld ) with open( 'GNUmakefile', 'r' ) as sources: lines = sources.readlines() with open( 'GNUmakefile', 'w' ) as sources: for line in lines: if line.startswith( 'DLB := $(BIN_PATH)' + os.sep ): sources.write( line.replace( '$(BIN_PATH)' + os.sep, '' ) ) else: sources.write( line ) try: import psutil n_processors = psutil.cpu_count() except: print( '\nNon-parallel make used: psutil processor count lookup failed' ) n_processors = 1 try: subprocess.call( [ 'make', '-j', str( n_processors ) ] ) try: if sys.platform.startswith( 'linux' ): qss_lib = os.path.join( cwd, binaries_dir, qss_name + '.so' ) if os.path.isfile( qss_lib ): os.remove( qss_lib ) os.rename( 'libFMU-QSS.so', qss_lib ) elif sys.platform.startswith( 'win' ): qss_lib = os.path.join( cwd, binaries_dir, qss_name + '.dll' ) if os.path.isfile( qss_lib ): os.remove( qss_lib ) os.rename( 'libFMU-QSS.dll', qss_lib ) except Exception as err: print( '\nFMU-QSS library move into staging directory failed: ' + str( err ) ) except Exception as err: print( '\nFMU-QSS library make failed: ' + str( err ) ) os.chdir( cwd ) shutil.rmtree( src_bld ) else: print( '\nFMU-QSS library can\'t be built: QSS and QSS_bin environment variables are not set' ) except Exception as err: print( '\nFMU-QSS library build failed: ' + str( err ) ) try: # File setup shutil.copyfile( qss_xml_name, qss_name + os.sep + 'modelDescription.xml' ) shutil.copy( me_fmu_name, qss_name + os.sep + 'resources' ) except Exception as err: print( '\nFMU-QSS file setup failed: ' + str( err ) ) sys.exit( 1 ) try: # Zip FMU-QSS qss_fmu_name = qss_name + '.fmu' if os.path.exists( qss_fmu_name ): if os.path.isfile( qss_fmu_name ): os.remove( qss_fmu_name ) elif os.path.isdir( qss_fmu_name ): shutil.rmtree( qss_fmu_name ) zip_file = ZipFile( qss_fmu_name, mode = 'w' ) os.chdir( qss_name ) for root, dirs, files in os.walk( '.' ): dirs.sort() for dir in dirs: zip_file.write( os.path.join( root, dir ) ) files.sort() for file in files: zip_file.write( os.path.join( root, file ) ) os.chdir( '..' ) zip_file.close() except Exception as err: print( '\nFMU-QSS zip into .fmu failed: ' + str( err ) ) sys.exit( 1 ) if __name__ == '__main__': fmu_qss_gen()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 2, 18695, 52, 12, 48, 5432, 35986, 198, 2, 198, 2, 4935, 25, 1195, 5432, 4294, 332, 198, 2, 198, 2, 15417, 25, 11361, 362, 13, 22, 290, 513, 13, 87, 198, 2, 198, 2, 6013, 276, 416, 38764, 1069, 87, 14044, 11, 3457, 13, 357, 5450, 1378, 26801, 1069, 87, 13, 785, 8, 739, 2775, 284, 198, 2, 262, 2351, 29479, 540, 6682, 18643, 286, 262, 471, 13, 50, 13, 2732, 286, 6682, 198, 2, 198, 2, 15069, 357, 66, 8, 2177, 12, 1238, 2481, 38764, 1069, 87, 14044, 11, 3457, 13, 1439, 2489, 10395, 13, 198, 2, 198, 2, 2297, 396, 3890, 290, 779, 287, 2723, 290, 13934, 5107, 11, 351, 393, 1231, 198, 2, 17613, 11, 389, 10431, 2810, 326, 262, 1708, 3403, 389, 1138, 25, 198, 2, 198, 2, 357, 16, 8, 2297, 396, 2455, 507, 286, 2723, 2438, 1276, 12377, 262, 2029, 6634, 4003, 11, 198, 2, 220, 220, 220, 220, 428, 1351, 286, 3403, 290, 262, 1708, 37592, 13, 198, 2, 198, 2, 357, 17, 8, 2297, 396, 2455, 507, 287, 13934, 1296, 1276, 22919, 262, 2029, 6634, 4003, 11, 198, 2, 220, 220, 220, 220, 428, 1351, 286, 3403, 290, 262, 1708, 37592, 287, 262, 10314, 198, 2, 220, 220, 220, 220, 290, 14, 273, 584, 5696, 2810, 351, 262, 6082, 13, 198, 2, 198, 2, 357, 18, 8, 16126, 262, 1438, 286, 262, 6634, 15762, 4249, 262, 3891, 286, 663, 198, 2, 220, 220, 220, 220, 20420, 743, 307, 973, 284, 11438, 393, 7719, 3186, 10944, 422, 428, 198, 2, 220, 220, 220, 220, 3788, 1231, 2176, 3161, 3194, 7170, 13, 198, 2, 198, 2, 12680, 47466, 3180, 36592, 2389, 1961, 11050, 3336, 27975, 38162, 9947, 367, 15173, 4877, 5357, 27342, 9865, 3843, 20673, 366, 1921, 3180, 1, 198, 2, 5357, 15529, 7788, 32761, 6375, 8959, 49094, 34764, 11015, 11, 47783, 2751, 11, 21728, 5626, 40880, 5390, 11, 3336, 198, 2, 8959, 49094, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 5357, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 198, 2, 15986, 13954, 48778, 1961, 13, 3268, 8005, 49261, 50163, 3336, 27975, 38162, 9947, 49707, 14418, 11, 3336, 49668, 47023, 198, 2, 10351, 5959, 45, 10979, 11, 6375, 27342, 9865, 3843, 20673, 9348, 43031, 19146, 7473, 15529, 42242, 11, 3268, 17931, 23988, 11, 19387, 25256, 1847, 11, 198, 2, 38846, 11, 7788, 3620, 6489, 13153, 11, 6375, 7102, 5188, 10917, 3525, 12576, 29506, 25552, 357, 1268, 39149, 2751, 11, 21728, 5626, 40880, 5390, 11, 198, 2, 41755, 11335, 10979, 3963, 28932, 2257, 2043, 37780, 21090, 50, 6375, 49254, 26, 406, 18420, 3963, 23210, 11, 42865, 11, 6375, 4810, 19238, 29722, 26, 198, 2, 6375, 43949, 44180, 23255, 49, 8577, 24131, 8, 29630, 36, 5959, 7257, 2937, 1961, 5357, 6177, 15529, 3336, 15513, 3963, 43031, 25382, 11, 198, 2, 7655, 2767, 16879, 3268, 27342, 10659, 11, 19269, 18379, 43031, 25382, 11, 6375, 309, 9863, 357, 1268, 39149, 2751, 399, 7156, 43, 3528, 18310, 6375, 198, 2, 25401, 54, 24352, 8, 5923, 1797, 2751, 3268, 15529, 34882, 16289, 3963, 3336, 23210, 3963, 12680, 47466, 11, 45886, 16876, 198, 2, 5984, 29817, 1961, 3963, 3336, 28069, 11584, 25382, 3963, 13558, 3398, 29506, 11879, 13, 198, 198, 2, 11822, 198, 2, 220, 2980, 689, 281, 18695, 52, 12, 48, 5432, 422, 281, 18695, 52, 12, 11682, 351, 7368, 1195, 5432, 3689, 198, 2, 220, 11703, 27660, 302, 6361, 12608, 31191, 291, 33145, 290, 267, 24883, 3651, 523, 356, 389, 1262, 300, 19875, 198, 2, 220, 300, 19875, 815, 307, 5443, 621, 11703, 27660, 584, 621, 4238, 32096, 198, 2, 220, 300, 19875, 318, 407, 3017, 351, 749, 11361, 24570, 475, 460, 307, 6589, 351, 7347, 393, 11, 319, 7020, 11, 422, 257, 5301, 198, 2, 220, 8444, 8374, 9633, 326, 3588, 470, 5072, 9633, 389, 1288, 1384, 422, 262, 18695, 52, 12, 48, 5432, 23735, 198, 2, 220, 12169, 12, 19692, 278, 9633, 357, 834, 89, 66, 62, 28104, 389, 5072, 9633, 287, 674, 18695, 52, 12, 11682, 329, 783, 475, 389, 1288, 1384, 422, 262, 18695, 52, 12, 48, 5432, 23735, 198, 198, 2, 2141, 198, 2, 220, 3060, 517, 1195, 5432, 3689, 3784, 34574, 602, 355, 2622, 198, 198, 2, 1846, 3742, 198, 11748, 1822, 29572, 11, 11454, 3919, 11, 28686, 11, 3859, 11, 4423, 346, 11, 850, 14681, 11, 25064, 198, 6738, 19974, 7753, 1330, 38636, 8979, 198, 6738, 17268, 1330, 14230, 1068, 35, 713, 198, 6738, 300, 19875, 1330, 2123, 631, 198, 198, 4299, 277, 30300, 62, 80, 824, 62, 5235, 33529, 198, 220, 220, 220, 705, 7061, 8645, 378, 281, 18695, 52, 12, 48, 5432, 422, 281, 18695, 52, 12, 11682, 7061, 6, 628, 220, 220, 220, 1303, 10854, 7159, 198, 220, 220, 220, 30751, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 705, 11682, 3256, 1037, 796, 705, 23264, 52, 12, 11682, 277, 30300, 393, 35555, 2393, 3256, 4277, 796, 705, 19849, 11828, 13, 19875, 6, 1267, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 705, 438, 80, 824, 3256, 1037, 796, 705, 48, 5432, 2446, 220, 357, 87, 5769, 31271, 8, 48, 5432, 7, 16, 91, 17, 91, 18, 8, 220, 685, 48, 5432, 17, 60, 3256, 4277, 796, 705, 48, 5432, 17, 6, 1267, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 705, 438, 81, 51, 349, 3256, 1037, 796, 705, 43762, 15621, 220, 685, 23264, 52, 60, 3256, 2099, 796, 12178, 1267, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 705, 438, 64, 51, 349, 3256, 1037, 796, 705, 48546, 15621, 220, 685, 16, 68, 12, 21, 60, 3256, 2099, 796, 12178, 11, 4277, 796, 352, 13, 15, 68, 12, 21, 1267, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 7, 705, 438, 83, 12915, 3256, 1037, 796, 705, 14323, 1741, 886, 640, 220, 685, 23264, 52, 60, 3256, 2099, 796, 12178, 1267, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 220, 220, 220, 26498, 13, 80, 824, 796, 26498, 13, 80, 824, 13, 45828, 3419, 198, 220, 220, 220, 611, 26498, 13, 80, 824, 407, 287, 357, 705, 48, 5432, 16, 3256, 705, 48, 5432, 17, 3256, 705, 48, 5432, 18, 3256, 705, 31271, 48, 5432, 16, 3256, 705, 31271, 48, 5432, 17, 3256, 705, 31271, 48, 5432, 18, 3256, 705, 87, 48, 5432, 16, 3256, 705, 87, 48, 5432, 17, 3256, 705, 87, 48, 5432, 18, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 3118, 15999, 1195, 5432, 2446, 25, 705, 1343, 26498, 13, 80, 824, 1343, 705, 25, 12039, 307, 530, 286, 1195, 5432, 16, 11, 1195, 5432, 17, 11, 1195, 5432, 18, 11, 24653, 48, 5432, 16, 11, 24653, 48, 5432, 17, 11, 24653, 48, 5432, 18, 11, 2124, 48, 5432, 16, 11, 2124, 48, 5432, 17, 11, 2124, 48, 5432, 18, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 611, 357, 26498, 13, 81, 51, 349, 318, 407, 6045, 1267, 290, 357, 26498, 13, 81, 51, 349, 1279, 657, 13, 15, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 32863, 876, 374, 51, 349, 25, 705, 1343, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 81, 51, 349, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 611, 26498, 13, 64, 51, 349, 19841, 657, 13, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 15419, 24561, 257, 51, 349, 25, 705, 1343, 1, 90, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 64, 51, 349, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 611, 357, 26498, 13, 83, 12915, 318, 407, 6045, 1267, 290, 357, 26498, 13, 83, 12915, 1279, 657, 13, 15, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 32863, 876, 256, 12915, 25, 705, 1343, 1, 90, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 83, 12915, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 11948, 62, 21037, 796, 26498, 13, 11682, 13, 21037, 3419, 198, 220, 220, 220, 611, 11948, 62, 21037, 13, 437, 2032, 342, 7, 45302, 19875, 6, 15179, 1303, 23735, 5128, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 69, 30300, 62, 3672, 796, 502, 62, 3672, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 19875, 62, 3672, 796, 26498, 13, 11682, 198, 220, 220, 220, 1288, 361, 11948, 62, 21037, 13, 437, 2032, 342, 7, 45302, 69, 30300, 6, 15179, 1303, 18695, 52, 5128, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 69, 30300, 62, 3672, 796, 26498, 13, 11682, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 3672, 796, 28686, 13, 6978, 13, 22018, 578, 742, 7, 28686, 13, 6978, 13, 12093, 12453, 7, 502, 62, 69, 30300, 62, 3672, 1267, 1267, 58, 657, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 502, 62, 19875, 62, 3672, 796, 705, 19849, 11828, 13, 19875, 6, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 11682, 5128, 318, 407, 257, 764, 69, 30300, 393, 764, 19875, 2393, 25, 705, 1343, 26498, 13, 11682, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 29677, 2746, 11828, 13, 19875, 422, 18695, 52, 12, 11682, 198, 220, 220, 220, 611, 502, 62, 69, 30300, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 796, 38636, 8979, 7, 502, 62, 69, 30300, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 13, 2302, 974, 7, 705, 19849, 11828, 13, 19875, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 11627, 974, 278, 2746, 11828, 13, 19875, 422, 18695, 52, 12, 11682, 277, 30300, 4054, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 4149, 18695, 52, 12, 11682, 35555, 2393, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 30751, 796, 2123, 631, 13, 55, 5805, 46677, 7, 4781, 62, 27190, 62, 5239, 796, 6407, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 5509, 796, 2123, 631, 13, 29572, 7, 502, 62, 19875, 62, 3672, 11, 30751, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 6808, 796, 5509, 13, 1136, 15763, 3419, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 11682, 23735, 1280, 290, 21136, 4054, 25, 705, 1343, 502, 62, 19875, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 277, 11632, 17633, 11828, 2458, 198, 220, 220, 220, 611, 6808, 13, 12985, 14512, 366, 69, 11632, 17633, 11828, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 30016, 318, 407, 277, 11632, 17633, 11828, 287, 18695, 52, 12, 11682, 23735, 25, 705, 1343, 502, 62, 19875, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 277, 11632, 17633, 11828, 796, 6808, 198, 220, 220, 220, 611, 705, 19849, 5376, 6, 287, 277, 11632, 17633, 11828, 13, 1078, 822, 25, 198, 220, 220, 220, 220, 220, 220, 220, 277, 11632, 17633, 11828, 13, 1078, 822, 58, 705, 19849, 5376, 6, 2361, 796, 277, 11632, 17633, 11828, 13, 1078, 822, 58, 705, 19849, 5376, 6, 2361, 1343, 705, 62, 48, 5432, 6, 1303, 18695, 52, 12, 48, 5432, 2746, 1438, 3011, 4808, 48, 5432, 35488, 198, 220, 220, 220, 611, 705, 17618, 5189, 9237, 5497, 44549, 6, 287, 277, 11632, 17633, 11828, 13, 1078, 822, 25, 198, 220, 220, 220, 220, 220, 220, 220, 277, 11632, 17633, 11828, 13, 1078, 822, 58, 705, 17618, 5189, 9237, 5497, 44549, 6, 2361, 796, 705, 15, 6, 1303, 18695, 52, 12, 48, 5432, 468, 645, 1785, 21337, 198, 220, 220, 220, 10103, 62, 5372, 13829, 796, 705, 31, 23264, 52, 12, 48, 5432, 62, 38, 27586, 31, 6, 198, 220, 220, 220, 277, 11632, 17633, 11828, 13, 1078, 822, 58, 705, 5162, 312, 6, 2361, 796, 10103, 62, 5372, 13829, 1303, 8474, 13829, 329, 2491, 277, 30300, 12, 12303, 312, 628, 220, 220, 220, 1303, 9104, 3109, 3803, 2458, 198, 220, 220, 220, 9104, 3109, 3803, 796, 6808, 13, 19796, 7, 705, 17633, 3109, 3803, 6, 1267, 198, 220, 220, 220, 611, 9104, 3109, 3803, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 17633, 3109, 3803, 407, 1043, 287, 705, 1343, 502, 62, 19875, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 611, 705, 19849, 33234, 7483, 6, 287, 9104, 3109, 3803, 13, 1078, 822, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9104, 3109, 3803, 13, 1078, 822, 58, 705, 19849, 33234, 7483, 6, 2361, 796, 9104, 3109, 3803, 13, 1078, 822, 58, 705, 19849, 33234, 7483, 6, 2361, 1343, 705, 62, 48, 5432, 6, 1303, 18695, 52, 12, 48, 5432, 2746, 27421, 3011, 4808, 48, 5432, 35488, 628, 220, 220, 220, 1303, 9938, 9104, 23907, 2977, 198, 220, 220, 220, 9104, 23907, 2977, 796, 6808, 13, 19796, 7, 705, 17633, 23907, 2977, 6, 1267, 198, 220, 220, 220, 611, 9104, 23907, 2977, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 17633, 23907, 2977, 407, 1043, 287, 705, 1343, 502, 62, 19875, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 3060, 1195, 5432, 37647, 198, 220, 220, 220, 39896, 2025, 30078, 796, 6808, 13, 19796, 7, 705, 53, 18738, 2025, 30078, 6, 1267, 198, 220, 220, 220, 611, 39896, 2025, 30078, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 39896, 2025, 30078, 796, 2123, 631, 13, 20180, 7, 705, 53, 18738, 2025, 30078, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 9104, 23907, 2977, 13, 2860, 3866, 1442, 7, 39896, 2025, 30078, 1267, 198, 220, 220, 220, 1195, 5432, 796, 2123, 631, 13, 7004, 20180, 7, 39896, 2025, 30078, 11, 705, 25391, 3256, 708, 822, 796, 1391, 705, 3672, 10354, 705, 48, 5432, 6, 1782, 1267, 198, 220, 220, 220, 47939, 796, 2123, 631, 13, 7004, 20180, 7, 1195, 5432, 11, 705, 2025, 30078, 6, 1267, 198, 220, 220, 220, 2123, 631, 13, 7004, 20180, 7, 47939, 11, 705, 2025, 38983, 3256, 708, 822, 796, 14230, 1068, 35, 713, 7, 685, 357, 705, 3672, 3256, 705, 80, 824, 6, 10612, 357, 705, 8367, 3256, 26498, 13, 80, 824, 1267, 2361, 1267, 1267, 198, 220, 220, 220, 611, 26498, 13, 81, 51, 349, 318, 407, 6045, 25, 2123, 631, 13, 7004, 20180, 7, 47939, 11, 705, 2025, 38983, 3256, 708, 822, 796, 14230, 1068, 35, 713, 7, 685, 357, 705, 3672, 3256, 705, 81, 51, 349, 6, 10612, 357, 705, 8367, 3256, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 81, 51, 349, 1267, 1267, 2361, 1267, 1267, 198, 220, 220, 220, 2123, 631, 13, 7004, 20180, 7, 47939, 11, 705, 2025, 38983, 3256, 708, 822, 796, 14230, 1068, 35, 713, 7, 685, 357, 705, 3672, 3256, 705, 64, 51, 349, 6, 10612, 357, 705, 8367, 3256, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 64, 51, 349, 1267, 1267, 2361, 1267, 1267, 198, 220, 220, 220, 611, 26498, 13, 83, 12915, 318, 407, 6045, 25, 2123, 631, 13, 7004, 20180, 7, 47939, 11, 705, 2025, 38983, 3256, 708, 822, 796, 14230, 1068, 35, 713, 7, 685, 357, 705, 3672, 3256, 705, 83, 12915, 6, 10612, 357, 705, 8367, 3256, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 83, 12915, 1267, 1267, 2361, 1267, 1267, 198, 220, 220, 220, 1303, 5211, 3060, 584, 37647, 355, 2622, 628, 220, 220, 220, 1303, 2980, 378, 2746, 12, 11423, 1195, 5432, 13639, 198, 220, 220, 220, 1949, 25, 1303, 13610, 1195, 5432, 3689, 13639, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 3672, 796, 705, 23264, 52, 62, 48, 5432, 62, 25811, 13, 12337, 6, 198, 220, 220, 220, 220, 220, 220, 220, 611, 25064, 13, 9641, 62, 10951, 18189, 357, 513, 11, 657, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 796, 1280, 7, 1195, 5432, 62, 18076, 62, 3672, 11, 705, 86, 3256, 649, 1370, 796, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 796, 1280, 7, 1195, 5432, 62, 18076, 62, 3672, 11, 705, 39346, 6, 1267, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 48, 5432, 3689, 13639, 1280, 4054, 25, 705, 1343, 1195, 5432, 62, 18076, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 1949, 25, 1303, 19430, 1195, 5432, 62, 18076, 13639, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 2, 361, 358, 891, 18695, 52, 62, 48, 5432, 62, 25811, 62, 12337, 62, 1268, 39149, 1961, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 2, 13086, 18695, 52, 62, 48, 5432, 62, 25811, 62, 12337, 62, 1268, 39149, 1961, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 48, 5432, 3712, 25811, 3712, 48, 5432, 1500, 277, 30300, 62, 80, 824, 62, 80, 824, 7, 1195, 5432, 3712, 25811, 3712, 48, 5432, 3712, 6, 1343, 26498, 13, 80, 824, 1343, 705, 5619, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 13, 81, 51, 349, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 23352, 1500, 277, 30300, 62, 80, 824, 62, 81, 51, 349, 7, 705, 1343, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 81, 51, 349, 1267, 1343, 705, 5619, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 23352, 1500, 277, 30300, 62, 80, 824, 62, 81, 51, 349, 7, 532, 16, 13, 15, 5619, 3373, 36183, 5218, 791, 23599, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 23352, 1500, 277, 30300, 62, 80, 824, 62, 64, 51, 349, 7, 705, 1343, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 64, 51, 349, 1267, 1343, 705, 5619, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26498, 13, 83, 12915, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 23352, 1500, 277, 30300, 62, 80, 824, 62, 83, 12915, 7, 705, 1343, 45144, 25, 13, 1433, 69, 92, 1911, 18982, 7, 26498, 13, 83, 12915, 1267, 1343, 705, 5619, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 23352, 1500, 277, 30300, 62, 80, 824, 62, 83, 12915, 7, 532, 16, 13, 15, 5619, 3373, 36183, 5218, 791, 23599, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 13564, 7, 705, 2, 32088, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 18076, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 48, 5432, 3689, 13639, 3551, 4054, 25, 705, 1343, 1195, 5432, 62, 18076, 62, 3672, 1343, 705, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 9938, 34529, 283, 23907, 2977, 198, 220, 220, 220, 34529, 283, 23907, 2977, 796, 9104, 23907, 2977, 13, 19796, 439, 7, 705, 3351, 282, 283, 43015, 6, 1267, 1303, 7343, 286, 34529, 283, 43015, 628, 220, 220, 220, 1303, 11440, 1958, 1181, 9633, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9104, 1273, 5620, 796, 6808, 13, 19796, 7, 705, 17633, 1273, 5620, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 9626, 452, 2929, 796, 9104, 1273, 5620, 13, 19796, 7, 705, 28532, 452, 2929, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 16185, 82, 796, 9626, 452, 2929, 13, 19796, 439, 7, 705, 20035, 6, 1267, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 16185, 82, 796, 17635, 1303, 1400, 1181, 7885, 28486, 198, 220, 220, 220, 28486, 62, 9630, 274, 796, 900, 3419, 1303, 1812, 7885, 27255, 39199, 198, 220, 220, 220, 329, 16185, 287, 16185, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28486, 62, 9630, 274, 13, 2860, 7, 493, 7, 16185, 13, 1078, 822, 58, 705, 9630, 6, 2361, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 198, 220, 220, 220, 318, 62, 5219, 796, 1391, 1312, 25, 10352, 329, 1312, 287, 2837, 7, 352, 11, 18896, 7, 34529, 283, 23907, 2977, 1267, 1343, 352, 1267, 1782, 198, 220, 220, 220, 329, 1312, 287, 2837, 7, 18896, 7, 34529, 283, 23907, 2977, 1267, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 34529, 283, 23907, 2977, 58, 1312, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 6416, 796, 410, 13, 19796, 7, 705, 15633, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27255, 62, 1659, 796, 6416, 13, 1078, 822, 58, 705, 1082, 452, 876, 6, 2361, 611, 705, 1082, 452, 876, 6, 287, 6416, 13, 1078, 822, 2073, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 27255, 62, 1659, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27255, 62, 1659, 62, 9630, 796, 493, 7, 27255, 62, 1659, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 1343, 352, 287, 28486, 62, 9630, 274, 25, 318, 62, 5219, 58, 27255, 62, 1659, 62, 9630, 2361, 796, 6407, 1303, 15323, 714, 307, 257, 1729, 12, 5219, 357, 32538, 393, 5128, 8, 7885, 351, 257, 27255, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 410, 13, 1078, 822, 58, 705, 3672, 6, 2361, 611, 705, 3672, 6, 287, 410, 13, 1078, 822, 2073, 10148, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 15419, 12, 41433, 27255, 287, 705, 1343, 1438, 1343, 705, 25, 705, 1343, 965, 7, 27255, 62, 1659, 1267, 1267, 628, 220, 220, 220, 1303, 337, 42175, 9633, 290, 3975, 39199, 198, 220, 220, 220, 33245, 796, 23884, 1303, 18695, 52, 12, 11682, 284, 18695, 52, 12, 48, 5432, 7885, 6376, 3975, 198, 220, 220, 220, 1303, 267, 72, 796, 23884, 1303, 18695, 52, 12, 48, 5432, 284, 18695, 52, 12, 11682, 7885, 6376, 3975, 198, 220, 220, 220, 1312, 796, 267, 796, 657, 198, 220, 220, 220, 23862, 796, 17635, 198, 220, 220, 220, 299, 62, 5305, 796, 299, 62, 41433, 796, 299, 62, 2127, 21052, 796, 299, 62, 8841, 796, 657, 198, 220, 220, 220, 299, 62, 15414, 62, 5305, 796, 299, 62, 22915, 62, 5305, 796, 657, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 299, 62, 15414, 62, 5305, 62, 9806, 62, 2875, 796, 299, 62, 22915, 62, 5305, 62, 9806, 62, 2875, 796, 493, 7, 26498, 13, 80, 824, 58, 532, 16, 2361, 1267, 198, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 23735, 5270, 4054, 25, 1195, 5432, 2446, 1502, 407, 5174, 422, 938, 2095, 286, 10662, 824, 4578, 25, 705, 1343, 965, 7, 26498, 13, 80, 824, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 329, 410, 287, 34529, 283, 23907, 2977, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 15853, 352, 1303, 18695, 52, 12, 11682, 7885, 6376, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 410, 13, 1078, 822, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 257, 58, 705, 3672, 6, 2361, 611, 705, 3672, 6, 287, 257, 2073, 10148, 198, 220, 220, 220, 220, 220, 220, 220, 26846, 1483, 796, 257, 58, 705, 6888, 385, 1483, 6, 2361, 611, 705, 6888, 385, 1483, 6, 287, 257, 2073, 705, 12001, 6, 198, 220, 220, 220, 220, 220, 220, 220, 25364, 796, 257, 58, 705, 25641, 1799, 6, 2361, 611, 705, 25641, 1799, 6, 287, 257, 2073, 705, 18487, 5623, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2180, 796, 410, 13, 1136, 3866, 1442, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2912, 796, 2180, 611, 357, 2180, 318, 407, 6045, 1267, 290, 357, 2180, 13, 12985, 318, 2123, 631, 13, 21357, 1267, 290, 965, 7, 2180, 6739, 9688, 2032, 342, 7, 357, 705, 27, 28112, 35748, 351, 6376, 1303, 3256, 705, 27, 28112, 12901, 329, 1306, 7885, 796, 705, 1267, 1267, 2073, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 611, 26846, 1483, 287, 357, 705, 15414, 3256, 705, 22915, 6, 1267, 290, 407, 357, 357, 26846, 1483, 6624, 705, 22915, 6, 1267, 290, 1438, 13, 9688, 2032, 342, 7, 705, 834, 89, 66, 62, 6, 1267, 15179, 1303, 9175, 357, 16341, 6632, 12, 19692, 278, 5072, 9633, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 15853, 352, 1303, 18695, 52, 12, 48, 5432, 7885, 6376, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 58, 1312, 2361, 796, 267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 267, 72, 58, 267, 2361, 796, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6416, 796, 410, 13, 19796, 7, 705, 15633, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 34142, 796, 410, 13, 19796, 7, 705, 46541, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41146, 796, 410, 13, 19796, 7, 705, 46120, 13087, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10903, 796, 410, 13, 19796, 7, 705, 10100, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 5305, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 34142, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 41433, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 41146, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 2127, 21052, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 10903, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 8841, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 26846, 1483, 6624, 705, 22915, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23862, 13, 33295, 7, 267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 22915, 62, 5305, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 1303, 23412, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 15414, 62, 5305, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 23893, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 357, 26846, 1483, 6624, 705, 12001, 6, 1267, 290, 357, 25364, 6624, 705, 18487, 5623, 6, 1267, 290, 318, 62, 5219, 58, 1312, 2361, 25, 1303, 1812, 284, 5072, 7885, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 705, 6888, 385, 1483, 6, 2361, 796, 705, 22915, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 15853, 352, 1303, 18695, 52, 12, 48, 5432, 7885, 6376, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 58, 1312, 2361, 796, 267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 267, 72, 58, 267, 2361, 796, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23862, 13, 33295, 7, 267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 705, 36733, 6, 287, 257, 25, 1619, 257, 58, 705, 36733, 6, 2361, 1303, 14258, 4238, 1020, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 23893, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6416, 796, 410, 13, 19796, 7, 705, 15633, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 5305, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 22915, 62, 5305, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 705, 9688, 6, 287, 6416, 13, 1078, 822, 25, 1619, 6416, 13, 1078, 822, 58, 705, 9688, 6, 2361, 1303, 17220, 923, 1020, 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, 3601, 7, 705, 59, 77, 23264, 52, 12, 11682, 357, 18487, 5623, 8, 1181, 7885, 318, 407, 6416, 25, 705, 1343, 1438, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 1303, 17220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9104, 23907, 2977, 13, 28956, 7, 410, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2912, 318, 407, 6045, 25, 9104, 23907, 2977, 13, 28956, 7, 2912, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 23893, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 611, 900, 62, 23893, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2912, 318, 407, 6045, 25, 1303, 20292, 7885, 6376, 287, 2912, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2912, 13, 5239, 796, 705, 12901, 329, 1306, 7885, 796, 705, 1343, 965, 7, 267, 1267, 1343, 705, 19203, 1343, 965, 7, 1312, 1267, 1343, 705, 8, 705, 1303, 360, 4948, 5708, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2912, 13, 5239, 796, 705, 35748, 351, 6376, 1303, 6, 1343, 965, 7, 267, 1267, 1343, 705, 19203, 1343, 965, 7, 1312, 1267, 1343, 705, 8, 705, 1303, 42256, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 1303, 35835, 2912, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 13, 2860, 3866, 1442, 7, 2123, 631, 13, 21357, 7, 705, 12901, 329, 1306, 7885, 796, 705, 1343, 965, 7, 267, 1267, 1343, 705, 19203, 1343, 965, 7, 1312, 1267, 1343, 705, 8, 705, 1267, 1267, 1303, 360, 4948, 5708, 5794, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 13, 2860, 3866, 1442, 7, 2123, 631, 13, 21357, 7, 705, 35748, 351, 6376, 1303, 6, 1343, 965, 7, 267, 1267, 1343, 705, 19203, 1343, 965, 7, 1312, 1267, 1343, 705, 8, 705, 1267, 1267, 1303, 42256, 5794, 628, 220, 220, 220, 1303, 797, 12, 9630, 28486, 198, 220, 220, 220, 34529, 283, 23907, 2977, 796, 9104, 23907, 2977, 13, 19796, 439, 7, 705, 3351, 282, 283, 43015, 6, 1267, 1303, 7343, 286, 34529, 283, 43015, 706, 2029, 778, 46493, 198, 220, 220, 220, 329, 410, 287, 34529, 283, 23907, 2977, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6416, 796, 410, 13, 19796, 7, 705, 15633, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6416, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27255, 796, 6416, 13, 1078, 822, 58, 705, 1082, 452, 876, 6, 2361, 611, 705, 1082, 452, 876, 6, 287, 6416, 13, 1078, 822, 2073, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 27255, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27255, 62, 9630, 796, 493, 7, 27255, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6416, 13, 1078, 822, 58, 705, 1082, 452, 876, 6, 2361, 796, 965, 7, 33245, 58, 27255, 62, 9630, 2361, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 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, 3601, 7, 705, 28532, 452, 876, 302, 12, 9630, 278, 4054, 329, 705, 1343, 357, 410, 13, 1078, 822, 58, 705, 3672, 6, 2361, 611, 705, 3672, 6, 287, 410, 13, 1078, 822, 2073, 10148, 1267, 1343, 705, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1208, 1303, 27511, 2098, 428, 2029, 628, 220, 220, 220, 1303, 337, 42175, 9104, 1273, 5620, 198, 220, 220, 220, 9104, 1273, 5620, 796, 6808, 13, 19796, 7, 705, 17633, 1273, 5620, 6, 1267, 198, 220, 220, 220, 611, 9104, 1273, 5620, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9104, 1273, 5620, 796, 2123, 631, 13, 20180, 7, 705, 17633, 1273, 5620, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 9104, 23907, 2977, 13, 2860, 19545, 7, 9104, 1273, 5620, 1267, 198, 220, 220, 220, 329, 308, 287, 357, 705, 28532, 452, 2929, 3256, 705, 15642, 8374, 42237, 3256, 705, 24243, 20035, 82, 6, 15179, 1303, 17220, 777, 9004, 198, 220, 220, 220, 220, 220, 220, 220, 304, 796, 9104, 1273, 5620, 13, 19796, 7, 308, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 611, 304, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9104, 1273, 5620, 13, 28956, 7, 304, 1267, 198, 220, 220, 220, 25235, 82, 796, 9104, 1273, 5620, 13, 19796, 7, 705, 26410, 82, 6, 1267, 198, 220, 220, 220, 611, 25235, 82, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 25235, 82, 796, 2123, 631, 13, 7004, 20180, 7, 9104, 1273, 5620, 11, 705, 26410, 82, 6, 1267, 198, 220, 220, 220, 16185, 82, 796, 25235, 82, 13, 19796, 439, 7, 705, 20035, 6, 1267, 198, 220, 220, 220, 329, 334, 287, 16185, 82, 25, 1303, 17220, 2180, 12784, 198, 220, 220, 220, 220, 220, 220, 220, 25235, 82, 13, 28956, 7, 334, 1267, 198, 220, 220, 220, 329, 267, 287, 23862, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2123, 631, 13, 7004, 20180, 7, 25235, 82, 11, 705, 20035, 3256, 708, 822, 796, 14230, 1068, 35, 713, 7, 685, 357, 705, 9630, 3256, 965, 7, 267, 1267, 10612, 357, 705, 45841, 3976, 3256, 10148, 1267, 2361, 1267, 1267, 628, 220, 220, 220, 1303, 19430, 18695, 52, 12, 48, 5432, 35555, 2393, 198, 220, 220, 220, 1303, 4798, 7, 2123, 631, 13, 83, 455, 1806, 7, 6808, 11, 2495, 62, 4798, 28, 17821, 11, 21004, 11639, 46903, 1098, 6, 1267, 1267, 1303, 27509, 4242, 2, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10662, 824, 62, 19875, 62, 3672, 796, 705, 23264, 52, 12, 48, 5432, 62, 6, 1343, 28686, 13, 6978, 13, 12093, 12453, 7, 502, 62, 19875, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 5509, 13, 13564, 7, 10662, 824, 62, 19875, 62, 3672, 11, 21004, 796, 705, 48504, 12, 23, 3256, 35555, 62, 32446, 10186, 796, 6407, 11, 2495, 62, 4798, 796, 6407, 1267, 198, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 23735, 3551, 4054, 25, 705, 1343, 10662, 824, 62, 19875, 62, 3672, 1343, 705, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 3060, 19348, 2389, 284, 18695, 52, 12, 48, 5432, 35555, 2393, 290, 7716, 19348, 2389, 13639, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 13345, 7, 685, 705, 69, 30300, 12, 12303, 312, 3256, 10662, 824, 62, 19875, 62, 3672, 11, 10103, 62, 5372, 13829, 11, 10662, 824, 62, 19875, 62, 3672, 11, 705, 23264, 52, 62, 48, 5432, 62, 38, 27586, 13, 12337, 3256, 705, 23264, 52, 62, 48, 5432, 62, 38, 27586, 6, 2361, 1267, 198, 220, 220, 220, 2845, 440, 5188, 81, 1472, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 304, 13, 8056, 3919, 6624, 11454, 3919, 13, 1677, 46, 3525, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 23735, 19348, 2389, 29964, 4054, 25, 277, 30300, 12, 12303, 312, 1430, 407, 287, 46490, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 23735, 19348, 2389, 29964, 4054, 25, 705, 1343, 965, 7, 304, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 46189, 645, 12, 9122, 19348, 2389, 13639, 7560, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 3672, 796, 705, 23264, 52, 62, 48, 5432, 62, 38, 27586, 13, 12337, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 25064, 13, 9641, 62, 10951, 18189, 357, 513, 11, 657, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 7753, 796, 1280, 7, 10103, 62, 3672, 11, 705, 86, 3256, 649, 1370, 796, 705, 59, 77, 6, 1267, 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, 10103, 62, 7753, 796, 1280, 7, 10103, 62, 3672, 11, 705, 39346, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 38, 27586, 13639, 1280, 4054, 25, 705, 1343, 10103, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 7753, 13, 13564, 7, 705, 2, 361, 358, 891, 18695, 52, 62, 48, 5432, 62, 38, 27586, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 7753, 13, 13564, 7, 705, 2, 13086, 18695, 52, 62, 48, 5432, 62, 38, 27586, 366, 23264, 52, 12, 48, 5432, 62, 38, 27586, 1, 3373, 1400, 12, 9122, 1988, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 7753, 13, 13564, 7, 705, 2, 32088, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10103, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 38, 27586, 13639, 3551, 4054, 25, 705, 1343, 10103, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 2980, 378, 2746, 12, 11423, 2546, 17336, 13639, 198, 220, 220, 220, 1949, 25, 1303, 13610, 47016, 13639, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 3672, 796, 705, 23264, 52, 62, 48, 5432, 62, 4299, 1127, 13, 12337, 6, 198, 220, 220, 220, 220, 220, 220, 220, 611, 25064, 13, 9641, 62, 10951, 18189, 357, 513, 11, 657, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 796, 1280, 7, 47016, 62, 3672, 11, 705, 86, 3256, 649, 1370, 796, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 796, 1280, 7, 47016, 62, 3672, 11, 705, 39346, 6, 1267, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 50, 2890, 13639, 1280, 4054, 25, 705, 1343, 47016, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 1949, 25, 1303, 19430, 47016, 13639, 25, 311, 4340, 18189, 16, 284, 3368, 5293, 657, 12, 13982, 26515, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 361, 358, 891, 18695, 52, 62, 48, 5432, 62, 4299, 1127, 62, 12337, 62, 1268, 39149, 1961, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 18695, 52, 62, 48, 5432, 62, 4299, 1127, 62, 12337, 62, 1268, 39149, 1961, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 1003, 5740, 25, 311, 4340, 389, 18189, 16, 284, 3368, 5293, 657, 12, 13982, 26515, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 20571, 45746, 28119, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 2200, 1847, 705, 1343, 965, 7, 3509, 7, 299, 62, 5305, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 12394, 7156, 1137, 705, 1343, 965, 7, 3509, 7, 299, 62, 41433, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 33, 6684, 2538, 1565, 705, 1343, 965, 7, 3509, 7, 299, 62, 2127, 21052, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 18601, 2751, 705, 1343, 965, 7, 3509, 7, 299, 62, 8841, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 1268, 30076, 62, 2200, 1847, 705, 1343, 965, 7, 3509, 7, 299, 62, 15414, 62, 5305, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 1268, 30076, 62, 2200, 1847, 62, 22921, 62, 12532, 1137, 705, 1343, 965, 7, 3509, 7, 299, 62, 15414, 62, 5305, 62, 9806, 62, 2875, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 2606, 7250, 3843, 62, 2200, 1847, 705, 1343, 965, 7, 3509, 7, 299, 62, 22915, 62, 5305, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 13086, 399, 62, 2606, 7250, 3843, 62, 2200, 1847, 62, 22921, 62, 12532, 1137, 705, 1343, 965, 7, 3509, 7, 299, 62, 22915, 62, 5305, 62, 9806, 62, 2875, 11, 352, 1267, 1267, 1343, 705, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 13564, 7, 705, 2, 32088, 59, 77, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 47016, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 50, 2890, 13639, 3551, 4054, 25, 705, 1343, 47016, 62, 3672, 1343, 705, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 628, 220, 220, 220, 1303, 2980, 378, 18695, 52, 12, 48, 5432, 198, 220, 220, 220, 611, 502, 62, 69, 30300, 62, 3672, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 1303, 27387, 5509, 9058, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 824, 62, 3672, 796, 502, 62, 3672, 1343, 705, 62, 48, 5432, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 10662, 824, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 9409, 343, 7, 10662, 824, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 81, 16762, 631, 7, 10662, 824, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 28686, 13, 6978, 13, 4468, 576, 7, 10662, 824, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 10662, 824, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28015, 15908, 7, 10662, 824, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28015, 15908, 7, 28686, 13, 6978, 13, 22179, 7, 10662, 824, 62, 3672, 11, 705, 8800, 3166, 6, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 3859, 13, 30243, 22446, 437, 2032, 342, 7, 705, 2414, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 5270, 691, 6971, 5598, 12, 2545, 7294, 379, 428, 640, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 25064, 13, 24254, 13, 9688, 2032, 342, 7, 705, 23289, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38640, 62, 15908, 796, 10662, 824, 62, 3672, 1343, 31051, 8800, 3166, 14, 23289, 2414, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 25064, 13, 24254, 13, 9688, 2032, 342, 7, 705, 5404, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38640, 62, 15908, 796, 10662, 824, 62, 3672, 1343, 705, 6852, 8800, 3166, 6852, 5404, 2414, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 37148, 318, 407, 4855, 329, 18695, 52, 12, 48, 5432, 5270, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28015, 15908, 7, 38640, 62, 15908, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28015, 15908, 7, 10662, 824, 62, 3672, 1343, 28686, 13, 325, 79, 1343, 705, 37540, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 418, 13, 28015, 15908, 7, 10662, 824, 62, 3672, 1343, 28686, 13, 325, 79, 1343, 705, 82, 2203, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 8619, 5509, 9058, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 1303, 10934, 18695, 52, 12, 48, 5432, 5888, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 796, 28686, 13, 268, 2268, 13, 1136, 7, 705, 48, 5432, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 8800, 796, 28686, 13, 268, 2268, 13, 1136, 7, 705, 48, 5432, 62, 8800, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19193, 7293, 5329, 796, 28686, 13, 268, 2268, 13, 1136, 7, 705, 37148, 7293, 5329, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1195, 5432, 290, 1195, 5432, 62, 8800, 290, 19193, 7293, 5329, 25, 1303, 17056, 1522, 329, 2615, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1195, 5432, 62, 10677, 796, 28686, 13, 6978, 13, 22179, 7, 1195, 5432, 11, 705, 10677, 3256, 705, 48, 5432, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 30300, 62, 10677, 796, 220, 28686, 13, 6978, 13, 22179, 7, 1195, 5432, 62, 10677, 11, 705, 69, 30300, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 705, 10677, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 9409, 343, 7, 705, 10677, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 81, 16762, 631, 7, 705, 10677, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 28686, 13, 6978, 13, 4468, 576, 7, 705, 10677, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 705, 10677, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12351, 62, 65, 335, 796, 705, 10677, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 30300, 62, 65, 335, 796, 28686, 13, 6978, 13, 22179, 7, 705, 10677, 3256, 705, 48, 5432, 3256, 705, 69, 30300, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 76, 4335, 17062, 7, 277, 30300, 62, 65, 335, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7, 705, 23264, 52, 62, 48, 5432, 62, 4299, 1127, 13, 12337, 3256, 277, 30300, 62, 65, 335, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7, 705, 23264, 52, 62, 48, 5432, 62, 38, 27586, 13, 12337, 3256, 277, 30300, 62, 65, 335, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7, 28686, 13, 6978, 13, 22179, 7, 277, 30300, 62, 10677, 11, 19193, 7293, 5329, 11, 705, 16630, 52, 15883, 7753, 6, 10612, 12351, 62, 65, 335, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 16993, 796, 28686, 13, 1136, 66, 16993, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 354, 15908, 7, 12351, 62, 65, 335, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 705, 16630, 52, 15883, 7753, 3256, 705, 81, 6, 1267, 355, 4237, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3951, 796, 4237, 13, 961, 6615, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 705, 16630, 52, 15883, 7753, 3256, 705, 86, 6, 1267, 355, 4237, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1627, 287, 3951, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1627, 13, 9688, 2032, 342, 7, 705, 19260, 33, 19039, 29568, 33, 1268, 62, 34219, 33047, 1343, 28686, 13, 325, 79, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4237, 13, 13564, 7, 1627, 13, 33491, 7, 705, 3, 7, 33, 1268, 62, 34219, 33047, 1343, 28686, 13, 325, 79, 11, 10148, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4237, 13, 13564, 7, 1627, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 26692, 22602, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 14681, 669, 796, 26692, 22602, 13, 36166, 62, 9127, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 15419, 12, 1845, 29363, 787, 973, 25, 26692, 22602, 12649, 954, 35847, 4054, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 62, 14681, 669, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 850, 14681, 13, 13345, 7, 685, 705, 15883, 3256, 705, 12, 73, 3256, 965, 7, 299, 62, 14681, 669, 1267, 2361, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 25064, 13, 24254, 13, 9688, 2032, 342, 7, 705, 23289, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 824, 62, 8019, 796, 28686, 13, 6978, 13, 22179, 7, 269, 16993, 11, 38640, 62, 15908, 11, 10662, 824, 62, 3672, 1343, 45302, 568, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 4468, 576, 7, 10662, 824, 62, 8019, 15179, 28686, 13, 28956, 7, 10662, 824, 62, 8019, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 918, 480, 7, 705, 8019, 23264, 52, 12, 48, 5432, 13, 568, 3256, 10662, 824, 62, 8019, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 25064, 13, 24254, 13, 9688, 2032, 342, 7, 705, 5404, 6, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 824, 62, 8019, 796, 28686, 13, 6978, 13, 22179, 7, 269, 16993, 11, 38640, 62, 15908, 11, 10662, 824, 62, 3672, 1343, 45302, 12736, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 4468, 576, 7, 10662, 824, 62, 8019, 15179, 28686, 13, 28956, 7, 10662, 824, 62, 8019, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 918, 480, 7, 705, 8019, 23264, 52, 12, 48, 5432, 13, 12736, 3256, 10662, 824, 62, 8019, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 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, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 5888, 1445, 656, 29475, 8619, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 5888, 787, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 354, 15908, 7, 269, 16993, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 81, 16762, 631, 7, 12351, 62, 65, 335, 1267, 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, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 5888, 460, 43054, 83, 307, 3170, 25, 1195, 5432, 290, 1195, 5432, 62, 8800, 2858, 9633, 389, 407, 900, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 5888, 1382, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 1303, 9220, 9058, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7753, 7, 10662, 824, 62, 19875, 62, 3672, 11, 10662, 824, 62, 3672, 1343, 28686, 13, 325, 79, 1343, 705, 19849, 11828, 13, 19875, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 30073, 7, 502, 62, 69, 30300, 62, 3672, 11, 10662, 824, 62, 3672, 1343, 28686, 13, 325, 79, 1343, 705, 37540, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 2393, 9058, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 1303, 38636, 18695, 52, 12, 48, 5432, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 824, 62, 69, 30300, 62, 3672, 796, 10662, 824, 62, 3672, 1343, 45302, 69, 30300, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 10662, 824, 62, 69, 30300, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 4468, 576, 7, 10662, 824, 62, 69, 30300, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 28956, 7, 10662, 824, 62, 69, 30300, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 28686, 13, 6978, 13, 9409, 343, 7, 10662, 824, 62, 69, 30300, 62, 3672, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4423, 346, 13, 81, 16762, 631, 7, 10662, 824, 62, 69, 30300, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 796, 38636, 8979, 7, 10662, 824, 62, 69, 30300, 62, 3672, 11, 4235, 796, 705, 86, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 354, 15908, 7, 10662, 824, 62, 3672, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 6808, 11, 288, 17062, 11, 3696, 287, 28686, 13, 11152, 7, 705, 2637, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 17062, 13, 30619, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 26672, 287, 288, 17062, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 13, 13564, 7, 28686, 13, 6978, 13, 22179, 7, 6808, 11, 26672, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3696, 13, 30619, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2393, 287, 3696, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 13, 13564, 7, 28686, 13, 6978, 13, 22179, 7, 6808, 11, 2393, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 354, 15908, 7, 705, 492, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19974, 62, 7753, 13, 19836, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 705, 59, 77, 23264, 52, 12, 48, 5432, 19974, 656, 764, 69, 30300, 4054, 25, 705, 1343, 965, 7, 11454, 1267, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 352, 1267, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 277, 30300, 62, 80, 824, 62, 5235, 3419, 198 ]
2.132575
11,435
""" This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/> @author: Josiah Walker """ import numpy,random from BlockSparseMatrix import BlockSparseMatrix from BresenhamAlgorithms import BresenhamLine,BresenhamTriangle,BresenhamPolygon #ranges all given in cm SonarSensor = {"spread": 15.*numpy.pi/180., "range": 500., "phitfree": -0.3, "phitoccupied": 3.} class GridMap: """ Sparse gridmap for 2D mapping. """ def __init__(self,scale=1.0): """ @brief Initialise a sparse block grid-map with arc-based sensor updates. @param scale The multiplier to rescale from input units to map cell size. """ self._scale = scale self._map = BlockSparseMatrix() def update(self,position,distance,sensorangle,sensor): """ @brief Update the map with a sensor reading. @param position The robot's current position given as (x,y,theta) for hte robot's position and angle. @param distance The distance measurement from the sensor. @param sensorangle The current angle from the robot's forward direction to the sensor. @param sensor A dict holding sensor-specific hardware data (see SonarSensor in this file). """ #generate the angle positions (change angleUpdates for more accurate approximation) angleUpdates = 4 thetas = [] for i in xrange(angleUpdates-1): thetas.append(position[2] + i*sensor["spread"]/angleUpdates - sensor["spread"]/2. + sensorangle) thetas.append(position[2] + sensor["spread"]/2. + sensorangle) #generate the arc and robot positions positions = [numpy.array(position[:2])*self._scale] for t in thetas: positions.append( numpy.round( numpy.array([numpy.cos(t),numpy.sin(t)]) * distance * self._scale + positions[0] ).astype(numpy.int64) ) positions[0] = numpy.round(positions[0]).astype(numpy.int64) #FILL THE EMPTY ARC AREA OF THE SENSOR (as an approximate polygon) emptyVal = sensor["phitfree"] for cell in BresenhamPolygon(positions): self._map[cell[0],cell[1]] = max(emptyVal+self._map[cell[0],cell[1]],-20.) #clip to -20 #DO BRESENHAM detection on the arc edge for object hits hitVals = BresenhamLine(positions[1],positions[2]) solidVal = sensor["phitoccupied"] startpt = 0 for i in xrange(1,len(positions)-1): hitVals = BresenhamLine(positions[i],positions[i+1]) solidVal = sensor["phitoccupied"] for h in hitVals[startpt:]: self._map[h[0],h[1]] = min(solidVal+self._map[h[0],h[1]],120.) #clip to 120 startpt = 1 #skip the first part of all following line segments def get(self,location): """ @brief Get the value at a certain x,y location. @param location A location in the form [x,y] """ location = numpy.round(location*self._scale).astype(numpy.int64) return self._map(location[0],location[1]) def getRange(self,topleft,bottomright): """ @brief Get the values for a range of locations as a matrix. Note: this returns at the internal scale, not the external scale @param topleft A location in the form [x,y] in external units designating the top left of the area @param bottomright A location in the form [x,y] in external units designating the bottom right of the area """ #convert into map scale topleft = numpy.round(numpy.array(topleft)*self._scale).astype(numpy.int64) bottomright = numpy.round(numpy.array(bottomright)*self._scale).astype(numpy.int64) #fill in the output result = numpy.zeros((bottomright[0]-topleft[0],bottomright[1]-topleft[1])) for i in xrange(topleft[0],bottomright[0]): ival = numpy.round(i).astype(numpy.int64) for j in xrange(topleft[1],bottomright[1]): jval = numpy.round(j).astype(numpy.int64) result[i-topleft[0],j-topleft[1]] = self._map[ival,jval] return result if __name__ == '__main__': """ Do validation test """ import time,os from matplotlib import pyplot #set this true and have mencoder to create a video of the test makevideo = True #set up the map and scale scale = 100.0 groundtruth = ((1,1,1,1,1), (1,0,0,0,1), (1,0,1,0,1), (1,0,0,0,1), (1,1,1,1,1)) gridScale = 0.5 #set up the grid map on a 2cm scale (half the input resolution) estmap = GridMap(scale=gridScale) #this is the set of positions the rover moves between tour = ((150.0,150.0,0.0),(350.0,150.0,0.0), (350.0,150.0,numpy.pi/2.0),(350.0,350.0,numpy.pi/2.0), (350.0,350.0,numpy.pi),(150.0,350.0,numpy.pi), (150.0,350.0,numpy.pi*1.5),(150.0,150.0,numpy.pi*1.5),(150.0,150.0,numpy.pi*2)) #this is the number of steps along each part of the tour divs =100 vals = [] for i in xrange(len(tour)-1): for j in xrange(divs): position = numpy.array(tour[i])*(1.-j/float(divs))+numpy.array(tour[(i+1)%len(tour)])*(j/float(divs)) p = position[:2] a = -position[2]+numpy.pi offset = numpy.array([numpy.sin(a),numpy.cos(a)])*20. for k in xrange(4): #simulate each of the sonar sensor sweeps and see if we hit anything. sensor = SonarSensor sensorangle = numpy.pi/2*k thetamax = position[2] + sensor["spread"]/2. + sensorangle thetamin = position[2] - sensor["spread"]/2. + sensorangle baseB = numpy.array([numpy.cos(thetamax),numpy.sin(thetamax)]) baseC = numpy.array([numpy.cos(thetamin),numpy.sin(thetamin)]) hit = False for distance in xrange(int(sensor["range"])): B = numpy.round(baseB*distance + position[:2]).astype(numpy.int32) C = numpy.round(baseC*distance + position[:2]).astype(numpy.int32) for pos in BresenhamLine(B,C): if groundtruth[int((pos[0]/scale))][int((pos[1]/scale))] == 1: distance = numpy.linalg.norm(position[:2] - pos) #add noise in here if you want noise hit = True break if hit: t0 = time.time() estmap.update(position,distance,sensorangle,sensor) vals.append(time.time()-t0) break if not hit: t0 = time.time() estmap.update(position,distance,sensorangle,sensor) vals.append(time.time()-t0) if makevideo: #save out png's for the video fname = '_tmp%05d.png'%(i*divs+j) tl = (95,95) print (i*divs+j) robot = (numpy.array([p+offset,p-offset,p+numpy.array([-offset[1],offset[0]])])*gridScale-numpy.array(tl)*gridScale).astype(numpy.int64) emap = numpy.clip(estmap.getRange(tl,(405,405)), -1000,1000 ) for cell in BresenhamTriangle(robot[0],robot[1],robot[2]): emap[cell[0],cell[1]] = 120 pyplot.imsave(fname,emap) pyplot.clf() print "Mean Sensor Update Time:", numpy.mean(vals) if makevideo: #convert png's to video #recent ubuntu versions use avconv os.system("avconv -r 30 -i _tmp%05d.png -b:v 1000k rovertest.mp4") #os.system("mencoder 'mf://*.png' -mf type=png:fps=30 -ovc lavc -lavcopts vcodec=wmv2 -oac copy -o rovertest.avi") os.system("rm -f _tmp*.png")
[ 37811, 198, 1212, 318, 1479, 290, 555, 12685, 26584, 3788, 2716, 656, 262, 1171, 7386, 13, 198, 198, 21129, 318, 1479, 284, 4866, 11, 13096, 11, 7715, 11, 779, 11, 17632, 11, 3677, 11, 393, 198, 17080, 4163, 428, 3788, 11, 2035, 287, 2723, 2438, 1296, 393, 355, 257, 14102, 198, 39491, 11, 329, 597, 4007, 11, 5068, 393, 1729, 12, 36313, 11, 290, 416, 597, 198, 1326, 504, 13, 198, 198, 818, 25281, 326, 7564, 6634, 3657, 11, 262, 1772, 393, 7035, 198, 1659, 428, 3788, 39383, 597, 290, 477, 6634, 1393, 287, 262, 198, 43776, 284, 262, 1171, 7386, 13, 775, 787, 428, 22445, 329, 262, 4414, 198, 1659, 262, 1171, 379, 1588, 290, 284, 262, 42959, 286, 674, 40862, 290, 198, 13138, 669, 13, 775, 14765, 428, 22445, 284, 307, 281, 9929, 719, 286, 198, 2411, 18934, 17862, 287, 8939, 14834, 286, 477, 1944, 290, 2003, 2489, 284, 428, 198, 43776, 739, 6634, 1099, 13, 198, 198, 10970, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 198, 6369, 32761, 6375, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 198, 29296, 3398, 1565, 5603, 25382, 11, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 198, 1268, 8005, 49261, 50163, 3336, 37195, 20673, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 198, 31858, 43031, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 198, 1503, 1797, 2751, 16034, 11, 16289, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 198, 31858, 5550, 1847, 20754, 3268, 3336, 47466, 13, 198, 198, 1890, 517, 1321, 11, 3387, 3522, 284, 1279, 4023, 1378, 403, 43085, 13, 2398, 15913, 198, 198, 31, 9800, 25, 22568, 9520, 10120, 198, 37811, 198, 11748, 299, 32152, 11, 25120, 198, 6738, 9726, 50, 29572, 46912, 1330, 9726, 50, 29572, 46912, 198, 6738, 347, 411, 268, 2763, 2348, 7727, 907, 1330, 347, 411, 268, 2763, 13949, 11, 33, 411, 268, 2763, 14824, 9248, 11, 33, 411, 268, 2763, 34220, 14520, 198, 198, 2, 81, 6231, 477, 1813, 287, 12067, 198, 31056, 283, 47864, 796, 19779, 43639, 1298, 1315, 15885, 77, 32152, 13, 14415, 14, 15259, 1539, 366, 9521, 1298, 5323, 1539, 366, 746, 270, 5787, 1298, 532, 15, 13, 18, 11, 366, 746, 270, 28756, 1298, 513, 44587, 198, 198, 4871, 24846, 13912, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1338, 17208, 10706, 8899, 329, 362, 35, 16855, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 9888, 28, 16, 13, 15, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 65, 3796, 20768, 786, 257, 29877, 2512, 10706, 12, 8899, 351, 10389, 12, 3106, 12694, 5992, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 5046, 383, 33090, 284, 6811, 1000, 422, 5128, 4991, 284, 3975, 2685, 2546, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 9888, 796, 5046, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8899, 796, 9726, 50, 29572, 46912, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 4296, 7, 944, 11, 9150, 11, 30246, 11, 82, 22854, 9248, 11, 82, 22854, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 65, 3796, 10133, 262, 3975, 351, 257, 12694, 3555, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 2292, 383, 9379, 338, 1459, 2292, 1813, 355, 357, 87, 11, 88, 11, 1169, 8326, 8, 329, 289, 660, 9379, 338, 2292, 290, 9848, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 5253, 383, 5253, 15558, 422, 262, 12694, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 12694, 9248, 383, 1459, 9848, 422, 262, 9379, 338, 2651, 4571, 284, 262, 12694, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 12694, 317, 8633, 4769, 12694, 12, 11423, 6890, 1366, 357, 3826, 6295, 283, 47864, 287, 428, 2393, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8612, 378, 262, 9848, 6116, 357, 3803, 9848, 4933, 19581, 329, 517, 7187, 40874, 8, 198, 220, 220, 220, 220, 220, 220, 220, 9848, 4933, 19581, 796, 604, 198, 220, 220, 220, 220, 220, 220, 220, 262, 83, 292, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2124, 9521, 7, 9248, 4933, 19581, 12, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 83, 292, 13, 33295, 7, 9150, 58, 17, 60, 1343, 1312, 9, 82, 22854, 14692, 43639, 8973, 14, 9248, 4933, 19581, 532, 12694, 14692, 43639, 8973, 14, 17, 13, 1343, 12694, 9248, 8, 198, 220, 220, 220, 220, 220, 220, 220, 262, 83, 292, 13, 33295, 7, 9150, 58, 17, 60, 1343, 12694, 14692, 43639, 8973, 14, 17, 13, 1343, 12694, 9248, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8612, 378, 262, 10389, 290, 9379, 6116, 198, 220, 220, 220, 220, 220, 220, 220, 6116, 796, 685, 77, 32152, 13, 18747, 7, 9150, 58, 25, 17, 12962, 9, 944, 13557, 9888, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 256, 287, 262, 83, 292, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6116, 13, 33295, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 32152, 13, 744, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 32152, 13, 18747, 26933, 77, 32152, 13, 6966, 7, 83, 828, 77, 32152, 13, 31369, 7, 83, 8, 12962, 1635, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5253, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 9888, 1343, 6116, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6739, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 6116, 58, 15, 60, 796, 299, 32152, 13, 744, 7, 1930, 1756, 58, 15, 35944, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 37, 8267, 3336, 38144, 9936, 43928, 15986, 32, 3963, 3336, 311, 16938, 1581, 357, 292, 281, 27665, 7514, 14520, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6565, 7762, 796, 12694, 14692, 746, 270, 5787, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 329, 2685, 287, 347, 411, 268, 2763, 34220, 14520, 7, 1930, 1756, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8899, 58, 3846, 58, 15, 4357, 3846, 58, 16, 11907, 796, 3509, 7, 28920, 7762, 10, 944, 13557, 8899, 58, 3846, 58, 15, 4357, 3846, 58, 16, 60, 4357, 12, 1238, 2014, 1303, 15036, 284, 532, 1238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 18227, 11177, 1546, 1677, 33363, 13326, 319, 262, 10389, 5743, 329, 2134, 7127, 198, 220, 220, 220, 220, 220, 220, 220, 2277, 53, 874, 796, 347, 411, 268, 2763, 13949, 7, 1930, 1756, 58, 16, 4357, 1930, 1756, 58, 17, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 4735, 7762, 796, 12694, 14692, 746, 270, 28756, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 923, 457, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2124, 9521, 7, 16, 11, 11925, 7, 1930, 1756, 13219, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2277, 53, 874, 796, 347, 411, 268, 2763, 13949, 7, 1930, 1756, 58, 72, 4357, 1930, 1756, 58, 72, 10, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4735, 7762, 796, 12694, 14692, 746, 270, 28756, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 289, 287, 2277, 53, 874, 58, 9688, 457, 25, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8899, 58, 71, 58, 15, 4357, 71, 58, 16, 11907, 796, 949, 7, 39390, 7762, 10, 944, 13557, 8899, 58, 71, 58, 15, 4357, 71, 58, 16, 60, 4357, 10232, 2014, 1303, 15036, 284, 7982, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 457, 796, 352, 1303, 48267, 262, 717, 636, 286, 477, 1708, 1627, 17894, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 7, 944, 11, 24886, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 65, 3796, 3497, 262, 1988, 379, 257, 1728, 2124, 11, 88, 4067, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 4067, 317, 4067, 287, 262, 1296, 685, 87, 11, 88, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4067, 796, 299, 32152, 13, 744, 7, 24886, 9, 944, 13557, 9888, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 8899, 7, 24886, 58, 15, 4357, 24886, 58, 16, 12962, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 651, 17257, 7, 944, 11, 83, 643, 701, 11, 22487, 3506, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 65, 3796, 3497, 262, 3815, 329, 257, 2837, 286, 7064, 355, 257, 17593, 13, 5740, 25, 428, 5860, 379, 262, 5387, 5046, 11, 407, 262, 7097, 5046, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 284, 1154, 701, 317, 4067, 287, 262, 1296, 685, 87, 11, 88, 60, 287, 7097, 4991, 1486, 803, 262, 1353, 1364, 286, 262, 1989, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 17143, 4220, 3506, 317, 4067, 287, 262, 1296, 685, 87, 11, 88, 60, 287, 7097, 4991, 1486, 803, 262, 4220, 826, 286, 262, 1989, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1102, 1851, 656, 3975, 5046, 198, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 701, 796, 299, 32152, 13, 744, 7, 77, 32152, 13, 18747, 7, 83, 643, 701, 27493, 944, 13557, 9888, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4220, 3506, 796, 299, 32152, 13, 744, 7, 77, 32152, 13, 18747, 7, 22487, 3506, 27493, 944, 13557, 9888, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 20797, 287, 262, 5072, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 299, 32152, 13, 9107, 418, 19510, 22487, 3506, 58, 15, 45297, 83, 643, 701, 58, 15, 4357, 22487, 3506, 58, 16, 45297, 83, 643, 701, 58, 16, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2124, 9521, 7, 83, 643, 701, 58, 15, 4357, 22487, 3506, 58, 15, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2473, 796, 299, 32152, 13, 744, 7, 72, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 2124, 9521, 7, 83, 643, 701, 58, 16, 4357, 22487, 3506, 58, 16, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 2100, 796, 299, 32152, 13, 744, 7, 73, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 58, 72, 12, 83, 643, 701, 58, 15, 4357, 73, 12, 83, 643, 701, 58, 16, 11907, 796, 2116, 13557, 8899, 58, 2473, 11, 73, 2100, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 1255, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2141, 21201, 1332, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1330, 640, 11, 418, 198, 220, 220, 220, 422, 2603, 29487, 8019, 1330, 12972, 29487, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2617, 428, 2081, 290, 423, 1450, 66, 12342, 284, 2251, 257, 2008, 286, 262, 1332, 198, 220, 220, 220, 787, 15588, 796, 6407, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2617, 510, 262, 3975, 290, 5046, 198, 220, 220, 220, 5046, 796, 1802, 13, 15, 198, 220, 220, 220, 2323, 35310, 796, 14808, 16, 11, 16, 11, 16, 11, 16, 11, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 16, 11, 15, 11, 15, 11, 15, 11, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 16, 11, 15, 11, 16, 11, 15, 11, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 16, 11, 15, 11, 15, 11, 15, 11, 16, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 16, 11, 16, 11, 16, 11, 16, 11, 16, 4008, 198, 220, 220, 220, 10706, 29990, 796, 657, 13, 20, 198, 220, 220, 220, 1303, 2617, 510, 262, 10706, 3975, 319, 257, 362, 11215, 5046, 357, 13959, 262, 5128, 6323, 8, 198, 220, 220, 220, 1556, 8899, 796, 24846, 13912, 7, 9888, 28, 25928, 29990, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5661, 318, 262, 900, 286, 6116, 262, 35761, 6100, 1022, 198, 220, 220, 220, 4205, 796, 14808, 8628, 13, 15, 11, 8628, 13, 15, 11, 15, 13, 15, 828, 7, 14877, 13, 15, 11, 8628, 13, 15, 11, 15, 13, 15, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 14877, 13, 15, 11, 8628, 13, 15, 11, 77, 32152, 13, 14415, 14, 17, 13, 15, 828, 7, 14877, 13, 15, 11, 14877, 13, 15, 11, 77, 32152, 13, 14415, 14, 17, 13, 15, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 14877, 13, 15, 11, 14877, 13, 15, 11, 77, 32152, 13, 14415, 828, 7, 8628, 13, 15, 11, 14877, 13, 15, 11, 77, 32152, 13, 14415, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 8628, 13, 15, 11, 14877, 13, 15, 11, 77, 32152, 13, 14415, 9, 16, 13, 20, 828, 7, 8628, 13, 15, 11, 8628, 13, 15, 11, 77, 32152, 13, 14415, 9, 16, 13, 20, 828, 7, 8628, 13, 15, 11, 8628, 13, 15, 11, 77, 32152, 13, 14415, 9, 17, 4008, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5661, 318, 262, 1271, 286, 4831, 1863, 1123, 636, 286, 262, 4205, 198, 220, 220, 220, 2659, 82, 796, 3064, 198, 220, 220, 220, 410, 874, 796, 17635, 198, 220, 220, 220, 329, 1312, 287, 2124, 9521, 7, 11925, 7, 83, 454, 13219, 16, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 2124, 9521, 7, 7146, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2292, 796, 299, 32152, 13, 18747, 7, 83, 454, 58, 72, 12962, 9, 7, 16, 7874, 73, 14, 22468, 7, 7146, 82, 4008, 10, 77, 32152, 13, 18747, 7, 83, 454, 58, 7, 72, 10, 16, 8, 4, 11925, 7, 83, 454, 8, 12962, 9, 7, 73, 14, 22468, 7, 7146, 82, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 796, 2292, 58, 25, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 796, 532, 9150, 58, 17, 48688, 77, 32152, 13, 14415, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11677, 796, 299, 32152, 13, 18747, 26933, 77, 32152, 13, 31369, 7, 64, 828, 77, 32152, 13, 6966, 7, 64, 8, 12962, 9, 1238, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 479, 287, 2124, 9521, 7, 19, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 14323, 5039, 1123, 286, 262, 3367, 283, 12694, 46778, 290, 766, 611, 356, 2277, 1997, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12694, 796, 6295, 283, 47864, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12694, 9248, 796, 299, 32152, 13, 14415, 14, 17, 9, 74, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 83, 321, 897, 796, 2292, 58, 17, 60, 1343, 12694, 14692, 43639, 8973, 14, 17, 13, 1343, 12694, 9248, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 262, 83, 5669, 796, 2292, 58, 17, 60, 532, 12694, 14692, 43639, 8973, 14, 17, 13, 1343, 12694, 9248, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 33, 796, 299, 32152, 13, 18747, 26933, 77, 32152, 13, 6966, 7, 1169, 83, 321, 897, 828, 77, 32152, 13, 31369, 7, 1169, 83, 321, 897, 8, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 34, 796, 299, 32152, 13, 18747, 26933, 77, 32152, 13, 6966, 7, 1169, 83, 5669, 828, 77, 32152, 13, 31369, 7, 1169, 83, 5669, 8, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2277, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 5253, 287, 2124, 9521, 7, 600, 7, 82, 22854, 14692, 9521, 8973, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 347, 796, 299, 32152, 13, 744, 7, 8692, 33, 9, 30246, 1343, 2292, 58, 25, 17, 35944, 459, 2981, 7, 77, 32152, 13, 600, 2624, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 796, 299, 32152, 13, 744, 7, 8692, 34, 9, 30246, 1343, 2292, 58, 25, 17, 35944, 459, 2981, 7, 77, 32152, 13, 600, 2624, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1426, 287, 347, 411, 268, 2763, 13949, 7, 33, 11, 34, 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, 2323, 35310, 58, 600, 19510, 1930, 58, 15, 60, 14, 9888, 4008, 7131, 600, 19510, 1930, 58, 16, 60, 14, 9888, 4008, 60, 6624, 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, 220, 220, 220, 220, 5253, 796, 299, 32152, 13, 75, 1292, 70, 13, 27237, 7, 9150, 58, 25, 17, 60, 532, 1426, 8, 1303, 2860, 7838, 287, 994, 611, 345, 765, 7838, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2277, 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, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2277, 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, 256, 15, 796, 640, 13, 2435, 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, 1556, 8899, 13, 19119, 7, 9150, 11, 30246, 11, 82, 22854, 9248, 11, 82, 22854, 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, 410, 874, 13, 33295, 7, 2435, 13, 2435, 3419, 12, 83, 15, 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, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 15, 796, 640, 13, 2435, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1556, 8899, 13, 19119, 7, 9150, 11, 30246, 11, 82, 22854, 9248, 11, 82, 22854, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 410, 874, 13, 33295, 7, 2435, 13, 2435, 3419, 12, 83, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 787, 15588, 25, 1303, 21928, 503, 279, 782, 338, 329, 262, 2008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 3672, 796, 705, 62, 22065, 4, 2713, 67, 13, 11134, 6, 4, 7, 72, 9, 7146, 82, 10, 73, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 75, 796, 357, 3865, 11, 3865, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 357, 72, 9, 7146, 82, 10, 73, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9379, 796, 357, 77, 32152, 13, 18747, 26933, 79, 10, 28968, 11, 79, 12, 28968, 11, 79, 10, 77, 32152, 13, 18747, 26933, 12, 28968, 58, 16, 4357, 28968, 58, 15, 11907, 8, 12962, 9, 25928, 29990, 12, 77, 32152, 13, 18747, 7, 28781, 27493, 25928, 29990, 737, 459, 2981, 7, 77, 32152, 13, 600, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 795, 499, 796, 299, 32152, 13, 15036, 7, 395, 8899, 13, 1136, 17257, 7, 28781, 11, 7, 26598, 11, 26598, 36911, 532, 12825, 11, 12825, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2685, 287, 347, 411, 268, 2763, 14824, 9248, 7, 305, 13645, 58, 15, 4357, 305, 13645, 58, 16, 4357, 305, 13645, 58, 17, 60, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 795, 499, 58, 3846, 58, 15, 4357, 3846, 58, 16, 11907, 796, 7982, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 29487, 13, 12078, 1015, 7, 69, 3672, 11, 368, 499, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 29487, 13, 565, 69, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 3601, 366, 5308, 272, 35367, 10133, 3862, 25, 1600, 299, 32152, 13, 32604, 7, 12786, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 611, 787, 15588, 25, 1303, 1102, 1851, 279, 782, 338, 284, 2008, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 49921, 20967, 11157, 6300, 779, 1196, 42946, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 10057, 7203, 615, 42946, 532, 81, 1542, 532, 72, 4808, 22065, 4, 2713, 67, 13, 11134, 532, 65, 25, 85, 8576, 74, 686, 1851, 395, 13, 3149, 19, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 418, 13, 10057, 7203, 3653, 66, 12342, 705, 76, 69, 1378, 24620, 11134, 6, 532, 76, 69, 2099, 28, 11134, 25, 29647, 28, 1270, 532, 709, 66, 21606, 66, 532, 18809, 22163, 912, 410, 19815, 721, 28, 26377, 85, 17, 532, 78, 330, 4866, 532, 78, 686, 1851, 395, 13, 15820, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 10057, 7203, 26224, 532, 69, 4808, 22065, 24620, 11134, 4943, 198, 220, 220, 220, 220, 198 ]
2.118128
4,402
import pandas as pd from database.tools import Database, str_list from app.functions import time_method audio_features = ['danceability', 'energy', 'key', 'loudness', 'mode', 'speechiness', 'acousticness', 'instrumentalness', 'liveness', 'valence', 'tempo', 'duration_ms', 'time_signature'] @time_method
[ 11748, 19798, 292, 355, 279, 67, 198, 198, 6738, 6831, 13, 31391, 1330, 24047, 11, 965, 62, 4868, 198, 6738, 598, 13, 12543, 2733, 1330, 640, 62, 24396, 198, 198, 24051, 62, 40890, 796, 37250, 67, 590, 1799, 3256, 705, 22554, 3256, 705, 2539, 3256, 705, 75, 2778, 1108, 3256, 705, 14171, 3256, 705, 45862, 1272, 3256, 705, 330, 21618, 1108, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 259, 43872, 282, 1108, 3256, 705, 75, 6517, 3256, 705, 2100, 594, 3256, 705, 11498, 7501, 3256, 705, 32257, 62, 907, 3256, 705, 2435, 62, 12683, 1300, 20520, 628, 198, 198, 31, 2435, 62, 24396, 628, 628, 628, 628, 628 ]
2.77686
121
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 8 10:19:43 2021 @author: ali """ import numpy as np import matplotlib.pyplot as plt from funcs import calcHelfrichUq from funcs import calc_Helfrich_curve from funcs import u_m2_calculator from funcs import calcNelsonUl from funcs import calc_nelson_amplitude from funcs import calc_SoftMatter_amplitude from funcs import get_um2 from funcs import process_ulm2 if __name__ == "__main__": 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, 41972, 319, 26223, 5979, 220, 807, 838, 25, 1129, 25, 3559, 33448, 198, 198, 31, 9800, 25, 34965, 198, 37811, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 1257, 6359, 1330, 42302, 39, 7046, 7527, 52, 80, 198, 6738, 1257, 6359, 1330, 42302, 62, 39, 7046, 7527, 62, 22019, 303, 198, 6738, 1257, 6359, 1330, 334, 62, 76, 17, 62, 9948, 3129, 1352, 198, 6738, 1257, 6359, 1330, 42302, 45, 10151, 47920, 198, 6738, 1257, 6359, 1330, 42302, 62, 77, 10151, 62, 321, 489, 3984, 198, 6738, 1257, 6359, 1330, 42302, 62, 18380, 44, 1436, 62, 321, 489, 3984, 198, 6738, 1257, 6359, 1330, 651, 62, 388, 17, 198, 6738, 1257, 6359, 1330, 1429, 62, 377, 76, 17, 628, 628, 220, 220, 220, 220, 220, 220, 220, 220, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 628, 628, 628, 628, 628, 628 ]
2.619048
189
import time import torch import math import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from utils_multi import *
[ 11748, 640, 198, 11748, 28034, 198, 11748, 10688, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 6738, 28034, 13, 2306, 519, 6335, 1330, 35748, 198, 6738, 3384, 4487, 62, 41684, 1330, 1635, 628, 198 ]
3.522727
44
from django import forms from django.utils.translation import ugettext_lazy as _ from categories.models import Category
[ 198, 6738, 42625, 14208, 1330, 5107, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 62, 75, 12582, 355, 4808, 198, 198, 6738, 9376, 13, 27530, 1330, 21743, 628 ]
3.84375
32
"""This module will deal with password management""" import csv def storepass(user, passwd, target="admins.csv"): """This function is used for storing user-pass combo as elements to a csv file. By default, the values will be stored in `creds/admins.csv`. The csvs will always be saved in the `creds` directory but the filenames can be changed by using the optional `target` parameter """ with open(f"creds/{target}", 'a+') as fil: writer = csv.writer(fil) writer.writerow([user, passwd]) def cipherpass(passwd): """Inputs a string. Ciphers it using the following algorithm and returns the ciphered password Algo: 1. Takes the string. 2. Tranverse though each letter. 3. Take the ascii value of that letter and doubles it using `chr` function 4. Converts the new ascii value back to a new letter. 5. Adds that letter to an empty string and repeat from Step 1 until all letters are traversed. 6. Returns the `ciphered` string. """ tmp = "" for i in passwd: tmp += chr(ord(i)*2) return tmp def decipherpass(encr): """Inputs a strings. Deciphers in using the same algorithm that was used in `cipherpass`. Returns the original passwd """ tmp = "" for i in encr: tmp += chr(int(ord(i)/2)) return tmp def get_pass(target="admins.csv"): # gets the user info from the Csv file """This function is used for reading a csv file and returning the contents in the form of a dictionary """ with open(f"creds/{target}", 'r+', encoding="utf8") as fil: reader = csv.reader(fil) print(list(reader)) dic = {} for i in reader: dic[i[0]] = i[1] return dic
[ 37811, 1212, 8265, 481, 1730, 351, 9206, 4542, 37811, 628, 198, 11748, 269, 21370, 628, 198, 4299, 3650, 6603, 7, 7220, 11, 1208, 16993, 11, 2496, 2625, 324, 42951, 13, 40664, 1, 2599, 198, 220, 220, 220, 37227, 1212, 2163, 318, 973, 329, 23069, 2836, 12, 6603, 14831, 198, 220, 220, 220, 355, 4847, 284, 257, 269, 21370, 2393, 13, 2750, 4277, 11, 262, 3815, 481, 307, 198, 220, 220, 220, 8574, 287, 4600, 66, 445, 82, 14, 324, 42951, 13, 40664, 44646, 383, 50115, 14259, 481, 1464, 307, 198, 220, 220, 220, 7448, 287, 262, 4600, 66, 445, 82, 63, 8619, 475, 262, 1226, 268, 1047, 460, 198, 220, 220, 220, 307, 3421, 416, 1262, 262, 11902, 4600, 16793, 63, 11507, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 351, 1280, 7, 69, 1, 66, 445, 82, 14, 90, 16793, 92, 1600, 705, 64, 10, 11537, 355, 1226, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6260, 796, 269, 21370, 13, 16002, 7, 10379, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6260, 13, 16002, 322, 26933, 7220, 11, 1208, 16993, 12962, 628, 198, 4299, 38012, 6603, 7, 6603, 16993, 2599, 198, 220, 220, 220, 37227, 20560, 82, 257, 4731, 13, 327, 541, 7084, 340, 1262, 262, 1708, 198, 220, 220, 220, 11862, 290, 5860, 262, 269, 541, 6083, 9206, 198, 220, 220, 220, 978, 2188, 25, 198, 220, 220, 220, 352, 13, 33687, 262, 4731, 13, 198, 220, 220, 220, 362, 13, 833, 272, 4399, 996, 1123, 3850, 13, 198, 220, 220, 220, 513, 13, 7214, 262, 355, 979, 72, 1988, 286, 326, 3850, 198, 220, 220, 220, 220, 220, 220, 290, 21938, 340, 1262, 4600, 354, 81, 63, 2163, 198, 220, 220, 220, 604, 13, 1482, 24040, 262, 649, 355, 979, 72, 1988, 736, 284, 198, 220, 220, 220, 220, 220, 220, 257, 649, 3850, 13, 198, 220, 220, 220, 642, 13, 34333, 326, 3850, 284, 281, 6565, 4731, 290, 198, 220, 220, 220, 220, 220, 220, 9585, 422, 5012, 352, 1566, 477, 7475, 389, 198, 220, 220, 220, 220, 220, 220, 33038, 276, 13, 198, 220, 220, 220, 718, 13, 16409, 262, 4600, 66, 541, 6083, 63, 4731, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 45218, 796, 13538, 198, 220, 220, 220, 329, 1312, 287, 1208, 16993, 25, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 15853, 442, 81, 7, 585, 7, 72, 27493, 17, 8, 198, 220, 220, 220, 1441, 45218, 628, 198, 4299, 42790, 6603, 7, 268, 6098, 2599, 198, 220, 220, 220, 37227, 20560, 82, 257, 13042, 13, 4280, 541, 7084, 287, 1262, 262, 976, 11862, 198, 220, 220, 220, 326, 373, 973, 287, 4600, 66, 10803, 6603, 44646, 16409, 262, 2656, 1208, 16993, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 45218, 796, 13538, 198, 220, 220, 220, 329, 1312, 287, 2207, 81, 25, 198, 220, 220, 220, 220, 220, 220, 220, 45218, 15853, 442, 81, 7, 600, 7, 585, 7, 72, 20679, 17, 4008, 198, 220, 220, 220, 1441, 45218, 628, 198, 4299, 651, 62, 6603, 7, 16793, 2625, 324, 42951, 13, 40664, 1, 2599, 220, 1303, 3011, 262, 2836, 7508, 422, 262, 327, 21370, 2393, 198, 220, 220, 220, 37227, 1212, 2163, 318, 973, 329, 3555, 257, 269, 21370, 2393, 198, 220, 220, 220, 290, 8024, 262, 10154, 287, 262, 1296, 286, 257, 198, 220, 220, 220, 22155, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 351, 1280, 7, 69, 1, 66, 445, 82, 14, 90, 16793, 92, 1600, 705, 81, 10, 3256, 21004, 2625, 40477, 23, 4943, 355, 1226, 25, 198, 220, 220, 220, 220, 220, 220, 220, 9173, 796, 269, 21370, 13, 46862, 7, 10379, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 4868, 7, 46862, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 288, 291, 796, 23884, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 9173, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 291, 58, 72, 58, 15, 11907, 796, 1312, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 288, 291, 628 ]
2.57659
692
from flask import make_response, jsonify class Error(Exception): """Base class for exceptions in this module.""" pass
[ 6738, 42903, 1330, 787, 62, 26209, 11, 33918, 1958, 628, 198, 198, 4871, 13047, 7, 16922, 2599, 198, 220, 220, 220, 37227, 14881, 1398, 329, 13269, 287, 428, 8265, 526, 15931, 198, 220, 220, 220, 1208, 628, 628, 628, 198 ]
3.375
40
#!/usr/bin/python # Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # usage: rule_binding.py INPUT CPPDIR HDIR -- INPUTS -- OPTIONS # # INPUT is an IDL file, such as Whatever.idl. # # CPPDIR is the directory into which V8Whatever.cpp will be placed. HDIR is # the directory into which V8Whatever.h will be placed. # # The first item in INPUTS is the path to generate-bindings.pl. Remaining # items in INPUTS are used to build the Perl module include path. # # OPTIONS are passed as-is to generate-bindings.pl as additional arguments. import errno import os import shlex import shutil import subprocess import sys if __name__ == '__main__': sys.exit(main(sys.argv))
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 198, 2, 15069, 357, 66, 8, 3717, 383, 18255, 1505, 46665, 13, 1439, 2489, 10395, 13, 198, 2, 5765, 286, 428, 2723, 2438, 318, 21825, 416, 257, 347, 10305, 12, 7635, 5964, 326, 460, 307, 198, 2, 1043, 287, 262, 38559, 24290, 2393, 13, 198, 198, 2, 8748, 25, 3896, 62, 30786, 13, 9078, 3268, 30076, 16932, 5760, 4663, 5572, 4663, 1377, 3268, 30076, 50, 1377, 39852, 11053, 198, 2, 198, 2, 3268, 30076, 318, 281, 4522, 43, 2393, 11, 884, 355, 15935, 13, 312, 75, 13, 198, 2, 198, 2, 16932, 5760, 4663, 318, 262, 8619, 656, 543, 569, 23, 21875, 13, 20322, 481, 307, 4624, 13, 220, 5572, 4663, 318, 198, 2, 262, 8619, 656, 543, 569, 23, 21875, 13, 71, 481, 307, 4624, 13, 198, 2, 198, 2, 383, 717, 2378, 287, 3268, 30076, 50, 318, 262, 3108, 284, 7716, 12, 21653, 654, 13, 489, 13, 220, 3982, 1397, 198, 2, 3709, 287, 3268, 30076, 50, 389, 973, 284, 1382, 262, 24316, 8265, 2291, 3108, 13, 198, 2, 198, 2, 39852, 11053, 389, 3804, 355, 12, 271, 284, 7716, 12, 21653, 654, 13, 489, 355, 3224, 7159, 13, 628, 198, 11748, 11454, 3919, 198, 11748, 28686, 198, 11748, 427, 2588, 198, 11748, 4423, 346, 198, 11748, 850, 14681, 198, 11748, 25064, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 25064, 13, 37023, 7, 12417, 7, 17597, 13, 853, 85, 4008, 198 ]
3.184739
249
# # Copyright 2013 Apache Software 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. # import unittest from apache.aurora.client.hooks.hooked_api import HookedAuroraClientAPI from apache.aurora.common.cluster import Cluster from apache.aurora.common.clusters import Clusters from gen.apache.aurora.ttypes import ( Response, ResponseCode, Result, ) from mock import Mock
[ 2, 198, 2, 15069, 2211, 24843, 10442, 5693, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 198, 198, 11748, 555, 715, 395, 198, 198, 6738, 2471, 4891, 13, 2899, 5799, 13, 16366, 13, 25480, 82, 13, 25480, 276, 62, 15042, 1330, 18531, 276, 32, 333, 5799, 11792, 17614, 198, 6738, 2471, 4891, 13, 2899, 5799, 13, 11321, 13, 565, 5819, 1330, 38279, 198, 6738, 2471, 4891, 13, 2899, 5799, 13, 11321, 13, 565, 13654, 1330, 1012, 13654, 198, 198, 6738, 2429, 13, 43073, 13, 2899, 5799, 13, 83, 19199, 1330, 357, 198, 220, 220, 220, 18261, 11, 198, 220, 220, 220, 18261, 10669, 11, 198, 220, 220, 220, 25414, 11, 198, 8, 198, 198, 6738, 15290, 1330, 44123, 628 ]
3.505882
255
""" Some statistics utils. """ import numpy as np from os.path import join def expectation_2d(pdf): """ Computes the statistical expectation of a pdf defined over two discrete random variables. Parameters ---------- pdf: ndarray a numpy 2-dimensional array with probability for each (x, y). Returns ------- ndarray the expectation for the x and y random variables. """ h, w = pdf.shape pdf = np.float32(pdf) pdf /= np.sum(pdf) x_range = range(0, w) y_range = range(0, h) cols, rows = np.meshgrid(x_range, y_range) grid = np.stack((rows, cols), axis=-1) weighted_grid = pdf[..., None] * grid # broadcasting E = np.apply_over_axes(np.sum, weighted_grid, axes=[0, 1]) E = np.squeeze(E) return E def covariance_matrix_2d(pdf): """ Computes the covariance matrix of a 2-dimensional gaussian fitted over a joint pdf of two discrete random variables. Parameters ---------- pdf: ndarray a numpy 2-dimensional array with probability for each (x, y). Returns ------- ndarray the covariance matrix. """ h, w = pdf.shape pdf = np.float32(pdf) pdf /= np.sum(pdf) x_range = range(0, w) y_range = range(0, h) cols, rows = np.meshgrid(x_range, y_range) grid = np.stack((rows, cols), axis=-1) mu = expectation_2d(pdf) grid = np.float32(grid) # remove mean grid -= mu[None, None, :] grid_flat = np.reshape(grid, newshape=(-1, 2)) # in computing the dot product, pdf has to be counted one (outside the square!) cov = np.dot(grid_flat.T, grid_flat * np.reshape(pdf, -1)[..., None]) return cov def read_dreyeve_design(dreyeve_root): """ Reads the whole dr(eye)ve design. Returns ------- ndarray the dr(eye)ve design in the form (sequences, params). """ with open(join(dreyeve_root, 'dr(eye)ve_design.txt')) as f: dreyeve_design = np.array([l.rstrip().split('\t') for l in f.readlines()]) return dreyeve_design
[ 37811, 198, 4366, 7869, 3384, 4487, 13, 198, 37811, 628, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 28686, 13, 6978, 1330, 4654, 628, 198, 4299, 17507, 62, 17, 67, 7, 12315, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3082, 1769, 262, 13905, 17507, 286, 257, 37124, 5447, 198, 220, 220, 220, 625, 734, 28810, 4738, 9633, 13, 198, 220, 220, 220, 220, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 37124, 25, 299, 67, 18747, 198, 220, 220, 220, 220, 220, 220, 220, 257, 299, 32152, 362, 12, 19577, 7177, 351, 12867, 329, 1123, 357, 87, 11, 331, 737, 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, 262, 17507, 329, 262, 2124, 290, 331, 4738, 9633, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 289, 11, 266, 796, 37124, 13, 43358, 628, 220, 220, 220, 37124, 796, 45941, 13, 22468, 2624, 7, 12315, 8, 198, 220, 220, 220, 37124, 1220, 28, 45941, 13, 16345, 7, 12315, 8, 628, 220, 220, 220, 2124, 62, 9521, 796, 2837, 7, 15, 11, 266, 8, 198, 220, 220, 220, 331, 62, 9521, 796, 2837, 7, 15, 11, 289, 8, 628, 220, 220, 220, 951, 82, 11, 15274, 796, 45941, 13, 76, 5069, 25928, 7, 87, 62, 9521, 11, 331, 62, 9521, 8, 198, 220, 220, 220, 10706, 796, 45941, 13, 25558, 19510, 8516, 11, 951, 82, 828, 16488, 10779, 16, 8, 628, 220, 220, 220, 26356, 62, 25928, 796, 37124, 58, 986, 11, 6045, 60, 1635, 10706, 220, 1303, 22978, 628, 220, 220, 220, 412, 796, 45941, 13, 39014, 62, 2502, 62, 897, 274, 7, 37659, 13, 16345, 11, 26356, 62, 25928, 11, 34197, 41888, 15, 11, 352, 12962, 198, 220, 220, 220, 412, 796, 45941, 13, 16485, 1453, 2736, 7, 36, 8, 628, 220, 220, 220, 1441, 412, 628, 198, 4299, 44829, 590, 62, 6759, 8609, 62, 17, 67, 7, 12315, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3082, 1769, 262, 44829, 590, 17593, 286, 257, 362, 12, 19577, 31986, 31562, 198, 220, 220, 220, 18235, 625, 257, 6466, 37124, 286, 734, 28810, 4738, 9633, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 37124, 25, 299, 67, 18747, 198, 220, 220, 220, 220, 220, 220, 220, 257, 299, 32152, 362, 12, 19577, 7177, 351, 12867, 329, 1123, 357, 87, 11, 331, 737, 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, 262, 44829, 590, 17593, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 289, 11, 266, 796, 37124, 13, 43358, 628, 220, 220, 220, 37124, 796, 45941, 13, 22468, 2624, 7, 12315, 8, 198, 220, 220, 220, 37124, 1220, 28, 45941, 13, 16345, 7, 12315, 8, 628, 220, 220, 220, 2124, 62, 9521, 796, 2837, 7, 15, 11, 266, 8, 198, 220, 220, 220, 331, 62, 9521, 796, 2837, 7, 15, 11, 289, 8, 628, 220, 220, 220, 951, 82, 11, 15274, 796, 45941, 13, 76, 5069, 25928, 7, 87, 62, 9521, 11, 331, 62, 9521, 8, 198, 220, 220, 220, 10706, 796, 45941, 13, 25558, 19510, 8516, 11, 951, 82, 828, 16488, 10779, 16, 8, 628, 220, 220, 220, 38779, 796, 17507, 62, 17, 67, 7, 12315, 8, 628, 220, 220, 220, 10706, 796, 45941, 13, 22468, 2624, 7, 25928, 8, 628, 220, 220, 220, 1303, 4781, 1612, 198, 220, 220, 220, 10706, 48185, 38779, 58, 14202, 11, 6045, 11, 1058, 60, 198, 220, 220, 220, 10706, 62, 38568, 796, 45941, 13, 3447, 1758, 7, 25928, 11, 649, 43358, 16193, 12, 16, 11, 362, 4008, 628, 220, 220, 220, 1303, 287, 14492, 262, 16605, 1720, 11, 37124, 468, 284, 307, 14789, 530, 357, 43435, 262, 6616, 8133, 198, 220, 220, 220, 39849, 796, 45941, 13, 26518, 7, 25928, 62, 38568, 13, 51, 11, 10706, 62, 38568, 1635, 45941, 13, 3447, 1758, 7, 12315, 11, 532, 16, 38381, 986, 11, 6045, 12962, 198, 220, 220, 220, 1441, 39849, 628, 198, 4299, 1100, 62, 67, 4364, 44655, 62, 26124, 7, 67, 4364, 44655, 62, 15763, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4149, 82, 262, 2187, 1553, 7, 25379, 8, 303, 1486, 13, 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, 262, 1553, 7, 25379, 8, 303, 1486, 287, 262, 1296, 357, 3107, 3007, 11, 42287, 737, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 351, 1280, 7, 22179, 7, 67, 4364, 44655, 62, 15763, 11, 705, 7109, 7, 25379, 8, 303, 62, 26124, 13, 14116, 6, 4008, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 288, 4364, 44655, 62, 26124, 796, 45941, 13, 18747, 26933, 75, 13, 81, 36311, 22446, 35312, 10786, 59, 83, 11537, 329, 300, 287, 277, 13, 961, 6615, 3419, 12962, 628, 220, 220, 220, 1441, 288, 4364, 44655, 62, 26124, 198 ]
2.442105
855
#!/usr/bin/env pybricks-micropython from pybricks.hubs import EV3Brick from pybricks.ev3devices import (Motor, TouchSensor, ColorSensor, InfraredSensor, UltrasonicSensor, GyroSensor) from pybricks.parameters import Port, Stop, Direction, Button, Color from pybricks.tools import wait, StopWatch, DataLog from pybricks.robotics import DriveBase from pybricks.media.ev3dev import SoundFile, ImageFile # Config ev3 = EV3Brick() left_motor = Motor(Port.B) right_motor = Motor(Port.C) right_ultra = UltrasonicSensor(Port.S4) front_ultra = UltrasonicSensor(Port.S3) gyro = GyroSensor(Port.S2) data = [] gyro.reset_angle(0) count = 0 while gyro.angle() < 320: left_motor.run(200) right_motor.run(-200) print(front_ultra.distance()) data.append(front_ultra.distance()) print(data)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 12972, 65, 23706, 12, 9383, 1773, 7535, 198, 6738, 12972, 65, 23706, 13, 71, 23161, 1330, 8696, 18, 33, 5557, 198, 6738, 12972, 65, 23706, 13, 1990, 18, 42034, 1330, 357, 34919, 11, 15957, 47864, 11, 5315, 47864, 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, 4806, 25122, 47864, 11, 46487, 30189, 47864, 11, 18488, 305, 47864, 8, 198, 6738, 12972, 65, 23706, 13, 17143, 7307, 1330, 4347, 11, 13707, 11, 41837, 11, 20969, 11, 5315, 198, 6738, 12972, 65, 23706, 13, 31391, 1330, 4043, 11, 13707, 10723, 11, 6060, 11187, 198, 6738, 12972, 65, 23706, 13, 305, 13645, 873, 1330, 9974, 14881, 198, 6738, 12972, 65, 23706, 13, 11431, 13, 1990, 18, 7959, 1330, 9506, 8979, 11, 7412, 8979, 628, 198, 2, 17056, 198, 1990, 18, 796, 8696, 18, 33, 5557, 3419, 198, 198, 9464, 62, 76, 20965, 796, 12533, 7, 13924, 13, 33, 8, 198, 3506, 62, 76, 20965, 796, 12533, 7, 13924, 13, 34, 8, 198, 198, 3506, 62, 586, 430, 796, 46487, 30189, 47864, 7, 13924, 13, 50, 19, 8, 198, 8534, 62, 586, 430, 796, 46487, 30189, 47864, 7, 13924, 13, 50, 18, 8, 198, 198, 1360, 305, 796, 18488, 305, 47864, 7, 13924, 13, 50, 17, 8, 198, 198, 7890, 796, 17635, 198, 198, 1360, 305, 13, 42503, 62, 9248, 7, 15, 8, 198, 198, 9127, 796, 657, 198, 4514, 21486, 305, 13, 9248, 3419, 1279, 20959, 25, 198, 220, 1364, 62, 76, 20965, 13, 5143, 7, 2167, 8, 198, 220, 826, 62, 76, 20965, 13, 5143, 32590, 2167, 8, 198, 220, 3601, 7, 8534, 62, 586, 430, 13, 30246, 28955, 198, 220, 1366, 13, 33295, 7, 8534, 62, 586, 430, 13, 30246, 28955, 198, 220, 220, 198, 4798, 7, 7890, 8 ]
2.566978
321
#coding:utf-8 -*- import config, metodos from mensagens import bemvindo from pprint import * from metodos import sendMessage
[ 2, 66, 7656, 25, 40477, 12, 23, 532, 9, 12, 198, 11748, 4566, 11, 1138, 375, 418, 198, 6738, 285, 641, 363, 641, 1330, 307, 76, 50172, 78, 198, 6738, 279, 4798, 1330, 1635, 198, 6738, 1138, 375, 418, 1330, 3758, 12837, 198 ]
2.906977
43
import IceRayCpp
[ 11748, 6663, 19591, 34, 381, 201, 198 ]
2.571429
7
from .distribution import Distribution
[ 6738, 764, 17080, 3890, 1330, 27484, 201, 198, 201, 198 ]
4.2
10
import pytest from data_structures.linked_list.ll_zip import * from data_structures.linked_list.linked_list import * @pytest.fixture @pytest.fixture
[ 11748, 12972, 9288, 198, 6738, 1366, 62, 7249, 942, 13, 25614, 62, 4868, 13, 297, 62, 13344, 1330, 1635, 198, 6738, 1366, 62, 7249, 942, 13, 25614, 62, 4868, 13, 25614, 62, 4868, 1330, 1635, 628, 628, 198, 31, 9078, 9288, 13, 69, 9602, 198, 198, 31, 9078, 9288, 13, 69, 9602, 198 ]
2.90566
53
import logging from .resnet_enc import ResNet_D, BasicBlock, Bottleneck from .res_localHOP_posEmb_enc import ResLocalHOP_PosEmb __all__ = ['resnet_localHOP_posEmb_encoder_29'] if __name__ == "__main__": import torch logging.basicConfig(level=logging.DEBUG, format='[%(asctime)s] %(levelname)s: %(message)s', datefmt='%m-%d %H:%M:%S') resnet_encoder = resnet_encoder_29() x = torch.randn(4,6,512,512) z = resnet_encoder(x) print(z[0].shape)
[ 11748, 18931, 198, 6738, 764, 411, 3262, 62, 12685, 1330, 1874, 7934, 62, 35, 11, 14392, 12235, 11, 14835, 43163, 198, 6738, 764, 411, 62, 12001, 39, 3185, 62, 1930, 31567, 62, 12685, 1330, 1874, 14565, 39, 3185, 62, 21604, 31567, 628, 198, 834, 439, 834, 796, 37250, 411, 3262, 62, 12001, 39, 3185, 62, 1930, 31567, 62, 12685, 12342, 62, 1959, 20520, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 28034, 198, 220, 220, 220, 18931, 13, 35487, 16934, 7, 5715, 28, 6404, 2667, 13, 30531, 11, 5794, 11639, 58, 4, 7, 292, 310, 524, 8, 82, 60, 4064, 7, 5715, 3672, 8, 82, 25, 4064, 7, 20500, 8, 82, 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, 3128, 69, 16762, 11639, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 198, 220, 220, 220, 581, 3262, 62, 12685, 12342, 796, 581, 3262, 62, 12685, 12342, 62, 1959, 3419, 198, 220, 220, 220, 2124, 796, 28034, 13, 25192, 77, 7, 19, 11, 21, 11, 25836, 11, 25836, 8, 198, 220, 220, 220, 1976, 796, 581, 3262, 62, 12685, 12342, 7, 87, 8, 198, 220, 220, 220, 3601, 7, 89, 58, 15, 4083, 43358, 8, 198 ]
2.166667
228
# Program to check closing of all brackets print(par_checker('{({([][])}())}')) # True print(par_checker('[{()]')) # False
[ 2, 6118, 284, 2198, 9605, 286, 477, 28103, 628, 628, 198, 198, 4798, 7, 1845, 62, 9122, 263, 10786, 90, 15090, 26933, 7131, 12962, 92, 28955, 92, 6, 4008, 220, 1303, 6407, 198, 4798, 7, 1845, 62, 9122, 263, 10786, 58, 90, 3419, 49946, 4008, 220, 1303, 10352, 198 ]
2.653061
49
from . import csvTasks from . import Gender # from . import Learn
[ 6738, 764, 1330, 269, 21370, 51, 6791, 198, 6738, 764, 1330, 20247, 198, 2, 422, 764, 1330, 14365 ]
3.611111
18
VERIFY_TOKEN = ''
[ 5959, 5064, 56, 62, 10468, 43959, 796, 10148 ]
2.125
8
#!/usr/bin/env python import html import re from subprocess import check_output import yaml find_code = re.compile(r'code: (\w+)').search table_html = ''' <table class="code table table-sm"> <tbody> <tr> <td>{py}</td> <td>{go}</td> </tr> </tbody> </table> ''' module_html = ''' <tr> <td>{task}</td> <td><a href="https://docs.python.org/3/library/{python}.html"> {python}</a> </td> <td><a href="https://golang.org/pkg/{go}/">{go}</a></td> </tr> ''' is_start = re.compile(r'(//|#) START').search is_end = re.compile(r'(//|#) END').search find_spaces = re.compile('^[ \t]+').match if __name__ == '__main__': from argparse import ArgumentParser, FileType from sys import stdin parser = ArgumentParser() parser.add_argument('--file', type=FileType(), default=stdin) args = parser.parse_args() for line in args.file: line = line[:-1] # trim newline match = find_code(line) if match: name = match.group(1) py = htmlize(code_for(name, 'python'), 'python') go = htmlize(code_for(name, 'go'), 'go') print(table_html.format(py=py, go=go)) elif line.strip() == ':modules:': modules() else: print(line) continue
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 11748, 27711, 198, 11748, 302, 198, 6738, 850, 14681, 1330, 2198, 62, 22915, 198, 198, 11748, 331, 43695, 198, 198, 19796, 62, 8189, 796, 302, 13, 5589, 576, 7, 81, 6, 8189, 25, 357, 59, 86, 28988, 27691, 12947, 198, 198, 11487, 62, 6494, 796, 705, 7061, 198, 27, 11487, 1398, 2625, 8189, 3084, 3084, 12, 5796, 5320, 198, 220, 1279, 83, 2618, 29, 198, 220, 1279, 2213, 29, 198, 220, 220, 220, 1279, 8671, 29, 90, 9078, 92, 3556, 8671, 29, 198, 220, 220, 220, 1279, 8671, 29, 90, 2188, 92, 3556, 8671, 29, 198, 220, 7359, 2213, 29, 198, 220, 7359, 83, 2618, 29, 198, 3556, 11487, 29, 198, 7061, 6, 628, 198, 21412, 62, 6494, 796, 705, 7061, 198, 27, 2213, 29, 198, 220, 1279, 8671, 29, 90, 35943, 92, 3556, 8671, 29, 198, 220, 1279, 8671, 6927, 64, 13291, 2625, 5450, 1378, 31628, 13, 29412, 13, 2398, 14, 18, 14, 32016, 14, 90, 29412, 27422, 6494, 5320, 198, 220, 220, 220, 1391, 29412, 92, 3556, 64, 29, 198, 220, 7359, 8671, 29, 198, 220, 1279, 8671, 6927, 64, 13291, 2625, 5450, 1378, 70, 349, 648, 13, 2398, 14, 35339, 14, 90, 2188, 92, 14, 5320, 90, 2188, 92, 3556, 64, 12240, 8671, 29, 198, 3556, 2213, 29, 198, 7061, 6, 198, 198, 271, 62, 9688, 796, 302, 13, 5589, 576, 7, 81, 6, 7, 1003, 91, 2, 8, 33303, 27691, 12947, 198, 271, 62, 437, 796, 302, 13, 5589, 576, 7, 81, 6, 7, 1003, 91, 2, 8, 23578, 27691, 12947, 198, 19796, 62, 2777, 2114, 796, 302, 13, 5589, 576, 10786, 61, 58, 3467, 83, 48688, 27691, 15699, 628, 628, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 422, 1822, 29572, 1330, 45751, 46677, 11, 9220, 6030, 198, 220, 220, 220, 422, 25064, 1330, 14367, 259, 628, 220, 220, 220, 30751, 796, 45751, 46677, 3419, 198, 220, 220, 220, 30751, 13, 2860, 62, 49140, 10786, 438, 7753, 3256, 2099, 28, 8979, 6030, 22784, 4277, 28, 19282, 259, 8, 198, 220, 220, 220, 26498, 796, 30751, 13, 29572, 62, 22046, 3419, 628, 220, 220, 220, 329, 1627, 287, 26498, 13, 7753, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1627, 58, 21912, 16, 60, 220, 1303, 15797, 649, 1370, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 796, 1064, 62, 8189, 7, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2872, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 2872, 13, 8094, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 796, 27711, 1096, 7, 8189, 62, 1640, 7, 3672, 11, 705, 29412, 33809, 705, 29412, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 467, 796, 27711, 1096, 7, 8189, 62, 1640, 7, 3672, 11, 705, 2188, 33809, 705, 2188, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 11487, 62, 6494, 13, 18982, 7, 9078, 28, 9078, 11, 467, 28, 2188, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1627, 13, 36311, 3419, 6624, 705, 25, 18170, 25, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13103, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 1370, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198 ]
2.146179
602
""" Systems Endpoints for installing, reading, configuring and deleting transit systems. """ import flask import requests from transiter import exceptions from transiter.http import httpmanager, httpviews from transiter.http.httpmanager import ( http_endpoint, link_target, HttpMethod, HttpStatus, ) from transiter.http.permissions import requires_permissions, PermissionsLevel from transiter.services import stopservice, systemservice, views system_endpoints = flask.Blueprint(__name__, __name__) @http_endpoint(system_endpoints, "") @link_target(httpviews.SystemsInstalled) def list_all(): """ List all systems List all transit systems that are installed in this Transiter instance. """ return systemservice.list_all() @http_endpoint(system_endpoints, "/<system_id>") @link_target(views.System, ["id"]) def get_by_id(system_id): """ Get a specific system Get a system by its ID. Return code | Description ------------|------------- `200 OK` | A system with this ID exists. `404 NOT FOUND` | No system with the provided ID is installed. """ return systemservice.get_by_id(system_id) @http_endpoint(system_endpoints, "/<system_id>/transfers") @link_target(views.TransfersInSystem, ["_system_id"]) def list_all_transfers_in_system(system_id): """ List all transfers in a system List all transfers in a system. Return code | Description ------------|------------- `200 OK` | A system with this ID exists. `404 NOT FOUND` | No system with the provided ID is installed. """ from_stop_ids = httpmanager.get_list_url_parameter("from_stop_id") to_stop_ids = httpmanager.get_list_url_parameter("to_stop_id") return stopservice.list_all_transfers_in_system( system_id, from_stop_ids=from_stop_ids, to_stop_ids=to_stop_ids ) @http_endpoint( system_endpoints, "/<system_id>", method=HttpMethod.PUT, ) @requires_permissions(PermissionsLevel.ALL) def install(system_id): """ Install a system This endpoint is used to install or update transit systems. Installs/updates can be performed asynchronously (recommended) or synchronously (using the optional URL parameter `sync=true`; not recommended); see below for more information. The endpoint accepts `multipart/form-data` requests. There is a single required parameter, `config_file`, which specifies the YAML configuration file for the Transit system. (There is a [dedicated documentation page](systems.md) concerned with creating transit system configuration files.) The parameter can either be: - A file upload of the configuration file, or - A text string, which will be interpreted as a URL pointing to the configuration file. In addition, depending on the configuration file, the endpoint will also accept extra text form data parameters. These additional parameters are used for things like API keys, which are different for each user installing the transit system. The configuration file will customize certain information using the parameters - for example, it might include an API key as a GET parameter in a feed URL. If you are installing a system using a YAML configuration provided by someone else, you should be advised of which additional parameters are needed. If you attempt to install a system without the required parameters, the install will fail and the response will detail which parameters you're missing. #### Async versus sync Often the install/update process is long because it often involves performing large feed updates of static feeds - for example, in the case of the New York City Subway, an install takes close to two minutes. If you perform a synchronous install, the install request is liable to timeout - for example, Gunicorn by default terminates HTTP requests that take over 60 seconds. For this reason you should generally install asynchronously. After triggering the install asynchronously, you can track its progress by hitting the `GET` system endpoint repeatedly. Synchronous installs are supported and useful when writing new transit system configs, in which case getting feedback from a single request is quicker. Return code | Description --------------------|------------- `201 CREATED` | For synchronous installs, returned if the transit system was successfully installed. `202 ACCEPTED` | For asynchronous installs, returned if the install is successfully triggered. This does not necessarily mean the system will be succesfully installed. `400 BAD REQUEST` | Returned if the YAML configuration file cannot be retrieved. For synchronous installs, this code is also returned if there is any kind of install error. """ form_key_to_value = flask.request.form.to_dict() config_file_url = form_key_to_value.pop("config_file", None) sync = httpmanager.is_sync_request() system_update_pk = systemservice.install( system_id=system_id, config_str=_get_config_file( config_file_url, flask.request.files.get("config_file") ), extra_settings=form_key_to_value, config_source_url=config_file_url, sync=sync, ) if sync: if ( systemservice.get_update_by_id(system_update_pk).status == views.SystemUpdateStatus.SUCCESS ): status = HttpStatus.CREATED else: status = HttpStatus.BAD_REQUEST else: status = HttpStatus.ACCEPTED a = systemservice.get_update_by_id(system_update_pk), status print("Status", a) return a @http_endpoint( system_endpoints, "/<system_id>", method=HttpMethod.DELETE, returns_json_response=False, ) @requires_permissions(PermissionsLevel.ALL) def delete_by_id(system_id): """ Uninstall (delete) a system The uninstall can be performed asynchronously or synchronously (using the optional URL parameter `sync=true`). You should almost always use the asynchronous version of this endpoint. It works by changing the system ID to be a new "random" ID, and then performs the delete asynchronously. This means that at soon as the HTTP request ends (within a few milliseconds) the system is invisible to users, and available for installing a new system. The actual delete takes up to a few minutes for large transit systems like the NYC Subway. Return code | Description --------------------|------------- `202 ACCEPTED` | For asynchronous deletes, returned if the delete is successfully triggered. `204 NO CONTENT` | For synchronous deletes, returned if the system was successfully deleted. `404 NOT FOUND` | Returned if the system does not exist. """ systemservice.delete_by_id( system_id, error_if_not_exists=True, sync=httpmanager.is_sync_request() ) if httpmanager.is_sync_request(): status = HttpStatus.NO_CONTENT else: status = HttpStatus.ACCEPTED return flask.Response(response="", status=status, content_type="") @http_endpoint( system_endpoints, "/<system_id>/auto-update", method=HttpMethod.PUT, ) @requires_permissions(PermissionsLevel.ALL) def set_auto_update_enabled(system_id): """ Configure system auto-update Configure whether auto-update is enabled for auto-updatable feeds in a system. The endpoint takes a single form parameter `enabled` which can either be `true` or `false` (case insensitive). Return code | Description --------------------|------------- `204 NO CONTENT` | The configuration was applied successfully. `400 BAD REQUEST` | Returned if the form parameter is not provided or is invalid. `404 NOT FOUND` | Returned if the system does not exist. """ # TODO: this should just accept a URL parameter form_key_to_value = flask.request.form.to_dict() enabled = form_key_to_value.get("enabled") if enabled is None: raise exceptions.InvalidInput("The form variable 'enabled' is required") enabled = enabled.lower() if enabled not in {"false", "true"}: raise exceptions.InvalidInput( "The form variable 'enabled' has to be 'true' or 'false', not '{}'".format( enabled ) ) systemservice.set_auto_update_enabled( system_id, form_key_to_value["enabled"].lower() == "true" ) return "", HttpStatus.NO_CONTENT
[ 37811, 198, 11964, 82, 198, 198, 12915, 13033, 329, 15975, 11, 3555, 11, 4566, 870, 290, 34817, 11168, 3341, 13, 198, 37811, 198, 11748, 42903, 198, 11748, 7007, 198, 198, 6738, 1007, 2676, 1330, 13269, 198, 6738, 1007, 2676, 13, 4023, 1330, 2638, 37153, 11, 2638, 33571, 198, 6738, 1007, 2676, 13, 4023, 13, 4023, 37153, 1330, 357, 198, 220, 220, 220, 2638, 62, 437, 4122, 11, 198, 220, 220, 220, 2792, 62, 16793, 11, 198, 220, 220, 220, 367, 29281, 17410, 11, 198, 220, 220, 220, 367, 29281, 19580, 11, 198, 8, 198, 6738, 1007, 2676, 13, 4023, 13, 525, 8481, 1330, 4433, 62, 525, 8481, 11, 2448, 8481, 4971, 198, 6738, 1007, 2676, 13, 30416, 1330, 2245, 15271, 11, 1080, 15271, 11, 5009, 198, 198, 10057, 62, 437, 13033, 796, 42903, 13, 14573, 4798, 7, 834, 3672, 834, 11, 11593, 3672, 834, 8, 628, 198, 31, 4023, 62, 437, 4122, 7, 10057, 62, 437, 13033, 11, 366, 4943, 198, 31, 8726, 62, 16793, 7, 4023, 33571, 13, 11964, 82, 6310, 4262, 8, 198, 4299, 1351, 62, 439, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7343, 477, 3341, 628, 220, 220, 220, 7343, 477, 11168, 3341, 326, 389, 6589, 287, 428, 3602, 2676, 4554, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 1080, 15271, 13, 4868, 62, 439, 3419, 628, 198, 31, 4023, 62, 437, 4122, 7, 10057, 62, 437, 13033, 11, 12813, 27, 10057, 62, 312, 29, 4943, 198, 31, 8726, 62, 16793, 7, 33571, 13, 11964, 11, 14631, 312, 8973, 8, 198, 4299, 651, 62, 1525, 62, 312, 7, 10057, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 257, 2176, 1080, 628, 220, 220, 220, 3497, 257, 1080, 416, 663, 4522, 13, 628, 220, 220, 220, 8229, 2438, 930, 12489, 198, 220, 220, 220, 220, 10541, 91, 32501, 198, 220, 220, 220, 4600, 2167, 7477, 63, 930, 317, 1080, 351, 428, 4522, 7160, 13, 198, 220, 220, 220, 4600, 26429, 5626, 376, 15919, 63, 930, 1400, 1080, 351, 262, 2810, 4522, 318, 6589, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 1080, 15271, 13, 1136, 62, 1525, 62, 312, 7, 10057, 62, 312, 8, 628, 198, 31, 4023, 62, 437, 4122, 7, 10057, 62, 437, 13033, 11, 12813, 27, 10057, 62, 312, 29, 14, 7645, 69, 364, 4943, 198, 31, 8726, 62, 16793, 7, 33571, 13, 8291, 69, 364, 818, 11964, 11, 14631, 62, 10057, 62, 312, 8973, 8, 198, 4299, 1351, 62, 439, 62, 7645, 69, 364, 62, 259, 62, 10057, 7, 10057, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7343, 477, 16395, 287, 257, 1080, 628, 220, 220, 220, 7343, 477, 16395, 287, 257, 1080, 13, 628, 220, 220, 220, 8229, 2438, 930, 12489, 198, 220, 220, 220, 220, 10541, 91, 32501, 198, 220, 220, 220, 4600, 2167, 7477, 63, 930, 317, 1080, 351, 428, 4522, 7160, 13, 198, 220, 220, 220, 4600, 26429, 5626, 376, 15919, 63, 930, 1400, 1080, 351, 262, 2810, 4522, 318, 6589, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 62, 11338, 62, 2340, 796, 2638, 37153, 13, 1136, 62, 4868, 62, 6371, 62, 17143, 2357, 7203, 6738, 62, 11338, 62, 312, 4943, 198, 220, 220, 220, 284, 62, 11338, 62, 2340, 796, 2638, 37153, 13, 1136, 62, 4868, 62, 6371, 62, 17143, 2357, 7203, 1462, 62, 11338, 62, 312, 4943, 198, 220, 220, 220, 1441, 2245, 15271, 13, 4868, 62, 439, 62, 7645, 69, 364, 62, 259, 62, 10057, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1080, 62, 312, 11, 422, 62, 11338, 62, 2340, 28, 6738, 62, 11338, 62, 2340, 11, 284, 62, 11338, 62, 2340, 28, 1462, 62, 11338, 62, 2340, 198, 220, 220, 220, 1267, 628, 198, 31, 4023, 62, 437, 4122, 7, 198, 220, 220, 220, 1080, 62, 437, 13033, 11, 12813, 27, 10057, 62, 312, 29, 1600, 2446, 28, 43481, 17410, 13, 30076, 11, 198, 8, 198, 31, 47911, 62, 525, 8481, 7, 5990, 8481, 4971, 13, 7036, 8, 198, 4299, 2721, 7, 10057, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 15545, 257, 1080, 628, 220, 220, 220, 770, 36123, 318, 973, 284, 2721, 393, 4296, 11168, 3341, 13, 198, 220, 220, 220, 2262, 5691, 14, 929, 19581, 460, 307, 6157, 355, 24871, 3481, 357, 47335, 1631, 8, 198, 220, 220, 220, 393, 18305, 3481, 357, 3500, 262, 11902, 10289, 11507, 4600, 27261, 28, 7942, 63, 26, 407, 7151, 1776, 198, 220, 220, 220, 766, 2174, 329, 517, 1321, 13, 628, 220, 220, 220, 383, 36123, 18178, 4600, 16680, 541, 433, 14, 687, 12, 7890, 63, 7007, 13, 198, 220, 220, 220, 1318, 318, 257, 2060, 2672, 11507, 11, 4600, 11250, 62, 7753, 47671, 543, 198, 220, 220, 220, 26052, 262, 575, 2390, 43, 8398, 2393, 329, 262, 22325, 1080, 13, 198, 220, 220, 220, 357, 1858, 318, 257, 685, 9395, 3474, 10314, 2443, 16151, 10057, 82, 13, 9132, 8, 5213, 351, 4441, 11168, 1080, 8398, 3696, 2014, 198, 220, 220, 220, 383, 11507, 460, 2035, 307, 25, 628, 220, 220, 220, 532, 317, 2393, 9516, 286, 262, 8398, 2393, 11, 393, 198, 220, 220, 220, 532, 317, 2420, 4731, 11, 543, 481, 307, 16173, 355, 257, 10289, 10609, 284, 262, 8398, 2393, 13, 628, 220, 220, 220, 554, 3090, 11, 6906, 319, 262, 8398, 2393, 11, 262, 36123, 481, 635, 2453, 3131, 2420, 1296, 1366, 10007, 13, 198, 220, 220, 220, 2312, 3224, 10007, 389, 973, 329, 1243, 588, 7824, 8251, 11, 543, 389, 1180, 198, 220, 220, 220, 329, 1123, 2836, 15975, 262, 11168, 1080, 13, 198, 220, 220, 220, 383, 8398, 2393, 481, 24184, 1728, 1321, 1262, 262, 10007, 532, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1672, 11, 340, 1244, 2291, 281, 7824, 1994, 355, 257, 17151, 11507, 287, 257, 3745, 10289, 13, 198, 220, 220, 220, 1002, 345, 389, 15975, 257, 1080, 1262, 257, 575, 2390, 43, 8398, 2810, 416, 2130, 2073, 11, 345, 198, 220, 220, 220, 220, 815, 307, 13030, 286, 543, 3224, 10007, 389, 2622, 13, 198, 220, 220, 220, 1002, 345, 2230, 284, 2721, 257, 1080, 1231, 262, 2672, 10007, 11, 262, 2721, 481, 2038, 290, 198, 220, 220, 220, 262, 2882, 481, 3703, 543, 10007, 345, 821, 4814, 13, 628, 220, 220, 220, 1303, 21017, 1081, 13361, 9051, 17510, 628, 220, 220, 220, 18023, 262, 2721, 14, 19119, 1429, 318, 890, 780, 340, 1690, 9018, 9489, 198, 220, 220, 220, 1588, 3745, 5992, 198, 220, 220, 220, 286, 9037, 21318, 532, 329, 1672, 11, 287, 262, 1339, 286, 262, 968, 1971, 2254, 38923, 11, 198, 220, 220, 220, 281, 2721, 2753, 1969, 284, 734, 2431, 13, 198, 220, 220, 220, 1002, 345, 1620, 257, 18305, 516, 2721, 11, 262, 2721, 2581, 318, 17583, 198, 220, 220, 220, 284, 26827, 532, 329, 1672, 11, 6748, 291, 1211, 416, 4277, 5651, 689, 14626, 198, 220, 220, 220, 7007, 326, 1011, 625, 3126, 4201, 13, 198, 220, 220, 220, 1114, 428, 1738, 345, 815, 4143, 2721, 355, 24871, 3481, 13, 628, 220, 220, 220, 2293, 26555, 262, 2721, 355, 24871, 3481, 11, 345, 460, 2610, 663, 198, 220, 220, 220, 4371, 416, 9008, 262, 4600, 18851, 63, 1080, 36123, 7830, 13, 628, 220, 220, 220, 16065, 11413, 516, 42027, 389, 4855, 290, 4465, 618, 3597, 649, 198, 220, 220, 220, 11168, 1080, 4566, 82, 11, 287, 543, 1339, 1972, 7538, 422, 257, 2060, 2581, 198, 220, 220, 220, 318, 20061, 13, 628, 220, 220, 220, 8229, 2438, 220, 220, 220, 220, 220, 220, 220, 220, 930, 12489, 198, 220, 220, 220, 41436, 91, 32501, 198, 220, 220, 220, 4600, 1264, 29244, 11617, 63, 220, 220, 220, 220, 220, 220, 930, 1114, 18305, 516, 42027, 11, 4504, 611, 262, 11168, 1080, 373, 7675, 6589, 13, 198, 220, 220, 220, 4600, 19004, 15859, 8905, 36493, 63, 220, 220, 220, 220, 220, 930, 1114, 39354, 42027, 11, 4504, 611, 262, 2721, 318, 7675, 13973, 13, 770, 857, 407, 6646, 1612, 262, 1080, 481, 307, 17458, 274, 2759, 6589, 13, 198, 220, 220, 220, 4600, 7029, 33934, 4526, 35780, 63, 220, 220, 930, 8229, 276, 611, 262, 575, 2390, 43, 8398, 2393, 2314, 307, 29517, 13, 1114, 18305, 516, 42027, 11, 428, 2438, 318, 635, 4504, 611, 612, 318, 597, 1611, 286, 2721, 4049, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1296, 62, 2539, 62, 1462, 62, 8367, 796, 42903, 13, 25927, 13, 687, 13, 1462, 62, 11600, 3419, 198, 220, 220, 220, 4566, 62, 7753, 62, 6371, 796, 1296, 62, 2539, 62, 1462, 62, 8367, 13, 12924, 7203, 11250, 62, 7753, 1600, 6045, 8, 628, 220, 220, 220, 17510, 796, 2638, 37153, 13, 271, 62, 27261, 62, 25927, 3419, 198, 220, 220, 220, 1080, 62, 19119, 62, 79, 74, 796, 1080, 15271, 13, 17350, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1080, 62, 312, 28, 10057, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 62, 2536, 28, 62, 1136, 62, 11250, 62, 7753, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4566, 62, 7753, 62, 6371, 11, 42903, 13, 25927, 13, 16624, 13, 1136, 7203, 11250, 62, 7753, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 3131, 62, 33692, 28, 687, 62, 2539, 62, 1462, 62, 8367, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 62, 10459, 62, 6371, 28, 11250, 62, 7753, 62, 6371, 11, 198, 220, 220, 220, 220, 220, 220, 220, 17510, 28, 27261, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 611, 17510, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1080, 15271, 13, 1136, 62, 19119, 62, 1525, 62, 312, 7, 10057, 62, 19119, 62, 79, 74, 737, 13376, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6624, 5009, 13, 11964, 10260, 19580, 13, 12564, 4093, 7597, 198, 220, 220, 220, 220, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 367, 29281, 19580, 13, 43387, 11617, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 367, 29281, 19580, 13, 33, 2885, 62, 2200, 35780, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 367, 29281, 19580, 13, 2246, 42006, 1961, 198, 220, 220, 220, 257, 796, 1080, 15271, 13, 1136, 62, 19119, 62, 1525, 62, 312, 7, 10057, 62, 19119, 62, 79, 74, 828, 3722, 198, 220, 220, 220, 3601, 7203, 19580, 1600, 257, 8, 198, 220, 220, 220, 1441, 257, 628, 198, 198, 31, 4023, 62, 437, 4122, 7, 198, 220, 220, 220, 1080, 62, 437, 13033, 11, 198, 220, 220, 220, 12813, 27, 10057, 62, 312, 29, 1600, 198, 220, 220, 220, 2446, 28, 43481, 17410, 13, 7206, 2538, 9328, 11, 198, 220, 220, 220, 5860, 62, 17752, 62, 26209, 28, 25101, 11, 198, 8, 198, 31, 47911, 62, 525, 8481, 7, 5990, 8481, 4971, 13, 7036, 8, 198, 4299, 12233, 62, 1525, 62, 312, 7, 10057, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 791, 17350, 357, 33678, 8, 257, 1080, 628, 220, 220, 220, 383, 43194, 460, 307, 6157, 355, 24871, 3481, 393, 18305, 3481, 357, 3500, 262, 198, 220, 220, 220, 11902, 10289, 11507, 4600, 27261, 28, 7942, 63, 737, 628, 220, 220, 220, 921, 815, 2048, 1464, 779, 262, 39354, 2196, 286, 428, 36123, 13, 198, 220, 220, 220, 632, 2499, 416, 5609, 262, 1080, 4522, 284, 307, 257, 649, 366, 25120, 1, 4522, 11, 290, 788, 17706, 198, 220, 220, 220, 262, 12233, 355, 24871, 3481, 13, 198, 220, 220, 220, 770, 1724, 326, 379, 2582, 355, 262, 14626, 2581, 5645, 357, 33479, 257, 1178, 38694, 8, 198, 220, 220, 220, 262, 1080, 318, 14836, 284, 2985, 11, 290, 1695, 329, 15975, 257, 649, 1080, 13, 628, 220, 220, 220, 383, 4036, 12233, 2753, 510, 284, 257, 1178, 2431, 329, 1588, 11168, 3341, 588, 198, 220, 220, 220, 262, 19170, 38923, 13, 628, 220, 220, 220, 8229, 2438, 220, 220, 220, 220, 220, 220, 220, 220, 930, 12489, 198, 220, 220, 220, 41436, 91, 32501, 198, 220, 220, 220, 4600, 19004, 15859, 8905, 36493, 63, 220, 220, 220, 220, 220, 930, 1114, 39354, 28128, 274, 11, 4504, 611, 262, 12233, 318, 7675, 13973, 13, 198, 220, 220, 220, 4600, 18638, 8005, 22904, 3525, 63, 220, 220, 220, 930, 1114, 18305, 516, 28128, 274, 11, 4504, 611, 262, 1080, 373, 7675, 13140, 13, 198, 220, 220, 220, 4600, 26429, 5626, 376, 15919, 63, 220, 220, 220, 220, 930, 8229, 276, 611, 262, 1080, 857, 407, 2152, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1080, 15271, 13, 33678, 62, 1525, 62, 312, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1080, 62, 312, 11, 4049, 62, 361, 62, 1662, 62, 1069, 1023, 28, 17821, 11, 17510, 28, 4023, 37153, 13, 271, 62, 27261, 62, 25927, 3419, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 611, 2638, 37153, 13, 271, 62, 27261, 62, 25927, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 367, 29281, 19580, 13, 15285, 62, 37815, 3525, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3722, 796, 367, 29281, 19580, 13, 2246, 42006, 1961, 198, 220, 220, 220, 1441, 42903, 13, 31077, 7, 26209, 2625, 1600, 3722, 28, 13376, 11, 2695, 62, 4906, 2625, 4943, 628, 198, 31, 4023, 62, 437, 4122, 7, 198, 220, 220, 220, 1080, 62, 437, 13033, 11, 12813, 27, 10057, 62, 312, 29, 14, 23736, 12, 19119, 1600, 2446, 28, 43481, 17410, 13, 30076, 11, 198, 8, 198, 31, 47911, 62, 525, 8481, 7, 5990, 8481, 4971, 13, 7036, 8, 198, 4299, 900, 62, 23736, 62, 19119, 62, 25616, 7, 10057, 62, 312, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 17056, 495, 1080, 8295, 12, 19119, 628, 220, 220, 220, 17056, 495, 1771, 8295, 12, 19119, 318, 9343, 329, 198, 220, 220, 220, 220, 8295, 12, 929, 19608, 540, 21318, 287, 257, 1080, 13, 628, 220, 220, 220, 383, 36123, 2753, 257, 2060, 1296, 11507, 4600, 25616, 63, 198, 220, 220, 220, 543, 460, 2035, 307, 4600, 7942, 63, 393, 4600, 9562, 63, 357, 7442, 41246, 737, 628, 220, 220, 220, 8229, 2438, 220, 220, 220, 220, 220, 220, 220, 220, 930, 12489, 198, 220, 220, 220, 41436, 91, 32501, 198, 220, 220, 220, 4600, 18638, 8005, 22904, 3525, 63, 220, 220, 220, 930, 383, 8398, 373, 5625, 7675, 13, 198, 220, 220, 220, 4600, 7029, 33934, 4526, 35780, 63, 220, 220, 930, 8229, 276, 611, 262, 1296, 11507, 318, 407, 2810, 393, 318, 12515, 13, 198, 220, 220, 220, 4600, 26429, 5626, 376, 15919, 63, 220, 220, 220, 220, 930, 8229, 276, 611, 262, 1080, 857, 407, 2152, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 16926, 46, 25, 428, 815, 655, 2453, 257, 10289, 11507, 198, 220, 220, 220, 1296, 62, 2539, 62, 1462, 62, 8367, 796, 42903, 13, 25927, 13, 687, 13, 1462, 62, 11600, 3419, 198, 220, 220, 220, 9343, 796, 1296, 62, 2539, 62, 1462, 62, 8367, 13, 1136, 7203, 25616, 4943, 198, 220, 220, 220, 611, 9343, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 13269, 13, 44651, 20560, 7203, 464, 1296, 7885, 705, 25616, 6, 318, 2672, 4943, 198, 220, 220, 220, 9343, 796, 9343, 13, 21037, 3419, 198, 220, 220, 220, 611, 9343, 407, 287, 19779, 9562, 1600, 366, 7942, 20662, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 13269, 13, 44651, 20560, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 464, 1296, 7885, 705, 25616, 6, 468, 284, 307, 705, 7942, 6, 393, 705, 9562, 3256, 407, 705, 90, 92, 6, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9343, 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, 1080, 15271, 13, 2617, 62, 23736, 62, 19119, 62, 25616, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1080, 62, 312, 11, 1296, 62, 2539, 62, 1462, 62, 8367, 14692, 25616, 1, 4083, 21037, 3419, 6624, 366, 7942, 1, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 1441, 366, 1600, 367, 29281, 19580, 13, 15285, 62, 37815, 3525, 198 ]
3.077419
2,790
# xctf{35eedc512678301f582de3176d1fc81c} payload = '' for i in range(16): payload += 'x%d=["Source"()[%d]];' % (i, i) payload += 'a=[' payload += ','.join('x%d[0]' % i for i in range(16)) payload += '];"Sink"(a)' print payload
[ 2, 2124, 310, 69, 90, 2327, 2308, 66, 25836, 3134, 5999, 486, 69, 46044, 2934, 18, 24096, 67, 16, 16072, 6659, 66, 92, 198, 15577, 2220, 796, 10148, 198, 198, 1640, 1312, 287, 2837, 7, 1433, 2599, 198, 220, 220, 220, 21437, 15853, 705, 87, 4, 67, 28, 14692, 7416, 1, 3419, 58, 4, 67, 60, 11208, 6, 4064, 357, 72, 11, 1312, 8, 198, 198, 15577, 2220, 15853, 705, 64, 28, 17816, 198, 15577, 2220, 15853, 705, 4032, 13, 22179, 10786, 87, 4, 67, 58, 15, 49946, 4064, 1312, 329, 1312, 287, 2837, 7, 1433, 4008, 198, 15577, 2220, 15853, 705, 11208, 1, 50, 676, 18109, 64, 33047, 198, 198, 4798, 21437, 198 ]
2.052632
114
from django.conf import settings from django.conf.urls.defaults import patterns, url urlpatterns = patterns('', url(r'^$', 'fbapp.views.canvas', name="fbapp.canvas"), url(r'^page_tab$', 'fbapp.views.page_tab', name="fbapp.page_tab"), url(r'^owa$', 'fbapp.views.open_web_app', name="fbapp.open_web_app"), url(r'^owa/chirpradio\.webapp$', 'fbapp.views.open_web_app_manifest', name="fbapp.open_web_app_manifest"), url(r'^channel\.html$', 'fbapp.views.channel', name="fbapp.channel"), )
[ 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 10414, 13, 6371, 82, 13, 12286, 82, 1330, 7572, 11, 19016, 198, 198, 6371, 33279, 82, 796, 7572, 10786, 3256, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 3, 3256, 705, 21855, 1324, 13, 33571, 13, 5171, 11017, 3256, 1438, 2625, 21855, 1324, 13, 5171, 11017, 12340, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 7700, 62, 8658, 3, 3256, 705, 21855, 1324, 13, 33571, 13, 7700, 62, 8658, 3256, 1438, 2625, 21855, 1324, 13, 7700, 62, 8658, 12340, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 8455, 3, 3256, 705, 21855, 1324, 13, 33571, 13, 9654, 62, 12384, 62, 1324, 3256, 1438, 2625, 21855, 1324, 13, 9654, 62, 12384, 62, 1324, 12340, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 8455, 14, 354, 343, 1050, 324, 952, 17405, 12384, 1324, 3, 3256, 705, 21855, 1324, 13, 33571, 13, 9654, 62, 12384, 62, 1324, 62, 805, 8409, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 2625, 21855, 1324, 13, 9654, 62, 12384, 62, 1324, 62, 805, 8409, 12340, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 17620, 17405, 6494, 3, 3256, 705, 21855, 1324, 13, 33571, 13, 17620, 3256, 1438, 2625, 21855, 1324, 13, 17620, 12340, 198, 8, 198 ]
2.348624
218
import torch import math
[ 198, 11748, 28034, 198, 11748, 10688 ]
4.166667
6
# coding=utf-8 # name=hu_yang_jie #coding=utf-8 import cv2 import numpy as np img = cv2.imread("bili.jpg") #载入图像 h, w = img.shape[:2] #获取图像的高和宽 cv2.imshow("Origin", img) #显示原始图像 blured = cv2.blur(img,(5,5)) #进行滤波去掉噪声 cv2.imshow("Blur", blured) #显示低通滤波后的图像 mask = np.zeros((h+2, w+2), np.uint8) #掩码长和宽都比输入图像多两个像素点,满水填充不会超出掩码的非零边缘 #进行泛洪填充 cv2.floodFill(blured, mask, (w-1,h-1), (255,255,255), (2,2,2),(3,3,3),8) cv2.imshow("floodfill", blured) #得到灰度图 gray = cv2.cvtColor(blured,cv2.COLOR_BGR2GRAY) cv2.imshow("gray", gray) #定义结构元素 kernel = cv2.getStructuringElement(cv2.MORPH_RECT,(50, 50)) #开闭运算,先开运算去除背景噪声,再继续闭运算填充目标内的孔洞 opened = cv2.morphologyEx(gray, cv2.MORPH_OPEN, kernel) closed = cv2.morphologyEx(opened, cv2.MORPH_CLOSE, kernel) cv2.imshow("closed", closed) #求二值图 ret, binary = cv2.threshold(closed,250,255,cv2.THRESH_BINARY) cv2.imshow("binary", binary) #找到轮廓 _,contours, hierarchy = cv2.findContours(binary,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) #绘制轮廓 cv2.drawContours(img,contours,-1,(0,0,255),3) #绘制结果 cv2.imshow("result", img) cv2.waitKey(0) cv2.destroyAllWindows()
[ 2, 19617, 28, 40477, 12, 23, 198, 2, 1438, 28, 13415, 62, 17859, 62, 73, 494, 198, 2, 66, 7656, 28, 40477, 12, 23, 198, 11748, 269, 85, 17, 198, 11748, 299, 32152, 355, 45941, 198, 198, 9600, 796, 269, 85, 17, 13, 320, 961, 7203, 65, 2403, 13, 9479, 4943, 220, 220, 220, 1303, 164, 121, 121, 17739, 98, 32368, 122, 161, 225, 237, 198, 71, 11, 266, 796, 33705, 13, 43358, 58, 25, 17, 60, 220, 220, 220, 220, 220, 1303, 164, 236, 115, 20998, 244, 32368, 122, 161, 225, 237, 21410, 165, 45865, 161, 240, 234, 22522, 121, 198, 33967, 17, 13, 320, 12860, 7203, 39688, 1600, 33705, 8, 220, 220, 220, 220, 1303, 23626, 122, 163, 97, 118, 43889, 253, 34650, 233, 32368, 122, 161, 225, 237, 198, 198, 2436, 1522, 796, 269, 85, 17, 13, 2436, 333, 7, 9600, 11, 7, 20, 11, 20, 4008, 220, 220, 220, 1303, 32573, 249, 26193, 234, 162, 119, 97, 37345, 95, 43889, 119, 162, 236, 231, 161, 247, 103, 18004, 108, 198, 33967, 17, 13, 320, 12860, 7203, 3629, 333, 1600, 698, 1522, 8, 220, 220, 220, 220, 1303, 23626, 122, 163, 97, 118, 19526, 236, 34460, 248, 162, 119, 97, 37345, 95, 28938, 236, 21410, 32368, 122, 161, 225, 237, 198, 198, 27932, 796, 45941, 13, 9107, 418, 19510, 71, 10, 17, 11, 266, 10, 17, 828, 45941, 13, 28611, 23, 8, 220, 1303, 162, 236, 102, 163, 254, 223, 165, 243, 123, 161, 240, 234, 22522, 121, 32849, 121, 162, 107, 242, 164, 122, 241, 17739, 98, 32368, 122, 161, 225, 237, 13783, 248, 10310, 97, 10310, 103, 161, 225, 237, 163, 112, 254, 163, 224, 117, 171, 120, 234, 162, 119, 94, 36365, 112, 161, 94, 104, 17739, 227, 38834, 27670, 248, 164, 41678, 49035, 118, 162, 236, 102, 163, 254, 223, 21410, 165, 251, 252, 37239, 114, 164, 122, 117, 163, 120, 246, 198, 2, 32573, 249, 26193, 234, 37345, 249, 162, 112, 103, 161, 94, 104, 17739, 227, 198, 33967, 17, 13, 2704, 702, 33762, 7, 2436, 1522, 11, 9335, 11, 357, 86, 12, 16, 11, 71, 12, 16, 828, 357, 13381, 11, 13381, 11, 13381, 828, 357, 17, 11, 17, 11, 17, 828, 7, 18, 11, 18, 11, 18, 828, 23, 8, 198, 33967, 17, 13, 320, 12860, 7203, 2704, 702, 20797, 1600, 698, 1522, 8, 198, 198, 2, 36181, 245, 26344, 108, 163, 223, 108, 41753, 99, 32368, 122, 198, 44605, 796, 269, 85, 17, 13, 33967, 83, 10258, 7, 2436, 1522, 11, 33967, 17, 13, 46786, 62, 33, 10761, 17, 38, 30631, 8, 198, 33967, 17, 13, 320, 12860, 7203, 44605, 1600, 12768, 8, 628, 198, 2, 22522, 248, 20046, 231, 163, 119, 241, 162, 252, 226, 17739, 225, 163, 112, 254, 198, 33885, 796, 269, 85, 17, 13, 1136, 44909, 870, 20180, 7, 33967, 17, 13, 44, 1581, 11909, 62, 23988, 11, 7, 1120, 11, 2026, 4008, 198, 2, 28156, 222, 29785, 255, 32573, 238, 163, 106, 245, 171, 120, 234, 17739, 230, 28156, 222, 32573, 238, 163, 106, 245, 43889, 119, 165, 247, 97, 47797, 234, 162, 247, 107, 161, 247, 103, 18004, 108, 171, 120, 234, 37863, 235, 163, 119, 100, 163, 119, 255, 29785, 255, 32573, 238, 163, 106, 245, 161, 94, 104, 17739, 227, 33566, 106, 43718, 229, 37863, 227, 21410, 161, 18433, 162, 112, 252, 198, 26350, 796, 269, 85, 17, 13, 24503, 1435, 3109, 7, 44605, 11, 269, 85, 17, 13, 44, 1581, 11909, 62, 3185, 1677, 11, 9720, 8, 198, 20225, 796, 269, 85, 17, 13, 24503, 1435, 3109, 7, 26350, 11, 269, 85, 17, 13, 44, 1581, 11909, 62, 32737, 11, 9720, 8, 198, 33967, 17, 13, 320, 12860, 7203, 20225, 1600, 4838, 8, 198, 198, 2, 162, 109, 224, 12859, 234, 161, 222, 120, 32368, 122, 198, 1186, 11, 13934, 796, 269, 85, 17, 13, 400, 10126, 7, 20225, 11, 9031, 11, 13381, 11, 33967, 17, 13, 4221, 19535, 39, 62, 33, 1268, 13153, 8, 198, 33967, 17, 13, 320, 12860, 7203, 39491, 1600, 13934, 8, 198, 198, 2, 33699, 122, 26344, 108, 164, 121, 106, 161, 119, 241, 198, 62, 11, 3642, 4662, 11, 18911, 796, 269, 85, 17, 13, 19796, 4264, 4662, 7, 39491, 11, 33967, 17, 13, 2200, 5446, 62, 51, 11587, 11, 33967, 17, 13, 3398, 29833, 62, 2969, 31190, 55, 62, 48913, 16437, 8, 198, 2, 163, 119, 246, 26344, 114, 164, 121, 106, 161, 119, 241, 198, 198, 33967, 17, 13, 19334, 4264, 4662, 7, 9600, 11, 3642, 4662, 12095, 16, 11, 7, 15, 11, 15, 11, 13381, 828, 18, 8, 198, 2, 163, 119, 246, 26344, 114, 163, 119, 241, 162, 252, 250, 198, 33967, 17, 13, 320, 12860, 7203, 20274, 1600, 33705, 8, 198, 198, 33967, 17, 13, 17077, 9218, 7, 15, 8, 198, 33967, 17, 13, 41659, 3237, 11209, 3419 ]
1.368356
809
""" Package version number. """ # We have to put it here, because setup.py (and easy_install) cannot import # nxturtle before requirements are satisfied. __version__ = "1.0.4"
[ 37811, 201, 198, 27813, 2196, 1271, 13, 201, 198, 37811, 201, 198, 2, 775, 423, 284, 1234, 340, 994, 11, 780, 9058, 13, 9078, 357, 392, 2562, 62, 17350, 8, 2314, 1330, 220, 201, 198, 2, 299, 742, 17964, 878, 5359, 389, 11378, 13, 220, 201, 198, 834, 9641, 834, 796, 366, 16, 13, 15, 13, 19, 1, 201, 198 ]
3.066667
60
import dataclasses import datetime import json import typing import uuid from dataclasses_avroschema.schema_generator import SchemaGenerator
[ 11748, 4818, 330, 28958, 198, 11748, 4818, 8079, 198, 11748, 33918, 198, 11748, 19720, 198, 11748, 334, 27112, 198, 198, 6738, 4818, 330, 28958, 62, 615, 305, 15952, 2611, 13, 15952, 2611, 62, 8612, 1352, 1330, 10011, 2611, 8645, 1352, 628, 628 ]
3.452381
42
import os import spira import pygmsh import meshio import inspect from spira.core.lists import ElementList # from spira.gdsii.utils import numpy_to_list from spira import param from spira.lne.mesh import Mesh from spira.core.initializer import ElementalInitializer
[ 11748, 28686, 198, 11748, 599, 8704, 198, 11748, 12972, 70, 907, 71, 198, 11748, 19609, 952, 198, 11748, 10104, 198, 198, 6738, 599, 8704, 13, 7295, 13, 20713, 1330, 11703, 8053, 198, 2, 422, 599, 8704, 13, 70, 9310, 4178, 13, 26791, 1330, 299, 32152, 62, 1462, 62, 4868, 198, 6738, 599, 8704, 1330, 5772, 198, 6738, 599, 8704, 13, 75, 710, 13, 76, 5069, 1330, 47529, 198, 6738, 599, 8704, 13, 7295, 13, 36733, 7509, 1330, 21340, 24243, 7509, 628, 628 ]
3.280488
82
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ ============= TAP plus ============= @author: Juan Carlos Segovia @contact: [email protected] European Space Astronomy Centre (ESAC) European Space Agency (ESA) Created on 30 jun. 2016 """ from astroquery.utils.tap import taputils from six.moves.urllib.parse import urlencode
[ 2, 49962, 739, 257, 513, 12, 565, 682, 347, 10305, 3918, 5964, 532, 766, 38559, 24290, 13, 81, 301, 198, 37811, 198, 25609, 28, 198, 51, 2969, 5556, 198, 25609, 28, 198, 198, 31, 9800, 25, 16852, 17409, 1001, 9567, 544, 198, 31, 32057, 25, 474, 7258, 13, 66, 7063, 418, 13, 325, 9567, 544, 31, 36216, 2840, 13, 49183, 13, 600, 198, 198, 22030, 4687, 25398, 9145, 9072, 357, 1546, 2246, 8, 198, 22030, 4687, 7732, 357, 43279, 8, 198, 198, 41972, 319, 1542, 10891, 13, 1584, 628, 198, 37811, 198, 6738, 6468, 305, 22766, 13, 26791, 13, 44335, 1330, 9814, 26791, 198, 198, 6738, 2237, 13, 76, 5241, 13, 333, 297, 571, 13, 29572, 1330, 2956, 11925, 8189, 628 ]
3.041322
121
# encoding=utf8 """Simulated annealing algorithm module.""" import numpy as np from WeOptPy.algorithms.interfaces import Algorithm __all__ = [ 'SimulatedAnnealing', 'coolDelta', 'coolLinear' ] def coolDelta(currentT, T, deltaT, nFES, **kwargs): r"""Calculate new temperature by differences. Args: currentT (float): T (float): kwargs (Dict[str, Any]): Additional arguments. Returns: float: New temperature. """ return currentT - deltaT def coolLinear(currentT, T, deltaT, nFES, **kwargs): r"""Calculate temperature with linear function. Args: currentT (float): Current temperature. T (float): deltaT (float): nFES (int): Number of evaluations done. kwargs (Dict[str, Any]): Additional arguments. Returns: float: New temperature. """ return currentT - T / nFES class SimulatedAnnealing(Algorithm): r"""Implementation of Simulated Annealing Algorithm. Algorithm: Simulated Annealing Algorithm Date: 2018 Authors: Jan Popič and Klemen Berkovič License: MIT Reference URL: TODO Reference paper: TODO Attributes: Name (List[str]): List of strings representing algorithm name. delta (float): Movement for neighbour search. T (float); Starting temperature. deltaT (float): Change in temperature. coolingMethod (Callable): Neighbourhood function. epsilon (float): Error value. See Also: * :class:`NiaPy.algorithms.Algorithm` """ Name = ['SimulatedAnnealing', 'SA'] @staticmethod def algorithm_info(): r"""Get basic information of algorithm. Returns: str: Basic information of algorithm. See Also: * :func:`NiaPy.algorithms.Algorithm.algorithmInfo` """ return r"""None""" @staticmethod def type_parameters(): r"""Get dictionary with functions for checking values of parameters. Returns: Dict[str, Callable]: * delta (Callable[[Union[float, int], bool]): TODO """ return { 'delta': lambda x: isinstance(x, (int, float)) and x > 0, 'T': lambda x: isinstance(x, (int, float)) and x > 0, 'deltaT': lambda x: isinstance(x, (int, float)) and x > 0, 'epsilon': lambda x: isinstance(x, float) and 0 < x < 1 } def set_parameters(self, delta=0.5, T=2000, deltaT=0.8, coolingMethod=coolDelta, epsilon=1e-23, **ukwargs): r"""Set the algorithm parameters/arguments. Arguments: delta (Optional[float]): Movement for neighbour search. T (Optional[float]); Starting temperature. deltaT (Optional[float]): Change in temperature. coolingMethod (Optional[Callable]): Neighbourhood function. epsilon (Optional[float]): Error value. See Also * :func:`NiaPy.algorithms.Algorithm.setParameters` """ ukwargs.pop('n', None) Algorithm.set_parameters(self, n=1, **ukwargs) self.delta, self.T, self.deltaT, self.cool, self.epsilon = delta, T, deltaT, coolingMethod, epsilon def get_parameters(self): r"""Get algorithms parametes values. Returns: Dict[str, Any]: See Also * :func:`NiaPy.algorithms.Algorithm.getParameters` """ d = Algorithm.get_parameters(self) d.update({ 'delta': self.delta, 'deltaT': self.deltaT, 'T': self.T, 'epsilon': self.epsilon }) return d def init_population(self, task): r"""Initialize the starting population. Args: task (Task): Optimization task. Returns: Tuple[numpy.ndarray, float, list, dict]: 1. Initial solution. 2. Initial solutions fitness/objective value. 3. Additional arguments. 4. Additional keyword arguments. """ x = task.Lower + task.bRange * self.rand(task.D) curT, xfit = self.T, task.eval(x) return x, xfit, [], {'curT': curT} def run_iteration(self, task, x, xfit, xb, fxb, curT, *args, **dparams): r"""Core function of the algorithm. Args: task (Task): x (numpy.ndarray): xfit (float): xb (numpy.ndarray): fxb (float): curT (float): args (list): Additional arguments. dparams (dict): Additional keyword arguments. Returns: Tuple[numpy.ndarray, float, numpy.ndarray, float, list, dict]: 1. New solution. 2. New solutions fitness/objective value. 3. New global best solution. 4. New global best solutions fitness/objective value. 5. Additional arguments. 6. Additional keyword arguments. """ c = task.repair(x - self.delta / 2 + self.rand(task.D) * self.delta, rnd=self.Rand) cfit = task.eval(c) deltaFit, r = cfit - xfit, self.rand() if deltaFit < 0 or r < np.exp(deltaFit / curT): x, xfit = c, cfit curT = self.cool(curT, self.T, deltaT=self.deltaT, nFES=task.nFES) xb, fxb = self.get_best(x, xfit, xb, fxb) return x, xfit, xb, fxb, args, {'curT': curT} # vim: tabstop=3 noexpandtab shiftwidth=3 softtabstop=3
[ 2, 21004, 28, 40477, 23, 198, 198, 37811, 8890, 4817, 281, 710, 4272, 11862, 8265, 526, 15931, 198, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 775, 27871, 20519, 13, 282, 7727, 907, 13, 3849, 32186, 1330, 978, 42289, 198, 198, 834, 439, 834, 796, 685, 198, 197, 6, 8890, 4817, 43227, 4272, 3256, 198, 197, 6, 24494, 42430, 3256, 198, 197, 6, 24494, 14993, 451, 6, 198, 60, 628, 198, 4299, 3608, 42430, 7, 14421, 51, 11, 309, 11, 25979, 51, 11, 299, 37, 1546, 11, 12429, 46265, 22046, 2599, 198, 197, 81, 37811, 9771, 3129, 378, 649, 5951, 416, 5400, 13, 628, 197, 42035, 25, 198, 197, 197, 14421, 51, 357, 22468, 2599, 198, 197, 197, 51, 357, 22468, 2599, 198, 197, 197, 46265, 22046, 357, 35, 713, 58, 2536, 11, 4377, 60, 2599, 15891, 7159, 13, 628, 197, 35561, 25, 198, 197, 197, 22468, 25, 968, 5951, 13, 198, 197, 37811, 198, 197, 7783, 1459, 51, 532, 25979, 51, 628, 198, 4299, 3608, 14993, 451, 7, 14421, 51, 11, 309, 11, 25979, 51, 11, 299, 37, 1546, 11, 12429, 46265, 22046, 2599, 198, 197, 81, 37811, 9771, 3129, 378, 5951, 351, 14174, 2163, 13, 628, 197, 42035, 25, 198, 197, 197, 14421, 51, 357, 22468, 2599, 9236, 5951, 13, 198, 197, 197, 51, 357, 22468, 2599, 198, 197, 197, 67, 12514, 51, 357, 22468, 2599, 198, 197, 197, 77, 37, 1546, 357, 600, 2599, 7913, 286, 34109, 1760, 13, 198, 197, 197, 46265, 22046, 357, 35, 713, 58, 2536, 11, 4377, 60, 2599, 15891, 7159, 13, 628, 197, 35561, 25, 198, 197, 197, 22468, 25, 968, 5951, 13, 198, 197, 37811, 198, 197, 7783, 1459, 51, 532, 309, 1220, 299, 37, 1546, 628, 198, 4871, 3184, 4817, 43227, 4272, 7, 2348, 42289, 2599, 198, 197, 81, 37811, 3546, 32851, 286, 3184, 4817, 15397, 4272, 978, 42289, 13, 628, 197, 2348, 42289, 25, 198, 197, 197, 8890, 4817, 15397, 4272, 978, 42289, 628, 197, 10430, 25, 198, 197, 197, 7908, 628, 197, 30515, 669, 25, 198, 197, 197, 12128, 8099, 72, 46195, 290, 15983, 3653, 4312, 21862, 72, 46195, 628, 197, 34156, 25, 198, 197, 197, 36393, 628, 197, 26687, 10289, 25, 198, 197, 197, 51, 3727, 46, 628, 197, 26687, 3348, 25, 198, 197, 197, 51, 3727, 46, 628, 197, 29021, 25, 198, 197, 197, 5376, 357, 8053, 58, 2536, 60, 2599, 7343, 286, 13042, 10200, 11862, 1438, 13, 198, 197, 197, 67, 12514, 357, 22468, 2599, 15477, 329, 12250, 2989, 13, 198, 197, 197, 51, 357, 22468, 1776, 17962, 5951, 13, 198, 197, 197, 67, 12514, 51, 357, 22468, 2599, 9794, 287, 5951, 13, 198, 197, 197, 24494, 278, 17410, 357, 14134, 540, 2599, 22505, 6084, 2894, 2163, 13, 198, 197, 197, 538, 18217, 261, 357, 22468, 2599, 13047, 1988, 13, 628, 197, 6214, 4418, 25, 198, 197, 197, 9, 1058, 4871, 25, 63, 45, 544, 20519, 13, 282, 7727, 907, 13, 2348, 42289, 63, 198, 197, 37811, 198, 197, 5376, 796, 37250, 8890, 4817, 43227, 4272, 3256, 705, 4090, 20520, 628, 197, 31, 12708, 24396, 198, 197, 4299, 11862, 62, 10951, 33529, 198, 197, 197, 81, 37811, 3855, 4096, 1321, 286, 11862, 13, 628, 197, 197, 35561, 25, 198, 197, 197, 197, 2536, 25, 14392, 1321, 286, 11862, 13, 628, 197, 197, 6214, 4418, 25, 198, 197, 197, 197, 9, 1058, 20786, 25, 63, 45, 544, 20519, 13, 282, 7727, 907, 13, 2348, 42289, 13, 282, 42289, 12360, 63, 198, 197, 197, 37811, 198, 197, 197, 7783, 374, 37811, 14202, 37811, 628, 197, 31, 12708, 24396, 198, 197, 4299, 2099, 62, 17143, 7307, 33529, 198, 197, 197, 81, 37811, 3855, 22155, 351, 5499, 329, 10627, 3815, 286, 10007, 13, 628, 197, 197, 35561, 25, 198, 197, 197, 197, 35, 713, 58, 2536, 11, 4889, 540, 5974, 198, 197, 197, 197, 197, 9, 25979, 357, 14134, 540, 30109, 38176, 58, 22468, 11, 493, 4357, 20512, 60, 2599, 16926, 46, 198, 197, 197, 37811, 198, 197, 197, 7783, 1391, 198, 197, 197, 197, 1549, 12514, 10354, 37456, 2124, 25, 318, 39098, 7, 87, 11, 357, 600, 11, 12178, 4008, 290, 2124, 1875, 657, 11, 198, 197, 197, 197, 6, 51, 10354, 37456, 2124, 25, 318, 39098, 7, 87, 11, 357, 600, 11, 12178, 4008, 290, 2124, 1875, 657, 11, 198, 197, 197, 197, 1549, 12514, 51, 10354, 37456, 2124, 25, 318, 39098, 7, 87, 11, 357, 600, 11, 12178, 4008, 290, 2124, 1875, 657, 11, 198, 197, 197, 197, 6, 538, 18217, 261, 10354, 37456, 2124, 25, 318, 39098, 7, 87, 11, 12178, 8, 290, 657, 1279, 2124, 1279, 352, 198, 197, 197, 92, 628, 197, 4299, 900, 62, 17143, 7307, 7, 944, 11, 25979, 28, 15, 13, 20, 11, 309, 28, 11024, 11, 25979, 51, 28, 15, 13, 23, 11, 15134, 17410, 28, 24494, 42430, 11, 304, 862, 33576, 28, 16, 68, 12, 1954, 11, 12429, 2724, 86, 22046, 2599, 198, 197, 197, 81, 37811, 7248, 262, 11862, 10007, 14, 853, 2886, 13, 628, 197, 197, 28100, 2886, 25, 198, 197, 197, 197, 67, 12514, 357, 30719, 58, 22468, 60, 2599, 15477, 329, 12250, 2989, 13, 198, 197, 197, 197, 51, 357, 30719, 58, 22468, 36563, 17962, 5951, 13, 198, 197, 197, 197, 67, 12514, 51, 357, 30719, 58, 22468, 60, 2599, 9794, 287, 5951, 13, 198, 197, 197, 197, 24494, 278, 17410, 357, 30719, 58, 14134, 540, 60, 2599, 22505, 6084, 2894, 2163, 13, 198, 197, 197, 197, 538, 18217, 261, 357, 30719, 58, 22468, 60, 2599, 13047, 1988, 13, 628, 197, 197, 6214, 4418, 198, 197, 197, 197, 9, 1058, 20786, 25, 63, 45, 544, 20519, 13, 282, 7727, 907, 13, 2348, 42289, 13, 2617, 48944, 63, 198, 197, 197, 37811, 198, 197, 197, 2724, 86, 22046, 13, 12924, 10786, 77, 3256, 6045, 8, 198, 197, 197, 2348, 42289, 13, 2617, 62, 17143, 7307, 7, 944, 11, 299, 28, 16, 11, 12429, 2724, 86, 22046, 8, 198, 197, 197, 944, 13, 67, 12514, 11, 2116, 13, 51, 11, 2116, 13, 67, 12514, 51, 11, 2116, 13, 24494, 11, 2116, 13, 538, 18217, 261, 796, 25979, 11, 309, 11, 25979, 51, 11, 15134, 17410, 11, 304, 862, 33576, 628, 197, 4299, 651, 62, 17143, 7307, 7, 944, 2599, 198, 197, 197, 81, 37811, 3855, 16113, 5772, 316, 274, 3815, 13, 628, 197, 197, 35561, 25, 198, 197, 197, 197, 35, 713, 58, 2536, 11, 4377, 5974, 628, 197, 197, 6214, 4418, 198, 197, 197, 197, 9, 1058, 20786, 25, 63, 45, 544, 20519, 13, 282, 7727, 907, 13, 2348, 42289, 13, 1136, 48944, 63, 198, 197, 197, 37811, 198, 197, 197, 67, 796, 978, 42289, 13, 1136, 62, 17143, 7307, 7, 944, 8, 198, 197, 197, 67, 13, 19119, 15090, 198, 197, 197, 197, 1549, 12514, 10354, 2116, 13, 67, 12514, 11, 198, 197, 197, 197, 1549, 12514, 51, 10354, 2116, 13, 67, 12514, 51, 11, 198, 197, 197, 197, 6, 51, 10354, 2116, 13, 51, 11, 198, 197, 197, 197, 6, 538, 18217, 261, 10354, 2116, 13, 538, 18217, 261, 198, 197, 197, 30072, 198, 197, 197, 7783, 288, 628, 197, 4299, 2315, 62, 39748, 7, 944, 11, 4876, 2599, 198, 197, 197, 81, 37811, 24243, 1096, 262, 3599, 3265, 13, 628, 197, 197, 42035, 25, 198, 197, 197, 197, 35943, 357, 25714, 2599, 30011, 1634, 4876, 13, 628, 197, 197, 35561, 25, 198, 197, 197, 197, 51, 29291, 58, 77, 32152, 13, 358, 18747, 11, 12178, 11, 1351, 11, 8633, 5974, 198, 197, 197, 197, 197, 16, 13, 20768, 4610, 13, 198, 197, 197, 197, 197, 17, 13, 20768, 8136, 13547, 14, 15252, 425, 1988, 13, 198, 197, 197, 197, 197, 18, 13, 15891, 7159, 13, 198, 197, 197, 197, 197, 19, 13, 15891, 21179, 7159, 13, 198, 197, 197, 37811, 198, 197, 197, 87, 796, 4876, 13, 31426, 1343, 4876, 13, 65, 17257, 1635, 2116, 13, 25192, 7, 35943, 13, 35, 8, 198, 197, 197, 22019, 51, 11, 2124, 11147, 796, 2116, 13, 51, 11, 4876, 13, 18206, 7, 87, 8, 198, 197, 197, 7783, 2124, 11, 2124, 11147, 11, 685, 4357, 1391, 6, 22019, 51, 10354, 1090, 51, 92, 628, 197, 4299, 1057, 62, 2676, 341, 7, 944, 11, 4876, 11, 2124, 11, 2124, 11147, 11, 2124, 65, 11, 277, 30894, 11, 1090, 51, 11, 1635, 22046, 11, 12429, 67, 37266, 2599, 198, 197, 197, 81, 37811, 14055, 2163, 286, 262, 11862, 13, 628, 197, 197, 42035, 25, 198, 197, 197, 197, 35943, 357, 25714, 2599, 198, 197, 197, 197, 87, 357, 77, 32152, 13, 358, 18747, 2599, 198, 197, 197, 197, 87, 11147, 357, 22468, 2599, 198, 197, 197, 197, 30894, 357, 77, 32152, 13, 358, 18747, 2599, 198, 197, 197, 197, 21373, 65, 357, 22468, 2599, 198, 197, 197, 197, 22019, 51, 357, 22468, 2599, 198, 197, 197, 197, 22046, 357, 4868, 2599, 15891, 7159, 13, 198, 197, 197, 197, 67, 37266, 357, 11600, 2599, 15891, 21179, 7159, 13, 628, 197, 197, 35561, 25, 198, 197, 197, 197, 51, 29291, 58, 77, 32152, 13, 358, 18747, 11, 12178, 11, 299, 32152, 13, 358, 18747, 11, 12178, 11, 1351, 11, 8633, 5974, 198, 197, 197, 197, 197, 16, 13, 968, 4610, 13, 198, 197, 197, 197, 197, 17, 13, 968, 8136, 13547, 14, 15252, 425, 1988, 13, 198, 197, 197, 197, 197, 18, 13, 968, 3298, 1266, 4610, 13, 198, 197, 197, 197, 197, 19, 13, 968, 3298, 1266, 8136, 13547, 14, 15252, 425, 1988, 13, 198, 197, 197, 197, 197, 20, 13, 15891, 7159, 13, 198, 197, 197, 197, 197, 21, 13, 15891, 21179, 7159, 13, 198, 197, 197, 37811, 198, 197, 197, 66, 796, 4876, 13, 49932, 7, 87, 532, 2116, 13, 67, 12514, 1220, 362, 1343, 2116, 13, 25192, 7, 35943, 13, 35, 8, 1635, 2116, 13, 67, 12514, 11, 374, 358, 28, 944, 13, 38918, 8, 198, 197, 197, 66, 11147, 796, 4876, 13, 18206, 7, 66, 8, 198, 197, 197, 67, 12514, 31805, 11, 374, 796, 269, 11147, 532, 2124, 11147, 11, 2116, 13, 25192, 3419, 198, 197, 197, 361, 25979, 31805, 1279, 657, 393, 374, 1279, 45941, 13, 11201, 7, 67, 12514, 31805, 1220, 1090, 51, 2599, 2124, 11, 2124, 11147, 796, 269, 11, 269, 11147, 198, 197, 197, 22019, 51, 796, 2116, 13, 24494, 7, 22019, 51, 11, 2116, 13, 51, 11, 25979, 51, 28, 944, 13, 67, 12514, 51, 11, 299, 37, 1546, 28, 35943, 13, 77, 37, 1546, 8, 198, 197, 197, 30894, 11, 277, 30894, 796, 2116, 13, 1136, 62, 13466, 7, 87, 11, 2124, 11147, 11, 2124, 65, 11, 277, 30894, 8, 198, 197, 197, 7783, 2124, 11, 2124, 11147, 11, 2124, 65, 11, 277, 30894, 11, 26498, 11, 1391, 6, 22019, 51, 10354, 1090, 51, 92, 198, 198, 2, 43907, 25, 7400, 11338, 28, 18, 645, 11201, 392, 8658, 6482, 10394, 28, 18, 2705, 8658, 11338, 28, 18, 198 ]
2.584906
1,802
import sys sys.path.append("../config_files") import mysql.connector from settings_project import CONFIG_MYSQL import pandas as pd import numpy as np import time #DEFINIMOS FUNCIONES # CALCULAR MEDIAS MOVILES # CREAMOS CICLO INFINITO CON PAUSA CADA 10S while True: # Cargar datos datos = load_bitso_data_top500(CONFIG_MYSQL) # Ordenar datos datos = datos.reindex(index=datos.index[::-1]) datos.reset_index(inplace=True, drop=True) # Crear medias moviles datos['mv20'] = sma(datos.price, 10) datos['mv160'] = sma(datos.price, 60) # Restart medias moviles datos['alpha'] = datos['mv20'] - datos['mv160'] # Obtener datos datos['alpha_bin'] = datos['alpha'].apply(np.sign) if ((datos['alpha_bin'].iloc[-1] == 1) & (datos['alpha_bin'].shift(1).iloc[-1] == -1) & (datos['alpha_bin'].shift(2).iloc[-1] == 1) & (datos['alpha_bin'].shift(3).iloc[-1] ==1)): print('--Posición Larga--') time.sleep(10) elif ((datos['alpha_bin'].iloc[-1] == -1) & (datos['alpha_bin'].shift(1).iloc[-1] == 1) & (datos['alpha_bin'].shift(2).iloc[-1] == 1) & (datos['alpha_bin'].shift(3).iloc[-1] ==1)): print('--Posicion Corta--') time.sleep(10) else: print('Sin Posición') time.sleep(10) # Forward Test datos = load_bitso_data_top500(CONFIG_MYSQL) # Ordenar datos datos = datos.reindex(index=datos.index[::-1]) datos.reset_index(inplace=True, drop=True) # Crear medias moviles datos['mv20'] = sma(datos.price, 10) datos['mv160'] = sma(datos.price, 60) # Restart medias moviles datos['alpha'] = datos['mv20'] - datos['mv160'] # Obtener datos datos['alpha_bin'] = datos['alpha'].apply(np.sign) longitud_arreglo = len(datos['alpha_bin']) for j in range(len(datos['alpha_bin'])): i = longitud_arreglo - j if ((datos['alpha_bin'].iloc[-i] == 1) & (datos['alpha_bin'].shift(1).iloc[-i] == -1) & (datos['alpha_bin'].shift(2).iloc[-i] == -1) & (datos['alpha_bin'].shift(3).iloc[-i] == -1)): print('--Posición Larga--', i) time.sleep(1) if ((datos['alpha_bin'].iloc[-i] == -1) & (datos['alpha_bin'].shift(1).iloc[-i] == 1) & (datos['alpha_bin'].shift(2).iloc[-i] == 1) & (datos['alpha_bin'].shift(3).iloc[-i] == 1)): print('--Posicion Corta--', i) time.sleep(1) else: print('Sin Posición', i) time.sleep(1)
[ 11748, 25064, 198, 17597, 13, 6978, 13, 33295, 7203, 40720, 11250, 62, 16624, 4943, 198, 11748, 48761, 13, 8443, 273, 198, 6738, 6460, 62, 16302, 1330, 25626, 62, 44, 16309, 9711, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 640, 198, 198, 2, 7206, 20032, 3955, 2640, 29397, 34, 2849, 1546, 628, 198, 2, 33290, 34, 37232, 26112, 43429, 28184, 4146, 1546, 198, 2, 29244, 2390, 2640, 327, 2149, 21982, 3268, 20032, 2043, 46, 7102, 8147, 14053, 327, 26853, 838, 50, 198, 198, 4514, 6407, 25, 198, 220, 220, 220, 1303, 327, 853, 283, 4818, 418, 198, 220, 220, 220, 4818, 418, 796, 3440, 62, 2545, 568, 62, 7890, 62, 4852, 4059, 7, 10943, 16254, 62, 44, 16309, 9711, 8, 628, 220, 220, 220, 1303, 1471, 6559, 283, 4818, 418, 198, 220, 220, 220, 4818, 418, 796, 4818, 418, 13, 260, 9630, 7, 9630, 28, 19608, 418, 13, 9630, 58, 3712, 12, 16, 12962, 198, 220, 220, 220, 4818, 418, 13, 42503, 62, 9630, 7, 259, 5372, 28, 17821, 11, 4268, 28, 17821, 8, 628, 220, 220, 220, 1303, 5844, 283, 1117, 4448, 1409, 2915, 198, 220, 220, 220, 4818, 418, 17816, 76, 85, 1238, 20520, 796, 895, 64, 7, 19608, 418, 13, 20888, 11, 838, 8, 198, 220, 220, 220, 4818, 418, 17816, 76, 85, 14198, 20520, 796, 895, 64, 7, 19608, 418, 13, 20888, 11, 3126, 8, 628, 220, 220, 220, 1303, 8324, 433, 1117, 4448, 1409, 2915, 198, 220, 220, 220, 4818, 418, 17816, 26591, 20520, 796, 4818, 418, 17816, 76, 85, 1238, 20520, 532, 4818, 418, 17816, 76, 85, 14198, 20520, 628, 220, 220, 220, 1303, 1835, 83, 877, 4818, 418, 198, 220, 220, 220, 4818, 418, 17816, 26591, 62, 8800, 20520, 796, 4818, 418, 17816, 26591, 6, 4083, 39014, 7, 37659, 13, 12683, 8, 628, 220, 220, 220, 611, 14808, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 346, 420, 58, 12, 16, 60, 6624, 352, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 16, 737, 346, 420, 58, 12, 16, 60, 6624, 532, 16, 8, 1222, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 17, 737, 346, 420, 58, 12, 16, 60, 6624, 352, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 18, 737, 346, 420, 58, 12, 16, 60, 6624, 16, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 438, 21604, 44070, 18840, 406, 853, 64, 438, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 940, 8, 198, 220, 220, 220, 1288, 361, 14808, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 346, 420, 58, 12, 16, 60, 6624, 532, 16, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 16, 737, 346, 420, 58, 12, 16, 60, 6624, 352, 8, 1222, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 17, 737, 346, 420, 58, 12, 16, 60, 6624, 352, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 18, 737, 346, 420, 58, 12, 16, 60, 6624, 16, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 438, 21604, 47430, 18418, 64, 438, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 940, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 46200, 18574, 44070, 18840, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 940, 8, 628, 198, 2, 19530, 6208, 198, 19608, 418, 796, 3440, 62, 2545, 568, 62, 7890, 62, 4852, 4059, 7, 10943, 16254, 62, 44, 16309, 9711, 8, 198, 198, 2, 1471, 6559, 283, 4818, 418, 198, 19608, 418, 796, 4818, 418, 13, 260, 9630, 7, 9630, 28, 19608, 418, 13, 9630, 58, 3712, 12, 16, 12962, 198, 19608, 418, 13, 42503, 62, 9630, 7, 259, 5372, 28, 17821, 11, 4268, 28, 17821, 8, 198, 198, 2, 5844, 283, 1117, 4448, 1409, 2915, 198, 19608, 418, 17816, 76, 85, 1238, 20520, 796, 895, 64, 7, 19608, 418, 13, 20888, 11, 838, 8, 198, 19608, 418, 17816, 76, 85, 14198, 20520, 796, 895, 64, 7, 19608, 418, 13, 20888, 11, 3126, 8, 198, 198, 2, 8324, 433, 1117, 4448, 1409, 2915, 198, 19608, 418, 17816, 26591, 20520, 796, 4818, 418, 17816, 76, 85, 1238, 20520, 532, 4818, 418, 17816, 76, 85, 14198, 20520, 198, 198, 2, 1835, 83, 877, 4818, 418, 198, 19608, 418, 17816, 26591, 62, 8800, 20520, 796, 4818, 418, 17816, 26591, 6, 4083, 39014, 7, 37659, 13, 12683, 8, 198, 6511, 26331, 62, 283, 2301, 5439, 796, 18896, 7, 19608, 418, 17816, 26591, 62, 8800, 6, 12962, 198, 1640, 474, 287, 2837, 7, 11925, 7, 19608, 418, 17816, 26591, 62, 8800, 6, 12962, 2599, 198, 220, 220, 220, 1312, 796, 890, 26331, 62, 283, 2301, 5439, 532, 474, 198, 220, 220, 220, 611, 14808, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 346, 420, 58, 12, 72, 60, 6624, 352, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 16, 737, 346, 420, 58, 12, 72, 60, 6624, 532, 16, 8, 1222, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 17, 737, 346, 420, 58, 12, 72, 60, 6624, 532, 16, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 18, 737, 346, 420, 58, 12, 72, 60, 6624, 532, 16, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 438, 21604, 44070, 18840, 406, 853, 64, 438, 3256, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8, 628, 220, 220, 220, 611, 14808, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 346, 420, 58, 12, 72, 60, 6624, 532, 16, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 16, 737, 346, 420, 58, 12, 72, 60, 6624, 352, 8, 1222, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 17, 737, 346, 420, 58, 12, 72, 60, 6624, 352, 8, 1222, 357, 19608, 418, 17816, 26591, 62, 8800, 6, 4083, 30846, 7, 18, 737, 346, 420, 58, 12, 72, 60, 6624, 352, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 438, 21604, 47430, 18418, 64, 438, 3256, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 46200, 18574, 44070, 18840, 3256, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8 ]
2.062661
1,165
from django.test import TestCase # from django.contrib.auth.models import User from blog.models import Post, Comment import blog.tests.helper as h
[ 6738, 42625, 14208, 13, 9288, 1330, 6208, 20448, 198, 2, 422, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 198, 198, 6738, 4130, 13, 27530, 1330, 2947, 11, 18957, 198, 198, 11748, 4130, 13, 41989, 13, 2978, 525, 355, 289, 628, 198 ]
3.355556
45
# -*- coding: utf-8 -*- # Copyright (C) 2014 Denys Duchier, IUT d'Orléans #============================================================================== import mud.game from .thing import Thing from .mixins.containing import Containing from .location import Location import queue from tornado.ioloop import IOLoop
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 15069, 357, 34, 8, 1946, 5601, 893, 360, 794, 959, 11, 314, 3843, 288, 6, 5574, 45031, 504, 198, 2, 23926, 25609, 855, 198, 198, 11748, 17492, 13, 6057, 198, 6738, 764, 1197, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 21561, 198, 6738, 764, 19816, 1040, 13, 38301, 1330, 2345, 1397, 198, 6738, 764, 24886, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 13397, 198, 11748, 16834, 198, 6738, 33718, 13, 1669, 11224, 220, 220, 220, 220, 1330, 314, 3535, 11224, 198 ]
3.247619
105
#!/usr/bin/env python ''' Module for pipelining composition. value >> func1 >> func2 >> func3 ... Pipelines are expressions whose resulting value can be assigned: result = value >> func1 >> func2 Rules: * First value can be any python value * Functions must be chained with the '>>' operator. * All functions must be built as attributes of a Pipeline object and must accept one argument, that will be set using the pipelined value. Any additional arguments must be specified in the pipeline and the value will be added as the last argument. * Generators are allowed. Using a generator will turn the value being pipelined into a generator object, meaning that subsequent pipeline steps must be able to consume the values (for example with p.list). Multiple generators will be automatically chained, and if the last step is a generator, the whole expression becomes a single generator ready for action! Examples: from pipeline import p # This pipeline has a result of 3 'foo' >> p.len # This pipeline chains filters and maps objects, and calls list() on them # at the end to execute them. The result will be [1, 9, 25, 49, 81] range(10) >> p.filter(lambda i : i%2) >> p.map(lambda i : i*i) >> p.list # If you already have a function object (or want to define one with lambda), # pass it as a parameter to p(): 'foo' >> p(lambda x: x.upper()) 'foo' >> p('The word was {}'.format) # if imported symbols are used, they must be passed # to the Pipeline constructor. This example counts # the links in the python.org page, but since 'findall' #'is imported, we must build a Pipeline object using # the globals() array: from pipeline import Pipeline from urllib.request import urlopen from re import findall p = Pipeline(globals()) url = 'http://python.org' urlopen(url).read() >> p.findall(b'href="') >> p.len >> p('{} hrefs'.format) Generator support using the special "p.value" keyword: range(10) >> p(x*2 for x in p.value if x%2==0) >> p(x*3 for x in p.value) The result will be a generator, that is, nothing is executed until the final generator will be asked to produce the values! ''' import hack import types p = Pipeline() p.value = '' # Dummy iterable # __oOo__
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 7061, 6, 198, 26796, 329, 7347, 417, 3191, 11742, 13, 628, 220, 220, 220, 1988, 9609, 25439, 16, 9609, 25439, 17, 9609, 25439, 18, 2644, 198, 198, 47, 541, 20655, 389, 14700, 3025, 7186, 1988, 460, 307, 8686, 25, 628, 220, 220, 220, 1255, 796, 1988, 9609, 25439, 16, 9609, 25439, 17, 198, 198, 37766, 25, 198, 220, 1635, 3274, 1988, 460, 307, 597, 21015, 1988, 198, 220, 1635, 40480, 1276, 307, 40682, 351, 262, 705, 4211, 6, 10088, 13, 198, 220, 1635, 1439, 5499, 1276, 307, 3170, 355, 12608, 286, 257, 37709, 2134, 290, 1276, 2453, 198, 220, 220, 220, 530, 4578, 11, 326, 481, 307, 900, 1262, 262, 7347, 417, 1389, 1988, 13, 198, 220, 220, 220, 4377, 3224, 7159, 1276, 307, 7368, 287, 262, 11523, 290, 262, 1988, 481, 307, 2087, 198, 220, 220, 220, 355, 262, 938, 4578, 13, 198, 220, 1635, 2980, 2024, 389, 3142, 13, 8554, 257, 17301, 481, 1210, 262, 1988, 852, 7347, 417, 1389, 198, 220, 220, 220, 656, 257, 17301, 2134, 11, 3616, 326, 8840, 11523, 4831, 1276, 307, 1498, 198, 220, 220, 220, 284, 15000, 262, 3815, 357, 1640, 1672, 351, 279, 13, 4868, 737, 20401, 27298, 481, 307, 198, 220, 220, 220, 6338, 40682, 11, 290, 611, 262, 938, 2239, 318, 257, 17301, 11, 262, 2187, 5408, 198, 220, 220, 220, 4329, 257, 2060, 17301, 3492, 329, 2223, 0, 198, 198, 27730, 25, 628, 220, 220, 220, 422, 11523, 1330, 279, 628, 220, 220, 220, 1303, 770, 11523, 468, 257, 1255, 286, 513, 198, 220, 220, 220, 705, 21943, 6, 9609, 279, 13, 11925, 628, 220, 220, 220, 1303, 770, 11523, 14659, 16628, 290, 8739, 5563, 11, 290, 3848, 1351, 3419, 319, 606, 198, 220, 220, 220, 1303, 379, 262, 886, 284, 12260, 606, 13, 383, 1255, 481, 307, 685, 16, 11, 860, 11, 1679, 11, 5125, 11, 9773, 60, 628, 220, 220, 220, 2837, 7, 940, 8, 9609, 279, 13, 24455, 7, 50033, 1312, 1058, 1312, 4, 17, 8, 9609, 279, 13, 8899, 7, 50033, 1312, 1058, 1312, 9, 72, 8, 9609, 279, 13, 4868, 628, 220, 220, 220, 1303, 1002, 345, 1541, 423, 257, 2163, 2134, 357, 273, 765, 284, 8160, 530, 351, 37456, 828, 198, 220, 220, 220, 1303, 1208, 340, 355, 257, 11507, 284, 279, 33529, 628, 220, 220, 220, 705, 21943, 6, 9609, 279, 7, 50033, 2124, 25, 2124, 13, 45828, 28955, 198, 220, 220, 220, 705, 21943, 6, 9609, 279, 10786, 464, 1573, 373, 23884, 4458, 18982, 8, 628, 220, 220, 220, 1303, 611, 17392, 14354, 389, 973, 11, 484, 1276, 307, 3804, 198, 220, 220, 220, 1303, 284, 262, 37709, 23772, 13, 770, 1672, 9853, 198, 220, 220, 220, 1303, 262, 6117, 287, 262, 21015, 13, 2398, 2443, 11, 475, 1201, 705, 19796, 439, 6, 198, 220, 220, 220, 1303, 6, 271, 17392, 11, 356, 1276, 1382, 257, 37709, 2134, 1262, 198, 220, 220, 220, 1303, 262, 15095, 874, 3419, 7177, 25, 628, 220, 220, 220, 422, 11523, 1330, 37709, 198, 220, 220, 220, 422, 2956, 297, 571, 13, 25927, 1330, 19016, 9654, 198, 220, 220, 220, 422, 302, 1330, 1064, 439, 628, 220, 220, 220, 279, 796, 37709, 7, 4743, 672, 874, 28955, 628, 220, 220, 220, 19016, 796, 705, 4023, 1378, 29412, 13, 2398, 6, 628, 220, 220, 220, 19016, 9654, 7, 6371, 737, 961, 3419, 9609, 279, 13, 19796, 439, 7, 65, 6, 33257, 2625, 11537, 9609, 279, 13, 11925, 9609, 279, 10786, 90, 92, 13291, 82, 4458, 18982, 8, 198, 198, 8645, 1352, 1104, 1262, 262, 2041, 366, 79, 13, 8367, 1, 21179, 25, 628, 220, 220, 220, 2837, 7, 940, 8, 9609, 279, 7, 87, 9, 17, 329, 2124, 287, 279, 13, 8367, 611, 2124, 4, 17, 855, 15, 8, 220, 9609, 279, 7, 87, 9, 18, 329, 2124, 287, 279, 13, 8367, 8, 198, 198, 464, 1255, 481, 307, 257, 17301, 11, 326, 318, 11, 2147, 318, 10945, 1566, 198, 1169, 2457, 17301, 481, 307, 1965, 284, 4439, 262, 3815, 0, 628, 198, 7061, 6, 198, 198, 11748, 8156, 198, 11748, 3858, 628, 628, 198, 79, 796, 37709, 3419, 198, 198, 79, 13, 8367, 796, 10148, 1303, 360, 13513, 11629, 540, 198, 198, 2, 11593, 78, 46, 78, 834, 198 ]
3.26087
713
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import glob from os.path import join, dirname sys.path.insert(0, join(dirname(__file__), '..')) sys.path.insert(0, join(dirname(__file__), '../..')) import cv2 import numpy as np if __name__ == '__main__': rate = 1.25 rate2 = 1.0 dataset = {} fps = 30 video_size = (1280, 720) videoWriter = cv2.VideoWriter("/media/wang/Data/video/first-person/2.mp4", cv2.VideoWriter_fourcc(*'MJPG'), fps, video_size) for index in [2,4,5]: img_list, pcd_list, nav_list, cost_list, out_list = read_files(index) dataset[index] = {'img_list':img_list, 'pcd_list':pcd_list, 'nav_list':nav_list, 'cost_list':cost_list, 'out_list':out_list} for index in [2]: choose_dataset = dataset[index] for ts in choose_dataset['img_list']: img = cv2.imread('/media/wang/Data/video/data'+str(index)+'/output/'+ts+'.png') #print(img.shape) #(720, 1280, 3) if img is None: continue #img = cv2.cvtColor(img,cv2.COLOR_BGR2RGB) nav_ts = find_nn(ts, choose_dataset['nav_list']) cost_ts = find_nn(ts, choose_dataset['cost_list']) nav = cv2.imread('/media/wang/Data/video/data'+str(index)+'/nav/'+nav_ts+'.png') costmap = cv2.imread('/media/wang/Data/video/data'+str(index)+'/cost/'+cost_ts+'.png') nav = cv2.cvtColor(nav, cv2.COLOR_BGR2RGB) #(160, 200, 3) #input_img = get_img(img, nav) nav = cv2.resize(nav, (int(200*rate), int(rate*160))) img[0:int(rate*160), -int(200*rate):] = nav img[0:int(rate2*200), 0:int(400*rate2)] = costmap cv2.imshow('img', img) videoWriter.write(img) #cv2.imshow('costmap', costmap) cv2.waitKey(1) cv2.destroyAllWindows() videoWriter.release()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 11748, 25064, 198, 11748, 15095, 198, 6738, 28686, 13, 6978, 1330, 4654, 11, 26672, 3672, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 4654, 7, 15908, 3672, 7, 834, 7753, 834, 828, 705, 492, 6, 4008, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 4654, 7, 15908, 3672, 7, 834, 7753, 834, 828, 705, 40720, 492, 6, 4008, 198, 198, 11748, 269, 85, 17, 198, 11748, 299, 32152, 355, 45941, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 2494, 796, 352, 13, 1495, 198, 220, 220, 220, 2494, 17, 796, 352, 13, 15, 198, 220, 220, 220, 27039, 796, 23884, 198, 220, 220, 220, 220, 628, 220, 220, 220, 32977, 796, 1542, 198, 220, 220, 220, 2008, 62, 7857, 796, 357, 1065, 1795, 11, 26250, 8, 628, 220, 220, 220, 2008, 34379, 796, 269, 85, 17, 13, 10798, 34379, 7203, 14, 11431, 14, 47562, 14, 6601, 14, 15588, 14, 11085, 12, 6259, 14, 17, 13, 3149, 19, 1600, 269, 85, 17, 13, 10798, 34379, 62, 14337, 535, 46491, 6, 43421, 6968, 33809, 32977, 11, 2008, 62, 7857, 8, 628, 220, 220, 220, 329, 6376, 287, 685, 17, 11, 19, 11, 20, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 33705, 62, 4868, 11, 279, 10210, 62, 4868, 11, 6812, 62, 4868, 11, 1575, 62, 4868, 11, 503, 62, 4868, 796, 1100, 62, 16624, 7, 9630, 8, 198, 220, 220, 220, 220, 220, 220, 220, 27039, 58, 9630, 60, 796, 1391, 6, 9600, 62, 4868, 10354, 9600, 62, 4868, 11, 705, 79, 10210, 62, 4868, 10354, 79, 10210, 62, 4868, 11, 705, 28341, 62, 4868, 10354, 28341, 62, 4868, 11, 705, 15805, 62, 4868, 10354, 15805, 62, 4868, 11, 705, 448, 62, 4868, 10354, 448, 62, 4868, 92, 628, 220, 220, 220, 329, 6376, 287, 685, 17, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 3853, 62, 19608, 292, 316, 796, 27039, 58, 9630, 60, 198, 220, 220, 220, 220, 220, 220, 220, 329, 40379, 287, 3853, 62, 19608, 292, 316, 17816, 9600, 62, 4868, 6, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33705, 796, 269, 85, 17, 13, 320, 961, 10786, 14, 11431, 14, 47562, 14, 6601, 14, 15588, 14, 7890, 6, 10, 2536, 7, 9630, 47762, 26488, 22915, 14, 6, 10, 912, 10, 4458, 11134, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4798, 7, 9600, 13, 43358, 8, 1303, 7, 23906, 11, 37674, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33705, 318, 6045, 25, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9600, 796, 269, 85, 17, 13, 33967, 83, 10258, 7, 9600, 11, 33967, 17, 13, 46786, 62, 33, 10761, 17, 36982, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6812, 62, 912, 796, 1064, 62, 20471, 7, 912, 11, 3853, 62, 19608, 292, 316, 17816, 28341, 62, 4868, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1575, 62, 912, 796, 1064, 62, 20471, 7, 912, 11, 3853, 62, 19608, 292, 316, 17816, 15805, 62, 4868, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6812, 796, 269, 85, 17, 13, 320, 961, 10786, 14, 11431, 14, 47562, 14, 6601, 14, 15588, 14, 7890, 6, 10, 2536, 7, 9630, 47762, 26488, 28341, 14, 6, 10, 28341, 62, 912, 10, 4458, 11134, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1575, 8899, 796, 269, 85, 17, 13, 320, 961, 10786, 14, 11431, 14, 47562, 14, 6601, 14, 15588, 14, 7890, 6, 10, 2536, 7, 9630, 47762, 26488, 15805, 14, 6, 10, 15805, 62, 912, 10, 4458, 11134, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6812, 796, 269, 85, 17, 13, 33967, 83, 10258, 7, 28341, 11, 269, 85, 17, 13, 46786, 62, 33, 10761, 17, 36982, 8, 1303, 7, 14198, 11, 939, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15414, 62, 9600, 796, 651, 62, 9600, 7, 9600, 11, 6812, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6812, 796, 269, 85, 17, 13, 411, 1096, 7, 28341, 11, 357, 600, 7, 2167, 9, 4873, 828, 493, 7, 4873, 9, 14198, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33705, 58, 15, 25, 600, 7, 4873, 9, 14198, 828, 532, 600, 7, 2167, 9, 4873, 2599, 60, 796, 6812, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33705, 58, 15, 25, 600, 7, 4873, 17, 9, 2167, 828, 657, 25, 600, 7, 7029, 9, 4873, 17, 15437, 796, 1575, 8899, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 9600, 3256, 33705, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2008, 34379, 13, 13564, 7, 9600, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 33967, 17, 13, 320, 12860, 10786, 15805, 8899, 3256, 1575, 8899, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 85, 17, 13, 17077, 9218, 7, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 269, 85, 17, 13, 41659, 3237, 11209, 3419, 198, 220, 220, 220, 2008, 34379, 13, 20979, 3419, 628, 628, 628, 628, 628, 628, 220, 220, 220, 220, 220, 220, 220, 220 ]
1.967078
972
from gephistreamer import graph from gephistreamer import streamer #https://github.com/totetmatt/GephiStreamer #DA FARE stream = streamer.Streamer(streamer.GephiWS(hostname="localhost", port=8080, workspace="workspace0"),) node_a = graph.Node("A",custom_property=1) node_b = graph.Node("B",custom_property=2) node_c = graph.Node("C",custom_property=3) node_d = graph.Node("D",custom_property=4) stream.add_node(node_a,node_b) edge_ab = graph.Edge(node_a,node_b,custom_property="hello") stream.add_edge(edge_ab)
[ 6738, 308, 538, 10034, 1476, 263, 1330, 4823, 198, 6738, 308, 538, 10034, 1476, 263, 1330, 4269, 263, 198, 2, 5450, 1378, 12567, 13, 785, 14, 83, 313, 316, 76, 1078, 14, 38, 538, 5303, 28696, 198, 2, 5631, 376, 12203, 198, 5532, 796, 4269, 263, 13, 28696, 7, 5532, 263, 13, 38, 538, 5303, 19416, 7, 4774, 3672, 2625, 36750, 1600, 2493, 28, 1795, 1795, 11, 44573, 2625, 5225, 10223, 15, 12340, 8, 198, 17440, 62, 64, 796, 4823, 13, 19667, 7203, 32, 1600, 23144, 62, 26745, 28, 16, 8, 198, 17440, 62, 65, 796, 4823, 13, 19667, 7203, 33, 1600, 23144, 62, 26745, 28, 17, 8, 198, 17440, 62, 66, 796, 4823, 13, 19667, 7203, 34, 1600, 23144, 62, 26745, 28, 18, 8, 198, 17440, 62, 67, 796, 4823, 13, 19667, 7203, 35, 1600, 23144, 62, 26745, 28, 19, 8, 198, 198, 5532, 13, 2860, 62, 17440, 7, 17440, 62, 64, 11, 17440, 62, 65, 8, 198, 14907, 62, 397, 796, 4823, 13, 37021, 7, 17440, 62, 64, 11, 17440, 62, 65, 11, 23144, 62, 26745, 2625, 31373, 4943, 198, 5532, 13, 2860, 62, 14907, 7, 14907, 62, 397, 8, 198 ]
2.65285
193
#!/usr/bin/env python # Copyright (c) 2018, Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" file accompanying this file. This file is distributed # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either # express or implied. See the License for the specific language governing # permissions and limitations under the License. import os import time import json import rospy import hashlib import sqlite3 import time from optparse import OptionParser from tts.srv import Synthesizer, SynthesizerResponse from tts.srv import PollyResponse from tts.db import DB class SpeechSynthesizer: """This class serves as a ROS service node that should be an entry point of a TTS task. Although the current implementation uses Amazon Polly as the synthesis engine, it is not hard to let it support more heterogeneous engines while keeping the API the same. In order to support a variety of engines, the SynthesizerRequest was designed with flexibility in mind. It has two fields: text and metadata. Both are strings. In most cases, a user can ignore the metadata and call the service with some plain text. If the use case needs any control or engine-specific feature, the extra information can be put into the JSON-form metadata. This class will use the information when calling the engine. The decoupling of the synthesizer and the actual synthesis engine will benefit the users in many ways. First, a user will be able to use a unified interface to do the TTS job and have the freedom to use different engines available with no or very little change from the client side. Second, by applying some design patterns, the synthesizer can choose an engine dynamically. For example, a user may prefer to use Amazon Polly but is also OK with an offline solution when network is not reliable. Third, engines can be complicated, thus difficult to use. As an example, Amazon Polly supports dozens of parameters and is able to accomplish nontrivial synthesis jobs, but majority of the users never need those features. This class provides a clean interface with two parameters only, so that it is much easier and pleasant to use. If by any chance the advanced features are required, the user can always leverage the metadata field or even go to the backend engine directly. Also, from an engineering perspective, simple and decoupled modules are easier to maintain. This class supports two modes of using polly. It can either call a service node or use AmazonPolly as a library. Start the service node:: $ rosrun tts synthesizer_node.py # use default configuration $ rosrun tts synthesizer_node.py -e POLLY_LIBRARY # will not call polly service node Call the service:: $ rosservice call /synthesizer 'hello' '' $ rosservice call /synthesizer '<speak>hello</speak>' '"{\"text_type\":\"ssml\"}"' """ class DummyEngine: """A dummy engine which exists to facilitate testing. Can either be set to act as if it is connected or disconnected. Will create files where they are expected, but they will not be actual audio files.""" def __call__(self, **kwargs): """put a file at the specified location and return resonable dummy values. If not connected, fills in the Exception fields. Args: **kwarks: dictionary with fields: output_format, voice_id, sample_rate, text_type, text, output_path Returns: A json version of a string with fields: Audio File, Audio Type, Exception (if there is an exception), Traceback (if there is an exception), and if succesful Amazon Polly Response Metadata """ if self.connected: with open(kwargs['output_path'], 'wb') as f: f.write(os.urandom(self.file_size)) output_format = kwargs['OutputFormat'] if 'OutputFormat' in kwargs else 'ogg_vorbis' resp = json.dumps({ 'Audio File': kwargs['output_path'], 'Audio Type': output_format, 'Amazon Polly Response Metadata': {'some header': 'some data'} }) return SynthesizerResponse(resp) else: current_dir = os.path.dirname(os.path.abspath(__file__)) error_ogg_filename = 'connerror.ogg' error_details = { 'Audio File': os.path.join(current_dir, '../src/tts/data', error_ogg_filename), 'Audio Type': 'ogg', 'Exception': { 'dummy head': 'dummy val' # 'Type': str(exc_type), # 'Module': exc_type.__module__, # 'Name': exc_type.__name__, # 'Value': str(e), }, 'Traceback': 'some traceback' } return SynthesizerResponse(json.dumps(error_details)) def set_connection(self, connected): """set the connection state Args: connected: boolean, whether to act connected or not """ self.connected = connected def set_file_sizes(self, size): """Set the target file size for future files in bytes Args: size: the number of bytes to make the next files """ self.file_size = size ENGINES = { 'POLLY_SERVICE': PollyViaNode, 'POLLY_LIBRARY': PollyDirect, 'DUMMY': DummyEngine, } #TODO: expose this max_cache_bytes value to the roslaunch system (why is rosparam not used in this file?) def _call_engine(self, **kw): """Call engine to do the job. If no output path is found from input, the audio file will be put into /tmp and the file name will have a prefix of the md5 hash of the text. If a filename is not given, the utterance is added to the cache. If a filename is specified, then we will assume that the file is being managed by the user and it will not be added to the cache. :param kw: what AmazonPolly needs to synthesize :return: response from AmazonPolly """ if 'output_path' not in kw: tmp_filename = hashlib.md5( json.dumps(kw, sort_keys=True)).hexdigest() tmp_filepath = os.path.join( os.sep, 'tmp', 'voice_{}'.format(tmp_filename)) kw['output_path'] = os.path.abspath(tmp_filepath) rospy.loginfo('managing file with name: {}'.format(tmp_filename)) # because the hash will include information about any file ending choices, we only # need to look at the hash itself. db = DB() db_search_result = db.ex( 'SELECT file, audio_type FROM cache WHERE hash=?', tmp_filename).fetchone() current_time = time.time() file_found = False if db_search_result: # then there is data # check if the file exists, if not, remove from db # TODO: add a test that deletes a file without telling the db and tries to synthesize it if os.path.exists(db_search_result['file']): file_found = True db.ex('update cache set last_accessed=? where hash=?', current_time, tmp_filename) synth_result = PollyResponse(json.dumps({ 'Audio File': db_search_result['file'], 'Audio Type': db_search_result['audio_type'], 'Amazon Polly Response Metadata': '' })) rospy.loginfo('audio file was already cached at: %s', db_search_result['file']) else: rospy.logwarn( 'A file in the database did not exist on the disk, removing from db') db.remove_file(db_search_result['file']) if not file_found: # havent cached this yet rospy.loginfo('Caching file') synth_result = self.engine(**kw) res_dict = json.loads(synth_result.result) if 'Exception' not in res_dict: file_name = res_dict['Audio File'] if file_name: file_size = os.path.getsize(file_name) db.ex('''insert into cache( hash, file, audio_type, last_accessed,size) values (?,?,?,?,?)''', tmp_filename, file_name, res_dict['Audio Type'], current_time, file_size) rospy.loginfo( 'generated new file, saved to %s and cached', file_name) # make sure the cache hasn't grown too big while db.get_size() > self.max_cache_bytes and db.get_num_files() > 1: remove_res = db.ex( 'select file, min(last_accessed), size from cache' ).fetchone() db.remove_file(remove_res['file']) rospy.loginfo('removing %s to maintain cache size, new size: %i', remove_res['file'], db.get_size()) else: synth_result = self.engine(**kw) return synth_result def _parse_request_or_raise(self, request): """It will raise if request is malformed. :param request: an instance of SynthesizerRequest :return: a dict """ md = json.loads(request.metadata) if request.metadata else {} md['output_format'] = md.get('output_format', self.default_output_format) md['voice_id'] = md.get('voice_id', self.default_voice_id) md['sample_rate'] = md.get('sample_rate', '16000' if md['output_format'].lower() == 'pcm' else '22050') md['text_type'] = md.get('text_type', self.default_text_type) md['text'] = request.text return md def _node_request_handler(self, request): """The callback function for processing service request. It never raises. If anything unexpected happens, it will return a SynthesizerResponse with the exception. :param request: an instance of SynthesizerRequest :return: a SynthesizerResponse """ rospy.loginfo(request) try: kws = self._parse_request_or_raise(request) res = self._call_engine(**kws).result return SynthesizerResponse(res) except Exception as e: return SynthesizerResponse('Exception: {}'.format(e)) def start(self, node_name='synthesizer_node', service_name='synthesizer'): """The entry point of a ROS service node. :param node_name: name of ROS node :param service_name: name of ROS service :return: it doesn't return """ rospy.init_node(node_name) service = rospy.Service(service_name, Synthesizer, self._node_request_handler) rospy.loginfo('{} running: {}'.format(node_name, service.uri)) rospy.spin() if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 2, 15069, 357, 66, 8, 2864, 11, 6186, 13, 785, 11, 3457, 13, 393, 663, 29116, 13, 1439, 6923, 33876, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 11074, 198, 2, 921, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 317, 4866, 286, 262, 13789, 318, 5140, 379, 198, 2, 198, 2, 220, 2638, 1378, 8356, 13, 33103, 13, 785, 14, 43073, 17, 13, 15, 198, 2, 198, 2, 393, 287, 262, 366, 43085, 1, 2393, 19249, 428, 2393, 13, 770, 2393, 318, 9387, 198, 2, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 198, 2, 4911, 393, 17142, 13, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 198, 2, 21627, 290, 11247, 739, 262, 13789, 13, 198, 198, 11748, 28686, 198, 11748, 640, 198, 11748, 33918, 198, 11748, 686, 2777, 88, 198, 11748, 12234, 8019, 198, 11748, 44161, 578, 18, 198, 11748, 640, 198, 6738, 2172, 29572, 1330, 16018, 46677, 198, 6738, 256, 912, 13, 27891, 85, 1330, 26375, 956, 7509, 11, 26375, 956, 7509, 31077, 198, 6738, 256, 912, 13, 27891, 85, 1330, 36898, 31077, 198, 6738, 256, 912, 13, 9945, 1330, 20137, 628, 198, 4871, 24709, 13940, 429, 956, 7509, 25, 198, 220, 220, 220, 37227, 1212, 1398, 9179, 355, 257, 48263, 2139, 10139, 326, 815, 307, 281, 5726, 966, 286, 257, 309, 4694, 4876, 13, 628, 220, 220, 220, 4900, 262, 1459, 7822, 3544, 6186, 36898, 355, 262, 21263, 3113, 11, 340, 318, 407, 1327, 284, 1309, 340, 1104, 198, 220, 220, 220, 517, 14445, 32269, 11874, 981, 5291, 262, 7824, 262, 976, 13, 628, 220, 220, 220, 554, 1502, 284, 1104, 257, 4996, 286, 11874, 11, 262, 26375, 956, 7509, 18453, 373, 3562, 351, 13688, 287, 2000, 13, 632, 198, 220, 220, 220, 468, 734, 7032, 25, 2420, 290, 20150, 13, 5747, 389, 13042, 13, 554, 749, 2663, 11, 257, 2836, 460, 8856, 262, 20150, 290, 869, 198, 220, 220, 220, 262, 2139, 351, 617, 8631, 2420, 13, 1002, 262, 779, 1339, 2476, 597, 1630, 393, 3113, 12, 11423, 3895, 11, 262, 3131, 198, 220, 220, 220, 1321, 460, 307, 1234, 656, 262, 19449, 12, 687, 20150, 13, 770, 1398, 481, 779, 262, 1321, 618, 4585, 262, 3113, 13, 628, 220, 220, 220, 383, 875, 280, 11347, 286, 262, 24983, 7509, 290, 262, 4036, 21263, 3113, 481, 4414, 262, 2985, 287, 867, 2842, 13, 628, 220, 220, 220, 3274, 11, 257, 2836, 481, 307, 1498, 284, 779, 257, 22706, 7071, 284, 466, 262, 309, 4694, 1693, 290, 423, 262, 4925, 284, 779, 1180, 198, 220, 220, 220, 11874, 1695, 351, 645, 393, 845, 1310, 1487, 422, 262, 5456, 1735, 13, 628, 220, 220, 220, 5498, 11, 416, 11524, 617, 1486, 7572, 11, 262, 24983, 7509, 460, 3853, 281, 3113, 32366, 13, 1114, 1672, 11, 257, 2836, 198, 220, 220, 220, 743, 4702, 284, 779, 6186, 36898, 475, 318, 635, 7477, 351, 281, 18043, 4610, 618, 3127, 318, 407, 9314, 13, 628, 220, 220, 220, 10467, 11, 11874, 460, 307, 8253, 11, 4145, 2408, 284, 779, 13, 1081, 281, 1672, 11, 6186, 36898, 6971, 9264, 286, 10007, 198, 220, 220, 220, 290, 318, 1498, 284, 9989, 45930, 15104, 498, 21263, 3946, 11, 475, 3741, 286, 262, 2985, 1239, 761, 883, 3033, 13, 770, 198, 220, 220, 220, 1398, 3769, 257, 3424, 7071, 351, 734, 10007, 691, 11, 523, 326, 340, 318, 881, 4577, 290, 15497, 284, 779, 13, 1002, 416, 198, 220, 220, 220, 597, 2863, 262, 6190, 3033, 389, 2672, 11, 262, 2836, 460, 1464, 16094, 262, 20150, 2214, 393, 772, 467, 284, 262, 198, 220, 220, 220, 30203, 3113, 3264, 13, 628, 220, 220, 220, 4418, 11, 422, 281, 8705, 6650, 11, 2829, 290, 875, 280, 10137, 13103, 389, 4577, 284, 5529, 13, 628, 220, 220, 220, 770, 1398, 6971, 734, 12881, 286, 1262, 3278, 88, 13, 632, 460, 2035, 869, 257, 2139, 10139, 393, 779, 6186, 47, 5098, 355, 257, 5888, 13, 628, 220, 220, 220, 7253, 262, 2139, 10139, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 720, 686, 82, 5143, 256, 912, 24983, 7509, 62, 17440, 13, 9078, 220, 1303, 779, 4277, 8398, 198, 220, 220, 220, 220, 220, 220, 220, 720, 686, 82, 5143, 256, 912, 24983, 7509, 62, 17440, 13, 9078, 532, 68, 19922, 3069, 56, 62, 40347, 49, 13153, 220, 1303, 481, 407, 869, 3278, 88, 2139, 10139, 628, 220, 220, 220, 4889, 262, 2139, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 720, 686, 824, 712, 501, 869, 1220, 1837, 429, 956, 7509, 705, 31373, 6, 10148, 198, 220, 220, 220, 220, 220, 220, 220, 720, 686, 824, 712, 501, 869, 1220, 1837, 429, 956, 7509, 705, 27, 47350, 29, 31373, 3556, 47350, 29, 6, 705, 1, 90, 7879, 5239, 62, 4906, 30478, 7879, 824, 4029, 7879, 92, 30543, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1398, 360, 13513, 13798, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 32, 31548, 3113, 543, 7160, 284, 15570, 4856, 13, 1680, 2035, 198, 220, 220, 220, 220, 220, 220, 220, 307, 900, 284, 719, 355, 611, 340, 318, 5884, 393, 28597, 13, 2561, 2251, 3696, 810, 198, 220, 220, 220, 220, 220, 220, 220, 484, 389, 2938, 11, 475, 484, 481, 407, 307, 4036, 6597, 3696, 526, 15931, 628, 220, 220, 220, 220, 220, 220, 220, 825, 11593, 13345, 834, 7, 944, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 1996, 257, 2393, 379, 262, 7368, 4067, 290, 1441, 14309, 540, 31548, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3815, 13, 1002, 407, 5884, 11, 23816, 287, 262, 35528, 7032, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 5558, 25, 22155, 351, 7032, 25, 5072, 62, 18982, 11, 3809, 62, 312, 11, 6291, 62, 4873, 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, 2420, 62, 4906, 11, 2420, 11, 5072, 62, 6978, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 317, 33918, 2196, 286, 257, 4731, 351, 7032, 25, 13491, 9220, 11, 13491, 5994, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35528, 357, 361, 612, 318, 281, 6631, 828, 34912, 1891, 357, 361, 612, 318, 281, 6631, 828, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 611, 17458, 274, 913, 6186, 36898, 18261, 3395, 14706, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 15236, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 46265, 22046, 17816, 22915, 62, 6978, 6, 4357, 705, 39346, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 418, 13, 333, 3749, 7, 944, 13, 7753, 62, 7857, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 18982, 796, 479, 86, 22046, 17816, 26410, 26227, 20520, 611, 705, 26410, 26227, 6, 287, 479, 86, 22046, 2073, 705, 10332, 62, 20867, 41907, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1217, 796, 33918, 13, 67, 8142, 15090, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 9220, 10354, 479, 86, 22046, 17816, 22915, 62, 6978, 6, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 5994, 10354, 5072, 62, 18982, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 24888, 36898, 18261, 3395, 14706, 10354, 1391, 6, 11246, 13639, 10354, 705, 11246, 1366, 6, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32092, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 26375, 956, 7509, 31077, 7, 4363, 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, 1459, 62, 15908, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 62, 10332, 62, 34345, 796, 705, 1102, 1008, 1472, 13, 10332, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 62, 36604, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 9220, 10354, 28686, 13, 6978, 13, 22179, 7, 14421, 62, 15908, 11, 705, 40720, 10677, 14, 83, 912, 14, 7890, 3256, 4049, 62, 10332, 62, 34345, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 5994, 10354, 705, 10332, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 16922, 10354, 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, 705, 67, 13513, 1182, 10354, 705, 67, 13513, 1188, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 6030, 10354, 965, 7, 41194, 62, 4906, 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, 1303, 705, 26796, 10354, 2859, 62, 4906, 13, 834, 21412, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 5376, 10354, 2859, 62, 4906, 13, 834, 3672, 834, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 11395, 10354, 965, 7, 68, 828, 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, 705, 2898, 558, 1891, 10354, 705, 11246, 12854, 1891, 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, 220, 220, 220, 220, 1441, 26375, 956, 7509, 31077, 7, 17752, 13, 67, 8142, 7, 18224, 62, 36604, 4008, 628, 198, 220, 220, 220, 220, 220, 220, 220, 825, 900, 62, 38659, 7, 944, 11, 5884, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 2617, 262, 4637, 1181, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5884, 25, 25131, 11, 1771, 284, 719, 5884, 393, 407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 15236, 796, 5884, 628, 220, 220, 220, 220, 220, 220, 220, 825, 900, 62, 7753, 62, 82, 4340, 7, 944, 11, 2546, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7248, 262, 2496, 2393, 2546, 329, 2003, 3696, 287, 9881, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2546, 25, 262, 1271, 286, 9881, 284, 787, 262, 1306, 3696, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 7753, 62, 7857, 796, 2546, 628, 220, 220, 220, 36924, 1268, 1546, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16402, 3069, 56, 62, 35009, 27389, 10354, 36898, 30754, 19667, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 16402, 3069, 56, 62, 40347, 49, 13153, 10354, 36898, 13470, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35, 5883, 26708, 10354, 360, 13513, 13798, 11, 198, 220, 220, 220, 1782, 628, 220, 220, 220, 1303, 51, 3727, 46, 25, 15651, 428, 3509, 62, 23870, 62, 33661, 1988, 284, 262, 686, 6649, 11429, 1080, 357, 22850, 318, 686, 82, 17143, 407, 973, 287, 428, 2393, 10091, 628, 220, 220, 220, 825, 4808, 13345, 62, 18392, 7, 944, 11, 12429, 46265, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 14134, 3113, 284, 466, 262, 1693, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1002, 645, 5072, 3108, 318, 1043, 422, 5128, 11, 262, 6597, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 481, 307, 1234, 656, 1220, 22065, 290, 262, 2393, 1438, 481, 423, 198, 220, 220, 220, 220, 220, 220, 220, 257, 21231, 286, 262, 45243, 20, 12234, 286, 262, 2420, 13, 1002, 257, 29472, 318, 198, 220, 220, 220, 220, 220, 220, 220, 407, 1813, 11, 262, 10517, 590, 318, 2087, 284, 262, 12940, 13, 1002, 257, 198, 220, 220, 220, 220, 220, 220, 220, 29472, 318, 7368, 11, 788, 356, 481, 7048, 326, 262, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 318, 852, 5257, 416, 262, 2836, 290, 340, 481, 407, 198, 220, 220, 220, 220, 220, 220, 220, 307, 2087, 284, 262, 12940, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 479, 86, 25, 644, 6186, 47, 5098, 2476, 284, 24983, 1096, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 2882, 422, 6186, 47, 5098, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 22915, 62, 6978, 6, 407, 287, 479, 86, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 34345, 796, 12234, 8019, 13, 9132, 20, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33918, 13, 67, 8142, 7, 46265, 11, 3297, 62, 13083, 28, 17821, 29720, 33095, 12894, 395, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45218, 62, 7753, 6978, 796, 28686, 13, 6978, 13, 22179, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 325, 79, 11, 705, 22065, 3256, 705, 38888, 23330, 92, 4458, 18982, 7, 22065, 62, 34345, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 86, 17816, 22915, 62, 6978, 20520, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 22065, 62, 7753, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 805, 3039, 2393, 351, 1438, 25, 23884, 4458, 18982, 7, 22065, 62, 34345, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 780, 262, 12234, 481, 2291, 1321, 546, 597, 2393, 7464, 7747, 11, 356, 691, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 761, 284, 804, 379, 262, 12234, 2346, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20613, 796, 20137, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20613, 62, 12947, 62, 20274, 796, 20613, 13, 1069, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 46506, 2393, 11, 6597, 62, 4906, 16034, 12940, 33411, 12234, 28, 30, 3256, 45218, 62, 34345, 737, 69, 7569, 505, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1459, 62, 2435, 796, 640, 13, 2435, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 9275, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 20613, 62, 12947, 62, 20274, 25, 220, 1303, 788, 612, 318, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2198, 611, 262, 2393, 7160, 11, 611, 407, 11, 4781, 422, 20613, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 751, 257, 1332, 326, 28128, 274, 257, 2393, 1231, 5149, 262, 20613, 290, 8404, 284, 24983, 1096, 340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 28686, 13, 6978, 13, 1069, 1023, 7, 9945, 62, 12947, 62, 20274, 17816, 7753, 20520, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 9275, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20613, 13, 1069, 10786, 19119, 220, 12940, 900, 938, 62, 15526, 276, 28, 30, 810, 12234, 28, 30, 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, 1459, 62, 2435, 11, 45218, 62, 34345, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33549, 62, 20274, 796, 36898, 31077, 7, 17752, 13, 67, 8142, 15090, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 9220, 10354, 20613, 62, 12947, 62, 20274, 17816, 7753, 6, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 21206, 5994, 10354, 20613, 62, 12947, 62, 20274, 17816, 24051, 62, 4906, 6, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 24888, 36898, 18261, 3395, 14706, 10354, 10148, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1782, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 24051, 2393, 373, 1541, 39986, 379, 25, 4064, 82, 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, 20613, 62, 12947, 62, 20274, 17816, 7753, 6, 12962, 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, 686, 2777, 88, 13, 6404, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 32, 2393, 287, 262, 6831, 750, 407, 2152, 319, 262, 11898, 11, 10829, 422, 20613, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20613, 13, 28956, 62, 7753, 7, 9945, 62, 12947, 62, 20274, 17816, 7753, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2393, 62, 9275, 25, 220, 1303, 387, 1151, 39986, 428, 1865, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 34, 8103, 2393, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33549, 62, 20274, 796, 2116, 13, 18392, 7, 1174, 46265, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 62, 11600, 796, 33918, 13, 46030, 7, 28869, 400, 62, 20274, 13, 20274, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 705, 16922, 6, 407, 287, 581, 62, 11600, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 3672, 796, 581, 62, 11600, 17816, 21206, 9220, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2393, 62, 3672, 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, 2393, 62, 7857, 796, 28686, 13, 6978, 13, 11407, 1096, 7, 7753, 62, 3672, 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, 20613, 13, 1069, 7, 7061, 6, 28463, 656, 12940, 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, 12234, 11, 2393, 11, 6597, 62, 4906, 11, 938, 62, 15526, 276, 11, 7857, 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, 3815, 32843, 21747, 21747, 21747, 10091, 7061, 3256, 45218, 62, 34345, 11, 2393, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 62, 11600, 17816, 21206, 5994, 6, 4357, 1459, 62, 2435, 11, 2393, 62, 7857, 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, 686, 2777, 88, 13, 6404, 10951, 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, 705, 27568, 649, 2393, 11, 7448, 284, 4064, 82, 290, 39986, 3256, 2393, 62, 3672, 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, 1303, 787, 1654, 262, 12940, 5818, 470, 7334, 1165, 1263, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 20613, 13, 1136, 62, 7857, 3419, 1875, 2116, 13, 9806, 62, 23870, 62, 33661, 290, 20613, 13, 1136, 62, 22510, 62, 16624, 3419, 1875, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4781, 62, 411, 796, 20613, 13, 1069, 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, 705, 19738, 2393, 11, 949, 7, 12957, 62, 15526, 276, 828, 2546, 422, 12940, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6739, 69, 7569, 505, 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, 220, 220, 220, 220, 20613, 13, 28956, 62, 7753, 7, 28956, 62, 411, 17816, 7753, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 2787, 5165, 4064, 82, 284, 5529, 12940, 2546, 11, 649, 2546, 25, 4064, 72, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4781, 62, 411, 17816, 7753, 6, 4357, 20613, 13, 1136, 62, 7857, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33549, 62, 20274, 796, 2116, 13, 18392, 7, 1174, 46265, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 33549, 62, 20274, 628, 220, 220, 220, 825, 4808, 29572, 62, 25927, 62, 273, 62, 40225, 7, 944, 11, 2581, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 1026, 481, 5298, 611, 2581, 318, 6428, 12214, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2581, 25, 281, 4554, 286, 26375, 956, 7509, 18453, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 257, 8633, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 45243, 796, 33918, 13, 46030, 7, 25927, 13, 38993, 8, 611, 2581, 13, 38993, 2073, 23884, 628, 220, 220, 220, 220, 220, 220, 220, 45243, 17816, 22915, 62, 18982, 20520, 796, 45243, 13, 1136, 10786, 22915, 62, 18982, 3256, 2116, 13, 12286, 62, 22915, 62, 18982, 8, 198, 220, 220, 220, 220, 220, 220, 220, 45243, 17816, 38888, 62, 312, 20520, 796, 45243, 13, 1136, 10786, 38888, 62, 312, 3256, 2116, 13, 12286, 62, 38888, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 45243, 17816, 39873, 62, 4873, 20520, 796, 45243, 13, 1136, 10786, 39873, 62, 4873, 3256, 705, 1433, 830, 6, 611, 45243, 17816, 22915, 62, 18982, 6, 4083, 21037, 3419, 6624, 705, 79, 11215, 6, 2073, 705, 17572, 1120, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 45243, 17816, 5239, 62, 4906, 20520, 796, 45243, 13, 1136, 10786, 5239, 62, 4906, 3256, 2116, 13, 12286, 62, 5239, 62, 4906, 8, 198, 220, 220, 220, 220, 220, 220, 220, 45243, 17816, 5239, 20520, 796, 2581, 13, 5239, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 45243, 628, 220, 220, 220, 825, 4808, 17440, 62, 25927, 62, 30281, 7, 944, 11, 2581, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 464, 23838, 2163, 329, 7587, 2139, 2581, 13, 628, 220, 220, 220, 220, 220, 220, 220, 632, 1239, 12073, 13, 1002, 1997, 10059, 4325, 11, 340, 481, 1441, 257, 26375, 956, 7509, 31077, 351, 262, 6631, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2581, 25, 281, 4554, 286, 26375, 956, 7509, 18453, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 257, 26375, 956, 7509, 31077, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 25927, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 18504, 796, 2116, 13557, 29572, 62, 25927, 62, 273, 62, 40225, 7, 25927, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 796, 2116, 13557, 13345, 62, 18392, 7, 1174, 74, 18504, 737, 20274, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 26375, 956, 7509, 31077, 7, 411, 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, 1441, 26375, 956, 7509, 31077, 10786, 16922, 25, 23884, 4458, 18982, 7, 68, 4008, 628, 220, 220, 220, 825, 923, 7, 944, 11, 10139, 62, 3672, 11639, 1837, 429, 956, 7509, 62, 17440, 3256, 2139, 62, 3672, 11639, 1837, 429, 956, 7509, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 464, 5726, 966, 286, 257, 48263, 2139, 10139, 13, 628, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 10139, 62, 3672, 25, 1438, 286, 48263, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2139, 62, 3672, 25, 220, 1438, 286, 48263, 2139, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 340, 1595, 470, 1441, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 15003, 62, 17440, 7, 17440, 62, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2139, 796, 686, 2777, 88, 13, 16177, 7, 15271, 62, 3672, 11, 26375, 956, 7509, 11, 2116, 13557, 17440, 62, 25927, 62, 30281, 8, 628, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 90, 92, 2491, 25, 23884, 4458, 18982, 7, 17440, 62, 3672, 11, 2139, 13, 9900, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 39706, 3419, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
2.335256
5,029
# -*- coding: utf-8 -*- """ Writable String Object | Stores data to simplify writing outputs. Created on Sat Nov 28 19:06:09 2020 Version 1.3.0 (debug support) A-05-2021 @ 14:34 UTC -5 Requires: NONE @author: Kinetos#6935 """ import argparse class wso(object): """ A class to to simplify writing outputs when printing. Attributes ---------- template : str Template used to format the printing string. outfile : str Path to the text file used for writing. writeable : bool Whether the write methods should write to a file when called. string : str Current formatted string to write or print. Methods ------- fm(*args): Format the template string using *args. Stores result in self.string. wp(): Write to file and print the currently stored string. p(): Print the currently stored string. w(): Write the currently stored string to the outfile. clean(): Open the outfile with 'w' setting to clear any existing contents. """ def set_template(self, template): """ Setter for template. Parameters ---------- template : str Template used to format the printing string. Returns ------- None. """ self.template = template def set_outfile(self, filepath): """ Setter for outfile. Parameters ---------- filepath : str New path to text file to use for writing. Returns ------- None. """ self.outfile = filepath def set_writeable(self, writeable): """ Setter for writeable. Parameters ---------- writeable : bool Whether the write methods should write to a file when called. Returns ------- None. """ self.writeable = bool(writeable) def set_string(self, string): """ Setter for string. Parameters ---------- string : str New formatted string to write or print. Returns ------- None. """ self.string = string def get_template(self): """ Getter for template. Returns ------- template : str Template used to format the printing string. """ return self.template def get_outfile(self): """ Getter for outfile. Returns ------- outfile : str Path to the text file used for writing. """ return self.outfile def get_string(self): """ Getter for string. Returns ------- string : str Current formatted string to write or print. """ return self.string def fm(self, *args): """ Format the template string using *args. Stores result in self.string. Parameters ---------- *args : object Values given as inputs for str.format(). Returns ------- None. """ self.string = self.template.format(*args) def wp(self): """ Write to file and print the currently stored string. Returns ------- None. """ if self.writeable: with open(self.outfile, 'a') as f: f.write(self.string + '\n') print(self.string) def p(self): """ Print the currently stored string. Returns ------- None. """ print(self.string) def w(self): """ Write the currently stored string to the outfile. Returns ------- None. """ if self.writeable: with open(self.outfile, 'a') as f: f.write(self.string) def clean(self): """ Open the outfile with 'w' setting to clear any existing contents. Returns ------- None. """ if self.writeable: open(self.outfile, 'w').close() def fmwp(self, *args): """ Perform fm() followed by wp(). Parameters ---------- *args : object Values given as inputs for str.format(). Returns ------- None. """ self.fm(*args) self.wp() def dbwp(self, *args): """ If debug mode is enabled, perform fm() followed by wp(). Parameters ---------- *args : object Values given as inputs for str.format(). Returns ------- None. """ if self.debug: self.fm(*args) self.wp() def generate_outfile_parser(description): """ Reusable -o and -O arguments. Parameters ---------- description : str Description for the argument parser, usually __doc__ or some variant. Returns ------- p : argparse.ArgumentParser Created ArgumentParser object with -o, -O, and the given description. """ p = argparse.ArgumentParser(description) p.add_argument("-o", "--outfile", dest="o", action="store_true", help="output printed results to default file: out.txt") p.add_argument("-O", dest="oname", metavar="NAME", help="output printed results to text file w/ custom path") return p def implement_outfile_parser(args): """ Implement -o and -O arguments added by generate_outfile_parser. Parameters ---------- args : argparse args object Results of parse_args() when called on an Argument Parser object. Returns ------- outfile : str, None None if neither args.oname nor args.o was set, do not output to file. Notes ----- Use for docstring in methods that accept outfile as an argument: outfile : str, None Path to output text file. Disables writing to file if set to None. """ outfile = None if args.oname is not None: outfile = args.oname.strip() if not outfile.endswith(".txt"): outfile += ".txt" elif args.o: outfile = "out.txt" return outfile
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 20257, 540, 10903, 9515, 930, 41835, 1366, 284, 30276, 3597, 23862, 13, 198, 41972, 319, 7031, 5267, 2579, 678, 25, 3312, 25, 2931, 12131, 198, 198, 14815, 352, 13, 18, 13, 15, 357, 24442, 1104, 8, 317, 12, 2713, 12, 1238, 2481, 2488, 1478, 25, 2682, 18119, 532, 20, 198, 39618, 25, 399, 11651, 198, 198, 31, 9800, 25, 16645, 316, 418, 2, 3388, 2327, 198, 37811, 198, 11748, 1822, 29572, 628, 198, 4871, 266, 568, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 1398, 284, 284, 30276, 3597, 23862, 618, 13570, 13, 628, 220, 220, 220, 49213, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 11055, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 37350, 973, 284, 5794, 262, 13570, 4731, 13, 198, 220, 220, 220, 503, 7753, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 262, 2420, 2393, 973, 329, 3597, 13, 198, 220, 220, 220, 3551, 540, 1058, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 10127, 262, 3551, 5050, 815, 3551, 284, 257, 2393, 618, 1444, 13, 198, 220, 220, 220, 4731, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 9236, 39559, 4731, 284, 3551, 393, 3601, 13, 628, 220, 220, 220, 25458, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 277, 76, 46491, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 18980, 262, 11055, 4731, 1262, 1635, 22046, 13, 41835, 1255, 287, 2116, 13, 8841, 13, 198, 220, 220, 220, 266, 79, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 284, 2393, 290, 3601, 262, 3058, 8574, 4731, 13, 198, 220, 220, 220, 279, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 12578, 262, 3058, 8574, 4731, 13, 198, 220, 220, 220, 266, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 262, 3058, 8574, 4731, 284, 262, 503, 7753, 13, 198, 220, 220, 220, 3424, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 4946, 262, 503, 7753, 351, 705, 86, 6, 4634, 284, 1598, 597, 4683, 10154, 13, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 900, 62, 28243, 7, 944, 11, 11055, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 353, 329, 11055, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 11055, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37350, 973, 284, 5794, 262, 13570, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 28243, 796, 11055, 628, 220, 220, 220, 825, 900, 62, 448, 7753, 7, 944, 11, 2393, 6978, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 353, 329, 503, 7753, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 6978, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 968, 3108, 284, 2420, 2393, 284, 779, 329, 3597, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 448, 7753, 796, 2393, 6978, 628, 220, 220, 220, 825, 900, 62, 13564, 540, 7, 944, 11, 3551, 540, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 353, 329, 3551, 540, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 3551, 540, 1058, 20512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 262, 3551, 5050, 815, 3551, 284, 257, 2393, 618, 1444, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13564, 540, 796, 20512, 7, 13564, 540, 8, 628, 220, 220, 220, 825, 900, 62, 8841, 7, 944, 11, 4731, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5345, 353, 329, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 4731, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 968, 39559, 4731, 284, 3551, 393, 3601, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8841, 796, 4731, 628, 220, 220, 220, 825, 651, 62, 28243, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 353, 329, 11055, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 11055, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37350, 973, 284, 5794, 262, 13570, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 28243, 628, 220, 220, 220, 825, 651, 62, 448, 7753, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 353, 329, 503, 7753, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 262, 2420, 2393, 973, 329, 3597, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 448, 7753, 628, 220, 220, 220, 825, 651, 62, 8841, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 353, 329, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 4731, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9236, 39559, 4731, 284, 3551, 393, 3601, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 8841, 628, 220, 220, 220, 825, 277, 76, 7, 944, 11, 1635, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 18980, 262, 11055, 4731, 1262, 1635, 22046, 13, 41835, 1255, 287, 2116, 13, 8841, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 22046, 1058, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27068, 1813, 355, 17311, 329, 965, 13, 18982, 22446, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 8841, 796, 2116, 13, 28243, 13, 18982, 46491, 22046, 8, 628, 220, 220, 220, 825, 266, 79, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 284, 2393, 290, 3601, 262, 3058, 8574, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 13564, 540, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 944, 13, 448, 7753, 11, 705, 64, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 944, 13, 8841, 1343, 705, 59, 77, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 944, 13, 8841, 8, 628, 220, 220, 220, 825, 279, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 12578, 262, 3058, 8574, 4731, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 944, 13, 8841, 8, 628, 220, 220, 220, 825, 266, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 19430, 262, 3058, 8574, 4731, 284, 262, 503, 7753, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 13564, 540, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 7, 944, 13, 448, 7753, 11, 705, 64, 11537, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 944, 13, 8841, 8, 628, 220, 220, 220, 825, 3424, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 4946, 262, 503, 7753, 351, 705, 86, 6, 4634, 284, 1598, 597, 4683, 10154, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 13564, 540, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1280, 7, 944, 13, 448, 7753, 11, 705, 86, 27691, 19836, 3419, 628, 220, 220, 220, 825, 277, 76, 24142, 7, 944, 11, 1635, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 35006, 277, 76, 3419, 3940, 416, 266, 79, 22446, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 22046, 1058, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27068, 1813, 355, 17311, 329, 965, 13, 18982, 22446, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 38353, 46491, 22046, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 24142, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 20613, 24142, 7, 944, 11, 1635, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1002, 14257, 4235, 318, 9343, 11, 1620, 277, 76, 3419, 3940, 416, 266, 79, 22446, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 1635, 22046, 1058, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27068, 1813, 355, 17311, 329, 965, 13, 18982, 22446, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 24442, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 38353, 46491, 22046, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 24142, 3419, 628, 198, 4299, 7716, 62, 448, 7753, 62, 48610, 7, 11213, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 797, 31979, 532, 78, 290, 532, 46, 7159, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 6764, 1058, 965, 198, 220, 220, 220, 220, 220, 220, 220, 12489, 329, 262, 4578, 30751, 11, 3221, 11593, 15390, 834, 393, 617, 15304, 13, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 279, 1058, 1822, 29572, 13, 28100, 1713, 46677, 198, 220, 220, 220, 220, 220, 220, 220, 15622, 45751, 46677, 2134, 351, 532, 78, 11, 532, 46, 11, 290, 262, 1813, 6764, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 279, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 8, 198, 220, 220, 220, 279, 13, 2860, 62, 49140, 7203, 12, 78, 1600, 366, 438, 448, 7753, 1600, 2244, 2625, 78, 1600, 2223, 2625, 8095, 62, 7942, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 22915, 10398, 2482, 284, 4277, 2393, 25, 503, 13, 14116, 4943, 198, 220, 220, 220, 279, 13, 2860, 62, 49140, 7203, 12, 46, 1600, 2244, 2625, 261, 480, 1600, 1138, 615, 283, 2625, 20608, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 22915, 10398, 2482, 284, 2420, 2393, 266, 14, 2183, 3108, 4943, 198, 220, 220, 220, 1441, 279, 628, 198, 4299, 3494, 62, 448, 7753, 62, 48610, 7, 22046, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 48282, 532, 78, 290, 532, 46, 7159, 2087, 416, 7716, 62, 448, 7753, 62, 48610, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 26498, 1058, 1822, 29572, 26498, 2134, 198, 220, 220, 220, 220, 220, 220, 220, 15691, 286, 21136, 62, 22046, 3419, 618, 1444, 319, 281, 45751, 23042, 263, 2134, 13, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 503, 7753, 1058, 965, 11, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 611, 6159, 26498, 13, 261, 480, 4249, 26498, 13, 78, 373, 900, 11, 466, 407, 5072, 284, 2393, 13, 628, 220, 220, 220, 11822, 198, 220, 220, 220, 37404, 198, 220, 220, 220, 5765, 329, 2205, 8841, 287, 5050, 326, 2453, 503, 7753, 355, 281, 4578, 25, 198, 220, 220, 220, 503, 7753, 1058, 965, 11, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 5072, 2420, 2393, 13, 3167, 2977, 3597, 284, 2393, 611, 900, 284, 6045, 13, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 503, 7753, 796, 6045, 198, 220, 220, 220, 611, 26498, 13, 261, 480, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 796, 26498, 13, 261, 480, 13, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 503, 7753, 13, 437, 2032, 342, 7, 1911, 14116, 1, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 15853, 27071, 14116, 1, 198, 220, 220, 220, 1288, 361, 26498, 13, 78, 25, 198, 220, 220, 220, 220, 220, 220, 220, 503, 7753, 796, 366, 448, 13, 14116, 1, 198, 220, 220, 220, 1441, 503, 7753, 628 ]
2.26374
2,802
from app.schema.answer import Answer from app.schema.exceptions import TypeCheckingException from app.schema.widgets.month_year_date_widget import MonthYearDateWidget from app.validation.month_year_date_type_check import MonthYearDateTypeCheck
[ 6738, 598, 13, 15952, 2611, 13, 41484, 1330, 23998, 198, 6738, 598, 13, 15952, 2611, 13, 1069, 11755, 1330, 5994, 9787, 278, 16922, 198, 6738, 598, 13, 15952, 2611, 13, 28029, 11407, 13, 8424, 62, 1941, 62, 4475, 62, 42655, 1330, 16061, 17688, 10430, 38300, 198, 6738, 598, 13, 12102, 341, 13, 8424, 62, 1941, 62, 4475, 62, 4906, 62, 9122, 1330, 16061, 17688, 10430, 6030, 9787, 628 ]
3.602941
68
from flask import Flask, render_template, url_for, flash, redirect app = Flask(__name__) @app.route('/') @app.route('/next') @app.route('/upcoming') @app.route('/rockets') @app.route('/rockets/<rocket>') if __name__ == "__main__": app.run(debug=True, host='0.0.0.0')
[ 6738, 42903, 1330, 46947, 11, 8543, 62, 28243, 11, 19016, 62, 1640, 11, 7644, 11, 18941, 201, 198, 201, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 201, 198, 201, 198, 31, 1324, 13, 38629, 10786, 14, 11537, 201, 198, 201, 198, 31, 1324, 13, 38629, 10786, 14, 19545, 11537, 201, 198, 201, 198, 31, 1324, 13, 38629, 10786, 14, 929, 4976, 11537, 201, 198, 201, 198, 31, 1324, 13, 38629, 10786, 14, 10823, 1039, 11537, 201, 198, 201, 198, 31, 1324, 13, 38629, 10786, 14, 10823, 1039, 14, 27, 30431, 29, 11537, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 201, 198, 220, 220, 220, 598, 13, 5143, 7, 24442, 28, 17821, 11, 2583, 11639, 15, 13, 15, 13, 15, 13, 15, 11537, 201, 198 ]
2.210526
133
from testing_collection import visualisation_tests as visu_tests from Classes.CurrentDocument import CurrentDoc def run_tests(curr_doc: CurrentDoc): """ 1.) write test case and add it to file test_cases.py 2.) Call it in this function (run_tests() will be called in 'System_of_Beams\main.py' 3.) make sure, the variable 'run_tests' in the file main.py is set to true 4.) Only the latest run test can be plotted (no opportunities up to now to run one after another) 5.) Results will be visualized at the bokeh server """ """ VISUALISATION TESTS """ # print("Single beam lineload test") # visu_tests.single_beam_lineload_visu(curr_doc) # print("Final Software lab structure") # visu_tests.final_structure_software_lab(curr_doc) print('Test example Quirin') #19.11 visu_tests.example_unterlagen_visu(curr_doc) # print("Visualise all possible nodedep elements") # visu_tests.vis_all_possible_nodedep_ele(curr_doc) """ CALCULATION TESTS """ # print("Single beam lineload test") #24.11 # test_cases.single_beam_lineload_test(curr_doc) # print('normal line load') #24.11 # test_cases.single_beam_normal_lineload_test(curr_doc) # print("Single beam clamping test") #24.11 # test_cases.single_clamping_left_side(curr_doc) # print("Two beam lineload test") #17.11 # test_cases.two_beam_lineload_test(curr_doc) # print("Two beam lineload overdefined test") #17.11 # test_cases.single_beam_lineload_test_overdefined(curr_doc) # print("Single beam lineload test underdefined") #24.11 # test_cases.single_beam_lineload_test_underdefined(curr_doc) # print('Big beam out of free elements') #17.11 # test_cases.two_beam_combined_to_one_complete_lineload_test(curr_doc) # print('Big beam out of free elements 2 l') #17.11 # test_cases.two_beam_combined_to_one_complete_lineload_test_2l(curr_doc) # print('Single load in the middle') #17.11 # test_cases.two_beam_combined_to_one_single_load_middle(curr_doc) # print('Seperated elements') #17.11 # test_cases.single_beam_lineload_test_seperated_elements(curr_doc) # print('Joint test) #18.11 # test_cases.two_beam_combined_to_one_single_load_middle_joint(curr_doc) # # print('Clamping with single load test') #17.11 # test_cases.single_clamping_left_side_single_load(curr_doc) # print('TM example') #17.11 # test_cases.example_from_sheet_2_4(curr_doc) # print('Trapezlast') #17.11 # test_cases.single_beam_trapezload_test(curr_doc) # print('Temperature test') #17.11 # test_cases.single_beam_temperature_test(curr_doc) # print('Triangle test') #17.11 # test_cases.two_beam_triangle_load_middle(curr_doc) # print('Temperature clamping') #18.11 # test_cases.single_clamping_left_side_temperature(curr_doc) # print('ss13') #17.11 # test_cases.example_ss13(curr_doc) # print('ss12') #17.11 # test_cases.example_ss12(curr_doc) # # print('ss12_vereinfacht') #17.11 # test_cases.example_ss12_vereinfacht(curr_doc) # print('ss11') #17.11 # test_cases.example_ss11(curr_doc) # print('ss14') #19.11 # test_cases.example_ss14(curr_doc) # print('schraeg') #17.11 # test_cases.single_beam_schraeg(curr_doc) # print('vertical') #17.11 # test_cases.single_beam_lineload_vertical_test(curr_doc) # print('vertical single load') #17.11 # test_cases.single_beam_single_load_vertical_test(curr_doc) # print('Test Ecke') #17.11 # test_cases.two_beam_corner_line_load(curr_doc) # print('triangle_not_symmetric') #17.11 # test_cases.two_beam_triangle_load_middle_not_symmetrical(curr_doc) # print('Test example Quirin') #19.11 # test_cases.example_unterlagen_test(curr_doc) # print('Test Quirin vereinfacht') #19.11 # test_cases.example_unterlagen_test_vereinfacht(curr_doc) # print('test cos') #18.11 # test_cases.single_beam_cos_test(curr_doc) # print('test multiple elements') #19.11 # test_cases.multiple_elements(curr_doc) # print('test case spring') #24.11 # test_cases.example_2_3_neu(curr_doc) # print('Test case ss 15') #24.11 # test_cases.example_ss15(curr_doc) # print('Test case ss 16') #24.11 # test_cases.example_SS_16(curr_doc) # test_cases.single_beam_lineload_test_infinity(curr_doc) # test_cases.final_structure_software_lab(curr_doc) # test_cases.final_structure_software_lab(curr_doc)
[ 6738, 4856, 62, 43681, 1330, 5874, 5612, 62, 41989, 355, 1490, 84, 62, 41989, 198, 6738, 38884, 13, 11297, 24941, 1330, 9236, 23579, 628, 198, 4299, 1057, 62, 41989, 7, 22019, 81, 62, 15390, 25, 9236, 23579, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 352, 2014, 3551, 1332, 1339, 290, 751, 340, 284, 2393, 1332, 62, 33964, 13, 9078, 198, 220, 220, 220, 362, 2014, 4889, 340, 287, 428, 2163, 357, 5143, 62, 41989, 3419, 481, 307, 1444, 287, 705, 11964, 62, 1659, 62, 3856, 4105, 59, 12417, 13, 9078, 6, 198, 220, 220, 220, 513, 2014, 787, 1654, 11, 262, 7885, 705, 5143, 62, 41989, 6, 287, 262, 2393, 1388, 13, 9078, 318, 900, 284, 2081, 198, 220, 220, 220, 604, 2014, 5514, 262, 3452, 1057, 1332, 460, 307, 37515, 357, 3919, 6443, 510, 284, 783, 284, 1057, 530, 706, 1194, 8, 198, 220, 220, 220, 642, 2014, 15691, 481, 307, 5874, 1143, 379, 262, 1489, 365, 71, 4382, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 50035, 25620, 1797, 6234, 309, 1546, 4694, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 3601, 7203, 28008, 15584, 9493, 417, 1170, 1332, 4943, 198, 220, 220, 220, 1303, 1490, 84, 62, 41989, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 4703, 84, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 19006, 10442, 2248, 4645, 4943, 198, 220, 220, 220, 1303, 1490, 84, 62, 41989, 13, 20311, 62, 301, 5620, 62, 43776, 62, 23912, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 3601, 10786, 14402, 1672, 2264, 47388, 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, 1303, 1129, 13, 1157, 198, 220, 220, 220, 1490, 84, 62, 41989, 13, 20688, 62, 403, 353, 75, 11286, 62, 4703, 84, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 36259, 786, 477, 1744, 299, 9043, 538, 4847, 4943, 198, 220, 220, 220, 1303, 1490, 84, 62, 41989, 13, 4703, 62, 439, 62, 79, 4733, 62, 77, 9043, 538, 62, 11129, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 33290, 34, 6239, 6234, 309, 1546, 4694, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 1303, 3601, 7203, 28008, 15584, 9493, 417, 1170, 1332, 4943, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 11265, 1627, 3440, 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, 220, 1303, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 11265, 62, 2815, 417, 1170, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 28008, 15584, 29405, 278, 1332, 4943, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 565, 37843, 62, 9464, 62, 1589, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 7571, 15584, 9493, 417, 1170, 1332, 4943, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 7571, 15584, 9493, 417, 1170, 625, 23211, 1332, 4943, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 62, 2502, 23211, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 7203, 28008, 15584, 9493, 417, 1170, 1332, 739, 23211, 4943, 220, 220, 220, 220, 220, 220, 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, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 62, 4625, 23211, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 12804, 15584, 503, 286, 1479, 4847, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 24011, 1389, 62, 1462, 62, 505, 62, 20751, 62, 2815, 417, 1170, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 12804, 15584, 503, 286, 1479, 4847, 362, 300, 11537, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 24011, 1389, 62, 1462, 62, 505, 62, 20751, 62, 2815, 417, 1170, 62, 9288, 62, 17, 75, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 28008, 3440, 287, 262, 3504, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 24011, 1389, 62, 1462, 62, 505, 62, 29762, 62, 2220, 62, 27171, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 4653, 525, 515, 4847, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 62, 325, 525, 515, 62, 68, 3639, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 41, 1563, 1332, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1507, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 24011, 1389, 62, 1462, 62, 505, 62, 29762, 62, 2220, 62, 27171, 62, 73, 1563, 7, 22019, 81, 62, 15390, 8, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 3601, 10786, 2601, 37843, 351, 2060, 3440, 1332, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 565, 37843, 62, 9464, 62, 1589, 62, 29762, 62, 2220, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 15972, 1672, 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, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 6738, 62, 21760, 62, 17, 62, 19, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 51, 13484, 89, 12957, 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, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 9535, 46057, 2220, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 42492, 1332, 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, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 11498, 21069, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14824, 9248, 1332, 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, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 28461, 9248, 62, 2220, 62, 27171, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 42492, 29405, 278, 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, 1303, 1507, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 565, 37843, 62, 9464, 62, 1589, 62, 11498, 21069, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 824, 1485, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1485, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 824, 1065, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1065, 7, 22019, 81, 62, 15390, 8, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 3601, 10786, 824, 1065, 62, 4119, 10745, 19725, 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, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1065, 62, 4119, 10745, 19725, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 824, 1157, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1157, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 824, 1415, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1129, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1415, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 20601, 430, 1533, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 20601, 430, 1533, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 1851, 605, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 1851, 605, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 1851, 605, 2060, 3440, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 29762, 62, 2220, 62, 1851, 605, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14402, 14003, 365, 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, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 10215, 1008, 62, 1370, 62, 2220, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 28461, 9248, 62, 1662, 62, 1837, 3020, 19482, 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, 1303, 1558, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 11545, 62, 40045, 62, 28461, 9248, 62, 2220, 62, 27171, 62, 1662, 62, 1837, 3020, 34546, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14402, 1672, 2264, 47388, 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, 1303, 1129, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 403, 353, 75, 11286, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14402, 2264, 47388, 1569, 260, 10745, 19725, 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, 1303, 1129, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 403, 353, 75, 11286, 62, 9288, 62, 4119, 10745, 19725, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 9288, 8615, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1507, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 6966, 62, 9288, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 9288, 3294, 4847, 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, 1303, 1129, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 48101, 62, 68, 3639, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 9288, 1339, 6076, 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, 220, 220, 1303, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 17, 62, 18, 62, 710, 84, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14402, 1339, 37786, 1315, 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, 220, 220, 1303, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 824, 1314, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 3601, 10786, 14402, 1339, 37786, 1467, 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, 220, 220, 1303, 1731, 13, 1157, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20688, 62, 5432, 62, 1433, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 1332, 62, 33964, 13, 29762, 62, 40045, 62, 2815, 417, 1170, 62, 9288, 62, 10745, 6269, 7, 22019, 81, 62, 15390, 8, 628, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20311, 62, 301, 5620, 62, 43776, 62, 23912, 7, 22019, 81, 62, 15390, 8, 198, 220, 220, 220, 1303, 1332, 62, 33964, 13, 20311, 62, 301, 5620, 62, 43776, 62, 23912, 7, 22019, 81, 62, 15390, 8, 628 ]
1.738555
3,626
import pygrib import numpy as np from collections import defaultdict from collections import namedtuple from collections import Iterable import xarray as xr def grb_msg_to_xr(message, has_levels=True): """ Convert a single grib message to xarray. :param message: :type message: pygrib message :param has_levels: If True, add a level coordinate. :rtype: xarray.DataArray """ lons = np.linspace(-float(message['longitudeOfFirstGridPointInDegrees']), float(message['longitudeOfLastGridPointInDegrees']), int(message['Ni'])) lats = np.linspace(float(message['latitudeOfFirstGridPointInDegrees']), float(message['latitudeOfLastGridPointInDegrees']), int(message['Nj'])) coords = { 'time': message.analDate, 'lat': lats, 'lon': lons, } if has_levels: coords['level'] = message.level # set up data variables values = message.values # values in lat, lon attrs = dict() attrs['units'] = message.units attrs['standard_name'] = message.cfName attrs['long_name'] = message.name attrs['parameter_id'] = message.paramId da = xr.DataArray(data=values, dims=('lat', 'lon'), coords=coords, name=message.name.lower().replace(' ', '_'), attrs=attrs) # Expand dimensions if 'level' in coords: da = da.expand_dims('level', 2) da = da.expand_dims('time', len(coords) - 1) # Attributes da['lat'].attrs['standard_name'] = 'latitude' da['lat'].attrs['long_name'] = 'Latitude' da['lat'].attrs['units'] = 'degrees_north' da['lat'].attrs['axis'] = 'Y' da['lon'].attrs['standard_name'] = 'longitude' da['lon'].attrs['long_name'] = 'Longitude' da['lon'].attrs['units'] = 'degrees_east' da['lon'].attrs['axis'] = 'X' da['time'].attrs['standard_name'] = 'time' da['time'].attrs['long_name'] = 'Time' if 'level' in coords: da['level'].attrs['long_name'] = 'ECMWF model level' return da
[ 11748, 12972, 70, 822, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 17268, 1330, 4277, 11600, 198, 6738, 17268, 1330, 3706, 83, 29291, 198, 6738, 17268, 1330, 40806, 540, 198, 11748, 2124, 18747, 355, 2124, 81, 628, 198, 4299, 1036, 65, 62, 19662, 62, 1462, 62, 87, 81, 7, 20500, 11, 468, 62, 46170, 28, 17821, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 38240, 257, 2060, 308, 822, 3275, 284, 2124, 18747, 13, 628, 220, 220, 220, 1058, 17143, 3275, 25, 198, 220, 220, 220, 1058, 4906, 3275, 25, 12972, 70, 822, 3275, 198, 220, 220, 220, 1058, 17143, 468, 62, 46170, 25, 1002, 6407, 11, 751, 257, 1241, 20435, 13, 198, 220, 220, 220, 1058, 81, 4906, 25, 2124, 18747, 13, 6601, 19182, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 300, 684, 796, 45941, 13, 21602, 10223, 32590, 22468, 7, 20500, 17816, 6511, 3984, 5189, 5962, 41339, 12727, 818, 35, 1533, 6037, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12178, 7, 20500, 17816, 6511, 3984, 5189, 5956, 41339, 12727, 818, 35, 1533, 6037, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 493, 7, 20500, 17816, 34153, 20520, 4008, 198, 220, 220, 220, 300, 1381, 796, 45941, 13, 21602, 10223, 7, 22468, 7, 20500, 17816, 15460, 3984, 5189, 5962, 41339, 12727, 818, 35, 1533, 6037, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12178, 7, 20500, 17816, 15460, 3984, 5189, 5956, 41339, 12727, 818, 35, 1533, 6037, 20520, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 493, 7, 20500, 17816, 45, 73, 20520, 4008, 628, 220, 220, 220, 763, 3669, 796, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2435, 10354, 3275, 13, 272, 282, 10430, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 15460, 10354, 300, 1381, 11, 198, 220, 220, 220, 220, 220, 220, 220, 705, 14995, 10354, 300, 684, 11, 198, 220, 220, 220, 1782, 628, 220, 220, 220, 611, 468, 62, 46170, 25, 198, 220, 220, 220, 220, 220, 220, 220, 763, 3669, 17816, 5715, 20520, 796, 3275, 13, 5715, 628, 220, 220, 220, 1303, 900, 510, 1366, 9633, 198, 220, 220, 220, 3815, 796, 3275, 13, 27160, 220, 1303, 3815, 287, 3042, 11, 300, 261, 198, 220, 220, 220, 708, 3808, 796, 8633, 3419, 198, 220, 220, 220, 708, 3808, 17816, 41667, 20520, 796, 3275, 13, 41667, 198, 220, 220, 220, 708, 3808, 17816, 20307, 62, 3672, 20520, 796, 3275, 13, 12993, 5376, 198, 220, 220, 220, 708, 3808, 17816, 6511, 62, 3672, 20520, 796, 3275, 13, 3672, 198, 220, 220, 220, 708, 3808, 17816, 17143, 2357, 62, 312, 20520, 796, 3275, 13, 17143, 7390, 628, 220, 220, 220, 12379, 796, 2124, 81, 13, 6601, 19182, 7, 7890, 28, 27160, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5391, 82, 28, 10786, 15460, 3256, 705, 14995, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 763, 3669, 28, 1073, 3669, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 20500, 13, 3672, 13, 21037, 22446, 33491, 10786, 46083, 705, 62, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 3808, 28, 1078, 3808, 8, 628, 220, 220, 220, 1303, 49368, 15225, 198, 220, 220, 220, 611, 705, 5715, 6, 287, 763, 3669, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12379, 796, 12379, 13, 11201, 392, 62, 67, 12078, 10786, 5715, 3256, 362, 8, 198, 220, 220, 220, 12379, 796, 12379, 13, 11201, 392, 62, 67, 12078, 10786, 2435, 3256, 18896, 7, 1073, 3669, 8, 532, 352, 8, 628, 220, 220, 220, 1303, 49213, 198, 220, 220, 220, 12379, 17816, 15460, 6, 4083, 1078, 3808, 17816, 20307, 62, 3672, 20520, 796, 705, 15460, 3984, 6, 198, 220, 220, 220, 12379, 17816, 15460, 6, 4083, 1078, 3808, 17816, 6511, 62, 3672, 20520, 796, 705, 24220, 3984, 6, 198, 220, 220, 220, 12379, 17816, 15460, 6, 4083, 1078, 3808, 17816, 41667, 20520, 796, 705, 13500, 6037, 62, 43588, 6, 198, 220, 220, 220, 12379, 17816, 15460, 6, 4083, 1078, 3808, 17816, 22704, 20520, 796, 705, 56, 6, 628, 220, 220, 220, 12379, 17816, 14995, 6, 4083, 1078, 3808, 17816, 20307, 62, 3672, 20520, 796, 705, 6511, 3984, 6, 198, 220, 220, 220, 12379, 17816, 14995, 6, 4083, 1078, 3808, 17816, 6511, 62, 3672, 20520, 796, 705, 14617, 3984, 6, 198, 220, 220, 220, 12379, 17816, 14995, 6, 4083, 1078, 3808, 17816, 41667, 20520, 796, 705, 13500, 6037, 62, 23316, 6, 198, 220, 220, 220, 12379, 17816, 14995, 6, 4083, 1078, 3808, 17816, 22704, 20520, 796, 705, 55, 6, 628, 220, 220, 220, 12379, 17816, 2435, 6, 4083, 1078, 3808, 17816, 20307, 62, 3672, 20520, 796, 705, 2435, 6, 198, 220, 220, 220, 12379, 17816, 2435, 6, 4083, 1078, 3808, 17816, 6511, 62, 3672, 20520, 796, 705, 7575, 6, 628, 220, 220, 220, 611, 705, 5715, 6, 287, 763, 3669, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12379, 17816, 5715, 6, 4083, 1078, 3808, 17816, 6511, 62, 3672, 20520, 796, 705, 2943, 14326, 37, 2746, 1241, 6, 628, 220, 220, 220, 1441, 12379, 628, 628 ]
2.215098
967
# -*- coding: utf-8 -*- # FLEDGE_BEGIN # See: http://fledge.readthedocs.io/ # FLEDGE_END """ Test add service using poll and async plugins for both python & C version REST API """ import os import http.client import json import time from uuid import UUID from collections import Counter from urllib.parse import quote import pytest import plugin_and_service __author__ = "Ashish Jabble" __copyright__ = "Copyright (c) 2019 Dianomic Systems" __license__ = "Apache 2.0" __version__ = "${VERSION}" SVC_NAME_1 = 'Random Walk #1' SVC_NAME_2 = 'HTTP-SOUTH' SVC_NAME_3 = '1 Bench' SVC_NAME_4 = 'Rand 1 #3' SVC_NAME_5 = SVC_NAME_C_ASYNC = "Async 1" SVC_NAME_6 = 'randomwalk' PLUGIN_FILTER = 'metadata' FILTER_NAME = 'meta' @pytest.fixture
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 9977, 1961, 8264, 62, 33, 43312, 198, 2, 4091, 25, 2638, 1378, 69, 2965, 13, 961, 83, 704, 420, 82, 13, 952, 14, 198, 2, 9977, 1961, 8264, 62, 10619, 198, 198, 37811, 6208, 751, 2139, 1262, 3278, 290, 30351, 20652, 329, 1111, 21015, 1222, 327, 2196, 30617, 7824, 37227, 198, 198, 11748, 28686, 198, 11748, 2638, 13, 16366, 198, 11748, 33918, 198, 11748, 640, 198, 6738, 334, 27112, 1330, 471, 27586, 198, 6738, 17268, 1330, 15034, 198, 6738, 2956, 297, 571, 13, 29572, 1330, 9577, 198, 11748, 12972, 9288, 198, 198, 11748, 13877, 62, 392, 62, 15271, 198, 198, 834, 9800, 834, 796, 366, 26754, 680, 24404, 903, 1, 198, 834, 22163, 4766, 834, 796, 366, 15269, 357, 66, 8, 13130, 19326, 10179, 11998, 1, 198, 834, 43085, 834, 796, 366, 25189, 4891, 362, 13, 15, 1, 198, 834, 9641, 834, 796, 17971, 90, 43717, 36786, 628, 198, 50, 15922, 62, 20608, 62, 16, 796, 705, 29531, 6857, 1303, 16, 6, 198, 50, 15922, 62, 20608, 62, 17, 796, 705, 40717, 12, 50, 2606, 4221, 6, 198, 50, 15922, 62, 20608, 62, 18, 796, 705, 16, 25187, 6, 198, 50, 15922, 62, 20608, 62, 19, 796, 705, 38918, 352, 1303, 18, 6, 198, 198, 50, 15922, 62, 20608, 62, 20, 796, 311, 15922, 62, 20608, 62, 34, 62, 26483, 7792, 796, 366, 42367, 352, 1, 198, 50, 15922, 62, 20608, 62, 21, 796, 705, 25120, 11152, 6, 628, 198, 6489, 7340, 1268, 62, 46700, 5781, 796, 705, 38993, 6, 198, 46700, 5781, 62, 20608, 796, 705, 28961, 6, 628, 198, 31, 9078, 9288, 13, 69, 9602, 628, 198 ]
2.614035
285
from rest_framework import serializers from aggregate.stores.models import Store
[ 6738, 1334, 62, 30604, 1330, 11389, 11341, 198, 198, 6738, 19406, 13, 43409, 13, 27530, 1330, 9363, 628 ]
4.611111
18
import os import sys import unittest from parameterized import parameterized sys.path.append(os.path.join(os.path.dirname(__file__), '../../tests/system')) import metricbeat
[ 11748, 28686, 198, 11748, 25064, 198, 11748, 555, 715, 395, 198, 6738, 11507, 1143, 1330, 11507, 1143, 198, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 22179, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 828, 705, 40720, 40720, 41989, 14, 10057, 6, 4008, 198, 11748, 18663, 12945, 628 ]
3.2
55
import requests import time import json url = 'https://api.opendota.com/api/' gang = { 'will': { 'name': 'Will', 'pid': '67798385' }, 'pat': { 'name': 'Pat', 'pid': '52147853' }, 'james': { 'name': 'James', 'pid': '84941438' }, 'tibi': { 'name': 'Tibi', 'pid': '72600614' } } ''' # Player matches for pl in gang: pm = requests.get(url + 'players/' + gang[pl].get('pid') + '/matches') with open('data/%s.json' % pl, 'w') as f: f.write(pm.text) time.sleep(1) ''' ''' # Player match info for pl in gang: input_file = open('data/%s.json' % pl, 'r') json_array = json.load(input_file) match_list = [] for item in json_array: matchId = {"match_id":None} matchId['match_id'] = item['match_id'] match_list.append(matchId) with open('data/%sMatches.json' % pl, 'w') as f: json.dump(match_list, f) ''' ''' # Filtered All Matches for pl in gang: input_file = open('data/%sMatches.json' % pl, 'r') json_array = json.load(input_file) all_matches = [] for match in json_array: matchId = {"match_id":None} matchId['match_id'] = match['match_id'] all_matches.append(matchId) with open('data/allMatches.json', 'w') as f: json.dump(all_matches, f) ''' # Match GET with open('data/allMatches.json', 'r') as f: json_array = json.load(f) for match in json_array: matchId = {"mid":None} matchId['mid'] = str(match['match_id']) am = requests.get(url + 'matches/' + matchId['mid']) with open('data/matches/%s.json' % matchId['mid'], 'w', encoding="utf8") as f: f.write(am.text) time.sleep(1)
[ 11748, 7007, 201, 198, 11748, 640, 201, 198, 11748, 33918, 201, 198, 201, 198, 6371, 796, 705, 5450, 1378, 15042, 13, 404, 437, 4265, 13, 785, 14, 15042, 14, 6, 201, 198, 201, 198, 28284, 796, 1391, 201, 198, 220, 220, 220, 705, 10594, 10354, 1391, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 705, 8743, 3256, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35317, 10354, 705, 3134, 43240, 27203, 6, 201, 198, 220, 220, 220, 8964, 201, 198, 201, 198, 220, 220, 220, 705, 8071, 10354, 1391, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 705, 12130, 3256, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35317, 10354, 705, 4309, 1415, 3695, 4310, 6, 201, 198, 220, 220, 220, 8964, 201, 198, 201, 198, 220, 220, 220, 705, 73, 1047, 10354, 1391, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 705, 14731, 3256, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35317, 10354, 705, 23, 2920, 37309, 2548, 6, 201, 198, 220, 220, 220, 8964, 201, 198, 201, 198, 220, 220, 220, 705, 83, 27567, 10354, 1391, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 3672, 10354, 705, 51, 27567, 3256, 201, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35317, 10354, 705, 22, 2075, 28041, 1415, 6, 201, 198, 220, 220, 220, 1782, 201, 198, 92, 201, 198, 201, 198, 7061, 6, 201, 198, 2, 7853, 7466, 201, 198, 1640, 458, 287, 7706, 25, 201, 198, 220, 220, 220, 9114, 796, 7007, 13, 1136, 7, 6371, 1343, 705, 32399, 14, 6, 1343, 7706, 58, 489, 4083, 1136, 10786, 35317, 11537, 1343, 31051, 6759, 2052, 11537, 201, 198, 201, 198, 220, 220, 220, 351, 1280, 10786, 7890, 14, 4, 82, 13, 17752, 6, 4064, 458, 11, 705, 86, 11537, 355, 277, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 4426, 13, 5239, 8, 201, 198, 220, 220, 220, 640, 13, 42832, 7, 16, 8, 201, 198, 7061, 6, 201, 198, 201, 198, 7061, 6, 201, 198, 2, 7853, 2872, 7508, 201, 198, 1640, 458, 287, 7706, 25, 201, 198, 220, 220, 220, 5128, 62, 7753, 796, 1280, 10786, 7890, 14, 4, 82, 13, 17752, 6, 4064, 458, 11, 705, 81, 11537, 201, 198, 220, 220, 220, 33918, 62, 18747, 796, 33918, 13, 2220, 7, 15414, 62, 7753, 8, 201, 198, 220, 220, 220, 2872, 62, 4868, 796, 17635, 201, 198, 201, 198, 220, 220, 220, 329, 2378, 287, 33918, 62, 18747, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 796, 19779, 15699, 62, 312, 1298, 14202, 92, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 17816, 15699, 62, 312, 20520, 796, 2378, 17816, 15699, 62, 312, 20520, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 62, 4868, 13, 33295, 7, 15699, 7390, 8, 201, 198, 201, 198, 220, 220, 220, 351, 1280, 10786, 7890, 14, 4, 82, 19044, 2052, 13, 17752, 6, 4064, 458, 11, 705, 86, 11537, 355, 277, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 33918, 13, 39455, 7, 15699, 62, 4868, 11, 277, 8, 201, 198, 7061, 6, 201, 198, 201, 198, 7061, 6, 201, 198, 2, 7066, 4400, 1439, 6550, 2052, 201, 198, 1640, 458, 287, 7706, 25, 201, 198, 220, 220, 220, 5128, 62, 7753, 796, 1280, 10786, 7890, 14, 4, 82, 19044, 2052, 13, 17752, 6, 4064, 458, 11, 705, 81, 11537, 201, 198, 220, 220, 220, 33918, 62, 18747, 796, 33918, 13, 2220, 7, 15414, 62, 7753, 8, 201, 198, 220, 220, 220, 477, 62, 6759, 2052, 796, 17635, 201, 198, 201, 198, 220, 220, 220, 329, 2872, 287, 33918, 62, 18747, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 796, 19779, 15699, 62, 312, 1298, 14202, 92, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 17816, 15699, 62, 312, 20520, 796, 2872, 17816, 15699, 62, 312, 20520, 201, 198, 220, 220, 220, 220, 220, 220, 220, 477, 62, 6759, 2052, 13, 33295, 7, 15699, 7390, 8, 201, 198, 201, 198, 4480, 1280, 10786, 7890, 14, 439, 19044, 2052, 13, 17752, 3256, 705, 86, 11537, 355, 277, 25, 201, 198, 220, 220, 220, 33918, 13, 39455, 7, 439, 62, 6759, 2052, 11, 277, 8, 201, 198, 7061, 6, 201, 198, 201, 198, 2, 13225, 17151, 201, 198, 4480, 1280, 10786, 7890, 14, 439, 19044, 2052, 13, 17752, 3256, 705, 81, 11537, 355, 277, 25, 201, 198, 220, 220, 220, 33918, 62, 18747, 796, 33918, 13, 2220, 7, 69, 8, 201, 198, 201, 198, 220, 220, 220, 329, 2872, 287, 33918, 62, 18747, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 796, 19779, 13602, 1298, 14202, 92, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2872, 7390, 17816, 13602, 20520, 796, 965, 7, 15699, 17816, 15699, 62, 312, 6, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 716, 796, 7007, 13, 1136, 7, 6371, 1343, 705, 6759, 2052, 14, 6, 1343, 2872, 7390, 17816, 13602, 6, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 351, 1280, 10786, 7890, 14, 6759, 2052, 14, 4, 82, 13, 17752, 6, 4064, 2872, 7390, 17816, 13602, 6, 4357, 705, 86, 3256, 21004, 2625, 40477, 23, 4943, 355, 277, 25, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 13, 13564, 7, 321, 13, 5239, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 640, 13, 42832, 7, 16, 8 ]
1.963597
934
"""A series of conversion tools for Quaternions and Euler Angles. These functions are modified versions of the algorithms found here: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles Written by: Zahi Kakish (zmk5) """ from typing import Tuple import numpy as np def quaternion_to_roll(x: float, y: float, z: float, w: float) -> float: """Convert Quaternion to Roll Euler angle.""" sinr_cosp = 2.0 * (w * x + y * z) cosr_cosp = 1.0 - 2.0 * (x * x + y * y) return np.arctan2(sinr_cosp, cosr_cosp) def quaternion_to_pitch(x: float, y: float, z: float, w: float) -> float: """Convert Quaternion to Pitch Euler angle.""" sinp = 2 * (w * y - z * x) if np.abs(sinp) >= 1.0: return np.copysign(np.pi / 2, sinp) return np.arcsin(sinp) def quaternion_to_yaw(x: float, y: float, z: float, w: float) -> float: """Convert Quaternion to Yaw Euler angle.""" siny_cosp = 2 * (w * z + x * y) cosy_cosp = 1 - 2 * (y * y + z * z) return np.arctan2(siny_cosp, cosy_cosp) def quaternion_to_euler( x: float, y: float, z: float, w: float) -> Tuple[float, float, float]: """Convert Quaternion to Euler angles.""" return ( quaternion_to_roll(x, y, z, w), quaternion_to_pitch(x, y, z, w), quaternion_to_yaw(x, y, z, w) ) def roll_to_quaternion(roll: float) -> Tuple[float, float, float, float]: """Convert only a Roll Euler angle to its respective Quaternion values.""" c_r = np.cos(roll * 0.5) s_r = np.sin(roll * 0.5) c_p = 1.0 s_p = 0.0 c_y = 1.0 s_y = 0.0 return ( s_r * c_p * c_y - c_r * s_p * s_y, # x c_r * s_p * c_y + s_r * c_p * s_y, # y c_r * c_p * s_y - s_r * s_p * c_y, # z c_r * c_p * c_y + s_r * s_p * s_y, # w ) def pitch_to_quaternion(pitch: float) -> Tuple[float, float, float, float]: """Convert only a Pitch Euler angle to its respective Quaternion values.""" c_r = 1.0 s_r = 0.0 c_p = np.cos(pitch * 0.5) s_p = np.sin(pitch * 0.5) c_y = 1.0 s_y = 0.0 return ( s_r * c_p * c_y - c_r * s_p * s_y, # x c_r * s_p * c_y + s_r * c_p * s_y, # y c_r * c_p * s_y - s_r * s_p * c_y, # z c_r * c_p * c_y + s_r * s_p * s_y, # w ) def yaw_to_quaternion(yaw: float) -> Tuple[float, float, float, float]: """Convert only a Yaw Euler angle to its respective Quaternion values.""" c_r = 1.0 s_r = 0.0 c_p = 1.0 s_p = 0.0 c_y = np.cos(yaw * 0.5) s_y = np.sin(yaw * 0.5) return ( s_r * c_p * c_y - c_r * s_p * s_y, # x c_r * s_p * c_y + s_r * c_p * s_y, # y c_r * c_p * s_y - s_r * s_p * c_y, # z c_r * c_p * c_y + s_r * s_p * s_y, # w ) def euler_to_quaternion( roll: float, pitch: float, yaw: float) -> Tuple[float, float, float, float]: """Convert Euler angles to Quaternion.""" c_r = np.cos(roll * 0.5) s_r = np.sin(roll * 0.5) c_p = np.cos(pitch * 0.5) s_p = np.sin(pitch * 0.5) c_y = np.cos(yaw * 0.5) s_y = np.sin(yaw * 0.5) return ( s_r * c_p * c_y - c_r * s_p * s_y, # x c_r * s_p * c_y + s_r * c_p * s_y, # y c_r * c_p * s_y - s_r * s_p * c_y, # z c_r * c_p * c_y + s_r * s_p * s_y, # w )
[ 37811, 32, 2168, 286, 11315, 4899, 329, 2264, 9205, 507, 290, 412, 18173, 2895, 829, 13, 198, 198, 4711, 5499, 389, 9518, 6300, 286, 262, 16113, 1043, 994, 25, 198, 5450, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 3103, 9641, 62, 23395, 62, 421, 9205, 507, 62, 392, 62, 36, 18173, 62, 27787, 198, 198, 25354, 416, 25, 1168, 32810, 31250, 680, 357, 89, 28015, 20, 8, 198, 198, 37811, 198, 6738, 19720, 1330, 309, 29291, 198, 198, 11748, 299, 32152, 355, 45941, 628, 198, 4299, 627, 9205, 295, 62, 1462, 62, 2487, 7, 87, 25, 12178, 11, 331, 25, 12178, 11, 1976, 25, 12178, 11, 266, 25, 12178, 8, 4613, 12178, 25, 198, 220, 220, 220, 37227, 3103, 1851, 2264, 9205, 295, 284, 8299, 412, 18173, 9848, 526, 15931, 198, 220, 220, 220, 7813, 81, 62, 66, 2117, 796, 362, 13, 15, 1635, 357, 86, 1635, 2124, 1343, 331, 1635, 1976, 8, 198, 220, 220, 220, 8615, 81, 62, 66, 2117, 796, 352, 13, 15, 532, 362, 13, 15, 1635, 357, 87, 1635, 2124, 1343, 331, 1635, 331, 8, 198, 220, 220, 220, 1441, 45941, 13, 283, 310, 272, 17, 7, 31369, 81, 62, 66, 2117, 11, 8615, 81, 62, 66, 2117, 8, 628, 198, 4299, 627, 9205, 295, 62, 1462, 62, 79, 2007, 7, 87, 25, 12178, 11, 331, 25, 12178, 11, 1976, 25, 12178, 11, 266, 25, 12178, 8, 4613, 12178, 25, 198, 220, 220, 220, 37227, 3103, 1851, 2264, 9205, 295, 284, 33517, 412, 18173, 9848, 526, 15931, 198, 220, 220, 220, 7813, 79, 796, 362, 1635, 357, 86, 1635, 331, 532, 1976, 1635, 2124, 8, 198, 220, 220, 220, 611, 45941, 13, 8937, 7, 31369, 79, 8, 18189, 352, 13, 15, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 45941, 13, 22163, 893, 570, 7, 37659, 13, 14415, 1220, 362, 11, 7813, 79, 8, 628, 220, 220, 220, 1441, 45941, 13, 5605, 31369, 7, 31369, 79, 8, 628, 198, 4299, 627, 9205, 295, 62, 1462, 62, 88, 707, 7, 87, 25, 12178, 11, 331, 25, 12178, 11, 1976, 25, 12178, 11, 266, 25, 12178, 8, 4613, 12178, 25, 198, 220, 220, 220, 37227, 3103, 1851, 2264, 9205, 295, 284, 575, 707, 412, 18173, 9848, 526, 15931, 198, 220, 220, 220, 264, 3541, 62, 66, 2117, 796, 362, 1635, 357, 86, 1635, 1976, 1343, 2124, 1635, 331, 8, 198, 220, 220, 220, 8615, 88, 62, 66, 2117, 796, 352, 532, 362, 1635, 357, 88, 1635, 331, 1343, 1976, 1635, 1976, 8, 198, 220, 220, 220, 1441, 45941, 13, 283, 310, 272, 17, 7, 82, 3541, 62, 66, 2117, 11, 8615, 88, 62, 66, 2117, 8, 628, 198, 4299, 627, 9205, 295, 62, 1462, 62, 68, 18173, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 25, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 331, 25, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 25, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 266, 25, 12178, 8, 4613, 309, 29291, 58, 22468, 11, 12178, 11, 12178, 5974, 198, 220, 220, 220, 37227, 3103, 1851, 2264, 9205, 295, 284, 412, 18173, 18333, 526, 15931, 198, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 627, 9205, 295, 62, 1462, 62, 2487, 7, 87, 11, 331, 11, 1976, 11, 266, 828, 198, 220, 220, 220, 220, 220, 220, 220, 627, 9205, 295, 62, 1462, 62, 79, 2007, 7, 87, 11, 331, 11, 1976, 11, 266, 828, 198, 220, 220, 220, 220, 220, 220, 220, 627, 9205, 295, 62, 1462, 62, 88, 707, 7, 87, 11, 331, 11, 1976, 11, 266, 8, 198, 220, 220, 220, 1267, 628, 198, 4299, 4836, 62, 1462, 62, 421, 9205, 295, 7, 2487, 25, 12178, 8, 4613, 309, 29291, 58, 22468, 11, 12178, 11, 12178, 11, 12178, 5974, 198, 220, 220, 220, 37227, 3103, 1851, 691, 257, 8299, 412, 18173, 9848, 284, 663, 11756, 2264, 9205, 295, 3815, 526, 15931, 198, 220, 220, 220, 269, 62, 81, 796, 45941, 13, 6966, 7, 2487, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 81, 796, 45941, 13, 31369, 7, 2487, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 269, 62, 79, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 79, 796, 657, 13, 15, 198, 220, 220, 220, 269, 62, 88, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 88, 796, 657, 13, 15, 628, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 532, 269, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 2124, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 331, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 532, 264, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 11, 220, 1303, 1976, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 266, 198, 220, 220, 220, 1267, 628, 198, 4299, 7078, 62, 1462, 62, 421, 9205, 295, 7, 79, 2007, 25, 12178, 8, 4613, 309, 29291, 58, 22468, 11, 12178, 11, 12178, 11, 12178, 5974, 198, 220, 220, 220, 37227, 3103, 1851, 691, 257, 33517, 412, 18173, 9848, 284, 663, 11756, 2264, 9205, 295, 3815, 526, 15931, 198, 220, 220, 220, 269, 62, 81, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 81, 796, 657, 13, 15, 198, 220, 220, 220, 269, 62, 79, 796, 45941, 13, 6966, 7, 79, 2007, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 79, 796, 45941, 13, 31369, 7, 79, 2007, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 269, 62, 88, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 88, 796, 657, 13, 15, 628, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 532, 269, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 2124, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 331, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 532, 264, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 11, 220, 1303, 1976, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 266, 198, 220, 220, 220, 1267, 628, 198, 4299, 331, 707, 62, 1462, 62, 421, 9205, 295, 7, 88, 707, 25, 12178, 8, 4613, 309, 29291, 58, 22468, 11, 12178, 11, 12178, 11, 12178, 5974, 198, 220, 220, 220, 37227, 3103, 1851, 691, 257, 575, 707, 412, 18173, 9848, 284, 663, 11756, 2264, 9205, 295, 3815, 526, 15931, 198, 220, 220, 220, 269, 62, 81, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 81, 796, 657, 13, 15, 198, 220, 220, 220, 269, 62, 79, 796, 352, 13, 15, 198, 220, 220, 220, 264, 62, 79, 796, 657, 13, 15, 198, 220, 220, 220, 269, 62, 88, 796, 45941, 13, 6966, 7, 88, 707, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 88, 796, 45941, 13, 31369, 7, 88, 707, 1635, 657, 13, 20, 8, 628, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 532, 269, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 2124, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 331, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 532, 264, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 11, 220, 1303, 1976, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 266, 198, 220, 220, 220, 1267, 628, 198, 4299, 304, 18173, 62, 1462, 62, 421, 9205, 295, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4836, 25, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7078, 25, 12178, 11, 198, 220, 220, 220, 220, 220, 220, 220, 331, 707, 25, 12178, 8, 4613, 309, 29291, 58, 22468, 11, 12178, 11, 12178, 11, 12178, 5974, 198, 220, 220, 220, 37227, 3103, 1851, 412, 18173, 18333, 284, 2264, 9205, 295, 526, 15931, 198, 220, 220, 220, 269, 62, 81, 796, 45941, 13, 6966, 7, 2487, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 81, 796, 45941, 13, 31369, 7, 2487, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 269, 62, 79, 796, 45941, 13, 6966, 7, 79, 2007, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 79, 796, 45941, 13, 31369, 7, 79, 2007, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 269, 62, 88, 796, 45941, 13, 6966, 7, 88, 707, 1635, 657, 13, 20, 8, 198, 220, 220, 220, 264, 62, 88, 796, 45941, 13, 31369, 7, 88, 707, 1635, 657, 13, 20, 8, 628, 220, 220, 220, 1441, 357, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 532, 269, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 2124, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 331, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 264, 62, 88, 532, 264, 62, 81, 1635, 264, 62, 79, 1635, 269, 62, 88, 11, 220, 1303, 1976, 198, 220, 220, 220, 220, 220, 220, 220, 269, 62, 81, 1635, 269, 62, 79, 1635, 269, 62, 88, 1343, 264, 62, 81, 1635, 264, 62, 79, 1635, 264, 62, 88, 11, 220, 1303, 266, 198, 220, 220, 220, 1267, 198 ]
1.865779
1,803
#!/usr/bin/python3 import sys if sys.version_info[0] != 3: print("This script requires Python 3") exit(1) import sys for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') sys.path.append(f'../libs/lanforge') sys.path.append(f'../libs/testrails') sys.path.append(f'../libs/apnos') sys.path.append(f'../libs/cloudsdk') sys.path.append(f'../libs') sys.path.append(f'../tests/test_utility/') import base64 import urllib.request from bs4 import BeautifulSoup import ssl import subprocess, os from artifactory import ArtifactoryPath import tarfile import paramiko from paramiko import SSHClient from scp import SCPClient import os import pexpect from pexpect import pxssh import paramiko from scp import SCPClient import pprint from pprint import pprint from os import listdir import re import requests import json import logging import datetime import time from datetime import date from shutil import copyfile import argparse from unittest.mock import Mock from lf_tests import * from ap_plus_sdk import * from lab_ap_info import * from JfrogHelper import * from reporting import Reporting # For finding files # https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory import glob # external_results_dir=/var/tmp/lanforge # To run this from your home system to NOLA-01 testbed, use this command. This assumes you have set up an ssh tunnel # logged to the cicd jumphost that can reach the lab. In separate console to set up the ssh tunnel: ssh -C -L # 7220:lab-ctlr:22 [email protected] On local machine: # ./query_ssids.py --testrail-user-id NONE --model ecw5410 # --ap-jumphost-address localhost --ap-jumphost-port 7220 --ap-jumphost-password secret --ap-jumphost-tty /dev/ttyAP1 import testrail_api from LANforge.LFUtils import * # if you lack __init__.py in this directory you will not find sta_connect module# import sta_connect2 from sta_connect2 import StaConnect2 import testrail_api from testrail_api import TestRail_Client import eap_connect from eap_connect import EAPConnect import cloudsdk from cloudsdk import CloudSDK from cloudsdk import CreateAPProfiles import ap_ssh from ap_ssh import * # Import info for lab setup and APs under test import lab_ap_info from lab_ap_info import cloud_sdk_models from lab_ap_info import ap_models from lab_ap_info import customer_id from lab_ap_info import cloud_type from lab_ap_info import test_cases from lab_ap_info import radius_info
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 198, 11748, 25064, 198, 198, 361, 25064, 13, 9641, 62, 10951, 58, 15, 60, 14512, 513, 25, 198, 220, 220, 220, 3601, 7203, 1212, 4226, 4433, 11361, 513, 4943, 198, 220, 220, 220, 8420, 7, 16, 8, 198, 198, 11748, 25064, 198, 198, 1640, 9483, 287, 705, 9078, 12, 17752, 3256, 705, 9078, 12, 46521, 10354, 198, 220, 220, 220, 611, 9483, 407, 287, 25064, 13, 6978, 25, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 6978, 13, 33295, 7, 69, 6, 40720, 9620, 30293, 14, 9620, 30293, 12, 46521, 14, 90, 43551, 92, 11537, 198, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 8019, 82, 14, 9620, 30293, 11537, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 8019, 82, 14, 9288, 430, 4487, 11537, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 8019, 82, 14, 499, 39369, 11537, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 8019, 82, 14, 17721, 21282, 74, 11537, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 8019, 82, 11537, 198, 17597, 13, 6978, 13, 33295, 7, 69, 6, 40720, 41989, 14, 9288, 62, 315, 879, 14, 11537, 198, 198, 11748, 2779, 2414, 198, 11748, 2956, 297, 571, 13, 25927, 198, 6738, 275, 82, 19, 1330, 23762, 50, 10486, 198, 11748, 264, 6649, 198, 11748, 850, 14681, 11, 28686, 198, 6738, 14077, 9548, 1330, 3683, 361, 9548, 15235, 198, 11748, 13422, 7753, 198, 11748, 5772, 12125, 198, 6738, 5772, 12125, 1330, 33825, 11792, 198, 6738, 629, 79, 1330, 17527, 11792, 198, 11748, 28686, 198, 11748, 613, 87, 806, 198, 6738, 613, 87, 806, 1330, 279, 87, 45824, 198, 198, 11748, 5772, 12125, 198, 6738, 629, 79, 1330, 17527, 11792, 198, 11748, 279, 4798, 198, 6738, 279, 4798, 1330, 279, 4798, 198, 6738, 28686, 1330, 1351, 15908, 198, 11748, 302, 198, 11748, 7007, 198, 11748, 33918, 198, 11748, 18931, 198, 11748, 4818, 8079, 198, 11748, 640, 198, 6738, 4818, 8079, 1330, 3128, 198, 6738, 4423, 346, 1330, 4866, 7753, 198, 11748, 1822, 29572, 198, 6738, 555, 715, 395, 13, 76, 735, 1330, 44123, 198, 6738, 300, 69, 62, 41989, 1330, 1635, 198, 6738, 2471, 62, 9541, 62, 21282, 74, 1330, 1635, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 1635, 198, 6738, 449, 49956, 47429, 1330, 1635, 198, 6738, 6447, 1330, 29595, 198, 198, 2, 1114, 4917, 3696, 198, 2, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 19504, 4761, 1129, 14, 4919, 12, 4598, 12, 72, 12, 4868, 12, 439, 12, 16624, 12, 1659, 12, 64, 12, 34945, 198, 11748, 15095, 198, 198, 2, 7097, 62, 43420, 62, 15908, 33223, 7785, 14, 22065, 14, 9620, 30293, 198, 198, 2, 1675, 1057, 428, 422, 534, 1363, 1080, 284, 399, 3535, 32, 12, 486, 1332, 3077, 11, 779, 428, 3141, 13, 770, 18533, 345, 423, 900, 510, 281, 26678, 13275, 198, 2, 18832, 284, 262, 269, 291, 67, 474, 12875, 455, 326, 460, 3151, 262, 2248, 13, 554, 4553, 8624, 284, 900, 510, 262, 26678, 13275, 25, 26678, 532, 34, 532, 43, 198, 2, 7724, 1238, 25, 23912, 12, 310, 14050, 25, 1828, 20967, 11157, 31, 18, 13, 12952, 13, 4349, 13, 24136, 1550, 1957, 4572, 25, 198, 2, 24457, 22766, 62, 824, 2340, 13, 9078, 1377, 9288, 30224, 12, 7220, 12, 312, 399, 11651, 1377, 19849, 9940, 86, 4051, 940, 198, 2, 1377, 499, 12, 73, 12875, 455, 12, 21975, 1957, 4774, 1377, 499, 12, 73, 12875, 455, 12, 634, 7724, 1238, 1377, 499, 12, 73, 12875, 455, 12, 28712, 3200, 1377, 499, 12, 73, 12875, 455, 12, 42852, 1220, 7959, 14, 42852, 2969, 16, 628, 198, 11748, 1332, 30224, 62, 15042, 198, 198, 6738, 24192, 30293, 13, 43, 37, 18274, 4487, 1330, 1635, 198, 198, 2, 611, 345, 3092, 11593, 15003, 834, 13, 9078, 287, 428, 8619, 345, 481, 407, 1064, 336, 64, 62, 8443, 8265, 2, 198, 198, 11748, 336, 64, 62, 8443, 17, 198, 6738, 336, 64, 62, 8443, 17, 1330, 44919, 13313, 17, 198, 11748, 1332, 30224, 62, 15042, 198, 6738, 1332, 30224, 62, 15042, 1330, 6208, 44631, 62, 11792, 198, 11748, 304, 499, 62, 8443, 198, 6738, 304, 499, 62, 8443, 1330, 412, 2969, 13313, 198, 11748, 15114, 34388, 198, 6738, 15114, 34388, 1330, 10130, 10305, 42, 198, 6738, 15114, 34388, 1330, 13610, 2969, 15404, 2915, 198, 11748, 2471, 62, 45824, 198, 6738, 2471, 62, 45824, 1330, 1635, 198, 198, 2, 17267, 7508, 329, 2248, 9058, 290, 3486, 82, 739, 1332, 198, 11748, 2248, 62, 499, 62, 10951, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 6279, 62, 21282, 74, 62, 27530, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 2471, 62, 27530, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 6491, 62, 312, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 6279, 62, 4906, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 1332, 62, 33964, 198, 6738, 2248, 62, 499, 62, 10951, 1330, 16874, 62, 10951, 628 ]
3.031288
831
#07 - Crie um programa onde o usuário possa digitar sete valores numéricos e cadastre-os em uma lista única que mantenha separados os valores pares e ímpares. No final, mostre os valores pares e ímpares em ordem crescente. numeros = list() # lista geral contendo todos os números listaPar = list() # lista contendo apenas números pares listaImpar = list() # lista contendo apenas números impares for i in range(0,7): # num intervalo de 0 a 7 num = int(input('Digite um número: ')) # recebe um input formato inteiro if num % 2 == 0: # valida se a divisão deste número por 2 dá resto zero, se sim, coloca esse número na lista par listaPar.append(num) else: # se condição acima não for atendida, significa que o número é impar. Então adiciona na lista impar listaImpar.append(num) # ao final do for, coloca a lista par e a lista impar dentro da lista geral de números numeros.append(listaPar) numeros.append(listaImpar) print(f'\nO valores pares são: {sorted(listaPar)}') print(f'O valores impares são: {sorted(listaImpar)}\n')
[ 2, 2998, 532, 327, 5034, 23781, 1430, 64, 319, 2934, 267, 514, 84, 6557, 27250, 1184, 64, 3100, 7940, 900, 68, 1188, 2850, 997, 2634, 1173, 418, 304, 20603, 459, 260, 12, 418, 795, 334, 2611, 1351, 64, 6184, 118, 77, 3970, 8358, 24818, 268, 3099, 2880, 22484, 28686, 1188, 2850, 279, 3565, 304, 6184, 255, 3149, 3565, 13, 1400, 2457, 11, 749, 260, 28686, 1188, 2850, 279, 3565, 304, 6184, 255, 3149, 3565, 795, 2760, 368, 269, 26505, 68, 13, 198, 198, 77, 6975, 418, 796, 1351, 3419, 1303, 1351, 64, 308, 1691, 24351, 78, 284, 37427, 28686, 299, 21356, 647, 418, 220, 198, 4868, 64, 10044, 796, 1351, 3419, 1303, 1351, 64, 24351, 78, 2471, 268, 292, 299, 21356, 647, 418, 279, 3565, 198, 4868, 64, 3546, 1845, 796, 1351, 3419, 1303, 1351, 64, 24351, 78, 2471, 268, 292, 299, 21356, 647, 418, 848, 3565, 220, 198, 198, 1640, 1312, 287, 2837, 7, 15, 11, 22, 2599, 1303, 997, 16654, 78, 390, 657, 257, 767, 220, 198, 220, 220, 220, 997, 796, 493, 7, 15414, 10786, 19511, 578, 23781, 299, 21356, 647, 78, 25, 705, 4008, 1303, 1407, 1350, 23781, 5128, 1296, 5549, 493, 68, 7058, 628, 220, 220, 220, 611, 997, 4064, 362, 6624, 657, 25, 1303, 1188, 3755, 384, 257, 2659, 271, 28749, 2244, 68, 299, 21356, 647, 78, 16964, 362, 288, 6557, 1334, 78, 6632, 11, 384, 985, 11, 951, 11216, 1658, 325, 299, 21356, 647, 78, 12385, 1351, 64, 1582, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 64, 10044, 13, 33295, 7, 22510, 8, 198, 220, 220, 220, 2073, 25, 1303, 384, 1779, 72, 16175, 28749, 936, 8083, 299, 28749, 329, 379, 437, 3755, 11, 2216, 64, 8358, 267, 299, 21356, 647, 78, 38251, 848, 283, 13, 7232, 28749, 512, 291, 32792, 12385, 1351, 64, 848, 283, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 64, 3546, 1845, 13, 33295, 7, 22510, 8, 198, 198, 2, 257, 78, 2457, 466, 329, 11, 951, 11216, 257, 1351, 64, 1582, 304, 257, 1351, 64, 848, 283, 18794, 305, 12379, 1351, 64, 308, 1691, 390, 299, 21356, 647, 418, 220, 220, 198, 77, 6975, 418, 13, 33295, 7, 4868, 64, 10044, 8, 198, 77, 6975, 418, 13, 33295, 7, 4868, 64, 3546, 1845, 8, 198, 198, 4798, 7, 69, 6, 59, 77, 46, 1188, 2850, 279, 3565, 264, 28749, 25, 1391, 82, 9741, 7, 4868, 64, 10044, 38165, 11537, 198, 4798, 7, 69, 6, 46, 1188, 2850, 848, 3565, 264, 28749, 25, 1391, 82, 9741, 7, 4868, 64, 3546, 1845, 8, 32239, 77, 11537 ]
2.462963
432
from pure_fb_openmetrics_exporter.flashblade_collector.flashblade_metrics.array_performance_metrics import ArrayPerformanceMetrics
[ 6738, 5899, 62, 21855, 62, 9654, 4164, 10466, 62, 1069, 26634, 13, 34167, 22500, 62, 33327, 273, 13, 34167, 22500, 62, 4164, 10466, 13, 18747, 62, 26585, 62, 4164, 10466, 1330, 15690, 32273, 9171, 10466, 628 ]
3.666667
36
#!/usr/bin/env python # -*- coding: utf-8 -*- """ requests_cache.backends.dynamodb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``dynamodb`` cache backend """ from .base import BaseCache from .storage.dynamodbdict import DynamoDbDict class DynamoDbCache(BaseCache): """ ``dynamodb`` cache backend. """ def __init__(self, table_name='requests-cache', **options): """ :param namespace: dynamodb table name (default: ``'requests-cache'``) :param connection: (optional) ``boto3.resource('dynamodb')`` """ super(DynamoDbCache, self).__init__(**options) self.responses = DynamoDbDict(table_name, 'responses', options.get('connection'), options.get('endpont_url'), options.get('region_name'), options.get('read_capacity_units'), options.get('write_capacity_units')) self.keys_map = DynamoDbDict(table_name, 'urls', self.responses.connection)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 220, 220, 220, 7007, 62, 23870, 13, 1891, 2412, 13, 67, 4989, 375, 65, 198, 220, 220, 220, 220, 27156, 15116, 8728, 4907, 628, 220, 220, 220, 7559, 67, 4989, 375, 65, 15506, 12940, 30203, 198, 37811, 198, 6738, 764, 8692, 1330, 7308, 30562, 198, 6738, 764, 35350, 13, 67, 4989, 375, 65, 11600, 1330, 41542, 43832, 35, 713, 628, 198, 4871, 41542, 43832, 30562, 7, 14881, 30562, 2599, 198, 220, 220, 220, 37227, 7559, 67, 4989, 375, 65, 15506, 12940, 30203, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 3084, 62, 3672, 11639, 8897, 3558, 12, 23870, 3256, 12429, 25811, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 25745, 25, 6382, 375, 65, 3084, 1438, 357, 12286, 25, 7559, 6, 8897, 3558, 12, 23870, 6, 15506, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 4637, 25, 357, 25968, 8, 7559, 65, 2069, 18, 13, 31092, 10786, 67, 4989, 375, 65, 11537, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2208, 7, 35, 4989, 78, 43832, 30562, 11, 2116, 737, 834, 15003, 834, 7, 1174, 25811, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 16733, 274, 796, 41542, 43832, 35, 713, 7, 11487, 62, 3672, 11, 705, 16733, 274, 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, 3689, 13, 1136, 10786, 38659, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3689, 13, 1136, 10786, 437, 79, 756, 62, 6371, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3689, 13, 1136, 10786, 36996, 62, 3672, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3689, 13, 1136, 10786, 961, 62, 42404, 62, 41667, 33809, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3689, 13, 1136, 10786, 13564, 62, 42404, 62, 41667, 6, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 13083, 62, 8899, 796, 41542, 43832, 35, 713, 7, 11487, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 6371, 82, 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, 2116, 13, 16733, 274, 13, 38659, 8, 198 ]
1.927393
606
import pathlib from setuptools import setup, find_packages HERE = pathlib.Path(__file__).parent README = (HERE / "ReadMe.md").read_text() setup( name="dataclasses_ujson", version="0.0.14", packages=find_packages(exclude=("tests*","bench_marks.py")), author="Kislenko Artem ", author_email="[email protected]", description="fast converter your json to dataclass", long_description=README, long_description_content_type="text/markdown", url="https://github.com/kislenko-artem/dataclasses-ujson", license="Apache", install_requires=[ "ujson>=1.35" ], python_requires=">=3.7", extras_require={ "dev": ["pytest"] }, include_package_data=True, py_modules=['dataclasses_ujson'], setup_requires=["pytest-runner"], tests_require=["pytest"] )
[ 11748, 3108, 8019, 198, 6738, 900, 37623, 10141, 1330, 9058, 11, 1064, 62, 43789, 198, 198, 39, 9338, 796, 3108, 8019, 13, 15235, 7, 834, 7753, 834, 737, 8000, 198, 15675, 11682, 796, 357, 39, 9338, 1220, 366, 5569, 5308, 13, 9132, 11074, 961, 62, 5239, 3419, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 2625, 19608, 330, 28958, 62, 84, 17752, 1600, 198, 220, 220, 220, 2196, 2625, 15, 13, 15, 13, 1415, 1600, 198, 220, 220, 220, 10392, 28, 19796, 62, 43789, 7, 1069, 9152, 28, 7203, 41989, 9, 2430, 26968, 62, 14306, 13, 9078, 4943, 828, 198, 220, 220, 220, 1772, 2625, 42, 3044, 32720, 3683, 368, 33172, 198, 220, 220, 220, 1772, 62, 12888, 2625, 433, 368, 31, 12384, 433, 12, 13670, 13, 622, 1600, 198, 220, 220, 220, 6764, 2625, 7217, 38394, 534, 33918, 284, 4818, 330, 31172, 1600, 198, 220, 220, 220, 890, 62, 11213, 28, 15675, 11682, 11, 198, 220, 220, 220, 890, 62, 11213, 62, 11299, 62, 4906, 2625, 5239, 14, 4102, 2902, 1600, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 74, 3044, 32720, 12, 433, 368, 14, 19608, 330, 28958, 12, 84, 17752, 1600, 198, 220, 220, 220, 5964, 2625, 25189, 4891, 1600, 198, 220, 220, 220, 2721, 62, 47911, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 84, 17752, 29, 28, 16, 13, 2327, 1, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 21015, 62, 47911, 2625, 29, 28, 18, 13, 22, 1600, 198, 220, 220, 220, 33849, 62, 46115, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 366, 7959, 1298, 14631, 9078, 9288, 8973, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 2291, 62, 26495, 62, 7890, 28, 17821, 11, 198, 220, 220, 220, 12972, 62, 18170, 28, 17816, 19608, 330, 28958, 62, 84, 17752, 6, 4357, 198, 220, 220, 220, 9058, 62, 47911, 28, 14692, 9078, 9288, 12, 16737, 33116, 198, 220, 220, 220, 5254, 62, 46115, 28, 14692, 9078, 9288, 8973, 198, 8, 198 ]
2.455621
338
""" Backend for test environment. """ from django.core import cache from django.core.mail.backends.base import BaseEmailBackend from .. import settings as mailviewer_settings class EmailBackend(BaseEmailBackend): """ An email backend to use during testing and local development with Django Mail Viewer. Uses Django's cache framework to store sent emails in the cache so that they can be easily retrieved in multi-process environments such as using Django Channels or when sending an email from a python shell. """ def get_message(self, lookup_id): """ Look up and return a specific message in the outbox """ return self.cache.get(lookup_id) def get_outbox(self, *args, **kwargs): """ Get the outbox used by this backend. This backend returns a copy of mail.outbox. May add pagination args/kwargs. """ # grabs all of the keys in the stored self.cache_keys_key # and passes those into get_many() to retrieve the keys message_keys = self.cache.get(self.cache_keys_key) if message_keys: messages = list(self.cache.get_many(message_keys).values()) else: messages = [] return messages def delete_message(self, message_id: str): """ Remove the message with the given id from the mailbox """ message_keys = self.cache.get(self.cache_keys_key, []) message_keys.remove(message_id) self.cache.set(self.cache_keys_key, message_keys) self.cache.delete(message_id)
[ 37811, 198, 7282, 437, 329, 1332, 2858, 13, 198, 37811, 198, 6738, 42625, 14208, 13, 7295, 1330, 12940, 198, 6738, 42625, 14208, 13, 7295, 13, 4529, 13, 1891, 2412, 13, 8692, 1330, 7308, 15333, 7282, 437, 198, 198, 6738, 11485, 1330, 6460, 355, 6920, 1177, 263, 62, 33692, 628, 198, 4871, 9570, 7282, 437, 7, 14881, 15333, 7282, 437, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1052, 3053, 30203, 284, 779, 1141, 4856, 290, 1957, 2478, 351, 37770, 11099, 3582, 263, 13, 628, 220, 220, 220, 36965, 37770, 338, 12940, 9355, 284, 3650, 1908, 7237, 287, 262, 12940, 523, 326, 484, 460, 198, 220, 220, 220, 307, 3538, 29517, 287, 5021, 12, 14681, 12493, 884, 355, 1262, 37770, 609, 8961, 393, 198, 220, 220, 220, 618, 7216, 281, 3053, 422, 257, 21015, 7582, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 651, 62, 20500, 7, 944, 11, 35847, 62, 312, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 6803, 510, 290, 1441, 257, 2176, 3275, 287, 262, 503, 3524, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 23870, 13, 1136, 7, 5460, 929, 62, 312, 8, 628, 220, 220, 220, 825, 651, 62, 448, 3524, 7, 944, 11, 1635, 22046, 11, 12429, 46265, 22046, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3497, 262, 503, 3524, 973, 416, 428, 30203, 13, 220, 770, 30203, 5860, 257, 4866, 286, 6920, 13, 448, 3524, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1737, 751, 42208, 1883, 26498, 14, 46265, 22046, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 22378, 477, 286, 262, 8251, 287, 262, 8574, 2116, 13, 23870, 62, 13083, 62, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 290, 8318, 883, 656, 651, 62, 21834, 3419, 284, 19818, 262, 8251, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 13083, 796, 2116, 13, 23870, 13, 1136, 7, 944, 13, 23870, 62, 13083, 62, 2539, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 3275, 62, 13083, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6218, 796, 1351, 7, 944, 13, 23870, 13, 1136, 62, 21834, 7, 20500, 62, 13083, 737, 27160, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6218, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6218, 628, 220, 220, 220, 825, 12233, 62, 20500, 7, 944, 11, 3275, 62, 312, 25, 965, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 17220, 262, 3275, 351, 262, 1813, 4686, 422, 262, 37282, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 13083, 796, 2116, 13, 23870, 13, 1136, 7, 944, 13, 23870, 62, 13083, 62, 2539, 11, 685, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 13083, 13, 28956, 7, 20500, 62, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 23870, 13, 2617, 7, 944, 13, 23870, 62, 13083, 62, 2539, 11, 3275, 62, 13083, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 23870, 13, 33678, 7, 20500, 62, 312, 8, 628, 198 ]
2.688663
591
import sys from itertools import combinations data = [int(line.strip()) for line in sys.stdin.readlines()] preamble = int(sys.argv[1]) idx = preamble while idx < len(data): found = False for (a,b) in combinations(data[idx-preamble:idx], 2): if a + b == data[idx]: found = True break if not found: break idx += 1 print("Part1: {} - {}".format(idx, data[idx])) subdata = data[:idx] subidx = 0 while subidx < len(subdata)-1: endidx = subidx + 1 while endidx < len(subdata): sublist = subdata[subidx:endidx] if sum(sublist) == data[idx]: print("Part2: {} {}".format(sublist, min(sublist)+max(sublist))) sys.exit(0) endidx += 1 subidx += 1
[ 11748, 25064, 198, 6738, 340, 861, 10141, 1330, 17790, 198, 198, 7890, 796, 685, 600, 7, 1370, 13, 36311, 28955, 329, 1627, 287, 25064, 13, 19282, 259, 13, 961, 6615, 3419, 60, 198, 198, 79, 1476, 903, 796, 493, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 198, 312, 87, 796, 662, 321, 903, 198, 4514, 4686, 87, 1279, 18896, 7, 7890, 2599, 198, 220, 220, 220, 1043, 796, 10352, 198, 220, 220, 220, 329, 357, 64, 11, 65, 8, 287, 17790, 7, 7890, 58, 312, 87, 12, 79, 1476, 903, 25, 312, 87, 4357, 362, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 611, 257, 1343, 275, 6624, 1366, 58, 312, 87, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1043, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 611, 407, 1043, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 4686, 87, 15853, 352, 198, 198, 4798, 7203, 7841, 16, 25, 23884, 532, 23884, 1911, 18982, 7, 312, 87, 11, 1366, 58, 312, 87, 60, 4008, 198, 198, 7266, 7890, 796, 1366, 58, 25, 312, 87, 60, 198, 198, 7266, 312, 87, 796, 657, 198, 4514, 850, 312, 87, 1279, 18896, 7, 7266, 7890, 13219, 16, 25, 198, 220, 220, 220, 886, 312, 87, 796, 850, 312, 87, 1343, 352, 198, 220, 220, 220, 981, 886, 312, 87, 1279, 18896, 7, 7266, 7890, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 850, 4868, 796, 850, 7890, 58, 7266, 312, 87, 25, 437, 312, 87, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2160, 7, 7266, 4868, 8, 6624, 1366, 58, 312, 87, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 7841, 17, 25, 23884, 23884, 1911, 18982, 7, 7266, 4868, 11, 949, 7, 7266, 4868, 47762, 9806, 7, 7266, 4868, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 312, 87, 15853, 352, 198, 220, 220, 220, 850, 312, 87, 15853, 352, 198 ]
2.06267
367
from models import Patient from .mutation_type import mutation from authentication.authentication import needsAuthorization from graphql.type import GraphQLResolveInfo from datacreators.patient import CreatePatient from SdTypes import Permissions @mutation.field("createPatient") @needsAuthorization([Permissions.PATIENT_CREATE])
[ 6738, 4981, 1330, 35550, 198, 6738, 764, 76, 7094, 62, 4906, 1330, 15148, 198, 6738, 18239, 13, 41299, 3299, 1330, 2476, 13838, 1634, 198, 6738, 4823, 13976, 13, 4906, 1330, 29681, 9711, 4965, 6442, 12360, 198, 6738, 4818, 330, 630, 669, 13, 26029, 1330, 13610, 12130, 1153, 198, 6738, 311, 67, 31431, 1330, 2448, 8481, 628, 198, 31, 76, 7094, 13, 3245, 7203, 17953, 12130, 1153, 4943, 198, 31, 50032, 13838, 1634, 26933, 5990, 8481, 13, 47, 1404, 28495, 62, 43387, 6158, 12962, 198 ]
3.952381
84
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- """ FILE: cs6_consume_events_using_cloud_events_1.0_schema.py DESCRIPTION: These samples demonstrate creating a list of CloudEvents and sending then as a list. USAGE: python cs6_consume_events_using_cloud_events_1.0_schema.py """ import os from azure.eventgrid import EventGridConsumer consumer = EventGridConsumer() # returns List[DeserializedEvent] deserialized_events = consumer.decode_eventgrid_event(service_bus_received_message) # CloudEvent schema for event in deserialized_events: # both allow access to raw properties as strings time_string = event.time time_string = event["time"] # model returns CloudEvent object cloud_event = event.model # all model properties are strongly typed datetime_object = event.model.time storage_blobcreated_object = event.model.data
[ 2, 16529, 35937, 198, 2, 15069, 357, 66, 8, 5413, 10501, 13, 1439, 2489, 10395, 13, 198, 2, 49962, 739, 262, 17168, 13789, 13, 4091, 13789, 13, 14116, 287, 262, 1628, 6808, 329, 198, 2, 5964, 1321, 13, 198, 2, 16529, 35937, 198, 37811, 198, 25664, 25, 50115, 21, 62, 5936, 2454, 62, 31534, 62, 3500, 62, 17721, 62, 31534, 62, 16, 13, 15, 62, 15952, 2611, 13, 9078, 198, 30910, 40165, 25, 198, 220, 220, 220, 2312, 8405, 10176, 4441, 257, 1351, 286, 10130, 37103, 290, 7216, 788, 355, 257, 1351, 13, 198, 2937, 11879, 25, 198, 220, 220, 220, 21015, 50115, 21, 62, 5936, 2454, 62, 31534, 62, 3500, 62, 17721, 62, 31534, 62, 16, 13, 15, 62, 15952, 2611, 13, 9078, 198, 37811, 198, 11748, 28686, 198, 6738, 35560, 495, 13, 15596, 25928, 1330, 8558, 41339, 49106, 198, 198, 49827, 796, 8558, 41339, 49106, 3419, 198, 198, 2, 5860, 7343, 58, 5960, 48499, 1143, 9237, 60, 198, 8906, 48499, 1143, 62, 31534, 796, 7172, 13, 12501, 1098, 62, 15596, 25928, 62, 15596, 7, 15271, 62, 10885, 62, 47844, 62, 20500, 8, 198, 198, 2, 10130, 9237, 32815, 198, 1640, 1785, 287, 748, 48499, 1143, 62, 31534, 25, 628, 220, 220, 220, 1303, 1111, 1249, 1895, 284, 8246, 6608, 355, 13042, 198, 220, 220, 220, 640, 62, 8841, 796, 1785, 13, 2435, 198, 220, 220, 220, 640, 62, 8841, 796, 1785, 14692, 2435, 8973, 628, 220, 220, 220, 1303, 2746, 5860, 10130, 9237, 2134, 198, 220, 220, 220, 6279, 62, 15596, 796, 1785, 13, 19849, 628, 220, 220, 220, 1303, 477, 2746, 6608, 389, 7634, 25683, 198, 220, 220, 220, 4818, 8079, 62, 15252, 796, 1785, 13, 19849, 13, 2435, 198, 220, 220, 220, 6143, 62, 2436, 672, 25598, 62, 15252, 796, 1785, 13, 19849, 13, 7890 ]
3.779264
299
import imgaug as ia from imgaug import augmenters as iaa import numpy as np import random import cv2 brightness = iaa.Add((-7, 7), per_channel=0.5) contrast = iaa.LinearContrast((0.8, 1.6), per_channel=0.5) perspective = iaa.PerspectiveTransform(scale=(0.025, 0.090)) gaussian_noise = iaa.AdditiveGaussianNoise(loc=0, scale=(0.03*255, 0.04*255), per_channel=0.5) crop = iaa.Crop(px=(0, 25)) if __name__ == "__main__": image = cv2.imread('cache/image 10.1.jpg') aug_images = aug_image(image) aug_images = [aug_images] ## image = cv2.resize(aug_images[0], (300,400)) ## cv2.imshow('Before', image) print(len(aug_images)) image = cv2.resize(image, (600,600)) image_1 = cv2.resize(aug_images[0], (600,600)) cv2.imshow('1', image) cv2.waitKey(0) cv2.imshow('2', image_1) cv2.waitKey(0) ## image2 = cv2.imread('cache/image 13.2.jpg') ## image2 = cv2.resize(image2, (400,400)) ## cv2.imshow('After', image2) ## cv2.waitKey(0)
[ 11748, 33705, 7493, 355, 220, 544, 201, 198, 6738, 33705, 7493, 1330, 35016, 364, 355, 220, 544, 64, 201, 198, 11748, 299, 32152, 355, 45941, 201, 198, 11748, 4738, 201, 198, 11748, 269, 85, 17, 201, 198, 201, 198, 29199, 1108, 796, 220, 544, 64, 13, 4550, 19510, 12, 22, 11, 767, 828, 583, 62, 17620, 28, 15, 13, 20, 8, 201, 198, 3642, 5685, 796, 220, 544, 64, 13, 14993, 451, 4264, 5685, 19510, 15, 13, 23, 11, 352, 13, 21, 828, 583, 62, 17620, 28, 15, 13, 20, 8, 201, 198, 19276, 806, 425, 796, 220, 544, 64, 13, 30946, 806, 425, 41762, 7, 9888, 16193, 15, 13, 36629, 11, 657, 13, 42534, 4008, 201, 198, 4908, 31562, 62, 3919, 786, 796, 220, 544, 64, 13, 4550, 1800, 35389, 31562, 2949, 786, 7, 17946, 28, 15, 11, 5046, 16193, 15, 13, 3070, 9, 13381, 11, 657, 13, 3023, 9, 13381, 828, 583, 62, 17620, 28, 15, 13, 20, 8, 201, 198, 31476, 796, 220, 544, 64, 13, 34, 1773, 7, 8416, 16193, 15, 11, 1679, 4008, 201, 198, 201, 198, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 201, 198, 220, 220, 220, 2939, 796, 269, 85, 17, 13, 320, 961, 10786, 23870, 14, 9060, 838, 13, 16, 13, 9479, 11537, 201, 198, 220, 220, 220, 16339, 62, 17566, 796, 16339, 62, 9060, 7, 9060, 8, 201, 198, 220, 220, 220, 16339, 62, 17566, 796, 685, 7493, 62, 17566, 60, 201, 198, 2235, 220, 220, 220, 2939, 796, 220, 269, 85, 17, 13, 411, 1096, 7, 7493, 62, 17566, 58, 15, 4357, 357, 6200, 11, 7029, 4008, 201, 198, 2235, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 8421, 3256, 2939, 8, 201, 198, 220, 220, 220, 3601, 7, 11925, 7, 7493, 62, 17566, 4008, 201, 198, 220, 220, 220, 2939, 796, 220, 269, 85, 17, 13, 411, 1096, 7, 9060, 11, 357, 8054, 11, 8054, 4008, 201, 198, 220, 220, 220, 2939, 62, 16, 796, 220, 269, 85, 17, 13, 411, 1096, 7, 7493, 62, 17566, 58, 15, 4357, 357, 8054, 11, 8054, 4008, 201, 198, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 16, 3256, 2939, 8, 201, 198, 220, 220, 220, 269, 85, 17, 13, 17077, 9218, 7, 15, 8, 201, 198, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 17, 3256, 2939, 62, 16, 8, 201, 198, 220, 220, 220, 269, 85, 17, 13, 17077, 9218, 7, 15, 8, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 2235, 220, 220, 220, 2939, 17, 796, 269, 85, 17, 13, 320, 961, 10786, 23870, 14, 9060, 1511, 13, 17, 13, 9479, 11537, 201, 198, 2235, 220, 220, 220, 2939, 17, 796, 220, 269, 85, 17, 13, 411, 1096, 7, 9060, 17, 11, 357, 7029, 11, 7029, 4008, 201, 198, 2235, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 10786, 3260, 3256, 2939, 17, 8, 201, 198, 2235, 220, 220, 220, 269, 85, 17, 13, 17077, 9218, 7, 15, 8, 201, 198 ]
1.622276
826
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/msgs.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='injective/peggy/v1/msgs.proto', package='injective.peggy.v1', syntax='proto3', serialized_options=b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types', create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x19google/protobuf/any.proto\"X\n\x1bMsgSetOrchestratorAddresses\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\"%\n#MsgSetOrchestratorAddressesResponse\"_\n\x10MsgValsetConfirm\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\x12\x11\n\tsignature\x18\x04 \x01(\t\"\x1a\n\x18MsgValsetConfirmResponse\"\x96\x01\n\x0cMsgSendToEth\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x65th_dest\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x33\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x16\n\x14MsgSendToEthResponse\"6\n\x0fMsgRequestBatch\x12\x14\n\x0corchestrator\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"\x19\n\x17MsgRequestBatchResponse\"u\n\x0fMsgConfirmBatch\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x02 \x01(\t\x12\x12\n\neth_signer\x18\x03 \x01(\t\x12\x14\n\x0corchestrator\x18\x04 \x01(\t\x12\x11\n\tsignature\x18\x05 \x01(\t\"\x19\n\x17MsgConfirmBatchResponse\"\xdc\x01\n\x0fMsgDepositClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x03 \x01(\t\x12>\n\x06\x61mount\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x17\n\x0f\x65thereum_sender\x18\x05 \x01(\t\x12\x17\n\x0f\x63osmos_receiver\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\"\x19\n\x17MsgDepositClaimResponse\"\x80\x01\n\x10MsgWithdrawClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x14\n\x0corchestrator\x18\x05 \x01(\t\"\x1a\n\x18MsgWithdrawClaimResponse\"\xb6\x01\n\x15MsgERC20DeployedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x14\n\x0c\x63osmos_denom\x18\x03 \x01(\t\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0e\n\x06symbol\x18\x06 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04\x12\x14\n\x0corchestrator\x18\x08 \x01(\t\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"<\n\x12MsgCancelSendToEth\x12\x16\n\x0etransaction_id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t\"\x1c\n\x1aMsgCancelSendToEthResponse\"i\n\x1dMsgSubmitBadSignatureEvidence\x12%\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tsignature\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\x81\x02\n\x15MsgValsetUpdatedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0cvalset_nonce\x18\x02 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x03 \x01(\x04\x12\x34\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0creward_token\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\"\x1f\n\x1dMsgValsetUpdatedClaimResponse2\xc4\r\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse\"4\x82\xd3\xe4\x93\x02.\",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse\".\x82\xd3\xe4\x93\x02(\"&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/injective/peggy/v1/submit_bad_signature_evidenceBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3' , dependencies=[cosmos_dot_base_dot_v1beta1_dot_coin__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,injective_dot_peggy_dot_v1_dot_types__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) _MSGSETORCHESTRATORADDRESSES = _descriptor.Descriptor( name='MsgSetOrchestratorAddresses', full_name='injective.peggy.v1.MsgSetOrchestratorAddresses', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='sender', full_name='injective.peggy.v1.MsgSetOrchestratorAddresses.sender', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgSetOrchestratorAddresses.orchestrator', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eth_address', full_name='injective.peggy.v1.MsgSetOrchestratorAddresses.eth_address', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=196, serialized_end=284, ) _MSGSETORCHESTRATORADDRESSESRESPONSE = _descriptor.Descriptor( name='MsgSetOrchestratorAddressesResponse', full_name='injective.peggy.v1.MsgSetOrchestratorAddressesResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=286, serialized_end=323, ) _MSGVALSETCONFIRM = _descriptor.Descriptor( name='MsgValsetConfirm', full_name='injective.peggy.v1.MsgValsetConfirm', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='nonce', full_name='injective.peggy.v1.MsgValsetConfirm.nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgValsetConfirm.orchestrator', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eth_address', full_name='injective.peggy.v1.MsgValsetConfirm.eth_address', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='signature', full_name='injective.peggy.v1.MsgValsetConfirm.signature', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=325, serialized_end=420, ) _MSGVALSETCONFIRMRESPONSE = _descriptor.Descriptor( name='MsgValsetConfirmResponse', full_name='injective.peggy.v1.MsgValsetConfirmResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=422, serialized_end=448, ) _MSGSENDTOETH = _descriptor.Descriptor( name='MsgSendToEth', full_name='injective.peggy.v1.MsgSendToEth', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='sender', full_name='injective.peggy.v1.MsgSendToEth.sender', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eth_dest', full_name='injective.peggy.v1.MsgSendToEth.eth_dest', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='amount', full_name='injective.peggy.v1.MsgSendToEth.amount', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\310\336\037\000', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bridge_fee', full_name='injective.peggy.v1.MsgSendToEth.bridge_fee', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\310\336\037\000', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=451, serialized_end=601, ) _MSGSENDTOETHRESPONSE = _descriptor.Descriptor( name='MsgSendToEthResponse', full_name='injective.peggy.v1.MsgSendToEthResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=603, serialized_end=625, ) _MSGREQUESTBATCH = _descriptor.Descriptor( name='MsgRequestBatch', full_name='injective.peggy.v1.MsgRequestBatch', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgRequestBatch.orchestrator', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='denom', full_name='injective.peggy.v1.MsgRequestBatch.denom', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=627, serialized_end=681, ) _MSGREQUESTBATCHRESPONSE = _descriptor.Descriptor( name='MsgRequestBatchResponse', full_name='injective.peggy.v1.MsgRequestBatchResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=683, serialized_end=708, ) _MSGCONFIRMBATCH = _descriptor.Descriptor( name='MsgConfirmBatch', full_name='injective.peggy.v1.MsgConfirmBatch', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='nonce', full_name='injective.peggy.v1.MsgConfirmBatch.nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='token_contract', full_name='injective.peggy.v1.MsgConfirmBatch.token_contract', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eth_signer', full_name='injective.peggy.v1.MsgConfirmBatch.eth_signer', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgConfirmBatch.orchestrator', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='signature', full_name='injective.peggy.v1.MsgConfirmBatch.signature', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=710, serialized_end=827, ) _MSGCONFIRMBATCHRESPONSE = _descriptor.Descriptor( name='MsgConfirmBatchResponse', full_name='injective.peggy.v1.MsgConfirmBatchResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=829, serialized_end=854, ) _MSGDEPOSITCLAIM = _descriptor.Descriptor( name='MsgDepositClaim', full_name='injective.peggy.v1.MsgDepositClaim', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='event_nonce', full_name='injective.peggy.v1.MsgDepositClaim.event_nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='block_height', full_name='injective.peggy.v1.MsgDepositClaim.block_height', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='token_contract', full_name='injective.peggy.v1.MsgDepositClaim.token_contract', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='amount', full_name='injective.peggy.v1.MsgDepositClaim.amount', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ethereum_sender', full_name='injective.peggy.v1.MsgDepositClaim.ethereum_sender', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cosmos_receiver', full_name='injective.peggy.v1.MsgDepositClaim.cosmos_receiver', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgDepositClaim.orchestrator', index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=857, serialized_end=1077, ) _MSGDEPOSITCLAIMRESPONSE = _descriptor.Descriptor( name='MsgDepositClaimResponse', full_name='injective.peggy.v1.MsgDepositClaimResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1079, serialized_end=1104, ) _MSGWITHDRAWCLAIM = _descriptor.Descriptor( name='MsgWithdrawClaim', full_name='injective.peggy.v1.MsgWithdrawClaim', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='event_nonce', full_name='injective.peggy.v1.MsgWithdrawClaim.event_nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='block_height', full_name='injective.peggy.v1.MsgWithdrawClaim.block_height', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='batch_nonce', full_name='injective.peggy.v1.MsgWithdrawClaim.batch_nonce', index=2, number=3, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='token_contract', full_name='injective.peggy.v1.MsgWithdrawClaim.token_contract', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgWithdrawClaim.orchestrator', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1107, serialized_end=1235, ) _MSGWITHDRAWCLAIMRESPONSE = _descriptor.Descriptor( name='MsgWithdrawClaimResponse', full_name='injective.peggy.v1.MsgWithdrawClaimResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1237, serialized_end=1263, ) _MSGERC20DEPLOYEDCLAIM = _descriptor.Descriptor( name='MsgERC20DeployedClaim', full_name='injective.peggy.v1.MsgERC20DeployedClaim', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='event_nonce', full_name='injective.peggy.v1.MsgERC20DeployedClaim.event_nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='block_height', full_name='injective.peggy.v1.MsgERC20DeployedClaim.block_height', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cosmos_denom', full_name='injective.peggy.v1.MsgERC20DeployedClaim.cosmos_denom', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='token_contract', full_name='injective.peggy.v1.MsgERC20DeployedClaim.token_contract', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='name', full_name='injective.peggy.v1.MsgERC20DeployedClaim.name', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='symbol', full_name='injective.peggy.v1.MsgERC20DeployedClaim.symbol', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='decimals', full_name='injective.peggy.v1.MsgERC20DeployedClaim.decimals', index=6, number=7, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgERC20DeployedClaim.orchestrator', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1266, serialized_end=1448, ) _MSGERC20DEPLOYEDCLAIMRESPONSE = _descriptor.Descriptor( name='MsgERC20DeployedClaimResponse', full_name='injective.peggy.v1.MsgERC20DeployedClaimResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1450, serialized_end=1481, ) _MSGCANCELSENDTOETH = _descriptor.Descriptor( name='MsgCancelSendToEth', full_name='injective.peggy.v1.MsgCancelSendToEth', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='transaction_id', full_name='injective.peggy.v1.MsgCancelSendToEth.transaction_id', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sender', full_name='injective.peggy.v1.MsgCancelSendToEth.sender', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1483, serialized_end=1543, ) _MSGCANCELSENDTOETHRESPONSE = _descriptor.Descriptor( name='MsgCancelSendToEthResponse', full_name='injective.peggy.v1.MsgCancelSendToEthResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1545, serialized_end=1573, ) _MSGSUBMITBADSIGNATUREEVIDENCE = _descriptor.Descriptor( name='MsgSubmitBadSignatureEvidence', full_name='injective.peggy.v1.MsgSubmitBadSignatureEvidence', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='subject', full_name='injective.peggy.v1.MsgSubmitBadSignatureEvidence.subject', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='signature', full_name='injective.peggy.v1.MsgSubmitBadSignatureEvidence.signature', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sender', full_name='injective.peggy.v1.MsgSubmitBadSignatureEvidence.sender', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1575, serialized_end=1680, ) _MSGSUBMITBADSIGNATUREEVIDENCERESPONSE = _descriptor.Descriptor( name='MsgSubmitBadSignatureEvidenceResponse', full_name='injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1682, serialized_end=1721, ) _MSGVALSETUPDATEDCLAIM = _descriptor.Descriptor( name='MsgValsetUpdatedClaim', full_name='injective.peggy.v1.MsgValsetUpdatedClaim', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='event_nonce', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.event_nonce', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='valset_nonce', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.valset_nonce', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='block_height', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.block_height', index=2, number=3, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='members', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.members', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='reward_amount', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.reward_amount', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='reward_token', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.reward_token', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orchestrator', full_name='injective.peggy.v1.MsgValsetUpdatedClaim.orchestrator', index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1724, serialized_end=1981, ) _MSGVALSETUPDATEDCLAIMRESPONSE = _descriptor.Descriptor( name='MsgValsetUpdatedClaimResponse', full_name='injective.peggy.v1.MsgValsetUpdatedClaimResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1983, serialized_end=2014, ) _MSGSENDTOETH.fields_by_name['amount'].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN _MSGSENDTOETH.fields_by_name['bridge_fee'].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN _MSGSUBMITBADSIGNATUREEVIDENCE.fields_by_name['subject'].message_type = google_dot_protobuf_dot_any__pb2._ANY _MSGVALSETUPDATEDCLAIM.fields_by_name['members'].message_type = injective_dot_peggy_dot_v1_dot_types__pb2._BRIDGEVALIDATOR DESCRIPTOR.message_types_by_name['MsgSetOrchestratorAddresses'] = _MSGSETORCHESTRATORADDRESSES DESCRIPTOR.message_types_by_name['MsgSetOrchestratorAddressesResponse'] = _MSGSETORCHESTRATORADDRESSESRESPONSE DESCRIPTOR.message_types_by_name['MsgValsetConfirm'] = _MSGVALSETCONFIRM DESCRIPTOR.message_types_by_name['MsgValsetConfirmResponse'] = _MSGVALSETCONFIRMRESPONSE DESCRIPTOR.message_types_by_name['MsgSendToEth'] = _MSGSENDTOETH DESCRIPTOR.message_types_by_name['MsgSendToEthResponse'] = _MSGSENDTOETHRESPONSE DESCRIPTOR.message_types_by_name['MsgRequestBatch'] = _MSGREQUESTBATCH DESCRIPTOR.message_types_by_name['MsgRequestBatchResponse'] = _MSGREQUESTBATCHRESPONSE DESCRIPTOR.message_types_by_name['MsgConfirmBatch'] = _MSGCONFIRMBATCH DESCRIPTOR.message_types_by_name['MsgConfirmBatchResponse'] = _MSGCONFIRMBATCHRESPONSE DESCRIPTOR.message_types_by_name['MsgDepositClaim'] = _MSGDEPOSITCLAIM DESCRIPTOR.message_types_by_name['MsgDepositClaimResponse'] = _MSGDEPOSITCLAIMRESPONSE DESCRIPTOR.message_types_by_name['MsgWithdrawClaim'] = _MSGWITHDRAWCLAIM DESCRIPTOR.message_types_by_name['MsgWithdrawClaimResponse'] = _MSGWITHDRAWCLAIMRESPONSE DESCRIPTOR.message_types_by_name['MsgERC20DeployedClaim'] = _MSGERC20DEPLOYEDCLAIM DESCRIPTOR.message_types_by_name['MsgERC20DeployedClaimResponse'] = _MSGERC20DEPLOYEDCLAIMRESPONSE DESCRIPTOR.message_types_by_name['MsgCancelSendToEth'] = _MSGCANCELSENDTOETH DESCRIPTOR.message_types_by_name['MsgCancelSendToEthResponse'] = _MSGCANCELSENDTOETHRESPONSE DESCRIPTOR.message_types_by_name['MsgSubmitBadSignatureEvidence'] = _MSGSUBMITBADSIGNATUREEVIDENCE DESCRIPTOR.message_types_by_name['MsgSubmitBadSignatureEvidenceResponse'] = _MSGSUBMITBADSIGNATUREEVIDENCERESPONSE DESCRIPTOR.message_types_by_name['MsgValsetUpdatedClaim'] = _MSGVALSETUPDATEDCLAIM DESCRIPTOR.message_types_by_name['MsgValsetUpdatedClaimResponse'] = _MSGVALSETUPDATEDCLAIMRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) MsgSetOrchestratorAddresses = _reflection.GeneratedProtocolMessageType('MsgSetOrchestratorAddresses', (_message.Message,), { 'DESCRIPTOR' : _MSGSETORCHESTRATORADDRESSES, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSetOrchestratorAddresses) }) _sym_db.RegisterMessage(MsgSetOrchestratorAddresses) MsgSetOrchestratorAddressesResponse = _reflection.GeneratedProtocolMessageType('MsgSetOrchestratorAddressesResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGSETORCHESTRATORADDRESSESRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSetOrchestratorAddressesResponse) }) _sym_db.RegisterMessage(MsgSetOrchestratorAddressesResponse) MsgValsetConfirm = _reflection.GeneratedProtocolMessageType('MsgValsetConfirm', (_message.Message,), { 'DESCRIPTOR' : _MSGVALSETCONFIRM, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgValsetConfirm) }) _sym_db.RegisterMessage(MsgValsetConfirm) MsgValsetConfirmResponse = _reflection.GeneratedProtocolMessageType('MsgValsetConfirmResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGVALSETCONFIRMRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgValsetConfirmResponse) }) _sym_db.RegisterMessage(MsgValsetConfirmResponse) MsgSendToEth = _reflection.GeneratedProtocolMessageType('MsgSendToEth', (_message.Message,), { 'DESCRIPTOR' : _MSGSENDTOETH, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSendToEth) }) _sym_db.RegisterMessage(MsgSendToEth) MsgSendToEthResponse = _reflection.GeneratedProtocolMessageType('MsgSendToEthResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGSENDTOETHRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSendToEthResponse) }) _sym_db.RegisterMessage(MsgSendToEthResponse) MsgRequestBatch = _reflection.GeneratedProtocolMessageType('MsgRequestBatch', (_message.Message,), { 'DESCRIPTOR' : _MSGREQUESTBATCH, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgRequestBatch) }) _sym_db.RegisterMessage(MsgRequestBatch) MsgRequestBatchResponse = _reflection.GeneratedProtocolMessageType('MsgRequestBatchResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGREQUESTBATCHRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgRequestBatchResponse) }) _sym_db.RegisterMessage(MsgRequestBatchResponse) MsgConfirmBatch = _reflection.GeneratedProtocolMessageType('MsgConfirmBatch', (_message.Message,), { 'DESCRIPTOR' : _MSGCONFIRMBATCH, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgConfirmBatch) }) _sym_db.RegisterMessage(MsgConfirmBatch) MsgConfirmBatchResponse = _reflection.GeneratedProtocolMessageType('MsgConfirmBatchResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGCONFIRMBATCHRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgConfirmBatchResponse) }) _sym_db.RegisterMessage(MsgConfirmBatchResponse) MsgDepositClaim = _reflection.GeneratedProtocolMessageType('MsgDepositClaim', (_message.Message,), { 'DESCRIPTOR' : _MSGDEPOSITCLAIM, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgDepositClaim) }) _sym_db.RegisterMessage(MsgDepositClaim) MsgDepositClaimResponse = _reflection.GeneratedProtocolMessageType('MsgDepositClaimResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGDEPOSITCLAIMRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgDepositClaimResponse) }) _sym_db.RegisterMessage(MsgDepositClaimResponse) MsgWithdrawClaim = _reflection.GeneratedProtocolMessageType('MsgWithdrawClaim', (_message.Message,), { 'DESCRIPTOR' : _MSGWITHDRAWCLAIM, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgWithdrawClaim) }) _sym_db.RegisterMessage(MsgWithdrawClaim) MsgWithdrawClaimResponse = _reflection.GeneratedProtocolMessageType('MsgWithdrawClaimResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGWITHDRAWCLAIMRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgWithdrawClaimResponse) }) _sym_db.RegisterMessage(MsgWithdrawClaimResponse) MsgERC20DeployedClaim = _reflection.GeneratedProtocolMessageType('MsgERC20DeployedClaim', (_message.Message,), { 'DESCRIPTOR' : _MSGERC20DEPLOYEDCLAIM, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgERC20DeployedClaim) }) _sym_db.RegisterMessage(MsgERC20DeployedClaim) MsgERC20DeployedClaimResponse = _reflection.GeneratedProtocolMessageType('MsgERC20DeployedClaimResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGERC20DEPLOYEDCLAIMRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgERC20DeployedClaimResponse) }) _sym_db.RegisterMessage(MsgERC20DeployedClaimResponse) MsgCancelSendToEth = _reflection.GeneratedProtocolMessageType('MsgCancelSendToEth', (_message.Message,), { 'DESCRIPTOR' : _MSGCANCELSENDTOETH, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgCancelSendToEth) }) _sym_db.RegisterMessage(MsgCancelSendToEth) MsgCancelSendToEthResponse = _reflection.GeneratedProtocolMessageType('MsgCancelSendToEthResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGCANCELSENDTOETHRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgCancelSendToEthResponse) }) _sym_db.RegisterMessage(MsgCancelSendToEthResponse) MsgSubmitBadSignatureEvidence = _reflection.GeneratedProtocolMessageType('MsgSubmitBadSignatureEvidence', (_message.Message,), { 'DESCRIPTOR' : _MSGSUBMITBADSIGNATUREEVIDENCE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSubmitBadSignatureEvidence) }) _sym_db.RegisterMessage(MsgSubmitBadSignatureEvidence) MsgSubmitBadSignatureEvidenceResponse = _reflection.GeneratedProtocolMessageType('MsgSubmitBadSignatureEvidenceResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGSUBMITBADSIGNATUREEVIDENCERESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse) }) _sym_db.RegisterMessage(MsgSubmitBadSignatureEvidenceResponse) MsgValsetUpdatedClaim = _reflection.GeneratedProtocolMessageType('MsgValsetUpdatedClaim', (_message.Message,), { 'DESCRIPTOR' : _MSGVALSETUPDATEDCLAIM, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgValsetUpdatedClaim) }) _sym_db.RegisterMessage(MsgValsetUpdatedClaim) MsgValsetUpdatedClaimResponse = _reflection.GeneratedProtocolMessageType('MsgValsetUpdatedClaimResponse', (_message.Message,), { 'DESCRIPTOR' : _MSGVALSETUPDATEDCLAIMRESPONSE, '__module__' : 'injective.peggy.v1.msgs_pb2' # @@protoc_insertion_point(class_scope:injective.peggy.v1.MsgValsetUpdatedClaimResponse) }) _sym_db.RegisterMessage(MsgValsetUpdatedClaimResponse) DESCRIPTOR._options = None _MSGSENDTOETH.fields_by_name['amount']._options = None _MSGSENDTOETH.fields_by_name['bridge_fee']._options = None _MSGDEPOSITCLAIM.fields_by_name['amount']._options = None _MSGVALSETUPDATEDCLAIM.fields_by_name['reward_amount']._options = None _MSG = _descriptor.ServiceDescriptor( name='Msg', full_name='injective.peggy.v1.Msg', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=2017, serialized_end=3749, methods=[ _descriptor.MethodDescriptor( name='ValsetConfirm', full_name='injective.peggy.v1.Msg.ValsetConfirm', index=0, containing_service=None, input_type=_MSGVALSETCONFIRM, output_type=_MSGVALSETCONFIRMRESPONSE, serialized_options=b'\202\323\344\223\002$\"\"/injective/peggy/v1/valset_confirm', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='SendToEth', full_name='injective.peggy.v1.Msg.SendToEth', index=1, containing_service=None, input_type=_MSGSENDTOETH, output_type=_MSGSENDTOETHRESPONSE, serialized_options=b'\202\323\344\223\002!\"\037/injective/peggy/v1/send_to_eth', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='RequestBatch', full_name='injective.peggy.v1.Msg.RequestBatch', index=2, containing_service=None, input_type=_MSGREQUESTBATCH, output_type=_MSGREQUESTBATCHRESPONSE, serialized_options=b'\202\323\344\223\002#\"!/injective/peggy/v1/request_batch', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ConfirmBatch', full_name='injective.peggy.v1.Msg.ConfirmBatch', index=3, containing_service=None, input_type=_MSGCONFIRMBATCH, output_type=_MSGCONFIRMBATCHRESPONSE, serialized_options=b'\202\323\344\223\002#\"!/injective/peggy/v1/confirm_batch', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='DepositClaim', full_name='injective.peggy.v1.Msg.DepositClaim', index=4, containing_service=None, input_type=_MSGDEPOSITCLAIM, output_type=_MSGDEPOSITCLAIMRESPONSE, serialized_options=b'\202\323\344\223\002#\"!/injective/peggy/v1/deposit_claim', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='WithdrawClaim', full_name='injective.peggy.v1.Msg.WithdrawClaim', index=5, containing_service=None, input_type=_MSGWITHDRAWCLAIM, output_type=_MSGWITHDRAWCLAIMRESPONSE, serialized_options=b'\202\323\344\223\002$\"\"/injective/peggy/v1/withdraw_claim', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ValsetUpdateClaim', full_name='injective.peggy.v1.Msg.ValsetUpdateClaim', index=6, containing_service=None, input_type=_MSGVALSETUPDATEDCLAIM, output_type=_MSGVALSETUPDATEDCLAIMRESPONSE, serialized_options=b'\202\323\344\223\002*\"(/injective/peggy/v1/valset_updated_claim', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ERC20DeployedClaim', full_name='injective.peggy.v1.Msg.ERC20DeployedClaim', index=7, containing_service=None, input_type=_MSGERC20DEPLOYEDCLAIM, output_type=_MSGERC20DEPLOYEDCLAIMRESPONSE, serialized_options=b'\202\323\344\223\002*\"(/injective/peggy/v1/erc20_deployed_claim', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='SetOrchestratorAddresses', full_name='injective.peggy.v1.Msg.SetOrchestratorAddresses', index=8, containing_service=None, input_type=_MSGSETORCHESTRATORADDRESSES, output_type=_MSGSETORCHESTRATORADDRESSESRESPONSE, serialized_options=b'\202\323\344\223\002.\",/injective/peggy/v1/set_orchestrator_address', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='CancelSendToEth', full_name='injective.peggy.v1.Msg.CancelSendToEth', index=9, containing_service=None, input_type=_MSGCANCELSENDTOETH, output_type=_MSGCANCELSENDTOETHRESPONSE, serialized_options=b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='SubmitBadSignatureEvidence', full_name='injective.peggy.v1.Msg.SubmitBadSignatureEvidence', index=10, containing_service=None, input_type=_MSGSUBMITBADSIGNATUREEVIDENCE, output_type=_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE, serialized_options=b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence', create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_MSG) DESCRIPTOR.services_by_name['Msg'] = _MSG # @@protoc_insertion_point(module_scope)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 262, 8435, 11876, 17050, 13, 220, 8410, 5626, 48483, 0, 198, 2, 2723, 25, 8677, 425, 14, 431, 19970, 14, 85, 16, 14, 907, 14542, 13, 1676, 1462, 198, 37811, 8645, 515, 8435, 11876, 2438, 526, 15931, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 43087, 355, 4808, 20147, 1968, 273, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 3275, 355, 4808, 20500, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 14580, 355, 4808, 5420, 1564, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 6194, 62, 48806, 355, 4808, 1837, 23650, 62, 48806, 198, 2, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 320, 3742, 8, 198, 198, 62, 37047, 62, 9945, 796, 4808, 1837, 23650, 62, 48806, 13, 19463, 3419, 628, 198, 6738, 39385, 13, 8692, 13, 85, 16, 31361, 16, 1330, 10752, 62, 40842, 17, 355, 39385, 62, 26518, 62, 8692, 62, 26518, 62, 85, 16, 31361, 16, 62, 26518, 62, 3630, 834, 40842, 17, 198, 6738, 467, 70, 404, 305, 1462, 1330, 467, 2188, 62, 40842, 17, 355, 467, 70, 404, 305, 1462, 62, 26518, 62, 70, 24076, 834, 40842, 17, 198, 6738, 23645, 13, 15042, 1330, 37647, 62, 40842, 17, 355, 23645, 62, 26518, 62, 15042, 62, 26518, 62, 34574, 602, 834, 40842, 17, 198, 6738, 8677, 425, 13, 431, 19970, 13, 85, 16, 1330, 3858, 62, 40842, 17, 355, 8677, 425, 62, 26518, 62, 431, 19970, 62, 26518, 62, 85, 16, 62, 26518, 62, 19199, 834, 40842, 17, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 597, 62, 40842, 17, 355, 23645, 62, 26518, 62, 11235, 672, 3046, 62, 26518, 62, 1092, 834, 40842, 17, 628, 198, 30910, 36584, 32961, 796, 4808, 20147, 1968, 273, 13, 8979, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 907, 14542, 13, 1676, 1462, 3256, 198, 220, 5301, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 3256, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 11389, 1143, 62, 25811, 28, 65, 6, 57, 42, 12567, 13, 785, 14, 818, 752, 425, 43, 8937, 14, 259, 752, 425, 12, 7295, 14, 259, 752, 425, 12, 7983, 14, 18170, 14, 431, 19970, 14, 19199, 3256, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 11389, 1143, 62, 40842, 28, 65, 6, 59, 77, 59, 87, 16, 25194, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 907, 14542, 13, 1676, 1462, 59, 87, 1065, 59, 87, 1065, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 59, 87, 16, 64, 59, 87, 16, 68, 59, 87, 5066, 418, 16785, 14, 8692, 14, 85, 16, 31361, 16, 14, 3630, 13, 1676, 1462, 59, 87, 16, 64, 59, 87, 1415, 70, 519, 404, 305, 1462, 14, 70, 24076, 13, 1676, 1462, 59, 87, 16, 64, 59, 87, 16, 66, 13297, 14, 15042, 14, 34574, 602, 13, 1676, 1462, 59, 87, 16, 64, 59, 87, 16, 68, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 19199, 13, 1676, 1462, 59, 87, 16, 64, 59, 87, 1129, 13297, 14, 11235, 672, 3046, 14, 1092, 13, 1676, 1462, 7879, 55, 59, 77, 59, 87, 16, 65, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 59, 87, 1065, 59, 87, 15, 68, 59, 77, 59, 87, 3312, 82, 2194, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 400, 62, 21975, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 7879, 4, 59, 77, 2, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 7879, 62, 59, 77, 59, 87, 940, 50108, 53, 874, 316, 18546, 2533, 59, 87, 1065, 59, 81, 59, 77, 59, 87, 2713, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 400, 62, 21975, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 912, 570, 1300, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 83, 7879, 59, 87, 16, 64, 59, 77, 59, 87, 1507, 50108, 53, 874, 316, 18546, 2533, 31077, 7879, 59, 87, 4846, 59, 87, 486, 59, 77, 59, 87, 15, 66, 50108, 25206, 2514, 40226, 59, 87, 1065, 59, 87, 15, 68, 59, 77, 59, 87, 3312, 82, 2194, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 940, 59, 77, 59, 87, 2919, 59, 87, 2996, 400, 62, 16520, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 59, 87, 1065, 14, 59, 77, 59, 87, 3312, 59, 87, 5333, 14948, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1129, 13, 6966, 16785, 13, 8692, 13, 85, 16, 31361, 16, 13, 24387, 33, 59, 87, 3023, 59, 25306, 23, 59, 87, 2934, 59, 87, 16, 69, 59, 87, 405, 59, 87, 1065, 59, 87, 2091, 59, 77, 59, 77, 9458, 62, 39071, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1129, 13, 6966, 16785, 13, 8692, 13, 85, 16, 31361, 16, 13, 24387, 33, 59, 87, 3023, 59, 25306, 23, 59, 87, 2934, 59, 87, 16, 69, 59, 87, 405, 7879, 59, 87, 1433, 59, 77, 59, 87, 1415, 50108, 25206, 2514, 40226, 31077, 7879, 21, 59, 77, 59, 87, 15, 69, 50108, 18453, 33, 963, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 81, 59, 77, 59, 87, 2713, 59, 87, 2414, 59, 87, 2996, 26601, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 7879, 59, 87, 1129, 59, 77, 59, 87, 1558, 50108, 18453, 33, 963, 31077, 7879, 84, 59, 77, 59, 87, 15, 69, 50108, 18546, 2533, 33, 963, 59, 87, 1065, 59, 81, 59, 77, 59, 87, 2713, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 316, 4233, 62, 28484, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1065, 59, 77, 59, 77, 2788, 62, 12683, 263, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 912, 570, 1300, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 83, 7879, 59, 87, 1129, 59, 77, 59, 87, 1558, 50108, 18546, 2533, 33, 963, 31077, 7879, 59, 87, 17896, 59, 87, 486, 59, 77, 59, 87, 15, 69, 50108, 12156, 7434, 44819, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 1151, 62, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5237, 5354, 62, 17015, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 316, 4233, 62, 28484, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 59, 87, 1065, 29, 59, 77, 59, 87, 3312, 59, 87, 5333, 14948, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 83, 33, 13, 59, 87, 6814, 59, 87, 2934, 59, 87, 16, 69, 5, 12567, 13, 785, 14, 6966, 16785, 14, 6966, 16785, 12, 21282, 74, 14, 19199, 13, 5317, 59, 25306, 23, 59, 87, 2934, 59, 87, 16, 69, 59, 87, 405, 59, 87, 1065, 59, 87, 1558, 59, 77, 59, 87, 15, 69, 59, 87, 2996, 17733, 62, 82, 2194, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1558, 59, 77, 59, 87, 15, 69, 59, 87, 5066, 418, 16785, 62, 260, 39729, 59, 87, 1507, 59, 87, 3312, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2998, 3467, 87, 486, 38016, 83, 7879, 59, 87, 1129, 59, 77, 59, 87, 1558, 50108, 12156, 7434, 44819, 31077, 7879, 59, 87, 1795, 59, 87, 486, 59, 77, 59, 87, 940, 50108, 3152, 19334, 44819, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 1151, 62, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5237, 5354, 62, 17015, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 5237, 59, 87, 5333, 38664, 62, 13159, 344, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 316, 4233, 62, 28484, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 83, 7879, 59, 87, 16, 64, 59, 77, 59, 87, 1507, 50108, 3152, 19334, 44819, 31077, 7879, 59, 30894, 21, 59, 87, 486, 59, 77, 59, 87, 1314, 50108, 47691, 1238, 49322, 276, 44819, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 1151, 62, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5237, 5354, 62, 17015, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5066, 418, 16785, 62, 6559, 296, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 316, 4233, 62, 28484, 59, 87, 1507, 59, 87, 3023, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 15, 66, 59, 77, 59, 87, 3023, 3672, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 15, 68, 59, 77, 59, 87, 3312, 1837, 23650, 59, 87, 1507, 59, 87, 3312, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 940, 59, 77, 59, 87, 2919, 59, 87, 2414, 59, 87, 2996, 59, 87, 5066, 320, 874, 59, 87, 1507, 59, 87, 2998, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2919, 3467, 87, 486, 38016, 83, 7879, 59, 87, 16, 69, 59, 77, 59, 87, 16, 67, 50108, 47691, 1238, 49322, 276, 44819, 31077, 7879, 27, 59, 77, 59, 87, 1065, 50108, 34, 21130, 25206, 2514, 40226, 59, 87, 1065, 59, 87, 1433, 59, 77, 59, 87, 15, 21879, 504, 2673, 62, 312, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 15, 68, 59, 77, 59, 87, 3312, 82, 2194, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 7879, 59, 87, 16, 66, 59, 77, 59, 87, 16, 64, 50108, 34, 21130, 25206, 2514, 40226, 31077, 7879, 72, 59, 77, 59, 87, 16, 67, 50108, 45135, 22069, 11712, 1300, 46785, 59, 87, 1065, 4, 59, 77, 59, 87, 2998, 32796, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 15, 65, 59, 87, 2624, 59, 87, 1415, 13, 13297, 13, 11235, 672, 3046, 13, 7149, 59, 87, 1065, 59, 87, 1157, 59, 77, 59, 912, 570, 1300, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 15, 68, 59, 77, 59, 87, 3312, 82, 2194, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 83, 7879, 43054, 59, 77, 4, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 7879, 59, 87, 6659, 59, 87, 2999, 59, 77, 59, 87, 1314, 50108, 53, 874, 316, 17354, 44819, 59, 87, 1065, 59, 87, 1485, 59, 77, 59, 87, 15, 65, 59, 87, 2996, 1151, 62, 13159, 344, 59, 87, 1507, 59, 87, 486, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 12786, 316, 62, 13159, 344, 59, 87, 1507, 59, 87, 2999, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 66, 59, 87, 5237, 5354, 62, 17015, 59, 87, 1507, 59, 87, 3070, 3467, 87, 486, 38016, 87, 3023, 59, 87, 1065, 59, 87, 2682, 59, 77, 59, 87, 2998, 30814, 59, 87, 1507, 59, 87, 3023, 3467, 87, 3070, 38016, 87, 15, 65, 59, 87, 2624, 2, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 37385, 47139, 1352, 59, 87, 1065, 59, 87, 2231, 59, 77, 59, 81, 260, 904, 62, 17287, 59, 87, 1507, 59, 87, 2713, 3467, 87, 486, 38016, 83, 33, 13, 59, 87, 6814, 59, 87, 2934, 59, 87, 16, 69, 5, 12567, 13, 785, 14, 6966, 16785, 14, 6966, 16785, 12, 21282, 74, 14, 19199, 13, 5317, 59, 25306, 23, 59, 87, 2934, 59, 87, 16, 69, 59, 87, 405, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 7513, 904, 62, 30001, 59, 87, 1507, 59, 87, 3312, 3467, 87, 486, 38016, 83, 59, 87, 1065, 59, 87, 1415, 59, 77, 59, 87, 15, 10215, 2395, 2536, 1352, 59, 87, 1507, 59, 87, 2998, 3467, 87, 486, 38016, 83, 7879, 59, 87, 16, 69, 59, 77, 59, 87, 16, 67, 50108, 53, 874, 316, 17354, 44819, 31077, 17, 59, 25306, 19, 59, 81, 59, 77, 59, 87, 3070, 50108, 59, 87, 1065, 59, 87, 23, 69, 59, 87, 486, 59, 77, 59, 81, 53, 874, 316, 18546, 2533, 59, 87, 1065, 35307, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 59, 87, 16, 64, 38508, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 31077, 7879, 9, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 3, 7879, 7879, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 12786, 316, 62, 10414, 2533, 59, 87, 1065, 59, 87, 1795, 59, 87, 486, 59, 77, 59, 83, 25206, 2514, 40226, 59, 87, 1065, 764, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 59, 87, 16, 64, 7, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 31077, 7879, 43054, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 0, 7879, 59, 87, 16, 69, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 21280, 62, 1462, 62, 2788, 59, 87, 1065, 59, 87, 23, 65, 59, 87, 486, 59, 77, 59, 87, 15, 66, 18453, 33, 963, 59, 87, 1065, 2, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 59, 87, 16, 64, 27613, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 31077, 59, 4943, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 25927, 62, 43501, 59, 87, 1065, 59, 87, 23, 65, 59, 87, 486, 59, 77, 59, 87, 15, 66, 59, 87, 3559, 261, 69, 2533, 33, 963, 59, 87, 1065, 2, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 59, 87, 16, 64, 27613, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 31077, 59, 4943, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 10414, 2533, 62, 43501, 59, 87, 1065, 59, 87, 23, 65, 59, 87, 486, 59, 77, 59, 87, 15, 66, 59, 87, 2598, 59, 87, 2996, 1930, 270, 44819, 59, 87, 1065, 2, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 59, 87, 16, 64, 27613, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 31077, 59, 4943, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 10378, 7434, 62, 6604, 59, 87, 1065, 59, 87, 23, 69, 59, 87, 486, 59, 77, 59, 81, 3152, 19334, 44819, 59, 87, 1065, 35307, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 59, 87, 16, 64, 38508, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 31077, 7879, 9, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 3, 7879, 7879, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 4480, 19334, 62, 6604, 59, 87, 1065, 59, 27865, 18, 59, 87, 486, 59, 77, 59, 87, 1157, 53, 874, 316, 10260, 44819, 59, 87, 1065, 737, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 59, 87, 16, 64, 59, 87, 3132, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 31077, 7879, 15, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 9, 7879, 7, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 12786, 316, 62, 43162, 62, 6604, 59, 87, 1065, 59, 27865, 19, 59, 87, 486, 59, 77, 59, 87, 1065, 59, 87, 2231, 7397, 1238, 49322, 276, 44819, 59, 87, 1065, 737, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 59, 87, 16, 64, 59, 87, 3132, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 31077, 7879, 15, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 9, 7879, 7, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 2798, 1238, 62, 2934, 1420, 276, 62, 6604, 59, 87, 1065, 59, 87, 7012, 59, 87, 486, 59, 77, 59, 87, 1507, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 59, 87, 1065, 11757, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 59, 87, 16, 64, 59, 87, 2718, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 7879, 19, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 13, 34607, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 2617, 62, 273, 2395, 2536, 1352, 62, 21975, 59, 87, 1065, 59, 87, 2079, 59, 87, 486, 59, 77, 59, 87, 15, 69, 59, 87, 3559, 59, 87, 5333, 1198, 75, 25206, 2514, 40226, 59, 87, 1065, 5, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 59, 87, 16, 64, 492, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 31077, 59, 1911, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 7, 7879, 5, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 66, 21130, 62, 21280, 62, 1462, 62, 2788, 59, 87, 1065, 59, 25306, 20, 59, 87, 486, 59, 77, 59, 87, 16, 64, 45135, 22069, 11712, 1300, 46785, 59, 87, 1065, 59, 87, 3132, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 59, 87, 16, 64, 59, 87, 2670, 13, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 7879, 24, 59, 87, 6469, 59, 24954, 18, 59, 27705, 19, 59, 87, 6052, 59, 87, 2999, 59, 87, 2091, 7879, 16, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 46002, 62, 14774, 62, 12683, 1300, 62, 46817, 12261, 57, 42, 12567, 13, 785, 14, 818, 752, 425, 43, 8937, 14, 259, 752, 425, 12, 7295, 14, 259, 752, 425, 12, 7983, 14, 18170, 14, 431, 19970, 14, 19199, 65, 59, 87, 3312, 1676, 1462, 18, 6, 198, 220, 837, 198, 220, 20086, 41888, 6966, 16785, 62, 26518, 62, 8692, 62, 26518, 62, 85, 16, 31361, 16, 62, 26518, 62, 3630, 834, 40842, 17, 13, 30910, 36584, 32961, 11, 70, 519, 404, 305, 1462, 62, 26518, 62, 70, 24076, 834, 40842, 17, 13, 30910, 36584, 32961, 11, 13297, 62, 26518, 62, 15042, 62, 26518, 62, 34574, 602, 834, 40842, 17, 13, 30910, 36584, 32961, 11, 259, 752, 425, 62, 26518, 62, 431, 19970, 62, 26518, 62, 85, 16, 62, 26518, 62, 19199, 834, 40842, 17, 13, 30910, 36584, 32961, 11, 13297, 62, 26518, 62, 11235, 672, 3046, 62, 26518, 62, 1092, 834, 40842, 17, 13, 30910, 36584, 32961, 11, 12962, 628, 628, 198, 62, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 82, 2194, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 13, 82, 2194, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 2788, 62, 21975, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 13, 2788, 62, 21975, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 25272, 11, 198, 220, 11389, 1143, 62, 437, 28, 30336, 11, 198, 8, 628, 198, 62, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 27033, 11, 198, 220, 11389, 1143, 62, 437, 28, 32637, 11, 198, 8, 628, 198, 62, 5653, 37094, 23333, 2767, 10943, 39776, 44, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 53, 874, 316, 18546, 2533, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 13, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 2788, 62, 21975, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 13, 2788, 62, 21975, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 12683, 1300, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 13, 12683, 1300, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 26582, 11, 198, 220, 11389, 1143, 62, 437, 28, 27211, 11, 198, 8, 628, 198, 62, 5653, 37094, 23333, 2767, 10943, 39776, 13599, 1546, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 53, 874, 316, 18546, 2533, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 44361, 11, 198, 220, 11389, 1143, 62, 437, 28, 31115, 11, 198, 8, 628, 198, 62, 5653, 14313, 10619, 10468, 20702, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 25206, 2514, 40226, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 82, 2194, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 13, 82, 2194, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 2788, 62, 16520, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 13, 2788, 62, 16520, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 17287, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 13, 17287, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 26717, 59, 29211, 59, 15, 2718, 59, 830, 3256, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 9458, 62, 39071, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 13, 9458, 62, 39071, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 26717, 59, 29211, 59, 15, 2718, 59, 830, 3256, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 36330, 11, 198, 220, 11389, 1143, 62, 437, 28, 41706, 11, 198, 8, 628, 198, 62, 5653, 14313, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 25206, 2514, 40226, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 35642, 11, 198, 220, 11389, 1143, 62, 437, 28, 26704, 11, 198, 8, 628, 198, 62, 5653, 28934, 35780, 33, 11417, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 18453, 33, 963, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 6559, 296, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 13, 6559, 296, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 49856, 11, 198, 220, 11389, 1143, 62, 437, 28, 48564, 11, 198, 8, 628, 198, 62, 5653, 28934, 35780, 33, 11417, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 18453, 33, 963, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 47521, 11, 198, 220, 11389, 1143, 62, 437, 28, 32583, 11, 198, 8, 628, 198, 62, 5653, 38, 10943, 39776, 10744, 11417, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 18546, 2533, 33, 963, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 13, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 30001, 62, 28484, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 13, 30001, 62, 28484, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 2788, 62, 12683, 263, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 13, 2788, 62, 12683, 263, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 12683, 1300, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 13, 12683, 1300, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 43147, 11, 198, 220, 11389, 1143, 62, 437, 28, 23, 1983, 11, 198, 8, 628, 198, 62, 5653, 38, 10943, 39776, 10744, 11417, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 18546, 2533, 33, 963, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 23, 1959, 11, 198, 220, 11389, 1143, 62, 437, 28, 23, 4051, 11, 198, 8, 628, 198, 62, 5653, 38, 7206, 37997, 2043, 48778, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 12156, 7434, 44819, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 15596, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 15596, 62, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 9967, 62, 17015, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 9967, 62, 17015, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 30001, 62, 28484, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 30001, 62, 28484, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 17287, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 17287, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 32148, 59, 29211, 59, 15, 2718, 5, 12567, 13, 785, 14, 6966, 16785, 14, 6966, 16785, 12, 21282, 74, 14, 19199, 13, 5317, 59, 26717, 59, 29211, 59, 15, 2718, 59, 830, 3256, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 316, 1456, 388, 62, 82, 2194, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 316, 1456, 388, 62, 82, 2194, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 6966, 16785, 62, 260, 39729, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 6966, 16785, 62, 260, 39729, 3256, 6376, 28, 20, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 21, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 21, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 22, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 23, 3553, 11, 198, 220, 11389, 1143, 62, 437, 28, 940, 3324, 11, 198, 8, 628, 198, 62, 5653, 38, 7206, 37997, 2043, 48778, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 12156, 7434, 44819, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 940, 3720, 11, 198, 220, 11389, 1143, 62, 437, 28, 11442, 19, 11, 198, 8, 628, 198, 62, 5653, 33191, 2043, 10227, 20530, 48778, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 3152, 19334, 44819, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 15596, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 13, 15596, 62, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 9967, 62, 17015, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 13, 9967, 62, 17015, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 43501, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 13, 43501, 62, 13159, 344, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 30001, 62, 28484, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 13, 30001, 62, 28484, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 11442, 22, 11, 198, 220, 11389, 1143, 62, 437, 28, 1065, 2327, 11, 198, 8, 628, 198, 62, 5653, 33191, 2043, 10227, 20530, 48778, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 3152, 19334, 44819, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1065, 2718, 11, 198, 220, 11389, 1143, 62, 437, 28, 1065, 5066, 11, 198, 8, 628, 198, 62, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 47691, 1238, 49322, 276, 44819, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 15596, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 15596, 62, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 9967, 62, 17015, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 9967, 62, 17015, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 6966, 16785, 62, 6559, 296, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 6966, 16785, 62, 6559, 296, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 30001, 62, 28484, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 30001, 62, 28484, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 3672, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 3672, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 1837, 23650, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 1837, 23650, 3256, 6376, 28, 20, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 21, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 12501, 320, 874, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 12501, 320, 874, 3256, 6376, 28, 21, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 22, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 22, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 23, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1065, 2791, 11, 198, 220, 11389, 1143, 62, 437, 28, 1415, 2780, 11, 198, 8, 628, 198, 62, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 47691, 1238, 49322, 276, 44819, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1415, 1120, 11, 198, 220, 11389, 1143, 62, 437, 28, 1415, 6659, 11, 198, 8, 628, 198, 62, 5653, 15916, 20940, 37142, 10619, 10468, 20702, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 34, 21130, 25206, 2514, 40226, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 7645, 2673, 62, 312, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 13, 7645, 2673, 62, 312, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 82, 2194, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 13, 82, 2194, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1415, 5999, 11, 198, 220, 11389, 1143, 62, 437, 28, 1314, 3559, 11, 198, 8, 628, 198, 62, 5653, 15916, 20940, 37142, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 34, 21130, 25206, 2514, 40226, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1314, 2231, 11, 198, 220, 11389, 1143, 62, 437, 28, 1314, 4790, 11, 198, 8, 628, 198, 62, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 18310, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 45135, 22069, 11712, 1300, 46785, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 32796, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 13, 32796, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 12683, 1300, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 13, 12683, 1300, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 82, 2194, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 13, 82, 2194, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1314, 2425, 11, 198, 220, 11389, 1143, 62, 437, 28, 1433, 1795, 11, 198, 8, 628, 198, 62, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 24181, 1137, 1546, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1433, 6469, 11, 198, 220, 11389, 1143, 62, 437, 28, 1558, 2481, 11, 198, 8, 628, 198, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 53, 874, 316, 17354, 44819, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 15596, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 15596, 62, 13159, 344, 3256, 6376, 28, 15, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 16, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 12786, 316, 62, 13159, 344, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 12786, 316, 62, 13159, 344, 3256, 6376, 28, 16, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 17, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 9967, 62, 17015, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 9967, 62, 17015, 3256, 6376, 28, 17, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 18, 11, 2099, 28, 19, 11, 269, 381, 62, 4906, 28, 19, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 15, 11, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 30814, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 30814, 3256, 6376, 28, 18, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 19, 11, 2099, 28, 1157, 11, 269, 381, 62, 4906, 28, 940, 11, 6167, 28, 18, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 41888, 4357, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 260, 904, 62, 17287, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 260, 904, 62, 17287, 3256, 6376, 28, 19, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 20, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 32148, 59, 29211, 59, 15, 2718, 5, 12567, 13, 785, 14, 6966, 16785, 14, 6966, 16785, 12, 21282, 74, 14, 19199, 13, 5317, 59, 26717, 59, 29211, 59, 15, 2718, 59, 830, 3256, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 260, 904, 62, 30001, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 260, 904, 62, 30001, 3256, 6376, 28, 20, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 21, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 220, 220, 4808, 20147, 1968, 273, 13, 15878, 24564, 1968, 273, 7, 198, 220, 220, 220, 220, 220, 1438, 11639, 273, 2395, 2536, 1352, 3256, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 13, 273, 2395, 2536, 1352, 3256, 6376, 28, 21, 11, 198, 220, 220, 220, 220, 220, 1271, 28, 22, 11, 2099, 28, 24, 11, 269, 381, 62, 4906, 28, 24, 11, 6167, 28, 16, 11, 198, 220, 220, 220, 220, 220, 468, 62, 12286, 62, 8367, 28, 25101, 11, 4277, 62, 8367, 28, 65, 1, 1911, 12501, 1098, 10786, 40477, 12, 23, 33809, 198, 220, 220, 220, 220, 220, 3275, 62, 4906, 28, 14202, 11, 33829, 62, 4906, 28, 14202, 11, 7268, 62, 4906, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2302, 3004, 28, 25101, 11, 7552, 62, 29982, 28, 14202, 11, 198, 220, 220, 220, 220, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 2393, 28, 30910, 36584, 32961, 11, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 828, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 1558, 1731, 11, 198, 220, 11389, 1143, 62, 437, 28, 35411, 11, 198, 8, 628, 198, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 19535, 47, 1340, 5188, 796, 4808, 20147, 1968, 273, 13, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 53, 874, 316, 17354, 44819, 31077, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 31077, 3256, 198, 220, 29472, 28, 14202, 11, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 7268, 62, 4906, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 7032, 41888, 198, 220, 16589, 198, 220, 18366, 41888, 198, 220, 16589, 198, 220, 28376, 62, 19199, 41888, 4357, 198, 220, 33829, 62, 19199, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 318, 62, 2302, 437, 540, 28, 25101, 11, 198, 220, 15582, 11639, 1676, 1462, 18, 3256, 198, 220, 7552, 62, 81, 6231, 41888, 4357, 198, 220, 530, 1659, 82, 41888, 198, 220, 16589, 198, 220, 11389, 1143, 62, 9688, 28, 29279, 11, 198, 220, 11389, 1143, 62, 437, 28, 4967, 11, 198, 8, 198, 198, 62, 5653, 14313, 10619, 10468, 20702, 13, 25747, 62, 1525, 62, 3672, 17816, 17287, 6, 4083, 20500, 62, 4906, 796, 39385, 62, 26518, 62, 8692, 62, 26518, 62, 85, 16, 31361, 16, 62, 26518, 62, 3630, 834, 40842, 17, 13557, 8220, 1268, 198, 62, 5653, 14313, 10619, 10468, 20702, 13, 25747, 62, 1525, 62, 3672, 17816, 9458, 62, 39071, 6, 4083, 20500, 62, 4906, 796, 39385, 62, 26518, 62, 8692, 62, 26518, 62, 85, 16, 31361, 16, 62, 26518, 62, 3630, 834, 40842, 17, 13557, 8220, 1268, 198, 62, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 18310, 13, 25747, 62, 1525, 62, 3672, 17816, 32796, 6, 4083, 20500, 62, 4906, 796, 23645, 62, 26518, 62, 11235, 672, 3046, 62, 26518, 62, 1092, 834, 40842, 17, 13557, 31827, 198, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 13, 25747, 62, 1525, 62, 3672, 17816, 30814, 6, 4083, 20500, 62, 4906, 796, 8677, 425, 62, 26518, 62, 431, 19970, 62, 26518, 62, 85, 16, 62, 26518, 62, 19199, 834, 40842, 17, 13557, 11473, 2389, 8264, 23428, 2389, 25633, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 20520, 796, 4808, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 20520, 796, 4808, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 53, 874, 316, 18546, 2533, 20520, 796, 4808, 5653, 37094, 23333, 2767, 10943, 39776, 44, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 53, 874, 316, 18546, 2533, 31077, 20520, 796, 4808, 5653, 37094, 23333, 2767, 10943, 39776, 13599, 1546, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 25206, 2514, 40226, 20520, 796, 4808, 5653, 14313, 10619, 10468, 20702, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 25206, 2514, 40226, 31077, 20520, 796, 4808, 5653, 14313, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 18453, 33, 963, 20520, 796, 4808, 5653, 28934, 35780, 33, 11417, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 18453, 33, 963, 31077, 20520, 796, 4808, 5653, 28934, 35780, 33, 11417, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 18546, 2533, 33, 963, 20520, 796, 4808, 5653, 38, 10943, 39776, 10744, 11417, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 18546, 2533, 33, 963, 31077, 20520, 796, 4808, 5653, 38, 10943, 39776, 10744, 11417, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 12156, 7434, 44819, 20520, 796, 4808, 5653, 38, 7206, 37997, 2043, 48778, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 12156, 7434, 44819, 31077, 20520, 796, 4808, 5653, 38, 7206, 37997, 2043, 48778, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 3152, 19334, 44819, 20520, 796, 4808, 5653, 33191, 2043, 10227, 20530, 48778, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 3152, 19334, 44819, 31077, 20520, 796, 4808, 5653, 33191, 2043, 10227, 20530, 48778, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 47691, 1238, 49322, 276, 44819, 20520, 796, 4808, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 47691, 1238, 49322, 276, 44819, 31077, 20520, 796, 4808, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 19535, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 34, 21130, 25206, 2514, 40226, 20520, 796, 4808, 5653, 15916, 20940, 37142, 10619, 10468, 20702, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 34, 21130, 25206, 2514, 40226, 31077, 20520, 796, 4808, 5653, 15916, 20940, 37142, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 45135, 22069, 11712, 1300, 46785, 20520, 796, 4808, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 18310, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 20520, 796, 4808, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 24181, 1137, 1546, 47, 1340, 5188, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 53, 874, 316, 17354, 44819, 20520, 796, 4808, 5653, 37094, 23333, 2767, 52, 49316, 48778, 198, 30910, 36584, 32961, 13, 20500, 62, 19199, 62, 1525, 62, 3672, 17816, 50108, 53, 874, 316, 17354, 44819, 31077, 20520, 796, 4808, 5653, 37094, 23333, 2767, 52, 49316, 48778, 19535, 47, 1340, 5188, 198, 62, 37047, 62, 9945, 13, 38804, 8979, 24564, 1968, 273, 7, 30910, 36584, 32961, 8, 198, 198, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 8, 198, 198, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 31077, 8, 198, 198, 50108, 53, 874, 316, 18546, 2533, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 53, 874, 316, 18546, 2533, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 37094, 23333, 2767, 10943, 39776, 44, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 53, 874, 316, 18546, 2533, 8, 198, 198, 50108, 53, 874, 316, 18546, 2533, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 53, 874, 316, 18546, 2533, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 37094, 23333, 2767, 10943, 39776, 13599, 1546, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 18546, 2533, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 53, 874, 316, 18546, 2533, 31077, 8, 198, 198, 50108, 25206, 2514, 40226, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 25206, 2514, 40226, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 10619, 10468, 20702, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 25206, 2514, 40226, 8, 198, 198, 50108, 25206, 2514, 40226, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 25206, 2514, 40226, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 25206, 2514, 40226, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 25206, 2514, 40226, 31077, 8, 198, 198, 50108, 18453, 33, 963, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 18453, 33, 963, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 28934, 35780, 33, 11417, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 18453, 33, 963, 8, 198, 198, 50108, 18453, 33, 963, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 18453, 33, 963, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 28934, 35780, 33, 11417, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18453, 33, 963, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 18453, 33, 963, 31077, 8, 198, 198, 50108, 18546, 2533, 33, 963, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 18546, 2533, 33, 963, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 38, 10943, 39776, 10744, 11417, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 18546, 2533, 33, 963, 8, 198, 198, 50108, 18546, 2533, 33, 963, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 18546, 2533, 33, 963, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 38, 10943, 39776, 10744, 11417, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 18546, 2533, 33, 963, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 18546, 2533, 33, 963, 31077, 8, 198, 198, 50108, 12156, 7434, 44819, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 12156, 7434, 44819, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 38, 7206, 37997, 2043, 48778, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 12156, 7434, 44819, 8, 198, 198, 50108, 12156, 7434, 44819, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 12156, 7434, 44819, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 38, 7206, 37997, 2043, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 12156, 7434, 44819, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 12156, 7434, 44819, 31077, 8, 198, 198, 50108, 3152, 19334, 44819, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 3152, 19334, 44819, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 33191, 2043, 10227, 20530, 48778, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 3152, 19334, 44819, 8, 198, 198, 50108, 3152, 19334, 44819, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 3152, 19334, 44819, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 33191, 2043, 10227, 20530, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3152, 19334, 44819, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 3152, 19334, 44819, 31077, 8, 198, 198, 50108, 47691, 1238, 49322, 276, 44819, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 47691, 1238, 49322, 276, 44819, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 47691, 1238, 49322, 276, 44819, 8, 198, 198, 50108, 47691, 1238, 49322, 276, 44819, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 47691, 1238, 49322, 276, 44819, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 47691, 1238, 49322, 276, 44819, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 47691, 1238, 49322, 276, 44819, 31077, 8, 198, 198, 50108, 34, 21130, 25206, 2514, 40226, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 34, 21130, 25206, 2514, 40226, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 15916, 20940, 37142, 10619, 10468, 20702, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 34, 21130, 25206, 2514, 40226, 8, 198, 198, 50108, 34, 21130, 25206, 2514, 40226, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 34, 21130, 25206, 2514, 40226, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 15916, 20940, 37142, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 34, 21130, 25206, 2514, 40226, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 34, 21130, 25206, 2514, 40226, 31077, 8, 198, 198, 50108, 45135, 22069, 11712, 1300, 46785, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 45135, 22069, 11712, 1300, 46785, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 18310, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 45135, 22069, 11712, 1300, 46785, 8, 198, 198, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 24181, 1137, 1546, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 45135, 22069, 11712, 1300, 46785, 31077, 8, 198, 198, 50108, 53, 874, 316, 17354, 44819, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 53, 874, 316, 17354, 44819, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 37094, 23333, 2767, 52, 49316, 48778, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 53, 874, 316, 17354, 44819, 8, 198, 198, 50108, 53, 874, 316, 17354, 44819, 31077, 796, 4808, 5420, 1564, 13, 8645, 515, 19703, 4668, 12837, 6030, 10786, 50108, 53, 874, 316, 17354, 44819, 31077, 3256, 44104, 20500, 13, 12837, 11, 828, 1391, 198, 220, 705, 30910, 36584, 32961, 6, 1058, 4808, 5653, 37094, 23333, 2767, 52, 49316, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 705, 834, 21412, 834, 6, 1058, 705, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 907, 14542, 62, 40842, 17, 6, 198, 220, 1303, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 4871, 62, 29982, 25, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 53, 874, 316, 17354, 44819, 31077, 8, 198, 220, 32092, 198, 62, 37047, 62, 9945, 13, 38804, 12837, 7, 50108, 53, 874, 316, 17354, 44819, 31077, 8, 628, 198, 30910, 36584, 32961, 13557, 25811, 796, 6045, 198, 62, 5653, 14313, 10619, 10468, 20702, 13, 25747, 62, 1525, 62, 3672, 17816, 17287, 6, 4083, 62, 25811, 796, 6045, 198, 62, 5653, 14313, 10619, 10468, 20702, 13, 25747, 62, 1525, 62, 3672, 17816, 9458, 62, 39071, 6, 4083, 62, 25811, 796, 6045, 198, 62, 5653, 38, 7206, 37997, 2043, 48778, 13, 25747, 62, 1525, 62, 3672, 17816, 17287, 6, 4083, 62, 25811, 796, 6045, 198, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 13, 25747, 62, 1525, 62, 3672, 17816, 260, 904, 62, 17287, 6, 4083, 62, 25811, 796, 6045, 198, 198, 62, 5653, 38, 796, 4808, 20147, 1968, 273, 13, 16177, 24564, 1968, 273, 7, 198, 220, 1438, 11639, 50108, 3256, 198, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 3256, 198, 220, 2393, 28, 30910, 36584, 32961, 11, 198, 220, 6376, 28, 15, 11, 198, 220, 11389, 1143, 62, 25811, 28, 14202, 11, 198, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 11389, 1143, 62, 9688, 28, 5539, 11, 198, 220, 11389, 1143, 62, 437, 28, 2718, 2920, 11, 198, 220, 5050, 41888, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 53, 874, 316, 18546, 2533, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 53, 874, 316, 18546, 2533, 3256, 198, 220, 220, 220, 6376, 28, 15, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 37094, 23333, 2767, 10943, 39776, 44, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 37094, 23333, 2767, 10943, 39776, 13599, 1546, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 3, 7879, 7879, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 12786, 316, 62, 10414, 2533, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 25206, 2514, 40226, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 25206, 2514, 40226, 3256, 198, 220, 220, 220, 6376, 28, 16, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 14313, 10619, 10468, 20702, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 14313, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 0, 7879, 59, 15, 2718, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 21280, 62, 1462, 62, 2788, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 18453, 33, 963, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 18453, 33, 963, 3256, 198, 220, 220, 220, 6376, 28, 17, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 28934, 35780, 33, 11417, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 28934, 35780, 33, 11417, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 25927, 62, 43501, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 18546, 2533, 33, 963, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 18546, 2533, 33, 963, 3256, 198, 220, 220, 220, 6376, 28, 18, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 38, 10943, 39776, 10744, 11417, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 38, 10943, 39776, 10744, 11417, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 10414, 2533, 62, 43501, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 12156, 7434, 44819, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 12156, 7434, 44819, 3256, 198, 220, 220, 220, 6376, 28, 19, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 38, 7206, 37997, 2043, 48778, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 38, 7206, 37997, 2043, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 2, 7879, 48443, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 10378, 7434, 62, 6604, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 3152, 19334, 44819, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 3152, 19334, 44819, 3256, 198, 220, 220, 220, 6376, 28, 20, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 33191, 2043, 10227, 20530, 48778, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 33191, 2043, 10227, 20530, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 3, 7879, 7879, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 4480, 19334, 62, 6604, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 53, 874, 316, 10260, 44819, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 53, 874, 316, 10260, 44819, 3256, 198, 220, 220, 220, 6376, 28, 21, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 37094, 23333, 2767, 52, 49316, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 9, 7879, 7, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 12786, 316, 62, 43162, 62, 6604, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 47691, 1238, 49322, 276, 44819, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 47691, 1238, 49322, 276, 44819, 3256, 198, 220, 220, 220, 6376, 28, 22, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 30373, 34, 1238, 7206, 6489, 21414, 1961, 48778, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 9, 7879, 7, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 2798, 1238, 62, 2934, 1420, 276, 62, 6604, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 7248, 5574, 2395, 2536, 1352, 4550, 16746, 3256, 198, 220, 220, 220, 6376, 28, 23, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 14313, 2767, 1581, 3398, 1546, 5446, 25633, 2885, 7707, 7597, 1546, 19535, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 13, 34607, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 2617, 62, 273, 2395, 2536, 1352, 62, 21975, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 34, 21130, 25206, 2514, 40226, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 34, 21130, 25206, 2514, 40226, 3256, 198, 220, 220, 220, 6376, 28, 24, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 15916, 20940, 37142, 10619, 10468, 20702, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 15916, 20940, 37142, 10619, 10468, 2767, 17184, 1546, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 21601, 7, 7879, 5, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 66, 21130, 62, 21280, 62, 1462, 62, 2788, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 220, 4808, 20147, 1968, 273, 13, 17410, 24564, 1968, 273, 7, 198, 220, 220, 220, 1438, 11639, 45135, 22069, 11712, 1300, 46785, 3256, 198, 220, 220, 220, 1336, 62, 3672, 11639, 259, 752, 425, 13, 431, 19970, 13, 85, 16, 13, 50108, 13, 45135, 22069, 11712, 1300, 46785, 3256, 198, 220, 220, 220, 6376, 28, 940, 11, 198, 220, 220, 220, 7268, 62, 15271, 28, 14202, 11, 198, 220, 220, 220, 5128, 62, 4906, 28, 62, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 18310, 11, 198, 220, 220, 220, 5072, 62, 4906, 28, 62, 5653, 14313, 10526, 36393, 33, 2885, 46224, 40086, 36, 11008, 24181, 1137, 1546, 47, 1340, 5188, 11, 198, 220, 220, 220, 11389, 1143, 62, 25811, 28, 65, 6, 59, 19004, 59, 32637, 59, 33535, 59, 22047, 59, 405, 1954, 7879, 16, 14, 259, 752, 425, 14, 431, 19970, 14, 85, 16, 14, 46002, 62, 14774, 62, 12683, 1300, 62, 46817, 3256, 198, 220, 220, 220, 2251, 62, 2539, 28, 62, 20147, 1968, 273, 13557, 32538, 62, 17953, 62, 2539, 11, 198, 220, 10612, 198, 12962, 198, 62, 37047, 62, 9945, 13, 38804, 16177, 24564, 1968, 273, 28264, 5653, 38, 8, 198, 198, 30910, 36584, 32961, 13, 30416, 62, 1525, 62, 3672, 17816, 50108, 20520, 796, 4808, 5653, 38, 198, 198, 2, 25248, 11235, 420, 62, 28463, 295, 62, 4122, 7, 21412, 62, 29982, 8, 198 ]
2.384414
22,957
n = conta = soma = 0 n = int(input('Digite um valor para soma (999 para SAIR): ')) while n != 999: soma = soma + n conta = conta + 1 n = int(input('Digite um valor para soma (999 para SAIR): ')) print(f'A SOMA DOS {conta} VALORES É IGUAL Á {soma}.')
[ 77, 796, 542, 64, 796, 3870, 64, 796, 657, 198, 77, 796, 493, 7, 15414, 10786, 19511, 578, 23781, 1188, 273, 31215, 3870, 64, 357, 17032, 31215, 14719, 4663, 2599, 705, 4008, 198, 4514, 299, 14512, 36006, 25, 198, 220, 220, 220, 3870, 64, 796, 3870, 64, 1343, 299, 198, 220, 220, 220, 542, 64, 796, 542, 64, 1343, 352, 198, 220, 220, 220, 299, 796, 493, 7, 15414, 10786, 19511, 578, 23781, 1188, 273, 31215, 3870, 64, 357, 17032, 31215, 14719, 4663, 2599, 705, 4008, 198, 4798, 7, 69, 6, 32, 42121, 32, 43036, 1391, 3642, 64, 92, 26173, 1581, 1546, 43052, 35336, 25620, 6184, 223, 1391, 82, 6086, 92, 2637, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198 ]
2.193548
124
from keras.datasets import imdb import keras from keras.models import Sequential from keras.layers.embeddings import Embedding from keras.layers import Flatten, Dense from keras.preprocessing import sequence from numpy import array (x_train, y_train), (x_test, y_test) = imdb.load_data(num_words=5000) word_to_id = keras.datasets.imdb.get_word_index() word_to_id = {k:(v+3) for k,v in word_to_id.items()} word_to_id["<PAD>"] = 0 word_to_id["<START>"] = 1 word_to_id["<UNK>"] = 2 x_train = sequence.pad_sequences(x_train, maxlen=300) x_test = sequence.pad_sequences(x_test, maxlen=300) network = Sequential() network.add(Embedding(5000, 32, input_length=300)) network.add(Flatten()) network.add(Dense(1, activation='sigmoid')) network.compile(loss="binary_crossentropy", optimizer='Adam', metrics=['accuracy']) network.fit(x_train, y_train, validation_data=(x_test, y_test), epochs=3, batch_size=64) result = network.evaluate(x_test, y_test, verbose=0) negative = "this movie was bad" positive = "i had fun" negative2 = "this movie was terrible" positive2 = "i really liked the movie" for review in [positive, positive2, negative, negative2]: temp = [] for word in review.split(" "): temp.append(word_to_id[word]) temp_padded = sequence.pad_sequences([temp], maxlen=300) print(review + " -- Sent -- " + str(network.predict(array([temp_padded][0]))[0][0]))
[ 6738, 41927, 292, 13, 19608, 292, 1039, 1330, 545, 9945, 201, 198, 11748, 41927, 292, 201, 198, 6738, 41927, 292, 13, 27530, 1330, 24604, 1843, 201, 198, 6738, 41927, 292, 13, 75, 6962, 13, 20521, 67, 654, 1330, 13302, 6048, 278, 201, 198, 6738, 41927, 292, 13, 75, 6962, 1330, 1610, 41769, 11, 360, 1072, 201, 198, 6738, 41927, 292, 13, 3866, 36948, 1330, 8379, 201, 198, 6738, 299, 32152, 1330, 7177, 201, 198, 201, 198, 7, 87, 62, 27432, 11, 331, 62, 27432, 828, 357, 87, 62, 9288, 11, 331, 62, 9288, 8, 796, 545, 9945, 13, 2220, 62, 7890, 7, 22510, 62, 10879, 28, 27641, 8, 201, 198, 201, 198, 4775, 62, 1462, 62, 312, 796, 41927, 292, 13, 19608, 292, 1039, 13, 320, 9945, 13, 1136, 62, 4775, 62, 9630, 3419, 201, 198, 4775, 62, 1462, 62, 312, 796, 1391, 74, 37498, 85, 10, 18, 8, 329, 479, 11, 85, 287, 1573, 62, 1462, 62, 312, 13, 23814, 3419, 92, 201, 198, 4775, 62, 1462, 62, 312, 14692, 27, 47, 2885, 29, 8973, 796, 657, 201, 198, 4775, 62, 1462, 62, 312, 14692, 27, 2257, 7227, 29, 8973, 796, 352, 201, 198, 4775, 62, 1462, 62, 312, 14692, 27, 4944, 42, 29, 8973, 796, 362, 201, 198, 201, 198, 87, 62, 27432, 796, 8379, 13, 15636, 62, 3107, 3007, 7, 87, 62, 27432, 11, 3509, 11925, 28, 6200, 8, 201, 198, 87, 62, 9288, 796, 8379, 13, 15636, 62, 3107, 3007, 7, 87, 62, 9288, 11, 3509, 11925, 28, 6200, 8, 201, 198, 201, 198, 27349, 796, 24604, 1843, 3419, 201, 198, 27349, 13, 2860, 7, 31567, 6048, 278, 7, 27641, 11, 3933, 11, 5128, 62, 13664, 28, 6200, 4008, 201, 198, 27349, 13, 2860, 7, 7414, 41769, 28955, 201, 198, 27349, 13, 2860, 7, 35, 1072, 7, 16, 11, 14916, 11639, 82, 17225, 1868, 6, 4008, 201, 198, 27349, 13, 5589, 576, 7, 22462, 2625, 39491, 62, 19692, 298, 28338, 1600, 6436, 7509, 11639, 23159, 3256, 20731, 28, 17816, 4134, 23843, 6, 12962, 201, 198, 201, 198, 27349, 13, 11147, 7, 87, 62, 27432, 11, 331, 62, 27432, 11, 21201, 62, 7890, 16193, 87, 62, 9288, 11, 331, 62, 9288, 828, 36835, 82, 28, 18, 11, 15458, 62, 7857, 28, 2414, 8, 201, 198, 201, 198, 20274, 796, 3127, 13, 49786, 7, 87, 62, 9288, 11, 331, 62, 9288, 11, 15942, 577, 28, 15, 8, 201, 198, 201, 198, 31591, 796, 366, 5661, 3807, 373, 2089, 1, 201, 198, 24561, 796, 366, 72, 550, 1257, 1, 201, 198, 31591, 17, 796, 366, 5661, 3807, 373, 7818, 1, 201, 198, 24561, 17, 796, 366, 72, 1107, 8288, 262, 3807, 1, 201, 198, 201, 198, 1640, 2423, 287, 685, 24561, 11, 3967, 17, 11, 4633, 11, 4633, 17, 5974, 201, 198, 220, 220, 220, 20218, 796, 17635, 201, 198, 220, 220, 220, 329, 1573, 287, 2423, 13, 35312, 7203, 366, 2599, 201, 198, 220, 220, 220, 220, 220, 220, 220, 20218, 13, 33295, 7, 4775, 62, 1462, 62, 312, 58, 4775, 12962, 201, 198, 220, 220, 220, 20218, 62, 79, 29373, 796, 8379, 13, 15636, 62, 3107, 3007, 26933, 29510, 4357, 3509, 11925, 28, 6200, 8, 201, 198, 220, 220, 220, 3601, 7, 19023, 1343, 366, 1377, 11352, 1377, 366, 1343, 965, 7, 27349, 13, 79, 17407, 7, 18747, 26933, 29510, 62, 79, 29373, 7131, 15, 60, 4008, 58, 15, 7131, 15, 60, 4008, 201, 198, 201, 198 ]
2.507018
570
""" Otsu thresholding ================== This example illustrates automatic Otsu thresholding. """ import matplotlib.pyplot as plt from skimage import data from skimage import filters from skimage import exposure camera = data.camera() val = filters.threshold_otsu(camera) hist, bins_center = exposure.histogram(camera) plt.figure(figsize=(9, 4)) plt.subplot(131) plt.imshow(camera, cmap='gray', interpolation='nearest') plt.axis('off') plt.subplot(132) plt.imshow(camera < val, cmap='gray', interpolation='nearest') plt.axis('off') plt.subplot(133) plt.plot(bins_center, hist, lw=2) plt.axvline(val, color='k', ls='--') plt.tight_layout() plt.show()
[ 37811, 198, 46, 912, 84, 11387, 278, 198, 4770, 855, 198, 198, 1212, 1672, 21290, 11353, 440, 912, 84, 11387, 278, 13, 198, 37811, 198, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 6738, 1341, 9060, 1330, 1366, 198, 6738, 1341, 9060, 1330, 16628, 198, 6738, 1341, 9060, 1330, 7111, 198, 198, 25695, 796, 1366, 13, 25695, 3419, 198, 2100, 796, 16628, 13, 400, 10126, 62, 1747, 84, 7, 25695, 8, 198, 198, 10034, 11, 41701, 62, 16159, 796, 7111, 13, 10034, 21857, 7, 25695, 8, 198, 198, 489, 83, 13, 26875, 7, 5647, 7857, 16193, 24, 11, 604, 4008, 198, 489, 83, 13, 7266, 29487, 7, 22042, 8, 198, 489, 83, 13, 320, 12860, 7, 25695, 11, 269, 8899, 11639, 44605, 3256, 39555, 341, 11639, 710, 12423, 11537, 198, 489, 83, 13, 22704, 10786, 2364, 11537, 198, 489, 83, 13, 7266, 29487, 7, 19924, 8, 198, 489, 83, 13, 320, 12860, 7, 25695, 1279, 1188, 11, 269, 8899, 11639, 44605, 3256, 39555, 341, 11639, 710, 12423, 11537, 198, 489, 83, 13, 22704, 10786, 2364, 11537, 198, 489, 83, 13, 7266, 29487, 7, 16945, 8, 198, 489, 83, 13, 29487, 7, 65, 1040, 62, 16159, 11, 1554, 11, 300, 86, 28, 17, 8, 198, 489, 83, 13, 897, 85, 1370, 7, 2100, 11, 3124, 11639, 74, 3256, 43979, 11639, 438, 11537, 198, 198, 489, 83, 13, 33464, 62, 39786, 3419, 198, 489, 83, 13, 12860, 3419, 198 ]
2.726141
241
from BS.utils import read_src_bs, save_bs_dicts_to_txt, read_src_socket_bs, save_socket_bs_dicts_to_txt if __name__ == '__main__': change_template_bg()
[ 6738, 24218, 13, 26791, 1330, 1100, 62, 10677, 62, 1443, 11, 3613, 62, 1443, 62, 11600, 82, 62, 1462, 62, 14116, 11, 1100, 62, 10677, 62, 44971, 62, 1443, 11, 3613, 62, 44971, 62, 1443, 62, 11600, 82, 62, 1462, 62, 14116, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1487, 62, 28243, 62, 35904, 3419, 198 ]
2.424242
66
#!/usr/bin/env python convert("config/luxisr.ttf", "luxibytes") convert("config/luximr.ttf", "luximonobytes") convert("config/DejaVuSans.ttf", "dejabytes") convert("config/DejaVuSansMono.ttf", "dejamonobytes")
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 1102, 1851, 7203, 11250, 14, 22564, 271, 81, 13, 926, 69, 1600, 366, 22564, 571, 88, 4879, 4943, 198, 1102, 1851, 7203, 11250, 14, 22564, 320, 81, 13, 926, 69, 1600, 366, 22564, 20473, 26730, 4879, 4943, 198, 1102, 1851, 7203, 11250, 14, 5005, 6592, 53, 84, 50, 504, 13, 926, 69, 1600, 366, 2934, 73, 38346, 4943, 198, 1102, 1851, 7203, 11250, 14, 5005, 6592, 53, 84, 50, 504, 9069, 78, 13, 926, 69, 1600, 366, 2934, 73, 16487, 26730, 4879, 4943, 198 ]
2.244681
94
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Aug 25 15:32:42 2018 @author: benmo """ import pandas as pd, numpy as np from .functions import *
[ 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, 7031, 2447, 1679, 1315, 25, 2624, 25, 3682, 2864, 198, 198, 31, 9800, 25, 1888, 5908, 198, 37811, 198, 11748, 19798, 292, 355, 279, 67, 11, 299, 32152, 355, 45941, 198, 6738, 764, 12543, 2733, 1330, 1635, 628, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220 ]
2.030928
97
import poly
[ 11748, 7514, 201 ]
4
3
from src.dataset import CatDogDataset from src.utils import * from torch.utils.data import DataLoader from torch.utils.tensorboard import SummaryWriter import os _CUDA_FLAG = torch.cuda.is_available()
[ 6738, 12351, 13, 19608, 292, 316, 1330, 5181, 32942, 27354, 292, 316, 198, 6738, 12351, 13, 26791, 1330, 1635, 198, 6738, 28034, 13, 26791, 13, 7890, 1330, 6060, 17401, 198, 6738, 28034, 13, 26791, 13, 83, 22854, 3526, 1330, 21293, 34379, 198, 11748, 28686, 198, 198, 62, 43633, 5631, 62, 38948, 796, 28034, 13, 66, 15339, 13, 271, 62, 15182, 3419, 198 ]
3.258065
62
from contextvars import ContextVar current_user_role = ContextVar('role', default=None) list_of_roles = ContextVar('roles', default=None) current_user = ContextVar('users_ID', default=None) headers = ContextVar('headers', default={}) nrpayload = ContextVar('nrpayload', default=None) tid = ContextVar('tid', default=None) auth_token = ContextVar('auth', default=None) current_request = ContextVar('request', default=None) broker_instance = ContextVar('broker_instance') background_tasks = ContextVar('background_tasks', default=[]) register_actors = ContextVar("register_actors", default=None)
[ 6738, 4732, 85, 945, 1330, 30532, 19852, 628, 198, 14421, 62, 7220, 62, 18090, 796, 30532, 19852, 10786, 18090, 3256, 4277, 28, 14202, 8, 198, 4868, 62, 1659, 62, 305, 829, 796, 30532, 19852, 10786, 305, 829, 3256, 4277, 28, 14202, 8, 198, 14421, 62, 7220, 796, 30532, 19852, 10786, 18417, 62, 2389, 3256, 4277, 28, 14202, 8, 198, 50145, 796, 30532, 19852, 10786, 50145, 3256, 4277, 34758, 30072, 198, 48624, 15577, 2220, 796, 30532, 19852, 10786, 48624, 15577, 2220, 3256, 4277, 28, 14202, 8, 198, 83, 312, 796, 30532, 19852, 10786, 83, 312, 3256, 4277, 28, 14202, 8, 198, 18439, 62, 30001, 796, 30532, 19852, 10786, 18439, 3256, 4277, 28, 14202, 8, 198, 14421, 62, 25927, 796, 30532, 19852, 10786, 25927, 3256, 4277, 28, 14202, 8, 198, 7957, 6122, 62, 39098, 796, 30532, 19852, 10786, 7957, 6122, 62, 39098, 11537, 198, 25249, 62, 83, 6791, 796, 30532, 19852, 10786, 25249, 62, 83, 6791, 3256, 4277, 41888, 12962, 198, 30238, 62, 529, 669, 796, 30532, 19852, 7203, 30238, 62, 529, 669, 1600, 4277, 28, 14202, 8, 198 ]
3.367232
177