content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
# coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
from __future__ import division, unicode_literals
import unittest2 as unittest
import os
import json
import random
import numpy as np
import csv
import scipy.constants as const
from pymatgen.analysis.diffusion_analyzer import DiffusionAnalyzer,\
get_conversion_factor, fit_arrhenius
from pymatgen.core.structure import Structure
from pymatgen.util.testing import PymatgenTest
from monty.tempfile import ScratchDir
"""
TODO: Change the module doc.
"""
__author__ = "shyuepingong"
__version__ = "0.1"
__maintainer__ = "Shyue Ping Ong"
__email__ = "shyuep@gmail.com"
__status__ = "Beta"
__date__ = "5/2/13"
test_dir = os.path.join(os.path.dirname(__file__), "..", "..", "..",
'test_files')
if __name__ == '__main__':
unittest.main()
| [
2,
19617,
25,
3384,
69,
12,
23,
198,
2,
15069,
357,
66,
8,
350,
4948,
265,
5235,
7712,
4816,
13,
198,
2,
4307,
6169,
739,
262,
2846,
286,
262,
17168,
13789,
13,
198,
198,
6738,
11593,
37443,
834,
1330,
7297,
11,
28000,
1098,
62,
17201,
874,
198,
198,
11748,
555,
715,
395,
17,
355,
555,
715,
395,
198,
11748,
28686,
198,
11748,
33918,
198,
11748,
4738,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
269,
21370,
198,
11748,
629,
541,
88,
13,
9979,
1187,
355,
1500,
198,
198,
6738,
279,
4948,
265,
5235,
13,
20930,
13,
26069,
4241,
62,
38200,
9107,
1330,
10631,
4241,
37702,
9107,
11,
59,
198,
220,
220,
220,
651,
62,
1102,
9641,
62,
31412,
11,
4197,
62,
3258,
831,
3754,
198,
6738,
279,
4948,
265,
5235,
13,
7295,
13,
301,
5620,
1330,
32522,
198,
6738,
279,
4948,
265,
5235,
13,
22602,
13,
33407,
1330,
350,
4948,
265,
5235,
14402,
198,
6738,
40689,
88,
13,
29510,
7753,
1330,
1446,
36722,
35277,
198,
198,
37811,
198,
51,
3727,
46,
25,
9794,
262,
8265,
2205,
13,
198,
37811,
628,
198,
834,
9800,
834,
796,
366,
1477,
88,
518,
13886,
506,
1,
198,
834,
9641,
834,
796,
366,
15,
13,
16,
1,
198,
834,
76,
2913,
10613,
834,
796,
366,
2484,
88,
518,
34263,
48041,
1,
198,
834,
12888,
834,
796,
366,
1477,
88,
518,
79,
31,
14816,
13,
785,
1,
198,
834,
13376,
834,
796,
366,
43303,
1,
198,
834,
4475,
834,
796,
366,
20,
14,
17,
14,
1485,
1,
628,
198,
198,
9288,
62,
15908,
796,
28686,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
828,
366,
492,
1600,
366,
492,
1600,
366,
492,
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,
9288,
62,
16624,
11537,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.623145 | 337 |
import sympy
from .utils import known_equal_pair, contains_incorrect_symbols
from .utils import EqualityType
from .parsing import logic_parser, UnsafeInputException
__all__ = ["check"]
KNOWN_PAIRS = dict()
def parse_expression(expression_str, *, local_dict=None):
"""Take a string containing a mathematical expression and return a sympy expression.
Wrap the parsing class function parse_expr(...) and catch any exceptions
that occur.
- 'local_dict' can be a dictionary of (name, sympy.Symbol(...)) pairs, where
the string 'name' will not be split up and will be turned into the symbol
specified. It may be None.
"""
try:
return logic_parser.parse_expr(expression_str, local_dict=local_dict)
except logic_parser.ParsingException:
print("Incorrectly formatted expression.")
print("Fail: '{}'.".format(expression_str))
return None
def exact_match(test_expr, target_expr):
"""Test if the entered expression exactly matches the known expression.
This performs as little simplification of the boolean expression as
possible, allowing only the commutativity or AND and OR.
Returns True if the sympy expressions have the same internal structure,
and False if not.
- 'test_expr' should be the untrusted sympy expression to check.
- 'target_expr' should be the trusted sympy expression to match against.
"""
print("[EXACT TEST]")
if test_expr == target_expr:
print("Exact Match (with '==')")
return True
elif sympy.srepr(test_expr) == sympy.srepr(target_expr):
# This is a (perfectly acceptable) hack for ordering the atoms of each
# term, but a more explicit method may be preferable in the future.
print("Exact Match (with 'srepr')")
return True
else:
return False
def symbolic_equality(test_expr, target_expr):
"""Test if two expressions are symbolically equivalent.
Use the sympy 'simplify_logic' function to simplify the two boolean
expressions as much as possible. Two equilvalent expressions MUST simplify
to the same thing, and then they can be tested for equivalence again.
Returns True if sympy can determine that the two expressions are equal,
and returns False if they are not equal.
- 'test_expr' should be the untrusted sympy expression to check.
- 'target_expr' should be the trusted sympy expression to match against.
"""
print("[SYMBOLIC TEST]")
try:
simplified_target = sympy.simplify_logic(target_expr)
simplified_test = sympy.simplify_logic(test_expr)
if simplified_target == simplified_test or sympy.srepr(simplified_target) == sympy.srepr(simplified_test):
print("Symbolic match.")
print("INFO: Adding known pair ({0}, {1})".format(target_expr, test_expr))
KNOWN_PAIRS[(target_expr, test_expr)] = EqualityType.SYMBOLIC
return True
else:
return False
except NotImplementedError as e:
print("{0}: {1} - Can't check symbolic equality!".format(type(e).__name__, str(e).capitalize()))
return False
def expr_equality(test_expr, target_expr):
"""Given two sympy expressions: test for exact, symbolic and numeric equality.
Check two sympy expressions for equality, throwing a TypeError if either
of the provided sympy objects is not an expression.
- 'test_expr' should be the untrusted sympy expression to check.
- 'target_expr' should be the trusted sympy expression to match against.
"""
equality_type = EqualityType.EXACT
equal = exact_match(test_expr, target_expr)
if not equal:
# Then try checking for symbolic equality:
equality_type = EqualityType.SYMBOLIC
equal = symbolic_equality(test_expr, target_expr)
return equal, equality_type
def general_equality(test_expr, target_expr):
"""Given two general sympy objects: test for exact, symbolic and numeric equality.
- 'test_expr' should be the untrusted sympy object to check.
- 'target_expr' should be the trusted sympy object to match against.
"""
equal, equality_type = known_equal_pair(KNOWN_PAIRS, test_expr, target_expr)
# If this is a known pair: return immediately:
if equal:
return equal, equality_type
else:
print("[[EXPRESSION CHECK]]")
return expr_equality(test_expr, target_expr)
def check(test_str, target_str, *, symbols=None, check_symbols=True, description=None,
_quiet=False):
"""The main checking function, calls each of the equality checking functions as required.
Returns a dict describing the equality; with important keys being 'equal',
and 'equality_type'. The key 'error' is added if something went wrong, and
this should always be checked for first.
- 'test_str' should be the untrusted string for sympy to parse.
- 'target_str' should be the trusted string to parse and match against.
- 'symbols' should be a string list or comma separated string of symbols
not to split during parsing.
- 'check_symbols' indicates whether to verfiy the symbols used in each
expression are exactly the same or not; setting this to False will
allow symbols which cancel out to be included (probably don't want this
in questions).
- 'description' is an optional description to print before the checker's
output to stdout which can be used to improve logging.
- '_quiet' is an internal argument used to suppress some output when
this function is called from plus_minus_checker().
"""
# Suppress this output if necessary:
if not _quiet:
print("=" * 50)
# For logging purposes, if we have a description: print it!
if description is not None:
print(description)
print("=" * 50)
print("[LOGIC]")
# If nothing to parse, fail. On server, this will be caught in check_endpoint()
if (target_str == "") or (test_str == ""):
print("ERROR: No input provided!")
if not _quiet:
print("=" * 50)
return dict(error="Empty string as argument.")
# Cleanup the strings before anything is done to them:
error_is_test = False
try:
target_str = logic_parser.cleanup_string(target_str, reject_unsafe_input=True)
error_is_test = True
test_str = logic_parser.cleanup_string(test_str, reject_unsafe_input=True)
except UnsafeInputException:
print("ERROR: Input contained non-whitelisted characters!")
result = dict(error="Bad input provided!")
if error_is_test:
print("Test string: '{}'".format(test_str))
result["syntax_error"] = str(True).lower()
if not _quiet:
print("=" * 50)
return result
print("Target string: '{}'".format(target_str))
print("Test string: '{}'".format(test_str))
print("[[PARSE EXPRESSIONS]]")
# Parse the trusted target expression:
target_expr = parse_expression(target_str)
# Parse the untrusted test expression:
test_expr = parse_expression(test_str)
result = dict(target=target_str, test=test_str)
if target_expr is None:
print("ERROR: TRUSTED EXPRESSION CANNOT BE PARSED!")
if not _quiet:
print("=" * 50)
result["error"] = "Parsing TARGET Expression Failed!"
result["code"] = 400 # This is fatal!
return result
if test_expr is None:
print("Incorrectly formatted ToCheck expression.")
if not _quiet:
print("=" * 50)
result["error"] = "Parsing Test Expression Failed!"
result["syntax_error"] = str(True).lower()
return result
result["parsed_target"] = str(target_expr)
result["parsed_test"] = str(test_expr)
# Now check for symbol match and equality:
try:
print("Parsed Target: {0}\nParsed ToCheck: {1}".format(target_expr, test_expr))
if check_symbols: # Do we have same set of symbols in each?
incorrect_symbols = contains_incorrect_symbols(test_expr, target_expr)
if incorrect_symbols is not None:
print("[[RESULT]]\nEquality: False")
if not _quiet:
print("=" * 50)
result["equal"] = str(False).lower()
result["equality_type"] = EqualityType.SYMBOLIC.value
result["incorrect_symbols"] = incorrect_symbols
return result
# Then check for equality proper:
equal, equality_type = general_equality(test_expr, target_expr)
except (SyntaxError, TypeError, AttributeError) as e:
print("Error when comparing expressions: '{}'.".format(e))
if not _quiet:
print("=" * 50)
result["error"] = "Comparison of expressions failed: '{}'".format(e)
return result
print("[[RESULT]]")
if equal and (equality_type is not EqualityType.EXACT) and ((target_expr, test_expr) not in KNOWN_PAIRS):
print("INFO: Adding known pair ({0}, {1})".format(target_expr, test_expr))
KNOWN_PAIRS[(target_expr, test_expr)] = equality_type
print("Equality: {}".format(equal))
if not _quiet:
print("=" * 50)
result["equal"] = str(equal).lower()
result["equality_type"] = equality_type.value
return result
| [
11748,
10558,
88,
198,
198,
6738,
764,
26791,
1330,
1900,
62,
40496,
62,
24874,
11,
4909,
62,
1939,
47315,
62,
1837,
2022,
10220,
198,
6738,
764,
26791,
1330,
31428,
6030,
198,
6738,
764,
79,
945,
278,
1330,
9156,
62,
48610,
11,
791,
21230,
20560,
16922,
628,
198,
834,
439,
834,
796,
14631,
9122,
8973,
628,
198,
44706,
62,
4537,
4663,
50,
796,
8633,
3419,
628,
198,
4299,
21136,
62,
38011,
7,
38011,
62,
2536,
11,
1635,
11,
1957,
62,
11600,
28,
14202,
2599,
198,
220,
220,
220,
37227,
12322,
257,
4731,
7268,
257,
18069,
5408,
290,
1441,
257,
10558,
88,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
41028,
262,
32096,
1398,
2163,
21136,
62,
31937,
7,
23029,
290,
4929,
597,
13269,
198,
220,
220,
220,
220,
220,
220,
326,
3051,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
12001,
62,
11600,
6,
460,
307,
257,
22155,
286,
357,
3672,
11,
10558,
88,
13,
13940,
23650,
7,
986,
4008,
14729,
11,
810,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
4731,
705,
3672,
6,
481,
407,
307,
6626,
510,
290,
481,
307,
2900,
656,
262,
6194,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7368,
13,
632,
743,
307,
6045,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
9156,
62,
48610,
13,
29572,
62,
31937,
7,
38011,
62,
2536,
11,
1957,
62,
11600,
28,
12001,
62,
11600,
8,
198,
220,
220,
220,
2845,
9156,
62,
48610,
13,
47,
945,
278,
16922,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
30283,
306,
39559,
5408,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
39044,
25,
705,
90,
92,
30827,
13,
18982,
7,
38011,
62,
2536,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
198,
4299,
2748,
62,
15699,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
2599,
198,
220,
220,
220,
37227,
14402,
611,
262,
5982,
5408,
3446,
7466,
262,
1900,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
770,
17706,
355,
1310,
7106,
2649,
286,
262,
25131,
5408,
355,
198,
220,
220,
220,
220,
220,
220,
1744,
11,
5086,
691,
262,
725,
315,
22055,
393,
5357,
290,
6375,
13,
628,
220,
220,
220,
220,
220,
220,
16409,
6407,
611,
262,
10558,
88,
14700,
423,
262,
976,
5387,
4645,
11,
198,
220,
220,
220,
220,
220,
220,
290,
10352,
611,
407,
13,
628,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9288,
62,
31937,
6,
815,
307,
262,
1418,
81,
8459,
10558,
88,
5408,
284,
2198,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
16793,
62,
31937,
6,
815,
307,
262,
13467,
10558,
88,
5408,
284,
2872,
1028,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3601,
7203,
58,
6369,
10659,
43001,
60,
4943,
198,
220,
220,
220,
611,
1332,
62,
31937,
6624,
2496,
62,
31937,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
3109,
529,
13225,
357,
4480,
705,
855,
11537,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
1288,
361,
10558,
88,
13,
82,
260,
1050,
7,
9288,
62,
31937,
8,
6624,
10558,
88,
13,
82,
260,
1050,
7,
16793,
62,
31937,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
318,
257,
357,
25833,
306,
10909,
8,
8156,
329,
16216,
262,
23235,
286,
1123,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3381,
11,
475,
257,
517,
7952,
2446,
743,
307,
33887,
287,
262,
2003,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
3109,
529,
13225,
357,
4480,
705,
82,
260,
1050,
11537,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
198,
4299,
18975,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
2599,
198,
220,
220,
220,
37227,
14402,
611,
734,
14700,
389,
6194,
1146,
7548,
13,
628,
220,
220,
220,
220,
220,
220,
5765,
262,
10558,
88,
705,
14323,
489,
1958,
62,
6404,
291,
6,
2163,
284,
30276,
262,
734,
25131,
198,
220,
220,
220,
220,
220,
220,
14700,
355,
881,
355,
1744,
13,
4930,
1602,
346,
2100,
298,
14700,
17191,
30276,
198,
220,
220,
220,
220,
220,
220,
284,
262,
976,
1517,
11,
290,
788,
484,
460,
307,
6789,
329,
6854,
594,
757,
13,
628,
220,
220,
220,
220,
220,
220,
16409,
6407,
611,
10558,
88,
460,
5004,
326,
262,
734,
14700,
389,
4961,
11,
198,
220,
220,
220,
220,
220,
220,
290,
5860,
10352,
611,
484,
389,
407,
4961,
13,
628,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9288,
62,
31937,
6,
815,
307,
262,
1418,
81,
8459,
10558,
88,
5408,
284,
2198,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
16793,
62,
31937,
6,
815,
307,
262,
13467,
10558,
88,
5408,
284,
2872,
1028,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3601,
7203,
58,
23060,
10744,
3535,
2149,
43001,
60,
4943,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
27009,
62,
16793,
796,
10558,
88,
13,
14323,
489,
1958,
62,
6404,
291,
7,
16793,
62,
31937,
8,
198,
220,
220,
220,
220,
220,
220,
220,
27009,
62,
9288,
796,
10558,
88,
13,
14323,
489,
1958,
62,
6404,
291,
7,
9288,
62,
31937,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
27009,
62,
16793,
6624,
27009,
62,
9288,
393,
10558,
88,
13,
82,
260,
1050,
7,
14323,
489,
1431,
62,
16793,
8,
6624,
10558,
88,
13,
82,
260,
1050,
7,
14323,
489,
1431,
62,
9288,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
13940,
2022,
4160,
2872,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
10778,
25,
18247,
1900,
5166,
37913,
15,
5512,
1391,
16,
30072,
1911,
18982,
7,
16793,
62,
31937,
11,
1332,
62,
31937,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22466,
14165,
62,
4537,
4663,
50,
58,
7,
16793,
62,
31937,
11,
1332,
62,
31937,
15437,
796,
31428,
6030,
13,
23060,
10744,
3535,
2149,
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,
2845,
1892,
3546,
1154,
12061,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
90,
15,
38362,
1391,
16,
92,
532,
1680,
470,
2198,
18975,
10537,
48220,
18982,
7,
4906,
7,
68,
737,
834,
3672,
834,
11,
965,
7,
68,
737,
27544,
1096,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
198,
4299,
44052,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
2599,
198,
220,
220,
220,
37227,
15056,
734,
10558,
88,
14700,
25,
1332,
329,
2748,
11,
18975,
290,
35575,
10537,
13,
628,
220,
220,
220,
220,
220,
220,
6822,
734,
10558,
88,
14700,
329,
10537,
11,
9644,
257,
5994,
12331,
611,
2035,
198,
220,
220,
220,
220,
220,
220,
286,
262,
2810,
10558,
88,
5563,
318,
407,
281,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9288,
62,
31937,
6,
815,
307,
262,
1418,
81,
8459,
10558,
88,
5408,
284,
2198,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
16793,
62,
31937,
6,
815,
307,
262,
13467,
10558,
88,
5408,
284,
2872,
1028,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10537,
62,
4906,
796,
31428,
6030,
13,
6369,
10659,
198,
220,
220,
220,
4961,
796,
2748,
62,
15699,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
8,
198,
220,
220,
220,
611,
407,
4961,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3244,
1949,
10627,
329,
18975,
10537,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10537,
62,
4906,
796,
31428,
6030,
13,
23060,
10744,
3535,
2149,
198,
220,
220,
220,
220,
220,
220,
220,
4961,
796,
18975,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
8,
198,
220,
220,
220,
1441,
4961,
11,
10537,
62,
4906,
628,
198,
4299,
2276,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
2599,
198,
220,
220,
220,
37227,
15056,
734,
2276,
10558,
88,
5563,
25,
1332,
329,
2748,
11,
18975,
290,
35575,
10537,
13,
628,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9288,
62,
31937,
6,
815,
307,
262,
1418,
81,
8459,
10558,
88,
2134,
284,
2198,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
16793,
62,
31937,
6,
815,
307,
262,
13467,
10558,
88,
2134,
284,
2872,
1028,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4961,
11,
10537,
62,
4906,
796,
1900,
62,
40496,
62,
24874,
7,
44706,
62,
4537,
4663,
50,
11,
1332,
62,
31937,
11,
2496,
62,
31937,
8,
198,
220,
220,
220,
1303,
1002,
428,
318,
257,
1900,
5166,
25,
1441,
3393,
25,
198,
220,
220,
220,
611,
4961,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4961,
11,
10537,
62,
4906,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
30109,
6369,
32761,
2849,
5870,
25171,
11907,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
44052,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
8,
628,
198,
4299,
2198,
7,
9288,
62,
2536,
11,
2496,
62,
2536,
11,
1635,
11,
14354,
28,
14202,
11,
2198,
62,
1837,
2022,
10220,
28,
17821,
11,
6764,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
39624,
28,
25101,
2599,
198,
220,
220,
220,
37227,
464,
1388,
10627,
2163,
11,
3848,
1123,
286,
262,
10537,
10627,
5499,
355,
2672,
13,
628,
220,
220,
220,
220,
220,
220,
16409,
257,
8633,
12059,
262,
10537,
26,
351,
1593,
8251,
852,
705,
40496,
3256,
198,
220,
220,
220,
220,
220,
220,
290,
705,
48203,
62,
4906,
4458,
383,
1994,
705,
18224,
6,
318,
2087,
611,
1223,
1816,
2642,
11,
290,
198,
220,
220,
220,
220,
220,
220,
428,
815,
1464,
307,
10667,
329,
717,
13,
628,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9288,
62,
2536,
6,
815,
307,
262,
1418,
81,
8459,
4731,
329,
10558,
88,
284,
21136,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
16793,
62,
2536,
6,
815,
307,
262,
13467,
4731,
284,
21136,
290,
2872,
1028,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
1837,
2022,
10220,
6,
815,
307,
257,
4731,
1351,
393,
39650,
11266,
4731,
286,
14354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
407,
284,
6626,
1141,
32096,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
9122,
62,
1837,
2022,
10220,
6,
9217,
1771,
284,
3326,
69,
7745,
262,
14354,
973,
287,
1123,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5408,
389,
3446,
262,
976,
393,
407,
26,
4634,
428,
284,
10352,
481,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1249,
14354,
543,
14241,
503,
284,
307,
3017,
357,
26949,
836,
470,
765,
428,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
2683,
737,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
11213,
6,
318,
281,
11902,
6764,
284,
3601,
878,
262,
2198,
263,
338,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
284,
14367,
448,
543,
460,
307,
973,
284,
2987,
18931,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
705,
62,
39624,
6,
318,
281,
5387,
4578,
973,
284,
18175,
617,
5072,
618,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
428,
2163,
318,
1444,
422,
5556,
62,
40191,
62,
9122,
263,
22446,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
8105,
601,
428,
5072,
611,
3306,
25,
198,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
18931,
4959,
11,
611,
356,
423,
257,
6764,
25,
3601,
340,
0,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6764,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
11213,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
58,
25294,
2149,
60,
4943,
628,
220,
220,
220,
1303,
1002,
2147,
284,
21136,
11,
2038,
13,
1550,
4382,
11,
428,
481,
307,
4978,
287,
2198,
62,
437,
4122,
3419,
198,
220,
220,
220,
611,
357,
16793,
62,
2536,
6624,
366,
4943,
393,
357,
9288,
62,
2536,
6624,
13538,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
24908,
25,
1400,
5128,
2810,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
18224,
2625,
40613,
4731,
355,
4578,
19570,
628,
220,
220,
220,
1303,
5985,
929,
262,
13042,
878,
1997,
318,
1760,
284,
606,
25,
198,
220,
220,
220,
4049,
62,
271,
62,
9288,
796,
10352,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
2536,
796,
9156,
62,
48610,
13,
27773,
929,
62,
8841,
7,
16793,
62,
2536,
11,
4968,
62,
13271,
8635,
62,
15414,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
62,
271,
62,
9288,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
2536,
796,
9156,
62,
48610,
13,
27773,
929,
62,
8841,
7,
9288,
62,
2536,
11,
4968,
62,
13271,
8635,
62,
15414,
28,
17821,
8,
198,
220,
220,
220,
2845,
791,
21230,
20560,
16922,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
24908,
25,
23412,
7763,
1729,
12,
1929,
270,
417,
6347,
3435,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
8633,
7,
18224,
2625,
22069,
5128,
2810,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4049,
62,
271,
62,
9288,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
14402,
4731,
25,
705,
90,
92,
6,
1911,
18982,
7,
9288,
62,
2536,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
1837,
41641,
62,
18224,
8973,
796,
965,
7,
17821,
737,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
3601,
7203,
21745,
4731,
25,
705,
90,
92,
6,
1911,
18982,
7,
16793,
62,
2536,
4008,
198,
220,
220,
220,
3601,
7203,
14402,
4731,
25,
705,
90,
92,
6,
1911,
18982,
7,
9288,
62,
2536,
4008,
628,
220,
220,
220,
3601,
7203,
30109,
27082,
5188,
7788,
32761,
11053,
11907,
4943,
198,
220,
220,
220,
1303,
2547,
325,
262,
13467,
2496,
5408,
25,
198,
220,
220,
220,
2496,
62,
31937,
796,
21136,
62,
38011,
7,
16793,
62,
2536,
8,
198,
220,
220,
220,
1303,
2547,
325,
262,
1418,
81,
8459,
1332,
5408,
25,
198,
220,
220,
220,
1332,
62,
31937,
796,
21136,
62,
38011,
7,
9288,
62,
2536,
8,
628,
220,
220,
220,
1255,
796,
8633,
7,
16793,
28,
16793,
62,
2536,
11,
1332,
28,
9288,
62,
2536,
8,
628,
220,
220,
220,
611,
2496,
62,
31937,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
24908,
25,
7579,
7759,
1961,
7788,
32761,
2849,
15628,
11929,
9348,
350,
27415,
1961,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
18224,
8973,
796,
366,
47,
945,
278,
309,
46095,
41986,
22738,
2474,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
8189,
8973,
796,
7337,
220,
1303,
770,
318,
10800,
0,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
611,
1332,
62,
31937,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
30283,
306,
39559,
1675,
9787,
5408,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
18224,
8973,
796,
366,
47,
945,
278,
6208,
41986,
22738,
2474,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
1837,
41641,
62,
18224,
8973,
796,
965,
7,
17821,
737,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
1255,
14692,
79,
945,
276,
62,
16793,
8973,
796,
965,
7,
16793,
62,
31937,
8,
198,
220,
220,
220,
1255,
14692,
79,
945,
276,
62,
9288,
8973,
796,
965,
7,
9288,
62,
31937,
8,
628,
220,
220,
220,
1303,
2735,
2198,
329,
6194,
2872,
290,
10537,
25,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
47,
945,
276,
12744,
25,
1391,
15,
32239,
77,
47,
945,
276,
1675,
9787,
25,
1391,
16,
92,
1911,
18982,
7,
16793,
62,
31937,
11,
1332,
62,
31937,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2198,
62,
1837,
2022,
10220,
25,
220,
1303,
2141,
356,
423,
976,
900,
286,
14354,
287,
1123,
30,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11491,
62,
1837,
2022,
10220,
796,
4909,
62,
1939,
47315,
62,
1837,
2022,
10220,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
11491,
62,
1837,
2022,
10220,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
30109,
19535,
16724,
11907,
59,
77,
36,
13237,
25,
10352,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
40496,
8973,
796,
965,
7,
25101,
737,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
48203,
62,
4906,
8973,
796,
31428,
6030,
13,
23060,
10744,
3535,
2149,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
1939,
47315,
62,
1837,
2022,
10220,
8973,
796,
11491,
62,
1837,
2022,
10220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3244,
2198,
329,
10537,
1774,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4961,
11,
10537,
62,
4906,
796,
2276,
62,
48203,
7,
9288,
62,
31937,
11,
2496,
62,
31937,
8,
198,
220,
220,
220,
2845,
357,
13940,
41641,
12331,
11,
5994,
12331,
11,
3460,
4163,
12331,
8,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
12331,
618,
14176,
14700,
25,
705,
90,
92,
30827,
13,
18982,
7,
68,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
14692,
18224,
8973,
796,
366,
50249,
1653,
286,
14700,
4054,
25,
705,
90,
92,
6,
1911,
18982,
7,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
3601,
7203,
30109,
19535,
16724,
11907,
4943,
198,
220,
220,
220,
611,
4961,
290,
357,
48203,
62,
4906,
318,
407,
31428,
6030,
13,
6369,
10659,
8,
290,
14808,
16793,
62,
31937,
11,
1332,
62,
31937,
8,
407,
287,
22466,
14165,
62,
4537,
4663,
50,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
10778,
25,
18247,
1900,
5166,
37913,
15,
5512,
1391,
16,
30072,
1911,
18982,
7,
16793,
62,
31937,
11,
1332,
62,
31937,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22466,
14165,
62,
4537,
4663,
50,
58,
7,
16793,
62,
31937,
11,
1332,
62,
31937,
15437,
796,
10537,
62,
4906,
198,
220,
220,
220,
3601,
7203,
36,
13237,
25,
23884,
1911,
18982,
7,
40496,
4008,
198,
220,
220,
220,
611,
407,
4808,
39624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2625,
1635,
2026,
8,
198,
220,
220,
220,
1255,
14692,
40496,
8973,
796,
965,
7,
40496,
737,
21037,
3419,
198,
220,
220,
220,
1255,
14692,
48203,
62,
4906,
8973,
796,
10537,
62,
4906,
13,
8367,
198,
220,
220,
220,
1441,
1255,
198
] | 2.665639 | 3,568 |
from math import e, log10, pi
while True:
try:
n = int(input())
except EOFError:
break
if n == 0:
print(1)
else:
print(int(n * log10(n / e) + log10(2 * pi * n) / 2) + 1) | [
6738,
10688,
1330,
304,
11,
2604,
940,
11,
31028,
198,
198,
4514,
6407,
25,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
493,
7,
15414,
28955,
198,
220,
220,
220,
2845,
412,
19238,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
611,
299,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
16,
8,
198,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
600,
7,
77,
1635,
2604,
940,
7,
77,
1220,
304,
8,
1343,
2604,
940,
7,
17,
1635,
31028,
1635,
299,
8,
1220,
362,
8,
1343,
352,
8
] | 1.85 | 120 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import sys
import argparse
import readline
import random
import traceback
try:
import builtins
raw_input = getattr(builtins, 'input')
except ImportError:
pass
from game24 import calc, game
MSG_MENU_MAIN = '''1. Play (p)
2. Check answer (c)
3. Quit (q)'''
MSG_MENU_PLAY = '''1. Definitely no solutions (n)
2. Give me a hint (h)
3. I gave up, show me the answer (s)
4. Back to the main menu (b)
5. Quit the game (q)'''
MSG_MENU_SET_END = '''1. One more set (n)
2. Back to the main menu (b)
3. Quit the game (q)'''
MSG_MENU_PLAY_RIGHT = '''1. Try other solutions (t)
2. Next hand (n)
3. Show me the answers (s)
4. Quit the game (q)'''
MSG_SELECT = 'Your choice: '
MSG_INVALID_INPUT = 'Invalid input!'
MSG_MENU_HAND_END = '''1. One more hand (n)
2. Quit this set, back to the main menu (b)
3. Quit the game (q)'''
MSG_SELECT = 'Your choice: '
MSG_INVALID_INPUT = 'Invalid input!'
MSG_INVALID_INTEGER = 'Invalid integer: %s'
MSG_PLAY_NEW_SET = 'Set %d'
MSG_PLAY_NEW_HAND = 'Hand %d: %s'
MSG_PLAY_INPUT_EXPR = 'Input your solution or one of the above choices: '
MSG_PLAY_RIGHT = 'Good Job!'
MSG_PLAY_FIND_BUG = '''Great Job!
You not only solved the problem, but also found a bug!
Please report to me with the cards and your solution if you don't mind.'''
MSG_PLAY_WRONG = "Sorry! It's not correct!"
MSG_PLAY_NO_ANSWER = 'Seems no solutions'
MSG_PLAY_NO_CARDS = 'Set end, your result'
MSG_INPUT_NUMBERS = 'Please input %d integers: '
INPUT_EOF = '\x00'
if __name__ == '__main__':
main()
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
11,
3601,
62,
8818,
11,
7297,
198,
198,
11748,
25064,
198,
11748,
1822,
29572,
198,
11748,
1100,
1370,
198,
11748,
4738,
198,
11748,
12854,
1891,
198,
198,
28311,
25,
198,
220,
220,
220,
1330,
3170,
1040,
198,
220,
220,
220,
8246,
62,
15414,
796,
651,
35226,
7,
18780,
1040,
11,
705,
15414,
11537,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
1208,
198,
198,
6738,
983,
1731,
1330,
42302,
11,
983,
628,
198,
5653,
38,
62,
49275,
52,
62,
5673,
1268,
796,
705,
7061,
16,
13,
3811,
357,
79,
8,
198,
17,
13,
6822,
3280,
357,
66,
8,
198,
18,
13,
48887,
357,
80,
8,
7061,
6,
198,
198,
5653,
38,
62,
49275,
52,
62,
31519,
796,
705,
7061,
16,
13,
33562,
645,
8136,
357,
77,
8,
198,
17,
13,
13786,
502,
257,
9254,
357,
71,
8,
198,
18,
13,
314,
2921,
510,
11,
905,
502,
262,
3280,
357,
82,
8,
198,
19,
13,
5157,
284,
262,
1388,
6859,
357,
65,
8,
198,
20,
13,
48887,
262,
983,
357,
80,
8,
7061,
6,
198,
198,
5653,
38,
62,
49275,
52,
62,
28480,
62,
10619,
796,
705,
7061,
16,
13,
1881,
517,
900,
357,
77,
8,
198,
17,
13,
5157,
284,
262,
1388,
6859,
357,
65,
8,
198,
18,
13,
48887,
262,
983,
357,
80,
8,
7061,
6,
198,
198,
5653,
38,
62,
49275,
52,
62,
31519,
62,
49,
9947,
796,
705,
7061,
16,
13,
9993,
584,
8136,
357,
83,
8,
198,
17,
13,
7406,
1021,
357,
77,
8,
198,
18,
13,
5438,
502,
262,
7429,
357,
82,
8,
198,
19,
13,
48887,
262,
983,
357,
80,
8,
7061,
6,
198,
198,
5653,
38,
62,
46506,
796,
705,
7120,
3572,
25,
705,
198,
5653,
38,
62,
1268,
23428,
2389,
62,
1268,
30076,
796,
705,
44651,
5128,
13679,
198,
198,
5653,
38,
62,
49275,
52,
62,
39,
6981,
62,
10619,
796,
705,
7061,
16,
13,
1881,
517,
1021,
357,
77,
8,
198,
17,
13,
48887,
428,
900,
11,
736,
284,
262,
1388,
6859,
357,
65,
8,
198,
18,
13,
48887,
262,
983,
357,
80,
8,
7061,
6,
198,
198,
5653,
38,
62,
46506,
796,
705,
7120,
3572,
25,
705,
198,
5653,
38,
62,
1268,
23428,
2389,
62,
1268,
30076,
796,
705,
44651,
5128,
13679,
198,
5653,
38,
62,
1268,
23428,
2389,
62,
12394,
7156,
1137,
796,
705,
44651,
18253,
25,
4064,
82,
6,
198,
198,
5653,
38,
62,
31519,
62,
13965,
62,
28480,
796,
705,
7248,
4064,
67,
6,
198,
5653,
38,
62,
31519,
62,
13965,
62,
39,
6981,
796,
705,
12885,
4064,
67,
25,
4064,
82,
6,
198,
5653,
38,
62,
31519,
62,
1268,
30076,
62,
6369,
4805,
796,
705,
20560,
534,
4610,
393,
530,
286,
262,
2029,
7747,
25,
705,
198,
5653,
38,
62,
31519,
62,
49,
9947,
796,
705,
10248,
15768,
13679,
198,
5653,
38,
62,
31519,
62,
37,
12115,
62,
12953,
796,
705,
7061,
13681,
15768,
0,
198,
1639,
407,
691,
16019,
262,
1917,
11,
475,
635,
1043,
257,
5434,
0,
198,
5492,
989,
284,
502,
351,
262,
4116,
290,
534,
4610,
611,
345,
836,
470,
2000,
2637,
7061,
198,
5653,
38,
62,
31519,
62,
18564,
18494,
796,
366,
14385,
0,
632,
338,
407,
3376,
2474,
198,
5653,
38,
62,
31519,
62,
15285,
62,
15037,
45532,
796,
705,
4653,
5232,
645,
8136,
6,
198,
5653,
38,
62,
31519,
62,
15285,
62,
20034,
5258,
796,
705,
7248,
886,
11,
534,
1255,
6,
220,
198,
198,
5653,
38,
62,
1268,
30076,
62,
41359,
33,
4877,
796,
705,
5492,
5128,
4064,
67,
37014,
25,
705,
198,
198,
1268,
30076,
62,
4720,
37,
796,
705,
59,
87,
405,
6,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
628
] | 2.5 | 650 |
import json
import os
import boto3
from faker import Faker
# DynamoDB object
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table(f"TestUsersTable-{os.environ['STAGE']}")
| [
11748,
33918,
198,
11748,
28686,
198,
11748,
275,
2069,
18,
198,
6738,
277,
3110,
1330,
376,
3110,
628,
198,
2,
41542,
11012,
2134,
198,
67,
4989,
375,
65,
796,
275,
2069,
18,
13,
31092,
10786,
67,
4989,
375,
65,
11537,
198,
11487,
796,
6382,
375,
65,
13,
10962,
7,
69,
1,
14402,
14490,
10962,
12,
90,
418,
13,
268,
2268,
17816,
2257,
11879,
20520,
92,
4943,
628,
628
] | 2.705882 | 68 |
# Using Log Files
# Settings/Options/System/Environment (use custom variables)
# QGIS_LOG_FILE=/qgis_data/log.txt
# Restart QGIS
# Message to log file:
QgsLogger.logMessageToFile("This is a message to a log file.")
# Message to QGIS Log Window ( yellow triangle icon in the lower right)
QgsMessageLog.logMessage("This is a message from the Python Console", "Python Console", QgsMessageLog.INFO) | [
2,
8554,
5972,
13283,
198,
198,
2,
16163,
14,
29046,
14,
11964,
14,
31441,
357,
1904,
2183,
9633,
8,
220,
198,
2,
1195,
38,
1797,
62,
25294,
62,
25664,
33223,
80,
70,
271,
62,
7890,
14,
6404,
13,
14116,
198,
2,
8324,
433,
1195,
38,
1797,
198,
198,
2,
16000,
284,
2604,
2393,
25,
198,
48,
14542,
11187,
1362,
13,
6404,
12837,
2514,
8979,
7203,
1212,
318,
257,
3275,
284,
257,
2604,
2393,
19570,
198,
198,
2,
16000,
284,
1195,
38,
1797,
5972,
26580,
357,
7872,
22950,
7196,
287,
262,
2793,
826,
8,
198,
48,
14542,
12837,
11187,
13,
6404,
12837,
7203,
1212,
318,
257,
3275,
422,
262,
11361,
24371,
1600,
366,
37906,
24371,
1600,
1195,
14542,
12837,
11187,
13,
10778,
8
] | 3.262295 | 122 |
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve.
#
# 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.
| [
2,
220,
220,
15069,
357,
66,
8,
12131,
350,
37382,
47,
37382,
46665,
13,
1439,
6923,
12224,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
628,
628,
198
] | 3.773006 | 163 |
from logging import getLogger, StreamHandler, DEBUG, Formatter
from typing import Dict, Union
import re
import json
import requests
import MeCab
from neologdn import normalize
# ロガー設定
logger = getLogger(__name__)
handler = StreamHandler()
handler.setLevel(DEBUG)
logger.setLevel(DEBUG)
logger.addHandler(handler)
logger.propagate = False
handler.setFormatter(Formatter('[openBD] %(asctime)s - %(message)s'))
| [
6738,
18931,
1330,
651,
11187,
1362,
11,
13860,
25060,
11,
16959,
11,
5178,
1436,
198,
6738,
19720,
1330,
360,
713,
11,
4479,
198,
11748,
302,
198,
11748,
33918,
198,
11748,
7007,
198,
11748,
2185,
34,
397,
198,
6738,
497,
928,
32656,
1330,
3487,
1096,
198,
198,
2,
14524,
255,
23728,
6312,
164,
101,
255,
22522,
248,
198,
6404,
1362,
796,
651,
11187,
1362,
7,
834,
3672,
834,
8,
198,
30281,
796,
13860,
25060,
3419,
198,
30281,
13,
2617,
4971,
7,
30531,
8,
198,
6404,
1362,
13,
2617,
4971,
7,
30531,
8,
198,
6404,
1362,
13,
2860,
25060,
7,
30281,
8,
198,
6404,
1362,
13,
22930,
37861,
796,
10352,
198,
30281,
13,
2617,
8479,
1436,
7,
8479,
1436,
10786,
58,
9654,
14529,
60,
4064,
7,
292,
310,
524,
8,
82,
532,
4064,
7,
20500,
8,
82,
6,
4008,
628
] | 2.971014 | 138 |
import paho.mqtt.client as mqtt
import ev3dev.ev3 as ev3
import ctypes
import numpy as np
import sys
import cv2
from Sensors.mpu6050.mpu6050 import MPU6050
import smbus
from Sensors.odometry import Odometry
import sys, serial
from serial.tools import list_ports
#Create camera sensor object
camera = OnBoardCamera()
| [
11748,
279,
17108,
13,
76,
80,
926,
13,
16366,
355,
285,
80,
926,
198,
11748,
819,
18,
7959,
13,
1990,
18,
355,
819,
18,
198,
11748,
269,
19199,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
25064,
198,
11748,
269,
85,
17,
198,
6738,
14173,
669,
13,
3149,
84,
1899,
1120,
13,
3149,
84,
1899,
1120,
1330,
4904,
52,
1899,
1120,
198,
11748,
895,
10885,
198,
6738,
14173,
669,
13,
375,
15748,
1330,
10529,
15748,
198,
11748,
25064,
11,
11389,
198,
6738,
11389,
13,
31391,
1330,
1351,
62,
3742,
628,
628,
198,
2,
16447,
4676,
12694,
2134,
198,
25695,
796,
1550,
29828,
35632,
3419,
628
] | 3.057143 | 105 |
import numpy as np
import openmdao.api as om
if __name__ == '__main__':
check_integrated_surface_force_partials()
| [
11748,
299,
32152,
355,
45941,
198,
11748,
1280,
9132,
5488,
13,
15042,
355,
39030,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
2198,
62,
18908,
4111,
62,
42029,
62,
3174,
62,
3911,
8231,
3419,
198
] | 2.767442 | 43 |
# Copyright (c) 2014-present PlatformIO <contact@platformio.org>
#
# 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.
# pylint: disable=line-too-long,too-many-arguments,too-many-locals
import json
import os
import click
from platformio import fs
from platformio.package.commands.install import install_project_dependencies
from platformio.package.manager.platform import PlatformPackageManager
from platformio.platform.exception import UnknownBoard
from platformio.project.config import ProjectConfig
from platformio.project.generator import ProjectGenerator
from platformio.project.helpers import is_platformio_project
@click.command("init", short_help="Initialize a project or update existing")
@click.option(
"--project-dir",
"-d",
default=os.getcwd,
type=click.Path(
exists=True, file_okay=False, dir_okay=True, writable=True, resolve_path=True
),
)
@click.option("-b", "--board", multiple=True, metavar="ID", callback=validate_boards)
@click.option("--ide", type=click.Choice(ProjectGenerator.get_supported_ides()))
@click.option("-e", "--environment", help="Update existing environment")
@click.option("-O", "--project-option", multiple=True)
@click.option("--env-prefix", default="")
@click.option("--no-install-dependencies", is_flag=True)
@click.option("-s", "--silent", is_flag=True)
| [
2,
15069,
357,
66,
8,
1946,
12,
25579,
19193,
9399,
1279,
32057,
31,
24254,
952,
13,
2398,
29,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
2,
279,
2645,
600,
25,
15560,
28,
1370,
12,
18820,
12,
6511,
11,
18820,
12,
21834,
12,
853,
2886,
11,
18820,
12,
21834,
12,
17946,
874,
628,
198,
11748,
33918,
198,
11748,
28686,
198,
198,
11748,
3904,
198,
198,
6738,
3859,
952,
1330,
43458,
198,
6738,
3859,
952,
13,
26495,
13,
9503,
1746,
13,
17350,
1330,
2721,
62,
16302,
62,
45841,
3976,
198,
6738,
3859,
952,
13,
26495,
13,
37153,
13,
24254,
1330,
19193,
27813,
13511,
198,
6738,
3859,
952,
13,
24254,
13,
1069,
4516,
1330,
16185,
29828,
198,
6738,
3859,
952,
13,
16302,
13,
11250,
1330,
4935,
16934,
198,
6738,
3859,
952,
13,
16302,
13,
8612,
1352,
1330,
4935,
8645,
1352,
198,
6738,
3859,
952,
13,
16302,
13,
16794,
364,
1330,
318,
62,
24254,
952,
62,
16302,
628,
198,
198,
31,
12976,
13,
21812,
7203,
15003,
1600,
1790,
62,
16794,
2625,
24243,
1096,
257,
1628,
393,
4296,
4683,
4943,
198,
31,
12976,
13,
18076,
7,
198,
220,
220,
220,
366,
438,
16302,
12,
15908,
1600,
198,
220,
220,
220,
27444,
67,
1600,
198,
220,
220,
220,
4277,
28,
418,
13,
1136,
66,
16993,
11,
198,
220,
220,
220,
2099,
28,
12976,
13,
15235,
7,
198,
220,
220,
220,
220,
220,
220,
220,
7160,
28,
17821,
11,
2393,
62,
482,
323,
28,
25101,
11,
26672,
62,
482,
323,
28,
17821,
11,
1991,
540,
28,
17821,
11,
10568,
62,
6978,
28,
17821,
198,
220,
220,
220,
10612,
198,
8,
198,
31,
12976,
13,
18076,
7203,
12,
65,
1600,
366,
438,
3526,
1600,
3294,
28,
17821,
11,
1138,
615,
283,
2625,
2389,
1600,
23838,
28,
12102,
378,
62,
12821,
8,
198,
31,
12976,
13,
18076,
7203,
438,
485,
1600,
2099,
28,
12976,
13,
46770,
7,
16775,
8645,
1352,
13,
1136,
62,
15999,
62,
1460,
3419,
4008,
198,
31,
12976,
13,
18076,
7203,
12,
68,
1600,
366,
438,
38986,
1600,
1037,
2625,
10260,
4683,
2858,
4943,
198,
31,
12976,
13,
18076,
7203,
12,
46,
1600,
366,
438,
16302,
12,
18076,
1600,
3294,
28,
17821,
8,
198,
31,
12976,
13,
18076,
7203,
438,
24330,
12,
40290,
1600,
4277,
2625,
4943,
198,
31,
12976,
13,
18076,
7203,
438,
3919,
12,
17350,
12,
45841,
3976,
1600,
318,
62,
32109,
28,
17821,
8,
198,
31,
12976,
13,
18076,
7203,
12,
82,
1600,
366,
438,
18217,
298,
1600,
318,
62,
32109,
28,
17821,
8,
628,
628,
628,
628,
628
] | 3.317029 | 552 |
# -*- coding: utf-8 -*-
__author__ = 'Kazuyuki TAKASE'
__copyright__ = 'PLEN Project Company Inc, and all authors.'
__license__ = 'The MIT License (http://opensource.org/licenses/mit-license.php)'
# 外部プログラムの読み込み
# =============================================================================
from time import sleep
from cv2 import VideoCapture, imwrite
from wiringpi import *
# 定数定義・初期化処理
# =============================================================================
CAMERA_INDEX = 0
MOTION_PIN = 26
camera = VideoCapture(CAMERA_INDEX)
wiringPiSetupGpio()
# メインループ
# =============================================================================
while True:
# これ以降を自分で作成
pass | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
834,
9800,
834,
220,
220,
220,
796,
705,
42,
1031,
4669,
11308,
309,
10206,
11159,
6,
198,
834,
22163,
4766,
834,
796,
705,
6489,
1677,
4935,
5834,
3457,
11,
290,
477,
7035,
2637,
198,
834,
43085,
834,
220,
220,
796,
705,
464,
17168,
13789,
357,
4023,
1378,
44813,
1668,
13,
2398,
14,
677,
4541,
14,
2781,
12,
43085,
13,
10121,
33047,
628,
198,
2,
36469,
244,
32849,
101,
30965,
16253,
26095,
9263,
25795,
5641,
45739,
255,
2515,
123,
164,
122,
120,
2515,
123,
198,
2,
38093,
25609,
198,
6738,
640,
1330,
3993,
198,
198,
6738,
269,
85,
17,
1330,
7623,
49630,
11,
545,
13564,
198,
6738,
29477,
14415,
1330,
1635,
628,
198,
2,
10263,
106,
248,
46763,
108,
22522,
248,
163,
122,
102,
4707,
26344,
251,
17312,
253,
44293,
244,
49035,
99,
49426,
228,
198,
2,
38093,
25609,
198,
34,
2390,
46461,
62,
12115,
6369,
796,
657,
198,
44,
2394,
2849,
62,
44032,
220,
220,
796,
2608,
198,
198,
25695,
796,
7623,
49630,
7,
34,
2390,
46461,
62,
12115,
6369,
8,
198,
198,
86,
3428,
38729,
40786,
38,
79,
952,
3419,
628,
198,
2,
14524,
94,
11482,
6527,
9202,
12045,
245,
198,
2,
38093,
25609,
198,
4514,
6407,
25,
198,
220,
220,
220,
1303,
23294,
241,
39258,
20015,
98,
165,
247,
235,
31758,
164,
229,
103,
26344,
228,
30640,
43291,
22755,
238,
198,
220,
220,
220,
1208
] | 2.896694 | 242 |
#!/bin/python3
# if used ubuntu 20.10 or later, interpreter set as #!/bin/python and use pip instead of pip3
# =================================================================== #
# platfrom check
# dateutil check and import
try:
from dateutil.relativedelta import relativedelta
except:
import os,sys,subprocess
if os.name=='nt':
subprocess.check_call([sys.executable, "-m", "pip", "install", "dateutil"])
elif os.name=='posix':
subprocess.check_call([sys.executable, "-m", "pip3", "install", "dateutil"])
else:
raise "Unknow platform, please install 'dateutil' by yourself."
from dateutil.relativedelta import relativedelta
# =================================================================== #
# platfrom check
# numpy check and import
try:
import numpy as np
except:
import os,sys,subprocess
if os.name=='nt':
subprocess.check_call([sys.executable, "-m", "pip", "install", "numpy"])
elif os.name=='posix':
subprocess.check_call([sys.executable, "-m", "pip3", "install", "numpy"])
else:
raise "Unknow platform, please install 'numpy' by yourself."
import numpy as np
# =================================================================== #
import datetime
from typing import Union
class Time(object):
'''
storageForward: True -> storage value in starttime <br>
storageForward: False -> storage value in endtime
'''
@staticmethod
@staticmethod
def _set_header(data,header=None):
'''
only used to format output data
'''
# ----------------------------------------------------------- #
# here i'm not sure what data type i need to use.
# thus, if data=np.array(obj(dict)), then we need
# to use data.item() to get the data
try:
data=data.item()
except:
pass
# ----------------------------------------------------------- #
if header!=None:
dummy={}
for i,head in enumerate(header):
if isinstance(data,dict):
for key in data.keys():
if i==0: dummy[key]={}
dummy[key][head]=data[key][:,i]
else:
dummy[head]=data[:,i]
return dummy
return data
@staticmethod
def _fixTime(time,data,timeStep:dict,zeroPara:dict,storageForward:bool,outputPara_list:list,
starttime:datetime.datetime=None,endtime:datetime.datetime=None):
# def _fixTime(time,data,timeStep:dict,ratio:int,zeroPara:dict,storageForward:bool,starttime:datetime.datetime=None,endtime:datetime.datetime=None):
'''
zeroPara: set start datetime para
season enum:
1: spring
2: summer
3: autumn
4: winter
'''
minTime = np.nanmin(time) if starttime==None else starttime
maxTime = np.nanmax(time) if endtime==None else endtime
# get data_value
if isinstance(data,dict):
if 'mean' in data.keys(): data=data['mean']
if 'season' in timeStep.keys():
dt = relativedelta(months=3)
if not storageForward: time+=dt; time+=datetime.timedelta(microseconds=-1)
maxTime+=dt
if zeroPara!=None: minTime=minTime.replace(**zeroPara)
dummy={}
for para in outputPara_list:
if para=='quartile':
dummy['lower']=[]
dummy['median']=[]
dummy['upper']=[]
else:
dummy[para]=[]
tummy = []
count = []
# deal with perfix date before a new start
i = Time._get_season(minTime.month)
year = minTime.year if minTime.month!=12 else minTime.year+1
mask=np.where(time<datetime.datetime(year,3*i,1))[0]
t,d,c = Time._nofixTime(time[mask],data[mask],parameter='season',outputPara_list=outputPara_list)
tummy+=list(t); count+=list(c)
for key in dummy.keys(): dummy[key]+=list(d[key])
minTime=datetime.datetime(year,3*i,1)
while minTime<=maxTime:
if minTime>max(time): break
mask=np.where((time>=minTime) & (time<minTime+dt))[0]
t,d,c = Time._nofixTime(time[mask],data[mask],parameter='season',outputPara_list=outputPara_list)
tummy+=list(t); count+=list(c)
for key in dummy.keys(): dummy[key]+=list(d[key])
minTime+=dt
else:
dt = relativedelta(**timeStep)
if not storageForward: time+=dt; time+=datetime.timedelta(microseconds=-1)
maxTime+=dt
if zeroPara!=None: minTime=minTime.replace(**zeroPara)
# if ratio==None: ratio=0
dummy = {}
for para in outputPara_list:
if para=='quartile':
dummy['lower']=[]
dummy['median']=[]
dummy['upper']=[]
else:
dummy[para]=[]
tummy = []
count = []
while minTime<=maxTime:
mask = np.where((time>=minTime) & (time<minTime+dt))[0]
if mask.size==0: minTime+=dt; continue
tummy.append(minTime)
count.append(np.sum(np.isfinite(data[mask])))
if 'mean' in outputPara_list: dummy['mean'].append(np.nanmean(data[mask],axis=0))
if 'std' in outputPara_list: dummy['std'].append(np.nanstd(data[mask],axis=0))
if 'max' in outputPara_list: dummy['max'].append(np.nanmax(data[mask],axis=0))
if 'min' in outputPara_list: dummy['min'].append(np.nanmin(data[mask],axis=0))
if 'maxTime' in outputPara_list: dummy['maxTime'].append(time[mask][np.argmax(data[mask],axis=0)])
if 'maxTime' in outputPara_list: dummy['minTime'].append(time[mask][np.argmin(data[mask],axis=0)])
if 'quartile' in outputPara_list: dummy['lower'].append(np.nanpercentile(data[mask],25,axis=0))
if ('quartile' in outputPara_list) | ('median' in outputPara_list):
dummy['median'].append(np.nanpercentile(data[mask],50,axis=0))
if 'quartile' in outputPara_list: dummy['upper'].append(np.nanpercentile(data[mask],75,axis=0))
# dummy.append(np.nanmean(data[mask],axis=0) if count[-1]>=ratio else np.array([np.nan]*len(data[0])))
minTime+=dt
dummy = Time._set_ndarray(dummy)
return tummy,dummy,count
@staticmethod
def _nofixTime(time,data,parameter:str,outputPara_list:list):
# def _nofixTime(time,data,parameter:str,ratio:int):
'''
parameter: set the datetime parameter (second, minute ...etc) will be used to calculate
season enum:
1: winter
2: spring
3: summer
4: autumn
'''
season_dict = {
1: 'Winter',
2: 'Spring',
3: 'Summer',
4: 'Autumn',
}
if parameter.lower()=='season':
time_para_list = [Time._get_season(val.month) for val in time]
else:
time_para_list = [eval(f"val.{parameter}") for val in time]
time_para_list = np.array(time_para_list)
if time_para_list.size==0: return np.array(np.nan),np.array(np.nan),np.array(np.nan)
minTime = np.nanmin(time_para_list)
maxTime = np.nanmax(time_para_list)
# if ratio==None: ratio=0
# get data_value
if isinstance(data,dict):
if 'mean' in data.keys(): data=data['mean']
dummy = {}
for para in outputPara_list:
if para=='quartile':
dummy['lower']=[]
dummy['median']=[]
dummy['upper']=[]
else:
dummy[para]=[]
tummy = []
count = []
for i in range(minTime,maxTime+1):
mask = np.where(time_para_list==i)[0]
tummy.append(i if parameter.lower()!='season' else [time[mask[0]].year,season_dict[i]])
count.append(np.sum(np.isfinite(data[mask])))
if 'mean' in outputPara_list: dummy['mean'].append(np.nanmean(data[mask],axis=0))
if 'std' in outputPara_list: dummy['std'].append(np.nanstd(data[mask],axis=0))
if 'max' in outputPara_list: dummy['max'].append(np.nanmax(data[mask],axis=0))
if 'min' in outputPara_list: dummy['min'].append(np.nanmin(data[mask],axis=0))
if 'maxTime' in outputPara_list: dummy['maxTime'].append(time[mask][np.argmax(data[mask],axis=0)])
if 'maxTime' in outputPara_list: dummy['minTime'].append(time[mask][np.argmin(data[mask],axis=0)])
if 'quartile' in outputPara_list: dummy['lower'].append(np.nanpercentile(data[mask],25,axis=0))
if ('quartile' in outputPara_list) | ('median' in outputPara_list):
dummy['median'].append(np.nanpercentile(data[mask],50,axis=0))
if 'quartile' in outputPara_list: dummy['upper'].append(np.nanpercentile(data[mask],75,axis=0))
# dummy.append(np.nanmean(data[mask],axis=0) if count[-1]>=ratio else np.array([np.nan]*len(data[0])))
dummy = Time._set_ndarray(dummy)
return tummy,dummy,count
@staticmethod
def _get_season(month):
'''
enum:
1: winter
2: spring
3: summer
4: autumn
'''
return (month%12+3)//3
@staticmethod
def set_config(self,init:bool=False,**kwargs) -> None:
'''
config['storageForward']: save the value at the start time or not<br>
config['outputPara_list]: select output parameter [mean,std,max,min]
Arguments:
init: Is the initialize status? Default is False
If set True, will using the init state.
**kwargs:
Optional, this work only init set false.
config: {
asDict: bool,
storage: bool,
fixTime: bool,
zeroStart: bool,
selfUpdate: bool,
outputPara_list: list = [
mean,
std,
max,
min,
maxTime,
minTime,
quartile,
median
]
}
'''
if init==True:
self.config = dict(
asDict=False,
storageForward=True,
fixTime=True,
zeroStart=True,
selfUpdate=True,
outputPara_list=['mean','std','mean'] # ['mean','std','max','min','maxTime','minTime','quartile','median'],
)
else:
for key in kwargs.keys():
self.config[key] = kwargs[key]
def input(self,time: Union[list, np.ndarray],data: Union[list, np.ndarray],dtype:object =float,
ratio: Union[int, float]=None,header: list=None,starttime:datetime.datetime=None,endtime:datetime.datetime=None) -> str:
'''
time <datetime> : input timelist of data <br>
data <numerical>: input data array
Arguments:
time: list of time series
data: list of data set depend on time series
dtype: convert type of data elements
ratio: require of the data numbers(int) or ratio(float)
header: export tag of data header
starttime: start of the time
endtime: end of the time
Returns:
return 'Successfully' when process success.
'''
self.time = np.array(time)
self.data = np.array(data,dtype=dtype)
self.ratio = ratio
self.header = header
self.starttime = starttime
self.endtime = endtime
self.counts = []
return "Successfully"
def isrepeat(self) -> bool:
'''
Check weather data repeat depend on time.
Returns:
check there has repeat datetime in the data set.
'''
if len(self.time.reshape(-1))==len(set(self.time)):
return False
else:
return True
def second(self,ratio: Union[int, float]=None,base: int=1000) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(seconds=1),
zeroPara=dict(microsecond=0),storageForward=self.config['storageForward'],
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(seconds=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='second',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def minute(self,ratio: Union[int, float]=None,base: int=60) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(minutes=1),
zeroPara=dict(second=0,microsecond=0),storageForward=self.config['storageForward'],
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(minutes=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='minute',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def hour(self,ratio: Union[int, float]=None,base: int=60) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(hours=1)
,zeroPara=dict(minute=0,second=0,microsecond=0),storageForward=self.config['storageForward'],
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(hours=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='hour',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def day(self,ratio: Union[int, float]=None,base: int=24) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(days=1),
zeroPara=dict(hour=0,minute=0,second=0,microsecond=0),storageForward=self.config['storageForward'],
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(days=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='day',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def month(self,ratio: Union[int, float]=None,base: int=30) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(months=1),
zeroPara=dict(day=1,hour=0,minute=0,second=0,microsecond=0),
outputPara_list=self.config['outputPara_list'],storageForward=self.config['storageForward'], starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(months=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='month',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def season(self,ratio: Union[int, float]=None,base: int=3) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
'''
Spring: March, April, May <br>
Summer: June, July, August <br>
Autumn: September, October, November <br>
Winter: December, January, February
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(season=1),
zeroPara=dict(day=1,hour=0,minute=0,second=0,microsecond=0),
outputPara_list=self.config['outputPara_list'],storageForward=self.config['storageForward'], starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(season=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='season',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def year(self,ratio:Union[int, float]=None,base:int=12) -> Union[None, tuple, list, dict]:
'''
Do statistic method base on config setting.
Arguments:
ratio: require of the data numbers(int) or ratio(float)
base: base number of required data, use on ratio<=1
Returns:
structure of return data
None: if config.selfUpdate==True, then export data by self.get()
tuple or list: if config.selfUpdate==False & config.asDict==False, then return the data as tuple.
( time, data, count )
dict: if config.selfUpdate==False & config.asDict==True, then return the data as dictionary.
{
time: np.ndarray,
data: np.ndarray,
count: np.ndarray
}
'''
if ratio!=None:
ratio=int(base*ratio) if ratio<=1 else int(ratio)
else:
if self.ratio!=None:
ratio=int(base*self.ratio) if self.ratio<=1 else int(self.ratio)
if self.config['fixTime']:
if self.config['zeroStart']:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(years=1),
zeroPara=dict(month=1,day=1,hour=0,minute=0,second=0,microsecond=0),storageForward=self.config['storageForward'],
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else:
tummy,dummy,count = self._fixTime(self.time,self.data,timeStep=dict(years=1),
outputPara_list=self.config['outputPara_list'],starttime=self.starttime,endtime=self.endtime)
else: # self.config['fixTime']==False
tummy,dummy,count = self._nofixTime(self.time,self.data,parameter='year',outputPara_list=self.config['outputPara_list'])
dummy = self._QC_numbers(dummy,count,ratio)
if self.config['selfUpdate']:
self.data = np.array(dummy)
self.time = np.array(tummy)
self.counts = np.array(count)
else:
print("This is not object standard operation!")
print("You need to set config[selfUpdate]=True and use get method to get the result.")
dummy = Time._set_header(dummy,header=self.header)
if self.config['asDict']:
return dict(time=tummy,data=dummy,counts=count)
else:
return tummy,dummy,count
def get(self,parameter: str=None) -> Union[list, dict, np.ndarray]:
'''
export the data from Time factory.
Arguments:
parameter: select the return parameter.
enum:
None: {
time,
data,
counts
},
config,
time,
data,
counts
Returns:
select parameter data set.
'''
if parameter=='config': return self.config
if (parameter==None) and (self.config['asDict']): return dict(time=self.time, data=Time._set_header(self.data,header=self.header), counts=self.counts)
if parameter=='time': return self.time
if parameter=='data': return Time._set_header(self.data,header=self.header)
if parameter=='counts': return self.counts
print("Please select the return parameter or set config['asDict']=True.")
if __name__ == "__main__":
# Implement the object
myobj = Time()
# Input data
import datetime, random
st = datetime.datetime(2020,1,1)
number = 50000
time = [st+datetime.timedelta(hours=val) for val in range(number)]
data = [[random.gauss(10,5) for _ in range(4)] for _ in range(number)]
myobj.input(time,data,header=['a','b','c','d'])
# Calculate and Get result
# myobj.hour(1,500)
myobj.set_config(outputPara_list=['mean','std','max','quartile'])
myobj.season()
myobj.set_config(asDict=True)
result = myobj.get()
print(result) | [
2,
48443,
8800,
14,
29412,
18,
198,
2,
611,
973,
20967,
11157,
1160,
13,
940,
393,
1568,
11,
28846,
900,
355,
1303,
48443,
8800,
14,
29412,
290,
779,
7347,
2427,
286,
7347,
18,
198,
198,
2,
38093,
855,
1303,
198,
2,
40315,
6738,
2198,
198,
2,
3128,
22602,
2198,
290,
1330,
198,
28311,
25,
198,
220,
220,
220,
422,
3128,
22602,
13,
2411,
265,
1572,
12514,
1330,
48993,
1572,
12514,
198,
16341,
25,
198,
220,
220,
220,
1330,
28686,
11,
17597,
11,
7266,
14681,
198,
220,
220,
220,
611,
28686,
13,
3672,
855,
6,
429,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
850,
14681,
13,
9122,
62,
13345,
26933,
17597,
13,
18558,
18187,
11,
27444,
76,
1600,
366,
79,
541,
1600,
366,
17350,
1600,
366,
4475,
22602,
8973,
8,
198,
220,
220,
220,
1288,
361,
28686,
13,
3672,
855,
6,
1930,
844,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
850,
14681,
13,
9122,
62,
13345,
26933,
17597,
13,
18558,
18187,
11,
27444,
76,
1600,
366,
79,
541,
18,
1600,
366,
17350,
1600,
366,
4475,
22602,
8973,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
366,
3118,
16275,
3859,
11,
3387,
2721,
705,
4475,
22602,
6,
416,
3511,
526,
198,
220,
220,
220,
422,
3128,
22602,
13,
2411,
265,
1572,
12514,
1330,
48993,
1572,
12514,
198,
2,
38093,
855,
1303,
198,
2,
40315,
6738,
2198,
198,
2,
299,
32152,
2198,
290,
1330,
198,
28311,
25,
198,
220,
220,
220,
1330,
299,
32152,
355,
45941,
198,
16341,
25,
198,
220,
220,
220,
1330,
28686,
11,
17597,
11,
7266,
14681,
198,
220,
220,
220,
611,
28686,
13,
3672,
855,
6,
429,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
850,
14681,
13,
9122,
62,
13345,
26933,
17597,
13,
18558,
18187,
11,
27444,
76,
1600,
366,
79,
541,
1600,
366,
17350,
1600,
366,
77,
32152,
8973,
8,
198,
220,
220,
220,
1288,
361,
28686,
13,
3672,
855,
6,
1930,
844,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
850,
14681,
13,
9122,
62,
13345,
26933,
17597,
13,
18558,
18187,
11,
27444,
76,
1600,
366,
79,
541,
18,
1600,
366,
17350,
1600,
366,
77,
32152,
8973,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
366,
3118,
16275,
3859,
11,
3387,
2721,
705,
77,
32152,
6,
416,
3511,
526,
198,
220,
220,
220,
1330,
299,
32152,
355,
45941,
198,
2,
38093,
855,
1303,
198,
11748,
4818,
8079,
198,
6738,
19720,
1330,
4479,
198,
198,
4871,
3862,
7,
15252,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
6143,
39746,
25,
6407,
4613,
6143,
1988,
287,
923,
2435,
1279,
1671,
29,
198,
220,
220,
220,
6143,
39746,
25,
10352,
4613,
6143,
1988,
287,
886,
2435,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
2617,
62,
25677,
7,
7890,
11,
25677,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
691,
973,
284,
5794,
5072,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20368,
22369,
6329,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
994,
1312,
1101,
407,
1654,
644,
1366,
2099,
1312,
761,
284,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4145,
11,
611,
1366,
28,
37659,
13,
18747,
7,
26801,
7,
11600,
36911,
788,
356,
761,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
779,
1366,
13,
9186,
3419,
284,
651,
262,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
28,
7890,
13,
9186,
3419,
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,
220,
220,
220,
220,
1303,
20368,
22369,
6329,
1303,
628,
220,
220,
220,
220,
220,
220,
220,
611,
13639,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
34758,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
11,
2256,
287,
27056,
378,
7,
25677,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
11,
11600,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
1366,
13,
13083,
33529,
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,
1312,
855,
15,
25,
31548,
58,
2539,
22241,
90,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
58,
2539,
7131,
2256,
22241,
7890,
58,
2539,
7131,
45299,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
58,
2256,
22241,
7890,
58,
45299,
72,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
31548,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1366,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
13049,
7575,
7,
2435,
11,
7890,
11,
2435,
8600,
25,
11600,
11,
22570,
47,
3301,
25,
11600,
11,
35350,
39746,
25,
30388,
11,
22915,
47,
3301,
62,
4868,
25,
4868,
11,
198,
220,
220,
220,
220,
220,
220,
220,
923,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
11,
437,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
2599,
198,
220,
220,
220,
1303,
825,
4808,
13049,
7575,
7,
2435,
11,
7890,
11,
2435,
8600,
25,
11600,
11,
10366,
952,
25,
600,
11,
22570,
47,
3301,
25,
11600,
11,
35350,
39746,
25,
30388,
11,
9688,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
11,
437,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
25,
900,
923,
4818,
8079,
31215,
198,
220,
220,
220,
220,
220,
220,
220,
1622,
33829,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
25,
6076,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
25,
3931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
25,
23608,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
25,
7374,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
949,
7575,
796,
45941,
13,
12647,
1084,
7,
2435,
8,
611,
923,
2435,
855,
14202,
2073,
923,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
7575,
796,
45941,
13,
12647,
9806,
7,
2435,
8,
611,
886,
2435,
855,
14202,
2073,
886,
2435,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
1366,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
11,
11600,
2599,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
32604,
6,
287,
1366,
13,
13083,
33529,
1366,
28,
7890,
17816,
32604,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
611,
705,
6230,
6,
287,
640,
8600,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
83,
796,
48993,
1572,
12514,
7,
41537,
28,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6143,
39746,
25,
640,
47932,
28664,
26,
640,
47932,
19608,
8079,
13,
16514,
276,
12514,
7,
24055,
43012,
10779,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
7575,
47932,
28664,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6632,
47,
3301,
0,
28,
14202,
25,
949,
7575,
28,
1084,
7575,
13,
33491,
7,
1174,
22570,
47,
3301,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
34758,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
31215,
287,
5072,
47,
3301,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
31215,
855,
6,
36008,
576,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
21037,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
1150,
666,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
45828,
20520,
28,
21737,
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,
31548,
58,
1845,
64,
22241,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1730,
351,
583,
13049,
3128,
878,
257,
649,
923,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
796,
3862,
13557,
1136,
62,
6230,
7,
1084,
7575,
13,
8424,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
614,
796,
949,
7575,
13,
1941,
611,
949,
7575,
13,
8424,
0,
28,
1065,
2073,
949,
7575,
13,
1941,
10,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9335,
28,
37659,
13,
3003,
7,
2435,
27,
19608,
8079,
13,
19608,
8079,
7,
1941,
11,
18,
9,
72,
11,
16,
4008,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
11,
67,
11,
66,
796,
3862,
13557,
77,
1659,
844,
7575,
7,
2435,
58,
27932,
4357,
7890,
58,
27932,
4357,
17143,
2357,
11639,
6230,
3256,
22915,
47,
3301,
62,
4868,
28,
22915,
47,
3301,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
47932,
4868,
7,
83,
1776,
954,
47932,
4868,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
31548,
13,
13083,
33529,
31548,
58,
2539,
60,
47932,
4868,
7,
67,
58,
2539,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
7575,
28,
19608,
8079,
13,
19608,
8079,
7,
1941,
11,
18,
9,
72,
11,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
949,
7575,
27,
28,
9806,
7575,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
949,
7575,
29,
9806,
7,
2435,
2599,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9335,
28,
37659,
13,
3003,
19510,
2435,
29,
28,
1084,
7575,
8,
1222,
357,
2435,
27,
1084,
7575,
10,
28664,
4008,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
11,
67,
11,
66,
796,
3862,
13557,
77,
1659,
844,
7575,
7,
2435,
58,
27932,
4357,
7890,
58,
27932,
4357,
17143,
2357,
11639,
6230,
3256,
22915,
47,
3301,
62,
4868,
28,
22915,
47,
3301,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
47932,
4868,
7,
83,
1776,
954,
47932,
4868,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
31548,
13,
13083,
33529,
31548,
58,
2539,
60,
47932,
4868,
7,
67,
58,
2539,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
7575,
47932,
28664,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
83,
796,
48993,
1572,
12514,
7,
1174,
2435,
8600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6143,
39746,
25,
640,
47932,
28664,
26,
640,
47932,
19608,
8079,
13,
16514,
276,
12514,
7,
24055,
43012,
10779,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
7575,
47932,
28664,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6632,
47,
3301,
0,
28,
14202,
25,
949,
7575,
28,
1084,
7575,
13,
33491,
7,
1174,
22570,
47,
3301,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
8064,
855,
14202,
25,
8064,
28,
15,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
31215,
287,
5072,
47,
3301,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
31215,
855,
6,
36008,
576,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
21037,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
1150,
666,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
45828,
20520,
28,
21737,
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,
31548,
58,
1845,
64,
22241,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
949,
7575,
27,
28,
9806,
7575,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9335,
796,
45941,
13,
3003,
19510,
2435,
29,
28,
1084,
7575,
8,
1222,
357,
2435,
27,
1084,
7575,
10,
28664,
4008,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
9335,
13,
7857,
855,
15,
25,
949,
7575,
47932,
28664,
26,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
13,
33295,
7,
1084,
7575,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
13,
33295,
7,
37659,
13,
16345,
7,
37659,
13,
4468,
9504,
7,
7890,
58,
27932,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
32604,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
32604,
6,
4083,
33295,
7,
37659,
13,
12647,
32604,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
19282,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
19282,
6,
4083,
33295,
7,
37659,
13,
12647,
19282,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
9806,
6,
4083,
33295,
7,
37659,
13,
12647,
9806,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
1084,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
1084,
6,
4083,
33295,
7,
37659,
13,
12647,
1084,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
7575,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
9806,
7575,
6,
4083,
33295,
7,
2435,
58,
27932,
7131,
37659,
13,
853,
9806,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
7575,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
1084,
7575,
6,
4083,
33295,
7,
2435,
58,
27932,
7131,
37659,
13,
853,
1084,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
21037,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
1495,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
19203,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
8,
930,
19203,
1150,
666,
6,
287,
5072,
47,
3301,
62,
4868,
2599,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
1150,
666,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
1120,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
45828,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
2425,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
31548,
13,
33295,
7,
37659,
13,
12647,
32604,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
611,
954,
58,
12,
16,
60,
29,
28,
10366,
952,
2073,
45941,
13,
18747,
26933,
37659,
13,
12647,
60,
9,
11925,
7,
7890,
58,
15,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
7575,
47932,
28664,
198,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
358,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
77,
1659,
844,
7575,
7,
2435,
11,
7890,
11,
17143,
2357,
25,
2536,
11,
22915,
47,
3301,
62,
4868,
25,
4868,
2599,
198,
220,
220,
220,
1303,
825,
4808,
77,
1659,
844,
7575,
7,
2435,
11,
7890,
11,
17143,
2357,
25,
2536,
11,
10366,
952,
25,
600,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
11507,
25,
900,
262,
4818,
8079,
11507,
357,
12227,
11,
5664,
2644,
14784,
8,
481,
307,
973,
284,
15284,
198,
220,
220,
220,
220,
220,
220,
220,
1622,
33829,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
25,
7374,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
25,
6076,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
25,
3931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
25,
23608,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1622,
62,
11600,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
25,
705,
35376,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
25,
705,
30387,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
25,
705,
33560,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
25,
705,
16541,
4182,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
611,
11507,
13,
21037,
3419,
855,
6,
6230,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
62,
1845,
64,
62,
4868,
796,
685,
7575,
13557,
1136,
62,
6230,
7,
2100,
13,
8424,
8,
329,
1188,
287,
640,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
62,
1845,
64,
62,
4868,
796,
685,
18206,
7,
69,
1,
2100,
13,
90,
17143,
2357,
92,
4943,
329,
1188,
287,
640,
60,
198,
220,
220,
220,
220,
220,
220,
220,
640,
62,
1845,
64,
62,
4868,
796,
45941,
13,
18747,
7,
2435,
62,
1845,
64,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
640,
62,
1845,
64,
62,
4868,
13,
7857,
855,
15,
25,
1441,
45941,
13,
18747,
7,
37659,
13,
12647,
828,
37659,
13,
18747,
7,
37659,
13,
12647,
828,
37659,
13,
18747,
7,
37659,
13,
12647,
8,
198,
220,
220,
220,
220,
220,
220,
220,
949,
7575,
796,
45941,
13,
12647,
1084,
7,
2435,
62,
1845,
64,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
7575,
796,
45941,
13,
12647,
9806,
7,
2435,
62,
1845,
64,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
8064,
855,
14202,
25,
8064,
28,
15,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
1366,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
11,
11600,
2599,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
32604,
6,
287,
1366,
13,
13083,
33529,
1366,
28,
7890,
17816,
32604,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
31215,
287,
5072,
47,
3301,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
31215,
855,
6,
36008,
576,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
21037,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
1150,
666,
20520,
28,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
45828,
20520,
28,
21737,
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,
31548,
58,
1845,
64,
22241,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
954,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
1084,
7575,
11,
9806,
7575,
10,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9335,
796,
45941,
13,
3003,
7,
2435,
62,
1845,
64,
62,
4868,
855,
72,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
13,
33295,
7,
72,
611,
11507,
13,
21037,
3419,
0,
11639,
6230,
6,
2073,
685,
2435,
58,
27932,
58,
15,
60,
4083,
1941,
11,
6230,
62,
11600,
58,
72,
11907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
13,
33295,
7,
37659,
13,
16345,
7,
37659,
13,
4468,
9504,
7,
7890,
58,
27932,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
32604,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
32604,
6,
4083,
33295,
7,
37659,
13,
12647,
32604,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
19282,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
19282,
6,
4083,
33295,
7,
37659,
13,
12647,
19282,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
9806,
6,
4083,
33295,
7,
37659,
13,
12647,
9806,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
1084,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
1084,
6,
4083,
33295,
7,
37659,
13,
12647,
1084,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
7575,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
9806,
7575,
6,
4083,
33295,
7,
2435,
58,
27932,
7131,
37659,
13,
853,
9806,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
9806,
7575,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
1084,
7575,
6,
4083,
33295,
7,
2435,
58,
27932,
7131,
37659,
13,
853,
1084,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
21037,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
1495,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
19203,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
8,
930,
19203,
1150,
666,
6,
287,
5072,
47,
3301,
62,
4868,
2599,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
17816,
1150,
666,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
1120,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
36008,
576,
6,
287,
5072,
47,
3301,
62,
4868,
25,
31548,
17816,
45828,
6,
4083,
33295,
7,
37659,
13,
12647,
25067,
576,
7,
7890,
58,
27932,
4357,
2425,
11,
22704,
28,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
31548,
13,
33295,
7,
37659,
13,
12647,
32604,
7,
7890,
58,
27932,
4357,
22704,
28,
15,
8,
611,
954,
58,
12,
16,
60,
29,
28,
10366,
952,
2073,
45941,
13,
18747,
26933,
37659,
13,
12647,
60,
9,
11925,
7,
7890,
58,
15,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
358,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
4808,
1136,
62,
6230,
7,
8424,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
33829,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
25,
7374,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
25,
6076,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
25,
3931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
25,
23608,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
8424,
4,
1065,
10,
18,
8,
1003,
18,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
825,
900,
62,
11250,
7,
944,
11,
15003,
25,
30388,
28,
25101,
11,
1174,
46265,
22046,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
4566,
17816,
35350,
39746,
6,
5974,
3613,
262,
1988,
379,
262,
923,
640,
393,
407,
27,
1671,
29,
198,
220,
220,
220,
220,
220,
220,
220,
4566,
17816,
22915,
47,
3301,
62,
4868,
5974,
2922,
5072,
11507,
685,
32604,
11,
19282,
11,
9806,
11,
1084,
60,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2315,
25,
1148,
262,
41216,
3722,
30,
15161,
318,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
900,
6407,
11,
481,
1262,
262,
2315,
1181,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12429,
46265,
22046,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32233,
11,
428,
670,
691,
2315,
900,
3991,
13,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4566,
25,
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,
355,
35,
713,
25,
20512,
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,
6143,
25,
20512,
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,
4259,
7575,
25,
20512,
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,
6632,
10434,
25,
20512,
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,
2116,
10260,
25,
20512,
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,
5072,
47,
3301,
62,
4868,
25,
1351,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1612,
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,
14367,
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,
3509,
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,
949,
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,
3509,
7575,
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,
949,
7575,
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,
28176,
576,
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,
14288,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2315,
855,
17821,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
11250,
796,
8633,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
355,
35,
713,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6143,
39746,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4259,
7575,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
10434,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
10260,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
17816,
32604,
41707,
19282,
41707,
32604,
20520,
1303,
37250,
32604,
41707,
19282,
41707,
9806,
41707,
1084,
41707,
9806,
7575,
41707,
1084,
7575,
41707,
36008,
576,
41707,
1150,
666,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
479,
86,
22046,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
11250,
58,
2539,
60,
796,
479,
86,
22046,
58,
2539,
60,
628,
220,
220,
220,
825,
5128,
7,
944,
11,
2435,
25,
4479,
58,
4868,
11,
45941,
13,
358,
18747,
4357,
7890,
25,
4479,
58,
4868,
11,
45941,
13,
358,
18747,
4357,
67,
4906,
25,
15252,
796,
22468,
11,
198,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
25677,
25,
1351,
28,
14202,
11,
9688,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
11,
437,
2435,
25,
19608,
8079,
13,
19608,
8079,
28,
14202,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
640,
1279,
19608,
8079,
29,
1058,
5128,
4628,
46331,
286,
1366,
1279,
1671,
29,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
1279,
77,
6975,
605,
31175,
5128,
1366,
7177,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
1351,
286,
640,
2168,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
25,
1351,
286,
1366,
900,
4745,
319,
640,
2168,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
4906,
25,
10385,
2099,
286,
1366,
4847,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
25,
10784,
7621,
286,
1366,
13639,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
923,
2435,
25,
923,
286,
262,
640,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
2435,
25,
886,
286,
262,
640,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
705,
33244,
2759,
6,
618,
1429,
1943,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
7890,
11,
67,
4906,
28,
67,
4906,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10366,
952,
796,
8064,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25677,
796,
13639,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9688,
2435,
796,
923,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
437,
2435,
796,
886,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
366,
33244,
2759,
1,
628,
220,
220,
220,
825,
318,
44754,
7,
944,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
6822,
6193,
1366,
9585,
4745,
319,
640,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
612,
468,
9585,
4818,
8079,
287,
262,
1366,
900,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
2435,
13,
3447,
1758,
32590,
16,
4008,
855,
11925,
7,
2617,
7,
944,
13,
2435,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
825,
1218,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
12825,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
43012,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
24055,
12227,
28,
15,
828,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
43012,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
12227,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
5664,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
1899,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
1084,
1769,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
1084,
1769,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
11374,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
628,
220,
220,
220,
825,
1711,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
1899,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
24425,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
837,
22570,
47,
3301,
28,
11600,
7,
11374,
28,
15,
11,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
24425,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
9769,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1110,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
1731,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
12545,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
9769,
28,
15,
11,
11374,
28,
15,
11,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
12545,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
820,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1227,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
1270,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
41537,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
820,
28,
16,
11,
9769,
28,
15,
11,
11374,
28,
15,
11,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
923,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
41537,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
8424,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1622,
7,
944,
11,
10366,
952,
25,
4479,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
493,
28,
18,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
8225,
25,
2805,
11,
3035,
11,
1737,
1279,
1671,
29,
198,
220,
220,
220,
220,
220,
220,
220,
10216,
25,
2795,
11,
2901,
11,
2932,
1279,
1671,
29,
198,
220,
220,
220,
220,
220,
220,
220,
33424,
25,
2693,
11,
3267,
11,
3389,
1279,
1671,
29,
198,
220,
220,
220,
220,
220,
220,
220,
10633,
25,
3426,
11,
3269,
11,
3945,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
6230,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
820,
28,
16,
11,
9769,
28,
15,
11,
11374,
28,
15,
11,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
923,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
6230,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
6230,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
628,
220,
220,
220,
825,
614,
7,
944,
11,
10366,
952,
25,
38176,
58,
600,
11,
12178,
22241,
14202,
11,
8692,
25,
600,
28,
1065,
8,
4613,
4479,
58,
14202,
11,
46545,
11,
1351,
11,
8633,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2141,
24696,
2446,
2779,
319,
4566,
4634,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
25,
2421,
286,
262,
1366,
3146,
7,
600,
8,
393,
8064,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
25,
2779,
1271,
286,
2672,
1366,
11,
779,
319,
8064,
27,
28,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4645,
286,
1441,
1366,
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,
220,
220,
220,
220,
6045,
25,
611,
4566,
13,
944,
10260,
855,
17821,
11,
788,
10784,
1366,
416,
2116,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
393,
1351,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
25101,
11,
788,
1441,
262,
1366,
355,
46545,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
640,
11,
1366,
11,
954,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
611,
4566,
13,
944,
10260,
855,
25101,
1222,
4566,
13,
292,
35,
713,
855,
17821,
11,
788,
1441,
262,
1366,
355,
22155,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
25,
45941,
13,
358,
18747,
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,
1366,
25,
45941,
13,
358,
18747,
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,
954,
25,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
10366,
952,
8,
611,
8064,
27,
28,
16,
2073,
493,
7,
10366,
952,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10366,
952,
0,
28,
14202,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
28,
600,
7,
8692,
9,
944,
13,
10366,
952,
8,
611,
2116,
13,
10366,
952,
27,
28,
16,
2073,
493,
7,
944,
13,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
13049,
7575,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
22570,
10434,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
19002,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6632,
47,
3301,
28,
11600,
7,
8424,
28,
16,
11,
820,
28,
16,
11,
9769,
28,
15,
11,
11374,
28,
15,
11,
12227,
28,
15,
11,
24055,
12227,
28,
15,
828,
35350,
39746,
28,
944,
13,
11250,
17816,
35350,
39746,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
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,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
13049,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
2435,
8600,
28,
11600,
7,
19002,
28,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
4357,
9688,
2435,
28,
944,
13,
9688,
2435,
11,
437,
2435,
28,
944,
13,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
1303,
2116,
13,
11250,
17816,
13049,
7575,
20520,
855,
25101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11814,
1820,
11,
67,
13513,
11,
9127,
796,
2116,
13557,
77,
1659,
844,
7575,
7,
944,
13,
2435,
11,
944,
13,
7890,
11,
17143,
2357,
11639,
1941,
3256,
22915,
47,
3301,
62,
4868,
28,
944,
13,
11250,
17816,
22915,
47,
3301,
62,
4868,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
2116,
13557,
48,
34,
62,
77,
17024,
7,
67,
13513,
11,
9127,
11,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
944,
10260,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
45941,
13,
18747,
7,
67,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
45941,
13,
18747,
7,
83,
13513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9127,
82,
796,
45941,
13,
18747,
7,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
318,
407,
2134,
3210,
4905,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1639,
761,
284,
900,
4566,
58,
944,
10260,
22241,
17821,
290,
779,
651,
2446,
284,
651,
262,
1255,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
796,
3862,
13557,
2617,
62,
25677,
7,
67,
13513,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
11250,
17816,
292,
35,
713,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
7,
2435,
28,
83,
13513,
11,
7890,
28,
67,
13513,
11,
9127,
82,
28,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
11814,
1820,
11,
67,
13513,
11,
9127,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
651,
7,
944,
11,
17143,
2357,
25,
965,
28,
14202,
8,
4613,
4479,
58,
4868,
11,
8633,
11,
45941,
13,
358,
18747,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
10784,
262,
1366,
422,
3862,
8860,
13,
628,
220,
220,
220,
220,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11507,
25,
2922,
262,
1441,
11507,
13,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33829,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6045,
25,
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,
640,
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,
1366,
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,
9853,
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,
4566,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9853,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
11507,
1366,
900,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
611,
11507,
855,
6,
11250,
10354,
1441,
2116,
13,
11250,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
17143,
2357,
855,
14202,
8,
290,
357,
944,
13,
11250,
17816,
292,
35,
713,
20520,
2599,
1441,
8633,
7,
2435,
28,
944,
13,
2435,
11,
1366,
28,
7575,
13557,
2617,
62,
25677,
7,
944,
13,
7890,
11,
25677,
28,
944,
13,
25677,
828,
9853,
28,
944,
13,
9127,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
11507,
855,
6,
2435,
10354,
1441,
2116,
13,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
611,
11507,
855,
6,
7890,
10354,
1441,
3862,
13557,
2617,
62,
25677,
7,
944,
13,
7890,
11,
25677,
28,
944,
13,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
11507,
855,
6,
9127,
82,
10354,
1441,
2116,
13,
9127,
82,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5492,
2922,
262,
1441,
11507,
393,
900,
4566,
17816,
292,
35,
713,
20520,
28,
17821,
19570,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1303,
48282,
262,
2134,
198,
220,
220,
220,
616,
26801,
796,
3862,
3419,
628,
220,
220,
220,
1303,
23412,
1366,
198,
220,
220,
220,
1330,
4818,
8079,
11,
4738,
198,
220,
220,
220,
336,
796,
4818,
8079,
13,
19608,
8079,
7,
42334,
11,
16,
11,
16,
8,
198,
220,
220,
220,
1271,
796,
642,
2388,
198,
220,
220,
220,
640,
796,
685,
301,
10,
19608,
8079,
13,
16514,
276,
12514,
7,
24425,
28,
2100,
8,
329,
1188,
287,
2837,
7,
17618,
15437,
198,
220,
220,
220,
1366,
796,
16410,
25120,
13,
4908,
1046,
7,
940,
11,
20,
8,
329,
4808,
287,
2837,
7,
19,
15437,
329,
4808,
287,
2837,
7,
17618,
15437,
198,
220,
220,
220,
616,
26801,
13,
15414,
7,
2435,
11,
7890,
11,
25677,
28,
17816,
64,
41707,
65,
41707,
66,
41707,
67,
6,
12962,
628,
220,
220,
220,
1303,
27131,
378,
290,
3497,
1255,
198,
220,
220,
220,
1303,
616,
26801,
13,
9769,
7,
16,
11,
4059,
8,
198,
220,
220,
220,
616,
26801,
13,
2617,
62,
11250,
7,
22915,
47,
3301,
62,
4868,
28,
17816,
32604,
41707,
19282,
41707,
9806,
41707,
36008,
576,
6,
12962,
198,
220,
220,
220,
616,
26801,
13,
6230,
3419,
198,
220,
220,
220,
616,
26801,
13,
2617,
62,
11250,
7,
292,
35,
713,
28,
17821,
8,
198,
220,
220,
220,
1255,
796,
616,
26801,
13,
1136,
3419,
198,
220,
220,
220,
3601,
7,
20274,
8
] | 2.018998 | 15,949 |
import math | [
11748,
10688
] | 5.5 | 2 |
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
from .backbones.darknet import CSPDarknet, Darknet
from .backbones.resnet_vd import Resnet18Vd, Resnet50Vd
from .backbones.resnet_vb import Resnet50Vb
from .losses.yolov3_loss import YOLOv3Loss
from .losses.losses import IOUloss
from .losses.iou_losses import MyIOUloss, IouLoss, IouAwareLoss
from .losses.fcos_loss import FCOSLoss
from .heads.yolov3_head import YOLOv3Head
from .heads.yolox_head import YOLOXHead
from .heads.fcos_head import FCOSHead
from .necks.yolo_pafpn import YOLOPAFPN
from .necks.yolo_fpn import YOLOFPN
from .necks.fpn import FPN
from .architectures.yolo import PPYOLO
from .architectures.yolox import YOLOX
from .architectures.fcos import FCOS
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
2,
15069,
357,
66,
8,
1946,
12,
1238,
2481,
8336,
85,
4178,
3457,
13,
1439,
2489,
10395,
13,
198,
198,
6738,
764,
1891,
35095,
13,
21953,
3262,
1330,
327,
4303,
17367,
3262,
11,
3801,
3262,
198,
6738,
764,
1891,
35095,
13,
411,
3262,
62,
20306,
1330,
1874,
3262,
1507,
53,
67,
11,
1874,
3262,
1120,
53,
67,
198,
6738,
764,
1891,
35095,
13,
411,
3262,
62,
85,
65,
1330,
1874,
3262,
1120,
53,
65,
628,
198,
6738,
764,
22462,
274,
13,
88,
349,
709,
18,
62,
22462,
1330,
575,
3535,
46,
85,
18,
43,
793,
198,
6738,
764,
22462,
274,
13,
22462,
274,
1330,
314,
2606,
22462,
198,
6738,
764,
22462,
274,
13,
72,
280,
62,
22462,
274,
1330,
2011,
40,
2606,
22462,
11,
314,
280,
43,
793,
11,
314,
280,
32,
1574,
43,
793,
198,
6738,
764,
22462,
274,
13,
69,
6966,
62,
22462,
1330,
10029,
2640,
43,
793,
628,
198,
6738,
764,
16600,
13,
88,
349,
709,
18,
62,
2256,
1330,
575,
3535,
46,
85,
18,
13847,
198,
6738,
764,
16600,
13,
88,
349,
1140,
62,
2256,
1330,
575,
3535,
48632,
13847,
198,
6738,
764,
16600,
13,
69,
6966,
62,
2256,
1330,
10029,
2640,
13847,
628,
198,
6738,
764,
710,
4657,
13,
88,
14057,
62,
79,
1878,
21999,
1330,
575,
3535,
3185,
17449,
45,
198,
6738,
764,
710,
4657,
13,
88,
14057,
62,
69,
21999,
1330,
575,
3535,
46,
5837,
45,
198,
6738,
764,
710,
4657,
13,
69,
21999,
1330,
376,
13137,
628,
198,
6738,
764,
998,
5712,
942,
13,
88,
14057,
1330,
21082,
56,
3535,
46,
198,
6738,
764,
998,
5712,
942,
13,
88,
349,
1140,
1330,
575,
3535,
48632,
198,
6738,
764,
998,
5712,
942,
13,
69,
6966,
1330,
10029,
2640,
198
] | 2.537217 | 309 |
#!/usr/bin/env python
import numpy as np
import kaldiio
id2mfcc = kaldiio.load_scp('/home/sangjik/kaldi/egs/voxceleb/v2.smallest/mfcc/raw_mfcc_train.10.scp')
for utt_id, mfcc in id2mfcc.items():
#print(utt_id, mfcc.shape)
np.save('./tmp_mfcc/{}.npy'.format(utt_id), mfcc)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
479,
37566,
952,
198,
198,
312,
17,
76,
69,
535,
796,
479,
37566,
952,
13,
2220,
62,
1416,
79,
10786,
14,
11195,
14,
82,
648,
73,
1134,
14,
74,
37566,
14,
1533,
82,
14,
85,
1140,
49840,
65,
14,
85,
17,
13,
17470,
395,
14,
76,
69,
535,
14,
1831,
62,
76,
69,
535,
62,
27432,
13,
940,
13,
1416,
79,
11537,
198,
1640,
3384,
83,
62,
312,
11,
285,
69,
535,
287,
4686,
17,
76,
69,
535,
13,
23814,
33529,
198,
220,
220,
220,
1303,
4798,
7,
15318,
62,
312,
11,
285,
69,
535,
13,
43358,
8,
198,
220,
220,
220,
45941,
13,
21928,
7,
4458,
14,
22065,
62,
76,
69,
535,
14,
90,
27422,
77,
9078,
4458,
18982,
7,
15318,
62,
312,
828,
285,
69,
535,
8,
198
] | 1.918367 | 147 |
import logging
import pathlib
import re
import os
from fnmatch import fnmatch
from textwrap import dedent
from collections import defaultdict
import datajoint as dj
from . import lab
from . import experiment
from . import ephys
from . import tracking
from .ingest.tracking import TrackingIngest
from pipeline.globus import GlobusStorageManager
from . import get_schema_name
PUBLICATION_TRANSFER_TIMEOUT = 10000
schema = dj.schema(get_schema_name('publication'))
log = logging.getLogger(__name__)
__all__ = [experiment, ephys]
@schema
class GlobusStorageLocation(dj.Lookup):
""" globus storage locations """
definition = """
globus_alias: varchar(32) # name for location (e.g. 'raw-ephys')
---
globus_endpoint: varchar(255) # globus endpoint (user#endpoint)
globus_path: varchar(1024) # unix-style path within endpoint
"""
@property
@classmethod
def local_endpoint(cls, globus_alias=None):
'''
return local endpoint for globus_alias from dj.config
expects:
globus.local_endpoints: {
globus_alias: {
'endpoint': uuid, # UUID of local endpoint
'endpoint_subdir': str, # unix-style path within endpoint
'endpoint_path': str # corresponding local path
}
'''
le = dj.config.get('custom', {}).get('globus.local_endpoints', None)
if le is None or globus_alias not in le:
raise dj.DataJointError(
"globus_local_endpoints for {} not configured".format(
globus_alias))
return le[globus_alias]
@schema
@schema
@schema
@schema
@schema
@schema
@schema
class ArchivedTrackingVideo(dj.Imported):
'''
ArchivedTrackingVideo storage
Note: video_file_name tracked here as trial->file map is non-deterministic
Directory locations of the form:
{Water restriction number}\{Session Date}\video
with file naming convention of the form:
{Water restriction number}_{camera-position-string}_NNN-NNNN.avi
Where 'NNN' is determined from the 'tracking map file' which maps
trials to videos as outlined in tracking.py
XXX:
Using key-source based loookup as is currently done,
may have trials for which there is no tracking,
so camera cannot be determined to do file lookup, thus videos are missed.
This could be resolved via schema adjustment, or file-traversal
based 'opportunistic' registration strategy.
'''
definition = """
-> ArchivedSession
-> tracking.TrackingDevice
---
-> DataSet
"""
key_source = tracking.TrackingDevice * experiment.Session
ingest = None # ingest module reference
gsm = None # for GlobusStorageManager
@classmethod
def get_ingest(cls):
'''
return tracking_ingest module
not imported globally to prevent ingest schema creation for client case
'''
log.debug('ArchivedVideoFile.get_ingest()')
if cls.ingest is None:
from .ingest import tracking as tracking_ingest
cls.ingest = tracking_ingest
return cls.ingest
@classmethod
def discover(cls):
"""
discover files on globus and attempt to register them
"""
self = cls()
globus_alias = 'raw-video'
le = GlobusStorageLocation.local_endpoint(globus_alias)
lep, lep_sub, lep_dir = (le['endpoint'],
le['endpoint_subdir'],
le['endpoint_path'])
ra, rep, rep_sub = (GlobusStorageLocation()
& {'globus_alias': globus_alias}).fetch1().values()
smap = {'{}/{}'.format(s['water_restriction_number'],
s['session_date']).replace('-', ''): s
for s in (experiment.Session()
* (lab.WaterRestriction() * lab.Subject.proj()))}
tpos_dev = {s['tracking_position']: s['tracking_device']
for s in tracking.TrackingDevice()} # position:device
ftmap = {t['file_type']: t for t
in (FileType() & "file_type like 'tracking%%'")}
skey = None
sskip = set()
sfiles = [] # {file_subpath:, trial:, file_type:,}
gsm = self.get_gsm()
gsm.activate_endpoint(lep)
gsm.activate_endpoint(rep)
for ep, dirname, node in gsm.fts('{}:{}'.format(rep, rep_sub)):
vdir = re.match('([a-z]+[0-9]+)/([0-9]{8})/video', dirname)
if not vdir or node['DATA_TYPE'] != 'file':
continue
h2o, sdate = vdir[1], vdir[2]
skey_i = '{}/{}'.format(h2o, sdate)
if skey_i != skey:
if skey and skey in smap:
with dj.conn().transaction:
try:
commit(skey, sfiles)
except Exception as e:
log.error(
'Exception {} committing {}. files: {}'.format(
repr(e), skey, sfiles))
skey, sfiles = skey_i, []
if skey not in smap:
if skey not in sskip:
log.debug('session {} not known. skipping'.format(skey))
sskip.add(skey)
continue
fname = node['name']
log.debug('checking {}/{}'.format(dirname, fname))
if '.' not in fname:
log.debug('skipping {} - no dot in fname'.format(fname))
continue
froot, fext = fname.split('.', 1)
ftype = {g['file_type']: g for g in ftmap.values()
if fnmatch(fname, g['file_glob'])}
if len(ftype) != 1:
log.debug('skipping {} - incorrect type matches: {}'.format(
fname, ftype))
continue
ftype = next(iter(ftype.values()))['file_type']
log.debug('processing as {}'.format(ftype))
file_subpath = '{}/{}'.format(dirname, fname)
if ftype == 'tracking-video-map':
# e.g. dl55_20190108_side.txt
h2o_f, fdate, pos = froot.split('_')
sfiles.append({'water_restriction_number': h2o,
'session_date': '{}-{}-{}'.format(
sdate[:4], sdate[4:6], sdate[6:]),
'position': pos,
'file_subpath': file_subpath,
'file_type': ftype})
else: # tracking-video-map
# e.g. dl41_side_998-0000.avi or dl41_side_998-0000_00.avi
h2o_f, pos, video = froot.replace('-', '_').split('_')[:3]
sfiles.append({'water_restriction_number': h2o,
'session_date': '{}-{}-{}'.format(
sdate[:4], sdate[4:6], sdate[6:]),
'position': pos,
'video': int(video),
'file_subpath': file_subpath,
'file_type': ftype})
def make(self, key):
"""
discover files in local endpoint and transfer/register
"""
log.info('ArchivedVideoFile.make(): {}'.format(key))
# {'tracking_device': 'Camera 0', 'subject_id': 432572, 'session': 1}
globus_alias = 'raw-video'
le = GlobusStorageLocation.local_endpoint(globus_alias)
lep, lep_sub, lep_dir = (le['endpoint'],
le['endpoint_subdir'],
le['endpoint_path'])
re = (GlobusStorageLocation & {'globus_alias': globus_alias}).fetch1()
rep, rep_sub = re['globus_endpoint'], re['globus_path']
log.info('local_endpoint: {}:{} -> {}'.format(lep, lep_sub, lep_dir))
log.info('remote_endpoint: {}:{}'.format(rep, rep_sub))
h2o = (lab.WaterRestriction & key).fetch1('water_restriction_number')
session = (experiment.Session & key).fetch1()
sdate = session['session_date']
sdate_sml = "{}{:02d}{:02d}".format(sdate.year, sdate.month, sdate.day)
dev = (tracking.TrackingDevice & key).fetch1()
trls = (experiment.SessionTrial & key).fetch(
order_by='trial', as_dict=True)
tracking_ingest = self.get_ingest()
tdev = dev['tracking_device'] # NOQA: notused
tpos = dev['tracking_position']
camtrial = '{}_{}_{}.txt'.format(h2o, sdate_sml, tpos)
vbase = pathlib.Path(lep_dir, h2o, sdate_sml, 'video')
campath = vbase / camtrial
if not campath.exists(): # XXX: uses 1st found
log.warning('trial map {} n/a! skipping.'.format(campath))
return
log.info('loading trial map: {}'.format(campath))
vmap = {v: k for k, v in
tracking_ingest.TrackingIngest.load_campath(campath).items()}
log.debug('loaded video map: {}'.format(vmap))
# add ArchivedSession
as_key = {k: v for k, v in key.items()
if k in experiment.Session.primary_key}
as_rec = {**as_key, 'globus_alias': globus_alias}
ArchivedSession.insert1(as_rec, allow_direct_insert=True,
skip_duplicates=True)
# add DataSet
ds_type = 'tracking-video'
ds_name = '{}_{}_{}_{}'.format(h2o, sdate.isoformat(), ds_type, tpos)
ds_key = {'globus_alias': globus_alias, 'dataset_name': ds_name}
ds_rec = {**ds_key, 'dataset_type': ds_type}
DataSet.insert1(ds_rec, allow_direct_insert=True)
# add ArchivedVideoTracking
vt_key = {**as_key, 'tracking_device': tdev}
vt_rec = {**vt_key, 'globus_alias': globus_alias,
'dataset_name': ds_name}
self.insert1(vt_rec)
filetype = 'tracking-video-trial'
for t in trls:
trial = t['trial']
log.info('.. tracking trial {} ({})'.format(trial, t))
if t['trial'] not in vmap:
log.warning('trial {} not in video map. skipping!'.format(t))
continue
vmatch = '{}_{}_{}-*'.format(h2o, tpos, vmap[trial])
log.debug('vbase: {}, vmatch: {}'.format(vbase, vmatch))
vglob = list(vbase.glob(vmatch))
if len(vglob) != 1:
emsg = 'incorrect videos found in {}: {}'.format(vbase, vglob)
log.warning(emsg)
raise dj.DataJointError(emsg)
vfile = vglob[0].name
gfile = '{}/{}/{}/{}'.format(
h2o, sdate_sml, 'video', vfile) # subpath
srcp = '{}:{}/{}'.format(lep, lep_sub, gfile) # source path
dstp = '{}:{}/{}'.format(rep, rep_sub, gfile) # dest path
gsm = self.get_gsm()
gsm.activate_endpoint(lep) # XXX: cache / prevent duplicate RPC?
gsm.activate_endpoint(rep) # XXX: cache / prevent duplicate RPC?
log.info('transferring {} to {}'.format(srcp, dstp))
if not gsm.cp(srcp, dstp):
emsg = "couldn't transfer {} to {}".format(srcp, dstp)
log.error(emsg)
raise dj.DataJointError(emsg)
pf_key = {**ds_key, 'file_subpath': vfile}
pf_rec = {**pf_key, 'file_type': filetype}
DataSet.PhysicalFile.insert1({**pf_rec}, allow_direct_insert=True)
trk_key = {k: v for k, v in {**key, 'trial': trial}.items()
if k in experiment.SessionTrial.primary_key}
tv_rec = {**vt_key, **trk_key, **pf_key}
self.TrialVideo.insert1({**tv_rec})
def test_flist(fname='globus-index-full.txt'):
'''
spoof tester for discover methods
expects:
f: ep:/path/to/file
d: ep:/path/to/direct
etc. (aka: globus-shell 'find' output)
replace the line:
for ep, dirname, node in gsm.fts('{}:{}'.format(rep, rep_sub)):
with:
for ep, dirname, node in test_flist('globus-list.txt'):
to test against the file 'globus-list.txt'
'''
with open(fname, 'r') as infile:
for l in infile:
try:
t, fp = l.split(' ')
fp = fp.split(':')[1].lstrip('/').rstrip('\n')
dn, bn = os.path.split(fp)
if t == 'f:':
yield ('ep', dn, {'DATA_TYPE': 'file', 'name': bn})
else:
yield ('ep', dn, {'DATA_TYPE': 'dunno', 'path': bn})
except ValueError as e:
if 'too many values' in repr(e):
pass
| [
198,
11748,
18931,
198,
11748,
3108,
8019,
198,
11748,
302,
198,
11748,
28686,
198,
198,
6738,
24714,
15699,
1330,
24714,
15699,
198,
6738,
2420,
37150,
1330,
4648,
298,
198,
6738,
17268,
1330,
4277,
11600,
198,
198,
11748,
1366,
73,
1563,
355,
42625,
198,
198,
6738,
764,
1330,
2248,
198,
6738,
764,
1330,
6306,
198,
6738,
764,
1330,
304,
34411,
198,
6738,
764,
1330,
9646,
198,
6738,
764,
278,
395,
13,
36280,
1330,
37169,
27682,
395,
628,
198,
6738,
11523,
13,
4743,
672,
385,
1330,
40713,
385,
31425,
13511,
198,
6738,
764,
1330,
651,
62,
15952,
2611,
62,
3672,
198,
198,
5105,
32936,
6234,
62,
5446,
15037,
24302,
62,
34694,
12425,
796,
33028,
198,
15952,
2611,
796,
42625,
13,
15952,
2611,
7,
1136,
62,
15952,
2611,
62,
3672,
10786,
11377,
341,
6,
4008,
198,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
834,
439,
834,
796,
685,
23100,
3681,
11,
304,
34411,
60,
628,
198,
31,
15952,
2611,
198,
4871,
40713,
385,
31425,
14749,
7,
28241,
13,
8567,
929,
2599,
198,
220,
220,
220,
37227,
15095,
385,
6143,
7064,
37227,
628,
220,
220,
220,
6770,
796,
37227,
198,
220,
220,
220,
15095,
385,
62,
26011,
25,
220,
220,
220,
220,
220,
220,
410,
998,
283,
7,
2624,
8,
220,
220,
220,
220,
1303,
1438,
329,
4067,
357,
68,
13,
70,
13,
705,
1831,
12,
27446,
893,
11537,
198,
220,
220,
220,
11420,
198,
220,
220,
220,
15095,
385,
62,
437,
4122,
25,
220,
220,
220,
410,
998,
283,
7,
13381,
8,
220,
220,
220,
1303,
15095,
385,
36123,
357,
7220,
2,
437,
4122,
8,
198,
220,
220,
220,
15095,
385,
62,
6978,
25,
220,
220,
220,
220,
220,
220,
220,
410,
998,
283,
7,
35500,
8,
220,
220,
1303,
555,
844,
12,
7635,
3108,
1626,
36123,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
1957,
62,
437,
4122,
7,
565,
82,
11,
15095,
385,
62,
26011,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1957,
36123,
329,
15095,
385,
62,
26011,
422,
42625,
13,
11250,
198,
220,
220,
220,
220,
220,
220,
220,
13423,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15095,
385,
13,
12001,
62,
437,
13033,
25,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15095,
385,
62,
26011,
25,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
437,
4122,
10354,
334,
27112,
11,
220,
1303,
471,
27586,
286,
1957,
36123,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
437,
4122,
62,
7266,
15908,
10354,
965,
11,
220,
1303,
555,
844,
12,
7635,
3108,
1626,
36123,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
437,
4122,
62,
6978,
10354,
965,
220,
1303,
11188,
1957,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
443,
796,
42625,
13,
11250,
13,
1136,
10786,
23144,
3256,
23884,
737,
1136,
10786,
4743,
672,
385,
13,
12001,
62,
437,
13033,
3256,
6045,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
443,
318,
6045,
393,
15095,
385,
62,
26011,
407,
287,
443,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
42625,
13,
6601,
41,
1563,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4743,
672,
385,
62,
12001,
62,
437,
13033,
329,
23884,
407,
17839,
1911,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15095,
385,
62,
26011,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
443,
58,
4743,
672,
385,
62,
26011,
60,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
628,
198,
31,
15952,
2611,
198,
4871,
5579,
1572,
2898,
5430,
10798,
7,
28241,
13,
3546,
9213,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
5579,
1572,
2898,
5430,
10798,
6143,
628,
220,
220,
220,
5740,
25,
2008,
62,
7753,
62,
3672,
18283,
994,
355,
4473,
3784,
7753,
3975,
318,
1729,
12,
67,
2357,
49228,
628,
220,
220,
220,
27387,
7064,
286,
262,
1296,
25,
628,
220,
220,
220,
1391,
19184,
17504,
1271,
32239,
90,
36044,
7536,
32239,
15588,
628,
220,
220,
220,
351,
2393,
19264,
9831,
286,
262,
1296,
25,
628,
220,
220,
220,
1391,
19184,
17504,
1271,
92,
23330,
25695,
12,
9150,
12,
8841,
92,
62,
6144,
45,
12,
6144,
6144,
13,
15820,
628,
220,
220,
220,
6350,
705,
6144,
45,
6,
318,
5295,
422,
262,
705,
36280,
3975,
2393,
6,
543,
8739,
198,
220,
220,
220,
9867,
284,
5861,
355,
16493,
287,
9646,
13,
9078,
628,
220,
220,
220,
27713,
25,
628,
220,
220,
220,
8554,
1994,
12,
10459,
1912,
2376,
566,
929,
355,
318,
3058,
1760,
11,
198,
220,
220,
220,
743,
423,
9867,
329,
543,
612,
318,
645,
9646,
11,
198,
220,
220,
220,
523,
4676,
2314,
307,
5295,
284,
466,
2393,
35847,
11,
4145,
5861,
389,
6825,
13,
198,
220,
220,
220,
770,
714,
307,
12939,
2884,
32815,
15068,
11,
393,
2393,
12,
9535,
690,
282,
198,
220,
220,
220,
1912,
705,
10365,
1922,
2569,
6,
9352,
4811,
13,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
6770,
796,
37227,
198,
220,
220,
220,
4613,
5579,
1572,
36044,
198,
220,
220,
220,
4613,
9646,
13,
2898,
5430,
24728,
198,
220,
220,
220,
11420,
198,
220,
220,
220,
4613,
6060,
7248,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1994,
62,
10459,
796,
9646,
13,
2898,
5430,
24728,
1635,
6306,
13,
36044,
628,
220,
220,
220,
26151,
796,
6045,
220,
1303,
26151,
8265,
4941,
198,
220,
220,
220,
308,
5796,
796,
6045,
220,
1303,
329,
40713,
385,
31425,
13511,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
651,
62,
278,
395,
7,
565,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
9646,
62,
278,
395,
8265,
198,
220,
220,
220,
220,
220,
220,
220,
407,
17392,
18309,
284,
2948,
26151,
32815,
6282,
329,
5456,
1339,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
19895,
1572,
10798,
8979,
13,
1136,
62,
278,
395,
3419,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
537,
82,
13,
278,
395,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
422,
764,
278,
395,
1330,
9646,
355,
9646,
62,
278,
395,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
537,
82,
13,
278,
395,
796,
9646,
62,
278,
395,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
537,
82,
13,
278,
395,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
7073,
7,
565,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7073,
3696,
319,
15095,
385,
290,
2230,
284,
7881,
606,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
796,
537,
82,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
15095,
385,
62,
26011,
796,
705,
1831,
12,
15588,
6,
628,
220,
220,
220,
220,
220,
220,
220,
443,
796,
40713,
385,
31425,
14749,
13,
12001,
62,
437,
4122,
7,
4743,
672,
385,
62,
26011,
8,
198,
220,
220,
220,
220,
220,
220,
220,
443,
79,
11,
443,
79,
62,
7266,
11,
443,
79,
62,
15908,
796,
357,
293,
17816,
437,
4122,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
17816,
437,
4122,
62,
7266,
15908,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
17816,
437,
4122,
62,
6978,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
2179,
11,
1128,
11,
1128,
62,
7266,
796,
357,
9861,
672,
385,
31425,
14749,
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,
1222,
1391,
6,
4743,
672,
385,
62,
26011,
10354,
15095,
385,
62,
26011,
92,
737,
69,
7569,
16,
22446,
27160,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
895,
499,
796,
1391,
6,
90,
92,
14,
90,
92,
4458,
18982,
7,
82,
17816,
7050,
62,
2118,
46214,
62,
17618,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
17816,
29891,
62,
4475,
20520,
737,
33491,
10786,
12,
3256,
10148,
2599,
264,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
264,
287,
357,
23100,
3681,
13,
36044,
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,
1635,
357,
23912,
13,
19184,
19452,
46214,
3419,
1635,
2248,
13,
19776,
13,
1676,
73,
3419,
4008,
92,
628,
220,
220,
220,
220,
220,
220,
220,
256,
1930,
62,
7959,
796,
1391,
82,
17816,
36280,
62,
9150,
6,
5974,
264,
17816,
36280,
62,
25202,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
264,
287,
9646,
13,
2898,
5430,
24728,
3419,
92,
220,
1303,
2292,
25,
25202,
628,
220,
220,
220,
220,
220,
220,
220,
10117,
8899,
796,
1391,
83,
17816,
7753,
62,
4906,
6,
5974,
256,
329,
256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
357,
8979,
6030,
3419,
1222,
366,
7753,
62,
4906,
588,
705,
36280,
16626,
6,
4943,
92,
628,
220,
220,
220,
220,
220,
220,
220,
264,
2539,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
264,
48267,
796,
900,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
264,
16624,
796,
17635,
220,
1303,
1391,
7753,
62,
7266,
6978,
45299,
4473,
45299,
2393,
62,
4906,
45299,
92,
628,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
796,
2116,
13,
1136,
62,
70,
5796,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
13,
39022,
62,
437,
4122,
7,
293,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
13,
39022,
62,
437,
4122,
7,
7856,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
2462,
11,
26672,
3672,
11,
10139,
287,
308,
5796,
13,
35594,
10786,
90,
92,
29164,
92,
4458,
18982,
7,
7856,
11,
1128,
62,
7266,
8,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
15908,
796,
302,
13,
15699,
10786,
26933,
64,
12,
89,
48688,
58,
15,
12,
24,
48688,
20679,
26933,
15,
12,
24,
60,
90,
23,
92,
20679,
15588,
3256,
26672,
3672,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
410,
15908,
393,
10139,
17816,
26947,
62,
25216,
20520,
14512,
705,
7753,
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,
289,
17,
78,
11,
264,
4475,
796,
410,
15908,
58,
16,
4357,
410,
15908,
58,
17,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
2539,
62,
72,
796,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
71,
17,
78,
11,
264,
4475,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
2539,
62,
72,
14512,
264,
2539,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
2539,
290,
264,
2539,
287,
895,
499,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
351,
42625,
13,
37043,
22446,
7645,
2673,
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,
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,
220,
220,
220,
220,
4589,
7,
82,
2539,
11,
264,
16624,
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,
2845,
35528,
355,
304,
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,
2604,
13,
18224,
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,
16922,
23884,
17222,
23884,
13,
3696,
25,
23884,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41575,
7,
68,
828,
264,
2539,
11,
264,
16624,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
2539,
11,
264,
16624,
796,
264,
2539,
62,
72,
11,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
2539,
407,
287,
895,
499,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
2539,
407,
287,
264,
48267,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
29891,
23884,
407,
1900,
13,
31017,
4458,
18982,
7,
82,
2539,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
48267,
13,
2860,
7,
82,
2539,
8,
628,
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,
277,
3672,
796,
10139,
17816,
3672,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
41004,
23884,
14,
90,
92,
4458,
18982,
7,
15908,
3672,
11,
277,
3672,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
2637,
407,
287,
277,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
20545,
2105,
23884,
532,
645,
16605,
287,
277,
3672,
4458,
18982,
7,
69,
3672,
4008,
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,
8400,
313,
11,
730,
742,
796,
277,
3672,
13,
35312,
10786,
2637,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
4906,
796,
1391,
70,
17816,
7753,
62,
4906,
6,
5974,
308,
329,
308,
287,
10117,
8899,
13,
27160,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
24714,
15699,
7,
69,
3672,
11,
308,
17816,
7753,
62,
4743,
672,
6,
12962,
92,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
701,
2981,
8,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
20545,
2105,
23884,
532,
11491,
2099,
7466,
25,
23884,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
3672,
11,
277,
4906,
4008,
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,
277,
4906,
796,
1306,
7,
2676,
7,
701,
2981,
13,
27160,
3419,
4008,
17816,
7753,
62,
4906,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
36948,
355,
23884,
4458,
18982,
7,
701,
2981,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
7266,
6978,
796,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
15908,
3672,
11,
277,
3672,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
277,
4906,
6624,
705,
36280,
12,
15588,
12,
8899,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
304,
13,
70,
13,
288,
75,
2816,
62,
23344,
486,
2919,
62,
1589,
13,
14116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
17,
78,
62,
69,
11,
277,
4475,
11,
1426,
796,
8400,
313,
13,
35312,
10786,
62,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
16624,
13,
33295,
15090,
6,
7050,
62,
2118,
46214,
62,
17618,
10354,
289,
17,
78,
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,
705,
29891,
62,
4475,
10354,
705,
90,
92,
12,
90,
92,
12,
90,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
4475,
58,
25,
19,
4357,
264,
4475,
58,
19,
25,
21,
4357,
264,
4475,
58,
21,
25,
46570,
198,
220,
220,
220,
220,
220,
220,
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,
9150,
10354,
1426,
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,
705,
7753,
62,
7266,
6978,
10354,
2393,
62,
7266,
6978,
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,
705,
7753,
62,
4906,
10354,
277,
4906,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
1303,
9646,
12,
15588,
12,
8899,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
304,
13,
70,
13,
288,
75,
3901,
62,
1589,
62,
34808,
12,
2388,
13,
15820,
393,
288,
75,
3901,
62,
1589,
62,
34808,
12,
2388,
62,
405,
13,
15820,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
17,
78,
62,
69,
11,
1426,
11,
2008,
796,
8400,
313,
13,
33491,
10786,
12,
3256,
705,
62,
27691,
35312,
10786,
62,
11537,
58,
25,
18,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
16624,
13,
33295,
15090,
6,
7050,
62,
2118,
46214,
62,
17618,
10354,
289,
17,
78,
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,
705,
29891,
62,
4475,
10354,
705,
90,
92,
12,
90,
92,
12,
90,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
4475,
58,
25,
19,
4357,
264,
4475,
58,
19,
25,
21,
4357,
264,
4475,
58,
21,
25,
46570,
198,
220,
220,
220,
220,
220,
220,
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,
9150,
10354,
1426,
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,
705,
15588,
10354,
493,
7,
15588,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7753,
62,
7266,
6978,
10354,
2393,
62,
7266,
6978,
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,
705,
7753,
62,
4906,
10354,
277,
4906,
30072,
628,
220,
220,
220,
825,
787,
7,
944,
11,
1994,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7073,
3696,
287,
1957,
36123,
290,
4351,
14,
30238,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
19895,
1572,
10798,
8979,
13,
15883,
33529,
23884,
4458,
18982,
7,
2539,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1391,
6,
36280,
62,
25202,
10354,
705,
35632,
657,
3256,
705,
32796,
62,
312,
10354,
5946,
1495,
4761,
11,
705,
29891,
10354,
352,
92,
628,
220,
220,
220,
220,
220,
220,
220,
15095,
385,
62,
26011,
796,
705,
1831,
12,
15588,
6,
198,
220,
220,
220,
220,
220,
220,
220,
443,
796,
40713,
385,
31425,
14749,
13,
12001,
62,
437,
4122,
7,
4743,
672,
385,
62,
26011,
8,
198,
220,
220,
220,
220,
220,
220,
220,
443,
79,
11,
443,
79,
62,
7266,
11,
443,
79,
62,
15908,
796,
357,
293,
17816,
437,
4122,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
17816,
437,
4122,
62,
7266,
15908,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
17816,
437,
4122,
62,
6978,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
302,
796,
357,
9861,
672,
385,
31425,
14749,
1222,
1391,
6,
4743,
672,
385,
62,
26011,
10354,
15095,
385,
62,
26011,
92,
737,
69,
7569,
16,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1128,
11,
1128,
62,
7266,
796,
302,
17816,
4743,
672,
385,
62,
437,
4122,
6,
4357,
302,
17816,
4743,
672,
385,
62,
6978,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
12001,
62,
437,
4122,
25,
23884,
29164,
92,
4613,
23884,
4458,
18982,
7,
293,
79,
11,
443,
79,
62,
7266,
11,
443,
79,
62,
15908,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
47960,
62,
437,
4122,
25,
23884,
29164,
92,
4458,
18982,
7,
7856,
11,
1128,
62,
7266,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
289,
17,
78,
796,
357,
23912,
13,
19184,
19452,
46214,
1222,
1994,
737,
69,
7569,
16,
10786,
7050,
62,
2118,
46214,
62,
17618,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
6246,
796,
357,
23100,
3681,
13,
36044,
1222,
1994,
737,
69,
7569,
16,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
264,
4475,
796,
6246,
17816,
29891,
62,
4475,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
264,
4475,
62,
82,
4029,
796,
45144,
18477,
25,
2999,
67,
18477,
25,
2999,
67,
92,
1911,
18982,
7,
82,
4475,
13,
1941,
11,
264,
4475,
13,
8424,
11,
264,
4475,
13,
820,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1614,
796,
357,
36280,
13,
2898,
5430,
24728,
1222,
1994,
737,
69,
7569,
16,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
491,
7278,
796,
357,
23100,
3681,
13,
36044,
51,
4454,
1222,
1994,
737,
69,
7569,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1502,
62,
1525,
11639,
45994,
3256,
355,
62,
11600,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
9646,
62,
278,
395,
796,
2116,
13,
1136,
62,
278,
395,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
256,
7959,
796,
1614,
17816,
36280,
62,
25202,
20520,
220,
1303,
8005,
48,
32,
25,
407,
1484,
198,
220,
220,
220,
220,
220,
220,
220,
256,
1930,
796,
1614,
17816,
36280,
62,
9150,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
12172,
45994,
796,
705,
90,
92,
23330,
92,
23330,
27422,
14116,
4458,
18982,
7,
71,
17,
78,
11,
264,
4475,
62,
82,
4029,
11,
256,
1930,
8,
198,
220,
220,
220,
220,
220,
220,
220,
410,
8692,
796,
3108,
8019,
13,
15235,
7,
293,
79,
62,
15908,
11,
289,
17,
78,
11,
264,
4475,
62,
82,
4029,
11,
705,
15588,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1413,
776,
796,
410,
8692,
1220,
12172,
45994,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1413,
776,
13,
1069,
1023,
33529,
220,
1303,
27713,
25,
3544,
352,
301,
1043,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
43917,
10786,
45994,
3975,
23884,
299,
14,
64,
0,
31017,
2637,
13,
18982,
7,
16544,
776,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
25138,
4473,
3975,
25,
23884,
4458,
18982,
7,
16544,
776,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
410,
8899,
796,
1391,
85,
25,
479,
329,
479,
11,
410,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9646,
62,
278,
395,
13,
2898,
5430,
27682,
395,
13,
2220,
62,
16544,
776,
7,
16544,
776,
737,
23814,
3419,
92,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
14578,
2008,
3975,
25,
23884,
4458,
18982,
7,
85,
8899,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
5579,
1572,
36044,
628,
220,
220,
220,
220,
220,
220,
220,
355,
62,
2539,
796,
1391,
74,
25,
410,
329,
479,
11,
410,
287,
1994,
13,
23814,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
287,
6306,
13,
36044,
13,
39754,
62,
2539,
92,
198,
220,
220,
220,
220,
220,
220,
220,
355,
62,
8344,
796,
1391,
1174,
292,
62,
2539,
11,
705,
4743,
672,
385,
62,
26011,
10354,
15095,
385,
62,
26011,
92,
628,
220,
220,
220,
220,
220,
220,
220,
5579,
1572,
36044,
13,
28463,
16,
7,
292,
62,
8344,
11,
1249,
62,
12942,
62,
28463,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14267,
62,
646,
489,
16856,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
6060,
7248,
628,
220,
220,
220,
220,
220,
220,
220,
288,
82,
62,
4906,
796,
705,
36280,
12,
15588,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
62,
3672,
796,
705,
90,
92,
23330,
92,
23330,
92,
23330,
92,
4458,
18982,
7,
71,
17,
78,
11,
264,
4475,
13,
26786,
18982,
22784,
288,
82,
62,
4906,
11,
256,
1930,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
62,
2539,
796,
1391,
6,
4743,
672,
385,
62,
26011,
10354,
15095,
385,
62,
26011,
11,
705,
19608,
292,
316,
62,
3672,
10354,
288,
82,
62,
3672,
92,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
62,
8344,
796,
1391,
1174,
9310,
62,
2539,
11,
705,
19608,
292,
316,
62,
4906,
10354,
288,
82,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
6060,
7248,
13,
28463,
16,
7,
9310,
62,
8344,
11,
1249,
62,
12942,
62,
28463,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
5579,
1572,
10798,
2898,
5430,
628,
220,
220,
220,
220,
220,
220,
220,
410,
83,
62,
2539,
796,
1391,
1174,
292,
62,
2539,
11,
705,
36280,
62,
25202,
10354,
256,
7959,
92,
198,
220,
220,
220,
220,
220,
220,
220,
410,
83,
62,
8344,
796,
1391,
1174,
36540,
62,
2539,
11,
705,
4743,
672,
385,
62,
26011,
10354,
15095,
385,
62,
26011,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
19608,
292,
316,
62,
3672,
10354,
288,
82,
62,
3672,
92,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
28463,
16,
7,
36540,
62,
8344,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2393,
4906,
796,
705,
36280,
12,
15588,
12,
45994,
6,
628,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
491,
7278,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4473,
796,
256,
17816,
45994,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
492,
9646,
4473,
23884,
37913,
30072,
4458,
18982,
7,
45994,
11,
256,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
256,
17816,
45994,
20520,
407,
287,
410,
8899,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
43917,
10786,
45994,
23884,
407,
287,
2008,
3975,
13,
31017,
0,
4458,
18982,
7,
83,
4008,
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,
410,
15699,
796,
705,
90,
92,
23330,
92,
23330,
92,
12,
9,
4458,
18982,
7,
71,
17,
78,
11,
256,
1930,
11,
410,
8899,
58,
45994,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
85,
8692,
25,
1391,
5512,
410,
15699,
25,
23884,
4458,
18982,
7,
85,
8692,
11,
410,
15699,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
4743,
672,
796,
1351,
7,
85,
8692,
13,
4743,
672,
7,
14761,
963,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
85,
4743,
672,
8,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
795,
45213,
796,
705,
1939,
47315,
5861,
1043,
287,
23884,
25,
23884,
4458,
18982,
7,
85,
8692,
11,
410,
4743,
672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
43917,
7,
5232,
70,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
42625,
13,
6601,
41,
1563,
12331,
7,
5232,
70,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
7753,
796,
410,
4743,
672,
58,
15,
4083,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
7753,
796,
705,
90,
92,
14,
90,
92,
14,
90,
92,
14,
90,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
17,
78,
11,
264,
4475,
62,
82,
4029,
11,
705,
15588,
3256,
410,
7753,
8,
220,
1303,
850,
6978,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12351,
79,
796,
705,
90,
92,
29164,
92,
14,
90,
92,
4458,
18982,
7,
293,
79,
11,
443,
79,
62,
7266,
11,
308,
7753,
8,
220,
1303,
2723,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29636,
79,
796,
705,
90,
92,
29164,
92,
14,
90,
92,
4458,
18982,
7,
7856,
11,
1128,
62,
7266,
11,
308,
7753,
8,
220,
1303,
2244,
3108,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
796,
2116,
13,
1136,
62,
70,
5796,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
13,
39022,
62,
437,
4122,
7,
293,
79,
8,
220,
1303,
27713,
25,
12940,
1220,
2948,
23418,
39400,
30,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
5796,
13,
39022,
62,
437,
4122,
7,
7856,
8,
220,
1303,
27713,
25,
12940,
1220,
2948,
23418,
39400,
30,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
10786,
39437,
1806,
23884,
284,
23884,
4458,
18982,
7,
10677,
79,
11,
29636,
79,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
308,
5796,
13,
13155,
7,
10677,
79,
11,
29636,
79,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
795,
45213,
796,
366,
24089,
77,
470,
4351,
23884,
284,
23884,
1911,
18982,
7,
10677,
79,
11,
29636,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
18224,
7,
5232,
70,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
42625,
13,
6601,
41,
1563,
12331,
7,
5232,
70,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
69,
62,
2539,
796,
1391,
1174,
9310,
62,
2539,
11,
705,
7753,
62,
7266,
6978,
10354,
410,
7753,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
69,
62,
8344,
796,
1391,
1174,
79,
69,
62,
2539,
11,
705,
7753,
62,
4906,
10354,
2393,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6060,
7248,
13,
31611,
8979,
13,
28463,
16,
15090,
1174,
79,
69,
62,
8344,
5512,
1249,
62,
12942,
62,
28463,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
491,
74,
62,
2539,
796,
1391,
74,
25,
410,
329,
479,
11,
410,
287,
1391,
1174,
2539,
11,
705,
45994,
10354,
4473,
27422,
23814,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
287,
6306,
13,
36044,
51,
4454,
13,
39754,
62,
2539,
92,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31557,
62,
8344,
796,
1391,
1174,
36540,
62,
2539,
11,
12429,
2213,
74,
62,
2539,
11,
12429,
79,
69,
62,
2539,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
51,
4454,
10798,
13,
28463,
16,
15090,
1174,
14981,
62,
8344,
30072,
628,
198,
4299,
1332,
62,
2704,
396,
7,
69,
3672,
11639,
4743,
672,
385,
12,
9630,
12,
12853,
13,
14116,
6,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
42078,
256,
7834,
329,
7073,
5050,
628,
220,
220,
220,
13423,
25,
628,
220,
220,
220,
277,
25,
2462,
14079,
6978,
14,
1462,
14,
7753,
198,
220,
220,
220,
288,
25,
2462,
14079,
6978,
14,
1462,
14,
12942,
628,
220,
220,
220,
3503,
13,
357,
8130,
25,
15095,
385,
12,
29149,
705,
19796,
6,
5072,
8,
628,
220,
220,
220,
6330,
262,
1627,
25,
628,
220,
220,
220,
220,
220,
329,
2462,
11,
26672,
3672,
11,
10139,
287,
308,
5796,
13,
35594,
10786,
90,
92,
29164,
92,
4458,
18982,
7,
7856,
11,
1128,
62,
7266,
8,
2599,
628,
220,
220,
220,
351,
25,
628,
220,
220,
220,
220,
220,
329,
2462,
11,
26672,
3672,
11,
10139,
287,
1332,
62,
2704,
396,
10786,
4743,
672,
385,
12,
4868,
13,
14116,
6,
2599,
628,
220,
220,
220,
284,
1332,
1028,
262,
2393,
705,
4743,
672,
385,
12,
4868,
13,
14116,
6,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
351,
1280,
7,
69,
3672,
11,
705,
81,
11537,
355,
1167,
576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
300,
287,
1167,
576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
11,
277,
79,
796,
300,
13,
35312,
10786,
705,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
79,
796,
277,
79,
13,
35312,
7,
10354,
11537,
58,
16,
4083,
75,
36311,
10786,
14,
27691,
81,
36311,
10786,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
77,
11,
275,
77,
796,
28686,
13,
6978,
13,
35312,
7,
46428,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
256,
6624,
705,
69,
25,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
19203,
538,
3256,
288,
77,
11,
1391,
6,
26947,
62,
25216,
10354,
705,
7753,
3256,
705,
3672,
10354,
275,
77,
30072,
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,
7800,
19203,
538,
3256,
288,
77,
11,
1391,
6,
26947,
62,
25216,
10354,
705,
67,
403,
3919,
3256,
705,
6978,
10354,
275,
77,
30072,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
18820,
867,
3815,
6,
287,
41575,
7,
68,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198
] | 1.975054 | 6,494 |
from .data_reader import (
BetterDatasetReader, SRLDatasetReader
)
from .metrics import SRLMetric, BaseF, ExactMatch, FBetaMixMeasure
from .models import SpanModel
from .modules import (
MLPSpanTyping, SpanTyping, SpanFinder, BIOSpanFinder
)
from .predictor import SpanPredictor
from .utils import Span
| [
6738,
764,
7890,
62,
46862,
1330,
357,
198,
220,
220,
220,
11625,
27354,
292,
316,
33634,
11,
311,
7836,
27354,
292,
316,
33634,
198,
8,
198,
6738,
764,
4164,
10466,
1330,
311,
7836,
9171,
1173,
11,
7308,
37,
11,
1475,
529,
23850,
11,
376,
43303,
35608,
47384,
198,
6738,
764,
27530,
1330,
49101,
17633,
198,
6738,
764,
18170,
1330,
357,
198,
220,
220,
220,
10373,
3705,
6839,
31467,
278,
11,
49101,
31467,
278,
11,
49101,
37,
5540,
11,
27553,
6839,
37,
5540,
198,
8,
198,
6738,
764,
79,
17407,
273,
1330,
49101,
47,
17407,
273,
198,
6738,
764,
26791,
1330,
49101,
198
] | 3.04902 | 102 |
# ------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
# ------------------------------------------------------------------------------------------
# From:
# https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/ml-frameworks/scikit-learn/train-hyperparameter-tune-deploy-with-sklearn/train_iris.py
import argparse
from pathlib import Path
import numpy as np
from sklearn.metrics import confusion_matrix
from sklearn.model_selection import train_test_split
from health_azure import submit_to_azure_if_needed
if __name__ == "__main__":
main()
| [
2,
220,
16529,
22369,
438,
198,
2,
220,
15069,
357,
66,
8,
5413,
10501,
13,
1439,
2489,
10395,
13,
198,
2,
220,
49962,
739,
262,
17168,
13789,
357,
36393,
737,
4091,
38559,
24290,
287,
262,
29924,
6808,
329,
5964,
1321,
13,
198,
2,
220,
16529,
22369,
438,
198,
198,
2,
3574,
25,
198,
2,
3740,
1378,
12567,
13,
785,
14,
26903,
495,
14,
37573,
41730,
6425,
12106,
14,
2436,
672,
14,
9866,
14,
4919,
12,
1462,
12,
1904,
12,
1031,
495,
4029,
14,
4029,
12,
19298,
19653,
14,
36216,
15813,
12,
35720,
14,
27432,
12,
49229,
17143,
2357,
12,
83,
1726,
12,
2934,
1420,
12,
4480,
12,
8135,
35720,
14,
27432,
62,
29616,
13,
9078,
198,
11748,
1822,
29572,
198,
6738,
3108,
8019,
1330,
10644,
198,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
10802,
62,
6759,
8609,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
198,
6738,
1535,
62,
1031,
495,
1330,
9199,
62,
1462,
62,
1031,
495,
62,
361,
62,
27938,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 3.954082 | 196 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
from click.testing import CliRunner
from pivotpoint import pp
from pivotpoint import cli
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
555,
715,
395,
198,
6738,
3904,
13,
33407,
1330,
1012,
72,
49493,
198,
6738,
30355,
4122,
1330,
9788,
198,
6738,
30355,
4122,
1330,
537,
72,
628
] | 3.04 | 50 |
# -*- coding: utf-8 -*-
"""rackio/dao/controls.py
This module implements Controls Data Objects Access.
"""
from .core import RackioDAO
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
39638,
952,
14,
67,
5488,
14,
13716,
82,
13,
9078,
198,
198,
1212,
8265,
23986,
36357,
6060,
35832,
8798,
13,
198,
37811,
198,
6738,
764,
7295,
1330,
37927,
952,
5631,
46,
628,
198
] | 2.875 | 48 |
# coding:utf-8
# 添加PDF书签
from pdf_utils import MyPDFHandler,PDFHandleMode as mode
import ConfigParser
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
if __name__ == '__main__':
main() | [
2,
19617,
25,
40477,
12,
23,
201,
198,
2,
10545,
115,
119,
27950,
254,
20456,
20046,
99,
163,
255,
122,
201,
198,
6738,
37124,
62,
26791,
1330,
2011,
20456,
25060,
11,
20456,
37508,
19076,
355,
4235,
201,
198,
11748,
17056,
46677,
201,
198,
11748,
25064,
201,
198,
260,
2220,
7,
17597,
8,
201,
198,
17597,
13,
2617,
12286,
12685,
7656,
10786,
40477,
12,
23,
11537,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
1388,
3419
] | 2.372093 | 86 |
from typing import List, Optional, Union
import pytest
from openff.utilities.utilities import has_executable, has_package
def skip_if_missing(package_name: str, reason: Optional[str] = None):
"""
Helper function to generate a pytest.mark.skipif decorator
for any package. This allows tests to be skipped if some
optional dependency is not found.
Parameters
----------
package_name : str
The name of the package that is required for a test(s)
reason : str, optional
Explanation of why the skipped it to be tested
Returns
-------
requires_package : _pytest.mark.structures.MarkDecorator
A pytest decorator that will skip tests if the package is not available
"""
if not reason:
reason = f"Package {package_name} is required, but was not found."
requires_package = pytest.mark.skipif(not has_package(package_name), reason=reason)
return requires_package
def skip_if_missing_exec(exec: Union[str, List[str]]):
"""Helper function to generate a pytest.mark.skipif decorator
if an executable(s) is not found."""
if isinstance(exec, str):
execs: List = [exec]
elif isinstance(exec, list):
execs: List = exec # type: ignore[no-redef]
else:
raise ValueError(
"Bad type passed to skip_if_missing_exec. " f"Found type {type(exec)}"
)
found_exec = False
for exec_ in execs:
found_exec = found_exec or has_executable(exec_)
reason = f"Package {str(exec)} is required, but was not found."
mark = pytest.mark.skipif(not found_exec, reason=reason)
return mark
| [
6738,
19720,
1330,
7343,
11,
32233,
11,
4479,
198,
198,
11748,
12972,
9288,
198,
198,
6738,
1280,
487,
13,
315,
2410,
13,
315,
2410,
1330,
468,
62,
18558,
18187,
11,
468,
62,
26495,
628,
198,
4299,
14267,
62,
361,
62,
45688,
7,
26495,
62,
3672,
25,
965,
11,
1738,
25,
32233,
58,
2536,
60,
796,
6045,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5053,
525,
2163,
284,
7716,
257,
12972,
9288,
13,
4102,
13,
48267,
361,
11705,
1352,
198,
220,
220,
220,
329,
597,
5301,
13,
770,
3578,
5254,
284,
307,
26684,
611,
617,
198,
220,
220,
220,
11902,
20203,
318,
407,
1043,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
5301,
62,
3672,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
5301,
326,
318,
2672,
329,
257,
1332,
7,
82,
8,
198,
220,
220,
220,
1738,
1058,
965,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
50125,
341,
286,
1521,
262,
26684,
340,
284,
307,
6789,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
4433,
62,
26495,
1058,
4808,
9078,
9288,
13,
4102,
13,
7249,
942,
13,
9704,
10707,
273,
1352,
198,
220,
220,
220,
220,
220,
220,
220,
317,
12972,
9288,
11705,
1352,
326,
481,
14267,
5254,
611,
262,
5301,
318,
407,
1695,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
1738,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1738,
796,
277,
1,
27813,
1391,
26495,
62,
3672,
92,
318,
2672,
11,
475,
373,
407,
1043,
526,
198,
220,
220,
220,
4433,
62,
26495,
796,
12972,
9288,
13,
4102,
13,
48267,
361,
7,
1662,
468,
62,
26495,
7,
26495,
62,
3672,
828,
1738,
28,
41181,
8,
198,
220,
220,
220,
1441,
4433,
62,
26495,
628,
198,
4299,
14267,
62,
361,
62,
45688,
62,
18558,
7,
18558,
25,
4479,
58,
2536,
11,
7343,
58,
2536,
11907,
2599,
198,
220,
220,
220,
37227,
47429,
2163,
284,
7716,
257,
12972,
9288,
13,
4102,
13,
48267,
361,
11705,
1352,
198,
220,
220,
220,
611,
281,
28883,
7,
82,
8,
318,
407,
1043,
526,
15931,
198,
220,
220,
220,
611,
318,
39098,
7,
18558,
11,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2452,
82,
25,
7343,
796,
685,
18558,
60,
198,
220,
220,
220,
1288,
361,
318,
39098,
7,
18558,
11,
1351,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2452,
82,
25,
7343,
796,
2452,
220,
1303,
2099,
25,
8856,
58,
3919,
12,
445,
891,
60,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22069,
2099,
3804,
284,
14267,
62,
361,
62,
45688,
62,
18558,
13,
366,
277,
1,
21077,
2099,
1391,
4906,
7,
18558,
8,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
1043,
62,
18558,
796,
10352,
198,
220,
220,
220,
329,
2452,
62,
287,
2452,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1043,
62,
18558,
796,
1043,
62,
18558,
393,
468,
62,
18558,
18187,
7,
18558,
62,
8,
628,
220,
220,
220,
1738,
796,
277,
1,
27813,
1391,
2536,
7,
18558,
38165,
318,
2672,
11,
475,
373,
407,
1043,
526,
198,
220,
220,
220,
1317,
796,
12972,
9288,
13,
4102,
13,
48267,
361,
7,
1662,
1043,
62,
18558,
11,
1738,
28,
41181,
8,
198,
220,
220,
220,
1441,
1317,
198
] | 2.79046 | 587 |
if __name__ == '__main__':
test_case_1()
test_case_2()
test_case_3()
| [
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
198,
198,
9288,
62,
7442,
62,
16,
3419,
198,
9288,
62,
7442,
62,
17,
3419,
198,
9288,
62,
7442,
62,
18,
3419,
198
] | 2.083333 | 36 |
"""Test for checking if the response format is proper. Run test_crud before running this."""
import unittest
import random
import string
import json
import re
import uuid
from hydrus.app_factory import app_factory
from hydrus.socketio_factory import create_socket
from hydrus.utils import set_session, set_doc, set_api_name, set_page_size
from hydrus.data import doc_parse, crud
from hydra_python_core import doc_maker
from hydra_python_core.doc_writer import HydraLink
from hydrus.samples import doc_writer_sample
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, scoped_session
from hydrus.data.db_models import Base
def gen_dummy_object(class_title, doc):
"""Create a dummy object based on the definitions in the API Doc.
:param class_title: Title of the class whose object is being created.
:param doc: ApiDoc.
:return: A dummy object of class `class_title`.
"""
object_ = {
"@type": class_title
}
for class_path in doc.parsed_classes:
if class_title == doc.parsed_classes[class_path]["class"].title:
for prop in doc.parsed_classes[class_path]["class"].supportedProperty:
if isinstance(prop.prop, HydraLink) or prop.write is False:
continue
if "vocab:" in prop.prop:
prop_class = prop.prop.replace("vocab:", "")
object_[prop.title] = gen_dummy_object(prop_class, doc)
else:
object_[prop.title] = ''.join(random.choice(
string.ascii_uppercase + string.digits) for _ in range(6))
return object_
class ViewsTestCase(unittest.TestCase):
"""Test Class for the app."""
@classmethod
def setUpClass(self):
"""Database setup before the tests."""
print("Creating a temporary database...")
engine = create_engine('sqlite:///:memory:')
Base.metadata.create_all(engine)
session = scoped_session(sessionmaker(bind=engine))
self.session = session
self.API_NAME = "demoapi"
self.page_size = 1
self.HYDRUS_SERVER_URL = "http://hydrus.com/"
self.app = app_factory(self.API_NAME)
self.socketio = create_socket(self.app, self.session)
print("going for create doc")
self.doc = doc_maker.create_doc(
doc_writer_sample.api_doc.generate(),
self.HYDRUS_SERVER_URL,
self.API_NAME)
test_classes = doc_parse.get_classes(self.doc.generate())
test_properties = doc_parse.get_all_properties(test_classes)
doc_parse.insert_classes(test_classes, self.session)
doc_parse.insert_properties(test_properties, self.session)
print("Classes and properties added successfully.")
print("Setting up hydrus utilities... ")
self.api_name_util = set_api_name(self.app, self.API_NAME)
self.session_util = set_session(self.app, self.session)
self.doc_util = set_doc(self.app, self.doc)
self.page_size_util = set_page_size(self.app, self.page_size)
self.client = self.app.test_client()
print("Creating utilities context... ")
self.api_name_util.__enter__()
self.session_util.__enter__()
self.doc_util.__enter__()
self.client.__enter__()
print("Setup done, running tests...")
@classmethod
def tearDownClass(self):
"""Tear down temporary database and exit utilities"""
self.client.__exit__(None, None, None)
self.doc_util.__exit__(None, None, None)
self.session_util.__exit__(None, None, None)
self.api_name_util.__exit__(None, None, None)
self.session.close()
def test_Index(self):
"""Test for the index."""
response_get = self.client.get("/{}".format(self.API_NAME))
endpoints = json.loads(response_get.data.decode('utf-8'))
response_post = self.client.post(
"/{}".format(self.API_NAME), data=dict(foo="bar"))
response_put = self.client.put(
"/{}".format(self.API_NAME), data=dict(foo="bar"))
response_delete = self.client.delete("/{}".format(self.API_NAME))
assert "@context" in endpoints
assert endpoints["@id"] == "/{}".format(self.API_NAME)
assert endpoints["@type"] == "EntryPoint"
assert response_get.status_code == 200
assert response_post.status_code == 405
assert response_put.status_code == 405
assert response_delete.status_code == 405
def test_EntryPoint_context(self):
"""Test for the EntryPoint context."""
response_get = self.client.get(
"/{}/contexts/EntryPoint.jsonld".format(self.API_NAME))
response_get_data = json.loads(response_get.data.decode('utf-8'))
response_post = self.client.post(
"/{}/contexts/EntryPoint.jsonld".format(self.API_NAME), data={})
response_delete = self.client.delete(
"/{}/contexts/EntryPoint.jsonld".format(self.API_NAME))
assert response_get.status_code == 200
assert "@context" in response_get_data
assert response_post.status_code == 405
assert response_delete.status_code == 405
def test_Vocab(self):
"""Test the vocab."""
response_get = self.client.get("/{}/vocab#".format(self.API_NAME))
response_get_data = json.loads(response_get.data.decode('utf-8'))
assert "@context" in response_get_data
assert response_get_data["@type"] == "ApiDocumentation"
assert response_get_data["@id"] == "{}{}/vocab".format(
self.HYDRUS_SERVER_URL, self.API_NAME)
assert response_get.status_code == 200
response_delete = self.client.delete(
"/{}/vocab#".format(self.API_NAME))
assert response_delete.status_code == 405
response_put = self.client.put(
"/{}/vocab#".format(self.API_NAME), data=json.dumps(dict(foo='bar')))
assert response_put.status_code == 405
response_post = self.client.post(
"/{}/vocab#".format(self.API_NAME), data=json.dumps(dict(foo='bar')))
assert response_post.status_code == 405
def test_Collections_GET(self):
"""Test GET on collection endpoints."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
response_get = self.client.get(endpoints[endpoint])
# pdb.set_trace()
assert response_get.status_code == 200
response_get_data = json.loads(
response_get.data.decode('utf-8'))
assert "@context" in response_get_data
assert "@id" in response_get_data
assert "@type" in response_get_data
assert "members" in response_get_data
# Check the item URI has the valid format, so it can be dereferenced
if len(response_get_data["members"]) > 0:
for item in response_get_data["members"]:
class_type = item["@type"]
if class_type in self.doc.parsed_classes:
class_ = self.doc.parsed_classes[class_type]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "GET" in class_methods:
item_response = self.client.get(
response_get_data["members"][0]["@id"])
assert item_response.status_code == 200
def test_pagination(self):
"""Test basic pagination"""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
response_get = self.client.get(endpoints[endpoint])
assert response_get.status_code == 200
response_get_data = json.loads(
response_get.data.decode('utf-8'))
assert "view" in response_get_data
assert "first" in response_get_data["view"]
assert "last" in response_get_data["view"]
if "next" in response_get_data["view"]:
response_next = self.client.get(response_get_data["view"]["next"])
assert response_next.status_code == 200
response_next_data = json.loads(
response_next.data.decode('utf-8'))
assert "previous" in response_next_data["view"]
break
def test_Collections_PUT(self):
"""Test insert data to the collection."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
collection = self.doc.collections[collection_name]["collection"]
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
good_response_put = self.client.put(
endpoints[endpoint], data=json.dumps(dummy_object))
assert good_response_put.status_code == 201
def test_object_POST(self):
"""Test replace of a given object using ID."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
collection = self.doc.collections[collection_name]["collection"]
class_ = self.doc.parsed_classes[collection.class_.title]["class"]
class_methods = [x.method for x in class_.supportedOperation]
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
initial_put_response = self.client.put(
endpoints[endpoint], data=json.dumps(dummy_object))
assert initial_put_response.status_code == 201
response = json.loads(
initial_put_response.data.decode('utf-8'))
regex = r'(.*)ID (.{36})* (.*)'
matchObj = re.match(regex, response["description"])
assert matchObj is not None
id_ = matchObj.group(2)
if "POST" in class_methods:
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
post_replace_response = self.client.post(
'{}/{}'.format(endpoints[endpoint], id_), data=json.dumps(dummy_object))
assert post_replace_response.status_code == 200
def test_object_DELETE(self):
"""Test DELETE of a given object using ID."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
collection = self.doc.collections[collection_name]["collection"]
class_ = self.doc.parsed_classes[collection.class_.title]["class"]
class_methods = [x.method for x in class_.supportedOperation]
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
initial_put_response = self.client.put(
endpoints[endpoint], data=json.dumps(dummy_object))
assert initial_put_response.status_code == 201
response = json.loads(
initial_put_response.data.decode('utf-8'))
regex = r'(.*)ID (.{36})* (.*)'
matchObj = re.match(regex, response["description"])
assert matchObj is not None
id_ = matchObj.group(2)
if "DELETE" in class_methods:
delete_response = self.client.delete(
'{}/{}'.format(endpoints[endpoint], id_))
assert delete_response.status_code == 200
def test_object_PUT_at_id(self):
"""Create object in collection using PUT at specific ID."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
collection = self.doc.collections[collection_name]["collection"]
class_ = self.doc.parsed_classes[collection.class_.title]["class"]
class_methods = [x.method for x in class_.supportedOperation]
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
if "PUT" in class_methods:
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
put_response = self.client.put('{}/{}'.format(
endpoints[endpoint], uuid.uuid4()), data=json.dumps(dummy_object))
assert put_response.status_code == 201
def test_endpointClass_PUT(self):
"""Check non collection Class PUT."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "PUT" in class_methods:
dummy_object = gen_dummy_object(class_.title, self.doc)
put_response = self.client.put(
endpoints[endpoint], data=json.dumps(dummy_object))
assert put_response.status_code == 201
def test_endpointClass_POST(self):
"""Check non collection Class POST."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "POST" in class_methods:
dummy_object = gen_dummy_object(class_.title, self.doc)
post_response = self.client.post(
endpoints[endpoint], data=json.dumps(dummy_object))
assert post_response.status_code == 200
def test_endpointClass_DELETE(self):
"""Check non collection Class DELETE."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "DELETE" in class_methods:
delete_response = self.client.delete(
endpoints[endpoint])
assert delete_response.status_code == 200
def test_endpointClass_GET(self):
"""Check non collection Class GET."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "GET" in class_methods:
response_get = self.client.get(endpoints[endpoint])
assert response_get.status_code == 200
response_get_data = json.loads(
response_get.data.decode('utf-8'))
assert "@context" in response_get_data
assert "@id" in response_get_data
assert "@type" in response_get_data
def test_IriTemplate(self):
"""Test structure of IriTemplates attached to collections"""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
response_get = self.client.get(endpoints[endpoint])
assert response_get.status_code == 200
response_get_data = json.loads(
response_get.data.decode('utf-8'))
assert "search" in response_get_data
assert "mapping" in response_get_data["search"]
collection = self.doc.collections[collection_name]["collection"]
class_ = self.doc.parsed_classes[collection.class_.title]["class"]
class_props = [x.prop for x in class_.supportedProperty]
for mapping in response_get_data["search"]["mapping"]:
if mapping["property"] not in ["limit", "offset", "pageIndex"]:
assert mapping["property"] in class_props
def test_client_controlled_pagination(self):
"""Test pagination controlled by client with help of pageIndex,
offset and limit parameters."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
response_get = self.client.get(endpoints[endpoint])
assert response_get.status_code == 200
response_get_data = json.loads(
response_get.data.decode('utf-8'))
assert "search" in response_get_data
assert "mapping" in response_get_data["search"]
# Test with pageIndex and limit
params = {"pageIndex": 1, "limit": 2}
response_for_page_param = self.client.get(endpoints[endpoint], query_string=params)
assert response_for_page_param.status_code == 200
response_for_page_param_data = json.loads(
response_for_page_param.data.decode('utf-8'))
assert "first" in response_for_page_param_data["view"]
assert "last" in response_for_page_param_data["view"]
if "next" in response_for_page_param_data["view"]:
assert "pageIndex=2" in response_for_page_param_data["view"]["next"]
next_response = self.client.get(response_for_page_param_data["view"]["next"])
assert next_response.status_code == 200
next_response_data = json.loads(
next_response.data.decode('utf-8'))
assert "previous" in next_response_data["view"]
assert "pageIndex=1" in next_response_data["view"]["previous"]
# Test with offset and limit
params = {"offset": 1, "limit": 2}
response_for_offset_param = self.client.get(endpoints[endpoint],
query_string=params)
assert response_for_offset_param.status_code == 200
response_for_offset_param_data = json.loads(
response_for_offset_param.data.decode('utf-8'))
assert "first" in response_for_offset_param_data["view"]
assert "last" in response_for_offset_param_data["view"]
if "next" in response_for_offset_param_data["view"]:
assert "offset=3" in response_for_offset_param_data["view"]["next"]
next_response = self.client.get(
response_for_offset_param_data["view"]["next"])
assert next_response.status_code == 200
next_response_data = json.loads(
next_response.data.decode('utf-8'))
assert "previous" in next_response_data["view"]
assert "offset=1" in next_response_data["view"]["previous"]
def test_bad_objects(self):
"""Checks if bad objects are added or not."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
bad_response_put = self.client.put(
endpoints[endpoint],
data=json.dumps(
dict(
foo='bar')))
assert bad_response_put.status_code == 400
def test_bad_requests(self):
"""Checks if bad requests are handled or not."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
collection = self.doc.collections[collection_name]["collection"]
class_ = self.doc.parsed_classes[collection.class_.title]["class"]
class_methods = [x.method for x in class_.supportedOperation]
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
initial_put_response = self.client.put(
endpoints[endpoint], data=json.dumps(dummy_object))
assert initial_put_response.status_code == 201
response = json.loads(
initial_put_response.data.decode('utf-8'))
regex = r'(.*)ID (.{36})* (.*)'
matchObj = re.match(regex, response["description"])
assert matchObj is not None
id_ = matchObj.group(2)
if "POST" not in class_methods:
dummy_object = gen_dummy_object(
collection.class_.title, self.doc)
post_replace_response = self.client.post(
'{}/{}'.format(endpoints[endpoint], id_), data=json.dumps(dummy_object))
assert post_replace_response.status_code == 405
if "DELETE" not in class_methods:
delete_response = self.client.delete(
'{}/{}'.format(endpoints[endpoint], id_))
assert delete_response.status_code == 405
def test_Endpoints_Contexts(self):
"""Test all endpoints contexts are generated properly."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
collection_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if collection_name in self.doc.collections:
response_get = self.client.get(endpoints[endpoint])
assert response_get.status_code == 200
context = json.loads(
response_get.data.decode('utf-8'))["@context"]
response_context = self.client.get(context)
response_context_data = json.loads(
response_context.data.decode('utf-8'))
assert response_context.status_code == 200
assert "@context" in response_context_data
class SocketTestCase(unittest.TestCase):
"""Test Class for socket events and operations."""
@classmethod
def setUpClass(self):
"""Database setup before the tests."""
print("Creating a temporary database...")
engine = create_engine('sqlite:///:memory:')
Base.metadata.create_all(engine)
session = scoped_session(sessionmaker(bind=engine))
self.session = session
self.API_NAME = "demoapi"
self.page_size = 1
self.HYDRUS_SERVER_URL = "http://hydrus.com/"
self.app = app_factory(self.API_NAME)
self.socketio = create_socket(self.app, self.session)
print("going for create doc")
self.doc = doc_maker.create_doc(
doc_writer_sample.api_doc.generate(),
self.HYDRUS_SERVER_URL,
self.API_NAME)
test_classes = doc_parse.get_classes(self.doc.generate())
test_properties = doc_parse.get_all_properties(test_classes)
doc_parse.insert_classes(test_classes, self.session)
doc_parse.insert_properties(test_properties, self.session)
print("Classes and properties added successfully.")
print("Setting up hydrus utilities... ")
self.api_name_util = set_api_name(self.app, self.API_NAME)
self.session_util = set_session(self.app, self.session)
self.doc_util = set_doc(self.app, self.doc)
self.page_size_util = set_page_size(self.app, self.page_size)
self.client = self.app.test_client()
self.socketio_client = self.socketio.test_client(self.app, namespace='/sync')
print("Creating utilities context... ")
self.api_name_util.__enter__()
self.session_util.__enter__()
self.doc_util.__enter__()
self.client.__enter__()
print("Setup done, running tests...")
@classmethod
def tearDownClass(self):
"""Tear down temporary database and exit utilities"""
self.client.__exit__(None, None, None)
self.doc_util.__exit__(None, None, None)
self.session_util.__exit__(None, None, None)
self.api_name_util.__exit__(None, None, None)
self.session.close()
def test_connect(self):
"""Test connect event."""
socket_client = self.socketio.test_client(self.app, namespace='/sync')
data = socket_client.get_received('/sync')
assert len(data) > 0
event = data[0]
assert event['name'] == 'connect'
last_job_id = crud.get_last_modification_job_id(self.session)
assert event['args'][0]['last_job_id'] == last_job_id
socket_client.disconnect(namespace='/sync')
def test_reconnect(self):
"""Test reconnect event."""
socket_client = self.socketio.test_client(self.app, namespace='/sync')
# Flush data of first connect event
socket_client.get_received('/sync')
# Client reconnects by emitting 'reconnect' event.
socket_client.emit('reconnect', namespace='/sync')
# Get update received on reconnecting to the server
data = socket_client.get_received('/sync')
assert len(data) > 0
# Extract the event information
event = data[0]
assert event['name'] == 'connect'
last_job_id = crud.get_last_modification_job_id(self.session)
# Check last job id with last_job_id received by client in the update.
assert event['args'][0]['last_job_id'] == last_job_id
socket_client.disconnect(namespace='/sync')
def test_modification_table_diff(self):
"""Test 'modification-table-diff' events."""
# Flush old received data at socket client
self.socketio_client.get_received('/sync')
# Set last_job_id as the agent_job_id
agent_job_id = crud.get_last_modification_job_id(self.session)
# Add an extra modification record newer than the agent_job_id
new_latest_job_id = crud.insert_modification_record(method="POST",
resource_url="", session=self.session)
self.socketio_client.emit('get_modification_table_diff',
{'agent_job_id': agent_job_id}, namespace='/sync')
data = self.socketio_client.get_received('/sync')
assert len(data) > 0
event = data[0]
assert event['name'] == 'modification_table_diff'
# Check received event contains data of newly added modification record.
assert event['args'][0][0]['method'] == "POST"
assert event['args'][0][0]['resource_url'] == ""
assert event['args'][0][0]['job_id'] == new_latest_job_id
def test_socketio_POST_updates(self):
"""Test 'update' event emitted by socketio for POST operations."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "POST" in class_methods:
dummy_object = gen_dummy_object(class_.title, self.doc)
# Flush old socketio updates
self.socketio_client.get_received('/sync')
post_response = self.client.post(
endpoints[endpoint], data=json.dumps(dummy_object))
assert post_response.status_code == 200
# Get new socketio update
update = self.socketio_client.get_received('/sync')
assert len(update) != 0
assert update[0]['args'][0]['method'] == "POST"
resource_name = update[0]['args'][0]['resource_url'].split('/')[-1]
assert resource_name == endpoints[endpoint].split('/')[-1]
def test_socketio_DELETE_updates(self):
"""Test 'update' event emitted by socketio for DELETE operations."""
index = self.client.get("/{}".format(self.API_NAME))
assert index.status_code == 200
endpoints = json.loads(index.data.decode('utf-8'))
for endpoint in endpoints:
if endpoint not in ["@context", "@id", "@type"]:
class_name = "/".join(endpoints[endpoint].split(
"/{}/".format(self.API_NAME))[1:])
if class_name not in self.doc.collections:
class_ = self.doc.parsed_classes[class_name]["class"]
class_methods = [
x.method for x in class_.supportedOperation]
if "DELETE" in class_methods:
# Flush old socketio updates
self.socketio_client.get_received('/sync')
delete_response = self.client.delete(
endpoints[endpoint])
assert delete_response.status_code == 200
# Get new update event
update = self.socketio_client.get_received('/sync')
assert len(update) != 0
assert update[0]['args'][0]['method'] == 'DELETE'
resource_name = update[0]['args'][0]['resource_url'].split('/')[-1]
assert resource_name == endpoints[endpoint].split('/')[-1]
if __name__ == '__main__':
message = """
Running tests for the app. Checking if all responses are in proper order.
"""
unittest.main()
| [
37811,
14402,
329,
10627,
611,
262,
2882,
5794,
318,
1774,
13,
5660,
1332,
62,
6098,
463,
878,
2491,
428,
526,
15931,
201,
198,
11748,
555,
715,
395,
201,
198,
11748,
4738,
201,
198,
11748,
4731,
201,
198,
11748,
33918,
201,
198,
11748,
302,
201,
198,
11748,
334,
27112,
201,
198,
6738,
2537,
7109,
385,
13,
1324,
62,
69,
9548,
1330,
598,
62,
69,
9548,
201,
198,
6738,
2537,
7109,
385,
13,
44971,
952,
62,
69,
9548,
1330,
2251,
62,
44971,
201,
198,
6738,
2537,
7109,
385,
13,
26791,
1330,
900,
62,
29891,
11,
900,
62,
15390,
11,
900,
62,
15042,
62,
3672,
11,
900,
62,
7700,
62,
7857,
201,
198,
6738,
2537,
7109,
385,
13,
7890,
1330,
2205,
62,
29572,
11,
1067,
463,
201,
198,
6738,
25039,
62,
29412,
62,
7295,
1330,
2205,
62,
10297,
201,
198,
6738,
25039,
62,
29412,
62,
7295,
13,
15390,
62,
16002,
1330,
31613,
11280,
201,
198,
6738,
2537,
7109,
385,
13,
82,
12629,
1330,
2205,
62,
16002,
62,
39873,
201,
198,
6738,
44161,
282,
26599,
1330,
2251,
62,
18392,
201,
198,
6738,
44161,
282,
26599,
13,
579,
1330,
6246,
10297,
11,
629,
19458,
62,
29891,
201,
198,
6738,
2537,
7109,
385,
13,
7890,
13,
9945,
62,
27530,
1330,
7308,
201,
198,
201,
198,
201,
198,
4299,
2429,
62,
67,
13513,
62,
15252,
7,
4871,
62,
7839,
11,
2205,
2599,
201,
198,
220,
220,
220,
37227,
16447,
257,
31548,
2134,
1912,
319,
262,
17336,
287,
262,
7824,
14432,
13,
201,
198,
220,
220,
220,
1058,
17143,
1398,
62,
7839,
25,
11851,
286,
262,
1398,
3025,
2134,
318,
852,
2727,
13,
201,
198,
220,
220,
220,
1058,
17143,
2205,
25,
5949,
72,
23579,
13,
201,
198,
220,
220,
220,
1058,
7783,
25,
317,
31548,
2134,
286,
1398,
4600,
4871,
62,
7839,
44646,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
2134,
62,
796,
1391,
201,
198,
220,
220,
220,
220,
220,
220,
220,
44212,
4906,
1298,
1398,
62,
7839,
201,
198,
220,
220,
220,
1782,
201,
198,
220,
220,
220,
329,
1398,
62,
6978,
287,
2205,
13,
79,
945,
276,
62,
37724,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
7839,
6624,
2205,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
6978,
7131,
1,
4871,
1,
4083,
7839,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2632,
287,
2205,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
6978,
7131,
1,
4871,
1,
4083,
15999,
21746,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
22930,
13,
22930,
11,
31613,
11280,
8,
393,
2632,
13,
13564,
318,
10352,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
18893,
397,
11097,
287,
2632,
13,
22930,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2632,
62,
4871,
796,
2632,
13,
22930,
13,
33491,
7203,
18893,
397,
25,
1600,
366,
4943,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2134,
62,
58,
22930,
13,
7839,
60,
796,
2429,
62,
67,
13513,
62,
15252,
7,
22930,
62,
4871,
11,
2205,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2134,
62,
58,
22930,
13,
7839,
60,
796,
705,
4458,
22179,
7,
25120,
13,
25541,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
13,
292,
979,
72,
62,
7211,
2798,
589,
1343,
4731,
13,
12894,
896,
8,
329,
4808,
287,
2837,
7,
21,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2134,
62,
201,
198,
201,
198,
201,
198,
4871,
29978,
14402,
20448,
7,
403,
715,
395,
13,
14402,
20448,
2599,
201,
198,
220,
220,
220,
37227,
14402,
5016,
329,
262,
598,
526,
15931,
201,
198,
201,
198,
220,
220,
220,
2488,
4871,
24396,
201,
198,
220,
220,
220,
825,
900,
4933,
9487,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
38105,
9058,
878,
262,
5254,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
32071,
257,
8584,
6831,
9313,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3113,
796,
2251,
62,
18392,
10786,
25410,
578,
1378,
14,
25,
31673,
25,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
38993,
13,
17953,
62,
439,
7,
18392,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6246,
796,
629,
19458,
62,
29891,
7,
29891,
10297,
7,
21653,
28,
18392,
4008,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
796,
6246,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17614,
62,
20608,
796,
366,
9536,
78,
15042,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7700,
62,
7857,
796,
352,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42598,
7707,
2937,
62,
35009,
5959,
62,
21886,
796,
366,
4023,
1378,
15511,
14932,
13,
785,
30487,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1324,
796,
598,
62,
69,
9548,
7,
944,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
796,
2251,
62,
44971,
7,
944,
13,
1324,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5146,
329,
2251,
2205,
4943,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
796,
2205,
62,
10297,
13,
17953,
62,
15390,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
16002,
62,
39873,
13,
15042,
62,
15390,
13,
8612,
378,
22784,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42598,
7707,
2937,
62,
35009,
5959,
62,
21886,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
37724,
796,
2205,
62,
29572,
13,
1136,
62,
37724,
7,
944,
13,
15390,
13,
8612,
378,
28955,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
48310,
796,
2205,
62,
29572,
13,
1136,
62,
439,
62,
48310,
7,
9288,
62,
37724,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
29572,
13,
28463,
62,
37724,
7,
9288,
62,
37724,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
29572,
13,
28463,
62,
48310,
7,
9288,
62,
48310,
11,
2116,
13,
29891,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
9487,
274,
290,
6608,
2087,
7675,
19570,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
34149,
510,
2537,
7109,
385,
20081,
986,
366,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
796,
900,
62,
15042,
62,
3672,
7,
944,
13,
1324,
11,
2116,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
796,
900,
62,
29891,
7,
944,
13,
1324,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
796,
900,
62,
15390,
7,
944,
13,
1324,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7700,
62,
7857,
62,
22602,
796,
900,
62,
7700,
62,
7857,
7,
944,
13,
1324,
11,
2116,
13,
7700,
62,
7857,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
796,
2116,
13,
1324,
13,
9288,
62,
16366,
3419,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
32071,
20081,
4732,
986,
366,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
13,
834,
9255,
834,
3419,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
40786,
1760,
11,
2491,
5254,
9313,
8,
201,
198,
201,
198,
220,
220,
220,
2488,
4871,
24396,
201,
198,
220,
220,
220,
825,
11626,
8048,
9487,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
451,
866,
8584,
6831,
290,
8420,
20081,
37811,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
19836,
3419,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
15732,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
329,
262,
6376,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
26209,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
7353,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
828,
1366,
28,
11600,
7,
21943,
2625,
5657,
48774,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1996,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
828,
1366,
28,
11600,
7,
21943,
2625,
5657,
48774,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
33678,
796,
2116,
13,
16366,
13,
33678,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
886,
13033,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
886,
13033,
14692,
31,
312,
8973,
6624,
12813,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
886,
13033,
14692,
31,
4906,
8973,
6624,
366,
30150,
12727,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
7353,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1996,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
33678,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
30150,
12727,
62,
22866,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
329,
262,
21617,
12727,
4732,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
22866,
82,
14,
30150,
12727,
13,
17752,
335,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
26209,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
7353,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
22866,
82,
14,
30150,
12727,
13,
17752,
335,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
828,
1366,
34758,
30072,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
33678,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
22866,
82,
14,
30150,
12727,
13,
17752,
335,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
7353,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
33678,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
53,
420,
397,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
262,
12776,
397,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
14,
18893,
397,
2,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
26209,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
62,
7890,
14692,
31,
4906,
8973,
6624,
366,
32,
14415,
24941,
341,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
62,
7890,
14692,
31,
312,
8973,
6624,
45144,
18477,
92,
14,
18893,
397,
1911,
18982,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42598,
7707,
2937,
62,
35009,
5959,
62,
21886,
11,
2116,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
33678,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
18893,
397,
2,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
33678,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1996,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
18893,
397,
2,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
828,
1366,
28,
17752,
13,
67,
8142,
7,
11600,
7,
21943,
11639,
5657,
6,
22305,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1996,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
7353,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
18893,
397,
2,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
828,
1366,
28,
17752,
13,
67,
8142,
7,
11600,
7,
21943,
11639,
5657,
6,
22305,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
7353,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
5216,
26448,
62,
18851,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
17151,
319,
4947,
886,
13033,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
279,
9945,
13,
2617,
62,
40546,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
312,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
4906,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
30814,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
262,
2378,
43975,
468,
262,
4938,
5794,
11,
523,
340,
460,
307,
390,
5420,
14226,
771,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
26209,
62,
1136,
62,
7890,
14692,
30814,
8973,
8,
1875,
657,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
287,
2882,
62,
1136,
62,
7890,
14692,
30814,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
4906,
796,
2378,
14692,
31,
4906,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
4906,
287,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
4906,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
18851,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
26209,
796,
2116,
13,
16366,
13,
1136,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
14692,
30814,
1,
7131,
15,
7131,
1,
31,
312,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2378,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
79,
363,
1883,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4096,
42208,
1883,
37811,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
1177,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
11085,
1,
287,
2882,
62,
1136,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
12957,
1,
287,
2882,
62,
1136,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
19545,
1,
287,
2882,
62,
1136,
62,
7890,
14692,
1177,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
19545,
796,
2116,
13,
16366,
13,
1136,
7,
26209,
62,
1136,
62,
7890,
14692,
1177,
1,
7131,
1,
19545,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
19545,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
19545,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
19545,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
3866,
1442,
1,
287,
2882,
62,
19545,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
5216,
26448,
62,
30076,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
7550,
1366,
284,
262,
4947,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
922,
62,
26209,
62,
1996,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
922,
62,
26209,
62,
1996,
13,
13376,
62,
8189,
6624,
580,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
15252,
62,
32782,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
6330,
286,
257,
1813,
2134,
1262,
4522,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
43681,
13,
4871,
44807,
7839,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
87,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
4238,
62,
1996,
62,
26209,
13,
13376,
62,
8189,
6624,
580,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40364,
796,
374,
6,
7,
15885,
8,
2389,
20262,
90,
2623,
92,
27493,
357,
15885,
33047,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2872,
49201,
796,
302,
13,
15699,
7,
260,
25636,
11,
2882,
14692,
11213,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2872,
49201,
318,
407,
6045,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
796,
2872,
49201,
13,
8094,
7,
17,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32782,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
33491,
62,
26209,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
437,
13033,
58,
437,
4122,
4357,
4686,
62,
828,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1281,
62,
33491,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
15252,
62,
7206,
2538,
9328,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
5550,
2538,
9328,
286,
257,
1813,
2134,
1262,
4522,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
43681,
13,
4871,
44807,
7839,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
87,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
4238,
62,
1996,
62,
26209,
13,
13376,
62,
8189,
6624,
580,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40364,
796,
374,
6,
7,
15885,
8,
2389,
20262,
90,
2623,
92,
27493,
357,
15885,
33047,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2872,
49201,
796,
302,
13,
15699,
7,
260,
25636,
11,
2882,
14692,
11213,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2872,
49201,
318,
407,
6045,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
796,
2872,
49201,
13,
8094,
7,
17,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7206,
2538,
9328,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
62,
26209,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
437,
13033,
58,
437,
4122,
4357,
4686,
62,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
12233,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
15252,
62,
30076,
62,
265,
62,
312,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
2134,
287,
4947,
1262,
350,
3843,
379,
2176,
4522,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
43681,
13,
4871,
44807,
7839,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
87,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
30076,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
62,
26209,
796,
2116,
13,
16366,
13,
1996,
10786,
90,
92,
14,
90,
92,
4458,
18982,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
334,
27112,
13,
12303,
312,
19,
3419,
828,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1234,
62,
26209,
13,
13376,
62,
8189,
6624,
580,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
437,
4122,
9487,
62,
30076,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
1729,
4947,
5016,
350,
3843,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
30076,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
62,
26209,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1234,
62,
26209,
13,
13376,
62,
8189,
6624,
580,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
437,
4122,
9487,
62,
32782,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
1729,
4947,
5016,
24582,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32782,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
26209,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1281,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
437,
4122,
9487,
62,
7206,
2538,
9328,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
1729,
4947,
5016,
5550,
2538,
9328,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7206,
2538,
9328,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
62,
26209,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
12233,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
437,
4122,
9487,
62,
18851,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
1729,
4947,
5016,
17151,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
18851,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
312,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
4906,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
40,
380,
30800,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4645,
286,
314,
380,
12966,
17041,
7223,
284,
17268,
37811,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
12947,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
76,
5912,
1,
287,
2882,
62,
1136,
62,
7890,
14692,
12947,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
43681,
13,
4871,
44807,
7839,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
1676,
862,
796,
685,
87,
13,
22930,
329,
2124,
287,
1398,
44807,
15999,
21746,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
16855,
287,
2882,
62,
1136,
62,
7890,
14692,
12947,
1,
7131,
1,
76,
5912,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16855,
14692,
26745,
8973,
407,
287,
14631,
32374,
1600,
366,
28968,
1600,
366,
7700,
15732,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
16855,
14692,
26745,
8973,
287,
1398,
62,
1676,
862,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
16366,
62,
14401,
62,
79,
363,
1883,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
42208,
1883,
6856,
416,
5456,
351,
1037,
286,
2443,
15732,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
11677,
290,
4179,
10007,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
12947,
1,
287,
2882,
62,
1136,
62,
7890,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
76,
5912,
1,
287,
2882,
62,
1136,
62,
7890,
14692,
12947,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
351,
2443,
15732,
290,
4179,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
19779,
7700,
15732,
1298,
352,
11,
366,
32374,
1298,
362,
92,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
7700,
62,
17143,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
4357,
12405,
62,
8841,
28,
37266,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1640,
62,
7700,
62,
17143,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
7700,
62,
17143,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
11085,
1,
287,
2882,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
12957,
1,
287,
2882,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
19545,
1,
287,
2882,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
14692,
1177,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
7700,
15732,
28,
17,
1,
287,
2882,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
14692,
1177,
1,
7131,
1,
19545,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
796,
2116,
13,
16366,
13,
1136,
7,
26209,
62,
1640,
62,
7700,
62,
17143,
62,
7890,
14692,
1177,
1,
7131,
1,
19545,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1306,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
3866,
1442,
1,
287,
1306,
62,
26209,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
7700,
15732,
28,
16,
1,
287,
1306,
62,
26209,
62,
7890,
14692,
1177,
1,
7131,
1,
3866,
1442,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
351,
11677,
290,
4179,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
19779,
28968,
1298,
352,
11,
366,
32374,
1298,
362,
92,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
28968,
62,
17143,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
4357,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
62,
8841,
28,
37266,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1640,
62,
28968,
62,
17143,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
28968,
62,
17143,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
11085,
1,
287,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
12957,
1,
287,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
19545,
1,
287,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
14692,
1177,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
28968,
28,
18,
1,
287,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
14692,
1177,
1,
7131,
1,
19545,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
796,
2116,
13,
16366,
13,
1136,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1640,
62,
28968,
62,
17143,
62,
7890,
14692,
1177,
1,
7131,
1,
19545,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1306,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
26209,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
3866,
1442,
1,
287,
1306,
62,
26209,
62,
7890,
14692,
1177,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
366,
28968,
28,
16,
1,
287,
1306,
62,
26209,
62,
7890,
14692,
1177,
1,
7131,
1,
3866,
1442,
8973,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
14774,
62,
48205,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7376,
4657,
611,
2089,
5563,
389,
2087,
393,
407,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2089,
62,
26209,
62,
1996,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
28,
17752,
13,
67,
8142,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22944,
11639,
5657,
6,
22305,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2089,
62,
26209,
62,
1996,
13,
13376,
62,
8189,
6624,
7337,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
14774,
62,
8897,
3558,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7376,
4657,
611,
2089,
7007,
389,
12118,
393,
407,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
796,
2116,
13,
15390,
13,
4033,
26448,
58,
43681,
62,
3672,
7131,
1,
43681,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
43681,
13,
4871,
44807,
7839,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
87,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
796,
2116,
13,
16366,
13,
1996,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
4238,
62,
1996,
62,
26209,
13,
13376,
62,
8189,
6624,
580,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
1996,
62,
26209,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40364,
796,
374,
6,
7,
15885,
8,
2389,
20262,
90,
2623,
92,
27493,
357,
15885,
33047,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2872,
49201,
796,
302,
13,
15699,
7,
260,
25636,
11,
2882,
14692,
11213,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2872,
49201,
318,
407,
6045,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
796,
2872,
49201,
13,
8094,
7,
17,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32782,
1,
407,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
13,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
33491,
62,
26209,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
437,
13033,
58,
437,
4122,
4357,
4686,
62,
828,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1281,
62,
33491,
62,
26209,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7206,
2538,
9328,
1,
407,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
62,
26209,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
90,
92,
14,
90,
92,
4458,
18982,
7,
437,
13033,
58,
437,
4122,
4357,
4686,
62,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
12233,
62,
26209,
13,
13376,
62,
8189,
6624,
36966,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
12915,
13033,
62,
21947,
82,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
477,
886,
13033,
26307,
389,
7560,
6105,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4947,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4947,
62,
3672,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
796,
2116,
13,
16366,
13,
1136,
7,
437,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
1136,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4732,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
1136,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
14692,
31,
22866,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
22866,
796,
2116,
13,
16366,
13,
1136,
7,
22866,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
22866,
62,
7890,
796,
33918,
13,
46030,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
62,
22866,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2882,
62,
22866,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
44212,
22866,
1,
287,
2882,
62,
22866,
62,
7890,
201,
198,
201,
198,
201,
198,
4871,
47068,
14402,
20448,
7,
403,
715,
395,
13,
14402,
20448,
2599,
201,
198,
220,
220,
220,
37227,
14402,
5016,
329,
17802,
2995,
290,
4560,
526,
15931,
201,
198,
201,
198,
220,
220,
220,
2488,
4871,
24396,
201,
198,
220,
220,
220,
825,
900,
4933,
9487,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
38105,
9058,
878,
262,
5254,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
32071,
257,
8584,
6831,
9313,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3113,
796,
2251,
62,
18392,
10786,
25410,
578,
1378,
14,
25,
31673,
25,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
38993,
13,
17953,
62,
439,
7,
18392,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6246,
796,
629,
19458,
62,
29891,
7,
29891,
10297,
7,
21653,
28,
18392,
4008,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
796,
6246,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17614,
62,
20608,
796,
366,
9536,
78,
15042,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7700,
62,
7857,
796,
352,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42598,
7707,
2937,
62,
35009,
5959,
62,
21886,
796,
366,
4023,
1378,
15511,
14932,
13,
785,
30487,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1324,
796,
598,
62,
69,
9548,
7,
944,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
796,
2251,
62,
44971,
7,
944,
13,
1324,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5146,
329,
2251,
2205,
4943,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
796,
2205,
62,
10297,
13,
17953,
62,
15390,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
16002,
62,
39873,
13,
15042,
62,
15390,
13,
8612,
378,
22784,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42598,
7707,
2937,
62,
35009,
5959,
62,
21886,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
37724,
796,
2205,
62,
29572,
13,
1136,
62,
37724,
7,
944,
13,
15390,
13,
8612,
378,
28955,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
48310,
796,
2205,
62,
29572,
13,
1136,
62,
439,
62,
48310,
7,
9288,
62,
37724,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
29572,
13,
28463,
62,
37724,
7,
9288,
62,
37724,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2205,
62,
29572,
13,
28463,
62,
48310,
7,
9288,
62,
48310,
11,
2116,
13,
29891,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
9487,
274,
290,
6608,
2087,
7675,
19570,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
34149,
510,
2537,
7109,
385,
20081,
986,
366,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
796,
900,
62,
15042,
62,
3672,
7,
944,
13,
1324,
11,
2116,
13,
17614,
62,
20608,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
796,
900,
62,
29891,
7,
944,
13,
1324,
11,
2116,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
796,
900,
62,
15390,
7,
944,
13,
1324,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7700,
62,
7857,
62,
22602,
796,
900,
62,
7700,
62,
7857,
7,
944,
13,
1324,
11,
2116,
13,
7700,
62,
7857,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
796,
2116,
13,
1324,
13,
9288,
62,
16366,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
62,
16366,
796,
2116,
13,
44971,
952,
13,
9288,
62,
16366,
7,
944,
13,
1324,
11,
25745,
11639,
14,
27261,
11537,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
32071,
20081,
4732,
986,
366,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
13,
834,
9255,
834,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
13,
834,
9255,
834,
3419,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
40786,
1760,
11,
2491,
5254,
9313,
8,
201,
198,
201,
198,
220,
220,
220,
2488,
4871,
24396,
201,
198,
220,
220,
220,
825,
11626,
8048,
9487,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
451,
866,
8584,
6831,
290,
8420,
20081,
37811,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15390,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15042,
62,
3672,
62,
22602,
13,
834,
37023,
834,
7,
14202,
11,
6045,
11,
6045,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
19836,
3419,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
8443,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
2018,
1785,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
796,
2116,
13,
44971,
952,
13,
9288,
62,
16366,
7,
944,
13,
1324,
11,
25745,
11639,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
17802,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
7890,
8,
1875,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1785,
796,
1366,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
3672,
20520,
6624,
705,
8443,
6,
201,
198,
220,
220,
220,
220,
220,
220,
220,
938,
62,
21858,
62,
312,
796,
1067,
463,
13,
1136,
62,
12957,
62,
4666,
2649,
62,
21858,
62,
312,
7,
944,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
22046,
6,
7131,
15,
7131,
6,
12957,
62,
21858,
62,
312,
20520,
6624,
938,
62,
21858,
62,
312,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
13,
6381,
8443,
7,
14933,
10223,
11639,
14,
27261,
11537,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
260,
8443,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
37671,
1785,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
796,
2116,
13,
44971,
952,
13,
9288,
62,
16366,
7,
944,
13,
1324,
11,
25745,
11639,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1610,
1530,
1366,
286,
717,
2018,
1785,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20985,
37671,
82,
416,
48143,
705,
260,
8443,
6,
1785,
13,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
13,
368,
270,
10786,
260,
8443,
3256,
25745,
11639,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
4296,
2722,
319,
37671,
278,
284,
262,
4382,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
17802,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
7890,
8,
1875,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
29677,
262,
1785,
1321,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1785,
796,
1366,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
3672,
20520,
6624,
705,
8443,
6,
201,
198,
220,
220,
220,
220,
220,
220,
220,
938,
62,
21858,
62,
312,
796,
1067,
463,
13,
1136,
62,
12957,
62,
4666,
2649,
62,
21858,
62,
312,
7,
944,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
938,
1693,
4686,
351,
938,
62,
21858,
62,
312,
2722,
416,
5456,
287,
262,
4296,
13,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
22046,
6,
7131,
15,
7131,
6,
12957,
62,
21858,
62,
312,
20520,
6624,
938,
62,
21858,
62,
312,
201,
198,
220,
220,
220,
220,
220,
220,
220,
17802,
62,
16366,
13,
6381,
8443,
7,
14933,
10223,
11639,
14,
27261,
11537,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
4666,
2649,
62,
11487,
62,
26069,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
705,
4666,
2649,
12,
11487,
12,
26069,
6,
2995,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1610,
1530,
1468,
2722,
1366,
379,
17802,
5456,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5345,
938,
62,
21858,
62,
312,
355,
262,
5797,
62,
21858,
62,
312,
201,
198,
220,
220,
220,
220,
220,
220,
220,
5797,
62,
21858,
62,
312,
796,
1067,
463,
13,
1136,
62,
12957,
62,
4666,
2649,
62,
21858,
62,
312,
7,
944,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
281,
3131,
17613,
1700,
15064,
621,
262,
5797,
62,
21858,
62,
312,
201,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
42861,
62,
21858,
62,
312,
796,
1067,
463,
13,
28463,
62,
4666,
2649,
62,
22105,
7,
24396,
2625,
32782,
1600,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8271,
62,
6371,
2625,
1600,
6246,
28,
944,
13,
29891,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
62,
16366,
13,
368,
270,
10786,
1136,
62,
4666,
2649,
62,
11487,
62,
26069,
3256,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
25781,
62,
21858,
62,
312,
10354,
5797,
62,
21858,
62,
312,
5512,
25745,
11639,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
7890,
8,
1875,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1785,
796,
1366,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
3672,
20520,
6624,
705,
4666,
2649,
62,
11487,
62,
26069,
6,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
2722,
1785,
4909,
1366,
286,
8308,
2087,
17613,
1700,
13,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
22046,
6,
7131,
15,
7131,
15,
7131,
6,
24396,
20520,
6624,
366,
32782,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
22046,
6,
7131,
15,
7131,
15,
7131,
6,
31092,
62,
6371,
20520,
6624,
13538,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1785,
17816,
22046,
6,
7131,
15,
7131,
15,
7131,
6,
21858,
62,
312,
20520,
6624,
649,
62,
42861,
62,
21858,
62,
312,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
44971,
952,
62,
32782,
62,
929,
19581,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
705,
19119,
6,
1785,
31234,
416,
17802,
952,
329,
24582,
4560,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32782,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31548,
62,
15252,
796,
2429,
62,
67,
13513,
62,
15252,
7,
4871,
44807,
7839,
11,
2116,
13,
15390,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1610,
1530,
1468,
17802,
952,
5992,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
26209,
796,
2116,
13,
16366,
13,
7353,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
4357,
1366,
28,
17752,
13,
67,
8142,
7,
67,
13513,
62,
15252,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1281,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
649,
17802,
952,
4296,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4296,
796,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
19119,
8,
14512,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
4296,
58,
15,
7131,
6,
22046,
6,
7131,
15,
7131,
6,
24396,
20520,
6624,
366,
32782,
1,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8271,
62,
3672,
796,
4296,
58,
15,
7131,
6,
22046,
6,
7131,
15,
7131,
6,
31092,
62,
6371,
6,
4083,
35312,
10786,
14,
11537,
58,
12,
16,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
8271,
62,
3672,
6624,
886,
13033,
58,
437,
4122,
4083,
35312,
10786,
14,
11537,
58,
12,
16,
60,
201,
198,
201,
198,
220,
220,
220,
825,
1332,
62,
44971,
952,
62,
7206,
2538,
9328,
62,
929,
19581,
7,
944,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
705,
19119,
6,
1785,
31234,
416,
17802,
952,
329,
5550,
2538,
9328,
4560,
526,
15931,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
2116,
13,
16366,
13,
1136,
7203,
14,
90,
92,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
6376,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
796,
33918,
13,
46030,
7,
9630,
13,
7890,
13,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
36123,
287,
886,
13033,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36123,
407,
287,
14631,
31,
22866,
1600,
44212,
312,
1600,
44212,
4906,
1,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
3672,
796,
12813,
1911,
22179,
7,
437,
13033,
58,
437,
4122,
4083,
35312,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
90,
92,
14,
1911,
18982,
7,
944,
13,
17614,
62,
20608,
4008,
58,
16,
25,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1398,
62,
3672,
407,
287,
2116,
13,
15390,
13,
4033,
26448,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
796,
2116,
13,
15390,
13,
79,
945,
276,
62,
37724,
58,
4871,
62,
3672,
7131,
1,
4871,
8973,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
62,
24396,
82,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
24396,
329,
2124,
287,
1398,
44807,
15999,
32180,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7206,
2538,
9328,
1,
287,
1398,
62,
24396,
82,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1610,
1530,
1468,
17802,
952,
5992,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
62,
26209,
796,
2116,
13,
16366,
13,
33678,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
13033,
58,
437,
4122,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
12233,
62,
26209,
13,
13376,
62,
8189,
6624,
939,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
649,
4296,
1785,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4296,
796,
2116,
13,
44971,
952,
62,
16366,
13,
1136,
62,
47844,
10786,
14,
27261,
11537,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
19119,
8,
14512,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
4296,
58,
15,
7131,
6,
22046,
6,
7131,
15,
7131,
6,
24396,
20520,
6624,
705,
7206,
2538,
9328,
6,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8271,
62,
3672,
796,
4296,
58,
15,
7131,
6,
22046,
6,
7131,
15,
7131,
6,
31092,
62,
6371,
6,
4083,
35312,
10786,
14,
11537,
58,
12,
16,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
8271,
62,
3672,
6624,
886,
13033,
58,
437,
4122,
4083,
35312,
10786,
14,
11537,
58,
12,
16,
60,
201,
198,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
3275,
796,
37227,
201,
198,
220,
220,
220,
18162,
5254,
329,
262,
598,
13,
39432,
611,
477,
9109,
389,
287,
1774,
1502,
13,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
201,
198
] | 2.039665 | 17,320 |
"""Environment Variables
"""
import os
from dotenv import load_dotenv
load_dotenv()
HIC_DB_USERNAME = os.environ["HIC_DB_USERNAME"]
HIC_DB_PASSWORD = os.environ["HIC_DB_PASSWORD"]
HIC_DB_HOST = os.environ["HIC_DB_HOST"]
HIC_DB_DATABASE = os.environ["HIC_DB_DATABASE"]
MS_SQL_ODBC_DRIVER = os.environ["MS_SQL_ODBC_DRIVER"]
MS_SQL_UHL_DWH_HOST = os.environ["MS_SQL_UHL_DWH_HOST"]
MS_SQL_UHL_DWH_USER = os.environ["MS_SQL_UHL_DWH_USER"]
MS_SQL_UHL_DWH_PASSWORD = os.environ["MS_SQL_UHL_DWH_PASSWORD"]
IDENTITY_API_KEY = os.environ["IDENTITY_API_KEY"]
IDENTITY_HOST = os.environ["IDENTITY_HOST"]
HIC_CONNECTION_STRING = os.environ["HIC_CONNECTION_STRING"]
HIC_HOST = os.environ["HIC_HOST"]
HIC_USERNAME = os.environ["HIC_USERNAME"]
HIC_PASSWORD = os.environ["HIC_PASSWORD"]
| [
37811,
31441,
15965,
2977,
201,
198,
37811,
201,
198,
11748,
28686,
201,
198,
6738,
16605,
24330,
1330,
3440,
62,
26518,
24330,
201,
198,
201,
198,
2220,
62,
26518,
24330,
3419,
201,
198,
201,
198,
201,
198,
39,
2149,
62,
11012,
62,
29904,
20608,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
11012,
62,
29904,
20608,
8973,
201,
198,
39,
2149,
62,
11012,
62,
47924,
54,
12532,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
11012,
62,
47924,
54,
12532,
8973,
201,
198,
39,
2149,
62,
11012,
62,
39,
10892,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
11012,
62,
39,
10892,
8973,
201,
198,
39,
2149,
62,
11012,
62,
35,
1404,
6242,
11159,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
11012,
62,
35,
1404,
6242,
11159,
8973,
201,
198,
201,
198,
5653,
62,
17861,
62,
3727,
2749,
62,
7707,
38757,
796,
28686,
13,
268,
2268,
14692,
5653,
62,
17861,
62,
3727,
2749,
62,
7707,
38757,
8973,
201,
198,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
39,
10892,
796,
28686,
13,
268,
2268,
14692,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
39,
10892,
8973,
201,
198,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
29904,
796,
28686,
13,
268,
2268,
14692,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
29904,
8973,
201,
198,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
47924,
54,
12532,
796,
28686,
13,
268,
2268,
14692,
5653,
62,
17861,
62,
52,
6581,
62,
35,
12418,
62,
47924,
54,
12532,
8973,
201,
198,
201,
198,
25256,
9050,
62,
17614,
62,
20373,
796,
28686,
13,
268,
2268,
14692,
25256,
9050,
62,
17614,
62,
20373,
8973,
201,
198,
25256,
9050,
62,
39,
10892,
796,
28686,
13,
268,
2268,
14692,
25256,
9050,
62,
39,
10892,
8973,
201,
198,
201,
198,
39,
2149,
62,
10943,
45,
24565,
62,
18601,
2751,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
10943,
45,
24565,
62,
18601,
2751,
8973,
201,
198,
39,
2149,
62,
39,
10892,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
39,
10892,
8973,
201,
198,
39,
2149,
62,
29904,
20608,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
29904,
20608,
8973,
201,
198,
39,
2149,
62,
47924,
54,
12532,
796,
28686,
13,
268,
2268,
14692,
39,
2149,
62,
47924,
54,
12532,
8973,
201,
198
] | 2.043367 | 392 |
# Generated by Django 3.2.9 on 2022-01-03 14:32
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
513,
13,
17,
13,
24,
319,
33160,
12,
486,
12,
3070,
1478,
25,
2624,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
import numpy as np
def fit_transformation(source, target):
"""
This function computes the best rigid transformation between two point sets. It assumes that "source" and
"target" are with the same length and "source[i]" corresponds to "target[i]".
:param source: Nxd array.
:param target: Nxd array.
:return: A transformation as (d+1)x(d+1) matrix; the rotation part as a dxd matrix and the translation
part as a dx1 vector.
"""
assert source.shape == target.shape
center_source = np.mean(source, axis=0)
center_target = np.mean(target, axis=0)
m = source.shape[1]
source_zeromean = source - center_source
target_zeromean = target - center_target
W = np.dot(source_zeromean.T, target_zeromean)
U, S, Vt = np.linalg.svd(W)
R = np.dot(Vt.T, U.T)
if np.linalg.det(R) < 0:
Vt[m - 1, :] *= -1
R = np.dot(Vt.T, U.T)
t = center_target.T - np.dot(R, center_source.T)
T = np.identity(m + 1)
T[:m, :m] = R
T[:m, m] = t
return T, R, t | [
11748,
299,
32152,
355,
45941,
628,
198,
4299,
4197,
62,
7645,
1161,
7,
10459,
11,
2496,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
2163,
552,
1769,
262,
1266,
20831,
13389,
1022,
734,
966,
5621,
13,
632,
18533,
326,
366,
10459,
1,
290,
198,
220,
220,
220,
366,
16793,
1,
389,
351,
262,
976,
4129,
290,
366,
10459,
58,
72,
30866,
24866,
284,
366,
16793,
58,
72,
60,
1911,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2723,
25,
399,
24954,
7177,
13,
220,
198,
220,
220,
220,
1058,
17143,
2496,
25,
399,
24954,
7177,
13,
198,
220,
220,
220,
1058,
7783,
25,
317,
13389,
355,
357,
67,
10,
16,
8,
87,
7,
67,
10,
16,
8,
17593,
26,
262,
13179,
636,
355,
257,
288,
24954,
17593,
290,
262,
11059,
198,
220,
220,
220,
636,
355,
257,
44332,
16,
15879,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6818,
2723,
13,
43358,
6624,
2496,
13,
43358,
198,
220,
220,
220,
3641,
62,
10459,
796,
45941,
13,
32604,
7,
10459,
11,
16488,
28,
15,
8,
198,
220,
220,
220,
3641,
62,
16793,
796,
45941,
13,
32604,
7,
16793,
11,
16488,
28,
15,
8,
198,
220,
220,
220,
285,
796,
2723,
13,
43358,
58,
16,
60,
198,
220,
220,
220,
2723,
62,
9107,
462,
272,
796,
2723,
532,
3641,
62,
10459,
198,
220,
220,
220,
2496,
62,
9107,
462,
272,
796,
2496,
532,
3641,
62,
16793,
198,
220,
220,
220,
370,
796,
45941,
13,
26518,
7,
10459,
62,
9107,
462,
272,
13,
51,
11,
2496,
62,
9107,
462,
272,
8,
198,
220,
220,
220,
471,
11,
311,
11,
569,
83,
796,
45941,
13,
75,
1292,
70,
13,
82,
20306,
7,
54,
8,
198,
220,
220,
220,
371,
796,
45941,
13,
26518,
7,
53,
83,
13,
51,
11,
471,
13,
51,
8,
198,
220,
220,
220,
611,
45941,
13,
75,
1292,
70,
13,
15255,
7,
49,
8,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
569,
83,
58,
76,
532,
352,
11,
1058,
60,
1635,
28,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
371,
796,
45941,
13,
26518,
7,
53,
83,
13,
51,
11,
471,
13,
51,
8,
198,
220,
220,
220,
256,
796,
3641,
62,
16793,
13,
51,
532,
45941,
13,
26518,
7,
49,
11,
3641,
62,
10459,
13,
51,
8,
628,
220,
220,
220,
309,
796,
45941,
13,
738,
414,
7,
76,
1343,
352,
8,
198,
220,
220,
220,
309,
58,
25,
76,
11,
1058,
76,
60,
796,
371,
198,
220,
220,
220,
309,
58,
25,
76,
11,
285,
60,
796,
256,
198,
220,
220,
220,
1441,
309,
11,
371,
11,
256
] | 2.334831 | 445 |
"""
[Modular Equation](https://www.codechef.com/MAY21C/problems/MODEQ)
Given integers N and M, find the number of ordered pairs (a,b)
such that 1≤a<b≤N and ((M mod a) mod b)=((M mod b) mod a).
Input
The first line contains an integer T, the number of test cases. Then the test cases follow.
The only line of each test case contains two integers N, M.
Output
For each testcase, output in a single line the answer to the problem.
Constraints
1≤T≤1000
2≤N≤106
1≤M≤5⋅105
The sum of N over all test cases does not exceed 106.
Note: Multiplier for JAVA for this problem is reduced to 1.25 instead of usual 2.
Subtasks
Subtask #1 (10 points):
1≤T≤10
2≤N≤103
1≤M≤105
Subtask #2 (40 points):
1≤T≤100
2≤N≤105
1≤M≤105
The sum of N over all test cases does not exceed 106.
Subtask #3 (50 points): Original Constraints
Sample Input
3
3 5
3 6
3 10
Sample Output
2
3
2
Explanation
Test Case 1: The valid pairs are {(1,2),(1,3)}.
Test Case 2: The valid pairs are {(1,2),(1,3),(2,3)}.
Test Case 3: The valid pairs are {(1,2),(1,3)}.
"""
import sys
# Brute Force
"""
if __name__ == '__main__':
input = sys.stdin.read()
data = list(map(int, input.split()))
T = data[0]
idx = 1
while T > 0:
N, M = data[idx: idx + 2]
res = 0
for i in range(1, N):
for j in range(i + 1, N + 1):
if (M % i) % j == (M % j) % i:
res += 1
print(res)
T -= 1
idx += 2
# Time : 0.58s
"""
if __name__ == '__main__':
T = int(input())
idx = 1
while T > 0:
N, M = list(map(int, input().split()))
res = 0
mod = dict()
for a in range(2, N+1):
mod_with_a = M % a
res += mod.get(mod_with_a, 1)
for b in range(mod_with_a, N+1, a):
mod[b] = mod.get(b, 1) + 1
print(res)
T -= 1
# Time : 4.92s
| [
37811,
198,
58,
5841,
934,
7889,
341,
16151,
5450,
1378,
2503,
13,
19815,
721,
258,
69,
13,
785,
14,
44,
4792,
2481,
34,
14,
1676,
22143,
14,
49058,
48,
8,
198,
198,
15056,
37014,
399,
290,
337,
11,
1064,
262,
1271,
286,
6149,
14729,
357,
64,
11,
65,
8,
198,
10508,
326,
352,
35705,
97,
64,
27,
65,
35705,
97,
45,
290,
14808,
44,
953,
257,
8,
953,
275,
35793,
7,
44,
953,
275,
8,
953,
257,
737,
198,
198,
20560,
198,
464,
717,
1627,
4909,
281,
18253,
309,
11,
262,
1271,
286,
1332,
2663,
13,
3244,
262,
1332,
2663,
1061,
13,
198,
464,
691,
1627,
286,
1123,
1332,
1339,
4909,
734,
37014,
399,
11,
337,
13,
198,
198,
26410,
198,
1890,
1123,
1332,
7442,
11,
5072,
287,
257,
2060,
1627,
262,
3280,
284,
262,
1917,
13,
198,
198,
3103,
2536,
6003,
198,
16,
35705,
97,
51,
35705,
97,
12825,
198,
17,
35705,
97,
45,
35705,
97,
15801,
198,
16,
35705,
97,
44,
35705,
97,
20,
158,
233,
227,
13348,
198,
464,
2160,
286,
399,
625,
477,
1332,
2663,
857,
407,
7074,
15696,
13,
198,
6425,
25,
15237,
489,
959,
329,
449,
10116,
32,
329,
428,
1917,
318,
5322,
284,
352,
13,
1495,
2427,
286,
6678,
362,
13,
198,
198,
7004,
83,
6791,
198,
7004,
35943,
1303,
16,
357,
940,
2173,
2599,
198,
16,
35705,
97,
51,
35705,
97,
940,
198,
17,
35705,
97,
45,
35705,
97,
15197,
198,
16,
35705,
97,
44,
35705,
97,
13348,
198,
198,
7004,
35943,
1303,
17,
357,
1821,
2173,
2599,
198,
16,
35705,
97,
51,
35705,
97,
3064,
198,
17,
35705,
97,
45,
35705,
97,
13348,
198,
16,
35705,
97,
44,
35705,
97,
13348,
198,
464,
2160,
286,
399,
625,
477,
1332,
2663,
857,
407,
7074,
15696,
13,
198,
7004,
35943,
1303,
18,
357,
1120,
2173,
2599,
13745,
1482,
2536,
6003,
198,
198,
36674,
23412,
198,
18,
198,
18,
642,
198,
18,
718,
198,
18,
838,
198,
198,
36674,
25235,
198,
17,
198,
18,
198,
17,
198,
198,
3109,
11578,
341,
198,
14402,
8913,
352,
25,
383,
4938,
14729,
389,
1391,
7,
16,
11,
17,
828,
7,
16,
11,
18,
8,
27422,
198,
198,
14402,
8913,
362,
25,
383,
4938,
14729,
389,
1391,
7,
16,
11,
17,
828,
7,
16,
11,
18,
828,
7,
17,
11,
18,
8,
27422,
198,
198,
14402,
8913,
513,
25,
383,
4938,
14729,
389,
1391,
7,
16,
11,
17,
828,
7,
16,
11,
18,
8,
27422,
198,
37811,
198,
198,
11748,
25064,
198,
198,
2,
1709,
1133,
5221,
198,
37811,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
5128,
796,
25064,
13,
19282,
259,
13,
961,
3419,
198,
220,
220,
220,
1366,
796,
1351,
7,
8899,
7,
600,
11,
5128,
13,
35312,
3419,
4008,
198,
220,
220,
220,
309,
796,
1366,
58,
15,
60,
198,
220,
220,
220,
4686,
87,
796,
352,
198,
220,
220,
220,
981,
309,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
399,
11,
337,
796,
1366,
58,
312,
87,
25,
4686,
87,
1343,
362,
60,
628,
220,
220,
220,
220,
220,
220,
220,
581,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
16,
11,
399,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
72,
1343,
352,
11,
399,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
44,
4064,
1312,
8,
4064,
474,
6624,
357,
44,
4064,
474,
8,
4064,
1312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
411,
8,
628,
220,
220,
220,
220,
220,
220,
220,
309,
48185,
352,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
15853,
362,
198,
198,
2,
3862,
1058,
657,
13,
3365,
82,
198,
37811,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
309,
796,
493,
7,
15414,
28955,
198,
220,
220,
220,
4686,
87,
796,
352,
198,
220,
220,
220,
981,
309,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
399,
11,
337,
796,
1351,
7,
8899,
7,
600,
11,
5128,
22446,
35312,
3419,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
581,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
953,
796,
8633,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
257,
287,
2837,
7,
17,
11,
399,
10,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
62,
4480,
62,
64,
796,
337,
4064,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
953,
13,
1136,
7,
4666,
62,
4480,
62,
64,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2837,
7,
4666,
62,
4480,
62,
64,
11,
399,
10,
16,
11,
257,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
58,
65,
60,
796,
953,
13,
1136,
7,
65,
11,
352,
8,
1343,
352,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
411,
8,
628,
220,
220,
220,
220,
220,
220,
220,
309,
48185,
352,
198,
198,
2,
3862,
1058,
604,
13,
5892,
82,
198
] | 2.073626 | 910 |
import sys
import os
import yaml
class SingleCrawlerManifestManager(object):
"""
"""
required_files = ["spider_manifest.json", "spider_manifest.py"]
| [
11748,
25064,
198,
11748,
28686,
198,
11748,
331,
43695,
628,
198,
4871,
14206,
34,
39464,
5124,
8409,
13511,
7,
15252,
2599,
198,
220,
220,
220,
37227,
628,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
2672,
62,
16624,
796,
14631,
2777,
1304,
62,
805,
8409,
13,
17752,
1600,
366,
2777,
1304,
62,
805,
8409,
13,
9078,
8973,
198
] | 2.813559 | 59 |
#!/usr/bin/env python
##
#
# Send SET_GPS_GLOBAL_ORIGIN and SET_HOME_POSITION messages
#
##
import rospy
from pymavlink.dialects.v10 import ardupilotmega as MAV_APM
from mavros.mavlink import convert_to_rosmsg
from mavros_msgs.msg import Mavlink
class fifo(object):
""" A simple buffer """
def send_message(msg, mav, pub):
"""
Send a mavlink message
"""
msg.pack(mav)
rosmsg = convert_to_rosmsg(msg)
pub.publish(rosmsg)
print("sent message %s" % msg)
def set_global_origin(mav, pub, lat, lon, alt):
"""
Send a mavlink SET_GPS_GLOBAL_ORIGIN message, which allows us
to use local position information without a GPS.
"""
#target_system = mav.srcSystem
target_system = 0 # 0 --> broadcast to everyone
lattitude = lat
longitude = lon
altitude = alt
msg = MAV_APM.MAVLink_set_gps_global_origin_message(
target_system,
lattitude,
longitude,
altitude)
send_message(msg, mav, pub)
def set_home_position(mav, pub, lat, lon, alt, _x, _y, _z):
"""
Send a mavlink SET_HOME_POSITION message, which should allow
us to use local position information without a GPS
"""
target_system = 0 # broadcast to everyone
lattitude = lat
longitude = lon
altitude = alt
x = _x
y = _y
z = _z
q = [1, 0, 0, 0] # w x y z
approach_x = 0
approach_y = 0
approach_z = 1
msg = MAV_APM.MAVLink_set_home_position_message(
target_system,
lattitude,
longitude,
altitude,
x,
y,
z,
q,
approach_x,
approach_y,
approach_z)
send_message(msg, mav, pub)
if __name__=="__main__":
rospy.init_node('set_home', anonymous=True)
# Global position of the origin
lat = 37.4933566 * 1e7
lon = 126.8339491 * 1e7
alt = 200 * 1e3
# x = 3.678
# y = -1.719
# z = 0
x = 0
y = 0
z = 0
set_home(lat, lon, alt, x, y, z)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
2235,
198,
2,
198,
2,
16290,
25823,
62,
38,
3705,
62,
8763,
9864,
1847,
62,
1581,
3528,
1268,
290,
25823,
62,
39069,
62,
37997,
17941,
6218,
198,
2,
198,
2235,
198,
198,
11748,
686,
2777,
88,
198,
6738,
279,
4948,
615,
8726,
13,
38969,
478,
82,
13,
85,
940,
1330,
50065,
79,
23439,
13731,
355,
8779,
53,
62,
2969,
44,
198,
6738,
285,
615,
4951,
13,
76,
615,
8726,
1330,
10385,
62,
1462,
62,
4951,
19662,
198,
6738,
285,
615,
4951,
62,
907,
14542,
13,
19662,
1330,
337,
615,
8726,
628,
198,
4871,
5515,
78,
7,
15252,
2599,
198,
220,
220,
220,
37227,
317,
2829,
11876,
37227,
198,
198,
4299,
3758,
62,
20500,
7,
19662,
11,
285,
615,
11,
2240,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16290,
257,
285,
615,
8726,
3275,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
31456,
13,
8002,
7,
76,
615,
8,
198,
220,
220,
220,
686,
82,
19662,
796,
10385,
62,
1462,
62,
4951,
19662,
7,
19662,
8,
198,
220,
220,
220,
2240,
13,
12984,
1836,
7,
4951,
19662,
8,
628,
220,
220,
220,
3601,
7203,
34086,
3275,
4064,
82,
1,
4064,
31456,
8,
198,
198,
4299,
900,
62,
20541,
62,
47103,
7,
76,
615,
11,
2240,
11,
3042,
11,
300,
261,
11,
5988,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16290,
257,
285,
615,
8726,
25823,
62,
38,
3705,
62,
8763,
9864,
1847,
62,
1581,
3528,
1268,
3275,
11,
543,
3578,
514,
198,
220,
220,
220,
284,
779,
1957,
2292,
1321,
1231,
257,
15472,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
16793,
62,
10057,
796,
285,
615,
13,
10677,
11964,
198,
220,
220,
220,
2496,
62,
10057,
796,
657,
220,
220,
1303,
657,
14610,
7025,
284,
2506,
198,
220,
220,
220,
47240,
3984,
796,
3042,
198,
220,
220,
220,
890,
3984,
796,
300,
261,
198,
220,
220,
220,
20334,
796,
5988,
628,
220,
220,
220,
31456,
796,
8779,
53,
62,
2969,
44,
13,
5673,
53,
11280,
62,
2617,
62,
70,
862,
62,
20541,
62,
47103,
62,
20500,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
10057,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47240,
3984,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
890,
3984,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20334,
8,
628,
220,
220,
220,
3758,
62,
20500,
7,
19662,
11,
285,
615,
11,
2240,
8,
198,
198,
4299,
900,
62,
11195,
62,
9150,
7,
76,
615,
11,
2240,
11,
3042,
11,
300,
261,
11,
5988,
11,
4808,
87,
11,
4808,
88,
11,
4808,
89,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16290,
257,
285,
615,
8726,
25823,
62,
39069,
62,
37997,
17941,
3275,
11,
543,
815,
1249,
198,
220,
220,
220,
514,
284,
779,
1957,
2292,
1321,
1231,
257,
15472,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2496,
62,
10057,
796,
657,
220,
1303,
7025,
284,
2506,
628,
220,
220,
220,
47240,
3984,
796,
3042,
198,
220,
220,
220,
890,
3984,
796,
300,
261,
198,
220,
220,
220,
20334,
796,
5988,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
796,
4808,
87,
198,
220,
220,
220,
331,
796,
4808,
88,
198,
220,
220,
220,
1976,
796,
4808,
89,
198,
220,
220,
220,
10662,
796,
685,
16,
11,
657,
11,
657,
11,
657,
60,
220,
220,
1303,
266,
2124,
331,
1976,
628,
220,
220,
220,
3164,
62,
87,
796,
657,
198,
220,
220,
220,
3164,
62,
88,
796,
657,
198,
220,
220,
220,
3164,
62,
89,
796,
352,
628,
220,
220,
220,
31456,
796,
8779,
53,
62,
2969,
44,
13,
5673,
53,
11280,
62,
2617,
62,
11195,
62,
9150,
62,
20500,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
10057,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47240,
3984,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
890,
3984,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20334,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3164,
62,
87,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3164,
62,
88,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3164,
62,
89,
8,
628,
220,
220,
220,
3758,
62,
20500,
7,
19662,
11,
285,
615,
11,
2240,
8,
198,
198,
361,
11593,
3672,
834,
855,
1,
834,
12417,
834,
1298,
198,
220,
220,
220,
686,
2777,
88,
13,
15003,
62,
17440,
10786,
2617,
62,
11195,
3256,
11614,
28,
17821,
8,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
8060,
2292,
286,
262,
8159,
198,
220,
220,
220,
3042,
796,
5214,
13,
2920,
27326,
2791,
1635,
352,
68,
22,
198,
220,
220,
220,
300,
261,
796,
19710,
13,
23,
29626,
41289,
1635,
352,
68,
22,
198,
220,
220,
220,
5988,
796,
939,
1635,
352,
68,
18,
628,
220,
220,
220,
1303,
2124,
796,
513,
13,
30924,
198,
220,
220,
220,
1303,
331,
796,
532,
16,
13,
22,
1129,
198,
220,
220,
220,
1303,
1976,
796,
657,
628,
220,
220,
220,
2124,
796,
657,
198,
220,
220,
220,
331,
796,
657,
198,
220,
220,
220,
1976,
796,
657,
198,
220,
220,
220,
220,
198,
220,
220,
220,
900,
62,
11195,
7,
15460,
11,
300,
261,
11,
5988,
11,
2124,
11,
331,
11,
1976,
8,
198
] | 2.081736 | 991 |
from __future__ import absolute_import
from tests.clims.models.test_substance import SubstanceTestCase
from clims.plugins.demo.dnaseq.workflows.sequence import SequenceSimple
from clims.api.serializers.models.process_definition import ProcessDefinitionSerializer
expected_sequence_simple = {
'id':
u'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'fields': [{
'label': u'Comment',
'help': None,
'required': False,
'choices': [],
'type': u'textarea',
'name': u'comment'
}, {
'label': u'Sample prep',
'help': u'The method used for preparing the sample',
'required': True,
'choices': ['microwave', 'mixer'],
'type': u'select',
'name': u'sample_prep'
}, {
'label': u'Sequencer',
'help': u'Instrument where the sample will be sequenced',
'required': True,
'choices': ['iPhone', 'Android', 'Bang & Olufsen'],
'type': u'select',
'name': u'sequencer'
}, {
'label': u'Sample type',
'help': u'The type of the sample',
'required': True,
'choices': ['DNA', 'RNA'],
'type': u'select',
'name': u'sample_type'
}],
'presets': [{
'variables': {
'sample_prep': 'microwave',
'sequencer': 'Android',
'sample_type': 'DNA'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'Android: DNA prepared with microwave'
}, {
'variables': {
'sample_prep': 'mixer',
'sequencer': 'Android',
'sample_type': 'DNA'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'Android: DNA prepared with mixer'
}, {
'variables': {
'sample_prep': 'microwave',
'sample_type': 'DNA',
'sequencer': 'iPhone'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'iPhone: DNA prepared with microwave'
}, {
'variables': {
'sample_prep': 'microwave',
'sequencer': 'Android',
'sample_type': 'RNA'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'Android: RNA prepared with microwave'
}, {
'variables': {
'sample_prep': 'microwave',
'sample_type': 'DNA',
'sequencer': 'Bang & Olufsen'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'Bang & Olufsen: DNA prepared with microwave'
}, {
'variables': {
'sample_prep': 'mixer',
'sequencer': 'Android',
'sample_type': 'RNA'
},
'processDefinitionId':
'clims.plugins.demo.dnaseq.workflows.sequence.SequenceSimple',
'name': 'Android: RNA prepared with mixer'
}]
}
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
6738,
5254,
13,
565,
12078,
13,
27530,
13,
9288,
62,
7266,
301,
590,
1330,
50021,
14402,
20448,
198,
6738,
5424,
82,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
1330,
45835,
26437,
198,
6738,
5424,
82,
13,
15042,
13,
46911,
11341,
13,
27530,
13,
14681,
62,
46758,
1330,
10854,
36621,
32634,
7509,
628,
198,
198,
40319,
62,
43167,
62,
36439,
796,
1391,
198,
220,
220,
220,
705,
312,
10354,
198,
220,
220,
220,
334,
6,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
705,
25747,
10354,
685,
90,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18242,
10354,
334,
6,
21357,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
16794,
10354,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35827,
10354,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6679,
1063,
10354,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
334,
470,
2302,
20337,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
334,
6,
23893,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18242,
10354,
334,
6,
36674,
3143,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
16794,
10354,
334,
6,
464,
2446,
973,
329,
10629,
262,
6291,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35827,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6679,
1063,
10354,
37250,
9383,
808,
1015,
3256,
705,
19816,
263,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
334,
338,
9509,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
334,
338,
1403,
62,
46012,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18242,
10354,
334,
6,
44015,
12137,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
16794,
10354,
334,
6,
818,
43872,
810,
262,
6291,
481,
307,
4726,
5864,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35827,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6679,
1063,
10354,
37250,
37032,
3256,
705,
25934,
3256,
705,
43984,
1222,
440,
2290,
69,
6248,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
334,
338,
9509,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
334,
338,
4853,
12137,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18242,
10354,
334,
6,
36674,
2099,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
16794,
10354,
334,
6,
464,
2099,
286,
262,
6291,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35827,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6679,
1063,
10354,
37250,
28886,
3256,
705,
27204,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
334,
338,
9509,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
334,
338,
1403,
62,
4906,
6,
198,
220,
220,
220,
1782,
4357,
198,
220,
220,
220,
705,
18302,
1039,
10354,
685,
90,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
9383,
808,
1015,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
25934,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
28886,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
25934,
25,
7446,
5597,
351,
27000,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
19816,
263,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
25934,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
28886,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
25934,
25,
7446,
5597,
351,
33938,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
9383,
808,
1015,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
28886,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
37032,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
37032,
25,
7446,
5597,
351,
27000,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
9383,
808,
1015,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
25934,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
27204,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
25934,
25,
25897,
5597,
351,
27000,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
9383,
808,
1015,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
28886,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
43984,
1222,
440,
2290,
69,
6248,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
43984,
1222,
440,
2290,
69,
6248,
25,
7446,
5597,
351,
27000,
6,
198,
220,
220,
220,
8964,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
2977,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
46012,
10354,
705,
19816,
263,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3107,
12137,
10354,
705,
25934,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39873,
62,
4906,
10354,
705,
27204,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14681,
36621,
7390,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
565,
12078,
13,
37390,
13,
9536,
78,
13,
32656,
589,
80,
13,
1818,
44041,
13,
43167,
13,
44015,
594,
26437,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
705,
25934,
25,
25897,
5597,
351,
33938,
6,
198,
220,
220,
220,
1782,
60,
198,
92,
198
] | 2.111489 | 1,471 |
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from logging.handlers import SMTPHandler,RotatingFileHandler
from flask_mail import Mail, Message
import logging,os, smtplib
from threading import Thread
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
mail = Mail(app)
login = LoginManager(app)
login.login_view = 'login'
from app import routes, models, errors
class ThreadedSMTPHandler(SMTPHandler):
"""
Mimic SMTPHandler from logging module but seperate the actual emission (.emit)
in another thread to avoid blocking the main process
"""
if not app.debug:
if app.config['MAIL_SERVER']:
auth = None
if app.config['MAIL_USERNAME'] or app.config['MAIL_PASSWORD']:
auth = (app.config['MAIL_USERNAME'], app.config['MAIL_PASSWORD'])
secure = None
if app.config['MAIL_USE_TLS']:
secure = ()
mail_handler = ThreadedSMTPHandler(
mailhost=(app.config['MAIL_SERVER'], app.config['MAIL_PORT']),
# fromaddr='no-reply@' + app.config['MAIL_SERVER'],
fromaddr=app.config['MAIL_USERNAME'],
toaddrs=app.config['ADMINS'], subject='Tracker Failure',
credentials=auth, secure=()
)
mail_handler.setLevel(logging.ERROR)
app.logger.addHandler(mail_handler)
if not os.path.exists('logs'):
os.mkdir('logs')
file_handler = RotatingFileHandler('logs/tracker.log', maxBytes=10240,
backupCount=10)
file_handler.setFormatter(logging.Formatter(
'%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]'))
file_handler.setLevel(logging.INFO)
app.logger.addHandler(file_handler)
app.logger.setLevel(logging.INFO)
app.logger.info(f'{app.__repr__} - startup') | [
6738,
42903,
1330,
46947,
198,
6738,
4566,
1330,
17056,
198,
6738,
42903,
62,
25410,
282,
26599,
1330,
16363,
2348,
26599,
198,
6738,
42903,
62,
76,
42175,
1330,
337,
42175,
198,
6738,
42903,
62,
38235,
1330,
23093,
13511,
198,
6738,
18931,
13,
4993,
8116,
1330,
9447,
7250,
25060,
11,
24864,
803,
8979,
25060,
198,
6738,
42903,
62,
4529,
1330,
11099,
11,
16000,
198,
11748,
18931,
11,
418,
11,
895,
83,
489,
571,
198,
6738,
4704,
278,
1330,
14122,
628,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
1324,
13,
11250,
13,
6738,
62,
15252,
7,
16934,
8,
198,
9945,
796,
16363,
2348,
26599,
7,
1324,
8,
198,
76,
42175,
796,
337,
42175,
7,
1324,
11,
20613,
8,
198,
4529,
796,
11099,
7,
1324,
8,
198,
38235,
796,
23093,
13511,
7,
1324,
8,
198,
38235,
13,
38235,
62,
1177,
796,
705,
38235,
6,
628,
198,
6738,
598,
1330,
11926,
11,
4981,
11,
8563,
628,
198,
4871,
14122,
276,
12310,
7250,
25060,
7,
12310,
7250,
25060,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
39312,
291,
9447,
7250,
25060,
422,
18931,
8265,
475,
384,
30052,
262,
4036,
25592,
20262,
368,
270,
8,
198,
220,
220,
220,
287,
1194,
4704,
284,
3368,
12013,
262,
1388,
1429,
198,
220,
220,
220,
37227,
198,
198,
361,
407,
598,
13,
24442,
25,
198,
220,
220,
220,
611,
598,
13,
11250,
17816,
5673,
4146,
62,
35009,
5959,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
6284,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
598,
13,
11250,
17816,
5673,
4146,
62,
29904,
20608,
20520,
393,
598,
13,
11250,
17816,
5673,
4146,
62,
47924,
54,
12532,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6284,
796,
357,
1324,
13,
11250,
17816,
5673,
4146,
62,
29904,
20608,
6,
4357,
598,
13,
11250,
17816,
5673,
4146,
62,
47924,
54,
12532,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
5713,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
598,
13,
11250,
17816,
5673,
4146,
62,
19108,
62,
51,
6561,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5713,
796,
7499,
628,
220,
220,
220,
220,
220,
220,
220,
6920,
62,
30281,
796,
14122,
276,
12310,
7250,
25060,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6920,
4774,
16193,
1324,
13,
11250,
17816,
5673,
4146,
62,
35009,
5959,
6,
4357,
598,
13,
11250,
17816,
5673,
4146,
62,
15490,
20520,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
422,
29851,
11639,
3919,
12,
47768,
31,
6,
1343,
598,
13,
11250,
17816,
5673,
4146,
62,
35009,
5959,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
422,
29851,
28,
1324,
13,
11250,
17816,
5673,
4146,
62,
29904,
20608,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
2860,
3808,
28,
1324,
13,
11250,
17816,
2885,
44,
20913,
6,
4357,
2426,
11639,
35694,
25743,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18031,
28,
18439,
11,
5713,
28,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
6920,
62,
30281,
13,
2617,
4971,
7,
6404,
2667,
13,
24908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
2860,
25060,
7,
4529,
62,
30281,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
10786,
6404,
82,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28015,
15908,
10786,
6404,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
30281,
796,
18481,
803,
8979,
25060,
10786,
6404,
82,
14,
2213,
10735,
13,
6404,
3256,
3509,
45992,
28,
940,
16102,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11559,
12332,
28,
940,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
30281,
13,
2617,
8479,
1436,
7,
6404,
2667,
13,
8479,
1436,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4,
7,
292,
310,
524,
8,
82,
4064,
7,
5715,
3672,
8,
82,
25,
4064,
7,
20500,
8,
82,
685,
259,
4064,
7,
6978,
3672,
8,
82,
25,
4,
7,
2815,
23397,
8,
67,
49946,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
30281,
13,
2617,
4971,
7,
6404,
2667,
13,
10778,
8,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
2860,
25060,
7,
7753,
62,
30281,
8,
628,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
10778,
8,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
10951,
7,
69,
6,
90,
1324,
13,
834,
260,
1050,
834,
92,
532,
13693,
11537
] | 2.341121 | 856 |
import re
data = input()
total_income = 0
while data != "end of shift":
pattern_customer = r"\%(?P<customer>[A-Z][a-z]+)\%"
customer = re.finditer(pattern_customer, data)
is_customer = bool([c.group(0) for c in customer])
pattern_product = r"\<(?P<product>[0-9a-zA-Z\_]+)\>"
product = re.finditer(pattern_product, data)
is_product = bool([p.group(0) for p in product])
pattern_count = r"\|(?P<count>[0-9]+)\|"
count = re.finditer(pattern_count, data)
is_count = bool([cnt.group(0) for cnt in count])
pattern_price = r"(?P<price>[0-9]+\.?[0-9]+)\$"
price = re.finditer(pattern_price, data)
is_price = bool([pr.group(0) for pr in price])
if is_customer and is_product and is_count and is_price:
customer_dict = {}
for c in re.finditer(pattern_customer, data):
customer_dict = c.groupdict()
product_dict = {}
for p in re.finditer(pattern_product, data):
product_dict = p.groupdict()
count_dict = {}
for cnt in re.finditer(pattern_count, data):
count_dict = cnt.groupdict()
price_dict = {}
for pr in re.finditer(pattern_price, data):
price_dict = pr.groupdict()
total_product_price = int(count_dict['count']) * float(price_dict['price'])
total_income += total_product_price
print(f"{customer_dict['customer']}: {product_dict['product']} - {total_product_price:.2f}")
data = input()
print(f"Total income: {total_income:.2f}") | [
11748,
302,
198,
198,
7890,
796,
5128,
3419,
198,
23350,
62,
12519,
796,
657,
198,
198,
4514,
1366,
14512,
366,
437,
286,
6482,
1298,
198,
220,
220,
220,
3912,
62,
23144,
263,
796,
374,
1,
59,
4,
7,
30,
47,
27,
23144,
263,
36937,
32,
12,
57,
7131,
64,
12,
89,
48688,
19415,
39658,
198,
220,
220,
220,
6491,
796,
302,
13,
19796,
2676,
7,
33279,
62,
23144,
263,
11,
1366,
8,
198,
220,
220,
220,
318,
62,
23144,
263,
796,
20512,
26933,
66,
13,
8094,
7,
15,
8,
329,
269,
287,
6491,
12962,
628,
220,
220,
220,
3912,
62,
11167,
796,
374,
1,
49778,
7,
30,
47,
27,
11167,
36937,
15,
12,
24,
64,
12,
89,
32,
12,
57,
59,
62,
48688,
19415,
24618,
198,
220,
220,
220,
1720,
796,
302,
13,
19796,
2676,
7,
33279,
62,
11167,
11,
1366,
8,
198,
220,
220,
220,
318,
62,
11167,
796,
20512,
26933,
79,
13,
8094,
7,
15,
8,
329,
279,
287,
1720,
12962,
628,
220,
220,
220,
3912,
62,
9127,
796,
374,
1,
59,
91,
7,
30,
47,
27,
9127,
36937,
15,
12,
24,
48688,
19415,
91,
1,
198,
220,
220,
220,
954,
796,
302,
13,
19796,
2676,
7,
33279,
62,
9127,
11,
1366,
8,
198,
220,
220,
220,
318,
62,
9127,
796,
20512,
26933,
66,
429,
13,
8094,
7,
15,
8,
329,
269,
429,
287,
954,
12962,
628,
220,
220,
220,
3912,
62,
20888,
796,
374,
18109,
30,
47,
27,
20888,
36937,
15,
12,
24,
48688,
17405,
30,
58,
15,
12,
24,
48688,
19415,
3,
1,
198,
220,
220,
220,
2756,
796,
302,
13,
19796,
2676,
7,
33279,
62,
20888,
11,
1366,
8,
198,
220,
220,
220,
318,
62,
20888,
796,
20512,
26933,
1050,
13,
8094,
7,
15,
8,
329,
778,
287,
2756,
12962,
628,
220,
220,
220,
611,
318,
62,
23144,
263,
290,
318,
62,
11167,
290,
318,
62,
9127,
290,
318,
62,
20888,
25,
628,
220,
220,
220,
220,
220,
220,
220,
6491,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
302,
13,
19796,
2676,
7,
33279,
62,
23144,
263,
11,
1366,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6491,
62,
11600,
796,
269,
13,
8094,
11600,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1720,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
302,
13,
19796,
2676,
7,
33279,
62,
11167,
11,
1366,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1720,
62,
11600,
796,
279,
13,
8094,
11600,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
954,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
269,
429,
287,
302,
13,
19796,
2676,
7,
33279,
62,
9127,
11,
1366,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
62,
11600,
796,
269,
429,
13,
8094,
11600,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2756,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
778,
287,
302,
13,
19796,
2676,
7,
33279,
62,
20888,
11,
1366,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2756,
62,
11600,
796,
778,
13,
8094,
11600,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
11167,
62,
20888,
796,
493,
7,
9127,
62,
11600,
17816,
9127,
6,
12962,
1635,
12178,
7,
20888,
62,
11600,
17816,
20888,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
12519,
15853,
2472,
62,
11167,
62,
20888,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
90,
23144,
263,
62,
11600,
17816,
23144,
263,
20520,
38362,
1391,
11167,
62,
11600,
17816,
11167,
20520,
92,
532,
1391,
23350,
62,
11167,
62,
20888,
25,
13,
17,
69,
92,
4943,
628,
220,
220,
220,
1366,
796,
5128,
3419,
198,
198,
4798,
7,
69,
1,
14957,
3739,
25,
1391,
23350,
62,
12519,
25,
13,
17,
69,
92,
4943
] | 2.298193 | 664 |
import cv2 as cv
import numpy as np
from matplotlib import pyplot as plt
if __name__ == '__main__':
drawShapes()
| [
11748,
269,
85,
17,
355,
269,
85,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
355,
458,
83,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3197,
2484,
7916,
3419,
198
] | 2.608696 | 46 |
import datetime
import pytest
from francis.util import (
parse_date,
parse_rc,
prettytable,
)
# FIXME: test multiple > 40 columns
| [
11748,
4818,
8079,
198,
198,
11748,
12972,
9288,
198,
198,
6738,
46754,
271,
13,
22602,
1330,
357,
198,
220,
220,
220,
21136,
62,
4475,
11,
198,
220,
220,
220,
21136,
62,
6015,
11,
198,
220,
220,
220,
2495,
11487,
11,
198,
8,
628,
628,
220,
220,
220,
1303,
44855,
11682,
25,
1332,
3294,
1875,
2319,
15180,
628
] | 2.666667 | 57 |
import math
| [
11748,
10688,
198
] | 4 | 3 |
__all__ = ['example_data']
| [
198,
834,
439,
834,
796,
37250,
20688,
62,
7890,
20520,
198
] | 2.545455 | 11 |
from xgboost.sklearn import XGBClassifier
# from xgb_model import xgb_model_fit
# from sklearn.grid_search import GridSearchCV
from sklearn.ensemble import VotingClassifier
from sklearn.metrics import accuracy_score
import pandas as pd
from sklearn.model_selection import train_test_split
import numpy as np
from sklearn.ensemble import AdaBoostClassifier
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestClassifier
print('\n\n')
dtrain = pd.read_csv('../data/cleaned_train_v2.csv').iloc[:, 1:]
dtest = pd.read_csv('../data/cleaned_test_v2.csv').iloc[:, 1:]
# print(dtrain)
loan_ids = dtest.Loan_ID
dtest = dtest.iloc[:, 1:]
features = np.array(dtrain.iloc[:, 0:-1])
labels = np.array(dtrain.Loan_Status)
test = np.array(dtest)
# print(features.shape)
# Classifier 1 - XGBoost
clf1 = XGBClassifier(learning_rate=0.1,
n_estimators=1000,
max_depth=3,
min_child_weight=1,
gamma=0.2,
subsample=0.8,
colsample_bytree=0.8,
objective='binary:logistic',
nthread=4,
scale_pos_weight=1,
reg_alpha=69,
seed=42)
# Classifier 2 - Random Forest
clf2 = RandomForestClassifier(bootstrap=True,
criterion='gini',
max_depth=3,
oob_score=True,
max_features=3,
min_samples_leaf=10,
min_samples_split=10,
random_state=42,
n_jobs=-1)
# X_train, X_test, y_train, y_test = train_test_split(features, labels, test_size=0.40, random_state=42)
tree = DecisionTreeClassifier(criterion='gini', max_depth=3)
clf3 = AdaBoostClassifier(base_estimator=tree, n_estimators=3000, learning_rate=0.03, random_state=42)
eclf = VotingClassifier(estimators=[
('forest', clf2),
('xgboost', clf1),
('adaboost', clf3)],
voting='hard')
eclf.fit(features, labels)
pred = eclf.predict(test)
# print(accuracy_score(y_test, pred))
# print("Random Forest Classifier.....")
# clf2.fit(X_train, y_train)
# pred1 = clf2.predict(X_test)
# print(accuracy_score(y_test, pred1))
# print('\nXGBoost Classifier......')
# clf1.fit(X_train, y_train)
# pred2 = clf1.predict(X_test)
# print(accuracy_score(y_test, pred2))
# clf1.fit(features, labels, eval_metric='error')
# pred = clf1.predict(test)
# print(pred)
submission = pd.DataFrame({'Loan_ID': loan_ids, 'Loan_Status': pred})
submission['Loan_Status'] = submission.Loan_Status.map({0: 'N', 1: 'Y'})
submission.to_csv('submission2.csv', index=False)
# xgb_model_fit(clf1, features, labels, folds=3)
# Classifier 2 - Random Forest
# Tuning ```max_depth``` and ```min_child_weight```
# param_dist = {
# "max_depth": list(range(1, 8, 2)),
# "max_features": list(range(1, 10, 2)),
# "min_samples_split": list(range(2, 11, 2)),
# "min_samples_leaf": list(range(2, 11, 2)),
# "bootstrap": [True, False],
# "criterion": ["gini", "entropy"]
# }
# gs1 = GridSearchCV(estimator=clf2,
# param_grid=param_dist,
# scoring='accuracy',
# n_jobs=-1,
# iid=False,
# cv=7,
# verbose=5)
# gs1.fit(features, labels)
# # bootstrap=True, criterion=gini, max_depth=3, max_features=3, min_samples_leaf=10, min_samples_split=10, score=0.870588
# # # print(gs1.grid_scores_)
# print(gs1.best_params_)
# print(gs1.best_score_)
| [
6738,
2124,
70,
39521,
13,
8135,
35720,
1330,
1395,
4579,
9487,
7483,
198,
2,
422,
2124,
22296,
62,
19849,
1330,
2124,
22296,
62,
19849,
62,
11147,
198,
2,
422,
1341,
35720,
13,
25928,
62,
12947,
1330,
24846,
18243,
33538,
198,
6738,
1341,
35720,
13,
1072,
11306,
1330,
30061,
9487,
7483,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
9922,
62,
26675,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
1341,
35720,
13,
1072,
11306,
1330,
47395,
45686,
9487,
7483,
198,
6738,
1341,
35720,
13,
21048,
1330,
26423,
27660,
9487,
7483,
198,
6738,
1341,
35720,
13,
1072,
11306,
1330,
14534,
34605,
9487,
7483,
198,
4798,
10786,
59,
77,
59,
77,
11537,
198,
198,
67,
27432,
796,
279,
67,
13,
961,
62,
40664,
10786,
40720,
7890,
14,
2375,
22739,
62,
27432,
62,
85,
17,
13,
40664,
27691,
346,
420,
58,
45299,
352,
47715,
198,
67,
9288,
796,
279,
67,
13,
961,
62,
40664,
10786,
40720,
7890,
14,
2375,
22739,
62,
9288,
62,
85,
17,
13,
40664,
27691,
346,
420,
58,
45299,
352,
47715,
198,
198,
2,
3601,
7,
67,
27432,
8,
198,
5439,
272,
62,
2340,
796,
288,
9288,
13,
43,
24611,
62,
2389,
198,
67,
9288,
796,
288,
9288,
13,
346,
420,
58,
45299,
352,
47715,
198,
198,
40890,
796,
45941,
13,
18747,
7,
67,
27432,
13,
346,
420,
58,
45299,
657,
21912,
16,
12962,
198,
23912,
1424,
796,
45941,
13,
18747,
7,
67,
27432,
13,
43,
24611,
62,
19580,
8,
198,
9288,
796,
45941,
13,
18747,
7,
67,
9288,
8,
198,
198,
2,
3601,
7,
40890,
13,
43358,
8,
198,
2,
5016,
7483,
352,
532,
1395,
4579,
78,
455,
198,
565,
69,
16,
796,
1395,
4579,
9487,
7483,
7,
40684,
62,
4873,
28,
15,
13,
16,
11,
220,
198,
197,
77,
62,
395,
320,
2024,
28,
12825,
11,
198,
197,
9806,
62,
18053,
28,
18,
11,
198,
197,
1084,
62,
9410,
62,
6551,
28,
16,
11,
198,
197,
28483,
2611,
28,
15,
13,
17,
11,
198,
197,
7266,
39873,
28,
15,
13,
23,
11,
198,
197,
4033,
39873,
62,
1525,
21048,
28,
15,
13,
23,
11,
198,
197,
15252,
425,
11639,
39491,
25,
6404,
2569,
3256,
198,
197,
77,
16663,
28,
19,
11,
198,
197,
9888,
62,
1930,
62,
6551,
28,
16,
11,
198,
197,
2301,
62,
26591,
28,
3388,
11,
198,
197,
28826,
28,
3682,
8,
198,
198,
2,
5016,
7483,
362,
532,
14534,
9115,
198,
198,
565,
69,
17,
796,
14534,
34605,
9487,
7483,
7,
18769,
26418,
28,
17821,
11,
198,
197,
22213,
28019,
11639,
1655,
72,
3256,
198,
197,
9806,
62,
18053,
28,
18,
11,
198,
197,
78,
672,
62,
26675,
28,
17821,
11,
198,
197,
9806,
62,
40890,
28,
18,
11,
198,
197,
1084,
62,
82,
12629,
62,
33201,
28,
940,
11,
198,
197,
1084,
62,
82,
12629,
62,
35312,
28,
940,
11,
198,
197,
25120,
62,
5219,
28,
3682,
11,
198,
197,
77,
62,
43863,
10779,
16,
8,
198,
198,
2,
1395,
62,
27432,
11,
1395,
62,
9288,
11,
331,
62,
27432,
11,
331,
62,
9288,
796,
4512,
62,
9288,
62,
35312,
7,
40890,
11,
14722,
11,
1332,
62,
7857,
28,
15,
13,
1821,
11,
4738,
62,
5219,
28,
3682,
8,
198,
198,
21048,
796,
26423,
27660,
9487,
7483,
7,
22213,
28019,
11639,
1655,
72,
3256,
3509,
62,
18053,
28,
18,
8,
198,
565,
69,
18,
796,
47395,
45686,
9487,
7483,
7,
8692,
62,
395,
320,
1352,
28,
21048,
11,
299,
62,
395,
320,
2024,
28,
23924,
11,
4673,
62,
4873,
28,
15,
13,
3070,
11,
4738,
62,
5219,
28,
3682,
8,
198,
198,
68,
565,
69,
796,
30061,
9487,
7483,
7,
395,
320,
2024,
41888,
198,
197,
10786,
29623,
3256,
537,
69,
17,
828,
220,
198,
197,
10786,
87,
70,
39521,
3256,
537,
69,
16,
828,
198,
197,
10786,
324,
34748,
455,
3256,
537,
69,
18,
8,
4357,
220,
198,
197,
85,
10720,
11639,
10424,
11537,
198,
198,
68,
565,
69,
13,
11147,
7,
40890,
11,
14722,
8,
198,
28764,
796,
304,
565,
69,
13,
79,
17407,
7,
9288,
8,
198,
2,
3601,
7,
4134,
23843,
62,
26675,
7,
88,
62,
9288,
11,
2747,
4008,
198,
2,
3601,
7203,
29531,
9115,
5016,
7483,
1106,
19570,
198,
2,
537,
69,
17,
13,
11147,
7,
55,
62,
27432,
11,
331,
62,
27432,
8,
198,
2,
2747,
16,
796,
537,
69,
17,
13,
79,
17407,
7,
55,
62,
9288,
8,
198,
2,
3601,
7,
4134,
23843,
62,
26675,
7,
88,
62,
9288,
11,
2747,
16,
4008,
198,
198,
2,
3601,
10786,
59,
77,
55,
4579,
78,
455,
5016,
7483,
16317,
11537,
198,
2,
537,
69,
16,
13,
11147,
7,
55,
62,
27432,
11,
331,
62,
27432,
8,
198,
2,
2747,
17,
796,
537,
69,
16,
13,
79,
17407,
7,
55,
62,
9288,
8,
198,
2,
3601,
7,
4134,
23843,
62,
26675,
7,
88,
62,
9288,
11,
2747,
17,
4008,
198,
2,
537,
69,
16,
13,
11147,
7,
40890,
11,
14722,
11,
5418,
62,
4164,
1173,
11639,
18224,
11537,
198,
2,
2747,
796,
537,
69,
16,
13,
79,
17407,
7,
9288,
8,
198,
2,
3601,
7,
28764,
8,
198,
198,
7266,
3411,
796,
279,
67,
13,
6601,
19778,
15090,
6,
43,
24611,
62,
2389,
10354,
8063,
62,
2340,
11,
705,
43,
24611,
62,
19580,
10354,
2747,
30072,
198,
7266,
3411,
17816,
43,
24611,
62,
19580,
20520,
796,
14498,
13,
43,
24611,
62,
19580,
13,
8899,
15090,
15,
25,
705,
45,
3256,
352,
25,
705,
56,
6,
30072,
198,
7266,
3411,
13,
1462,
62,
40664,
10786,
7266,
3411,
17,
13,
40664,
3256,
6376,
28,
25101,
8,
198,
2,
2124,
22296,
62,
19849,
62,
11147,
7,
565,
69,
16,
11,
3033,
11,
14722,
11,
38744,
28,
18,
8,
628,
198,
2,
5016,
7483,
362,
532,
14534,
9115,
628,
198,
2,
13932,
278,
7559,
63,
9806,
62,
18053,
15506,
63,
290,
7559,
63,
1084,
62,
9410,
62,
6551,
15506,
63,
198,
198,
2,
5772,
62,
17080,
796,
1391,
198,
2,
220,
197,
1,
9806,
62,
18053,
1298,
1351,
7,
9521,
7,
16,
11,
807,
11,
362,
36911,
198,
2,
220,
197,
1,
9806,
62,
40890,
1298,
1351,
7,
9521,
7,
16,
11,
838,
11,
362,
36911,
198,
2,
220,
197,
1,
1084,
62,
82,
12629,
62,
35312,
1298,
1351,
7,
9521,
7,
17,
11,
1367,
11,
362,
36911,
198,
2,
220,
197,
1,
1084,
62,
82,
12629,
62,
33201,
1298,
1351,
7,
9521,
7,
17,
11,
1367,
11,
362,
36911,
198,
2,
220,
197,
1,
18769,
26418,
1298,
685,
17821,
11,
10352,
4357,
198,
2,
220,
197,
1,
22213,
28019,
1298,
14631,
1655,
72,
1600,
366,
298,
28338,
8973,
198,
2,
1782,
628,
198,
2,
308,
82,
16,
796,
24846,
18243,
33538,
7,
395,
320,
1352,
28,
565,
69,
17,
11,
198,
2,
220,
197,
17143,
62,
25928,
28,
17143,
62,
17080,
11,
198,
2,
220,
197,
46536,
11639,
4134,
23843,
3256,
198,
2,
220,
197,
77,
62,
43863,
10779,
16,
11,
198,
2,
220,
197,
72,
312,
28,
25101,
11,
198,
2,
220,
197,
33967,
28,
22,
11,
198,
2,
220,
197,
19011,
577,
28,
20,
8,
198,
2,
308,
82,
16,
13,
11147,
7,
40890,
11,
14722,
8,
198,
2,
1303,
6297,
26418,
28,
17821,
11,
34054,
28,
1655,
72,
11,
3509,
62,
18053,
28,
18,
11,
3509,
62,
40890,
28,
18,
11,
949,
62,
82,
12629,
62,
33201,
28,
940,
11,
949,
62,
82,
12629,
62,
35312,
28,
940,
11,
4776,
28,
15,
13,
46951,
39118,
198,
2,
1303,
1303,
3601,
7,
14542,
16,
13,
25928,
62,
1416,
2850,
62,
8,
198,
2,
3601,
7,
14542,
16,
13,
13466,
62,
37266,
62,
8,
198,
2,
3601,
7,
14542,
16,
13,
13466,
62,
26675,
62,
8,
198
] | 2.397207 | 1,289 |
from utils import nwise
import pkg_resources
import re, time, os
import itertools
import argparse
import numpy
import json
DELIM = u"│" # delim used by onmt
def split_infobox(dataset_folder, destination_folder):
"""
extract box content, field type and position information from infoboxes from original_data
*.box.val is the box content (token)
*.box.lab is the field type for each token
*.box.pos is the position counted from the begining of a field
"""
bwfile = [os.path.join(destination_folder, 'processed_data', setname, f"{setname}.box.val")
for setname in ['train', 'valid', 'test']]
bffile = [os.path.join(destination_folder, 'processed_data', setname, f"{setname}.box.lab")
for setname in ['train', 'valid', 'test']]
bpfile = [os.path.join(destination_folder, 'processed_data', setname, f"{setname}.box.pos")
for setname in ['train', 'valid', 'test']]
mixb_word, mixb_label, mixb_pos = [], [], []
for setname in ['train', 'valid', 'test']:
fboxes = os.path.join(dataset_folder, 'raw', setname, f"{setname}.box")
with open(fboxes, mode="r", encoding="utf8") as f:
box = [line.strip() for line in f if line.strip()]
box_word, box_label, box_pos = [], [], []
for ib in box:
item = ib.split('\t')
box_single_word, box_single_label, box_single_pos = [], [], []
for it in item:
if len(it.split(':')) > 2:
continue
# print it
prefix, word = it.split(':')
if '<none>' in word or word.strip() == '' or prefix.strip() == '':
continue
new_label = re.sub("_[1-9]\d*$", "", prefix)
if new_label.strip() == "":
continue
box_single_word.append(word)
box_single_label.append(new_label)
if re.search("_[1-9]\d*$", prefix):
field_id = int(prefix.split('_')[-1])
box_single_pos.append(field_id if field_id <= 30 else 30)
else:
box_single_pos.append(1)
box_word.append(box_single_word)
box_label.append(box_single_label)
box_pos.append(box_single_pos)
mixb_word.append(box_word)
mixb_label.append(box_label)
mixb_pos.append(box_pos)
print(f'{setname} done')
for k, m in enumerate(mixb_word):
with open(bwfile[k], "w+") as h:
for items in m:
for sens in items:
h.write(str(sens) + " ")
h.write('\n')
for k, m in enumerate(mixb_label):
with open(bffile[k], "w+") as h:
for items in m:
for sens in items:
h.write(str(sens) + " ")
h.write('\n')
for k, m in enumerate(mixb_pos):
with open(bpfile[k], "w+") as h:
for items in m:
for sens in items:
h.write(str(sens) + " ")
h.write('\n')
def create_tables(folder):
"""Here we create the tables.jl files used in PARENT metric
We could optimize the code so that step is done in create_input
but it's easier and more convienient to just add it there.
"""
for setname in ['train', 'valid', 'test']:
input_filename = os.path.join(folder, 'full', f"{setname}_input.txt")
with open(input_filename, mode="r", encoding="utf8") as f:
# each line is a table. Each token is a value in the table.
# We take the value/label of the token and discard the pos
# given that they are written in the right order
allvals = list()
alllabs = list()
for line in f:
vals = list()
labs = list()
for token in line.strip().split():
val, lab, _, __ = token.split(DELIM)
vals.append(val)
labs.append(lab)
allvals.append(vals)
alllabs.append(labs)
tables = list()
for idx, (vals, labs) in enumerate(zip(allvals, alllabs)):
table = list()
for key, group in itertools.groupby(labs):
size = len([_ for _ in group])
vvals, vals = vals[:size], vals[size:]
table.append((key, vvals))
assert len(vals) == 0 # we exhausted all tokens
tables.append(table)
output_filename = os.path.join(folder, 'full', f"{setname}_tables.jl")
with open(output_filename, mode="w", encoding="utf8") as f:
for table in tables: f.write(json.dumps(table) + '\n')
def preprocess(dataset_folder, destination_folder, args):
"""
We use a triple <f, p+, p-> to represent the field information of a token in the specific field.
p+&p- are the position of the token in that field counted from the begining and the end of the field.
For example, for a field (birthname, Jurgis Mikelatitis) in an infobox, we represent the field as
(Jurgis, <birthname, 1, 2>) & (Mikelatitis, <birthname, 2, 1>)
"""
print("extracting token, field type and position info from original data ...")
time_start = time.time()
split_infobox(dataset_folder, destination_folder)
reverse_pos(destination_folder)
duration = time.time() - time_start
print(f"extract finished in {duration:.3f} seconds")
print("merging everything into single input file ...")
time_start = time.time()
create_input(destination_folder)
duration = time.time() - time_start
print(f"merge finished in {duration:.3f} seconds")
print("extracting first sentences from original data ...")
time_start = time.time()
extract_sentences(dataset_folder, destination_folder, args.first_sentence)
duration = time.time() - time_start
print(f"extract finished in {duration:.3f} seconds")
print("formatting input in human readable format ...")
time_start = time.time()
create_tables(destination_folder)
duration = time.time() - time_start
print(f"formatting finished in {duration:.3f} seconds")
if __name__ == '__main__':
dataset_folder = pkg_resources.resource_filename(__name__, 'wikibio')
parser = argparse.ArgumentParser()
group = parser.add_argument_group('Destination path')
group.add_argument('--dest', '-d', dest='dest',
default=dataset_folder,
help='Folder where to store the resulting files')
parser.add_argument('--first_sentence', action='store_true',
help="Activate to keep only the first sentence")
main(parser.parse_args())
| [
6738,
3384,
4487,
1330,
299,
3083,
198,
198,
11748,
279,
10025,
62,
37540,
198,
11748,
302,
11,
640,
11,
28686,
198,
11748,
340,
861,
10141,
198,
11748,
1822,
29572,
198,
11748,
299,
32152,
198,
11748,
33918,
198,
198,
35,
3698,
3955,
796,
334,
1,
171,
123,
101,
1,
220,
1303,
46728,
973,
416,
319,
16762,
628,
198,
4299,
6626,
62,
10745,
672,
1140,
7,
19608,
292,
316,
62,
43551,
11,
10965,
62,
43551,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7925,
3091,
2695,
11,
2214,
2099,
290,
2292,
1321,
422,
1167,
672,
1140,
274,
422,
2656,
62,
7890,
198,
220,
220,
220,
46866,
3524,
13,
2100,
318,
262,
3091,
2695,
357,
30001,
8,
198,
220,
220,
220,
46866,
3524,
13,
23912,
318,
262,
2214,
2099,
329,
1123,
11241,
198,
220,
220,
220,
46866,
3524,
13,
1930,
318,
262,
2292,
14789,
422,
262,
2221,
278,
286,
257,
2214,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
275,
86,
7753,
796,
685,
418,
13,
6978,
13,
22179,
7,
16520,
1883,
62,
43551,
11,
705,
14681,
276,
62,
7890,
3256,
900,
3672,
11,
277,
1,
90,
2617,
3672,
27422,
3524,
13,
2100,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
900,
3672,
287,
37250,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
11907,
198,
220,
220,
220,
275,
487,
576,
796,
685,
418,
13,
6978,
13,
22179,
7,
16520,
1883,
62,
43551,
11,
705,
14681,
276,
62,
7890,
3256,
900,
3672,
11,
277,
1,
90,
2617,
3672,
27422,
3524,
13,
23912,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
900,
3672,
287,
37250,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
11907,
198,
220,
220,
220,
275,
79,
7753,
796,
685,
418,
13,
6978,
13,
22179,
7,
16520,
1883,
62,
43551,
11,
705,
14681,
276,
62,
7890,
3256,
900,
3672,
11,
277,
1,
90,
2617,
3672,
27422,
3524,
13,
1930,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
900,
3672,
287,
37250,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
11907,
628,
220,
220,
220,
5022,
65,
62,
4775,
11,
5022,
65,
62,
18242,
11,
5022,
65,
62,
1930,
796,
685,
4357,
685,
4357,
17635,
198,
220,
220,
220,
329,
900,
3672,
287,
37250,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
277,
29305,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
292,
316,
62,
43551,
11,
705,
1831,
3256,
900,
3672,
11,
277,
1,
90,
2617,
3672,
27422,
3524,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
69,
29305,
11,
4235,
2625,
81,
1600,
21004,
2625,
40477,
23,
4943,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
796,
685,
1370,
13,
36311,
3419,
329,
1627,
287,
277,
611,
1627,
13,
36311,
3419,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
4775,
11,
3091,
62,
18242,
11,
3091,
62,
1930,
796,
685,
4357,
685,
4357,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
24283,
287,
3091,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
24283,
13,
35312,
10786,
59,
83,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
29762,
62,
4775,
11,
3091,
62,
29762,
62,
18242,
11,
3091,
62,
29762,
62,
1930,
796,
685,
4357,
685,
4357,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
340,
287,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
270,
13,
35312,
7,
10354,
6,
4008,
1875,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21231,
11,
1573,
796,
340,
13,
35312,
7,
10354,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
27,
23108,
29,
6,
287,
1573,
393,
1573,
13,
36311,
3419,
6624,
10148,
393,
21231,
13,
36311,
3419,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
18242,
796,
302,
13,
7266,
7203,
62,
58,
16,
12,
24,
60,
59,
67,
9,
3,
1600,
366,
1600,
21231,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
18242,
13,
36311,
3419,
6624,
366,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
29762,
62,
4775,
13,
33295,
7,
4775,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
29762,
62,
18242,
13,
33295,
7,
3605,
62,
18242,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
302,
13,
12947,
7203,
62,
58,
16,
12,
24,
60,
59,
67,
9,
3,
1600,
21231,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
62,
312,
796,
493,
7,
40290,
13,
35312,
10786,
62,
11537,
58,
12,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
29762,
62,
1930,
13,
33295,
7,
3245,
62,
312,
611,
2214,
62,
312,
19841,
1542,
2073,
1542,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
29762,
62,
1930,
13,
33295,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
4775,
13,
33295,
7,
3524,
62,
29762,
62,
4775,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
18242,
13,
33295,
7,
3524,
62,
29762,
62,
18242,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3091,
62,
1930,
13,
33295,
7,
3524,
62,
29762,
62,
1930,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5022,
65,
62,
4775,
13,
33295,
7,
3524,
62,
4775,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5022,
65,
62,
18242,
13,
33295,
7,
3524,
62,
18242,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5022,
65,
62,
1930,
13,
33295,
7,
3524,
62,
1930,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
2617,
3672,
92,
1760,
11537,
628,
220,
220,
220,
329,
479,
11,
285,
287,
27056,
378,
7,
19816,
65,
62,
4775,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
65,
86,
7753,
58,
74,
4357,
366,
86,
10,
4943,
355,
289,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3709,
287,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3054,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
7,
2536,
7,
82,
641,
8,
1343,
366,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
10786,
59,
77,
11537,
198,
220,
220,
220,
329,
479,
11,
285,
287,
27056,
378,
7,
19816,
65,
62,
18242,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
65,
487,
576,
58,
74,
4357,
366,
86,
10,
4943,
355,
289,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3709,
287,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3054,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
7,
2536,
7,
82,
641,
8,
1343,
366,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
10786,
59,
77,
11537,
198,
220,
220,
220,
329,
479,
11,
285,
287,
27056,
378,
7,
19816,
65,
62,
1930,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
46583,
7753,
58,
74,
4357,
366,
86,
10,
4943,
355,
289,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3709,
287,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3054,
287,
3709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
7,
2536,
7,
82,
641,
8,
1343,
366,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
13,
13564,
10786,
59,
77,
11537,
628,
628,
198,
198,
4299,
2251,
62,
83,
2977,
7,
43551,
2599,
198,
220,
220,
220,
37227,
4342,
356,
2251,
262,
8893,
13,
20362,
3696,
973,
287,
29463,
3525,
18663,
198,
220,
220,
220,
775,
714,
27183,
262,
2438,
523,
326,
2239,
318,
1760,
287,
2251,
62,
15414,
198,
220,
220,
220,
475,
340,
338,
4577,
290,
517,
3063,
2013,
1153,
284,
655,
751,
340,
612,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
329,
900,
3672,
287,
37250,
27432,
3256,
705,
12102,
3256,
705,
9288,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
34345,
796,
28686,
13,
6978,
13,
22179,
7,
43551,
11,
705,
12853,
3256,
277,
1,
90,
2617,
3672,
92,
62,
15414,
13,
14116,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
15414,
62,
34345,
11,
4235,
2625,
81,
1600,
21004,
2625,
40477,
23,
4943,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1123,
1627,
318,
257,
3084,
13,
5501,
11241,
318,
257,
1988,
287,
262,
3084,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
1011,
262,
1988,
14,
18242,
286,
262,
11241,
290,
27537,
262,
1426,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1813,
326,
484,
389,
3194,
287,
262,
826,
1502,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
12786,
796,
1351,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
75,
8937,
796,
1351,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
874,
796,
1351,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27887,
796,
1351,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
11241,
287,
1627,
13,
36311,
22446,
35312,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
11,
2248,
11,
4808,
11,
11593,
796,
11241,
13,
35312,
7,
35,
3698,
3955,
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,
2100,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27887,
13,
33295,
7,
23912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
12786,
13,
33295,
7,
12786,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
75,
8937,
13,
33295,
7,
75,
8937,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8893,
796,
1351,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4686,
87,
11,
357,
12786,
11,
27887,
8,
287,
27056,
378,
7,
13344,
7,
439,
12786,
11,
477,
75,
8937,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3084,
796,
1351,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
1448,
287,
340,
861,
10141,
13,
8094,
1525,
7,
75,
8937,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
18896,
26933,
62,
329,
4808,
287,
1448,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
12786,
11,
410,
874,
796,
410,
874,
58,
25,
7857,
4357,
410,
874,
58,
7857,
47715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3084,
13,
33295,
19510,
2539,
11,
410,
12786,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
12786,
8,
6624,
657,
220,
1303,
356,
19064,
477,
16326,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8893,
13,
33295,
7,
11487,
8,
628,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
34345,
796,
28686,
13,
6978,
13,
22179,
7,
43551,
11,
705,
12853,
3256,
277,
1,
90,
2617,
3672,
92,
62,
83,
2977,
13,
20362,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
22915,
62,
34345,
11,
4235,
2625,
86,
1600,
21004,
2625,
40477,
23,
4943,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3084,
287,
8893,
25,
277,
13,
13564,
7,
17752,
13,
67,
8142,
7,
11487,
8,
1343,
705,
59,
77,
11537,
628,
198,
4299,
662,
14681,
7,
19608,
292,
316,
62,
43551,
11,
10965,
62,
43551,
11,
26498,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
775,
779,
257,
15055,
1279,
69,
11,
279,
28200,
279,
3784,
284,
2380,
262,
2214,
1321,
286,
257,
11241,
287,
262,
2176,
2214,
13,
220,
198,
220,
220,
220,
279,
10,
5,
79,
12,
389,
262,
2292,
286,
262,
11241,
287,
326,
2214,
14789,
422,
262,
2221,
278,
290,
262,
886,
286,
262,
2214,
13,
198,
220,
220,
220,
1114,
1672,
11,
329,
257,
2214,
357,
24280,
3672,
11,
449,
3686,
271,
4995,
15460,
11815,
8,
287,
281,
1167,
672,
1140,
11,
356,
2380,
262,
2214,
355,
198,
220,
220,
220,
357,
41,
3686,
271,
11,
1279,
24280,
3672,
11,
352,
11,
362,
43734,
1222,
357,
16073,
15460,
11815,
11,
1279,
24280,
3672,
11,
362,
11,
352,
43734,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3601,
7203,
2302,
974,
278,
11241,
11,
2214,
2099,
290,
2292,
7508,
422,
2656,
1366,
35713,
8,
198,
220,
220,
220,
640,
62,
9688,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
6626,
62,
10745,
672,
1140,
7,
19608,
292,
316,
62,
43551,
11,
10965,
62,
43551,
8,
198,
220,
220,
220,
9575,
62,
1930,
7,
16520,
1883,
62,
43551,
8,
198,
220,
220,
220,
9478,
796,
640,
13,
2435,
3419,
532,
640,
62,
9688,
198,
220,
220,
220,
3601,
7,
69,
1,
2302,
974,
5201,
287,
1391,
32257,
25,
13,
18,
69,
92,
4201,
4943,
628,
220,
220,
220,
3601,
7203,
647,
2667,
2279,
656,
2060,
5128,
2393,
35713,
8,
198,
220,
220,
220,
640,
62,
9688,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
2251,
62,
15414,
7,
16520,
1883,
62,
43551,
8,
198,
220,
220,
220,
9478,
796,
640,
13,
2435,
3419,
532,
640,
62,
9688,
198,
220,
220,
220,
3601,
7,
69,
1,
647,
469,
5201,
287,
1391,
32257,
25,
13,
18,
69,
92,
4201,
4943,
628,
220,
220,
220,
3601,
7203,
2302,
974,
278,
717,
13439,
422,
2656,
1366,
35713,
8,
198,
220,
220,
220,
640,
62,
9688,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
7925,
62,
34086,
3007,
7,
19608,
292,
316,
62,
43551,
11,
10965,
62,
43551,
11,
26498,
13,
11085,
62,
34086,
594,
8,
198,
220,
220,
220,
9478,
796,
640,
13,
2435,
3419,
532,
640,
62,
9688,
198,
220,
220,
220,
3601,
7,
69,
1,
2302,
974,
5201,
287,
1391,
32257,
25,
13,
18,
69,
92,
4201,
4943,
628,
220,
220,
220,
3601,
7203,
18982,
889,
5128,
287,
1692,
31744,
5794,
35713,
8,
198,
220,
220,
220,
640,
62,
9688,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
2251,
62,
83,
2977,
7,
16520,
1883,
62,
43551,
8,
198,
220,
220,
220,
9478,
796,
640,
13,
2435,
3419,
532,
640,
62,
9688,
198,
220,
220,
220,
3601,
7,
69,
1,
18982,
889,
5201,
287,
1391,
32257,
25,
13,
18,
69,
92,
4201,
4943,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
27039,
62,
43551,
796,
279,
10025,
62,
37540,
13,
31092,
62,
34345,
7,
834,
3672,
834,
11,
705,
20763,
571,
952,
11537,
628,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
220,
220,
220,
1448,
796,
30751,
13,
2860,
62,
49140,
62,
8094,
10786,
24159,
1883,
3108,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
438,
16520,
3256,
705,
12,
67,
3256,
2244,
11639,
16520,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
28,
19608,
292,
316,
62,
43551,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
41092,
810,
284,
3650,
262,
7186,
3696,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
11085,
62,
34086,
594,
3256,
2223,
11639,
8095,
62,
7942,
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,
1037,
2625,
25526,
378,
284,
1394,
691,
262,
717,
6827,
4943,
628,
220,
220,
220,
1388,
7,
48610,
13,
29572,
62,
22046,
28955,
198
] | 2.170321 | 3,147 |
#!/usr/bin/env python
# -*- coding: utf8 -*-
# My imports
from __future__ import division
import numpy as np
import pandas as pd
import argparse
from utils import _update_par as updateBatch
from utils import _run_moog as runMoog
from utils import Readmoog
from interpolation import interpolator
import os
def solar_abundance(atom):
'''Give atomic number and return solar abundance from Asplund et al. 2009
Input
-----
atom : int
The atomic number
Output
------
abundance : float
The solar abundance of the atom
'''
if not isinstance(atom, int):
raise ValueError('Atomic number need to be an integer')
solar = [12.00, 10.93, 1.05, 1.38, 2.70, 8.43, 7.83, 8.69, 4.56, 7.93,
6.24, 7.60, 6.45, 7.51, 5.41, 7.12, 5.50, 6.40, 5.03, 6.34,
3.15, 4.95, 3.93, 5.64, 5.43, 7.47, 4.99, 6.22, 4.19, 4.56,
3.04, 3.65, 2.30, 3.34, 2.54, 3.25, 2.52, 2.87, 2.21, 2.58,
1.46, 1.88, -5.00, 1.75, 0.91, 1.57, 0.94, 1.71, 0.80, 2.04,
1.01, 2.18, 1.55, 2.24, 1.08, 2.18, 1.10, 1.58, 0.72, 1.42,
-5.00, 0.96, 0.52, 1.07, 0.30, 1.10, 0.48, 0.92, 0.10, 0.84,
0.10, 0.85, -0.12, 0.85, 0.26, 1.40, 1.38, 1.62, 0.92, 1.17,
0.90, 1.75, 0.65, -5.00, -5.00, -5.00, -5.00, -5.00, -5.00,
0.02, -5.00, -0.54, -5.00, -5.00, -5.00]
return solar[atom-1]
def recalSingleLine(line, params=None, version=2014, maxiter=40, driver='abfind'):
'''Recalibrate a single line and return the new loggf
Inputs
------
line : list
The line containing (wavelength, element, EP, loggf, EW) in that order
params : list/tuple
The parameters (Teff, logg, [Fe/H], vt)
version : int
The version of MOOG
driver : str
The MOOG driver to use (abfind or ewfind)
Output
------
loggf : float
The new recalibrated loggf
'''
ewdriver = True if driver == 'ewfind' else False
fmt = ('%9.3f', '%10.1f', '%9.2f', '%9.3f', '%28.1f')
header = 'Wavelength ele EP loggf EW'
np.savetxt('temporary.moog', line[:, np.newaxis].T, fmt=fmt, header=header)
loggf_old = line[3]
a, b = loggf_old-5, loggf_old+5 # extreme values of loggf
c = (a+b)/2
for _ in range(maxiter):
if c == 0: # Don't evaluate at loggf = 0
c += (abs(a) + abs(b)) / 10
fa = moogAbund(a, ewdriver=ewdriver)
fc = moogAbund(c, ewdriver=ewdriver)
if fc == 0:
return c
elif fa*fc < 0:
b = c
else:
a = c
c = (a+b)/2
return c
if __name__ == '__main__': # pragma: no cover
args = _parser()
fname = args.input
fout1 = 'rawLinelist/%s' % args.output
fout2 = 'linelist/%s' % args.output.replace('.ares', '.moog')
lines = pd.read_csv(fname, skiprows=2, delimiter=r'\s+',
names=['WL', 'num', 'EP', 'loggf', 'ele', 'EW'])
if args.parameters is None:
params = [5777, 4.44, 0.00, 1.00]
else:
params = map(float, args.parameters)
params[0] = int(params[0])
interpolator(params=params, atmtype=args.model, save=True)
cols = ['WL', 'num', 'EP', 'loggf', 'EW']
fmt2 = ('%9.3f', '%10.1f', '%9.2f', '%9.3f', '%28.1f')
header1 = 'WL num E.P. loggf ele EWsun\n'
header1 += '------- ---- ---- ------ ---- -----'
header2 = 'Wavelength ele EP loggf EW'
x = lines[cols].values[0][:, np.newaxis].T
np.savetxt('temporary.moog', x, fmt=fmt2, header=header2)
options = {'driver': args.driver,
'damping': args.damping}
updateBatch(line_list='temporary.moog', **options)
newloggf = np.zeros(lines.shape[0])
for i, line in enumerate(lines[cols].values):
print 'Wavelength: %.3f' % line[0]
print 'Old loggf: %.3f' % line[3]
zz = recalSingleLine(line, params=params, version=args.moogversion, driver=args.driver)
zz = np.log10(zz) if zz > 0 else zz
newloggf[i] = zz
print 'New loggf: %.3f\n' % newloggf[i]
lines['newloggf'] = pd.Series(newloggf)
X = lines[['WL', 'num', 'EP', 'newloggf', 'ele', 'EW']]
fmt1 = ('%7.2f', '%7.1f', '%9.2f', '%10.3f', '%10s', '%9.1f')
print 'Saving results to: %s' % fout1
np.savetxt(fout1, X, fmt=fmt1, header=header1, comments='')
X = lines[['WL', 'num', 'EP', 'newloggf', 'EW']]
print 'Saving results to: %s' % fout2
np.savetxt(fout2, X, fmt=fmt2, header=header2)
os.remove('temporary.moog')
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
23,
532,
9,
12,
198,
198,
2,
2011,
17944,
198,
6738,
11593,
37443,
834,
1330,
7297,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
1822,
29572,
198,
6738,
3384,
4487,
1330,
4808,
19119,
62,
1845,
355,
4296,
33,
963,
198,
6738,
3384,
4487,
1330,
4808,
5143,
62,
5908,
519,
355,
1057,
16632,
519,
198,
6738,
3384,
4487,
1330,
4149,
5908,
519,
198,
6738,
39555,
341,
1330,
39555,
1352,
198,
11748,
28686,
628,
198,
4299,
6591,
62,
397,
917,
590,
7,
37696,
2599,
198,
220,
220,
220,
705,
7061,
23318,
17226,
1271,
290,
1441,
6591,
20038,
422,
1081,
489,
917,
2123,
435,
13,
3717,
628,
220,
220,
220,
23412,
198,
220,
220,
220,
37404,
198,
220,
220,
220,
22037,
1058,
493,
198,
220,
220,
220,
220,
220,
383,
17226,
1271,
628,
220,
220,
220,
25235,
198,
220,
220,
220,
40103,
198,
220,
220,
220,
20038,
1058,
12178,
198,
220,
220,
220,
220,
220,
383,
6591,
20038,
286,
262,
22037,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
611,
407,
318,
39098,
7,
37696,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
2953,
10179,
1271,
761,
284,
307,
281,
18253,
11537,
198,
220,
220,
220,
6591,
796,
685,
1065,
13,
405,
11,
838,
13,
6052,
11,
352,
13,
2713,
11,
352,
13,
2548,
11,
362,
13,
2154,
11,
807,
13,
3559,
11,
767,
13,
5999,
11,
807,
13,
3388,
11,
604,
13,
3980,
11,
767,
13,
6052,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
718,
13,
1731,
11,
767,
13,
1899,
11,
718,
13,
2231,
11,
767,
13,
4349,
11,
642,
13,
3901,
11,
767,
13,
1065,
11,
642,
13,
1120,
11,
718,
13,
1821,
11,
642,
13,
3070,
11,
718,
13,
2682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
13,
1314,
11,
604,
13,
3865,
11,
513,
13,
6052,
11,
642,
13,
2414,
11,
642,
13,
3559,
11,
767,
13,
2857,
11,
604,
13,
2079,
11,
718,
13,
1828,
11,
604,
13,
1129,
11,
604,
13,
3980,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
13,
3023,
11,
513,
13,
2996,
11,
362,
13,
1270,
11,
513,
13,
2682,
11,
362,
13,
4051,
11,
513,
13,
1495,
11,
362,
13,
4309,
11,
362,
13,
5774,
11,
362,
13,
2481,
11,
362,
13,
3365,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3510,
11,
352,
13,
3459,
11,
532,
20,
13,
405,
11,
352,
13,
2425,
11,
657,
13,
6420,
11,
352,
13,
3553,
11,
657,
13,
5824,
11,
352,
13,
4869,
11,
657,
13,
1795,
11,
362,
13,
3023,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
486,
11,
362,
13,
1507,
11,
352,
13,
2816,
11,
362,
13,
1731,
11,
352,
13,
2919,
11,
362,
13,
1507,
11,
352,
13,
940,
11,
352,
13,
3365,
11,
657,
13,
4761,
11,
352,
13,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
20,
13,
405,
11,
657,
13,
4846,
11,
657,
13,
4309,
11,
352,
13,
2998,
11,
657,
13,
1270,
11,
352,
13,
940,
11,
657,
13,
2780,
11,
657,
13,
5892,
11,
657,
13,
940,
11,
657,
13,
5705,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
940,
11,
657,
13,
5332,
11,
532,
15,
13,
1065,
11,
657,
13,
5332,
11,
657,
13,
2075,
11,
352,
13,
1821,
11,
352,
13,
2548,
11,
352,
13,
5237,
11,
657,
13,
5892,
11,
352,
13,
1558,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
3829,
11,
352,
13,
2425,
11,
657,
13,
2996,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
2999,
11,
532,
20,
13,
405,
11,
532,
15,
13,
4051,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
11,
532,
20,
13,
405,
60,
198,
220,
220,
220,
1441,
6591,
58,
37696,
12,
16,
60,
628,
198,
4299,
42653,
28008,
13949,
7,
1370,
11,
42287,
28,
14202,
11,
2196,
28,
4967,
11,
3509,
2676,
28,
1821,
11,
4639,
11639,
397,
19796,
6,
2599,
198,
220,
220,
220,
705,
7061,
6690,
282,
2889,
378,
257,
2060,
1627,
290,
1441,
262,
649,
2604,
70,
69,
628,
220,
220,
220,
23412,
82,
198,
220,
220,
220,
40103,
198,
220,
220,
220,
1627,
1058,
1351,
198,
220,
220,
220,
220,
220,
383,
1627,
7268,
357,
10247,
26623,
11,
5002,
11,
14724,
11,
2604,
70,
69,
11,
43255,
8,
287,
326,
1502,
198,
220,
220,
220,
42287,
1058,
1351,
14,
83,
29291,
198,
220,
220,
220,
220,
220,
383,
10007,
357,
6767,
487,
11,
2604,
70,
11,
685,
14304,
14,
39,
4357,
410,
83,
8,
198,
220,
220,
220,
2196,
1058,
493,
198,
220,
220,
220,
220,
220,
383,
2196,
286,
337,
6684,
38,
198,
220,
220,
220,
4639,
1058,
965,
198,
220,
220,
220,
220,
220,
383,
337,
6684,
38,
4639,
284,
779,
357,
397,
19796,
393,
304,
86,
19796,
8,
628,
220,
220,
220,
25235,
198,
220,
220,
220,
40103,
198,
220,
220,
220,
2604,
70,
69,
1058,
12178,
198,
220,
220,
220,
220,
220,
383,
649,
42653,
2889,
515,
2604,
70,
69,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
304,
86,
26230,
796,
6407,
611,
4639,
6624,
705,
413,
19796,
6,
2073,
10352,
628,
220,
220,
220,
46996,
796,
19203,
4,
24,
13,
18,
69,
3256,
705,
4,
940,
13,
16,
69,
3256,
705,
4,
24,
13,
17,
69,
3256,
705,
4,
24,
13,
18,
69,
3256,
705,
4,
2078,
13,
16,
69,
11537,
198,
220,
220,
220,
13639,
796,
705,
33484,
26623,
220,
220,
220,
220,
9766,
220,
220,
220,
14724,
220,
220,
220,
220,
2604,
70,
69,
220,
220,
220,
220,
220,
220,
220,
43255,
6,
198,
220,
220,
220,
45941,
13,
21928,
14116,
10786,
11498,
5551,
13,
5908,
519,
3256,
1627,
58,
45299,
45941,
13,
3605,
22704,
4083,
51,
11,
46996,
28,
69,
16762,
11,
13639,
28,
25677,
8,
198,
220,
220,
220,
2604,
70,
69,
62,
727,
796,
1627,
58,
18,
60,
198,
220,
220,
220,
257,
11,
275,
796,
2604,
70,
69,
62,
727,
12,
20,
11,
2604,
70,
69,
62,
727,
10,
20,
220,
1303,
3257,
3815,
286,
2604,
70,
69,
198,
220,
220,
220,
269,
796,
357,
64,
10,
65,
20679,
17,
198,
220,
220,
220,
329,
4808,
287,
2837,
7,
9806,
2676,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
269,
6624,
657,
25,
220,
1303,
2094,
470,
13446,
379,
2604,
70,
69,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
15853,
357,
8937,
7,
64,
8,
1343,
2352,
7,
65,
4008,
1220,
838,
198,
220,
220,
220,
220,
220,
220,
220,
24685,
796,
6941,
519,
4826,
917,
7,
64,
11,
304,
86,
26230,
28,
413,
26230,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
66,
796,
6941,
519,
4826,
917,
7,
66,
11,
304,
86,
26230,
28,
413,
26230,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
277,
66,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
24685,
9,
16072,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
269,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
269,
198,
220,
220,
220,
220,
220,
220,
220,
269,
796,
357,
64,
10,
65,
20679,
17,
198,
220,
220,
220,
1441,
269,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
220,
1303,
23864,
2611,
25,
645,
3002,
628,
220,
220,
220,
26498,
796,
4808,
48610,
3419,
628,
220,
220,
220,
277,
3672,
796,
26498,
13,
15414,
198,
220,
220,
220,
277,
448,
16,
796,
705,
1831,
14993,
46331,
14,
4,
82,
6,
4064,
26498,
13,
22915,
198,
220,
220,
220,
277,
448,
17,
796,
705,
2815,
46331,
14,
4,
82,
6,
4064,
26498,
13,
22915,
13,
33491,
7,
4458,
3565,
3256,
45302,
5908,
519,
11537,
198,
220,
220,
220,
3951,
796,
279,
67,
13,
961,
62,
40664,
7,
69,
3672,
11,
14267,
8516,
28,
17,
11,
46728,
2676,
28,
81,
6,
59,
82,
10,
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,
3891,
28,
17816,
54,
43,
3256,
705,
22510,
3256,
705,
8905,
3256,
705,
6404,
70,
69,
3256,
705,
11129,
3256,
705,
6217,
6,
12962,
628,
220,
220,
220,
611,
26498,
13,
17143,
7307,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
685,
20,
29331,
11,
604,
13,
2598,
11,
657,
13,
405,
11,
352,
13,
405,
60,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
3975,
7,
22468,
11,
26498,
13,
17143,
7307,
8,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
58,
15,
60,
796,
493,
7,
37266,
58,
15,
12962,
628,
220,
220,
220,
39555,
1352,
7,
37266,
28,
37266,
11,
379,
76,
4906,
28,
22046,
13,
19849,
11,
3613,
28,
17821,
8,
628,
220,
220,
220,
951,
82,
796,
37250,
54,
43,
3256,
705,
22510,
3256,
705,
8905,
3256,
705,
6404,
70,
69,
3256,
705,
6217,
20520,
198,
220,
220,
220,
46996,
17,
796,
19203,
4,
24,
13,
18,
69,
3256,
705,
4,
940,
13,
16,
69,
3256,
705,
4,
24,
13,
17,
69,
3256,
705,
4,
24,
13,
18,
69,
3256,
705,
4,
2078,
13,
16,
69,
11537,
198,
220,
220,
220,
13639,
16,
796,
705,
54,
43,
220,
220,
220,
220,
220,
220,
220,
220,
997,
220,
220,
220,
220,
220,
220,
412,
13,
47,
13,
220,
220,
220,
220,
2604,
70,
69,
220,
220,
220,
220,
220,
220,
220,
220,
9766,
220,
220,
220,
220,
43255,
19155,
59,
77,
6,
198,
220,
220,
220,
13639,
16,
15853,
705,
26866,
220,
220,
220,
13498,
220,
220,
220,
220,
220,
13498,
220,
220,
220,
220,
40103,
220,
220,
220,
220,
220,
220,
220,
13498,
220,
220,
220,
13498,
19355,
198,
220,
220,
220,
13639,
17,
796,
705,
33484,
26623,
220,
220,
220,
220,
9766,
220,
220,
220,
220,
220,
220,
14724,
220,
220,
220,
220,
220,
2604,
70,
69,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43255,
6,
198,
220,
220,
220,
2124,
796,
3951,
58,
4033,
82,
4083,
27160,
58,
15,
7131,
45299,
45941,
13,
3605,
22704,
4083,
51,
198,
220,
220,
220,
45941,
13,
21928,
14116,
10786,
11498,
5551,
13,
5908,
519,
3256,
2124,
11,
46996,
28,
69,
16762,
17,
11,
13639,
28,
25677,
17,
8,
628,
220,
220,
220,
3689,
796,
1391,
6,
26230,
10354,
26498,
13,
26230,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
67,
37843,
10354,
26498,
13,
67,
37843,
92,
198,
220,
220,
220,
4296,
33,
963,
7,
1370,
62,
4868,
11639,
11498,
5551,
13,
5908,
519,
3256,
12429,
25811,
8,
628,
220,
220,
220,
649,
6404,
70,
69,
796,
45941,
13,
9107,
418,
7,
6615,
13,
43358,
58,
15,
12962,
198,
220,
220,
220,
329,
1312,
11,
1627,
287,
27056,
378,
7,
6615,
58,
4033,
82,
4083,
27160,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
33484,
26623,
25,
4064,
13,
18,
69,
6,
4064,
1627,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
19620,
2604,
70,
69,
25,
4064,
13,
18,
69,
6,
4064,
1627,
58,
18,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
89,
796,
42653,
28008,
13949,
7,
1370,
11,
42287,
28,
37266,
11,
2196,
28,
22046,
13,
5908,
519,
9641,
11,
4639,
28,
22046,
13,
26230,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
89,
796,
45941,
13,
6404,
940,
7,
3019,
8,
611,
1976,
89,
1875,
657,
2073,
1976,
89,
198,
220,
220,
220,
220,
220,
220,
220,
649,
6404,
70,
69,
58,
72,
60,
796,
1976,
89,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
3791,
2604,
70,
69,
25,
4064,
13,
18,
69,
59,
77,
6,
4064,
649,
6404,
70,
69,
58,
72,
60,
628,
220,
220,
220,
3951,
17816,
3605,
6404,
70,
69,
20520,
796,
279,
67,
13,
27996,
7,
3605,
6404,
70,
69,
8,
198,
220,
220,
220,
1395,
796,
3951,
58,
17816,
54,
43,
3256,
705,
22510,
3256,
705,
8905,
3256,
705,
3605,
6404,
70,
69,
3256,
705,
11129,
3256,
705,
6217,
6,
11907,
198,
220,
220,
220,
46996,
16,
796,
19203,
4,
22,
13,
17,
69,
3256,
705,
4,
22,
13,
16,
69,
3256,
705,
4,
24,
13,
17,
69,
3256,
705,
4,
940,
13,
18,
69,
3256,
705,
4,
940,
82,
3256,
705,
4,
24,
13,
16,
69,
11537,
198,
220,
220,
220,
3601,
705,
50,
2703,
2482,
284,
25,
4064,
82,
6,
4064,
277,
448,
16,
198,
220,
220,
220,
45941,
13,
21928,
14116,
7,
69,
448,
16,
11,
1395,
11,
46996,
28,
69,
16762,
16,
11,
13639,
28,
25677,
16,
11,
3651,
28,
7061,
8,
628,
220,
220,
220,
1395,
796,
3951,
58,
17816,
54,
43,
3256,
705,
22510,
3256,
705,
8905,
3256,
705,
3605,
6404,
70,
69,
3256,
705,
6217,
6,
11907,
198,
220,
220,
220,
3601,
705,
50,
2703,
2482,
284,
25,
4064,
82,
6,
4064,
277,
448,
17,
198,
220,
220,
220,
45941,
13,
21928,
14116,
7,
69,
448,
17,
11,
1395,
11,
46996,
28,
69,
16762,
17,
11,
13639,
28,
25677,
17,
8,
198,
220,
220,
220,
28686,
13,
28956,
10786,
11498,
5551,
13,
5908,
519,
11537,
198
] | 1.938887 | 2,389 |
# Copyright 2019 TerraPower, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from typing import Generator, Tuple
from armi.settings import caseSettings
from armi.reactor import systemLayoutInput
class Database:
"""Abstract class defining the common interface for all Database implementations.
Notes
-----
This is a pretty anemic set of interfaces, since the different implementations can
vary wildly. For now these are the bare minimum interfaces that should be needed to
convert one Database format to another, and serve as a common ancestor."""
# Cannot annotate type, because cannot import blueprints, because blueprints cannot
# be imported until after plugins are registered, and this module gets imported by
# plugins as they are being registered.
def genTimeSteps(self) -> Generator[Tuple[int, int], None, None]:
"""Get a sequence of tuples (cycle, node) that are contained in the database."""
raise NotImplementedError()
def genAuxiliaryData(self, ts: Tuple[int, int]) -> Generator[str, None, None]:
"""
Get a sequence of auxiliary dataset/group names for the passed time step.
Returns
-------
Generator[str]
A generator that produces **absolute** paths to the auxiliary data.
Absolute names make it easier for a database version-agnostic converter to
find the actual data.
"""
raise NotImplementedError()
def getAuxiliaryDataPath(self, ts: Tuple[int, int], name: str) -> str:
"""
Get a string describing a path to an auxiliary data location.
Parameters
----------
ts
The time step that the auxiliary data belongs to
name
The name of the auxiliary data
Returns
-------
str
An absolute location for storing auxiliary data with the given name for the
given time step
"""
raise NotImplementedError()
| [
2,
15069,
13130,
24118,
13434,
11,
11419,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
6738,
19720,
1330,
35986,
11,
309,
29291,
198,
6738,
3211,
72,
13,
33692,
1330,
1339,
26232,
198,
6738,
3211,
72,
13,
260,
11218,
1330,
1080,
32517,
20560,
628,
198,
4871,
24047,
25,
198,
220,
220,
220,
37227,
23839,
1398,
16215,
262,
2219,
7071,
329,
477,
24047,
25504,
13,
628,
220,
220,
220,
11822,
198,
220,
220,
220,
37404,
198,
220,
220,
220,
770,
318,
257,
2495,
281,
5314,
900,
286,
20314,
11,
1201,
262,
1180,
25504,
460,
198,
220,
220,
220,
7565,
20278,
13,
1114,
783,
777,
389,
262,
6247,
5288,
20314,
326,
815,
307,
2622,
284,
198,
220,
220,
220,
10385,
530,
24047,
5794,
284,
1194,
11,
290,
4691,
355,
257,
2219,
31836,
526,
15931,
628,
220,
220,
220,
1303,
26003,
24708,
378,
2099,
11,
780,
2314,
1330,
4171,
17190,
11,
780,
4171,
17190,
2314,
198,
220,
220,
220,
1303,
307,
17392,
1566,
706,
20652,
389,
6823,
11,
290,
428,
8265,
3011,
17392,
416,
198,
220,
220,
220,
1303,
20652,
355,
484,
389,
852,
6823,
13,
628,
220,
220,
220,
825,
2429,
7575,
8600,
82,
7,
944,
8,
4613,
35986,
58,
51,
29291,
58,
600,
11,
493,
4357,
6045,
11,
6045,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
8379,
286,
12777,
2374,
357,
13696,
11,
10139,
8,
326,
389,
7763,
287,
262,
6831,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
3419,
628,
220,
220,
220,
825,
2429,
32,
2821,
28129,
6601,
7,
944,
11,
40379,
25,
309,
29291,
58,
600,
11,
493,
12962,
4613,
35986,
58,
2536,
11,
6045,
11,
6045,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
257,
8379,
286,
37419,
27039,
14,
8094,
3891,
329,
262,
3804,
640,
2239,
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,
35986,
58,
2536,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
17301,
326,
11073,
12429,
48546,
1174,
13532,
284,
262,
37419,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36532,
3891,
787,
340,
4577,
329,
257,
6831,
2196,
12,
4660,
15132,
38394,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1064,
262,
4036,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
3419,
628,
220,
220,
220,
825,
651,
32,
2821,
28129,
6601,
15235,
7,
944,
11,
40379,
25,
309,
29291,
58,
600,
11,
493,
4357,
1438,
25,
965,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
257,
4731,
12059,
257,
3108,
284,
281,
37419,
1366,
4067,
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,
40379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
640,
2239,
326,
262,
37419,
1366,
14448,
284,
628,
220,
220,
220,
220,
220,
220,
220,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
37419,
1366,
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,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1052,
4112,
4067,
329,
23069,
37419,
1366,
351,
262,
1813,
1438,
329,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1813,
640,
2239,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
3419,
198
] | 3.142678 | 799 |
import argparse
from os import makedirs
from os.path import abspath, exists, join, dirname, expanduser
import re
import subprocess
import time
import json
import threading
import socket
import sys
CONFIG_JSON = """
{
"version": 2,
"controller": {},
"workers": [
{
"transports": [
{
"paths": {
"ws": {
"type": "websocket"
},
"/": {
"directory": ".",
"type": "static"
},
"proto": {
"directory": ".",
"type": "static"
}
},
"endpoint": {
"type": "tcp",
"port": 8181,
"tls": {
"key": "server.key",
"certificate": "server.crt"
}
},
"type": "web"
}
],
"type": "router",
"options": {
"pythonpath": [""]
},
"realms": [
{
"name": "realm1",
"roles": [
{
"name": "anonymous",
"permissions": [
{
"uri": "",
"match": "prefix",
"allow": {
"call": true,
"register": true,
"publish": true,
"subscribe": true
},
"disclose": {
"caller": false,
"publisher": false
},
"cache": true
}
]
}
]
}
]
}
]
}
"""
if __name__ == '__main__':
main_entry()
| [
11748,
1822,
29572,
198,
6738,
28686,
1330,
285,
4335,
17062,
198,
6738,
28686,
13,
6978,
1330,
2352,
6978,
11,
7160,
11,
4654,
11,
26672,
3672,
11,
4292,
7220,
198,
11748,
302,
198,
11748,
850,
14681,
198,
11748,
640,
198,
11748,
33918,
198,
11748,
4704,
278,
198,
11748,
17802,
198,
11748,
25064,
628,
628,
198,
198,
10943,
16254,
62,
40386,
796,
37227,
198,
90,
198,
220,
366,
9641,
1298,
362,
11,
198,
220,
366,
36500,
1298,
1391,
5512,
198,
220,
366,
22896,
1298,
685,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
366,
7645,
3742,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
6978,
82,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18504,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
732,
1443,
5459,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12813,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34945,
1298,
366,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
12708,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1676,
1462,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34945,
1298,
366,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
12708,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
437,
4122,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
83,
13155,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
634,
1298,
807,
27057,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
83,
7278,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2539,
1298,
366,
15388,
13,
2539,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22583,
22460,
1298,
366,
15388,
13,
6098,
83,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
12384,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
472,
353,
1600,
198,
220,
220,
220,
220,
220,
366,
25811,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
29412,
6978,
1298,
14631,
8973,
198,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
366,
5305,
907,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1298,
366,
5305,
76,
16,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
305,
829,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1298,
366,
272,
6704,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
525,
8481,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9900,
1298,
366,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15699,
1298,
366,
40290,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12154,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
13345,
1298,
2081,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30238,
1298,
2081,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12984,
1836,
1298,
2081,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7266,
12522,
1298,
2081,
198,
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,
366,
6381,
19836,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
13345,
263,
1298,
3991,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12984,
8191,
1298,
3991,
198,
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,
366,
23870,
1298,
2081,
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,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
1782,
198,
220,
2361,
198,
92,
198,
37811,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
62,
13000,
3419,
198
] | 1.565299 | 1,072 |
import bisect
| [
11748,
47457,
478,
201
] | 3.5 | 4 |
import sys
shuffle()
| [
11748,
25064,
628,
628,
198,
1477,
18137,
3419,
198
] | 2.777778 | 9 |
import json
import time
import urllib
import boto3
import traceback
from lab_config import boto_args
from boto3.dynamodb.types import TypeDeserializer
| [
11748,
33918,
198,
11748,
640,
198,
11748,
2956,
297,
571,
198,
11748,
275,
2069,
18,
198,
11748,
12854,
1891,
198,
6738,
2248,
62,
11250,
1330,
275,
2069,
62,
22046,
198,
6738,
275,
2069,
18,
13,
67,
4989,
375,
65,
13,
19199,
1330,
5994,
5960,
48499,
7509,
198
] | 3.212766 | 47 |
# Copyright 2016 SAP SE
#
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import collections
import signal
import time
import eventlet
eventlet.monkey_patch()
from oslo_config import cfg
from oslo_log import log as logging
from neutron.i18n import _LI, _LW
import oslo_messaging
from oslo_service import loopingcall
from neutron.agent.common import polling
from neutron.common import config
from neutron.agent import rpc as agent_rpc
from neutron.common import constants as n_const
from neutron.common import rpc as n_rpc
from neutron.common import topics
from neutron import context
from neutron.i18n import _LE
from neutron.db import db_base_plugin_v2 as db_base
from neutron.plugins.ml2 import db as db_ml2
from networking_f5_ml2.plugins.ml2.drivers.mech_f5 import constants as f5_constants
from oslo_utils import importutils
LOG = logging.getLogger(__name__)
cfg.CONF.import_group('ml2_f5',
'networking_f5_ml2.plugins.ml2.drivers.mech_f5.config')
| [
2,
15069,
1584,
48323,
7946,
198,
2,
198,
2,
1439,
6923,
33876,
13,
198,
2,
198,
2,
220,
220,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
345,
743,
198,
2,
220,
220,
220,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
743,
7330,
198,
2,
220,
220,
220,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
220,
220,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
220,
220,
220,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
198,
2,
220,
220,
220,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
198,
2,
220,
220,
220,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
11247,
198,
2,
220,
220,
220,
739,
262,
13789,
13,
198,
198,
11748,
17268,
198,
11748,
6737,
198,
11748,
640,
198,
198,
11748,
1785,
1616,
198,
198,
15596,
1616,
13,
49572,
62,
17147,
3419,
198,
198,
6738,
28686,
5439,
62,
11250,
1330,
30218,
70,
198,
6738,
28686,
5439,
62,
6404,
1330,
2604,
355,
18931,
198,
6738,
49810,
13,
72,
1507,
77,
1330,
4808,
31271,
11,
4808,
43,
54,
198,
11748,
28686,
5439,
62,
37348,
3039,
198,
6738,
28686,
5439,
62,
15271,
1330,
9052,
278,
13345,
198,
198,
6738,
49810,
13,
25781,
13,
11321,
1330,
13985,
198,
6738,
49810,
13,
11321,
1330,
4566,
198,
6738,
49810,
13,
25781,
1330,
374,
14751,
355,
5797,
62,
81,
14751,
198,
6738,
49810,
13,
11321,
1330,
38491,
355,
299,
62,
9979,
198,
6738,
49810,
13,
11321,
1330,
374,
14751,
355,
299,
62,
81,
14751,
198,
6738,
49810,
13,
11321,
1330,
10233,
198,
6738,
49810,
1330,
4732,
198,
6738,
49810,
13,
72,
1507,
77,
1330,
4808,
2538,
198,
6738,
49810,
13,
9945,
1330,
20613,
62,
8692,
62,
33803,
62,
85,
17,
355,
20613,
62,
8692,
198,
6738,
49810,
13,
37390,
13,
4029,
17,
1330,
20613,
355,
20613,
62,
4029,
17,
628,
198,
6738,
19140,
62,
69,
20,
62,
4029,
17,
13,
37390,
13,
4029,
17,
13,
36702,
13,
1326,
354,
62,
69,
20,
1330,
38491,
355,
277,
20,
62,
9979,
1187,
198,
198,
6738,
28686,
5439,
62,
26791,
1330,
1330,
26791,
198,
198,
25294,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
198,
37581,
13,
10943,
37,
13,
11748,
62,
8094,
10786,
4029,
17,
62,
69,
20,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3262,
16090,
62,
69,
20,
62,
4029,
17,
13,
37390,
13,
4029,
17,
13,
36702,
13,
1326,
354,
62,
69,
20,
13,
11250,
11537,
628,
198
] | 3.143443 | 488 |
import tensorflow as tf
import numpy as np
tf.set_random_seed(5)
n_inputs = 28
n_neurons = 150
n_layers = 3
n_steps = 28
n_outputs = 10
learning_rate = 0.001
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/")
X_test = mnist.test.images.reshape((-1, n_steps, n_inputs))
y_test = mnist.test.labels
X = tf.placeholder(tf.float32, [None, n_steps, n_inputs])
y = tf.placeholder(tf.int32, [None])
multi_cell = tf.contrib.rnn.MultiRNNCell([tf.contrib.rnn.BasicLSTMCell(num_units=n_neurons) for _ in range(3)])
outputs, states = tf.nn.dynamic_rnn(multi_cell, X, dtype=tf.float32)
top_layer_h_state = states[-1][1]
logits = tf.layers.dense(top_layer_h_state, n_outputs, name='softmax')
x_entropy = tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y, logits=logits)
loss = tf.reduce_mean(x_entropy, name='loss')
optimizer = tf.train.AdamOptimizer(learning_rate=learning_rate)
training_op = optimizer.minimize(loss)
correct = tf.nn.in_top_k(logits, y, 1)
accuracy = tf.reduce_mean(tf.cast(correct, tf.float32))
init = tf.global_variables_initializer()
states
top_layer_h_state
n_epochs = 25
batch_size = 150
with tf.Session() as sess:
init.run()
for epoch in range(n_epochs):
for k in range(mnist.train.num_examples // batch_size):
X_batch, y_batch = mnist.train.next_batch(batch_size)
X_batch = X_batch.reshape((batch_size, n_steps, n_inputs))
sess.run(training_op, feed_dict={X: X_batch, y: y_batch})
acc_train = accuracy.eval(feed_dict={X: X_batch, y: y_batch})
acc_test = accuracy.eval(feed_dict={X: X_test, y: y_test})
print("Epoch", epoch, 'Train acc: ', acc_train, "Test acc: ", acc_test) | [
11748,
11192,
273,
11125,
355,
48700,
198,
11748,
299,
32152,
355,
45941,
198,
198,
27110,
13,
2617,
62,
25120,
62,
28826,
7,
20,
8,
198,
198,
77,
62,
15414,
82,
796,
2579,
198,
77,
62,
710,
333,
684,
796,
6640,
198,
77,
62,
75,
6962,
796,
513,
198,
77,
62,
20214,
796,
2579,
198,
77,
62,
22915,
82,
796,
838,
198,
198,
40684,
62,
4873,
796,
657,
13,
8298,
198,
198,
6738,
11192,
273,
11125,
13,
1069,
12629,
13,
83,
44917,
82,
13,
10295,
396,
1330,
5128,
62,
7890,
198,
10295,
396,
796,
5128,
62,
7890,
13,
961,
62,
7890,
62,
28709,
7203,
14,
22065,
14,
7890,
14,
4943,
198,
55,
62,
9288,
796,
285,
77,
396,
13,
9288,
13,
17566,
13,
3447,
1758,
19510,
12,
16,
11,
299,
62,
20214,
11,
299,
62,
15414,
82,
4008,
198,
88,
62,
9288,
796,
285,
77,
396,
13,
9288,
13,
23912,
1424,
198,
198,
55,
796,
48700,
13,
5372,
13829,
7,
27110,
13,
22468,
2624,
11,
685,
14202,
11,
299,
62,
20214,
11,
299,
62,
15414,
82,
12962,
198,
88,
796,
48700,
13,
5372,
13829,
7,
27110,
13,
600,
2624,
11,
685,
14202,
12962,
198,
198,
41684,
62,
3846,
796,
48700,
13,
3642,
822,
13,
81,
20471,
13,
29800,
49,
6144,
28780,
26933,
27110,
13,
3642,
822,
13,
81,
20471,
13,
26416,
43,
2257,
9655,
695,
7,
22510,
62,
41667,
28,
77,
62,
710,
333,
684,
8,
329,
4808,
287,
2837,
7,
18,
8,
12962,
198,
22915,
82,
11,
2585,
796,
48700,
13,
20471,
13,
67,
28995,
62,
81,
20471,
7,
41684,
62,
3846,
11,
1395,
11,
288,
4906,
28,
27110,
13,
22468,
2624,
8,
198,
4852,
62,
29289,
62,
71,
62,
5219,
796,
2585,
58,
12,
16,
7131,
16,
60,
198,
6404,
896,
796,
48700,
13,
75,
6962,
13,
67,
1072,
7,
4852,
62,
29289,
62,
71,
62,
5219,
11,
299,
62,
22915,
82,
11,
1438,
11639,
4215,
9806,
11537,
198,
87,
62,
298,
28338,
796,
48700,
13,
20471,
13,
82,
29572,
62,
4215,
9806,
62,
19692,
62,
298,
28338,
62,
4480,
62,
6404,
896,
7,
23912,
1424,
28,
88,
11,
2604,
896,
28,
6404,
896,
8,
198,
22462,
796,
48700,
13,
445,
7234,
62,
32604,
7,
87,
62,
298,
28338,
11,
1438,
11639,
22462,
11537,
198,
40085,
7509,
796,
48700,
13,
27432,
13,
23159,
27871,
320,
7509,
7,
40684,
62,
4873,
28,
40684,
62,
4873,
8,
198,
34409,
62,
404,
796,
6436,
7509,
13,
1084,
48439,
7,
22462,
8,
198,
30283,
796,
48700,
13,
20471,
13,
259,
62,
4852,
62,
74,
7,
6404,
896,
11,
331,
11,
352,
8,
198,
4134,
23843,
796,
48700,
13,
445,
7234,
62,
32604,
7,
27110,
13,
2701,
7,
30283,
11,
48700,
13,
22468,
2624,
4008,
198,
198,
15003,
796,
48700,
13,
20541,
62,
25641,
2977,
62,
36733,
7509,
3419,
198,
198,
27219,
198,
198,
4852,
62,
29289,
62,
71,
62,
5219,
198,
198,
77,
62,
538,
5374,
82,
796,
1679,
198,
43501,
62,
7857,
796,
6640,
198,
198,
4480,
48700,
13,
36044,
3419,
355,
264,
408,
25,
198,
220,
220,
220,
2315,
13,
5143,
3419,
198,
220,
220,
220,
329,
36835,
287,
2837,
7,
77,
62,
538,
5374,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
2837,
7,
10295,
396,
13,
27432,
13,
22510,
62,
1069,
12629,
3373,
15458,
62,
7857,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
43501,
11,
331,
62,
43501,
796,
285,
77,
396,
13,
27432,
13,
19545,
62,
43501,
7,
43501,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
43501,
796,
1395,
62,
43501,
13,
3447,
1758,
19510,
43501,
62,
7857,
11,
299,
62,
20214,
11,
299,
62,
15414,
82,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
408,
13,
5143,
7,
34409,
62,
404,
11,
3745,
62,
11600,
34758,
55,
25,
1395,
62,
43501,
11,
331,
25,
331,
62,
43501,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
697,
62,
27432,
796,
9922,
13,
18206,
7,
12363,
62,
11600,
34758,
55,
25,
1395,
62,
43501,
11,
331,
25,
331,
62,
43501,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
697,
62,
9288,
796,
9922,
13,
18206,
7,
12363,
62,
11600,
34758,
55,
25,
1395,
62,
9288,
11,
331,
25,
331,
62,
9288,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
13807,
5374,
1600,
36835,
11,
705,
44077,
697,
25,
46083,
697,
62,
27432,
11,
366,
14402,
697,
25,
33172,
697,
62,
9288,
8
] | 2.287979 | 757 |
from os import path
import logging
from typing import Dict, List, Optional
import copy
import torch
import torch.nn.functional as F
from overrides import overrides
from allennlp.data import Vocabulary
from allennlp.common.params import Params
from allennlp.models.model import Model
from allennlp.modules import Seq2SeqEncoder, TextFieldEmbedder, FeedForward
from allennlp.modules.span_extractors import SelfAttentiveSpanExtractor, EndpointSpanExtractor
from allennlp.nn import util, InitializerApplicator, RegularizerApplicator
# Import submodules.
from dygie.models.coref import CorefResolver
from dygie.models.ner import NERTagger
from dygie.models.relation import RelationExtractor
from dygie.models.events import EventExtractor
from dygie.training.joint_metrics import JointMetrics
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
@Model.register("dygie")
class DyGIE(Model):
"""
TODO(dwadden) document me.
Parameters
----------
vocab : ``Vocabulary``
text_field_embedder : ``TextFieldEmbedder``
Used to embed the ``text`` ``TextField`` we get as input to the model.
context_layer : ``Seq2SeqEncoder``
This layer incorporates contextual information for each word in the document.
feature_size: ``int``
The embedding size for all the embedded features, such as distances or span widths.
submodule_params: ``TODO(dwadden)``
A nested dictionary specifying parameters to be passed on to initialize submodules.
max_span_width: ``int``
The maximum width of candidate spans.
lexical_dropout: ``int``
The probability of dropping out dimensions of the embedded text.
initializer : ``InitializerApplicator``, optional (default=``InitializerApplicator()``)
Used to initialize the model parameters.
regularizer : ``RegularizerApplicator``, optional (default=``None``)
If provided, will be used to calculate the regularization penalty during training.
display_metrics: ``List[str]``. A list of the metrics that should be printed out during model
training.
"""
@overrides
def forward(self,
text,
spans,
ner_labels,
coref_labels,
relation_labels,
trigger_labels,
argument_labels,
metadata):
"""
TODO(dwadden) change this.
"""
# For co-training on Ontonotes, need to change the loss weights depending on the data coming
# in. This is a hack but it will do for now.
if self._co_train:
if self.training:
dataset = [entry["dataset"] for entry in metadata]
assert len(set(dataset)) == 1
dataset = dataset[0]
assert dataset in ["ace", "ontonotes"]
if dataset == "ontonotes":
self._loss_weights = dict(coref=1, ner=0, relation=0, events=0)
else:
self._loss_weights = self._permanent_loss_weights
# This assumes that there won't be any co-training data in the dev and test sets, and that
# coref propagation will still happen even when the coref weight is set to 0.
else:
self._loss_weights = self._permanent_loss_weights
# In AllenNLP, AdjacencyFields are passed in as floats. This fixes it.
relation_labels = relation_labels.long()
argument_labels = argument_labels.long()
# If we're doing Bert, get the sentence class token as part of the text embedding. This will
# break if we use Bert together with other embeddings, but that won't happen much.
if "bert-offsets" in text:
offsets = text["bert-offsets"]
sent_ix = torch.zeros(offsets.size(0), device=offsets.device, dtype=torch.long).unsqueeze(1)
padded_offsets = torch.cat([sent_ix, offsets], dim=1)
text["bert-offsets"] = padded_offsets
padded_embeddings = self._text_field_embedder(text)
cls_embeddings = padded_embeddings[:, 0, :]
text_embeddings = padded_embeddings[:, 1:, :]
else:
text_embeddings = self._text_field_embedder(text)
cls_embeddings = torch.zeros([text_embeddings.size(0), text_embeddings.size(2)],
device=text_embeddings.device)
text_embeddings = self._lexical_dropout(text_embeddings)
# Shape: (batch_size, max_sentence_length)
text_mask = util.get_text_field_mask(text).float()
sentence_group_lengths = text_mask.sum(dim=1).long()
sentence_lengths = 0*text_mask.sum(dim=1).long()
for i in range(len(metadata)):
sentence_lengths[i] = metadata[i]["end_ix"] - metadata[i]["start_ix"]
for k in range(sentence_lengths[i], sentence_group_lengths[i]):
text_mask[i][k] = 0
max_sentence_length = sentence_lengths.max().item()
# TODO(Ulme) Speed this up by tensorizing
new_text_embeddings = torch.zeros([text_embeddings.shape[0], max_sentence_length, text_embeddings.shape[2]], device=text_embeddings.device)
for i in range(len(new_text_embeddings)):
new_text_embeddings[i][0:metadata[i]["end_ix"] - metadata[i]["start_ix"]] = text_embeddings[i][metadata[i]["start_ix"]:metadata[i]["end_ix"]]
#max_sent_len = max(sentence_lengths)
#the_list = [list(k+metadata[i]["start_ix"] if k < max_sent_len else 0 for k in range(text_embeddings.shape[1])) for i in range(len(metadata))]
#import ipdb; ipdb.set_trace()
#text_embeddings = torch.gather(text_embeddings, 1, torch.tensor(the_list, device=text_embeddings.device).unsqueeze(2).repeat(1, 1, text_embeddings.shape[2]))
text_embeddings = new_text_embeddings
# Only keep the text embeddings that correspond to actual tokens.
# text_embeddings = text_embeddings[:, :max_sentence_length, :].contiguous()
text_mask = text_mask[:, :max_sentence_length].contiguous()
# Shape: (batch_size, max_sentence_length, encoding_dim)
contextualized_embeddings = self._lstm_dropout(self._context_layer(text_embeddings, text_mask))
assert spans.max() < contextualized_embeddings.shape[1]
if self._attentive_span_extractor is not None:
# Shape: (batch_size, num_spans, emebedding_size)
attended_span_embeddings = self._attentive_span_extractor(text_embeddings, spans)
# Shape: (batch_size, num_spans)
span_mask = (spans[:, :, 0] >= 0).float()
# SpanFields return -1 when they are used as padding. As we do
# some comparisons based on span widths when we attend over the
# span representations that we generate from these indices, we
# need them to be <= 0. This is only relevant in edge cases where
# the number of spans we consider after the pruning stage is >= the
# total number of spans, because in this case, it is possible we might
# consider a masked span.
# Shape: (batch_size, num_spans, 2)
spans = F.relu(spans.float()).long()
# Shape: (batch_size, num_spans, 2 * encoding_dim + feature_size)
endpoint_span_embeddings = self._endpoint_span_extractor(contextualized_embeddings, spans)
if self._attentive_span_extractor is not None:
# Shape: (batch_size, num_spans, emebedding_size + 2 * encoding_dim + feature_size)
span_embeddings = torch.cat([endpoint_span_embeddings, attended_span_embeddings], -1)
else:
span_embeddings = endpoint_span_embeddings
# TODO(Ulme) try normalizing span embeddeings
#span_embeddings = span_embeddings.abs().sum(dim=-1).unsqueeze(-1)
# Make calls out to the modules to get results.
output_coref = {'loss': 0}
output_ner = {'loss': 0}
output_relation = {'loss': 0}
output_events = {'loss': 0}
# Prune and compute span representations for coreference module
if self._loss_weights["coref"] > 0 or self._coref.coref_prop > 0:
output_coref, coref_indices = self._coref.compute_representations(
spans, span_mask, span_embeddings, sentence_lengths, coref_labels, metadata)
# Prune and compute span representations for relation module
if self._loss_weights["relation"] > 0 or self._relation.rel_prop > 0:
output_relation = self._relation.compute_representations(
spans, span_mask, span_embeddings, sentence_lengths, relation_labels, metadata)
# Propagation of global information to enhance the span embeddings
if self._coref.coref_prop > 0:
# TODO(Ulme) Implement Coref Propagation
output_coref = self._coref.coref_propagation(output_coref)
span_embeddings = self._coref.update_spans(output_coref, span_embeddings, coref_indices)
if self._relation.rel_prop > 0:
output_relation = self._relation.relation_propagation(output_relation)
span_embeddings = self.update_span_embeddings(span_embeddings, span_mask,
output_relation["top_span_embeddings"], output_relation["top_span_mask"],
output_relation["top_span_indices"])
# Make predictions and compute losses for each module
if self._loss_weights['ner'] > 0:
output_ner = self._ner(
spans, span_mask, span_embeddings, sentence_lengths, ner_labels, metadata)
if self._loss_weights['coref'] > 0:
try :
output_coref = self._coref.predict_labels(output_coref, metadata)
except :
output_coref = {}
if self._loss_weights['relation'] > 0:
output_relation = self._relation.predict_labels(relation_labels, output_relation, metadata)
if self._loss_weights['events'] > 0:
# Make the trigger embeddings the same size as the argument embeddings to make
# propagation easier.
if self._events._span_prop._n_span_prop > 0:
trigger_embeddings = contextualized_embeddings.repeat(1, 1, 2)
trigger_widths = torch.zeros([trigger_embeddings.size(0), trigger_embeddings.size(1)],
device=trigger_embeddings.device, dtype=torch.long)
trigger_width_embs = self._endpoint_span_extractor._span_width_embedding(trigger_widths)
trigger_width_embs = trigger_width_embs.detach()
trigger_embeddings = torch.cat([trigger_embeddings, trigger_width_embs], dim=-1)
else:
trigger_embeddings = contextualized_embeddings
output_events = self._events(
text_mask, trigger_embeddings, spans, span_mask, span_embeddings, cls_embeddings,
sentence_lengths, output_ner, trigger_labels, argument_labels,
ner_labels, metadata)
if "loss" not in output_coref:
output_coref["loss"] = 0
if "loss" not in output_relation:
output_relation["loss"] = 0
# TODO(dwadden) just did this part.
loss = (self._loss_weights['coref'] * output_coref['loss'] +
self._loss_weights['ner'] * output_ner['loss'] +
self._loss_weights['relation'] * output_relation['loss'] +
self._loss_weights['events'] * output_events['loss'])
output_dict = dict(coref=output_coref,
relation=output_relation,
ner=output_ner,
events=output_events)
output_dict['loss'] = loss
# Check to see if event predictions are globally compatible (argument labels are compatible
# with NER tags and trigger tags).
# if self._loss_weights["ner"] > 0 and self._loss_weights["events"] > 0:
# decoded_ner = self._ner.decode(output_dict["ner"])
# decoded_events = self._events.decode(output_dict["events"])
# self._joint_metrics(decoded_ner, decoded_events)
return output_dict
@overrides
def decode(self, output_dict: Dict[str, torch.Tensor]):
"""
Converts the list of spans and predicted antecedent indices into clusters
of spans for each element in the batch.
Parameters
----------
output_dict : ``Dict[str, torch.Tensor]``, required.
The result of calling :func:`forward` on an instance or batch of instances.
Returns
-------
The same output dictionary, but with an additional ``clusters`` key:
clusters : ``List[List[List[Tuple[int, int]]]]``
A nested list, representing, for each instance in the batch, the list of clusters,
which are in turn comprised of a list of (start, end) inclusive spans into the
original document.
"""
# TODO(dwadden) which things are already decoded?
res = {}
if self._loss_weights["coref"] > 0:
try :
res["coref"] = self._coref.decode(output_dict["coref"])
except :
pass
if self._loss_weights["ner"] > 0:
res["ner"] = self._ner.decode(output_dict["ner"])
if self._loss_weights["relation"] > 0:
res["relation"] = self._relation.decode(output_dict["relation"])
if self._loss_weights["events"] > 0:
res["events"] = output_dict["events"]
return res
def get_metrics(self, reset: bool = False) -> Dict[str, float]:
"""
Get all metrics from all modules. For the ones that shouldn't be displayed, prefix their
keys with an underscore.
"""
metrics_coref = self._coref.get_metrics(reset=reset)
metrics_ner = self._ner.get_metrics(reset=reset)
metrics_relation = self._relation.get_metrics(reset=reset)
metrics_events = self._events.get_metrics(reset=reset)
if self._loss_weights["ner"] > 0 and self._loss_weights["events"] > 0:
metrics_joint = self._joint_metrics.get_metric(reset=reset)
else:
metrics_joint = {}
# Make sure that there aren't any conflicting names.
metric_names = (list(metrics_coref.keys()) + list(metrics_ner.keys()) +
list(metrics_relation.keys()) + list(metrics_events.keys()))
assert len(set(metric_names)) == len(metric_names)
all_metrics = dict(list(metrics_coref.items()) +
list(metrics_ner.items()) +
list(metrics_relation.items()) +
list(metrics_events.items()) +
list(metrics_joint.items()))
# If no list of desired metrics given, display them all.
if self._display_metrics is None:
return all_metrics
# Otherwise only display the selected ones.
res = {}
for k, v in all_metrics.items():
if k in self._display_metrics:
res[k] = v
else:
new_k = "_" + k
res[new_k] = v
return res
| [
6738,
28686,
1330,
3108,
198,
11748,
18931,
198,
6738,
19720,
1330,
360,
713,
11,
7343,
11,
32233,
198,
11748,
4866,
198,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
6738,
23170,
1460,
1330,
23170,
1460,
198,
198,
6738,
477,
1697,
34431,
13,
7890,
1330,
47208,
22528,
198,
6738,
477,
1697,
34431,
13,
11321,
13,
37266,
1330,
2547,
4105,
198,
6738,
477,
1697,
34431,
13,
27530,
13,
19849,
1330,
9104,
198,
6738,
477,
1697,
34431,
13,
18170,
1330,
1001,
80,
17,
4653,
80,
27195,
12342,
11,
8255,
15878,
31567,
276,
1082,
11,
18272,
39746,
198,
6738,
477,
1697,
34431,
13,
18170,
13,
12626,
62,
2302,
974,
669,
1330,
12189,
8086,
298,
425,
4561,
272,
11627,
40450,
11,
5268,
4122,
4561,
272,
11627,
40450,
198,
6738,
477,
1697,
34431,
13,
20471,
1330,
7736,
11,
20768,
7509,
33583,
1352,
11,
23603,
7509,
33583,
1352,
198,
198,
2,
17267,
850,
18170,
13,
198,
6738,
20268,
22699,
13,
27530,
13,
7295,
69,
1330,
7231,
69,
4965,
14375,
198,
6738,
20268,
22699,
13,
27530,
13,
1008,
1330,
399,
17395,
7928,
198,
6738,
20268,
22699,
13,
27530,
13,
49501,
1330,
4718,
341,
11627,
40450,
198,
6738,
20268,
22699,
13,
27530,
13,
31534,
1330,
8558,
11627,
40450,
198,
6738,
20268,
22699,
13,
34409,
13,
73,
1563,
62,
4164,
10466,
1330,
16798,
9171,
10466,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
220,
1303,
279,
2645,
600,
25,
15560,
28,
259,
12102,
12,
3672,
628,
198,
31,
17633,
13,
30238,
7203,
9892,
22699,
4943,
198,
4871,
23524,
38,
10008,
7,
17633,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16926,
46,
7,
67,
86,
38014,
8,
3188,
502,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
12776,
397,
1058,
7559,
53,
420,
22528,
15506,
198,
220,
220,
220,
2420,
62,
3245,
62,
20521,
1082,
1058,
7559,
8206,
15878,
31567,
276,
1082,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
16718,
284,
11525,
262,
7559,
5239,
15506,
7559,
8206,
15878,
15506,
356,
651,
355,
5128,
284,
262,
2746,
13,
198,
220,
220,
220,
4732,
62,
29289,
1058,
7559,
4653,
80,
17,
4653,
80,
27195,
12342,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
770,
7679,
33181,
38356,
1321,
329,
1123,
1573,
287,
262,
3188,
13,
198,
220,
220,
220,
3895,
62,
7857,
25,
7559,
600,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
383,
11525,
12083,
2546,
329,
477,
262,
14553,
3033,
11,
884,
355,
18868,
393,
11506,
9647,
82,
13,
198,
220,
220,
220,
850,
21412,
62,
37266,
25,
7559,
51,
3727,
46,
7,
67,
86,
38014,
8,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
317,
28376,
22155,
31577,
10007,
284,
307,
3804,
319,
284,
41216,
850,
18170,
13,
198,
220,
220,
220,
3509,
62,
12626,
62,
10394,
25,
7559,
600,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5415,
9647,
286,
4540,
32727,
13,
198,
220,
220,
220,
31191,
605,
62,
14781,
448,
25,
7559,
600,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
383,
12867,
286,
12047,
503,
15225,
286,
262,
14553,
2420,
13,
198,
220,
220,
220,
4238,
7509,
1058,
7559,
24243,
7509,
33583,
1352,
15506,
11,
11902,
357,
12286,
28,
15506,
24243,
7509,
33583,
1352,
3419,
15506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16718,
284,
41216,
262,
2746,
10007,
13,
198,
220,
220,
220,
3218,
7509,
1058,
7559,
40164,
7509,
33583,
1352,
15506,
11,
11902,
357,
12286,
28,
15506,
14202,
15506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
2810,
11,
481,
307,
973,
284,
15284,
262,
3218,
1634,
7389,
1141,
3047,
13,
198,
220,
220,
220,
3359,
62,
4164,
10466,
25,
7559,
8053,
58,
2536,
60,
15506,
13,
317,
1351,
286,
262,
20731,
326,
815,
307,
10398,
503,
1141,
2746,
198,
220,
220,
220,
220,
220,
220,
220,
3047,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
2502,
81,
1460,
198,
220,
220,
220,
825,
2651,
7,
944,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32727,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17156,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4755,
69,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8695,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4578,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20150,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16926,
46,
7,
67,
86,
38014,
8,
1487,
428,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
763,
12,
34409,
319,
9463,
261,
6421,
11,
761,
284,
1487,
262,
2994,
19590,
6906,
319,
262,
1366,
2406,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
13,
770,
318,
257,
8156,
475,
340,
481,
466,
329,
783,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
1073,
62,
27432,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
34409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
796,
685,
13000,
14692,
19608,
292,
316,
8973,
329,
5726,
287,
20150,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
2617,
7,
19608,
292,
316,
4008,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
796,
27039,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
27039,
287,
14631,
558,
1600,
366,
756,
261,
6421,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
27039,
6624,
366,
756,
261,
6421,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22462,
62,
43775,
796,
8633,
7,
7295,
69,
28,
16,
11,
17156,
28,
15,
11,
8695,
28,
15,
11,
2995,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22462,
62,
43775,
796,
2116,
13557,
525,
44172,
62,
22462,
62,
43775,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
18533,
326,
612,
1839,
470,
307,
597,
763,
12,
34409,
1366,
287,
262,
1614,
290,
1332,
5621,
11,
290,
326,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4755,
69,
43594,
481,
991,
1645,
772,
618,
262,
4755,
69,
3463,
318,
900,
284,
657,
13,
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,
13557,
22462,
62,
43775,
796,
2116,
13557,
525,
44172,
62,
22462,
62,
43775,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
554,
9659,
45,
19930,
11,
1215,
30482,
1387,
15878,
82,
389,
3804,
287,
355,
36016,
13,
770,
13040,
340,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8695,
62,
23912,
1424,
796,
8695,
62,
23912,
1424,
13,
6511,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
4578,
62,
23912,
1424,
796,
4578,
62,
23912,
1424,
13,
6511,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
356,
821,
1804,
22108,
11,
651,
262,
6827,
1398,
11241,
355,
636,
286,
262,
2420,
11525,
12083,
13,
770,
481,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2270,
611,
356,
779,
22108,
1978,
351,
584,
11525,
67,
654,
11,
475,
326,
1839,
470,
1645,
881,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
4835,
12,
8210,
1039,
1,
287,
2420,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49005,
796,
2420,
14692,
4835,
12,
8210,
1039,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1908,
62,
844,
796,
28034,
13,
9107,
418,
7,
8210,
1039,
13,
7857,
7,
15,
828,
3335,
28,
8210,
1039,
13,
25202,
11,
288,
4906,
28,
13165,
354,
13,
6511,
737,
13271,
421,
1453,
2736,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44582,
62,
8210,
1039,
796,
28034,
13,
9246,
26933,
34086,
62,
844,
11,
49005,
4357,
5391,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
14692,
4835,
12,
8210,
1039,
8973,
796,
44582,
62,
8210,
1039,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44582,
62,
20521,
67,
654,
796,
2116,
13557,
5239,
62,
3245,
62,
20521,
1082,
7,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
537,
82,
62,
20521,
67,
654,
796,
44582,
62,
20521,
67,
654,
58,
45299,
657,
11,
1058,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
20521,
67,
654,
796,
44582,
62,
20521,
67,
654,
58,
45299,
352,
45299,
1058,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
20521,
67,
654,
796,
2116,
13557,
5239,
62,
3245,
62,
20521,
1082,
7,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
537,
82,
62,
20521,
67,
654,
796,
28034,
13,
9107,
418,
26933,
5239,
62,
20521,
67,
654,
13,
7857,
7,
15,
828,
2420,
62,
20521,
67,
654,
13,
7857,
7,
17,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3335,
28,
5239,
62,
20521,
67,
654,
13,
25202,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
20521,
67,
654,
796,
2116,
13557,
2588,
605,
62,
14781,
448,
7,
5239,
62,
20521,
67,
654,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
3509,
62,
34086,
594,
62,
13664,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
27932,
796,
7736,
13,
1136,
62,
5239,
62,
3245,
62,
27932,
7,
5239,
737,
22468,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
6827,
62,
8094,
62,
13664,
82,
796,
2420,
62,
27932,
13,
16345,
7,
27740,
28,
16,
737,
6511,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
6827,
62,
13664,
82,
796,
657,
9,
5239,
62,
27932,
13,
16345,
7,
27740,
28,
16,
737,
6511,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
38993,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6827,
62,
13664,
82,
58,
72,
60,
796,
20150,
58,
72,
7131,
1,
437,
62,
844,
8973,
532,
20150,
58,
72,
7131,
1,
9688,
62,
844,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
2837,
7,
34086,
594,
62,
13664,
82,
58,
72,
4357,
6827,
62,
8094,
62,
13664,
82,
58,
72,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
27932,
58,
72,
7131,
74,
60,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
34086,
594,
62,
13664,
796,
6827,
62,
13664,
82,
13,
9806,
22446,
9186,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
7,
47920,
1326,
8,
8729,
428,
510,
416,
11192,
273,
2890,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
5239,
62,
20521,
67,
654,
796,
28034,
13,
9107,
418,
26933,
5239,
62,
20521,
67,
654,
13,
43358,
58,
15,
4357,
3509,
62,
34086,
594,
62,
13664,
11,
2420,
62,
20521,
67,
654,
13,
43358,
58,
17,
60,
4357,
3335,
28,
5239,
62,
20521,
67,
654,
13,
25202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
3605,
62,
5239,
62,
20521,
67,
654,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
5239,
62,
20521,
67,
654,
58,
72,
7131,
15,
25,
38993,
58,
72,
7131,
1,
437,
62,
844,
8973,
532,
20150,
58,
72,
7131,
1,
9688,
62,
844,
8973,
60,
796,
2420,
62,
20521,
67,
654,
58,
72,
7131,
38993,
58,
72,
7131,
1,
9688,
62,
844,
1,
5974,
38993,
58,
72,
7131,
1,
437,
62,
844,
8973,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9806,
62,
34086,
62,
11925,
796,
3509,
7,
34086,
594,
62,
13664,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1169,
62,
4868,
796,
685,
4868,
7,
74,
10,
38993,
58,
72,
7131,
1,
9688,
62,
844,
8973,
611,
479,
1279,
3509,
62,
34086,
62,
11925,
2073,
657,
329,
479,
287,
2837,
7,
5239,
62,
20521,
67,
654,
13,
43358,
58,
16,
60,
4008,
329,
1312,
287,
2837,
7,
11925,
7,
38993,
4008,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11748,
20966,
9945,
26,
20966,
9945,
13,
2617,
62,
40546,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5239,
62,
20521,
67,
654,
796,
28034,
13,
70,
1032,
7,
5239,
62,
20521,
67,
654,
11,
352,
11,
28034,
13,
83,
22854,
7,
1169,
62,
4868,
11,
3335,
28,
5239,
62,
20521,
67,
654,
13,
25202,
737,
13271,
421,
1453,
2736,
7,
17,
737,
44754,
7,
16,
11,
352,
11,
2420,
62,
20521,
67,
654,
13,
43358,
58,
17,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
20521,
67,
654,
796,
649,
62,
5239,
62,
20521,
67,
654,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5514,
1394,
262,
2420,
11525,
67,
654,
326,
6053,
284,
4036,
16326,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2420,
62,
20521,
67,
654,
796,
2420,
62,
20521,
67,
654,
58,
45299,
1058,
9806,
62,
34086,
594,
62,
13664,
11,
1058,
4083,
3642,
29709,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
27932,
796,
2420,
62,
27932,
58,
45299,
1058,
9806,
62,
34086,
594,
62,
13664,
4083,
3642,
29709,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
3509,
62,
34086,
594,
62,
13664,
11,
21004,
62,
27740,
8,
198,
220,
220,
220,
220,
220,
220,
220,
38356,
1143,
62,
20521,
67,
654,
796,
2116,
13557,
75,
301,
76,
62,
14781,
448,
7,
944,
13557,
22866,
62,
29289,
7,
5239,
62,
20521,
67,
654,
11,
2420,
62,
27932,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
32727,
13,
9806,
3419,
1279,
38356,
1143,
62,
20521,
67,
654,
13,
43358,
58,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
1078,
298,
425,
62,
12626,
62,
2302,
40450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
997,
62,
2777,
504,
11,
795,
1765,
6048,
278,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9141,
62,
12626,
62,
20521,
67,
654,
796,
2116,
13557,
1078,
298,
425,
62,
12626,
62,
2302,
40450,
7,
5239,
62,
20521,
67,
654,
11,
32727,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
997,
62,
2777,
504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
27932,
796,
357,
2777,
504,
58,
45299,
1058,
11,
657,
60,
18189,
657,
737,
22468,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
49101,
15878,
82,
1441,
532,
16,
618,
484,
389,
973,
355,
24511,
13,
1081,
356,
466,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
617,
17909,
1912,
319,
11506,
9647,
82,
618,
356,
5262,
625,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11506,
24612,
326,
356,
7716,
422,
777,
36525,
11,
356,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
761,
606,
284,
307,
19841,
657,
13,
770,
318,
691,
5981,
287,
5743,
2663,
810,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1271,
286,
32727,
356,
2074,
706,
262,
778,
46493,
3800,
318,
18189,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2472,
1271,
286,
32727,
11,
780,
287,
428,
1339,
11,
340,
318,
1744,
356,
1244,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2074,
257,
29229,
11506,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
997,
62,
2777,
504,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
32727,
796,
376,
13,
260,
2290,
7,
2777,
504,
13,
22468,
3419,
737,
6511,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
997,
62,
2777,
504,
11,
362,
1635,
21004,
62,
27740,
1343,
3895,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
12626,
62,
20521,
67,
654,
796,
2116,
13557,
437,
4122,
62,
12626,
62,
2302,
40450,
7,
22866,
723,
1143,
62,
20521,
67,
654,
11,
32727,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
1078,
298,
425,
62,
12626,
62,
2302,
40450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
25959,
25,
357,
43501,
62,
7857,
11,
997,
62,
2777,
504,
11,
795,
1765,
6048,
278,
62,
7857,
1343,
362,
1635,
21004,
62,
27740,
1343,
3895,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
20521,
67,
654,
796,
28034,
13,
9246,
26933,
437,
4122,
62,
12626,
62,
20521,
67,
654,
11,
9141,
62,
12626,
62,
20521,
67,
654,
4357,
532,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
20521,
67,
654,
796,
36123,
62,
12626,
62,
20521,
67,
654,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
7,
47920,
1326,
8,
1949,
3487,
2890,
11506,
11525,
2934,
654,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12626,
62,
20521,
67,
654,
796,
11506,
62,
20521,
67,
654,
13,
8937,
22446,
16345,
7,
27740,
10779,
16,
737,
13271,
421,
1453,
2736,
32590,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
3848,
503,
284,
262,
13103,
284,
651,
2482,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
796,
1391,
6,
22462,
10354,
657,
92,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
1008,
796,
1391,
6,
22462,
10354,
657,
92,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
796,
1391,
6,
22462,
10354,
657,
92,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
31534,
796,
1391,
6,
22462,
10354,
657,
92,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1736,
1726,
290,
24061,
11506,
24612,
329,
4755,
4288,
8265,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
7295,
69,
8973,
1875,
657,
393,
2116,
13557,
7295,
69,
13,
7295,
69,
62,
22930,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
11,
4755,
69,
62,
521,
1063,
796,
2116,
13557,
7295,
69,
13,
5589,
1133,
62,
15603,
602,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32727,
11,
11506,
62,
27932,
11,
11506,
62,
20521,
67,
654,
11,
6827,
62,
13664,
82,
11,
4755,
69,
62,
23912,
1424,
11,
20150,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1736,
1726,
290,
24061,
11506,
24612,
329,
8695,
8265,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
49501,
8973,
1875,
657,
393,
2116,
13557,
49501,
13,
2411,
62,
22930,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
796,
2116,
13557,
49501,
13,
5589,
1133,
62,
15603,
602,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32727,
11,
11506,
62,
27932,
11,
11506,
62,
20521,
67,
654,
11,
6827,
62,
13664,
82,
11,
8695,
62,
23912,
1424,
11,
20150,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
8772,
363,
341,
286,
3298,
1321,
284,
9494,
262,
11506,
11525,
67,
654,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
7295,
69,
13,
7295,
69,
62,
22930,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
7,
47920,
1326,
8,
48282,
7231,
69,
8772,
363,
341,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
796,
2116,
13557,
7295,
69,
13,
7295,
69,
62,
22930,
363,
341,
7,
22915,
62,
7295,
69,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
20521,
67,
654,
796,
2116,
13557,
7295,
69,
13,
19119,
62,
2777,
504,
7,
22915,
62,
7295,
69,
11,
11506,
62,
20521,
67,
654,
11,
4755,
69,
62,
521,
1063,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
49501,
13,
2411,
62,
22930,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
796,
2116,
13557,
49501,
13,
49501,
62,
22930,
363,
341,
7,
22915,
62,
49501,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
20521,
67,
654,
796,
2116,
13,
19119,
62,
12626,
62,
20521,
67,
654,
7,
12626,
62,
20521,
67,
654,
11,
11506,
62,
27932,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
14692,
4852,
62,
12626,
62,
20521,
67,
654,
33116,
5072,
62,
49501,
14692,
4852,
62,
12626,
62,
27932,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
14692,
4852,
62,
12626,
62,
521,
1063,
8973,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
16277,
290,
24061,
9089,
329,
1123,
8265,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
17816,
1008,
20520,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
1008,
796,
2116,
13557,
1008,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32727,
11,
11506,
62,
27932,
11,
11506,
62,
20521,
67,
654,
11,
6827,
62,
13664,
82,
11,
17156,
62,
23912,
1424,
11,
20150,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
17816,
7295,
69,
20520,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
796,
2116,
13557,
7295,
69,
13,
79,
17407,
62,
23912,
1424,
7,
22915,
62,
7295,
69,
11,
20150,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
17816,
49501,
20520,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
796,
2116,
13557,
49501,
13,
79,
17407,
62,
23912,
1424,
7,
49501,
62,
23912,
1424,
11,
5072,
62,
49501,
11,
20150,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
17816,
31534,
20520,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
262,
7616,
11525,
67,
654,
262,
976,
2546,
355,
262,
4578,
11525,
67,
654,
284,
787,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
43594,
4577,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
31534,
13557,
12626,
62,
22930,
13557,
77,
62,
12626,
62,
22930,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
20521,
67,
654,
796,
38356,
1143,
62,
20521,
67,
654,
13,
44754,
7,
16,
11,
352,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
10394,
82,
796,
28034,
13,
9107,
418,
26933,
46284,
62,
20521,
67,
654,
13,
7857,
7,
15,
828,
7616,
62,
20521,
67,
654,
13,
7857,
7,
16,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3335,
28,
46284,
62,
20521,
67,
654,
13,
25202,
11,
288,
4906,
28,
13165,
354,
13,
6511,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
10394,
62,
368,
1443,
796,
2116,
13557,
437,
4122,
62,
12626,
62,
2302,
40450,
13557,
12626,
62,
10394,
62,
20521,
12083,
7,
46284,
62,
10394,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
10394,
62,
368,
1443,
796,
7616,
62,
10394,
62,
368,
1443,
13,
15255,
620,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
20521,
67,
654,
796,
28034,
13,
9246,
26933,
46284,
62,
20521,
67,
654,
11,
7616,
62,
10394,
62,
368,
1443,
4357,
5391,
10779,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7616,
62,
20521,
67,
654,
796,
38356,
1143,
62,
20521,
67,
654,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
31534,
796,
2116,
13557,
31534,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
62,
27932,
11,
7616,
62,
20521,
67,
654,
11,
32727,
11,
11506,
62,
27932,
11,
11506,
62,
20521,
67,
654,
11,
537,
82,
62,
20521,
67,
654,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6827,
62,
13664,
82,
11,
5072,
62,
1008,
11,
7616,
62,
23912,
1424,
11,
4578,
62,
23912,
1424,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17156,
62,
23912,
1424,
11,
20150,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
366,
22462,
1,
407,
287,
5072,
62,
7295,
69,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7295,
69,
14692,
22462,
8973,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
22462,
1,
407,
287,
5072,
62,
49501,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
49501,
14692,
22462,
8973,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
7,
67,
86,
38014,
8,
655,
750,
428,
636,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
796,
357,
944,
13557,
22462,
62,
43775,
17816,
7295,
69,
20520,
1635,
5072,
62,
7295,
69,
17816,
22462,
20520,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22462,
62,
43775,
17816,
1008,
20520,
1635,
5072,
62,
1008,
17816,
22462,
20520,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22462,
62,
43775,
17816,
49501,
20520,
1635,
5072,
62,
49501,
17816,
22462,
20520,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22462,
62,
43775,
17816,
31534,
20520,
1635,
5072,
62,
31534,
17816,
22462,
6,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
796,
8633,
7,
7295,
69,
28,
22915,
62,
7295,
69,
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,
8695,
28,
22915,
62,
49501,
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,
17156,
28,
22915,
62,
1008,
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,
2995,
28,
22915,
62,
31534,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
17816,
22462,
20520,
796,
2994,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
284,
766,
611,
1785,
16277,
389,
18309,
11670,
357,
49140,
14722,
389,
11670,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
351,
399,
1137,
15940,
290,
7616,
15940,
737,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
2116,
13557,
22462,
62,
43775,
14692,
1008,
8973,
1875,
657,
290,
2116,
13557,
22462,
62,
43775,
14692,
31534,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
875,
9043,
62,
1008,
796,
2116,
13557,
1008,
13,
12501,
1098,
7,
22915,
62,
11600,
14692,
1008,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
875,
9043,
62,
31534,
796,
2116,
13557,
31534,
13,
12501,
1098,
7,
22915,
62,
11600,
14692,
31534,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
2116,
13557,
73,
1563,
62,
4164,
10466,
7,
12501,
9043,
62,
1008,
11,
875,
9043,
62,
31534,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
5072,
62,
11600,
628,
220,
220,
220,
2488,
2502,
81,
1460,
198,
220,
220,
220,
825,
36899,
7,
944,
11,
5072,
62,
11600,
25,
360,
713,
58,
2536,
11,
28034,
13,
51,
22854,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1482,
24040,
262,
1351,
286,
32727,
290,
11001,
29692,
771,
298,
36525,
656,
23163,
198,
220,
220,
220,
220,
220,
220,
220,
286,
32727,
329,
1123,
5002,
287,
262,
15458,
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,
5072,
62,
11600,
1058,
7559,
35,
713,
58,
2536,
11,
28034,
13,
51,
22854,
60,
15506,
11,
2672,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1255,
286,
4585,
1058,
20786,
25,
63,
11813,
63,
319,
281,
4554,
393,
15458,
286,
10245,
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,
383,
976,
5072,
22155,
11,
475,
351,
281,
3224,
7559,
565,
13654,
15506,
1994,
25,
628,
220,
220,
220,
220,
220,
220,
220,
23163,
1058,
7559,
8053,
58,
8053,
58,
8053,
58,
51,
29291,
58,
600,
11,
493,
11907,
11907,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
28376,
1351,
11,
10200,
11,
329,
1123,
4554,
287,
262,
15458,
11,
262,
1351,
286,
23163,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
543,
389,
287,
1210,
19869,
286,
257,
1351,
286,
357,
9688,
11,
886,
8,
19889,
32727,
656,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2656,
3188,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
7,
67,
86,
38014,
8,
543,
1243,
389,
1541,
875,
9043,
30,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
7295,
69,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
14692,
7295,
69,
8973,
796,
2116,
13557,
7295,
69,
13,
12501,
1098,
7,
22915,
62,
11600,
14692,
7295,
69,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
1008,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
14692,
1008,
8973,
796,
2116,
13557,
1008,
13,
12501,
1098,
7,
22915,
62,
11600,
14692,
1008,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
49501,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
14692,
49501,
8973,
796,
2116,
13557,
49501,
13,
12501,
1098,
7,
22915,
62,
11600,
14692,
49501,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
31534,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
14692,
31534,
8973,
796,
5072,
62,
11600,
14692,
31534,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
581,
628,
220,
220,
220,
825,
651,
62,
4164,
10466,
7,
944,
11,
13259,
25,
20512,
796,
10352,
8,
4613,
360,
713,
58,
2536,
11,
12178,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
477,
20731,
422,
477,
13103,
13,
1114,
262,
3392,
326,
6584,
470,
307,
9066,
11,
21231,
511,
198,
220,
220,
220,
220,
220,
220,
220,
8251,
351,
281,
44810,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
7295,
69,
796,
2116,
13557,
7295,
69,
13,
1136,
62,
4164,
10466,
7,
42503,
28,
42503,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
1008,
796,
2116,
13557,
1008,
13,
1136,
62,
4164,
10466,
7,
42503,
28,
42503,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
49501,
796,
2116,
13557,
49501,
13,
1136,
62,
4164,
10466,
7,
42503,
28,
42503,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
31534,
796,
2116,
13557,
31534,
13,
1136,
62,
4164,
10466,
7,
42503,
28,
42503,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
22462,
62,
43775,
14692,
1008,
8973,
1875,
657,
290,
2116,
13557,
22462,
62,
43775,
14692,
31534,
8973,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
73,
1563,
796,
2116,
13557,
73,
1563,
62,
4164,
10466,
13,
1136,
62,
4164,
1173,
7,
42503,
28,
42503,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20731,
62,
73,
1563,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
1654,
326,
612,
3588,
470,
597,
24916,
3891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
18663,
62,
14933,
796,
357,
4868,
7,
4164,
10466,
62,
7295,
69,
13,
13083,
28955,
1343,
1351,
7,
4164,
10466,
62,
1008,
13,
13083,
28955,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
7,
4164,
10466,
62,
49501,
13,
13083,
28955,
1343,
1351,
7,
4164,
10466,
62,
31534,
13,
13083,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
2617,
7,
4164,
1173,
62,
14933,
4008,
6624,
18896,
7,
4164,
1173,
62,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
4164,
10466,
796,
8633,
7,
4868,
7,
4164,
10466,
62,
7295,
69,
13,
23814,
28955,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
7,
4164,
10466,
62,
1008,
13,
23814,
28955,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
7,
4164,
10466,
62,
49501,
13,
23814,
28955,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
7,
4164,
10466,
62,
31534,
13,
23814,
28955,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
7,
4164,
10466,
62,
73,
1563,
13,
23814,
3419,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
645,
1351,
286,
10348,
20731,
1813,
11,
3359,
606,
477,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
13812,
62,
4164,
10466,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
477,
62,
4164,
10466,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15323,
691,
3359,
262,
6163,
3392,
13,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
11,
410,
287,
477,
62,
4164,
10466,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
287,
2116,
13557,
13812,
62,
4164,
10466,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
58,
74,
60,
796,
410,
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,
649,
62,
74,
796,
45434,
1,
1343,
479,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
58,
3605,
62,
74,
60,
796,
410,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
581,
198
] | 2.324863 | 6,572 |
"""Utility functions."""
import enum
import json
import struct
import subprocess
import time
import numpy as np
# Measurements contain 5 floats (elapsed_time, basket_resistance,
# group_resistance, basket_temperature, and group_temperature) and an int
# (state, for which 0, 1, 2, and 3 map to START, RUNNING, STOP, and STOPPED,
# respectively).
FORMAT_STRING = 'fffffi'
def compile_and_upload(fqbn, port):
"""Compiles the Arduino sketch and uploads it to the device.
Args:
fbqn: str, fully qualified board name.
port: str, upload port.
"""
subprocess.run(['arduino-cli', 'compile', '--fqbn', fqbn, 'espresso-shot'])
subprocess.run(['arduino-cli', 'upload', '-p', port, '--fqbn', fqbn,
'espresso-shot'])
def find_port_if_not_specified(fqbn, port):
"""Finds an upload port if it's left unspecified.
If `port` is None, then uses `arduino-cli board list` to find all boards
connected to the computer with the specified fully qualified board name
and sets `port` to that of the first board found.
Args:
fbqn: str, fully qualified board name.
port: str or None, upload port.
Returns:
port: str, the upload port.
Raises:
RuntimeError, if `port` is None and no board with the specified fully
qualified board name is connected to the computer.
"""
process = subprocess.Popen(
['arduino-cli', 'board', 'list', '--format', 'json'],
stdout=subprocess.PIPE)
devices = json.loads(process.communicate()[0].decode('utf-8'))
for device in devices:
if 'boards' in device and any(board['FQBN'] == fqbn
for board in device['boards']):
port = port or device['address']
break
if port is None:
raise RuntimeError('no port specified and no board with the specified '
'FQBN was found.')
return port
def read_measurement(serial_port):
"""Reads a measurement from the serial port.
Args:
serial_port: Serial, serial port to read from.
Returns:
tuple of (float, float, float, float, float, int) of form (elapsed_time,
basket_resistance, group_resistance, basket_temperature, group_temperature,
state).
"""
return struct.unpack(
FORMAT_STRING, serial_port.read(struct.calcsize(FORMAT_STRING)))
class MockSerial:
"""Mock serial port used to test the interface when no device is available.
We simulate alternating between pulling a shot for 30 seconds and letting the
machine idle for 30 seconds, but we have time run twice as fast for
convenience.
"""
| [
37811,
18274,
879,
5499,
526,
15931,
198,
11748,
33829,
198,
11748,
33918,
198,
11748,
2878,
198,
11748,
850,
14681,
198,
11748,
640,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
2,
24291,
902,
3994,
642,
36016,
357,
417,
28361,
62,
2435,
11,
7988,
62,
411,
9311,
11,
198,
2,
1448,
62,
411,
9311,
11,
7988,
62,
11498,
21069,
11,
290,
1448,
62,
11498,
21069,
8,
290,
281,
493,
198,
2,
357,
5219,
11,
329,
543,
657,
11,
352,
11,
362,
11,
290,
513,
3975,
284,
33303,
11,
32494,
15871,
11,
44934,
11,
290,
44934,
47,
1961,
11,
198,
2,
8148,
737,
198,
21389,
1404,
62,
18601,
2751,
796,
705,
12927,
12463,
6,
628,
198,
198,
4299,
17632,
62,
392,
62,
25850,
7,
69,
80,
9374,
11,
2493,
2599,
198,
220,
37227,
7293,
2915,
262,
27634,
17548,
290,
9516,
82,
340,
284,
262,
3335,
13,
628,
220,
943,
14542,
25,
198,
220,
220,
220,
277,
65,
80,
77,
25,
965,
11,
3938,
10617,
3096,
1438,
13,
198,
220,
220,
220,
2493,
25,
965,
11,
9516,
2493,
13,
198,
220,
37227,
198,
220,
850,
14681,
13,
5143,
7,
17816,
446,
84,
2879,
12,
44506,
3256,
705,
5589,
576,
3256,
705,
438,
69,
80,
9374,
3256,
277,
80,
9374,
11,
705,
9774,
33852,
12,
9442,
6,
12962,
198,
220,
850,
14681,
13,
5143,
7,
17816,
446,
84,
2879,
12,
44506,
3256,
705,
25850,
3256,
705,
12,
79,
3256,
2493,
11,
705,
438,
69,
80,
9374,
3256,
277,
80,
9374,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9774,
33852,
12,
9442,
6,
12962,
628,
198,
4299,
1064,
62,
634,
62,
361,
62,
1662,
62,
23599,
7,
69,
80,
9374,
11,
2493,
2599,
198,
220,
37227,
16742,
82,
281,
9516,
2493,
611,
340,
338,
1364,
29547,
13,
628,
220,
1002,
4600,
634,
63,
318,
6045,
11,
788,
3544,
4600,
446,
84,
2879,
12,
44506,
3096,
1351,
63,
284,
1064,
477,
11490,
198,
220,
5884,
284,
262,
3644,
351,
262,
7368,
3938,
10617,
3096,
1438,
198,
220,
290,
5621,
4600,
634,
63,
284,
326,
286,
262,
717,
3096,
1043,
13,
628,
220,
943,
14542,
25,
198,
220,
220,
220,
277,
65,
80,
77,
25,
965,
11,
3938,
10617,
3096,
1438,
13,
198,
220,
220,
220,
2493,
25,
965,
393,
6045,
11,
9516,
2493,
13,
628,
220,
16409,
25,
198,
220,
220,
220,
2493,
25,
965,
11,
262,
9516,
2493,
13,
198,
220,
220,
198,
220,
7567,
2696,
25,
198,
220,
220,
220,
43160,
12331,
11,
611,
4600,
634,
63,
318,
6045,
290,
645,
3096,
351,
262,
7368,
3938,
198,
220,
220,
220,
10617,
3096,
1438,
318,
5884,
284,
262,
3644,
13,
198,
220,
37227,
198,
220,
1429,
796,
850,
14681,
13,
47,
9654,
7,
198,
220,
220,
220,
220,
220,
37250,
446,
84,
2879,
12,
44506,
3256,
705,
3526,
3256,
705,
4868,
3256,
705,
438,
18982,
3256,
705,
17752,
6,
4357,
198,
220,
220,
220,
220,
220,
14367,
448,
28,
7266,
14681,
13,
47,
4061,
36,
8,
628,
220,
4410,
796,
33918,
13,
46030,
7,
14681,
13,
10709,
5344,
3419,
58,
15,
4083,
12501,
1098,
10786,
40477,
12,
23,
6,
4008,
198,
220,
329,
3335,
287,
4410,
25,
198,
220,
220,
220,
611,
705,
12821,
6,
287,
3335,
290,
597,
7,
3526,
17816,
37,
48,
15766,
20520,
6624,
277,
80,
9374,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3096,
287,
3335,
17816,
12821,
20520,
2599,
198,
220,
220,
220,
220,
220,
2493,
796,
2493,
393,
3335,
17816,
21975,
20520,
198,
220,
220,
220,
220,
220,
2270,
628,
220,
611,
2493,
318,
6045,
25,
198,
220,
220,
220,
5298,
43160,
12331,
10786,
3919,
2493,
7368,
290,
645,
3096,
351,
262,
7368,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
48,
15766,
373,
1043,
2637,
8,
628,
220,
1441,
2493,
628,
198,
4299,
1100,
62,
1326,
5015,
434,
7,
46911,
62,
634,
2599,
198,
220,
37227,
5569,
82,
257,
15558,
422,
262,
11389,
2493,
13,
628,
220,
943,
14542,
25,
198,
220,
220,
220,
11389,
62,
634,
25,
23283,
11,
11389,
2493,
284,
1100,
422,
13,
628,
220,
16409,
25,
198,
220,
220,
220,
46545,
286,
357,
22468,
11,
12178,
11,
12178,
11,
12178,
11,
12178,
11,
493,
8,
286,
1296,
357,
417,
28361,
62,
2435,
11,
198,
220,
220,
220,
7988,
62,
411,
9311,
11,
1448,
62,
411,
9311,
11,
7988,
62,
11498,
21069,
11,
1448,
62,
11498,
21069,
11,
198,
220,
220,
220,
1181,
737,
198,
220,
37227,
198,
220,
1441,
2878,
13,
403,
8002,
7,
198,
220,
220,
220,
220,
220,
7473,
41636,
62,
18601,
2751,
11,
11389,
62,
634,
13,
961,
7,
7249,
13,
9948,
6359,
1096,
7,
21389,
1404,
62,
18601,
2751,
22305,
628,
198,
4871,
44123,
32634,
25,
198,
220,
37227,
44,
735,
11389,
2493,
973,
284,
1332,
262,
7071,
618,
645,
3335,
318,
1695,
13,
628,
220,
775,
29308,
39623,
1022,
10427,
257,
2823,
329,
1542,
4201,
290,
9616,
262,
198,
220,
4572,
21696,
329,
1542,
4201,
11,
475,
356,
423,
640,
1057,
5403,
355,
3049,
329,
198,
220,
15607,
13,
198,
220,
37227,
198
] | 2.862416 | 894 |
from setuptools import setup, find_packages
setup(
name="gitcv",
version="0.1",
packages=find_packages(),
author="Jan Groth",
license="MIT License",
setup_requires=['pytest-runner'],
tests_require=['pytest']
)
| [
6738,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
2625,
18300,
33967,
1600,
198,
220,
220,
220,
2196,
2625,
15,
13,
16,
1600,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
22784,
198,
220,
220,
220,
1772,
2625,
12128,
10299,
400,
1600,
198,
220,
220,
220,
5964,
2625,
36393,
13789,
1600,
198,
220,
220,
220,
9058,
62,
47911,
28,
17816,
9078,
9288,
12,
16737,
6,
4357,
198,
220,
220,
220,
5254,
62,
46115,
28,
17816,
9078,
9288,
20520,
198,
8,
198
] | 2.597826 | 92 |
#!/usr/bin/env python
# coding: utf-8
# http://paulbourke.net/fractals/clifford/?curius=373
# In[13]:
import numpy as np
import math as m
import matplotlib.pyplot as plt
# In[65]:
a = -1.5
b = 1.6
c = 1.2
d = 0.7
# In[66]:
# In[ ]:
# In[77]:
sidelength = 8192
center = (sidelength // 2 , sidelength // 2)
grid = np.zeros((sidelength,sidelength))
x,y = 0,0
for i in range(30000000):
x,y = update(x,y)
posx = int(x * sidelength / 5) + center[0]
posy = int(y * sidelength / 4) + center[1]
if posx < sidelength and posx >= 0 and posy < sidelength and posy >= 0:
grid[posx][posy] += 2
else:
print(posx, posy)
# print(x,y)
# In[74]:
max(grid.flatten()), max(np.log(grid.flatten() + 1))
# In[88]:
lovely_cmaps = ["YlGn","rainbow", "gnuplot2"]
for cmap in lovely_cmaps:
plt.figure(figsize=(20,20))
plt.imshow(np.log(grid + 1), cmap=cmap)
plt.tick_params(
axis='both', # changes apply to the x-axis
which='both', # both major and minor ticks are affected
bottom=False, # ticks along the bottom edge are off
top=False, # ticks along the top edge are off
labelbottom=False,
labelleft=False,
left=False,
right=False) # labels along the bottom edge are off
plt.axis("off")
plt.savefig("convergence_orbweaver_{}.png".format(cmap))
print("convergence_orbweaver_{}.png".format(cmap))
plt.show()
# In[ ]:
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
19617,
25,
3384,
69,
12,
23,
198,
198,
2,
2638,
1378,
79,
2518,
6084,
365,
13,
3262,
14,
69,
974,
874,
14,
565,
733,
585,
20924,
22019,
3754,
28,
34770,
220,
198,
198,
2,
554,
58,
1485,
5974,
628,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
10688,
355,
285,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
628,
198,
2,
554,
58,
2996,
5974,
628,
198,
64,
796,
532,
16,
13,
20,
198,
65,
796,
352,
13,
21,
198,
66,
796,
352,
13,
17,
198,
67,
796,
657,
13,
22,
628,
198,
2,
554,
58,
2791,
5974,
628,
198,
198,
2,
554,
58,
2361,
25,
628,
628,
198,
198,
2,
554,
58,
3324,
5974,
628,
198,
82,
5943,
3286,
796,
807,
17477,
198,
16159,
796,
357,
82,
5943,
3286,
3373,
362,
837,
33614,
3286,
3373,
362,
8,
198,
25928,
796,
45941,
13,
9107,
418,
19510,
82,
5943,
3286,
11,
82,
5943,
3286,
4008,
198,
198,
87,
11,
88,
796,
657,
11,
15,
198,
1640,
1312,
287,
2837,
7,
18,
24598,
2599,
198,
220,
220,
220,
2124,
11,
88,
796,
4296,
7,
87,
11,
88,
8,
198,
220,
220,
220,
1426,
87,
796,
493,
7,
87,
1635,
33614,
3286,
1220,
642,
8,
1343,
3641,
58,
15,
60,
198,
220,
220,
220,
1426,
88,
796,
493,
7,
88,
1635,
33614,
3286,
1220,
604,
8,
1343,
3641,
58,
16,
60,
198,
220,
220,
220,
611,
1426,
87,
1279,
33614,
3286,
290,
1426,
87,
18189,
657,
290,
1426,
88,
1279,
33614,
3286,
290,
1426,
88,
18189,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10706,
58,
1930,
87,
7131,
1930,
88,
60,
15853,
362,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
1930,
87,
11,
1426,
88,
8,
198,
2,
220,
220,
220,
220,
3601,
7,
87,
11,
88,
8,
628,
198,
2,
554,
58,
4524,
5974,
628,
198,
9806,
7,
25928,
13,
2704,
41769,
3419,
828,
3509,
7,
37659,
13,
6404,
7,
25928,
13,
2704,
41769,
3419,
1343,
352,
4008,
628,
198,
2,
554,
58,
3459,
5974,
628,
198,
23205,
306,
62,
11215,
1686,
796,
14631,
56,
75,
38,
77,
2430,
3201,
8176,
1600,
366,
41791,
29487,
17,
8973,
198,
1640,
269,
8899,
287,
14081,
62,
11215,
1686,
25,
198,
220,
220,
220,
458,
83,
13,
26875,
7,
5647,
7857,
16193,
1238,
11,
1238,
4008,
198,
220,
220,
220,
458,
83,
13,
320,
12860,
7,
37659,
13,
6404,
7,
25928,
1343,
352,
828,
269,
8899,
28,
66,
8899,
8,
198,
220,
220,
220,
458,
83,
13,
42298,
62,
37266,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16488,
11639,
16885,
3256,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2458,
4174,
284,
262,
2124,
12,
22704,
198,
220,
220,
220,
220,
220,
220,
220,
543,
11639,
16885,
3256,
220,
220,
220,
220,
220,
1303,
1111,
1688,
290,
4159,
36066,
389,
5676,
198,
220,
220,
220,
220,
220,
220,
220,
4220,
28,
25101,
11,
220,
220,
220,
220,
220,
1303,
36066,
1863,
262,
4220,
5743,
389,
572,
198,
220,
220,
220,
220,
220,
220,
220,
1353,
28,
25101,
11,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
36066,
1863,
262,
1353,
5743,
389,
572,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
22487,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
9464,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1364,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
826,
28,
25101,
8,
1303,
14722,
1863,
262,
4220,
5743,
389,
572,
628,
220,
220,
220,
458,
83,
13,
22704,
7203,
2364,
4943,
198,
220,
220,
220,
458,
83,
13,
21928,
5647,
7203,
1102,
332,
12745,
62,
27688,
732,
8770,
23330,
27422,
11134,
1911,
18982,
7,
66,
8899,
4008,
198,
220,
220,
220,
3601,
7203,
1102,
332,
12745,
62,
27688,
732,
8770,
23330,
27422,
11134,
1911,
18982,
7,
66,
8899,
4008,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
628,
198,
2,
554,
58,
2361,
25,
628,
628,
198
] | 2.169591 | 684 |
# -*- coding: utf-8 -*-
import discord
from discord import Embed
from discord.ext import tasks
from datetime import datetime
import os
import requests
import random
import json
TOKEN = os.environ["TOKEN"]
client = discord.Client(intents=discord.Intents.all())
# 次回送信予定時刻を06:00-8:30までの間でランダムに設定
time_set = setting_time_set() # 起動時に初回の次回送信時刻を設定
tem_set = set_tem()
# Embedの関数
@client.event
@client.event
@tasks.loop(seconds=60)
loop.start()
client.run(TOKEN)
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
201,
198,
11748,
36446,
201,
198,
6738,
36446,
1330,
13302,
276,
201,
198,
6738,
36446,
13,
2302,
1330,
8861,
201,
198,
6738,
4818,
8079,
1330,
4818,
8079,
201,
198,
11748,
28686,
201,
198,
11748,
7007,
201,
198,
11748,
4738,
201,
198,
11748,
33918,
201,
198,
201,
198,
10468,
43959,
796,
28686,
13,
268,
2268,
14692,
10468,
43959,
8973,
201,
198,
16366,
796,
36446,
13,
11792,
7,
600,
658,
28,
15410,
585,
13,
5317,
658,
13,
439,
28955,
201,
198,
201,
198,
201,
198,
2,
10545,
105,
94,
32368,
252,
34460,
223,
46479,
94,
12859,
230,
22522,
248,
162,
25081,
26344,
119,
31758,
3312,
25,
405,
12,
23,
25,
1270,
30159,
30640,
33426,
244,
241,
30640,
48204,
27852,
25795,
28618,
164,
101,
255,
22522,
248,
201,
198,
201,
198,
201,
198,
201,
198,
2435,
62,
2617,
796,
4634,
62,
2435,
62,
2617,
3419,
220,
1303,
5525,
113,
115,
47947,
243,
162,
25081,
28618,
26344,
251,
32368,
252,
27032,
105,
94,
32368,
252,
34460,
223,
46479,
94,
162,
25081,
26344,
119,
31758,
164,
101,
255,
22522,
248,
201,
198,
11498,
62,
2617,
796,
900,
62,
11498,
3419,
201,
198,
201,
198,
201,
198,
2,
13302,
276,
33426,
244,
95,
46763,
108,
201,
198,
201,
198,
201,
198,
31,
16366,
13,
15596,
201,
198,
201,
198,
201,
198,
31,
16366,
13,
15596,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
31,
83,
6791,
13,
26268,
7,
43012,
28,
1899,
8,
201,
198,
201,
198,
201,
198,
26268,
13,
9688,
3419,
201,
198,
16366,
13,
5143,
7,
10468,
43959,
8,
201,
198
] | 1.882784 | 273 |
import os
import sys
import torch
from config import Config
from train3 import image_size
from model import SiameseNetwork
from evaluate3 import TestDataset
from torch.utils.data import DataLoader
use_gpu = False
register_dir = "./data/ct0202a/"
threshold = 50
siam_model = None
log_lines = []
##
if __name__ == '__main__':
register_dir = Config.register_dir
dog_id = None
dog_img = None
exam_dir = None
model_path = "./trained/DogSiamese-2.pkl"
for a in sys.argv[1:]:
if a.lower() == 'gpu':
use_gpu = True
else:
aa = a.split("=")
if "dog" == aa[0]:
dog_id = aa[1]
elif "img" == aa[0]:
dog_img = aa[1]
elif "exam_dir" == aa[0]:
exam_dir = aa[1]
elif "model" == aa[0]:
model_path = aa[1]
else:
register_dir = a
print('Use gpu:', use_gpu)
print('Register dir:', register_dir)
print('Dog ID to be checked:', dog_id)
print('Dog image to check:', dog_img)
if use_gpu:
siam_model = SiameseNetwork(image_size).cuda()
siam_model.load_state_dict(torch.load(model_path, map_location=torch.device('cuda:0')))
else:
siam_model = SiameseNetwork(image_size).cpu()
siam_model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
siam_model.eval()
if exam_dir:
img_paths = []
sum_lines = []
for path, subdirs, files in os.walk(exam_dir):
for name in files:
img_paths.append(os.path.join(path, name))
img_paths.sort()
for i, img in enumerate(img_paths):
find_id, similarity = find_dog(img)
if find_id:
line = "%s = %s (%s)" % (img_paths[i], find_id, similarity)
else:
line = "%s = None" % (img_paths[i],)
sum_lines.append("%s\n" % (line,))
print(line)
elif dog_id:
is_same = exam_dog(dog_id, dog_img)[0]
if is_same:
print("Yes, The dog is %s." % (dog_id,))
else:
print("No, The dog is not %s." % (dog_id,))
else:
find_id, similarity = find_dog(dog_img)
if find_id:
print("The dog is %s, similarity is %s" % (find_id, similarity))
else:
print("Cannot find the dog.")
with open("exam.log", "w") as fp:
fp.writelines(sum_lines)
fp.writelines("\nDetails ==================\n")
fp.writelines(log_lines)
| [
11748,
28686,
198,
11748,
25064,
198,
11748,
28034,
198,
6738,
4566,
1330,
17056,
198,
6738,
4512,
18,
1330,
2939,
62,
7857,
198,
6738,
2746,
1330,
15638,
1047,
68,
26245,
198,
6738,
13446,
18,
1330,
6208,
27354,
292,
316,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
198,
198,
1904,
62,
46999,
796,
10352,
198,
30238,
62,
15908,
796,
366,
19571,
7890,
14,
310,
15,
19004,
64,
30487,
198,
400,
10126,
796,
2026,
198,
82,
1789,
62,
19849,
796,
6045,
198,
6404,
62,
6615,
796,
17635,
198,
2235,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
7881,
62,
15908,
796,
17056,
13,
30238,
62,
15908,
198,
220,
220,
220,
3290,
62,
312,
796,
6045,
198,
220,
220,
220,
3290,
62,
9600,
796,
6045,
198,
220,
220,
220,
2814,
62,
15908,
796,
6045,
198,
220,
220,
220,
2746,
62,
6978,
796,
366,
19571,
35311,
14,
32942,
42801,
1047,
68,
12,
17,
13,
79,
41582,
1,
198,
220,
220,
220,
329,
257,
287,
25064,
13,
853,
85,
58,
16,
25,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
611,
257,
13,
21037,
3419,
6624,
705,
46999,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
779,
62,
46999,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
64,
796,
257,
13,
35312,
7203,
2625,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
9703,
1,
6624,
257,
64,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3290,
62,
312,
796,
257,
64,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
366,
9600,
1,
6624,
257,
64,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3290,
62,
9600,
796,
257,
64,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
366,
1069,
321,
62,
15908,
1,
6624,
257,
64,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2814,
62,
15908,
796,
257,
64,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
366,
19849,
1,
6624,
257,
64,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
6978,
796,
257,
64,
58,
16,
60,
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,
7881,
62,
15908,
796,
257,
198,
220,
220,
220,
3601,
10786,
11041,
308,
19944,
171,
120,
248,
3256,
779,
62,
46999,
8,
198,
220,
220,
220,
3601,
10786,
38804,
26672,
171,
120,
248,
3256,
7881,
62,
15908,
8,
198,
220,
220,
220,
3601,
10786,
32942,
4522,
284,
307,
10667,
171,
120,
248,
3256,
3290,
62,
312,
8,
198,
220,
220,
220,
3601,
10786,
32942,
2939,
284,
2198,
171,
120,
248,
3256,
3290,
62,
9600,
8,
628,
220,
220,
220,
611,
779,
62,
46999,
25,
198,
220,
220,
220,
220,
220,
220,
220,
264,
1789,
62,
19849,
796,
15638,
1047,
68,
26245,
7,
9060,
62,
7857,
737,
66,
15339,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
264,
1789,
62,
19849,
13,
2220,
62,
5219,
62,
11600,
7,
13165,
354,
13,
2220,
7,
19849,
62,
6978,
11,
3975,
62,
24886,
28,
13165,
354,
13,
25202,
10786,
66,
15339,
25,
15,
6,
22305,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
264,
1789,
62,
19849,
796,
15638,
1047,
68,
26245,
7,
9060,
62,
7857,
737,
36166,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
264,
1789,
62,
19849,
13,
2220,
62,
5219,
62,
11600,
7,
13165,
354,
13,
2220,
7,
19849,
62,
6978,
11,
3975,
62,
24886,
28,
13165,
354,
13,
25202,
10786,
36166,
6,
22305,
198,
220,
220,
220,
264,
1789,
62,
19849,
13,
18206,
3419,
628,
220,
220,
220,
611,
2814,
62,
15908,
25,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6978,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2160,
62,
6615,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3108,
11,
850,
15908,
82,
11,
3696,
287,
28686,
13,
11152,
7,
1069,
321,
62,
15908,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1438,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6978,
82,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
6978,
11,
1438,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6978,
82,
13,
30619,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
11,
33705,
287,
27056,
378,
7,
9600,
62,
6978,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1064,
62,
312,
11,
26789,
796,
1064,
62,
9703,
7,
9600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1064,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
36521,
82,
796,
4064,
82,
37633,
82,
16725,
4064,
357,
9600,
62,
6978,
82,
58,
72,
4357,
1064,
62,
312,
11,
26789,
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,
1627,
796,
36521,
82,
796,
6045,
1,
4064,
357,
9600,
62,
6978,
82,
58,
72,
4357,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
62,
6615,
13,
33295,
7203,
4,
82,
59,
77,
1,
4064,
357,
1370,
11,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
1370,
8,
198,
220,
220,
220,
1288,
361,
3290,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
31642,
796,
2814,
62,
9703,
7,
9703,
62,
312,
11,
3290,
62,
9600,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
31642,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5297,
11,
383,
3290,
318,
4064,
82,
526,
4064,
357,
9703,
62,
312,
11,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2949,
11,
383,
3290,
318,
407,
4064,
82,
526,
4064,
357,
9703,
62,
312,
11,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1064,
62,
312,
11,
26789,
796,
1064,
62,
9703,
7,
9703,
62,
9600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1064,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
464,
3290,
318,
4064,
82,
11,
26789,
318,
4064,
82,
1,
4064,
357,
19796,
62,
312,
11,
26789,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
34,
34574,
1064,
262,
3290,
19570,
628,
220,
220,
220,
351,
1280,
7203,
1069,
321,
13,
6404,
1600,
366,
86,
4943,
355,
277,
79,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
79,
13,
8933,
20655,
7,
16345,
62,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
79,
13,
8933,
20655,
7203,
59,
77,
24259,
36658,
28,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
277,
79,
13,
8933,
20655,
7,
6404,
62,
6615,
8,
628,
628
] | 1.944067 | 1,323 |
"""This module contains auxiliary function which we use in the example notebook."""
import json
import matplotlib.patches as mpatches
import matplotlib.pyplot as plt
from scipy.stats import norm
import pandas as pd
import numpy as np
from grmpy.estimate.estimate_output import calculate_mte
from grmpy.read.read import read
def process_data(df, output_file):
"""This function adds squared and interaction terms to the Cainero data set."""
# Delete redundant columns\n",
for key_ in ['newid', 'caseid']:
del df[key_]
# Add squared terms
for key_ in ['mhgc', 'cafqt', 'avurate', 'lurate_17', 'numsibs', 'lavlocwage17']:
str_ = key_ + 'sq'
df[str_] = df[key_] ** 2
# Add interaction terms
for j in ['pub4', 'lwage5_17', 'lurate_17', 'tuit4c']:
for i in ['cafqt', 'mhgc', 'numsibs']:
df[j + i] = df[j] * df[i]
df.to_pickle(output_file + '.pkl')
def plot_est_mte(rslt, file):
"""This function calculates the marginal treatment effect for different quartiles of the
unobservable V. ased on the calculation results."""
init_dict = read(file)
data_frame = pd.read_pickle(init_dict['ESTIMATION']['file'])
# Define the Quantiles and read in the original results
quantiles = [0.0001] + np.arange(0.01, 1., 0.01).tolist() + [0.9999]
mte_ = json.load(open('data/mte_original.json', 'r'))
mte_original = mte_[1]
mte_original_d = mte_[0]
mte_original_u = mte_[2]
# Calculate the MTE and confidence intervals
mte = calculate_mte(rslt, init_dict, data_frame, quantiles)
mte = [i / 4 for i in mte]
mte_up, mte_d = calculate_cof_int(rslt, init_dict, data_frame, mte, quantiles)
# Plot both curves
ax = plt.figure(figsize=(17.5, 10)).add_subplot(111)
ax.set_ylabel(r"$B^{MTE}$", fontsize=24)
ax.set_xlabel("$u_D$", fontsize=24)
ax.tick_params(axis='both', which='major', labelsize=18)
ax.plot(quantiles, mte, label='grmpy $B^{MTE}$', color='blue', linewidth=4)
ax.plot(quantiles, mte_up, color='blue', linestyle=':', linewidth=3)
ax.plot(quantiles, mte_d, color='blue', linestyle=':', linewidth=3)
ax.plot(quantiles, mte_original, label='original$B^{MTE}$', color='orange', linewidth=4)
ax.plot(quantiles, mte_original_d, color='orange', linestyle=':',linewidth=3)
ax.plot(quantiles, mte_original_u, color='orange', linestyle=':', linewidth=3)
ax.set_ylim([-0.41, 0.51])
ax.set_xlim([-0.005, 1.005])
blue_patch = mpatches.Patch(color='blue', label='original $B^{MTE}$')
orange_patch = mpatches.Patch(color='orange', label='grmpy $B^{MTE}$')
plt.legend(handles=[blue_patch, orange_patch],prop={'size': 16})
plt.show()
return mte
def calculate_cof_int(rslt, init_dict, data_frame, mte, quantiles):
"""This function calculates the confidence interval of the marginal treatment effect."""
# Import parameters and inverse hessian matrix
hess_inv = rslt['AUX']['hess_inv'] / data_frame.shape[0]
params = rslt['AUX']['x_internal']
# Distribute parameters
dist_cov = hess_inv[-4:, -4:]
param_cov = hess_inv[:46, :46]
dist_gradients = np.array([params[-4], params[-3], params[-2], params[-1]])
# Process data
covariates = init_dict['TREATED']['order']
x = np.mean(data_frame[covariates]).tolist()
x_neg = [-i for i in x]
x += x_neg
x = np.array(x)
# Create auxiliary parameters
part1 = np.dot(x, np.dot(param_cov, x))
part2 = np.dot(dist_gradients, np.dot(dist_cov, dist_gradients))
# Prepare two lists for storing the values
mte_up = []
mte_d = []
# Combine all auxiliary parameters and calculate the confidence intervals
for counter, i in enumerate(quantiles):
value = part2 * (norm.ppf(i)) ** 2
aux = np.sqrt(part1 + value) / 4
mte_up += [mte[counter] + norm.ppf(0.95) * aux]
mte_d += [mte[counter] - norm.ppf(0.95) * aux]
return mte_up, mte_d
| [
37811,
1212,
8265,
4909,
37419,
2163,
543,
356,
779,
287,
262,
1672,
20922,
526,
15931,
198,
11748,
33918,
198,
198,
11748,
2603,
29487,
8019,
13,
8071,
2052,
355,
285,
8071,
2052,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
629,
541,
88,
13,
34242,
1330,
2593,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
1036,
3149,
88,
13,
395,
1920,
13,
395,
1920,
62,
22915,
1330,
15284,
62,
76,
660,
198,
6738,
1036,
3149,
88,
13,
961,
13,
961,
1330,
1100,
628,
198,
4299,
1429,
62,
7890,
7,
7568,
11,
5072,
62,
7753,
2599,
198,
220,
220,
220,
37227,
1212,
2163,
6673,
44345,
290,
10375,
2846,
284,
262,
28370,
3529,
1366,
900,
526,
15931,
628,
220,
220,
220,
1303,
23520,
30806,
15180,
59,
77,
1600,
198,
220,
220,
220,
329,
1994,
62,
287,
37250,
3605,
312,
3256,
705,
7442,
312,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
1619,
47764,
58,
2539,
62,
60,
628,
220,
220,
220,
1303,
3060,
44345,
2846,
198,
220,
220,
220,
329,
1994,
62,
287,
37250,
76,
71,
36484,
3256,
705,
66,
1878,
39568,
3256,
705,
615,
15537,
3256,
705,
75,
15537,
62,
1558,
3256,
705,
77,
5700,
571,
82,
3256,
705,
18809,
17946,
21482,
1558,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
965,
62,
796,
1994,
62,
1343,
705,
31166,
6,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
58,
2536,
62,
60,
796,
47764,
58,
2539,
62,
60,
12429,
362,
628,
220,
220,
220,
1303,
3060,
10375,
2846,
198,
220,
220,
220,
329,
474,
287,
37250,
12984,
19,
3256,
705,
75,
21482,
20,
62,
1558,
3256,
705,
75,
15537,
62,
1558,
3256,
705,
83,
5013,
19,
66,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
37250,
66,
1878,
39568,
3256,
705,
76,
71,
36484,
3256,
705,
77,
5700,
571,
82,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47764,
58,
73,
1343,
1312,
60,
796,
47764,
58,
73,
60,
1635,
47764,
58,
72,
60,
628,
220,
220,
220,
47764,
13,
1462,
62,
27729,
293,
7,
22915,
62,
7753,
1343,
45302,
79,
41582,
11537,
628,
220,
220,
220,
220,
198,
4299,
7110,
62,
395,
62,
76,
660,
7,
3808,
2528,
11,
2393,
2599,
198,
220,
220,
220,
37227,
1212,
2163,
43707,
262,
14461,
3513,
1245,
329,
1180,
28176,
2915,
286,
262,
198,
220,
220,
220,
41511,
3168,
540,
569,
13,
355,
276,
319,
262,
17952,
2482,
526,
15931,
628,
220,
220,
220,
2315,
62,
11600,
796,
1100,
7,
7753,
8,
198,
220,
220,
220,
1366,
62,
14535,
796,
279,
67,
13,
961,
62,
27729,
293,
7,
15003,
62,
11600,
17816,
6465,
3955,
6234,
6,
7131,
6,
7753,
6,
12962,
628,
220,
220,
220,
1303,
2896,
500,
262,
16972,
2915,
290,
1100,
287,
262,
2656,
2482,
198,
220,
220,
220,
5554,
2915,
796,
685,
15,
13,
18005,
60,
1343,
45941,
13,
283,
858,
7,
15,
13,
486,
11,
352,
1539,
657,
13,
486,
737,
83,
349,
396,
3419,
1343,
685,
15,
13,
24214,
60,
198,
220,
220,
220,
285,
660,
62,
796,
33918,
13,
2220,
7,
9654,
10786,
7890,
14,
76,
660,
62,
14986,
13,
17752,
3256,
705,
81,
6,
4008,
198,
220,
220,
220,
285,
660,
62,
14986,
796,
285,
660,
62,
58,
16,
60,
198,
220,
220,
220,
285,
660,
62,
14986,
62,
67,
796,
285,
660,
62,
58,
15,
60,
198,
220,
220,
220,
285,
660,
62,
14986,
62,
84,
796,
285,
660,
62,
58,
17,
60,
628,
220,
220,
220,
1303,
27131,
378,
262,
337,
9328,
290,
6628,
20016,
198,
220,
220,
220,
285,
660,
796,
15284,
62,
76,
660,
7,
3808,
2528,
11,
2315,
62,
11600,
11,
1366,
62,
14535,
11,
5554,
2915,
8,
198,
220,
220,
220,
285,
660,
796,
685,
72,
1220,
604,
329,
1312,
287,
285,
660,
60,
198,
220,
220,
220,
285,
660,
62,
929,
11,
285,
660,
62,
67,
796,
15284,
62,
1073,
69,
62,
600,
7,
3808,
2528,
11,
2315,
62,
11600,
11,
1366,
62,
14535,
11,
285,
660,
11,
5554,
2915,
8,
628,
220,
220,
220,
1303,
28114,
1111,
23759,
198,
220,
220,
220,
7877,
796,
458,
83,
13,
26875,
7,
5647,
7857,
16193,
1558,
13,
20,
11,
838,
29720,
2860,
62,
7266,
29487,
7,
16243,
8,
628,
220,
220,
220,
7877,
13,
2617,
62,
2645,
9608,
7,
81,
1,
3,
33,
36796,
44,
9328,
92,
3,
1600,
10369,
7857,
28,
1731,
8,
198,
220,
220,
220,
7877,
13,
2617,
62,
87,
18242,
7203,
3,
84,
62,
35,
3,
1600,
10369,
7857,
28,
1731,
8,
198,
220,
220,
220,
7877,
13,
42298,
62,
37266,
7,
22704,
11639,
16885,
3256,
543,
11639,
22478,
3256,
14722,
1096,
28,
1507,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
11,
6167,
11639,
2164,
3149,
88,
720,
33,
36796,
44,
9328,
92,
3,
3256,
3124,
11639,
17585,
3256,
9493,
413,
5649,
28,
19,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
62,
929,
11,
3124,
11639,
17585,
3256,
9493,
10992,
28,
10354,
3256,
9493,
413,
5649,
28,
18,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
62,
67,
11,
3124,
11639,
17585,
3256,
9493,
10992,
28,
10354,
3256,
9493,
413,
5649,
28,
18,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
62,
14986,
11,
6167,
11639,
14986,
3,
33,
36796,
44,
9328,
92,
3,
3256,
3124,
11639,
43745,
3256,
9493,
413,
5649,
28,
19,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
62,
14986,
62,
67,
11,
3124,
11639,
43745,
3256,
9493,
10992,
28,
10354,
3256,
2815,
413,
5649,
28,
18,
8,
198,
220,
220,
220,
7877,
13,
29487,
7,
40972,
2915,
11,
285,
660,
62,
14986,
62,
84,
11,
3124,
11639,
43745,
3256,
9493,
10992,
28,
10354,
3256,
9493,
413,
5649,
28,
18,
8,
198,
220,
220,
220,
7877,
13,
2617,
62,
88,
2475,
26933,
12,
15,
13,
3901,
11,
657,
13,
4349,
12962,
198,
220,
220,
220,
7877,
13,
2617,
62,
87,
2475,
26933,
12,
15,
13,
22544,
11,
352,
13,
22544,
12962,
628,
220,
220,
220,
4171,
62,
17147,
796,
285,
8071,
2052,
13,
33952,
7,
8043,
11639,
17585,
3256,
6167,
11639,
14986,
720,
33,
36796,
44,
9328,
92,
3,
11537,
198,
220,
220,
220,
10912,
62,
17147,
796,
285,
8071,
2052,
13,
33952,
7,
8043,
11639,
43745,
3256,
6167,
11639,
2164,
3149,
88,
720,
33,
36796,
44,
9328,
92,
3,
11537,
198,
220,
220,
220,
458,
83,
13,
1455,
437,
7,
4993,
829,
41888,
17585,
62,
17147,
11,
10912,
62,
17147,
4357,
22930,
34758,
6,
7857,
10354,
1467,
30072,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
628,
220,
220,
220,
1441,
285,
660,
198,
198,
4299,
15284,
62,
1073,
69,
62,
600,
7,
3808,
2528,
11,
2315,
62,
11600,
11,
1366,
62,
14535,
11,
285,
660,
11,
5554,
2915,
2599,
198,
220,
220,
220,
37227,
1212,
2163,
43707,
262,
6628,
16654,
286,
262,
14461,
3513,
1245,
526,
15931,
628,
220,
220,
220,
1303,
17267,
10007,
290,
34062,
339,
824,
666,
17593,
198,
220,
220,
220,
339,
824,
62,
16340,
796,
44608,
2528,
17816,
26830,
55,
6,
7131,
6,
33979,
62,
16340,
20520,
1220,
1366,
62,
14535,
13,
43358,
58,
15,
60,
198,
220,
220,
220,
42287,
796,
44608,
2528,
17816,
26830,
55,
6,
7131,
6,
87,
62,
32538,
20520,
628,
220,
220,
220,
1303,
4307,
4163,
10007,
198,
220,
220,
220,
1233,
62,
66,
709,
796,
339,
824,
62,
16340,
58,
12,
19,
45299,
532,
19,
47715,
198,
220,
220,
220,
5772,
62,
66,
709,
796,
339,
824,
62,
16340,
58,
25,
3510,
11,
1058,
3510,
60,
198,
220,
220,
220,
1233,
62,
9744,
2334,
796,
45941,
13,
18747,
26933,
37266,
58,
12,
19,
4357,
42287,
58,
12,
18,
4357,
42287,
58,
12,
17,
4357,
42287,
58,
12,
16,
11907,
8,
628,
220,
220,
220,
1303,
10854,
1366,
198,
220,
220,
220,
44829,
689,
796,
2315,
62,
11600,
17816,
51,
2200,
11617,
6,
7131,
6,
2875,
20520,
198,
220,
220,
220,
2124,
796,
45941,
13,
32604,
7,
7890,
62,
14535,
58,
66,
709,
2743,
689,
35944,
83,
349,
396,
3419,
198,
220,
220,
220,
2124,
62,
12480,
796,
25915,
72,
329,
1312,
287,
2124,
60,
198,
220,
220,
220,
2124,
15853,
2124,
62,
12480,
198,
220,
220,
220,
2124,
796,
45941,
13,
18747,
7,
87,
8,
628,
220,
220,
220,
1303,
13610,
37419,
10007,
198,
220,
220,
220,
636,
16,
796,
45941,
13,
26518,
7,
87,
11,
45941,
13,
26518,
7,
17143,
62,
66,
709,
11,
2124,
4008,
198,
220,
220,
220,
636,
17,
796,
45941,
13,
26518,
7,
17080,
62,
9744,
2334,
11,
45941,
13,
26518,
7,
17080,
62,
66,
709,
11,
1233,
62,
9744,
2334,
4008,
198,
220,
220,
220,
1303,
43426,
734,
8341,
329,
23069,
262,
3815,
198,
220,
220,
220,
285,
660,
62,
929,
796,
17635,
198,
220,
220,
220,
285,
660,
62,
67,
796,
17635,
628,
220,
220,
220,
1303,
29176,
477,
37419,
10007,
290,
15284,
262,
6628,
20016,
198,
220,
220,
220,
329,
3753,
11,
1312,
287,
27056,
378,
7,
40972,
2915,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
636,
17,
1635,
357,
27237,
13,
381,
69,
7,
72,
4008,
12429,
362,
198,
220,
220,
220,
220,
220,
220,
220,
27506,
796,
45941,
13,
31166,
17034,
7,
3911,
16,
1343,
1988,
8,
1220,
604,
198,
220,
220,
220,
220,
220,
220,
220,
285,
660,
62,
929,
15853,
685,
76,
660,
58,
24588,
60,
1343,
2593,
13,
381,
69,
7,
15,
13,
3865,
8,
1635,
27506,
60,
198,
220,
220,
220,
220,
220,
220,
220,
285,
660,
62,
67,
15853,
685,
76,
660,
58,
24588,
60,
532,
2593,
13,
381,
69,
7,
15,
13,
3865,
8,
1635,
27506,
60,
628,
220,
220,
220,
1441,
285,
660,
62,
929,
11,
285,
660,
62,
67,
198
] | 2.392535 | 1,661 |
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
"""
Contains the models/tables for the kumbhmela_db.sqlite3
database.
Every field has (when necessary) a 'help_text' that
explains the meaning of the field.
"""
__author__ = "Louis Dijkstra"
@python_2_unicode_compatible
class Drive(models.Model):
"""
Table/model to represent (a collection of) drive(s).
"""
label = models.CharField(max_length=50,
help_text="Label added to the drive, e.g., 'kumbhmela_5'.")
external = models.BooleanField(default=False,
help_text="True when the drive is external and false otherwise.")
time_added = models.DateTimeField(blank=True,
null=True,
help_text="Time when the drive was added to the drive bay.")
time_removed = models.DateTimeField(blank=True,
null=True,
help_text="Time when the drive was removed from the drive bay.")
whereabouts = models.TextField(max_length=1000,
blank=True,
help_text="Whereabouts of this drive copy, e.g., who had it lasts, where is it now etc. (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Additional notes on this (collection of) drive(s) (optional).")
@python_2_unicode_compatible
class DriveCopy(models.Model):
"""
Every Drive might have several copies. This table/model
is used to keep track of them.
"""
drive = models.ForeignKey(Drive, on_delete=models.CASCADE,
help_text="The unique drive it is a copy of.")
label = models.CharField(max_length=50,
help_text="Label added to the drive, e.g., 'kumbhmela_5II'.")
number = models.IntegerField(help_text="Drive copy number.")
whereabouts = models.TextField(max_length=1000,
blank=True,
help_text="Whereabouts of this drive copy, e.g., who had it lasts, where is it now etc. (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Additional notes on this drive copy (optional).")
@python_2_unicode_compatible
class Person(models.Model):
"""
Table/Model to represent a person
"""
name = models.CharField(max_length=100,
help_text="First and last name.")
email = models.CharField(max_length=200,
blank=True,
help_text="Email address(es) (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Notes (optional).")
@python_2_unicode_compatible
class Experiment(models.Model):
"""
Table/Model to represent the various subexperiments
"""
# every experiment is linked to a contact person
contactperson = models.ForeignKey(Person, on_delete=models.CASCADE,
help_text="Main contact person for this subexperiment.")
name = models.CharField(max_length=100,
help_text="Name of the subexperiment.")
number = models.IntegerField(help_text="Number of the subexperiment.")
description = models.TextField(max_length=1000,
blank=True,
help_text="Short description of the experiment (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Additional notes on the subexperiment (optional).")
@python_2_unicode_compatible
class Format(models.Model):
"""
Table/model to represent a file format, i.e.,
the format in which output of a sensor is stored
"""
extension = models.CharField(max_length=50,
help_text="Extension of the file (in small letters!), e.g., '.txt' and not '.TXT'.")
description = models.TextField(max_length=10000,
blank=True,
help_text="Description of the file format (optional).")
@python_2_unicode_compatible
class Location(models.Model):
"""
Table/model to represent a (geo)location
"""
latitude = models.FloatField(blank=True, help_text="Optional.")
longitude = models.FloatField(blank=True, help_text="Optional.")
description = models.TextField(max_length=1000,
blank=True,
help_text="Description of the location (optional).")
@python_2_unicode_compatible
class Sensor(models.Model):
"""
Table/model to represent a sensor (e.g., camera/GPS device)
"""
sensor_type = models.CharField(max_length=100,
help_text="Short description of the sensor, e.g., 'GoPro Camera'.")
location = models.ManyToManyField(Location,
blank=True,
help_text="The location for this sensor (optional).")
format = models.ManyToManyField(Format,
blank=True,
help_text="The format for the output of this sensor (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Notes for this sensor (optional).")
@python_2_unicode_compatible
class Source(models.Model):
"""
Table/model to represent a data source (e.g., 'Local police')
"""
name = models.CharField(max_length=200,
help_text="Name of the data source (e.g., 'Local Police')")
note = models.TextField(max_length=1000,
blank=True,
help_text="Additional notes on this data source (optional).")
@python_2_unicode_compatible
class File(models.Model):
"""
The main table/model for this app. It is used to keep track
of all files on the various drives for the Kumbh Mela experiment.
"""
# a file can be stored a several drives:
drive = models.ManyToManyField(Drive,
through='StorageLocation',
help_text="The drives on which the file is stored.")
format = models.ForeignKey(Format,
on_delete=models.CASCADE,
blank=True,
null=True,
help_text="Format of the file (optional).")
experiment = models.ManyToManyField(Experiment,
blank=True,
help_text="The subexperiment this file belongs to (optional).")
source = models.ForeignKey(Source,
on_delete=models.CASCADE,
blank=True,
null=True,
help_text="The data source (optional).")
sensor = models.ForeignKey(Sensor,
on_delete=models.CASCADE,
blank=True,
null=True,
help_text="Sensor used to obtain the data (optional).")
location = models.ForeignKey(Location,
on_delete=models.CASCADE,
blank=True,
null=True,
help_text="Location where the recording took place (optional).")
time_added = models.DateTimeField(auto_now=True,
blank=True,
help_text="Time when the drive was added to the drive bay (optional).")
size = models.IntegerField(blank=True,
null=True,
help_text="Size in bytes (optional).")
start_recording = models.DateTimeField(blank=True,
null=True,
help_text="Time when the recording started (optional).")
end_recording = models.DateTimeField(blank=True,
null=True,
help_text="Time when the recording ended (optional).")
note = models.TextField(max_length=1000,
blank=True,
help_text="Additional notes on this file (optional).")
def __str__(self):
"""Returns the file path"""
filepaths = set()
n_copies = 0 # the number of copies
for storagelocation in self.storagelocation_set.all():
filepaths.add(storagelocation.path)
n_copies += 1
if n_copies == 1:
return ', '.join(filepaths) + ' (1 copy)'
return ', '.join(filepaths) + ' (%s copies)'%(int(n_copies))
class StorageLocation(models.Model):
"""
A location where a specific file is stored. This model/table
links files and drives together. (Each file can be stored on
multiple drives under different names).
"""
drive = models.ForeignKey(Drive,
on_delete=models.CASCADE)
file = models.ForeignKey(File,
on_delete=models.CASCADE)
path = models.CharField(max_length=300,
help_text="Path of the file on the drive.")
| [
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
6738,
42625,
14208,
13,
26791,
13,
12685,
7656,
1330,
21015,
62,
17,
62,
46903,
1098,
62,
38532,
198,
198,
37811,
220,
198,
197,
4264,
1299,
262,
4981,
14,
83,
2977,
329,
262,
479,
2178,
23940,
10304,
62,
9945,
13,
25410,
578,
18,
198,
197,
48806,
13,
220,
628,
197,
6109,
2214,
468,
357,
12518,
3306,
8,
257,
705,
16794,
62,
5239,
6,
326,
220,
198,
197,
20676,
1299,
262,
3616,
286,
262,
2214,
13,
220,
198,
37811,
198,
198,
834,
9800,
834,
796,
366,
32117,
360,
45961,
12044,
1,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
9974,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
19849,
284,
2380,
357,
64,
4947,
286,
8,
3708,
7,
82,
737,
220,
198,
197,
37811,
198,
197,
18242,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
1120,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
33986,
2087,
284,
262,
3708,
11,
304,
13,
70,
1539,
705,
74,
2178,
23940,
10304,
62,
20,
6,
19570,
198,
197,
22615,
220,
197,
796,
4981,
13,
46120,
13087,
15878,
7,
12286,
28,
25101,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17821,
618,
262,
3708,
318,
7097,
290,
3991,
4306,
19570,
198,
197,
2435,
62,
29373,
220,
220,
796,
4981,
13,
10430,
7575,
15878,
7,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
7575,
618,
262,
3708,
373,
2087,
284,
262,
3708,
15489,
19570,
198,
197,
2435,
62,
2787,
2668,
796,
4981,
13,
10430,
7575,
15878,
7,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
7575,
618,
262,
3708,
373,
4615,
422,
262,
3708,
15489,
19570,
198,
197,
3003,
27880,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
8496,
27880,
286,
428,
3708,
4866,
11,
304,
13,
70,
1539,
508,
550,
340,
20374,
11,
810,
318,
340,
783,
3503,
13,
357,
25968,
8,
19570,
198,
197,
11295,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17699,
4710,
319,
428,
357,
43681,
286,
8,
3708,
7,
82,
8,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
9974,
29881,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
6109,
9974,
1244,
423,
1811,
9088,
13,
770,
3084,
14,
19849,
198,
197,
197,
271,
973,
284,
1394,
2610,
286,
606,
13,
220,
198,
197,
37811,
198,
197,
19472,
220,
197,
197,
796,
4981,
13,
33616,
9218,
7,
24825,
11,
319,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
3748,
3708,
340,
318,
257,
4866,
286,
19570,
198,
197,
18242,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
1120,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
33986,
2087,
284,
262,
3708,
11,
304,
13,
70,
1539,
705,
74,
2178,
23940,
10304,
62,
20,
3978,
6,
19570,
198,
197,
17618,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
46541,
15878,
7,
16794,
62,
5239,
2625,
24825,
4866,
1271,
19570,
198,
197,
3003,
27880,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
8496,
27880,
286,
428,
3708,
4866,
11,
304,
13,
70,
1539,
508,
550,
340,
20374,
11,
810,
318,
340,
783,
3503,
13,
357,
25968,
8,
19570,
198,
197,
11295,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17699,
4710,
319,
428,
3708,
4866,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
7755,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
17633,
284,
2380,
257,
1048,
220,
198,
197,
37811,
198,
197,
3672,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
3064,
11,
198,
197,
197,
197,
197,
16794,
62,
5239,
2625,
5962,
290,
938,
1438,
19570,
198,
197,
12888,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
2167,
11,
220,
198,
197,
197,
197,
197,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
16794,
62,
5239,
2625,
15333,
2209,
7,
274,
8,
357,
25968,
8,
19570,
198,
197,
11295,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
16794,
62,
5239,
2625,
16130,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
29544,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
17633,
284,
2380,
262,
2972,
850,
23100,
6800,
198,
197,
37811,
197,
198,
197,
2,
790,
6306,
318,
6692,
284,
257,
2800,
1048,
220,
198,
197,
32057,
6259,
796,
4981,
13,
33616,
9218,
7,
15439,
11,
319,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
13383,
2800,
1048,
329,
428,
850,
23100,
3681,
19570,
198,
197,
3672,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
3064,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
5376,
286,
262,
850,
23100,
3681,
19570,
198,
197,
17618,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
46541,
15878,
7,
16794,
62,
5239,
2625,
15057,
286,
262,
850,
23100,
3681,
19570,
198,
197,
11213,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
16438,
6764,
286,
262,
6306,
357,
25968,
8,
19570,
198,
197,
11295,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17699,
4710,
319,
262,
850,
23100,
3681,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
18980,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
19849,
284,
2380,
257,
2393,
5794,
11,
1312,
13,
68,
1539,
220,
198,
197,
197,
1169,
5794,
287,
543,
5072,
286,
257,
12694,
318,
8574,
198,
197,
37811,
198,
197,
2302,
3004,
220,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
1120,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
11627,
3004,
286,
262,
2393,
357,
259,
1402,
7475,
26290,
304,
13,
70,
1539,
45302,
14116,
6,
290,
407,
45302,
51,
25010,
6,
19570,
198,
197,
11213,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
49388,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
11828,
286,
262,
2393,
5794,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
13397,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
19849,
284,
2380,
257,
357,
469,
78,
8,
24886,
198,
197,
37811,
198,
197,
15460,
3984,
220,
220,
220,
796,
4981,
13,
43879,
15878,
7,
27190,
28,
17821,
11,
1037,
62,
5239,
2625,
30719,
19570,
198,
197,
6511,
3984,
220,
220,
796,
4981,
13,
43879,
15878,
7,
27190,
28,
17821,
11,
1037,
62,
5239,
2625,
30719,
19570,
198,
197,
11213,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
11828,
286,
262,
4067,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
35367,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
220,
198,
197,
197,
10962,
14,
19849,
284,
2380,
257,
12694,
357,
68,
13,
70,
1539,
4676,
14,
38,
3705,
3335,
8,
198,
197,
37811,
198,
197,
82,
22854,
62,
4906,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
3064,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
16438,
6764,
286,
262,
12694,
11,
304,
13,
70,
1539,
705,
5247,
2964,
20432,
6,
19570,
198,
197,
24886,
220,
220,
220,
796,
4981,
13,
7085,
2514,
7085,
15878,
7,
14749,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
4067,
329,
428,
12694,
357,
25968,
8,
19570,
198,
197,
18982,
220,
220,
220,
220,
220,
796,
4981,
13,
7085,
2514,
7085,
15878,
7,
26227,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
5794,
329,
262,
5072,
286,
428,
12694,
357,
25968,
8,
19570,
198,
197,
11295,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
16130,
329,
428,
12694,
357,
25968,
8,
19570,
198,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
8090,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
10962,
14,
19849,
284,
2380,
257,
1366,
2723,
357,
68,
13,
70,
1539,
705,
14565,
1644,
11537,
198,
197,
37811,
198,
197,
3672,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
2167,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
5376,
286,
262,
1366,
2723,
357,
68,
13,
70,
1539,
705,
14565,
4287,
11537,
4943,
198,
197,
11295,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17699,
4710,
319,
428,
1366,
2723,
357,
25968,
8,
19570,
628,
198,
31,
29412,
62,
17,
62,
46903,
1098,
62,
38532,
198,
4871,
9220,
7,
27530,
13,
17633,
2599,
220,
198,
197,
37811,
198,
197,
197,
464,
1388,
3084,
14,
19849,
329,
428,
598,
13,
632,
318,
973,
284,
1394,
2610,
198,
197,
197,
1659,
477,
3696,
319,
262,
2972,
10182,
329,
262,
509,
2178,
71,
5616,
64,
6306,
13,
220,
198,
197,
37811,
198,
197,
198,
197,
2,
257,
2393,
460,
307,
8574,
257,
1811,
10182,
25,
198,
197,
19472,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
7085,
2514,
7085,
15878,
7,
24825,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
9579,
11639,
31425,
14749,
3256,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
10182,
319,
543,
262,
2393,
318,
8574,
19570,
198,
197,
18982,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
33616,
9218,
7,
26227,
11,
198,
197,
197,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
26227,
286,
262,
2393,
357,
25968,
8,
19570,
198,
197,
23100,
3681,
220,
220,
220,
220,
220,
796,
4981,
13,
7085,
2514,
7085,
15878,
7,
20468,
3681,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
850,
23100,
3681,
428,
2393,
14448,
284,
357,
25968,
8,
19570,
197,
198,
197,
10459,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
33616,
9218,
7,
7416,
11,
198,
197,
197,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
464,
1366,
2723,
357,
25968,
8,
19570,
198,
197,
82,
22854,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
33616,
9218,
7,
47864,
11,
198,
197,
197,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
47864,
973,
284,
7330,
262,
1366,
357,
25968,
8,
19570,
198,
197,
24886,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
33616,
9218,
7,
14749,
11,
198,
197,
197,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
11,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
14749,
810,
262,
8296,
1718,
1295,
357,
25968,
8,
19570,
198,
197,
2435,
62,
29373,
220,
220,
220,
220,
220,
796,
4981,
13,
10430,
7575,
15878,
7,
23736,
62,
2197,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
7575,
618,
262,
3708,
373,
2087,
284,
262,
3708,
15489,
357,
25968,
8,
19570,
198,
197,
7857,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
46541,
15878,
7,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
10699,
287,
9881,
357,
25968,
8,
19570,
198,
197,
9688,
62,
8344,
1284,
796,
4981,
13,
10430,
7575,
15878,
7,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
7575,
618,
262,
8296,
2067,
357,
25968,
8,
19570,
220,
198,
197,
437,
62,
8344,
1284,
220,
220,
796,
4981,
13,
10430,
7575,
15878,
7,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
8423,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
7575,
618,
262,
8296,
4444,
357,
25968,
8,
19570,
220,
198,
197,
11295,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4981,
13,
8206,
15878,
7,
9806,
62,
13664,
28,
12825,
11,
198,
197,
197,
197,
197,
197,
197,
197,
27190,
28,
17821,
11,
220,
198,
197,
197,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
17699,
4710,
319,
428,
2393,
357,
25968,
8,
19570,
628,
197,
4299,
11593,
2536,
834,
7,
944,
2599,
220,
198,
197,
197,
37811,
35561,
262,
2393,
3108,
37811,
198,
197,
197,
7753,
6978,
82,
796,
900,
3419,
198,
197,
197,
77,
62,
22163,
444,
796,
657,
1303,
262,
1271,
286,
9088,
628,
197,
197,
1640,
336,
273,
363,
417,
5040,
287,
2116,
13,
301,
273,
363,
417,
5040,
62,
2617,
13,
439,
33529,
220,
198,
197,
197,
197,
7753,
6978,
82,
13,
2860,
7,
301,
273,
363,
417,
5040,
13,
6978,
8,
198,
197,
197,
197,
77,
62,
22163,
444,
15853,
352,
628,
197,
197,
361,
299,
62,
22163,
444,
6624,
352,
25,
220,
198,
197,
197,
197,
7783,
46083,
45302,
22179,
7,
7753,
6978,
82,
8,
1343,
705,
357,
16,
4866,
33047,
628,
197,
197,
7783,
46083,
45302,
22179,
7,
7753,
6978,
82,
8,
1343,
705,
37633,
82,
9088,
33047,
4,
7,
600,
7,
77,
62,
22163,
444,
4008,
628,
198,
4871,
20514,
14749,
7,
27530,
13,
17633,
2599,
198,
197,
37811,
198,
197,
197,
32,
4067,
810,
257,
2176,
2393,
318,
8574,
13,
770,
2746,
14,
11487,
198,
197,
197,
28751,
3696,
290,
10182,
1978,
13,
357,
10871,
2393,
460,
307,
8574,
319,
198,
197,
197,
48101,
10182,
739,
1180,
3891,
737,
198,
197,
37811,
198,
197,
19472,
796,
4981,
13,
33616,
9218,
7,
24825,
11,
198,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
8,
198,
197,
7753,
220,
796,
4981,
13,
33616,
9218,
7,
8979,
11,
198,
197,
197,
197,
197,
197,
261,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
8,
198,
197,
6978,
220,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
6200,
11,
198,
197,
197,
197,
197,
197,
16794,
62,
5239,
2625,
15235,
286,
262,
2393,
319,
262,
3708,
19570,
628
] | 2.604258 | 2,959 |
"""Plotting methods for warm and cold fronts."""
import numpy
import matplotlib
matplotlib.use('agg')
import matplotlib.colors
from gewittergefahr.gg_utils import longitude_conversion as lng_conversion
from gewittergefahr.gg_utils import error_checking
from generalexam.ge_utils import front_utils
from generalexam.plotting import narr_plotting
DEFAULT_WARM_FRONT_COLOUR = numpy.array([228., 26., 28.]) / 255
DEFAULT_COLD_FRONT_COLOUR = numpy.array([31., 120., 180.]) / 255
DEFAULT_LINE_WIDTH = 2.
DEFAULT_LINE_STYLE = 'solid'
DEFAULT_GRID_OPACITY = 0.5
DEFAULT_WF_MARKER_TYPE = 'o'
DEFAULT_CF_MARKER_TYPE = '>'
DEFAULT_MARKER_SPACING_METRES = 150000.
DEFAULT_MARKER_SIZE = 12
DEFAULT_MARKER_COLOUR = numpy.array([31, 120, 180], dtype=float) / 255
def get_colour_map_for_grid():
"""Returns colour map for frontal grid (to be used by `plot_frontal_grid`).
N = number of colours
:return: colour_map_object: Instance of `matplotlib.colors.ListedColormap`.
:return: colour_norm_object: Instance of `matplotlib.colors.BoundaryNorm`.
:return: colour_bounds: length-(N + 1) numpy array of colour boundaries.
colour_bounds[0] and colour_bounds[1] are the boundaries for the 1st
colour; colour_bounds[1] and colour_bounds[2] are the boundaries for the
2nd colour; ...; etc.
"""
main_colour_list = [DEFAULT_WARM_FRONT_COLOUR, DEFAULT_COLD_FRONT_COLOUR]
colour_map_object = matplotlib.colors.ListedColormap(main_colour_list)
colour_map_object.set_under(numpy.array([1., 1., 1.]))
colour_map_object.set_over(numpy.array([1., 1., 1.]))
main_colour_bounds = numpy.array(
[front_utils.WARM_FRONT_INTEGER_ID - 0.5,
front_utils.WARM_FRONT_INTEGER_ID + 0.5,
front_utils.COLD_FRONT_INTEGER_ID])
colour_norm_object = matplotlib.colors.BoundaryNorm(
main_colour_bounds, colour_map_object.N)
colour_bounds = numpy.concatenate((
numpy.array([-100.]), main_colour_bounds, numpy.array([100.])))
return colour_map_object, colour_norm_object, colour_bounds
def plot_front_with_markers(
line_latitudes_deg, line_longitudes_deg, axes_object, basemap_object,
marker_spacing_metres=DEFAULT_MARKER_SPACING_METRES,
marker_type=None, front_type_string=None,
marker_colour=DEFAULT_MARKER_COLOUR, marker_size=DEFAULT_MARKER_SIZE):
"""Plots front with markers (instead of a line).
P = number of points in line
:param line_latitudes_deg: length-P numpy array of latitudes (deg N).
:param line_longitudes_deg: length-P numpy array of longitudes (deg E).
:param axes_object: Front will be plotted on these axes (instance of
`matplotlib.axes._subplots.AxesSubplot`).
:param basemap_object: Basemap used to convert lat-long coordinates to x-y
(instance of `mpl_toolkits.basemap.Basemap`).
:param marker_spacing_metres: Spacing between successive markers.
:param marker_type: Marker type (any format accepted by matplotlib).
:param front_type_string: [used only if `marker_type is None`]
Front type (determines marker type).
:param marker_colour: Marker colour (any format accepted by matplotlib).
:param marker_size: Marker size (any format accepted by matplotlib).
"""
error_checking.assert_is_valid_lat_numpy_array(line_latitudes_deg)
error_checking.assert_is_numpy_array(line_latitudes_deg, num_dimensions=1)
num_points = len(line_latitudes_deg)
these_expected_dim = numpy.array([num_points], dtype=int)
error_checking.assert_is_numpy_array(
line_longitudes_deg, exact_dimensions=these_expected_dim)
line_longitudes_deg = lng_conversion.convert_lng_positive_in_west(
line_longitudes_deg)
error_checking.assert_is_greater(marker_spacing_metres, 0.)
if marker_type is None:
front_utils.check_front_type(front_type_string)
if front_type_string == front_utils.WARM_FRONT_STRING_ID:
marker_type = DEFAULT_WF_MARKER_TYPE
else:
marker_type = DEFAULT_CF_MARKER_TYPE
x_coords_metres, y_coords_metres = basemap_object(
line_longitudes_deg, line_latitudes_deg)
for i in range(num_points - 1):
this_x_diff_metres = x_coords_metres[i + 1] - x_coords_metres[i]
this_y_diff_metres = y_coords_metres[i + 1] - y_coords_metres[i]
this_distance_metres = numpy.sqrt(
this_x_diff_metres ** 2 + this_y_diff_metres ** 2)
this_num_points = 1 + int(numpy.ceil(
this_distance_metres / marker_spacing_metres
))
these_x_coords_metres = numpy.linspace(
x_coords_metres[i], x_coords_metres[i + 1], num=this_num_points)
these_y_coords_metres = numpy.linspace(
y_coords_metres[i], y_coords_metres[i + 1], num=this_num_points)
axes_object.plot(
these_x_coords_metres, these_y_coords_metres,
linestyle='None', marker=marker_type, markerfacecolor=marker_colour,
markeredgecolor=marker_colour, markersize=marker_size,
markeredgewidth=0.1)
def plot_polyline(
latitudes_deg, longitudes_deg, basemap_object, axes_object,
front_type=None, line_colour=None, line_width=DEFAULT_LINE_WIDTH,
line_style=DEFAULT_LINE_STYLE):
"""Plots either warm front or cold front as polyline.
P = number of points in polyline
:param latitudes_deg: length-P numpy array of latitudes (deg N).
:param longitudes_deg: length-P numpy array of longitudes (deg N).
:param basemap_object: Instance of `mpl_toolkits.basemap.Basemap`.
:param axes_object: Instance of `matplotlib.axes._subplots.AxesSubplot`.
:param front_type: Type of front (string). Used only to determine line
colour (if `line_colour` is left as None).
:param line_colour: Colour (in any format accepted by `matplotlib.colors`).
Defaults to `DEFAULT_WARM_FRONT_COLOUR` or `DEFAULT_COLD_FRONT_COLOUR`.
:param line_width: Line width (real positive number).
:param line_style: Line style (in any format accepted by
`matplotlib.lines`).
"""
error_checking.assert_is_valid_lat_numpy_array(latitudes_deg)
error_checking.assert_is_numpy_array(latitudes_deg, num_dimensions=1)
num_points = len(latitudes_deg)
longitudes_deg = lng_conversion.convert_lng_positive_in_west(longitudes_deg)
error_checking.assert_is_numpy_array(
longitudes_deg, exact_dimensions=numpy.array([num_points]))
if line_colour is None:
front_utils.check_front_type(front_type)
if front_type == front_utils.WARM_FRONT_STRING_ID:
line_colour = DEFAULT_WARM_FRONT_COLOUR
else:
line_colour = DEFAULT_COLD_FRONT_COLOUR
x_coords_metres, y_coords_metres = basemap_object(
longitudes_deg, latitudes_deg)
axes_object.plot(
x_coords_metres, y_coords_metres, color=line_colour,
linestyle=line_style, linewidth=line_width)
def plot_narr_grid(
frontal_grid_matrix, axes_object, basemap_object,
first_row_in_narr_grid=0, first_column_in_narr_grid=0,
opacity=DEFAULT_GRID_OPACITY):
"""Plots NARR grid points intersected by a warm front or cold front.
This method plots data over a contiguous subset of the NARR grid, which need
not be *strictly* a subset. In other words, the "subset" could be the full
NARR grid.
:param frontal_grid_matrix: See documentation for
`front_utils.frontal_grid_to_points`.
:param axes_object: Instance of `matplotlib.axes._subplots.AxesSubplot`.
:param basemap_object: Instance of `mpl_toolkits.basemap.Basemap`.
:param first_row_in_narr_grid: Row 0 in the subgrid is row
`first_row_in_narr_grid` in the full NARR grid.
:param first_column_in_narr_grid: Column 0 in the subgrid is row
`first_column_in_narr_grid` in the full NARR grid.
:param opacity: Opacity for colour map (in range 0...1).
"""
error_checking.assert_is_integer_numpy_array(frontal_grid_matrix)
error_checking.assert_is_numpy_array(frontal_grid_matrix, num_dimensions=2)
error_checking.assert_is_geq_numpy_array(
frontal_grid_matrix, numpy.min(front_utils.VALID_INTEGER_IDS)
)
error_checking.assert_is_leq_numpy_array(
frontal_grid_matrix, numpy.max(front_utils.VALID_INTEGER_IDS)
)
colour_map_object, _, colour_bounds = get_colour_map_for_grid()
frontal_grid_matrix = numpy.ma.masked_where(
frontal_grid_matrix == front_utils.NO_FRONT_INTEGER_ID,
frontal_grid_matrix)
narr_plotting.plot_xy_grid(
data_matrix=frontal_grid_matrix, axes_object=axes_object,
basemap_object=basemap_object, colour_map=colour_map_object,
colour_minimum=colour_bounds[1], colour_maximum=colour_bounds[-2],
first_row_in_narr_grid=first_row_in_narr_grid,
first_column_in_narr_grid=first_column_in_narr_grid, opacity=opacity)
| [
37811,
43328,
889,
5050,
329,
5814,
290,
4692,
29324,
526,
15931,
198,
198,
11748,
299,
32152,
198,
11748,
2603,
29487,
8019,
198,
6759,
29487,
8019,
13,
1904,
10786,
9460,
11537,
198,
11748,
2603,
29487,
8019,
13,
4033,
669,
198,
6738,
308,
413,
1967,
469,
69,
993,
81,
13,
1130,
62,
26791,
1330,
890,
3984,
62,
1102,
9641,
355,
300,
782,
62,
1102,
9641,
198,
6738,
308,
413,
1967,
469,
69,
993,
81,
13,
1130,
62,
26791,
1330,
4049,
62,
41004,
198,
6738,
1152,
1000,
87,
321,
13,
469,
62,
26791,
1330,
2166,
62,
26791,
198,
6738,
1152,
1000,
87,
321,
13,
29487,
889,
1330,
6664,
62,
29487,
889,
198,
198,
7206,
38865,
62,
16279,
44,
62,
10913,
35830,
62,
25154,
11698,
796,
299,
32152,
13,
18747,
26933,
23815,
1539,
2608,
1539,
2579,
8183,
8,
1220,
14280,
198,
7206,
38865,
62,
34,
15173,
62,
10913,
35830,
62,
25154,
11698,
796,
299,
32152,
13,
18747,
26933,
3132,
1539,
7982,
1539,
11546,
8183,
8,
1220,
14280,
198,
7206,
38865,
62,
24027,
62,
54,
2389,
4221,
796,
362,
13,
198,
7206,
38865,
62,
24027,
62,
2257,
56,
2538,
796,
705,
39390,
6,
198,
198,
7206,
38865,
62,
10761,
2389,
62,
3185,
2246,
9050,
796,
657,
13,
20,
198,
198,
7206,
38865,
62,
48397,
62,
44,
14175,
1137,
62,
25216,
796,
705,
78,
6,
198,
7206,
38865,
62,
22495,
62,
44,
14175,
1137,
62,
25216,
796,
705,
29,
6,
198,
7206,
38865,
62,
44,
14175,
1137,
62,
4303,
2246,
2751,
62,
47123,
19535,
796,
1315,
2388,
13,
198,
7206,
38865,
62,
44,
14175,
1137,
62,
33489,
796,
1105,
198,
7206,
38865,
62,
44,
14175,
1137,
62,
25154,
11698,
796,
299,
32152,
13,
18747,
26933,
3132,
11,
7982,
11,
11546,
4357,
288,
4906,
28,
22468,
8,
1220,
14280,
628,
198,
4299,
651,
62,
49903,
62,
8899,
62,
1640,
62,
25928,
33529,
198,
220,
220,
220,
37227,
35561,
9568,
3975,
329,
30424,
10706,
357,
1462,
307,
973,
416,
4600,
29487,
62,
8534,
282,
62,
25928,
63,
737,
628,
220,
220,
220,
399,
796,
1271,
286,
18915,
628,
220,
220,
220,
1058,
7783,
25,
9568,
62,
8899,
62,
15252,
25,
2262,
590,
286,
4600,
6759,
29487,
8019,
13,
4033,
669,
13,
43,
6347,
5216,
579,
499,
44646,
198,
220,
220,
220,
1058,
7783,
25,
9568,
62,
27237,
62,
15252,
25,
2262,
590,
286,
4600,
6759,
29487,
8019,
13,
4033,
669,
13,
49646,
560,
35393,
44646,
198,
220,
220,
220,
1058,
7783,
25,
9568,
62,
65,
3733,
25,
4129,
30420,
45,
1343,
352,
8,
299,
32152,
7177,
286,
9568,
13215,
13,
198,
220,
220,
220,
220,
220,
220,
220,
9568,
62,
65,
3733,
58,
15,
60,
290,
9568,
62,
65,
3733,
58,
16,
60,
389,
262,
13215,
329,
262,
352,
301,
198,
220,
220,
220,
220,
220,
220,
220,
9568,
26,
9568,
62,
65,
3733,
58,
16,
60,
290,
9568,
62,
65,
3733,
58,
17,
60,
389,
262,
13215,
329,
262,
198,
220,
220,
220,
220,
220,
220,
220,
362,
358,
9568,
26,
2644,
26,
3503,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1388,
62,
49903,
62,
4868,
796,
685,
7206,
38865,
62,
16279,
44,
62,
10913,
35830,
62,
25154,
11698,
11,
5550,
38865,
62,
34,
15173,
62,
10913,
35830,
62,
25154,
11698,
60,
198,
220,
220,
220,
9568,
62,
8899,
62,
15252,
796,
2603,
29487,
8019,
13,
4033,
669,
13,
43,
6347,
5216,
579,
499,
7,
12417,
62,
49903,
62,
4868,
8,
198,
220,
220,
220,
9568,
62,
8899,
62,
15252,
13,
2617,
62,
4625,
7,
77,
32152,
13,
18747,
26933,
16,
1539,
352,
1539,
352,
8183,
4008,
198,
220,
220,
220,
9568,
62,
8899,
62,
15252,
13,
2617,
62,
2502,
7,
77,
32152,
13,
18747,
26933,
16,
1539,
352,
1539,
352,
8183,
4008,
628,
220,
220,
220,
1388,
62,
49903,
62,
65,
3733,
796,
299,
32152,
13,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
685,
8534,
62,
26791,
13,
16279,
44,
62,
10913,
35830,
62,
12394,
7156,
1137,
62,
2389,
532,
657,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2166,
62,
26791,
13,
16279,
44,
62,
10913,
35830,
62,
12394,
7156,
1137,
62,
2389,
1343,
657,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2166,
62,
26791,
13,
34,
15173,
62,
10913,
35830,
62,
12394,
7156,
1137,
62,
2389,
12962,
198,
220,
220,
220,
9568,
62,
27237,
62,
15252,
796,
2603,
29487,
8019,
13,
4033,
669,
13,
49646,
560,
35393,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1388,
62,
49903,
62,
65,
3733,
11,
9568,
62,
8899,
62,
15252,
13,
45,
8,
628,
220,
220,
220,
9568,
62,
65,
3733,
796,
299,
32152,
13,
1102,
9246,
268,
378,
19510,
198,
220,
220,
220,
220,
220,
220,
220,
299,
32152,
13,
18747,
26933,
12,
3064,
8183,
828,
1388,
62,
49903,
62,
65,
3733,
11,
299,
32152,
13,
18747,
26933,
3064,
8183,
22305,
198,
220,
220,
220,
1441,
9568,
62,
8899,
62,
15252,
11,
9568,
62,
27237,
62,
15252,
11,
9568,
62,
65,
3733,
628,
198,
4299,
7110,
62,
8534,
62,
4480,
62,
4102,
364,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
15460,
10455,
62,
13500,
11,
1627,
62,
6511,
10455,
62,
13500,
11,
34197,
62,
15252,
11,
1615,
368,
499,
62,
15252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
2777,
4092,
62,
4164,
411,
28,
7206,
38865,
62,
44,
14175,
1137,
62,
4303,
2246,
2751,
62,
47123,
19535,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
4906,
28,
14202,
11,
2166,
62,
4906,
62,
8841,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
49903,
28,
7206,
38865,
62,
44,
14175,
1137,
62,
25154,
11698,
11,
18364,
62,
7857,
28,
7206,
38865,
62,
44,
14175,
1137,
62,
33489,
2599,
198,
220,
220,
220,
37227,
3646,
1747,
2166,
351,
19736,
357,
38070,
286,
257,
1627,
737,
628,
220,
220,
220,
350,
796,
1271,
286,
2173,
287,
1627,
628,
220,
220,
220,
1058,
17143,
1627,
62,
15460,
10455,
62,
13500,
25,
4129,
12,
47,
299,
32152,
7177,
286,
3042,
10455,
357,
13500,
399,
737,
198,
220,
220,
220,
1058,
17143,
1627,
62,
6511,
10455,
62,
13500,
25,
4129,
12,
47,
299,
32152,
7177,
286,
890,
10455,
357,
13500,
412,
737,
198,
220,
220,
220,
1058,
17143,
34197,
62,
15252,
25,
8880,
481,
307,
37515,
319,
777,
34197,
357,
39098,
286,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
6759,
29487,
8019,
13,
897,
274,
13557,
7266,
489,
1747,
13,
31554,
274,
7004,
29487,
63,
737,
198,
220,
220,
220,
1058,
17143,
1615,
368,
499,
62,
15252,
25,
6455,
368,
499,
973,
284,
10385,
3042,
12,
6511,
22715,
284,
2124,
12,
88,
198,
220,
220,
220,
220,
220,
220,
220,
357,
39098,
286,
4600,
76,
489,
62,
25981,
74,
896,
13,
12093,
368,
499,
13,
15522,
368,
499,
63,
737,
198,
220,
220,
220,
1058,
17143,
18364,
62,
2777,
4092,
62,
4164,
411,
25,
1338,
4092,
1022,
25175,
19736,
13,
198,
220,
220,
220,
1058,
17143,
18364,
62,
4906,
25,
2940,
263,
2099,
357,
1092,
5794,
6292,
416,
2603,
29487,
8019,
737,
198,
220,
220,
220,
1058,
17143,
2166,
62,
4906,
62,
8841,
25,
685,
1484,
691,
611,
4600,
4102,
263,
62,
4906,
318,
6045,
63,
60,
198,
220,
220,
220,
220,
220,
220,
220,
8880,
2099,
357,
67,
13221,
274,
18364,
2099,
737,
198,
220,
220,
220,
1058,
17143,
18364,
62,
49903,
25,
2940,
263,
9568,
357,
1092,
5794,
6292,
416,
2603,
29487,
8019,
737,
198,
220,
220,
220,
1058,
17143,
18364,
62,
7857,
25,
2940,
263,
2546,
357,
1092,
5794,
6292,
416,
2603,
29487,
8019,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
12102,
62,
15460,
62,
77,
32152,
62,
18747,
7,
1370,
62,
15460,
10455,
62,
13500,
8,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
77,
32152,
62,
18747,
7,
1370,
62,
15460,
10455,
62,
13500,
11,
997,
62,
27740,
5736,
28,
16,
8,
628,
220,
220,
220,
997,
62,
13033,
796,
18896,
7,
1370,
62,
15460,
10455,
62,
13500,
8,
198,
220,
220,
220,
777,
62,
40319,
62,
27740,
796,
299,
32152,
13,
18747,
26933,
22510,
62,
13033,
4357,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
77,
32152,
62,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
6511,
10455,
62,
13500,
11,
2748,
62,
27740,
5736,
28,
27218,
62,
40319,
62,
27740,
8,
628,
220,
220,
220,
1627,
62,
6511,
10455,
62,
13500,
796,
300,
782,
62,
1102,
9641,
13,
1102,
1851,
62,
75,
782,
62,
24561,
62,
259,
62,
7038,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
6511,
10455,
62,
13500,
8,
628,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
18223,
263,
7,
4102,
263,
62,
2777,
4092,
62,
4164,
411,
11,
657,
2014,
628,
220,
220,
220,
611,
18364,
62,
4906,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2166,
62,
26791,
13,
9122,
62,
8534,
62,
4906,
7,
8534,
62,
4906,
62,
8841,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2166,
62,
4906,
62,
8841,
6624,
2166,
62,
26791,
13,
16279,
44,
62,
10913,
35830,
62,
18601,
2751,
62,
2389,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
4906,
796,
5550,
38865,
62,
48397,
62,
44,
14175,
1137,
62,
25216,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
4906,
796,
5550,
38865,
62,
22495,
62,
44,
14175,
1137,
62,
25216,
628,
220,
220,
220,
2124,
62,
1073,
3669,
62,
4164,
411,
11,
331,
62,
1073,
3669,
62,
4164,
411,
796,
1615,
368,
499,
62,
15252,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
6511,
10455,
62,
13500,
11,
1627,
62,
15460,
10455,
62,
13500,
8,
628,
220,
220,
220,
329,
1312,
287,
2837,
7,
22510,
62,
13033,
532,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
428,
62,
87,
62,
26069,
62,
4164,
411,
796,
2124,
62,
1073,
3669,
62,
4164,
411,
58,
72,
1343,
352,
60,
532,
2124,
62,
1073,
3669,
62,
4164,
411,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
428,
62,
88,
62,
26069,
62,
4164,
411,
796,
331,
62,
1073,
3669,
62,
4164,
411,
58,
72,
1343,
352,
60,
532,
331,
62,
1073,
3669,
62,
4164,
411,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
428,
62,
30246,
62,
4164,
411,
796,
299,
32152,
13,
31166,
17034,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
428,
62,
87,
62,
26069,
62,
4164,
411,
12429,
362,
1343,
428,
62,
88,
62,
26069,
62,
4164,
411,
12429,
362,
8,
628,
220,
220,
220,
220,
220,
220,
220,
428,
62,
22510,
62,
13033,
796,
352,
1343,
493,
7,
77,
32152,
13,
344,
346,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
428,
62,
30246,
62,
4164,
411,
1220,
18364,
62,
2777,
4092,
62,
4164,
411,
198,
220,
220,
220,
220,
220,
220,
220,
15306,
628,
220,
220,
220,
220,
220,
220,
220,
777,
62,
87,
62,
1073,
3669,
62,
4164,
411,
796,
299,
32152,
13,
21602,
10223,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
1073,
3669,
62,
4164,
411,
58,
72,
4357,
2124,
62,
1073,
3669,
62,
4164,
411,
58,
72,
1343,
352,
4357,
997,
28,
5661,
62,
22510,
62,
13033,
8,
198,
220,
220,
220,
220,
220,
220,
220,
777,
62,
88,
62,
1073,
3669,
62,
4164,
411,
796,
299,
32152,
13,
21602,
10223,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
1073,
3669,
62,
4164,
411,
58,
72,
4357,
331,
62,
1073,
3669,
62,
4164,
411,
58,
72,
1343,
352,
4357,
997,
28,
5661,
62,
22510,
62,
13033,
8,
628,
220,
220,
220,
220,
220,
220,
220,
34197,
62,
15252,
13,
29487,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
777,
62,
87,
62,
1073,
3669,
62,
4164,
411,
11,
777,
62,
88,
62,
1073,
3669,
62,
4164,
411,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9493,
10992,
11639,
14202,
3256,
18364,
28,
4102,
263,
62,
4906,
11,
18364,
2550,
8043,
28,
4102,
263,
62,
49903,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1667,
28970,
469,
8043,
28,
4102,
263,
62,
49903,
11,
19736,
1096,
28,
4102,
263,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1667,
28970,
39909,
5649,
28,
15,
13,
16,
8,
628,
198,
4299,
7110,
62,
35428,
1370,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3042,
10455,
62,
13500,
11,
890,
10455,
62,
13500,
11,
1615,
368,
499,
62,
15252,
11,
34197,
62,
15252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2166,
62,
4906,
28,
14202,
11,
1627,
62,
49903,
28,
14202,
11,
1627,
62,
10394,
28,
7206,
38865,
62,
24027,
62,
54,
2389,
4221,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
7635,
28,
7206,
38865,
62,
24027,
62,
2257,
56,
2538,
2599,
198,
220,
220,
220,
37227,
3646,
1747,
2035,
5814,
2166,
393,
4692,
2166,
355,
7514,
1370,
13,
628,
220,
220,
220,
350,
796,
1271,
286,
2173,
287,
7514,
1370,
628,
220,
220,
220,
1058,
17143,
3042,
10455,
62,
13500,
25,
4129,
12,
47,
299,
32152,
7177,
286,
3042,
10455,
357,
13500,
399,
737,
198,
220,
220,
220,
1058,
17143,
890,
10455,
62,
13500,
25,
4129,
12,
47,
299,
32152,
7177,
286,
890,
10455,
357,
13500,
399,
737,
198,
220,
220,
220,
1058,
17143,
1615,
368,
499,
62,
15252,
25,
2262,
590,
286,
4600,
76,
489,
62,
25981,
74,
896,
13,
12093,
368,
499,
13,
15522,
368,
499,
44646,
198,
220,
220,
220,
1058,
17143,
34197,
62,
15252,
25,
2262,
590,
286,
4600,
6759,
29487,
8019,
13,
897,
274,
13557,
7266,
489,
1747,
13,
31554,
274,
7004,
29487,
44646,
198,
220,
220,
220,
1058,
17143,
2166,
62,
4906,
25,
5994,
286,
2166,
357,
8841,
737,
220,
16718,
691,
284,
5004,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
9568,
357,
361,
4600,
1370,
62,
49903,
63,
318,
1364,
355,
6045,
737,
198,
220,
220,
220,
1058,
17143,
1627,
62,
49903,
25,
38773,
357,
259,
597,
5794,
6292,
416,
4600,
6759,
29487,
8019,
13,
4033,
669,
63,
737,
198,
220,
220,
220,
220,
220,
220,
220,
2896,
13185,
284,
4600,
7206,
38865,
62,
16279,
44,
62,
10913,
35830,
62,
25154,
11698,
63,
393,
4600,
7206,
38865,
62,
34,
15173,
62,
10913,
35830,
62,
25154,
11698,
44646,
198,
220,
220,
220,
1058,
17143,
1627,
62,
10394,
25,
6910,
9647,
357,
5305,
3967,
1271,
737,
198,
220,
220,
220,
1058,
17143,
1627,
62,
7635,
25,
6910,
3918,
357,
259,
597,
5794,
6292,
416,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
6759,
29487,
8019,
13,
6615,
63,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
12102,
62,
15460,
62,
77,
32152,
62,
18747,
7,
15460,
10455,
62,
13500,
8,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
77,
32152,
62,
18747,
7,
15460,
10455,
62,
13500,
11,
997,
62,
27740,
5736,
28,
16,
8,
198,
220,
220,
220,
997,
62,
13033,
796,
18896,
7,
15460,
10455,
62,
13500,
8,
628,
220,
220,
220,
890,
10455,
62,
13500,
796,
300,
782,
62,
1102,
9641,
13,
1102,
1851,
62,
75,
782,
62,
24561,
62,
259,
62,
7038,
7,
6511,
10455,
62,
13500,
8,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
77,
32152,
62,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
890,
10455,
62,
13500,
11,
2748,
62,
27740,
5736,
28,
77,
32152,
13,
18747,
26933,
22510,
62,
13033,
60,
4008,
628,
220,
220,
220,
611,
1627,
62,
49903,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2166,
62,
26791,
13,
9122,
62,
8534,
62,
4906,
7,
8534,
62,
4906,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2166,
62,
4906,
6624,
2166,
62,
26791,
13,
16279,
44,
62,
10913,
35830,
62,
18601,
2751,
62,
2389,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
49903,
796,
5550,
38865,
62,
16279,
44,
62,
10913,
35830,
62,
25154,
11698,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
49903,
796,
5550,
38865,
62,
34,
15173,
62,
10913,
35830,
62,
25154,
11698,
628,
220,
220,
220,
2124,
62,
1073,
3669,
62,
4164,
411,
11,
331,
62,
1073,
3669,
62,
4164,
411,
796,
1615,
368,
499,
62,
15252,
7,
198,
220,
220,
220,
220,
220,
220,
220,
890,
10455,
62,
13500,
11,
3042,
10455,
62,
13500,
8,
198,
220,
220,
220,
34197,
62,
15252,
13,
29487,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
1073,
3669,
62,
4164,
411,
11,
331,
62,
1073,
3669,
62,
4164,
411,
11,
3124,
28,
1370,
62,
49903,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
10992,
28,
1370,
62,
7635,
11,
9493,
413,
5649,
28,
1370,
62,
10394,
8,
628,
198,
4299,
7110,
62,
77,
3258,
62,
25928,
7,
198,
220,
220,
220,
220,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
11,
34197,
62,
15252,
11,
1615,
368,
499,
62,
15252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
808,
62,
259,
62,
77,
3258,
62,
25928,
28,
15,
11,
717,
62,
28665,
62,
259,
62,
77,
3258,
62,
25928,
28,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
45912,
28,
7206,
38865,
62,
10761,
2389,
62,
3185,
2246,
9050,
2599,
198,
220,
220,
220,
37227,
3646,
1747,
399,
26465,
10706,
2173,
36177,
276,
416,
257,
5814,
2166,
393,
4692,
2166,
13,
628,
220,
220,
220,
770,
2446,
21528,
1366,
625,
257,
48627,
24637,
286,
262,
399,
26465,
10706,
11,
543,
761,
198,
220,
220,
220,
407,
307,
1635,
301,
2012,
306,
9,
257,
24637,
13,
220,
554,
584,
2456,
11,
262,
366,
7266,
2617,
1,
714,
307,
262,
1336,
198,
220,
220,
220,
399,
26465,
10706,
13,
628,
220,
220,
220,
1058,
17143,
30424,
62,
25928,
62,
6759,
8609,
25,
4091,
10314,
329,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
8534,
62,
26791,
13,
8534,
282,
62,
25928,
62,
1462,
62,
13033,
44646,
198,
220,
220,
220,
1058,
17143,
34197,
62,
15252,
25,
2262,
590,
286,
4600,
6759,
29487,
8019,
13,
897,
274,
13557,
7266,
489,
1747,
13,
31554,
274,
7004,
29487,
44646,
198,
220,
220,
220,
1058,
17143,
1615,
368,
499,
62,
15252,
25,
2262,
590,
286,
4600,
76,
489,
62,
25981,
74,
896,
13,
12093,
368,
499,
13,
15522,
368,
499,
44646,
198,
220,
220,
220,
1058,
17143,
717,
62,
808,
62,
259,
62,
77,
3258,
62,
25928,
25,
11314,
657,
287,
262,
850,
25928,
318,
5752,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
11085,
62,
808,
62,
259,
62,
77,
3258,
62,
25928,
63,
287,
262,
1336,
399,
26465,
10706,
13,
198,
220,
220,
220,
1058,
17143,
717,
62,
28665,
62,
259,
62,
77,
3258,
62,
25928,
25,
29201,
657,
287,
262,
850,
25928,
318,
5752,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
11085,
62,
28665,
62,
259,
62,
77,
3258,
62,
25928,
63,
287,
262,
1336,
399,
26465,
10706,
13,
198,
220,
220,
220,
1058,
17143,
45912,
25,
8670,
4355,
329,
9568,
3975,
357,
259,
2837,
657,
986,
16,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
41433,
62,
77,
32152,
62,
18747,
7,
8534,
282,
62,
25928,
62,
6759,
8609,
8,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
77,
32152,
62,
18747,
7,
8534,
282,
62,
25928,
62,
6759,
8609,
11,
997,
62,
27740,
5736,
28,
17,
8,
628,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
469,
80,
62,
77,
32152,
62,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
11,
299,
32152,
13,
1084,
7,
8534,
62,
26791,
13,
23428,
2389,
62,
12394,
7156,
1137,
62,
14255,
8,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
4049,
62,
41004,
13,
30493,
62,
271,
62,
293,
80,
62,
77,
32152,
62,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
11,
299,
32152,
13,
9806,
7,
8534,
62,
26791,
13,
23428,
2389,
62,
12394,
7156,
1137,
62,
14255,
8,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
9568,
62,
8899,
62,
15252,
11,
4808,
11,
9568,
62,
65,
3733,
796,
651,
62,
49903,
62,
8899,
62,
1640,
62,
25928,
3419,
628,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
796,
299,
32152,
13,
2611,
13,
27932,
276,
62,
3003,
7,
198,
220,
220,
220,
220,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
6624,
2166,
62,
26791,
13,
15285,
62,
10913,
35830,
62,
12394,
7156,
1137,
62,
2389,
11,
198,
220,
220,
220,
220,
220,
220,
220,
30424,
62,
25928,
62,
6759,
8609,
8,
628,
220,
220,
220,
6664,
62,
29487,
889,
13,
29487,
62,
5431,
62,
25928,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
6759,
8609,
28,
8534,
282,
62,
25928,
62,
6759,
8609,
11,
34197,
62,
15252,
28,
897,
274,
62,
15252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1615,
368,
499,
62,
15252,
28,
12093,
368,
499,
62,
15252,
11,
9568,
62,
8899,
28,
49903,
62,
8899,
62,
15252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9568,
62,
39504,
28,
49903,
62,
65,
3733,
58,
16,
4357,
9568,
62,
47033,
28,
49903,
62,
65,
3733,
58,
12,
17,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
808,
62,
259,
62,
77,
3258,
62,
25928,
28,
11085,
62,
808,
62,
259,
62,
77,
3258,
62,
25928,
11,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
28665,
62,
259,
62,
77,
3258,
62,
25928,
28,
11085,
62,
28665,
62,
259,
62,
77,
3258,
62,
25928,
11,
45912,
28,
404,
4355,
8,
198
] | 2.395399 | 3,738 |
import sys, collections, pylev
from stemming.porter2 import stem
#--------------------------------------------------------------
# Author: Scott Wen-tau Yih
# Usage: evalQA.py para-ids gold-labels system-predictions
# example usage: python propara/eval/evalQA.py tests/fixtures/eval/para_id.test.txt tests/fixtures/eval/gold_labels.test.tsv tests/fixtures/eval/sample.model.test_predictions.tsv
#--------------------------------------------------------------
# Data structure for Labels
'''
PID -> [TurkerLabels]
TurkerLabels = [TurkerQuestionLabel1, TurkerQuestionLabel2, ... ] # labels on the same paragraph from the same Turker
TurkerQuestionLabel -> (SID, Participant, Type, From, To)
'''
TurkerQuestionLabel = collections.namedtuple('TurkerQuestionLabel', 'sid participant event_type from_location to_location')
# Data structure for Predictions
'''
PID -> Participant -> SID -> PredictionRecord
'''
PredictionRecord = collections.namedtuple('PredictionRecord', 'pid sid participant from_location to_location')
# Fixing tokenization mismatch while alinging participants
manual_participant_map = { 'alternating current':'alternate current', 'fixed nitrogen':'nitrogen',
'living things':'live thing', 'red giant star':'star', 'refrigerent liquid':'liquid',
'remains of living things':'remains of live thing',
"retina's rods and cones":"retina 's rod and cone" } #, 'seedling':'seed'}
#----------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------
'''
Read the gold file containing all records where an entity undergoes some state-change: create/destroy/move.
'''
#----------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------
# Q1: Is participant X created during the process?
# Q2: Participant X is created during the process. At which step is it created?
# Q3: Participant X is created at step Y, and the initial location is known. Where is the participant after it is created?
#----------------------------------------------------------------------------------------------------------------
# Q4: Is participant X destroyed during the process?
# Q5: Participant X is destroyed during the process. At which step is it destroyed?
# Q6: Participant X is destroyed at step Y, and its location before destroyed is known. Where is the participant right before it is destroyed?
#----------------------------------------------------------------------------------------------------------------
# Q7 Does participant X move during the process?
# Q8 Participant X moves during the process. At which steps does it move?
# Q9 Participant X moves at step Y, and its location before step Y is known. What is its location before step Y?
# Q10 Participant X moves at step Y, and its location after step Y is known. What is its location after step Y?
#----------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------
if __name__ == "__main__":
main()
| [
11748,
25064,
11,
17268,
11,
279,
2349,
85,
198,
6738,
34807,
13,
26634,
17,
1330,
10717,
198,
198,
2,
47232,
26171,
198,
2,
6434,
25,
4746,
31164,
12,
83,
559,
575,
4449,
198,
2,
29566,
25,
5418,
48,
32,
13,
9078,
31215,
12,
2340,
3869,
12,
23912,
1424,
1080,
12,
28764,
9278,
198,
2,
1672,
8748,
25,
21015,
386,
1845,
64,
14,
18206,
14,
18206,
48,
32,
13,
9078,
5254,
14,
69,
25506,
14,
18206,
14,
1845,
64,
62,
312,
13,
9288,
13,
14116,
5254,
14,
69,
25506,
14,
18206,
14,
24267,
62,
23912,
1424,
13,
9288,
13,
912,
85,
5254,
14,
69,
25506,
14,
18206,
14,
39873,
13,
19849,
13,
9288,
62,
28764,
9278,
13,
912,
85,
220,
198,
2,
47232,
26171,
198,
198,
2,
6060,
4645,
329,
3498,
1424,
198,
7061,
6,
198,
220,
37022,
4613,
685,
17483,
6122,
17822,
1424,
60,
198,
220,
3831,
6122,
17822,
1424,
796,
685,
17483,
6122,
24361,
33986,
16,
11,
3831,
6122,
24361,
33986,
17,
11,
2644,
2361,
220,
1303,
14722,
319,
262,
976,
7322,
422,
262,
976,
3831,
6122,
198,
220,
3831,
6122,
24361,
33986,
4613,
357,
50,
2389,
11,
29880,
11,
5994,
11,
3574,
11,
1675,
8,
198,
7061,
6,
198,
17483,
6122,
24361,
33986,
796,
17268,
13,
13190,
83,
29291,
10786,
17483,
6122,
24361,
33986,
3256,
705,
30255,
18399,
1785,
62,
4906,
422,
62,
24886,
284,
62,
24886,
11537,
628,
198,
2,
6060,
4645,
329,
14322,
9278,
198,
7061,
6,
198,
220,
37022,
4613,
29880,
4613,
311,
2389,
4613,
46690,
23739,
198,
7061,
6,
198,
39156,
2867,
23739,
796,
17268,
13,
13190,
83,
29291,
10786,
39156,
2867,
23739,
3256,
705,
35317,
9785,
18399,
422,
62,
24886,
284,
62,
24886,
11537,
198,
198,
2,
13268,
278,
11241,
1634,
46318,
981,
435,
14146,
6809,
198,
805,
723,
62,
48013,
415,
62,
8899,
796,
1391,
705,
33645,
803,
1459,
10354,
6,
33645,
378,
1459,
3256,
705,
34021,
23417,
10354,
6,
48825,
8648,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
19950,
1243,
10354,
6,
12583,
1517,
3256,
705,
445,
6175,
3491,
10354,
6,
7364,
3256,
705,
5420,
4359,
9100,
8122,
10354,
6,
39250,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2787,
1299,
286,
2877,
1243,
10354,
6,
2787,
1299,
286,
2107,
1517,
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,
366,
1186,
1437,
338,
32858,
290,
47314,
2404,
1186,
1437,
705,
82,
15299,
290,
27763,
1,
1782,
1303,
11,
705,
28826,
1359,
10354,
6,
28826,
6,
92,
198,
198,
2,
10097,
47232,
628,
198,
2,
10097,
47232,
198,
198,
7061,
6,
198,
220,
4149,
262,
3869,
2393,
7268,
477,
4406,
810,
281,
9312,
17777,
274,
617,
1181,
12,
3803,
25,
2251,
14,
41659,
14,
21084,
13,
198,
7061,
6,
198,
198,
2,
10097,
47232,
198,
198,
2,
10097,
47232,
198,
198,
2,
10097,
47232,
198,
198,
2,
10097,
47232,
198,
198,
2,
1195,
16,
25,
1148,
18399,
1395,
2727,
1141,
262,
1429,
30,
198,
198,
2,
1195,
17,
25,
29880,
1395,
318,
2727,
1141,
262,
1429,
13,
1629,
543,
2239,
318,
340,
2727,
30,
198,
198,
2,
1195,
18,
25,
29880,
1395,
318,
2727,
379,
2239,
575,
11,
290,
262,
4238,
4067,
318,
1900,
13,
6350,
318,
262,
18399,
706,
340,
318,
2727,
30,
198,
198,
2,
10097,
47232,
198,
198,
2,
1195,
19,
25,
1148,
18399,
1395,
6572,
1141,
262,
1429,
30,
198,
198,
2,
1195,
20,
25,
29880,
1395,
318,
6572,
1141,
262,
1429,
13,
1629,
543,
2239,
318,
340,
6572,
30,
198,
198,
2,
1195,
21,
25,
29880,
1395,
318,
6572,
379,
2239,
575,
11,
290,
663,
4067,
878,
6572,
318,
1900,
13,
6350,
318,
262,
18399,
826,
878,
340,
318,
6572,
30,
198,
198,
2,
10097,
47232,
198,
198,
2,
1195,
22,
8314,
18399,
1395,
1445,
1141,
262,
1429,
30,
198,
198,
2,
1195,
23,
29880,
1395,
6100,
1141,
262,
1429,
13,
220,
1629,
543,
4831,
857,
340,
1445,
30,
198,
198,
2,
1195,
24,
29880,
1395,
6100,
379,
2239,
575,
11,
290,
663,
4067,
878,
2239,
575,
318,
1900,
13,
1867,
318,
663,
4067,
878,
2239,
575,
30,
198,
198,
2,
1195,
940,
29880,
1395,
6100,
379,
2239,
575,
11,
290,
663,
4067,
706,
2239,
575,
318,
1900,
13,
1867,
318,
663,
4067,
706,
2239,
575,
30,
198,
198,
2,
10097,
47232,
198,
198,
2,
10097,
47232,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 4.652778 | 792 |
from gevent import monkey; monkey.patch_all()
import gevent
from socketio import socketio_manage
from socketio.server import SocketIOServer
from socketio.namespace import BaseNamespace
from socketio.mixins import RoomsMixin, BroadcastMixin
from twisted.internet import reactor, task, defer
from twisted.python import log
from peerlyDB.network import Server
import sys, signal
from p2p import P2PNamespace
log.startLogging(sys.stdout)
| [
6738,
4903,
1151,
1330,
21657,
26,
21657,
13,
17147,
62,
439,
3419,
198,
198,
11748,
4903,
1151,
198,
198,
6738,
17802,
952,
1330,
17802,
952,
62,
805,
496,
198,
6738,
17802,
952,
13,
15388,
1330,
47068,
40,
2640,
18497,
198,
6738,
17802,
952,
13,
14933,
10223,
1330,
7308,
36690,
10223,
198,
6738,
17802,
952,
13,
19816,
1040,
1330,
42043,
35608,
259,
11,
44244,
35608,
259,
198,
198,
6738,
19074,
13,
37675,
1330,
21905,
11,
4876,
11,
29135,
198,
6738,
19074,
13,
29412,
1330,
2604,
198,
6738,
12720,
306,
11012,
13,
27349,
1330,
9652,
198,
11748,
25064,
11,
6737,
198,
198,
6738,
279,
17,
79,
1330,
350,
17,
13137,
1047,
10223,
198,
198,
6404,
13,
9688,
11187,
2667,
7,
17597,
13,
19282,
448,
8,
628,
628,
198,
220,
220,
220,
220,
220,
220,
628,
628,
198
] | 3.362963 | 135 |
# Copyright © 2019 Province of British Columbia
#
# 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.
"""API endpoints for executing PPR searches."""
# pylint: disable=too-many-return-statements
from http import HTTPStatus
from flask import current_app, g, jsonify, request
from flask_restx import Namespace, Resource, cors
from registry_schemas import utils as schema_utils
from ppr_api.exceptions import BusinessException, DatabaseException
from ppr_api.models import SearchRequest, SearchResult
from ppr_api.resources import utils as resource_utils
from ppr_api.services.authz import authorized, is_bcol_help, is_gov_account, is_sbc_office_account, is_staff_account
from ppr_api.services.payment import TransactionTypes
from ppr_api.services.payment.exceptions import SBCPaymentException
from ppr_api.services.payment.payment import Payment
from ppr_api.utils.auth import jwt
from ppr_api.utils.util import cors_preflight
API = Namespace('searches', description='Endpoints for PPR searches.')
VAL_ERROR = 'Search request data validation errors.' # Validation error prefix
SAVE_ERROR_MESSAGE = 'Account {0} search db save failed: {1}'
PAY_REFUND_MESSAGE = 'Account {0} search refunding payment for invoice {1}.'
PAY_REFUND_ERROR = 'Account {0} search payment refund failed for invoice {1}: {2}.'
# Map api spec search type to payment transaction details description
TO_SEARCH_TYPE_DESCRIPTION = {
'AIRCRAFT_DOT': 'Aircraft Airframe DOT Number:',
'BUSINESS_DEBTOR': 'Debtor Business Name:',
'INDIVIDUAL_DEBTOR': 'Debtor Individual Name:',
'MHR_NUMBER': 'Manufactured Home Registration Number:',
'REGISTRATION_NUMBER': 'Registration Number:',
'SERIAL_NUMBER': 'Serial/VIN Number:'
}
CERTIFIED_PARAM = 'certified'
ROUTING_SLIP_PARAM = 'routingSlipNumber'
DAT_NUMBER_PARAM = 'datNumber'
BCOL_NUMBER_PARAM = 'bcolAccountNumber'
@cors_preflight('POST,OPTIONS')
@API.route('', methods=['POST', 'OPTIONS'])
class SearchResource(Resource):
"""Resource for executing PPR searches."""
@staticmethod
# @TRACER.trace()
@cors.crossdomain(origin='*')
@jwt.requires_auth
def post(): # pylint: disable=too-many-branches,too-many-locals
"""Execute a new search request using criteria in the request body."""
try:
# Quick check: must be staff or provide an account ID.
account_id = resource_utils.get_account_id(request)
if not account_id:
return resource_utils.account_required_response()
# Verify request JWT and account ID
if not authorized(account_id, jwt):
return resource_utils.unauthorized_error_response(account_id)
request_json = request.get_json(silent=True)
# Validate request against the schema.
valid_format, errors = schema_utils.validate(request_json, 'searchQuery', 'ppr')
if not valid_format:
return resource_utils.validation_error_response(errors, VAL_ERROR)
# Perform any extra data validation such as start and end dates here
SearchRequest.validate_query(request_json)
# Staff has special payment rules and setup.
if is_staff_account(account_id) or is_bcol_help(account_id):
return staff_search(request, request_json, account_id)
query = SearchRequest.create_from_json(request_json, account_id,
g.jwt_oidc_token_info.get('username', None))
# Charge a search fee.
invoice_id = None
payment = Payment(jwt=jwt.get_token_auth_header(),
account_id=account_id,
details=get_payment_details(query, request_json['type']))
transaction_type = TransactionTypes.SEARCH.value
# if gov account user then check if sbc
if is_gov_account(jwt):
# if SBC staff user (authy, api call) then change transaction type to $10 fee
is_sbc = is_sbc_office_account(jwt.get_token_auth_header(), account_id)
if is_sbc:
transaction_type = TransactionTypes.SEARCH_STAFF.value
elif is_sbc is None:
# didn't get a succesful response from auth
raise BusinessException('Unable to verify possible SBC staff user before payment.',
HTTPStatus.INTERNAL_SERVER_ERROR)
pay_ref = payment.create_payment(transaction_type, 1, None, query.client_reference_id)
invoice_id = pay_ref['invoiceId']
query.pay_invoice_id = int(invoice_id)
query.pay_path = pay_ref['receipt']
# Execute the search query: treat no results as a success.
try:
query.search()
# Now save the initial detail results in the search_result table with no
# search selection criteria (the absence indicates an incomplete search).
search_result = SearchResult.create_from_search_query(query)
search_result.save()
except Exception as db_exception: # noqa: B902; handle all db related errors.
current_app.logger.error(SAVE_ERROR_MESSAGE.format(account_id, repr(db_exception)))
if invoice_id is not None:
current_app.logger.info(PAY_REFUND_MESSAGE.format(account_id, invoice_id))
try:
payment.cancel_payment(invoice_id)
except Exception as cancel_exception: # noqa: B902; log exception
current_app.logger.error(PAY_REFUND_ERROR.format(account_id, invoice_id,
repr(cancel_exception)))
raise db_exception
return query.json, HTTPStatus.CREATED
except SBCPaymentException as pay_exception:
return resource_utils.pay_exception_response(pay_exception, account_id)
except BusinessException as exception:
return resource_utils.business_exception_response(exception)
except Exception as default_exception: # noqa: B902; return nicer default error
return resource_utils.default_exception_response(default_exception)
@cors_preflight('PUT,OPTIONS')
@API.route('/<path:search_id>', methods=['PUT', 'OPTIONS'])
class SearchDetailResource(Resource):
"""Resource for processing requests to update the search selection (UI autosave)."""
@staticmethod
# @TRACER.trace()
@cors.crossdomain(origin='*')
@jwt.requires_auth
def put(search_id):
"""Execute a search selection update request replacing the current value with the request body contents."""
try:
if search_id is None:
return resource_utils.path_param_error_response('search ID')
# Quick check: must be staff or provide an account ID.
account_id = resource_utils.get_account_id(request)
if account_id is None:
return resource_utils.account_required_response()
# Verify request JWT and account ID
if not authorized(account_id, jwt):
return resource_utils.unauthorized_error_response(account_id)
request_json = request.get_json(silent=True)
# Validate schema.
valid_format, errors = schema_utils.validate(request_json, 'searchSummary', 'ppr')
if not valid_format:
return resource_utils.validation_error_response(errors, VAL_ERROR)
search_request = SearchRequest.find_by_id(search_id)
if not search_request:
return resource_utils.not_found_error_response('searchId', search_id)
# Save the updated search selection.
search_request.update_search_selection(request_json)
return jsonify(search_request.updated_selection), HTTPStatus.ACCEPTED
except DatabaseException as db_exception:
return resource_utils.db_exception_response(db_exception, account_id, 'PUT search selection update')
except BusinessException as exception:
return resource_utils.business_exception_response(exception)
except Exception as default_exception: # noqa: B902; return nicer default error
return resource_utils.default_exception_response(default_exception)
def staff_search(req: request, request_json, account_id: str):
"""Execute a staff search with special payment validation and methods."""
payment_info = build_staff_payment(req, account_id)
# bcol help is no fee; reg staff can be no fee.
# FAS is routing slip only.
# BCOL is dat number (optional) and BCOL account number (mandatory).
# All staff roles including SBC can submit no fee searches.
if ROUTING_SLIP_PARAM in payment_info and BCOL_NUMBER_PARAM in payment_info:
return resource_utils.staff_payment_bcol_fas()
if CERTIFIED_PARAM in payment_info:
request_json['certified'] = True
query: SearchRequest = SearchRequest.create_from_json(request_json, account_id,
g.jwt_oidc_token_info.get('username', None))
# Always create a payment transaction.
invoice_id = None
payment = Payment(jwt=jwt.get_token_auth_header(),
account_id=account_id,
details=get_payment_details(query, request_json['type']))
# staff payment
pay_ref = payment.create_payment_staff_search(payment_info, query.client_reference_id)
invoice_id = pay_ref['invoiceId']
query.pay_invoice_id = int(invoice_id)
query.pay_path = pay_ref['receipt']
# Execute the search query: treat no results as a success.
try:
query.search()
# Now save the initial detail results in the search_result table with no
# search selection criteria (the absence indicates an incomplete search).
search_result = SearchResult.create_from_search_query(query)
search_result.save()
except Exception as db_exception: # noqa: B902; handle all db related errors.
current_app.logger.error(SAVE_ERROR_MESSAGE.format(account_id, repr(db_exception)))
if invoice_id is not None:
current_app.logger.info(PAY_REFUND_MESSAGE.format(account_id, invoice_id))
try:
payment.cancel_payment(invoice_id)
except Exception as cancel_exception: # noqa: B902; log exception
current_app.logger.error(PAY_REFUND_ERROR.format(account_id, invoice_id,
repr(cancel_exception)))
raise db_exception
return query.json, HTTPStatus.CREATED
def build_staff_payment(req: request, account_id: str):
"""Extract payment information from request parameters."""
payment_info = {
'transactionType': TransactionTypes.SEARCH_STAFF_NO_FEE.value
}
if is_bcol_help(account_id):
return payment_info
certified = req.args.get(CERTIFIED_PARAM)
routing_slip = req.args.get(ROUTING_SLIP_PARAM)
bcol_number = req.args.get(BCOL_NUMBER_PARAM)
dat_number = req.args.get(DAT_NUMBER_PARAM)
if certified is not None and isinstance(certified, bool) and certified:
payment_info[CERTIFIED_PARAM] = True
elif certified is not None and isinstance(certified, str) and \
certified.lower() in ['true', '1', 'y', 'yes']:
payment_info[CERTIFIED_PARAM] = True
if routing_slip is not None:
payment_info[ROUTING_SLIP_PARAM] = str(routing_slip)
if bcol_number is not None:
payment_info[BCOL_NUMBER_PARAM] = str(bcol_number)
if dat_number is not None:
payment_info[DAT_NUMBER_PARAM] = str(dat_number)
if ROUTING_SLIP_PARAM in payment_info or BCOL_NUMBER_PARAM in payment_info:
if CERTIFIED_PARAM in payment_info:
payment_info['transactionType'] = TransactionTypes.SEARCH_STAFF_CERTIFIED.value
else:
payment_info['transactionType'] = TransactionTypes.SEARCH_STAFF.value
elif CERTIFIED_PARAM in payment_info: # Verify this is allowed.
payment_info['transactionType'] = TransactionTypes.SEARCH_STAFF_CERTIFIED_NO_FEE.value
return payment_info
def get_payment_details(search_request, search_type):
"""Extract the payment details value from the search request criteria."""
details = {
'label': TO_SEARCH_TYPE_DESCRIPTION[search_type]
}
if search_request.search_type == SearchRequest.SearchTypes.BUSINESS_DEBTOR.value:
details['value'] = search_request.search_criteria['criteria']['debtorName']['business']
elif search_request.search_type == SearchRequest.SearchTypes.INDIVIDUAL_DEBTOR.value:
details['value'] = search_request.search_criteria['criteria']['debtorName']['last'] + ', ' +\
search_request.search_criteria['criteria']['debtorName']['first']
else:
details['value'] = search_request.search_criteria['criteria']['value']
return details
| [
2,
15069,
10673,
13130,
22783,
286,
3517,
9309,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
705,
34156,
24036,
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,
705,
1921,
3180,
6,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
37811,
17614,
886,
13033,
329,
23710,
350,
4805,
15455,
526,
15931,
198,
2,
279,
2645,
600,
25,
15560,
28,
18820,
12,
21834,
12,
7783,
12,
14269,
3196,
198,
198,
6738,
2638,
1330,
14626,
19580,
198,
198,
6738,
42903,
1330,
1459,
62,
1324,
11,
308,
11,
33918,
1958,
11,
2581,
198,
6738,
42903,
62,
2118,
87,
1330,
28531,
10223,
11,
20857,
11,
269,
669,
198,
6738,
20478,
62,
1416,
4411,
292,
1330,
3384,
4487,
355,
32815,
62,
26791,
198,
198,
6738,
279,
1050,
62,
15042,
13,
1069,
11755,
1330,
7320,
16922,
11,
24047,
16922,
198,
6738,
279,
1050,
62,
15042,
13,
27530,
1330,
11140,
18453,
11,
11140,
23004,
198,
6738,
279,
1050,
62,
15042,
13,
37540,
1330,
3384,
4487,
355,
8271,
62,
26791,
198,
6738,
279,
1050,
62,
15042,
13,
30416,
13,
18439,
89,
1330,
10435,
11,
318,
62,
65,
4033,
62,
16794,
11,
318,
62,
9567,
62,
23317,
11,
318,
62,
82,
15630,
62,
31810,
62,
23317,
11,
318,
62,
28120,
62,
23317,
198,
6738,
279,
1050,
62,
15042,
13,
30416,
13,
37301,
1330,
45389,
31431,
198,
6738,
279,
1050,
62,
15042,
13,
30416,
13,
37301,
13,
1069,
11755,
1330,
311,
2749,
19197,
434,
16922,
198,
6738,
279,
1050,
62,
15042,
13,
30416,
13,
37301,
13,
37301,
1330,
28784,
198,
6738,
279,
1050,
62,
15042,
13,
26791,
13,
18439,
1330,
474,
46569,
198,
6738,
279,
1050,
62,
15042,
13,
26791,
13,
22602,
1330,
269,
669,
62,
3866,
22560,
628,
198,
17614,
796,
28531,
10223,
10786,
325,
283,
2052,
3256,
6764,
11639,
12915,
13033,
329,
350,
4805,
15455,
2637,
8,
198,
23428,
62,
24908,
796,
705,
18243,
2581,
1366,
21201,
8563,
2637,
220,
1303,
3254,
24765,
4049,
21231,
198,
4090,
6089,
62,
24908,
62,
44,
1546,
4090,
8264,
796,
705,
30116,
1391,
15,
92,
2989,
20613,
3613,
4054,
25,
1391,
16,
92,
6,
198,
4537,
56,
62,
31688,
4944,
35,
62,
44,
1546,
4090,
8264,
796,
705,
30116,
1391,
15,
92,
2989,
12929,
278,
6074,
329,
45458,
1391,
16,
92,
2637,
198,
4537,
56,
62,
31688,
4944,
35,
62,
24908,
796,
705,
30116,
1391,
15,
92,
2989,
6074,
12929,
4054,
329,
45458,
1391,
16,
38362,
1391,
17,
92,
2637,
198,
2,
9347,
40391,
1020,
2989,
2099,
284,
6074,
8611,
3307,
6764,
198,
10468,
62,
5188,
31315,
62,
25216,
62,
30910,
40165,
796,
1391,
198,
220,
220,
220,
705,
42149,
34,
44700,
62,
35,
2394,
10354,
705,
32,
27002,
3701,
14535,
42743,
7913,
25,
3256,
198,
220,
220,
220,
705,
45346,
44180,
62,
7206,
19313,
1581,
10354,
705,
16587,
13165,
7320,
6530,
25,
3256,
198,
220,
220,
220,
705,
12115,
3824,
2389,
25620,
62,
7206,
19313,
1581,
10354,
705,
16587,
13165,
18629,
6530,
25,
3256,
198,
220,
220,
220,
705,
44,
17184,
62,
41359,
13246,
10354,
705,
44445,
1522,
5995,
24610,
7913,
25,
3256,
198,
220,
220,
220,
705,
31553,
1797,
5446,
6234,
62,
41359,
13246,
10354,
705,
47133,
7913,
25,
3256,
198,
220,
220,
220,
705,
35009,
12576,
62,
41359,
13246,
10354,
705,
32634,
14,
53,
1268,
7913,
32105,
198,
92,
198,
34,
17395,
28343,
62,
27082,
2390,
796,
705,
22583,
1431,
6,
198,
49,
12425,
2751,
62,
8634,
4061,
62,
27082,
2390,
796,
705,
81,
13660,
11122,
541,
15057,
6,
198,
35,
1404,
62,
41359,
13246,
62,
27082,
2390,
796,
705,
19608,
15057,
6,
198,
2749,
3535,
62,
41359,
13246,
62,
27082,
2390,
796,
705,
65,
4033,
30116,
15057,
6,
628,
198,
31,
66,
669,
62,
3866,
22560,
10786,
32782,
11,
3185,
51,
11053,
11537,
198,
31,
17614,
13,
38629,
10786,
3256,
5050,
28,
17816,
32782,
3256,
705,
3185,
51,
11053,
6,
12962,
198,
4871,
11140,
26198,
7,
26198,
2599,
198,
220,
220,
220,
37227,
26198,
329,
23710,
350,
4805,
15455,
526,
15931,
628,
220,
220,
220,
2488,
12708,
24396,
198,
2,
220,
220,
220,
2488,
5446,
2246,
1137,
13,
40546,
3419,
198,
220,
220,
220,
2488,
66,
669,
13,
19692,
27830,
7,
47103,
11639,
9,
11537,
198,
220,
220,
220,
2488,
73,
46569,
13,
47911,
62,
18439,
198,
220,
220,
220,
825,
1281,
33529,
220,
1303,
279,
2645,
600,
25,
15560,
28,
18820,
12,
21834,
12,
1671,
12140,
11,
18820,
12,
21834,
12,
17946,
874,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23002,
1133,
257,
649,
2989,
2581,
1262,
9987,
287,
262,
2581,
1767,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12029,
2198,
25,
1276,
307,
3085,
393,
2148,
281,
1848,
4522,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1848,
62,
312,
796,
8271,
62,
26791,
13,
1136,
62,
23317,
62,
312,
7,
25927,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1848,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
23317,
62,
35827,
62,
26209,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
49899,
2581,
449,
39386,
290,
1848,
4522,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
10435,
7,
23317,
62,
312,
11,
474,
46569,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
9613,
1457,
1143,
62,
18224,
62,
26209,
7,
23317,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
17752,
796,
2581,
13,
1136,
62,
17752,
7,
18217,
298,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3254,
20540,
2581,
1028,
262,
32815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4938,
62,
18982,
11,
8563,
796,
32815,
62,
26791,
13,
12102,
378,
7,
25927,
62,
17752,
11,
705,
12947,
20746,
3256,
705,
381,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4938,
62,
18982,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
12102,
341,
62,
18224,
62,
26209,
7,
48277,
11,
26173,
62,
24908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35006,
597,
3131,
1366,
21201,
884,
355,
923,
290,
886,
9667,
994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11140,
18453,
13,
12102,
378,
62,
22766,
7,
25927,
62,
17752,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9983,
468,
2041,
6074,
3173,
290,
9058,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
28120,
62,
23317,
7,
23317,
62,
312,
8,
393,
318,
62,
65,
4033,
62,
16794,
7,
23317,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
3085,
62,
12947,
7,
25927,
11,
2581,
62,
17752,
11,
1848,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
796,
11140,
18453,
13,
17953,
62,
6738,
62,
17752,
7,
25927,
62,
17752,
11,
1848,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
13,
73,
46569,
62,
1868,
66,
62,
30001,
62,
10951,
13,
1136,
10786,
29460,
3256,
6045,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20260,
257,
2989,
6838,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45458,
62,
312,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6074,
796,
28784,
7,
73,
46569,
28,
73,
46569,
13,
1136,
62,
30001,
62,
18439,
62,
25677,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1848,
62,
312,
28,
23317,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3307,
28,
1136,
62,
37301,
62,
36604,
7,
22766,
11,
2581,
62,
17752,
17816,
4906,
20520,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8611,
62,
4906,
796,
45389,
31431,
13,
5188,
31315,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
467,
85,
1848,
2836,
788,
2198,
611,
264,
15630,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
9567,
62,
23317,
7,
73,
46569,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
311,
2749,
3085,
2836,
357,
18439,
88,
11,
40391,
869,
8,
788,
1487,
8611,
2099,
284,
720,
940,
6838,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
82,
15630,
796,
318,
62,
82,
15630,
62,
31810,
62,
23317,
7,
73,
46569,
13,
1136,
62,
30001,
62,
18439,
62,
25677,
22784,
1848,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
82,
15630,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8611,
62,
4906,
796,
45389,
31431,
13,
5188,
31315,
62,
2257,
32,
5777,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
318,
62,
82,
15630,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1422,
470,
651,
257,
17458,
274,
913,
2882,
422,
6284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
7320,
16922,
10786,
3118,
540,
284,
11767,
1744,
311,
2749,
3085,
2836,
878,
6074,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14626,
19580,
13,
1268,
31800,
1847,
62,
35009,
5959,
62,
24908,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1414,
62,
5420,
796,
6074,
13,
17953,
62,
37301,
7,
7645,
2673,
62,
4906,
11,
352,
11,
6045,
11,
12405,
13,
16366,
62,
35790,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45458,
62,
312,
796,
1414,
62,
5420,
17816,
16340,
2942,
7390,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
13,
15577,
62,
16340,
2942,
62,
312,
796,
493,
7,
16340,
2942,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
13,
15577,
62,
6978,
796,
1414,
62,
5420,
17816,
260,
344,
10257,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8393,
1133,
262,
2989,
12405,
25,
2190,
645,
2482,
355,
257,
1943,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
13,
12947,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2735,
3613,
262,
4238,
3703,
2482,
287,
262,
2989,
62,
20274,
3084,
351,
645,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2989,
6356,
9987,
357,
1169,
8889,
9217,
281,
17503,
2989,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
20274,
796,
11140,
23004,
13,
17953,
62,
6738,
62,
12947,
62,
22766,
7,
22766,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
20274,
13,
21928,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
20613,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
5412,
477,
20613,
3519,
8563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
18224,
7,
4090,
6089,
62,
24908,
62,
44,
1546,
4090,
8264,
13,
18982,
7,
23317,
62,
312,
11,
41575,
7,
9945,
62,
1069,
4516,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
45458,
62,
312,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
10951,
7,
4537,
56,
62,
31688,
4944,
35,
62,
44,
1546,
4090,
8264,
13,
18982,
7,
23317,
62,
312,
11,
45458,
62,
312,
4008,
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,
6074,
13,
66,
21130,
62,
37301,
7,
16340,
2942,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
14241,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
2604,
6631,
198,
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,
1324,
13,
6404,
1362,
13,
18224,
7,
4537,
56,
62,
31688,
4944,
35,
62,
24908,
13,
18982,
7,
23317,
62,
312,
11,
45458,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41575,
7,
66,
21130,
62,
1069,
4516,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
20613,
62,
1069,
4516,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
12405,
13,
17752,
11,
14626,
19580,
13,
43387,
11617,
628,
220,
220,
220,
220,
220,
220,
220,
2845,
311,
2749,
19197,
434,
16922,
355,
1414,
62,
1069,
4516,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
15577,
62,
1069,
4516,
62,
26209,
7,
15577,
62,
1069,
4516,
11,
1848,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7320,
16922,
355,
6631,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
22680,
62,
1069,
4516,
62,
26209,
7,
1069,
4516,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
4277,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
1441,
36597,
4277,
4049,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
12286,
62,
1069,
4516,
62,
26209,
7,
12286,
62,
1069,
4516,
8,
628,
198,
31,
66,
669,
62,
3866,
22560,
10786,
30076,
11,
3185,
51,
11053,
11537,
198,
31,
17614,
13,
38629,
10786,
14,
27,
6978,
25,
12947,
62,
312,
29,
3256,
5050,
28,
17816,
30076,
3256,
705,
3185,
51,
11053,
6,
12962,
198,
4871,
11140,
11242,
603,
26198,
7,
26198,
2599,
198,
220,
220,
220,
37227,
26198,
329,
7587,
7007,
284,
4296,
262,
2989,
6356,
357,
10080,
44619,
1015,
21387,
15931,
628,
220,
220,
220,
2488,
12708,
24396,
198,
2,
220,
220,
220,
2488,
5446,
2246,
1137,
13,
40546,
3419,
198,
220,
220,
220,
2488,
66,
669,
13,
19692,
27830,
7,
47103,
11639,
9,
11537,
198,
220,
220,
220,
2488,
73,
46569,
13,
47911,
62,
18439,
198,
220,
220,
220,
825,
1234,
7,
12947,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23002,
1133,
257,
2989,
6356,
4296,
2581,
13586,
262,
1459,
1988,
351,
262,
2581,
1767,
10154,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2989,
62,
312,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
6978,
62,
17143,
62,
18224,
62,
26209,
10786,
12947,
4522,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12029,
2198,
25,
1276,
307,
3085,
393,
2148,
281,
1848,
4522,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1848,
62,
312,
796,
8271,
62,
26791,
13,
1136,
62,
23317,
62,
312,
7,
25927,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1848,
62,
312,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
23317,
62,
35827,
62,
26209,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
49899,
2581,
449,
39386,
290,
1848,
4522,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
10435,
7,
23317,
62,
312,
11,
474,
46569,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
9613,
1457,
1143,
62,
18224,
62,
26209,
7,
23317,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
17752,
796,
2581,
13,
1136,
62,
17752,
7,
18217,
298,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3254,
20540,
32815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4938,
62,
18982,
11,
8563,
796,
32815,
62,
26791,
13,
12102,
378,
7,
25927,
62,
17752,
11,
705,
12947,
22093,
3256,
705,
381,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4938,
62,
18982,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
12102,
341,
62,
18224,
62,
26209,
7,
48277,
11,
26173,
62,
24908,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
25927,
796,
11140,
18453,
13,
19796,
62,
1525,
62,
312,
7,
12947,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2989,
62,
25927,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
1662,
62,
9275,
62,
18224,
62,
26209,
10786,
12947,
7390,
3256,
2989,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12793,
262,
6153,
2989,
6356,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
25927,
13,
19119,
62,
12947,
62,
49283,
7,
25927,
62,
17752,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
7,
12947,
62,
25927,
13,
43162,
62,
49283,
828,
14626,
19580,
13,
2246,
42006,
1961,
628,
220,
220,
220,
220,
220,
220,
220,
2845,
24047,
16922,
355,
20613,
62,
1069,
4516,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
9945,
62,
1069,
4516,
62,
26209,
7,
9945,
62,
1069,
4516,
11,
1848,
62,
312,
11,
705,
30076,
2989,
6356,
4296,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7320,
16922,
355,
6631,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
22680,
62,
1069,
4516,
62,
26209,
7,
1069,
4516,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
4277,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
1441,
36597,
4277,
4049,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
12286,
62,
1069,
4516,
62,
26209,
7,
12286,
62,
1069,
4516,
8,
628,
198,
4299,
3085,
62,
12947,
7,
42180,
25,
2581,
11,
2581,
62,
17752,
11,
1848,
62,
312,
25,
965,
2599,
198,
220,
220,
220,
37227,
23002,
1133,
257,
3085,
2989,
351,
2041,
6074,
21201,
290,
5050,
526,
15931,
198,
220,
220,
220,
6074,
62,
10951,
796,
1382,
62,
28120,
62,
37301,
7,
42180,
11,
1848,
62,
312,
8,
198,
220,
220,
220,
1303,
275,
4033,
1037,
318,
645,
6838,
26,
842,
3085,
460,
307,
645,
6838,
13,
198,
220,
220,
220,
1303,
376,
1921,
318,
28166,
13819,
691,
13,
198,
220,
220,
220,
1303,
11843,
3535,
318,
4818,
1271,
357,
25968,
8,
290,
11843,
3535,
1848,
1271,
357,
22249,
2870,
737,
198,
220,
220,
220,
1303,
1439,
3085,
9176,
1390,
311,
2749,
460,
9199,
645,
6838,
15455,
13,
198,
220,
220,
220,
611,
371,
12425,
2751,
62,
8634,
4061,
62,
27082,
2390,
287,
6074,
62,
10951,
290,
11843,
3535,
62,
41359,
13246,
62,
27082,
2390,
287,
6074,
62,
10951,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8271,
62,
26791,
13,
28120,
62,
37301,
62,
65,
4033,
62,
69,
292,
3419,
628,
220,
220,
220,
611,
327,
17395,
28343,
62,
27082,
2390,
287,
6074,
62,
10951,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
17752,
17816,
22583,
1431,
20520,
796,
6407,
198,
220,
220,
220,
12405,
25,
11140,
18453,
796,
11140,
18453,
13,
17953,
62,
6738,
62,
17752,
7,
25927,
62,
17752,
11,
1848,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
13,
73,
46569,
62,
1868,
66,
62,
30001,
62,
10951,
13,
1136,
10786,
29460,
3256,
6045,
4008,
628,
220,
220,
220,
1303,
16622,
2251,
257,
6074,
8611,
13,
198,
220,
220,
220,
45458,
62,
312,
796,
6045,
198,
220,
220,
220,
6074,
796,
28784,
7,
73,
46569,
28,
73,
46569,
13,
1136,
62,
30001,
62,
18439,
62,
25677,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1848,
62,
312,
28,
23317,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3307,
28,
1136,
62,
37301,
62,
36604,
7,
22766,
11,
2581,
62,
17752,
17816,
4906,
20520,
4008,
198,
220,
220,
220,
1303,
3085,
6074,
198,
220,
220,
220,
1414,
62,
5420,
796,
6074,
13,
17953,
62,
37301,
62,
28120,
62,
12947,
7,
37301,
62,
10951,
11,
12405,
13,
16366,
62,
35790,
62,
312,
8,
198,
220,
220,
220,
45458,
62,
312,
796,
1414,
62,
5420,
17816,
16340,
2942,
7390,
20520,
198,
220,
220,
220,
12405,
13,
15577,
62,
16340,
2942,
62,
312,
796,
493,
7,
16340,
2942,
62,
312,
8,
198,
220,
220,
220,
12405,
13,
15577,
62,
6978,
796,
1414,
62,
5420,
17816,
260,
344,
10257,
20520,
628,
220,
220,
220,
1303,
8393,
1133,
262,
2989,
12405,
25,
2190,
645,
2482,
355,
257,
1943,
13,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12405,
13,
12947,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2735,
3613,
262,
4238,
3703,
2482,
287,
262,
2989,
62,
20274,
3084,
351,
645,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2989,
6356,
9987,
357,
1169,
8889,
9217,
281,
17503,
2989,
737,
198,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
20274,
796,
11140,
23004,
13,
17953,
62,
6738,
62,
12947,
62,
22766,
7,
22766,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
20274,
13,
21928,
3419,
628,
220,
220,
220,
2845,
35528,
355,
20613,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
5412,
477,
20613,
3519,
8563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
18224,
7,
4090,
6089,
62,
24908,
62,
44,
1546,
4090,
8264,
13,
18982,
7,
23317,
62,
312,
11,
41575,
7,
9945,
62,
1069,
4516,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
611,
45458,
62,
312,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
10951,
7,
4537,
56,
62,
31688,
4944,
35,
62,
44,
1546,
4090,
8264,
13,
18982,
7,
23317,
62,
312,
11,
45458,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6074,
13,
66,
21130,
62,
37301,
7,
16340,
2942,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
14241,
62,
1069,
4516,
25,
220,
220,
1303,
645,
20402,
25,
347,
24,
2999,
26,
2604,
6631,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
1324,
13,
6404,
1362,
13,
18224,
7,
4537,
56,
62,
31688,
4944,
35,
62,
24908,
13,
18982,
7,
23317,
62,
312,
11,
45458,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41575,
7,
66,
21130,
62,
1069,
4516,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
20613,
62,
1069,
4516,
628,
220,
220,
220,
1441,
12405,
13,
17752,
11,
14626,
19580,
13,
43387,
11617,
628,
198,
4299,
1382,
62,
28120,
62,
37301,
7,
42180,
25,
2581,
11,
1848,
62,
312,
25,
965,
2599,
198,
220,
220,
220,
37227,
11627,
974,
6074,
1321,
422,
2581,
10007,
526,
15931,
198,
220,
220,
220,
6074,
62,
10951,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7645,
2673,
6030,
10354,
45389,
31431,
13,
5188,
31315,
62,
2257,
32,
5777,
62,
15285,
62,
37,
6500,
13,
8367,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
611,
318,
62,
65,
4033,
62,
16794,
7,
23317,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6074,
62,
10951,
628,
220,
220,
220,
15704,
796,
43089,
13,
22046,
13,
1136,
7,
34,
17395,
28343,
62,
27082,
2390,
8,
198,
220,
220,
220,
28166,
62,
6649,
541,
796,
43089,
13,
22046,
13,
1136,
7,
49,
12425,
2751,
62,
8634,
4061,
62,
27082,
2390,
8,
198,
220,
220,
220,
275,
4033,
62,
17618,
796,
43089,
13,
22046,
13,
1136,
7,
2749,
3535,
62,
41359,
13246,
62,
27082,
2390,
8,
198,
220,
220,
220,
4818,
62,
17618,
796,
43089,
13,
22046,
13,
1136,
7,
35,
1404,
62,
41359,
13246,
62,
27082,
2390,
8,
198,
220,
220,
220,
611,
15704,
318,
407,
6045,
290,
318,
39098,
7,
22583,
1431,
11,
20512,
8,
290,
15704,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
58,
34,
17395,
28343,
62,
27082,
2390,
60,
796,
6407,
198,
220,
220,
220,
1288,
361,
15704,
318,
407,
6045,
290,
318,
39098,
7,
22583,
1431,
11,
965,
8,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15704,
13,
21037,
3419,
287,
37250,
7942,
3256,
705,
16,
3256,
705,
88,
3256,
705,
8505,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
58,
34,
17395,
28343,
62,
27082,
2390,
60,
796,
6407,
198,
220,
220,
220,
611,
28166,
62,
6649,
541,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
58,
49,
12425,
2751,
62,
8634,
4061,
62,
27082,
2390,
60,
796,
965,
7,
81,
13660,
62,
6649,
541,
8,
198,
220,
220,
220,
611,
275,
4033,
62,
17618,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
58,
2749,
3535,
62,
41359,
13246,
62,
27082,
2390,
60,
796,
965,
7,
65,
4033,
62,
17618,
8,
198,
220,
220,
220,
611,
4818,
62,
17618,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
58,
35,
1404,
62,
41359,
13246,
62,
27082,
2390,
60,
796,
965,
7,
19608,
62,
17618,
8,
628,
220,
220,
220,
611,
371,
12425,
2751,
62,
8634,
4061,
62,
27082,
2390,
287,
6074,
62,
10951,
393,
11843,
3535,
62,
41359,
13246,
62,
27082,
2390,
287,
6074,
62,
10951,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
327,
17395,
28343,
62,
27082,
2390,
287,
6074,
62,
10951,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
17816,
7645,
2673,
6030,
20520,
796,
45389,
31431,
13,
5188,
31315,
62,
2257,
32,
5777,
62,
34,
17395,
28343,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
17816,
7645,
2673,
6030,
20520,
796,
45389,
31431,
13,
5188,
31315,
62,
2257,
32,
5777,
13,
8367,
198,
220,
220,
220,
1288,
361,
327,
17395,
28343,
62,
27082,
2390,
287,
6074,
62,
10951,
25,
220,
1303,
49899,
428,
318,
3142,
13,
198,
220,
220,
220,
220,
220,
220,
220,
6074,
62,
10951,
17816,
7645,
2673,
6030,
20520,
796,
45389,
31431,
13,
5188,
31315,
62,
2257,
32,
5777,
62,
34,
17395,
28343,
62,
15285,
62,
37,
6500,
13,
8367,
628,
220,
220,
220,
1441,
6074,
62,
10951,
628,
198,
4299,
651,
62,
37301,
62,
36604,
7,
12947,
62,
25927,
11,
2989,
62,
4906,
2599,
198,
220,
220,
220,
37227,
11627,
974,
262,
6074,
3307,
1988,
422,
262,
2989,
2581,
9987,
526,
15931,
198,
220,
220,
220,
3307,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18242,
10354,
5390,
62,
5188,
31315,
62,
25216,
62,
30910,
40165,
58,
12947,
62,
4906,
60,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
611,
2989,
62,
25927,
13,
12947,
62,
4906,
6624,
11140,
18453,
13,
18243,
31431,
13,
45346,
44180,
62,
7206,
19313,
1581,
13,
8367,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3307,
17816,
8367,
20520,
796,
2989,
62,
25927,
13,
12947,
62,
22213,
5142,
17816,
22213,
5142,
6,
7131,
6,
11275,
13165,
5376,
6,
7131,
6,
22680,
20520,
198,
220,
220,
220,
1288,
361,
2989,
62,
25927,
13,
12947,
62,
4906,
6624,
11140,
18453,
13,
18243,
31431,
13,
12115,
3824,
2389,
25620,
62,
7206,
19313,
1581,
13,
8367,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3307,
17816,
8367,
20520,
796,
2989,
62,
25927,
13,
12947,
62,
22213,
5142,
17816,
22213,
5142,
6,
7131,
6,
11275,
13165,
5376,
6,
7131,
6,
12957,
20520,
1343,
46083,
705,
1343,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
25927,
13,
12947,
62,
22213,
5142,
17816,
22213,
5142,
6,
7131,
6,
11275,
13165,
5376,
6,
7131,
6,
11085,
20520,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3307,
17816,
8367,
20520,
796,
2989,
62,
25927,
13,
12947,
62,
22213,
5142,
17816,
22213,
5142,
6,
7131,
6,
8367,
20520,
628,
220,
220,
220,
1441,
3307,
198
] | 2.463243 | 5,550 |
from .source import SourceSmartsheets
__all__ = ["SourceSmartsheets"]
| [
6738,
764,
10459,
1330,
8090,
7556,
5889,
258,
1039,
198,
198,
834,
439,
834,
796,
14631,
7416,
7556,
5889,
258,
1039,
8973,
198
] | 3.086957 | 23 |
from mprl.rl.envs.stratego.stratego_spatial_multiagent_env import SpatialStrategoMultiAgentEnv
from progress.bar import Bar
import numpy as np
import dill
from multiprocessing.pool import Pool
from multiprocessing import cpu_count
| [
6738,
285,
1050,
75,
13,
45895,
13,
268,
14259,
13,
23104,
2188,
13,
23104,
2188,
62,
2777,
34961,
62,
41684,
25781,
62,
24330,
1330,
1338,
34961,
1273,
4873,
2188,
29800,
36772,
4834,
85,
198,
6738,
4371,
13,
5657,
1330,
2409,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
288,
359,
198,
6738,
18540,
305,
919,
278,
13,
7742,
1330,
19850,
198,
6738,
18540,
305,
919,
278,
1330,
42804,
62,
9127,
628,
628
] | 3.25 | 72 |
from django.contrib import admin
from .models import ToDoItem
admin.site.register(ToDoItem)
# Register your models here.
| [
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
6738,
764,
27530,
1330,
1675,
5211,
7449,
198,
198,
28482,
13,
15654,
13,
30238,
7,
2514,
5211,
7449,
8,
198,
198,
2,
17296,
534,
4981,
994,
13,
198
] | 3.324324 | 37 |
from __future__ import absolute_import
import sys
import argparse
import where
if __name__ == "__main__":
sys.exit(main())
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
11748,
25064,
198,
11748,
1822,
29572,
198,
198,
11748,
810,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
25064,
13,
37023,
7,
12417,
28955,
198
] | 3.022727 | 44 |
name = "on-location-change-notifier-slack"
add_files = (
"ruleset.py",
)
add_modules = True # find modules in directory (folders having __init__.py file) and add them to container
extra_commands = (
# ("RUN", "pip install my-wonderful-lib==1.0"),
)
labels = {
"networking.knative.dev/visibility": "cluster-local",
"krules.airspot.dev/type": "ruleset",
"krules.airspot.dev/ruleset": name,
"configs.krules.airspot.dev/slack-webhooks": "inject"
}
template_annotations = {
"autoscaling.knative.dev/minScale": "1",
}
#service_account = "my-service-account"
triggers = (
{
"name": name,
"filter": {
"attributes": {
"type": "subject-property-changed",
"propertyname": "location",
}
}
},
)
triggers_default_broker = "class-b"
ksvc_sink = "broker:default"
ksvc_procevents_sink = "broker:procevents"
| [
198,
3672,
796,
366,
261,
12,
24886,
12,
3803,
12,
1662,
7483,
12,
6649,
441,
1,
198,
198,
2860,
62,
16624,
796,
357,
198,
220,
220,
220,
366,
38785,
316,
13,
9078,
1600,
198,
8,
198,
198,
2860,
62,
18170,
796,
6407,
220,
1303,
1064,
13103,
287,
8619,
357,
11379,
364,
1719,
11593,
15003,
834,
13,
9078,
2393,
8,
290,
751,
606,
284,
9290,
198,
198,
26086,
62,
9503,
1746,
796,
357,
198,
2,
220,
220,
220,
5855,
49,
4944,
1600,
366,
79,
541,
2721,
616,
12,
86,
8623,
913,
12,
8019,
855,
16,
13,
15,
12340,
198,
8,
198,
198,
23912,
1424,
796,
1391,
198,
220,
220,
220,
366,
3262,
16090,
13,
15418,
876,
13,
7959,
14,
4703,
2247,
1298,
366,
565,
5819,
12,
12001,
1600,
198,
220,
220,
220,
366,
38584,
5028,
13,
958,
20485,
13,
7959,
14,
4906,
1298,
366,
38785,
316,
1600,
198,
220,
220,
220,
366,
38584,
5028,
13,
958,
20485,
13,
7959,
14,
38785,
316,
1298,
1438,
11,
198,
220,
220,
220,
366,
11250,
82,
13,
38584,
5028,
13,
958,
20485,
13,
7959,
14,
6649,
441,
12,
12384,
25480,
82,
1298,
366,
259,
752,
1,
198,
92,
198,
198,
28243,
62,
34574,
602,
796,
1391,
198,
220,
220,
220,
366,
2306,
17500,
4272,
13,
15418,
876,
13,
7959,
14,
1084,
29990,
1298,
366,
16,
1600,
198,
92,
198,
198,
2,
15271,
62,
23317,
796,
366,
1820,
12,
15271,
12,
23317,
1,
198,
198,
2213,
328,
5355,
796,
357,
198,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
366,
3672,
1298,
1438,
11,
198,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1078,
7657,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
32796,
12,
26745,
12,
40985,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
26745,
3672,
1298,
366,
24886,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
8964,
198,
8,
198,
2213,
328,
5355,
62,
12286,
62,
7957,
6122,
796,
366,
4871,
12,
65,
1,
198,
198,
591,
28435,
62,
82,
676,
796,
366,
7957,
6122,
25,
12286,
1,
198,
591,
28435,
62,
1676,
344,
85,
658,
62,
82,
676,
796,
366,
7957,
6122,
25,
1676,
344,
85,
658,
1,
628
] | 2.206813 | 411 |
#!/usr/bin/python
# sound_waves.py v1.1 12-3-2011 Jeff Doak jeff.w.doak@gmail.com
import sys
import scipy as sp
from scipy import linalg
from scipy.integrate import dblquad
import read_file
BOLTZCONST = 1.381e-23 # J/K
PLANCKCONST = 6.626e-34 # J*s
AVONUM = 6.022e23 # things/mol
def dir_cosines(dir,coords=sp.identity(3)):
"""Returns a vector containing the direction cosines between vector dir, and
the coordinate system coords. Default coordinate system is an orthonormal
cartesian coordinate system."""
cosines = sp.dot(coords,dir)/linalg.norm(dir)
return cosines
def make_gamma(dc,C):
"""
Returns a matrix containing the modified set of elastic constants, C,
transformed by the direction cosines, dc.
"""
Gamma = sp.zeros((3,3))
Gamma[0,0] = dc[0]**2*C[0,0]+dc[1]**2*C[5,5]+dc[2]**2*C[4,4]
Gamma[0,0] += 2*dc[1]*dc[2]*C[4,5]+2*dc[2]*dc[0]*C[0,4]
Gamma[0,0] += 2*dc[0]*dc[1]*C[0,5]
Gamma[1,1] = dc[0]**2*C[5,5]+dc[1]**2*C[1,1]+dc[2]**2*C[3,3]
Gamma[1,1] += 2*dc[1]*dc[2]*C[1,3]+2*dc[2]*dc[0]*C[3,5]
Gamma[1,1] += 2*dc[0]*dc[1]*C[1,5]
Gamma[2,2] = dc[0]**2*C[4,4]+dc[1]**2*C[3,3]+dc[2]**2*C[2,2]
Gamma[2,2] += 2*dc[1]*dc[2]*C[2,3]+2*dc[2]*dc[0]*C[2,4]
Gamma[2,2] += 2*dc[0]*dc[1]*C[3,4]
Gamma[0,1] = dc[0]**2*C[0,5]+dc[1]**2*C[1,5]+dc[2]**2*C[3,4]
Gamma[0,1] += dc[1]*dc[2]*(C[3,5]+C[1,4])+dc[2]*dc[0]*(C[0,3]+C[4,5])
Gamma[0,1] += dc[0]*dc[1]*(C[0,1]+C[5,5])
Gamma[0,2] = dc[0]**2*C[0,4]+dc[1]**2*C[3,5]+dc[2]**2*C[2,4]
Gamma[0,2] += dc[1]*dc[2]*(C[3,4]+C[2,5])+dc[2]*dc[0]*(C[0,2]+C[4,4])
Gamma[0,2] += dc[0]*dc[1]*(C[0,3]+C[4,5])
Gamma[1,2] = dc[0]**2*C[4,5]+dc[1]**2*C[1,3]+dc[2]**2*C[2,3]
Gamma[1,2] += dc[1]*dc[2]*(C[3,3]+C[1,2])+dc[2]*dc[0]*(C[2,5]+C[3,4])
Gamma[1,2] += dc[0]*dc[1]*(C[1,4]+C[3,5])
Gamma[1,0] = Gamma[0,1]
Gamma[2,0] = Gamma[0,2]
Gamma[2,1] = Gamma[1,2]
return Gamma
def spherical_integral(C,rho):
"""
Calculate the integral of a function over a unit sphere.
"""
# phi - azimuthal angle (angle in xy-plane)
# theta - polar angle (angle between z and xy-plane)
# ( y , x )
# ( y , x )
#def sfunc(theta,phi,args=()):
# return func(theta,phi,args)*sp.sin(theta)
integral,error = dblquad(func,0,2*sp.pi,lambda g: 0,lambda h:
sp.pi,args=(C,rho))
return integral
#direction = sp.array((1.0,1.0,1.0))
#dc = dir_cosines(direction)
#C = read_file.read_file(sys.argv[1])
#C.pop(0)
#C = sp.array(C,float)
#Gamma = make_gamma(dc,C)
#density = 7500 #kg/m**3
#density = float(read_file.read_file(sys.argv[2])[0][0])
#rho_c_square = linalg.eigvals(Gamma) #GPa
#rho_c_square = rho_c_square*1e9 #Pa
#sound_vel = sp.sqrt(rho_c_square/density).real
#avg_vel = sp.average(sound_vel)
#print Gamma
#print direction
#print C
#print rho_c_square
#print rho_c_square.real
#print sound_vel," in m/s"
#print avg_vel
#print spherical_integral(C,density)
if __name__ == "__main__":
main(sys.argv[1:])
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
198,
2,
2128,
62,
32569,
13,
9078,
410,
16,
13,
16,
1105,
12,
18,
12,
9804,
5502,
2141,
461,
11223,
487,
13,
86,
13,
4598,
461,
31,
14816,
13,
785,
198,
198,
11748,
25064,
198,
11748,
629,
541,
88,
355,
599,
198,
6738,
629,
541,
88,
1330,
300,
1292,
70,
198,
6738,
629,
541,
88,
13,
18908,
4873,
1330,
288,
2436,
47003,
198,
11748,
1100,
62,
7753,
198,
198,
33,
3535,
51,
57,
10943,
2257,
796,
352,
13,
36626,
68,
12,
1954,
220,
1303,
449,
14,
42,
198,
6489,
20940,
42,
10943,
2257,
796,
718,
13,
45191,
68,
12,
2682,
220,
1303,
449,
9,
82,
198,
10116,
1340,
5883,
796,
718,
13,
44087,
68,
1954,
220,
1303,
1243,
14,
43132,
198,
198,
4299,
26672,
62,
6966,
1127,
7,
15908,
11,
1073,
3669,
28,
2777,
13,
738,
414,
7,
18,
8,
2599,
198,
220,
220,
220,
37227,
35561,
257,
15879,
7268,
262,
4571,
8615,
1127,
1022,
15879,
26672,
11,
290,
198,
220,
220,
220,
262,
20435,
1080,
763,
3669,
13,
15161,
20435,
1080,
318,
281,
29617,
261,
6636,
198,
220,
220,
220,
6383,
35610,
20435,
1080,
526,
15931,
198,
220,
220,
220,
8615,
1127,
796,
599,
13,
26518,
7,
1073,
3669,
11,
15908,
20679,
75,
1292,
70,
13,
27237,
7,
15908,
8,
198,
220,
220,
220,
1441,
8615,
1127,
198,
198,
4299,
787,
62,
28483,
2611,
7,
17896,
11,
34,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16409,
257,
17593,
7268,
262,
9518,
900,
286,
27468,
38491,
11,
327,
11,
198,
220,
220,
220,
14434,
416,
262,
4571,
8615,
1127,
11,
30736,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
43595,
796,
599,
13,
9107,
418,
19510,
18,
11,
18,
4008,
198,
220,
220,
220,
43595,
58,
15,
11,
15,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
15,
11,
15,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
20,
11,
20,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
19,
11,
19,
60,
198,
220,
220,
220,
43595,
58,
15,
11,
15,
60,
15853,
362,
9,
17896,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
34,
58,
19,
11,
20,
48688,
17,
9,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
34,
58,
15,
11,
19,
60,
198,
220,
220,
220,
43595,
58,
15,
11,
15,
60,
15853,
362,
9,
17896,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
34,
58,
15,
11,
20,
60,
628,
220,
220,
220,
43595,
58,
16,
11,
16,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
20,
11,
20,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
16,
11,
16,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
18,
11,
18,
60,
198,
220,
220,
220,
43595,
58,
16,
11,
16,
60,
15853,
362,
9,
17896,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
34,
58,
16,
11,
18,
48688,
17,
9,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
34,
58,
18,
11,
20,
60,
198,
220,
220,
220,
43595,
58,
16,
11,
16,
60,
15853,
362,
9,
17896,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
34,
58,
16,
11,
20,
60,
628,
220,
220,
220,
43595,
58,
17,
11,
17,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
19,
11,
19,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
18,
11,
18,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
17,
11,
17,
60,
198,
220,
220,
220,
43595,
58,
17,
11,
17,
60,
15853,
362,
9,
17896,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
34,
58,
17,
11,
18,
48688,
17,
9,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
34,
58,
17,
11,
19,
60,
198,
220,
220,
220,
43595,
58,
17,
11,
17,
60,
15853,
362,
9,
17896,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
34,
58,
18,
11,
19,
60,
628,
220,
220,
220,
43595,
58,
15,
11,
16,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
15,
11,
20,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
16,
11,
20,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
18,
11,
19,
60,
198,
220,
220,
220,
43595,
58,
15,
11,
16,
60,
15853,
30736,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
7,
34,
58,
18,
11,
20,
48688,
34,
58,
16,
11,
19,
12962,
10,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
7,
34,
58,
15,
11,
18,
48688,
34,
58,
19,
11,
20,
12962,
198,
220,
220,
220,
43595,
58,
15,
11,
16,
60,
15853,
30736,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
7,
34,
58,
15,
11,
16,
48688,
34,
58,
20,
11,
20,
12962,
628,
220,
220,
220,
43595,
58,
15,
11,
17,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
15,
11,
19,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
18,
11,
20,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
17,
11,
19,
60,
198,
220,
220,
220,
43595,
58,
15,
11,
17,
60,
15853,
30736,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
7,
34,
58,
18,
11,
19,
48688,
34,
58,
17,
11,
20,
12962,
10,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
7,
34,
58,
15,
11,
17,
48688,
34,
58,
19,
11,
19,
12962,
198,
220,
220,
220,
43595,
58,
15,
11,
17,
60,
15853,
30736,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
7,
34,
58,
15,
11,
18,
48688,
34,
58,
19,
11,
20,
12962,
628,
220,
220,
220,
43595,
58,
16,
11,
17,
60,
796,
30736,
58,
15,
60,
1174,
17,
9,
34,
58,
19,
11,
20,
48688,
17896,
58,
16,
60,
1174,
17,
9,
34,
58,
16,
11,
18,
48688,
17896,
58,
17,
60,
1174,
17,
9,
34,
58,
17,
11,
18,
60,
198,
220,
220,
220,
43595,
58,
16,
11,
17,
60,
15853,
30736,
58,
16,
60,
9,
17896,
58,
17,
60,
9,
7,
34,
58,
18,
11,
18,
48688,
34,
58,
16,
11,
17,
12962,
10,
17896,
58,
17,
60,
9,
17896,
58,
15,
60,
9,
7,
34,
58,
17,
11,
20,
48688,
34,
58,
18,
11,
19,
12962,
198,
220,
220,
220,
43595,
58,
16,
11,
17,
60,
15853,
30736,
58,
15,
60,
9,
17896,
58,
16,
60,
9,
7,
34,
58,
16,
11,
19,
48688,
34,
58,
18,
11,
20,
12962,
628,
220,
220,
220,
43595,
58,
16,
11,
15,
60,
796,
43595,
58,
15,
11,
16,
60,
198,
220,
220,
220,
43595,
58,
17,
11,
15,
60,
796,
43595,
58,
15,
11,
17,
60,
198,
220,
220,
220,
43595,
58,
17,
11,
16,
60,
796,
43595,
58,
16,
11,
17,
60,
198,
220,
220,
220,
1441,
43595,
198,
198,
4299,
43180,
62,
18908,
1373,
7,
34,
11,
81,
8873,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
27131,
378,
262,
19287,
286,
257,
2163,
625,
257,
4326,
16558,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
872,
72,
532,
35560,
320,
1071,
282,
9848,
357,
9248,
287,
2124,
88,
12,
14382,
8,
198,
220,
220,
220,
1303,
262,
8326,
532,
13559,
9848,
357,
9248,
1022,
1976,
290,
2124,
88,
12,
14382,
8,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
357,
220,
331,
220,
837,
2124,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
357,
220,
331,
220,
837,
2124,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
1303,
4299,
264,
20786,
7,
1169,
8326,
11,
34846,
11,
22046,
28,
3419,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
1441,
25439,
7,
1169,
8326,
11,
34846,
11,
22046,
27493,
2777,
13,
31369,
7,
1169,
8326,
8,
628,
220,
220,
220,
19287,
11,
18224,
796,
288,
2436,
47003,
7,
20786,
11,
15,
11,
17,
9,
2777,
13,
14415,
11,
50033,
308,
25,
657,
11,
50033,
289,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
13,
14415,
11,
22046,
16193,
34,
11,
81,
8873,
4008,
198,
220,
220,
220,
1441,
19287,
628,
198,
2,
37295,
796,
599,
13,
18747,
19510,
16,
13,
15,
11,
16,
13,
15,
11,
16,
13,
15,
4008,
198,
2,
17896,
796,
26672,
62,
6966,
1127,
7,
37295,
8,
198,
2,
34,
796,
1100,
62,
7753,
13,
961,
62,
7753,
7,
17597,
13,
853,
85,
58,
16,
12962,
198,
2,
34,
13,
12924,
7,
15,
8,
198,
2,
34,
796,
599,
13,
18747,
7,
34,
11,
22468,
8,
198,
2,
34777,
2611,
796,
787,
62,
28483,
2611,
7,
17896,
11,
34,
8,
198,
2,
43337,
796,
767,
4059,
1303,
10025,
14,
76,
1174,
18,
198,
2,
43337,
796,
12178,
7,
961,
62,
7753,
13,
961,
62,
7753,
7,
17597,
13,
853,
85,
58,
17,
12962,
58,
15,
7131,
15,
12962,
198,
2,
81,
8873,
62,
66,
62,
23415,
796,
300,
1292,
70,
13,
68,
328,
12786,
7,
34777,
2611,
8,
1303,
16960,
64,
198,
2,
81,
8873,
62,
66,
62,
23415,
796,
374,
8873,
62,
66,
62,
23415,
9,
16,
68,
24,
1303,
28875,
198,
2,
23661,
62,
626,
796,
599,
13,
31166,
17034,
7,
81,
8873,
62,
66,
62,
23415,
14,
43337,
737,
5305,
198,
2,
615,
70,
62,
626,
796,
599,
13,
23913,
7,
23661,
62,
626,
8,
198,
2,
4798,
43595,
198,
2,
4798,
4571,
198,
2,
4798,
327,
198,
2,
4798,
374,
8873,
62,
66,
62,
23415,
198,
2,
4798,
374,
8873,
62,
66,
62,
23415,
13,
5305,
198,
2,
4798,
2128,
62,
626,
553,
287,
285,
14,
82,
1,
198,
2,
4798,
42781,
62,
626,
198,
2,
4798,
43180,
62,
18908,
1373,
7,
34,
11,
43337,
8,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
7,
17597,
13,
853,
85,
58,
16,
25,
12962,
198
] | 1.815081 | 1,671 |
#-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2022, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------
''' Provide a functions and classes to implement a custom JSON encoder for
serializing objects for BokehJS.
In general, functions in this module convert values in the following way:
* Datetime values (Python, Pandas, NumPy) are converted to floating point
milliseconds since epoch.
* TimeDelta values are converted to absolute floating point milliseconds.
* RelativeDelta values are converted to dictionaries.
* Decimal values are converted to floating point.
* Sequences (Pandas Series, NumPy arrays, python sequences) that are passed
though this interface are converted to lists. Note, however, that arrays in
data sources inside Bokeh Documents are converted elsewhere, and by default
use a binary encoded format.
* Bokeh ``Model`` instances are usually serialized elsewhere in the context
of an entire Bokeh Document. Models passed trough this interface are
converted to references.
* ``HasProps`` (that are not Bokeh models) are converted to key/value dicts or
all their properties and values.
* ``Color`` instances are converted to CSS color values.
.. |serialize_json| replace:: :class:`~bokeh.core.json_encoder.serialize_json`
'''
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations
import logging # isort:skip
log = logging.getLogger(__name__)
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
# Standard library imports
from json import JSONEncoder
from typing import Any, List, Tuple
# Bokeh imports
from ..settings import settings
from .serialization import Buffer, Serialized
#-----------------------------------------------------------------------------
# Globals and constants
#-----------------------------------------------------------------------------
__all__ = (
'serialize_json',
)
#-----------------------------------------------------------------------------
# General API
#-----------------------------------------------------------------------------
def serialize_json(obj: Any | Serialized[Any], *, pretty: bool | None = None, indent: int | None = None) -> str:
''' Return a serialized JSON representation of objects, suitable to
send to BokehJS.
This function is typically used to serialize single python objects in
the manner expected by BokehJS. In particular, many datetime values are
automatically normalized to an expected format. Some Bokeh objects can
also be passed, but note that Bokeh models are typically properly
serialized in the context of an entire Bokeh document.
The resulting JSON always has sorted keys. By default. the output is
as compact as possible unless pretty output or indentation is requested.
Args:
obj (obj) : the object to serialize to JSON format
pretty (bool, optional) :
Whether to generate prettified output. If ``True``, spaces are
added after added after separators, and indentation and newlines
are applied. (default: False)
Pretty output can also be enabled with the environment variable
``BOKEH_PRETTY``, which overrides this argument, if set.
indent (int or None, optional) :
Amount of indentation to use in generated JSON output. If ``None``
then no indentation is used, unless pretty output is enabled,
in which case two spaces are used. (default: None)
Any additional keyword arguments are passed to ``json.dumps``, except for
some that are computed internally, and cannot be overridden:
* allow_nan
* indent
* separators
* sort_keys
Examples:
.. code-block:: python
>>> data = dict(b=np.datetime64('2017-01-01'), a = np.arange(3))
>>>print(serialize_json(data))
{"a":[0,1,2],"b":1483228800000.0}
>>> print(serialize_json(data, pretty=True))
{
"a": [
0,
1,
2
],
"b": 1483228800000.0
}
'''
pretty = settings.pretty(pretty)
if pretty:
separators=(",", ": ")
else:
separators=(",", ":")
if pretty and indent is None:
indent = 2
content: Any
buffers: List[Buffer]
if isinstance(obj, Serialized):
content = obj.content
buffers = obj.buffers or []
else:
content = obj
buffers = []
encoder = PayloadEncoder(buffers=buffers, indent=indent, separators=separators)
return encoder.encode(content)
#-----------------------------------------------------------------------------
# Dev API
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Private API
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------
| [
2,
10097,
32501,
198,
2,
15069,
357,
66,
8,
2321,
532,
33160,
11,
1052,
330,
13533,
11,
3457,
1539,
290,
347,
2088,
71,
25767,
669,
13,
198,
2,
1439,
2489,
10395,
13,
198,
2,
198,
2,
383,
1336,
5964,
318,
287,
262,
2393,
38559,
24290,
13,
14116,
11,
9387,
351,
428,
3788,
13,
198,
2,
10097,
32501,
198,
7061,
6,
44290,
257,
5499,
290,
6097,
284,
3494,
257,
2183,
19449,
2207,
12342,
329,
198,
46911,
2890,
5563,
329,
347,
2088,
71,
20120,
13,
198,
198,
818,
2276,
11,
5499,
287,
428,
8265,
10385,
3815,
287,
262,
1708,
835,
25,
198,
198,
9,
16092,
8079,
3815,
357,
37906,
11,
16492,
292,
11,
31835,
20519,
8,
389,
11513,
284,
12462,
966,
198,
220,
38694,
1201,
36835,
13,
198,
198,
9,
3862,
42430,
3815,
389,
11513,
284,
4112,
12462,
966,
38694,
13,
198,
198,
9,
45344,
42430,
3815,
389,
11513,
284,
48589,
3166,
13,
198,
198,
9,
4280,
4402,
3815,
389,
11513,
284,
12462,
966,
13,
198,
198,
9,
24604,
3007,
357,
47206,
292,
7171,
11,
31835,
20519,
26515,
11,
21015,
16311,
8,
326,
389,
3804,
198,
220,
996,
428,
7071,
389,
11513,
284,
8341,
13,
5740,
11,
2158,
11,
326,
26515,
287,
198,
220,
1366,
4237,
2641,
347,
2088,
71,
33267,
389,
11513,
8057,
11,
290,
416,
4277,
198,
220,
779,
257,
13934,
30240,
5794,
13,
198,
198,
9,
347,
2088,
71,
7559,
17633,
15506,
10245,
389,
3221,
11389,
1143,
8057,
287,
262,
4732,
198,
220,
286,
281,
2104,
347,
2088,
71,
16854,
13,
32329,
3804,
45047,
428,
7071,
389,
198,
220,
11513,
284,
10288,
13,
198,
198,
9,
7559,
19242,
2964,
862,
15506,
357,
5562,
389,
407,
347,
2088,
71,
4981,
8,
389,
11513,
284,
1994,
14,
8367,
8633,
82,
393,
198,
220,
477,
511,
6608,
290,
3815,
13,
198,
198,
9,
7559,
10258,
15506,
10245,
389,
11513,
284,
17391,
3124,
3815,
13,
198,
198,
492,
930,
46911,
1096,
62,
17752,
91,
6330,
3712,
1058,
4871,
25,
63,
93,
65,
2088,
71,
13,
7295,
13,
17752,
62,
12685,
12342,
13,
46911,
1096,
62,
17752,
63,
198,
198,
7061,
6,
198,
198,
2,
10097,
32501,
198,
2,
3248,
5329,
6816,
198,
2,
10097,
32501,
198,
6738,
11593,
37443,
834,
1330,
37647,
198,
198,
11748,
18931,
1303,
318,
419,
25,
48267,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
198,
2,
10097,
32501,
198,
2,
1846,
3742,
198,
2,
10097,
32501,
198,
198,
2,
8997,
5888,
17944,
198,
6738,
33918,
1330,
19449,
27195,
12342,
198,
6738,
19720,
1330,
4377,
11,
7343,
11,
309,
29291,
198,
198,
2,
347,
2088,
71,
17944,
198,
6738,
11485,
33692,
1330,
6460,
198,
6738,
764,
46911,
1634,
1330,
47017,
11,
23283,
1143,
198,
198,
2,
10097,
32501,
198,
2,
40713,
874,
290,
38491,
198,
2,
10097,
32501,
198,
198,
834,
439,
834,
796,
357,
198,
220,
220,
220,
705,
46911,
1096,
62,
17752,
3256,
198,
8,
198,
198,
2,
10097,
32501,
198,
2,
3611,
7824,
198,
2,
10097,
32501,
198,
198,
4299,
11389,
1096,
62,
17752,
7,
26801,
25,
4377,
930,
23283,
1143,
58,
7149,
4357,
1635,
11,
2495,
25,
20512,
930,
6045,
796,
6045,
11,
33793,
25,
493,
930,
6045,
796,
6045,
8,
4613,
965,
25,
198,
220,
220,
220,
705,
7061,
8229,
257,
11389,
1143,
19449,
10552,
286,
5563,
11,
11080,
284,
198,
220,
220,
220,
3758,
284,
347,
2088,
71,
20120,
13,
628,
220,
220,
220,
770,
2163,
318,
6032,
973,
284,
11389,
1096,
2060,
21015,
5563,
287,
198,
220,
220,
220,
262,
5642,
2938,
416,
347,
2088,
71,
20120,
13,
554,
1948,
11,
867,
4818,
8079,
3815,
389,
198,
220,
220,
220,
6338,
39279,
284,
281,
2938,
5794,
13,
2773,
347,
2088,
71,
5563,
460,
198,
220,
220,
220,
635,
307,
3804,
11,
475,
3465,
326,
347,
2088,
71,
4981,
389,
6032,
6105,
198,
220,
220,
220,
11389,
1143,
287,
262,
4732,
286,
281,
2104,
347,
2088,
71,
3188,
13,
628,
220,
220,
220,
383,
7186,
19449,
1464,
468,
23243,
8251,
13,
2750,
4277,
13,
262,
5072,
318,
198,
220,
220,
220,
355,
16001,
355,
1744,
4556,
2495,
5072,
393,
33793,
341,
318,
9167,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
26181,
357,
26801,
8,
1058,
262,
2134,
284,
11389,
1096,
284,
19449,
5794,
628,
220,
220,
220,
220,
220,
220,
220,
2495,
357,
30388,
11,
11902,
8,
1058,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10127,
284,
7716,
46442,
1431,
5072,
13,
1002,
7559,
17821,
15506,
11,
9029,
389,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2087,
706,
2087,
706,
2880,
2024,
11,
290,
33793,
341,
290,
649,
6615,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
389,
5625,
13,
357,
12286,
25,
10352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20090,
5072,
460,
635,
307,
9343,
351,
262,
2858,
7885,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
8202,
7336,
39,
62,
47,
26087,
9936,
15506,
11,
543,
23170,
1460,
428,
4578,
11,
611,
900,
13,
628,
220,
220,
220,
220,
220,
220,
220,
33793,
357,
600,
393,
6045,
11,
11902,
8,
1058,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26308,
286,
33793,
341,
284,
779,
287,
7560,
19449,
5072,
13,
1002,
7559,
14202,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
788,
645,
33793,
341,
318,
973,
11,
4556,
2495,
5072,
318,
9343,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
543,
1339,
734,
9029,
389,
973,
13,
357,
12286,
25,
6045,
8,
628,
220,
220,
220,
4377,
3224,
21179,
7159,
389,
3804,
284,
7559,
17752,
13,
67,
8142,
15506,
11,
2845,
329,
198,
220,
220,
220,
617,
326,
220,
389,
29231,
20947,
11,
290,
2314,
307,
23170,
4651,
25,
628,
220,
220,
220,
1635,
1249,
62,
12647,
198,
220,
220,
220,
1635,
33793,
198,
220,
220,
220,
1635,
2880,
2024,
198,
220,
220,
220,
1635,
3297,
62,
13083,
628,
220,
220,
220,
21066,
25,
628,
220,
220,
220,
220,
220,
220,
220,
11485,
2438,
12,
9967,
3712,
21015,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13163,
1366,
796,
8633,
7,
65,
28,
37659,
13,
19608,
8079,
2414,
10786,
5539,
12,
486,
12,
486,
33809,
257,
796,
45941,
13,
283,
858,
7,
18,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13163,
4798,
7,
46911,
1096,
62,
17752,
7,
7890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
64,
20598,
15,
11,
16,
11,
17,
17241,
65,
1298,
1415,
5999,
1828,
3459,
20483,
13,
15,
92,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
46911,
1096,
62,
17752,
7,
7890,
11,
2495,
28,
17821,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
64,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
65,
1298,
1478,
5999,
1828,
3459,
20483,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
628,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
2495,
796,
6460,
13,
37784,
7,
37784,
8,
628,
220,
220,
220,
611,
2495,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2880,
2024,
16193,
2430,
11,
366,
25,
366,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2880,
2024,
16193,
2430,
11,
366,
25,
4943,
628,
220,
220,
220,
611,
2495,
290,
33793,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
33793,
796,
362,
628,
220,
220,
220,
2695,
25,
4377,
198,
220,
220,
220,
39334,
25,
7343,
58,
28632,
60,
198,
220,
220,
220,
611,
318,
39098,
7,
26801,
11,
23283,
1143,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
796,
26181,
13,
11299,
198,
220,
220,
220,
220,
220,
220,
220,
39334,
796,
26181,
13,
36873,
364,
393,
17635,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
796,
26181,
198,
220,
220,
220,
220,
220,
220,
220,
39334,
796,
17635,
628,
220,
220,
220,
2207,
12342,
796,
7119,
2220,
27195,
12342,
7,
36873,
364,
28,
36873,
364,
11,
33793,
28,
521,
298,
11,
2880,
2024,
28,
25512,
2024,
8,
198,
220,
220,
220,
1441,
2207,
12342,
13,
268,
8189,
7,
11299,
8,
198,
198,
2,
10097,
32501,
198,
2,
6245,
7824,
198,
2,
10097,
32501,
198,
198,
2,
10097,
32501,
198,
2,
15348,
7824,
198,
2,
10097,
32501,
198,
198,
2,
10097,
32501,
198,
2,
6127,
198,
2,
10097,
32501,
198
] | 3.62022 | 1,543 |
s = input()
c = 0
n = int(input())
a = [0]*3
c = 0
for i in range(n):
a[i] = input()
for i in (a):
print(s.count(i))
| [
82,
796,
5128,
3419,
198,
66,
796,
657,
198,
77,
796,
493,
7,
15414,
28955,
198,
64,
796,
685,
15,
60,
9,
18,
198,
66,
796,
657,
198,
1640,
1312,
287,
2837,
7,
77,
2599,
198,
220,
220,
220,
257,
58,
72,
60,
796,
5128,
3419,
198,
1640,
1312,
287,
357,
64,
2599,
198,
220,
220,
220,
3601,
7,
82,
13,
9127,
7,
72,
4008,
220,
220,
220,
220,
198
] | 1.842857 | 70 |
# -*- coding: utf-8 -*-
from typing import Dict, Any
import os
import pkg_resources
from bag.design import Module
yaml_file = pkg_resources.resource_filename(__name__, os.path.join('netlist_info',
'sense_amp_strongarm.yaml'))
# noinspection PyPep8Naming
class bag_serdes_ec__sense_amp_strongarm(Module):
"""Module for library bag_serdes_ec cell sense_amp_strongarm.
Fill in high level description here.
"""
@classmethod
@classmethod
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
19720,
1330,
360,
713,
11,
4377,
198,
198,
11748,
28686,
198,
11748,
279,
10025,
62,
37540,
198,
198,
6738,
6131,
13,
26124,
1330,
19937,
628,
198,
88,
43695,
62,
7753,
796,
279,
10025,
62,
37540,
13,
31092,
62,
34345,
7,
834,
3672,
834,
11,
28686,
13,
6978,
13,
22179,
10786,
3262,
4868,
62,
10951,
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,
220,
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,
33819,
62,
696,
62,
11576,
1670,
13,
88,
43695,
6,
4008,
628,
198,
2,
645,
1040,
14978,
9485,
47,
538,
23,
45,
3723,
198,
4871,
6131,
62,
2655,
8906,
62,
721,
834,
33819,
62,
696,
62,
11576,
1670,
7,
26796,
2599,
198,
220,
220,
220,
37227,
26796,
329,
5888,
6131,
62,
2655,
8906,
62,
721,
2685,
2565,
62,
696,
62,
11576,
1670,
13,
628,
220,
220,
220,
27845,
287,
1029,
1241,
6764,
994,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
4871,
24396,
628,
220,
220,
220,
2488,
4871,
24396,
198
] | 2.274678 | 233 |
# flake8: noqa
# Converting GFF format with space in lines starting with gi to tab
import sys
import re
fn = sys.argv[1]
f = open(fn, "r")
for l in f.read().split("\n"):
if l.startswith("gi"):
print re.sub(" ", "\t", l)
else:
print l
| [
2,
781,
539,
23,
25,
645,
20402,
198,
2,
35602,
889,
402,
5777,
5794,
351,
2272,
287,
3951,
3599,
351,
308,
72,
284,
7400,
198,
198,
11748,
25064,
198,
11748,
302,
198,
198,
22184,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
69,
796,
1280,
7,
22184,
11,
366,
81,
4943,
198,
198,
1640,
300,
287,
277,
13,
961,
22446,
35312,
7203,
59,
77,
1,
2599,
198,
220,
220,
220,
611,
300,
13,
9688,
2032,
342,
7203,
12397,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
302,
13,
7266,
7203,
33172,
37082,
83,
1600,
300,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
300,
198
] | 2.230769 | 117 |
import random
from itertools import islice
from pysat.solvers import Minicard
import numpy as np
# from numba import njit, int16
from utils import np_one_hot, softmax
# @njit(int16[:,:](int16[:]))
| [
11748,
4738,
198,
6738,
340,
861,
10141,
1330,
318,
75,
501,
198,
6738,
279,
893,
265,
13,
34453,
690,
1330,
1855,
291,
446,
198,
11748,
299,
32152,
355,
45941,
198,
198,
2,
422,
997,
7012,
1330,
299,
45051,
11,
493,
1433,
198,
198,
6738,
3384,
4487,
1330,
45941,
62,
505,
62,
8940,
11,
2705,
9806,
628,
628,
198,
2,
2488,
77,
45051,
7,
600,
1433,
58,
45299,
25,
16151,
600,
1433,
58,
47715,
4008,
628,
198
] | 2.697368 | 76 |
name = "vapetool"
| [
3672,
796,
366,
85,
499,
316,
970,
1,
198
] | 2 | 9 |
"""
__init__.py.py:
"""
from pdd_sdk.api.rest import *
from pdd_sdk.api.base import FileItem | [
198,
198,
37811,
198,
834,
15003,
834,
13,
9078,
13,
9078,
25,
198,
37811,
198,
198,
6738,
279,
1860,
62,
21282,
74,
13,
15042,
13,
2118,
1330,
1635,
198,
6738,
279,
1860,
62,
21282,
74,
13,
15042,
13,
8692,
1330,
9220,
7449
] | 2.261905 | 42 |
""" Locators for Spring '22 """
eda_lex_locators = {
"app_tile": "//one-app-launcher-modal//one-app-launcher-app-tile//a[.='{}']",
"app_item": "//a[@data-label='{}']",
"frame": "//iframe[contains(@id, '{}') or contains(@title, '{}') or contains(@name, '{}')]",
"input_placeholder": "//input[contains(@placeholder,'{}')]",
"panel_tab_lookup": "//a/span[text()='{}']",
"toast_message": "//div[@id='successToast']/descendant::h2[text()='{}']",
"success_message": "//div[@id='successToast']/descendant::h2[text()='{}']",
"toast_close": "//div[@id='successToast']/descendant::button[contains(@class, 'slds-notify__close')]",
"close_tab": "//*[@data-key='close']/ancestor::button[contains(@class, 'slds-button slds-button_icon-x-small')]",
"mailing_address": "//*[contains(@placeholder,'{}')]",
"record": {
"actions": "//div[contains(@class, 'actionsContainer')]/descendant::a[@title='{}']",
"button": "//div[@class='actionsContainer']/button[@title='{}']",
"datepicker": "//div[contains(@class,'uiDatePickerGrid')]/table[@class='calGrid']//span[text()='{}']",
"edit_button": '//*[@title="{}"]',
"list": "//div[contains(@class,'forcePageBlockItem')]//div//div//div//span//span[contains(text(), 'Primary Address Type')]/../../div/div/div/div/a[@class='select']",
"related": {
"new": "//div[@class='container']/descendant::div[contains(@class, 'slds-card__header')]/header/descendant::span[text()='{}']/ancestor::header/following-sibling::div/descendant::a[@title='New']",
"title": "//span[@title='{}']",
},
},
"tabs": {
"tab": "//div[@class='uiTabBar']/ul[@class='tabs__nav']/li[contains(@class,'uiTabItem')]/a[@class='tabHeader']/span[contains(text(), '{}')]",
"spl-tab": "//div[@class='slds-tabs_default']//ul[@class='slds-tabs_default__nav']/li[contains(@class,'slds-tabs_default__item')]/a[text()= '{}']",
},
"eda_setup": {
"custom_settings": "//a[text()='{}']",
"settings_action_button": "//input[@type='submit' and @value='{}']",
"setup_owner": "//table[@class='list']/descendant::td",
},
"eda_settings": {
"action": "//div[@role='banner']/descendant::button[contains(@class, 'settings-{}-bttn')]",
"edit": "//div[@class='slds-page-header' and @role='banner']/descendant::span[text()='Edit']/parent::button",
"tab": "//div[@id='tabs']/descendant::li[contains(@class, 'slds-text-heading--label')]/a[text()='{}']",
"checkbox_default": "//span[text()='{}']/../following-sibling::div/descendant::img",
"checkbox": "//span[text()='{}']/../following-sibling::div/descendant::label[contains(@class,'slds-checkbox')]/span[contains(@class, 'slds-checkbox--faux')]",
"save": "//div[contains(@class, 'slds-page-header')]/descendant::button[contains(@class, 'settings-save-bttn')]",
"system_tab": "//a[contains(text(),'System')]",
"affiliations_tab": "//a[contains(text(),'Affiliations')]",
"affiliations_check": "//span[text()='Specify Role for Created Affiliations']/../following-sibling::div/div/div/label/span/img[@class = 'copy-start-date checked' and @alt='True']",
"auto_enroll_business_organization": "//div/span[text()='Primary Business Organization']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"auto_enroll_educational_institution": "//div/span[text()='Primary Educational Institution']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"auto_enroll_household_account": "//div/span[text()='Primary Household']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"auto_enroll_sports_organization": "//div/span[text()='Primary Sports Organization']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"auto_enroll_university_department": "//div/span[text()='Primary Department']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"primary_affl_unchecked": "//div/span[text()='{}']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"checkbox_ap_affl": "(//label[@class='slds-checkbox']/input[@class='mapping-auto-enroll uiInput uiInputCheckbox uiInput--default uiInput--checkbox'])[1]/following-sibling::span[@class='slds-checkbox--faux']",
"primary_affl_edit": "(//label/span[text()='Primary Affl Field: {}']/../../../following-sibling::div/div/div/label)[1]/input/following-sibling::span[@class='slds-checkbox--faux']",
"affiliations_role_checkbox": "//input[@class='copy-start-date uiInput uiInputCheckbox uiInput--default uiInput--checkbox']/following-sibling::span",
"affiliation_mappings_tab": "//a[contains(text(), 'Affiliation Mappings')]",
"courses": "//a[contains(text(),'Courses')]",
"duration": "//div[.//span[text()='Duration'] and contains(@class, 'slds-form-element') ]//select//option[@value='60']",
"hh_naming_check": "//input[@class='automatic-hh-acc uiInput uiInputCheckbox uiInput--default uiInput--checkbox']/following-sibling::span",
"hh_naming_role_checkbox": "//select[@class='admin-account-naming-input-select select uiInput uiInputSelect uiInput--default uiInput--select']//option[@value='{{!{{!FirstName}}}} {{!LastName}} Administrative Account']",
"hh_adminfnamelname": "//input[contains(@class,'firstName')]",
"course_connections_tab": "//a[contains(text(),'Course Connections')]",
"cc_checkbox": "//input[contains(@class,'slds-checkbox')]/parent::label",
"student_select": "//select[contains(@class,'student-course-connection-record-type-input-select')]",
"faculty_select": "//select[contains(@class,'faculty-course-connection-record-type-input-select')]",
"status_student_affl": "//select[contains(@class,'affiliation-role-picklist-input-select')]",
"status_spec_affl_not_deleted_former": "//select[contains(@class,'affiliation-status-delete-picklist-input-select')]",
"status_current_picklist_affl": "//select[contains(@class,'affiliation-status-picklist-input-select')]",
"default_account_model": "//span[text()='Default Account Model']",
"store_errors": "//span[text()='Store Errors']",
"send_error_notifications": "//span[text()='Send Error Notifications']",
"error_notification_recipients": "//span[text()='Error Notification Recipients']",
"disable_error_handling": "//span[text()='Disable Error Handling']",
"automatic_household_naming": "//span[text()='Automatic Household Naming']",
"adminstrative_account_name_format": "//span[text()='Administrative Account Name Format']",
"household_account_name_format": "//span[text()='Household Account Name Format']",
"batch_processing": "(//td/following-sibling::td[text()='Batch Apex']/following-sibling::td[text()='Processing'])[1]",
"just_batch": "(//td/following-sibling::td[text()='Batch Apex'])[1]",
"batch_watch": "(//td/following-sibling::td[text()='Batch Apex']/following-sibling::td)[1]",
"wait_frame": "//iframe[contains(@title,'Apex Jobs ~ Salesforce - Developer Edition')]",
"wait_loc_text": "(//td/following-sibling::td[text()='Batch Apex']/following-sibling::td)[1]",
"new_account": "//span[@title='New Account']",
"affiliated_accounts": "//span[@title='Affiliated Accounts']",
"affiliation_match": "//th[@data-label='Affiliation Key']/../descendant::a[@title='{}']",
"edit_button": "//div[@class='slds-button-group']//span[contains(text(), 'Edit')]",
"save_button": "//div[@class='slds-button-group']//span[contains(text(), 'Save')]",
"administrative_account": "//div/a[text()='{} Administrative Account']",
"contact_edit": "//a[@title='Edit']",
"en_re_type_validation": "(//div/span[text()='Record Type Validation']/following::div)[1]/div/div/label/span[@class='slds-checkbox--faux']",
"ert_validation": "//span/img[@class='affl-record-type-enforced checked' and @alt='True']",
"un_ert_validation": "//span/img[@class='affl-record-type-enforced unchecked' and @alt='False']",
"delete_rec_affl": "//span/img[@class='delete-prog-enroll checked' and @alt='True']",
"un_delete_rec_affl": "//span/img[@class='delete-prog-enroll unchecked' and @alt='False']",
"del_rel_affl": "(//div/span[text()='Delete Related Affiliation When Deleting Program Enrollment']/following::div)[1]/div/div/label/span[@class='slds-checkbox--faux']",
"specify_role_for_c_affl": "(//div/div/span[text()='Specify Role for Created Affiliations']/following::span)[1]/img[@class='copy-start-date checked' and @alt='True']",
"un_specify_role_for_c_affl": "(//div/div/span[text()='Specify Role for Created Affiliations']/following::span)[1]/img[@class='copy-start-date unchecked' and @alt='False']",
"specify_r_checkbox": "(//div/span[text()='Specify Role for Created Affiliations']/following::div)[1]/div/div/label/span[@class='slds-checkbox--faux']",
"copy_affl_end_date": "//span/img[@class='copy-end-date checked' and @alt='True']",
"un_copy_affl_end_date": "//span/img[@class='copy-end-date unchecked' and @alt='False']",
"copy_affliation_end_checkbox": "(//div/span[text()='Copy Affiliation End Date from Program Enrollment']/following::div)[1]/div/div/label/span[@class='slds-checkbox--faux']",
"copy_affl_start_date": "(//div/div/span[text()='Copy Affiliation Start Date from Program Enrollment']/following::span)[1]/img[@class='copy-start-date checked' and @alt='True']",
"un_copy_affl_start_date": "(//div/div/span[text()='Copy Affiliation Start Date from Program Enrollment']/following::span)[1]/img[@class='copy-start-date unchecked' and @alt='False']",
"copy_affliation_start_checkbox": "(//div/span[text()='Copy Affiliation Start Date from Program Enrollment']/following::div)[1]/div/div/label/span[@class='slds-checkbox--faux']",
"settings_tab": "(//li[@class='slds-tabs__item slds-text-heading--label slds-active' and @role='tab' and @title='Settings'])[1]/a[contains(text(),'Settings')]",
"affl_mappings_tab": "//a[contains(text(),'Affiliation Mappings')]",
"default_checkbox": "//div[text()='{}']/following-sibling::div/descendant::img",
"enable_checkbox": "(//div[text()='{}']/following-sibling::div/descendant::span)[1]",
"dropdown_field": "//div[text()='{}']/following-sibling::div/select",
"action_button": "//button[text()='{}']",
"update_checkbox": "//span[text()='{}']/../following-sibling::div[1]/descendant::span[contains(@class, 'checkbox')]",
"add_setting_button": "//span[text()='{}']/../following-sibling::button/span[text()='{}']",
},
"eda_settings_new": {
"global_action": "//button[text()='{}']",
"edc_header": "//h2[contains(@class, 'header')]/descendant::span[text()='{}']",
"toast_message": "//div[contains(@class, 'slds-theme--success slds-notify--toast slds-notify slds-notify--toast forceToastMessage')]/descendant::span[text()='{}']",
"custom_toast": "//div[contains(@class, 'forceToastMessage')]/descendant::span[contains(@class, 'toastMessage')]",
"settings_nav_title": "//div[@data-qa-locator='edaSettingsNavigation']/descendant::a[text()='{}']",
"dropdown_input": "//label[text()='{}']/../descendant::button[contains(@class, 'slds-combobox__input')]",
"settings_dropdown": "//label[text()='{}']/../descendant::span[text()='{}']",
"select_from_list": "//div[text()='{}']/../following-sibling::div/descendant::div[contains(@class, 'list__options')]/descendant::span[text()='{}']",
"move_to_selected": "//div[text()='{}']/../following-sibling::div/descendant::button[@type='button' and @title='Move selection to Selected Account Record Types']",
"tell_me_more": "//div[text()='{}']/../descendant::a[text()='{}']",
"toggle_status": "//span[text()='{}']/../ancestor::lightning-input",
"toggle_input": "//span[text()='{}']/../descendant::span[contains(@id, 'toggle')]",
"update_button": "//div[text()='{}']/../parent::div/descendant::button[text()='{}']",
"footer_button": "//div[contains(@class, 'footer')]/descendant::button[@title='{}']",
"app_tile": "//h2[text()='{}']/../descendant::ul/descendant::*[self::div or self::span][text()='{}']",
"show_actions_button": "//tr[@data-row-key-value='{}']/descendant::span[text()='Show actions']/ancestor::button[@type='button']",
"actions_menu": "//tr[@data-row-key-value='{}']/descendant::span[text()='{}']/ancestor::a[@role='menuitem']",
},
"eda_settings_cc": {
"default_cc_checkbox": "//div[text()='Enable Course Connections']/following-sibling::div/descendant::img",
"dropdown_values": "//div[text()='{}']/following-sibling::div/select/option[text()='{}']",
"dropdown_values_count": "//div[text()='{}']/following-sibling::div/select/option",
"enable_cc_checkbox": "//div[text()='Enable Course Connections']/following-sibling::div[1]/descendant::span",
"enable_cc_warning_enabled": "//div[contains(@class, 'slds-notify') and @role='alert']/descendant::*[@data-key='warning']/../../following-sibling::span[text()='You must enable Course Connections before editing record types.']",
"enable_cc_warning_disabled": "//span[contains(@class, 'slds-hide')]/descendant::div[contains(@class, 'slds-notify') and @role='alert']/descendant::*[@data-key='warning']/../../following-sibling::span[text()='You must enable Course Connections before editing record types.']",
"updated_dropdown_value": "//div[text()='{}']/following-sibling::div/descendant::span[text()='{}']",
"settings_tab": "//div[contains(@class, 'CourseConnections')]/descendant::a[text()='Settings']",
"backfill_warning_enabled": "//div[contains(@class, 'slds-notify--alert')]/descendant::span[text()='You must enable Course Connections before running the Course Connections Backfill.']",
"backfill_warning_disabled": "//span[contains(@class, 'slds-hide')]/descendant::span[text()='You must enable Course Connections before running the Course Connections Backfill.']",
"cc_sub_tabs": "//div[contains(@class, 'CourseConnections')]/descendant::a[text()='{}']",
"backfill_button_status": "//span[text()='{}']/parent::button",
"backfill_checkbox_status": "//input[contains(@class, 'backfill')]/following-sibling::span[contains(@class, 'checkbox')]",
"backfill_checkbox": "//span[text()='I understand and am ready to run Backfill.']/../span[contains(@class, 'checkbox')]",
"backfill_toast": "//div[@id='backFillToast']/descendant::span[text()='{}']",
},
"eda_settings_program_plans": {
"checkbox_read": "(//span[text()='{}']/../following-sibling::div/descendant::img)[1]",
"checkbox_edit": "(//span[text()='{}']/../following-sibling::div/descendant::span)[1]",
"updated_checkbox_edit": "//span[text()='{}']/../following-sibling::div[1]/descendant::span[contains(@class, 'checkbox')]",
},
"eda_settings_affiliations": {
"acc_rec_type_edit": "//span[text()='Acc Record Type: {}']/../following-sibling::input[contains(@class, 'mapping-acc-rec-type')]",
"acc_rec_type_cleared": "//span[text()='Acc Record Type: ']/../following-sibling::input[contains(@class, 'mapping-acc-rec-type')]",
},
"eda_settings_courses": {
"text_message": "//span[text()='{}']",
},
"eda_settings_accounts_contacts": {
"checkbox": "//span[text()='{}']/following::div[1]/descendant::span[text()='{}']/parent::label/span[contains(@class, 'checkbox')]",
"checkbox_value": "//span[text()='{}']/following::label[1][contains(@class, 'checkbox')]/span[contains(@class, 'checkbox')]",
"checkbox_list": "//span[text()='{}']/../../following-sibling::div[1]/descendant::span[contains(@class, 'checkbox')]",
"checkbox_list_read": "//span[text()='{}']/../../following-sibling::div[1]/descendant::img",
"dropdown_acc": "//span[text()='{}']/../following-sibling::div[1]/select/option[text()='{}']",
},
"eda_settings_relationships": {
"dropdown_read": "//span[text()='{}']/../following-sibling::div[1]/descendant::span",
"dropdown_value": "//span[text()='{}']/../following-sibling::div/descendant::select/option[text()='{}']",
"new_reciprocal_setting": "//div[contains(@class, 'newrecsetting')]/descendant::span[text()='{}']/following::input[1]",
"sub_tab": "//div[@id='relTabs']/descendant::li[contains(@class, 'slds-text-heading--label')]/a[text()='{}']",
"active_checkbox": "//span[text()='{}']/following::input[contains(@class, 'new-rec-sett')]/../span[contains(@class, 'checkbox')]",
"add_setting_button": "//div[contains(@class, 'newrecsetting')]/descendant::span[text()='{}']",
"settings_count": "//span[contains(@class, 'Checkbox')]/img[contains(@class, 'rec-settg')]",
"new_settings": "(//div[@class='newrecsetting']/preceding-sibling::div[1]/div)[last()-{}]/span[contains(@class, 'rec-settg-{}') and text()='{}']",
"new_setting_edit": "(//div[@class='newrecsetting']/preceding-sibling::div[1]/div)[last()-{}]/descendant::input[contains(@class, 'rec-settg-{}')]/../label/span[text()='{}: {}']",
"new_setting_checkbox": "(//div[@class='newrecsetting']/preceding-sibling::div[1]/div)[last()-1]/descendant::img[contains(@class, 'rec-settg-{}')]",
"new_setting_checkbox_edit": "(//div[@class='newrecsetting']/preceding-sibling::div[1]/div)[last()-1]/descendant::input[contains(@class, 'rec-settg-{}')]/../span[contains(@class, 'checkbox')]",
"delete_setting_icon": "//span[text()='{}: {}']/following::lightning-icon[1][contains(@class, 'delete')]",
"removed_setting": "//span[contains(@class, 'rec-settg-{}') and text()='{}']",
"removed_autoc_setting": "//span[contains(@class, 'autoc-settg-{}') and text()='{}']",
"updtate_setting_name": "//span[text()='Name: {}']/../following-sibling::input[contains(@class, 'rec-settg-{}')]",
"update_setting_name_cleared": "//span[text()='Name: ']/../following-sibling::input[contains(@class, 'rec-settg-name')]",
"update_setting_rest": "(//span[text()='Name: {}']/following::input[contains(@class, 'rec-settg-{}')])[1]",
"updated_setting": "//span[contains(@class, 'rec-settg-name') and text()='{}']/following::div/span[contains(@class, 'rec-settg-{}') and text()='{}']",
"test_locator": "(//div[@class='newrecsetting']/preceding-sibling::div[1]/div)[last()-2]/descendant::input[contains(@class, 'rec-settg-neutral')]",
"new_autocreate_setting": "//div[contains(@class, 'newautocsetting')]/descendant::span[text()='{}']/following::input[1]",
"campaign_type_textarea": "//div[contains(@class, 'newautocsetting')]/descendant::span[text()='{}']/following::textarea",
"new_settings_autoc": "(//div[@class='newautocsetting']/preceding-sibling::div[1]/div)[last()-{}]/span[contains(@class, 'autoc-settg-{}') and text()='{}']",
"new_autoc_setting_edit": "(//div[@class='newautocsetting']/preceding-sibling::div[1]/div)[last()-{}]/descendant::input[contains(@class, 'autoc-settg-{}')]/../label/span[text()='{}: {}']",
"new_campaign_types_edit": "(//div[@class='newautocsetting']/preceding-sibling::div[1]/div)[last()-{}]/descendant::textarea[contains(@class, 'autoc-settg-{}')]/../label/span[text()='{}: {}']",
},
"eda_settings_system": {
"default_checkbox": "//span[text()='{}']/../following-sibling::div[1]/descendant::img",
"default_dropdown_value": "//span[text()='{}']/../following-sibling::div[1]/descendant::span[text()='{}']",
"admin_success_toast": "//div[@id='adminSuccessToast']/descendant::h2",
"hh_success_toast": "//div[@id='hhSuccessToast']/descendant::h2",
"other_accname_format": "//span[text()='{}']/../preceding-sibling::div[1]/descendant::input",
"other_dropdown_value": "//span[text()='{}']/../preceding-sibling::div[1]/descendant::span[text()='{}']",
"recipient_type_value": "//span[text()='{}']/../following-sibling::div/descendant::select/option[@value='{}']",
"recipient_name": "//label[text()='{}']/../div/descendant::input",
"recipient_lookup": "//div[contains(@class, 'lookup') and text()='{}']",
},
"account_types": {
"administrative": "//span[contains(text(),'Administrative')]/parent::*",
"household": "//span[text()='Household Account']/preceding-sibling::span",
"account_checkbox": "//div[contains(@class,'slds-form-element__control')]//span[contains(text(),'{}')]",
"save": "//button[contains(@class, 'slds-button')]/span[text()='Save']/..",
"edit": "//button[contains(@class, 'slds-button')]/span[text()='Edit']/..",
"cancel": "//button[contains(@class, 'slds-button')]/span[text()='Cancel']/..",
},
"contact": {
"new_button": "//a[@title='New']//div[@title='New']",
"first_name": "//input[contains(@class,'firstName')]",
"last_name": "//input[contains(@class,'lastName')]",
"save_button": "//button[@title='Save']",
"program_enrollment_new_button": "//div[contains(@class, 'windowViewMode-normal')]//span[text()='Program Enrollments']/following-sibling::span[@title='(0)']/ancestor::header/following-sibling::div/descendant::a[@title='New']",
},
"program_plans": {
"program_plan": "(//a[@title='Program Plans'])[2]/span/span",
"new_button": "//a[@title='New']//div[@title='New']/..",
"pp_name": "//div//div//div//div//div//div//div//label//span[contains(text(), 'Program Plan Name')]//../following-sibling::input",
"save_button": "//div[contains(@class, 'inlineFooter')]/descendant::button[@title='Save']",
},
"plan_requirement": {
"error": "//div[contains(@class, 'pageLevelErrors')]/descendant::li[text()='{}']",
"parent_plan_req_name": "//div[contains(@class, 'slds-modal__container')]/descendant::span[text()='Parent Plan Requirement']/../following-sibling::div/descendant::span[text()='{}']",
"plan_requirement_name": "//div[contains(@class, 'slds-modal__container')]/descendant::span[text()='Plan Requirement Name']/../following-sibling::input",
"program_plan_name": "//td/a[@title='{}']",
"program_plan": "//div[contains(@class, 'slds-modal__container')]/descendant::span[text()='Program Plan']/../following-sibling::div/descendant::span[text()='{}']",
"delete_field": "//div[contains(@class, 'slds-modal__container')]/descendant::span[text()='{}']/../following-sibling::div/descendant::span[text()='{}']/following-sibling::a[@class='deleteAction']",
"toast_message": "//lightning-icon[contains(@class, 'toastIcon') and contains(@class, 'slds-icon-utility-success')]",
},
"course_offering": {
"search_courses": "//div/input[@title='Search Courses']",
"new_button": "//a[@title='New']//div[@title='New']/..",
"new_course_button": "//span[@class='itemLabel slds-truncate slds-show--inline-block slds-m-left--xx-small' and contains(text(), 'New Course')]",
"save_button": "(//span[@class=' label bBody' and text()='Save']/ancestor::button[contains(@class, 'slds-button')])[3]",
"next_save_button": "//div[contains(@class, 'inlineFooter')]/descendant::button[@title='Save']",
"final_save_button": "(//span[@class=' label bBody' and text()='Save'])[3]/ancestor::button",
},
"settings_health_check": {
"run_health_check_button": "//button[@title='{}']",
"health_check_header": "//h2[contains(@class, 'header')]/span[text()='{}']",
"last_run_date": "//button[@title='Run Health Check']/preceding::div[1]",
"expand_button": "//button[@title='Expand these results' and contains(@aria-controls, '{}')]",
"all_checks_status": "//div[text()='{}']/following-sibling::div/div[contains(@class, 'text')]",
"status_value": "//div[contains(@id, '{}')]/descendant::td/descendant::lightning-base-formatted-text[text()='{}']/ancestor::td/preceding-sibling::th[@data-label='Status']/descendant::lightning-base-formatted-text",
"recommended_fix_value": "//div[contains(@id, '{}')]/descendant::td/descendant::lightning-base-formatted-text[text()='{}']/ancestor::tr/descendant::td[@data-label='Recommended Fix']/descendant::lightning-base-formatted-text",
},
"term": {
"new_term_button": "//span[@class='itemLabel slds-truncate slds-show--inline-block slds-m-left--xx-small' and contains(text(), 'New Term')]//..",
"save_button": "(//span[@class=' label bBody' and contains(text(), 'Save')])[5]/..",
"account": "//div//input[@title='Search Accounts']",
"search_terms": "//input[@title='Search Terms']",
"course_offering_id": "//span[contains(text(), 'Course Offering ID')]//../following-sibling::input",
},
"custom_settings": {
"hierarchy_settings": "//a[text()='Hierarchy Settings']",
"manage": "//span/input[@value='Manage']",
"no_records": "//table//td[text()='No records to display.']",
"custom_settings_frame": "//iframe[contains(@title,'Custom Settings ~ Salesforce')]",
"custom_settings_definition": "//iframe[contains(@title,'Custom Setting Definition ~ Salesforce')]",
"custom_settings_h_settings": "//iframe[contains(@title,'Custom Setting Hierarchy Settings ~ Salesforce')]",
},
"new_account": "//span[@title='New Account']",
"new_account_next_button": "//button[contains(@class, 'slds-button')]//span[@class=' label bBody' and text()='Next']",
"new_account_name": "//label/span[text()='Account Name']/following-sibling::span/following::input[1]",
"new_account_save_button": "//div[contains(@class, 'slds-modal__footer')]/descendant::button[@title='Save']",
"account_record_type": "//span[contains(text(), '{}')]",
"new_program_enrollment_save_button": "//div[contains(@class, 'inlineFooter')]/descendant::button[@title='Save']",
"affiliated_accounts_count": "//span[text()='Affiliated Accounts']/following-sibling::span[contains(@title, '(1)')]",
"custom_settings_title": "//a/mark[text()='{}']",
"program_enrollments_count": "//span[text()='Program Enrollments']/following-sibling::span[contains(@title, '(1)')]",
"programenrollment_account": "//div[@class='autocompleteWrapper slds-grow']//input[@class=' default input uiInput uiInputTextForAutocomplete uiInput--default uiInput--input uiInput uiAutocomplete uiInput--default uiInput--lookup']",
"list_of_departments": "//button[contains(@class, 'slds-button slds-button--neutral')]//span[@class=' label bBody' and text()='Next']",
"tab": "//div[@class='uiTabBar']/ul[@class='tabs__nav']/li[contains(@class,'uiTabItem')]/a[@class='tabHeader']/span[contains(text(), '{}')]",
"account_list": '//tbody/tr/th[.//span[contains(@class, "slds-grid")]]/descendant::a[text()="{}"]',
"header_field_value": '//*[contains(@class, "slds-page-header__detail")][.//*[@title="{}"]]//*[text()="{}"]',
"modal": {
"checkbox": '//div[contains(@class,"uiInputCheckbox")]/label/span[text()="{}"]/../following-sibling::input[@type="checkbox"]',
"save": "//div[contains(@class, 'footer') or contains(@class, 'Footer')]/descendant::button[@title='Save']",
},
"accounts_contacts_settings_locators": {
"copy_from": "//select[@class='contact-preferred-phone-picklist-input-select select uiInput uiInputSelect uiInput--default uiInput--select']",
"disable_checked": "(//span[text()='Disable Preferred Phone enforcement']/following::div/div/div/label/input/following-sibling::span)[1]",
"disable_preferred_phone": "//div/span[text()='Disable Preferred Phone enforcement']/following::div[1]/div/div/label/span/img[@alt='False']",
"enhanced_preferred_clear": "//div/span[text()='Enable Enhanced Preferred Phone Functionality']/following::div[1]/div/div/label/span/img[@alt='False']",
"enhanced_preferred_clear_faux": "//span[text()='Enable Enhanced Preferred Phone Functionality']/following::div[1]/div/div/label/input/following::span[1]",
"enhanced_preferred_set": "//span[text()='Enable Enhanced Preferred Phone Functionality']/following::div[1]/div/div/label/span/img[@alt='True']",
"enhanced_preferred_set_faux": "//span[text()='Enable Enhanced Preferred Phone Functionality']/following::div[1]/div/div/label/input/following::span[1]",
"preferred_phone_active": "//div/span[text()='Disable Preferred Phone enforcement']/following::div[1]/div/div/label/span/img[@alt='True']",
},
"relationships_settings_locators": {
"sub_tab": "//div[@id='relTabs']/descendant::li[contains(@class, 'slds-text-heading--label')]/a[text()='{}']",
},
"contacts_locators": {
"contact_save": "//div[contains(@class,'modal-footer')]//button[@title='Save']//span[text()='Save']",
"header": "//a[@title='Contacts']//span",
"select_contact": "//a[@title='{} {}']",
"preferred_phone": "//span//span[contains(text(),'Preferred Phone')]",
"preferred_phone_home_dropdown": "//span//span[contains(text(),'Preferred Phone')]/following::span/following::a",
"preferred_tab": "//div[@class='select-options']/descendant::a[@title='Home Phone']",
"phone_verify_has_number": "(//div//span[text()='Phone']/../following-sibling::div//span[not( text()='123-123-1234')])[1]",
"preferred_error_message": "//li[contains(text(), 'The phone selected for Preferred Phone can')]",
"which_preferred_error_message": "//li[contains(text(), 'Tell us which Phone is preferred.')]",
"field_for_work_phone": "//div//label//span[contains(text(),'Work Phone')]/../following-sibling::input",
"which_footer_cancel": "//div[contains(@class,'footer')]/button[@title='Cancel']//span[text()='Cancel']",
"footer_save": "//div[contains(@class,'modal-footer')]//span[text()='Save']",
"accounts_contacts": "//a[contains(text(),'Accounts and Contacts')]",
"details_tab": "//div[contains(@class,'normal')]//span[@class='title' and text()='Details']",
"phone_home": "//span[text()='Home Phone']/../following-sibling::input",
"run_cleanup": "//button[text()='Run Cleanup']",
"phone_verify": "//div//span[text()='Home Phone']/../following-sibling::div//span//span[text()='123-123-1234']",
"home_phone_verify": "//span[text()='Home Phone']/../following::div//span//span[text()='123-123-1234']",
"successful_run": "//span[text()='The process was queued successfully. An email will be sent at the completion of the job.']",
"apex_jobs": "//a/mark[text()='{}']",
"primary_business_organization": "(//span[text()='Primary Business Organization']/following::div/div/div/div/input[@title='Search Accounts'])[1]",
"button_save_affiliation": "//button[@title='Save']//span[text()='Save']",
"delete_icon": "//span[@class='deleteIcon']",
},
"affiliations_locators": {
"header": "//a[@title='EDA Settings']//span",
"tab": "//div[@id='tabs']/descendant::li[contains(@class, 'slds-text-heading--label')]/a[text()='{}']",
"edit": "//button[contains(@class, 'slds-button') and @type='button']/span[text()='Edit']/..",
"checkbox": "//span[text()='{}']/../following-sibling::div/descendant::label[contains(@class,'slds-checkbox')]/span[contains(@class, 'slds-checkbox--faux')]",
"save": "//div[contains(@class, 'slds-page-header')]/descendant::button[contains(@class, 'settings-save-bttn')]",
"sub_tab": "//div[@id='afflTabs']/descendant::li[contains(@class, 'slds-text-heading--label')]/a[text()='{}']",
"edit_button": "//div[@class='slds-button-group']//span[contains(text(), 'Edit')]",
"save_button": "//div[@class='slds-button-group']//span[contains(text(), 'Save')]",
"un_ert_validation": "//span/img[@class='affl-record-type-enforced unchecked' and @alt='False']",
"un_delete_rec_affl": "//span/img[@class='delete-prog-enroll unchecked' and @alt='False']",
"specify_role_for_c_affl": "(//div/div/span[text()='Specify Role for Created Affiliations']/following::span)[1]/img[@class='copy-start-date checked' and @alt='True']",
"copy_affl_end_date": "//span/img[@class='copy-end-date checked' and @alt='True']",
"copy_affl_start_date": "(//div/div/span[text()='Copy Affiliation Start Date from Program Enrollment']/following::span)[1]/img[@class='copy-start-date checked' and @alt='True']",
"affiliations_former": "//div/div/following::div/span[text()='Former']",
"affiliations_student": "(//div/div/span[@class='uiOutputText' and text()='Role Specified for Created Affiliations']/following::div[@class='slds-col slds-size--1-of-2'])[1]/span[text()='Student']",
"affiliations_current": "//div/div/following::div[@class='slds-col slds-size--1-of-2']/span[text()='Current']",
"account_record_type_academic_program": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='Academic Program']",
"contact_primary_affl_field_primary_academic_program": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Academic Program']",
"auto_enroll_academic_program": "//div/span[text()='Primary Academic Program']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll checked' and @alt='True']",
"auto_enrollment_edit_mode_status_academic_program": "(//span[text()='Primary Affl Field: Primary Academic Program']/../../../following-sibling::div/following-sibling::div/div/label/span[text()='Status: Current']/following::input)[1]",
"ae_em_status_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"auto_enrollment_edit_mode_role_academic_program": "(//span[text()='Primary Affl Field: Primary Academic Program']/../../../following-sibling::div/following-sibling::div/div/label/span[text()='Role: Student']/following::input)[1]",
"ae_em_role_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"auto_enrollment_read_mode_status_academic_program": "(//div/span[text()='Primary Academic Program']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='Current']",
"auto_enrollment_read_mode_role_academic_program": "(//div/span[text()='Primary Academic Program']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='Student']",
"account_record_type_business_organization": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='Business Organization']",
"contact_primary_affl_field_primary_business_organization": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Business Organization']",
"auto_enroll_business_organization": "//div/span[text()='Primary Business Organization']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"ae_em_bo_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-acc-rec-type input']",
"auto_enrollment_edit_mode_role_business_organization": "(//span[text()='Primary Affl Field: Primary Business Organization']/../../../following-sibling::div/following-sibling::div/following-sibling::div//span[text()='Role: ']/following::input)[1]",
"ae_em_pbo_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-affl-field input']",
"auto_enrollment_read_mode_status_business_organization": "(//div/span[text()='Primary Business Organization']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='']",
"ae_enroll_bo_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"auto_enrollment_read_mode_role_business_organization": "(//div/span[text()='Primary Business Organization']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='']",
"ae_enroll_bo_status_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"account_record_type_educational_institution": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='Educational Institution']",
"contact_primary_affl_field_primary_educational_institution": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Educational Institution']",
"auto_enroll_educational_institution": "//div/span[text()='Primary Educational Institution']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"auto_enrollment_read_mode_status_educational_institution": "(//div/span[text()='Primary Educational Institution']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='']",
"auto_enrollment_read_mode_role_educational_institution": "(//div/span[text()='Primary Educational Institution']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='']",
"ei_art_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-acc-rec-type input']",
"ei_cpaf_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-affl-field input']",
"ei_aes_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"ed_aer_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"account_record_type_household_account": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='Household Account']",
"contact_primary_affl_field_primary_household": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Household']",
"auto_enroll_household_account": "//div/span[text()='Primary Household']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"auto_enrollment_read_mode_status_household_account": "(//div/span[text()='Primary Household']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='']",
"auto_enrollment_read_mode_role_household_account": "(//div/span[text()='Primary Household']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='']",
"ha_art_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-acc-rec-type input']",
"ha_cpaf_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-affl-field input']",
"ha_aes_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"ha_aer_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"account_record_type_sports_organization": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='Sports Organization']",
"contact_primary_affl_field_primary_sports_organization": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Sports Organization']",
"auto_enroll_sports_organization": "//div/span[text()='Primary Sports Organization']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"auto_enrollment_read_mode_status_sports_organization": "(//div/span[text()='Primary Sports Organization']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='']",
"auto_enrollment_read_mode_role_sports_organization": "(//div/span[text()='Primary Sports Organization']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='']",
"so_art_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-acc-rec-type input']",
"pso_cpaf_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-affl-field input']",
"so_aes_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"so_aer_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"account_record_type_university_department": "//span[@class='mapping-acc-rec-type uiOutputText' and text()='University Department']",
"contact_primary_affl_field_primary_department": "//span[@class='mapping-affl-field uiOutputText' and text()='Primary Department']",
"auto_enroll_university_department": "//div/span[text()='Primary Department']/../following-sibling::div[1]//span/img[@class='mapping-auto-enroll unchecked' and @alt='False']",
"auto_enrollment_read_mode_status_university_department": "(//div/span[text()='Primary Department']/../following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-status uiOutputText' and text()='']",
"auto_enrollment_read_mode_role_university_department": "(//div/span[text()='Primary Department']/../following-sibling::div/following-sibling::div/following-sibling::div)[1]/span[@class='mapping-enroll-role uiOutputText' and text()='']",
"ud_art_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-acc-rec-type input']",
"ud_cpaf_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-affl-field input']",
"ud_aes_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-status input']",
"ud_aer_em_empty": "(//div[@class='slds-tabs__content slds-show']/div[@class='slds-grid slds-wrap']/div/following::div/label/input/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div/following::div)[1]//label/following-sibling::input[@class='mapping-enroll-role input']",
"account_record_type_input": "//label/span[text()='Account Record Type']/../following-sibling::input",
"primary_affl_field_input": "//label/span[text()='Primary Affl Field']/../following-sibling::input",
"auto_enrollment": "(//label/span[text()='Auto-Enrollment']/following::br/following::div/label/input/following-sibling::span)[1][@class='slds-checkbox--faux']",
"status_mapping_field_input": "//label/span[text()='Status']/../following-sibling::input",
"role_mapping_field_input": "//label/span[text()='Role']/../following-sibling::input",
"acc_record_type": "//label/span[text()='Acc Record Type: {}']/following::input[1][@class='mapping-acc-rec-type input' and @type='text']",
"contact_primary_affl_field": "//label/span[text()='Primary Affl Field: {}']/following::input[1][@class='mapping-affl-field input' and @type='text']",
"art_ap_input_affl_empty": "(//label/span[text()='Acc Record Type: ']/following::input[1][@class='mapping-acc-rec-type input' and @type='text'])[1]",
"paf_pap_input_affl_empty": "(//label/span[text()='Primary Affl Field: ']/following::input[1][@class='mapping-affl-field input' and @type='text'])[1]",
}
}
| [
37811,
15181,
2024,
329,
8225,
705,
1828,
37227,
198,
198,
18082,
62,
2588,
62,
17946,
2024,
796,
1391,
198,
220,
220,
220,
366,
1324,
62,
40927,
1298,
366,
1003,
505,
12,
1324,
12,
38722,
2044,
12,
4666,
282,
1003,
505,
12,
1324,
12,
38722,
2044,
12,
1324,
12,
40927,
1003,
64,
58,
13,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
1324,
62,
9186,
1298,
366,
1003,
64,
58,
31,
7890,
12,
18242,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
14535,
1298,
366,
1003,
39621,
58,
3642,
1299,
7,
31,
312,
11,
705,
90,
92,
11537,
393,
4909,
7,
31,
7839,
11,
705,
90,
92,
11537,
393,
4909,
7,
31,
3672,
11,
705,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
366,
15414,
62,
5372,
13829,
1298,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
5372,
13829,
4032,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
366,
35330,
62,
8658,
62,
5460,
929,
1298,
366,
1003,
64,
14,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
1462,
459,
62,
20500,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
13138,
2514,
459,
20520,
14,
20147,
23048,
3712,
71,
17,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
13138,
62,
20500,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
13138,
2514,
459,
20520,
14,
20147,
23048,
3712,
71,
17,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
1462,
459,
62,
19836,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
13138,
2514,
459,
20520,
14,
20147,
23048,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
1662,
1958,
834,
19836,
11537,
60,
1600,
198,
220,
220,
220,
366,
19836,
62,
8658,
1298,
366,
1003,
9,
58,
31,
7890,
12,
2539,
11639,
19836,
20520,
14,
1192,
395,
273,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
264,
335,
82,
12,
16539,
62,
4749,
12,
87,
12,
17470,
11537,
60,
1600,
198,
220,
220,
220,
366,
4529,
278,
62,
21975,
1298,
366,
1003,
9,
58,
3642,
1299,
7,
31,
5372,
13829,
4032,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
366,
22105,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4658,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
4658,
29869,
11537,
60,
14,
20147,
23048,
3712,
64,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16539,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
4658,
29869,
20520,
14,
16539,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4475,
79,
15799,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
9019,
10430,
47,
15799,
41339,
11537,
60,
14,
11487,
58,
31,
4871,
11639,
9948,
41339,
20520,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
62,
16539,
1298,
705,
1003,
9,
58,
31,
7839,
2625,
90,
92,
8973,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4868,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
3174,
9876,
12235,
7449,
11537,
60,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
12626,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
35170,
17917,
5994,
11537,
60,
14,
40720,
40720,
7146,
14,
7146,
14,
7146,
14,
7146,
14,
64,
58,
31,
4871,
11639,
19738,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5363,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
34924,
20520,
14,
20147,
23048,
3712,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
9517,
834,
25677,
11537,
60,
14,
25677,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
1192,
395,
273,
3712,
25677,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
64,
58,
31,
7839,
11639,
3791,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7839,
1298,
366,
1003,
12626,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
8658,
82,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8658,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
9019,
33349,
10374,
20520,
14,
377,
58,
31,
4871,
11639,
8658,
82,
834,
28341,
20520,
14,
4528,
58,
3642,
1299,
7,
31,
4871,
4032,
9019,
33349,
7449,
11537,
60,
14,
64,
58,
31,
4871,
11639,
8658,
39681,
20520,
14,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
22018,
12,
8658,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
62,
12286,
20520,
1003,
377,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
62,
12286,
834,
28341,
20520,
14,
4528,
58,
3642,
1299,
7,
31,
4871,
4032,
82,
335,
82,
12,
8658,
82,
62,
12286,
834,
9186,
11537,
60,
14,
64,
58,
5239,
3419,
28,
705,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
40406,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23144,
62,
33692,
1298,
366,
1003,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
2673,
62,
16539,
1298,
366,
1003,
15414,
58,
31,
4906,
11639,
46002,
6,
290,
2488,
8367,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
40406,
62,
18403,
1298,
366,
1003,
11487,
58,
31,
4871,
11639,
4868,
20520,
14,
20147,
23048,
3712,
8671,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2673,
1298,
366,
1003,
7146,
58,
31,
18090,
11639,
3820,
1008,
20520,
14,
20147,
23048,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
33692,
12,
90,
92,
12,
65,
926,
77,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
7700,
12,
25677,
6,
290,
2488,
18090,
11639,
3820,
1008,
20520,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
18378,
20520,
14,
8000,
3712,
16539,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8658,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
8658,
82,
20520,
14,
20147,
23048,
3712,
4528,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
5239,
12,
33878,
438,
18242,
11537,
60,
14,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
12286,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
9600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
18242,
58,
3642,
1299,
7,
31,
4871,
4032,
82,
335,
82,
12,
9122,
3524,
11537,
60,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
7700,
12,
25677,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
33692,
12,
21928,
12,
65,
926,
77,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10057,
62,
8658,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
11964,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
8658,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
35191,
2403,
602,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
9122,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
22882,
1958,
20934,
329,
15622,
6708,
2403,
602,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
14,
9600,
58,
31,
4871,
796,
705,
30073,
12,
9688,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
22680,
62,
9971,
1634,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7320,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
18123,
864,
62,
8625,
2738,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
30038,
29426,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
4803,
2946,
62,
23317,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
37306,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
32945,
62,
9971,
1634,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7092,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
403,
1608,
62,
10378,
1823,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
2732,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
39754,
62,
2001,
75,
62,
403,
26752,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
499,
62,
2001,
75,
1298,
30629,
1003,
18242,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
20520,
14,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
334,
72,
20560,
334,
72,
20560,
9787,
3524,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
9122,
3524,
6,
12962,
58,
16,
60,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39754,
62,
2001,
75,
62,
19312,
1298,
30629,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
23884,
20520,
14,
40720,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
7146,
14,
7146,
14,
18242,
38381,
16,
60,
14,
15414,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
18090,
62,
9122,
3524,
1298,
366,
1003,
15414,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
334,
72,
20560,
334,
72,
20560,
9787,
3524,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
9122,
3524,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
15547,
62,
76,
39242,
62,
8658,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
705,
35191,
15547,
337,
39242,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
66,
39975,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
34,
39975,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32257,
1298,
366,
1003,
7146,
58,
13,
1003,
12626,
58,
5239,
3419,
11639,
26054,
20520,
290,
4909,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
687,
12,
30854,
11537,
2361,
1003,
19738,
1003,
18076,
58,
31,
8367,
11639,
1899,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12337,
62,
77,
3723,
62,
9122,
1298,
366,
1003,
15414,
58,
31,
4871,
11639,
37800,
12,
12337,
12,
4134,
334,
72,
20560,
334,
72,
20560,
9787,
3524,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
9122,
3524,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12337,
62,
77,
3723,
62,
18090,
62,
9122,
3524,
1298,
366,
1003,
19738,
58,
31,
4871,
11639,
28482,
12,
23317,
12,
77,
3723,
12,
15414,
12,
19738,
2922,
334,
72,
20560,
334,
72,
20560,
17563,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
19738,
20520,
1003,
18076,
58,
31,
8367,
11639,
27007,
0,
27007,
0,
5962,
5376,
11709,
11709,
22935,
0,
5956,
5376,
11709,
30048,
10781,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12337,
62,
28482,
69,
7402,
417,
3672,
1298,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
4871,
4032,
11085,
5376,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17319,
62,
8443,
507,
62,
8658,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
49046,
8113,
507,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
535,
62,
9122,
3524,
1298,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
4871,
4032,
82,
335,
82,
12,
9122,
3524,
11537,
60,
14,
8000,
3712,
18242,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
50139,
62,
19738,
1298,
366,
1003,
19738,
58,
3642,
1299,
7,
31,
4871,
4032,
50139,
12,
17319,
12,
38659,
12,
22105,
12,
4906,
12,
15414,
12,
19738,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
38942,
10672,
62,
19738,
1298,
366,
1003,
19738,
58,
3642,
1299,
7,
31,
4871,
4032,
38942,
10672,
12,
17319,
12,
38659,
12,
22105,
12,
4906,
12,
15414,
12,
19738,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
62,
50139,
62,
2001,
75,
1298,
366,
1003,
19738,
58,
3642,
1299,
7,
31,
4871,
4032,
2001,
15547,
12,
18090,
12,
27729,
4868,
12,
15414,
12,
19738,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
62,
16684,
62,
2001,
75,
62,
1662,
62,
2934,
33342,
62,
16354,
1298,
366,
1003,
19738,
58,
3642,
1299,
7,
31,
4871,
4032,
2001,
15547,
12,
13376,
12,
33678,
12,
27729,
4868,
12,
15414,
12,
19738,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
62,
14421,
62,
27729,
4868,
62,
2001,
75,
1298,
366,
1003,
19738,
58,
3642,
1299,
7,
31,
4871,
4032,
2001,
15547,
12,
13376,
12,
27729,
4868,
12,
15414,
12,
19738,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12286,
62,
23317,
62,
19849,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
19463,
10781,
9104,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8095,
62,
48277,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
22658,
44225,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21280,
62,
18224,
62,
1662,
6637,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
25206,
13047,
1892,
6637,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18224,
62,
1662,
2649,
62,
8344,
541,
2334,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
12331,
42808,
3311,
541,
2334,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
40223,
62,
18224,
62,
4993,
1359,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
48893,
13047,
49500,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
37800,
62,
4803,
2946,
62,
77,
3723,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
16541,
13730,
37306,
399,
3723,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
28482,
2536,
876,
62,
23317,
62,
3672,
62,
18982,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
41862,
13260,
10781,
6530,
18980,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4803,
2946,
62,
23317,
62,
3672,
62,
18982,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
18102,
2946,
10781,
6530,
18980,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43501,
62,
36948,
1298,
30629,
1003,
8671,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
58,
5239,
3419,
11639,
33,
963,
49440,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
58,
5239,
3419,
11639,
18709,
278,
6,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3137,
62,
43501,
1298,
30629,
1003,
8671,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
58,
5239,
3419,
11639,
33,
963,
49440,
6,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43501,
62,
8340,
1298,
30629,
1003,
8671,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
58,
5239,
3419,
11639,
33,
963,
49440,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17077,
62,
14535,
1298,
366,
1003,
39621,
58,
3642,
1299,
7,
31,
7839,
4032,
32,
24900,
19161,
5299,
17329,
3174,
532,
23836,
5061,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17077,
62,
17946,
62,
5239,
1298,
30629,
1003,
8671,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
58,
5239,
3419,
11639,
33,
963,
49440,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
8671,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
23317,
1298,
366,
1003,
12626,
58,
31,
7839,
11639,
3791,
10781,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
46818,
62,
23317,
82,
1298,
366,
1003,
12626,
58,
31,
7839,
11639,
35191,
31705,
35584,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
15547,
62,
15699,
1298,
366,
1003,
400,
58,
31,
7890,
12,
18242,
11639,
35191,
15547,
7383,
20520,
14,
40720,
20147,
23048,
3712,
64,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
62,
16539,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
16539,
12,
8094,
20520,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
18378,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
16539,
12,
8094,
20520,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
16928,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39081,
13260,
62,
23317,
1298,
366,
1003,
7146,
14,
64,
58,
5239,
3419,
11639,
90,
92,
30048,
10781,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
19312,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
18378,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
268,
62,
260,
62,
4906,
62,
12102,
341,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
23739,
5994,
3254,
24765,
20520,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
861,
62,
12102,
341,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
2001,
75,
12,
22105,
12,
4906,
12,
268,
12072,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
861,
62,
12102,
341,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
2001,
75,
12,
22105,
12,
4906,
12,
268,
12072,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33678,
62,
8344,
62,
2001,
75,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
33678,
12,
1676,
70,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
33678,
62,
8344,
62,
2001,
75,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
33678,
12,
1676,
70,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12381,
62,
2411,
62,
2001,
75,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
38727,
19809,
6708,
15547,
1649,
42226,
889,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16684,
1958,
62,
18090,
62,
1640,
62,
66,
62,
2001,
75,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
22882,
1958,
20934,
329,
15622,
6708,
2403,
602,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
16684,
1958,
62,
18090,
62,
1640,
62,
66,
62,
2001,
75,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
22882,
1958,
20934,
329,
15622,
6708,
2403,
602,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16684,
1958,
62,
81,
62,
9122,
3524,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
22882,
1958,
20934,
329,
15622,
6708,
2403,
602,
20520,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
62,
437,
62,
4475,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
437,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
30073,
62,
2001,
75,
62,
437,
62,
4475,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
437,
12,
4475,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
3920,
62,
437,
62,
9122,
3524,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
29881,
6708,
15547,
5268,
7536,
422,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
62,
9688,
62,
4475,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
29881,
6708,
15547,
7253,
7536,
422,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
30073,
62,
2001,
75,
62,
9688,
62,
4475,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
29881,
6708,
15547,
7253,
7536,
422,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
3920,
62,
9688,
62,
9122,
3524,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
29881,
6708,
15547,
7253,
7536,
422,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
8658,
1298,
30629,
1003,
4528,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
9186,
264,
335,
82,
12,
5239,
12,
33878,
438,
18242,
264,
335,
82,
12,
5275,
6,
290,
2488,
18090,
11639,
8658,
6,
290,
2488,
7839,
11639,
26232,
6,
12962,
58,
16,
60,
14,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
26232,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
75,
62,
76,
39242,
62,
8658,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
35191,
15547,
337,
39242,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12286,
62,
9122,
3524,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
9600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21633,
62,
9122,
3524,
1298,
30629,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
3245,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
19738,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2673,
62,
16539,
1298,
366,
1003,
16539,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19119,
62,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2860,
62,
33990,
62,
16539,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
16539,
14,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
3605,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20541,
62,
2673,
1298,
366,
1003,
16539,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
276,
66,
62,
25677,
1298,
366,
1003,
71,
17,
58,
3642,
1299,
7,
31,
4871,
11,
705,
25677,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1462,
459,
62,
20500,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
43810,
438,
13138,
264,
335,
82,
12,
1662,
1958,
438,
1462,
459,
264,
335,
82,
12,
1662,
1958,
264,
335,
82,
12,
1662,
1958,
438,
1462,
459,
2700,
2514,
459,
12837,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23144,
62,
1462,
459,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3174,
2514,
459,
12837,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
1462,
459,
12837,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
28341,
62,
7839,
1298,
366,
1003,
7146,
58,
31,
7890,
12,
20402,
12,
17946,
1352,
11639,
18082,
26232,
30575,
7065,
20520,
14,
20147,
23048,
3712,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
15414,
1298,
366,
1003,
18242,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
20147,
23048,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
24011,
672,
1140,
834,
15414,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
14781,
2902,
1298,
366,
1003,
18242,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19738,
62,
6738,
62,
4868,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
4868,
834,
25811,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21084,
62,
1462,
62,
34213,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
16539,
58,
31,
4906,
11639,
16539,
6,
290,
2488,
7839,
11639,
21774,
6356,
284,
41344,
10781,
13266,
24897,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33331,
62,
1326,
62,
3549,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
20147,
23048,
3712,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44256,
62,
13376,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
1192,
395,
273,
3712,
2971,
768,
12,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44256,
62,
15414,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
20147,
23048,
3712,
12626,
58,
3642,
1299,
7,
31,
312,
11,
705,
44256,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19119,
62,
16539,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
8000,
3712,
7146,
14,
20147,
23048,
3712,
16539,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5898,
263,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
5898,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1324,
62,
40927,
1298,
366,
1003,
71,
17,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
20147,
23048,
3712,
377,
14,
20147,
23048,
3712,
9,
58,
944,
3712,
7146,
393,
2116,
3712,
12626,
7131,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12860,
62,
4658,
62,
16539,
1298,
366,
1003,
2213,
58,
31,
7890,
12,
808,
12,
2539,
12,
8367,
11639,
90,
92,
20520,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
15307,
4028,
20520,
14,
1192,
395,
273,
3712,
16539,
58,
31,
4906,
11639,
16539,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4658,
62,
26272,
1298,
366,
1003,
2213,
58,
31,
7890,
12,
808,
12,
2539,
12,
8367,
11639,
90,
92,
20520,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
1192,
395,
273,
3712,
64,
58,
31,
18090,
11639,
3653,
5013,
368,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
366,
18082,
62,
33692,
62,
535,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12286,
62,
535,
62,
9122,
3524,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
36695,
20537,
8113,
507,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
9600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
27160,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
19738,
14,
18076,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
27160,
62,
9127,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
19738,
14,
18076,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21633,
62,
535,
62,
9122,
3524,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
36695,
20537,
8113,
507,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21633,
62,
535,
62,
43917,
62,
25616,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
1662,
1958,
11537,
290,
2488,
18090,
11639,
44598,
20520,
14,
20147,
23048,
3712,
9,
58,
31,
7890,
12,
2539,
11639,
43917,
20520,
14,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
5239,
3419,
11639,
1639,
1276,
7139,
20537,
8113,
507,
878,
12857,
1700,
3858,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21633,
62,
535,
62,
43917,
62,
47730,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
24717,
11537,
60,
14,
20147,
23048,
3712,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
1662,
1958,
11537,
290,
2488,
18090,
11639,
44598,
20520,
14,
20147,
23048,
3712,
9,
58,
31,
7890,
12,
2539,
11639,
43917,
20520,
14,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
5239,
3419,
11639,
1639,
1276,
7139,
20537,
8113,
507,
878,
12857,
1700,
3858,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43162,
62,
14781,
2902,
62,
8367,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
8658,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
49046,
13313,
507,
11537,
60,
14,
20147,
23048,
3712,
64,
58,
5239,
3419,
11639,
26232,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
43917,
62,
25616,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
1662,
1958,
438,
44598,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
1639,
1276,
7139,
20537,
8113,
507,
878,
2491,
262,
20537,
8113,
507,
5157,
20797,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
43917,
62,
47730,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
24717,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
1639,
1276,
7139,
20537,
8113,
507,
878,
2491,
262,
20537,
8113,
507,
5157,
20797,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
535,
62,
7266,
62,
8658,
82,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
49046,
13313,
507,
11537,
60,
14,
20147,
23048,
3712,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
16539,
62,
13376,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
8000,
3712,
16539,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
9122,
3524,
62,
13376,
1298,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
1891,
20797,
11537,
60,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
40,
1833,
290,
716,
3492,
284,
1057,
5157,
20797,
2637,
60,
14,
40720,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
20797,
62,
1462,
459,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
1891,
33762,
2514,
459,
20520,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
23065,
62,
489,
504,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
961,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
9600,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
19312,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43162,
62,
9122,
3524,
62,
19312,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
2001,
2403,
602,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4134,
62,
8344,
62,
4906,
62,
19312,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
17320,
13266,
5994,
25,
23884,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4134,
62,
8344,
62,
4906,
62,
2375,
1144,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
17320,
13266,
5994,
25,
705,
60,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
11537,
60,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
66,
39975,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5239,
62,
20500,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
23317,
82,
62,
3642,
8656,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
8000,
3712,
18242,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
8367,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
18242,
58,
16,
7131,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
4868,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
62,
4868,
62,
961,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
9600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
4134,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
19738,
14,
18076,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
39468,
5748,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
961,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14781,
2902,
62,
8367,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
19738,
14,
18076,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
8344,
541,
43270,
62,
33990,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3605,
8344,
33990,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
15414,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7266,
62,
8658,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
2411,
51,
8937,
20520,
14,
20147,
23048,
3712,
4528,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
5239,
12,
33878,
438,
18242,
11537,
60,
14,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5275,
62,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3605,
12,
8344,
12,
17744,
11537,
60,
14,
40720,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2860,
62,
33990,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3605,
8344,
33990,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33692,
62,
9127,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9787,
3524,
11537,
60,
14,
9600,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
33692,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
8344,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
90,
92,
60,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
33990,
62,
19312,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
8344,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
90,
92,
60,
14,
20147,
23048,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
60,
14,
40720,
18242,
14,
12626,
58,
5239,
3419,
11639,
90,
38362,
23884,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
33990,
62,
9122,
3524,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
8344,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
16,
60,
14,
20147,
23048,
3712,
9600,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
33990,
62,
9122,
3524,
62,
19312,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
8344,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
16,
60,
14,
20147,
23048,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
60,
14,
40720,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
9122,
3524,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33678,
62,
33990,
62,
4749,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
38362,
23884,
20520,
14,
27780,
278,
3712,
2971,
768,
12,
4749,
58,
16,
7131,
3642,
1299,
7,
31,
4871,
11,
705,
33678,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2787,
2668,
62,
33990,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2787,
2668,
62,
2306,
420,
62,
33990,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
2306,
420,
12,
17744,
70,
12,
90,
92,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
929,
28664,
378,
62,
33990,
62,
3672,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
5376,
25,
23884,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19119,
62,
33990,
62,
3672,
62,
2375,
1144,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
5376,
25,
705,
60,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
3672,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19119,
62,
33990,
62,
2118,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
5376,
25,
23884,
20520,
14,
27780,
278,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43162,
62,
33990,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
3672,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
7146,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
90,
92,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9288,
62,
17946,
1352,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
8344,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
17,
60,
14,
20147,
23048,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
8344,
12,
17744,
70,
12,
29797,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
2306,
27945,
378,
62,
33990,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3605,
2306,
420,
33990,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
15414,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
35012,
62,
4906,
62,
5239,
20337,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
3605,
2306,
420,
33990,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
3712,
5239,
20337,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
33692,
62,
2306,
420,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
2306,
420,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
90,
92,
60,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
2306,
420,
12,
17744,
70,
12,
90,
92,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
2306,
420,
62,
33990,
62,
19312,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
2306,
420,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
90,
92,
60,
14,
20147,
23048,
3712,
15414,
58,
3642,
1299,
7,
31,
4871,
11,
705,
2306,
420,
12,
17744,
70,
12,
90,
92,
11537,
60,
14,
40720,
18242,
14,
12626,
58,
5239,
3419,
11639,
90,
38362,
23884,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
35012,
62,
19199,
62,
19312,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
3605,
2306,
420,
33990,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
7146,
38381,
12957,
3419,
12,
90,
92,
60,
14,
20147,
23048,
3712,
5239,
20337,
58,
3642,
1299,
7,
31,
4871,
11,
705,
2306,
420,
12,
17744,
70,
12,
90,
92,
11537,
60,
14,
40720,
18242,
14,
12626,
58,
5239,
3419,
11639,
90,
38362,
23884,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
18082,
62,
33692,
62,
10057,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12286,
62,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
9600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12286,
62,
14781,
2902,
62,
8367,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
28482,
62,
13138,
62,
1462,
459,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
28482,
33244,
2514,
459,
20520,
14,
20147,
23048,
3712,
71,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12337,
62,
13138,
62,
1462,
459,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
12337,
33244,
2514,
459,
20520,
14,
20147,
23048,
3712,
71,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
847,
62,
4134,
3672,
62,
18982,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
847,
62,
14781,
2902,
62,
8367,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
3866,
771,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8344,
48137,
62,
4906,
62,
8367,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
19738,
14,
18076,
58,
31,
8367,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8344,
48137,
62,
3672,
1298,
366,
1003,
18242,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
7146,
14,
20147,
23048,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8344,
48137,
62,
5460,
929,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
5460,
929,
11537,
290,
2420,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
23317,
62,
19199,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39081,
13260,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
6,
41862,
13260,
11537,
60,
14,
8000,
3712,
9,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4803,
2946,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
18102,
2946,
10781,
20520,
14,
3866,
771,
278,
12,
82,
27448,
3712,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
9122,
3524,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
82,
335,
82,
12,
687,
12,
30854,
834,
13716,
11537,
60,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
6,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
60,
14,
12626,
58,
5239,
3419,
11639,
16928,
20520,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
60,
14,
12626,
58,
5239,
3419,
11639,
18378,
20520,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
66,
21130,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
60,
14,
12626,
58,
5239,
3419,
11639,
34,
21130,
20520,
14,
492,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
32057,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
16539,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
3791,
20520,
1003,
7146,
58,
31,
7839,
11639,
3791,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11085,
62,
3672,
1298,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
4871,
4032,
11085,
5376,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12957,
62,
3672,
1298,
220,
366,
1003,
15414,
58,
3642,
1299,
7,
31,
4871,
4032,
12957,
5376,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
366,
1003,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23065,
62,
268,
48108,
62,
3605,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
17497,
7680,
19076,
12,
11265,
11537,
60,
1003,
12626,
58,
5239,
3419,
11639,
15167,
2039,
2487,
902,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
31,
7839,
11639,
7,
15,
8,
20520,
14,
1192,
395,
273,
3712,
25677,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
64,
58,
31,
7839,
11639,
3791,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
23065,
62,
489,
504,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23065,
62,
11578,
1298,
30629,
1003,
64,
58,
31,
7839,
11639,
15167,
30305,
6,
12962,
58,
17,
60,
14,
12626,
14,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
16539,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
3791,
20520,
1003,
7146,
58,
31,
7839,
11639,
3791,
20520,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
381,
62,
3672,
1298,
366,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
7146,
1003,
18242,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
15167,
5224,
6530,
11537,
60,
1003,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
45145,
17574,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
11578,
62,
8897,
24615,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18224,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
7700,
4971,
9139,
5965,
11537,
60,
14,
20147,
23048,
3712,
4528,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8000,
62,
11578,
62,
42180,
62,
3672,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4666,
282,
834,
34924,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
24546,
5224,
9394,
24615,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11578,
62,
8897,
24615,
62,
3672,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4666,
282,
834,
34924,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
20854,
9394,
24615,
6530,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23065,
62,
11578,
62,
3672,
1298,
366,
1003,
8671,
14,
64,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23065,
62,
11578,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4666,
282,
834,
34924,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
15167,
5224,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33678,
62,
3245,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4666,
282,
834,
34924,
11537,
60,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
64,
58,
31,
4871,
11639,
33678,
12502,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1462,
459,
62,
20500,
1298,
366,
1003,
2971,
768,
12,
4749,
58,
3642,
1299,
7,
31,
4871,
11,
705,
1462,
459,
19578,
11537,
290,
4909,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4749,
12,
315,
879,
12,
13138,
11537,
60,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
17319,
62,
2364,
1586,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
62,
66,
39975,
1298,
366,
1003,
7146,
14,
15414,
58,
31,
7839,
11639,
18243,
2734,
8448,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
16539,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
3791,
20520,
1003,
7146,
58,
31,
7839,
11639,
3791,
20520,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
17319,
62,
16539,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
9186,
33986,
264,
335,
82,
12,
2213,
19524,
378,
264,
335,
82,
12,
12860,
438,
45145,
12,
9967,
264,
335,
82,
12,
76,
12,
9464,
438,
5324,
12,
17470,
6,
290,
4909,
7,
5239,
22784,
705,
3791,
20537,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
30629,
1003,
12626,
58,
31,
4871,
11639,
6167,
275,
25842,
6,
290,
2420,
3419,
11639,
16928,
20520,
14,
1192,
395,
273,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
12962,
58,
18,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19545,
62,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
45145,
17574,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20311,
62,
21928,
62,
16539,
1298,
30629,
1003,
12626,
58,
31,
4871,
11639,
6167,
275,
25842,
6,
290,
2420,
3419,
11639,
16928,
6,
12962,
58,
18,
60,
14,
1192,
395,
273,
3712,
16539,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
33692,
62,
13948,
62,
9122,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5143,
62,
13948,
62,
9122,
62,
16539,
1298,
366,
1003,
16539,
58,
31,
7839,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13948,
62,
9122,
62,
25677,
1298,
366,
1003,
71,
17,
58,
3642,
1299,
7,
31,
4871,
11,
705,
25677,
11537,
60,
14,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12957,
62,
5143,
62,
4475,
1298,
366,
1003,
16539,
58,
31,
7839,
11639,
10987,
3893,
6822,
20520,
14,
3866,
771,
278,
3712,
7146,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11201,
392,
62,
16539,
1298,
366,
1003,
16539,
58,
31,
7839,
11639,
16870,
392,
777,
2482,
6,
290,
4909,
7,
31,
10312,
12,
13716,
82,
11,
705,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
439,
62,
42116,
62,
13376,
1298,
366,
1003,
7146,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
5239,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
62,
8367,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
312,
11,
705,
90,
92,
11537,
60,
14,
20147,
23048,
3712,
8671,
14,
20147,
23048,
3712,
2971,
768,
12,
8692,
12,
687,
16898,
12,
5239,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
1192,
395,
273,
3712,
8671,
14,
3866,
771,
278,
12,
82,
27448,
3712,
400,
58,
31,
7890,
12,
18242,
11639,
19580,
20520,
14,
20147,
23048,
3712,
2971,
768,
12,
8692,
12,
687,
16898,
12,
5239,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
47335,
1631,
62,
13049,
62,
8367,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
312,
11,
705,
90,
92,
11537,
60,
14,
20147,
23048,
3712,
8671,
14,
20147,
23048,
3712,
2971,
768,
12,
8692,
12,
687,
16898,
12,
5239,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
1192,
395,
273,
3712,
2213,
14,
20147,
23048,
3712,
8671,
58,
31,
7890,
12,
18242,
11639,
36171,
13268,
20520,
14,
20147,
23048,
3712,
2971,
768,
12,
8692,
12,
687,
16898,
12,
5239,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
4354,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3605,
62,
4354,
62,
16539,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
9186,
33986,
264,
335,
82,
12,
2213,
19524,
378,
264,
335,
82,
12,
12860,
438,
45145,
12,
9967,
264,
335,
82,
12,
76,
12,
9464,
438,
5324,
12,
17470,
6,
290,
4909,
7,
5239,
22784,
705,
3791,
35118,
11537,
60,
1003,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
30629,
1003,
12626,
58,
31,
4871,
11639,
6167,
275,
25842,
6,
290,
4909,
7,
5239,
22784,
705,
16928,
11537,
12962,
58,
20,
60,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
1298,
366,
1003,
7146,
1003,
15414,
58,
31,
7839,
11639,
18243,
35584,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
62,
38707,
1298,
366,
1003,
15414,
58,
31,
7839,
11639,
18243,
17637,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17319,
62,
2364,
1586,
62,
312,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
49046,
3242,
1586,
4522,
11537,
60,
1003,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
23144,
62,
33692,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
71,
959,
9282,
62,
33692,
1298,
366,
1003,
64,
58,
5239,
3419,
11639,
39,
959,
9282,
16163,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
805,
496,
1298,
366,
1003,
12626,
14,
15414,
58,
31,
8367,
11639,
5124,
496,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3919,
62,
8344,
3669,
1298,
366,
1003,
11487,
1003,
8671,
58,
5239,
3419,
11639,
2949,
4406,
284,
3359,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23144,
62,
33692,
62,
14535,
1298,
220,
220,
220,
220,
220,
366,
1003,
39621,
58,
3642,
1299,
7,
31,
7839,
4032,
15022,
16163,
5299,
17329,
3174,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23144,
62,
33692,
62,
46758,
1298,
366,
1003,
39621,
58,
3642,
1299,
7,
31,
7839,
4032,
15022,
25700,
30396,
5299,
17329,
3174,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23144,
62,
33692,
62,
71,
62,
33692,
1298,
366,
1003,
39621,
58,
3642,
1299,
7,
31,
7839,
4032,
15022,
25700,
36496,
9282,
16163,
5299,
17329,
3174,
11537,
60,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
3605,
62,
23317,
1298,
366,
1003,
12626,
58,
31,
7839,
11639,
3791,
10781,
20520,
1600,
198,
220,
220,
220,
366,
3605,
62,
23317,
62,
19545,
62,
16539,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
60,
1003,
12626,
58,
31,
4871,
11639,
6167,
275,
25842,
6,
290,
2420,
3419,
11639,
10019,
20520,
1600,
198,
220,
220,
220,
366,
3605,
62,
23317,
62,
3672,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
30116,
6530,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
14,
27780,
278,
3712,
15414,
58,
16,
60,
1600,
198,
220,
220,
220,
366,
3605,
62,
23317,
62,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
4666,
282,
834,
5898,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
1298,
366,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
366,
3605,
62,
23065,
62,
268,
48108,
62,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
45145,
17574,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
366,
46818,
62,
23317,
82,
62,
9127,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
35191,
31705,
35584,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
3642,
1299,
7,
31,
7839,
11,
29513,
16,
8,
11537,
60,
1600,
198,
220,
220,
220,
366,
23144,
62,
33692,
62,
7839,
1298,
366,
1003,
64,
14,
4102,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
366,
23065,
62,
268,
2487,
902,
62,
9127,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
15167,
2039,
2487,
902,
20520,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
58,
3642,
1299,
7,
31,
7839,
11,
29513,
16,
8,
11537,
60,
1600,
198,
220,
220,
220,
366,
23065,
268,
48108,
62,
23317,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
2306,
42829,
6677,
36918,
2848,
264,
335,
82,
12,
45921,
20520,
1003,
15414,
58,
31,
4871,
11639,
4277,
5128,
334,
72,
20560,
334,
72,
20560,
8206,
1890,
16541,
42829,
6677,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
15414,
334,
72,
20560,
334,
72,
16541,
42829,
6677,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
5460,
929,
20520,
1600,
198,
220,
220,
220,
366,
4868,
62,
1659,
62,
10378,
32514,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
264,
335,
82,
12,
16539,
438,
29797,
11537,
60,
1003,
12626,
58,
31,
4871,
11639,
6167,
275,
25842,
6,
290,
2420,
3419,
11639,
10019,
20520,
1600,
198,
220,
220,
220,
366,
8658,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
9019,
33349,
10374,
20520,
14,
377,
58,
31,
4871,
11639,
8658,
82,
834,
28341,
20520,
14,
4528,
58,
3642,
1299,
7,
31,
4871,
4032,
9019,
33349,
7449,
11537,
60,
14,
64,
58,
31,
4871,
11639,
8658,
39681,
20520,
14,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
90,
92,
11537,
60,
1600,
198,
220,
220,
220,
366,
23317,
62,
4868,
1298,
705,
1003,
83,
2618,
14,
2213,
14,
400,
58,
13,
1003,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
366,
82,
335,
82,
12,
25928,
4943,
11907,
14,
20147,
23048,
3712,
64,
58,
5239,
3419,
2625,
90,
92,
8973,
3256,
198,
220,
220,
220,
366,
25677,
62,
3245,
62,
8367,
1298,
705,
1003,
9,
58,
3642,
1299,
7,
31,
4871,
11,
366,
82,
335,
82,
12,
7700,
12,
25677,
834,
49170,
4943,
7131,
13,
1003,
9,
58,
31,
7839,
2625,
90,
92,
8973,
60,
1003,
9,
58,
5239,
3419,
2625,
90,
92,
8973,
3256,
198,
220,
220,
220,
366,
4666,
282,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
1298,
705,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
553,
9019,
20560,
9787,
3524,
4943,
60,
14,
18242,
14,
12626,
58,
5239,
3419,
2625,
90,
92,
8973,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4906,
2625,
9122,
3524,
8973,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
5898,
263,
11537,
393,
4909,
7,
31,
4871,
11,
705,
17574,
263,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
31,
7839,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
23317,
82,
62,
3642,
8656,
62,
33692,
62,
17946,
2024,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
6738,
1298,
366,
1003,
19738,
58,
31,
4871,
11639,
32057,
12,
3866,
18186,
12,
4862,
12,
27729,
4868,
12,
15414,
12,
19738,
2922,
334,
72,
20560,
334,
72,
20560,
17563,
334,
72,
20560,
438,
12286,
334,
72,
20560,
438,
19738,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
40223,
62,
26752,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
48893,
31278,
14484,
5394,
20520,
14,
27780,
278,
3712,
7146,
14,
7146,
14,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
40223,
62,
3866,
18186,
62,
4862,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
48893,
31278,
14484,
5394,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
14,
9600,
58,
31,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16550,
2903,
62,
3866,
18186,
62,
20063,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
36695,
22104,
31278,
14484,
15553,
1483,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
14,
9600,
58,
31,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16550,
2903,
62,
3866,
18186,
62,
20063,
62,
69,
14644,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
36695,
22104,
31278,
14484,
15553,
1483,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
12626,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16550,
2903,
62,
3866,
18186,
62,
2617,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
36695,
22104,
31278,
14484,
15553,
1483,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
14,
9600,
58,
31,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16550,
2903,
62,
3866,
18186,
62,
2617,
62,
69,
14644,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
36695,
22104,
31278,
14484,
15553,
1483,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
12626,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
18186,
62,
4862,
62,
5275,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
48893,
31278,
14484,
5394,
20520,
14,
27780,
278,
3712,
7146,
58,
16,
60,
14,
7146,
14,
7146,
14,
18242,
14,
12626,
14,
9600,
58,
31,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
39468,
5748,
62,
33692,
62,
17946,
2024,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7266,
62,
8658,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
2411,
51,
8937,
20520,
14,
20147,
23048,
3712,
4528,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
5239,
12,
33878,
438,
18242,
11537,
60,
14,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
3642,
8656,
62,
17946,
2024,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
21928,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
4666,
282,
12,
5898,
263,
11537,
60,
1003,
16539,
58,
31,
7839,
11639,
16928,
20520,
1003,
12626,
58,
5239,
3419,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
25677,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
4264,
8656,
20520,
1003,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19738,
62,
32057,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
90,
92,
23884,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
18186,
62,
4862,
1298,
366,
1003,
12626,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
6,
6719,
18186,
14484,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
18186,
62,
4862,
62,
11195,
62,
14781,
2902,
1298,
366,
1003,
12626,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
6,
6719,
18186,
14484,
11537,
60,
14,
27780,
278,
3712,
12626,
14,
27780,
278,
3712,
64,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
18186,
62,
8658,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
19738,
12,
25811,
20520,
14,
20147,
23048,
3712,
64,
58,
31,
7839,
11639,
16060,
14484,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4862,
62,
332,
1958,
62,
10134,
62,
17618,
1298,
30629,
1003,
7146,
1003,
12626,
58,
5239,
3419,
11639,
6132,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
1003,
12626,
58,
1662,
7,
2420,
3419,
11639,
10163,
12,
10163,
12,
1065,
2682,
11537,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
18186,
62,
18224,
62,
20500,
1298,
366,
1003,
4528,
58,
3642,
1299,
7,
5239,
22784,
705,
464,
3072,
6163,
329,
31278,
14484,
460,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4758,
62,
3866,
18186,
62,
18224,
62,
20500,
1298,
366,
1003,
4528,
58,
3642,
1299,
7,
5239,
22784,
705,
24446,
514,
543,
14484,
318,
9871,
2637,
15437,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3245,
62,
1640,
62,
1818,
62,
4862,
1298,
366,
1003,
7146,
1003,
18242,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
6,
12468,
14484,
11537,
60,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4758,
62,
5898,
263,
62,
66,
21130,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
5898,
263,
11537,
60,
14,
16539,
58,
31,
7839,
11639,
34,
21130,
20520,
1003,
12626,
58,
5239,
3419,
11639,
34,
21130,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5898,
263,
62,
21928,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
4666,
282,
12,
5898,
263,
11537,
60,
1003,
12626,
58,
5239,
3419,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
82,
62,
3642,
8656,
1298,
366,
1003,
64,
58,
3642,
1299,
7,
5239,
22784,
6,
30116,
82,
290,
2345,
8656,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
36604,
62,
8658,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
4032,
11265,
11537,
60,
1003,
12626,
58,
31,
4871,
11639,
7839,
6,
290,
2420,
3419,
11639,
24259,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4862,
62,
11195,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
16060,
14484,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5143,
62,
27773,
929,
1298,
366,
1003,
16539,
58,
5239,
3419,
11639,
10987,
5985,
929,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4862,
62,
332,
1958,
1298,
366,
1003,
7146,
1003,
12626,
58,
5239,
3419,
11639,
16060,
14484,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
1003,
12626,
1003,
12626,
58,
5239,
3419,
11639,
10163,
12,
10163,
12,
1065,
2682,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11195,
62,
4862,
62,
332,
1958,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
16060,
14484,
20520,
14,
40720,
27780,
278,
3712,
7146,
1003,
12626,
1003,
12626,
58,
5239,
3419,
11639,
10163,
12,
10163,
12,
1065,
2682,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17212,
62,
5143,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
464,
1429,
373,
8358,
1739,
7675,
13,
1052,
3053,
481,
307,
1908,
379,
262,
11939,
286,
262,
1693,
2637,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1758,
87,
62,
43863,
1298,
366,
1003,
64,
14,
4102,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39754,
62,
22680,
62,
9971,
1634,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
35170,
7320,
12275,
20520,
14,
27780,
278,
3712,
7146,
14,
7146,
14,
7146,
14,
7146,
14,
15414,
58,
31,
7839,
11639,
18243,
35584,
6,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16539,
62,
21928,
62,
2001,
15547,
1298,
366,
1003,
16539,
58,
31,
7839,
11639,
16928,
20520,
1003,
12626,
58,
5239,
3419,
11639,
16928,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33678,
62,
4749,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
33678,
19578,
20520,
1600,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
2001,
2403,
602,
62,
17946,
2024,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
25677,
1298,
366,
1003,
64,
58,
31,
7839,
11639,
1961,
32,
16163,
20520,
1003,
12626,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8658,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
8658,
82,
20520,
14,
20147,
23048,
3712,
4528,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
5239,
12,
33878,
438,
18242,
11537,
60,
14,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
1298,
366,
1003,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
16539,
11537,
290,
2488,
4906,
11639,
16539,
20520,
14,
12626,
58,
5239,
3419,
11639,
18378,
20520,
14,
492,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9122,
3524,
1298,
366,
1003,
12626,
58,
5239,
3419,
11639,
90,
92,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
20147,
23048,
3712,
18242,
58,
3642,
1299,
7,
31,
4871,
4032,
82,
335,
82,
12,
9122,
3524,
11537,
60,
14,
12626,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
1298,
366,
1003,
7146,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
7700,
12,
25677,
11537,
60,
14,
20147,
23048,
3712,
16539,
58,
3642,
1299,
7,
31,
4871,
11,
705,
33692,
12,
21928,
12,
65,
926,
77,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7266,
62,
8658,
1298,
366,
1003,
7146,
58,
31,
312,
11639,
2001,
75,
51,
8937,
20520,
14,
20147,
23048,
3712,
4528,
58,
3642,
1299,
7,
31,
4871,
11,
705,
82,
335,
82,
12,
5239,
12,
33878,
438,
18242,
11537,
60,
14,
64,
58,
5239,
3419,
11639,
90,
92,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
19312,
62,
16539,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
16539,
12,
8094,
20520,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
18378,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21928,
62,
16539,
1298,
366,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
16539,
12,
8094,
20520,
1003,
12626,
58,
3642,
1299,
7,
5239,
22784,
705,
16928,
11537,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
861,
62,
12102,
341,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
2001,
75,
12,
22105,
12,
4906,
12,
268,
12072,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
403,
62,
33678,
62,
8344,
62,
2001,
75,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
33678,
12,
1676,
70,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16684,
1958,
62,
18090,
62,
1640,
62,
66,
62,
2001,
75,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
22882,
1958,
20934,
329,
15622,
6708,
2403,
602,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
62,
437,
62,
4475,
1298,
366,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
437,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
30073,
62,
2001,
75,
62,
9688,
62,
4475,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
5239,
3419,
11639,
29881,
6708,
15547,
7253,
7536,
422,
6118,
2039,
48108,
20520,
14,
27780,
278,
3712,
12626,
38381,
16,
60,
14,
9600,
58,
31,
4871,
11639,
30073,
12,
9688,
12,
4475,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
16354,
1298,
366,
1003,
7146,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
12626,
58,
5239,
3419,
11639,
14282,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
50139,
1298,
30629,
1003,
7146,
14,
7146,
14,
12626,
58,
31,
4871,
11639,
9019,
26410,
8206,
6,
290,
2420,
3419,
11639,
47445,
18291,
1431,
329,
15622,
6708,
2403,
602,
20520,
14,
27780,
278,
3712,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
4033,
264,
335,
82,
12,
7857,
438,
16,
12,
1659,
12,
17,
6,
12962,
58,
16,
60,
14,
12626,
58,
5239,
3419,
11639,
38778,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2001,
2403,
602,
62,
14421,
1298,
366,
1003,
7146,
14,
7146,
14,
27780,
278,
3712,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
4033,
264,
335,
82,
12,
7857,
438,
16,
12,
1659,
12,
17,
20520,
14,
12626,
58,
5239,
3419,
11639,
11297,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
330,
49113,
62,
23065,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
12832,
49113,
6118,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
330,
49113,
62,
23065,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
31421,
6118,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
330,
49113,
62,
23065,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
31421,
6118,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
10667,
6,
290,
2488,
2501,
11639,
17821,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
19312,
62,
14171,
62,
13376,
62,
330,
49113,
62,
23065,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
21087,
31421,
6118,
20520,
14,
40720,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
5239,
3419,
11639,
19580,
25,
9236,
20520,
14,
27780,
278,
3712,
15414,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
368,
62,
13376,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
19312,
62,
14171,
62,
18090,
62,
330,
49113,
62,
23065,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
21087,
31421,
6118,
20520,
14,
40720,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
7146,
14,
18242,
14,
12626,
58,
5239,
3419,
11639,
47445,
25,
13613,
20520,
14,
27780,
278,
3712,
15414,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
368,
62,
18090,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
330,
49113,
62,
23065,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
31421,
6118,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
11297,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
330,
49113,
62,
23065,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
31421,
6118,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
38778,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
22680,
62,
9971,
1634,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
24749,
12275,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
22680,
62,
9971,
1634,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
7320,
12275,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
22680,
62,
9971,
1634,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7320,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
368,
62,
2127,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
19312,
62,
14171,
62,
18090,
62,
22680,
62,
9971,
1634,
1298,
30629,
1003,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
21087,
7320,
12275,
20520,
14,
40720,
40720,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
1003,
12626,
58,
5239,
3419,
11639,
47445,
25,
705,
60,
14,
27780,
278,
3712,
15414,
38381,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
368,
62,
79,
2127,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
22680,
62,
9971,
1634,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7320,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
268,
2487,
62,
2127,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
22680,
62,
9971,
1634,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7320,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3609,
62,
268,
2487,
62,
2127,
62,
13376,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
18123,
864,
62,
8625,
2738,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
33380,
864,
29426,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
18123,
864,
62,
8625,
2738,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
30038,
29426,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
18123,
864,
62,
8625,
2738,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
30038,
29426,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
18123,
864,
62,
8625,
2738,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
30038,
29426,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
18123,
864,
62,
8625,
2738,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
30038,
29426,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20295,
62,
433,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20295,
62,
13155,
1878,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20295,
62,
64,
274,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
276,
62,
25534,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
4803,
2946,
62,
23317,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
18102,
2946,
10781,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
4803,
2946,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
37306,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
4803,
2946,
62,
23317,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
37306,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
4803,
2946,
62,
23317,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
37306,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
4803,
2946,
62,
23317,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
37306,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3099,
62,
433,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3099,
62,
13155,
1878,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3099,
62,
64,
274,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3099,
62,
25534,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
32945,
62,
9971,
1634,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
18153,
12275,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
32945,
62,
9971,
1634,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
7092,
12275,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
32945,
62,
9971,
1634,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7092,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
32945,
62,
9971,
1634,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7092,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
32945,
62,
9971,
1634,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
7092,
12275,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
568,
62,
433,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
79,
568,
62,
13155,
1878,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
568,
62,
64,
274,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
568,
62,
25534,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
403,
1608,
62,
10378,
1823,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
21009,
2732,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
62,
39754,
62,
10378,
1823,
1298,
366,
1003,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
11639,
35170,
2732,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
2487,
62,
403,
1608,
62,
10378,
1823,
1298,
366,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
2732,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
58,
16,
60,
1003,
12626,
14,
9600,
58,
31,
4871,
11639,
76,
5912,
12,
23736,
12,
268,
2487,
40032,
6,
290,
2488,
2501,
11639,
25101,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
13376,
62,
403,
1608,
62,
10378,
1823,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
2732,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
62,
961,
62,
14171,
62,
18090,
62,
403,
1608,
62,
10378,
1823,
1298,
30629,
1003,
7146,
14,
12626,
58,
5239,
3419,
11639,
35170,
2732,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
14,
27780,
278,
12,
82,
27448,
3712,
7146,
38381,
16,
60,
14,
12626,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
334,
72,
26410,
8206,
6,
290,
2420,
3419,
28,
7061,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
463,
62,
433,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
463,
62,
13155,
1878,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
463,
62,
64,
274,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
13376,
5128,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
463,
62,
25534,
62,
368,
62,
28920,
1298,
30629,
1003,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
8658,
82,
834,
11299,
264,
335,
82,
12,
12860,
20520,
14,
7146,
58,
31,
4871,
11639,
82,
335,
82,
12,
25928,
264,
335,
82,
12,
37150,
20520,
14,
7146,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
14,
27780,
278,
3712,
7146,
38381,
16,
60,
1003,
18242,
14,
27780,
278,
12,
82,
27448,
3712,
15414,
58,
31,
4871,
11639,
76,
5912,
12,
268,
2487,
12,
18090,
5128,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
23317,
62,
22105,
62,
4906,
62,
15414,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
30116,
13266,
5994,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39754,
62,
2001,
75,
62,
3245,
62,
15414,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23736,
62,
268,
48108,
1298,
30629,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
27722,
12,
4834,
48108,
20520,
14,
27780,
278,
3712,
1671,
14,
27780,
278,
3712,
7146,
14,
18242,
14,
15414,
14,
27780,
278,
12,
82,
27448,
3712,
12626,
38381,
16,
7131,
31,
4871,
11639,
82,
335,
82,
12,
9122,
3524,
438,
69,
14644,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
62,
76,
5912,
62,
3245,
62,
15414,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
19580,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18090,
62,
76,
5912,
62,
3245,
62,
15414,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
47445,
20520,
14,
40720,
27780,
278,
12,
82,
27448,
3712,
15414,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
4134,
62,
22105,
62,
4906,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
17320,
13266,
5994,
25,
23884,
20520,
14,
27780,
278,
3712,
15414,
58,
16,
7131,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
6,
290,
2488,
4906,
11639,
5239,
20520,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32057,
62,
39754,
62,
2001,
75,
62,
3245,
1298,
366,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
23884,
20520,
14,
27780,
278,
3712,
15414,
58,
16,
7131,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
6,
290,
2488,
4906,
11639,
5239,
20520,
1600,
628,
220,
220,
220,
220,
220,
220,
220,
366,
433,
62,
499,
62,
15414,
62,
2001,
75,
62,
28920,
1298,
30629,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
17320,
13266,
5994,
25,
705,
60,
14,
27780,
278,
3712,
15414,
58,
16,
7131,
31,
4871,
11639,
76,
5912,
12,
4134,
12,
8344,
12,
4906,
5128,
6,
290,
2488,
4906,
11639,
5239,
6,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
79,
1878,
62,
79,
499,
62,
15414,
62,
2001,
75,
62,
28920,
1298,
30629,
1003,
18242,
14,
12626,
58,
5239,
3419,
11639,
35170,
6708,
75,
7663,
25,
705,
60,
14,
27780,
278,
3712,
15414,
58,
16,
7131,
31,
4871,
11639,
76,
5912,
12,
2001,
75,
12,
3245,
5128,
6,
290,
2488,
4906,
11639,
5239,
6,
12962,
58,
16,
60,
1600,
198,
220,
220,
220,
1782,
198,
92,
198
] | 2.497148 | 20,509 |
'''
Things to do:
An exe / chrome extension
automatically run the script
Automatically export the text file to a server/client.
'''
from pynput.keyboard import Key, Listener
count = 0
keys = []
with Listener(on_press = on_press, on_release = on_release) as listener:
listener.join()
| [
201,
198,
7061,
6,
201,
198,
22248,
284,
466,
25,
201,
198,
220,
220,
220,
1052,
409,
68,
1220,
32030,
7552,
220,
201,
198,
220,
220,
220,
6338,
1057,
262,
4226,
201,
198,
220,
220,
220,
17406,
4142,
10784,
262,
2420,
2393,
284,
257,
4382,
14,
16366,
13,
201,
198,
7061,
6,
201,
198,
201,
198,
201,
198,
6738,
279,
2047,
1996,
13,
2539,
3526,
1330,
7383,
11,
7343,
877,
201,
198,
9127,
796,
657,
201,
198,
13083,
796,
17635,
201,
198,
201,
198,
201,
198,
201,
198,
4480,
7343,
877,
7,
261,
62,
8439,
796,
319,
62,
8439,
11,
319,
62,
20979,
796,
319,
62,
20979,
8,
355,
24783,
25,
201,
198,
220,
220,
220,
24783,
13,
22179,
3419,
201,
198,
201,
198
] | 2.620968 | 124 |
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 6 21:10:57 2021
@author: geoto
"""
#clear list
item=mylist3.clear()
print(item)
print('-----------------------------------------------')
#reverse list
print(mylist)
list_rev=mylist.reverse()#reverse() used inplace=True so the change takes immediate effect on mylist
print(mylist)
listaa=[19,5,34,74,2,43]
print(listaa)
xxx=listaa.sort() #sort() used inplace=True so the change takes immediate effect on the listaa
#sort list
print(listaa)
#to avoid that we can use the sorted() method as inplace=false in this case
a_list=[1,5,9,3,8,4]
print(sorted(a_list))
print(a_list)
# create list with zeros
zero_list=[0]*3
print(zero_list)
# adding lists
f_list=[1,2,3,4,5]
s_list=[6,7,8,9,10]
n_list=f_list+s_list
print(n_list)
# new list part of original list
o_list=[1,2,3,4,5,6,7,8,9,10]
n_list=o_list[3:7]
#returns 4,5,6,7 (indices,3,4,5,6)
print(n_list)
lstrev=o_list[::-1]#returns list elements in reverse order
lst2=o_list[::2]# returns list elements of step 2
print(lstrev)
print(lst2)
# if list b = list a, then changes will be applied to both lists
list_a=[1,2,3,4,5]
list_b=list_a
list_b.insert(0,0)
print(list_a)
print(list_b)
print('\r')
#with copy
list_a=[1,2,3,4,5]
list_b=list_a.copy()
list_b.insert(0,0)
print(list_a)
print(list_b)
#with list
list_a=[1,2,3,4,5]
list_b=list(list_a)
list_b.insert(0,0)
print(list_a)
print(list_b)
# with slices
#with copy
list_a=[1,2,3,4,5]
list_b=list_a[:]
list_b.insert(0,0)
print(list_a)
print(list_b)
# calculation within lists
first_list=[1,2,3,4,5]
second_list=[x*x*x for x in first_list]
print(second_list) | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
201,
198,
37811,
201,
198,
41972,
319,
7031,
1526,
220,
718,
2310,
25,
940,
25,
3553,
33448,
201,
198,
201,
198,
31,
9800,
25,
4903,
2069,
201,
198,
37811,
201,
198,
220,
220,
220,
220,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
2,
20063,
1351,
201,
198,
9186,
28,
1820,
4868,
18,
13,
20063,
3419,
201,
198,
4798,
7,
9186,
8,
201,
198,
4798,
10786,
3880,
24305,
11537,
201,
198,
2,
50188,
1351,
201,
198,
4798,
7,
1820,
4868,
8,
201,
198,
4868,
62,
18218,
28,
1820,
4868,
13,
50188,
3419,
2,
50188,
3419,
973,
287,
5372,
28,
17821,
523,
262,
1487,
2753,
7103,
1245,
319,
616,
4868,
201,
198,
4798,
7,
1820,
4868,
8,
201,
198,
4868,
7252,
41888,
1129,
11,
20,
11,
2682,
11,
4524,
11,
17,
11,
3559,
60,
201,
198,
4798,
7,
4868,
7252,
8,
201,
198,
31811,
28,
4868,
7252,
13,
30619,
3419,
1303,
30619,
3419,
973,
287,
5372,
28,
17821,
523,
262,
1487,
2753,
7103,
1245,
319,
262,
1351,
7252,
201,
198,
2,
30619,
1351,
201,
198,
4798,
7,
4868,
7252,
8,
201,
198,
201,
198,
2,
1462,
3368,
326,
356,
460,
779,
262,
23243,
3419,
2446,
355,
287,
5372,
28,
9562,
287,
428,
1339,
201,
198,
64,
62,
4868,
41888,
16,
11,
20,
11,
24,
11,
18,
11,
23,
11,
19,
60,
201,
198,
4798,
7,
82,
9741,
7,
64,
62,
4868,
4008,
201,
198,
4798,
7,
64,
62,
4868,
8,
201,
198,
201,
198,
2,
2251,
1351,
351,
1976,
27498,
201,
198,
22570,
62,
4868,
41888,
15,
60,
9,
18,
201,
198,
4798,
7,
22570,
62,
4868,
8,
201,
198,
201,
198,
2,
4375,
8341,
201,
198,
69,
62,
4868,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
82,
62,
4868,
41888,
21,
11,
22,
11,
23,
11,
24,
11,
940,
60,
201,
198,
77,
62,
4868,
28,
69,
62,
4868,
10,
82,
62,
4868,
201,
198,
4798,
7,
77,
62,
4868,
8,
201,
198,
201,
198,
2,
649,
1351,
636,
286,
2656,
1351,
201,
198,
78,
62,
4868,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
11,
21,
11,
22,
11,
23,
11,
24,
11,
940,
60,
201,
198,
77,
62,
4868,
28,
78,
62,
4868,
58,
18,
25,
22,
60,
201,
198,
2,
7783,
82,
604,
11,
20,
11,
21,
11,
22,
357,
521,
1063,
11,
18,
11,
19,
11,
20,
11,
21,
8,
201,
198,
4798,
7,
77,
62,
4868,
8,
201,
198,
201,
198,
75,
301,
18218,
28,
78,
62,
4868,
58,
3712,
12,
16,
60,
2,
7783,
82,
1351,
4847,
287,
9575,
1502,
201,
198,
75,
301,
17,
28,
78,
62,
4868,
58,
3712,
17,
60,
2,
5860,
1351,
4847,
286,
2239,
362,
201,
198,
4798,
7,
75,
301,
18218,
8,
201,
198,
4798,
7,
75,
301,
17,
8,
201,
198,
201,
198,
2,
611,
1351,
275,
796,
1351,
257,
11,
788,
2458,
481,
307,
5625,
284,
1111,
8341,
201,
198,
4868,
62,
64,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
4868,
62,
65,
28,
4868,
62,
64,
201,
198,
4868,
62,
65,
13,
28463,
7,
15,
11,
15,
8,
201,
198,
4798,
7,
4868,
62,
64,
8,
201,
198,
4798,
7,
4868,
62,
65,
8,
201,
198,
4798,
10786,
59,
81,
11537,
201,
198,
2,
4480,
4866,
201,
198,
4868,
62,
64,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
4868,
62,
65,
28,
4868,
62,
64,
13,
30073,
3419,
201,
198,
4868,
62,
65,
13,
28463,
7,
15,
11,
15,
8,
201,
198,
4798,
7,
4868,
62,
64,
8,
201,
198,
4798,
7,
4868,
62,
65,
8,
201,
198,
201,
198,
2,
4480,
1351,
201,
198,
4868,
62,
64,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
4868,
62,
65,
28,
4868,
7,
4868,
62,
64,
8,
201,
198,
4868,
62,
65,
13,
28463,
7,
15,
11,
15,
8,
201,
198,
4798,
7,
4868,
62,
64,
8,
201,
198,
4798,
7,
4868,
62,
65,
8,
201,
198,
2,
351,
24314,
201,
198,
2,
4480,
4866,
201,
198,
4868,
62,
64,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
4868,
62,
65,
28,
4868,
62,
64,
58,
47715,
201,
198,
4868,
62,
65,
13,
28463,
7,
15,
11,
15,
8,
201,
198,
4798,
7,
4868,
62,
64,
8,
201,
198,
4798,
7,
4868,
62,
65,
8,
201,
198,
201,
198,
2,
17952,
1626,
8341,
201,
198,
11085,
62,
4868,
41888,
16,
11,
17,
11,
18,
11,
19,
11,
20,
60,
201,
198,
12227,
62,
4868,
41888,
87,
9,
87,
9,
87,
329,
2124,
287,
717,
62,
4868,
60,
201,
198,
4798,
7,
12227,
62,
4868,
8
] | 2.107407 | 810 |
from pathlib import Path
from typing import Dict, Optional, Sequence, Tuple
from warnings import simplefilter
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from statsmodels.regression.linear_model import OLS
from statsmodels.tools import add_constant
from tqdm import tqdm
import etl
from epimargin.estimators import analytical_MPVS
from epimargin.etl.commons import download_data
from epimargin.etl.covid19india import data_path, get_time_series, load_all_data
from epimargin.model import Model, ModelUnit
from epimargin.plots import PlotDevice, plot_RR_est, plot_T_anomalies
from epimargin.smoothing import convolution
from epimargin.utils import cwd, days
simplefilter("ignore")
root = cwd()
data = root/"data"
figs = root/"figs"
gamma = 0.2
smoothing = 12
CI = 0.95
# private data
state_cases = pd.read_csv(data/"Bihar_cases_data_Jul23.csv", parse_dates=["date_reported"], dayfirst=True)
state_ts = state_cases["date_reported"].value_counts().sort_index()
district_names, population_counts, _ = etl.district_migration_matrix(data/"Migration Matrix - District.csv")
populations = dict(zip(district_names, population_counts))
# first, look at state level predictions
(
dates,
RR_pred, RR_CI_upper, RR_CI_lower,
T_pred, T_CI_upper, T_CI_lower,
total_cases, new_cases_ts,
anomalies, anomaly_dates
) = analytical_MPVS(state_ts, CI = CI, smoothing = convolution(window = smoothing))
plot_RR_est(dates, RR_pred, RR_CI_upper, RR_CI_lower, CI, ymin=0, ymax=4)\
.title("Bihar: Reproductive Number Estimate Comparisons")\
.xlabel("Date")\
.ylabel("Rt", rotation=0, labelpad=20)
plt.ylim(0, 4)
# public data
paths = {
"v3": [data_path(_) for _ in (1, 2)],
"v4": [data_path(_) for _ in range(3, 13)]
}
for target in paths['v3'] + paths['v4']:
download_data(data, target)
dfn = load_all_data(
v3_paths = [data/filepath for filepath in paths['v3']],
v4_paths = [data/filepath for filepath in paths['v4']]
)
state_ts = get_time_series(dfn, "detected_state").loc["Bihar"]
district_names, population_counts, _ = etl.district_migration_matrix(data/"Migration Matrix - District.csv")
populations = dict(zip(district_names, population_counts))
# first, look at state level predictions
(dates_public, RR_pred_public, RR_CI_upper_public, RR_CI_lower_public, T_pred_public, T_CI_upper_public, T_CI_lower_public, total_cases_public, new_cases_ts_public, anomalies_public, anomaly_dates_public) = analytical_MPVS(state_ts.Hospitalized, CI = CI, smoothing = convolution(window = smoothing))
plt.plot(dates_public, RR_pred_public, label = "Estimated $R_t$", color = "midnightblue")
plt.fill_between(dates_public, RR_CI_lower_public, RR_CI_upper_public, label = f"{100*CI}% CI", color = "midnightblue", alpha = 0.3)
plt.legend(["private data estimate", "public data estimate"])
plt.show()
np.random.seed(33)
Bihar = Model([ModelUnit("Bihar", 99_000_000, I0 = T_pred[-1], RR0 = RR_pred[-1], mobility = 0)])
Bihar.run(14, np.zeros((1,1)))
t_pred = [dates[-1] + pd.Timedelta(days = i) for i in range(len(Bihar[0].delta_T))]
Bihar[0].lower_CI[0] = T_CI_lower[-1]
Bihar[0].upper_CI[0] = T_CI_upper[-1]
plot_T_anomalies(dates, T_pred, T_CI_upper, T_CI_lower, new_cases_ts, anomaly_dates, anomalies, CI)
plt.scatter(t_pred, Bihar[0].delta_T, color = "tomato", s = 4, label = "Predicted Net Cases")
plt.fill_between(t_pred, Bihar[0].lower_CI, Bihar[0].upper_CI, color = "tomato", alpha = 0.3, label="99% CI (forecast)")
PlotDevice().title("Bihar Net Daily Cases: Private Data Projection vs. Public Reported Data").xlabel("Date").ylabel("Cases")
plt.plot(dates_public, new_cases_ts_public, "k-", alpha = 0.6, label="Empirical Public Data")
plt.legend()
plt.semilogy()
plt.ylim(0, 2000)
plt.show()
# # now, do district-level estimation
# smoothing = 10
# district_time_series = state_cases.groupby(["geo_reported", "date_reported"])["date_reported"].count().sort_index()
# migration = np.zeros((len(district_names), len(district_names)))
# estimates = []
# max_len = 1 + max(map(len, district_names))
# with tqdm([etl.replacements.get(dn, dn) for dn in district_names]) as districts:
# for district in districts:
# districts.set_description(f"{district :<{max_len}}")
# try:
# (dates, RR_pred, RR_CI_upper, RR_CI_lower, *_) = analytical_MPVS(district_time_series.loc[district], CI = CI, smoothing = convolution(window = smoothing))
# estimates.append((district, RR_pred[-1], RR_CI_lower[-1], RR_CI_upper[-1], project(dates, RR_pred, smoothing)))
# except (IndexError, ValueError):
# estimates.append((district, np.nan, np.nan, np.nan, np.nan))
# estimates = pd.DataFrame(estimates)
# estimates.columns = ["district", "Rt", "Rt_CI_lower", "Rt_CI_upper", "Rt_proj"]
# estimates.set_index("district", inplace=True)
# estimates.to_csv(data/"Rt_estimates.csv")
# print(estimates)
| [
6738,
3108,
8019,
1330,
10644,
198,
6738,
19720,
1330,
360,
713,
11,
32233,
11,
45835,
11,
309,
29291,
198,
6738,
14601,
1330,
2829,
24455,
198,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
9756,
27530,
13,
2301,
2234,
13,
29127,
62,
19849,
1330,
440,
6561,
198,
6738,
9756,
27530,
13,
31391,
1330,
751,
62,
9979,
415,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
198,
11748,
2123,
75,
198,
6738,
2462,
320,
853,
259,
13,
395,
320,
2024,
1330,
30063,
62,
7378,
20304,
198,
6738,
2462,
320,
853,
259,
13,
316,
75,
13,
9503,
684,
1330,
4321,
62,
7890,
198,
6738,
2462,
320,
853,
259,
13,
316,
75,
13,
66,
709,
312,
1129,
521,
544,
1330,
1366,
62,
6978,
11,
651,
62,
2435,
62,
25076,
11,
3440,
62,
439,
62,
7890,
198,
6738,
2462,
320,
853,
259,
13,
19849,
1330,
9104,
11,
9104,
26453,
198,
6738,
2462,
320,
853,
259,
13,
489,
1747,
1330,
28114,
24728,
11,
7110,
62,
21095,
62,
395,
11,
7110,
62,
51,
62,
272,
18048,
444,
198,
6738,
2462,
320,
853,
259,
13,
5796,
1025,
722,
1330,
3063,
2122,
198,
6738,
2462,
320,
853,
259,
13,
26791,
1330,
269,
16993,
11,
1528,
198,
198,
36439,
24455,
7203,
46430,
4943,
198,
198,
15763,
796,
269,
16993,
3419,
198,
7890,
796,
6808,
30487,
7890,
1,
198,
5647,
82,
796,
6808,
30487,
5647,
82,
1,
198,
198,
28483,
2611,
220,
220,
220,
220,
796,
657,
13,
17,
198,
5796,
1025,
722,
796,
1105,
198,
25690,
220,
220,
220,
220,
220,
220,
220,
796,
657,
13,
3865,
198,
198,
2,
2839,
1366,
198,
5219,
62,
33964,
796,
279,
67,
13,
961,
62,
40664,
7,
7890,
30487,
33,
38405,
62,
33964,
62,
7890,
62,
16980,
1954,
13,
40664,
1600,
21136,
62,
19581,
28,
14692,
4475,
62,
26263,
33116,
1110,
11085,
28,
17821,
8,
198,
5219,
62,
912,
796,
1181,
62,
33964,
14692,
4475,
62,
26263,
1,
4083,
8367,
62,
9127,
82,
22446,
30619,
62,
9630,
3419,
198,
17080,
2012,
62,
14933,
11,
3265,
62,
9127,
82,
11,
4808,
796,
2123,
75,
13,
17080,
2012,
62,
76,
4254,
62,
6759,
8609,
7,
7890,
30487,
44,
4254,
24936,
532,
5665,
13,
40664,
4943,
198,
12924,
5768,
796,
8633,
7,
13344,
7,
17080,
2012,
62,
14933,
11,
3265,
62,
9127,
82,
4008,
198,
198,
2,
717,
11,
804,
379,
1181,
1241,
16277,
198,
7,
198,
220,
220,
220,
9667,
11,
198,
220,
220,
220,
26067,
62,
28764,
11,
26067,
62,
25690,
62,
45828,
11,
26067,
62,
25690,
62,
21037,
11,
198,
220,
220,
220,
309,
62,
28764,
11,
309,
62,
25690,
62,
45828,
11,
309,
62,
25690,
62,
21037,
11,
198,
220,
220,
220,
2472,
62,
33964,
11,
649,
62,
33964,
62,
912,
11,
198,
220,
220,
220,
35907,
11,
32172,
62,
19581,
198,
8,
796,
30063,
62,
7378,
20304,
7,
5219,
62,
912,
11,
14514,
796,
14514,
11,
32746,
722,
796,
3063,
2122,
7,
17497,
796,
32746,
722,
4008,
220,
198,
198,
29487,
62,
21095,
62,
395,
7,
19581,
11,
26067,
62,
28764,
11,
26067,
62,
25690,
62,
45828,
11,
26067,
62,
25690,
62,
21037,
11,
14514,
11,
331,
1084,
28,
15,
11,
331,
9806,
28,
19,
19415,
198,
220,
220,
220,
764,
7839,
7203,
33,
38405,
25,
36551,
14070,
7913,
10062,
1920,
22565,
9886,
4943,
59,
198,
220,
220,
220,
764,
87,
18242,
7203,
10430,
4943,
59,
198,
220,
220,
220,
764,
2645,
9608,
7203,
49,
83,
1600,
13179,
28,
15,
11,
6167,
15636,
28,
1238,
8,
198,
489,
83,
13,
88,
2475,
7,
15,
11,
604,
8,
198,
198,
2,
1171,
1366,
220,
198,
6978,
82,
796,
1391,
220,
198,
220,
220,
220,
366,
85,
18,
1298,
685,
7890,
62,
6978,
28264,
8,
329,
4808,
287,
357,
16,
11,
362,
8,
4357,
198,
220,
220,
220,
366,
85,
19,
1298,
685,
7890,
62,
6978,
28264,
8,
329,
4808,
287,
2837,
7,
18,
11,
1511,
15437,
198,
92,
198,
198,
1640,
2496,
287,
13532,
17816,
85,
18,
20520,
1343,
13532,
17816,
85,
19,
6,
5974,
198,
220,
220,
220,
4321,
62,
7890,
7,
7890,
11,
2496,
8,
198,
198,
7568,
77,
796,
3440,
62,
439,
62,
7890,
7,
198,
220,
220,
220,
410,
18,
62,
6978,
82,
796,
685,
7890,
14,
7753,
6978,
329,
2393,
6978,
287,
13532,
17816,
85,
18,
20520,
4357,
220,
198,
220,
220,
220,
410,
19,
62,
6978,
82,
796,
685,
7890,
14,
7753,
6978,
329,
2393,
6978,
287,
13532,
17816,
85,
19,
6,
11907,
198,
8,
198,
220,
198,
5219,
62,
912,
796,
651,
62,
2435,
62,
25076,
7,
7568,
77,
11,
366,
15255,
11197,
62,
5219,
11074,
17946,
14692,
33,
38405,
8973,
198,
17080,
2012,
62,
14933,
11,
3265,
62,
9127,
82,
11,
4808,
796,
2123,
75,
13,
17080,
2012,
62,
76,
4254,
62,
6759,
8609,
7,
7890,
30487,
44,
4254,
24936,
532,
5665,
13,
40664,
4943,
198,
12924,
5768,
796,
8633,
7,
13344,
7,
17080,
2012,
62,
14933,
11,
3265,
62,
9127,
82,
4008,
198,
198,
2,
717,
11,
804,
379,
1181,
1241,
16277,
198,
7,
19581,
62,
11377,
11,
26067,
62,
28764,
62,
11377,
11,
26067,
62,
25690,
62,
45828,
62,
11377,
11,
26067,
62,
25690,
62,
21037,
62,
11377,
11,
309,
62,
28764,
62,
11377,
11,
309,
62,
25690,
62,
45828,
62,
11377,
11,
309,
62,
25690,
62,
21037,
62,
11377,
11,
2472,
62,
33964,
62,
11377,
11,
649,
62,
33964,
62,
912,
62,
11377,
11,
35907,
62,
11377,
11,
32172,
62,
19581,
62,
11377,
8,
796,
30063,
62,
7378,
20304,
7,
5219,
62,
912,
13,
39,
3531,
1143,
11,
14514,
796,
14514,
11,
32746,
722,
796,
3063,
2122,
7,
17497,
796,
32746,
722,
4008,
220,
198,
489,
83,
13,
29487,
7,
19581,
62,
11377,
11,
26067,
62,
28764,
62,
11377,
11,
6167,
796,
366,
22362,
15655,
720,
49,
62,
83,
3,
1600,
3124,
796,
366,
13602,
3847,
17585,
4943,
198,
489,
83,
13,
20797,
62,
23395,
7,
19581,
62,
11377,
11,
26067,
62,
25690,
62,
21037,
62,
11377,
11,
26067,
62,
25690,
62,
45828,
62,
11377,
11,
6167,
796,
277,
1,
90,
3064,
9,
25690,
92,
4,
14514,
1600,
3124,
796,
366,
13602,
3847,
17585,
1600,
17130,
796,
657,
13,
18,
8,
198,
489,
83,
13,
1455,
437,
7,
14692,
19734,
1366,
8636,
1600,
366,
11377,
1366,
8636,
8973,
8,
198,
489,
83,
13,
12860,
3419,
628,
198,
37659,
13,
25120,
13,
28826,
7,
2091,
8,
198,
33,
38405,
796,
9104,
26933,
17633,
26453,
7203,
33,
38405,
1600,
7388,
62,
830,
62,
830,
11,
314,
15,
796,
309,
62,
28764,
58,
12,
16,
4357,
26067,
15,
796,
26067,
62,
28764,
58,
12,
16,
4357,
15873,
796,
657,
8,
12962,
198,
33,
38405,
13,
5143,
7,
1415,
11,
45941,
13,
9107,
418,
19510,
16,
11,
16,
22305,
198,
198,
83,
62,
28764,
796,
685,
19581,
58,
12,
16,
60,
1343,
279,
67,
13,
14967,
276,
12514,
7,
12545,
796,
1312,
8,
329,
1312,
287,
2837,
7,
11925,
7,
33,
38405,
58,
15,
4083,
67,
12514,
62,
51,
4008,
60,
198,
33,
38405,
58,
15,
4083,
21037,
62,
25690,
58,
15,
60,
796,
309,
62,
25690,
62,
21037,
58,
12,
16,
60,
198,
33,
38405,
58,
15,
4083,
45828,
62,
25690,
58,
15,
60,
796,
309,
62,
25690,
62,
45828,
58,
12,
16,
60,
198,
29487,
62,
51,
62,
272,
18048,
444,
7,
19581,
11,
309,
62,
28764,
11,
309,
62,
25690,
62,
45828,
11,
309,
62,
25690,
62,
21037,
11,
649,
62,
33964,
62,
912,
11,
32172,
62,
19581,
11,
35907,
11,
14514,
8,
198,
489,
83,
13,
1416,
1436,
7,
83,
62,
28764,
11,
45301,
58,
15,
4083,
67,
12514,
62,
51,
11,
3124,
796,
366,
39532,
5549,
1600,
264,
796,
604,
11,
6167,
796,
366,
39156,
5722,
3433,
35536,
4943,
198,
489,
83,
13,
20797,
62,
23395,
7,
83,
62,
28764,
11,
45301,
58,
15,
4083,
21037,
62,
25690,
11,
45301,
58,
15,
4083,
45828,
62,
25690,
11,
3124,
796,
366,
39532,
5549,
1600,
17130,
796,
657,
13,
18,
11,
6167,
2625,
2079,
4,
14514,
357,
754,
2701,
8,
4943,
198,
43328,
24728,
22446,
7839,
7203,
33,
38405,
3433,
6714,
35536,
25,
15348,
6060,
4935,
295,
3691,
13,
5094,
30588,
6060,
11074,
87,
18242,
7203,
10430,
11074,
2645,
9608,
7203,
34,
1386,
4943,
198,
489,
83,
13,
29487,
7,
19581,
62,
11377,
11,
649,
62,
33964,
62,
912,
62,
11377,
11,
366,
74,
12,
1600,
17130,
796,
657,
13,
21,
11,
6167,
2625,
36,
3149,
343,
605,
5094,
6060,
4943,
198,
489,
83,
13,
1455,
437,
3419,
198,
489,
83,
13,
43616,
19202,
3419,
198,
489,
83,
13,
88,
2475,
7,
15,
11,
4751,
8,
198,
489,
83,
13,
12860,
3419,
198,
198,
2,
1303,
783,
11,
466,
4783,
12,
5715,
31850,
220,
198,
2,
32746,
722,
796,
838,
198,
2,
4783,
62,
2435,
62,
25076,
796,
1181,
62,
33964,
13,
8094,
1525,
7,
14692,
469,
78,
62,
26263,
1600,
366,
4475,
62,
26263,
8973,
8,
14692,
4475,
62,
26263,
1,
4083,
9127,
22446,
30619,
62,
9630,
3419,
198,
2,
13472,
796,
45941,
13,
9107,
418,
19510,
11925,
7,
17080,
2012,
62,
14933,
828,
18896,
7,
17080,
2012,
62,
14933,
22305,
198,
2,
7746,
796,
17635,
198,
2,
3509,
62,
11925,
796,
352,
1343,
3509,
7,
8899,
7,
11925,
11,
4783,
62,
14933,
4008,
198,
2,
351,
256,
80,
36020,
26933,
316,
75,
13,
35666,
28613,
13,
1136,
7,
32656,
11,
288,
77,
8,
329,
288,
77,
287,
4783,
62,
14933,
12962,
355,
12815,
25,
198,
2,
220,
220,
220,
220,
329,
4783,
287,
12815,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
12815,
13,
2617,
62,
11213,
7,
69,
1,
90,
17080,
2012,
1058,
27,
90,
9806,
62,
11925,
11709,
4943,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
19581,
11,
26067,
62,
28764,
11,
26067,
62,
25690,
62,
45828,
11,
26067,
62,
25690,
62,
21037,
11,
1635,
62,
8,
796,
30063,
62,
7378,
20304,
7,
17080,
2012,
62,
2435,
62,
25076,
13,
17946,
58,
17080,
2012,
4357,
14514,
796,
14514,
11,
32746,
722,
796,
3063,
2122,
7,
17497,
796,
32746,
722,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7746,
13,
33295,
19510,
17080,
2012,
11,
26067,
62,
28764,
58,
12,
16,
4357,
26067,
62,
25690,
62,
21037,
58,
12,
16,
4357,
26067,
62,
25690,
62,
45828,
58,
12,
16,
4357,
1628,
7,
19581,
11,
26067,
62,
28764,
11,
32746,
722,
22305,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
357,
15732,
12331,
11,
11052,
12331,
2599,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7746,
13,
33295,
19510,
17080,
2012,
11,
45941,
13,
12647,
11,
45941,
13,
12647,
11,
45941,
13,
12647,
11,
45941,
13,
12647,
4008,
198,
2,
7746,
796,
279,
67,
13,
6601,
19778,
7,
395,
26748,
8,
198,
2,
7746,
13,
28665,
82,
796,
14631,
17080,
2012,
1600,
366,
49,
83,
1600,
366,
49,
83,
62,
25690,
62,
21037,
1600,
366,
49,
83,
62,
25690,
62,
45828,
1600,
366,
49,
83,
62,
1676,
73,
8973,
198,
2,
7746,
13,
2617,
62,
9630,
7203,
17080,
2012,
1600,
287,
5372,
28,
17821,
8,
198,
2,
7746,
13,
1462,
62,
40664,
7,
7890,
30487,
49,
83,
62,
395,
26748,
13,
40664,
4943,
198,
2,
3601,
7,
395,
26748,
8,
198
] | 2.571354 | 1,913 |
#!/usr/bin/env python3
# Copyright 2021 Steve Palmer
"""Generate a complete list of test numbers and names."""
import collections
import inspect
import generic_testing
TestRecord = collections.namedtuple("TestRecord", ["class_", "testname", "test_number"])
if __name__ == "__main__":
Main()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
15069,
33448,
6542,
18918,
198,
198,
37811,
8645,
378,
257,
1844,
1351,
286,
1332,
3146,
290,
3891,
526,
15931,
198,
198,
11748,
17268,
198,
11748,
10104,
198,
198,
11748,
14276,
62,
33407,
198,
198,
14402,
23739,
796,
17268,
13,
13190,
83,
29291,
7203,
14402,
23739,
1600,
14631,
4871,
62,
1600,
366,
9288,
3672,
1600,
366,
9288,
62,
17618,
8973,
8,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
8774,
3419,
198
] | 3.318681 | 91 |
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""An example of using custom classes and coder for grouping operations.
This workflow demonstrates registration and usage of a custom coder for a user-
defined class. A deterministic custom coder is needed to use a class as a key in
a combine or group operation.
This example assumes an input file with, on each line, a comma-separated name
and score.
"""
from __future__ import absolute_import
import argparse
import logging
import sys
import apache_beam as beam
from apache_beam import coders
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.typehints import typehints
from apache_beam.typehints.decorators import with_output_types
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.options.pipeline_options import SetupOptions
class Player(object):
"""A custom class used as a key in combine/group transforms."""
class PlayerCoder(coders.Coder):
"""A custom coder for the Player class."""
def encode(self, o):
"""Encode to bytes with a trace that coder was used."""
# Our encoding prepends an 'x:' prefix.
return 'x:%s' % str(o.name)
# Annotate the get_players function so that the typehint system knows that the
# input to the CombinePerKey operation is a key-value pair of a Player object
# and an integer.
@with_output_types(typehints.KV[Player, int])
def run(args=None):
"""Runs the workflow computing total points from a collection of matches."""
if args is None:
args = sys.argv[1:]
parser = argparse.ArgumentParser()
parser.add_argument('--input',
required=True,
help='Input file to process.')
parser.add_argument('--output',
required=True,
help='Output file to write results to.')
known_args, pipeline_args = parser.parse_known_args(args)
# We use the save_main_session option because one or more DoFn's in this
# workflow rely on global context (e.g., a module imported at module level).
pipeline_options = PipelineOptions(pipeline_args)
pipeline_options.view_as(SetupOptions).save_main_session = True
with beam.Pipeline(options=pipeline_options) as p:
# Register the custom coder for the Player class, so that it will be used in
# the computation.
coders.registry.register_coder(Player, PlayerCoder)
(p # pylint: disable=expression-not-assigned
| ReadFromText(known_args.input)
# The get_players function is annotated with a type hint above, so the type
# system knows the output type of the following operation is a key-value
# pair of a Player and an int. Please see the documentation for details on
# types that are inferred automatically as well as other ways to specify
# type hints.
| beam.Map(get_players)
# The output type hint of the previous step is used to infer that the key
# type of the following operation is the Player type. Since a custom coder
# is registered for the Player class above, a PlayerCoder will be used to
# encode Player objects as keys for this combine operation.
| beam.CombinePerKey(sum)
| beam.Map(lambda (k, v): '%s,%d' % (k.name, v))
| WriteToText(known_args.output))
if __name__ == '__main__':
logging.getLogger().setLevel(logging.INFO)
run()
| [
2,
198,
2,
49962,
284,
262,
24843,
10442,
5693,
357,
1921,
37,
8,
739,
530,
393,
517,
198,
2,
18920,
5964,
11704,
13,
220,
4091,
262,
28536,
2393,
9387,
351,
198,
2,
428,
670,
329,
3224,
1321,
5115,
6634,
9238,
13,
198,
2,
383,
7054,
37,
16625,
428,
2393,
284,
921,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
198,
2,
357,
1169,
366,
34156,
15341,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
198,
2,
262,
13789,
13,
220,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
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,
37811,
2025,
1672,
286,
1262,
2183,
6097,
290,
269,
12342,
329,
36115,
4560,
13,
198,
198,
1212,
30798,
15687,
9352,
290,
8748,
286,
257,
2183,
269,
12342,
329,
257,
2836,
12,
198,
23211,
1398,
13,
317,
2206,
49228,
2183,
269,
12342,
318,
2622,
284,
779,
257,
1398,
355,
257,
1994,
287,
198,
64,
12082,
393,
1448,
4905,
13,
198,
198,
1212,
1672,
18533,
281,
5128,
2393,
351,
11,
319,
1123,
1627,
11,
257,
39650,
12,
25512,
515,
1438,
198,
392,
4776,
13,
198,
37811,
198,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
11748,
1822,
29572,
198,
11748,
18931,
198,
11748,
25064,
198,
198,
11748,
2471,
4891,
62,
40045,
355,
15584,
198,
6738,
2471,
4891,
62,
40045,
1330,
14873,
364,
198,
6738,
2471,
4891,
62,
40045,
13,
952,
1330,
4149,
4863,
8206,
198,
6738,
2471,
4891,
62,
40045,
13,
952,
1330,
19430,
2514,
8206,
198,
6738,
2471,
4891,
62,
40045,
13,
4906,
71,
29503,
1330,
2099,
71,
29503,
198,
6738,
2471,
4891,
62,
40045,
13,
4906,
71,
29503,
13,
12501,
273,
2024,
1330,
351,
62,
22915,
62,
19199,
198,
6738,
2471,
4891,
62,
40045,
13,
25811,
13,
79,
541,
4470,
62,
25811,
1330,
37709,
29046,
198,
6738,
2471,
4891,
62,
40045,
13,
25811,
13,
79,
541,
4470,
62,
25811,
1330,
31122,
29046,
628,
198,
4871,
7853,
7,
15252,
2599,
198,
220,
37227,
32,
2183,
1398,
973,
355,
257,
1994,
287,
12082,
14,
8094,
31408,
526,
15931,
628,
198,
4871,
7853,
34,
12342,
7,
19815,
364,
13,
34,
12342,
2599,
198,
220,
37227,
32,
2183,
269,
12342,
329,
262,
7853,
1398,
526,
15931,
628,
220,
825,
37773,
7,
944,
11,
267,
2599,
198,
220,
220,
220,
37227,
4834,
8189,
284,
9881,
351,
257,
12854,
326,
269,
12342,
373,
973,
526,
15931,
198,
220,
220,
220,
1303,
3954,
21004,
3143,
2412,
281,
705,
87,
32105,
21231,
13,
198,
220,
220,
220,
1441,
705,
87,
25,
4,
82,
6,
4064,
965,
7,
78,
13,
3672,
8,
628,
198,
2,
1052,
1662,
378,
262,
651,
62,
32399,
2163,
523,
326,
262,
2099,
71,
600,
1080,
4206,
326,
262,
198,
2,
5128,
284,
262,
29176,
5990,
9218,
4905,
318,
257,
1994,
12,
8367,
5166,
286,
257,
7853,
2134,
198,
2,
290,
281,
18253,
13,
198,
31,
4480,
62,
22915,
62,
19199,
7,
4906,
71,
29503,
13,
42,
53,
58,
14140,
11,
493,
12962,
628,
198,
4299,
1057,
7,
22046,
28,
14202,
2599,
198,
220,
37227,
10987,
82,
262,
30798,
14492,
2472,
2173,
422,
257,
4947,
286,
7466,
526,
15931,
628,
220,
611,
26498,
318,
6045,
25,
198,
220,
220,
220,
26498,
796,
25064,
13,
853,
85,
58,
16,
47715,
198,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
15414,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
20560,
2393,
284,
1429,
2637,
8,
198,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
22915,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
26410,
2393,
284,
3551,
2482,
284,
2637,
8,
198,
220,
1900,
62,
22046,
11,
11523,
62,
22046,
796,
30751,
13,
29572,
62,
4002,
62,
22046,
7,
22046,
8,
198,
220,
1303,
775,
779,
262,
3613,
62,
12417,
62,
29891,
3038,
780,
530,
393,
517,
2141,
37,
77,
338,
287,
428,
198,
220,
1303,
30798,
8814,
319,
3298,
4732,
357,
68,
13,
70,
1539,
257,
8265,
17392,
379,
8265,
1241,
737,
198,
220,
11523,
62,
25811,
796,
37709,
29046,
7,
79,
541,
4470,
62,
22046,
8,
198,
220,
11523,
62,
25811,
13,
1177,
62,
292,
7,
40786,
29046,
737,
21928,
62,
12417,
62,
29891,
796,
6407,
198,
220,
351,
15584,
13,
47,
541,
4470,
7,
25811,
28,
79,
541,
4470,
62,
25811,
8,
355,
279,
25,
628,
220,
220,
220,
1303,
17296,
262,
2183,
269,
12342,
329,
262,
7853,
1398,
11,
523,
326,
340,
481,
307,
973,
287,
198,
220,
220,
220,
1303,
262,
29964,
13,
198,
220,
220,
220,
14873,
364,
13,
2301,
4592,
13,
30238,
62,
66,
12342,
7,
14140,
11,
7853,
34,
12342,
8,
628,
220,
220,
220,
357,
79,
220,
1303,
279,
2645,
600,
25,
15560,
28,
38011,
12,
1662,
12,
562,
3916,
198,
220,
220,
220,
220,
930,
4149,
4863,
8206,
7,
4002,
62,
22046,
13,
15414,
8,
198,
220,
220,
220,
220,
1303,
383,
651,
62,
32399,
2163,
318,
24708,
515,
351,
257,
2099,
9254,
2029,
11,
523,
262,
2099,
198,
220,
220,
220,
220,
1303,
1080,
4206,
262,
5072,
2099,
286,
262,
1708,
4905,
318,
257,
1994,
12,
8367,
198,
220,
220,
220,
220,
1303,
5166,
286,
257,
7853,
290,
281,
493,
13,
4222,
766,
262,
10314,
329,
3307,
319,
198,
220,
220,
220,
220,
1303,
3858,
326,
389,
41240,
6338,
355,
880,
355,
584,
2842,
284,
11986,
198,
220,
220,
220,
220,
1303,
2099,
20269,
13,
198,
220,
220,
220,
220,
930,
15584,
13,
13912,
7,
1136,
62,
32399,
8,
198,
220,
220,
220,
220,
1303,
383,
5072,
2099,
9254,
286,
262,
2180,
2239,
318,
973,
284,
13249,
326,
262,
1994,
198,
220,
220,
220,
220,
1303,
2099,
286,
262,
1708,
4905,
318,
262,
7853,
2099,
13,
4619,
257,
2183,
269,
12342,
198,
220,
220,
220,
220,
1303,
318,
6823,
329,
262,
7853,
1398,
2029,
11,
257,
7853,
34,
12342,
481,
307,
973,
284,
198,
220,
220,
220,
220,
1303,
37773,
7853,
5563,
355,
8251,
329,
428,
12082,
4905,
13,
198,
220,
220,
220,
220,
930,
15584,
13,
20575,
500,
5990,
9218,
7,
16345,
8,
198,
220,
220,
220,
220,
930,
15584,
13,
13912,
7,
50033,
357,
74,
11,
410,
2599,
705,
4,
82,
11,
4,
67,
6,
4064,
357,
74,
13,
3672,
11,
410,
4008,
198,
220,
220,
220,
220,
930,
19430,
2514,
8206,
7,
4002,
62,
22046,
13,
22915,
4008,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
18931,
13,
1136,
11187,
1362,
22446,
2617,
4971,
7,
6404,
2667,
13,
10778,
8,
198,
220,
1057,
3419,
198
] | 3.253968 | 1,260 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.22 on 2019-11-21 23:29
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2980,
515,
416,
37770,
352,
13,
1157,
13,
1828,
319,
13130,
12,
1157,
12,
2481,
2242,
25,
1959,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.923077 | 65 |
import http
from unittest.mock import Mock, patch
import pytest
from django.conf import settings
from django.test import override_settings
from django.urls import reverse
from rest_framework import status
from buyer import models
from core.tests.test_views import reload_module, reload_urlconf
@pytest.mark.django_db
@patch('sigauth.helpers.RequestSignatureChecker.test_signature', Mock(return_value=True))
@pytest.mark.django_db
@patch('sigauth.helpers.RequestSignatureChecker.test_signature', Mock(return_value=True))
@patch('core.views.get_file_from_s3')
@override_settings(STORAGE_CLASS_NAME='default')
@override_settings(AWS_STORAGE_BUCKET_NAME_DATA_SCIENCE='my_db_buket')
| [
11748,
2638,
198,
6738,
555,
715,
395,
13,
76,
735,
1330,
44123,
11,
8529,
198,
198,
11748,
12972,
9288,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
198,
6738,
42625,
14208,
13,
9288,
1330,
20957,
62,
33692,
198,
6738,
42625,
14208,
13,
6371,
82,
1330,
9575,
198,
6738,
1334,
62,
30604,
1330,
3722,
198,
198,
6738,
17872,
1330,
4981,
198,
6738,
4755,
13,
41989,
13,
9288,
62,
33571,
1330,
18126,
62,
21412,
11,
18126,
62,
6371,
10414,
628,
198,
31,
9078,
9288,
13,
4102,
13,
28241,
14208,
62,
9945,
198,
31,
17147,
10786,
82,
13827,
1071,
13,
16794,
364,
13,
18453,
11712,
1300,
9787,
263,
13,
9288,
62,
12683,
1300,
3256,
44123,
7,
7783,
62,
8367,
28,
17821,
4008,
628,
198,
31,
9078,
9288,
13,
4102,
13,
28241,
14208,
62,
9945,
198,
31,
17147,
10786,
82,
13827,
1071,
13,
16794,
364,
13,
18453,
11712,
1300,
9787,
263,
13,
9288,
62,
12683,
1300,
3256,
44123,
7,
7783,
62,
8367,
28,
17821,
4008,
198,
31,
17147,
10786,
7295,
13,
33571,
13,
1136,
62,
7753,
62,
6738,
62,
82,
18,
11537,
198,
31,
2502,
13154,
62,
33692,
7,
2257,
1581,
11879,
62,
31631,
62,
20608,
11639,
12286,
11537,
198,
31,
2502,
13154,
62,
33692,
7,
12298,
50,
62,
2257,
1581,
11879,
62,
33,
16696,
2767,
62,
20608,
62,
26947,
62,
6173,
42589,
11639,
1820,
62,
9945,
62,
65,
2724,
316,
11537,
198
] | 2.9869 | 229 |
import mock
from mock import patch
import unittest
from cfgm_common.vnc_db import DBBase
from svc_monitor import config_db
from svc_monitor import loadbalancer_agent
from vnc_api.vnc_api import *
import argparse
import ConfigParser
# end setUp
# end tearDown
# end create_pool
#end create_hm_obj
# end create_hm
# end update_pool
# end update_vip
# end create_pool_members
# end create_pool_member
# end create_project
# end create_vn
# end obj_to_dict
# end create_vmi
# end create_iip
# end create_vip
# end test_add_delete_pool_with_members_vip
# end test_add_delete_pool_with_members_vip_hm
# end test_update_pool
# Test the case where vip is deleted before the pool
# end test_update_pool
# end test_update_pool_members_add_delete
# end test_update_pool_member_props
# end test_update_pool_members_add_delete
# end test_update_vip
# end test_update_vip
# end test_update_vip_persistance_type
# end test_add_delete_pool_with_members_vip_hm
# end test_add_delete_multiple_pools
#end F5LBTest(unittest.TestCase):
| [
11748,
15290,
198,
6738,
15290,
1330,
8529,
198,
11748,
555,
715,
395,
198,
6738,
30218,
39870,
62,
11321,
13,
85,
10782,
62,
9945,
1330,
20137,
14881,
198,
6738,
264,
28435,
62,
41143,
1330,
4566,
62,
9945,
198,
6738,
264,
28435,
62,
41143,
1330,
3440,
6893,
8250,
62,
25781,
198,
6738,
410,
10782,
62,
15042,
13,
85,
10782,
62,
15042,
1330,
1635,
198,
11748,
1822,
29572,
198,
11748,
17056,
46677,
628,
198,
220,
220,
220,
1303,
886,
900,
4933,
628,
220,
220,
220,
1303,
886,
11626,
8048,
198,
220,
220,
220,
1303,
886,
2251,
62,
7742,
198,
220,
220,
220,
1303,
437,
2251,
62,
23940,
62,
26801,
198,
220,
220,
220,
1303,
886,
2251,
62,
23940,
198,
220,
220,
220,
1303,
886,
4296,
62,
7742,
198,
220,
220,
220,
1303,
886,
4296,
62,
85,
541,
198,
220,
220,
220,
1303,
886,
2251,
62,
7742,
62,
30814,
198,
220,
220,
220,
1303,
886,
2251,
62,
7742,
62,
19522,
198,
220,
220,
220,
1303,
886,
2251,
62,
16302,
198,
220,
220,
220,
1303,
886,
2251,
62,
85,
77,
198,
220,
220,
220,
1303,
886,
26181,
62,
1462,
62,
11600,
198,
220,
220,
220,
1303,
886,
2251,
62,
85,
11632,
198,
220,
220,
220,
1303,
886,
2251,
62,
72,
541,
198,
220,
220,
220,
1303,
886,
2251,
62,
85,
541,
198,
220,
220,
220,
1303,
886,
1332,
62,
2860,
62,
33678,
62,
7742,
62,
4480,
62,
30814,
62,
85,
541,
198,
220,
220,
220,
1303,
886,
1332,
62,
2860,
62,
33678,
62,
7742,
62,
4480,
62,
30814,
62,
85,
541,
62,
23940,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
7742,
628,
220,
220,
220,
1303,
6208,
262,
1339,
810,
410,
541,
318,
13140,
878,
262,
5933,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
7742,
628,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
7742,
62,
30814,
62,
2860,
62,
33678,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
7742,
62,
19522,
62,
1676,
862,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
7742,
62,
30814,
62,
2860,
62,
33678,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
85,
541,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
85,
541,
198,
220,
220,
220,
1303,
886,
1332,
62,
19119,
62,
85,
541,
62,
19276,
9311,
62,
4906,
198,
220,
220,
220,
1303,
886,
1332,
62,
2860,
62,
33678,
62,
7742,
62,
4480,
62,
30814,
62,
85,
541,
62,
23940,
198,
220,
220,
220,
1303,
886,
1332,
62,
2860,
62,
33678,
62,
48101,
62,
7742,
82,
198,
2,
437,
376,
20,
30501,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198
] | 2.566893 | 441 |
#!/usr/bin/env python
from docutils.core import publish_string, publish_parts
from docutils.readers.standalone import Reader
from nose.config import Config
from nose.plugins.manager import BuiltinPluginManager
import nose
import nose.commands
import nose.tools
import os
import re
import time
doc_word.priority = 100
root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
print "Main..."
tpl = open(os.path.join(root, 'index.html.tpl'), 'r').read()
pat = re.compile(r'^.*(Basic usage)', re.DOTALL)
txt = nose.__doc__.replace(':: python','::')
txt = pat.sub(r'\1', txt)
# cut from 'about the name' down (goes to end of page)
pat = re.compile(r'^(.*?)(About the name.*$)', re.DOTALL)
txt, coda = pat.search(txt).groups()
docs = publish_parts(txt, reader=DocReader(), writer_name='html')
docs.update({'version': nose.__version__,
'date': time.ctime()})
docs['coda'] = publish_parts(coda, writer_name='html')['body']
#print "Tools..."
#tools = publish_parts(nose.tools.__doc__, writer_name='html')
#docs['tools'] = tools['body']
print "Commands..."
cmds = publish_parts(nose.commands.__doc__, reader=DocReader(),
writer_name='html')
docs['commands'] = cmds['body']
print "Changelog..."
changes = open(os.path.join(root, 'CHANGELOG'), 'r').read()
changes_html = publish_parts(changes, reader=DocReader(), writer_name='html')
docs['changelog'] = changes_html['body']
print "News..."
news = open(os.path.join(root, 'NEWS'), 'r').read()
news_html = publish_parts(news, reader=DocReader(), writer_name='html')
docs['news'] = news_html['body']
print "Usage..."
conf = Config(plugins=BuiltinPluginManager())
usage_txt = conf.help(nose.main.__doc__).replace(
'mkindex.py', 'nosetests')
docs['usage'] = '<pre>%s</pre>' % usage_txt
out = tpl % docs
index = open(os.path.join(root, 'index.html'), 'w')
index.write(out)
index.close()
readme = open(os.path.join(root, 'README.txt'), 'w')
readme.write(nose.__doc__)
readme.close()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
6738,
2205,
26791,
13,
7295,
1330,
7715,
62,
8841,
11,
7715,
62,
42632,
198,
6738,
2205,
26791,
13,
961,
364,
13,
1481,
17749,
1330,
25342,
198,
6738,
9686,
13,
11250,
1330,
17056,
198,
6738,
9686,
13,
37390,
13,
37153,
1330,
28477,
259,
37233,
13511,
198,
11748,
9686,
198,
11748,
9686,
13,
9503,
1746,
198,
11748,
9686,
13,
31391,
198,
11748,
28686,
198,
11748,
302,
198,
11748,
640,
198,
15390,
62,
4775,
13,
49336,
796,
1802,
628,
198,
15763,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
828,
705,
492,
6,
4008,
198,
198,
4798,
366,
13383,
9313,
198,
83,
489,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
15763,
11,
705,
9630,
13,
6494,
13,
83,
489,
33809,
705,
81,
27691,
961,
3419,
198,
198,
8071,
796,
302,
13,
5589,
576,
7,
81,
6,
61,
15885,
7,
26416,
8748,
8,
3256,
302,
13,
35,
2394,
7036,
8,
198,
14116,
796,
9686,
13,
834,
15390,
834,
13,
33491,
10786,
3712,
21015,
41707,
3712,
11537,
198,
14116,
796,
1458,
13,
7266,
7,
81,
6,
59,
16,
3256,
256,
742,
8,
198,
198,
2,
2005,
422,
705,
10755,
262,
1438,
6,
866,
357,
2188,
274,
284,
886,
286,
2443,
8,
198,
8071,
796,
302,
13,
5589,
576,
7,
81,
6,
61,
7,
15885,
30,
5769,
8585,
262,
1438,
15885,
3,
8,
3256,
302,
13,
35,
2394,
7036,
8,
198,
14116,
11,
269,
11329,
796,
1458,
13,
12947,
7,
14116,
737,
24432,
3419,
198,
198,
31628,
796,
7715,
62,
42632,
7,
14116,
11,
9173,
28,
23579,
33634,
22784,
6260,
62,
3672,
11639,
6494,
11537,
198,
31628,
13,
19119,
15090,
6,
9641,
10354,
9686,
13,
834,
9641,
834,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4475,
10354,
640,
13,
310,
524,
3419,
30072,
198,
31628,
17816,
66,
11329,
20520,
796,
7715,
62,
42632,
7,
66,
11329,
11,
6260,
62,
3672,
11639,
6494,
11537,
17816,
2618,
20520,
198,
198,
2,
4798,
366,
33637,
9313,
198,
2,
31391,
796,
7715,
62,
42632,
7,
77,
577,
13,
31391,
13,
834,
15390,
834,
11,
6260,
62,
3672,
11639,
6494,
11537,
198,
2,
31628,
17816,
31391,
20520,
796,
4899,
17816,
2618,
20520,
198,
198,
4798,
366,
6935,
1746,
9313,
198,
28758,
82,
796,
7715,
62,
42632,
7,
77,
577,
13,
9503,
1746,
13,
834,
15390,
834,
11,
9173,
28,
23579,
33634,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
62,
3672,
11639,
6494,
11537,
198,
31628,
17816,
9503,
1746,
20520,
796,
23991,
82,
17816,
2618,
20520,
198,
198,
4798,
366,
1925,
8368,
519,
9313,
198,
36653,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
15763,
11,
705,
3398,
15567,
3698,
7730,
33809,
705,
81,
27691,
961,
3419,
198,
36653,
62,
6494,
796,
7715,
62,
42632,
7,
36653,
11,
9173,
28,
23579,
33634,
22784,
6260,
62,
3672,
11639,
6494,
11537,
198,
31628,
17816,
354,
8368,
519,
20520,
796,
2458,
62,
6494,
17816,
2618,
20520,
198,
198,
4798,
366,
9980,
9313,
198,
10827,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
15763,
11,
705,
49597,
33809,
705,
81,
27691,
961,
3419,
198,
10827,
62,
6494,
796,
7715,
62,
42632,
7,
10827,
11,
9173,
28,
23579,
33634,
22784,
6260,
62,
3672,
11639,
6494,
11537,
198,
31628,
17816,
10827,
20520,
796,
1705,
62,
6494,
17816,
2618,
20520,
198,
198,
4798,
366,
28350,
9313,
198,
10414,
796,
17056,
7,
37390,
28,
39582,
259,
37233,
13511,
28955,
198,
26060,
62,
14116,
796,
1013,
13,
16794,
7,
77,
577,
13,
12417,
13,
834,
15390,
834,
737,
33491,
7,
198,
220,
220,
220,
705,
28015,
9630,
13,
9078,
3256,
705,
39369,
316,
3558,
11537,
198,
31628,
17816,
26060,
20520,
796,
705,
27,
3866,
29,
4,
82,
3556,
3866,
29,
6,
4064,
8748,
62,
14116,
198,
198,
448,
796,
256,
489,
4064,
34165,
198,
198,
9630,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
15763,
11,
705,
9630,
13,
6494,
33809,
705,
86,
11537,
198,
9630,
13,
13564,
7,
448,
8,
198,
9630,
13,
19836,
3419,
198,
198,
961,
1326,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
15763,
11,
705,
15675,
11682,
13,
14116,
33809,
705,
86,
11537,
198,
961,
1326,
13,
13564,
7,
77,
577,
13,
834,
15390,
834,
8,
198,
961,
1326,
13,
19836,
3419,
198
] | 2.65906 | 745 |
# Generated by Django 3.1.13 on 2021-09-21 15:33
from django.db import migrations, models
import django.db.models.deletion
| [
2,
2980,
515,
416,
37770,
513,
13,
16,
13,
1485,
319,
33448,
12,
2931,
12,
2481,
1315,
25,
2091,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
198,
11748,
42625,
14208,
13,
9945,
13,
27530,
13,
2934,
1616,
295,
628
] | 2.840909 | 44 |
"""Simulation where an agent will get all collectibles spawn randomly
"""
import sys
sys.path.append("../")
from westworld.environment import GridEnvironment
from westworld.agents import BaseGridAgent
from westworld.objects import BaseObstacle,BaseTrigger,BaseCollectible
from westworld.simulation import Simulation
from westworld.colors import *
#==================================================================================================
# BASE CLASSES
#==================================================================================================
#==================================================================================================
# SIMULATION
#==================================================================================================
# Setup agents
agent = Agent(1,1,color = RED)
# Setup collectibles as random spawner
collectible_spawner = lambda x,y : Collectible(x,y,color = WHITE)
# Setup environment
env = GridEnvironment(20,10,30,objects = [agent])
env.spawn(collectible_spawner,10)
env.render()
# Prepare simulation
sim = Simulation(env,fps = 30,name="CollectiblesSimple")
if __name__ == "__main__":
sim.run_episode(n_steps = 200,save = True)
| [
37811,
8890,
1741,
810,
281,
5797,
481,
651,
477,
2824,
18764,
10922,
15456,
198,
37811,
628,
198,
198,
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
7203,
40720,
4943,
198,
198,
6738,
7421,
6894,
13,
38986,
1330,
24846,
31441,
198,
6738,
7421,
6894,
13,
49638,
1330,
7308,
41339,
36772,
198,
6738,
7421,
6894,
13,
48205,
1330,
7308,
5944,
301,
6008,
11,
14881,
48344,
11,
14881,
31337,
856,
198,
6738,
7421,
6894,
13,
14323,
1741,
1330,
41798,
198,
6738,
7421,
6894,
13,
4033,
669,
1330,
1635,
628,
198,
198,
2,
23926,
10052,
855,
198,
2,
49688,
42715,
1546,
198,
2,
23926,
10052,
855,
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,
220,
198,
198,
2,
23926,
10052,
855,
198,
2,
23749,
6239,
6234,
198,
2,
23926,
10052,
855,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
2,
31122,
6554,
198,
25781,
796,
15906,
7,
16,
11,
16,
11,
8043,
796,
23848,
8,
198,
198,
2,
31122,
2824,
18764,
355,
4738,
10922,
263,
198,
33327,
856,
62,
48183,
263,
796,
37456,
2124,
11,
88,
1058,
9745,
856,
7,
87,
11,
88,
11,
8043,
796,
44925,
8,
198,
198,
2,
31122,
2858,
198,
24330,
796,
24846,
31441,
7,
1238,
11,
940,
11,
1270,
11,
48205,
796,
685,
25781,
12962,
198,
24330,
13,
48183,
7,
33327,
856,
62,
48183,
263,
11,
940,
8,
198,
24330,
13,
13287,
3419,
198,
198,
2,
43426,
18640,
198,
14323,
796,
41798,
7,
24330,
11,
29647,
796,
1542,
11,
3672,
2625,
31337,
18764,
26437,
4943,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
985,
13,
5143,
62,
38668,
7,
77,
62,
20214,
796,
939,
11,
21928,
796,
6407,
8,
198
] | 4.160535 | 299 |
# AUTHOR = PAUL KEARNEY
# STUDENT ID = G00364787
# DATE = 2018-02-24
#
# STUDENT ID = G00364787
# EXERCISE 04
# projectEuler problem 2
# references used
# http://www.tutorialspoint.com/python/python_basic_operators.htm
# https://www.tutorialspoint.com/python/python_strings.htm
# https://stackoverflow.com/questions/9120059/odd-even-string-python
#
# function to calculate the FIBONACCI value for input value n
def fib(n):
"""This function returns the nth Fibonacci number."""
i = 0
j = 1
n = n - 1
while n >= 0:
i, j = j, i + j
n = n - 1
return i
# setup working storage
num = 0
total = 0
result = 0
total = 0
ok = 1
opStr = ""
# main routine
while result < 4000000 and ok == 1:
result = fib(num)
if (result < 4000000):
if (result %2 == 0 ):
total = total+result
else:
ok = 0
num = num + 1
# program output to screen
opStr = "The sum of the even numbers 'under' 4 million is "+ str(total)
print(opStr)
| [
2,
44746,
796,
8147,
6239,
509,
17133,
36231,
220,
220,
201,
198,
2,
49348,
3525,
4522,
796,
402,
11245,
2414,
41019,
201,
198,
2,
360,
6158,
796,
2864,
12,
2999,
12,
1731,
201,
198,
2,
201,
198,
2,
49348,
3525,
4522,
796,
402,
11245,
2414,
41019,
201,
198,
2,
7788,
47691,
24352,
8702,
201,
198,
201,
198,
2,
1628,
36,
18173,
220,
220,
1917,
362,
201,
198,
2,
10288,
973,
201,
198,
2,
2638,
1378,
2503,
13,
83,
44917,
2777,
1563,
13,
785,
14,
29412,
14,
29412,
62,
35487,
62,
3575,
2024,
13,
19211,
201,
198,
2,
3740,
1378,
2503,
13,
83,
44917,
2777,
1563,
13,
785,
14,
29412,
14,
29412,
62,
37336,
13,
19211,
201,
198,
2,
3740,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
24,
27550,
3270,
14,
5088,
12,
10197,
12,
8841,
12,
29412,
201,
198,
2,
201,
198,
201,
198,
2,
2163,
284,
15284,
262,
376,
9865,
1340,
2246,
25690,
1988,
329,
5128,
1988,
299,
201,
198,
4299,
12900,
7,
77,
2599,
201,
198,
220,
37227,
1212,
2163,
5860,
262,
299,
400,
41566,
261,
44456,
1271,
526,
15931,
201,
198,
220,
1312,
796,
657,
201,
198,
220,
474,
796,
352,
201,
198,
220,
299,
796,
299,
532,
352,
201,
198,
201,
198,
220,
981,
299,
18189,
657,
25,
201,
198,
220,
220,
220,
1312,
11,
474,
796,
474,
11,
1312,
1343,
474,
201,
198,
220,
220,
220,
299,
796,
299,
532,
352,
201,
198,
220,
220,
201,
198,
220,
1441,
1312,
201,
198,
201,
198,
2,
9058,
1762,
6143,
201,
198,
22510,
796,
657,
201,
198,
23350,
796,
657,
201,
198,
20274,
796,
657,
201,
198,
23350,
796,
657,
201,
198,
482,
796,
352,
201,
198,
404,
13290,
796,
13538,
201,
198,
201,
198,
2,
1388,
8027,
201,
198,
4514,
1255,
1279,
604,
10535,
290,
12876,
6624,
352,
25,
220,
220,
220,
220,
201,
198,
220,
220,
220,
1255,
796,
12900,
7,
22510,
8,
201,
198,
220,
220,
220,
611,
357,
20274,
1279,
604,
10535,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
20274,
4064,
17,
6624,
657,
15179,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
796,
2472,
10,
20274,
220,
201,
198,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
12876,
796,
657,
201,
198,
220,
220,
220,
997,
796,
997,
1343,
352,
201,
198,
201,
198,
2,
1430,
5072,
284,
3159,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
404,
13290,
796,
366,
464,
2160,
286,
262,
772,
3146,
705,
4625,
6,
604,
1510,
318,
43825,
965,
7,
23350,
8,
220,
201,
198,
4798,
7,
404,
13290,
8,
201,
198,
220,
220,
220,
220,
201,
198
] | 2.294118 | 459 |
def plot_tuning_curve(resp, ori, ax=None):
"""Plot single neuron responses as a function of stimulus orientation
Args:
resp (numpy array): n_stimuli x n_neurons matrix with responses of each
neuron whose tuning curve to plot. Can also be a 1D array of length
n_stimuli to plot tuning curve of a single neuron.
ori (numpy array): 1D array of length stimuli with orientations of each
stimulus, in radians
ax (matplotlib axes): axes onto which to plot
"""
if ax is None:
ax = plt.gca()
ax.plot(np.rad2deg(ori), resp, '.-')
ax.set_xticks(np.linspace(-90, 90, 5))
ax.set_xlabel('stimulus orientation')
ax.set_ylabel('neuron response')
def plot_dim_reduction(resp, ori, ax=None):
"""Plot dimensionality-reduced population responses (using tSNE)
Args:
resp (numpy array): n_stimuli x n_neurons matrix with population responses
ori (numpy array): 1D array of length stimuli with orientations of each
stimulus, in radians
ax (matplotlib axes): axes onto which to plot
"""
if ax is None:
ax = plt.gca()
# First do PCA to reduce dimensionality to 200 dimensions so that tSNE is faster
resp_lowd = PCA(n_components=min(200, resp.shape[1])).fit_transform(resp)
# Then do tSNE to reduce dimensionality to 2 dimensions
resp_lowd = TSNE(n_components=2).fit_transform(resp_lowd)
# Plot dimensionality-reduced population responses
# on 2D axes, with each point colored by stimulus orientation
scat = ax.scatter(resp_lowd[:, 0], resp_lowd[:, 1], c=np.rad2deg(ori), cmap='twilight')
cbar = plt.colorbar(scat, ax=ax, label='stimulus orientation')
ax.set_xlabel('dimension 1')
ax.set_ylabel('dimension 2')
ax.set_xticks([])
ax.set_yticks([])
# Aggregate all responses into one dict
resp_dict = {}
resp_dict['V1 data'] = resp_v1
for k, v in resp_model.items():
label = 'model\nlayer %s' % k
resp_dict[label] = v
# Plot tuning curves and dimensionality-reduced responses next to each other
with plt.xkcd():
figsize = 4
fig, axs = plt.subplots(2, len(resp_dict), figsize=(len(resp_dict) * figsize, 2 * figsize))
for i, (label, resp) in enumerate(resp_dict.items()):
axs[0, i].set_title('%s responses' % label)
# Plot tuning curves of three random neurons
ineurons = np.random.choice(resp.shape[1], 3, replace=False) # indices of three random neurons
plot_tuning_curve(resp[:, ineurons], ori, axs[0, i])
# Plot dimensionality-reduced population responses
plot_dim_reduction(resp, ori, axs[1, i])
plt.tight_layout()
plt.show() | [
4299,
7110,
62,
28286,
278,
62,
22019,
303,
7,
4363,
11,
22812,
11,
7877,
28,
14202,
2599,
198,
220,
37227,
43328,
2060,
43164,
9109,
355,
257,
2163,
286,
19819,
12852,
628,
220,
943,
14542,
25,
198,
220,
220,
220,
1217,
357,
77,
32152,
7177,
2599,
299,
62,
42003,
32176,
2124,
299,
62,
710,
333,
684,
17593,
351,
9109,
286,
1123,
198,
220,
220,
220,
220,
220,
43164,
3025,
24549,
12133,
284,
7110,
13,
1680,
635,
307,
257,
352,
35,
7177,
286,
4129,
220,
198,
220,
220,
220,
220,
220,
299,
62,
42003,
32176,
284,
7110,
24549,
12133,
286,
257,
2060,
43164,
13,
198,
220,
220,
220,
22812,
357,
77,
32152,
7177,
2599,
352,
35,
7177,
286,
4129,
25973,
351,
11367,
602,
286,
1123,
198,
220,
220,
220,
220,
220,
19819,
11,
287,
2511,
1547,
198,
220,
220,
220,
7877,
357,
6759,
29487,
8019,
34197,
2599,
34197,
4291,
543,
284,
7110,
628,
220,
37227,
198,
220,
611,
7877,
318,
6045,
25,
198,
220,
220,
220,
7877,
796,
458,
83,
13,
70,
6888,
3419,
198,
220,
220,
198,
220,
7877,
13,
29487,
7,
37659,
13,
6335,
17,
13500,
7,
10145,
828,
1217,
11,
705,
7874,
11537,
198,
220,
220,
198,
220,
7877,
13,
2617,
62,
742,
3378,
7,
37659,
13,
21602,
10223,
32590,
3829,
11,
4101,
11,
642,
4008,
198,
220,
7877,
13,
2617,
62,
87,
18242,
10786,
42003,
23515,
12852,
11537,
198,
220,
7877,
13,
2617,
62,
2645,
9608,
10786,
710,
44372,
2882,
11537,
198,
198,
4299,
7110,
62,
27740,
62,
445,
8110,
7,
4363,
11,
22812,
11,
7877,
28,
14202,
2599,
198,
220,
37227,
43328,
15793,
1483,
12,
445,
19513,
3265,
9109,
357,
3500,
256,
50,
12161,
8,
628,
220,
943,
14542,
25,
198,
220,
220,
220,
1217,
357,
77,
32152,
7177,
2599,
299,
62,
42003,
32176,
2124,
299,
62,
710,
333,
684,
17593,
351,
3265,
9109,
198,
220,
220,
220,
22812,
357,
77,
32152,
7177,
2599,
352,
35,
7177,
286,
4129,
25973,
351,
11367,
602,
286,
1123,
198,
220,
220,
220,
220,
220,
19819,
11,
287,
2511,
1547,
198,
220,
220,
220,
7877,
357,
6759,
29487,
8019,
34197,
2599,
34197,
4291,
543,
284,
7110,
628,
220,
37227,
198,
220,
611,
7877,
318,
6045,
25,
198,
220,
220,
220,
7877,
796,
458,
83,
13,
70,
6888,
3419,
628,
220,
1303,
3274,
466,
4217,
32,
284,
4646,
15793,
1483,
284,
939,
15225,
523,
326,
256,
50,
12161,
318,
5443,
198,
220,
1217,
62,
9319,
67,
796,
4217,
32,
7,
77,
62,
5589,
3906,
28,
1084,
7,
2167,
11,
1217,
13,
43358,
58,
16,
12962,
737,
11147,
62,
35636,
7,
4363,
8,
628,
220,
1303,
3244,
466,
256,
50,
12161,
284,
4646,
15793,
1483,
284,
362,
15225,
198,
220,
1217,
62,
9319,
67,
796,
26136,
12161,
7,
77,
62,
5589,
3906,
28,
17,
737,
11147,
62,
35636,
7,
4363,
62,
9319,
67,
8,
628,
220,
1303,
28114,
15793,
1483,
12,
445,
19513,
3265,
9109,
198,
220,
1303,
319,
362,
35,
34197,
11,
351,
1123,
966,
16396,
416,
19819,
12852,
198,
220,
629,
265,
796,
7877,
13,
1416,
1436,
7,
4363,
62,
9319,
67,
58,
45299,
657,
4357,
1217,
62,
9319,
67,
58,
45299,
352,
4357,
269,
28,
37659,
13,
6335,
17,
13500,
7,
10145,
828,
269,
8899,
11639,
4246,
15512,
11537,
198,
220,
220,
198,
220,
269,
5657,
796,
458,
83,
13,
8043,
5657,
7,
1416,
265,
11,
7877,
28,
897,
11,
6167,
11639,
42003,
23515,
12852,
11537,
198,
220,
7877,
13,
2617,
62,
87,
18242,
10786,
46156,
352,
11537,
198,
220,
7877,
13,
2617,
62,
2645,
9608,
10786,
46156,
362,
11537,
198,
220,
7877,
13,
2617,
62,
742,
3378,
26933,
12962,
198,
220,
7877,
13,
2617,
62,
20760,
3378,
26933,
12962,
198,
198,
2,
19015,
49373,
477,
9109,
656,
530,
8633,
198,
4363,
62,
11600,
796,
23884,
198,
4363,
62,
11600,
17816,
53,
16,
1366,
20520,
796,
1217,
62,
85,
16,
198,
1640,
479,
11,
410,
287,
1217,
62,
19849,
13,
23814,
33529,
198,
220,
6167,
796,
705,
19849,
59,
21283,
2794,
4064,
82,
6,
4064,
479,
198,
220,
1217,
62,
11600,
58,
18242,
60,
796,
410,
198,
198,
2,
28114,
24549,
23759,
290,
15793,
1483,
12,
445,
19513,
9109,
1306,
284,
1123,
584,
198,
4480,
458,
83,
13,
87,
74,
10210,
33529,
198,
220,
2336,
7857,
796,
604,
198,
220,
2336,
11,
7877,
82,
796,
458,
83,
13,
7266,
489,
1747,
7,
17,
11,
18896,
7,
4363,
62,
11600,
828,
2336,
7857,
16193,
11925,
7,
4363,
62,
11600,
8,
1635,
2336,
7857,
11,
362,
1635,
2336,
7857,
4008,
628,
220,
329,
1312,
11,
357,
18242,
11,
1217,
8,
287,
27056,
378,
7,
4363,
62,
11600,
13,
23814,
3419,
2599,
628,
220,
220,
220,
7877,
82,
58,
15,
11,
1312,
4083,
2617,
62,
7839,
10786,
4,
82,
9109,
6,
4064,
6167,
8,
628,
220,
220,
220,
1303,
28114,
24549,
23759,
286,
1115,
4738,
16890,
198,
220,
220,
220,
287,
23365,
684,
796,
45941,
13,
25120,
13,
25541,
7,
4363,
13,
43358,
58,
16,
4357,
513,
11,
6330,
28,
25101,
8,
220,
1303,
36525,
286,
1115,
4738,
16890,
198,
220,
220,
220,
7110,
62,
28286,
278,
62,
22019,
303,
7,
4363,
58,
45299,
287,
23365,
684,
4357,
22812,
11,
7877,
82,
58,
15,
11,
1312,
12962,
628,
220,
220,
220,
1303,
28114,
15793,
1483,
12,
445,
19513,
3265,
9109,
198,
220,
220,
220,
7110,
62,
27740,
62,
445,
8110,
7,
4363,
11,
22812,
11,
7877,
82,
58,
16,
11,
1312,
12962,
628,
220,
458,
83,
13,
33464,
62,
39786,
3419,
198,
220,
458,
83,
13,
12860,
3419
] | 2.805464 | 915 |
#
# @section License
#
# The MIT License (MIT)
#
# Copyright (c) 2016-2017, Erik Moqvist
#
# 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.
#
# This file is part of the Pumbaa project.
#
import harness
from harness import assert_raises
import ssl
import socket
import socket_stub
TESTCASES = [
(test_print, "test_print"),
(test_client, "test_client"),
(test_server, "test_server")
]
| [
2,
198,
2,
2488,
5458,
13789,
198,
2,
198,
2,
383,
17168,
13789,
357,
36393,
8,
198,
2,
198,
2,
15069,
357,
66,
8,
1584,
12,
5539,
11,
22722,
4270,
44179,
396,
198,
2,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
198,
2,
16727,
257,
4866,
286,
428,
3788,
290,
3917,
10314,
198,
2,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
287,
262,
10442,
1231,
198,
2,
17504,
11,
1390,
1231,
17385,
262,
2489,
284,
779,
11,
4866,
11,
198,
2,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
9088,
198,
2,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
2,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
2,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
198,
2,
3017,
287,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
198,
2,
7788,
32761,
6375,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
198,
2,
34482,
3398,
1565,
5603,
25382,
11,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
198,
2,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
198,
2,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
198,
2,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
16289,
3963,
6375,
3268,
198,
2,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
198,
2,
47466,
13,
198,
2,
198,
2,
770,
2393,
318,
636,
286,
262,
350,
2178,
7252,
1628,
13,
198,
2,
198,
198,
11748,
19356,
198,
6738,
19356,
1330,
6818,
62,
430,
2696,
198,
11748,
264,
6649,
198,
11748,
17802,
198,
11748,
17802,
62,
301,
549,
628,
628,
198,
198,
51,
1546,
4825,
1921,
1546,
796,
685,
198,
220,
220,
220,
357,
9288,
62,
4798,
11,
366,
9288,
62,
4798,
12340,
198,
220,
220,
220,
357,
9288,
62,
16366,
11,
366,
9288,
62,
16366,
12340,
198,
220,
220,
220,
357,
9288,
62,
15388,
11,
366,
9288,
62,
15388,
4943,
198,
60,
198
] | 3.475369 | 406 |
#!/usr/bin/env python
#-*- coding:utf-8 -*-
__author__ = 'weihaoxuan'
from celery import task
from confile_process import process
import models
import os
# import ansible_api
@task
@task
@task
@task
@task
@task
@task
@task
@task
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
12,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
834,
9800,
834,
796,
705,
42990,
3099,
1140,
7258,
6,
198,
198,
6738,
18725,
1924,
1330,
4876,
198,
6738,
1013,
576,
62,
14681,
1330,
1429,
198,
11748,
4981,
198,
11748,
28686,
198,
2,
1330,
9093,
856,
62,
15042,
198,
198,
31,
35943,
628,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198,
198,
31,
35943,
198
] | 2.474227 | 97 |
"""Build and Version QuerySet classes."""
import datetime
import logging
from django.db import models
from django.db.models import Q
from django.utils import timezone
from readthedocs.builds.constants import (
BUILD_STATE_FINISHED,
BUILD_STATE_TRIGGERED,
EXTERNAL,
)
from readthedocs.core.permissions import AdminPermission
from readthedocs.core.utils.extend import SettingsOverrideObject
from readthedocs.projects import constants
from readthedocs.projects.models import Project
log = logging.getLogger(__name__)
__all__ = ['VersionQuerySet', 'BuildQuerySet', 'RelatedBuildQuerySet']
class VersionQuerySetBase(models.QuerySet):
"""Versions take into account their own privacy_level setting."""
use_for_related_fields = True
def __init__(self, *args, internal_only=False, external_only=False, **kwargs):
"""
Overridden to pass extra arguments from the manager.
Usage:
import functools
ManagerClass.from_queryset(
functools.partial(VersionQuerySet, internal_only=True)
)
:param bool internal_only: If this queryset is being used to query internal versions only.
:param bool external_only: If this queryset is being used to query external versions only.
"""
self.internal_only = internal_only
self.external_only = external_only
super().__init__(*args, **kwargs)
def _add_from_user_projects(self, queryset, user, admin=False, member=False):
"""Add related objects from projects where `user` is an `admin` or a `member`."""
if user and user.is_authenticated:
projects_pk = (
AdminPermission.projects(
user=user,
admin=admin,
member=member,
)
.values_list('pk', flat=True)
)
user_queryset = self.filter(project__in=projects_pk)
queryset = user_queryset | queryset
return queryset
def public(
self,
user=None,
project=None,
only_active=True,
include_hidden=True,
only_built=False,
):
"""
Get all allowed versions.
.. note::
External versions use the `Project.external_builds_privacy_level`
field instead of its `privacy_level` field.
"""
queryset = self._public_only()
if user:
if user.is_superuser:
queryset = self.all()
else:
queryset = self._add_from_user_projects(queryset, user)
if project:
queryset = queryset.filter(project=project)
if only_active:
queryset = queryset.filter(active=True)
if only_built:
queryset = queryset.filter(built=True)
if not include_hidden:
queryset = queryset.filter(hidden=False)
return queryset.distinct()
class BuildQuerySet(models.QuerySet):
"""
Build objects that are privacy aware.
i.e. they take into account the privacy of the Version that they relate to.
"""
use_for_related_fields = True
def _add_from_user_projects(self, queryset, user, admin=False, member=False):
"""Add related objects from projects where `user` is an `admin` or a `member`."""
if user and user.is_authenticated:
projects_pk = (
AdminPermission.projects(
user=user,
admin=admin,
member=member,
)
.values_list('pk', flat=True)
)
user_queryset = self.filter(project__in=projects_pk)
queryset = user_queryset | queryset
return queryset
def public(self, user=None, project=None):
"""
Get all allowed builds.
Builds are public if the linked version and project are public.
.. note::
External versions use the `Project.external_builds_privacy_level`
field instead of its `privacy_level` field.
"""
queryset = (
self.filter(
version__privacy_level=constants.PUBLIC,
version__project__privacy_level=constants.PUBLIC,
)
.exclude(version__type=EXTERNAL)
)
queryset |= self.filter(
version__type=EXTERNAL,
project__external_builds_privacy_level=constants.PUBLIC,
project__privacy_level=constants.PUBLIC,
)
if user:
if user.is_superuser:
queryset = self.all()
else:
queryset = self._add_from_user_projects(
queryset,
user,
admin=True,
member=True,
)
if project:
queryset = queryset.filter(project=project)
return queryset.distinct()
def concurrent(self, project):
"""
Check if the max build concurrency for this project was reached.
- regular project: counts concurrent builds
- translation: concurrent builds of all the translations + builds of main project
.. note::
If the project/translation belongs to an organization, we count all concurrent
builds for all the projects from the organization.
:rtype: tuple
:returns: limit_reached, number of concurrent builds, number of max concurrent
"""
limit_reached = False
query = Q(
project__slug=project.slug,
# Limit builds to 5 hours ago to speed up the query
date__gte=timezone.now() - datetime.timedelta(hours=5),
)
if project.main_language_project:
# Project is a translation, counts all builds of all the translations
query |= Q(project__main_language_project=project.main_language_project)
query |= Q(project__slug=project.main_language_project.slug)
elif project.translations.exists():
# The project has translations, counts their builds as well
query |= Q(project__in=project.translations.all())
# If the project belongs to an organization, count all the projects
# from this organization as well
organization = project.organizations.first()
if organization:
query |= Q(project__in=organization.projects.all())
concurrent = (
self.filter(query)
.exclude(state__in=[BUILD_STATE_TRIGGERED, BUILD_STATE_FINISHED])
).distinct().count()
max_concurrent = Project.objects.max_concurrent_builds(project)
log.info(
'Concurrent builds. project=%s running=%s max=%s',
project.slug,
concurrent,
max_concurrent,
)
if concurrent >= max_concurrent:
limit_reached = True
return (limit_reached, concurrent, max_concurrent)
class RelatedBuildQuerySet(models.QuerySet):
"""
For models with association to a project through :py:class:`Build`.
.. note::
This is only used for ``BuildCommandViewSet`` from api v2.
Which is being used to upload build command results from the builders.
"""
use_for_related_fields = True
| [
37811,
15580,
290,
10628,
43301,
7248,
6097,
526,
15931,
198,
11748,
4818,
8079,
198,
11748,
18931,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
6738,
42625,
14208,
13,
9945,
13,
27530,
1330,
1195,
198,
6738,
42625,
14208,
13,
26791,
1330,
640,
11340,
198,
198,
6738,
1100,
83,
704,
420,
82,
13,
11249,
82,
13,
9979,
1187,
1330,
357,
198,
220,
220,
220,
20571,
26761,
62,
44724,
62,
20032,
18422,
1961,
11,
198,
220,
220,
220,
20571,
26761,
62,
44724,
62,
5446,
3528,
30373,
1961,
11,
198,
220,
220,
220,
7788,
31800,
1847,
11,
198,
8,
198,
6738,
1100,
83,
704,
420,
82,
13,
7295,
13,
525,
8481,
1330,
32053,
5990,
3411,
198,
6738,
1100,
83,
704,
420,
82,
13,
7295,
13,
26791,
13,
2302,
437,
1330,
16163,
37961,
10267,
198,
6738,
1100,
83,
704,
420,
82,
13,
42068,
1330,
38491,
198,
6738,
1100,
83,
704,
420,
82,
13,
42068,
13,
27530,
1330,
4935,
198,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
834,
439,
834,
796,
37250,
14815,
20746,
7248,
3256,
705,
15580,
20746,
7248,
3256,
705,
9819,
15580,
20746,
7248,
20520,
628,
198,
4871,
10628,
20746,
7248,
14881,
7,
27530,
13,
20746,
7248,
2599,
628,
220,
220,
220,
37227,
45150,
1011,
656,
1848,
511,
898,
6782,
62,
5715,
4634,
526,
15931,
628,
220,
220,
220,
779,
62,
1640,
62,
5363,
62,
25747,
796,
6407,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1635,
22046,
11,
5387,
62,
8807,
28,
25101,
11,
7097,
62,
8807,
28,
25101,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3827,
40372,
284,
1208,
3131,
7159,
422,
262,
4706,
13,
628,
220,
220,
220,
220,
220,
220,
220,
29566,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
1257,
310,
10141,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9142,
9487,
13,
6738,
62,
10819,
893,
316,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1257,
310,
10141,
13,
47172,
7,
14815,
20746,
7248,
11,
5387,
62,
8807,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
20512,
5387,
62,
8807,
25,
1002,
428,
42517,
893,
316,
318,
852,
973,
284,
12405,
5387,
6300,
691,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
20512,
7097,
62,
8807,
25,
1002,
428,
42517,
893,
316,
318,
852,
973,
284,
12405,
7097,
6300,
691,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
32538,
62,
8807,
796,
5387,
62,
8807,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22615,
62,
8807,
796,
7097,
62,
8807,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
46491,
22046,
11,
12429,
46265,
22046,
8,
628,
220,
220,
220,
825,
4808,
2860,
62,
6738,
62,
7220,
62,
42068,
7,
944,
11,
42517,
893,
316,
11,
2836,
11,
13169,
28,
25101,
11,
2888,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
3519,
5563,
422,
4493,
810,
4600,
7220,
63,
318,
281,
4600,
28482,
63,
393,
257,
4600,
19522,
63,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
290,
2836,
13,
271,
62,
41299,
3474,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4493,
62,
79,
74,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32053,
5990,
3411,
13,
42068,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
7220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13169,
28,
28482,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2888,
28,
19522,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
27160,
62,
4868,
10786,
79,
74,
3256,
6228,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
10819,
893,
316,
796,
2116,
13,
24455,
7,
16302,
834,
259,
28,
42068,
62,
79,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2836,
62,
10819,
893,
316,
930,
42517,
893,
316,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
42517,
893,
316,
628,
220,
220,
220,
825,
1171,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1628,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
691,
62,
5275,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
62,
30342,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
691,
62,
18780,
28,
25101,
11,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
477,
3142,
6300,
13,
628,
220,
220,
220,
220,
220,
220,
220,
11485,
3465,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34579,
6300,
779,
262,
4600,
16775,
13,
22615,
62,
11249,
82,
62,
13776,
1590,
62,
5715,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
2427,
286,
663,
4600,
13776,
1590,
62,
5715,
63,
2214,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2116,
13557,
11377,
62,
8807,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
13,
271,
62,
16668,
7220,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2116,
13,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2116,
13557,
2860,
62,
6738,
62,
7220,
62,
42068,
7,
10819,
893,
316,
11,
2836,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1628,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
42517,
893,
316,
13,
24455,
7,
16302,
28,
16302,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
691,
62,
5275,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
42517,
893,
316,
13,
24455,
7,
5275,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
691,
62,
18780,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
42517,
893,
316,
13,
24455,
7,
18780,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2291,
62,
30342,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
42517,
893,
316,
13,
24455,
7,
30342,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
42517,
893,
316,
13,
17080,
4612,
3419,
628,
198,
198,
4871,
10934,
20746,
7248,
7,
27530,
13,
20746,
7248,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
10934,
5563,
326,
389,
6782,
3910,
13,
628,
220,
220,
220,
1312,
13,
68,
13,
484,
1011,
656,
1848,
262,
6782,
286,
262,
10628,
326,
484,
15124,
284,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
779,
62,
1640,
62,
5363,
62,
25747,
796,
6407,
628,
220,
220,
220,
825,
4808,
2860,
62,
6738,
62,
7220,
62,
42068,
7,
944,
11,
42517,
893,
316,
11,
2836,
11,
13169,
28,
25101,
11,
2888,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
3519,
5563,
422,
4493,
810,
4600,
7220,
63,
318,
281,
4600,
28482,
63,
393,
257,
4600,
19522,
63,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
290,
2836,
13,
271,
62,
41299,
3474,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4493,
62,
79,
74,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32053,
5990,
3411,
13,
42068,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
7220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13169,
28,
28482,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2888,
28,
19522,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
27160,
62,
4868,
10786,
79,
74,
3256,
6228,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
10819,
893,
316,
796,
2116,
13,
24455,
7,
16302,
834,
259,
28,
42068,
62,
79,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2836,
62,
10819,
893,
316,
930,
42517,
893,
316,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
42517,
893,
316,
628,
220,
220,
220,
825,
1171,
7,
944,
11,
2836,
28,
14202,
11,
1628,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
477,
3142,
12188,
13,
628,
220,
220,
220,
220,
220,
220,
220,
10934,
82,
389,
1171,
611,
262,
6692,
2196,
290,
1628,
389,
1171,
13,
628,
220,
220,
220,
220,
220,
220,
220,
11485,
3465,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34579,
6300,
779,
262,
4600,
16775,
13,
22615,
62,
11249,
82,
62,
13776,
1590,
62,
5715,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
2427,
286,
663,
4600,
13776,
1590,
62,
5715,
63,
2214,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24455,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2196,
834,
13776,
1590,
62,
5715,
28,
9979,
1187,
13,
5105,
32936,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2196,
834,
16302,
834,
13776,
1590,
62,
5715,
28,
9979,
1187,
13,
5105,
32936,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
1069,
9152,
7,
9641,
834,
4906,
28,
6369,
31800,
1847,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
930,
28,
2116,
13,
24455,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2196,
834,
4906,
28,
6369,
31800,
1847,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
834,
22615,
62,
11249,
82,
62,
13776,
1590,
62,
5715,
28,
9979,
1187,
13,
5105,
32936,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
834,
13776,
1590,
62,
5715,
28,
9979,
1187,
13,
5105,
32936,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
13,
271,
62,
16668,
7220,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2116,
13,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
2116,
13557,
2860,
62,
6738,
62,
7220,
62,
42068,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13169,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2888,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1628,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42517,
893,
316,
796,
42517,
893,
316,
13,
24455,
7,
16302,
28,
16302,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
42517,
893,
316,
13,
17080,
4612,
3419,
628,
220,
220,
220,
825,
24580,
7,
944,
11,
1628,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6822,
611,
262,
3509,
1382,
1673,
13382,
329,
428,
1628,
373,
4251,
13,
628,
220,
220,
220,
220,
220,
220,
220,
532,
3218,
1628,
25,
9853,
24580,
12188,
628,
220,
220,
220,
220,
220,
220,
220,
532,
11059,
25,
24580,
12188,
286,
477,
262,
25231,
1343,
12188,
286,
1388,
1628,
628,
220,
220,
220,
220,
220,
220,
220,
11485,
3465,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
262,
1628,
14,
41519,
14448,
284,
281,
4009,
11,
356,
954,
477,
24580,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12188,
329,
477,
262,
4493,
422,
262,
4009,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
81,
4906,
25,
46545,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
82,
25,
4179,
62,
260,
2317,
11,
1271,
286,
24580,
12188,
11,
1271,
286,
3509,
24580,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4179,
62,
260,
2317,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
12405,
796,
1195,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
834,
6649,
1018,
28,
16302,
13,
6649,
1018,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27272,
12188,
284,
642,
2250,
2084,
284,
2866,
510,
262,
12405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
834,
70,
660,
28,
2435,
11340,
13,
2197,
3419,
532,
4818,
8079,
13,
16514,
276,
12514,
7,
24425,
28,
20,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1628,
13,
12417,
62,
16129,
62,
16302,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4935,
318,
257,
11059,
11,
9853,
477,
12188,
286,
477,
262,
25231,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
930,
28,
1195,
7,
16302,
834,
12417,
62,
16129,
62,
16302,
28,
16302,
13,
12417,
62,
16129,
62,
16302,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
930,
28,
1195,
7,
16302,
834,
6649,
1018,
28,
16302,
13,
12417,
62,
16129,
62,
16302,
13,
6649,
1018,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1628,
13,
7645,
49905,
13,
1069,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
1628,
468,
25231,
11,
9853,
511,
12188,
355,
880,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
930,
28,
1195,
7,
16302,
834,
259,
28,
16302,
13,
7645,
49905,
13,
439,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
1628,
14448,
284,
281,
4009,
11,
954,
477,
262,
4493,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
422,
428,
4009,
355,
880,
198,
220,
220,
220,
220,
220,
220,
220,
4009,
796,
1628,
13,
9971,
4582,
13,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4009,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
930,
28,
1195,
7,
16302,
834,
259,
28,
9971,
1634,
13,
42068,
13,
439,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
24580,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24455,
7,
22766,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
1069,
9152,
7,
5219,
834,
259,
41888,
19499,
26761,
62,
44724,
62,
5446,
3528,
30373,
1961,
11,
20571,
26761,
62,
44724,
62,
20032,
18422,
1961,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
6739,
17080,
4612,
22446,
9127,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
1102,
14421,
796,
4935,
13,
48205,
13,
9806,
62,
1102,
14421,
62,
11249,
82,
7,
16302,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
10951,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3103,
14421,
12188,
13,
1628,
28,
4,
82,
2491,
28,
4,
82,
3509,
28,
4,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
13,
6649,
1018,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24580,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
1102,
14421,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
24580,
18189,
3509,
62,
1102,
14421,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4179,
62,
260,
2317,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
32374,
62,
260,
2317,
11,
24580,
11,
3509,
62,
1102,
14421,
8,
628,
198,
4871,
19809,
15580,
20746,
7248,
7,
27530,
13,
20746,
7248,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1114,
4981,
351,
8112,
284,
257,
1628,
832,
1058,
9078,
25,
4871,
25,
63,
15580,
44646,
628,
220,
220,
220,
11485,
3465,
3712,
628,
220,
220,
220,
220,
220,
220,
770,
318,
691,
973,
329,
7559,
15580,
21575,
7680,
7248,
15506,
422,
40391,
410,
17,
13,
198,
220,
220,
220,
220,
220,
220,
9022,
318,
852,
973,
284,
9516,
1382,
3141,
2482,
422,
262,
31606,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
779,
62,
1640,
62,
5363,
62,
25747,
796,
6407,
198
] | 2.263288 | 3,236 |
"""Platform for LGE climate integration."""
from __future__ import annotations
from dataclasses import dataclass
from datetime import timedelta
import logging
from typing import Any, Awaitable, Callable, List, Tuple
from .wideq import (
FEAT_HUMIDITY,
FEAT_OUT_WATER_TEMP,
UNIT_TEMP_FAHRENHEIT,
DeviceType,
)
from .wideq.ac import AirConditionerDevice, ACMode
from homeassistant.components.climate import ClimateEntity, ClimateEntityDescription
from homeassistant.components.climate.const import (
ATTR_HVAC_MODE,
DEFAULT_MAX_TEMP,
DEFAULT_MIN_TEMP,
ClimateEntityFeature,
HVACMode,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.update_coordinator import CoordinatorEntity
from . import LGEDevice
from .const import DOMAIN, LGE_DEVICES
from .device_helpers import (
TEMP_UNIT_LOOKUP,
LGERefrigeratorDevice,
get_entity_name,
)
# general ac attributes
ATTR_FRIDGE = "fridge"
ATTR_FREEZER = "freezer"
HVAC_MODE_LOOKUP: dict[str, HVACMode] = {
ACMode.ENERGY_SAVER.name: HVACMode.AUTO,
ACMode.AI.name: HVACMode.AUTO,
ACMode.HEAT.name: HVACMode.HEAT,
ACMode.DRY.name: HVACMode.DRY,
ACMode.COOL.name: HVACMode.COOL,
ACMode.FAN.name: HVACMode.FAN_ONLY,
ACMode.ACO.name: HVACMode.HEAT_COOL,
}
ATTR_SWING_HORIZONTAL = "swing_mode_horizontal"
ATTR_SWING_VERTICAL = "swing_mode_vertical"
SWING_PREFIX = ["Vertical", "Horizontal"]
SCAN_INTERVAL = timedelta(seconds=120)
_LOGGER = logging.getLogger(__name__)
@dataclass
class ThinQRefClimateRequiredKeysMixin:
"""Mixin for required keys."""
range_temp_fn: Callable[[Any], List[float]]
set_temp_fn: Callable[[Any, float], Awaitable[None]]
temp_fn: Callable[[Any], float | str]
@dataclass
class ThinQRefClimateEntityDescription(
ClimateEntityDescription, ThinQRefClimateRequiredKeysMixin
):
"""A class that describes ThinQ climate entities."""
REFRIGERATOR_CLIMATE: Tuple[ThinQRefClimateEntityDescription, ...] = (
ThinQRefClimateEntityDescription(
key=ATTR_FRIDGE,
name="Fridge",
icon="mdi:fridge-top",
range_temp_fn=lambda x: x.device.fridge_target_temp_range,
set_temp_fn=lambda x, y: x.device.set_fridge_target_temp(y),
temp_fn=lambda x: x.temp_fridge,
),
ThinQRefClimateEntityDescription(
key=ATTR_FREEZER,
name="Freezer",
icon="mdi:fridge-bottom",
range_temp_fn=lambda x: x.device.freezer_target_temp_range,
set_temp_fn=lambda x, y: x.device.set_freezer_target_temp(y),
temp_fn=lambda x: x.temp_freezer,
),
)
def remove_prefix(text: str, prefix: str) -> str:
"""Remove a prefix from a string."""
if text.startswith(prefix):
return text[len(prefix):]
return text
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
) -> None:
"""Set up LGE device climate based on config_entry."""
entry_config = hass.data[DOMAIN]
lge_devices = entry_config.get(LGE_DEVICES)
if not lge_devices:
return
_LOGGER.debug("Starting LGE ThinQ climate setup...")
lge_climates = []
# AC devices
lge_climates.extend(
[
LGEACClimate(lge_device)
for lge_device in lge_devices.get(DeviceType.AC, [])
]
)
# Refrigerator devices
lge_climates.extend(
[
LGERefrigeratorClimate(lge_device, refrigerator_desc)
for refrigerator_desc in REFRIGERATOR_CLIMATE
for lge_device in lge_devices.get(DeviceType.REFRIGERATOR, [])
]
)
async_add_entities(lge_climates)
class LGEClimate(CoordinatorEntity, ClimateEntity):
"""Base climate device."""
def __init__(self, api: LGEDevice):
"""Initialize the climate."""
super().__init__(api.coordinator)
self._api = api
self._attr_device_info = api.device_info
@property
def should_poll(self) -> bool:
"""Return True if entity has to be polled for state.
We overwrite coordinator property default setting because we need
to poll to avoid the effect that after changing a climate settings
it is immediately set to prev state. The async_update method here
do nothing because the real update is performed by coordinator.
"""
return True
async def async_update(self) -> None:
"""Update the entity.
This is a fake update, real update is done by coordinator.
"""
return
@property
def available(self) -> bool:
"""Return True if entity is available."""
return self._api.available
class LGEACClimate(LGEClimate):
"""Air-to-Air climate device."""
def __init__(self, api: LGEDevice) -> None:
"""Initialize the climate."""
super().__init__(api)
self._device: AirConditionerDevice = api.device
self._attr_name = api.name
self._attr_unique_id = f"{api.unique_id}-AC"
self._attr_fan_modes = self._device.fan_speeds
self._attr_swing_modes = [
f"{SWING_PREFIX[0]}{mode}" for mode in self._device.vertical_step_modes
] + [
f"{SWING_PREFIX[1]}{mode}" for mode in self._device.horizontal_step_modes
]
self._hvac_mode_lookup: dict[str, HVACMode] | None = None
self._support_ver_swing = len(self._device.vertical_step_modes) > 0
self._support_hor_swing = len(self._device.horizontal_step_modes) > 0
self._set_hor_swing = self._support_hor_swing and not self._support_ver_swing
def _available_hvac_modes(self) -> dict[str, HVACMode]:
"""Return available hvac modes from lookup dict."""
if self._hvac_mode_lookup is None:
modes = {}
for key, mode in HVAC_MODE_LOOKUP.items():
if key in self._device.op_modes:
# invert key and mode to avoid duplicated HVAC modes
modes[mode] = key
self._hvac_mode_lookup = {v: k for k, v in modes.items()}
return self._hvac_mode_lookup
def _get_swing_mode(self, hor_mode=False) -> str | None:
"""Return the current swing mode for vert of hor mode."""
if hor_mode:
mode = self._api.state.horizontal_step_mode
else:
mode = self._api.state.vertical_step_mode
if mode:
return f"{SWING_PREFIX[1 if hor_mode else 0]}{mode}"
return None
@property
def supported_features(self) -> int:
"""Return the list of supported features."""
features = ClimateEntityFeature.TARGET_TEMPERATURE
if len(self.fan_modes) > 0:
features |= ClimateEntityFeature.FAN_MODE
if self._support_ver_swing or self._support_hor_swing:
features |= ClimateEntityFeature.SWING_MODE
return features
@property
def extra_state_attributes(self):
"""Return the optional state attributes with device specific additions."""
attr = {}
if self._support_hor_swing:
attr[ATTR_SWING_HORIZONTAL] = self._get_swing_mode(True)
if self._support_ver_swing:
attr[ATTR_SWING_VERTICAL] = self._get_swing_mode(False)
return attr
@property
def target_temperature_step(self) -> float:
"""Return the supported step of target temperature."""
return self._device.target_temperature_step
@property
def temperature_unit(self) -> str:
"""Return the unit of measurement used by the platform."""
if self._device.temperature_unit == UNIT_TEMP_FAHRENHEIT:
return TEMP_FAHRENHEIT
return TEMP_CELSIUS
@property
def hvac_mode(self) -> HVACMode:
"""Return hvac operation ie. heat, cool mode."""
op_mode: str | None = self._api.state.operation_mode
if not self._api.state.is_on or op_mode is None:
return HVACMode.OFF
modes = self._available_hvac_modes()
return modes.get(op_mode, HVACMode.AUTO)
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
"""Set new target hvac mode."""
if hvac_mode == HVACMode.OFF:
await self._device.power(False)
return
modes = self._available_hvac_modes()
reverse_lookup = {v: k for k, v in modes.items()}
operation_mode = reverse_lookup.get(hvac_mode)
if operation_mode is None:
raise ValueError(f"Invalid hvac_mode [{hvac_mode}]")
if self.hvac_mode == HVACMode.OFF:
await self._device.power(True)
await self._device.set_op_mode(operation_mode)
@property
def hvac_modes(self) -> list[HVACMode]:
"""Return the list of available hvac operation modes."""
modes = self._available_hvac_modes()
return [HVACMode.OFF] + list(modes.values())
@property
def current_temperature(self) -> float:
"""Return the current temperature."""
curr_temp = None
if self._device.is_air_to_water:
curr_temp = self._api.state.device_features.get(FEAT_OUT_WATER_TEMP)
if curr_temp is None:
curr_temp = self._api.state.current_temp
return curr_temp
@property
@property
def target_temperature(self) -> float:
"""Return the temperature we try to reach."""
return self._api.state.target_temp
async def async_set_temperature(self, **kwargs) -> None:
"""Set new target temperature."""
if hvac_mode := kwargs.get(ATTR_HVAC_MODE):
await self.async_set_hvac_mode(HVACMode(hvac_mode))
if new_temp := kwargs.get(ATTR_TEMPERATURE):
await self._device.set_target_temp(new_temp)
@property
def fan_mode(self) -> str | None:
"""Return the fan setting."""
return self._api.state.fan_speed
async def async_set_fan_mode(self, fan_mode: str) -> None:
"""Set new target fan mode."""
if fan_mode not in self.fan_modes:
raise ValueError(f"Invalid fan mode [{fan_mode}]")
await self._device.set_fan_speed(fan_mode)
@property
def swing_mode(self) -> str | None:
"""Return the swing mode setting."""
if self._set_hor_swing and self._support_hor_swing:
return self._get_swing_mode(True)
return self._get_swing_mode(False)
async def async_set_swing_mode(self, swing_mode: str) -> None:
"""Set new target swing mode."""
avl_mode = False
curr_mode = None
set_hor_swing = swing_mode.startswith(SWING_PREFIX[1])
dev_mode = remove_prefix(
swing_mode, SWING_PREFIX[1 if set_hor_swing else 0]
)
if set_hor_swing:
if dev_mode in self._device.horizontal_step_modes:
avl_mode = True
curr_mode = self._api.state.horizontal_step_mode
elif swing_mode.startswith(SWING_PREFIX[0]):
if dev_mode in self._device.vertical_step_modes:
avl_mode = True
curr_mode = self._api.state.vertical_step_mode
if not avl_mode:
raise ValueError(f"Invalid swing_mode [{swing_mode}].")
if curr_mode != dev_mode:
if set_hor_swing:
await self._device.set_horizontal_step_mode(dev_mode)
else:
await self._device.set_vertical_step_mode(dev_mode)
self._set_hor_swing = set_hor_swing
async def async_turn_on(self) -> None:
"""Turn the entity on."""
await self._device.power(True)
async def async_turn_off(self) -> None:
"""Turn the entity off."""
await self._device.power(False)
@property
def min_temp(self) -> float:
"""Return the minimum temperature."""
if (min_value := self._device.target_temperature_min) is not None:
return min_value
return self._device.conv_temp_unit(DEFAULT_MIN_TEMP)
@property
def max_temp(self) -> float:
"""Return the maximum temperature."""
if (max_value := self._device.target_temperature_max) is not None:
return max_value
return self._device.conv_temp_unit(DEFAULT_MAX_TEMP)
class LGERefrigeratorClimate(LGEClimate):
"""Refrigerator climate device."""
entity_description = ThinQRefClimateEntityDescription
def __init__(
self,
api: LGEDevice,
description: ThinQRefClimateEntityDescription,
) -> None:
"""Initialize the climate."""
super().__init__(api)
self._wrap_device = LGERefrigeratorDevice(api)
self.entity_description = description
self._attr_name = get_entity_name(api, description.key, description.name)
self._attr_unique_id = f"{api.unique_id}-{description.key}-AC"
self._attr_hvac_modes = [HVACMode.AUTO]
self._attr_hvac_mode = HVACMode.AUTO
@property
def supported_features(self) -> int:
"""Return the list of supported features."""
if not self._wrap_device.device.set_values_allowed:
return 0
return ClimateEntityFeature.TARGET_TEMPERATURE
@property
def target_temperature_step(self) -> float:
"""Return the supported step of target temperature."""
return self._wrap_device.device.target_temperature_step
@property
def temperature_unit(self) -> str:
"""Return the unit of measurement used by the platform."""
if self._api.state:
unit = self._api.state.temp_unit
return TEMP_UNIT_LOOKUP.get(unit, TEMP_CELSIUS)
return TEMP_CELSIUS
@property
def current_temperature(self) -> float | None:
"""Return the current temperature."""
curr_temp = self.entity_description.temp_fn(self._wrap_device)
if curr_temp is None:
return None
try:
return int(curr_temp)
except ValueError:
return None
@property
def target_temperature(self) -> float | None:
"""Return the temperature we try to reach."""
return self.current_temperature
async def async_set_temperature(self, **kwargs) -> None:
"""Set new target temperature."""
if new_temp := kwargs.get(ATTR_TEMPERATURE):
await self.entity_description.set_temp_fn(self._wrap_device, new_temp)
@property
def min_temp(self) -> float:
"""Return the minimum temperature."""
return self.entity_description.range_temp_fn(self._wrap_device)[0]
@property
| [
37811,
37148,
329,
406,
8264,
4258,
11812,
526,
15931,
198,
6738,
11593,
37443,
834,
1330,
37647,
198,
198,
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
6738,
4818,
8079,
1330,
28805,
12514,
198,
11748,
18931,
198,
6738,
19720,
1330,
4377,
11,
5851,
4548,
540,
11,
4889,
540,
11,
7343,
11,
309,
29291,
198,
198,
6738,
764,
4421,
80,
1330,
357,
198,
220,
220,
220,
18630,
1404,
62,
39,
5883,
2389,
9050,
11,
198,
220,
220,
220,
18630,
1404,
62,
12425,
62,
54,
23261,
62,
51,
39494,
11,
198,
220,
220,
220,
4725,
2043,
62,
51,
39494,
62,
7708,
17184,
1677,
13909,
2043,
11,
198,
220,
220,
220,
16232,
6030,
11,
198,
8,
198,
6738,
764,
4421,
80,
13,
330,
1330,
3701,
48362,
263,
24728,
11,
7125,
19076,
198,
198,
6738,
1363,
562,
10167,
13,
5589,
3906,
13,
42570,
1330,
13963,
32398,
11,
13963,
32398,
11828,
198,
6738,
1363,
562,
10167,
13,
5589,
3906,
13,
42570,
13,
9979,
1330,
357,
198,
220,
220,
220,
5161,
5446,
62,
39,
53,
2246,
62,
49058,
11,
198,
220,
220,
220,
5550,
38865,
62,
22921,
62,
51,
39494,
11,
198,
220,
220,
220,
5550,
38865,
62,
23678,
62,
51,
39494,
11,
198,
220,
220,
220,
13963,
32398,
38816,
11,
198,
220,
220,
220,
367,
53,
2246,
19076,
11,
198,
8,
198,
6738,
1363,
562,
10167,
13,
11250,
62,
298,
1678,
1330,
17056,
30150,
198,
6738,
1363,
562,
10167,
13,
9979,
1330,
5161,
5446,
62,
51,
3620,
18973,
40086,
11,
309,
39494,
62,
34,
3698,
11584,
2937,
11,
309,
39494,
62,
7708,
17184,
1677,
13909,
2043,
198,
6738,
1363,
562,
10167,
13,
7295,
1330,
5995,
48902,
198,
6738,
1363,
562,
10167,
13,
16794,
364,
13,
26858,
62,
24254,
1330,
3060,
14539,
871,
47258,
198,
6738,
1363,
562,
10167,
13,
16794,
364,
13,
19119,
62,
37652,
20900,
1330,
36831,
32398,
198,
198,
6738,
764,
1330,
17370,
1961,
1990,
501,
198,
6738,
764,
9979,
1330,
24121,
29833,
11,
406,
8264,
62,
39345,
34444,
198,
6738,
764,
25202,
62,
16794,
364,
1330,
357,
198,
220,
220,
220,
309,
39494,
62,
4944,
2043,
62,
43,
15308,
8577,
11,
198,
220,
220,
220,
17370,
1137,
891,
18096,
1352,
24728,
11,
198,
220,
220,
220,
651,
62,
26858,
62,
3672,
11,
198,
8,
198,
198,
2,
2276,
936,
12608,
198,
1404,
5446,
62,
10913,
2389,
8264,
796,
366,
8310,
3130,
1,
198,
1404,
5446,
62,
39274,
57,
1137,
796,
366,
5787,
9107,
1,
198,
198,
39,
53,
2246,
62,
49058,
62,
43,
15308,
8577,
25,
8633,
58,
2536,
11,
367,
53,
2246,
19076,
60,
796,
1391,
198,
220,
220,
220,
7125,
19076,
13,
1677,
1137,
31212,
62,
4090,
5959,
13,
3672,
25,
367,
53,
2246,
19076,
13,
39371,
46,
11,
198,
220,
220,
220,
7125,
19076,
13,
20185,
13,
3672,
25,
367,
53,
2246,
19076,
13,
39371,
46,
11,
198,
220,
220,
220,
7125,
19076,
13,
13909,
1404,
13,
3672,
25,
367,
53,
2246,
19076,
13,
13909,
1404,
11,
198,
220,
220,
220,
7125,
19076,
13,
7707,
56,
13,
3672,
25,
367,
53,
2246,
19076,
13,
7707,
56,
11,
198,
220,
220,
220,
7125,
19076,
13,
8220,
3535,
13,
3672,
25,
367,
53,
2246,
19076,
13,
8220,
3535,
11,
198,
220,
220,
220,
7125,
19076,
13,
37,
1565,
13,
3672,
25,
367,
53,
2246,
19076,
13,
37,
1565,
62,
1340,
11319,
11,
198,
220,
220,
220,
7125,
19076,
13,
2246,
46,
13,
3672,
25,
367,
53,
2246,
19076,
13,
13909,
1404,
62,
8220,
3535,
11,
198,
92,
198,
198,
1404,
5446,
62,
17887,
2751,
62,
39,
1581,
14887,
35830,
1847,
796,
366,
46737,
62,
14171,
62,
17899,
38342,
1,
198,
1404,
5446,
62,
17887,
2751,
62,
15858,
20151,
796,
366,
46737,
62,
14171,
62,
1851,
605,
1,
198,
17887,
2751,
62,
47,
31688,
10426,
796,
14631,
42369,
605,
1600,
366,
27991,
38342,
8973,
198,
198,
6173,
1565,
62,
41358,
23428,
796,
28805,
12514,
7,
43012,
28,
10232,
8,
198,
198,
62,
25294,
30373,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
31,
19608,
330,
31172,
198,
4871,
40487,
48,
8134,
37649,
37374,
40729,
35608,
259,
25,
198,
220,
220,
220,
37227,
35608,
259,
329,
2672,
8251,
526,
15931,
198,
220,
220,
220,
2837,
62,
29510,
62,
22184,
25,
4889,
540,
30109,
7149,
4357,
7343,
58,
22468,
11907,
198,
220,
220,
220,
900,
62,
29510,
62,
22184,
25,
4889,
540,
30109,
7149,
11,
12178,
4357,
5851,
4548,
540,
58,
14202,
11907,
198,
220,
220,
220,
20218,
62,
22184,
25,
4889,
540,
30109,
7149,
4357,
12178,
930,
965,
60,
628,
198,
31,
19608,
330,
31172,
198,
4871,
40487,
48,
8134,
37649,
32398,
11828,
7,
198,
220,
220,
220,
13963,
32398,
11828,
11,
40487,
48,
8134,
37649,
37374,
40729,
35608,
259,
198,
2599,
198,
220,
220,
220,
37227,
32,
1398,
326,
8477,
40487,
48,
4258,
12066,
526,
15931,
628,
198,
2200,
10913,
3528,
1137,
25633,
62,
5097,
3955,
6158,
25,
309,
29291,
58,
817,
259,
48,
8134,
37649,
32398,
11828,
11,
2644,
60,
796,
357,
198,
220,
220,
220,
40487,
48,
8134,
37649,
32398,
11828,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
28,
1404,
5446,
62,
10913,
2389,
8264,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
6732,
3130,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
7196,
2625,
9132,
72,
25,
8310,
3130,
12,
4852,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
2837,
62,
29510,
62,
22184,
28,
50033,
2124,
25,
2124,
13,
25202,
13,
8310,
3130,
62,
16793,
62,
29510,
62,
9521,
11,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
29510,
62,
22184,
28,
50033,
2124,
11,
331,
25,
2124,
13,
25202,
13,
2617,
62,
8310,
3130,
62,
16793,
62,
29510,
7,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
20218,
62,
22184,
28,
50033,
2124,
25,
2124,
13,
29510,
62,
8310,
3130,
11,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
40487,
48,
8134,
37649,
32398,
11828,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
28,
1404,
5446,
62,
39274,
57,
1137,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
11146,
9107,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
7196,
2625,
9132,
72,
25,
8310,
3130,
12,
22487,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
2837,
62,
29510,
62,
22184,
28,
50033,
2124,
25,
2124,
13,
25202,
13,
5787,
9107,
62,
16793,
62,
29510,
62,
9521,
11,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
29510,
62,
22184,
28,
50033,
2124,
11,
331,
25,
2124,
13,
25202,
13,
2617,
62,
5787,
9107,
62,
16793,
62,
29510,
7,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
20218,
62,
22184,
28,
50033,
2124,
25,
2124,
13,
29510,
62,
5787,
9107,
11,
198,
220,
220,
220,
10612,
198,
8,
628,
198,
4299,
4781,
62,
40290,
7,
5239,
25,
965,
11,
21231,
25,
965,
8,
4613,
965,
25,
198,
220,
220,
220,
37227,
27914,
257,
21231,
422,
257,
4731,
526,
15931,
198,
220,
220,
220,
611,
2420,
13,
9688,
2032,
342,
7,
40290,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2420,
58,
11925,
7,
40290,
2599,
60,
198,
220,
220,
220,
1441,
2420,
628,
198,
292,
13361,
825,
30351,
62,
40406,
62,
13000,
7,
198,
220,
220,
220,
468,
82,
25,
5995,
48902,
11,
5726,
25,
17056,
30150,
11,
30351,
62,
2860,
62,
298,
871,
25,
3060,
14539,
871,
47258,
198,
8,
4613,
6045,
25,
198,
220,
220,
220,
37227,
7248,
510,
406,
8264,
3335,
4258,
1912,
319,
4566,
62,
13000,
526,
15931,
198,
220,
220,
220,
5726,
62,
11250,
796,
468,
82,
13,
7890,
58,
39170,
29833,
60,
198,
220,
220,
220,
300,
469,
62,
42034,
796,
5726,
62,
11250,
13,
1136,
7,
43,
8264,
62,
39345,
34444,
8,
198,
220,
220,
220,
611,
407,
300,
469,
62,
42034,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
4808,
25294,
30373,
13,
24442,
7203,
22851,
406,
8264,
40487,
48,
4258,
9058,
9313,
8,
198,
220,
220,
220,
300,
469,
62,
565,
26748,
796,
17635,
628,
220,
220,
220,
1303,
7125,
4410,
198,
220,
220,
220,
300,
469,
62,
565,
26748,
13,
2302,
437,
7,
198,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
406,
8264,
2246,
37649,
7,
75,
469,
62,
25202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
469,
62,
25202,
287,
300,
469,
62,
42034,
13,
1136,
7,
24728,
6030,
13,
2246,
11,
685,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
6524,
18096,
1352,
4410,
198,
220,
220,
220,
300,
469,
62,
565,
26748,
13,
2302,
437,
7,
198,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17370,
1137,
891,
18096,
1352,
37649,
7,
75,
469,
62,
25202,
11,
30500,
62,
20147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
30500,
62,
20147,
287,
4526,
10913,
3528,
1137,
25633,
62,
5097,
3955,
6158,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
469,
62,
25202,
287,
300,
469,
62,
42034,
13,
1136,
7,
24728,
6030,
13,
2200,
10913,
3528,
1137,
25633,
11,
685,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
30351,
62,
2860,
62,
298,
871,
7,
75,
469,
62,
565,
26748,
8,
628,
198,
4871,
406,
8264,
37649,
7,
7222,
585,
20900,
32398,
11,
13963,
32398,
2599,
198,
220,
220,
220,
37227,
14881,
4258,
3335,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
40391,
25,
17370,
1961,
1990,
501,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
4258,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
15042,
13,
37652,
20900,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15042,
796,
40391,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
25202,
62,
10951,
796,
40391,
13,
25202,
62,
10951,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
815,
62,
30393,
7,
944,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
6407,
611,
9312,
468,
284,
307,
37698,
329,
1181,
13,
628,
220,
220,
220,
220,
220,
220,
220,
775,
49312,
16052,
3119,
4277,
4634,
780,
356,
761,
198,
220,
220,
220,
220,
220,
220,
220,
284,
3278,
284,
3368,
262,
1245,
326,
706,
5609,
257,
4258,
6460,
198,
220,
220,
220,
220,
220,
220,
220,
340,
318,
3393,
900,
284,
8654,
1181,
13,
383,
30351,
62,
19119,
2446,
994,
198,
220,
220,
220,
220,
220,
220,
220,
466,
2147,
780,
262,
1103,
4296,
318,
6157,
416,
16052,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
30351,
825,
30351,
62,
19119,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
262,
9312,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
318,
257,
8390,
4296,
11,
1103,
4296,
318,
1760,
416,
16052,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1695,
7,
944,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
6407,
611,
9312,
318,
1695,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
15042,
13,
15182,
628,
198,
4871,
406,
8264,
2246,
37649,
7,
43,
8264,
37649,
2599,
198,
220,
220,
220,
37227,
16170,
12,
1462,
12,
16170,
4258,
3335,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
40391,
25,
17370,
1961,
1990,
501,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
4258,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
15042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
25202,
25,
3701,
48362,
263,
24728,
796,
40391,
13,
25202,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
3672,
796,
40391,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
34642,
62,
312,
796,
277,
1,
90,
15042,
13,
34642,
62,
312,
92,
12,
2246,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
24408,
62,
76,
4147,
796,
2116,
13557,
25202,
13,
24408,
62,
4125,
5379,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
46737,
62,
76,
4147,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
17887,
2751,
62,
47,
31688,
10426,
58,
15,
60,
18477,
14171,
36786,
329,
4235,
287,
2116,
13557,
25202,
13,
1851,
605,
62,
9662,
62,
76,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
1343,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
17887,
2751,
62,
47,
31688,
10426,
58,
16,
60,
18477,
14171,
36786,
329,
4235,
287,
2116,
13557,
25202,
13,
17899,
38342,
62,
9662,
62,
76,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
71,
85,
330,
62,
14171,
62,
5460,
929,
25,
8633,
58,
2536,
11,
367,
53,
2246,
19076,
60,
930,
6045,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11284,
62,
332,
62,
46737,
796,
18896,
7,
944,
13557,
25202,
13,
1851,
605,
62,
9662,
62,
76,
4147,
8,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11284,
62,
17899,
62,
46737,
796,
18896,
7,
944,
13557,
25202,
13,
17899,
38342,
62,
9662,
62,
76,
4147,
8,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
2617,
62,
17899,
62,
46737,
796,
2116,
13557,
11284,
62,
17899,
62,
46737,
290,
407,
2116,
13557,
11284,
62,
332,
62,
46737,
628,
220,
220,
220,
825,
4808,
15182,
62,
71,
85,
330,
62,
76,
4147,
7,
944,
8,
4613,
8633,
58,
2536,
11,
367,
53,
2246,
19076,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1695,
289,
85,
330,
12881,
422,
35847,
8633,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
71,
85,
330,
62,
14171,
62,
5460,
929,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12881,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
4235,
287,
367,
53,
2246,
62,
49058,
62,
43,
15308,
8577,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
2116,
13557,
25202,
13,
404,
62,
76,
4147,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
1851,
1994,
290,
4235,
284,
3368,
14184,
3474,
367,
53,
2246,
12881,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12881,
58,
14171,
60,
796,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
71,
85,
330,
62,
14171,
62,
5460,
929,
796,
1391,
85,
25,
479,
329,
479,
11,
410,
287,
12881,
13,
23814,
3419,
92,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
71,
85,
330,
62,
14171,
62,
5460,
929,
628,
220,
220,
220,
825,
4808,
1136,
62,
46737,
62,
14171,
7,
944,
11,
3076,
62,
14171,
28,
25101,
8,
4613,
965,
930,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1459,
9628,
4235,
329,
9421,
286,
3076,
4235,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3076,
62,
14171,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4235,
796,
2116,
13557,
15042,
13,
5219,
13,
17899,
38342,
62,
9662,
62,
14171,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4235,
796,
2116,
13557,
15042,
13,
5219,
13,
1851,
605,
62,
9662,
62,
14171,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
277,
1,
90,
17887,
2751,
62,
47,
31688,
10426,
58,
16,
611,
3076,
62,
14171,
2073,
657,
60,
18477,
14171,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4855,
62,
40890,
7,
944,
8,
4613,
493,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1351,
286,
4855,
3033,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3033,
796,
13963,
32398,
38816,
13,
51,
46095,
62,
51,
3620,
18973,
40086,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
24408,
62,
76,
4147,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3033,
930,
28,
13963,
32398,
38816,
13,
37,
1565,
62,
49058,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
11284,
62,
332,
62,
46737,
393,
2116,
13557,
11284,
62,
17899,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3033,
930,
28,
13963,
32398,
38816,
13,
17887,
2751,
62,
49058,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3033,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
3131,
62,
5219,
62,
1078,
7657,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
11902,
1181,
12608,
351,
3335,
2176,
19885,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
708,
81,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
11284,
62,
17899,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
708,
81,
58,
1404,
5446,
62,
17887,
2751,
62,
39,
1581,
14887,
35830,
1847,
60,
796,
2116,
13557,
1136,
62,
46737,
62,
14171,
7,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
11284,
62,
332,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
708,
81,
58,
1404,
5446,
62,
17887,
2751,
62,
15858,
20151,
60,
796,
2116,
13557,
1136,
62,
46737,
62,
14171,
7,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
708,
81,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
2496,
62,
11498,
21069,
62,
9662,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4855,
2239,
286,
2496,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25202,
13,
16793,
62,
11498,
21069,
62,
9662,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
5951,
62,
20850,
7,
944,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4326,
286,
15558,
973,
416,
262,
3859,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
25202,
13,
11498,
21069,
62,
20850,
6624,
4725,
2043,
62,
51,
39494,
62,
7708,
17184,
1677,
13909,
2043,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
309,
39494,
62,
7708,
17184,
1677,
13909,
2043,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
309,
39494,
62,
34,
3698,
11584,
2937,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
289,
85,
330,
62,
14171,
7,
944,
8,
4613,
367,
53,
2246,
19076,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
289,
85,
330,
4905,
37941,
13,
4894,
11,
3608,
4235,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1034,
62,
14171,
25,
965,
930,
6045,
796,
2116,
13557,
15042,
13,
5219,
13,
27184,
62,
14171,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13557,
15042,
13,
5219,
13,
271,
62,
261,
393,
1034,
62,
14171,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
367,
53,
2246,
19076,
13,
27977,
198,
220,
220,
220,
220,
220,
220,
220,
12881,
796,
2116,
13557,
15182,
62,
71,
85,
330,
62,
76,
4147,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
12881,
13,
1136,
7,
404,
62,
14171,
11,
367,
53,
2246,
19076,
13,
39371,
46,
8,
628,
220,
220,
220,
30351,
825,
30351,
62,
2617,
62,
71,
85,
330,
62,
14171,
7,
944,
11,
289,
85,
330,
62,
14171,
25,
367,
53,
2246,
19076,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
649,
2496,
289,
85,
330,
4235,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
289,
85,
330,
62,
14171,
6624,
367,
53,
2246,
19076,
13,
27977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
6477,
7,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
12881,
796,
2116,
13557,
15182,
62,
71,
85,
330,
62,
76,
4147,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
9575,
62,
5460,
929,
796,
1391,
85,
25,
479,
329,
479,
11,
410,
287,
12881,
13,
23814,
3419,
92,
198,
220,
220,
220,
220,
220,
220,
220,
4905,
62,
14171,
796,
9575,
62,
5460,
929,
13,
1136,
7,
71,
85,
330,
62,
14171,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4905,
62,
14171,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
1,
44651,
289,
85,
330,
62,
14171,
685,
90,
71,
85,
330,
62,
14171,
92,
60,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
71,
85,
330,
62,
14171,
6624,
367,
53,
2246,
19076,
13,
27977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
6477,
7,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
2617,
62,
404,
62,
14171,
7,
27184,
62,
14171,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
289,
85,
330,
62,
76,
4147,
7,
944,
8,
4613,
1351,
58,
39,
53,
2246,
19076,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1351,
286,
1695,
289,
85,
330,
4905,
12881,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
12881,
796,
2116,
13557,
15182,
62,
71,
85,
330,
62,
76,
4147,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
39,
53,
2246,
19076,
13,
27977,
60,
1343,
1351,
7,
76,
4147,
13,
27160,
28955,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1459,
62,
11498,
21069,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1459,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
29510,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
25202,
13,
271,
62,
958,
62,
1462,
62,
7050,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
29510,
796,
2116,
13557,
15042,
13,
5219,
13,
25202,
62,
40890,
13,
1136,
7,
15112,
1404,
62,
12425,
62,
54,
23261,
62,
51,
39494,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
62,
29510,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
29510,
796,
2116,
13557,
15042,
13,
5219,
13,
14421,
62,
29510,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1090,
81,
62,
29510,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
2496,
62,
11498,
21069,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
5951,
356,
1949,
284,
3151,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
15042,
13,
5219,
13,
16793,
62,
29510,
628,
220,
220,
220,
30351,
825,
30351,
62,
2617,
62,
11498,
21069,
7,
944,
11,
12429,
46265,
22046,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
649,
2496,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
289,
85,
330,
62,
14171,
19039,
479,
86,
22046,
13,
1136,
7,
1404,
5446,
62,
39,
53,
2246,
62,
49058,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13,
292,
13361,
62,
2617,
62,
71,
85,
330,
62,
14171,
7,
39,
53,
2246,
19076,
7,
71,
85,
330,
62,
14171,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
29510,
19039,
479,
86,
22046,
13,
1136,
7,
1404,
5446,
62,
51,
3620,
18973,
40086,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
2617,
62,
16793,
62,
29510,
7,
3605,
62,
29510,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4336,
62,
14171,
7,
944,
8,
4613,
965,
930,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4336,
4634,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
15042,
13,
5219,
13,
24408,
62,
12287,
628,
220,
220,
220,
30351,
825,
30351,
62,
2617,
62,
24408,
62,
14171,
7,
944,
11,
4336,
62,
14171,
25,
965,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
649,
2496,
4336,
4235,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4336,
62,
14171,
407,
287,
2116,
13,
24408,
62,
76,
4147,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
1,
44651,
4336,
4235,
685,
90,
24408,
62,
14171,
92,
60,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
2617,
62,
24408,
62,
12287,
7,
24408,
62,
14171,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
9628,
62,
14171,
7,
944,
8,
4613,
965,
930,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
9628,
4235,
4634,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
2617,
62,
17899,
62,
46737,
290,
2116,
13557,
11284,
62,
17899,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
46737,
62,
14171,
7,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
46737,
62,
14171,
7,
25101,
8,
628,
220,
220,
220,
30351,
825,
30351,
62,
2617,
62,
46737,
62,
14171,
7,
944,
11,
9628,
62,
14171,
25,
965,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
649,
2496,
9628,
4235,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1196,
75,
62,
14171,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
14171,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
17899,
62,
46737,
796,
9628,
62,
14171,
13,
9688,
2032,
342,
7,
17887,
2751,
62,
47,
31688,
10426,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1614,
62,
14171,
796,
4781,
62,
40290,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9628,
62,
14171,
11,
12672,
2751,
62,
47,
31688,
10426,
58,
16,
611,
900,
62,
17899,
62,
46737,
2073,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
900,
62,
17899,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1614,
62,
14171,
287,
2116,
13557,
25202,
13,
17899,
38342,
62,
9662,
62,
76,
4147,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1196,
75,
62,
14171,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
14171,
796,
2116,
13557,
15042,
13,
5219,
13,
17899,
38342,
62,
9662,
62,
14171,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
9628,
62,
14171,
13,
9688,
2032,
342,
7,
17887,
2751,
62,
47,
31688,
10426,
58,
15,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1614,
62,
14171,
287,
2116,
13557,
25202,
13,
1851,
605,
62,
9662,
62,
76,
4147,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1196,
75,
62,
14171,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
14171,
796,
2116,
13557,
15042,
13,
5219,
13,
1851,
605,
62,
9662,
62,
14171,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1196,
75,
62,
14171,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
69,
1,
44651,
9628,
62,
14171,
685,
90,
46737,
62,
14171,
92,
60,
19570,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
62,
14171,
14512,
1614,
62,
14171,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
900,
62,
17899,
62,
46737,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
2617,
62,
17899,
38342,
62,
9662,
62,
14171,
7,
7959,
62,
14171,
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,
25507,
2116,
13557,
25202,
13,
2617,
62,
1851,
605,
62,
9662,
62,
14171,
7,
7959,
62,
14171,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
2617,
62,
17899,
62,
46737,
796,
900,
62,
17899,
62,
46737,
628,
220,
220,
220,
30351,
825,
30351,
62,
15344,
62,
261,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17278,
262,
9312,
319,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
6477,
7,
17821,
8,
628,
220,
220,
220,
30351,
825,
30351,
62,
15344,
62,
2364,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17278,
262,
9312,
572,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
25202,
13,
6477,
7,
25101,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
949,
62,
29510,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
5288,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
1084,
62,
8367,
19039,
2116,
13557,
25202,
13,
16793,
62,
11498,
21069,
62,
1084,
8,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
949,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25202,
13,
42946,
62,
29510,
62,
20850,
7,
7206,
38865,
62,
23678,
62,
51,
39494,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
3509,
62,
29510,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
5415,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
9806,
62,
8367,
19039,
2116,
13557,
25202,
13,
16793,
62,
11498,
21069,
62,
9806,
8,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
3509,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25202,
13,
42946,
62,
29510,
62,
20850,
7,
7206,
38865,
62,
22921,
62,
51,
39494,
8,
628,
198,
4871,
17370,
1137,
891,
18096,
1352,
37649,
7,
43,
8264,
37649,
2599,
198,
220,
220,
220,
37227,
8134,
18096,
1352,
4258,
3335,
526,
15931,
628,
220,
220,
220,
9312,
62,
11213,
796,
40487,
48,
8134,
37649,
32398,
11828,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40391,
25,
17370,
1961,
1990,
501,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
40487,
48,
8134,
37649,
32398,
11828,
11,
198,
220,
220,
220,
1267,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
4258,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
15042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
37150,
62,
25202,
796,
17370,
1137,
891,
18096,
1352,
24728,
7,
15042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26858,
62,
11213,
796,
6764,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
3672,
796,
651,
62,
26858,
62,
3672,
7,
15042,
11,
6764,
13,
2539,
11,
6764,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
34642,
62,
312,
796,
277,
1,
90,
15042,
13,
34642,
62,
312,
92,
12,
90,
11213,
13,
2539,
92,
12,
2246,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
71,
85,
330,
62,
76,
4147,
796,
685,
39,
53,
2246,
19076,
13,
39371,
46,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35226,
62,
71,
85,
330,
62,
14171,
796,
367,
53,
2246,
19076,
13,
39371,
46,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4855,
62,
40890,
7,
944,
8,
4613,
493,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1351,
286,
4855,
3033,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13557,
37150,
62,
25202,
13,
25202,
13,
2617,
62,
27160,
62,
40845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
13963,
32398,
38816,
13,
51,
46095,
62,
51,
3620,
18973,
40086,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
2496,
62,
11498,
21069,
62,
9662,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4855,
2239,
286,
2496,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
37150,
62,
25202,
13,
25202,
13,
16793,
62,
11498,
21069,
62,
9662,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
5951,
62,
20850,
7,
944,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4326,
286,
15558,
973,
416,
262,
3859,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
15042,
13,
5219,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4326,
796,
2116,
13557,
15042,
13,
5219,
13,
29510,
62,
20850,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
309,
39494,
62,
4944,
2043,
62,
43,
15308,
8577,
13,
1136,
7,
20850,
11,
309,
39494,
62,
34,
3698,
11584,
2937,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
309,
39494,
62,
34,
3698,
11584,
2937,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1459,
62,
11498,
21069,
7,
944,
8,
4613,
12178,
930,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1459,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
62,
29510,
796,
2116,
13,
26858,
62,
11213,
13,
29510,
62,
22184,
7,
944,
13557,
37150,
62,
25202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
62,
29510,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
493,
7,
22019,
81,
62,
29510,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
2496,
62,
11498,
21069,
7,
944,
8,
4613,
12178,
930,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
5951,
356,
1949,
284,
3151,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
14421,
62,
11498,
21069,
628,
220,
220,
220,
30351,
825,
30351,
62,
2617,
62,
11498,
21069,
7,
944,
11,
12429,
46265,
22046,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
649,
2496,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
29510,
19039,
479,
86,
22046,
13,
1136,
7,
1404,
5446,
62,
51,
3620,
18973,
40086,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13,
26858,
62,
11213,
13,
2617,
62,
29510,
62,
22184,
7,
944,
13557,
37150,
62,
25202,
11,
649,
62,
29510,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
949,
62,
29510,
7,
944,
8,
4613,
12178,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
5288,
5951,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
26858,
62,
11213,
13,
9521,
62,
29510,
62,
22184,
7,
944,
13557,
37150,
62,
25202,
38381,
15,
60,
628,
220,
220,
220,
2488,
26745,
198
] | 2.325926 | 6,345 |
import copy
import math
import time
import torch
import torch.nn as nn
import numpy as np
from constants import *
from embeddings import *
from tqdm import tqdm
from utils.model_utils import device, model_checkpoint
from utils.misc_utils import write_line_to_file
from utils.lang_utils import make_std_mask
from evaluate import corpus_eval
def clones(module, n):
"Produce n identical layers."
return nn.ModuleList([copy.deepcopy(module) for _ in range(n)])
def attention(query, key, value, mask=None, dropout=None):
"Compute 'Scaled Dot Product Attention'"
d_k = query.size(-1)
scores = torch.matmul(query, key.transpose(-2, -1)) / math.sqrt(d_k) # batch_size x n_heads x seq_len x seq_len, i.e. attn score on each word
if mask is not None:
scores = scores.masked_fill(mask == 0, -1e9)
p_attn = torch.softmax(scores, dim=-1) # batch_size x n_heads x seq_len x seq_len, softmax on last dimension, i.e. 3rd dimension attend on 4th dimension
if dropout is not None:
p_attn = dropout(p_attn)
return torch.matmul(p_attn, value), p_attn # attended output, attention vec
class NoamOpt:
"Optim wrapper that implements rate."
def step(self):
"Update parameters and rate"
self._step += 1
rate = self.rate()
for p in self.optimizer.param_groups:
p['lr'] = rate
self._rate = rate
self.optimizer.step()
def rate(self, step=None):
"Implement `lrate` above"
if step is None:
step = self._step
return self.factor * \
(self.model_size ** (-0.5) *
min(step ** (-0.5), step * self.warmup ** (-1.5)))
class LabelSmoothing(nn.Module):
"Label smoothing actually starts to penalize the model if it gets very confident about a given choice"
class LayerNorm(nn.Module):
"Construct a layernorm module (See citation for details)."
class PositionwiseFeedForward(nn.Module):
"Implements FFN equation."
class SublayerConnection(nn.Module):
"""
A residual connection followed by a layer norm.
"""
def forward(self, x, sublayer_func):
"Apply residual connection to any sublayer with the same size."
layer_output = sublayer_func(x)
residual_rv = x + self.dropout(layer_output)
return self.norm(residual_rv)
class PositionalEncoding(nn.Module):
"Implement the PE function."
class GCN(nn.Module):
"""
A GCN/Contextualized GCN module operated on dependency graphs.
"""
def forward(self, gcn_inputs, adj):
"""
:param adj: batch_size * num_vertex * num_vertex
:param gcn_inputs: batch_size * num_vertex * input_dim
:return: gcn_outputs: list of batch_size * num_vertex * hidden_dim
mask: batch_size * num_vertex * 1. In mask, 1 denotes
this vertex is PAD vertex, 0 denotes true vertex.
"""
# use out degree, assume undirected graph
denom = adj.sum(2).unsqueeze(2) + 1
adj_mask = (adj.sum(2) + adj.sum(1)).eq(0).unsqueeze(2)
gcn_outputs = []
for l in range(self.num_layers):
Ax = adj.bmm(gcn_inputs)
AxW = self.W[l](Ax)
AxW = AxW + self.W[l](gcn_inputs) # self loop
AxW = AxW / denom
gAxW = torch.relu(AxW)
gcn_inputs = self.gcn_drop(gAxW) if l < self.num_layers - 1 else gAxW
gcn_outputs.append(gcn_inputs)
return gcn_outputs, adj_mask
class Generator(nn.Module):
"Define standard linear + softmax generation step."
| [
11748,
4866,
198,
11748,
10688,
198,
11748,
640,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
38491,
1330,
1635,
198,
6738,
11525,
67,
654,
1330,
1635,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
6738,
3384,
4487,
13,
19849,
62,
26791,
1330,
3335,
11,
2746,
62,
9122,
4122,
198,
6738,
3384,
4487,
13,
44374,
62,
26791,
1330,
3551,
62,
1370,
62,
1462,
62,
7753,
198,
6738,
3384,
4487,
13,
17204,
62,
26791,
1330,
787,
62,
19282,
62,
27932,
198,
6738,
13446,
1330,
35789,
62,
18206,
628,
198,
4299,
32498,
7,
21412,
11,
299,
2599,
198,
220,
220,
220,
366,
11547,
344,
299,
10411,
11685,
526,
198,
220,
220,
220,
1441,
299,
77,
13,
26796,
8053,
26933,
30073,
13,
22089,
30073,
7,
21412,
8,
329,
4808,
287,
2837,
7,
77,
8,
12962,
628,
198,
198,
4299,
3241,
7,
22766,
11,
1994,
11,
1988,
11,
9335,
28,
14202,
11,
4268,
448,
28,
14202,
2599,
198,
220,
220,
220,
366,
7293,
1133,
705,
3351,
3021,
22875,
8721,
47406,
29653,
198,
220,
220,
220,
288,
62,
74,
796,
12405,
13,
7857,
32590,
16,
8,
198,
220,
220,
220,
8198,
796,
28034,
13,
6759,
76,
377,
7,
22766,
11,
1994,
13,
7645,
3455,
32590,
17,
11,
532,
16,
4008,
1220,
10688,
13,
31166,
17034,
7,
67,
62,
74,
8,
1303,
15458,
62,
7857,
2124,
299,
62,
16600,
2124,
33756,
62,
11925,
2124,
33756,
62,
11925,
11,
1312,
13,
68,
13,
708,
77,
4776,
319,
1123,
1573,
198,
220,
220,
220,
611,
9335,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8198,
796,
8198,
13,
27932,
276,
62,
20797,
7,
27932,
6624,
657,
11,
532,
16,
68,
24,
8,
198,
220,
220,
220,
279,
62,
1078,
77,
796,
28034,
13,
4215,
9806,
7,
1416,
2850,
11,
5391,
10779,
16,
8,
1303,
15458,
62,
7857,
2124,
299,
62,
16600,
2124,
33756,
62,
11925,
2124,
33756,
62,
11925,
11,
2705,
9806,
319,
938,
15793,
11,
1312,
13,
68,
13,
513,
4372,
15793,
5262,
319,
604,
400,
15793,
198,
220,
220,
220,
611,
4268,
448,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
1078,
77,
796,
4268,
448,
7,
79,
62,
1078,
77,
8,
198,
220,
220,
220,
1441,
28034,
13,
6759,
76,
377,
7,
79,
62,
1078,
77,
11,
1988,
828,
279,
62,
1078,
77,
1303,
9141,
5072,
11,
3241,
43030,
628,
198,
4871,
1400,
321,
27871,
25,
198,
220,
220,
220,
366,
27871,
320,
29908,
326,
23986,
2494,
526,
628,
220,
220,
220,
825,
2239,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10260,
10007,
290,
2494,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9662,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2494,
796,
2116,
13,
4873,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
2116,
13,
40085,
7509,
13,
17143,
62,
24432,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17816,
14050,
20520,
796,
2494,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
4873,
796,
2494,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40085,
7509,
13,
9662,
3419,
628,
220,
220,
220,
825,
2494,
7,
944,
11,
2239,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3546,
26908,
4600,
75,
4873,
63,
2029,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2239,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2239,
796,
2116,
13557,
9662,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
31412,
1635,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
944,
13,
19849,
62,
7857,
12429,
13841,
15,
13,
20,
8,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
7,
9662,
12429,
13841,
15,
13,
20,
828,
2239,
1635,
2116,
13,
31975,
929,
12429,
13841,
16,
13,
20,
22305,
628,
198,
4871,
36052,
7556,
1025,
722,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
366,
33986,
32746,
722,
1682,
4940,
284,
23634,
1096,
262,
2746,
611,
340,
3011,
845,
6563,
546,
257,
1813,
3572,
1,
628,
628,
198,
4871,
34398,
35393,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
366,
42316,
257,
3830,
1142,
579,
8265,
357,
6214,
27860,
329,
3307,
21387,
628,
198,
4871,
23158,
3083,
18332,
39746,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
366,
3546,
1154,
902,
18402,
45,
16022,
526,
628,
198,
4871,
3834,
29289,
32048,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
29598,
4637,
3940,
416,
257,
7679,
2593,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
2651,
7,
944,
11,
2124,
11,
850,
29289,
62,
20786,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44836,
29598,
4637,
284,
597,
850,
29289,
351,
262,
976,
2546,
526,
198,
220,
220,
220,
220,
220,
220,
220,
7679,
62,
22915,
796,
850,
29289,
62,
20786,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
29598,
62,
81,
85,
796,
2124,
1343,
2116,
13,
14781,
448,
7,
29289,
62,
22915,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
27237,
7,
411,
312,
723,
62,
81,
85,
8,
628,
628,
198,
4871,
18574,
1859,
27195,
7656,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
366,
3546,
26908,
262,
18468,
2163,
526,
628,
198,
4871,
20145,
45,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
20145,
45,
14,
21947,
723,
1143,
20145,
45,
8265,
12228,
319,
20203,
28770,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
2651,
7,
944,
11,
308,
31522,
62,
15414,
82,
11,
9224,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
9224,
25,
15458,
62,
7857,
1635,
997,
62,
332,
16886,
1635,
997,
62,
332,
16886,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
308,
31522,
62,
15414,
82,
25,
15458,
62,
7857,
1635,
997,
62,
332,
16886,
1635,
5128,
62,
27740,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
308,
31522,
62,
22915,
82,
25,
1351,
286,
15458,
62,
7857,
1635,
997,
62,
332,
16886,
1635,
7104,
62,
27740,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9335,
25,
15458,
62,
7857,
1635,
997,
62,
332,
16886,
1635,
352,
13,
554,
9335,
11,
352,
43397,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
428,
37423,
318,
350,
2885,
37423,
11,
657,
43397,
2081,
37423,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
779,
503,
4922,
11,
7048,
3318,
1060,
276,
4823,
198,
220,
220,
220,
220,
220,
220,
220,
2853,
296,
796,
9224,
13,
16345,
7,
17,
737,
13271,
421,
1453,
2736,
7,
17,
8,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
9224,
62,
27932,
796,
357,
41255,
13,
16345,
7,
17,
8,
1343,
9224,
13,
16345,
7,
16,
29720,
27363,
7,
15,
737,
13271,
421,
1453,
2736,
7,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
308,
31522,
62,
22915,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
300,
287,
2837,
7,
944,
13,
22510,
62,
75,
6962,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12176,
796,
9224,
13,
65,
3020,
7,
70,
31522,
62,
15414,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12176,
54,
796,
2116,
13,
54,
58,
75,
16151,
31554,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12176,
54,
796,
12176,
54,
1343,
2116,
13,
54,
58,
75,
16151,
70,
31522,
62,
15414,
82,
8,
220,
1303,
2116,
9052,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12176,
54,
796,
12176,
54,
1220,
2853,
296,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
31554,
54,
796,
28034,
13,
260,
2290,
7,
31554,
54,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
31522,
62,
15414,
82,
796,
2116,
13,
70,
31522,
62,
14781,
7,
70,
31554,
54,
8,
611,
300,
1279,
2116,
13,
22510,
62,
75,
6962,
532,
352,
2073,
308,
31554,
54,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
31522,
62,
22915,
82,
13,
33295,
7,
70,
31522,
62,
15414,
82,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
308,
31522,
62,
22915,
82,
11,
9224,
62,
27932,
628,
628,
198,
4871,
35986,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
366,
7469,
500,
3210,
14174,
1343,
2705,
9806,
5270,
2239,
526,
628,
628,
628,
628
] | 2.382937 | 1,512 |
# This Python file uses the following encoding: utf-8
import os
import sys
import time
from PyQt5 import QtCore
from PySide2.QtCore import QFile
from PySide2.QtUiTools import QUiLoader
from PySide2.QtWidgets import QApplication, QWidget, QFileDialog, \
QPushButton, QLineEdit, QMessageBox, QTextBrowser, QProgressBar
from openpyxl import Workbook
from threads import CreateThread, ProgressThread
from workers import Worker
if __name__ == "__main__":
app = QApplication([sys.executable])
widget = XlsxStyler()
widget.show()
sys.exit(app.exec_())
| [
2,
770,
11361,
2393,
3544,
262,
1708,
21004,
25,
3384,
69,
12,
23,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
640,
198,
198,
6738,
9485,
48,
83,
20,
1330,
33734,
14055,
198,
6738,
9485,
24819,
17,
13,
48,
83,
14055,
1330,
1195,
8979,
198,
6738,
9485,
24819,
17,
13,
48,
83,
52,
72,
33637,
1330,
19604,
72,
17401,
198,
6738,
9485,
24819,
17,
13,
48,
83,
54,
312,
11407,
1330,
1195,
23416,
11,
1195,
38300,
11,
1195,
8979,
44204,
11,
3467,
198,
220,
220,
220,
1195,
49222,
21864,
11,
1195,
13949,
18378,
11,
1195,
12837,
14253,
11,
1195,
8206,
46532,
11,
1195,
32577,
10374,
198,
6738,
1280,
9078,
87,
75,
1330,
5521,
2070,
198,
198,
6738,
14390,
1330,
13610,
16818,
11,
18387,
16818,
198,
6738,
3259,
1330,
35412,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
796,
1195,
23416,
26933,
17597,
13,
18558,
18187,
12962,
198,
220,
220,
220,
26295,
796,
1395,
7278,
87,
18716,
1754,
3419,
198,
220,
220,
220,
26295,
13,
12860,
3419,
198,
220,
220,
220,
25064,
13,
37023,
7,
1324,
13,
18558,
62,
28955,
198
] | 3 | 190 |
import os
import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.Eras import eras
process = cms.Process('PCL',eras.Run2_2017)
# ----------------------------------------------------------------------
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.threshold = 'INFO'
process.MessageLogger.cerr.FwkReport.reportEvery = 10000
process.MessageLogger.categories.append('HLTrigReport')
process.MessageLogger.categories.append('L1GtTrigReport')
process.options = cms.untracked.PSet(
SkipEvent = cms.untracked.vstring('ProductNotFound'),
wantSummary = cms.untracked.bool(True)
)
# -- Conditions
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, '92X_dataRun2_Express_v8', '')
# -- Input files
process.source = cms.Source(
"PoolSource",
fileNames = cms.untracked.vstring(
"/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/366/00000/863EC350-6EB6-E711-8EAD-02163E019B61.root",
"/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/366/00000/B6268B1F-6FB6-E711-A46C-02163E01439D.root",
),
#lumisToProcess = cms.untracked.VLuminosityBlockRange("305366:1-305366:1"),
)
# -- number of events
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
process.siPixelDigis = siPixelDigis.clone()
process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector")
process.siPixelStatusProducer = cms.EDProducer("SiPixelStatusProducer",
SiPixelStatusProducerParameters = cms.PSet(
badPixelFEDChannelCollections = cms.VInputTag(cms.InputTag('siPixelDigis')),
pixelClusterLabel = cms.untracked.InputTag("siPixelClusters::RECO"),
monitorOnDoubleColumn = cms.untracked.bool(False),
resetEveryNLumi = cms.untracked.int32( 1 )
)
)
process.ALCARECOStreamSiPixelCalZeroBias = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('SiPixelCalZeroBias.root'),
outputCommands = cms.untracked.vstring('drop *',
'keep *_siPixelStatusProducer_*_*',
)
)
process.p = cms.Path(process.siPixelDigis*process.siPixelStatusProducer)
process.end = cms.EndPath(process.ALCARECOStreamSiPixelCalZeroBias)
process.schedule = cms.Schedule(process.p,process.end)
# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion
| [
11748,
28686,
198,
11748,
48849,
14055,
13,
36301,
7248,
13,
16934,
355,
269,
907,
198,
6738,
28373,
13,
23615,
44015,
3007,
13,
36,
8847,
1330,
49089,
198,
14681,
796,
269,
907,
13,
18709,
10786,
47,
5097,
3256,
263,
292,
13,
10987,
17,
62,
5539,
8,
198,
198,
2,
16529,
23031,
198,
14681,
13,
2220,
7203,
24160,
14055,
13,
12837,
11187,
1362,
13,
12837,
11187,
1362,
62,
66,
12463,
4943,
198,
14681,
13,
12837,
11187,
1362,
13,
2189,
81,
13,
400,
10126,
796,
705,
10778,
6,
198,
14681,
13,
12837,
11187,
1362,
13,
2189,
81,
13,
37,
43021,
19100,
13,
13116,
6109,
796,
33028,
198,
14681,
13,
12837,
11187,
1362,
13,
66,
26129,
13,
33295,
10786,
6581,
2898,
328,
19100,
11537,
198,
14681,
13,
12837,
11187,
1362,
13,
66,
26129,
13,
33295,
10786,
43,
16,
38,
83,
2898,
328,
19100,
11537,
198,
14681,
13,
25811,
796,
269,
907,
13,
403,
2213,
6021,
13,
3705,
316,
7,
198,
220,
220,
220,
32214,
9237,
796,
269,
907,
13,
403,
2213,
6021,
13,
85,
8841,
10786,
15667,
3673,
21077,
33809,
198,
220,
220,
220,
765,
22093,
796,
269,
907,
13,
403,
2213,
6021,
13,
30388,
7,
17821,
8,
198,
8,
198,
198,
2,
1377,
27617,
198,
14681,
13,
2220,
7203,
38149,
13,
23615,
44015,
3007,
13,
13436,
9833,
15878,
62,
2548,
51,
62,
66,
487,
4943,
198,
14681,
13,
2220,
7203,
38149,
13,
23615,
44015,
3007,
13,
10082,
15748,
6690,
78,
11012,
62,
66,
487,
4943,
198,
14681,
13,
2220,
10786,
38149,
13,
23615,
44015,
3007,
13,
25886,
959,
25559,
1756,
62,
22289,
24835,
62,
66,
487,
11537,
198,
198,
6738,
28373,
13,
2348,
24334,
13,
22289,
24835,
1330,
8060,
24835,
198,
14681,
13,
22289,
24835,
796,
8060,
24835,
7,
14681,
13,
22289,
24835,
11,
705,
5892,
55,
62,
7890,
10987,
17,
62,
38839,
62,
85,
23,
3256,
10148,
8,
198,
198,
2,
1377,
23412,
3696,
198,
14681,
13,
10459,
796,
269,
907,
13,
7416,
7,
198,
220,
220,
220,
366,
27201,
7416,
1600,
198,
220,
220,
220,
2393,
36690,
796,
269,
907,
13,
403,
2213,
6021,
13,
85,
8841,
7,
198,
220,
220,
220,
12813,
8095,
14,
42712,
14,
10987,
5539,
37,
14,
38839,
2725,
23154,
14,
15112,
36392,
14,
38839,
12,
85,
16,
14,
830,
14,
22515,
14,
32459,
14,
20483,
14,
4521,
18,
2943,
14877,
12,
21,
30195,
21,
12,
36,
22,
1157,
12,
23,
36,
2885,
12,
2999,
24136,
36,
30484,
33,
5333,
13,
15763,
1600,
198,
220,
220,
220,
12813,
8095,
14,
42712,
14,
10987,
5539,
37,
14,
38839,
2725,
23154,
14,
15112,
36392,
14,
38839,
12,
85,
16,
14,
830,
14,
22515,
14,
32459,
14,
20483,
14,
33,
21,
25022,
33,
16,
37,
12,
21,
26001,
21,
12,
36,
22,
1157,
12,
32,
3510,
34,
12,
2999,
24136,
36,
28645,
2670,
35,
13,
15763,
1600,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
1303,
75,
388,
271,
2514,
18709,
796,
269,
907,
13,
403,
2213,
6021,
13,
47468,
7230,
16579,
12235,
17257,
7203,
22515,
32459,
25,
16,
12,
22515,
32459,
25,
16,
12340,
198,
8,
628,
198,
2,
1377,
1271,
286,
2995,
198,
14681,
13,
9806,
37103,
796,
269,
907,
13,
403,
2213,
6021,
13,
3705,
316,
7,
198,
220,
220,
220,
5128,
796,
269,
907,
13,
403,
2213,
6021,
13,
600,
2624,
32590,
16,
8,
198,
8,
198,
198,
6738,
8558,
22417,
13,
42801,
40809,
27369,
2514,
19511,
72,
13,
42801,
40809,
27369,
2514,
19511,
72,
62,
66,
12463,
1330,
33721,
40809,
19511,
271,
198,
14681,
13,
13396,
40809,
19511,
271,
796,
33721,
40809,
19511,
271,
13,
21018,
3419,
198,
14681,
13,
13396,
40809,
19511,
271,
13,
20560,
33986,
796,
269,
907,
13,
20560,
24835,
7203,
1831,
6601,
31337,
273,
4943,
198,
198,
14681,
13,
13396,
40809,
19580,
11547,
2189,
796,
269,
907,
13,
1961,
11547,
2189,
7203,
42801,
40809,
19580,
11547,
2189,
1600,
198,
220,
220,
220,
15638,
40809,
19580,
11547,
2189,
48944,
796,
269,
907,
13,
3705,
316,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2089,
40809,
37,
1961,
29239,
5216,
26448,
796,
269,
907,
13,
53,
20560,
24835,
7,
46406,
13,
20560,
24835,
10786,
13396,
40809,
19511,
271,
11537,
828,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
2601,
5819,
33986,
796,
269,
907,
13,
403,
2213,
6021,
13,
20560,
24835,
7203,
13396,
40809,
2601,
13654,
3712,
2200,
8220,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
5671,
2202,
25628,
39470,
796,
269,
907,
13,
403,
2213,
6021,
13,
30388,
7,
25101,
828,
198,
220,
220,
220,
220,
220,
220,
220,
13259,
6109,
32572,
12994,
796,
269,
907,
13,
403,
2213,
6021,
13,
600,
2624,
7,
352,
1267,
198,
220,
220,
220,
1267,
198,
8,
198,
198,
14681,
13,
1847,
20034,
2943,
46,
12124,
42801,
40809,
9771,
28667,
33,
4448,
796,
269,
907,
13,
26410,
26796,
7203,
27201,
26410,
26796,
1600,
198,
220,
220,
220,
2393,
5376,
796,
269,
907,
13,
403,
2213,
6021,
13,
8841,
10786,
42801,
40809,
9771,
28667,
33,
4448,
13,
15763,
33809,
198,
220,
220,
220,
5072,
6935,
1746,
796,
269,
907,
13,
403,
2213,
6021,
13,
85,
8841,
10786,
14781,
1635,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14894,
1635,
62,
13396,
40809,
19580,
11547,
2189,
62,
9,
62,
9,
3256,
198,
220,
220,
220,
1267,
198,
8,
198,
198,
14681,
13,
79,
796,
269,
907,
13,
15235,
7,
14681,
13,
13396,
40809,
19511,
271,
9,
14681,
13,
13396,
40809,
19580,
11547,
2189,
8,
198,
14681,
13,
437,
796,
269,
907,
13,
12915,
15235,
7,
14681,
13,
1847,
20034,
2943,
46,
12124,
42801,
40809,
9771,
28667,
33,
4448,
8,
198,
198,
14681,
13,
15952,
5950,
796,
269,
907,
13,
27054,
5950,
7,
14681,
13,
79,
11,
14681,
13,
437,
8,
198,
198,
2,
3060,
1903,
39948,
286,
8584,
1366,
3186,
284,
4646,
9103,
4088,
761,
198,
6738,
28373,
13,
23615,
44015,
3007,
13,
11458,
38727,
26232,
62,
66,
487,
1330,
2183,
786,
20457,
38727,
198,
14681,
796,
2183,
786,
20457,
38727,
7,
14681,
8,
198,
2,
5268,
4375,
1903,
39948,
628
] | 2.812 | 1,000 |
# Consider a staircase of size :
#
# #
# ##
# ###
# ####
#
# Observe that its base and height are both equal to , and the image is drawn using # symbols and spaces. The last line is not preceded by any spaces.
#
# Write a program that prints a staircase of size .
#
# Input Format
#
# A single integer, , denoting the size of the staircase.
#
# Output Format
#
# Print a staircase of size using # symbols and spaces.
#
# Note: The last line must have spaces in it.
#
# Sample Input
#
# 6
# Sample Output
#
# #
# ##
# ###
# ####
# #####
# ######
#
# Explanation
#
# The staircase is right-aligned, composed of # symbols and spaces, and has a height and width of .
#
#
#!/bin/python
import math
import os
import random
import re
import sys
# Complete the staircase function below.
if __name__ == '__main__':
n = int(raw_input())
staircase(n)
| [
2,
12642,
257,
27656,
286,
2546,
1058,
198,
2,
220,
198,
2,
220,
220,
220,
1303,
198,
2,
220,
220,
22492,
198,
2,
220,
44386,
198,
2,
1303,
21017,
198,
2,
220,
198,
2,
11086,
3760,
326,
663,
2779,
290,
6001,
389,
1111,
4961,
284,
837,
290,
262,
2939,
318,
7428,
1262,
1303,
14354,
290,
9029,
13,
383,
938,
1627,
318,
407,
27165,
416,
597,
9029,
13,
198,
2,
220,
198,
2,
19430,
257,
1430,
326,
20842,
257,
27656,
286,
2546,
764,
198,
2,
220,
198,
2,
23412,
18980,
198,
2,
220,
198,
2,
317,
2060,
18253,
11,
837,
2853,
10720,
262,
2546,
286,
262,
27656,
13,
198,
2,
220,
198,
2,
25235,
18980,
198,
2,
220,
198,
2,
12578,
257,
27656,
286,
2546,
220,
1262,
1303,
14354,
290,
9029,
13,
198,
2,
220,
198,
2,
5740,
25,
383,
938,
1627,
1276,
423,
220,
9029,
287,
340,
13,
198,
2,
220,
198,
2,
27565,
23412,
198,
2,
220,
198,
2,
718,
220,
198,
2,
27565,
25235,
198,
2,
220,
198,
2,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
220,
220,
220,
22492,
198,
2,
220,
220,
220,
44386,
198,
2,
220,
220,
1303,
21017,
198,
2,
220,
46424,
198,
2,
46424,
2,
198,
2,
220,
198,
2,
50125,
341,
198,
2,
220,
198,
2,
383,
27656,
318,
826,
12,
41634,
11,
13160,
286,
1303,
14354,
290,
9029,
11,
290,
468,
257,
6001,
290,
9647,
286,
764,
198,
2,
220,
198,
2,
220,
198,
2,
48443,
8800,
14,
29412,
198,
198,
11748,
10688,
198,
11748,
28686,
198,
11748,
4738,
198,
11748,
302,
198,
11748,
25064,
198,
198,
2,
13248,
262,
27656,
2163,
2174,
13,
198,
220,
220,
220,
220,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
299,
796,
493,
7,
1831,
62,
15414,
28955,
628,
220,
220,
220,
27656,
7,
77,
8,
198
] | 2.86262 | 313 |
#! /usr/bin/python3
# -*- coding: utf-8 -*-
# @Time : 2019/3/10 8:10 PM
# @Author : xiaoliji
# @Email : yutian9527@gmail.com
"""
求1+...n, 不能用循环等。
>>> sum_solution(10)
55
"""
| [
2,
0,
1220,
14629,
14,
8800,
14,
29412,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2488,
7575,
220,
220,
220,
220,
1058,
13130,
14,
18,
14,
940,
807,
25,
940,
3122,
198,
2,
2488,
13838,
220,
220,
1058,
2124,
544,
349,
20770,
198,
2,
2488,
15333,
220,
220,
220,
1058,
331,
315,
666,
3865,
1983,
31,
14816,
13,
785,
198,
198,
37811,
198,
220,
220,
220,
10545,
109,
224,
16,
10,
986,
77,
171,
120,
234,
220,
38834,
47797,
121,
18796,
101,
36181,
103,
163,
236,
107,
163,
255,
231,
16764,
198,
220,
220,
220,
13163,
2160,
62,
82,
2122,
7,
940,
8,
198,
220,
220,
220,
5996,
198,
37811,
628,
198
] | 1.622951 | 122 |
"""
COBRA Visualisations
--------------------
This notebook will cover the visulaisation and plotting offered by
pycobra.
"""
# %matplotlib inline
import numpy as np
from pycobra.cobra import Cobra
from pycobra.ewa import Ewa
from pycobra.visualisation import Visualisation
from pycobra.diagnostics import Diagnostics
# setting up our random data-set
rng = np.random.RandomState(42)
# D1 = train machines; D2 = create COBRA; D3 = calibrate epsilon, alpha; D4 = testing
n_features = 2
D1, D2, D3, D4 = 200, 200, 200, 200
D = D1 + D2 + D3 + D4
X = rng.uniform(-1, 1, D * n_features).reshape(D, n_features)
# Y = np.power(X[:,1], 2) + np.power(X[:,3], 3) + np.exp(X[:,10])
Y = np.power(X[:,0], 2) + np.power(X[:,1], 3)
# training data-set
X_train = X[:D1 + D2]
X_test = X[D1 + D2 + D3:D1 + D2 + D3 + D4]
X_eps = X[D1 + D2:D1 + D2 + D3]
# for testing
Y_train = Y[:D1 + D2]
Y_test = Y[D1 + D2 + D3:D1 + D2 + D3 + D4]
Y_eps = Y[D1 + D2:D1 + D2 + D3]
# set up our COBRA machine with the data
cobra = Cobra(epsilon=0.5)
cobra.fit(X_train, Y_train)
######################################################################
# Plotting COBRA
# ~~~~~~~~~~~~~~
#
# We use the visualisation class to plot our results, and for various
# visualisations.
#
cobra_vis = Visualisation(cobra, X_test, Y_test)
# to plot our machines, we need a linspace as input. This is the 'scale' to plot and should be the range of the results
# since our data ranges from -1 to 1 it is such - and we space it out to a hundred points
cobra_vis.plot_machines(machines=["COBRA"])
cobra_vis.plot_machines()
######################################################################
# Plots and Visualisations of Results
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# QQ and Boxplots!
#
cobra_vis.QQ()
cobra_vis.boxplot()
######################################################################
# Plotting EWA!
# ~~~~~~~~~~~~~
#
# We can use the same visualisation class for seeing how EWA works. Let's
# demonstrate this!
#
ewa = Ewa()
ewa.set_beta(X_beta=X_eps, y_beta=Y_eps)
ewa.fit(X_train, Y_train)
ewa_vis = Visualisation(ewa, X_test, Y_test)
ewa_vis.QQ("EWA")
ewa_vis.boxplot()
######################################################################
# Plotting ClassifierCobra
# ~~~~~~~~~~~~~~~~~~~~~~~~
#
from sklearn import datasets
from sklearn.metrics import accuracy_score
from pycobra.classifiercobra import ClassifierCobra
bc = datasets.load_breast_cancer()
X_cc = bc.data[:-40]
y_cc = bc.target[:-40]
X_cc_test = bc.data[-40:]
y_cc_test = bc.target[-40:]
cc = ClassifierCobra()
cc.fit(X_cc, y_cc)
cc_vis = Visualisation(cc, X_cc_test, y_cc_test)
cc_vis.boxplot()
######################################################################
# Remember that all the estimators in the Pycobra package are scikit-learn
# compatible - we can also use the scikit-learn metrics and tools to
# analyse our machines!
#
from sklearn.metrics import classification_report
print(classification_report(y_cc_test, cc.predict(X_cc_test)))
######################################################################
# Plotting COBRA colors!
# ~~~~~~~~~~~~~~~~~~~~~~
#
# We're now going to experiment with plotting colors and data. After we
# get information about which indices are used by which machines the best
# for a fixed epsilon (or not, we can toggle this option), we can plot the
# distribution of machines.
#
# Why is this useful? Since we're dealing with a 2-D space now, we're
# attempting to see if there are some parts in the input space which are
# picked up by certain machines. This could lead to interesting
# experiments and
#
# We first present a plot where the machine colors are mixed depending on
# which machines were selected; after which we plot one machine at a time.
#
indices, MSE = cobra_vis.indice_info(X_test=X_eps[0:50], y_test=Y_eps[0:50], epsilon=0.50)
cobra_vis.color_cobra(X_test=X_eps[0:50], indice_info=indices, single=True)
cobra_vis.color_cobra(X_test=X_eps[0:50], indice_info=indices)
######################################################################
# Voronoi Tesselation
# ~~~~~~~~~~~~~~~~~~~
#
# We present a variety of Voronoi Tesselation based plots - the purpose of
# this is to help in visualising the pattern of points which tend to be
# picked up.
#
cobra_vis.voronoi(X_test=X_eps[0:50], indice_info=indices, single=True)
cobra_vis.voronoi(X_test=X_eps[0:50], indice_info=indices)
######################################################################
# Gradient-Colored Based Voronoi
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
cobra_vis.voronoi(X_test=X_eps[0:50], indice_info=indices, MSE=MSE, gradient=True)
######################################################################
# Licensed under the MIT License - https://opensource.org/licenses/MIT
# | [
37811,
198,
8220,
33,
3861,
15612,
38189,
198,
19351,
198,
198,
1212,
20922,
481,
3002,
262,
1490,
4712,
5612,
290,
29353,
4438,
416,
198,
9078,
66,
672,
430,
13,
198,
198,
37811,
198,
198,
2,
4064,
6759,
29487,
8019,
26098,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
12972,
66,
672,
430,
13,
66,
672,
430,
1330,
44305,
198,
6738,
12972,
66,
672,
430,
13,
413,
64,
1330,
412,
10247,
198,
6738,
12972,
66,
672,
430,
13,
41464,
5612,
1330,
15612,
5612,
198,
6738,
12972,
66,
672,
430,
13,
47356,
34558,
1330,
31549,
34558,
198,
198,
2,
4634,
510,
674,
4738,
1366,
12,
2617,
198,
81,
782,
796,
45941,
13,
25120,
13,
29531,
9012,
7,
3682,
8,
198,
198,
2,
360,
16,
796,
4512,
8217,
26,
360,
17,
796,
2251,
7375,
33,
3861,
26,
360,
18,
796,
33801,
378,
304,
862,
33576,
11,
17130,
26,
360,
19,
796,
4856,
198,
77,
62,
40890,
796,
362,
198,
35,
16,
11,
360,
17,
11,
360,
18,
11,
360,
19,
796,
939,
11,
939,
11,
939,
11,
939,
198,
35,
796,
360,
16,
1343,
360,
17,
1343,
360,
18,
1343,
360,
19,
198,
55,
796,
374,
782,
13,
403,
6933,
32590,
16,
11,
352,
11,
360,
1635,
299,
62,
40890,
737,
3447,
1758,
7,
35,
11,
299,
62,
40890,
8,
198,
2,
575,
796,
45941,
13,
6477,
7,
55,
58,
45299,
16,
4357,
362,
8,
1343,
45941,
13,
6477,
7,
55,
58,
45299,
18,
4357,
513,
8,
1343,
45941,
13,
11201,
7,
55,
58,
45299,
940,
12962,
220,
198,
56,
796,
45941,
13,
6477,
7,
55,
58,
45299,
15,
4357,
362,
8,
1343,
45941,
13,
6477,
7,
55,
58,
45299,
16,
4357,
513,
8,
198,
198,
2,
3047,
1366,
12,
2617,
198,
55,
62,
27432,
796,
1395,
58,
25,
35,
16,
1343,
360,
17,
60,
198,
55,
62,
9288,
796,
1395,
58,
35,
16,
1343,
360,
17,
1343,
360,
18,
25,
35,
16,
1343,
360,
17,
1343,
360,
18,
1343,
360,
19,
60,
198,
55,
62,
25386,
796,
1395,
58,
35,
16,
1343,
360,
17,
25,
35,
16,
1343,
360,
17,
1343,
360,
18,
60,
198,
2,
329,
4856,
198,
56,
62,
27432,
796,
575,
58,
25,
35,
16,
1343,
360,
17,
60,
198,
56,
62,
9288,
796,
575,
58,
35,
16,
1343,
360,
17,
1343,
360,
18,
25,
35,
16,
1343,
360,
17,
1343,
360,
18,
1343,
360,
19,
60,
198,
56,
62,
25386,
796,
575,
58,
35,
16,
1343,
360,
17,
25,
35,
16,
1343,
360,
17,
1343,
360,
18,
60,
198,
198,
2,
900,
510,
674,
7375,
33,
3861,
4572,
351,
262,
1366,
198,
66,
672,
430,
796,
44305,
7,
538,
18217,
261,
28,
15,
13,
20,
8,
198,
66,
672,
430,
13,
11147,
7,
55,
62,
27432,
11,
575,
62,
27432,
8,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
28114,
889,
7375,
33,
3861,
198,
2,
220,
15116,
8728,
4907,
198,
2,
220,
198,
2,
775,
779,
262,
5874,
5612,
1398,
284,
7110,
674,
2482,
11,
290,
329,
2972,
198,
2,
5874,
38189,
13,
198,
2,
220,
198,
198,
66,
672,
430,
62,
4703,
796,
15612,
5612,
7,
66,
672,
430,
11,
1395,
62,
9288,
11,
575,
62,
9288,
8,
198,
198,
2,
284,
7110,
674,
8217,
11,
356,
761,
257,
300,
1040,
10223,
355,
5128,
13,
770,
318,
262,
705,
9888,
6,
284,
7110,
290,
815,
307,
262,
2837,
286,
262,
2482,
198,
2,
1201,
674,
1366,
16069,
422,
532,
16,
284,
352,
340,
318,
884,
532,
290,
356,
2272,
340,
503,
284,
257,
3470,
2173,
198,
66,
672,
430,
62,
4703,
13,
29487,
62,
76,
620,
1127,
7,
76,
620,
1127,
28,
14692,
8220,
33,
3861,
8973,
8,
198,
198,
66,
672,
430,
62,
4703,
13,
29487,
62,
76,
620,
1127,
3419,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
1345,
1747,
290,
15612,
38189,
286,
15691,
198,
2,
220,
27156,
27156,
4907,
93,
198,
2,
220,
198,
2,
1195,
48,
290,
8315,
489,
1747,
0,
198,
2,
220,
198,
198,
66,
672,
430,
62,
4703,
13,
48,
48,
3419,
198,
198,
66,
672,
430,
62,
4703,
13,
3524,
29487,
3419,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
28114,
889,
412,
15543,
0,
198,
2,
220,
15116,
8728,
93,
198,
2,
220,
198,
2,
775,
460,
779,
262,
976,
5874,
5612,
1398,
329,
4379,
703,
412,
15543,
2499,
13,
3914,
338,
198,
2,
10176,
428,
0,
198,
2,
220,
198,
198,
413,
64,
796,
412,
10247,
3419,
198,
413,
64,
13,
2617,
62,
31361,
7,
55,
62,
31361,
28,
55,
62,
25386,
11,
331,
62,
31361,
28,
56,
62,
25386,
8,
198,
413,
64,
13,
11147,
7,
55,
62,
27432,
11,
575,
62,
27432,
8,
198,
198,
413,
64,
62,
4703,
796,
15612,
5612,
7,
413,
64,
11,
1395,
62,
9288,
11,
575,
62,
9288,
8,
198,
198,
413,
64,
62,
4703,
13,
48,
48,
7203,
6217,
32,
4943,
198,
198,
413,
64,
62,
4703,
13,
3524,
29487,
3419,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
28114,
889,
5016,
7483,
34,
672,
430,
198,
2,
220,
27156,
15116,
198,
2,
220,
198,
198,
6738,
1341,
35720,
1330,
40522,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
9922,
62,
26675,
198,
6738,
12972,
66,
672,
430,
13,
4871,
7483,
66,
672,
430,
1330,
5016,
7483,
34,
672,
430,
198,
198,
15630,
796,
40522,
13,
2220,
62,
4679,
459,
62,
48870,
3419,
198,
55,
62,
535,
796,
47125,
13,
7890,
58,
21912,
1821,
60,
198,
88,
62,
535,
796,
47125,
13,
16793,
58,
21912,
1821,
60,
198,
55,
62,
535,
62,
9288,
796,
47125,
13,
7890,
58,
12,
1821,
47715,
198,
88,
62,
535,
62,
9288,
796,
47125,
13,
16793,
58,
12,
1821,
47715,
198,
198,
535,
796,
5016,
7483,
34,
672,
430,
3419,
198,
198,
535,
13,
11147,
7,
55,
62,
535,
11,
331,
62,
535,
8,
198,
198,
535,
62,
4703,
796,
15612,
5612,
7,
535,
11,
1395,
62,
535,
62,
9288,
11,
331,
62,
535,
62,
9288,
8,
198,
198,
535,
62,
4703,
13,
3524,
29487,
3419,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
11436,
326,
477,
262,
3959,
2024,
287,
262,
9485,
66,
672,
430,
5301,
389,
629,
1134,
270,
12,
35720,
198,
2,
11670,
532,
356,
460,
635,
779,
262,
629,
1134,
270,
12,
35720,
20731,
290,
4899,
284,
198,
2,
39552,
674,
8217,
0,
198,
2,
220,
198,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
17923,
62,
13116,
198,
4798,
7,
4871,
2649,
62,
13116,
7,
88,
62,
535,
62,
9288,
11,
36624,
13,
79,
17407,
7,
55,
62,
535,
62,
9288,
22305,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
28114,
889,
7375,
33,
3861,
7577,
0,
198,
2,
220,
27156,
8728,
4907,
198,
2,
220,
198,
2,
775,
821,
783,
1016,
284,
6306,
351,
29353,
7577,
290,
1366,
13,
2293,
356,
198,
2,
651,
1321,
546,
543,
36525,
389,
973,
416,
543,
8217,
262,
1266,
198,
2,
329,
257,
5969,
304,
862,
33576,
357,
273,
407,
11,
356,
460,
19846,
428,
3038,
828,
356,
460,
7110,
262,
198,
2,
6082,
286,
8217,
13,
198,
2,
220,
198,
2,
4162,
318,
428,
4465,
30,
4619,
356,
821,
7219,
351,
257,
362,
12,
35,
2272,
783,
11,
356,
821,
198,
2,
9361,
284,
766,
611,
612,
389,
617,
3354,
287,
262,
5128,
2272,
543,
389,
198,
2,
6497,
510,
416,
1728,
8217,
13,
770,
714,
1085,
284,
3499,
198,
2,
10256,
290,
198,
2,
220,
198,
2,
775,
717,
1944,
257,
7110,
810,
262,
4572,
7577,
389,
7668,
6906,
319,
198,
2,
543,
8217,
547,
6163,
26,
706,
543,
356,
7110,
530,
4572,
379,
257,
640,
13,
198,
2,
220,
198,
198,
521,
1063,
11,
337,
5188,
796,
22843,
430,
62,
4703,
13,
521,
501,
62,
10951,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
331,
62,
9288,
28,
56,
62,
25386,
58,
15,
25,
1120,
4357,
304,
862,
33576,
28,
15,
13,
1120,
8,
198,
198,
66,
672,
430,
62,
4703,
13,
8043,
62,
66,
672,
430,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
773,
501,
62,
10951,
28,
521,
1063,
11,
2060,
28,
17821,
8,
198,
198,
66,
672,
430,
62,
4703,
13,
8043,
62,
66,
672,
430,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
773,
501,
62,
10951,
28,
521,
1063,
8,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
44143,
261,
23013,
309,
7878,
341,
198,
2,
220,
27156,
4907,
93,
198,
2,
220,
198,
2,
775,
1944,
257,
4996,
286,
44143,
261,
23013,
309,
7878,
341,
1912,
21528,
532,
262,
4007,
286,
198,
2,
428,
318,
284,
1037,
287,
5874,
1710,
262,
3912,
286,
2173,
543,
4327,
284,
307,
198,
2,
6497,
510,
13,
198,
2,
220,
198,
198,
66,
672,
430,
62,
4703,
13,
20867,
261,
23013,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
773,
501,
62,
10951,
28,
521,
1063,
11,
2060,
28,
17821,
8,
198,
198,
66,
672,
430,
62,
4703,
13,
20867,
261,
23013,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
773,
501,
62,
10951,
28,
521,
1063,
8,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
17701,
1153,
12,
5216,
1850,
13403,
44143,
261,
23013,
198,
2,
220,
27156,
15116,
8728,
4907,
198,
2,
220,
198,
198,
66,
672,
430,
62,
4703,
13,
20867,
261,
23013,
7,
55,
62,
9288,
28,
55,
62,
25386,
58,
15,
25,
1120,
4357,
773,
501,
62,
10951,
28,
521,
1063,
11,
337,
5188,
28,
44,
5188,
11,
31312,
28,
17821,
8,
628,
198,
29113,
29113,
4242,
2235,
198,
2,
49962,
739,
262,
17168,
13789,
532,
3740,
1378,
44813,
1668,
13,
2398,
14,
677,
4541,
14,
36393,
198,
2,
220
] | 2.951415 | 1,626 |
# -*- coding:utf8 -*-
from flask import Flask
from flask_mongoengine import MongoEngine
from config import config
db = MongoEngine() | [
2,
532,
9,
12,
19617,
25,
40477,
23,
532,
9,
12,
198,
6738,
42903,
1330,
46947,
198,
6738,
42903,
62,
76,
25162,
18392,
1330,
42591,
13798,
198,
198,
6738,
4566,
1330,
4566,
198,
198,
9945,
796,
42591,
13798,
3419
] | 3.435897 | 39 |
#!/usr/bin/env python3
# This program finds files that are above a specified size within
# a specified folder and its subfolders
'''
Write a program that walks through a folder tree and searches for
exceptionally large files or folders—say, ones that have a file size of
more than 100MB. (Remember, to get a file’s size, you can use
os.path.getsize() from the os module.) Print these files with their
absolute path to the screen.
'''
import os
import shutil
import sys
# converts byte to megabytes
# Confirm existence of the specified folder
sourceFolder = './source'
sourceFolder = os.path.abspath(sourceFolder)
# simpleSourceFolder = re.search(r'/([\w .-]+)$',sourceFolder).group(1)
tSize = 0.5 * 1024 * 1024 # 0.5 MB
if os.path.exists(sourceFolder):
print('\nWill scan for files with more than {0:.2} MB in size in'.\
format(mb(tSize)))
print(sourceFolder)
else:
print('Source folder %s does not exist.' % (sourceFolder))
sys.exit()
count = 0 # number of files scanned
countAbove = 0 # number of files found above the threshold
size = 0 # number of files
sizeAbove = 0 # total size of files found in MB
# Walk through the specified folder
# while finding the locations of files above a certain size
# and printing out their paths.
for foldername, subfolders, filenames in os.walk(sourceFolder):
print('\nExamining "{0}" for large files...'.\
format(os.path.basename(foldername)))
for filename in filenames:
count += 1
fileSize = os.path.getsize(os.path.join(foldername, filename))
size += fileSize
if fileSize >= tSize:
print('Found: "{0}", {1:.2} MB'.format(filename,\
mb(fileSize)))
countAbove += 1
sizeAbove += fileSize
print('\nReviewed {0} files with'\
' a total size of {1:,} MB.'.format(count,\
int(mb(size))))
print('Found {0} of them to be above {1:.2} MB '\
'with a total size of {2} MB.'.\
format(countAbove, tSize / (1024 * 1024), int(mb(sizeAbove))))
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
220,
770,
1430,
7228,
3696,
326,
389,
2029,
257,
7368,
2546,
1626,
198,
2,
220,
257,
7368,
9483,
290,
663,
850,
11379,
364,
198,
7061,
6,
198,
16594,
257,
1430,
326,
11114,
832,
257,
9483,
5509,
290,
15455,
329,
198,
1069,
4516,
453,
1588,
3696,
393,
24512,
960,
16706,
11,
3392,
326,
423,
257,
2393,
2546,
286,
198,
3549,
621,
1802,
10744,
13,
357,
16676,
11,
284,
651,
257,
2393,
447,
247,
82,
2546,
11,
345,
460,
779,
198,
418,
13,
6978,
13,
11407,
1096,
3419,
422,
262,
28686,
8265,
2014,
12578,
777,
3696,
351,
511,
198,
48546,
3108,
284,
262,
3159,
13,
198,
7061,
6,
198,
198,
11748,
28686,
198,
11748,
4423,
346,
198,
11748,
25064,
198,
198,
2,
26161,
18022,
284,
17243,
38346,
198,
198,
2,
7326,
2533,
6224,
286,
262,
7368,
9483,
198,
10459,
41092,
796,
705,
19571,
10459,
6,
198,
10459,
41092,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
10459,
41092,
8,
198,
2,
2829,
7416,
41092,
796,
302,
13,
12947,
7,
81,
26488,
26933,
59,
86,
764,
12,
60,
28988,
3,
3256,
10459,
41092,
737,
8094,
7,
16,
8,
198,
198,
83,
10699,
796,
657,
13,
20,
1635,
28119,
1635,
28119,
1303,
657,
13,
20,
10771,
198,
198,
361,
28686,
13,
6978,
13,
1069,
1023,
7,
10459,
41092,
2599,
198,
220,
220,
220,
3601,
10786,
59,
77,
8743,
9367,
329,
3696,
351,
517,
621,
1391,
15,
25,
13,
17,
92,
10771,
287,
2546,
287,
4458,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5794,
7,
2022,
7,
83,
10699,
22305,
198,
220,
220,
220,
3601,
7,
10459,
41092,
8,
198,
17772,
25,
198,
220,
220,
220,
3601,
10786,
7416,
9483,
4064,
82,
857,
407,
2152,
2637,
4064,
357,
10459,
41092,
4008,
198,
220,
220,
220,
25064,
13,
37023,
3419,
628,
198,
9127,
796,
657,
220,
220,
220,
220,
220,
220,
220,
1303,
1271,
286,
3696,
28660,
198,
9127,
32397,
796,
657,
220,
220,
1303,
1271,
286,
3696,
1043,
2029,
262,
11387,
198,
7857,
796,
657,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1271,
286,
3696,
220,
198,
7857,
32397,
796,
657,
220,
220,
220,
1303,
2472,
2546,
286,
3696,
1043,
287,
10771,
198,
198,
2,
6857,
832,
262,
7368,
9483,
198,
2,
981,
4917,
262,
7064,
286,
3696,
2029,
257,
1728,
2546,
198,
2,
290,
13570,
503,
511,
13532,
13,
198,
1640,
5591,
13292,
11,
850,
11379,
364,
11,
1226,
268,
1047,
287,
28686,
13,
11152,
7,
10459,
41092,
2599,
198,
220,
220,
220,
3601,
10786,
59,
77,
3109,
321,
3191,
45144,
15,
36786,
329,
1588,
3696,
986,
4458,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5794,
7,
418,
13,
6978,
13,
12093,
12453,
7,
11379,
13292,
22305,
198,
220,
220,
220,
329,
29472,
287,
1226,
268,
1047,
25,
198,
220,
220,
220,
220,
220,
220,
220,
954,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
10699,
796,
28686,
13,
6978,
13,
11407,
1096,
7,
418,
13,
6978,
13,
22179,
7,
11379,
13292,
11,
29472,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
15853,
2393,
10699,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2393,
10699,
18189,
256,
10699,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
21077,
25,
45144,
15,
92,
1600,
1391,
16,
25,
13,
17,
92,
10771,
4458,
18982,
7,
34345,
11,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
65,
7,
7753,
10699,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
32397,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2546,
32397,
15853,
2393,
10699,
628,
198,
4798,
10786,
59,
77,
40266,
1391,
15,
92,
3696,
351,
6,
59,
198,
220,
220,
220,
220,
220,
705,
257,
2472,
2546,
286,
1391,
16,
45299,
92,
10771,
2637,
13,
18982,
7,
9127,
11,
59,
198,
600,
7,
2022,
7,
7857,
35514,
198,
198,
4798,
10786,
21077,
1391,
15,
92,
286,
606,
284,
307,
2029,
1391,
16,
25,
13,
17,
92,
10771,
705,
59,
198,
220,
220,
220,
220,
220,
705,
4480,
257,
2472,
2546,
286,
1391,
17,
92,
10771,
2637,
13,
59,
198,
18982,
7,
9127,
32397,
11,
256,
10699,
1220,
357,
35500,
1635,
28119,
828,
493,
7,
2022,
7,
7857,
32397,
35514,
198
] | 2.692208 | 770 |
"""
Configuration:
To use the car_milage_per_month component you will need to add the following to your
configuration.yaml file:
car_milage_per_month:
odometer_sensor: sensor.ete123_odometer (the sensor that holds the total amount of km)
"""
import json
import logging
import calendar
import os
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from datetime import datetime
from homeassistant.const import (
CONF_NAME,
CONF_UNIT_OF_MEASUREMENT,
LENGTH_KILOMETERS,
STATE_UNKNOWN
)
from homeassistant.helpers.entity import Entity
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.core import HomeAssistant, CoreState
_LOGGER = logging.getLogger(__name__)
DEFAULT_NAME = 'car_milage_per_month'
DOMAIN = 'car_milage_per_month'
CONF_ODOMETER_SENSOR = 'odometer_sensor'
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ODOMETER_SENSOR): cv.entity_id,
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
vol.Optional(CONF_UNIT_OF_MEASUREMENT): cv.string
})
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup the sensor platform."""
odometer_entity = config.get(CONF_ODOMETER_SENSOR)
name = config.get(CONF_NAME)
unit = config.get(CONF_UNIT_OF_MEASUREMENT)
data = CarMilageData(hass, odometer_entity)
add_devices([CarMilageSensor(hass, odometer_entity, name, unit, data)])
class CarMilageSensor(Entity):
"""Representation of a Sensor."""
def __init__(self, hass, odometer_entity, name, unit_of_measurement, data):
"""Initialize the sensor."""
self._hass = hass
self._odometer_entity = odometer_entity
self._name = name
self._unit_of_measurement = unit_of_measurement
self._state = STATE_UNKNOWN
self.data = data
self.update()
@property
def name(self):
"""Return the name of the sensor."""
return self._name
@property
def state(self):
"""Return the state of the sensor."""
return self.data.getMilageForCurrentMonth()
@property
def unit_of_measurement(self):
"""Return the unit of measurement."""
return self._unit_of_measurement
@property
def device_state_attributes(self):
"""Return device specific state attributes."""
return self.data.values
def update(self):
"""Fetch new state data for the sensor.
This is the only method that should fetch new data for Home Assistant.
"""
if self._hass.state not in (CoreState.starting, CoreState.not_running):
self.data.update()
value = self.data.values
class CarMilageData(object):
"""docstring for CarMilageData"""
def getMilageForCurrentMonth(self):
"""
Returns the current month milage value
"""
current_month = str(datetime.now().month).lstrip("0")
return self.getMilageForMonth(current_month)
def setMilageForCurrentMonth(self, odometer_value):
"""
Sets the passed value to the current month milage value
in the self.milageFile file
"""
current_month = str(datetime.now().month).lstrip("0")
current_month_name = calendar.month_name[int(current_month)]
_LOGGER.debug("Updating milage for month: %s to: %s", current_month_name, odometer_value)
self.values['current_month'] = odometer_value
with open(self.milageFile, 'r') as milage:
data = json.load(milage)
data[current_month_name] = odometer_value
os.remove(self.milageFile)
with open(self.milageFile, 'w') as milage:
json.dump(data, milage)
def getMilageForMonth(self, month):
"""
This method will return corresponding milage odometer value
for the passed month by reading it from the self.milageFile file.
"""
monthName = calendar.month_name[int(month)]
with open(self.milageFile) as milage:
data = json.load(milage)
for key, value in data.items():
if str(key) == str(monthName):
return value
def getStateValueFromEntity(self, entity):
"""
Get the current state from the passed entity
"""
state = self.hass.states.get(entity)
return int(state.state)
def setLastKnownValue(self, odometer_value):
"""
Sets the passed value to the last_known_value
in the self.milageFile file and in the list
"""
_LOGGER.debug("Updating last_known_value to: %s", odometer_value)
self.values['last_known_value'] = odometer_value
with open(self.milageFile, 'r') as milage:
data = json.load(milage)
data['last_known_value'] = odometer_value
os.remove(self.milageFile)
with open(self.milageFile, 'w') as milage:
json.dump(data, milage) | [
37811,
198,
38149,
25,
198,
198,
2514,
779,
262,
1097,
62,
25433,
496,
62,
525,
62,
8424,
7515,
345,
481,
761,
284,
751,
262,
1708,
284,
534,
198,
11250,
3924,
13,
88,
43695,
2393,
25,
198,
198,
7718,
62,
25433,
496,
62,
525,
62,
8424,
25,
198,
220,
16298,
15635,
62,
82,
22854,
25,
12694,
13,
14471,
10163,
62,
375,
15635,
357,
1169,
12694,
326,
6622,
262,
2472,
2033,
286,
10571,
8,
198,
198,
37811,
198,
11748,
33918,
198,
11748,
18931,
198,
11748,
11845,
198,
11748,
28686,
198,
11748,
2322,
37623,
5623,
355,
2322,
198,
11748,
1363,
562,
10167,
13,
16794,
364,
13,
11250,
62,
12102,
341,
355,
269,
85,
628,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
1363,
562,
10167,
13,
9979,
1330,
357,
198,
220,
220,
220,
7102,
37,
62,
20608,
11,
198,
220,
220,
220,
7102,
37,
62,
4944,
2043,
62,
19238,
62,
11682,
1921,
11335,
10979,
11,
198,
220,
220,
220,
406,
49494,
62,
42,
4146,
2662,
2767,
4877,
11,
220,
198,
220,
220,
220,
35454,
62,
4944,
44706,
198,
8,
198,
6738,
1363,
562,
10167,
13,
16794,
364,
13,
26858,
1330,
20885,
198,
6738,
1363,
562,
10167,
13,
5589,
3906,
13,
82,
22854,
1330,
9297,
1404,
21389,
62,
50,
3398,
27630,
198,
6738,
1363,
562,
10167,
13,
7295,
1330,
5995,
48902,
11,
7231,
9012,
198,
198,
62,
25294,
30373,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
7206,
38865,
62,
20608,
796,
705,
7718,
62,
25433,
496,
62,
525,
62,
8424,
6,
198,
39170,
29833,
796,
705,
7718,
62,
25433,
496,
62,
525,
62,
8424,
6,
198,
10943,
37,
62,
3727,
2662,
2767,
1137,
62,
50,
16938,
1581,
796,
705,
375,
15635,
62,
82,
22854,
6,
198,
198,
6489,
1404,
21389,
62,
50,
3398,
27630,
796,
9297,
1404,
21389,
62,
50,
3398,
27630,
13,
2302,
437,
15090,
198,
220,
220,
220,
2322,
13,
37374,
7,
10943,
37,
62,
3727,
2662,
2767,
1137,
62,
50,
16938,
1581,
2599,
269,
85,
13,
26858,
62,
312,
11,
198,
220,
220,
220,
2322,
13,
30719,
7,
10943,
37,
62,
20608,
11,
4277,
28,
7206,
38865,
62,
20608,
2599,
269,
85,
13,
8841,
11,
198,
220,
220,
220,
2322,
13,
30719,
7,
10943,
37,
62,
4944,
2043,
62,
19238,
62,
11682,
1921,
11335,
10979,
2599,
269,
85,
13,
8841,
198,
30072,
198,
198,
4299,
9058,
62,
24254,
7,
71,
562,
11,
4566,
11,
751,
62,
42034,
11,
9412,
62,
10951,
28,
14202,
2599,
198,
220,
220,
220,
37227,
40786,
262,
12694,
3859,
526,
15931,
198,
220,
220,
220,
16298,
15635,
62,
26858,
796,
4566,
13,
1136,
7,
10943,
37,
62,
3727,
2662,
2767,
1137,
62,
50,
16938,
1581,
8,
198,
220,
220,
220,
1438,
796,
4566,
13,
1136,
7,
10943,
37,
62,
20608,
8,
198,
220,
220,
220,
4326,
796,
4566,
13,
1136,
7,
10943,
37,
62,
4944,
2043,
62,
19238,
62,
11682,
1921,
11335,
10979,
8,
198,
220,
220,
220,
1366,
796,
1879,
24857,
496,
6601,
7,
71,
562,
11,
16298,
15635,
62,
26858,
8,
628,
220,
220,
220,
751,
62,
42034,
26933,
9914,
24857,
496,
47864,
7,
71,
562,
11,
16298,
15635,
62,
26858,
11,
1438,
11,
4326,
11,
1366,
8,
12962,
628,
198,
4871,
1879,
24857,
496,
47864,
7,
32398,
2599,
198,
220,
220,
220,
37227,
40171,
341,
286,
257,
35367,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
468,
82,
11,
16298,
15635,
62,
26858,
11,
1438,
11,
4326,
62,
1659,
62,
1326,
5015,
434,
11,
1366,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
12694,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
71,
562,
796,
468,
82,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
375,
15635,
62,
26858,
796,
16298,
15635,
62,
26858,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
3672,
796,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20850,
62,
1659,
62,
1326,
5015,
434,
796,
4326,
62,
1659,
62,
1326,
5015,
434,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
5219,
796,
35454,
62,
4944,
44706,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
796,
1366,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
3419,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1438,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1438,
286,
262,
12694,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
3672,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1181,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1181,
286,
262,
12694,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
7890,
13,
1136,
24857,
496,
1890,
11297,
31948,
3419,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4326,
62,
1659,
62,
1326,
5015,
434,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
4326,
286,
15558,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
20850,
62,
1659,
62,
1326,
5015,
434,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
3335,
62,
5219,
62,
1078,
7657,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
3335,
2176,
1181,
12608,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
7890,
13,
27160,
628,
220,
220,
220,
825,
4296,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37,
7569,
649,
1181,
1366,
329,
262,
12694,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
318,
262,
691,
2446,
326,
815,
21207,
649,
1366,
329,
5995,
15286,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
71,
562,
13,
5219,
407,
287,
357,
14055,
9012,
13,
38690,
11,
7231,
9012,
13,
1662,
62,
20270,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7890,
13,
19119,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
7890,
13,
27160,
198,
198,
4871,
1879,
24857,
496,
6601,
7,
15252,
2599,
198,
220,
220,
220,
37227,
15390,
8841,
329,
1879,
24857,
496,
6601,
37811,
628,
198,
220,
220,
220,
825,
651,
24857,
496,
1890,
11297,
31948,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
1459,
1227,
1465,
496,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
8424,
796,
965,
7,
19608,
8079,
13,
2197,
22446,
8424,
737,
75,
36311,
7203,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
24857,
496,
1890,
31948,
7,
14421,
62,
8424,
8,
628,
220,
220,
220,
825,
900,
24857,
496,
1890,
11297,
31948,
7,
944,
11,
16298,
15635,
62,
8367,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
3804,
1988,
284,
262,
1459,
1227,
1465,
496,
1988,
220,
198,
220,
220,
220,
220,
220,
220,
220,
287,
262,
2116,
13,
25433,
496,
8979,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
8424,
796,
965,
7,
19608,
8079,
13,
2197,
22446,
8424,
737,
75,
36311,
7203,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
8424,
62,
3672,
796,
11845,
13,
8424,
62,
3672,
58,
600,
7,
14421,
62,
8424,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
25294,
30373,
13,
24442,
7203,
4933,
38734,
1465,
496,
329,
1227,
25,
4064,
82,
284,
25,
4064,
82,
1600,
1459,
62,
8424,
62,
3672,
11,
16298,
15635,
62,
8367,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
27160,
17816,
14421,
62,
8424,
20520,
796,
16298,
15635,
62,
8367,
628,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
944,
13,
25433,
496,
8979,
11,
705,
81,
11537,
355,
1465,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
33918,
13,
2220,
7,
25433,
496,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
14421,
62,
8424,
62,
3672,
60,
796,
16298,
15635,
62,
8367,
628,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28956,
7,
944,
13,
25433,
496,
8979,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
944,
13,
25433,
496,
8979,
11,
705,
86,
11537,
355,
1465,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
13,
39455,
7,
7890,
11,
1465,
496,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
825,
651,
24857,
496,
1890,
31948,
7,
944,
11,
1227,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
481,
1441,
11188,
1465,
496,
16298,
15635,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
329,
262,
3804,
1227,
416,
3555,
340,
422,
262,
2116,
13,
25433,
496,
8979,
2393,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1227,
5376,
796,
11845,
13,
8424,
62,
3672,
58,
600,
7,
8424,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
944,
13,
25433,
496,
8979,
8,
355,
1465,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
33918,
13,
2220,
7,
25433,
496,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
1988,
287,
1366,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
965,
7,
2539,
8,
6624,
965,
7,
8424,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1988,
628,
220,
220,
220,
825,
651,
9012,
11395,
4863,
32398,
7,
944,
11,
9312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
262,
1459,
1181,
422,
262,
3804,
9312,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
2116,
13,
71,
562,
13,
27219,
13,
1136,
7,
26858,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
493,
7,
5219,
13,
5219,
8,
628,
220,
220,
220,
825,
900,
5956,
29870,
11395,
7,
944,
11,
16298,
15635,
62,
8367,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
3804,
1988,
284,
262,
938,
62,
4002,
62,
8367,
220,
198,
220,
220,
220,
220,
220,
220,
220,
287,
262,
2116,
13,
25433,
496,
8979,
2393,
290,
287,
262,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
25294,
30373,
13,
24442,
7203,
4933,
38734,
938,
62,
4002,
62,
8367,
284,
25,
4064,
82,
1600,
16298,
15635,
62,
8367,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
27160,
17816,
12957,
62,
4002,
62,
8367,
20520,
796,
16298,
15635,
62,
8367,
628,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
944,
13,
25433,
496,
8979,
11,
705,
81,
11537,
355,
1465,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
33918,
13,
2220,
7,
25433,
496,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
17816,
12957,
62,
4002,
62,
8367,
20520,
796,
16298,
15635,
62,
8367,
628,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28956,
7,
944,
13,
25433,
496,
8979,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
944,
13,
25433,
496,
8979,
11,
705,
86,
11537,
355,
1465,
496,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
13,
39455,
7,
7890,
11,
1465,
496,
8
] | 2.440353 | 2,037 |